/* ═══════════════════════════════════════════════════════════════
   WANDERLUST SITE — SHARED INTERIOR PAGES (Work · About · Start)
   One stylesheet for the lighter pages: shell + page heroes +
   the work archive, about story, and two-door start page.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --paper: #f7f4ec;
  --wash: #f1ede1;
  --ink: #172320;
  --ink-soft: rgba(23, 35, 32, 0.64);
  --line: #ddd7c8;
  --gold: #a5874b;
  --gold-deep: #82682f;
  --gold-soft: #c9ab6e;
  --alert: #b8472e;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Hanken Grotesk", "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 90;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.serif { font-family: "Fraunces", Georgia, serif; font-optical-sizing: auto; font-weight: 430; letter-spacing: -0.012em; line-height: 1.08; }
em { font-style: italic; color: var(--gold); }
.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; }
.eyebrow.light { color: var(--gold-soft); }

/* ── SHELL ───────────────────────────────────────────────── */
.hud {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: linear-gradient(to bottom, rgba(247, 244, 236, 0.92), rgba(247, 244, 236, 0));
}
.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1.15; }
.brand .serif { font-size: 21px; font-weight: 500; }
.brand-sub { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); }
.hud-nav { display: flex; gap: 26px; margin-left: auto; }
.hud-nav a { color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.3s; }
.hud-nav a:hover, .hud-nav a.active { color: var(--ink); }
.hud-actions { display: flex; align-items: center; gap: 20px; }
.hud-shoot { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); text-decoration: none; transition: color 0.3s; white-space: nowrap; }
.hud-shoot:hover { color: var(--gold-deep); }
.hud-cta {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--paper);
  background: var(--ink);
  padding: 11px 20px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.3s, background 0.3s;
}
.hud-cta:hover { transform: translateY(-2px); background: #223730; }
.hud-book-m {
  display: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--paper);
  background: var(--ink);
  border: none;
  padding: 11px 22px;
  border-radius: 999px;
  cursor: pointer;
}

.book-sheet { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-end; justify-content: center; }
.book-sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(15, 22, 18, 0.55); }
.sheet-card {
  position: relative;
  width: min(500px, 100%);
  background: var(--paper);
  border-radius: 22px 22px 0 0;
  padding: 30px 24px 26px;
  display: grid;
  gap: 12px;
  text-align: center;
  box-shadow: 0 -20px 60px -20px rgba(15, 22, 18, 0.4);
}
.sheet-title { font-size: 26px; margin-bottom: 8px; }
.sheet-close { background: none; border: none; font-family: inherit; color: var(--ink-soft); font-weight: 600; font-size: 14px; padding: 10px; cursor: pointer; }

