/* =====================================================================
   That Girl Journals — Spring/Summer Planner 2026
   Local prototype · v3 · NEW COLOUR LAUNCH (yellow + soft blue + cream)
   Real brand fonts: Chelsie Hilton (script) + Garamond Premier Pro (serif)
   downloaded from the live site, served locally.
   ===================================================================== */

@font-face {
  font-family: "Chelsie Hilton";
  src: url("./fonts/ChelsieHilton.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Garamond Premier Pro";
  src: url("./fonts/Garamond-Premier-Pro-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* NEW COLOUR LAUNCH — soft butter yellow + powder blue + warm cream
     Text anchored in deep ink (NOT brown — brand is shifting away from brown
     for this launch). Ink reads naturally against both yellow and soft blue. */
  --page:        #FBF7EC;   /* warm off-white, slightly yellow */
  --cream:       #F5EED9;   /* deeper cream */
  --butter:      #FEF5B5;   /* soft butter yellow — the new launch colour */
  --butter-deep: #FCE974;   /* deeper yellow for accents/seal */
  --blue-soft:   #C9E4EE;   /* powder blue — soft, the new launch blue */
  --blue-mid:    #9BCBDB;   /* slightly deeper for script + accents */
  --blue-deep:   #5BA4B8;   /* deeper still for hover + accent text */

  --ink:         #1D4E5C;   /* deep teal-ink — primary text + buttons */
  --ink-dark:    #0F3540;   /* darker for hover */
  --ink-soft:    #3D6E7C;   /* secondary body text */
  --ink-mute:    #7A9BA5;   /* captions, tertiary */

  /* legacy aliases so existing rules don't break — all point at ink now */
  --brown:       #1D4E5C;
  --brown-soft:  #3D6E7C;
  --brown-mute:  #7A9BA5;
  --beige:       #F5EED9;

  /* type stacks — REAL site fonts loaded above */
  --serif:  "Garamond Premier Pro", "Garamond", "EB Garamond", Georgia, serif;
  --body:   "Garamond Premier Pro", Georgia, "Times New Roman", serif;
  --script: "Chelsie Hilton", "Pinyon Script", cursive;
  --sans:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max:    1440px;
  --gutter: clamp(24px, 6vw, 96px);

  --ease:    cubic-bezier(.2, .8, .2, 1);
  --ease-soft: cubic-bezier(.2, .7, .2, 1);

  --radius-pill: 999px;
  --radius-card: 28px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--brown); color: var(--butter); }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body);
  background: var(--page);
  color: var(--brown-soft);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

/* =====================================================================
   TYPOGRAPHY PRIMITIVES
   ===================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 26px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.eyebrow--light { color: rgba(251, 247, 236, 0.94); }
.eyebrow--light::before { background: rgba(251, 247, 236, 0.6); }

/* All display headings use Garamond Premier Pro — the actual site font.
   Default is upright; italic feel comes from selective use of <em> for
   the script-font moments. */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  color: var(--brown);
  line-height: 1.06;
  letter-spacing: -0.005em;
}
.display em {
  font-family: var(--script);
  font-style: normal;
  color: var(--blue-mid);
  font-size: 1.32em;
  line-height: 0.85;
  display: inline-block;
  vertical-align: -0.08em;
  padding: 0 0.04em;
  font-weight: 400;
}
.display--hero {
  font-size: clamp(40px, 5.6vw, 86px);
  color: var(--page);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45), 0 0 60px rgba(0, 0, 0, 0.18);
  max-width: 18ch;
  line-height: 1.06;
}
.display--mega {
  font-size: clamp(54px, 8.6vw, 130px);
  text-align: center;
  line-height: 0.96;
  letter-spacing: -0.012em;
  color: var(--brown);
}
.display--mid {
  font-size: clamp(34px, 4.6vw, 66px);
  line-height: 1.08;
}
.display--light { color: var(--brown); }
.display--light em { color: var(--page); }

p {
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--brown-soft);
}

/* =====================================================================
   CTA — pill button, dark brown matches live site
   ===================================================================== */

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 38px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cta__arrow {
  display: inline-block;
  font-size: 14px;
  transition: transform 0.4s var(--ease);
}
.cta:hover .cta__arrow { transform: translateX(6px); }

