/* amywatkins.ca · brand from the Fordivine brand bible (Oct 2026).
   Fonts: Advercase (headlines, DEMO file until licensed), Stellar Medium (body; Barlow Semi Condensed stands in),
   Hammersmith One (eyebrows, free), Adorn Coronet (accents; needs web licence). */

@font-face { font-family: "Advercase"; src: url("/assets/fonts/advercase-demo.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Body"; src: url("/assets/fonts/barlow-semi-condensed-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Body"; src: url("/assets/fonts/barlow-semi-condensed-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hammersmith One"; src: url("/assets/fonts/hammersmith-one.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Adorn Coronet"; src: url("/assets/fonts/adorn-coronet.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --linen: #efefed;
  --marble: #d8d6d1;
  --poolside: #5f747c;
  --poolside-deep: #4c5e65;
  --mocha: #24211e;
  --mocha-soft: #4a4540;
  --matcha: #ceeca0;
  --white: #ffffff;

  /* Advercase demo lacks apostrophes, quotes and dashes: Instrument Serif fills them. */
  --f-disp: "Advercase", "Instrument Serif", Georgia, serif;
  --f-body: "Body", "Arial Narrow", system-ui, sans-serif;
  --f-eye: "Hammersmith One", system-ui, sans-serif;
  --f-script: "Adorn Coronet", "Snell Roundhand", cursive;

  --wrap: 1240px;
  --gut: clamp(20px, 5vw, 56px);
  --sec: clamp(72px, 11vw, 140px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--linen); color: var(--mocha);
  font-family: var(--f-body); font-weight: 500; font-size: 1.125rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
figure, blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--poolside); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--matcha); color: var(--mocha); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--mocha); color: var(--linen); padding: 10px 16px; }
.skip:focus { top: 12px; }

.disp { font-family: var(--f-disp); letter-spacing: -0.01em; line-height: 1.02; }
.h2 { font-size: clamp(2.3rem, 5vw, 4rem); margin-bottom: .5em; }
.h3 { font-size: clamp(1.7rem, 2.6vw, 2.15rem); margin: .2em 0 .35em; }
.eyebrow { font-family: var(--f-eye); font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; margin: 0 0 1.4em; }
.lead { font-size: 1.3rem; line-height: 1.5; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .8em 1.6em; border-radius: 999px;
  font-family: var(--f-eye); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s;
}
.btn-solid { background: var(--poolside); color: var(--white); }
.btn-solid:hover { background: var(--poolside-deep); }
.btn-light { background: var(--linen); color: var(--mocha); }
.btn-light:hover { background: var(--white); }
.btn-ghost-light { color: var(--linen); border-color: rgba(239,239,237,.7); }
.btn-ghost-light:hover { background: rgba(239,239,237,.12); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.link {
  font-family: var(--f-eye); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link span { display: inline-block; transition: transform .25s var(--ease); }
.link:hover span { transform: translateX(4px); }

/* Header: sits over the hero, turns solid once you scroll */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--linen); transition: background .35s, color .35s, box-shadow .35s; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.logo { position: relative; display: block; width: 180px; flex: none; }
.logo img { width: 100%; height: auto; }
.logo .logo-dark { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.logo .logo-light { transition: opacity .35s; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); }
.nav a:not(.btn) { font-family: var(--f-eye); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: currentColor; }
.nav-cta { min-height: 42px; padding: .6em 1.3em; }
.site-header.solid { background: var(--linen); color: var(--mocha); box-shadow: 0 1px 0 rgba(36,33,30,.08); }
.site-header.solid .logo-dark { opacity: 1; }
.site-header.solid .logo-light { opacity: 0; }
.menu { display: none; }

@media (max-width: 1020px) {
  .menu { display: inline-flex; flex-direction: column; justify-content: center; gap: 7px; width: 48px; height: 48px; padding: 12px; background: none; border: 0; color: inherit; cursor: pointer; }
  .menu span:not(.sr) { display: block; height: 1.5px; background: currentColor; transition: transform .3s; }
  .menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
  .menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 84px 0 auto; flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 16px var(--gut) 32px; background: var(--linen); color: var(--mocha);
    box-shadow: 0 12px 24px rgba(36,33,30,.08); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { font-size: .9rem; padding: 12px 0; width: 100%; }
  .nav-cta { margin-top: 12px; }
  .site-header.menu-open { background: var(--linen); color: var(--mocha); }
  .site-header.menu-open .logo-dark { opacity: 1; }
  .site-header.menu-open .logo-light { opacity: 0; }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--linen); overflow: hidden; background: var(--mocha); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,33,30,.45) 0%, rgba(36,33,30,.1) 35%, rgba(36,33,30,.62) 100%); }
.hero-inner { position: relative; width: 100%; padding-top: 140px; padding-bottom: clamp(56px, 9vh, 104px); }
.hero h1 { font-size: clamp(3rem, 8.4vw, 7.4rem); margin-bottom: .32em; }
.hero-sub { max-width: 34em; font-size: clamp(1.1rem, 1.6vw, 1.3rem); margin-bottom: 1.8em; }
.hero .eyebrow { margin-bottom: 1.2em; }

