/* ============================================================
   Tokens
   ============================================================ */
:root {
  --bg: #FFF8F4;
  --surface: #FFFFFF;
  --ink: #221A20;
  --ink-soft: #736875;
  --ink-faint: #A79DAA;
  --coral: #FF5C72;
  --coral-deep: #C22850;
  --peach: #FFB27A;
  --lilac: #C9A6FF;
  --coral-soft: rgba(255, 92, 114, 0.10);
  --line: rgba(34, 26, 32, 0.09);
  --line-soft: rgba(34, 26, 32, 0.06);

  --radius-sm: 10px;
  --radius: 20px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(23, 24, 28, 0.04), 0 2px 8px rgba(23, 24, 28, 0.04);
  --shadow-md: 0 8px 24px rgba(23, 24, 28, 0.08), 0 2px 6px rgba(23, 24, 28, 0.05);
  --shadow-lg: 0 30px 70px rgba(23, 24, 28, 0.16), 0 8px 24px rgba(23, 24, 28, 0.08);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --wrap: 1200px;
  --nav-h: 84px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.32, 0.4, 1);
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, dl, dd { margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, video { max-width: 100%; display: block; }

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

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

/* ============================================================
   Header / Nav — translucent material, materializes on scroll
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 248, 244, 0.7);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  transition: box-shadow 0.4s var(--ease-out), background 0.4s var(--ease-out);
  z-index: -1;
}
.site-header.is-scrolled::before {
  background: rgba(255, 248, 244, 0.85);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px rgba(23, 24, 28, 0.06);
}

.nav {
  max-width: var(--wrap);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  z-index: 60;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease-out);
}
.nav-link:hover { color: var(--ink); }
.nav-link--cta {
  color: var(--bg);
  background: var(--ink);
  padding: 10px 20px;
  border-radius: 999px;
  transition: transform 0.3s var(--ease-spring), background 0.25s var(--ease-out);
}
.nav-link--cta:hover { background: var(--coral-deep); transform: translateY(-1px); }
.nav-link--cta:active { transform: scale(0.96) translateY(0); transition-duration: 0.1s; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: 0;
    top: var(--nav-h);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    background: var(--bg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
  }
  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-link { font-size: 1.3rem; color: var(--ink); }
  .nav-link--cta { font-size: 1rem; color: var(--bg); padding: 14px 28px; }
}

/* ============================================================
   Typography primitives
   ============================================================ */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--coral-deep);
  margin: 0 0 22px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vh, 96px) 0 clamp(64px, 10vh, 120px);
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -8% -6%;
  z-index: -1;
  background:
    radial-gradient(36% 42% at 12% 18%, rgba(255, 178, 122, 0.4), transparent 70%),
    radial-gradient(40% 48% at 90% 12%, rgba(201, 166, 255, 0.32), transparent 70%),
    radial-gradient(44% 50% at 75% 92%, rgba(255, 92, 114, 0.24), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 72px; }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero-title-line { display: block; }

.hero-sub {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 42ch;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 56px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 15px 28px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-spring), background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.btn-primary:hover { background: var(--coral-deep); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-primary:active { transform: scale(0.97); transition-duration: 0.1s; }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  transition: gap 0.3s var(--ease-out), border-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.btn-text:hover { gap: 11px; color: var(--coral-deep); border-color: var(--coral-deep); }
.btn-text span { transition: transform 0.3s var(--ease-out); }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.hero-stats > div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.hero-stats dd {
  font-size: 0.76rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

/* ============================================================
   Hero media — video card with material depth + pointer tilt
   ============================================================ */
.hero-media { perspective: 1400px; }

.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 600px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #FF8FA3 0%, #F0508C 42%, #9A3E8F 75%, #5B3170 100%);
  box-shadow: var(--shadow-lg), 0 40px 90px -20px rgba(240, 80, 140, 0.45);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Flatten the card while the video plays: an iframe inside a preserve-3d
   context escapes the parent's overflow/border-radius clipping. */
.video-card.is-playing {
  transform: none !important;
  transform-style: flat;
  will-change: auto;
}

.video-embed {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background-size: cover;
  background-position: center;
  border-radius: inherit;
  overflow: hidden;
  transition: opacity 0.4s var(--ease-out);
}
.video-poster-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(30, 12, 26, 0.5) 0%, rgba(30, 12, 26, 0.08) 32%, rgba(30, 12, 26, 0.08) 62%, rgba(30, 12, 26, 0.62) 100%);
}
.video-poster.is-hidden { opacity: 0; pointer-events: none; }

.video-poster-name {
  position: absolute;
  left: 28px;
  bottom: 24px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--bg);
  letter-spacing: -0.01em;
}

.play-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease-out;
}
.video-poster:hover .play-btn { transform: scale(1.06); }
.video-poster:active .play-btn { transform: scale(0.94); transition-duration: 0.1s; }
.play-btn svg { margin-left: 3px; }

