/* ============================================================
   PRIMOSA EXAMS — Landing Page
   Palette derived from the brand mark (pixel-sampled):
   teal #1E8790 · gold #E0BB49 · cream #FBFBEF · rose #D98FA0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,900;1,9..144,400;1,9..144,500&family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Archivo:ital,wght@0,400;0,500;0,600;0,700;1,500&display=swap');

:root {
  /* Brand */
  --teal: #1e8790;
  --teal-deep: #11555c;
  --teal-tint: #e6f2f2;
  --gold: #e0bb49;
  --gold-deep: #a9792a;
  --gold-tint: #fbf3dd;
  --rose: #d98fa0;
  --rose-deep: #a85268;
  --cream: #faf6ea;
  --paper: #f3ecd8;
  --ink: #241f1a;
  --ink-soft: #4a433b;
  --line: rgba(36, 31, 26, 0.1);

  /* Type — three-part system, not a generic 2-font pairing:
     Fraunces carries voice (editorial, warm, variable optical size),
     Bricolage Grotesque carries emphasis/labels (quirky, structural),
     Archivo carries body/UI copy (distinct rhythm from the usual Inter/Jakarta default). */
  --serif: 'Fraunces', 'Iowan Old Style', serif;
  --display: 'Bricolage Grotesque', var(--serif);
  --sans: 'Archivo', ui-sans-serif, system-ui, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}
h3 { font-weight: 500; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--rose);
  border-radius: 2px;
}

.section { position: relative; padding: 112px 0; }
.section--tight { padding: 72px 0; }

/* Keeps the fixed nav from covering a section's heading after an anchor
   link's smooth scroll lands — sized to the nav's taller (unscrolled) height. */
#top, #features, #demo, #roles, #security, #how-it-works, #clients, #contact {
  scroll-margin-top: 88px;
}

/* ---------------------------------------------------------
   Scroll-reveal
--------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: transform, opacity;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="left"].is-visible { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="right"].is-visible { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="scale"].is-visible { transform: scale(1); }

[data-stagger] > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-stagger].is-visible > * { opacity: 1; transform: translateY(0); }
[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0.02s; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 0.12s; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 0.22s; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 0.32s; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 0.42s; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: 0.52s; }

/* ---------------------------------------------------------
   Vapor text reveal (hero headline)
--------------------------------------------------------- */
.vapor-word {
  display: inline-block;
  opacity: 0;
  filter: blur(14px);
  transform: translateY(18px) scale(1.04);
  animation: vapor-in 1.1s var(--ease) forwards;
}
@keyframes vapor-in {
  to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}

/* ---------------------------------------------------------
   Decorative drifting blobs (parallax layers)
--------------------------------------------------------- */
.blob-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  animation: drift 16s ease-in-out infinite;
}
.blob--gold { background: radial-gradient(circle at 30% 30%, var(--gold), transparent 70%); }
.blob--teal { background: radial-gradient(circle at 30% 30%, var(--teal), transparent 70%); }
.blob--rose { background: radial-gradient(circle at 30% 30%, var(--rose), transparent 70%); }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(18px, -24px) rotate(8deg); }
  66% { transform: translate(-16px, 14px) rotate(-6deg); }
}

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

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------------------------------------------------------
   Nav
--------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.4s var(--ease-soft), background 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft);
}
.nav.is-scrolled {
  padding: 12px 0;
  background: rgba(250, 246, 234, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.nav__brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__link { position: relative; font-weight: 600; font-size: 0.92rem; color: var(--ink-soft); padding: 4px 0; }
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--rose); transition: right 0.3s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { right: 0; }
.btn.nav__cta { display: none; }
@media (min-width: 681px) {
  .btn.nav__cta { display: inline-flex; }
}
.nav__toggle {
  display: none;
  background: none; border: none; width: 40px; height: 40px;
  align-items: center; justify-content: center; border-radius: 10px;
}

/* ---------------------------------------------------------
   Buttons
--------------------------------------------------------- */
/* Sticker-style buttons: flat fill, thick ink border, hard offset shadow that
   collapses on press — deliberately not the soft rounded-pill-with-blur-glow
   shape that's become shorthand for "generated SaaS site." */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 24px;
  border-radius: 10px;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 0 var(--ink);
  transition: transform 0.18s var(--ease-soft), box-shadow 0.18s var(--ease-soft), background 0.2s, color 0.2s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 0 var(--ink); }
