/* A M G Insights Innovations
   Palette from the company letterhead; display type after the brand's
   high-contrast serif poster. Motion respects prefers-reduced-motion. */

:root {
  --night: #1A0710;
  --night-2: #14050C;
  --bordeaux: #2B0D1A;
  --magenta: #9B4169;
  --magenta-hi: #C46A93;
  --wine: #731F1C;
  --blush: #E8C9D7;
  --silver: #E7E6E6;
  --text: #D9C3CE;
  --muted: #A98D9B;
  --line: rgba(232, 201, 215, 0.16);
  --line-strong: rgba(232, 201, 215, 0.32);

  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Carlito', 'Calibri', 'Segoe UI', system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1280px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(70vmax 55vmax at 92% -8%, rgba(155, 65, 105, 0.26), transparent 62%),
    radial-gradient(60vmax 50vmax at -10% 105%, rgba(115, 31, 28, 0.32), transparent 60%),
    var(--night);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--blush); text-decoration-color: rgba(232, 201, 215, 0.4); text-underline-offset: 3px; }
a:hover { color: #fff; text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--blush); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--magenta); color: #fff; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--silver); margin: 0; font-optical-sizing: auto; }
p { margin: 0 0 1em; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--silver); color: var(--night); padding: 10px 16px; border-radius: 6px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ================= loader & page transitions ================= */
.loader, .curtain { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 250; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  background: radial-gradient(60vmax 50vmax at 50% 45%, rgba(155, 65, 105, 0.28), transparent 65%), var(--night);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-io), visibility 0s linear 1s;
  animation: failsafe-hide 0s linear 7s forwards;
}
.js.seen .loader { display: none; }
.js.loaded .loader { clip-path: inset(0 0 100% 0); visibility: hidden; }
.loader-mark { width: 120px; opacity: 0; transform: translateY(10px) scale(.94); animation: loader-in .9s var(--ease-out) .1s forwards; }
.loader-mark img { width: 100%; filter: drop-shadow(0 0 30px rgba(196, 106, 147, 0.45)); }
.js.loaded .loader-mark { transform: translateY(-30px) scale(1.04); opacity: 0; transition: transform .8s var(--ease-io), opacity .5s ease; }
.loader-name { font-family: var(--serif); font-size: 26px; color: var(--silver); letter-spacing: 0.01em; opacity: 0; animation: loader-in .9s var(--ease-out) .3s forwards; }
.loader-bar { width: min(240px, 60vw); height: 2px; background: rgba(232, 201, 215, 0.14); border-radius: 2px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--magenta), var(--blush)); transform-origin: 0 50%; transform: scaleX(0); }
@keyframes loader-in { to { opacity: 1; transform: none; } }
@keyframes failsafe-hide { to { visibility: hidden; opacity: 0; } }

.js .curtain {
  position: fixed; inset: 0; z-index: 240; display: block; pointer-events: none;
  background: linear-gradient(160deg, var(--bordeaux), var(--night) 60%, #23070F);
  transform: scaleY(0); transform-origin: 50% 0;
}
.js .curtain::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; transform: translate(-50%, -50%);
  background: url(logo.svg) center / contain no-repeat; opacity: .9;
}
.js.seen:not(.page-ready) .curtain { transform: scaleY(1); animation: failsafe-hide 0s linear 3s forwards; }
.js.page-ready .curtain { transition: transform .75s var(--ease-io); }
.js.page-leaving .curtain { transform: scaleY(1); transform-origin: 50% 100%; transition: transform .45s var(--ease-io); }

