/* Site styles. Brand colours and fonts are the variables in :root. */
:root {
  --primary: #7A2420;        /* heritage maroon */
  --primary-deep: #551511;   /* deep maroon (header/footer/hero) */
  --primary-mid: #97342A;
  --accent: #CBA14C;         /* gold */
  --accent-light: #E3C684;
  --accent-text: #7C4E16;    /* gold-brown dark enough for text on --paper (WCAG AA) */
  --teal: #1C6F60;           /* sari teal, used sparingly */
  --chilli: #B5342B;         /* chilli red accent */
  --paper: #F5EEDE;
  --paper-deep: #ECE1C9;
  --charcoal: #241611;
  --ink: #33251D;
  --muted: #6B574A;
  --line: #E1D5BD;
  --white: #FFFFFF;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--accent); color: var(--primary-deep); padding: 8px 14px; }

/* Type — heritage serif, mixed case */
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.04;
  margin: 0 0 0.5em;
  color: var(--primary);
}
h1 { font-size: clamp(2.5rem, 7vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
h1, h2, h3, .statement { overflow-wrap: break-word; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.15; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--muted); max-width: 46rem; }
.accent-text { color: var(--accent); font-style: italic; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7em;
  font: 700 0.78rem/1 var(--body);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 1.4rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.dot-list { display: inline; }
.dot-list span { white-space: nowrap; display: inline-block; }
.dot-list span + span::before { content: "•"; color: var(--accent); margin: 0 0.75em; }

/* Buttons */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 54px; padding: 0 30px;
  font: 700 0.84rem/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--primary-deep); }
.btn-accent:hover { background: var(--accent-light); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-mid); }
.btn-line { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-line-dark { border-color: var(--primary); color: var(--primary); }
.btn-line-dark:hover { background: var(--primary); color: var(--white); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  font: 700 0.84rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 6px;
}
.text-link:hover { color: var(--accent-text); }

/* Header — paper, to suit the heritage badge logo */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 56px; width: auto; }
.brand .brand-name { font: 900 1.25rem/1 var(--display); color: var(--primary); letter-spacing: -0.01em; }
@media (max-width: 520px) { .brand .brand-name { display: none; } }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 30px); white-space: nowrap; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font: 700 0.78rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary); border-bottom-color: var(--accent); }
.nav-links .btn { min-height: 44px; padding: 0 20px; font-size: 0.74rem; color: var(--primary-deep); border-bottom: 0; }
.nav-links .btn:hover { color: var(--primary-deep); }
.menu-toggle { display: none; background: none; border: 0; color: var(--primary); padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-toggle svg { display: block; }

@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 82px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 8px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s;
  }
  .nav-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 18px 0; font-size: 0.85rem; border-bottom: 0; }
  .nav-links li:last-child { border: 0; padding-top: 20px; }
  .nav-links .btn { display: flex; width: 100%; min-height: 52px; padding: 0 18px; }
  .brand img { height: 46px; }
}

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }
.bg-white { background: var(--white); }
.bg-paper-deep { background: var(--paper-deep); }
.bg-primary { background: var(--primary); color: rgba(255,255,255,.88); }
.bg-primary h1, .bg-primary h2, .bg-primary h3 { color: var(--white); }
.bg-primary .eyebrow { color: var(--accent); }
.bg-primary .lead { color: rgba(255,255,255,.82); }
.bg-primary .text-link { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* Brand mark watermark */
.has-mark { position: relative; overflow: hidden; isolation: isolate; }
.has-mark::after {
  content: ""; position: absolute; z-index: -1;
  right: -8%; top: 50%; width: min(52vw, 560px); aspect-ratio: 1;
  transform: translateY(-50%);
  background: url("favicon.png") center / contain no-repeat;
  opacity: .08;
}

/* Hero */
.hero { background: var(--primary-deep); color: rgba(255,255,255,.88); padding: clamp(72px, 11vw, 132px) 0 clamp(68px, 9vw, 112px); }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero h1 .accent-text { color: var(--accent-light); }
.hero .lead { color: rgba(255,255,255,.84); margin-bottom: 2.2rem; }
.hero .eyebrow { color: var(--accent); }
.page-hero { background: var(--primary-deep); color: rgba(255,255,255,.86); padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 8vw, 96px); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 6.4vw, 4.2rem); max-width: 18ch; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero .lead { color: rgba(255,255,255,.82); }

