/* Erono Media v3: phone first
   VOICE   warm, editorial, a little playful: an album you flip through with your thumb
   IDEA    the phone is the frame: full-screen hero, story highlights, swipe decks, pull-up sheets
   COLOUR  linen ground, sand panels, espresso ink, the logo's red for booking and active marks
   TYPE    Cormorant Garamond for headings and captions, Nunito Sans (the logo's rounded sans) for text
   LAYOUT  every page is short: one hero, a swipe row or two, a sheet for the details; desktop spreads the same parts wider */

@view-transition { navigation: auto; }

:root {
  --linen: #f6f1eb;
  --sand: #ebe2d7;
  --clay: #b6a493;
  --taupe: #6f6158;
  --ink: #2b221f;
  --espresso: #2a201c;
  --red: #ac1314;
  --red-deep: #8e0f10;
  --blush: #e3a3a4;
  --white: #fffdfa;
  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --gut: max(5vw, 18px);
  --max: 1280px;
  --tab: 0px;
  color-scheme: light;
}
@media (max-width: 1080px) { :root { --tab: calc(68px + env(safe-area-inset-bottom, 0px)); } }

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--linen); color: var(--ink); font: 17px/1.65 var(--sans); overflow-x: clip; padding-bottom: var(--tab); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 7vw, 88px); }
h2 { font-size: clamp(32px, 4.4vw, 56px); }
h3 { font-size: clamp(25px, 2.4vw, 32px); }
p { margin: 0 0 1em; max-width: 64ch; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--taupe); }
.cap { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--taupe); margin-top: 8px; }
.serif-note { font-family: var(--serif); font-style: italic; font-size: clamp(23px, 2.4vw, 30px); line-height: 1.3; }
.sec { padding-block: clamp(44px, 7vw, 100px); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.sec-head p { margin: 6px 0 0; color: var(--taupe); font-size: 15px; }
.hint { font-size: 14px; color: var(--taupe); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.hint svg { width: 16px; height: 16px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--red); color: var(--white); border: 1px solid var(--red); text-decoration: none; font-weight: 700; font-size: 16px; white-space: nowrap; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .15s; }
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn:active { transform: scale(.97); }
.btn.line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--linen); }
.btn.light { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.75); backdrop-filter: blur(6px); }
.btn.light:hover { background: var(--white); color: var(--ink); }
.btn.block { width: 100%; }
.text-link { font-weight: 700; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; border: 0; color: inherit; cursor: pointer; font-size: inherit; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--clay); background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; flex: none; }
.round-btn svg { width: 20px; height: 20px; }
.round-btn:disabled { opacity: .35; }

/* header */
.site-head { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--linen) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-head.scrolled { border-color: var(--sand); }
.head-bar { display: flex; align-items: center; gap: 26px; max-width: 1400px; margin-inline: auto; padding: 12px var(--gut); }
.brand { display: block; margin-right: auto; flex: none; }
.brand img { width: clamp(118px, 13vw, 164px); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.main-nav a { text-decoration: none; font-size: 15.5px; font-weight: 700; padding: 10px 0; position: relative; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav .btn { padding: 0 22px; min-height: 44px; }
.main-nav .btn[aria-current="page"] { background: var(--ink); border-color: var(--ink); }
.socials { display: flex; gap: 8px; align-items: center; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 28%, transparent); transition: background .25s, color .25s, border-color .25s; }
.socials a:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.socials svg { width: 19px; height: 19px; }
.menu-btn { display: none; align-items: center; gap: 9px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-weight: 800; font-size: 15px; cursor: pointer; }
.menu-btn .bars { width: 16px; height: 10px; border-top: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; position: relative; }
.menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 2.6px; border-top: 1.6px solid currentColor; }
.more-links a[aria-current="page"] { color: var(--red); }
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .head-bar { gap: 10px; }
  .main-nav { display: none; }
  .head-bar { padding-block: 10px; }
  .head-bar .socials a { width: 42px; height: 42px; }
}

