/* =========================================================================
   Defined Curls Studio — one-page creator partnership site
   Palette: blush / cream / sky / lavender on charcoal text
   ========================================================================= */

:root {
  --cream: #fbf6f2;
  --cream-deep: #f5ece5;
  --ivory: #fffdfb;
  --blush: #f4dedb;
  --blush-soft: #fbeeec;
  --blush-strong: #e6bfc1;
  --sky: #dfeaf1;
  --sky-strong: #bdd5e3;
  --lavender: #e5dfef;
  --lavender-strong: #c9bfdd;
  --ink: #2b2528;
  --ink-soft: #695e61;
  --ink-faint: #796d70;
  --rose: #8e4f5b;
  --rose-deep: #7a414c;
  --line: rgba(43, 37, 40, 0.12);
  --line-soft: rgba(43, 37, 40, 0.07);

  --shadow-sm: 0 1px 2px rgba(74, 45, 52, 0.04), 0 8px 24px -12px rgba(74, 45, 52, 0.12);
  --shadow-md: 0 2px 4px rgba(74, 45, 52, 0.04), 0 22px 50px -24px rgba(74, 45, 52, 0.22);
  --shadow-lg: 0 3px 6px rgba(74, 45, 52, 0.05), 0 44px 90px -40px rgba(74, 45, 52, 0.28);

  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 34px;
  --radius-xl: 46px;

  --shell: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.97rem + 0.18vw, 1.0625rem);
  font-weight: 300;
  line-height: 1.68;
  letter-spacing: 0.006em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Soft atmospheric gradient wash behind everything */
.page-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 82% -8%, rgba(230, 191, 193, 0.5), transparent 62%),
    radial-gradient(48rem 38rem at 4% 12%, rgba(189, 213, 227, 0.42), transparent 60%),
    radial-gradient(52rem 40rem at 96% 72%, rgba(201, 191, 221, 0.38), transparent 62%),
    radial-gradient(44rem 34rem at 16% 96%, rgba(244, 222, 219, 0.55), transparent 62%);
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

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

a {
  color: inherit;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3.25rem);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  translate: -50% -120%;
  z-index: 60;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: translate 0.3s var(--ease);
}
.skip-link:focus-visible {
  translate: -50% 0;
}

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------------------------------- type --------------------------------- */

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 1.6rem + 3.9vw, 4.35rem);
  line-height: 1.04;
}
h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--rose);
}

h2 {
  font-size: clamp(1.9rem, 1.35rem + 2.1vw, 2.9rem);
}

h3 {
  font-size: clamp(1.14rem, 1.05rem + 0.4vw, 1.32rem);
  line-height: 1.26;
  letter-spacing: -0.005em;
}