.btn-ink, .btn-quiet, .btn-gold, .btn-ghost {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: 999px;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.35s, color 0.35s, border-color 0.35s;
  cursor: pointer;
}
.btn-ink { background: var(--ink); color: var(--paper); border: none; font-family: inherit; }
.btn-ink:hover { transform: translateY(-3px); background: #223730; }
.btn-quiet { border: 1px solid var(--line); color: var(--ink); background: rgba(255, 255, 255, 0.5); }
.btn-quiet:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-3px); }
.btn-gold { background: var(--gold-soft); color: #14100a; border: none; font-family: inherit; }
.btn-gold:hover { transform: translateY(-3px); background: #dbc088; }
.btn-ghost { border: 1px solid rgba(240, 234, 217, 0.35); color: #f0ead9; }
.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); transform: translateY(-3px); }

/* ── page hero ───────────────────────────────────────────── */
.scene { position: relative; }
.page-hero {
  padding: clamp(140px, 20vh, 200px) clamp(20px, 4vw, 56px) clamp(30px, 5vh, 60px);
  background:
    radial-gradient(1100px 540px at 82% -12%, rgba(165, 135, 75, 0.13), transparent 62%),
    radial-gradient(950px 500px at -10% 32%, rgba(140, 167, 155, 0.12), transparent 60%),
    var(--paper);
}
.page-hero-inner { width: min(1360px, 100%); margin: 0 auto; }
.page-title { font-size: clamp(42px, 6.4vw, 104px); font-weight: 420; line-height: 1.0; letter-spacing: -0.02em; }
.page-lede { margin-top: 24px; max-width: 56ch; font-size: clamp(16px, 1.45vw, 19px); color: var(--ink-soft); }

.section-pad { padding: clamp(60px, 9vh, 110px) clamp(20px, 4vw, 56px); }
.shell { width: min(1360px, 100%); margin: 0 auto; }
.quiet-link { color: var(--gold-deep); font-weight: 700; text-decoration: none; }
.quiet-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* reveals */
.rv { will-change: transform, opacity; }

/* ── WORK: filter + archive ──────────────────────────────── */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.pill {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.3s;
}
.pill:hover { border-color: var(--gold); color: var(--gold-deep); }
.pill.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.w-item { margin: 0; display: block; }
.w-item.hide { display: none; }
.w-frame { overflow: hidden; border-radius: 8px; }
.w-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.w-item:hover .w-frame img { transform: scale(1.05); }
.w-item figcaption { margin-top: 10px; display: flex; justify-content: space-between; gap: 10px; }
.w-item figcaption strong { font-size: 15px; }
.w-item figcaption span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; padding-top: 3px; }

.case-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
  color: #f0ead9;
}
.case-band img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.case-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; justify-content: center; }
.case-body h2 { font-size: clamp(26px, 3vw, 44px); }
.case-body p { color: rgba(240, 234, 217, 0.72); max-width: 52ch; }

/* ── ABOUT ───────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.about-copy h2 { font-size: clamp(30px, 3.8vw, 54px); margin-bottom: 18px; }
.about-copy > p { color: var(--ink-soft); max-width: 58ch; }
.stat-list { display: grid; gap: 20px; margin-top: 38px; border-top: 1px solid var(--line); padding-top: 30px; }
.stat strong { display: block; font-size: clamp(24px, 2.4vw, 34px); color: var(--gold-deep); }
.stat span { color: var(--ink-soft); font-size: 15px; }
.team-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: start; }
.team-grid figure { margin: 0; }
.team-grid img { width: 100%; border-radius: 10px; object-fit: cover; display: block; }
.tg-big img { aspect-ratio: 4 / 5; }
.tg-small img { aspect-ratio: 1 / 1; }
.team-grid figcaption { margin-top: 10px; font-size: 13px; }
.team-grid figcaption strong { display: block; }
.team-grid figcaption span { color: var(--ink-soft); font-size: 12px; }
.local-panel {
  margin-top: 16px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.local-panel h3 { font-size: 21px; margin-bottom: 6px; }
.local-panel p { font-size: 14px; color: var(--ink-soft); }

.habits {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 70px);
  padding: clamp(30px, 4.5vw, 60px);
  background: var(--ink);
  color: #f0ead9;
  border-radius: 20px;
}
.habits h2 { font-size: clamp(28px, 3.4vw, 46px); margin-bottom: 12px; }
.habits > div:first-child p { color: rgba(240, 234, 217, 0.72); }
.habit-rows { display: grid; gap: 0; }
.habit {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(240, 234, 217, 0.14);
}
.habit:last-child { border-bottom: none; }
.habit strong { font-family: "Fraunces", serif; font-size: 20px; color: var(--gold-soft); }
.habit p { font-size: 14.5px; color: rgba(240, 234, 217, 0.72); }

/* ── START: the two doors ────────────────────────────────── */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.door {
  position: relative;
  padding: clamp(30px, 4vw, 50px);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-height: 380px;
}
.door-shoot { background: var(--ink); color: #f0ead9; }
.door-shoot .eyebrow { color: var(--gold-soft); }
.door-shoot p { color: rgba(240, 234, 217, 0.72); }
.door-handoff { background: var(--white); border: 1px solid var(--line); }
.door-handoff p { color: var(--ink-soft); }
.door h2 { font-size: clamp(28px, 3vw, 44px); }
.door p { max-width: 44ch; flex: 1; }
.door-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.dm {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(201, 171, 110, 0.4);
  color: var(--gold-soft);
}
.door-handoff .dm { border-color: rgba(165, 135, 75, 0.4); color: var(--gold-deep); }

.next-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.nstep { padding: 26px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.nstep .serif { font-size: 21px; display: block; margin-bottom: 8px; }
.nstep p { font-size: 14.5px; color: var(--ink-soft); }
.info-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.icard { padding: 26px 24px; background: var(--wash); border: 1px solid var(--line); border-radius: 14px; }
.icard h3 { font-size: 21px; margin-bottom: 8px; }
.icard p { font-size: 14.5px; color: var(--ink-soft); }
.icard a { color: var(--gold-deep); font-weight: 700; text-decoration: none; }
.icard a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── shared dark close band ──────────────────────────────── */
.page-close {
  background:
    radial-gradient(900px 480px at 85% 0%, rgba(201, 171, 110, 0.16), transparent 60%),
    #14201b;
  color: #f0ead9;
  padding: clamp(80px, 12vh, 140px) clamp(20px, 4vw, 56px);
  text-align: center;
}
.page-close h2 { font-size: clamp(30px, 4.6vw, 68px); }
.page-close h2 em { color: var(--gold-soft); }
.page-close .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 56px);
  background: #0f1a15;
  color: rgba(240, 234, 217, 0.6);
  font-size: 12.5px;
}
.footer-bar nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bar a { color: rgba(240, 234, 217, 0.75); text-decoration: none; }
.footer-bar a:hover { color: var(--gold-soft); }

