/* Little Devon Flower Garden
   Layout concept: a night garden. Hannah's photographs glow out of a deep shed-navy dark,
   type is set like seed-packet print (old-style serif display, plain sans, mono for stems and prices).
   Radius rule: buttons and chips are full pills, photographs and panels 22px, inputs 14px. */
:root {
  /* Light mode (default): sage-white paper, shed-navy ink, dahlia accent */
  color-scheme: light;
  --night: #F3F4EF;
  --deep: #EAECE5;
  --panel: #FBFBF8;
  --raise: #E1E4DC;
  --ink-rgb: 29, 45, 57;
  --bg-rgb: 243, 244, 239;
  --scrim-rgb: 13, 21, 27;
  --line: rgba(var(--ink-rgb), .12);
  --line2: rgba(var(--ink-rgb), .24);
  --fg: #1D2D39;
  --mute: #4C5B66;
  --dim: #6B7883;
  --dahlia: #BC523B;
  --dahlia-2: #B04B35;
  --dahlia-rgb: 188, 82, 59;
  --on-dahlia: #FFF8F4;
  --sage: #4D6A47;
  --sage-rgb: 77, 106, 71;
  --amber: #8F6214;
  --amber-rgb: 143, 98, 20;
  --navy: #223444;
  --on-photo: #F4EFE9;
  --glass: rgba(251, 251, 248, .74);
  --grain: .035;
  --lines-filter: none;
  --shadow: 0 30px 60px -36px rgba(29, 45, 57, .35);
  --f-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --f-body: "Instrument Sans", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --r: 22px;
  --r-in: 14px;
  --gut: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --z-nav: 40; --z-drawer: 60; --z-toast: 70; --z-grain: 80;
}
/* Dark mode: the night garden */
:root[data-mode="dark"] {
  color-scheme: dark;
  --night: #0D151B;
  --deep: #111C24;
  --panel: #16232D;
  --raise: #1D2C37;
  --ink-rgb: 238, 231, 223;
  --bg-rgb: 13, 21, 27;
  --fg: #EEE7DF;
  --mute: #A9B4BC;
  --dim: #7F8C96;
  --dahlia: #EE8A74;
  --dahlia-2: #F4A390;
  --dahlia-rgb: 238, 138, 116;
  --on-dahlia: #1B0F0B;
  --sage: #A3B79C;
  --sage-rgb: 163, 183, 156;
  --amber: #E5B566;
  --amber-rgb: 229, 181, 102;
  --glass: rgba(17, 28, 36, .62);
  --grain: .055;
  --lines-filter: invert(1);
  --shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--night); color: var(--fg);
  font: 400 16px/1.6 var(--f-body); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--dahlia); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--dahlia); color: var(--on-dahlia); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--fg); color: var(--night); padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 16px; }

.grain { position: fixed; inset: 0; pointer-events: none; z-index: var(--z-grain); opacity: var(--grain); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- type ---------- */
.display { font-family: var(--f-display); font-weight: 500; letter-spacing: -.012em; line-height: 1.02; margin: 0; text-wrap: balance; }
.display em, .display i { font-style: italic; font-weight: 400; color: var(--dahlia-2); }
.h1 { font-size: clamp(3.1rem, 8.6vw, 8.4rem); }
.h2 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
.h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.08; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: var(--mute); max-width: 56ch; margin: 0; }
.prose { max-width: 64ch; color: var(--mute); }
.prose p { margin: 0 0 1.05em; }
.prose strong { color: var(--fg); font-weight: 600; }
.mono { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .02em; }
.tag { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: clamp(80px, 12vw, 168px); position: relative; }

/* ---------- buttons ---------- */
.btn { --bg: var(--dahlia); --fgc: var(--on-dahlia);
  display: inline-flex; align-items: center; gap: 12px; padding: 7px 7px 7px 22px; min-height: 52px;
  background: var(--bg); color: var(--fgc); border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 600; font-size: .98rem; text-decoration: none; white-space: nowrap;
  transition: transform .5s var(--ease), background .3s var(--ease), box-shadow .5s var(--ease);
  box-shadow: 0 10px 30px -12px rgba(var(--dahlia-rgb), .55), inset 0 1px 0 rgba(255,255,255,.35); }
.btn .ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(27, 15, 11, .12); transition: transform .5s var(--ease); }
.btn:hover .ic { transform: translate(3px, -1px) scale(1.06); }
.btn:active { transform: scale(.97); }
.btn.ghost { --bg: rgba(var(--ink-rgb), .07); --fgc: var(--fg); box-shadow: inset 0 0 0 1px var(--line2); backdrop-filter: blur(8px); }
.btn.ghost .ic { background: rgba(var(--ink-rgb), .1); }
.btn.ghost:hover { --bg: rgba(var(--ink-rgb), .13); }
.btn.sm { min-height: 42px; font-size: .9rem; padding: 5px 5px 5px 16px; }
.btn.sm .ic { width: 32px; height: 32px; }
.btn.block { width: 100%; justify-content: space-between; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.link { background: none; border: 0; padding: 0; color: var(--fg); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line2); cursor: pointer; }
.link:hover { text-decoration-color: var(--dahlia); }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: var(--z-nav); left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + 14px); display: flex; justify-content: center; padding-inline: 12px; pointer-events: none; }
.nav-pill { pointer-events: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; width: min(1240px, 100%); min-height: 68px; padding: 8px 8px 8px 22px; border-radius: 999px;
  background: var(--glass); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255,255,255,.06), 0 20px 50px -24px rgba(var(--scrim-rgb), .45);
  transition: transform .6s var(--ease), background .4s; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.mode-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(var(--ink-rgb), .07); color: var(--fg); transition: background .3s, transform .5s var(--ease); }