/* bottom tab bar (phones and tablets) */
.tabbar { display: none; }
@media (max-width: 1080px) {
  .tabbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: var(--tab); padding: 0 6px env(safe-area-inset-bottom, 0px); background: color-mix(in srgb, var(--white) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--sand); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 68px; text-decoration: none; font-size: 11.5px; font-weight: 700; color: var(--taupe); background: none; border: 0; cursor: pointer; padding: 0; }
  .tabbar svg { width: 23px; height: 23px; }
  .tabbar [aria-current="page"] { color: var(--red); }
  .tabbar .book-tab { color: var(--ink); }
  .tabbar .book-tab .bubble { width: 58px; height: 58px; margin-top: -26px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 22px -10px rgba(172,19,20,.8); border: 4px solid var(--linen); transition: transform .2s; }
  .tabbar .book-tab:active .bubble { transform: scale(.92); }
  .tabbar .book-tab[aria-current="page"] .bubble { background: var(--ink); }
}

/* reveal on scroll (content stays visible without JS) */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .1s; }
.js .rv.d2 { transition-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
}

/* page hero: photo fills the phone screen, text over it */
.hero { position: relative; display: grid; align-items: end; min-height: calc(100svh - 66px - var(--tab)); color: var(--white); overflow: hidden; background: var(--espresso); isolation: isolate; }
.hero.short { min-height: min(62svh, 560px); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kb 2.4s cubic-bezier(.2,.7,.2,1) both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(28,20,17,.86) 0%, rgba(28,20,17,.45) 38%, rgba(28,20,17,0) 70%); }
.hero-copy { padding: 0 var(--gut) clamp(28px, 6vw, 72px); max-width: var(--max); width: 100%; margin-inline: auto; }
.hero-copy > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .12s; }
.hero-copy > :nth-child(3) { animation-delay: .24s; }
.hero h1 { max-width: 12ch; }
.hero .lede { color: #efe5db; margin: 16px 0 24px; max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-note { position: absolute; right: var(--gut); top: 18px; font-family: var(--serif); font-style: italic; font-size: 17px; color: rgba(255,255,255,.85); }
.scroll-cue { position: absolute; left: 50%; bottom: 10px; width: 1px; height: 26px; background: rgba(255,255,255,.6); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -26px; width: 1px; height: 26px; background: var(--white); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { to { top: 26px; } }
@media (min-width: 861px) { .hero > img { object-position: 50% 35%; } .hero .lede { font-size: 20px; } }
@media (max-width: 560px) { .hero-actions .btn { flex: 1 1 auto; padding: 0 18px; } }

/* story highlights */
.stories { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; padding: 4px var(--gut) 6px; scroll-snap-type: x proximity; }
.stories::-webkit-scrollbar { display: none; }
.story-btn { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); font-weight: 700; font-size: 13.5px; scroll-snap-align: start; }
.story-btn .ring { width: 78px; height: 78px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, var(--red), var(--blush), var(--red)); transition: transform .2s; }
.story-btn .ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--linen); }
.story-btn:active .ring { transform: scale(.94); }
.story-btn.seen .ring { background: var(--clay); }
@media (min-width: 861px) { .stories { justify-content: flex-start; padding-inline: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); } .story-btn .ring { width: 96px; height: 96px; } }

.story-view { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0f0b0a; color: var(--white); z-index: 90; }
.story-view::backdrop { background: #0f0b0a; }
.story-view[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: storyIn .3s ease both; }
@keyframes storyIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.story-top { padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 8px; position: relative; z-index: 2; }
.story-bars { display: flex; gap: 4px; margin-bottom: 12px; }
.story-bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.story-bars i { display: block; height: 100%; width: 0; background: var(--white); }
.story-meta { display: flex; align-items: center; gap: 10px; }
.story-meta img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--white); padding: 4px; }
.story-meta b { font-size: 15px; }
.story-meta button { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: var(--white); font-size: 26px; line-height: 1; cursor: pointer; }
.story-stage { position: relative; min-height: 0; display: grid; place-items: center; overflow: hidden; }
.story-stage img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.story-stage .zone { position: absolute; top: 0; bottom: 0; width: 38%; background: none; border: 0; cursor: pointer; z-index: 1; }
.story-stage .zone.prev { left: 0; }
.story-stage .zone.next { right: 0; width: 62%; }
.story-foot { padding: 14px 18px calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.story-foot p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 21px; }
.story-foot .btn { min-height: 44px; padding: 0 18px; font-size: 15px; flex: none; }