/* Launch hero: badge + text, stacked on mobile */
.launch { background: radial-gradient(120% 120% at 15% 0%, #6E201B 0%, var(--primary-deep) 60%); }
.launch .wrap { display: grid; grid-template-columns: 0.95fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.launch-badge { max-width: 440px; width: 100%; margin: 0 auto; border-radius: 10px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.launch-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 1.6rem;
  background: rgba(203,161,76,.14); border: 1px solid rgba(203,161,76,.5);
  color: var(--accent-light); font: 700 0.74rem/1 var(--body);
  letter-spacing: 0.22em; text-transform: uppercase; padding: 10px 16px; border-radius: 999px;
}
.launch-pill .dotpulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(203,161,76,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(203,161,76,.6)} 70%{box-shadow:0 0 0 10px rgba(203,161,76,0)} 100%{box-shadow:0 0 0 0 rgba(203,161,76,0)} }
@media (max-width: 880px) {
  .launch .wrap { grid-template-columns: 1fr; text-align: center; }
  .launch-badge { max-width: 300px; order: -1; }
  .launch .eyebrow, .launch-pill { justify-content: center; }
  .launch .btn-row, .launch .waitlist { justify-content: center; }
}

.tag-strip { background: var(--primary); color: rgba(255,255,255,.8); border-top: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.tag-strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; padding-top: 20px; padding-bottom: 20px; }
.tag-strip p { margin: 0; font: 700 0.76rem/1.5 var(--body); letter-spacing: 0.18em; text-transform: uppercase; }

/* Photography */
.photo-inline { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-top: 32px; }
.photo-band { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; border-radius: var(--radius); margin-bottom: clamp(24px, 3vw, 32px); }
@media (max-width: 680px) { .photo-band { aspect-ratio: 16 / 9; } }

/* Grids + cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  --card-pad: clamp(28px, 4vw, 40px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--card-pad); display: flex; flex-direction: column;
}
.card-top { border-top: 4px solid var(--accent); }
.card .num { font: 900 1.4rem/1 var(--display); color: var(--accent-text); margin-bottom: 14px; }
.card .ico { font-size: 2rem; margin-bottom: 12px; }
.card p { color: var(--muted); }

.benefit { padding-top: 22px; border-top: 2px solid var(--accent); }
.benefit h3 { font-size: 1.1rem; margin-bottom: 0.5em; }
.benefit p { font-size: 0.97rem; margin: 0; color: var(--muted); }
.bg-primary .benefit p { color: rgba(255,255,255,.76); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.split.center { align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Story */
.story { max-width: 760px; margin: 0 auto; }
.story p { font-size: 1.13rem; line-height: 1.75; color: var(--ink); margin-bottom: 1.25em; }
.story-photo { margin: 2rem 0 2.25rem; }
.story-photo img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 18px 44px rgba(0,0,0,.18); }
.story-photo figcaption { margin-top: .75rem; font-size: .95rem; font-style: italic; color: var(--muted); text-align: center; }
.story p.drop::first-letter { float: left; font: 900 4.2rem/0.8 var(--display); color: var(--primary); padding: 6px 14px 0 0; }
.pull-quote {
  font: 500 clamp(1.5rem, 3vw, 2.2rem)/1.3 var(--display); font-style: italic;
  color: var(--primary); text-align: center; max-width: 24ch; margin: 0 auto;
}
.pull-quote cite { display: block; font: 700 0.8rem/1 var(--body); font-style: normal; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text); margin-top: 1.4rem; }

/* Statement */
.statement { font: 900 clamp(1.8rem, 4vw, 2.9rem)/1.1 var(--display); color: var(--white); margin: 0 0 .6em; max-width: 22ch; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { position: relative; padding: 0 28px 0 0; }
.step .step-no { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font: 900 2.6rem/1 var(--display); color: var(--accent); }
.step .step-no::after { content: ""; flex: 1; height: 2px; background: color-mix(in srgb, var(--accent) 35%, transparent); }
.step:last-child .step-no::after { display: none; }
.step h3 { margin-bottom: .5em; }
.step p { font-size: 0.97rem; margin: 0; }
.bg-primary .step p { color: rgba(255,255,255,.76); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; } .step .step-no::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Waitlist */
.waitlist { display: flex; flex-wrap: wrap; gap: 12px; max-width: 520px; }
.waitlist input[type="email"] {
  flex: 1 1 240px; min-height: 56px; padding: 0 20px;
  font: 400 1rem/1 var(--body); color: var(--ink);
  background: var(--white); border: 2px solid var(--line); border-radius: var(--radius);
}
.waitlist input::placeholder { color: #9a8a78; }
.waitlist input:focus-visible { outline: none; border-color: var(--accent); }
.waitlist .btn { flex: 0 0 auto; }
.waitlist-note { font-size: 0.85rem; color: rgba(255,255,255,.62); margin: 14px 0 0; }
.bg-paper .waitlist-note { color: var(--muted); }
.form-embed iframe { display: block; min-height: 560px; width: 100%; border: 0; }

/* Socials */
.socials { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.social-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 22px 12px 14px; text-decoration: none; color: var(--ink);
  font: 700 0.95rem/1 var(--body); transition: border-color .2s, transform .2s;
}
.social-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.social-btn .ig { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888); }
.social-btn small { display: block; font: 600 0.72rem/1.3 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--primary); padding: clamp(64px, 9vw, 104px) 0; color: rgba(255,255,255,.84); }
.cta-band .wrap { display: grid; grid-template-columns: 1.4fr auto; gap: 32px 48px; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: .35em; }
.cta-band p { margin: 0; max-width: 38rem; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--primary); }

/* Footer */
.site-footer { background: var(--primary-deep); color: rgba(255,255,255,.72); padding: 68px 0 32px; font-size: 0.95rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); }
.footer-top img { width: 120px; margin-bottom: 18px; border-radius: 8px; }
.footer-top h4 { font: 700 0.74rem/1 var(--body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin: 8px 0 18px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-top a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer-top a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: 0.85rem; color: rgba(255,255,255,.52); }
.footer-bottom a { color: inherit; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn .arrow, .launch-pill .dotpulse { transition: none; animation: none; }
}
@media (max-width: 420px) { .btn { white-space: normal; padding: 12px 20px; text-align: center; } }
