/* ============================================================
   KNEL — KNOWN & CO... (site styles)
   Manel Methni-Ouertani — Emotional & Menstrual Health Coach
   Palette: plum / rose-deep / cream / gold
   ============================================================ */

:root {
  --plum-950: #170a13;
  --plum-900: #1e0f1a;
  --plum-800: #29141f;
  --plum: #33182a;
  --plum-600: #452134;
  --rose-deep: #7d4552;
  --rose: #965a68;
  --rose-300: #b87b86;
  --rose-100: #efdfdd;
  --rose-50: #f8eeec;
  --cream: #fdfbf7;
  --linen: #f7efe6;
  --gold: #c69b67;
  --gold-200: #e3c9a2;
  --gold-300: #f0dfc4;
  --ink: #271320;

  --shadow-soft: 0 30px 60px -40px rgba(39, 19, 32, 0.45);
  --shadow-lift: 0 40px 80px -44px rgba(39, 19, 32, 0.55);
  --hair-gold: rgba(198, 155, 103, 0.42);
  --hair-cream: rgba(253, 251, 247, 0.16);

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16.5px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

::selection {
  background: var(--rose);
  color: var(--cream);
}

/* ---------- fine paper grain ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
}

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 58px);
}

.section {
  position: relative;
  padding: clamp(76px, 9vw, 136px) 0;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
}

.eyebrow--dark {
  color: var(--rose-deep);
}

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.display em {
  font-style: italic;
  font-weight: 300;
}

.lede {
  font-size: 1.02rem;
  line-height: 1.85;
  color: color-mix(in srgb, var(--ink) 78%, var(--cream));
  text-wrap: pretty;
}

.rule {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
}

.rule::before,
.rule::after {
  content: "";
  height: 1px;
  width: clamp(30px, 6vw, 64px);
  background: currentColor;
  opacity: 0.55;
}

.rule span {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--plum);
  --btn-ink: var(--cream);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8em;
  padding: 1.06em 2.1em;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    background-color 0.45s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(255, 255, 255, 0.34) 48%,
    transparent 76%
  );
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--gold {
  background: linear-gradient(104deg, #d8b586 0%, var(--gold) 48%, #b0864f 100%);
  color: #2a1520;
  box-shadow: 0 18px 36px -22px rgba(198, 155, 103, 0.9);
}

.btn--gold:hover {
  box-shadow: 0 24px 46px -20px rgba(198, 155, 103, 0.95);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(253, 251, 247, 0.34);
}

.btn--ghost:hover {
  border-color: var(--gold-200);
  color: var(--gold-300);
}

.btn--rose {
  background: var(--rose);
  color: var(--cream);
}

.btn--rose:hover {
  background: var(--rose-deep);
}

.btn--plum {
  background: var(--plum);
  color: var(--cream);
}

.btn--plum:hover {
  background: var(--plum-600);
}

.btn--outline-gold {
  background: transparent;
  border-color: var(--hair-gold);
  color: var(--gold-200);
}

.btn--outline-gold:hover {
  background: rgba(198, 155, 103, 0.12);
  border-color: var(--gold);
  color: var(--gold-300);
}

.btn .arrow {
  width: 16px;
  height: 8px;
  flex: none;
  transition: transform 0.45s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition:
    background-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    backdrop-filter 0.5s var(--ease),
    border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 88px;
  --logo-h: 46px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(22px, 4.5vw, 58px);
  transition: height 0.5s var(--ease);
}

.site-header.is-stuck {
  background: rgba(253, 251, 247, 0.9);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: rgba(39, 19, 32, 0.08);
  box-shadow: 0 10px 40px -30px rgba(39, 19, 32, 0.6);
}

.site-header.is-stuck .bar {
  height: 72px;
  --logo-h: 38px;
}

/* logo */
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--cream);
  transition: opacity 0.4s var(--ease);
  line-height: 0;
  flex: none;
}

.brand:hover {
  opacity: 0.82;
}

/* two-tone assets swap so the mark always sits on the right background */
.brand img {
  display: block;
  height: var(--logo-h, 46px);
  width: auto;
}

.brand .logo-dark {
  display: none;
}