.cta--brown,
.cta--blue,
.cta--ink {
  background: var(--brown);
  color: var(--page);
  box-shadow: 0 14px 32px -18px rgba(29, 78, 92, 0.6);
}
.cta--brown:hover,
.cta--blue:hover,
.cta--ink:hover {
  background: #0F3540;
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -20px rgba(29, 78, 92, 0.7);
}

.cta--cream {
  background: var(--butter);
  color: var(--brown);
  box-shadow: 0 14px 32px -18px rgba(0, 0, 0, 0.18);
}
.cta--cream:hover {
  background: var(--butter-deep);
  transform: translateY(-2px);
}

/* =====================================================================
   NAV
   ===================================================================== */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--gutter);
  background: linear-gradient(to bottom, rgba(29, 78, 92, 0.4), rgba(29, 78, 92, 0));
  color: var(--page);
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(251, 247, 236, 0.96);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  padding: 16px var(--gutter);
  box-shadow: 0 14px 40px -28px rgba(29, 78, 92, 0.32);
  color: var(--brown);
}

.nav__brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  font-family: var(--script);
  font-size: 36px;
  line-height: 0.78;
  letter-spacing: 0.005em;
}
.nav__brand-line:nth-child(2) {
  padding-left: 30px;
  opacity: 0.92;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav__cta {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: var(--butter);
  color: var(--brown);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-scrolled .nav__cta {
  background: var(--brown);
  color: var(--page);
}
.nav__cta:hover {
  transform: translateY(-2px);
  background: var(--butter-deep);
}
.nav.is-scrolled .nav__cta:hover { background: #0F3540; }

.nav__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background 0.3s ease;
}
.nav__cart:hover { background: rgba(251, 247, 236, 0.16); }
.nav.is-scrolled .nav__cart:hover { background: rgba(29, 78, 92, 0.1); }
.nav__cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  background: var(--butter);
  color: var(--brown);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.nav.is-scrolled .nav__cart-count {
  background: var(--brown);
  color: var(--butter);
}

/* =====================================================================
   HERO  — kept (user likes it), seal back in yellow
   ===================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 0 16vh 0;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: 50% 28%;
  z-index: -2;
  will-change: transform;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(29, 78, 92, 0.18) 0%, rgba(29, 78, 92, 0) 30%, rgba(29, 78, 92, 0.55) 100%),
    linear-gradient(90deg, rgba(29, 78, 92, 0.32) 0%, rgba(29, 78, 92, 0) 50%);
  z-index: -1;
}
.hero__content {
  padding: 0 var(--gutter);
  max-width: 1100px;
}
.hero__content .display { margin-bottom: 44px; }

.hero__seal {
  position: absolute;
  top: 16vh;
  right: clamp(24px, 8vw, 110px);
  width: 184px;
  height: 184px;
  border-radius: 50%;
  background: var(--butter);
  border: 1px solid rgba(29, 78, 92, 0.25);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
  line-height: 1.55;
  transform: rotate(-8deg);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.42);
  animation: seal-bob 7s ease-in-out infinite;
  z-index: 5;
}
@keyframes seal-bob {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50%      { transform: rotate(-5deg) translateY(-12px); }
}

.hero__scroll {
  position: absolute;
  bottom: 2vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(251, 247, 236, 0.74);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(251, 247, 236, 0.85), rgba(251, 247, 236, 0));
  animation: scroll-line 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%      { transform: scaleY(0.42); opacity: 0.5; }
}

/* =====================================================================
   MARQUEE — subtle ribbon, small italic on page bg
   ===================================================================== */

.marquee {
  background: var(--page);
  color: var(--ink-soft);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 36px;
  animation: marquee 70s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.06em;
  opacity: 0.62;
}
.marquee__dot {
  color: var(--blue-mid);
  font-size: 0.85em;
  opacity: 0.6;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =====================================================================
   TAGLINE — soft yellow band, the new launch colour as the hero moment
   ===================================================================== */

.tagline {
  background: var(--butter);
  padding: clamp(110px, 16vh, 200px) 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tagline::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1200px, 95vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}
.tagline > * { position: relative; z-index: 1; }
.tagline .eyebrow { margin-bottom: 32px; }
.tagline__sub {
  display: block;
  margin-top: 36px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 22px);
  color: var(--brown-soft);
  letter-spacing: 0.005em;
}

/* =====================================================================
   PILLARS — three columns, gentle stagger
   ===================================================================== */

.pillars {
  padding: clamp(110px, 14vh, 170px) var(--gutter);
  background: var(--page);
}
.pillars__intro {
  max-width: 720px;
  margin: 0 0 80px;
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(36px, 4.4vw, 64px);
  max-width: var(--max);
  margin: 0 auto;
}
.pillar {
  display: flex;
  flex-direction: column;
  position: relative;
}
/* live site has pillars in a clean row — no dramatic stagger */
.pillar__num {
  font-family: var(--serif);
  font-size: clamp(36px, 3.6vw, 50px);
  color: var(--blue-mid);
  line-height: 1;
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}
.pillar__img-wrap {
  margin: 0 0 32px;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 5;
  background: var(--cream);
}
.pillar__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease-soft);
}
.pillar:hover .pillar__img-wrap img { transform: scale(1.05); }
.pillar__title {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 16px;
}
.pillar p {
  max-width: 36ch;
}