/* swipe deck (shared by sessions, recent work, values, steps) */
.deck { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 330px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--gut) 14px; scroll-padding-inline: var(--gut); overscroll-behavior-x: contain; }
.deck::-webkit-scrollbar { display: none; }
.deck > * { scroll-snap-align: start; }
@media (min-width: 861px) { .deck { padding-inline: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); scroll-padding-inline: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); grid-auto-columns: 300px; gap: 22px; } }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--clay); transition: width .3s, background .3s; }
.dots i.on { width: 20px; background: var(--red); }
.dark .dots i { background: rgba(246,241,235,.3); }
.dark .dots i.on { background: var(--blush); }

/* photo / colour cards */
.card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; padding: 20px; color: var(--white); text-decoration: none; background: var(--espresso); border: 0; text-align: left; cursor: pointer; isolation: isolate; transition: transform .25s; font: inherit; }
.card:active { transform: scale(.97); }
.card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card:hover > img { transform: scale(1.05); }
.card.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(28,20,17,.85), rgba(28,20,17,0) 58%); }
.card h3, .card .t { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.05; letter-spacing: -.015em; display: block; }
.card .d { display: block; margin-top: 6px; font-size: 15px; line-height: 1.45; opacity: .9; }
.card.type > span:last-child { display: block; }
.card p { margin: 6px 0 0; font-size: 15px; line-height: 1.45; opacity: .9; }
.card .more { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.card .more::after { content: ""; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 12px no-repeat; }
.card.red { background: var(--red); }
.card.sand { background: var(--sand); color: var(--ink); }
.card.sand .more::after { background-color: rgba(43,34,31,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b221f' stroke-width='2'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.card.blush { background: var(--blush); color: var(--ink); }
.card.blush .more::after { background-color: rgba(43,34,31,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b221f' stroke-width='2'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.card.type { justify-content: space-between; }
.card.type .big { font-family: var(--serif); font-size: 46px; line-height: 1; letter-spacing: -.02em; }
.card .tag { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }

/* recent work band */
.dark { background: var(--espresso); color: var(--linen); }
.dark .sec-head p { color: #cdbfb2; }
.dark .round-btn { border-color: rgba(246,241,235,.35); }
.work-deck { grid-auto-columns: min(84vw, 420px); }
.work-deck figure { margin: 0; }
.work-deck img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.work-deck figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 19px; color: #e4d8cc; }
.work-deck figcaption span { font-family: var(--sans); font-style: normal; font-size: 13px; color: #a8998c; align-self: center; }
.deck-ctrl { display: none; gap: 8px; }
@media (min-width: 861px) { .deck-ctrl { display: flex; } }

/* intro strip */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: end; }
.intro h2 { font-size: clamp(30px, 4vw, 48px); }
.intro p { margin: 12px 0 0; color: var(--taupe); }
@media (max-width: 700px) { .intro { grid-template-columns: 1fr; } }

/* call to action */
.cta { position: relative; overflow: hidden; color: var(--white); background: var(--red); border-radius: 24px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px 40px; align-items: end; isolation: isolate; }
.cta::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255,255,255,.08); z-index: -1; }
.cta h2 { font-size: clamp(32px, 4.6vw, 56px); max-width: 13ch; }
.cta p { margin: 12px 0 0; color: #f6d9d9; }
.cta .btn { background: var(--white); color: var(--red); border-color: var(--white); }
.cta .btn:hover { background: var(--linen); }
@media (max-width: 700px) { .cta { grid-template-columns: 1fr; margin-inline: 0; } .cta .btn { width: 100%; } }

/* PORTFOLIO */
.filters { position: sticky; top: 66px; z-index: 20; background: color-mix(in srgb, var(--linen) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px var(--gut); margin-bottom: 14px; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--clay); background: transparent; color: var(--ink); font-weight: 700; font-size: 14.5px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--linen); }
.filters .n { font-weight: 400; opacity: .65; margin-left: 4px; }
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; grid-auto-rows: 44vw; gap: 8px; padding: 0 var(--gut) clamp(40px, 6vw, 80px); max-width: var(--max); margin-inline: auto; }
.mosaic figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; animation: rise .5s ease both; }
.mosaic figure.tall { grid-row: span 2; }
.mosaic figure.wide { grid-column: span 2; }
@media (max-width: 699px) { .mosaic figure.m-tall { grid-row: span 2; } }
.mosaic figure.hide { display: none; }
.mosaic button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.mosaic button:focus-visible { outline: 2px solid var(--red); outline-offset: -4px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.mosaic button:hover img { transform: scale(1.04); }
.mosaic figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(255,253,250,.92); color: var(--ink); font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; pointer-events: none; }
@media (min-width: 700px) {
  .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 21vw; gap: 14px; }
  .mosaic figure.d-big { grid-row: span 2; }
  .mosaic figure.d-tall { grid-row: span 2; }
  .mosaic figure.d-w2 { grid-column: span 2; }
  .mosaic figure.d-w2 img { object-position: 50% 62%; }
}
@media (min-width: 1280px) { .mosaic { grid-auto-rows: 270px; } }
.empty { display: none; padding: 30px var(--gut) 60px; color: var(--taupe); text-align: center; }
.empty.on { display: block; }

.lightbox { position: fixed; inset: 0; z-index: 85; background: rgba(18,13,11,.97); color: var(--linen); display: none; grid-template-rows: auto minmax(0, 1fr) auto; padding: calc(10px + env(safe-area-inset-top, 0px)) 14px calc(16px + env(safe-area-inset-bottom, 0px)); }
.lightbox.open { display: grid; animation: storyIn .25s ease both; }
.lb-top, .lb-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 10px 0; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb-foot p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 21px; }
.lightbox button { min-width: 46px; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(246,241,235,.35); background: transparent; color: var(--linen); cursor: pointer; font-weight: 700; }
.lb-nav { display: flex; gap: 8px; }