/* ================= buttons & links ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px; border-radius: 999px;
  font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; position: relative; overflow: hidden;
  transition: background-color .25s, border-color .25s, color .25s, transform .35s var(--ease-out), box-shadow .3s;
  will-change: transform;
}
.btn-solid { background: var(--magenta); color: #fff; border-color: rgba(232, 201, 215, 0.35); box-shadow: 0 10px 30px -12px rgba(196, 106, 147, 0.7); }
.btn-solid::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: radial-gradient(120px circle at var(--bx, 50%) var(--by, 50%), rgba(255, 255, 255, 0.28), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.btn-solid { z-index: 0; }
.btn-solid:hover { color: #fff; background: #AA4B75; box-shadow: 0 16px 40px -12px rgba(196, 106, 147, 0.85); }
.btn-solid:hover::before { opacity: 1; }
.btn-line { color: var(--silver); border-color: rgba(232, 201, 215, 0.4); background: rgba(26, 7, 16, 0.25); }
.btn-line:hover { color: #fff; border-color: var(--blush); background: rgba(232, 201, 215, 0.08); }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.link-grow { color: var(--silver); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease-out), color .2s; padding-bottom: 2px; }
.link-grow:hover { color: #fff; background-size: 100% 1px; }

/* ================= header & navigation ================= */
.site-head { position: sticky; top: 0; z-index: 60; background: rgba(26, 7, 16, 0.7); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); transition: background-color .3s; }
.site-head .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--silver); flex-shrink: 0; }
.brand img { width: 52px; height: auto; transition: transform .6s var(--ease-out); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand-name { font-weight: 700; font-size: 17px; line-height: 1.15; letter-spacing: 0.01em; }
.brand-name small { display: block; font-weight: 400; font-size: 13.5px; color: var(--muted); letter-spacing: 0.02em; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-link { position: relative; color: var(--text); text-decoration: none; font-size: 16.5px; padding: 10px 14px; border-radius: 999px; display: inline-flex; align-items: center; }
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1px; background: var(--blush); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease-out); }
.nav-link:hover { color: #fff; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: #fff; }
.site-nav .btn { margin-left: 12px; min-height: 44px; padding: 0 22px; font-size: 16px; }

.has-menu { position: relative; display: flex; align-items: center; }
.sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 32px; margin-left: -10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; border-radius: 6px; }
.sub-toggle svg { width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
.has-menu.open .sub-toggle svg, .has-menu:hover .sub-toggle svg { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 10px); left: -20px; width: 560px; padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: rgba(30, 9, 19, 0.96); border: 1px solid var(--line-strong); border-radius: 18px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.2);
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: 20% 0;
  transition: opacity .25s, transform .35s var(--ease-out), visibility 0s linear .35s;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-menu:hover .submenu, .has-menu:focus-within .submenu, .has-menu.open .submenu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease-out), visibility 0s; }
.submenu a { display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; align-items: center; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--silver); transition: background-color .2s; }
.submenu a:hover { background: rgba(232, 201, 215, 0.07); color: #fff; }
.submenu .ico { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(155, 65, 105, 0.22); border: 1px solid rgba(232, 201, 215, 0.18); }
.submenu .ico svg { width: 22px; height: 22px; }
.submenu strong { font-size: 16px; }
.submenu small { color: var(--muted); font-size: 14px; line-height: 1.3; }
.submenu .all { grid-column: 1 / -1; display: block; text-align: center; padding: 10px; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--blush); font-weight: 700; font-size: 15.5px; }

