/* Homeduly site. Self-hosted fonts (SIL OFL, see /fonts/OFL.txt). No cookies, no analytics. */
@font-face {
  font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces"; src: url("/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Atkinson Next"; src: url("/fonts/atkinson-next.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

:root {
  --paper: #f4ede3;
  --paper-2: #ebe2d4;
  --card: #fffdf9;
  --ink: #17302d;
  --ink-soft: #4b5c5a;
  --teal: #1f5c57;
  --teal-deep: #10302d;
  --mint: #dcebe8;
  --ember: #b5651d;
  --ember-text: #9a4a12;
  --ember-soft: #e9a25f;
  --butter: #f6dfae;
  --line: #ddd2c2;
  --radius: 22px;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Atkinson Next", "Avenir Next", "Segoe UI", sans-serif;
  --grain: 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%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper) var(--grain);
  color: var(--ink);
  font: 18px/1.6 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--ember-text); }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* Masthead */
.masthead { padding: 22px 0; position: relative; z-index: 5; }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 42px; height: 42px; flex: none; filter: drop-shadow(0 6px 10px rgb(16 48 45 / .18)); }
.brand span {
  font-family: var(--display); font-size: 28px; font-weight: 640; letter-spacing: -.02em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72;
}
.masthead nav { display: flex; gap: 6px; flex-wrap: wrap; }
.masthead nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16px;
  padding: 8px 14px; border-radius: 999px;
}
.masthead nav a:hover, .masthead nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; line-height: 1.02; margin: 0; }
h1, h2 { font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
em.ember { font-style: italic; color: var(--ember); font-weight: 500; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

/* Hero */
.hero { padding: 40px 0 90px; position: relative; }
.hero::before {
  content: ""; position: absolute; right: -12vw; top: -140px; width: 70vw; max-width: 900px; aspect-ratio: 1;
  background: radial-gradient(circle at 40% 45%, var(--mint) 0 38%, transparent 62%);
  border-radius: 50%; z-index: -1;
}
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(54px, 8.4vw, 118px); margin: 22px 0 26px; }
.hero h1 em { display: block; }
.lead { font-size: clamp(19px, 1.7vw, 22px); color: var(--ink-soft); max-width: 34ch; margin: 0 0 34px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 16px;
  border-radius: 16px; background: var(--ink); color: var(--paper);
  box-shadow: 0 10px 24px -12px rgb(16 48 45 / .6);
}
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store small { display: block; font-size: 12px; opacity: .75; letter-spacing: .04em; }
.store b { font-size: 18px; line-height: 1.1; }
.soon { font-size: 15px; color: var(--ink-soft); margin-left: 6px; }

/* Phone and tickets */
.stage { position: relative; min-height: 640px; display: grid; place-items: center; }
.phone {
  width: min(310px, 72vw); padding: 11px; border-radius: 48px; background: #0d1b1a;
  box-shadow: 0 0 0 2px #2a3b39 inset, 0 40px 80px -30px rgb(16 48 45 / .55), 0 18px 30px -18px rgb(16 48 45 / .5);
  position: relative;
}
.phone img { border-radius: 38px; }
.stage .phone { transform: rotate(3deg); }
.ticket {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: var(--card); border-radius: 16px; padding: 12px 18px 12px 12px;
  box-shadow: 0 18px 36px -18px rgb(16 48 45 / .45);
  font-weight: 600; font-size: 16px; line-height: 1.25; white-space: nowrap;
  -webkit-mask: radial-gradient(circle 7px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 7px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 7px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 7px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
}
.ticket small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 14px; }
.ticket .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.ticket .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ticket .days {
  margin-left: 6px; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ember-text);
  font-variation-settings: "opsz" 40; border-left: 2px dashed var(--line); padding-left: 14px;
}
.t1 { top: 6px; left: -14%; }
.t2 { top: 300px; right: -10%; }
.t3 { bottom: 70px; left: -2%; }
.t1 .ico { background: #e3ecf3; color: #2f5d8a; }
.t2 .ico { background: var(--butter); color: #7a4b0f; }
.t3 .ico { background: var(--mint); color: var(--teal); }

/* Ticker */
.ticker { background: var(--teal); color: var(--paper); overflow: hidden; transform: rotate(-1.4deg); margin: 0 -2vw; box-shadow: 0 16px 30px -24px rgb(16 48 45 / .8); }
.ticker .track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.ticker ul { display: flex; gap: 0; margin: 0; padding: 18px 0; list-style: none; }
.ticker li {
  font-family: var(--display); font-size: 28px; font-weight: 500; font-style: italic; white-space: nowrap;
  font-variation-settings: "SOFT" 100, "opsz" 48; padding: 0 22px; display: flex; align-items: center; gap: 44px;
}
.ticker li::after { content: "✱"; font-style: normal; color: var(--ember-soft); font-size: 22px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
section { padding: 110px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(40px, 5.6vw, 76px); margin-top: 18px; }
.section-head p { font-size: 20px; color: var(--ink-soft); margin: 22px 0 0; max-width: 52ch; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: var(--card); border-radius: var(--radius); padding: 30px 28px 32px; position: relative;
  box-shadow: 0 1px 0 var(--line), 0 24px 40px -34px rgb(16 48 45 / .5);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--display); font-size: 92px; line-height: .9; font-weight: 300; font-style: italic;
  color: transparent; -webkit-text-stroke: 1.5px var(--ember); display: block; margin-bottom: 18px;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.step h3 { font-size: 30px; margin-bottom: 12px; font-variation-settings: "SOFT" 100, "opsz" 60; }
.step p { margin: 0; color: var(--ink-soft); }

/* Feature rows */
.features { display: grid; gap: 120px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature:nth-child(even) .shot { order: 2; }
.feature .shot { display: grid; place-items: center; position: relative; }
.feature .shot::before {
  content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: var(--paper-2);
}
.feature:nth-child(1) .shot::before { background: #e2eaf0; border-radius: 42% 58% 55% 45%; }
.feature:nth-child(2) .shot::before { background: var(--butter); border-radius: 58% 42% 46% 54%; }
.feature:nth-child(3) .shot::before { background: var(--mint); border-radius: 50% 50% 40% 60%; }
.feature .phone { width: min(290px, 70vw); }
.feature:nth-child(odd) .phone { transform: rotate(-2.5deg); }
.feature:nth-child(even) .phone { transform: rotate(2.5deg); }
.feature h3 { font-size: clamp(34px, 4vw, 54px); margin: 16px 0 18px; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 120; }
.feature p { font-size: 19px; color: var(--ink-soft); margin: 0 0 14px; max-width: 46ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.tags li { border: 1.5px solid var(--ink); border-radius: 999px; padding: 5px 14px; font-weight: 600; font-size: 15px; }

/* Privacy band */
.vault { background: var(--teal-deep) var(--grain); color: #eef4f2; position: relative; overflow: hidden; }
.vault::before {
  content: ""; position: absolute; left: -10%; bottom: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgb(124 196 186 / .22), transparent 65%);
}
.vault .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; position: relative; }
.vault .eyebrow { color: var(--ember-soft); }
.vault h2 { font-size: clamp(44px, 6.4vw, 92px); margin: 18px 0 26px; color: #fff; }
.vault h2 em { color: var(--ember-soft); font-style: italic; font-weight: 500; }
.vault p { color: #c4d6d3; font-size: 20px; max-width: 44ch; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 36px 0 0; padding: 0; list-style: none; }
.facts li { border: 1px solid rgb(255 255 255 / .16); border-radius: 18px; padding: 18px 20px; background: rgb(255 255 255 / .04); }
.facts b { display: block; font-family: var(--display); font-size: 24px; font-weight: 600; color: #fff; margin-bottom: 4px; font-variation-settings: "SOFT" 100, "opsz" 48; }
.facts span { color: #b7cbc8; font-size: 16px; }
.vault .phone { margin-inline: auto; transform: rotate(-3deg); width: min(290px, 70vw); }
.vault a { color: var(--ember-soft); }

/* Nations */
.nations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.nation { border-top: 3px solid var(--ink); padding-top: 18px; }
.nation h3 { font-size: 30px; margin-bottom: 8px; font-variation-settings: "SOFT" 100, "opsz" 60; }
.nation p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* Closing */
.closing { text-align: center; padding: 120px 0 130px; }
.closing h2 { font-size: clamp(48px, 7.6vw, 110px); max-width: 12ch; margin: 0 auto 26px; }
.closing p { font-size: 20px; color: var(--ink-soft); margin: 0 auto 34px; max-width: 46ch; }
.closing .stores { justify-content: center; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 15px; color: var(--ink-soft); }
.foot .wrap { display: flex; justify-content: space-between; gap: 18px 36px; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot .promise { display: inline-flex; align-items: center; gap: 8px; }
.foot .promise::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2f6b3a; }

/* Document pages (privacy, terms, support) */
.doc-hero { padding: 40px 0 10px; }
.doc-hero h1 { font-size: clamp(48px, 7vw, 96px); margin: 18px 0 12px; }
.doc-hero .updated { color: var(--ink-soft); font-size: 16px; margin: 0; }
.doc { width: min(760px, 100% - 32px); margin: 0 auto; padding: 30px 0 80px; }
.doc h2 { font-size: 34px; margin: 48px 0 14px; font-variation-settings: "SOFT" 100, "opsz" 60; }
.doc p, .doc li { color: #26403d; }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin-bottom: 12px; }
.doc .card {
  background: var(--card); border-radius: var(--radius); padding: 26px 28px; margin: 24px 0;
  box-shadow: 0 1px 0 var(--line), 0 24px 40px -34px rgb(16 48 45 / .5);
}
.doc .card.short { background: var(--teal-deep); color: #e4eeec; }
.doc .card.short p { color: #e4eeec; margin: 0; }
.doc .card.short strong { color: var(--ember-soft); }
.doc .card h2 { margin-top: 0; font-size: 28px; }
.doc .card nav { display: none; }
.doc .lead { max-width: none; }
.doc mark { background: var(--butter); color: inherit; padding: 0 4px; border-radius: 4px; }

/* Reveal on scroll (only when JS runs; content shows without it) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.hero .rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero .rise:nth-child(2) { animation-delay: .08s; }
.hero .rise:nth-child(3) { animation-delay: .16s; }
.hero .rise:nth-child(4) { animation-delay: .24s; }
.stage .phone { animation: phoneIn 1.1s .15s cubic-bezier(.2,.7,.2,1) both; }
.ticket { animation: pop .7s cubic-bezier(.3,1.4,.5,1) both, bob 6s ease-in-out infinite; }
.t1 { animation-delay: .6s, 1.3s; }
.t2 { animation-delay: .8s, 2.1s; }
.t3 { animation-delay: 1s, 2.9s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes phoneIn { from { opacity: 0; transform: translateY(60px) rotate(9deg); } }
@keyframes pop { from { opacity: 0; transform: scale(.7) translateY(12px); } }
@keyframes bob { 50% { translate: 0 -8px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Smaller screens */
@media (max-width: 960px) {
  .hero .wrap, .vault .wrap, .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .shot { order: 0; }
  .stage { min-height: 600px; margin-top: 10px; }
  .t1 { left: 0; } .t2 { right: 0; } .t3 { left: 2%; }
  .steps { grid-template-columns: 1fr; }
  .nations { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  section { padding: 80px 0; }
  .features { gap: 90px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .brand span { font-size: 24px; }
  .masthead nav a { padding: 6px 10px; font-size: 15px; }
  .ticket { font-size: 14px; padding: 10px 14px 10px 10px; }
  .ticket .ico { width: 34px; height: 34px; }
  .ticket .days { font-size: 18px; padding-left: 10px; }
  .ticket small { font-size: 12px; }
  .t2 { top: 270px; }
  .facts { grid-template-columns: 1fr; }
  .nations { grid-template-columns: 1fr; }
  .ticker li { font-size: 22px; }
}
