/* Everangel — one stylesheet for the whole site */
:root {
  --paper: #FBF9F5;
  --box: #F3EEE6;
  --window: #F7F3EC;
  --ink: #4B433D;
  --taupe: #7A7068;
  --oat: #E8DDCF;
  --gold: #B8964F;
  --blush: #EAD5CE;
  --sage: #A3AB91;
  --line: #DCD2C5;
  --easter: #EFEAE3;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --script: "Sacramento", cursive;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 10vw, 132px);
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; max-width: 60ch; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--taupe); margin: 0 0 .45em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.7rem, 5.4vw, 4.6rem); line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); line-height: 1.08; }
h3 { font-size: 1.6rem; line-height: 1.2; }
.lead { font-size: 1.15rem; }
.script { font-family: var(--script); font-weight: 400; color: var(--taupe); font-size: 2.1rem; line-height: 1.2; margin: 0 0 .5em; }
.label { color: var(--gold); font-size: .95rem; font-weight: 500; letter-spacing: .02em; margin: 0 0 .6em; }
.note { font-size: .9rem; color: var(--taupe); margin-top: 1.4em; }

a { color: inherit; }
.text-link {
  color: var(--taupe); font-weight: 500; text-decoration: underline;
  text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.text-link:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--paper); padding: 8px 14px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--box { background: var(--box); }
.section--easter { background: var(--easter); }
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: .95rem; font-weight: 500; letter-spacing: .04em;
  padding: 17px 30px; border-radius: 999px; border: 1px solid var(--taupe);
  background: var(--taupe); color: var(--paper); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  line-height: 1.2;
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--taupe); }
.btn--ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn[disabled] { opacity: .7; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2em; }

/* Announcement + header */
.announce { background: var(--oat); font-size: .875rem; text-align: center; padding: 10px var(--gutter); line-height: 1.4; }
.announce a { color: var(--ink); font-weight: 500; text-decoration-color: var(--gold); text-underline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav { display: flex; gap: 30px; }
.nav--right { justify-content: flex-end; }
.nav a, .header-link {
  font-size: .95rem; font-weight: 500; letter-spacing: .04em; color: var(--taupe); text-decoration: none;
  padding: 6px 0; border-bottom: 1px solid transparent;
}
.nav a:hover, .header-link:hover { color: var(--ink); }
.nav a[aria-current="page"] { border-bottom-color: var(--gold); }

.logo { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--taupe); line-height: 1; }
.logo img { height: 76px; width: auto; }

.menu-btn, .header-link { display: none; }
.menu-btn {
  background: none; border: 0; padding: 6px 0; font: 500 .95rem/1 var(--sans); letter-spacing: .04em; color: var(--taupe); cursor: pointer; justify-self: start;
}
.mobile-nav { display: none; }

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
  .header-link { display: inline-block; justify-self: end; }
  .header-inner { gap: 12px; }
  .site-header.open .mobile-nav { display: block; border-top: 1px solid var(--line); }
  .mobile-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 20px; }
  .mobile-nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--taupe); font-weight: 500; letter-spacing: .04em; }
  .mobile-nav li:last-child a { border-bottom: 0; }
  .mobile-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
}