/* Strip */
.strip { background: var(--mocha); color: var(--linen); }
.strip-list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: 34px; padding-bottom: 34px; }
.strip-list li { display: flex; flex-direction: column-reverse; align-items: center; text-align: center; padding: 6px 12px; border-left: 1px solid rgba(239,239,237,.18); }
.strip-list li:first-child { border-left: 0; }
.strip .num { font-family: var(--f-disp); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; }
.strip .lbl { font-family: var(--f-eye); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .75; margin-bottom: 6px; }
@media (max-width: 720px) {
  .strip-list { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .strip-list li:nth-child(3) { border-left: 0; }
}

/* Sections */
.sec { padding: var(--sec) 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media { aspect-ratio: 4 / 3; overflow: hidden; }
.split-media.tall { aspect-ratio: 4 / 5; }
.split-text { max-width: 560px; }
.split-text .btn { margin-top: .6em; }
.sig { width: 150px; margin: 6px 0 22px; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

.bio { background: var(--linen); }

/* Cards */
.cards-sec { background: var(--marble); }
.cards-sec .h2 { margin-bottom: 1.1em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.card { display: flex; flex-direction: column; }
.card-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 22px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card p:not(.tag) { flex: 1; }
.card .link { align-self: flex-start; }
.tag { font-family: var(--f-eye); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--poolside-deep); margin: 0; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* Statement */
.statement { background: var(--linen); }
.statement .h2 { font-family: var(--f-disp); }

/* Trio */
.trio { background: var(--poolside); color: var(--white); }
.trio-words { display: flex; flex-direction: column; font-size: clamp(3rem, 7.5vw, 6.4rem); line-height: .98; margin-bottom: .45em; }
.trio-words span:nth-child(2) { font-family: var(--f-script); font-size: .92em; line-height: 1.2; letter-spacing: 0; padding-left: .35em; }
.trio .link { color: var(--white); }

/* Gallery */
.gallery-sec { padding-bottom: calc(var(--sec) * .7); }
.gallery-sec .eyebrow a { text-decoration: none; border-bottom: 1px solid currentColor; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 820px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* Testimonials */
.quotes { background: var(--marble); }
.quote { display: grid; grid-template-columns: 96px 1fr; gap: 10px 32px; padding: 40px 0; border-top: 1px solid rgba(36,33,30,.15); }
.quote:first-of-type { border-top: 0; }
.quote-photo { grid-row: span 2; width: 96px; height: 96px; border-radius: 50%; background: var(--linen); display: grid; place-items: center; font-family: var(--f-eye); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mocha-soft); }
.quote-head { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: .45em; }
.quote figcaption { font-family: var(--f-eye); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 600px) { .quote { grid-template-columns: 1fr; } .quote-photo { grid-row: auto; } }

/* Waitlist */
.waitlist { background: var(--mocha); color: var(--linen); padding: clamp(72px, 10vw, 120px) 0; }
.waitlist-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ee-logo { width: min(340px, 78vw); margin-bottom: 26px; }
.waitlist-lead { max-width: 30em; font-size: 1.2rem; margin-bottom: 28px; }
.kit { width: 100%; max-width: 560px; }

/* Footer */
.site-footer { background: var(--mocha); color: var(--linen); border-top: 1px solid rgba(239,239,237,.12); padding: 64px 0 40px; }
.footer { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.footer-sig { width: 130px; }
.footer-nav, .social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; list-style: none; margin: 0; padding: 0; }
.footer-nav a, .social a { font-family: var(--f-eye); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; opacity: .85; }
.footer-nav a:hover, .social a:hover { opacity: 1; text-decoration: underline; }
.footer-mail, .legal { margin: 0; font-size: .95rem; opacity: .8; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Intro ---------- */
.intro { display: none; }
.intro-on .intro {
  display: block; position: fixed; inset: 0; z-index: 100; background: #0f0e0d; color: var(--linen);
  transition: clip-path .7s var(--ease);
  clip-path: inset(0 0 0 0);
}
.intro-on body { overflow: hidden; }
.intro.opening { clip-path: inset(0 0 100% 0); }
.intro-frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.intro-frames img.show { opacity: 1; }
.intro-line {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; width: 90%;
  text-align: center; font-family: var(--f-disp); font-size: clamp(2.2rem, 6.5vw, 5.4rem); line-height: 1.05;
  opacity: 0;
}
.intro-line.show { transition: opacity .45s ease; }
.intro-line.intro-script { font-family: var(--f-script); font-size: clamp(2.4rem, 6vw, 5rem); }
.intro-line.show, .intro-sig.show { opacity: 1; }
.intro-sig { position: absolute; left: 50%; top: 50%; width: min(300px, 60vw); transform: translate(-50%, -50%); opacity: 0; }
.intro-sig.show { transition: opacity .6s ease; }
.intro-skip {
  position: absolute; right: var(--gut); bottom: 28px; background: none; border: 1px solid rgba(239,239,237,.5); border-radius: 999px;
  color: var(--linen); font-family: var(--f-eye); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 10px 18px; cursor: pointer;
}
.intro-skip:hover { background: rgba(239,239,237,.12); }

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

@media (max-width: 720px) {
  .hero-media { object-position: 72% 30%; }
  .hero-shade { background: linear-gradient(180deg, rgba(36,33,30,.35) 0%, rgba(36,33,30,.35) 30%, rgba(36,33,30,.78) 62%, rgba(36,33,30,.85) 100%); }
}