p {
  margin: 0;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::after {
  content: "";
  height: 1px;
  width: clamp(1.75rem, 6vw, 4.5rem);
  background: linear-gradient(90deg, var(--blush-strong), transparent);
}

.lede {
  font-size: clamp(1.05rem, 0.99rem + 0.35vw, 1.24rem);
  color: var(--ink-soft);
  line-height: 1.62;
  max-width: 34ch;
}
.lede-sm {
  max-width: 48ch;
}

.note {
  font-size: 0.875rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.note-center {
  max-width: 44ch;
  margin-inline: auto;
  text-align: center;
}

/* --------------------------------- buttons -------------------------------- */

.btn {
  --btn-bg: var(--rose);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.02rem 1.85rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.945rem;
  font-weight: 400;
  letter-spacing: 0.035em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    background-color 0.4s var(--ease);
}
.btn-primary:hover {
  --btn-bg: var(--rose-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-compact {
  padding: 0.72rem 1.3rem;
  font-size: 0.855rem;
}
.btn-lg {
  padding: 1.15rem 2.3rem;
  font-size: 1rem;
}
.btn-quiet {
  background: var(--ivory);
  color: var(--rose);
  border-color: var(--blush-strong);
  box-shadow: none;
  padding: 0.85rem 1.6rem;
  font-size: 0.9rem;
}
.btn-quiet:hover {
  background: var(--blush-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-size: 0.945rem;
  letter-spacing: 0.035em;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.link-arrow svg {
  width: 1.05rem;
  height: 1.05rem;
  transition: transform 0.4s var(--ease);
}
.link-arrow:hover {
  color: var(--rose);
  border-color: var(--blush-strong);
}
.link-arrow:hover svg {
  transform: translateX(4px);
}
.link-arrow-sm {
  font-size: 0.875rem;
}

/* --------------------------------- header --------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.85rem 0;
  transition: background-color 0.45s var(--ease), box-shadow 0.45s var(--ease),
    backdrop-filter 0.45s var(--ease);
}
.site-header.is-stuck {
  background: rgba(251, 246, 242, 0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line-soft), 0 18px 40px -34px rgba(74, 45, 52, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  color: var(--rose);
  background: linear-gradient(145deg, var(--blush-soft), var(--sky));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  flex: none;
}
.logo-mark svg {
  width: 1.35rem;
  height: 1.35rem;
}
.logo-text {
  font-family: var(--serif);
  font-size: clamp(1.02rem, 0.97rem + 0.25vw, 1.16rem);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.4rem);
}
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.9vw, 1.9rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav a:not(.btn) {
  position: relative;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.35s var(--ease);
}
.primary-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: var(--blush-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.primary-nav a:not(.btn):hover {
  color: var(--ink);
}
.primary-nav a:not(.btn):hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 253, 251, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle-bars {
  display: grid;
  gap: 4px;
  width: 15px;
}
.nav-toggle-bars i {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:first-child {
  transform: translateY(2.5px) rotate(15deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:last-child {
  transform: translateY(-2.5px) rotate(-15deg);
}

/* ---------------------------------- hero ---------------------------------- */

.hero {
  padding: clamp(2.5rem, 4vw, 4.5rem) 0 clamp(3.5rem, 7vw, 7rem);
  scroll-margin-top: 6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.86fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy .lede {
  margin-top: 1.6rem;
  max-width: 40ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  margin: 2.35rem 0 1.15rem;
}

/* hero visual */
.hero-visual {
  position: relative;
  isolation: isolate;
}
.hero-frame {
  position: relative;
  border-radius: 999px 999px 48px 48px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--blush-soft), var(--sky));
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(255, 253, 251, 0.34), transparent 45%);
  mix-blend-mode: screen;
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.curl-arc {
  position: absolute;
  color: var(--blush-strong);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}
.curl-arc-a {
  width: clamp(9rem, 20vw, 15rem);
  right: -8%;
  bottom: -6%;
  animation: drift 26s var(--ease) infinite alternate;
}
.curl-arc-b {
  width: clamp(6rem, 12vw, 9rem);
  left: -9%;
  top: 4%;
  color: var(--sky-strong);
  opacity: 0.85;
  animation: drift 22s var(--ease) infinite alternate-reverse;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    transform: translate3d(0, -12px, 0) rotate(7deg);
  }
}

/* -------------------------------- sections -------------------------------- */

.section {
  padding: clamp(3.5rem, 7vw, 6.25rem) 0;
  scroll-margin-top: 4.75rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: start;
}
.split-lead h2 {
  max-width: 22ch;
}
.split-body {
  display: grid;
  gap: 1.25rem;
  color: var(--ink-soft);
  padding-top: 0.5rem;
  max-width: 58ch;
}

/* staggered opportunity cards */
.stagger-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem);
  margin-top: clamp(2.75rem, 6vw, 5rem);
}
.card {
  position: relative;
  background: linear-gradient(170deg, rgba(255, 253, 251, 0.96), rgba(255, 253, 251, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.4vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(230, 191, 193, 0.7), rgba(189, 213, 227, 0.35) 55%, transparent);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.stagger-cards .card:nth-child(2) {
  margin-top: clamp(0.5rem, 2.5vw, 2.5rem);
}
.stagger-cards .card:nth-child(3) {
  margin-top: clamp(1rem, 5vw, 5rem);
}
.card-index {
  display: block;
  font-family: var(--serif);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: var(--blush-strong);
  margin-bottom: 1.5rem;
}
.card h3 {
  margin-bottom: 0.8rem;
}
.card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* ------------------------------ the product ------------------------------ */

.section-product {
  position: relative;
}
.section-product::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/.netlify/images?url=/img/texture-strands.png&w=1600&fm=webp&q=60");
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  mix-blend-mode: multiply;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
.section-product > .shell {
  position: relative;
}

.product-top {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.product-intro h2 {
  max-width: 20ch;
}
.product-intro .lede {
  margin-top: 1.5rem;
}

.spec-box {
  margin-top: 2.25rem;
  background: rgba(255, 253, 251, 0.82);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 2.2vw, 1.85rem);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
}
.spec-box dl {
  display: grid;
  gap: 0.95rem;
  margin: 0 0 1.5rem;
}
.spec-box dl > div {
  display: grid;
  grid-template-columns: minmax(0, 8.75rem) minmax(0, 1fr);
  gap: 0.35rem 1.25rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--line-soft);
}
.spec-box dl > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.spec-box dt {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 0.2rem;
}
.spec-box dd {
  margin: 0;
  font-size: 0.97rem;
  color: var(--ink);
}

.product-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(150deg, var(--lavender), var(--blush-soft));
  box-shadow: var(--shadow-lg);
}
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.product-card figcaption {
  position: absolute;
  left: clamp(0.85rem, 2vw, 1.3rem);
  right: clamp(0.85rem, 2vw, 1.3rem);
  bottom: clamp(0.85rem, 2vw, 1.3rem);
  display: grid;
  gap: 0.3rem;
  padding: 1.05rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 251, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.figcaption-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
}
.figcaption-title {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.24;
}

/* five features */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.4vw, 3rem) clamp(2rem, 5vw, 4.5rem);
  list-style: none;
  margin: clamp(3rem, 6vw, 5.5rem) 0 0;
  padding: 0;
  counter-reset: feature;
}
.feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.15rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
}
.feature-num {
  font-family: var(--serif);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--rose);
  padding-top: 0.32rem;
}
.feature h3 {
  margin-bottom: 0.6rem;
}
.feature p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  max-width: 46ch;
}
.feature-wide {
  grid-column: 1 / -1;
}
.feature-wide p {
  max-width: 62ch;
}

