:root {
  color-scheme: light;
  --paper: #f6f2e9;
  --surface: #fffefb;
  --ink: #173b3a;
  --teal: #2c8c82;
  --mint: #dcebe4;
  --clay: #c96f4a;
  --muted: #526b66;
  --line: #b6cbc3;
  --content: 1320px;
  font-family: "DM Sans", "Aptos", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--clay); outline-offset: 4px; }
.skip-link {
  position: absolute; z-index: 20; top: 12px; left: 12px; padding: 12px 16px;
  transform: translateY(-160%); background: var(--ink); color: white; border-radius: 10px;
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  width: min(calc(100% - 64px), var(--content)); height: 96px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  position: relative; z-index: 5;
}
.brand { display: flex; align-items: center; width: 136px; height: 88px; flex: 0 0 auto; }
.brand img { display: block; width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(24px, 3.2vw, 50px); margin-left: auto; }
.main-nav a { min-height: 48px; display: inline-flex; align-items: center; text-decoration: none; color: var(--muted); font-size: 14px; transition: color 180ms ease; }
.main-nav a:hover { color: var(--teal); }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--teal); }
.header-cta, .button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.header-cta { padding: 0 21px; color: white; background: var(--ink); }
.header-cta:hover, .button-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px #173b3a24; }
.menu-toggle, .mobile-nav { display: none; }
.hero {
  width: min(calc(100% - 64px), var(--content)); min-height: min(690px, calc(100svh - 138px));
  margin: 0 auto; padding: 54px 0 48px; display: grid; grid-template-columns: minmax(390px, .92fr) minmax(0, 1.08fr);
  align-items: center; gap: clamp(32px, 4vw, 66px); position: relative;
}
.hero-copy { position: relative; z-index: 2; max-width: 590px; padding-bottom: 14px; }
.eyebrow {
  width: fit-content; max-width: 100%; margin: 0 0 30px; padding: 10px 15px;
  display: flex; gap: 10px; align-items: center; border-radius: 999px;
  background: var(--teal); color: white; font-size: 11px; line-height: 1.2;
  font-weight: 700; letter-spacing: .055em; text-transform: uppercase;
}
.eyebrow span:not(.eyebrow-dot) { opacity: .75; }
.eyebrow-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #f4b08d; box-shadow: 0 0 0 4px #ffffff24; }
h1 { margin: 0; max-width: 760px; font-size: clamp(43px, 5.1vw, 72px); line-height: 1.04; letter-spacing: -.055em; font-weight: 700; }
h1 em { display: inline-block; margin-top: 7px; color: var(--teal); font-family: Fraunces, Georgia, serif; font-weight: 500; font-style: normal; letter-spacing: -.05em; }
.intro { max-width: 510px; margin: 27px 0 0; color: var(--muted); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.button { min-height: 54px; padding: 0 25px; font-size: 14px; }
.button-primary { min-width: 168px; color: white; background: var(--ink); }
.button-secondary { min-width: 190px; border: 1px solid var(--line); background: transparent; color: var(--ink); }
.button-secondary:hover { background: #fffefb88; border-color: var(--teal); }
.trust-line { display: flex; flex-wrap: wrap; gap: 9px; margin: 25px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.trust-line span { color: var(--clay); }
.hero-art {
  --rx: 0deg; --ry: 0deg; --px: 0px; --py: 0px;
  min-width: 0; width: 100%; aspect-ratio: 1.39; position: relative; isolation: isolate;
  perspective: 1200px; transform-style: preserve-3d;
}
.art-glow { position: absolute; inset: 8% 2% 4% 4%; z-index: -3; border-radius: 50%; background: radial-gradient(ellipse at 62% 50%, #dcebe4 0, #e6eee8b8 40%, transparent 72%); filter: blur(22px); }
.art-backplate { position: absolute; inset: 13% 4% 8% 13%; border-radius: 30px; transform-style: preserve-3d; }
.art-backplate-one { z-index: -2; background: #2c8c8211; border: 1px solid #2c8c8226; transform: translate3d(7px, 5px, -38px) rotateY(-5deg) rotateX(1deg); }
.art-backplate-two { z-index: -1; background: #fffefb99; border: 1px solid #ffffffcc; box-shadow: 0 30px 80px #173b3a12; transform: translate3d(-4px, -5px, -18px) rotateY(-3deg); }
.discovery-scene {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  mix-blend-mode: multiply; border-radius: 24px;
  transform: translate3d(var(--px), var(--py), 0) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d; filter: drop-shadow(0 18px 26px #173b3a0c);
  animation: scene-drift 8s ease-in-out infinite;
}
.signal-lines { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.signal { stroke: #2c8c82; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 4 12; opacity: .58; animation: signal-flow 7s linear infinite; }
.signal-b { animation-delay: -2s; opacity: .35; }
.signal-c { animation-delay: -4s; opacity: .45; }
.scene-label {
  position: absolute; z-index: 3; top: 10%; left: 10%; min-height: 38px; padding: 0 16px;
  display: inline-flex; align-items: center; gap: 9px; border: 1px solid #ffffffd9; border-radius: 999px;
  background: #fffefbdc; box-shadow: 0 8px 28px #173b3a10; color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: .025em; backdrop-filter: blur(10px);
}
.scene-label-spark { color: var(--clay); font-size: 17px; }
.scene-orb { position: absolute; z-index: 3; left: 45%; top: 48%; width: 17px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f8c3a9, var(--clay) 55%, #9d4b30); box-shadow: 0 0 0 7px #c96f4a18, 0 0 25px #c96f4a55; animation: orb-pulse 4.8s ease-in-out infinite; }
.service-ribbon {
  width: min(calc(100% - 64px), var(--content)); min-height: 63px; margin: 0 auto 24px; padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #dcebe480;
  color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .035em; text-transform: uppercase;
}
.ribbon-services { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 11px; font-weight: 600; }
.ribbon-services i { width: 5px; height: 5px; border-radius: 50%; background: var(--clay); }
@keyframes scene-drift { 0%,100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes signal-flow { to { stroke-dashoffset: -112; } }
@keyframes orb-pulse { 0%,100% { scale: 1; } 50% { scale: 1.16; } }

@media (min-width: 1440px) { .hero { min-height: 690px; } }
@media (max-width: 1000px) {
  .site-header, .hero, .service-ribbon { width: min(calc(100% - 44px), var(--content)); }
  .hero { grid-template-columns: minmax(330px, .92fr) minmax(0, 1fr); gap: 22px; }
  .main-nav { gap: 20px; }
  .main-nav a { font-size: 13px; }
  .hero-art { aspect-ratio: 1.15; }
  h1 { font-size: clamp(42px, 5.5vw, 58px); }
}
@media (max-width: 720px) {
  html { scroll-behavior: auto; }
  .site-header { width: calc(100% - 36px); height: 78px; gap: 12px; }
  .brand { width: 112px; height: 72px; }
  .main-nav { display: none; }
  .header-cta { min-height: 44px; margin-left: auto; padding: 0 15px; font-size: 12px; }
  .menu-toggle { width: 44px; height: 44px; padding: 12px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); cursor: pointer; }
  .menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav { position: fixed; z-index: 25; top: 70px; left: 18px; right: 18px; padding: 10px; display: grid; gap: 4px; border: 1px solid #dcebe4; border-radius: 20px; background: var(--surface); box-shadow: 0 18px 50px #173b3a1c; }
  .mobile-nav[inert] { display: none; }
  .mobile-nav:not([inert]) { display: grid; }
  .mobile-nav a { min-height: 48px; padding: 0 14px; display: flex; align-items: center; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: 14px; }
  .mobile-nav a:hover { background: var(--mint); }
  .mobile-nav a[aria-current="page"] { background: var(--mint); color: var(--teal); font-weight: 700; }
  .hero { width: calc(100% - 36px); min-height: 0; padding: 37px 0 34px; grid-template-columns: 1fr; gap: 12px; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 22px; padding: 9px 12px; gap: 7px; font-size: 9px; }
  h1 { max-width: 620px; font-size: clamp(40px, 10.7vw, 62px); line-height: 1.03; }
  h1 em { margin-top: 4px; }
  .intro { margin-top: 19px; font-size: 16px; line-height: 1.58; }
  .hero-actions { margin-top: 23px; gap: 10px; }
  .button { min-height: 50px; padding: 0 17px; font-size: 13px; }
  .button-primary { min-width: 145px; }
  .button-secondary { min-width: 166px; }
  .trust-line { margin-top: 18px; gap: 6px; font-size: 10px; }
  .hero-art { width: 100%; max-width: 620px; margin: 2px auto 0; aspect-ratio: 1.28; }
  .scene-label { top: 8%; left: 5%; min-height: 32px; padding: 0 12px; font-size: 9px; }
  .scene-orb { width: 12px; }
  .service-ribbon { width: calc(100% - 36px); margin-bottom: 10px; padding: 16px; align-items: flex-start; flex-direction: column; gap: 10px; font-size: 10px; }
  .ribbon-services { gap: 10px; font-size: 10px; }
}
@media (max-width: 390px) {
  .site-header { width: calc(100% - 28px); }
  .header-cta { padding: 0 12px; }
  .hero { width: calc(100% - 32px); }
  h1 { font-size: 39px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .trust-line { max-width: 300px; }
  .service-ribbon { width: calc(100% - 32px); }
}
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-art { transition: transform 250ms ease-out; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .discovery-scene { translate: none; }
}



/* Scroll-linked 3D discovery story: steps on the left, the 3D website (hero3d.js) on the right */
.scroll-story { padding: clamp(72px, 10vw, 130px) max(32px, calc((100vw - var(--content)) / 2)) 48px; overflow: clip; }
.story-heading { max-width: var(--content); margin: 0 auto clamp(40px, 8vw, 96px); }
.story-heading .eyebrow { margin-bottom: 24px; }
.story-heading h2 { max-width: 720px; margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: 1.04; letter-spacing: -.05em; }
.story-heading h2 em { color: var(--teal); font-family: Fraunces, Georgia, serif; font-style: normal; font-weight: 500; }
.story-heading > p:last-child { max-width: 590px; margin: 20px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.story-grid { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 76px); align-items: start; }
.story-steps { grid-column: 1; grid-row: 1; position: relative; z-index: 2; }
.story-step { min-height: 78svh; padding: 14vh 0 8vh; display: flex; flex-direction: column; justify-content: center; }
/* Inactive steps step back in colour rather than opacity, so the text stays readable. */
.story-step h3 { transition: color 320ms ease; }
.story-step:not(.is-active) h3 { color: #6f8580; }
.step-kicker { margin: 0 0 22px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.step-kicker span { color: var(--clay); padding: 0 5px; }
.story-step h3 { max-width: 440px; margin: 0; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -.045em; }
.story-step > p:last-child { max-width: 410px; margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.story-stage { grid-column: 2; grid-row: 1; height: 100svh; min-height: 560px; max-height: 860px; position: sticky; top: 0; align-self: start; }
@media (max-width: 820px) {
  .scroll-story { padding: 74px 22px 28px; }
  .story-heading { margin-bottom: 36px; }
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-stage { grid-column: 1; grid-row: 1; top: 0; height: 45svh; min-height: 290px; max-height: 460px; }
  .story-steps { grid-column: 1; grid-row: 2; }
  .story-step { min-height: 68svh; padding: 10vh 0; }
  /* On phones, earlier steps scroll up behind the 3D website, so they fade back. */
  .story-step { transition: opacity 320ms ease; }
  .story-step:not(.is-active) { opacity: .35; }
}
@media (max-width: 480px) {
  .scroll-story { padding-inline: 18px; }
  .story-stage { height: 41svh; min-height: 260px; }
  .story-step { min-height: 66svh; }
}

/* Quiet, scroll-linked brand backdrop */
.site-header, main, .cta-band, .site-footer { position: relative; z-index: 1; }
.brand-background { position: fixed; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; opacity: .78; contain: strict; }
.background-route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.background-route-glow { fill: none; stroke: #2c8c82; stroke-width: 26; stroke-linecap: round; opacity: .035; filter: blur(16px); }
.background-route-line { fill: none; stroke: #2c8c82; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 2 13; opacity: .115; }
.background-spark { opacity: .9; filter: drop-shadow(0 0 12px #c96f4a50); }
.background-pane { position: absolute; width: clamp(260px, 38vw, 560px); height: clamp(120px, 22vh, 220px); border: 1px solid #2c8c8212; border-radius: 34px; background: linear-gradient(135deg,#dcebe425,#fffefb10 48%,#2c8c8209); box-shadow: inset 0 0 35px #ffffff44; transform-style: preserve-3d; }
/* Homepage 3D website (hero3d.js): behind the content, above the brand backdrop.
   The hero image only shows when 3D is unavailable. */
.hero-3d { position: fixed; inset: 0; z-index: 0; width: 100vw; height: 100vh; pointer-events: none; }
/* When 3D runs, the hero image area stays as an empty box; scenes that can be dragged use it as their touch surface. */
.has-hero-3d .hero-art > *, .hero-3d-pending .hero-art > * { visibility: hidden; }
.hero-3d { opacity: 0; transition: opacity 800ms ease; }
.has-hero-3d .hero-3d { opacity: 1; }
.hero-art.is-interactive { cursor: grab; touch-action: pan-y; user-select: none; }
.hero-art.is-interactive:active { cursor: grabbing; }
.pane-left { top: 18%; left: -20%; transform: perspective(1000px) rotateY(38deg) rotateZ(-13deg); }
.pane-right { right: -22%; bottom: 10%; transform: perspective(1000px) rotateY(-36deg) rotateZ(12deg); }
@media (max-width: 720px) {
  .brand-background { opacity: .54; }
  .background-pane { width: 74vw; height: 14vh; border-radius: 24px; }
  .pane-left { top: 22%; left: -36%; }
  .pane-right { right: -39%; bottom: 15%; }
  .background-route-glow { stroke-width: 38; opacity: .025; }
}
@media (prefers-reduced-motion: reduce) {
  .background-route-line { stroke-dashoffset: 0 !important; }
}


/* ==========================================================================
   Site pages: shared sections, cards and footer
   ========================================================================== */
:root { --line-soft: #dfe7e2; --mint-deep: #e2ede7; --card-edge: 0 6px 0 #173b3a0d; }
.page { width: min(calc(100% - 64px), var(--content)); margin: 0 auto; }
.eyebrow-plain { margin: 0 0 22px; display: flex; align-items: center; gap: 10px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow-plain::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--teal); }
.serif { color: var(--teal); font-family: Fraunces, Georgia, serif; font-weight: 500; font-style: normal; }

/* Page hero (inner pages) */
.page-hero { padding: 40px 0 56px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { font-size: clamp(40px, 4.6vw, 64px); }
.page-hero .intro { max-width: 620px; }

/* Panels */
.panel { border: 1px solid var(--line-soft); border-radius: 28px; background: var(--surface); box-shadow: var(--card-edge); padding: clamp(24px, 3vw, 36px); }
.panel-mint { border-color: #cfe0d8; background: var(--mint-deep); }
.mini-label { margin: 0 0 18px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-head { max-width: 700px; margin-bottom: 36px; }
.section-head h2 { margin: 0; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.045em; }
.section-head > p:last-child { margin: 16px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.section-head .eyebrow-plain { margin-bottom: 16px; }

/* Journey strip (Build / Structure / Discovery) */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; padding: 30px 24px; text-align: center; }
.journey::before { content: ""; position: absolute; left: calc(16.66% + 24px); right: calc(16.66% + 24px); bottom: 39px; height: 2px; background: #2c8c8255; }
.journey span { display: grid; justify-items: center; gap: 18px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.journey span::after { content: ""; position: relative; width: 16px; height: 16px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px #2c8c8222; }

/* Service cards */
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.service-card { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 24px; align-items: start; }
.service-card h2, .service-card h3 { margin: 18px 0 10px; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -.04em; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.service-card .text-link { margin-top: 22px; }
.tag { display: inline-flex; min-height: 30px; padding: 0 14px; align-items: center; border-radius: 999px; background: var(--mint); color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.panel-mint .tag { background: var(--surface); }
.check-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.check-list li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%232c8c82' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.panel-mint .check-list li::before { background-color: var(--surface); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; box-shadow: inset 0 -2px 0 #2c8c8266; }
.text-link:hover { color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); }

/* Small illustrations inside service cards */
.illus { position: relative; height: 130px; margin-top: 46px; }
.illus-browser { position: absolute; inset: 0 26px 18px 0; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #f1f6f3; box-shadow: 8px 8px 0 #dfe7e2; }
.illus-browser::before { content: ""; display: block; width: 22px; height: 5px; border-radius: 4px; background: radial-gradient(circle, var(--clay) 2.5px, transparent 3px) 0 0 / 8px 5px repeat-x; }
.illus-browser i { display: block; height: 6px; margin-top: 12px; border-radius: 4px; background: #2c8c8240; }
.illus-browser i:last-child { width: 60%; }
.illus-phone { position: absolute; right: 0; bottom: 0; width: 52px; height: 92px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 6px 6px 0 #dfe7e2; }
.illus-phone::before { content: ""; position: absolute; inset: 10px 8px 22px; border-radius: 6px; background: var(--mint); }
.illus-phone::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--teal); }
.illus-signals { padding: 14px; border: 1px solid #ffffffcc; border-radius: 14px; background: var(--surface); box-shadow: 8px 8px 0 #cfe0d8; }
.illus-signals b { display: block; margin-bottom: 10px; color: var(--teal); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.illus-signals i { display: block; height: 5px; margin-top: 9px; border-radius: 4px; background: #2c8c8238; }
.illus-signals i:nth-of-type(2) { width: 70%; } .illus-signals i:nth-of-type(4) { width: 55%; }
.illus-signals span { position: absolute; right: -14px; bottom: 26px; padding: 6px 10px; border: 1px solid #cfe0d8; border-radius: 999px; background: #f1f6f3; color: var(--teal); font-size: 8px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }

/* Numbered steps */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { padding: 24px 4px 0; border-top: 2px solid var(--line); }
.step-num { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--teal); font-size: 12px; font-weight: 800; }
.steps h3 { margin: 16px 0 8px; font-size: 20px; letter-spacing: -.02em; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.fine-print { margin: 28px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* FAQ */
.faq { max-width: 880px; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line-soft); border-radius: 18px; background: var(--surface); }
.faq summary { min-height: 60px; padding: 18px 56px 18px 22px; position: relative; cursor: pointer; list-style: none; font-size: 17px; font-weight: 700; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; color: var(--teal); font-size: 24px; font-weight: 500; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); line-height: 1.65; }

/* Card grid (principles) */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card-grid .panel { padding: 26px; }
.card-grid h3 { margin: 0 0 10px; display: flex; align-items: center; gap: 12px; font-size: 20px; letter-spacing: -.02em; }
.card-grid p { margin: 0; color: var(--muted); line-height: 1.6; }

/* About: "what we bring together" */
.together-row { display: grid; grid-template-columns: 1fr 34px 1fr; align-items: center; }
.together-item { padding: 20px; border-radius: 18px; background: var(--surface); box-shadow: var(--card-edge); }
.together-item strong { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.together-item strong::before { content: ""; width: 14px; height: 14px; flex: 0 0 auto; border-radius: 50%; background: var(--teal); }
.together-item.is-clay strong::before { background: var(--clay); }
.together-item span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.together-link { height: 2px; background: var(--teal); position: relative; }
.together-link::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--teal); }
.together-caption { margin: 18px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
.band-title { margin: 0 0 12px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.03em; }
.band-text { max-width: 880px; margin: 0; color: var(--muted); line-height: 1.65; }

/* Work */
.work-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.work-visual { min-height: 300px; padding: 28px; display: grid; place-items: center; border-radius: 22px; perspective: 1000px; }
.work-visual.is-loom { background: linear-gradient(140deg, #f3e3d6, #e7c9b3); }
.mock { width: min(100%, 400px); padding: 9px; border-radius: 16px; background: var(--surface); box-shadow: 0 26px 50px #173b3a24; transform: rotateY(-8deg) rotateX(3deg); }
.mock-bar { height: 18px; display: flex; gap: 5px; align-items: center; padding: 0 4px 6px; }
.mock-bar span { width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }
.mock-bar span:nth-child(2) { background: #d9b274; }
.mock-bar span:nth-child(3) { background: var(--teal); }
.mock-page { min-height: 190px; padding: 16px; display: grid; grid-template-columns: 1fr .8fr; gap: 14px; border-radius: 11px; background: var(--paper); }
.mock-copy { display: flex; flex-direction: column; justify-content: center; gap: 9px; }
.mock-copy small { color: var(--teal); font-size: 7px; font-weight: 800; letter-spacing: .14em; }
.mock-copy strong { font-family: Fraunces, Georgia, serif; font-size: 19px; font-weight: 500; line-height: 1.12; }
.mock-copy i { height: 5px; border-radius: 4px; background: #173b3a1c; }
.mock-copy i:last-of-type { width: 65%; }
.mock-copy b { width: fit-content; margin-top: 4px; padding: 6px 10px; border-radius: 999px; background: var(--ink); color: white; font-size: 8px; }
.mock-art { border-radius: 9px; }
.is-loom .mock-art { background: repeating-linear-gradient(45deg, #c96f4a 0 8px, #e9b996 8px 16px, #7d3f27 16px 20px); }
.work-meta { margin: 0 0 12px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.work-body h2 { margin: 0 0 12px; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.08; letter-spacing: -.04em; }
.work-body > p { margin: 0; color: var(--muted); line-height: 1.65; }
.chip-list { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.work-actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: clamp(24px, 4vw, 48px); align-items: start; padding-bottom: 32px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; }
.field .optional { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid #2c8c8240; outline-offset: 1px; border-color: var(--teal); }
.form-footer { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
button.button { border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.form-status { min-height: 1.5em; margin: 16px 0 0; color: var(--teal); font-size: 14px; font-weight: 700; }
.form-status.is-error { color: #a4472a; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
button.button:disabled { opacity: .6; cursor: progress; }
.contact-cards { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 12px; }
.contact-card { min-height: 76px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line-soft); border-radius: 20px; background: var(--surface); box-shadow: var(--card-edge); color: var(--ink); text-decoration: none; }
a.contact-card:hover { border-color: var(--teal); }
.contact-icon { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; background: var(--mint); color: var(--teal); }
.contact-card strong { display: block; font-size: 15px; }
.contact-card span span { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; }
.next-steps ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; counter-reset: next; }
.next-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: 15px; line-height: 1.55; counter-increment: next; }
.next-steps li::before { content: counter(next); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); color: var(--teal); font-size: 12px; font-weight: 800; }

/* Call-to-action band */
.cta-band { width: min(calc(100% - 64px), var(--content)); margin: clamp(40px, 6vw, 72px) auto; padding: clamp(28px, 4vw, 52px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; border-radius: 32px; background: var(--ink); color: white; }
.cta-band .eyebrow-plain { margin-bottom: 14px; color: #9fd3c9; }
.cta-band .eyebrow-plain::before { background: var(--clay); }
.cta-band h2 { margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.1; letter-spacing: -.04em; }
.cta-band p { max-width: 540px; margin: 12px 0 0; color: #d6e4df; line-height: 1.6; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .button-primary { background: var(--paper); color: var(--ink); }
.cta-band .button-secondary { border-color: #ffffff55; color: white; }
.cta-band .button-secondary:hover { border-color: white; background: #ffffff14; }
.cta-band a:focus-visible { outline-color: #f4b08d; }

/* Footer */
.site-footer { width: min(calc(100% - 64px), var(--content)); margin: 0 auto; padding: 56px 0 28px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 132px; height: auto; display: block; }
.footer-brand p { max-width: 320px; margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer-col h2 { margin: 0 0 12px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.footer-col li { color: var(--muted); font-size: 14px; line-height: 1.5; }
.footer-col a { min-height: 36px; display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.footer-col a:hover { color: var(--teal); }
.footer-values { margin-top: 40px; padding: 18px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; border-top: 1px solid var(--line); color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 12px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer-legal a { min-height: 32px; display: inline-flex; align-items: center; color: var(--muted); text-decoration: none; }
.footer-legal a:hover, .footer-legal a[aria-current="page"] { color: var(--teal); }

/* Legal pages */
.legal-hero { padding: 40px 0 32px; }
.legal-hero h1 { font-size: clamp(36px, 4vw, 56px); }
.legal-date { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.legal { max-width: 860px; }
.legal h2 { margin: 32px 0 10px; font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.7; }
.legal p { margin: 0; }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.legal a, .form-note a { color: var(--ink); text-decoration-color: #2c8c8288; text-underline-offset: 3px; }
.legal-nav { max-width: 860px; margin: 28px 0 72px; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.legal-nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; }
.legal-nav a:hover { color: var(--teal); }
.legal-nav a[aria-current="page"] { display: none; }

/* Responsive: site pages */
@media (max-width: 1000px) {
  .page, .cta-band, .site-footer { width: min(calc(100% - 44px), var(--content)); }
  .service-card { grid-template-columns: 1fr; }
  .illus { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}
@media (max-width: 820px) {
  .page-hero, .contact-layout, .work-card { grid-template-columns: 1fr; }
  .service-grid, .card-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .work-visual { min-height: 240px; }
}
@media (max-width: 720px) {
  .page, .cta-band, .site-footer { width: calc(100% - 36px); }
  .page-hero { padding: 24px 0 40px; gap: 28px; }
  .page-hero h1 { font-size: clamp(36px, 10vw, 52px); }
  .section-head > p:last-child { font-size: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .together-row { grid-template-columns: 1fr; }
  .together-link { width: 2px; height: 22px; justify-self: center; }
  .cta-band { border-radius: 24px; }
  .footer-values { flex-direction: column; }
}
@media (max-width: 480px) {
  .steps, .footer-inner { grid-template-columns: 1fr; }
  .work-visual { padding: 18px; min-height: 0; }
  .mock-page { min-height: 150px; }
  .cta-actions, .cta-actions .button { width: 100%; }
}

/* Headings: every h1-h3 in capitals and bold.
   ":root" lifts these above section rules such as ".story-heading h2" so one rule covers the site.
   Capitals need looser tracking than the tight lowercase settings above. */
:root :is(h1, h2, h3) { text-transform: uppercase; font-weight: 800; letter-spacing: -.015em; }
:root :is(h1, h2, h3) :is(em, .serif) { font-weight: 700; letter-spacing: -.01em; }
:root .footer-col h2 { letter-spacing: .12em; }
/* Long capitalised words ("UNDERSTANDABLE") need a slightly smaller story heading to fit its column. */
.story-step h3 { max-width: 480px; font-size: clamp(28px, 3.1vw, 44px); }

/* Header: stays at the top, slides away while scrolling down and returns when scrolling up (main.js) */
.site-header { position: sticky; top: 0; z-index: 20; transition: transform 260ms ease, background-color 200ms ease; }
.site-header.is-scrolled { background: var(--paper); box-shadow: 0 0 0 100vmax var(--paper); clip-path: inset(0 -100vmax); }
.site-header.is-hidden { transform: translateY(-100%); }
[id] { scroll-margin-top: 104px; }

/* WhatsApp button that stays in reach on phones */
.whatsapp-float { display: none; }
@media (max-width: 720px) {
  .whatsapp-float { position: fixed; z-index: 30; right: 16px; bottom: 16px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: white; box-shadow: 0 12px 30px #173b3a40; transition: transform 200ms ease; }
  .whatsapp-float:active { transform: scale(.94); }
  .whatsapp-float:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
  /* Keeps the last footer links clear of the button */
  .site-footer { padding-bottom: 96px; }
}

/* Free website check offer */
.offer { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(240px, .6fr); gap: 32px; align-items: center; }
.offer .eyebrow-plain { margin-bottom: 14px; }
.offer .check-list { margin-top: 20px; }
.offer-actions { display: grid; gap: 12px; }
@media (max-width: 820px) { .offer { grid-template-columns: 1fr; } }

/* Contact form: second (email) button keeps its outline */
button.button-secondary { border: 1px solid var(--line); }
.needs-mini { margin-top: 24px; }

/* ==========================================================================
   Opening animation (intro.js). Shown only while html.show-intro is set:
   the first page of a visit, never with reduced motion.
   ========================================================================== */
.intro-overlay { display: none; }
.show-intro, .show-intro body { overflow: hidden; }
.show-intro .intro-overlay, .intro-leaving .intro-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.intro-panel { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--paper); transition: transform 680ms cubic-bezier(.77, 0, .18, 1); will-change: transform; }
.intro-panel-left { left: 0; }
.intro-panel-right { right: 0; }
/* Sized like the logo image (410 × 260); the drawn mark covers the mark area of that image. */
.intro-content { position: relative; z-index: 1; width: min(70vw, 320px); aspect-ratio: 410 / 260; transition: opacity 280ms ease, transform 600ms ease; will-change: opacity, transform; }
.intro-mark, .intro-lockup { position: absolute; }
.intro-mark { inset: 0; width: 100%; height: 100%; overflow: visible; transition: opacity 400ms ease; }
.intro-mark path { fill: transparent; stroke-width: 3; stroke-linejoin: round; stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); }
.intro-c { stroke: var(--teal); }
.intro-m { stroke: var(--ink); }
.intro-star { stroke: var(--clay); transform-box: fill-box; transform-origin: center; }
.intro-overlay.is-drawing .intro-mark path { stroke-dashoffset: 0; transition: stroke-dashoffset 1000ms cubic-bezier(.65, 0, .35, 1), fill 300ms ease; }
.intro-overlay.is-filled .intro-c { fill: var(--teal); }
.intro-overlay.is-filled .intro-m { fill: var(--ink); }
.intro-overlay.is-filled .intro-star { fill: var(--clay); animation: intro-sparkle 600ms ease; }
.intro-lockup { inset: 0; width: 100%; height: auto; opacity: 0; transition: opacity 400ms ease; }
.intro-overlay.is-branded .intro-mark { opacity: 0; }
.intro-overlay.is-branded .intro-lockup { opacity: 1; }
/* Keeps the scrollbar space reserved, so the page doesn't shift sideways when scrolling is unlocked. */
html { scrollbar-gutter: stable; }
.intro-count { position: absolute; z-index: 1; left: 50%; bottom: 32px; translate: -50% 0; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .16em; transition: opacity 280ms ease; }
.intro-skip { position: absolute; z-index: 1; right: 20px; bottom: 20px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: opacity 280ms ease; }
.intro-skip:hover { border-color: var(--teal); }
.intro-overlay.is-opening .intro-panel-left { transform: translateX(-100%); }
.intro-overlay.is-opening .intro-panel-right { transform: translateX(100%); }
.intro-overlay.is-opening .intro-content { opacity: 0; transform: scale(.96); }
.intro-overlay.is-opening .intro-count, .intro-overlay.is-opening .intro-skip { opacity: 0; }
@keyframes intro-sparkle { 0% { transform: scale(.6) rotate(-30deg); } 60% { transform: scale(1.25) rotate(10deg); } 100% { transform: none; } }

/* ==========================================================================
   Page transitions: the old page lifts away and the new one wipes up from
   below. Chrome, Edge and Safari 18.2+; other browsers navigate normally.
   ========================================================================== */
@view-transition { navigation: auto; }
.brand { view-transition-name: brand; }
::view-transition-old(root) { animation: 360ms cubic-bezier(.4, 0, .2, 1) both page-out; }
::view-transition-new(root) { animation: 560ms cubic-bezier(.2, .8, .2, 1) both page-in; }
@keyframes page-out { to { opacity: 0; transform: translateY(-16px) scale(.985); } }
@keyframes page-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ==========================================================================
   3D scroll entrances (main.js). Content starts hidden only after the script
   has added html.reveal-ready, so nothing stays hidden if scripts fail.
   ========================================================================== */
.reveal-ready .reveal {
  opacity: 0;
  transform: perspective(900px) translateY(28px) rotateX(8deg);
  transform-origin: 50% 100%;
  transition: opacity 700ms cubic-bezier(.2, .7, .2, 1), transform 800ms cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-ready .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* Contact form: "message sent" envelope (main.js adds the step classes in order) */
.contact-layout { overflow-x: clip; }
[data-contact-form] { position: relative; display: grid; scroll-margin-top: 96px; }
[data-contact-form] > * { grid-area: 1 / 1; min-width: 0; }
.form-body { transition: opacity 350ms ease, transform 350ms ease, filter 350ms ease; }
.is-folding .form-body, .is-sent .form-body { opacity: 0; transform: scale(.96) translateY(8px); filter: blur(2px); pointer-events: none; }
.is-sent .form-body { position: absolute; inset: 0; visibility: hidden; overflow: hidden; }
.button-spinner { display: none; width: 16px; height: 16px; border: 2px solid #ffffff55; border-top-color: white; border-radius: 50%; animation: button-spin 700ms linear infinite; }
.is-sending .button-spinner { display: inline-block; }
.is-sending .button-arrow { display: none; }
@keyframes button-spin { to { transform: rotate(360deg); } }

.sent-stage { display: grid; justify-items: center; align-items: start; pointer-events: none; }
.is-sent .sent-stage { display: none; }
.env { position: relative; top: var(--env-y, 0px); width: 240px; height: 160px; perspective: 700px; opacity: 0; transform: translateY(20px) scale(.9); transition: opacity 300ms ease, transform 450ms cubic-bezier(.34, 1.56, .64, 1); }
.step-envelope .env { opacity: 1; transform: none; }
.env > * { position: absolute; }
.env-back { inset: 0; border: 1px solid #cfe0d8; border-radius: 12px; background: var(--mint-deep); }
.env-letter { left: 18px; right: 18px; bottom: 12px; height: 132px; z-index: 2; padding: 18px 16px; border: 1px solid var(--line-soft); border-radius: 8px; background: white; box-shadow: 0 6px 18px #173b3a14; transform: translateY(-95px); transition: transform 600ms cubic-bezier(.6, 0, .3, 1); }
.env-letter i { display: block; height: 7px; margin-bottom: 9px; border-radius: 4px; background: var(--mint); }
.env-letter i:nth-child(1) { width: 45%; background: var(--teal); opacity: .7; }
.env-letter i:nth-child(3) { width: 80%; }
.env-letter i:nth-child(4) { width: 60%; }
.step-tuck .env-letter { transform: translateY(0); }
.env-front { inset: 0; z-index: 3; width: 100%; height: 100%; overflow: visible; fill: var(--mint); stroke: var(--line); }
.env-front .env-fold { fill: none; }
.env-flap { left: 0; top: 0; z-index: 1; width: 100%; height: 106px; overflow: visible; fill: #cfe0d8; stroke: var(--line); stroke-linejoin: round; transform-origin: top center; transform: rotateX(180deg); transition: transform 500ms cubic-bezier(.5, 0, .3, 1.2); }
.step-close .env-flap { z-index: 4; transform: rotateX(0deg); }
.env-seal, .env-ring { left: 50%; top: 100px; z-index: 5; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; opacity: 0; }
.env-seal { display: grid; place-items: center; background: var(--clay); box-shadow: 0 0 0 4px #c96f4a33, 0 6px 14px #c96f4a55; transform: scale(2.2) rotate(-40deg); }
.env-seal svg { width: 22px; height: 22px; fill: white; }
.env-ring { border: 2px solid var(--clay); }
.step-seal .env-seal { animation: env-stamp 520ms cubic-bezier(.34, 1.56, .64, 1) forwards; }
.step-seal .env-ring { animation: env-ring 700ms 250ms ease-out forwards; }
@keyframes env-stamp { 0% { opacity: 0; transform: scale(2.2) rotate(-40deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes env-ring { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
.step-fly .env { opacity: 0; transform: translate(min(60vw, 520px), -70vh) rotate(-16deg) scale(.45); transition: transform 800ms cubic-bezier(.55, 0, .75, .3), opacity 500ms 300ms ease; }
.env-speed { right: 100%; height: 3px; border-radius: 3px; background: var(--teal); opacity: 0; }
.env-speed:nth-child(1) { top: 40%; width: 46px; }
.env-speed:nth-child(2) { top: 55%; width: 70px; }
.env-speed:nth-child(3) { top: 70%; width: 34px; }
.step-fly .env-speed { animation: env-speed 600ms ease-out; }
@keyframes env-speed { 0% { opacity: 0; transform: translateX(10px); } 30% { opacity: .6; } 100% { opacity: 0; transform: translateX(-40px); } }

.sent-card { display: grid; justify-items: center; align-content: center; padding: clamp(12px, 3vw, 28px) 0; text-align: center; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 450ms ease, transform 600ms cubic-bezier(.34, 1.56, .64, 1), visibility 0s 450ms; }
.is-sent .sent-card { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sent-check { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 10px var(--mint-deep); }
.sent-check svg { width: 52%; height: 52%; overflow: visible; fill: none; stroke: white; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; }
.is-sent .sent-check svg { animation: sent-check 450ms 200ms ease forwards; }
@keyframes sent-check { to { stroke-dashoffset: 0; } }
.sent-title { margin: 22px 0 8px; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; outline: none; }
.sent-card > p { max-width: 430px; margin: 0; color: var(--muted); line-height: 1.6; }
.sent-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; max-width: 560px; margin: 24px 0 20px; padding: 0; list-style: none; }
.sent-steps li { padding: 14px 10px; border-radius: 16px; background: var(--mint-deep); font-size: 13px; font-weight: 600; line-height: 1.4; opacity: 0; transform: translateY(10px); }
.sent-steps b { display: block; margin-bottom: 4px; color: var(--teal); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.is-sent .sent-steps li { animation: sent-rise 450ms ease forwards; }
.is-sent .sent-steps li:nth-child(2) { animation-delay: 120ms; }
.is-sent .sent-steps li:nth-child(3) { animation-delay: 240ms; }
@keyframes sent-rise { to { opacity: 1; transform: none; } }
.text-link-button { padding: 0 0 2px; border: 0; border-bottom: 2px solid var(--teal); background: none; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
@media (max-width: 640px) { .sent-steps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .form-body, .env, .env-letter, .env-flap, .sent-card { transition: none; }
  .step-seal .env-seal, .step-seal .env-ring, .step-fly .env-speed, .is-sent .sent-check svg, .is-sent .sent-steps li { animation-duration: 1ms; animation-delay: 0s; }
}