.site-header.is-stuck .brand .logo-light {
  display: none;
}

.site-header.is-stuck .brand .logo-dark {
  display: block;
}

/* nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 38px);
}

.nav-links a {
  position: relative;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253, 251, 247, 0.86);
  padding: 6px 0;
  transition: color 0.35s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-links a:hover {
  color: var(--cream);
}

.site-header.is-stuck .nav-links a {
  color: rgba(39, 19, 32, 0.74);
}

.site-header.is-stuck .nav-links a:hover,
.site-header.is-stuck .nav-links a.is-active {
  color: var(--rose-deep);
}

.header-cta {
  padding: 0.92em 1.5em;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
}

.header-cta.btn--rose {
  box-shadow: 0 14px 30px -20px rgba(150, 90, 104, 0.9);
}

.site-header.is-stuck .header-cta.btn--rose {
  background: var(--plum);
}

.site-header.is-stuck .header-cta.btn--rose:hover {
  background: var(--rose-deep);
}

/* mobile toggle */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(253, 251, 247, 0.3);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.4s var(--ease);
}

/* bars are absolutely centred so both diagonals cross on one point */
.nav-toggle i {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 17px;
  height: 1px;
  margin: -0.5px 0 0 -8.5px;
  background: var(--cream);
  transition:
    transform 0.4s var(--ease),
    opacity 0.3s var(--ease),
    background-color 0.4s var(--ease);
}

.site-header.is-stuck .nav-toggle {
  border-color: rgba(39, 19, 32, 0.2);
}

.site-header.is-stuck .nav-toggle i {
  background: var(--ink);
}

/* closed: three evenly stacked bars */
.nav-toggle i:nth-child(1) {
  transform: translateY(-6px);
}
.nav-toggle i:nth-child(2) {
  transform: translateY(0);
}
.nav-toggle i:nth-child(3) {
  transform: translateY(6px);
}

/* open: bars 1 and 3 converge on the centre and rotate into an X */
.nav-open .nav-toggle i:nth-child(1) {
  transform: rotate(45deg);
}
.nav-open .nav-toggle i:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}
.nav-open .nav-toggle i:nth-child(3) {
  transform: rotate(-45deg);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 78% 6%, rgba(150, 90, 104, 0.34) 0%, transparent 58%),
    radial-gradient(80% 70% at 8% 100%, rgba(198, 155, 103, 0.14) 0%, transparent 62%),
    linear-gradient(168deg, var(--plum-800) 0%, var(--plum) 46%, var(--plum-900) 100%);
  color: var(--cream);
  padding-top: 88px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  /* delicate radiating starburst, top-right */
  content: "";
  position: absolute;
  top: -260px;
  right: -180px;
  width: 780px;
  height: 780px;
  z-index: -1;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(227, 201, 162, 0.34) 0deg 0.28deg,
    transparent 0.28deg 6deg
  );
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 66%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 66%);
  opacity: 0.75;
}

.hero::after {
  /* thin gold horizon line at the very bottom */
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(198, 155, 103, 0.5),
    rgba(198, 155, 103, 0.16),
    transparent
  );
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
  padding-top: clamp(52px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
  min-height: min(92vh, 840px);
}

.hero-copy {
  max-width: 600px;
}

.mobile-panel .brand {
  --logo-h: 64px;
  padding-bottom: 22px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
  flex: none;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 1.3rem + 5.2vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero h1 .line {
  display: block;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-200);
}

.hero-sub {
  margin-top: 26px;
  max-width: 42ch;
  font-size: clamp(0.98rem, 0.9rem + 0.25vw, 1.1rem);
  line-height: 1.9;
  color: rgba(253, 251, 247, 0.76);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 36px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(253, 251, 247, 0.12);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253, 251, 247, 0.6);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-meta i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

/* portrait */
.hero-figure {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 470px;
  padding-left: 22px;
}

.arch {
  position: relative;
  aspect-ratio: 0.78;
  border-radius: 50% 50% 6px 6px / 34% 34% 1.5% 1.5%;
  overflow: hidden;
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(227, 201, 162, 0.3);
}

.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  filter: saturate(1.02) contrast(1.02);
  transform: scale(1.02);
}