/* Hero */
.hero { padding: 0 0 var(--section-y); }
.hero-banner { background: var(--box); }
.hero-banner img { width: 100%; max-width: 1584px; margin: 0 auto; aspect-ratio: 1584 / 672; object-fit: cover; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: start; padding-top: clamp(40px, 6vw, 80px); }
.hero-grid h1 { max-width: 12ch; margin: 0; }
.hero-copy .btn-row { margin-top: 1.6em; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Keepsake box (HTML/CSS) */
.hero-visual { display: flex; flex-direction: column; align-items: center; }
.keepsake {
  background: var(--box); width: 100%; max-width: 440px; padding: 36px 34px 30px; text-align: center;
  box-shadow: 0 30px 50px -28px rgba(75, 60, 45, .35);
}
.keepsake .logo { margin-bottom: 22px; }
.keepsake .logo span { font-size: 2rem; }
.window {
  position: relative; aspect-ratio: 3 / 3.55; border-radius: 999px 999px 0 0; overflow: hidden;
  background-color: var(--window); background-image: url("img/pattern-christmas.svg"); background-size: 150px 150px;
  box-shadow: inset 0 0 0 1px var(--line), inset 0 10px 24px rgba(75, 60, 45, .12), inset 0 -6px 16px rgba(75, 60, 45, .06);
}
.window[data-season="easter"] { background-image: url("img/pattern-easter.svg"); }
.window img {
  position: absolute; left: 50%; bottom: 0; height: 92%; width: auto; max-width: none; transform: translateX(-50%);
  filter: drop-shadow(0 10px 14px rgba(75, 60, 45, .18));
  transition: opacity .45s ease, transform .45s ease;
}
.window img.is-swapping { opacity: 0; transform: translate(-50%, 14px); }
.keepsake-name { font-family: var(--serif); font-size: 1.45rem; color: var(--taupe); margin: 20px 0 0; }
.keepsake-tag { font-family: var(--script); font-size: 1.75rem; color: var(--taupe); margin: 2px 0 0; line-height: 1.3; }
.shelf { width: min(520px, 110%); height: 22px; margin-top: -4px; background: radial-gradient(closest-side, rgba(75, 60, 45, .18), transparent); }
.season-switch { display: flex; gap: 10px; margin-top: 22px; }
.season-switch button {
  font: 500 .95rem/1 var(--sans); letter-spacing: .04em; padding: 12px 24px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--taupe); cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.season-switch button:hover { border-color: var(--taupe); }
.season-switch button[aria-pressed="true"] { background: var(--oat); border-color: var(--oat); color: var(--ink); }

/* Cards: two traditions */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.card { background: var(--paper); text-decoration: none; color: inherit; display: block; }
.card-img { aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--box); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.02); }
.card-body { padding: 28px 30px 34px; }
.card-body .label { margin-bottom: .4em; }
.card-body p { margin-bottom: 1.2em; }
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } }

/* Split heading (h2 left, intro right) */
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.split-head h2 { margin: 0; }
@media (max-width: 760px) { .split-head { grid-template-columns: 1fr; gap: 16px; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.steps li { padding: 30px 28px 0; border-left: 1px solid var(--line); }
.steps li:first-child { border-left: 0; padding-left: 0; }
.step-num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold); display: block; margin-bottom: 18px; }
.steps h3 { font-size: 1.45rem; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps li { border-left: 0; padding: 28px 0; border-top: 1px solid var(--line); }
}

/* Twelve days */
.days-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.days-intro { margin-bottom: clamp(28px, 4vw, 44px); }
.doors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.days-photo { margin: 32px 0 0; }
.days-photo figcaption { font-size: .9rem; color: var(--taupe); margin-top: 12px; }
.days-photo img { width: 100%; background: var(--box); }

.door {
  aspect-ratio: 1 / 1.45; border-radius: 999px 999px 4px 4px; border: 1px solid var(--line);
  background: var(--paper); color: var(--taupe); cursor: pointer; padding: 8px 2px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-family: var(--serif); transition: background-color .2s ease, border-color .2s ease;
}
.section--box .door { background: var(--window); }
.door:hover { border-color: var(--taupe); }
.door .num { font-size: 1.7rem; line-height: 1; font-weight: 500; }
.door .sym { font-family: var(--sans); font-size: .66rem; line-height: 1.2; color: var(--ink); visibility: hidden; min-height: 2.4em; text-align: center; padding: 0 2px; }
.door.seen .sym { visibility: visible; }
.door[aria-selected="true"] { background: var(--oat) !important; border-color: var(--oat); }

.note-card {
  background: var(--paper); border: 1px solid var(--line); padding: clamp(28px, 4vw, 40px);
  transition: opacity .25s ease;
}
.section--box .note-card { background: var(--paper); }
.note-card.is-swapping { opacity: 0; }
.note-card h3 { margin-bottom: .5em; }
.note-card .challenge-label { font-weight: 500; color: var(--taupe); margin: 1.3em 0 .3em; }
.note-card .signoff { font-family: var(--script); font-size: 2rem; color: var(--taupe); margin-top: .8em; line-height: 1.2; }