/* =====================================================================
   FEATURE — 50/50 split with editorial caption tag
   ===================================================================== */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
  min-height: 78vh;
  position: relative;
}
.feature__img {
  position: relative;
  overflow: hidden;
  min-height: 56vh;
}
.feature__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}
.feature__tag {
  position: absolute;
  bottom: 28px;
  left: 28px;
  display: inline-block;
  padding: 11px 22px;
  background: var(--butter);
  color: var(--brown);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  box-shadow: 0 14px 32px -18px rgba(0, 0, 0, 0.32);
}
.feature__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(50px, 7vw, 110px);
  max-width: 720px;
}
.feature__text .display { margin-bottom: 32px; }
.feature__text > p {
  font-size: 16.5px;
  margin-bottom: 32px;
  max-width: 50ch;
}
.feature__list {
  list-style: none;
  margin: 0 0 44px;
  padding: 0;
}
.feature__list li {
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--brown-soft);
  padding: 14px 0;
  border-top: 1px solid rgba(29, 78, 92, 0.18);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.feature__list li span {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
  min-width: 130px;
}
.feature__list li:last-child {
  border-bottom: 1px solid rgba(29, 78, 92, 0.18);
}

/* =====================================================================
   HOWTO — soft blue band (the new launch's blue moment)
   ===================================================================== */

.howto {
  background: var(--blue-soft);
  padding: clamp(110px, 14vh, 170px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.howto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.42) 0%, transparent 60%);
  pointer-events: none;
}
.howto__head {
  text-align: center;
  margin: 0 auto 80px;
  max-width: 900px;
  position: relative;
}
.howto__head .eyebrow { color: var(--brown); }
.howto__head .eyebrow::before { background: var(--brown); }
.howto__head .display { color: var(--brown); }
.howto__head .display em { color: var(--page); }
.howto__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.howto-card {
  background: var(--page);
  border-radius: var(--radius-card);
  padding: 48px 38px 44px;
  display: flex;
  flex-direction: column;
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
  box-shadow: 0 24px 50px -36px rgba(29, 78, 92, 0.32);
}
/* live site keeps cards in a clean row — no stagger */
.howto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 36px 70px -32px rgba(29, 78, 92, 0.4);
}
.howto-card__num {
  display: block;
  font-family: var(--serif);
  font-size: 86px;
  line-height: 0.9;
  color: var(--blue-mid);
  margin-bottom: 18px;
}
.howto-card__label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 22px;
}
.howto-card p {
  color: var(--brown-soft);
  font-size: 14.5px;
  line-height: 1.72;
}

/* =====================================================================
   PULLQUOTE — script font hero moment
   ===================================================================== */

.pullquote {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--page);
  min-height: 80vh;
}
.pullquote__img {
  overflow: hidden;
  min-height: 56vh;
}
.pullquote__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.pullquote__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(50px, 7vw, 130px);
}
.pullquote__sans {
  display: block;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--brown);
  line-height: 1.2;
  margin-bottom: 4px;
}
.pullquote__script {
  display: block;
  font-family: var(--script);
  font-size: clamp(80px, 10vw, 156px);
  color: var(--blue-mid);
  line-height: 0.85;
  letter-spacing: -0.005em;
  margin-bottom: 18px;
}
.pullquote__sans + .pullquote__script { margin-top: -6px; }
.pullquote__script:last-of-type { margin-bottom: 44px; }