.arch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(31, 14, 25, 0.5) 0%,
    rgba(51, 24, 42, 0.08) 38%,
    transparent 62%
  );
  pointer-events: none;
}

.hero-figure .arch-outline {
  position: absolute;
  inset: -18px -18px 18px -18px;
  border: 1px solid var(--hair-gold);
  border-radius: 50% 50% 6px 6px / 33% 33% 1.5% 1.5%;
  pointer-events: none;
}

.hero-figure .arch-outline::before,
.hero-figure .arch-outline::after {
  content: "";
  position: absolute;
  bottom: -4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-figure .arch-outline::before {
  left: -3px;
}
.hero-figure .arch-outline::after {
  right: -3px;
}

/* rotating seal */
.seal {
  position: absolute;
  left: -26px;
  bottom: 24px;
  width: 138px;
  height: 138px;
  z-index: 3;
  border-radius: 50%;
  background: var(--plum-900);
  border: 1px solid var(--hair-gold);
  display: grid;
  place-items: center;
  box-shadow: 0 24px 50px -26px rgba(0, 0, 0, 0.9);
}

.seal svg.ring {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  animation: spin 44s linear infinite;
}

.seal svg.ring text {
  font-family: var(--sans);
  font-size: 8.4px;
  letter-spacing: 0.26em;
  fill: var(--gold-200);
  text-transform: uppercase;
}

.seal .seal-core {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1px;
  font-family: var(--serif);
  color: var(--gold-300);
  line-height: 1;
  text-align: center;
  padding: 0 14px;
}

.seal .seal-word {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  /* optical trim: tracked-out caps read off-centre without this */
  text-indent: 0.2em;
  white-space: nowrap;
}

.seal .seal-amp {
  font-size: 0.86rem;
  font-style: italic;
  color: var(--gold);
  line-height: 0.72;
  margin: 0.5px 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* botanical hairline */
.sprig {
  position: absolute;
  right: -54px;
  top: 34px;
  width: 108px;
  height: auto;
  color: var(--gold);
  opacity: 0.5;
  pointer-events: none;
}

/* ---------- ribbon ---------- */
.ribbon {
  background: var(--plum-950);
  border-top: 1px solid rgba(198, 155, 103, 0.14);
  border-bottom: 1px solid rgba(198, 155, 103, 0.14);
  overflow: hidden;
  padding: 15px 0;
}

.ribbon-track {
  display: flex;
  width: max-content;
  animation: slide 42s linear infinite;
}

.ribbon-track span {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-size: 0.66rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(227, 201, 162, 0.72);
  white-space: nowrap;
}

.ribbon-track span::after {
  content: "";
  width: 4px;
  height: 4px;
  transform: rotate(45deg);
  background: var(--rose-300);
  opacity: 0.7;
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- welcome ---------- */
.welcome {
  background: var(--cream);
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.welcome h2 {
  margin: 18px 0 22px;
}

.welcome h2 strong {
  font-weight: 400;
  font-style: italic;
  color: var(--rose-deep);
}

.welcome p + p {
  margin-top: 16px;
}

/* Instagram — a real outlined button, not a text link */
.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 13px 22px;
  border: 1px solid rgba(198, 155, 103, 0.55);
  border-radius: 2px;
  background: transparent;
  font-family: var(--sans);
  /* size + weight raised for legibility against the cream ground */
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-deep);
  line-height: 1.2;
  transition:
    color 0.35s var(--ease),
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.ig-link:hover {
  color: var(--cream);
  background: var(--plum);
  border-color: var(--plum);
  transform: translateY(-1px);
}

.ig-link svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.ig-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.ig-link span {
  white-space: nowrap;
}

@media (max-width: 420px) {
  .ig-link {
    width: 100%;
    justify-content: center;
    padding: 13px 16px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }
}

/* editorial photo panel */
.welcome-figure {
  position: relative;
}

.welcome-figure .panel {
  position: relative;
  z-index: 1;
  aspect-ratio: 1.02;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.welcome-figure .panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(51, 24, 42, 0.14), rgba(51, 24, 42, 0.32));
  mix-blend-mode: multiply;
}

.welcome-figure .panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transition: transform 1.4s var(--ease);
}

.welcome-figure:hover .panel img {
  transform: scale(1.04);
}

.welcome-figure .panel-outline {
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--hair-gold);
  border-radius: 3px;
  pointer-events: none;
  z-index: 0;
}