/* SERVICES: deck on phones, grid on wide screens */
@media (min-width: 861px) {
  .svc-cards { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); scroll-snap-type: none; }
  .svc-cards .card:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .svc-cards .card:first-child h3 { font-size: 44px; }
  .svc-cards + .dots { display: none; }
}

/* steps deck */
.step { background: var(--white); border-radius: 18px; padding: 22px; min-height: 190px; }
.step b { display: block; font-family: var(--serif); font-weight: 500; font-size: 52px; line-height: 1; color: var(--red); margin-bottom: 10px; }
.step h3 { font-size: 24px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--taupe); font-size: 15.5px; }

/* FAQ */
details { border-bottom: 1px solid var(--clay); }
details:first-of-type { border-top: 1px solid var(--clay); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 0; font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); line-height: 1.25; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--sans); font-size: 24px; line-height: 1; color: var(--red); transition: transform .3s; flex: none; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--taupe); margin: -4px 0 20px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px clamp(30px, 6vw, 100px); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* bottom sheets (details, journal posts, more menu) */
.sheet { position: fixed; inset: auto 0 0 0; width: 100%; max-width: 100%; max-height: 88svh; margin: 0; padding: 0; border: 0; border-radius: 26px 26px 0 0; background: var(--linen); color: var(--ink); overflow: hidden; }
.sheet[open] { display: flex; flex-direction: column; animation: sheetUp .38s cubic-bezier(.2,.8,.2,1) both; }
.sheet.closing { animation: sheetDown .25s ease both; }
.sheet::backdrop { background: rgba(28,20,17,.55); backdrop-filter: blur(3px); }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheetDown { to { transform: translateY(100%); } }
.sheet-grab { flex: none; display: grid; place-items: center; height: 26px; cursor: grab; touch-action: none; }
.sheet-grab::before { content: ""; width: 44px; height: 5px; border-radius: 3px; background: var(--clay); }
.sheet-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,253,250,.92); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px -6px rgba(0,0,0,.3); }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gut) calc(28px + env(safe-area-inset-bottom, 0px)); }
.sheet-body > img { width: calc(100% + 2 * var(--gut)); max-width: none; margin: -26px calc(-1 * var(--gut)) 22px; aspect-ratio: 16 / 10; object-fit: cover; }
.sheet h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 14px; }
.sheet h4 { font-family: var(--sans); font-size: 15px; font-weight: 800; margin: 22px 0 8px; letter-spacing: 0; }
.sheet .btn { margin-top: 24px; }
.sheet time { display: block; font-size: 14px; color: var(--taupe); margin-bottom: 8px; }
@media (min-width: 861px) {
  .sheet { inset: 0; margin: auto; width: min(640px, 92vw); max-height: 86vh; border-radius: 22px; }
  .sheet[open] { animation: storyIn .3s ease both; }
  .sheet.closing { animation: none; }
  .sheet-grab { display: none; }
  .sheet-body { padding-top: 28px; }
  .sheet-body > img { margin-top: -28px; }
}
ul.gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
ul.gets li { padding-left: 26px; position: relative; color: var(--taupe); }
ul.gets li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 1.5px; background: var(--red); }
.more-links { list-style: none; margin: 6px 0 22px; padding: 0; }
.more-links a { font-size: 28px !important; padding: 12px 0 !important; }
.more-links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--sand); font-family: var(--serif); font-size: 30px; text-decoration: none; }
.more-links a::after { content: "\203A"; font-family: var(--sans); color: var(--red); font-size: 28px; }