/* ----------------------------- the partnership ---------------------------- */

.section-partnership {
  position: relative;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.6vw, 2.25rem);
  list-style: none;
  margin: clamp(3rem, 6vw, 5.25rem) 0 0;
  padding: 0;
}
.step {
  position: relative;
  padding-top: 2.6rem;
}
.step::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--blush-strong), rgba(189, 213, 227, 0.55));
}
.step:last-child::before {
  background: linear-gradient(90deg, var(--lavender-strong), transparent);
}
.step-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--rose);
}
.step-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.7rem;
}
.step h3 {
  margin-bottom: 0.65rem;
}
.step p {
  color: var(--ink-soft);
  font-size: 0.945rem;
}

/* ------------------------------ who it's for ------------------------------ */

.section-fit .fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.75rem, 3.5vw, 2.75rem) clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.fit-head h2 {
  max-width: 16ch;
}
.checklist {
  display: grid;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  grid-row: span 2;
}
.checklist li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 1.0125rem;
  transition: background-color 0.4s var(--ease);
}
.checklist li:hover {
  background: rgba(255, 253, 251, 0.75);
}
.tick {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  color: var(--rose);
  flex: none;
}
.misfit {
  align-self: start;
  background: rgba(223, 234, 241, 0.5);
  border: 1px solid rgba(189, 213, 227, 0.7);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 2.2vw, 1.85rem);
}
.misfit h3 {
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}
.misfit p {
  color: var(--ink-soft);
  font-size: 0.945rem;
}

/* -------------------------------- trust ---------------------------------- */

.trust-head h2 {
  max-width: 26ch;
}
.trust-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3.25rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.trust-point {
  padding-left: clamp(1.1rem, 2vw, 1.75rem);
  border-left: 1px solid var(--line);
}
.trust-point h3 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.85rem;
}
.trust-point p {
  color: var(--ink-soft);
  font-size: 1rem;
}

/* --------------------------------- final CTA ------------------------------ */