.welcome-figure figcaption {
  position: absolute;
  left: -18px;
  bottom: 28px;
  background: var(--cream);
  border: 1px solid var(--hair-gold);
  padding: 14px 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--rose-deep);
  box-shadow: var(--shadow-soft);
}

/* ---------- quotes band (soft dusty rose) ---------- */
.quotes {
  position: relative;
  background: linear-gradient(
    168deg,
    #9d6371 0%,
    var(--rose) 46%,
    #9a5f6d 100%
  );
  color: var(--cream);
  overflow: hidden;
}

/* very light, blurred texture: reads as a wash, not a photo */
.quotes .bg {
  position: absolute;
  inset: -6%;
  background-image: url("vintage-roses.jpg");
  background-size: cover;
  background-position: center 40%;
  opacity: 0.1;
  mix-blend-mode: multiply;
  filter: saturate(0.5) brightness(1.12) blur(3px);
  pointer-events: none;
}

/* airy veil instead of a heavy dark overlay */
.quotes::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      70% 60% at 50% 0%,
      rgba(253, 251, 247, 0.14),
      transparent 68%
    ),
    linear-gradient(
      180deg,
      rgba(253, 251, 247, 0.05) 0%,
      rgba(120, 64, 77, 0.08) 100%
    );
  pointer-events: none;
}

.quotes .wrap {
  position: relative;
  z-index: 2;
}

.quotes .rule span,
.quotes .eyebrow {
  /* slightly warmer/lighter than --gold-300: keeps AA contrast on the soft rose */
  color: #fbf0e2;
}

.quotes .rule::before,
.quotes .rule::after {
  opacity: 0.7;
}

.testimonials .rule {
  color: var(--rose-deep);
}

.quotes-head {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.quotes-head h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.7rem);
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 30px);
  margin-top: clamp(34px, 4vw, 52px);
}

.quote-card {
  position: relative;
  padding: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
  border: 1px solid rgba(240, 223, 196, 0.34);
  background: rgba(253, 251, 247, 0.07);
  backdrop-filter: blur(2px);
  transition:
    background-color 0.5s var(--ease),
    border-color 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.quote-card:hover {
  background: rgba(253, 251, 247, 0.1);
  border-color: rgba(240, 223, 196, 0.78);
  transform: translateY(-3px);
}

.quote-card .qmark {
  font-family: var(--serif);
  font-size: 3.2rem;
  line-height: 0.6;
  color: var(--gold-200);
  opacity: 0.85;
  display: block;
  margin-bottom: 16px;
}

.quote-card blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  line-height: 1.5;
  color: var(--cream);
  text-wrap: pretty;
}

.quote-card p {
  margin-top: 18px;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253, 251, 247, 0.78);
}

.quotes-foot {
  margin-top: clamp(30px, 4vw, 44px);
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem);
  color: rgba(253, 251, 247, 0.85);
}

/* ---------- mission ---------- */
.mission {
  background:
    radial-gradient(70% 60% at 15% 20%, rgba(150, 90, 104, 0.28), transparent 62%),
    linear-gradient(180deg, var(--plum-900), var(--plum));
  color: var(--cream);
  text-align: center;
  overflow: hidden;
}

.mission .starburst {
  position: absolute;
  width: 300px;
  height: 300px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(
    from 0deg,
    rgba(227, 201, 162, 0.5) 0deg 0.22deg,
    transparent 0.22deg 7deg
  );
  -webkit-mask-image: radial-gradient(circle, #000 12%, transparent 64%);
  mask-image: radial-gradient(circle, #000 12%, transparent 64%);
  opacity: 0.4;
  pointer-events: none;
}

.mission .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 30px;
}

.mission blockquote {
  max-width: 27ch;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.9rem);
  line-height: 1.24;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.mission blockquote em {
  color: var(--gold-200);
  font-style: italic;
}

.mission .btn {
  margin-top: 8px;
}

/* ---------- freebie ---------- */
.freebie {
  background: var(--cream);
  overflow: hidden;
}

.freebie-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.freebie h2 {
  margin: 16px 0 10px;
}

.freebie .sub {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.7rem);
  font-weight: 300;
  font-style: italic;
  color: var(--rose-deep);
  margin-bottom: 18px;
}