/* ABOUT */
.about-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.about-split .pic { position: relative; }
.about-split .pic img { border-radius: 18px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-split .pic .stamp { position: absolute; right: -10px; bottom: 24px; width: 112px; height: 112px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; text-align: center; font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.1; padding: 14px; transform: rotate(-10deg); text-decoration: none; transition: transform .3s; box-shadow: 0 12px 24px -12px rgba(0,0,0,.5); }
@media (max-width: 860px) { .about-split { grid-template-columns: 1fr; } .about-split .pic { order: -1; } .about-split .pic img { aspect-ratio: 4 / 3; } .about-split .pic .stamp { right: 12px; bottom: -28px; width: 96px; height: 96px; font-size: 16px; } }
.value { border-radius: 18px; padding: 24px; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; }
.value:nth-child(1) { background: var(--sand); }
.value:nth-child(2) { background: var(--espresso); color: var(--linen); }
.value:nth-child(3) { background: var(--blush); }
.value h3 { margin-bottom: 8px; }
.value p { margin: 0; font-size: 15.5px; opacity: .85; }

/* JOURNAL */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 14px; }
.post-card:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 14px; }
.post-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; transition: transform .6s; }
.post-card:hover img { transform: scale(1.02); }
.post-card time { font-size: 13px; color: var(--taupe); display: block; }
.post-card .pt { display: block; }
.post-card .ph { display: block; font-family: var(--serif); font-size: 26px; line-height: 1.1; margin: 4px 0 6px; text-wrap: balance; }
.post-card .pp { display: block; color: var(--taupe); font-size: 15.5px; }
.post-card .text-link { margin-top: 10px; display: inline-block; font-size: 15px; }
@media (max-width: 860px) {
  .posts { grid-template-columns: 1fr; gap: 0; }
  .post-card { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--sand); }
  .post-card img { aspect-ratio: 1; border-radius: 12px; }
  .post-card .ph { font-size: 22px; }
  .post-card .pp, .post-card .text-link { display: none; }
  .post-card:first-child { grid-template-columns: 1fr; border-bottom: 0; padding-top: 0; }
  .post-card:first-child img { aspect-ratio: 16 / 10; }
  .post-card:first-child .ph { font-size: 28px; }
  .post-card:first-child .pp { display: block; }
}