.mode-btn:hover { background: rgba(var(--ink-rgb), .13); }
.mode-btn:active { transform: scale(.94) rotate(-20deg); }
.mode-btn .ph-moon { display: none; } :root[data-mode="dark"] .mode-btn .ph-moon { display: block; } :root[data-mode="dark"] .mode-btn .ph-sun { display: none; }
.nav.hide .nav-pill { transform: translateY(-140%); }
.nav-logo img { height: 46px; width: auto; }
.lg-dk { display: none !important; } :root[data-mode="dark"] .lg-dk { display: block !important; } :root[data-mode="dark"] .lg-lt { display: none !important; }
.nav-links { display: flex; justify-content: center; gap: 6px; }
.nav-links a { padding: 10px 16px; border-radius: 999px; font-size: .95rem; text-decoration: none; color: var(--mute); transition: color .25s, background .25s; }
.nav-links a:hover, .nav-links a.on { color: var(--fg); background: rgba(var(--ink-rgb), .07); }
.cart-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 18px; border: 0; border-radius: 999px; background: var(--fg); color: var(--night); cursor: pointer; font-weight: 600; font-size: .9rem; }
.cart-btn b { min-width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: var(--night); color: var(--fg); font: 500 .78rem var(--f-mono); padding: 0 6px; }
.cart-btn.bump { animation: bump .6s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.08); } }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(var(--ink-rgb), .08); cursor: pointer; position: relative; }
.burger i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--fg); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger i:first-child { top: 19px; } .burger i:last-child { top: 26px; }
.burger[aria-expanded="true"] i:first-child { top: 22.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 22.5px; transform: rotate(-45deg); }
.mob { position: fixed; inset: 0; z-index: calc(var(--z-nav) - 1); background: rgba(var(--bg-rgb), .9); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); display: flex; align-items: center; padding: 100px 28px 40px; }
.mob nav { display: grid; gap: 6px; width: 100%; }
.mob a { font: 500 2.6rem/1.15 var(--f-display); text-decoration: none; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.mob.open a { opacity: 1; transform: none; }
.mob.open a:nth-child(2) { transition-delay: .05s; } .mob.open a:nth-child(3) { transition-delay: .1s; } .mob.open a:nth-child(4) { transition-delay: .15s; } .mob.open a:nth-child(5) { transition-delay: .2s; } .mob.open a:nth-child(6) { transition-delay: .25s; }
.mob .mob-studio { font: 500 1rem var(--f-mono); color: var(--mute); margin-top: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; color: var(--on-photo); overflow: hidden; background: #0D151B; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(90px, 16vh, 170px); z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(var(--bg-rgb), 0) 0%, rgba(var(--bg-rgb), .55) 55%, var(--night) 100%); }
.hero .display em { color: #F6B4A3; }
.hero-stage { position: relative; height: 100%; overflow: hidden; display: grid; }
.hero-media { position: absolute; inset: -2% 0 -14% 0; }
.hero-media img, .hero-media video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.12); will-change: transform; }
.hero-shade { position: absolute; inset: 0; background:
  radial-gradient(120% 80% at 20% 90%, rgba(var(--scrim-rgb), .92) 0%, rgba(var(--scrim-rgb), .35) 55%, rgba(var(--scrim-rgb), 0) 80%),
  linear-gradient(180deg, rgba(var(--scrim-rgb), .55) 0%, rgba(var(--scrim-rgb), 0) 30%, rgba(var(--scrim-rgb), .2) 70%, rgba(var(--scrim-rgb), .6) 100%); }
.hero-copy { position: relative; z-index: 2; align-self: end; padding: 0 var(--gut) clamp(72px, 14vh, 150px); max-width: var(--max); width: 100%; margin-inline: auto; display: grid; gap: 22px; }
.hero-kicker { display: flex; align-items: center; gap: 16px; margin: 0; text-wrap: balance; font: 500 clamp(.95rem, 1.2vw, 1.12rem)/1.3 var(--f-body); letter-spacing: .01em; }
.hero-kicker i { width: 44px; height: 1.5px; background: #F6B4A3; transform-origin: left; flex: none; }
.hero-title { font-size: clamp(4rem, 12.4vw, 13rem); line-height: 1; letter-spacing: -.025em; font-weight: 500; margin: -.04em 0 .06em -.04em; white-space: nowrap; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em .04em .2em; margin: 0 -.04em -.2em; }
.hero-title .w > span { display: inline-block; will-change: transform; }
.hero-title em { font-style: italic; font-weight: 400; padding-right: .04em; }
.hero-row { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
.hero-row .lede { color: inherit; opacity: .9; max-width: 34ch; }
.hero-badge { position: absolute; right: var(--gut); bottom: calc(clamp(72px, 14vh, 150px) - 38px); width: 132px; z-index: 1; height: 132px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: rgba(var(--scrim-rgb), .4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); font: 500 .7rem/1.35 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.hero-badge svg { position: absolute; inset: 0; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- season marquee ---------- */
.marquee { border-bottom: 1px solid var(--line); overflow: hidden; padding-block: 22px; background: var(--night); position: relative; z-index: 1; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marq 38s linear infinite; }
.marquee span { font: 400 clamp(1.6rem, 3vw, 2.6rem)/1 var(--f-display); font-style: italic; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; color: var(--fg); }
.marquee span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--dahlia); opacity: .8; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-media { position: sticky; top: 100px; }
.frame { border-radius: var(--r); overflow: hidden; position: relative; background: var(--panel); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.about-media .frame { aspect-ratio: 4/5; max-height: 78vh; }
.about-media .frame img { transform: scale(1.12); }
.about-sig { margin-top: 16px; display: flex; justify-content: space-between; gap: 12px; color: var(--mute); }
.about-copy { display: grid; gap: 28px; padding-top: 4vh; }
.about-copy .lead { font: 400 clamp(2rem, 3.6vw, 3.3rem)/1.1 var(--f-display); margin: 0; text-wrap: balance; }
.about-copy .lead em { color: var(--dahlia-2); }
.about-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.about-facts div { background: var(--deep); padding: 20px 18px; display: grid; gap: 4px; }
.about-facts b { font: 500 1.5rem/1.1 var(--f-display); }
.about-facts span { color: var(--mute); font-size: .86rem; }

/* ---------- shop teaser / product cards ---------- */
.shop-head { display: grid; gap: 18px; margin-bottom: 40px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(var(--ink-rgb), .06); box-shadow: inset 0 0 0 1px var(--line); color: var(--mute); font-size: .9rem; text-decoration: none; transition: all .3s var(--ease); }
.chip:hover { color: var(--fg); box-shadow: inset 0 0 0 1px var(--line2); }
.chip.on { background: var(--fg); color: var(--night); box-shadow: none; }
.chip .n { font: 500 .72rem var(--f-mono); opacity: .7; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 23%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--line2) transparent; overscroll-behavior-x: contain; }
.rail > * { scroll-snap-align: start; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 34px 20px; }
.pcard { display: grid; gap: 14px; text-decoration: none; color: inherit; position: relative; }
.pcard .frame { aspect-ratio: 4/5; }
.pcard .frame img { transition: transform 1.2s var(--ease); }
.pcard:hover .frame img { transform: scale(1.05); }
.pcard .frame img + img { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.pcard:hover .frame img + img { opacity: 1; }
.pcard-meta { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2px 16px; align-items: baseline; }
.pcard-meta h3 { margin: 0; font: 500 1.45rem/1.15 var(--f-display); }
.pcard-meta .price { font: 500 .95rem var(--f-mono); }
.pcard-meta .sub { grid-column: 1 / -1; color: var(--dim); font-size: .85rem; }
.pcard.soldout .frame img { filter: grayscale(.85) brightness(.7); }
.stock { display: inline-flex; align-items: center; gap: 7px; font: 500 .72rem var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--sage); }
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stock.low { color: var(--amber); } .stock.out { color: var(--dim); }

/* category bento: one photograph, three colour fields */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.tile { position: relative; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 26px; text-decoration: none; min-height: 250px; isolation: isolate; transition: transform .7s var(--ease), box-shadow .5s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.tile.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--scrim-rgb), 0) 40%, rgba(var(--scrim-rgb), .78)); }
.tile:hover img { transform: scale(1.04); }
.tile .ti { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.tile h3 { margin: 0; font: 500 clamp(1.7rem, 2.4vw, 2.3rem)/1 var(--f-display); }
.tile p { margin: 6px 0 0; font-size: .92rem; opacity: .82; max-width: 30ch; }
.tile .foot-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.tile .go { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.2); transition: transform .5s var(--ease), background .3s, color .3s; }
.tile:hover .go { transform: translate(3px, -3px); background: #fff; color: #1D2D39; }
.tile .n { font: 500 .74rem var(--f-mono); letter-spacing: .04em; opacity: .8; }
.tile.photo { color: var(--on-photo); grid-column: span 7; grid-row: span 2; min-height: 520px; }
.tile.g-dahlia { grid-column: span 5; color: #2A140E; background: radial-gradient(120% 140% at 100% 0%, #F7C2B2 0%, #EE9A82 38%, #D9694F 100%); }
.tile.g-sage { grid-column: span 5; color: #17251A; background: radial-gradient(120% 140% at 0% 0%, #DCE6D5 0%, #AFC3A7 45%, #7E9876 100%); }
.tile.g-navy { grid-column: span 12; min-height: 200px; color: #EEE7DF; background: radial-gradient(90% 160% at 85% 10%, #3A5168 0%, #26394A 45%, #172430 100%); flex-direction: row; align-items: center; }
.tile.g-navy .foot-row { flex: 1; }
.tile.g-dahlia .ti, .tile.g-sage .ti { background: rgba(255,255,255,.35); }
.tile.g-navy .ti { background: rgba(255,255,255,.1); color: #F4A390; }

/* ---------- subscriptions ---------- */
.subs { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.subs-media { position: relative; min-height: 560px; border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.subs-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.subs-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(var(--scrim-rgb), 0) 40%, rgba(var(--scrim-rgb), .9)); }
.subs-media .cap { color: var(--on-photo); position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 1; display: grid; gap: 14px; }
.shell { padding: 6px; border-radius: calc(var(--r) + 6px); background: rgba(var(--ink-rgb), .04); box-shadow: inset 0 0 0 1px var(--line); }
.core { border-radius: var(--r); background: var(--deep); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); padding: clamp(20px, 2.4vw, 32px); }
.builder { display: grid; gap: 22px; }
.builder fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.builder legend { font: 500 .78rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; padding: 0; }
.opts { display: grid; gap: 8px; }
.opts.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opts.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-in); cursor: pointer; background: rgba(var(--ink-rgb), .03); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, background .25s; min-width: 0; }
.opt:hover { box-shadow: inset 0 0 0 1px var(--line2); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked) { background: rgba(var(--dahlia-rgb), .1); box-shadow: inset 0 0 0 1.5px var(--dahlia); }
.opt:has(input:focus-visible) { outline: 2px solid var(--dahlia); outline-offset: 2px; }
.opt img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; flex: none; }
.opt .t { display: grid; min-width: 0; line-height: 1.3; }
.opt .t b { font-weight: 600; font-size: .95rem; }
.opt .t span { color: var(--dim); font-size: .8rem; }
.opt .pr { margin-left: auto; font: 500 .85rem var(--f-mono); }
.opt.center { justify-content: center; text-align: center; }
.summary { display: grid; gap: 8px; padding-top: 18px; border-top: 1px dashed var(--line2); }
.summary .row { display: flex; justify-content: space-between; gap: 12px; color: var(--mute); font-size: .92rem; }
.summary .row b { color: var(--fg); font: 500 .92rem var(--f-mono); }
.summary .big { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 6px; }
.summary .big span { font: 500 1.6rem var(--f-display); }
.summary .big b { font: 500 1.6rem var(--f-display); }
.dates { display: flex; gap: 6px; flex-wrap: wrap; }
.dates span { font: 500 .72rem var(--f-mono); padding: 5px 9px; border-radius: 999px; background: rgba(var(--ink-rgb), .06); color: var(--mute); }
.dates span:first-child { background: var(--sage); color: var(--night); }

/* ---------- ethos: editorial split, plain ground ---------- */
.ethos-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.ethos-copy { display: grid; gap: 30px; }
.ethos-body { margin: 0; max-width: 62ch; color: var(--mute); font-size: clamp(1rem, 1.1vw, 1.08rem); line-height: 1.75; }
.ethos-body a { color: var(--fg); text-decoration-color: var(--dahlia); text-underline-offset: 4px; }
.ethos-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.ethos-points li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; align-content: start; padding: 26px 0 30px; border-top: 1px solid var(--line2); }
.ethos-points .ph { color: var(--dahlia-2); margin-top: .35em; }
.ethos-points h3 { margin: 0; font: 500 clamp(1.7rem, 2.3vw, 2.2rem)/1.05 var(--f-display); letter-spacing: -.01em; }
.ethos-points p { grid-column: 2; margin: 0; color: var(--mute); font-size: .93rem; max-width: 36ch; }
.ethos-media { margin: 0; position: sticky; top: 110px; display: grid; gap: 12px; }
.ethos-media .frame { aspect-ratio: 4/5; }
.ethos-media figcaption { font: 500 .74rem var(--f-mono); letter-spacing: .04em; color: var(--dim); }
@media (max-width: 900px) { .ethos-grid { grid-template-columns: minmax(0, 1fr); } .ethos-media { position: static; order: -1; } .ethos-media .frame { aspect-ratio: 16/11; } }
@media (max-width: 560px) { .ethos-points { grid-template-columns: minmax(0, 1fr); } }

/* ---------- sustain ---------- */
.sustain { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.sustain .frame { aspect-ratio: 3/4; }
.stamp { display: inline-grid; place-items: center; width: 116px; height: 116px; border-radius: 50%; border: 1.5px dashed var(--line2); font: 500 .68rem/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; text-align: center; color: var(--mute); transform: rotate(-8deg); }
.pack { display: flex; flex-wrap: wrap; gap: 8px; }
.pack span { font-size: .86rem; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--mute); }

/* ---------- journal ---------- */
.jlist { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
.jlist .side { display: grid; gap: 20px; }
.jcard { display: grid; text-decoration: none; border-radius: var(--r); overflow: hidden; background: var(--deep); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.jcard:hover { box-shadow: inset 0 0 0 1px var(--line2); }
.jcard .frame { border-radius: 0; box-shadow: none; aspect-ratio: 16/10; }
.jcard.big .frame { aspect-ratio: 4/3; }
.jcard .frame img { transition: transform 1.2s var(--ease); }
.jcard:hover .frame img { transform: scale(1.04); }
.jcard .b { padding: 22px 24px 26px; display: grid; gap: 8px; }
.jcard h3 { margin: 0; font: 500 clamp(1.5rem, 2vw, 2rem)/1.1 var(--f-display); }
.jcard.side-card { grid-template-columns: 42% minmax(0, 1fr); }
.jcard.side-card .frame { aspect-ratio: auto; height: 100%; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; position: relative; }
.contact-copy { display: grid; gap: 22px; position: sticky; top: 110px; }
.lines { position: absolute; inset: auto 0 0 0; height: 60%; z-index: -1; opacity: .16; filter: var(--lines-filter); background: url("../img/line-flowers.webp") center bottom / cover no-repeat; pointer-events: none; }
.loc { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r); background: var(--deep); box-shadow: inset 0 0 0 1px var(--line); }
.loc b { font: 500 1.3rem var(--f-display); }
.form { display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fld { display: grid; gap: 7px; min-width: 0; }
.fld label, .flbl { font-size: .86rem; color: var(--mute); font-weight: 500; }
.fld label small { color: var(--dim); font-weight: 400; }
.inp, .fld input, .fld select, .fld textarea {
  width: 100%; min-height: 50px; padding: 13px 15px; border-radius: var(--r-in); border: 0; font: inherit; font-size: 1rem; color: var(--fg);
  background: rgba(var(--ink-rgb), .05); box-shadow: inset 0 0 0 1px var(--line2); transition: box-shadow .25s, background .25s; }
.fld textarea { min-height: 130px; resize: vertical; }
.fld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.fld select option { background: var(--panel); color: var(--fg); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--dahlia); background: rgba(var(--ink-rgb), .07); }
.fld input::placeholder, .fld textarea::placeholder { color: var(--dim); }
.err { color: var(--dahlia-2); font-size: .84rem; margin: 0; }
.fld.bad input, .fld.bad select, .fld.bad textarea { box-shadow: inset 0 0 0 1.5px var(--dahlia-2); }
.cond { display: grid; gap: 14px; }
.note { font-size: .84rem; color: var(--dim); margin: 0; }
.okbox { display: grid; gap: 14px; justify-items: start; padding: 8px 0; }
.tick { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--night); }

/* ---------- product page ---------- */
.page-top { padding-top: 120px; }
.crumbs { display: flex; gap: 10px; align-items: center; color: var(--dim); font-size: .86rem; margin-bottom: 28px; flex-wrap: wrap; }
.crumbs a { color: var(--mute); text-decoration: none; } .crumbs a:hover { color: var(--fg); }
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.gallery { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; position: sticky; top: 100px; }
.thumbs { display: grid; gap: 10px; align-content: start; }
.thumbs button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; aspect-ratio: 1; opacity: .55; transition: opacity .3s; box-shadow: inset 0 0 0 1px var(--line); }
.thumbs button.on, .thumbs button:hover { opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery .frame { aspect-ratio: 4/5; }
.buy { display: grid; gap: 22px; }
.buy h1 { font-size: clamp(2.6rem, 4.6vw, 4.2rem); }
.buy .price { font: 500 1.5rem var(--f-mono); }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--mute); font-size: .9rem; }
.meta-row span { display: inline-flex; gap: 8px; align-items: center; }
.qty { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line2); height: 52px; }
.qty button { width: 46px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 1.2rem; }
.qty output { min-width: 28px; text-align: center; font: 500 1rem var(--f-mono); }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font: 400 1.4rem var(--f-mono); color: var(--mute); transition: transform .4s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .in { padding: 0 0 20px; color: var(--mute); }
.care { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.care b { color: var(--fg); display: block; }

/* ---------- article ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article .frame { aspect-ratio: 16/9; margin: 36px 0 44px; }
.article-body { color: var(--mute); font-size: 1.06rem; }
.article-body h3 { font: 500 2rem/1.15 var(--f-display); color: var(--fg); margin: 1.6em 0 .5em; }
.article-body h4 { font-size: 1.05rem; color: var(--fg); margin: 1.8em 0 .4em; }
.article-body strong { color: var(--fg); }
.article-body ul { padding-left: 1.2em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.tags span { font: 500 .74rem var(--f-mono); padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--mute); }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.checkout h2 { font: 500 1.8rem var(--f-display); margin: 0 0 6px; }
.co-step { display: grid; gap: 16px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.co-sum { position: sticky; top: 100px; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line img { width: 64px; height: 76px; border-radius: 12px; object-fit: cover; }
.line b { display: block; font-weight: 600; font-size: .95rem; }
.line span { color: var(--dim); font-size: .82rem; }
.line .p { font: 500 .9rem var(--f-mono); }
.line .rm { background: none; border: 0; color: var(--dim); cursor: pointer; font-size: .8rem; padding: 0; text-decoration: underline; }
.paybox { padding: 18px; border-radius: var(--r-in); background: rgba(var(--sage-rgb), .08); box-shadow: inset 0 0 0 1px rgba(var(--sage-rgb), .3); color: var(--mute); font-size: .9rem; display: grid; gap: 6px; }
.paybox b { color: var(--fg); }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); }
.drawer-scrim { position: absolute; inset: 0; background: rgba(5, 9, 12, .6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .5s var(--ease); }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--deep); box-shadow: -1px 0 0 var(--line), -40px 0 80px -30px rgba(0,0,0,.6); display: grid; grid-template-rows: auto 1fr auto; transform: translateX(100%); transition: transform .7s var(--ease); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer.open .drawer-scrim { opacity: 1; } .drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font: 500 1.7rem var(--f-display); }
.x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(var(--ink-rgb), .07); cursor: pointer; display: grid; place-items: center; }
.drawer-body { overflow: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.empty { display: grid; gap: 14px; justify-items: start; padding: 32px 0; color: var(--mute); }

.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); transform: translateX(-50%); z-index: var(--z-toast); background: var(--fg); color: var(--night); padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .92rem; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); max-width: calc(100% - 32px); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 64px 40px; background: var(--deep); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot h4 { margin: 0 0 14px; font: 500 .74rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--mute); } .foot a:hover { color: var(--fg); }
.foot .big { font: 400 clamp(2.4rem, 5vw, 4rem)/1 var(--f-display); margin: 22px 0 0; }
.foot .big em { color: var(--dahlia-2); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: .84rem; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line2); }
.social a:hover { background: var(--fg); color: var(--night); }

/* reveal (JS adds .rv-ready only when motion is allowed) */
.rv-ready .rv { opacity: 0; transform: translateY(42px); filter: blur(6px); }
.rv-ready .rv.in { opacity: 1; transform: none; filter: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links a { padding: 9px 10px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .cart-btn .cart-l { display: none; }
  .nav-pill { grid-template-columns: auto 1fr; padding-left: 14px; min-height: 60px; }
  .nav-logo img { height: 40px; }
  .nav-right { justify-self: end; }
  .about, .subs, .sustain, .contact, .pdp, .checkout, .jlist { grid-template-columns: minmax(0, 1fr); }
  .about-media, .contact-copy, .gallery, .co-sum { position: static; }
  .about-media .frame { aspect-ratio: 4/4.4; }
  .subs-media { min-height: 380px; }
  .bento .tile { grid-column: span 12; grid-row: auto; min-height: 210px; }
  .tile.photo { min-height: 380px; }
  .tile.g-navy { flex-direction: column; align-items: stretch; }
  .rail { grid-auto-columns: 72%; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .hero-badge { display: none; }
}
@media (max-width: 560px) {
  .row2, .opts.c3 { grid-template-columns: minmax(0, 1fr); }
  .opts.c2 { grid-template-columns: minmax(0, 1fr); }
  .about-facts { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .thumbs { grid-auto-flow: column; grid-auto-columns: 64px; order: 2; overflow-x: auto; }
  .jcard.side-card { grid-template-columns: minmax(0, 1fr); }
  .jcard.side-card .frame { aspect-ratio: 16/10; }
  .hero-title { font-size: clamp(3.4rem, 17.5vw, 5rem); white-space: normal; }
  .btn { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }

  .hero-media img, .hero-media video { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav-pill, .mob { backdrop-filter: none; background: var(--deep); }
}

/* =================== STUDIO =================== */
body.in-studio .nav, body.in-studio .foot, body.in-studio .grain { display: none; }
.studio { display: grid; grid-template-columns: 248px minmax(0, 1fr); height: 100vh; height: 100dvh; background: var(--night); }
.st-side { border-right: 1px solid var(--line); background: var(--deep); display: flex; flex-direction: column; gap: 18px; padding: calc(env(safe-area-inset-top, 0px) + 18px) 14px 18px; overflow: auto; }
.st-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 4px 8px 10px; }
.st-logo img { height: 34px; width: auto; }
.st-logo span { font: 500 .72rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dahlia-2); padding: 3px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(var(--dahlia-rgb), .4); }
.st-nav { display: grid; gap: 2px; }
.st-nav button { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 0; background: none; cursor: pointer; color: var(--mute); font-size: .93rem; text-align: left; }
.st-nav button:hover { color: var(--fg); background: rgba(var(--ink-rgb), .05); }
.st-nav button.on { color: var(--fg); background: rgba(var(--ink-rgb), .09); box-shadow: inset 0 0 0 1px var(--line); }
.st-nav button b { margin-left: auto; font: 500 .72rem var(--f-mono); background: var(--dahlia); color: var(--on-dahlia); border-radius: 999px; padding: 2px 8px; }
.st-nav button i { margin-left: auto; font: normal 500 .64rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.st-mode { margin-top: auto; padding: 14px; border-radius: 14px; background: rgba(var(--amber-rgb), .08); box-shadow: inset 0 0 0 1px rgba(var(--amber-rgb), .28); display: grid; gap: 4px; font-size: .82rem; color: var(--mute); }
.st-mode b { color: var(--amber); font-size: .86rem; }
.st-mode.live { background: rgba(var(--sage-rgb), .08); box-shadow: inset 0 0 0 1px rgba(var(--sage-rgb), .3); }
.st-mode.live b { color: var(--sage); }
.st-mode .link { justify-self: start; font-size: .8rem; color: var(--mute); }
.st-main { overflow: auto; overscroll-behavior: contain; }
.st-in { padding: clamp(20px, 3vw, 40px); max-width: 1320px; padding-top: calc(env(safe-area-inset-top, 0px) + clamp(20px, 3vw, 40px)); }
.st-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.st-head h1 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
.st-head p { margin: 6px 0 0; color: var(--mute); }
.st-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.st-note { color: var(--mute); font-size: .88rem; margin: -10px 0 20px; }
.sbtn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 600; font-size: .88rem; background: var(--fg); color: var(--night); text-decoration: none; white-space: nowrap; transition: transform .3s var(--ease); }
.sbtn:active { transform: scale(.97); }
.sbtn.ghost { background: rgba(var(--ink-rgb), .06); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line2); }
.sbtn.sm { min-height: 32px; padding: 0 12px; font-size: .8rem; }
.sbtn.danger { color: var(--dahlia-2); }
.sbtn.danger:not(.ghost) { background: var(--dahlia); color: var(--on-dahlia); }
.muted { color: var(--dim); font-size: .86rem; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { padding: 20px; border-radius: 18px; background: var(--deep); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 6px; }
.kpi span { color: var(--mute); font-size: .84rem; }
.kpi b { font: 500 2.1rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.kpi small { color: var(--dim); font: 500 .74rem var(--f-mono); }
.st-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px; align-items: start; }
.st-stack { display: grid; gap: 16px; }
.card { padding: 22px; border-radius: 18px; background: var(--deep); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card-h h2 { margin: 0; font: 500 1.45rem var(--f-display); display: flex; gap: 10px; align-items: center; }
.run-day { padding: 12px 0; border-top: 1px solid var(--line); }
.run-day h3 { margin: 0 0 8px; font: 500 .8rem var(--f-mono); letter-spacing: .04em; color: var(--mute); text-transform: uppercase; }
.run-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 6px 0; font-size: .9rem; }
.spill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font: 500 .7rem var(--f-mono); letter-spacing: .03em; white-space: nowrap; background: rgba(var(--ink-rgb), .08); color: var(--mute); }
.s-new { background: rgba(var(--dahlia-rgb), .16); color: var(--dahlia-2); }
.s-preparing { background: rgba(var(--amber-rgb), .15); color: var(--amber); }
.s-ready, .s-active { background: rgba(var(--sage-rgb), .16); color: var(--sage); }
.s-collected, .s-cancelled { background: rgba(var(--ink-rgb), .06); color: var(--dim); }
.s-paused { background: rgba(var(--amber-rgb), .12); color: var(--amber); }
.s-ex { background: rgba(127,140,150,.14); color: var(--dim); }
.s-sub { background: rgba(var(--sage-rgb), .12); color: var(--sage); }
.s-ord { background: rgba(var(--ink-rgb), .08); color: var(--fg); }
.s-del { box-shadow: inset 0 0 0 1px var(--line2); background: none; color: var(--fg); }
.s-col { box-shadow: inset 0 0 0 1px var(--line); background: none; }
.enq-mini { padding: 10px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto auto 1fr; gap: 4px 10px; align-items: center; }
.enq-mini p { grid-column: 1 / -1; margin: 0; color: var(--mute); font-size: .88rem; }
.st-empty { display: grid; gap: 4px; padding: 26px; border-radius: 14px; border: 1px dashed var(--line2); color: var(--mute); }
.st-empty b { color: var(--fg); font-weight: 600; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
.split.has { grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); }
.tbl { display: grid; gap: 6px; min-width: 0; }
.tr { display: grid; grid-template-columns: 96px minmax(0, 1fr) 110px 80px 110px; gap: 14px; align-items: center; text-align: left; padding: 14px 16px; border-radius: 14px; border: 0; cursor: pointer; background: var(--deep); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); font-size: .9rem; width: 100%; }
.tr:hover { box-shadow: inset 0 0 0 1px var(--line2); }
.tr.on { box-shadow: inset 0 0 0 1.5px var(--dahlia); }
.tr.static { cursor: default; }
.tr small { display: block; color: var(--dim); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr > span { min-width: 0; }
.tr-img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
#stMain .tbl .tr:has(.tr-img) { grid-template-columns: 56px minmax(0, 1fr) auto auto; }
.subs-tbl .tr { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) 110px 70px 90px auto; }
.row-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.panel { position: sticky; top: 0; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line2), 0 30px 60px -30px rgba(0,0,0,.6); overflow: hidden; }
.panel.wide { grid-column: auto; }
.split.has:has(.panel.wide) { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.panel-h { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.panel-h h2 { margin: 2px 0 0; font-size: 1.8rem; }
.panel-b { padding: 20px 22px 24px; display: grid; gap: 14px; }
.panel-acts { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 14px 22px 0; }
.steps button { border: 0; background: rgba(var(--ink-rgb), .06); color: var(--dim); font: 500 .72rem var(--f-mono); padding: 8px 4px; border-radius: 8px; cursor: pointer; }
.steps button.done { background: rgba(var(--sage-rgb), .18); color: var(--sage); }
.steps button.cur { background: var(--sage); color: var(--night); }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.kv span { color: var(--mute); }
.kv.tot b { font-size: 1.05rem; }
.notes p { margin: 4px 0 0; font-size: .92rem; }
.confirm { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 12px; border-radius: 12px; background: rgba(var(--dahlia-rgb), .1); font-size: .88rem; }
.st-pgrid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.st-p { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 4px 12px; align-items: center; text-align: left; padding: 10px; border-radius: 14px; border: 0; background: var(--deep); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; color: var(--fg); }
.st-p img { width: 54px; height: 64px; border-radius: 10px; object-fit: cover; grid-row: span 2; }
.st-p b { display: block; font-size: .88rem; line-height: 1.25; }
.st-p small { color: var(--mute); font: 500 .76rem var(--f-mono); }
.st-p.on { box-shadow: inset 0 0 0 1.5px var(--dahlia); }
.st-p.off { opacity: .55; }
.toggles { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.tg { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: .9rem; }
.tg input { position: absolute; opacity: 0; }
.tg i { width: 38px; height: 22px; border-radius: 999px; background: rgba(var(--ink-rgb), .15); position: relative; transition: background .3s; flex: none; }
.tg i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--fg); transition: transform .4s var(--ease); }
.tg input:checked + i { background: var(--sage); }
.tg input:checked + i::after { transform: translateX(16px); background: var(--night); }
.tg input:focus-visible + i { outline: 2px solid var(--dahlia); outline-offset: 2px; }
.imgs { display: flex; flex-wrap: wrap; gap: 8px; }
.im { position: relative; width: 72px; height: 86px; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.im img { width: 100%; height: 100%; object-fit: cover; }

.im.add { border: 1px dashed var(--line2); background: none; cursor: pointer; color: var(--mute); font-size: .8rem; }
.imgpick { display: flex; align-items: center; gap: 14px; }
.imgpick img { width: 96px; height: 64px; object-fit: cover; border-radius: 10px; }
.picker { position: fixed; inset: 0; z-index: 90; background: rgba(5,9,12,.7); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.picker-in { width: min(860px, 100%); max-height: 86vh; overflow: auto; border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line2); }
.upload { display: grid; gap: 2px; margin: 18px 22px 0; padding: 18px; border-radius: 14px; border: 1px dashed var(--line2); cursor: pointer; text-align: center; }
.upload span { font-weight: 600; } .upload small { color: var(--dim); }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; padding: 18px 22px 22px; }
.pick-grid button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4/5; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.pick-grid button:hover { outline: 2px solid var(--dahlia); }
.pick-grid img { width: 100%; height: 100%; object-fit: cover; }
.rte { border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line2); overflow: hidden; }
.rte-bar { display: flex; gap: 4px; padding: 6px; border-bottom: 1px solid var(--line); background: rgba(var(--ink-rgb), .03); flex-wrap: wrap; }
.rte-bar button { border: 0; background: none; padding: 6px 10px; border-radius: 8px; cursor: pointer; font-size: .82rem; color: var(--mute); }
.rte-bar button:hover { background: rgba(var(--ink-rgb), .08); color: var(--fg); }
.rte-body { min-height: 280px; max-height: 50vh; overflow: auto; padding: 14px 16px; outline: none; font-size: .96rem; }
.rte-body h3 { font-size: 1.5rem; }
.logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lg { border-radius: 14px; padding: 28px; display: grid; place-items: center; min-height: 150px; }
.lg img { max-height: 90px; width: auto; }
.lg.light { background: #F2EEE8; box-shadow: inset 0 0 0 1px var(--line); } .lg.dark { background: #0D151B; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.sw { display: grid; gap: 2px; }
.sw i { height: 74px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line2); margin-bottom: 8px; }
.sw b { font-size: .9rem; } .sw small { color: var(--dim); font-size: .78rem; }
.type-spec { display: grid; gap: 18px; }
.tpls { display: grid; grid-template-columns: 1.1fr .62fr 1.1fr; gap: 14px; align-items: start; }
.tpl { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.tpl > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.tpl.sq { aspect-ratio: 1; } .tpl.story { aspect-ratio: 9/16; } .tpl.card6 { aspect-ratio: 148/105; display: grid; grid-template-columns: 1fr 1fr; }
.tpl.card6 > img { position: relative; }
.tpl-c { position: absolute; inset: 0; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; background: linear-gradient(180deg, rgba(var(--scrim-rgb), .1) 30%, rgba(var(--scrim-rgb), .85)); }
.tpl-c p { margin: 0; font-size: 1.6rem; line-height: 1.05; }
.tpl.story .tpl-c { justify-content: space-between; } .tpl.story .tpl-c p { font-size: 1.4rem; margin-top: auto; }
.tpl-price { font: 500 1.1rem var(--f-mono); color: var(--dahlia-2); }
.tpl-logo { width: 96px; height: auto; }
.tpl-paper { background: #F2EEE8; color: #223444; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }
.tpl-paper p { margin: 0; font-size: 1.15rem; line-height: 1.1; } .tpl-paper p em { color: #B45E4B; }
.tpl-paper .mono { font-size: .58rem; color: #6B7987; }
.tpl-paper .tpl-logo { width: 84px; }
.tpl-l { position: absolute; top: 8px; left: 8px; font: 500 .62rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; background: rgba(var(--scrim-rgb), .7); color: var(--fg); padding: 4px 8px; border-radius: 999px; }
.photos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.photos img { aspect-ratio: 4/5; object-fit: cover; border-radius: 10px; width: 100%; }
.voice { margin: 16px 0 0; padding-left: 1.1em; color: var(--mute); display: grid; gap: 4px; }
.bloom { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; background: linear-gradient(120deg, rgba(var(--amber-rgb), .12), rgba(var(--sage-rgb), .08)); box-shadow: inset 0 0 0 1px rgba(var(--amber-rgb), .25); }
.bloom h2 { margin: 0; font: 500 1.35rem var(--f-display); }
.bloom p { margin: 4px 0 0; }
.bloom-mark { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #E8A838; color: #1A1206; }
.bo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bo { display: grid; gap: 8px; align-content: start; }
.bo h2 { margin: 0; font: 500 1.35rem var(--f-display); }
.bo p { margin: 0; }
.bo .spill { justify-self: start; }
.code { margin: 0; padding: 16px; border-radius: 12px; background: var(--night); box-shadow: inset 0 0 0 1px var(--line); overflow: auto; font: 400 .8rem/1.55 var(--f-mono); color: var(--mute); max-height: 360px; }
@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-cols, .split.has, .split.has:has(.panel.wide) { grid-template-columns: minmax(0, 1fr); }
  .panel { position: static; }
  .tpls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .studio { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .st-side { flex-direction: row; align-items: center; overflow-x: auto; padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px 10px; border-right: 0; border-bottom: 1px solid var(--line); gap: 10px; }
  .st-logo span, .st-mode { display: none; }
  .st-nav { display: flex; gap: 4px; }
  .st-nav button { white-space: nowrap; padding: 8px 12px; }
  .st-nav button svg { display: none; }
  .tr, .subs-tbl .tr { grid-template-columns: minmax(0, 1fr) auto; }
  .tr > .mono:first-child, .tr > .muted { display: none; }
  .subs-tbl .tr > span:nth-child(3), .subs-tbl .tr > span:nth-child(4) { display: none; }
  .row-acts { grid-column: 1 / -1; justify-content: flex-start; }
  .bo-grid, .logos { grid-template-columns: minmax(0, 1fr); }
  .photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .run-row { grid-template-columns: minmax(0, 1fr) auto; }
  .run-row .spill.s-sub, .run-row .spill.s-ord { display: none; }
}
@media (max-width: 520px) { .kpis { grid-template-columns: minmax(0, 1fr); } .tpls { grid-template-columns: minmax(0, 1fr); } .tpl.story { max-width: 240px; } }

.tr > .spill { justify-self: start; }

/* ---------- pineapple vase film ---------- */
.vase-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 120px); align-items: center; }
.vase-film { position: relative; border-radius: calc(var(--r) + 8px); padding: 8px; background: rgba(var(--ink-rgb), .04); box-shadow: inset 0 0 0 1px var(--line); width: min(100%, 460px, calc(78vh * 9 / 16 + 16px)); justify-self: center; }
.vase-film .in { border-radius: var(--r); overflow: hidden; aspect-ratio: 9/16; background: var(--deep); box-shadow: var(--shadow); }
.vase-film video, .vase-film img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vase-film .badge { position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(var(--scrim-rgb), .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--on-photo); font: 500 .78rem var(--f-body); }
.vase-copy { display: grid; gap: 26px; }
.vase-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.vase-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.vase-list .vi { grid-row: span 2; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(var(--dahlia-rgb), .1); color: var(--dahlia-2); }
.vase-list b { font: 500 1.45rem/1.15 var(--f-display); }
.vase-list span { color: var(--mute); }
@media (max-width: 900px) { .vase-grid { grid-template-columns: minmax(0, 1fr); } .vase-film { max-width: 360px; } }

/* ---------- Studio tour (first visit) ---------- */
.tour { position: fixed; right: 20px; bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); z-index: 85; width: min(380px, calc(100% - 32px)); padding: 22px; border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line2), 0 30px 70px -20px rgba(var(--scrim-rgb), .5); display: grid; gap: 12px; }
.tour h2 { margin: 0; font: 500 1.6rem/1.1 var(--f-display); }
.tour ol { margin: 0; padding-left: 1.2em; color: var(--mute); font-size: .92rem; display: grid; gap: 6px; }
.tour .row { display: flex; gap: 8px; justify-content: flex-end; }
.x-unused-fab { position: fixed; left: 20px; bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); z-index: 45; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; text-decoration: none; background: var(--panel); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line2), 0 20px 40px -20px rgba(var(--scrim-rgb), .5); font-size: .88rem; font-weight: 600; transition: transform .5s var(--ease); }
.x-unused-fab:hover { transform: translateY(-2px); }
.x-unused-fab .i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--dahlia); color: var(--on-dahlia); }
.x-unused-fab small { display: block; font-weight: 400; color: var(--dim); font-size: .74rem; }
body.in-studio .x-unused-fab { display: none; }
.ph { flex: none; }
.st-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(env(safe-area-inset-top, 0px) + 14px) clamp(20px, 3vw, 40px) 14px; background: rgba(var(--bg-rgb), .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.st-top .crumb { font: 500 .78rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.st-top-r { display: flex; align-items: center; gap: 8px; }
.st-top-r .sbtn { gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(var(--ink-rgb), .07); color: var(--fg); }
.icon-btn:hover { background: rgba(var(--ink-rgb), .13); }
.icon-btn .ph:last-child { display: none; } :root[data-mode="dark"] .icon-btn .ph:first-child { display: none; } :root[data-mode="dark"] .icon-btn .ph:last-child { display: block; }
.st-in { padding-top: clamp(20px, 3vw, 36px) !important; }
.st-logo img { height: 36px; }
@media (max-width: 820px) { .tour { left: 16px; right: 16px; width: auto; } }

.studio-link { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line2); transition: background .3s; }
.studio-link:hover { background: rgba(var(--ink-rgb), .07); }
.studio-link .ph { color: var(--dahlia-2); }
@media (max-width: 900px) { .studio-link { display: none; } }

.lg-wrap { display: grid; gap: 10px; }
.dl-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.dl-row > span:last-child { display: flex; gap: 6px; }
button.sw { all: unset; display: grid; gap: 2px; cursor: pointer; border-radius: 12px; }
button.sw:focus-visible { outline: 2px solid var(--dahlia); outline-offset: 4px; }
button.sw:hover i { transform: translateY(-2px); }
.sw i { transition: transform .4s var(--ease); }

.im { width: 96px; height: 120px; }
.im .rm { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(var(--scrim-rgb), .75); color: #fff; cursor: pointer; }
.im .mk { position: absolute; left: 5px; right: 5px; bottom: 5px; border: 0; border-radius: 999px; padding: 4px 0; font: 500 .66rem var(--f-body); text-align: center; background: rgba(var(--scrim-rgb), .7); color: #fff; cursor: pointer; }
.im .mk.on { background: var(--dahlia); color: var(--on-dahlia); cursor: default; }
.im.main { box-shadow: inset 0 0 0 2px var(--dahlia); }
.im.add { display: grid; place-items: center; align-content: center; gap: 4px; font-size: .8rem; }
.im.add.big { width: 100%; height: 150px; border-radius: 14px; text-align: center; padding: 12px; }
.im.add.big span { font-weight: 600; color: var(--fg); font-size: .92rem; } .im.add.big small { color: var(--dim); }
.sbtn { gap: 8px; }
/* icon wrappers: no baseline gap, true centring */
[data-ph] { display: inline-flex; align-items: center; justify-content: center; line-height: 0; flex: none; }
.ph { display: block; }
.mode-btn .ph-sun, .mode-btn .ph-moon { display: inline-flex; }
.mode-btn .ph-moon { display: none; } :root[data-mode="dark"] .mode-btn .ph-moon { display: inline-flex; } :root[data-mode="dark"] .mode-btn .ph-sun { display: none; }
.cart-btn, .studio-link { line-height: 1; }
.cart-btn .cart-l, .studio-link span:last-child { display: inline-block; transform: translateY(.02em); }
.btn .ic, .tile .go, .vase-list .vi, .icon-btn, .x { line-height: 0; }

/* =================== pass 3 =================== */
:root { --stage: linear-gradient(165deg, #E3EADF 0%, #EEF1EA 55%, #F6EDE7 100%); --shop-band: #E9ECE4; }
:root[data-mode="dark"] { --stage: linear-gradient(165deg, #15232A 0%, #121D25 55%, #1D1C22 100%); --shop-band: #101A21; }

/* hero: Hannah picks film or photo and the focus point */
.hero-media img, .hero-media video { object-position: var(--focus, 50% 40%); }

/* vase film: same width and shape as Hannah's portrait above */
.vase-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); }
.vase-film { width: 100%; padding: 0; background: none; box-shadow: none; justify-self: stretch; border-radius: var(--r); }
.vase-film .in { aspect-ratio: 4/5; max-height: 78vh; border-radius: var(--r); }
.vase-film .badge { left: 16px; bottom: 16px; }
@media (max-width: 900px) { .vase-grid { grid-template-columns: minmax(0, 1fr); } .vase-film { max-width: none; } .vase-film .in { aspect-ratio: 4/4.4; } }

/* flower shop: its own band, more air, bigger cards */
.shop-sec { background: var(--shop-band); padding-block: clamp(96px, 12vw, 176px); }
.shop-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.shop-top-l { display: grid; gap: 18px; max-width: 760px; }
.shop-top h2 { font-size: clamp(3rem, 7.4vw, 7.2rem); line-height: .96; }
.shop-ctrl { display: flex; align-items: center; gap: 10px; }
.rail-btn { width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line2); transition: background .3s, transform .4s var(--ease); line-height: 0; }
.rail-btn:hover { background: rgba(var(--ink-rgb), .07); }
.rail-btn:active { transform: scale(.95); }
.rail.big { grid-auto-columns: minmax(280px, calc((100% - 72px) / 3.4)); gap: 24px; padding-bottom: 28px; scroll-behavior: smooth; }
.rail.big .pcard .frame { aspect-ratio: 4/5; }
.rail.big .pcard-meta h3 { font-size: clamp(1.5rem, 1.9vw, 1.9rem); }
.shop-sec .bento { margin-top: clamp(56px, 7vw, 96px); }
@media (max-width: 900px) { .rail.big { grid-auto-columns: 78%; } .shop-ctrl .rail-btn { display: none; } }

/* subscriptions: a titled stage that stands out */
.subs-sec { padding-block: clamp(96px, 12vw, 168px); }
.subs-stage { background: var(--stage); border-radius: clamp(24px, 3vw, 40px); padding: clamp(24px, 4.5vw, 72px); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: clamp(32px, 4vw, 56px); }
.subs-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px 56px; align-items: end; }
.subs-head > div { display: grid; gap: 18px; }
.subs-head h2, .sub-story h1 { font-size: clamp(3rem, 7vw, 6.6rem); line-height: .98; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.perks li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 0 14px; align-items: center; }
.perks .pi { grid-row: span 2; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(var(--dahlia-rgb), .12); color: var(--dahlia-2); line-height: 0; }
.perks b { font-weight: 600; }
.perks span:last-child { color: var(--mute); font-size: .9rem; }
.subs-media .cap { color: var(--on-photo); }
.subs-media .cap-q { margin: 0; font: italic 400 clamp(1.8rem, 2.6vw, 2.6rem)/1.1 var(--f-display); color: var(--on-photo); max-width: 14ch; }
.link.on-photo { color: var(--on-photo); text-decoration-color: rgba(255,255,255,.5); display: inline-flex; align-items: center; gap: 6px; justify-self: start; }
.subs-media::after { background: linear-gradient(200deg, rgba(var(--scrim-rgb), 0) 35%, rgba(var(--scrim-rgb), .82)); }
@media (max-width: 900px) { .subs-head { grid-template-columns: minmax(0, 1fr); } }

/* builder extras */
.opt.off { opacity: .4; cursor: not-allowed; }
.pc-note { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; font-size: .86rem; color: var(--mute); }
.pc-note.ok { color: var(--sage); } .pc-note.no { color: var(--dahlia-2); }
.pc-note .ph { flex: none; }

/* Growing Ethos: horizontal discovery */
.disc { position: relative; padding-block: clamp(80px, 10vw, 140px) 0; }
.disc-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); }
.disc-view { min-width: 0; }
.disc.pinned { padding: 0; }
.disc.pinned .disc-stage { position: sticky; top: 0; height: 100vh; height: 100svh; align-content: center; overflow: hidden; }
.disc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.disc-head h2 { font-size: clamp(2.8rem, 6vw, 5.6rem); }
.disc-prog { width: min(260px, 40%); height: 2px; background: var(--line2); border-radius: 2px; overflow: hidden; margin-bottom: 14px; }
.disc-prog i { display: block; height: 100%; background: var(--dahlia); transform-origin: left; transform: scaleX(0); }
.disc-view { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--gut); padding-bottom: 8px; }
.disc-view::-webkit-scrollbar { display: none; }
.disc.pinned .disc-view { overflow: visible; padding-inline: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); }
.disc-track { display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; will-change: transform; }
.dp { scroll-snap-align: start; flex: none; border-radius: var(--r); overflow: hidden; background: var(--deep); box-shadow: inset 0 0 0 1px var(--line); height: min(64vh, 620px); display: flex; flex-direction: column; }
.dp-intro { width: min(560px, 82vw); padding: clamp(24px, 3vw, 44px); justify-content: space-between; background: var(--stage); }
.dp-lead { margin: 0; font: 400 clamp(1.15rem, 1.5vw, 1.4rem)/1.5 var(--f-display); color: var(--fg); }
.dp-lead a { color: var(--dahlia-2); }
.dp-hint { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); font: 500 .78rem var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.dp-photo { width: min(380px, 74vw); }
.dp-img { flex: 1; min-height: 0; overflow: hidden; }
.dp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dp:hover .dp-img img { transform: scale(1.04); }
.dp-body { padding: 22px 24px 26px; display: grid; gap: 8px; }
.dp-body h3 { margin: 0; font: 500 clamp(1.8rem, 2.4vw, 2.3rem)/1.05 var(--f-display); }
.dp-body p { margin: 0; color: var(--mute); font-size: .93rem; }
.dp-ic { color: var(--dahlia-2); line-height: 0; }
.dp-sustain { width: min(820px, 88vw); flex-direction: row; }
.dp-sustain .dp-img { flex: 0 0 44%; }
.dp-sustain .dp-body { align-content: center; gap: 14px; padding: clamp(24px, 3vw, 44px); overflow: auto; }
.dp-sustain .dp-body h3 { font-size: clamp(2rem, 3vw, 2.8rem); }
.dp-brit { font: italic 400 1.3rem/1.3 var(--f-display) !important; color: var(--fg) !important; }
@media (max-width: 700px) { .dp { height: auto; min-height: 460px; } .dp-photo .dp-img { height: 300px; flex: none; } .dp-sustain { flex-direction: column; } .dp-sustain .dp-img { flex: none; height: 260px; } }