.freebie .lede {
  max-width: 44ch;
}

/* CSS planner mockup */
.planner {
  position: relative;
  aspect-ratio: 1.05;
  display: grid;
  place-items: center;
}

.planner .back-sheet {
  position: absolute;
  width: 54%;
  aspect-ratio: 0.72;
  background: linear-gradient(160deg, #fffdf9, #f3e9dd);
  border-radius: 2px 8px 8px 2px;
  box-shadow: 0 26px 50px -34px rgba(39, 19, 32, 0.55);
  transform: rotate(9deg) translate(16%, -3%);
}

.planner .back-sheet::before {
  content: "";
  position: absolute;
  inset: 22px 20px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(150, 90, 104, 0.32) 0px,
    rgba(150, 90, 104, 0.32) 1px,
    transparent 1px,
    transparent 30px
  );
  -webkit-mask-image: linear-gradient(150deg, #000, rgba(0, 0, 0, 0.35));
  mask-image: linear-gradient(150deg, #000, rgba(0, 0, 0, 0.35));
}

.planner .book {
  position: relative;
  width: 62%;
  aspect-ratio: 0.72;
  background:
    radial-gradient(90% 70% at 80% 0%, rgba(198, 155, 103, 0.28), transparent 62%),
    linear-gradient(158deg, var(--plum-600) 0%, var(--plum) 44%, var(--plum-900) 100%);
  border-radius: 2px 8px 8px 2px;
  box-shadow:
    0 44px 70px -44px rgba(39, 19, 32, 0.7),
    inset 1px 0 0 rgba(253, 251, 247, 0.14);
  color: var(--cream);
  padding: clamp(22px, 3vw, 38px) clamp(18px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: rotate(-5deg);
  transition: transform 1s var(--ease);
}

.planner:hover .book {
  transform: rotate(-2deg) translateY(-6px);
}

.planner .book::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(227, 201, 162, 0.34);
  border-radius: 1px 5px 5px 1px;
  pointer-events: none;
}

.planner .planner-brand {
  font-size: 0.46rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-200);
  opacity: 0.85;
}

.planner .book .title {
  margin: auto 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.4rem, 1rem + 1.5vw, 2.2rem);
  line-height: 1.06;
  letter-spacing: 0.06em;
}

.planner .book .title em {
  display: block;
  font-style: italic;
  color: var(--gold-200);
  font-size: 0.72em;
  letter-spacing: 0.04em;
  margin: 0.28em 0;
}

.planner .book .seal-line {
  width: 34px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 16px;
  opacity: 0.8;
}

.planner .book .foot {
  font-size: 0.44rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(253, 251, 247, 0.6);
}

.planner .note {
  position: absolute;
  right: 4%;
  bottom: 8%;
  background: var(--cream);
  border: 1px solid var(--hair-gold);
  padding: 14px 18px;
  box-shadow: var(--shadow-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--rose-deep);
  transform: rotate(3deg);
}

/* form */
.signup {
  margin-top: 32px;
  max-width: 470px;
  display: grid;
  gap: 20px;
}

.field {
  position: relative;
}

.field label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(39, 19, 32, 0.55);
  margin-bottom: 8px;
  transition: color 0.3s var(--ease);
}

.field input {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(39, 19, 32, 0.22);
  padding: 8px 0 12px;
  border-radius: 0;
  transition: border-color 0.4s var(--ease);
}

.field input::placeholder {
  color: rgba(39, 19, 32, 0.32);
}

.field input:focus {
  outline: none;
  border-bottom-color: var(--rose-deep);
}

.field:focus-within label {
  color: var(--rose-deep);
}

.field.has-error input {
  border-bottom-color: #b4423f;
}

.field .err {
  display: none;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #a33a37;
  margin-top: 6px;
}