.menu-toggle { display: none; margin-left: auto; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(232, 201, 215, 0.35); background: transparent; color: var(--silver); font: 700 16px var(--sans); cursor: pointer; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 8px var(--gutter) 22px; max-height: calc(100vh - 76px); overflow-y: auto;
    background: #16060D; border-bottom: 1px solid var(--line); display: none; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  }
  .site-nav.open { display: flex; }
  .nav-link { padding: 14px 2px; font-size: 19px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .has-menu { flex-wrap: wrap; }
  .has-menu > .nav-link { flex: 1; }
  .sub-toggle { display: none; }
  .submenu { position: static; width: 100%; grid-template-columns: 1fr; opacity: 1; visibility: visible; transform: none; padding: 6px 0 10px; background: none; border: 0; box-shadow: none; }
  .submenu a { padding: 10px 4px; }
  .submenu .all { display: none; }
  .site-nav .btn { margin: 16px 0 0; }
  .brand-name small { display: none; }
}

/* ================= reveal on scroll ================= */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ================= home hero (WebGL + 3D parallax) ================= */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 6vw, 90px) 0 clamp(70px, 9vw, 120px);
  background: radial-gradient(80vmax 60vmax at 70% 30%, rgba(155, 65, 105, 0.45), transparent 60%), radial-gradient(60vmax 50vmax at 10% 90%, rgba(115, 31, 28, 0.55), transparent 60%), var(--night);
}
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.6s ease; }
.hero-gl.ready { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(26, 7, 16, 0.15) 0%, rgba(26, 7, 16, 0) 35%, rgba(26, 7, 16, 0.55) 78%, var(--night) 100%), radial-gradient(70% 60% at 20% 80%, rgba(20, 5, 12, 0.6), transparent 70%); }
.hero-stage { perspective: 1400px; }
.hero-title {
  position: relative; margin: 0; font-weight: 500; letter-spacing: -0.025em; line-height: 0.92;
  font-size: clamp(54px, 11.2vw, 182px);
  font-optical-sizing: none; font-variation-settings: "opsz" 11;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.hero-title .word { display: block; position: relative; z-index: 2; transform: translateZ(70px); text-shadow: 0 10px 40px rgba(10, 2, 6, 0.55); }
.hero-title .word-2 { text-align: right; }
.hero-title .word > span { display: inline-block; }
.hero-title .glyph {
  position: absolute; z-index: 1; left: 50%; top: 50%;
  font-style: italic; font-weight: 700; line-height: 1; font-size: 2.3em; letter-spacing: -0.03em; white-space: nowrap;
  font-optical-sizing: auto; font-variation-settings: normal;
  transform: translate(-50%, -54%) translateZ(-90px);
  color: transparent;
  background: linear-gradient(160deg, rgba(232, 201, 215, 0.6) 0%, rgba(196, 106, 147, 0.45) 30%, rgba(115, 31, 28, 0.22) 75%, rgba(155, 65, 105, 0.4) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke: 1.5px rgba(232, 201, 215, 0.6);
  filter: drop-shadow(0 0 28px rgba(196, 106, 147, 0.5)) drop-shadow(0 0 2px rgba(255, 220, 235, 0.35));
  pointer-events: none; user-select: none;
}
.hero-foot { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; margin-top: clamp(36px, 6vw, 72px); }
.hero-lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.55; color: var(--text); max-width: 34em; margin: 0 0 28px; text-shadow: 0 2px 20px rgba(10, 2, 6, 0.6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-where { justify-self: end; text-align: right; color: var(--muted); font-size: 16px; line-height: 1.5; margin: 0; }
.hero-where strong { color: var(--silver); font-weight: 700; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 1px solid var(--line-strong); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--blush); animation: cue 2s var(--ease-out) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.js .hero-title .word > span { opacity: 0; transform: translateY(.22em) rotateX(-35deg); transform-origin: 50% 100%; }
.js .hero-title .glyph { opacity: 0; }
.js .hero-foot { opacity: 0; transform: translateY(18px); }
.js.loaded .hero-title .word > span { opacity: 1; transform: none; transition: opacity 1.1s var(--ease-out) .25s, transform 1.3s var(--ease-out) .25s; }
.js.loaded .hero-title .word-2 > span { transition-delay: .38s; }
.js.loaded .hero-title .glyph { opacity: 1; transition: opacity 2s ease .15s; }
.js.loaded .hero-foot { opacity: 1; transform: none; transition: opacity 1s ease .7s, transform 1.1s var(--ease-out) .7s; }

@media (max-width: 760px) {
  .hero { min-height: auto; padding-top: 28px; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-where { justify-self: start; text-align: left; }
  .hero-title { padding: 0.55em 0 0.75em; font-size: clamp(54px, 15.5vw, 96px); }
  .hero-title .word-2 { margin-top: 0.08em; }
  .hero-title .glyph { font-size: 2.55em; transform: translate(-50%, -53%) translateZ(-90px); }
  .scroll-cue { display: none; }
}

/* ================= marquee ribbon ================= */
.ribbon { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: rgba(20, 5, 12, 0.5); }
.ribbon-track { display: flex; width: max-content; gap: 0; animation: ribbon 38s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-track span { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.4vw, 46px); color: var(--silver); white-space: nowrap; display: inline-flex; align-items: center; }
.ribbon-track span::after { content: ""; width: 10px; height: 10px; margin: 0 clamp(22px, 3vw, 44px); background: var(--magenta-hi); transform: rotate(45deg); box-shadow: 0 0 16px rgba(196, 106, 147, 0.8); }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ================= sections ================= */
.section { padding: clamp(80px, 10vw, 150px) 0; border-top: 1px solid var(--line); position: relative; }
.ribbon + .section, .section.flush { border-top: 0; }
.section-title { font-size: clamp(38px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -0.02em; max-width: 15em; }
.section-intro { font-size: 20px; color: var(--text); max-width: 36em; margin: 22px 0 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 40px; }
.section-head .section-intro { margin-top: 18px; }

/* statement */
.statement p.big { font-family: var(--serif); font-weight: 400; color: var(--silver); font-size: clamp(28px, 3.5vw, 48px); line-height: 1.24; letter-spacing: -0.012em; max-width: 23em; margin: 0; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; margin: clamp(48px, 6vw, 80px) 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); }
.facts div { min-width: 0; }
.facts dt { color: var(--muted); font-size: 15.5px; margin: 0 0 4px; }
.facts dd { margin: 0; color: var(--silver); font-size: 18px; overflow-wrap: anywhere; }

/* ================= 3D tilt service cards ================= */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: clamp(40px, 5vw, 64px); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; min-height: 100%;
  padding: 30px 28px 28px; border-radius: 22px; text-decoration: none; color: var(--text);
  background: linear-gradient(160deg, rgba(52, 16, 32, 0.85), rgba(30, 9, 19, 0.85));
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform .6s var(--ease-out), border-color .3s, box-shadow .4s;
}
.card.is-tilting { transition: transform .1s linear, border-color .3s, box-shadow .4s; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 201, 215, 0.16), transparent 45%); }
.card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px; opacity: 0; transition: opacity .35s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 201, 215, 0.75), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card:hover { color: var(--text); border-color: rgba(232, 201, 215, 0.3); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 50px -20px rgba(196, 106, 147, 0.45); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 26px;
  background: radial-gradient(circle at 30% 25%, rgba(196, 106, 147, 0.55), rgba(115, 31, 28, 0.35)); border: 1px solid rgba(232, 201, 215, 0.25);
  box-shadow: 0 10px 30px -10px rgba(196, 106, 147, 0.6); transform: translateZ(50px); transition: transform .6s var(--ease-out); }