/* ============================================================
   Entrance + reveal
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}
[data-reveal="1"] { --reveal-order: 1; }
[data-reveal="2"] { --reveal-order: 2; }
[data-reveal="3"] { --reveal-order: 3; }
[data-reveal="4"] { --reveal-order: 4; }
[data-reveal="5"] { --reveal-order: 5; }
[data-reveal="6"] { --reveal-order: 6; }
[data-reveal="7"] { --reveal-order: 2.5; }
.is-ready [data-reveal] {
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--reveal-order, 0) * 70ms);
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-on-scroll.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Testimonial / client review
   ============================================================ */
.testimonial {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--bg);
  padding: clamp(72px, 10vw, 120px) 0;
}
.testimonial::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(48% 60% at 8% 10%, rgba(240, 80, 140, 0.20), transparent 70%),
    radial-gradient(44% 56% at 92% 88%, rgba(201, 166, 255, 0.16), transparent 70%);
  pointer-events: none;
}

.testimonial-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .testimonial-grid {
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 72px;
  }
}

.video-card--portrait {
  aspect-ratio: 9 / 16;
  max-width: 340px;
  background: linear-gradient(160deg, #3a2340, #221a20);
}

.eyebrow--light { color: var(--peach); }

.testimonial-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 16ch;
  margin-bottom: 22px;
}

.testimonial-text {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.65;
  color: rgba(255, 248, 244, 0.75);
  max-width: 56ch;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 16px;
  border-left: 2px solid var(--coral);
  margin-bottom: 44px;
}
.testimonial-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.testimonial-role {
  font-size: 0.82rem;
  color: rgba(255, 248, 244, 0.55);
}

.testimonial-logos-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 248, 244, 0.4);
  margin-bottom: 20px;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 36px;
}
.logo-row a {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  transition: transform 0.3s var(--ease-out);
}
.logo-row a:hover { transform: translateY(-2px); }
.logo-row a:focus-visible { outline-offset: 6px; }

/* Heights are tuned per logo so wide wordmarks and square marks carry
   the same optical weight, rather than sharing one height value. */
.logo-row img {
  width: auto;
  object-fit: contain;
  opacity: 0.72;
  transition: opacity 0.3s var(--ease-out);
}
.logo-row a:hover img,
.logo-row a:focus-visible img { opacity: 1; }

.logo-row img[alt="Starpil"] { height: 30px; }
.logo-row img[alt="Starpil Pro"] { height: 26px; }
.logo-row img[alt="Nova Wax"] { height: 50px; }
.logo-row img[alt="Nova Pro"] { height: 44px; }
.logo-row img[alt="Starpil University"] { height: 50px; border-radius: 50%; }

/* ============================================================
   Approach — three parallel differentiators
   ============================================================ */
.approach {
  padding: clamp(72px, 10vw, 116px) 0 clamp(48px, 6vw, 72px);
}
.approach .section-heading { margin-bottom: 52px; }

.approach-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 720px) { .approach-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }

.approach-card {
  padding: 32px 28px 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.approach-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.approach-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--coral-deep);
  background: var(--coral-soft);
  margin-bottom: 22px;
}

.approach-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.approach-copy {
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--ink-soft);
}

/* ============================================================
   Email design gallery
   ============================================================ */
.designs { padding: clamp(72px, 10vw, 120px) 0; }

.section-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 18px;
}
.section-lede {
  font-size: 1.02rem;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 52px;
}

/* Compact tiles, side by side. Each shows the top of the email; hovering
   pans further down as a peek, clicking opens the full scrollable overlay. */
/* minmax(0, 1fr) keeps columns equal — plain 1fr lets the nowrap titles
   force a min-content width and skew the track sizes. */
.design-strip {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 660px) { .design-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .design-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.design-tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  padding: 0;
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease-out);
}
.design-tile:hover { transform: translateY(-4px); }
.design-tile:active { transform: translateY(-1px) scale(0.99); transition-duration: 0.12s; }

.design-tile-frame {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease-out);
}
.design-tile:hover .design-tile-frame { box-shadow: var(--shadow-md); }

.design-tile-frame img {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: top center;
  transition: transform 0.5s var(--ease-out);
}
/* A slight zoom on hover — enough to feel responsive without moving the
   artwork around while someone is trying to look at it. */
.design-tile:hover .design-tile-frame img,
.design-tile:focus-visible .design-tile-frame img {
  transform: scale(1.03);
}

.design-tile-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(23, 18, 22, 0.72) 100%);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}
.design-tile:hover .design-tile-veil,
.design-tile:focus-visible .design-tile-veil { opacity: 1; }

.design-tile-cue {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translate(-50%, 8px);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--bg);
  background: rgba(23, 18, 22, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.design-tile:hover .design-tile-cue,
.design-tile:focus-visible .design-tile-cue { opacity: 1; transform: translate(-50%, 0); }

.design-tile-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 2px;
  min-width: 0;
}
.design-brand {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral-deep);
  background: var(--coral-soft);
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.design-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Narrow columns can't fit pill + title on one line — stack them instead
   of truncating the campaign name down to a few characters. */