.field.has-error .err {
  display: block;
}

.signup .btn {
  justify-self: start;
  margin-top: 6px;
  min-width: 200px;
}

.signup-note {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: rgba(39, 19, 32, 0.45);
}

.form-success {
  display: none;
  margin-top: 32px;
  max-width: 470px;
  padding: 28px 30px;
  border: 1px solid var(--hair-gold);
  background: var(--rose-50);
}

.form-success.is-on {
  display: block;
  animation: fade-up 0.7s var(--ease) both;
}

.form-success h4 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--plum);
  margin-bottom: 6px;
}

.form-success p {
  font-size: 0.94rem;
  color: rgba(39, 19, 32, 0.7);
}

/* ---------- dual cards ---------- */
.cards {
  background: var(--linen);
  padding-bottom: clamp(60px, 7vw, 96px);
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.4vw, 28px);
}

.info-card {
  position: relative;
  padding: clamp(34px, 4vw, 58px);
  border: 1px solid rgba(39, 19, 32, 0.1);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    transform 0.55s var(--ease),
    box-shadow 0.55s var(--ease);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.info-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.2rem + 0.9vw, 1.95rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.info-card p {
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(39, 19, 32, 0.72);
}

.info-card .closer {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--rose-deep);
}

.info-card--dark {
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(150, 90, 104, 0.35), transparent 60%),
    linear-gradient(160deg, var(--plum-600), var(--plum-900));
  border-color: rgba(227, 201, 162, 0.2);
  color: var(--cream);
}

.info-card--dark h3 {
  color: var(--cream);
}

.info-card--dark p {
  color: rgba(253, 251, 247, 0.75);
}

.info-card--dark .closer {
  color: var(--gold-200);
}

.info-card .num {
  position: absolute;
  top: clamp(28px, 3vw, 44px);
  right: clamp(28px, 3vw, 44px);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--gold);
  opacity: 0.8;
}

.info-card--dark .num {
  color: var(--gold-200);
}

/* ---------- process ---------- */
.process {
  background: var(--linen);
}

.process-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(38px, 4.5vw, 62px);
}

.process-head h2 {
  margin-top: 14px;
}

.process-head p {
  max-width: 34ch;
  font-size: 0.95rem;
  color: rgba(39, 19, 32, 0.62);
  text-wrap: pretty;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 22px);
}

.steps::before {
  content: "";
  position: absolute;
  top: 54px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(198, 155, 103, 0.55) 0 5px,
    transparent 5px 13px
  );
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  padding: clamp(26px, 2.8vw, 34px) clamp(20px, 2.2vw, 26px) clamp(30px, 3vw, 38px);
  background: var(--cream);
  border: 1px solid rgba(39, 19, 32, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    transform 0.5s var(--ease),
    border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.step:hover {
  transform: translateY(-5px);
  border-color: var(--hair-gold);
  box-shadow: var(--shadow-soft);
}

.step .digit {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 1.7rem + 1.4vw, 2.9rem);
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.step h3 {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.5;
  margin-top: 2px;
}

.step .meta {
  display: inline-block;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-deep);
  padding: 4px 0;
  border-top: 1px solid rgba(150, 90, 104, 0.24);
  border-bottom: 1px solid rgba(150, 90, 104, 0.24);
  align-self: flex-start;
}

.step p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(39, 19, 32, 0.66);
}

/* ---------- testimonials ---------- */
.testimonials {
  position: relative;
  background: linear-gradient(180deg, var(--rose-50), #f2e1df);
  overflow: hidden;
}

.testimonials .wrap {
  position: relative;
  z-index: 2;
}

.testimonials-head {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.2vw, 26px);
  margin-top: clamp(34px, 4vw, 54px);
}

.testi {
  background: var(--cream);
  border: 1px solid rgba(198, 155, 103, 0.3);
  padding: clamp(28px, 3vw, 42px) clamp(22px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 22px 48px -40px rgba(39, 19, 32, 0.4);
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.testi:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.stars {
  display: flex;
  gap: 5px;
  color: var(--gold);
}

.stars svg {
  width: 14px;
  height: 14px;
}

.testi blockquote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.08rem, 1rem + 0.3vw, 1.22rem);
  line-height: 1.6;
  color: rgba(39, 19, 32, 0.86);
  text-wrap: pretty;
}