.card-icon svg { width: 30px; height: 30px; }
.card h3 { font-size: clamp(26px, 2.3vw, 32px); line-height: 1.1; margin-bottom: 12px; transform: translateZ(34px); }
.card p { margin: 0 0 18px; transform: translateZ(20px); }
.card ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 6px; color: var(--muted); font-size: 16px; transform: translateZ(16px); }
.card ul li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 10px 2px 0; background: var(--magenta-hi); transform: rotate(45deg); }
.card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blush); transform: translateZ(28px); }
.card .more svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.card:hover .more svg { transform: translateX(5px); }
.ico-stroke { fill: none; stroke: var(--silver); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ================= approach: parallax 4 ================= */
.approach .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px 64px; align-items: start; }
.four {
  font-family: var(--serif); font-weight: 600; line-height: 0.8; letter-spacing: -0.04em;
  font-size: clamp(240px, 34vw, 520px); color: transparent; margin: 0;
  background: linear-gradient(170deg, rgba(232, 201, 215, 0.6) 0%, rgba(196, 106, 147, 0.45) 35%, rgba(115, 31, 28, 0.22) 80%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 1.5px rgba(232, 201, 215, 0.55);
  filter: drop-shadow(0 0 30px rgba(196, 106, 147, 0.4)); user-select: none;
}
.steps { list-style: none; margin: 40px 0 0; padding: 0; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: counter(step); font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--magenta-hi); grid-row: span 2; }
.steps h3 { font-size: 30px; line-height: 1.1; }
.steps p { margin: 4px 0 0; max-width: 32em; }

