:root {
  --bg: #090706;
  --bg-soft: #15100d;
  --panel: rgba(22, 15, 12, 0.82);
  --panel-solid: #18110e;
  --text: #f4eee7;
  --muted: #c8b6a5;
  --dim: #927864;
  --line: rgba(244, 238, 231, 0.15);
  --accent: #d4aa7d;
  --accent-dark: #7d4f36;
  --shadow: rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at top, #21130f 0%, var(--bg) 45%, #030202 100%);
  color: var(--text);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.6;
}
a { color: inherit; }

.splash, .hero-small {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}
.splash-bg, .hero-small-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-lake.jpeg');
  background-size: cover;
  background-position: center;
  filter: sepia(0.55) saturate(0.75) brightness(0.72);
  transform: scale(1.02);
}
.splash-overlay, .hero-small-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(7,4,3,.55) 48%, rgba(0,0,0,.88));
}
.splash-content {
  position: relative;
  width: min(920px, 100%);
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
  box-shadow: 0 30px 90px var(--shadow);
  backdrop-filter: blur(2px);
}
.profile-mark {
  width: 112px;
  height: 112px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid rgba(244,238,231,.22);
  box-shadow: 0 16px 45px var(--shadow);
}
.eyebrow, .card-kicker {
  color: var(--accent);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .78rem;
}
h1, h2 { line-height: 1.08; font-weight: 500; }
h1 { font-size: clamp(2.4rem, 7vw, 5.7rem); margin: .35em 0; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0 0 .6rem; }
.splash-copy { color: var(--muted); font-size: 1.2rem; max-width: 680px; margin: 0 auto 2rem; }
.enter-button, form button, .card a, .text-link {
  display: inline-block;
  border: 1px solid rgba(212,170,125,.55);
  color: var(--text);
  text-decoration: none;
  padding: .85rem 1.35rem;
  background: rgba(125,79,54,.32);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.enter-button:hover, form button:hover, .card a:hover, .text-link:hover {
  transform: translateY(-2px);
  background: rgba(125,79,54,.58);
  border-color: rgba(212,170,125,.9);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem clamp(1rem, 4vw, 3rem);
  background: rgba(7, 4, 3, .84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 999px; object-fit: cover; }
.brand span { font-size: 1.05rem; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .85rem; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.site-nav a:hover { color: var(--text); }

.hero-small { min-height: 68vh; justify-items: start; }
.hero-small-content { position: relative; max-width: 820px; margin-left: clamp(0rem, 6vw, 5rem); }
.hero-small-content h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
.hero-small-content p:last-child { color: var(--muted); font-size: 1.2rem; max-width: 700px; }

main { padding: 0 1rem 4rem; }
.section-narrow { width: min(860px, 100%); margin: 0 auto; padding: 5rem 0; }
.section-wide { width: min(1180px, 100%); margin: 0 auto; padding: 3rem 0; }
.intro p, .statement p, .contact p, .placeholder-page p { color: var(--muted); font-size: 1.12rem; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card {
  min-height: 360px;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(35,24,19,.88), rgba(13,9,7,.92));
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(0,0,0,.28);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card p { color: var(--muted); }
.card.locked { background: linear-gradient(180deg, rgba(30,24,20,.7), rgba(10,8,7,.9)); }

form { display: grid; gap: 1rem; margin-top: 1.5rem; }
label { display: grid; gap: .35rem; color: var(--muted); }
input, textarea {
  width: 100%;
  background: rgba(0,0,0,.32);
  border: 1px solid var(--line);
  color: var(--text);
  padding: .9rem 1rem;
  font: inherit;
}
textarea { resize: vertical; }
form button { width: fit-content; cursor: pointer; font: inherit; }
.site-footer { border-top: 1px solid var(--line); color: var(--dim); padding: 2rem; text-align: center; }
.placeholder-page { min-height: 75vh; padding-top: 7rem; }
.fade-in { animation: fadeIn 900ms ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 920px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .site-header { align-items: flex-start; flex-direction: column; }
  .site-nav { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .splash-content { padding: 2rem 1rem; }
  .desktop-break { display: none; }
  .profile-mark { width: 88px; height: 88px; }
}

.connect {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  text-align: center;
}
.connect-label {
  color: var(--dim);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.connect-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 1.2rem;
}
.connect-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .96rem;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease, opacity .2s ease;
}
.connect-links a:hover {
  color: var(--text);
  border-color: rgba(212,170,125,.55);
}
.connect-links .primary-link {
  color: var(--text);
  border-bottom: 1px solid rgba(212,170,125,.65);
}

/* Writing collection */
.writing-page { padding: 4.5rem 1rem 5rem; }
.writing-intro { padding-top: 2.5rem; padding-bottom: 2rem; }
.writing-intro h1 { margin-top: .2rem; margin-bottom: 1rem; }
.writing-intro p:last-child { color: var(--muted); font-size: 1.12rem; }
.writing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.writing-panel { display: flex; flex-direction: column; min-height: 100%; overflow: hidden; color: inherit; text-decoration: none; background: linear-gradient(180deg, rgba(35,24,19,.88), rgba(13,9,7,.94)); border: 1px solid var(--line); box-shadow: 0 22px 60px rgba(0,0,0,.28); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.writing-panel:hover { transform: translateY(-4px); border-color: rgba(212,170,125,.42); box-shadow: 0 28px 72px rgba(0,0,0,.38); }
.writing-panel img { width: 100%; height: 280px; object-fit: cover; display: block; filter: sepia(.18) saturate(.82) brightness(.86); }
.writing-panel-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.writing-panel-body h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin: .2rem 0 .75rem; }
.writing-panel-body p:not(.card-kicker) { color: var(--muted); margin-top: 0; }
.read-more { margin-top: auto; color: var(--accent); font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; }

/* Article pages */
.article-page { padding: 3rem 1rem 5rem; }
.article-shell { width: min(980px, 100%); margin: 0 auto; }
.back-link { display: inline-block; margin: 1rem 0 1.25rem; color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; }
.back-link:hover { color: var(--text); border-color: rgba(212,170,125,.55); }
.article-hero { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--panel-solid); box-shadow: 0 28px 80px rgba(0,0,0,.35); }
.article-hero img { width: 100%; height: clamp(320px, 52vw, 620px); object-fit: cover; display: block; filter: sepia(.22) saturate(.82) brightness(.78); }
.article-title-card { position: absolute; left: clamp(1rem, 4vw, 3rem); right: clamp(1rem, 4vw, 3rem); bottom: clamp(1rem, 4vw, 3rem); max-width: 760px; padding: clamp(1rem, 3vw, 2rem); background: rgba(7,4,3,.62); border: 1px solid rgba(244,238,231,.14); backdrop-filter: blur(4px); }
.article-title-card h1 { font-size: clamp(2.1rem, 5vw, 4.5rem); margin: .2rem 0 .75rem; }
.article-title-card p:last-child { color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); margin-bottom: 0; }
.article-body { width: min(760px, 100%); margin: 4rem auto 0; color: var(--text); font-size: clamp(1.08rem, 1.6vw, 1.23rem); line-height: 1.85; }
.article-body p { margin: 0 0 1.45rem; }
.article-body p:first-child::first-letter { float: left; font-size: 4rem; line-height: .86; padding-right: .35rem; color: var(--accent); }
.article-body .signature { margin-top: 3rem; color: var(--muted); font-style: italic; text-align: right; }

@media (max-width: 760px) {
  .writing-grid { grid-template-columns: 1fr; }
  .writing-panel img { height: 230px; }
  .article-title-card { position: relative; left: auto; right: auto; bottom: auto; max-width: none; border-left: 0; border-right: 0; }
  .article-hero img { height: 290px; }
  .article-body { margin-top: 2.5rem; }
}

/* Writing tile layout update */
.writing-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.writing-tile {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(35,24,19,.88), rgba(13,9,7,.94));
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(0,0,0,.28);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.writing-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(212,170,125,.42);
  box-shadow: 0 28px 72px rgba(0,0,0,.38);
}
.writing-tile-image {
  display: block;
  height: 155px;
  overflow: hidden;
  border-bottom: 1px solid rgba(244,238,231,.08);
}
.writing-tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(.18) saturate(.82) brightness(.82);
  transition: transform .35s ease, filter .35s ease;
}
.writing-tile:hover .writing-tile-image img {
  transform: scale(1.035);
  filter: sepia(.12) saturate(.9) brightness(.9);
}
.writing-tile-body {
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.writing-tile-body h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  margin: .55rem 0 1rem;
}
.writing-tile-body p:not(.card-kicker) {
  color: var(--muted);
  margin-top: 0;
  line-height: 1.55;
}
.tile-button {
  display: inline-block;
  width: fit-content;
  margin-top: auto;
  border: 1px solid rgba(212,170,125,.55);
  color: var(--text);
  text-decoration: none;
  padding: .82rem 1.25rem;
  background: rgba(125,79,54,.32);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.tile-button:hover {
  transform: translateY(-2px);
  background: rgba(125,79,54,.58);
  border-color: rgba(212,170,125,.9);
}

@media (max-width: 920px) {
  .writing-tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .writing-tile-grid { grid-template-columns: 1fr; }
}

/* Article hero without overlay, used for image-led pieces like Letting Go */
.article-hero.no-overlay img {
  filter: sepia(.08) saturate(.95) brightness(.88);
}

.article-hero.no-overlay .article-title-card {
  display: none;
}

.article-title-below {
  width: min(760px, 100%);
  margin: 2.5rem auto 0;
  text-align: center;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 500;
}

.article-hero.no-overlay + .article-title-below + .article-body {
  margin-top: 2.5rem;
}

/* =========================================
   HOLDING / LANDING PAGES
========================================= */

.holding-page {
  min-height: 100vh;
  padding-bottom: 6rem;
}

.holding-hero {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.holding-hero img {
  width: 100%;
  max-height: 68vh;
  object-fit: cover;
  display: block;
  filter: sepia(.14) saturate(.82) brightness(.82);
}

.holding-copy {
  padding-top: 4rem;
  text-align: center;
}

.holding-copy h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1.05;
  margin-bottom: 2rem;
  color: var(--text);
}

.holding-copy p {
  max-width: 760px;
  margin: 0 auto 1.6rem;
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--muted);
}

.private-room {
  padding-top: 10rem;
  padding-bottom: 6rem;
}

/* softer atmospheric spacing */

.holding-copy .eyebrow {
  display: block;
  margin-bottom: 1rem;
}

.holding-copy .text-link {
  margin-top: 1rem;
}

/* =========================================
   MOBILE TWEAKS
========================================= */

@media (max-width: 760px) {

  .holding-hero img {
    max-height: 42vh;
  }

  .holding-copy {
    padding-top: 3rem;
  }

  .holding-copy h1 {
    font-size: 2.7rem;
  }

  .holding-copy p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .private-room {
    padding-top: 6rem;
  }
}