.btn--primary { background: var(--gold); color: var(--ink); }
.btn--primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--ink); }
.btn--teal { background: var(--teal); color: #fff; border-color: var(--ink); }
.btn--teal:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--ink); }
.btn--outline { background: var(--cream); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--ink); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); box-shadow: 4px 4px 0 0 rgba(255,255,255,0.35); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: var(--ink); box-shadow: 6px 6px 0 0 rgba(0,0,0,0.25); transform: translate(-2px, -2px); }
.btn--block { width: 100%; justify-content: center; }

/* Magnetic hover handled via JS transform; keep smooth return */
/* ---------------------------------------------------------
   Hero
--------------------------------------------------------- */
.hero {
  position: relative;
  padding: 168px 0 96px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero__title {
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  margin-bottom: 24px;
  max-width: 14ch;
}
/* Highlighter-stroke emphasis instead of the italic-colored-word cliché */
.hero__title .mark {
  font-family: var(--display);
  font-weight: 800;
  font-style: normal;
  position: relative;
  padding: 0 0.12em;
  z-index: 0;
}
.hero__title .mark::before {
  content: '';
  position: absolute;
  inset: 0.1em -0.06em 0.04em;
  background: var(--gold);
  border-radius: 3px 9px 4px 7px;
  transform: rotate(-1.6deg);
  z-index: -1;
}
.hero__lede {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__art { position: relative; }
.photo-stack { position: relative; padding: 0 28px 44px 0; }
.photo-stack__shot {
  width: 100%;
  height: auto;
  display: block;
  border: 7px solid #fff;
  border-radius: 10px;
  box-shadow: 11px 14px 0 0 rgba(36,31,26,0.1), 0 34px 60px -22px rgba(36,31,26,0.4);
  transform: rotate(-2.6deg);
  transition: transform 0.6s var(--ease);
}
.photo-stack:hover .photo-stack__shot { transform: rotate(-0.8deg); }
.photo-stack__tag {
  position: absolute;
  top: 14px; right: -6px;
  display: flex; align-items: center; gap: 8px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 9px 14px;
  border-radius: 999px;
  transform: rotate(3deg);
  box-shadow: 0 14px 28px -12px rgba(0,0,0,0.5);
}
.photo-stack__tag .dot--live { width: 8px; height: 8px; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 0 0 rgba(62,207,142,0.6); animation: pulse-dot 1.8s infinite; flex-shrink: 0; }
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(62,207,142,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(62,207,142,0); }
  100% { box-shadow: 0 0 0 0 rgba(62,207,142,0); }
}
.photo-stack__stamp {
  position: absolute;
  width: 128px; height: 128px;
  bottom: 0; left: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--cream);
  outline: 2px solid var(--ink);
  box-shadow: 0 18px 34px -12px rgba(0,0,0,0.4);
  transform: rotate(-9deg);
  animation: float-y 7s ease-in-out infinite;
}
.photo-stack__stamp img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------
   Marquee ticker — a substantial teal-deep band (ties to the hero's
   teal blob instead of clashing with it) with generous padding and
   faded edges, so it reads as a deliberate divider rather than a
   thin, hard-edged stripe between two cream sections.
--------------------------------------------------------- */
.ticker {
  position: relative;
  background: var(--teal-deep);
  overflow: hidden;
  padding: 30px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 64px, #000 calc(100% - 64px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 64px, #000 calc(100% - 64px), transparent);
}
.ticker__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}
.ticker__item {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.15rem; color: var(--gold-tint); white-space: nowrap;
}
.ticker__item svg { width: 16px; height: 16px; color: var(--gold); }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------------------------------------------------
   Section headers