/* horizontal steps on service pages */
.hsteps { list-style: none; margin: clamp(40px, 5vw, 60px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; position: relative; }
.hsteps::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 1px; background: linear-gradient(90deg, var(--magenta-hi), rgba(232, 201, 215, 0.15)); transform-origin: 0 50%; transform: scaleX(var(--draw, 1)); transition: transform 1.6s var(--ease-io); }
.js .hsteps:not(.in) { --draw: 0; }
.hsteps li { position: relative; padding-top: 0; }
.hsteps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; margin-bottom: 22px; position: relative;
  font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--silver); background: var(--night); border: 1px solid rgba(232, 201, 215, 0.4); box-shadow: 0 0 30px -6px rgba(196, 106, 147, 0.7); }
.hsteps h3 { font-size: 26px; line-height: 1.15; margin-bottom: 8px; }
.hsteps p { margin: 0; font-size: 17px; }

/* commitments */
.commit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; margin-top: clamp(40px, 5vw, 64px); }
.commit { padding: 28px 0 30px; border-top: 1px solid var(--line); }
.commit h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; margin-bottom: 10px; }
.commit p { margin: 0; max-width: 30em; }

/* tools chips */
.chips { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--silver); font-size: 16px; background: rgba(43, 13, 26, 0.6); transition: transform .3s var(--ease-out), border-color .3s, background-color .3s; }
.chips li:hover { transform: translateY(-3px); border-color: var(--blush); background: rgba(155, 65, 105, 0.3); }

/* feature grid (service pages) */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: clamp(40px, 5vw, 60px); }
.feature { position: relative; padding: 30px 0 34px; border-top: 1px solid var(--line); }
.feature::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: linear-gradient(90deg, var(--blush), var(--magenta)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease-out); }
.feature:hover::before { transform: scaleX(1); }
.feature h3 { font-size: 25px; line-height: 1.15; margin-bottom: 10px; transition: color .3s; }
.feature:hover h3 { color: #fff; }
.feature p { margin: 0; font-size: 17px; }

.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: clamp(36px, 4vw, 52px); }
.audience div { padding: 26px; border-radius: 18px; background: rgba(43, 13, 26, 0.55); border: 1px solid var(--line); font-family: var(--serif); font-size: 22px; line-height: 1.3; color: var(--silver); transition: transform .4s var(--ease-out), border-color .3s; }
.audience div:hover { transform: translateY(-6px); border-color: var(--line-strong); }

/* services index (services page) */
.svc-index { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.svc-row { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.1fr) 48px; gap: 16px 36px; align-items: center; padding: clamp(26px, 3vw, 40px) 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); overflow: hidden; isolation: isolate; }
.svc-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(155, 65, 105, 0.32), rgba(115, 31, 28, 0.1) 70%, transparent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease-io); }
.svc-row:hover::before, .svc-row:focus-visible::before { transform: scaleX(1); }
.svc-row:hover { color: var(--text); }
.svc-row .card-icon { margin: 0; width: 64px; height: 64px; transform: none; transition: transform .5s var(--ease-out); }
.svc-row:hover .card-icon { transform: rotate(-8deg) scale(1.06); }
.svc-row h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.05; letter-spacing: -0.015em; transition: transform .5s var(--ease-out); }
.svc-row:hover h2 { transform: translateX(10px); color: #fff; }
.svc-row p { margin: 0; }
.svc-row .go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background-color .3s, transform .5s var(--ease-out), border-color .3s; }
.svc-row .go svg { width: 20px; height: 20px; }
.svc-row:hover .go { background: var(--magenta); border-color: var(--blush); transform: rotate(-45deg); }