/* BOOK: stepper form */
.book-wrap { max-width: 720px; margin-inline: auto; padding: clamp(20px, 4vw, 50px) var(--gut) clamp(40px, 6vw, 80px); }
.book-wrap h1 { font-size: clamp(38px, 6vw, 64px); }
.book-wrap > .lede { margin: 10px 0 22px; }
.progress { display: flex; gap: 6px; margin-bottom: 8px; }
.progress i { flex: 1; height: 4px; border-radius: 4px; background: var(--sand); transition: background .4s; }
.progress i.on { background: var(--red); }
.progress-label { font-size: 14px; color: var(--taupe); margin-bottom: 18px; font-weight: 700; }
.form-card { background: var(--white); padding: clamp(22px, 4vw, 40px); border-radius: 22px; box-shadow: 0 30px 60px -48px rgba(43,34,31,.5); }
.step-panel { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 18px; }
.step-panel[hidden] { display: none; }
.step-panel.enter { animation: rise .45s cubic-bezier(.2,.7,.2,1) both; }
.step-panel legend { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; padding: 0; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-weight: 800; font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 12px 16px; border: 1px solid var(--clay); border-radius: 12px; background: var(--linen); color: var(--ink); font-size: 16px; transition: border-color .2s, background .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232b221f' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 22%, transparent); }
.field .err { font-size: 14px; color: var(--red); }
.field .err:empty { display: none; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--red); }
.hp { position: absolute; left: -5000px; }
.step-nav { display: flex; gap: 10px; margin-top: 8px; }
.step-nav .btn { flex: 1; }
.step-nav .btn.line { flex: 0 0 auto; }
.review { background: var(--linen); border-radius: 14px; padding: 14px 16px; margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; font-size: 15px; }
.review dt { color: var(--taupe); }
.review dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.privacy { font-size: 13.5px; color: var(--taupe); margin: 0; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.form-status { display: none; text-align: center; }
.form-status.on { display: block; animation: rise .5s ease both; }
.form-status .tick { width: 76px; height: 76px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; margin: 4px auto 18px; }
.form-status .tick svg { width: 36px; height: 36px; }
.form-status h2 { margin-bottom: 12px; }
.form-status p { margin-inline: auto; }
.form-error { display: none; border-left: 3px solid var(--red); padding: 4px 0 4px 14px; margin-top: 16px; font-size: 15px; }
.form-error.on { display: block; }
.book-after { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 26px; font-size: 15px; color: var(--taupe); }
.book-after a { color: var(--ink); font-weight: 700; }

/* footer */
.site-foot { background: var(--espresso); color: #d8ccc0; padding: clamp(48px, 7vw, 90px) 0 26px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 36px; }
.foot-top .brand img { width: 160px; }
.foot-top .say { font-family: var(--serif); font-style: italic; font-size: 23px; line-height: 1.35; color: var(--linen); margin: 18px 0 22px; max-width: 26ch; }
.site-foot h4 { font-family: var(--sans); font-size: 14px; font-weight: 800; color: #a8998c; margin-bottom: 12px; letter-spacing: 0; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { text-decoration: none; }
.site-foot ul a:hover { color: var(--white); text-decoration: underline; }
.site-foot .socials a { color: var(--linen); border-color: rgba(246,241,235,.35); width: 50px; height: 50px; }
.foot-base { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(246,241,235,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13.5px; color: #a8998c; }
@media (max-width: 860px) {
  .foot-top { grid-template-columns: 1fr; gap: 0; }
  .foot-top > div:not(:first-child):not(:last-child) { display: none; }
  .foot-top > div:last-child { margin-top: 22px; }
  .foot-base { margin-top: 26px; }
}