--------------------------------------------------------- */
.section__head { max-width: 680px; margin-bottom: 64px; }
.section__head h2 { font-size: clamp(2.1rem, 4vw, 3.15rem); font-weight: 700; margin: 14px 0 16px; }
.section__head p { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.65; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------------------------------------------------------
   Features — asymmetric alternating rows
--------------------------------------------------------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row--reverse .feature-row__copy { order: 2; }
.feature-row--reverse .feature-row__visual { order: 1; }
.feature-row__icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.feature-row__icon svg { width: 24px; height: 24px; }
.feature-row__copy h3 { font-size: 1.7rem; margin-bottom: 14px; }
.feature-row__copy p { color: var(--ink-soft); line-height: 1.7; font-size: 1.02rem; margin-bottom: 18px; }
.feature-row__list { display: flex; flex-direction: column; gap: 10px; }
.feature-row__list li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--ink-soft); align-items: flex-start; }
.feature-row__list svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }

.mock-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(36,31,26,0.3);
  padding: 22px;
  transition: transform 0.5s var(--ease);
}
.mock-card:hover { transform: perspective(900px) rotateX(2deg) rotateY(-2deg) translateY(-6px); }
.mock-card__bar { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.mock-card__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }

/* ---------------------------------------------------------
   Demo scrapbook — real screenshots pinned at angles, not a
   uniform 3-col image grid.
--------------------------------------------------------- */
.scrapbook {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px 24px;
  padding: 24px 0 56px;
}
/* Rotation lives on the inner .scrapbook__photo wrapper, not .scrapbook__item
   itself — the scroll-reveal system ([data-stagger] > *) drives `transform`
   on direct children for its translateY animation, which would otherwise
   stomp a rotate() set on the same element once revealed. */
