/* ==========================================================================
   Yours Fondly — home page.

   One page, two worlds that hand over to each other as you scroll: a dusk of
   photographs (the hero, the thread, the switch) and paper (everything after
   the switch flips). The header reads whichever world is under it.

   Motion budget: every moving thing is transform / opacity / filter, driven
   either by a timed class change or by scroll position through home.js. The
   last block of this file turns all of it off for prefers-reduced-motion, and
   html.no-js gets a page that reads top to bottom with nothing pinned.
   ========================================================================== */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../home/fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../home/fonts/instrument-serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../home/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../home/fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../home/fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../home/fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #fcf7ed;        /* the page */
  --paper-2: #fffaf1;      /* raised paper: cards, pills */
  --sand: #eee3cf;         /* the letter-card well */
  --sand-2: #f6edd7;       /* hover on paper */
  --ink: #2f241b;          /* text on paper */
  --ink-2: #44362d;
  --muted: #76614d;        /* secondary text on paper: 5.6:1 */
  --muted-2: #675446;      /* long-form answers: 7:1 */
  --accent: #8a5a2b;       /* burnished brown: eyebrows, the accent line — 5.4:1 */
  --gold: #f3d8a7;
  --night: #120d10;        /* behind the photographs */
  --dusk: #29231f;         /* the statement's dark, the intro, the dark card */
  --blush: #f3e7db;        /* the light CTA on photographs */
  --line: rgba(47, 36, 27, .10);
  --line-2: rgba(47, 36, 27, .16);

  --display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, "Noto Serif SC", "Songti SC", serif;
  --body: "Instrument Sans", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-wipe: cubic-bezier(.76, 0, .24, 1);
  --gutter: 1.25rem;
}
@media (min-width: 640px) { :root { --gutter: 2rem; } }
@media (min-width: 1024px) { :root { --gutter: 2.5rem; } }
@media (min-width: 1280px) { :root { --gutter: 3rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; background: var(--paper); }
html.is-intro { overflow: hidden; }
body.hm { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
:where(.hm) :where(img, video, svg) { display: block; max-width: 100%; }
:where(.hm) a { color: inherit; }
:where(.hm) button { font: inherit; color: inherit; }
:where(.hm) :where(h1, h2, h3, p, ul, ol, figure) { margin: 0; }
:where(.hm) :where(ul, ol) { padding: 0; list-style: none; }
::selection { background: rgba(138, 90, 43, .22); color: var(--ink); }
.hm-journey ::selection { background: rgba(243, 216, 167, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.hm-journey :focus-visible { outline-color: var(--blush); }

.hm-skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; padding: .7rem 1rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .875rem; text-decoration: none; transition: top .2s; }
.hm-skip:focus { top: 1rem; }
.hm-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.hm-wrap { width: 100%; max-width: 92rem; margin: 0 auto; padding: 0 var(--gutter); }
.hm-wrap--narrow { max-width: 80rem; }
@media (min-width: 1280px) { .hm-wrap--narrow { padding: 0 5rem; } }

.hm-display { font-family: var(--display); font-weight: 400; letter-spacing: -.045em; line-height: .94; text-wrap: balance; }
.hm-eyebrow { font-family: var(--body); font-size: .75rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.hm-eyebrow--light { color: rgba(255, 255, 255, .74); font-size: .6875rem; letter-spacing: .2em; }
@media (min-width: 640px) { .hm-eyebrow--light { font-size: .75rem; letter-spacing: .34em; } }
.hm-eyebrow--gold { color: #e8cfa4; }

/* ---------- Buttons and pills ---------- */
.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; padding: 0 1.25rem;
  border-radius: 999px; border: 1px solid transparent; font-size: .875rem; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease-out); }
.hm-btn:active { transform: translateY(1px); }
.hm-btn--cream { background: var(--blush); color: #1f1719; }
.hm-btn--cream:hover { background: #fff; }
.hm-btn--glass { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; font-weight: 500; }
.hm-btn--glass:hover { border-color: rgba(255, 255, 255, .36); background: rgba(255, 255, 255, .12); }
.hm-btn--ink { background: var(--ink); color: var(--paper); }
.hm-btn--ink:hover { background: var(--ink-2); }
.hm-btn__arrow { width: .875rem; height: .875rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.hm-pill { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; border: 1px solid transparent;
  font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color .3s, border-color .3s, color .3s; }
.hm-pill--line { border-color: rgba(47, 36, 27, .2); color: var(--ink); font-weight: 500; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hm-pill--line:hover { background: rgba(47, 36, 27, .05); }
.hm-pill--ink { background: var(--ink); color: #faf5ec; font-weight: 500; }
.hm-pill--ink:hover { background: #4a3828; }

/* ==========================================================================
   Intro — the wordmark writes itself, then the sheet wipes upward.
   ========================================================================== */
.hm-intro { display: none; }
.js .hm-intro { position: fixed; inset: -1rem; z-index: 100; display: flex; align-items: center; justify-content: center;
  background: var(--dusk); color: #fff; transition: transform .7s var(--ease-wipe); will-change: transform; }
.js .hm-intro.is-exiting { transform: translateY(-100%); }
.js .hm-intro.is-gone { display: none; }
.hm-intro__word { font-family: var(--display); font-style: italic; font-size: clamp(2.75rem, 9vw, 3.5rem); line-height: 1; letter-spacing: -.05em; white-space: nowrap; }
.hm-intro__word span { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(.18em);
  animation: hm-letter .55s var(--ease-out) forwards; animation-delay: calc(var(--i) * 48ms + 60ms); }
.hm-intro__gap { width: .26em; }
@keyframes hm-letter { to { opacity: 1; filter: blur(0); transform: none; } }

/* ==========================================================================
   Navigation — the site's pill bar, the same one base_public.html carries
   (.fnav) on every other public page: logo, seven links, Log in + Create,
   and a full-screen menu below 1280px. Over the photographs it takes the
   room's light (.on-dark). Values come from tokens.css, as there.
   ========================================================================== */
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../landing/0a959dcc-2ebf-4c1f-9974-df77d66ed7f8.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../landing/86c7ffa2-8649-4c8b-ad67-97df418f077b.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../landing/1f5df12f-0a63-4ab1-9643-31ead187f49a.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../landing/26ae91ca-1b8a-4dd7-8968-e32f2e845ac4.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

.nav-bar { position: fixed; top: 14px; left: 50%; z-index: 70; transform: translateX(-50%);
  width: calc(100% - 28px); max-width: 1340px;
  display: flex; align-items: center; justify-content: space-between;
  /* space-between gives zero once the three groups fill the bar; this is the
     floor it cannot provide (mirrored in base_public.html's .fnav-inner). */
  gap: 2rem;
  padding: .35rem 1rem .35rem 1.5rem; border-radius: 20px;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(168, 137, 94, .28);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 10px 34px -20px rgba(42, 32, 24, .4), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: background .45s var(--yf-ease-out), box-shadow .45s var(--yf-ease-out), border-color .45s var(--yf-ease-out), top .4s var(--yf-ease-out); }
.nav-bar.scrolled { top: 10px; background: rgba(255, 255, 255, .9); border-color: rgba(168, 137, 94, .4);
  box-shadow: 0 14px 40px -22px rgba(42, 32, 24, .5), inset 0 1px 0 rgba(255, 255, 255, .45); }
.nav-bar.on-dark { background: rgba(34, 25, 17, .58); border-color: rgba(214, 186, 142, .26);
  box-shadow: 0 16px 44px -24px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .10); }
.nav-bar.on-dark .nav-logo { filter: brightness(0) invert(1); opacity: .94; }
.nav-bar.on-dark .nav-links a { color: #d2bfa5; }
.nav-bar.on-dark .nav-links a:hover { color: #faf1e2; }
.nav-bar.on-dark .nav-login { color: #faf1e2; }
.nav-bar.on-dark .nav-login:hover { color: #d2bfa5; }
.nav-bar.on-dark .nav-cta { color: #ebd9bc; border-color: rgba(226, 201, 160, .62); }
.nav-bar.on-dark .nav-cta:hover { background: #ebd9bc; color: #2a2018; }
.nav-bar.on-dark .nav-toggle span { background: #f0e4d3; }
.nav-bar :focus-visible, .mobile-menu :focus-visible { outline-color: #846b48; }
.nav-bar.on-dark :focus-visible { outline-color: #d8b98a; }

.wordmark { display: inline-flex; align-items: center; line-height: 0; }
.nav-logo { height: clamp(46px, 6vw, 62px); width: auto; transition: filter .45s var(--yf-ease-out), opacity .45s var(--yf-ease-out); }
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a, .nav-auth a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a { position: relative; font-family: var(--yf-label); font-size: .78rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase;
  color: var(--yf-sepia); text-decoration: none; white-space: nowrap; transition: color var(--yf-t-hover) var(--yf-ease-out); }
.nav-links a:hover { color: var(--yf-ink); }
/* a hairline drawn under the link from the left, the way a pen would */
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; opacity: .5;
  transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--yf-ease-out); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
/* the page you are on keeps its pen line, as base_public.html's .fnav-link.is-active does */
.nav-links a[aria-current="page"] { color: var(--yf-ink); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-bar.on-dark .nav-links a[aria-current="page"] { color: #faf1e2; }
.mobile-menu a[aria-current="page"] { font-style: italic; color: var(--yf-sepia); }
.nav-auth { display: flex; align-items: center; gap: 1.6rem; }
.nav-login { font-family: var(--yf-label); font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--yf-ink); text-decoration: none; white-space: nowrap; transition: color var(--yf-t-hover) var(--yf-ease-out); }
.nav-login:hover { color: var(--yf-sepia); }
.nav-cta { display: inline-flex; align-items: center; padding: .7rem 1.3rem; border: 1px solid var(--yf-olive); border-radius: 12px;
  font-family: var(--yf-label); font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; line-height: 1;
  color: var(--yf-olive); text-decoration: none; white-space: nowrap;
  transition: background var(--yf-t-hover) var(--yf-ease-out), color var(--yf-t-hover) var(--yf-ease-out), border-color var(--yf-t-hover) var(--yf-ease-out), transform var(--yf-t-press) var(--yf-ease-out); }
.nav-cta:hover { background: var(--yf-olive); color: var(--yf-paper); }
.nav-cta:active { transform: scale(.97); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 8px; border: 0; background: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; margin: 5px auto; background: var(--yf-ink);
  transition: transform 280ms var(--yf-ease-out), opacity 140ms var(--yf-ease-out), background-color .45s var(--yf-ease-out); }
/* the three rules fold into a cross rather than being swapped for one */
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* full-screen menu */
.mobile-menu { position: fixed; inset: 0; z-index: 69; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.8rem;
  overflow-y: auto; padding: 6rem 1.5rem 3rem; background: var(--yf-paper);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .42s var(--yf-ease-out), visibility .42s var(--yf-ease-out); }
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu a { font-family: var(--yf-serif); font-size: 1.8rem; font-weight: 400; color: var(--yf-ink); text-decoration: none; }
/* the links arrive just behind the panel, in reading order */
.mobile-menu > * { opacity: 0; transform: translateY(12px); transition: opacity .44s var(--yf-ease-out), transform .44s var(--yf-ease-out); }
.mobile-menu.open > * { opacity: 1; transform: none; }
.mobile-menu.open > :nth-child(1) { transition-delay: 60ms; }
.mobile-menu.open > :nth-child(2) { transition-delay: 100ms; }
.mobile-menu.open > :nth-child(3) { transition-delay: 140ms; }
.mobile-menu.open > :nth-child(4) { transition-delay: 180ms; }
.mobile-menu.open > :nth-child(5) { transition-delay: 215ms; }
.mobile-menu.open > :nth-child(6) { transition-delay: 250ms; }
.mobile-menu.open > :nth-child(7) { transition-delay: 280ms; }
.mobile-menu.open > :nth-child(8) { transition-delay: 310ms; }
.mobile-menu.open > :nth-child(n+9) { transition-delay: 335ms; }
.mobile-menu__kicker { font-family: var(--yf-label); font-size: .8rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--yf-sepia); }
.mobile-menu a.mobile-menu__cta { display: inline-block; margin-top: 1rem; padding: 1rem 2rem; border: 1px solid var(--yf-olive); background: var(--yf-olive);
  font-family: var(--yf-label); font-size: .82rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; line-height: 1; color: var(--yf-paper);
  transition: background var(--yf-t-hover) var(--yf-ease-out), color var(--yf-t-hover) var(--yf-ease-out); }
.mobile-menu a.mobile-menu__cta:hover { background: transparent; color: var(--yf-olive); }
@media (max-height: 600px) { .mobile-menu { justify-content: flex-start; gap: 1.2rem; } }

/* Seven links + the account buttons need 1280px; at 1200px the groups touch.
   Kept in step with base_public.html. */
@media (max-width: 1279.98px) {
  .nav-links, .nav-auth { display: none; }
  .nav-toggle { display: block; }
}

/* ==========================================================================
   Hero journey — photographs behind everything until the switch flips.
   ========================================================================== */
.hm-journey { position: relative; background: var(--night); color: #fff; }
.hm-prelude { position: relative; }
.hm-backdrop { position: sticky; top: 0; height: 100vh; height: 100svh; }
.hm-backdrop__canvas { position: absolute; inset: 0 0 auto; height: 100vh; height: 100lvh; overflow: hidden; overflow: clip; }
.hm-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none !important; object-fit: cover; object-position: center; }
.hm-tone { position: absolute; inset: 0; background:
  radial-gradient(circle at top, rgba(217, 172, 156, .22), transparent 38%),
  linear-gradient(180deg, rgba(8, 6, 8, .28), rgba(8, 6, 8, .42) 30%, rgba(8, 6, 8, .72) 72%, rgba(8, 6, 8, .9)); }
.hm-contrast { position: absolute; inset: 0; background: rgba(0, 0, 0, .18); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.hm-dots { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: none; pointer-events: none; opacity: .85;
  -webkit-mask-image: linear-gradient(180deg, transparent 6%, rgba(0,0,0,.35) 30%, #000 72%); mask-image: linear-gradient(180deg, transparent 6%, rgba(0,0,0,.35) 30%, #000 72%); }
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) { .js .hm-dots { display: block; } }

.hm-prelude__fg { position: relative; margin-top: -100vh; margin-top: -100svh; }
.hm-hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.hm-hero__inner { position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh;
  padding: 7rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom)); }
@media (min-width: 640px) { .hm-hero__inner { padding-top: 8rem; padding-bottom: 2rem; } }
@media (min-width: 1024px) { .hm-hero__inner { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: 1.75rem; padding-top: 6rem; } }
.hm-hero__copy { position: relative; z-index: 10; display: flex; flex: 1; flex-direction: column; justify-content: flex-end; }
@media (min-width: 1024px) { .hm-hero__copy { display: block; flex: none; } }
.hm-hero__stack > * + * { margin-top: 1rem; }
@media (min-width: 640px) { .hm-hero__stack > * + * { margin-top: 1.25rem; } }
.hm-chip { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.25rem; padding: 0 .875rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .09); color: rgba(255, 255, 255, .84);
  font-size: .75rem; font-weight: 500; text-decoration: none; transition: border-color .2s, background-color .2s; }
.hm-chip:hover { border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .14); }
.hm-chip__icon { width: .8rem; height: .8rem; fill: var(--gold); }
.hm-chip__rule { width: 1px; height: .75rem; background: rgba(255, 255, 255, .24); }
.hm-chip__soft { color: rgba(255, 255, 255, .68); }
.hm-hero__title { max-width: 12ch; font-family: var(--display); font-weight: 400; font-size: clamp(2.75rem, 12vw, 3.5rem); line-height: .94; letter-spacing: -.04em; color: #fff; text-wrap: balance; }
@media (min-width: 640px) { .hm-hero__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hm-hero__title { font-size: clamp(3.5rem, 5.4vw, 5.4rem); } }
.hm-hero__lede { max-width: 36rem; font-size: .875rem; line-height: 1.5rem; color: rgba(255, 255, 255, .78); }
@media (min-width: 640px) { .hm-hero__lede { font-size: 1rem; line-height: 1.75rem; } }
@media (min-width: 1024px) { .hm-hero__lede { font-size: 1.125rem; } }
.hm-hero__actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; padding-bottom: .25rem; }
@media (min-width: 640px) { .hm-hero__actions { margin-top: 1.75rem; } }
@media (min-width: 1024px) { .hm-hero__actions { margin-top: 2rem; padding-bottom: 0; } }
.hm-hero__buttons { display: grid; grid-template-columns: 1fr; gap: .75rem; }
@media (min-width: 640px) { .hm-hero__buttons { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .hm-hero__buttons { display: flex; flex-wrap: wrap; align-items: center; } }
.hm-hero__buttons .hm-btn { width: 100%; }
@media (min-width: 1024px) { .hm-hero__buttons .hm-btn { width: auto; } }
.hm-hero__login { display: flex; align-items: center; gap: .375rem; padding-top: .125rem; font-size: .75rem; color: rgba(255, 255, 255, .65); }
.hm-hero__login a { color: rgba(255, 255, 255, .9); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 4px; }
.hm-hero__login a:hover { color: #fff; text-decoration-color: #fff; }
.hm-hero__points { display: none; }
@media (min-width: 1024px) { .hm-hero__points { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: 2rem; font-size: .875rem; color: rgba(255, 255, 255, .78); } }
.hm-hero__points li { display: flex; align-items: center; gap: .5rem; }
.hm-hero__points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(243, 231, 219, .8); }

/* Reveal: blur-up after the intro leaves. Hidden only when script is here to reveal it. */
.js [data-reveal] { opacity: 0; filter: blur(10px); transform: translateY(20px);
  transition: opacity .75s var(--ease-out), filter .75s var(--ease-out), transform .75s var(--ease-out); transition-delay: calc(var(--r) * 70ms); }
.js .is-revealed [data-reveal] { opacity: 1; filter: blur(0); transform: none; }
.js [data-device-reveal] { opacity: 0; filter: blur(14px); transform: translateX(28px) scale(.98);
  transition: opacity .85s var(--ease-out) .12s, filter .85s var(--ease-out) .12s, transform .85s var(--ease-out) .12s; }
.js .is-revealed [data-device-reveal] { opacity: 1; filter: blur(0); transform: none; }

/* ---------- Devices ---------- */
.hm-hero__devices { position: relative; z-index: 20; display: none; min-width: 0; align-items: center; justify-content: flex-end; }
@media (min-width: 1024px) { .hm-hero__devices { display: flex; } }
.hm-devices-m { position: relative; display: flex; align-items: center; justify-content: center; min-height: 88vh; min-height: 88svh; padding: 4rem var(--gutter); overflow: hidden; }
@media (min-width: 1024px) { .hm-devices-m { display: none; } }
.hm-devices-m__wash { position: absolute; inset: 0; background: radial-gradient(circle at 50% 35%, rgba(217, 172, 156, .18), transparent 44%), linear-gradient(180deg, rgba(18, 13, 16, .3), rgba(12, 9, 11, .68));
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%); }
.hm-devices-m__stage { position: relative; z-index: 20; width: 100%; }

.hm-dev { display: flex; width: 100%; min-width: 0; flex-direction: column; align-items: center; gap: .5rem; }
.hm-dev__stage { position: relative; width: 100%; min-width: 0; height: clamp(24rem, 38vw, 35rem); perspective: 1400px; transform-style: preserve-3d; }
.hm-dev[data-placement="mobile"] .hm-dev__stage { height: clamp(28rem, 126vw, 34rem); }
.hm-dev__pos { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; pointer-events: none; }
.hm-dev__pos--browser { left: 0; z-index: 10; }
.hm-dev__pos--phone { right: 0; z-index: 20; }
.hm-dev[data-focus="desktop"] .hm-dev__pos--browser { z-index: 20; }
.hm-dev[data-focus="desktop"] .hm-dev__pos--phone { z-index: 10; }
.hm-dev__btn { pointer-events: auto; cursor: pointer; padding: 0; border: 0; background: none; text-align: left; transform-origin: center; transform-style: preserve-3d;
  transition: transform .65s var(--ease-out), opacity .65s var(--ease-out), filter .65s var(--ease-out); }
.hm-dev__btn--browser { border-radius: 1.35rem; }
.hm-dev__btn--phone { border-radius: 1.5rem; }
/* desktop placement */
.hm-dev[data-placement="desktop"] .hm-dev__btn--browser { transform: translate(-4px, 24px) rotateY(9deg) scale(.82); opacity: .62; filter: brightness(.66); }
.hm-dev[data-placement="desktop"][data-focus="desktop"] .hm-dev__btn--browser { transform: translate(12px, 8px) scale(1.08); opacity: 1; filter: none; }
.hm-dev[data-placement="desktop"] .hm-dev__btn--phone { transform: translate(-12px, 0) scale(1.06); opacity: 1; filter: none; }
.hm-dev[data-placement="desktop"][data-focus="desktop"] .hm-dev__btn--phone { transform: translate(-4px, -78px) rotateY(-10deg) scale(.86); opacity: .82; filter: brightness(.76); }
/* mobile placement */
.hm-dev[data-placement="mobile"] .hm-dev__btn--browser { transform: translate(-8px, 84px) rotateY(8deg) scale(.82); opacity: .58; filter: brightness(.64); }
.hm-dev[data-placement="mobile"][data-focus="desktop"] .hm-dev__btn--browser { transform: translate(0, 44px) scale(1.03); opacity: 1; filter: none; }
.hm-dev[data-placement="mobile"] .hm-dev__btn--phone { transform: translate(-8px, -10px) scale(1.05); opacity: 1; filter: none; }
.hm-dev[data-placement="mobile"][data-focus="desktop"] .hm-dev__btn--phone { transform: translate(36px, -72px) rotateY(-9deg) scale(.83); opacity: .8; filter: brightness(.74); }

.hm-browser { position: relative; display: flex; flex-direction: column; overflow: hidden; width: clamp(27rem, 42vw, 43rem); border-radius: 1.35rem; border: 1px solid rgba(255, 255, 255, .2); background: #171214; box-shadow: 0 32px 90px rgba(0, 0, 0, .48); }
.hm-dev[data-placement="mobile"] .hm-browser { width: min(84vw, 21rem); }
.hm-browser__bar { display: flex; height: 2.5rem; flex-shrink: 0; align-items: center; gap: .75rem; padding: 0 1rem; border-bottom: 1px solid rgba(255, 255, 255, .1); background: #251d21; }
.hm-browser__bar > span:nth-child(-n+3) { width: 10px; height: 10px; border-radius: 50%; }
.hm-browser__bar > span:nth-child(1) { background: #ff7c72; } .hm-browser__bar > span:nth-child(2) { background: #f5c451; } .hm-browser__bar > span:nth-child(3) { background: #65c466; }
.hm-browser__url { flex: 1; min-width: 0; height: 1.5rem; margin-left: .5rem; padding: 0 .75rem; display: flex; align-items: center; overflow: hidden; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .18); font-size: 10px; color: rgba(255, 255, 255, .48); white-space: nowrap; text-overflow: ellipsis; }
.hm-browser__screen { aspect-ratio: 40 / 27; width: 100%; background: #171214; }
.hm-phone { position: relative; flex-shrink: 0; width: clamp(12.75rem, 19vw, 18rem); padding: .42rem; border-radius: 1.5rem; border: 1px solid rgba(255, 255, 255, .22); background: #0c0a0b; box-shadow: 0 30px 80px rgba(0, 0, 0, .58); }
.hm-dev[data-placement="mobile"] .hm-phone { width: min(56vw, 13.5rem); }
.hm-phone__screen { position: relative; aspect-ratio: 360 / 643; width: 100%; overflow: hidden; border-radius: 1.15rem; background: #171214; }
.hm-dev__video { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hm-dev__swap { display: inline-flex; width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center; cursor: pointer; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .18); color: rgba(255, 255, 255, .6); box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: border-color .2s, background-color .2s, color .2s; }
.hm-dev__swap::after { content: ""; position: absolute; width: 2.75rem; height: 2.75rem; }
.hm-dev__swap { position: relative; }
.hm-dev__swap:hover { border-color: rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .88); }
.hm-dev__swap svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.hm-dev__swap:hover svg { transform: rotate(180deg); }

.hm-tail { height: 90vh; height: 90svh; }
@media (min-width: 1024px) { .hm-tail { height: 92vh; height: 92svh; } }

/* ---------- The thread ---------- */
.hm-lines { position: absolute; inset: 0; z-index: 30; pointer-events: none; }
.hm-lines__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; will-change: transform, opacity; transition: opacity .65s cubic-bezier(.33, 1, .68, 1) .5s; }
.hm-lines__svg--desktop { display: none; }
@media (min-width: 1024px) { .hm-lines__svg--mobile { display: none; } .hm-lines__svg--desktop { display: block; } }
.hm-lines path { fill: none; stroke: #fcf7ed; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.js .hm-lines path { stroke-dashoffset: .8; }
.hm-lines path[data-role="lead"] { opacity: .78; stroke-width: 1.5; }
.hm-lines path[data-role="companion"] { opacity: .38; stroke-width: .8; }
.hm-lines.is-faded .hm-lines__svg { opacity: 0; }

/* ==========================================================================
   Ink to paper — the thread lands on an ivory dot; the dot opens into the
   page. The circle is the paper layer's clip-path, set by home.js from the
   scroll position, so it follows the scrollbar both ways.
   ========================================================================== */
.hm-switch { position: relative; isolation: isolate; margin-top: -100vh; margin-top: -100svh; min-height: 170vh; min-height: 170svh; background: transparent; }
@media (min-width: 1024px) { .hm-switch { min-height: 220vh; min-height: 220svh; } }
.hm-switch__panel { position: sticky; top: 0; height: 100vh; height: 100svh; }
.hm-switch__paint { position: absolute; inset: 0 0 auto; height: 100vh; height: 100lvh; overflow: hidden; overflow: clip; }
.hm-switch__backdrop { position: absolute; inset: 0; opacity: 0; }
.hm-switch__backdrop.is-on { opacity: 1; }
.hm-switch__veil { position: absolute; inset: 0; opacity: 0; background: linear-gradient(180deg, rgba(35, 25, 27, .18) 0%, rgba(104, 80, 73, .66) 52%, rgba(166, 137, 123, .74) 100%); transition: opacity .7s cubic-bezier(.33, 1, .68, 1); }
/* the wash extends upward so the photograph above is veiled too when the panel is not yet pinned */
.hm-switch__veil::before { content: ""; position: absolute; inset-inline: 0; bottom: 100%; height: 100vh; height: 100svh; background: rgba(35, 25, 27, .18); }
.hm-switch:not([data-state="dot"]) .hm-switch__veil { opacity: 1; }

.hm-switch__comp { position: relative; display: flex; height: 100%; align-items: center; justify-content: center; overflow: hidden; overflow: clip; padding: 6rem var(--gutter); }
.hm-switch__comp--dusk { color: #fcf7ed; }
.hm-switch__copy { position: relative; width: 100%; max-width: 64rem; }
.hm-switch__row { position: relative; display: flex; height: 1.75rem; align-items: center; justify-content: center; margin-bottom: 2rem; }
@media (min-width: 640px) { .hm-switch__row { margin-bottom: 2.5rem; } }
/* where the thread ends and the paper opens from: the middle of the row */
.hm-switch__anchor { position: absolute; left: 50%; top: 50%; width: 1px; height: 1px; transform: translate(-50%, -50%); pointer-events: none; }
.hm-switch__eyebrow { white-space: nowrap; font-size: .625rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
@media (min-width: 640px) { .hm-switch__eyebrow { font-size: .75rem; } }

/* both blocks share one cell, so each layer's stack is as tall as the taller one */
.hm-switch__texts { display: grid; }
.hm-switch__text { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hm-switch__text[data-twin] { visibility: hidden; }
.hm-switch__h { max-width: 16ch; font-family: var(--display); font-size: clamp(2.75rem, 7.2vw, 6.8rem); line-height: .94; letter-spacing: -.05em; text-wrap: balance; }
.hm-switch__p { max-width: 42ch; margin-top: 1.5rem; font-size: .875rem; line-height: 1.5rem; opacity: .76; text-wrap: balance; }
@media (min-width: 640px) { .hm-switch__p { font-size: 1rem; line-height: 1.75rem; } }
.hm-accent { color: var(--accent); }

.hm-switch__paper { position: absolute; inset: 0 0 auto; height: 100vh; height: 100lvh; overflow: hidden; overflow: clip; background: var(--paper); color: var(--ink); }
.js .hm-switch__paper { -webkit-clip-path: circle(0 at 50% 40%); clip-path: circle(0 at 50% 40%); will-change: clip-path; }
.hm-switch__paper .hm-switch__comp { height: 100vh; height: 100svh; }

/* ==========================================================================
   Showcases — two carousels on paper.
   ========================================================================== */
.hm-cream { position: relative; background: var(--paper); color: var(--ink); }
.hm-show { position: relative; padding: 1rem 0; scroll-margin-top: 6rem; }
.hm-show--first { z-index: 10; padding: 4rem 0 1rem; }
.hm-show--first::before { content: ""; position: absolute; inset-inline: 0; bottom: 100%; height: 1px; background: var(--paper); }
@media (min-width: 640px) { .hm-show { padding: 1.5rem 0; } .hm-show--first { padding: 5rem 0 1.5rem; } }
@media (min-width: 1024px) { .hm-show { padding: 2rem 0; } .hm-show--first { padding: 5rem 0 2rem; } }
.hm-show__head { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 1024px) { .hm-show__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.hm-show__intro { max-width: 48rem; }
.hm-show__title { margin-top: 1rem; font-size: clamp(2.7rem, 6vw, 5.6rem); }
.hm-show__lede { max-width: 42rem; margin-top: 1.25rem; font-family: var(--display); font-style: italic; font-size: 1.25rem; line-height: 2rem; color: var(--muted); }
@media (min-width: 640px) { .hm-show__lede { font-size: 1.5rem; } }

.hm-toggle { display: inline-flex; width: fit-content; padding: .25rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-2); box-shadow: 0 8px 24px rgba(47, 36, 27, .06); }
.hm-toggle__btn { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .5rem; padding: 0 1rem; border: 0; border-radius: 999px; background: none; cursor: pointer; font-size: .875rem; font-weight: 500; color: var(--muted); transition: background-color .2s, color .2s; }
.hm-toggle__btn:hover { background: var(--sand-2); color: var(--ink); }
.hm-toggle__btn.is-on { background: var(--ink); color: var(--paper); }
.hm-toggle__btn svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.7; }

.hm-track { margin-top: 3rem; }
@media (min-width: 640px) { .hm-track { margin-top: 3.5rem; } }
.hm-track[data-view="carousel"] { display: flex; gap: 1.25rem; overflow-x: auto; padding-bottom: 1.25rem; padding-right: 14vw; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.hm-track[data-view="carousel"]::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .hm-track[data-view="carousel"] { padding-right: 8vw; } }
.hm-track[data-view="grid"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
@media (min-width: 640px) { .hm-track[data-view="grid"] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.25rem; } }
@media (min-width: 1024px) { .hm-track[data-view="grid"] { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem 1.25rem; } }
.hm-track[data-view="carousel"] .hm-card { flex: 0 0 86%; scroll-snap-align: start; }
@media (min-width: 640px) { .hm-track[data-view="carousel"] .hm-card { flex-basis: 48%; } }
@media (min-width: 1024px) { .hm-track[data-view="carousel"] .hm-card { flex-basis: 31%; } }
@media (min-width: 1280px) { .hm-track[data-view="carousel"] .hm-card { flex-basis: 24%; } }
.hm-card { min-width: 0; }
.hm-card__link { display: block; border-radius: 1.8rem; text-decoration: none; }
.hm-card__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 1.8rem; border: 1px solid rgba(47, 36, 27, .08); background: var(--sand);
  box-shadow: 0 18px 48px rgba(47, 36, 27, .08); transition: border-color .2s, box-shadow .2s; }
.hm-card__link:hover .hm-card__frame { border-color: rgba(138, 90, 43, .3); box-shadow: 0 24px 60px rgba(47, 36, 27, .13); }
.hm-card__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none !important; object-fit: cover; object-position: top center; transition: filter .3s; }
.hm-card__link:hover .hm-card__img { filter: brightness(1.04); }
.hm-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(41, 35, 31, .12)); }
.hm-card__badge { position: absolute; left: 1rem; top: 1rem; padding: .375rem .75rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(252, 247, 237, .88);
  font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hm-card__go { position: absolute; right: 1rem; bottom: 1rem; display: flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .45); background: rgba(252, 247, 237, .88); color: var(--ink); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background-color .2s; }
.hm-card__link:hover .hm-card__go { background: #fff; }
.hm-card__go svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm-card__body { padding: 1.25rem .25rem .25rem; color: var(--ink); }
.hm-card__kicker { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.hm-card__name { margin-top: .375rem; font-family: var(--display); font-weight: 400; font-size: 1.65rem; line-height: 1.2; letter-spacing: -.025em; }
.hm-card__desc { max-width: 38ch; margin-top: .5rem; font-size: .875rem; line-height: 1.5rem; color: var(--muted); }
.hm-track[data-view="grid"] .hm-card__name { font-size: clamp(1.125rem, 1.6vw, 1.65rem); }
.hm-track[data-view="grid"] .hm-card__desc { font-size: .8125rem; line-height: 1.35rem; }

.hm-cnav { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; margin-top: .75rem; }
.hm-cnav[hidden] { display: none; }
.hm-cnav__btn { display: inline-flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; cursor: pointer; border-radius: 50%; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); transition: background-color .2s, opacity .2s; }
.hm-cnav__btn:hover { background: var(--sand-2); }
.hm-cnav__btn:disabled { cursor: not-allowed; opacity: .35; }
.hm-cnav__btn svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Beliefs: the old home page's four, claim over meaning ---------- */
.hm-ethos { padding: 3.5rem 0 4rem; }
@media (min-width: 1024px) { .hm-ethos { padding: 5rem 0 6rem; } }
.hm-ethos.hm-show--first { padding-top: 4rem; }
@media (min-width: 640px) { .hm-ethos.hm-show--first { padding-top: 5rem; } }
.hm-ethos__grid { display: grid; gap: 1.75rem; }
@media (min-width: 1024px) { .hm-ethos__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(3rem, 7vw, 6.5rem); align-items: start; } }
.hm-ethos__title { font-size: clamp(2.7rem, 5vw, 4.75rem); }
/* the one rule the section keeps — the same gesture every invitation opens a plate with */
.hm-ethos__rule { display: block; width: clamp(2.5rem, 4vw, 3.5rem); height: 1px; margin-top: 1.5rem; background: rgba(138, 90, 43, .55); }
.hm-ethos__list { max-width: 40rem; }
.hm-ethos__list li { display: grid; gap: .5rem; padding: 1.25rem 0; }
@media (min-width: 1024px) { .hm-ethos__list li:first-child { padding-top: .5rem; } }
.hm-ethos__list li + li { border-top: 1px solid var(--line-2); }
.hm-ethos__claim { font-family: var(--display); font-size: clamp(1.65rem, 2.3vw, 2.1rem); line-height: 1.1; letter-spacing: -.025em; color: var(--ink); }
.hm-ethos__means { max-width: 44ch; font-size: 1rem; line-height: 1.7; color: var(--muted-2); }

/* ==========================================================================
   Statement — pinned; paper darkens to dusk, words light in turn.
   ========================================================================== */
.hm-statement { position: relative; background: var(--paper); }
.js .hm-statement { min-height: 380vh; min-height: 380svh; }
.hm-statement__panel { position: relative; display: flex; min-height: 100vh; min-height: 100svh; align-items: center; justify-content: center; overflow: hidden; overflow: clip;
  padding: 5rem var(--gutter); background: var(--paper); color: var(--ink); }
.js .hm-statement__panel { position: sticky; top: 0; }
.hm-statement__copy { position: relative; z-index: 20; max-width: 22ch; font-family: var(--display); font-size: clamp(2.5rem, 6.4vw, 6.5rem); line-height: .98; letter-spacing: -.045em; text-align: center; text-wrap: balance; }
.hm-w { display: inline-block; will-change: opacity; }
.js .hm-w { opacity: .16; }
.hm-w--i { font-style: italic; }

/* ==========================================================================
   After the curtain: features, offer, FAQ, footer.
   ========================================================================== */
.hm-after { position: relative; z-index: 20; background: var(--paper); }
.js .hm-after { margin-top: -100vh; margin-top: -100svh; }

.hm-features { overflow: hidden; padding: 3.5rem 0; scroll-margin-top: 7rem; }
@media (min-width: 640px) { .hm-features { padding: 4rem 0; } }
@media (min-width: 1024px) { .hm-features { padding: 5rem 0; } }
.hm-features__head { max-width: 48rem; padding: .5rem 0; }
.hm-features__title { margin-top: 1rem; font-size: clamp(2.5rem, 4.6vw, 4.25rem); letter-spacing: -.04em; }
.hm-features__lede { max-width: 42rem; margin-top: 1rem; font-size: 1rem; line-height: 1.75rem; color: var(--muted); }
@media (min-width: 640px) { .hm-features__lede { font-size: 1.125rem; } }
.hm-grid { display: grid; grid-template-columns: 1fr; gap: .75rem; margin-top: 2rem; }
@media (min-width: 768px) { .hm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hm-fcard { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; padding: 1rem; border-radius: 22px; border: 1px solid var(--line); background: var(--paper-2);
  box-shadow: 0 18px 50px rgba(47, 36, 27, .06); transition: background-color .2s, border-color .2s, box-shadow .2s; }
@media (min-width: 640px) { .hm-fcard { padding: 1.25rem; } }
.hm-fcard:hover { border-color: rgba(138, 90, 43, .28); background: #fff; box-shadow: 0 22px 60px rgba(47, 36, 27, .09); }
.hm-fcard--white { background: #fff; }
.js [data-inview] { opacity: 0; transform: translateY(20px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), background-color .2s, border-color .2s, box-shadow .2s; transition-delay: calc(min(var(--d), 4) * 50ms); }
.js [data-inview].is-in { opacity: 1; transform: none; }
.hm-fcard__title { font-family: var(--display); font-weight: 400; font-size: 1.65rem; line-height: 1.1; letter-spacing: -.03em; }
.hm-fcard__text { margin-top: .875rem; font-size: .9375rem; line-height: 1.5rem; color: var(--muted); }
.hm-viz { margin-top: 1rem; }
.hm-viz--rows { display: grid; gap: .5rem; }
.hm-viz--rows li { display: flex; align-items: center; gap: .75rem; min-height: 3rem; padding: .5rem .75rem; border-radius: 1rem; border: 1px solid var(--line); background: var(--paper); font-size: .8125rem; font-weight: 600; color: var(--ink); }
.hm-viz__n { display: inline-flex; width: 1.75rem; height: 1.75rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; background: #f6ecd8; font-size: .75rem; color: var(--accent); }
.hm-viz__tag { margin-left: auto; padding: .125rem .5rem; border-radius: 999px; background: rgba(138, 90, 43, .08); font-size: .6875rem; font-weight: 500; color: var(--muted); }
.hm-viz--day { position: relative; display: grid; gap: .875rem; padding-left: 1.25rem; }
.hm-viz--day::before { content: ""; position: absolute; left: .25rem; top: .5rem; bottom: .5rem; width: 1px; background: rgba(138, 90, 43, .3); }
.hm-viz--day li { position: relative; display: grid; font-size: .9375rem; font-weight: 600; color: var(--ink); }
.hm-viz--day li::before { content: ""; position: absolute; left: -1.25rem; top: .45rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); }
.hm-viz--day span { font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.hm-viz--roll { padding: .625rem; border-radius: 1.25rem; background: linear-gradient(180deg, #f6ecd8, #eadcc0); box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.hm-viz__roll { display: grid; gap: .25rem; place-items: center; padding: 1.25rem 1rem; border-radius: .875rem; background: var(--paper-2); box-shadow: 0 8px 18px rgba(47, 36, 27, .08); text-align: center; }
.hm-viz__roll-k { font-size: .625rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.hm-viz__roll-v { font-family: var(--display); font-style: italic; font-size: 1.75rem; line-height: 1.1; color: var(--ink); }
.hm-viz__roll-s { font-size: .75rem; color: var(--muted); }
.hm-viz--link { display: flex; align-items: center; height: 7rem; padding: 0 .75rem; border-radius: 1rem; background: var(--dusk); }
.hm-viz__url { flex: 1; min-width: 0; padding: .375rem .875rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); background: rgba(41, 35, 31, .82); font-size: .6875rem; color: rgba(255,255,255,.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-viz--faces { display: flex; justify-content: center; padding: 1rem 0; margin-top: auto; }
.hm-viz--faces span { display: inline-flex; width: 3.5rem; height: 3.5rem; align-items: center; justify-content: center; margin-left: -.5rem; border-radius: 50%; border: 3px solid var(--paper-2); background: #f6ecd8; font-size: .875rem; font-weight: 600; color: var(--accent); letter-spacing: .04em; }
.hm-viz--faces span:first-child { margin-left: 0; }

/* ---------- Offer + promises ---------- */
.hm-offer { padding: 1rem 0 4rem; scroll-margin-top: 6rem; }
@media (min-width: 1024px) { .hm-offer { padding: 2rem 0 6rem; } }
.hm-offer__grid { display: grid; gap: 1rem; }
@media (min-width: 1024px) { .hm-offer__grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.hm-offer__dark { display: flex; flex-direction: column; padding: 1.75rem; border-radius: 2.25rem; background: var(--dusk); color: #fcf7ed; box-shadow: 0 30px 80px rgba(41, 35, 31, .22); }
@media (min-width: 640px) { .hm-offer__dark { padding: 2.5rem; } }
.hm-offer__top { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.hm-offer__badge { padding: .25rem .75rem; border-radius: 999px; border: 1px solid rgba(232, 207, 164, .35); font-size: .625rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #e8cfa4; }
.hm-offer__title { margin-top: 1.25rem; font-size: clamp(2.6rem, 5vw, 4.5rem); }
.hm-offer__lede { max-width: 40rem; margin-top: 1rem; font-size: .9375rem; line-height: 1.75rem; color: rgba(252, 247, 237, .74); }
@media (min-width: 640px) { .hm-offer__lede { font-size: 1.0625rem; } }
.hm-steps { margin-top: 1.75rem; border-top: 1px solid rgba(252, 247, 237, .14); }
.hm-steps li { display: grid; grid-template-columns: 3rem 1fr; gap: .5rem; padding: 1rem 0; border-bottom: 1px solid rgba(252, 247, 237, .14); }
@media (min-width: 640px) { .hm-steps li { grid-template-columns: 4rem 1fr; } }
.hm-steps__n { padding-top: .375rem; font-size: .625rem; font-weight: 600; letter-spacing: .2em; color: #e8cfa4; }
.hm-steps h3 { font-family: var(--display); font-weight: 400; font-size: 1.75rem; line-height: 1.1; letter-spacing: -.03em; }
.hm-steps p { margin-top: .25rem; font-size: .875rem; line-height: 1.5rem; color: rgba(252, 247, 237, .68); }
.hm-offer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.hm-offer__more { font-size: .875rem; color: rgba(252, 247, 237, .78); text-decoration: underline; text-decoration-color: rgba(252, 247, 237, .3); text-underline-offset: 4px; }
.hm-offer__more:hover { color: #fff; text-decoration-color: #fff; }
.hm-offer__light { display: flex; min-width: 0; flex-direction: column; padding: 1.75rem 0 1.75rem 1.75rem; overflow: hidden; border-radius: 2.25rem; border: 1px solid rgba(138, 90, 43, .14); background: linear-gradient(180deg, #f5ebd3, #f1e4c4); box-shadow: 0 30px 80px rgba(47, 36, 27, .08); }
@media (min-width: 640px) { .hm-offer__light { padding: 2.5rem 0 2.5rem 2.5rem; } }
.hm-offer__lighthead { display: grid; gap: 1rem; padding-right: 1.75rem; }
@media (min-width: 640px) { .hm-offer__lighthead { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
@media (min-width: 640px) { .hm-offer__lighthead { padding-right: 2.5rem; } }
.hm-offer__ptitle { margin-top: 1rem; font-size: clamp(2.2rem, 3.6vw, 3.25rem); }
.hm-offer__stat { display: grid; justify-items: start; }
@media (min-width: 640px) { .hm-offer__stat { justify-items: end; text-align: right; } }
.hm-offer__stat-n { font-family: var(--display); font-style: italic; font-size: 2rem; line-height: 1; color: var(--ink); }
.hm-offer__stat-k { margin-top: .5rem; font-size: .625rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.hm-offer__founder { max-width: 40rem; margin-top: 1rem; padding-right: 1.75rem; font-size: .9375rem; line-height: 1.6rem; color: var(--muted-2); }
@media (min-width: 640px) { .hm-offer__founder { padding-right: 2.5rem; } }
.hm-marquee { margin-top: 1.5rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 88%, transparent); }
.hm-marquee__row { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.hm-marquee__row::-webkit-scrollbar { display: none; }
.hm-marquee__row--wide { display: none; }
@media (min-width: 1024px) { .hm-marquee__row--wide { display: block; margin-top: .5rem; } }
.hm-marquee__track { display: flex; width: max-content; padding: .5rem 0; }
.hm-marquee__set { display: flex; gap: 1rem; padding-right: 1rem; }
.hm-note { display: flex; width: 21rem; flex-direction: column; padding: 1.25rem 1.25rem 1rem; border-radius: 1.75rem; background: var(--paper-2); box-shadow: 0 14px 40px rgba(47, 36, 27, .08); }
.hm-note__mark { font-size: .75rem; color: #b07a43; }
.hm-note__title { margin-top: .625rem; font-family: var(--display); font-size: 1.45rem; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.hm-note__text { margin-top: .5rem; font-size: .875rem; line-height: 1.5rem; color: var(--muted-2); }
.hm-note__by { margin-top: auto; padding-top: .875rem; border-top: 1px solid var(--line); font-size: .75rem; font-weight: 600; color: var(--ink); }
.hm-note__text + .hm-note__by { margin-top: .875rem; }
.hm-note--small { width: auto; min-width: 15rem; padding: 1rem 1.25rem; }
.hm-note--small .hm-note__title { margin-top: 0; font-size: 1.2rem; }
.hm-note--small .hm-note__by { margin-top: .625rem; padding-top: .5rem; font-weight: 500; color: var(--muted); }

/* ---------- FAQ ---------- */
.hm-faq { padding: 3rem 0 4rem; scroll-margin-top: 4rem; }
@media (min-width: 1024px) { .hm-faq { padding: 4rem 0 6rem; } }
.hm-faq__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .hm-faq__grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 4rem; align-items: start; } }
.hm-faq__intro { display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 1024px) { .hm-faq__intro { position: sticky; top: 7rem; } }
.hm-faq__title { margin-top: 1rem; font-size: clamp(2.75rem, 5vw, 5rem); }
.hm-faq__lede { max-width: 30rem; margin: 1.25rem 0 1.75rem; font-size: 1rem; line-height: 1.75rem; color: var(--muted); }
.hm-acc { border-top: 1px solid var(--line-2); }
.hm-acc__item { border-bottom: 1px solid var(--line-2); }
.hm-acc__h { font: inherit; }
.hm-acc__btn { display: grid; width: 100%; min-height: 5rem; grid-template-columns: 2.25rem minmax(0, 1fr) 2.75rem; align-items: center; gap: .75rem; padding: 1.25rem 0; border: 0; background: none; cursor: pointer; text-align: left; color: var(--ink); transition: color .2s; }
@media (min-width: 640px) { .hm-acc__btn { min-height: 6rem; grid-template-columns: 3rem minmax(0, 1fr) 3rem; gap: 1.25rem; padding: 1.5rem 0; } }
.hm-acc__btn:hover { color: var(--accent); }
.hm-acc__n { align-self: start; padding-top: .25rem; font-size: 10px; font-weight: 600; letter-spacing: .2em; color: var(--accent); }
@media (min-width: 640px) { .hm-acc__n { padding-top: .375rem; } }
.hm-acc__q { font-family: var(--display); font-size: 1.65rem; line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
@media (min-width: 640px) { .hm-acc__q { font-size: 2rem; } }
@media (min-width: 1024px) { .hm-acc__q { font-size: 2.15rem; } }
.hm-acc__icon { position: relative; display: flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; justify-self: end; border-radius: 50%; border: 1px solid rgba(47, 36, 27, .2); transition: border-color .2s; }
.hm-acc__btn:hover .hm-acc__icon { border-color: rgba(138, 90, 43, .5); }
.hm-acc__icon span { position: absolute; width: 1rem; height: 1px; background: currentColor; }
.hm-acc__icon .hm-acc__v { width: 1px; height: 1rem; transition: transform .24s var(--ease-out); }
.hm-acc__item.is-open .hm-acc__v { transform: scaleY(0); }
.hm-acc__panel { overflow: hidden; transition: height .24s var(--ease-out), opacity .24s var(--ease-out); }
.hm-acc__inner { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) 2.75rem; gap: .75rem; }
@media (min-width: 640px) { .hm-acc__inner { grid-template-columns: 3rem minmax(0, 1fr) 3rem; gap: 1.25rem; } }
.hm-acc__inner p { grid-column: 2; max-width: 42rem; padding-bottom: 1.75rem; font-size: .9375rem; line-height: 1.75rem; color: var(--muted-2); }
@media (min-width: 640px) { .hm-acc__inner p { padding-bottom: 2rem; font-size: 1rem; line-height: 2rem; } }

/* ---------- Footer ---------- */
.hm-footer { position: relative; overflow: hidden; overflow: clip; background: var(--paper); }
.hm-footer__top { display: flex; flex-direction: column; gap: 2.5rem; padding-top: 2.5rem; padding-bottom: 2rem; }
.hm-footer__top::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); margin-top: -2.5rem; height: 1px; background: var(--line); }
.hm-footer__top { position: relative; }
@media (min-width: 1024px) { .hm-footer__top { flex-direction: row; justify-content: space-between; } }
.hm-footer__logo { font-family: var(--display); font-style: italic; font-size: 2rem; line-height: 1; letter-spacing: -.04em; }
.hm-footer__blurb { max-width: 24rem; margin-top: 1rem; font-size: .9375rem; line-height: 1.5rem; color: var(--muted); }
.hm-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: .75rem 2.5rem; align-content: start; font-size: .875rem; }
@media (min-width: 640px) { .hm-footer__nav { grid-template-columns: repeat(3, minmax(0, max-content)); gap: .75rem 3rem; } }
.hm-footer__nav a { display: inline-flex; min-height: 1.75rem; align-items: center; text-decoration: none; color: var(--ink); transition: color .2s; }
.hm-footer__nav a:hover { color: var(--accent); }
/* Stacked from the bottom up: the calls to action, the lead line, the signature, then the legal line. */
.hm-footer__stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: clamp(20rem, 52vh, 30rem);
  padding: 3rem var(--gutter) 6rem; text-align: center; }
.hm-footer__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; margin-bottom: clamp(2.5rem, 8vh, 4.5rem); }
.hm-footer__lead { font-family: var(--display); font-style: italic; font-size: clamp(1rem, 1.5vw, 1.3rem); color: var(--muted); }
/* padded so the swash of the Y and the tail of the y stay inside the box the ink mask covers */
.hm-footer__word { margin-top: .15em; padding: .12em .2em .26em; font-family: var(--display); font-style: italic; font-size: clamp(3.25rem, 8.5vw, 8rem); line-height: .8; letter-spacing: -.05em; white-space: nowrap; color: var(--ink); }
.hm-footer__legal { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 1.25rem; text-align: left; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(47, 36, 27, .72); }
.hm-footer__legal a { text-decoration: none; }
.hm-footer__legal a:hover { text-decoration: underline; }
.js [data-rise] { opacity: 0; transform: translateY(.6rem); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .is-risen [data-rise] { opacity: 1; transform: none; }
/* The signature is written, not faded: a soft-edged band of ink sweeps left to right across it, once. */
/* Sized so the band crosses the word for ~86% of the run: hidden at 100%, whole at 0. */
.js [data-ink] { -webkit-mask-image: linear-gradient(90deg, #000 46%, transparent 54%); mask-image: linear-gradient(90deg, #000 46%, transparent 54%);
  -webkit-mask-size: 240% 100%; mask-size: 240% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0; mask-position: 100% 0; transition: -webkit-mask-position 1.7s cubic-bezier(.45, .05, .35, 1) .35s, mask-position 1.7s cubic-bezier(.45, .05, .35, 1) .35s; }
.js .is-risen [data-ink] { -webkit-mask-position: 0 0; mask-position: 0 0; }

/* ---------- Music: the round button in the bottom-right corner ---------- */
/* Under the bar (70) and its full-screen menu (69); hidden until the intro has
   gone, so it never sits on the wordmark. Glass over both worlds: it reads on
   the photographs and on paper alike. */
.hm-music { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: calc(clamp(1rem, 3vh, 2rem) + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; padding: 0; cursor: pointer; border-radius: 50%;
  border: 1px solid rgba(47, 36, 27, .12); background: rgba(252, 247, 237, .72); color: var(--ink);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 8px 26px -16px rgba(47, 36, 27, .5);
  transition: color .35s var(--ease-out), background-color .4s var(--ease-out), border-color .4s var(--ease-out), transform .2s var(--ease-out), bottom .45s var(--ease-out), opacity .6s var(--ease-out); }
.hm-music:hover { transform: translateY(-2px); color: var(--accent); }
.hm-music:active { transform: scale(.94); }
/* Playing is a state, not a performance: the button fills, nothing spins. */
.hm-music[aria-pressed="true"] { background: rgba(111, 84, 64, .94); border-color: rgba(111, 84, 64, .9); color: #f7efe6; }
.hm-music[aria-pressed="true"]:hover { color: #fff; }
.hm-music:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.js .hm-music { opacity: 0; pointer-events: none; }
.js .is-revealed .hm-music { opacity: 1; pointer-events: auto; }
/* clear of the cookie banner while it is open (partials/_analytics.html) */
body.yf-consent-open .hm-music { bottom: calc(2rem + 96px); }
@media (max-width: 520px) { body.yf-consent-open .hm-music { bottom: calc(2rem + 150px); } }

/* ==========================================================================
   No script: nothing pinned, nothing waiting on a reveal.
   ========================================================================== */
.no-js .hm-switch { min-height: auto; margin-top: 0; }
.no-js .hm-switch__panel { position: relative; height: auto; }
.no-js .hm-switch__paint, .no-js .hm-switch__comp--dusk { display: none; }
.no-js .hm-switch__paper { position: relative; height: auto; }
.no-js .hm-switch__paper .hm-switch__comp { height: auto; min-height: 100vh; }
.no-js .hm-lines { display: none; }
.no-js .hm-tail { display: none; }
.no-js .hm-backdrop { position: absolute; inset: 0; height: auto; }
.no-js .hm-prelude__fg { margin-top: 0; }

/* ==========================================================================
   Reduced motion: the same page, standing still. Must stay last.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .hm-intro { transition: opacity .25s !important; }
  .js .hm-intro.is-exiting { transform: none; opacity: 0; }
  .js .hm-intro__word span { opacity: 1; filter: none; transform: none; animation: none; }
  .js [data-reveal], .js [data-device-reveal], .js [data-inview], .js [data-rise] { opacity: 1 !important; filter: none !important; transform: none !important; }
  .js [data-ink] { -webkit-mask-image: none; mask-image: none; }
  .hm-music:hover, .hm-music:active { transform: none; }
  .js .hm-statement { min-height: 0; }
  .js .hm-statement__panel { position: relative; }
  .js .hm-w { opacity: 1; }
  .js .hm-after { margin-top: 0; }
  .js .hm-lines path { stroke-dashoffset: 0; }
  .hm-switch { min-height: 100vh; min-height: 100svh; }
  .hm-switch__panel { position: relative; }
}