@media (max-width: 860px) {
  .days-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .doors { grid-template-columns: repeat(4, 1fr); }
}

/* Feature (image + text) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature img { width: 100%; }
.feature figcaption { font-size: .9rem; color: var(--taupe); margin-top: 12px; }
.feature figure { margin: 0; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* Promise */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.promise > div { border-top: 1px solid var(--line); padding-top: 28px; }
@media (max-width: 760px) { .promise { grid-template-columns: 1fr; } }

/* Product hero */
.product-hero { padding: clamp(48px, 7vw, 96px) 0 var(--section-y); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.product-photo { background: var(--box); }
.product-photo img { width: 100%; }
.product-info .script { margin-top: -.15em; }
.inbox { list-style: none; padding: 0; margin: 2em 0 0; border-top: 1px solid var(--line); }
.inbox li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 11rem 1fr; gap: 16px; }
.inbox strong { font-weight: 500; color: var(--taupe); }
.inbox-title { font-family: var(--serif); font-size: 1.6rem; color: var(--taupe); margin: 2em 0 0; }
.inbox-title + .inbox { margin-top: .8em; }
@media (max-width: 860px) { .product-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .inbox li { grid-template-columns: 1fr; gap: 2px; } }

.turnaround { margin: 0; }
.turnaround img { width: 100%; background: var(--paper); }
.turnaround figcaption { font-size: .9rem; color: var(--taupe); margin-top: 12px; text-align: center; }

.standing { max-width: 420px; margin: 0 auto; background: var(--window); border-radius: 999px 999px 0 0; aspect-ratio: 3 / 3.55; position: relative; overflow: hidden;
  background-image: url("img/pattern-easter.svg"); background-size: 150px 150px; box-shadow: inset 0 0 0 1px var(--line); }
.standing img { position: absolute; left: 50%; bottom: 0; height: 92%; width: auto; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 10px 14px rgba(75, 60, 45, .18)); }

/* Waitlist */
.waitlist { max-width: 720px; margin: 0 auto; text-align: center; }
.waitlist .mark { width: 64px; height: auto; margin: 0 auto 18px; }
.waitlist p { margin-left: auto; margin-right: auto; }
.wl-form { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.15fr) minmax(0, 1fr) auto; gap: 10px; margin: 2em -80px 0; text-align: left; align-items: end; }
.field label { display: block; font-size: .8rem; font-weight: 500; color: var(--taupe); margin: 0 0 6px 18px; letter-spacing: .02em; }
.field input, .field select {
  width: 100%; font: 400 1rem/1.2 var(--sans); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px; padding: 16px 18px; height: 54px; appearance: none; -webkit-appearance: none;
}
.field select {
  padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237A7068' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.wl-form .btn { height: 54px; white-space: nowrap; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-status { min-height: 1.6em; margin: 18px auto 0; font-weight: 500; color: var(--taupe); }
.wl-status.error { color: #8A5A4B; }
.fine { font-size: .875rem; color: var(--taupe); margin-top: 10px; }
@media (max-width: 860px) {
  .wl-form { grid-template-columns: 1fr; margin-left: 0; margin-right: 0; }
  .wl-form .btn { width: 100%; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-grid .logo { align-items: flex-start; }
.footer-grid .logo img { height: 104px; }
.footer-grid .logo-wrap p { margin-top: 18px; max-width: 34ch; }
.footer-grid h2 { font-family: var(--sans); font-size: .95rem; font-weight: 500; letter-spacing: .04em; color: var(--taupe); margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid li a { text-decoration: none; color: var(--ink); }
.footer-grid li a:hover { color: var(--taupe); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 56px; padding-top: 22px; font-size: .85rem; color: var(--taupe); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid .logo-wrap { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Short line under each day's symbol */
.note-card h3 { margin-bottom: .2em; }
.note-card .tagline { font-family: var(--serif); font-size: 1.2rem; color: var(--taupe); margin-bottom: 1em; }

@media (max-width: 860px) {
  .logo img { height: 64px; }
}

/* A section that continues the one above it (same background, no double gap) */
.section--joined { padding-top: 0; }
.section--easter .door { background: var(--paper); }
.feature figure img { max-height: 760px; object-fit: cover; }