/* =====================================================================
   FOUNDER — cream bg, photo collage left, quote right
   ===================================================================== */

.founder {
  background: var(--cream);
  padding: clamp(110px, 14vh, 170px) var(--gutter);
}
.founder__head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 90px;
}
.founder__body {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(50px, 7vw, 100px);
  max-width: 1300px;
  margin: 0 auto;
  align-items: start;
}
.founder__photos {
  position: relative;
  min-height: 540px;
}
.founder__photo {
  position: absolute;
  border-radius: 4px;
  box-shadow: 0 24px 50px -28px rgba(29, 78, 92, 0.32);
  object-fit: cover;
}
.founder__photo--main {
  width: 70%;
  aspect-ratio: 4 / 5;
  top: 0;
  left: 0;
  z-index: 1;
}
.founder__photo--alt {
  width: 48%;
  aspect-ratio: 3 / 4;
  top: 52%;
  right: 0;
  transform: rotate(2deg);
  z-index: 2;
}
.founder__caption {
  position: absolute;
  bottom: -32px;
  left: 4%;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown-mute);
  z-index: 3;
}
.founder__quote {
  position: relative;
  padding-top: 32px;
}
.founder__mark {
  font-family: var(--serif);
  font-size: 140px;
  color: var(--blue-mid);
  line-height: 0.4;
  display: block;
  margin-bottom: -4px;
  user-select: none;
}
.founder__quote p {
  font-family: var(--serif);
  font-size: clamp(20px, 1.9vw, 28px);
  color: var(--brown-soft);
  line-height: 1.5;
  max-width: 28ch;
  margin-bottom: 32px;
}
.founder__attrib {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 36px;
}

/* =====================================================================
   FOOTER
   ===================================================================== */

.footer {
  background: var(--cream);
  padding: 70px var(--gutter) 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  border-top: 1px solid rgba(29, 78, 92, 0.1);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer__script {
  font-family: var(--script);
  font-size: 48px;
  color: var(--brown);
  line-height: 0.85;
}
.footer__by {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--brown-soft);
  padding-left: 32px;
}
.footer__meta {
  text-align: right;
}
.footer__meta p {
  font-size: 13px;
  color: var(--brown);
  margin-bottom: 6px;
}
.footer__meta a {
  color: var(--brown);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.footer__copy {
  opacity: 0.6;
  font-size: 11px !important;
}

/* =====================================================================
   SCROLL-DRIVEN ANIMATIONS (progressive enhancement)
   ===================================================================== */

@supports (animation-timeline: view()) {
  .pillar,
  .feature__text > *,
  .howto-card,
  .founder__quote > *,
  .pullquote__text > * {
    animation: rise-in linear both;
    animation-timeline: view();
    animation-range: entry 4% cover 28%;
  }
  .hero__bg {
    animation: hero-zoom linear both;
    animation-timeline: scroll(root);
    animation-range: 0 100vh;
  }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.1) translateY(3%); }
}

/* =====================================================================
   RESPONSIVE — tablet
   ===================================================================== */