.scrapbook__item {
  position: relative;
  margin: 0;
  transition: transform 0.4s var(--ease);
}
.scrapbook__item:hover { transform: translateY(-6px); z-index: 2; }
.scrapbook__photo {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 10px 16px;
  box-shadow: 0 24px 50px -28px rgba(36,31,26,0.35);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.scrapbook__photo::before {
  content: '';
  position: absolute;
  top: -14px; left: 50%;
  width: 70px; height: 26px;
  margin-left: -35px;
  background: rgba(224, 187, 73, 0.55);
  border: 1px solid rgba(169, 121, 42, 0.25);
  box-shadow: 0 4px 8px -4px rgba(36,31,26,0.25);
  transform: rotate(-2deg);
}
.scrapbook__item:hover .scrapbook__photo { box-shadow: 0 30px 60px -24px rgba(36,31,26,0.4); }
.scrapbook__photo img { width: 100%; border-radius: 2px; display: block; border: 1px solid var(--line); }
.scrapbook__item figcaption {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 12px;
  text-align: center;
}
.scrapbook__item--1 { grid-column: 1 / 8; }
.scrapbook__item--2 { grid-column: 8 / 13; margin-top: 56px; }
.scrapbook__item--3 { grid-column: 3 / 11; margin-top: 8px; }
.scrapbook__item--1 .scrapbook__photo { transform: rotate(-3.2deg); }
.scrapbook__item--2 .scrapbook__photo { transform: rotate(4.5deg); }
.scrapbook__item--2 .scrapbook__photo::before { background: rgba(217,143,160,0.5); border-color: rgba(168,82,104,0.25); transform: rotate(3deg); }
.scrapbook__item--3 .scrapbook__photo { transform: rotate(-2.2deg); }
.scrapbook__item--3 .scrapbook__photo::before { background: rgba(30,135,144,0.35); border-color: rgba(17,85,92,0.25); transform: rotate(-1deg); }
.scrapbook__item:hover .scrapbook__photo { transform: rotate(0deg); }

/* ---------------------------------------------------------
   Roles — staggered offset cards
--------------------------------------------------------- */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.role-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 24px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.role-card:nth-child(odd) { transform: translateY(0); }
.role-card:nth-child(2) { transform: translateY(28px); }
.role-card:nth-child(4) { transform: translateY(-14px); }
.role-card:hover { transform: translateY(-8px) !important; box-shadow: 0 24px 50px -24px rgba(36,31,26,0.3); }
.role-card__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.role-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.role-card ul { display: flex; flex-direction: column; gap: 9px; }
.role-card li { font-size: 0.9rem; color: var(--ink-soft); display: flex; gap: 8px; }
.role-card li::before { content: '—'; color: var(--rose); font-weight: 700; flex-shrink: 0; }

/* ---------------------------------------------------------
   Security — dark band with diagonal edges
--------------------------------------------------------- */
.security {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  padding: 140px 0;
  clip-path: polygon(0 48px, 100% 0, 100% calc(100% - 48px), 0 100%);
  margin: -48px 0;
}
.security .section__head p { color: rgba(250,246,234,0.68); }
.security .eyebrow { color: var(--gold); }
.security .eyebrow::before { background: var(--gold); }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.security-item {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 26px;
  transition: background 0.3s, transform 0.4s var(--ease);
}
.security-item:hover { background: rgba(255,255,255,0.08); transform: translateY(-5px); }
.security-item svg { width: 26px; height: 26px; color: var(--gold); margin-bottom: 14px; }
.security-item h4 { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; }
.security-item p { font-size: 0.88rem; color: rgba(250,246,234,0.62); line-height: 1.6; margin: 0; }

.counter-row { display: flex; gap: 56px; margin-top: 64px; flex-wrap: wrap; }
.counter { }
.counter strong {
  display: block; font-family: var(--serif); font-size: 3rem; color: var(--gold);
}
.counter span { font-size: 0.85rem; color: rgba(250,246,234,0.6); font-weight: 600; }

/* ---------------------------------------------------------
   How it works
--------------------------------------------------------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps::before {
  content: '';
  position: absolute; top: 28px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
}
.step { position: relative; }
.step__num {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700;
  background: var(--cream); border: 2px solid var(--ink); margin-bottom: 20px;
  position: relative; z-index: 1;
}
.step h4 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; }

/* ---------------------------------------------------------
   Clients & testimonials
--------------------------------------------------------- */
.clients-strip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 28px; margin-bottom: 56px;
}
.client-mark {
  background: #fff; border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 20px 40px -28px rgba(36,31,26,0.25);
  padding: 18px 32px; display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.client-mark:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -26px rgba(36,31,26,0.32); }
.client-mark img { height: 64px; width: auto; max-width: 220px; object-fit: contain; display: block; }

.testimonials {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.testimonial__card {
  position: relative;
  background: #fff; border-radius: 24px; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(36,31,26,0.3);
  padding: 36px 32px 28px;
  height: 100%;
}
.testimonial__mark {
  position: absolute; top: 18px; right: 28px;
  font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--gold);
  opacity: 0.55;
}
.testimonial__card blockquote {
  font-family: var(--serif); font-size: 1.1rem; line-height: 1.65; color: var(--ink);
  margin: 0 0 24px; padding-right: 36px;
}
.testimonial__card figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 0.95rem;
}
.testimonial__card figcaption div strong { display: block; font-size: 0.92rem; }
.testimonial__card figcaption div span { font-size: 0.82rem; color: var(--ink-soft); }

@media (max-width: 720px) {
  .testimonials { grid-template-columns: 1fr; }
  .client-mark { padding: 14px 24px; }
  .client-mark img { height: 48px; }
}