.testi .who {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(39, 19, 32, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.testi .who strong {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--plum);
}

.testi .who span {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(39, 19, 32, 0.42);
}

/* ---------- quiz ---------- */
.quiz {
  position: relative;
  background:
    radial-gradient(90% 80% at 50% 120%, rgba(150, 90, 104, 0.32), transparent 60%),
    linear-gradient(180deg, var(--plum-800), var(--plum-900));
  color: var(--cream);
  text-align: center;
  overflow: hidden;
}

.quiz::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -40px;
  transform: translateX(-50%);
  width: 420px;
  height: 200px;
  border: 1px solid rgba(227, 201, 162, 0.3);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
}

.quiz .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 22px;
  max-width: 800px;
}

.quiz .icon {
  color: var(--gold-200);
  opacity: 0.9;
}

.quiz h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem);
  line-height: 1.12;
  text-wrap: balance;
}

.quiz .sub {
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(253, 251, 247, 0.62);
}

.quiz .btn {
  margin-top: 10px;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--plum-950);
  color: rgba(253, 251, 247, 0.62);
  padding: clamp(54px, 6vw, 82px) 0 34px;
  border-top: 1px solid rgba(198, 155, 103, 0.16);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 44px;
}

.footer-brand .brand {
  color: var(--cream);
  margin-bottom: 22px;
  --logo-h: 88px;
}

.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(227, 201, 162, 0.82);
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(253, 251, 247, 0.42);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.footer-col a {
  font-size: 0.86rem;
  color: rgba(253, 251, 247, 0.74);
  transition: color 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--gold-200);
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(253, 251, 247, 0.8);
  border: 1px solid rgba(253, 251, 247, 0.16);
  padding: 10px 16px;
  transition:
    border-color 0.35s var(--ease),
    color 0.35s var(--ease),
    background-color 0.35s var(--ease);
}

.footer-social:hover {
  border-color: var(--hair-gold);
  color: var(--gold-200);
  background: rgba(198, 155, 103, 0.08);
}

.footer-social svg {
  width: 15px;
  height: 15px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(253, 251, 247, 0.1);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.footer-bottom .legal {
  display: flex;
  gap: 22px;
}

.footer-bottom a:hover {
  color: var(--gold-200);
}

/* ---------- mobile panel ---------- */
.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 55;
  background:
    radial-gradient(90% 60% at 80% 0%, rgba(150, 90, 104, 0.4), transparent 60%),
    var(--plum-900);
  color: var(--cream);
  padding: 110px clamp(24px, 8vw, 48px) 40px;
  display: grid;
  align-content: start;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.5s var(--ease),
    visibility 0.4s;
}

.nav-open .mobile-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-panel a {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 300;
  padding: 14px 0;
  border-bottom: 1px solid rgba(253, 251, 247, 0.1);
  color: var(--cream);
  transition: color 0.3s var(--ease);
}

.mobile-panel a.brand {
  border-bottom: 0;
  padding: 0 0 26px;
  line-height: 0;
}

.mobile-panel a:hover {
  color: var(--gold-200);
}