/* ── embedded booking modal ──────────────────────────────── */
html.bm-lock { overflow: hidden; }
.book-modal { position: fixed; inset: 0; z-index: 130; display: flex; align-items: center; justify-content: center; padding: 22px; }
.book-modal[hidden] { display: none; }
.bm-scrim { position: absolute; inset: 0; background: rgba(15, 22, 18, 0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.bm-card {
  position: relative;
  width: min(1080px, 100%);
  height: min(860px, 92vh);
  background: var(--paper);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 60px 140px -40px rgba(10, 16, 13, 0.75);
  animation: bmin 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes bmin { from { transform: translateY(26px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.bm-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 16px 13px 24px; border-bottom: 1px solid var(--line); }
.bm-title { display: flex; flex-direction: column; line-height: 1.2; }
.bm-title .serif { font-size: 19px; font-weight: 500; }
.bm-sub { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.bm-tools { display: flex; align-items: center; gap: 18px; }
.bm-newtab { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.bm-newtab:hover { color: var(--gold-deep); }
.bm-close {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.bm-close:hover { border-color: var(--gold); color: var(--gold-deep); transform: rotate(90deg); }
.bm-body { position: relative; flex: 1; background: #fff; }
.bm-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bm-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #fff;
  color: var(--ink-soft);
  font-weight: 600;
  transition: opacity 0.4s;
}
.bm-loading.off { opacity: 0; pointer-events: none; }
.bm-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--gold); animation: bmspin 0.9s linear infinite; }
@keyframes bmspin { to { transform: rotate(360deg); } }
@media (max-width: 700px) {
  .book-modal { padding: 0; }
  .bm-card { height: 100dvh; border-radius: 0; }
  .bm-newtab { display: none; }
}

/* ── motion-off ──────────────────────────────────────────── */
body.no-motion .bm-card { animation: none; }

/* ── responsive ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .case-band { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .habits { grid-template-columns: 1fr; }
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 0; }
  .next-steps, .info-cards { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hud-nav, .hud-actions { display: none; }
  .hud-book-m { display: inline-block; }
}
@media (max-width: 620px) {
  .work-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none !important; }
}