.section-cta {
  padding-bottom: clamp(4rem, 8vw, 8rem);
}
.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 1.4rem;
  text-align: center;
  padding: clamp(2.75rem, 7vw, 5.5rem) clamp(1.5rem, 6vw, 5rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(90% 120% at 12% 0%, rgba(230, 191, 193, 0.55), transparent 58%),
    radial-gradient(80% 110% at 92% 100%, rgba(201, 191, 221, 0.5), transparent 60%),
    linear-gradient(170deg, var(--ivory), var(--cream-deep));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
}
.cta-panel h2 {
  max-width: 24ch;
}
.cta-panel > p:not(.note) {
  max-width: 58ch;
  color: var(--ink-soft);
}
.cta-panel .btn {
  margin-top: 0.6rem;
}
.cta-curl {
  position: absolute;
  width: clamp(14rem, 34vw, 24rem);
  right: -6%;
  top: -14%;
  color: var(--blush-strong);
  opacity: 0.5;
  pointer-events: none;
}

/* --------------------------------- footer -------------------------------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: rgba(255, 253, 251, 0.55);
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(2rem, 4vw, 3rem);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem clamp(2rem, 6vw, 5rem);
}
.footer-name {
  font-family: var(--serif);
  font-size: 1.28rem;
  letter-spacing: -0.01em;
}
.footer-tag {
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.945rem;
  max-width: 34ch;
}
.footer-links {
  display: grid;
  gap: 0.45rem;
  justify-items: start;
}
.footer-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.footer-email {
  font-size: 1.02rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--blush-strong);
  padding-bottom: 2px;
  transition: color 0.35s var(--ease);
}
.footer-email:hover {
  color: var(--rose);
}
.footer-links .link-arrow {
  margin-top: 0.85rem;
  color: var(--ink-soft);
}

/* ------------------------------- animation ------------------------------- */

.reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
}
.js .reveal {
  transition: opacity 0.85s var(--ease) var(--d, 0ms), transform 0.85s var(--ease) var(--d, 0ms);
}
.js .reveal.is-visible,
html:not(.js) .reveal {
  opacity: 1;
  transform: none;
}

@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 {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------- responsive ------------------------------ */

@media (max-width: 1080px) {
  .primary-nav ul {
    gap: 1rem;
  }
  .primary-nav a:not(.btn) {
    font-size: 0.82rem;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }
  .primary-nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: clamp(1.25rem, 5vw, 3.25rem);
    right: clamp(1.25rem, 5vw, 3.25rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 1.1rem;
    border-radius: var(--radius);
    background: rgba(255, 253, 251, 0.97);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  }
  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .primary-nav li + li {
    border-top: 1px solid var(--line-soft);
  }
  .primary-nav a:not(.btn) {
    display: block;
    padding: 0.85rem 0.5rem;
    font-size: 1rem;
    color: var(--ink);
  }
  .primary-nav a:not(.btn)::after {
    display: none;
  }
  .primary-nav .btn {
    margin-top: 0.85rem;
    width: 100%;
    padding: 0.95rem 1.3rem;
    font-size: 0.95rem;
  }

  .hero-grid,
  .product-top,
  .split,
  .section-fit .fit-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-grid {
    gap: clamp(2.5rem, 7vw, 4rem);
  }
  .hero-visual {
    max-width: 30rem;
    margin-inline: auto;
    width: 100%;
  }
  .hero-copy .lede,
  .cta-panel h2 {
    max-width: 46ch;
  }
  .split-lead h2,
  .product-intro h2,
  .fit-head h2 {
    max-width: 28ch;
  }
  .checklist {
    grid-row: auto;
  }
  .checklist li {
    padding-inline: 0;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }
  .trust-points {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }
  .feature-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature-wide {
    grid-column: auto;
  }
  .stagger-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stagger-cards .card:nth-child(2),
  .stagger-cards .card:nth-child(3) {
    margin-top: 0;
  }
  .stagger-cards .card:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    line-height: 1.66;
  }
  .logo-text {
    font-size: 1rem;
  }
  .hero {
    padding-top: 1.5rem;
  }
  .actions {
    gap: 1.25rem;
    margin-top: 2rem;
  }
  .actions .btn {
    width: 100%;
  }
  .hero-frame {
    border-radius: 999px 999px 32px 32px;
  }
  .stagger-cards,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .stagger-cards .card:nth-child(3) {
    grid-column: auto;
  }
  .spec-box dl > div {
    grid-template-columns: minmax(0, 1fr);
  }
  .cta-panel .btn {
    width: 100%;
  }
  .footer-inner {
    flex-direction: column;
  }
}

/* current section indicator (set by main.js) */
.primary-nav a[aria-current="true"] {
  color: var(--ink);
}
.primary-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}