/* ---------------------------------------------------------
   CTA band
--------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--teal);
  border-radius: 32px;
  padding: 72px 56px;
  overflow: hidden;
  text-align: center;
  color: #fff;
}
.cta-band::before, .cta-band::after {
  content: ''; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.cta-band::before { width: 320px; height: 320px; top: -140px; left: -80px; }
.cta-band::after { width: 240px; height: 240px; bottom: -120px; right: -40px; }
.cta-band h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: #fff; margin-bottom: 16px; position: relative; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 52ch; margin: 0 auto 32px; position: relative; font-size: 1.05rem; }
.cta-band .hero__actions { justify-content: center; position: relative; }

/* ---------------------------------------------------------
   Contact
--------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 20px 22px; margin-bottom: 14px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-card:hover { transform: translateX(6px); box-shadow: 0 16px 36px -20px rgba(36,31,26,0.25); }
.contact-card__icon {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-tint); color: var(--teal-deep);
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 2px; }
.contact-card span { font-weight: 700; font-size: 1.05rem; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px;
  box-shadow: 0 30px 60px -36px rgba(36,31,26,0.3);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 7px; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
  font-family: var(--sans); font-size: 0.95rem; background: var(--cream);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-tint);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 12px; text-align: center; }

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */
.footer { padding: 64px 0 36px; border-top: 1px solid var(--line); }
.footer__top {
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding-bottom: 40px; margin-bottom: 28px; border-bottom: 1px solid var(--line);
}
.footer__brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.footer__brand img { width: 36px; height: 36px; border-radius: 10px; }
.footer__tagline { color: var(--ink-soft); font-size: 0.92rem; max-width: 36ch; margin-top: 10px; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; color: var(--ink-soft); }
.footer__col a { display: block; font-size: 0.92rem; margin-bottom: 10px; color: var(--ink); font-weight: 600; }
.footer__col a:hover { color: var(--teal); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: var(--ink-soft); }

/* ---------------------------------------------------------
   Cursor glow
--------------------------------------------------------- */
.cursor-glow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,143,160,0.16), transparent 70%);
  pointer-events: none; z-index: 2; transform: translate(-50%, -50%);
  transition: opacity 0.3s; opacity: 0;
}
@media (hover: hover) { .cursor-glow.is-active { opacity: 1; } }

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 480px; margin: 0 auto; }
  .feature-row, .feature-row--reverse { grid-template-columns: 1fr; gap: 32px; }
  .feature-row--reverse .feature-row__copy, .feature-row--reverse .feature-row__visual { order: initial; }
  .scrapbook { grid-template-columns: repeat(2, 1fr); }
  .scrapbook__item--1 { grid-column: 1 / 3; }
  .scrapbook__item--2 { grid-column: 1 / 2; margin-top: 0; }
  .scrapbook__item--3 { grid-column: 2 / 3; margin-top: 28px; }
  .roles { grid-template-columns: repeat(2, 1fr); }
  .role-card:nth-child(2), .role-card:nth-child(4) { transform: translateY(0); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav__links { position: fixed; inset: 72px 16px auto 16px; background: #fff; border-radius: 20px;
    border: 1px solid var(--line); box-shadow: 0 24px 50px -20px rgba(0,0,0,0.25);
    flex-direction: column; align-items: stretch; gap: 4px; padding: 16px;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s; }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__link { padding: 12px 10px; }
  .nav__toggle { display: flex; }
  .roles { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .cta-band { padding: 48px 24px; }
  .security { clip-path: none; margin: 0; }

  /* Hero art: smaller stamp, tighter padding on narrow screens */
  .photo-stack { padding: 0 16px 36px 0; }
  .photo-stack__stamp { width: 86px; height: 86px; }
  .photo-stack__tag { font-size: 0.7rem; padding: 7px 11px; top: 8px; right: -4px; }

  .scrapbook { grid-template-columns: 1fr; gap: 28px; }
  .scrapbook__item--1, .scrapbook__item--2, .scrapbook__item--3 {
    grid-column: 1 / -1; margin-top: 0;
  }
  .scrapbook__item--1 .scrapbook__photo,
  .scrapbook__item--2 .scrapbook__photo,
  .scrapbook__item--3 .scrapbook__photo { transform: rotate(0deg); }
}