.mobile-panel a.btn {
  margin-top: 30px;
  width: 100%;
  border: 0;
  border-radius: 2px;
  padding: 1.15em 2em;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---------- reveal ---------- */
/* Visible by default: the hidden state is only applied by JS to elements
   that are actually below the fold, so content can never get stuck hidden. */
.reveal {
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.pre {
  opacity: 0;
  transform: translateY(22px);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links {
    gap: 20px;
  }
  .hero .wrap {
    gap: 44px;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps::before {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .nav-links,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
    flex: none;
  }

  .site-header .bar {
    height: 74px;
  }

  /* ================= MOBILE HERO =================
     Editorial structure instead of "big photo, then text":
       1 eyebrow  ·  2 headline  ·  3 full-bleed portrait strip  ·  4 sub + CTAs
     The headline now sits on the first screen, the portrait works as a
     visual pause mid-section, and `.hero-copy` is unwrapped with
     `display: contents` so its children can be re-ordered around the figure.
     ============================================== */
  .hero .wrap {
    display: flex;
    flex-direction: column;
    /* must stretch, or every child shrinks to its content width */
    align-items: stretch;
    padding-top: 30px;
    padding-bottom: 54px;
    min-height: 0;
    gap: 0;
  }

  .hero-copy {
    display: contents;
  }

  .hero-eyebrow {
    order: 1;
    margin-bottom: 18px;
  }

  .hero h1 {
    order: 2;
    /* smallest safe size for 320px screens without breaking the two lines */
    font-size: clamp(2.35rem, 11.2vw, 3rem);
  }

  /* full-bleed strip: in a flex column `justify-self` does nothing, so the
     width is made explicit and the negative margins match the gutter. */
  .hero-figure {
    order: 3;
    position: relative;
    align-self: stretch;
    flex: none;
    width: calc(100% + 2 * clamp(22px, 5vw, 58px));
    max-width: none;
    margin: 26px calc(-1 * clamp(22px, 5vw, 58px)) 30px;
    padding-left: 0;
  }

  .hero-body {
    order: 4;
  }

  .arch {
    aspect-ratio: auto;
    height: clamp(248px, 33vh, 320px);
    border: 0;
    border-radius: 3px;
    box-shadow: none;
  }

  .arch img {
    object-position: 50% 18%;
    transform: none;
  }

  .arch::after {
    background: linear-gradient(
      to top,
      rgba(31, 14, 25, 0.42) 0%,
      rgba(51, 24, 42, 0.1) 46%,
      transparent 70%
    );
  }

  /* The desktop arch outline is replaced by a thin frame INSET inside the
     strip. Selector is deliberately specific enough to beat the base
     `.hero-figure .arch-outline` rule (which sets inset: -18px…). */
  .hero .hero-figure > .arch-outline {
    inset: 10px;
    border-radius: 2px;
    border-color: rgba(198, 155, 103, 0.55);
    z-index: 2;
  }

  .arch-outline::before,
  .arch-outline::after {
    display: none;
  }

  /* `ASSOCIATE CERTIFIED ADHD LIFE COACH` is 35 characters — it must stay on
     one line, so it is tracked tighter and allowed to shrink rather than wrap. */
  .hero-eyebrow {
    gap: 10px;
  }

  .hero-eyebrow::before {
    width: 20px;
  }

  .hero-eyebrow .eyebrow {
    letter-spacing: 0.16em;
    font-size: clamp(0.56rem, 2.6vw, 0.64rem);
    white-space: nowrap;
    line-height: 1.4;
  }

  /* 84px is below the size at which the ring lettering stays legible,
     and the strip is short — so the seal is dropped rather than shrunk. */
  .seal {
    display: none;
  }

  .hero-sub {
    font-size: 1rem;
    margin-top: 0;
  }

  .sprig {
    display: none;
  }

  .welcome-grid,
  .freebie-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .welcome-figure {
    order: -1;
    max-width: 520px;
  }

  .quote-grid,
  .testi-grid {
    grid-template-columns: 1fr;
  }

  .planner {
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
  }

  .freebie-grid .signup {
    max-width: none;
  }

  .process-head {
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    gap: 8px 18px;
    font-size: 0.6rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom .legal {
    gap: 16px;
  }

  .welcome-figure figcaption {
    left: 12px;
    bottom: 12px;
    font-size: 0.95rem;
    padding: 11px 15px;
  }

  .planner .note {
    font-size: 0.85rem;
    padding: 10px 13px;
    right: 0;
  }

  /* (the old `inset: -10px -10px 10px -10px !important` desktop-arch tweak
     was removed here: it inverted the mobile strip frame and pushed its
     side strokes off-screen. The ≤900px rule now owns the frame.) */
}

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

/* focus */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media print {
  .site-header,
  .mobile-panel,
  .ribbon,
  .grain,
  .book-dialog {
    display: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  body {
    background: #fff;
  }
  .section {
    padding: 32px 0;
    break-inside: avoid;
  }
  .hero {
    padding-top: 0;
    min-height: 0;
  }
}