/* ================= page hero (inner pages) ================= */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 120px) 0 clamp(56px, 7vw, 100px); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; }
.page-hero.solo .wrap { grid-template-columns: minmax(0, 1fr); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 15.5px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(232, 201, 215, 0.35); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(46px, 7vw, 108px); line-height: 0.98; letter-spacing: -0.03em; max-width: 11em; }
.page-hero .lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.55; max-width: 36em; margin: 26px 0 30px; }
.page-hero .hero-actions { margin-top: 4px; }
.glass-wrap { perspective: 1100px; justify-self: center; width: min(100%, 440px); }
.glass-icon { transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.glass-icon svg { width: 100%; height: auto; overflow: visible; }
.glass-icon .g-back { opacity: .6; }
.glass-icon .g-orb { animation: orb 9s ease-in-out infinite alternate; transform-origin: center; }
@keyframes orb { to { transform: translate(14px, -10px) scale(1.06); } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 6vw, 80px); border: 1px solid var(--line-strong);
  background: radial-gradient(80% 120% at 100% 0%, rgba(155, 65, 105, 0.55), transparent 60%), radial-gradient(60% 100% at 0% 100%, rgba(115, 31, 28, 0.6), transparent 60%), var(--bordeaux); }
.cta-band::after { content: "&"; position: absolute; right: -0.05em; bottom: -0.32em; font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(260px, 32vw, 460px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(232, 201, 215, 0.3); pointer-events: none; }
.cta-band h2 { font-size: clamp(36px, 5vw, 70px); line-height: 1.02; max-width: 12em; position: relative; z-index: 1; }
.cta-band p { position: relative; z-index: 1; max-width: 32em; margin: 18px 0 30px; font-size: 20px; }
.cta-band .hero-actions { position: relative; z-index: 1; }

/* FAQ */
.faq { margin-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--serif); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.2; color: var(--silver); transition: color .2s, padding-left .35s var(--ease-out); }
.faq summary:hover { color: #fff; padding-left: 8px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 14px; height: 14px; margin-right: 4px; border-right: 2px solid var(--blush); border-bottom: 2px solid var(--blush); transform: rotate(45deg) translateY(-4px); transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { margin: 0 0 26px; max-width: 40em; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px 72px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; align-content: start; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 16px; color: var(--silver); font-weight: 700; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; font: 18px/1.4 var(--sans); color: #fff; background: rgba(43, 13, 26, 0.75); border: 1px solid rgba(232, 201, 215, 0.25); border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--blush) 50%), linear-gradient(135deg, var(--blush) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field select option { background: var(--bordeaux); color: #fff; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(232, 201, 215, 0.45); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blush); box-shadow: 0 0 0 3px rgba(196, 106, 147, 0.35); background-color: rgba(52, 16, 32, 0.9); }
.field [aria-invalid="true"] { border-color: #F08AA8; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-note { margin: 0; font-size: 15.5px; color: var(--muted); }
.form-error { grid-column: 1 / -1; margin: 0; color: #F6A9C0; font-weight: 700; min-height: 1.4em; }
.details { margin: 0; display: grid; gap: 26px; align-content: start; }
.details dt { color: var(--muted); font-size: 15.5px; margin-bottom: 4px; }
.details dd { margin: 0; color: var(--silver); font-size: 19px; line-height: 1.5; }
.details a { color: var(--silver); display: inline-block; padding: 3px 0; }
.next-steps { list-style: none; counter-reset: step; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.next-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.next-steps li::before { counter-increment: step; content: counter(step); font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1; color: var(--magenta-hi); }

/* ================= footer ================= */
.site-foot { border-top: 1px solid var(--line); padding: 72px 0 36px; background: rgba(20, 5, 12, 0.7); font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.7fr)); gap: 40px 48px; }
.foot-brand img { width: 84px; margin-bottom: 18px; }
.foot-brand p { color: var(--muted); margin: 0 0 6px; max-width: 30em; }
.foot-brand .legal-name { color: var(--silver); font-weight: 700; }
.foot-col h2 { font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--silver); margin: 0 0 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-col a { display: inline-block; padding: 4px 0; color: var(--text); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 2px) / 0 1px no-repeat; transition: background-size .35s var(--ease-out), color .2s; }
.foot-col a:hover { color: #fff; background-size: 100% 1px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.foot-bottom a { color: var(--muted); display: inline-block; padding: 3px 0; }

/* ================= policy / document pages ================= */
.doc-head { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(28px, 4vw, 48px); }
.doc-head h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: 1; letter-spacing: -0.025em; max-width: 12em; }
.doc-head .updated { margin: 18px 0 0; color: var(--muted); font-size: 16px; }
.doc-body { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 40px 72px; padding-bottom: clamp(72px, 9vw, 120px); }
.doc-body.no-toc { grid-template-columns: minmax(0, 1fr); }
.toc { position: sticky; top: 108px; align-self: start; font-size: 15.5px; }
.toc h2 { font-family: var(--sans); font-size: 15.5px; font-weight: 700; color: var(--silver); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc a { color: var(--muted); text-decoration: none; transition: color .2s, padding-left .3s var(--ease-out); }
.toc a:hover { color: #fff; padding-left: 6px; }
.prose { max-width: 42em; }
.prose .lead { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.4; color: var(--silver); margin-bottom: 1.4em; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; margin: 1.8em 0 0.5em; scroll-margin-top: 100px; }
.prose ul { padding-left: 1.1em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--magenta-hi); }
.prose strong { color: var(--silver); }
.prose dl { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 12px 28px; margin: 0 0 1em; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prose dt { color: var(--muted); }
.prose dd { margin: 0; color: var(--silver); overflow-wrap: anywhere; }
.callout { margin-top: 2.4em; padding: 26px 28px; border-radius: 16px; background: rgba(43, 13, 26, 0.8); border: 1px solid rgba(196, 106, 147, 0.35); }
.callout h2 { margin: 0 0 6px; font-size: 26px; }
.callout p { margin: 0; }

/* parallax helper */
[data-speed] { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

/* ================= responsive ================= */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .hsteps::before { display: none; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .approach .wrap, .contact-grid, .page-hero .wrap { grid-template-columns: 1fr; }
  .four { font-size: clamp(200px, 58vw, 320px); }
  .glass-wrap { width: min(70%, 300px); justify-self: start; order: -1; }
  .svc-row { grid-template-columns: 52px minmax(0, 1fr) 44px; gap: 14px 16px; }
  .svc-row .card-icon { grid-row: 1; grid-column: 1; width: 52px; height: 52px; }
  .svc-row .go { grid-row: 1; grid-column: 3; justify-self: end; }
  .svc-row h2, .svc-row p { grid-column: 1 / -1; }
  .svc-row:hover h2 { transform: none; }
  .audience { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .facts, .commit-grid, .cards, .cards.two, .features { grid-template-columns: 1fr; }
  .hsteps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .doc-body { grid-template-columns: 1fr; }
  .toc { position: static; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .prose dl { grid-template-columns: 1fr; gap: 2px; }
  .prose dd { margin-bottom: 12px; }
  .cta-band::after { font-size: 260px; opacity: .6; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .ribbon-track { animation: none; }
  [data-speed] { transform: none; }
}
