/* =========================================================================
   Just Build It · funnel system (B), in Susie's own brand
   Warm white canvas, espresso ink, muted gold detail. Cormorant Garamond
   display (her toolkit headings) + Jost text. Light, calm, editorial.
   Signature detail: the swatch rule (a hairline with a small gold square,
   like a fabric sample tag), used once per section head.
   ========================================================================= */

@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-600.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-500i.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-600.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
  --bg: #faf8f4;
  --bg-2: #f1ece4;
  --surface: #ffffff;
  --ink: #2b2724;
  --ink-2: #625951;
  --ink-3: #6f655b;
  --gold: #a8915f;          /* decorative only: rules, squares, rings */
  --gold-text: #7d6838;     /* gold used as small text */
  --line: rgba(43, 39, 36, 0.12);
  --line-soft: rgba(43, 39, 36, 0.07);
  --espresso: #2b2724;      /* CTA fill, the toolkit cover */
  --espresso-2: #3a342f;
  --on-espresso: #faf8f4;
  --display: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
/* one continuous page canvas, so sections never seam (design.md rule 11) */
body {
  margin: 0; color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(168, 145, 95, 0.10), transparent 70%),
    radial-gradient(60% 30% at 0% 55%, rgba(241, 236, 228, 0.9), transparent 70%),
    radial-gradient(60% 30% at 100% 85%, rgba(241, 236, 228, 0.9), transparent 70%),
    var(--bg);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--espresso); color: var(--on-espresso); }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
.narrow { max-width: 880px; }
.section { padding-block: clamp(72px, 10vw, 120px); position: relative; }
.center { text-align: center; }

/* ---------------------------- type ---------------------------- */
h1, h2, h3 { font-variant-numeric: lining-nums; margin: 0; font-family: var(--display); font-weight: 500; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.06; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -0.005em; }
h3 { font-size: 1.6rem; line-height: 1.2; }
.eyebrow { display: inline-block; margin: 0 0 20px; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-text); }
.lead { margin: 22px auto 0; max-width: 58ch; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); }
em.serif { font-family: var(--display); font-style: italic; }

/* the swatch rule: hairline + gold square, sits under section heads */
.swatch { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 26px auto 0; width: 150px; }
.swatch::before, .swatch::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.swatch i { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(48px, 7vw, 72px); }

/* --------------------------- buttons --------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 38px; border-radius: 999px;
  font-family: var(--sans); font-size: 0.98rem; font-weight: 500; letter-spacing: 0.04em; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease); }
.btn-primary { background: var(--espresso); color: var(--on-espresso); box-shadow: 0 16px 34px -18px rgba(43, 39, 36, 0.55); }
.btn-primary:hover { transform: translateY(-2px); background: var(--espresso-2); box-shadow: 0 22px 40px -18px rgba(43, 39, 36, 0.6); }
.btn .ar { transition: transform 0.35s var(--ease); }
.btn:hover .ar { transform: translateX(3px); }

/* ---------------------------- footer ---------------------------- */
/* branding-only banner, 1.5x the lockup height, lockup dead centre */
.foot { display: flex; align-items: center; justify-content: center; height: 54px; background: var(--espresso); }
.lockup { font-family: var(--display); font-size: 1.35rem; line-height: 36px; height: 36px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-espresso); }

/* -------------------------- reveal motion -------------------------- */
.reveal { opacity: 1; transform: none; }
.js .reveal.pre { opacity: 0; transform: translateY(18px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal.pre { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* -------------------------- video frames -------------------------- */
.vgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 960px; margin: 0 auto; }
.vcard { text-align: center; min-width: 0; }
.vframe { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); display: grid; place-items: center; }
.vframe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vframe::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(43, 39, 36, 0.35)); }
.vplay { position: relative; z-index: 1; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: rgba(250, 248, 244, 0.94); color: var(--espresso); box-shadow: 0 14px 30px -10px rgba(43, 39, 36, 0.5); transition: transform 0.35s var(--ease); }
.vframe:hover .vplay { transform: scale(1.06); }
.vplay svg { width: 22px; height: 22px; margin-left: 3px; }
.vname { margin: 22px 0 4px; font-family: var(--display); font-size: 1.45rem; font-weight: 600; }
.vdesc { margin: 0 auto; max-width: 36ch; font-size: 0.98rem; color: var(--ink-2); }
.swap-tag { position: absolute; z-index: 1; top: 12px; left: 12px; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); background: rgba(250, 248, 244, 0.9); border-radius: 999px; padding: 5px 10px; }

/* ---------------------- proof (equal quote cards) ---------------------- */
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 230px; padding: 30px 28px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: 0 24px 50px -40px rgba(43, 39, 36, 0.4); }
.quote p { margin: 0; font-family: var(--display); font-size: 1.45rem; line-height: 1.3; }
.quote footer { display: flex; align-items: center; gap: 12px; font-size: 0.86rem; color: var(--ink-2); }
.quote footer b { display: block; color: var(--ink); font-weight: 500; }
.quote .initial { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font-family: var(--display); font-size: 1.15rem; color: var(--gold-text); }

@media (max-width: 860px) {
  .vgrid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .quote { min-height: 0; }
}