@media (max-width: 999px) {
  .design-tile-meta { flex-direction: column; align-items: flex-start; gap: 7px; }
  .design-title { white-space: normal; overflow: visible; }
}

/* ============================================================
   Design modal — full-length view
   ============================================================ */
.design-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.design-modal[hidden] { display: none; }
.design-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 18, 22, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.design-modal-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.34s var(--ease-out);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.design-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  flex-shrink: 0;
}
.design-modal-label { font-size: 0.86rem; font-weight: 500; flex: 1; min-width: 0; }
.design-modal-count {
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-faint);
  flex-shrink: 0;
}

/* Scroll affordances: a progress bar, a bottom fade, and a hint that
   retires once the reader has started scrolling. */
.design-modal-progress {
  height: 2px;
  background: var(--line-soft);
  flex-shrink: 0;
}
.design-modal-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--coral);
  transition: width 0.12s linear;
}

.design-modal-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 88px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.92));
  opacity: 1;
  transition: opacity 0.35s var(--ease-out);
}
.design-modal-fade.is-done { opacity: 0; }

.design-modal-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--bg);
  background: rgba(23, 18, 22, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 999px;
  pointer-events: none;
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.design-modal-hint svg { animation: hint-nudge 1.6s ease-in-out infinite; }
@keyframes hint-nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
.design-modal-hint.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(6px);
}
@media (prefers-reduced-motion: reduce) {
  .design-modal-hint svg { animation: none; }
}
.design-modal-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.design-modal-close:hover { background: var(--coral-soft); color: var(--coral-deep); }
.design-modal-scroll {
  overflow-y: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.design-modal-scroll img { width: 100%; height: auto; display: block; }

/* ============================================================
   Tools marquee — single scrolling line
   ============================================================ */
.tools {
  padding: 8px 0 64px;
  border-top: 1px solid var(--line-soft);
  margin-top: 8px;
}
.tools-heading {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
  padding-top: 52px;
  margin-bottom: 34px;
}

.marquee {
  overflow: hidden;
  /* opaque backdrop so the multiply-blended logos below have something
     to blend against inside this stacking context */
  background: var(--bg);
  /* fade the ends so logos enter and leave rather than being cut off */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 72px;
  padding-right: 72px;
  flex-shrink: 0;
}
.marquee-group li { display: flex; align-items: center; }

/* Heights are tuned per logo so wide wordmarks and square icons read at
   the same optical weight on one line. */
.marquee img {
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.68;
  transition: filter 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
}
.marquee img:hover { filter: grayscale(0); opacity: 1; }
.t-wordmark { height: 26px; }
.t-pill { height: 30px; }
/* Klaviyo and Postscript ship with an opaque white background — multiply
   drops the white out against the section colour. */
.t-multiply { mix-blend-mode: multiply; }
.t-icon { height: 38px; }
.t-icon--sm { height: 32px; }

@media (max-width: 640px) {
  .marquee-group { gap: 48px; padding-right: 48px; }
  .t-wordmark { height: 22px; }
  .t-pill { height: 25px; }
  .t-icon { height: 32px; }
  .t-icon--sm { height: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
}

/* ============================================================
   Contact / Calendly
   ============================================================ */
.contact {
  padding: clamp(72px, 10vw, 116px) 0 clamp(72px, 9vw, 104px);
  background: rgba(255, 178, 122, 0.06);
  border-top: 1px solid var(--line-soft);
}
.contact .section-lede { margin-bottom: 44px; }

.calendly-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
/* Calendly asks for a 320px minimum — drop the gutter on very narrow
   screens so the embed fits instead of forcing a horizontal scroll. */
@media (max-width: 420px) {
  .contact .wrap { padding-left: 14px; padding-right: 14px; }
}

/* ============================================================
   Section placeholders — numbered, to be filled in
   ============================================================ */
.section-block {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--line-soft);
}
.section-block--dim { background: rgba(255, 178, 122, 0.06); }

.section-block-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.section-block-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: rgba(34, 26, 32, 0.18);
  letter-spacing: -0.02em;
  line-height: 1;
}
.section-block-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--bg);
}
.footer-grid {
  display: grid;
  gap: 40px;
  padding: 72px 32px 48px;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.brand--footer {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--bg);
}
.footer-tagline {
  margin-top: 10px;
  font-size: 0.88rem;
  color: rgba(255, 248, 244, 0.55);
  max-width: 32ch;
}

.footer-links, .footer-socials {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-links a, .footer-socials a {
  font-size: 0.88rem;
  color: rgba(255, 248, 244, 0.75);
  width: fit-content;
  transition: color 0.25s var(--ease-out);
}
.footer-links a:hover, .footer-socials a:hover { color: var(--coral); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 32px 40px;
  border-top: 1px solid rgba(255, 248, 244, 0.12);
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 248, 244, 0.45);
}
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 248, 244, 0.75);
  transition: color 0.25s var(--ease-out), transform 0.3s var(--ease-spring);
}
.back-to-top:hover { color: var(--bg); transform: translateY(-2px); }
.back-to-top span { font-size: 0.9rem; }