@media (max-width: 1100px) {
  .feature { grid-template-columns: 1fr; }
  .feature__img { aspect-ratio: 16 / 10; min-height: auto; }
  .feature__text { padding: 60px 48px; }
  .pullquote { grid-template-columns: 1fr; }
  .pullquote__img { aspect-ratio: 16 / 10; min-height: auto; }
  .pullquote__text { padding: 60px 48px; }
  .pillars__grid { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .howto__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .founder__body { grid-template-columns: 1fr; gap: 60px; }
  .founder__photos { min-height: 420px; }
  .founder__photo--main { width: 60%; }
  .founder__photo--alt { width: 44%; top: 48%; }
  .footer { grid-template-columns: 1fr; text-align: center; }
  .footer__brand { align-items: center; }
  .footer__by { padding-left: 0; }
  .footer__meta { text-align: center; }
}

/* =====================================================================
   RESPONSIVE — mobile landscape / large phone
   ===================================================================== */

@media (max-width: 768px) {
  :root { --gutter: 24px; }

  /* nav */
  .nav { padding: 20px 20px; }
  .nav__brand { font-size: 24px; }
  .nav__cta { padding: 8px 14px; font-size: 8px; letter-spacing: 0.16em; }
  .nav__cart { width: 36px; height: 36px; }
  .nav.is-scrolled { padding: 12px 20px; }

  /* hero */
  .hero { padding-bottom: 10vh; }
  .hero__seal {
    width: 110px; height: 110px;
    font-size: 9px; letter-spacing: 0.14em;
    top: 12vh; right: 5vw;
  }
  .hero__scroll { display: none; }

  /* display type */
  .display--hero { font-size: clamp(32px, 9vw, 50px); max-width: 16ch; }
  .display--mega { font-size: clamp(44px, 12vw, 72px); }
  .display--mid { font-size: clamp(28px, 7vw, 40px); }
  .display em { font-size: 1.2em; }

  /* eyebrow */
  .eyebrow { font-size: 10px; letter-spacing: 0.22em; margin-bottom: 20px; }
  .eyebrow::before { width: 20px; }

  /* pillars */
  .pillars { padding: 80px var(--gutter); }
  .pillars__intro { margin-bottom: 48px; }
  .pillars__grid { grid-template-columns: 1fr; gap: 56px; }
  .pillar__img-wrap { aspect-ratio: 3 / 4; }
  .pillar__num { font-size: 32px; margin-bottom: 16px; }
  .pillar__title { font-size: 11px; }

  /* feature */
  .feature { min-height: auto; }
  .feature__img { aspect-ratio: 4 / 3; min-height: auto; }
  .feature__text { padding: 48px 24px; }
  .feature__text .display { margin-bottom: 24px; }
  .feature__list li { flex-direction: column; gap: 4px; }
  .feature__list li span { min-width: auto; }
  .feature__tag { bottom: 16px; left: 16px; font-size: 9px; padding: 8px 16px; }

  /* howto */
  .howto { padding: 80px var(--gutter); }
  .howto__head { margin-bottom: 48px; }
  .howto__grid { grid-template-columns: 1fr; gap: 24px; }
  .howto-card { padding: 36px 28px; border-radius: 20px; }
  .howto-card__num { font-size: 56px; margin-bottom: 12px; }
  .howto-card__label { font-size: 9px; margin-bottom: 16px; }

  /* pullquote */
  .pullquote { min-height: auto; }
  .pullquote__img { aspect-ratio: 4 / 3; min-height: auto; }
  .pullquote__text { padding: 48px 24px; }
  .pullquote__sans { font-size: 18px; }
  .pullquote__script { font-size: clamp(64px, 16vw, 96px); margin-bottom: 14px; }
  .pullquote__script:last-of-type { margin-bottom: 36px; }

  /* founder */
  .founder { padding: 80px var(--gutter); }
  .founder__head { margin-bottom: 56px; }
  .founder__photos { min-height: 340px; }
  .founder__photo--main { width: 68%; }
  .founder__photo--alt { width: 48%; top: 46%; }
  .founder__caption { bottom: -24px; font-size: 9px; }
  .founder__mark { font-size: 100px; }
  .founder__quote p { font-size: 20px; max-width: none; }
  .founder__attrib { margin-bottom: 28px; }

  /* cta */
  .cta { padding: 14px 28px; font-size: 10px; }

  /* footer */
  .footer { padding: 56px 24px 40px; }
  .footer__script { font-size: 36px; }
  .footer__by { font-size: 16px; }
}

/* =====================================================================
   RESPONSIVE — small phone (375px and below)
   ===================================================================== */

@media (max-width: 420px) {
  .nav__brand { font-size: 20px; }
  .nav__brand-line:nth-child(2) { padding-left: 18px; }
  .nav__cta { padding: 7px 12px; font-size: 7px; letter-spacing: 0.14em; }

  .hero__seal { width: 90px; height: 90px; font-size: 8px; top: 10vh; }
  .hero__content .display { margin-bottom: 32px; }

  .display--hero { font-size: 30px; line-height: 1.08; }
  .display--mid { font-size: 26px; }
  .display em { font-size: 1.15em; }

  .pillars__grid { gap: 44px; }
  .pillar__img-wrap { aspect-ratio: 1 / 1; }

  .howto-card__num { font-size: 44px; }

  .pullquote__script { font-size: 56px; }

  .founder__photos { min-height: 280px; }
  .founder__photo--main { width: 72%; }
  .founder__photo--alt { width: 50%; top: 44%; }
  .founder__mark { font-size: 80px; }
  .founder__quote p { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