/* journal excerpts */
.jcard .excerpt { margin: 0; color: var(--mute); font-size: .93rem; line-height: 1.6; }
.jcard.side-card .excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* subscribe page: the story scrolls, the builder stays put */
.sub-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.sub-story { display: grid; gap: 28px; min-width: 0; }
.sub-buy { position: sticky; top: 96px; }
.sub-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: 14px; margin-top: 12px; }
.st-tile { position: relative; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; text-decoration: none; isolation: isolate; grid-column: span 3; }
.st-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.st-tile:hover img { transform: scale(1.04); }
.st-tile.t-photo { color: var(--on-photo); justify-content: flex-end; }
.st-tile.t-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--scrim-rgb), 0) 40%, rgba(var(--scrim-rgb), .8)); }
.st-tile.t-tall { grid-row: span 2; }
.st-tile.t-wide { grid-column: span 6; min-height: 280px; }
.st-tile.t-short { min-height: 0; flex-direction: row; align-items: center; gap: 20px; justify-content: flex-start; }
.st-tile h3 { margin: 0 0 6px; font: 500 clamp(1.5rem, 2vw, 2rem)/1.05 var(--f-display); }
.st-tile p { margin: 0; font-size: .9rem; opacity: .85; max-width: 34ch; }
.st-tile .ti { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.3); line-height: 0; }
.st-tile.g-dahlia { color: #2A140E; background: radial-gradient(120% 140% at 100% 0%, #F7C2B2 0%, #EE9A82 38%, #D9694F 100%); }
.st-tile.g-sage { color: #17251A; background: radial-gradient(120% 140% at 0% 0%, #DCE6D5 0%, #AFC3A7 45%, #7E9876 100%); }
.st-tile.g-navy { color: #EEE7DF; background: radial-gradient(90% 160% at 85% 10%, #3A5168 0%, #26394A 45%, #172430 100%); }
.st-tile.g-navy .ti { background: rgba(255,255,255,.1); color: #F4A390; }
.how { display: grid; gap: 22px; margin-top: 28px; }
.how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.how li { display: grid; gap: 8px; padding: 22px; border-radius: var(--r); background: var(--deep); box-shadow: inset 0 0 0 1px var(--line); }
.how .pi { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(var(--dahlia-rgb), .12); color: var(--dahlia-2); line-height: 0; }
.how b { font: 500 1.35rem/1.1 var(--f-display); }
.how li span:last-child { color: var(--mute); font-size: .9rem; }
.sub-fab { display: none; }
@media (max-width: 1000px) {
  .sub-grid { grid-template-columns: minmax(0, 1fr); }
  .sub-buy { position: static; }
  .sub-fab { display: inline-flex; position: fixed; left: 16px; right: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); z-index: 45; justify-content: center; align-items: center; gap: 10px; min-height: 54px; border-radius: 999px; background: var(--dahlia); color: var(--on-dahlia); font-weight: 600; text-decoration: none; box-shadow: 0 16px 40px -12px rgba(var(--scrim-rgb), .5); }
}
@media (max-width: 640px) { .sub-bento { grid-template-columns: minmax(0, 1fr); } .st-tile, .st-tile.t-wide { grid-column: auto; } .st-tile.t-tall { grid-row: auto; min-height: 380px; } .how ol { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .disc.pinned .disc-stage { position: static; height: auto; } }
