/* ==========================================================================
   Optivance Concepts — "Blueprint" design system
   Strategy | Execution | Impact
   ========================================================================== */

:root {
  --navy: #0B2A4A;
  --navy-deep: #071B30;
  --navy-2: #12375E;
  --teal: #13A8A4;
  --teal-bright: #3FD3CC;
  --teal-soft: #E2F4F2;
  --paper: #F6F4EF;
  --paper-2: #EFECE4;
  --white: #FFFFFF;
  --ink: #13202D;
  --muted: #5E6B78;
  --muted-light: #A9B6C4;
  --line: rgba(11, 42, 74, .12);
  --line-light: rgba(255, 255, 255, .14);

  --f-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 26px;
  --shadow: 0 18px 50px -18px rgba(7, 27, 48, .28);
  --shadow-sm: 0 6px 20px -8px rgba(7, 27, 48, .18);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font: 400 16px/1.65 var(--f-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; overflow-x: clip; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.bg-white { background: var(--white); }
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-deep { background: var(--navy-deep); color: #fff; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--navy); margin: 0; letter-spacing: -.025em; font-weight: 800; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-deep h1, .bg-deep h2, .bg-deep h3, .on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.display { font-size: clamp(42px, 7.2vw, 96px); line-height: .98; letter-spacing: -.045em; }
.h1 { font-size: clamp(38px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.04em; }
.h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -.035em; }
.h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; }
.accent { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--teal); letter-spacing: -.01em; }
.bg-navy .accent, .bg-deep .accent, .on-dark .accent, .hero .accent { color: var(--teal-bright); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.bg-navy .lead, .bg-deep .lead, .on-dark .lead { color: var(--muted-light); }
.muted { color: var(--muted); }

.eyebrow {
  display: block;
  font: 600 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 22px;
}
.eyebrow .n { color: var(--teal); }
.eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 28px; height: 1.5px; margin: -3px 12px 0 0; background: var(--teal); }
.eyebrow .n { margin-right: 4px; }
.eyebrow.plain::before { display: none; }
.bg-navy .eyebrow, .bg-deep .eyebrow, .on-dark .eyebrow, .hero .eyebrow { color: #fff; }
.bg-navy .eyebrow .n, .bg-deep .eyebrow .n, .hero .eyebrow .n { color: var(--teal-bright); }

.sec-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head .lead { margin: 0; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; align-items: start; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font: 700 15px/1 var(--f-head); letter-spacing: -.01em;
  padding: 8px 8px 8px 24px; min-height: 54px; border-radius: 999px; border: 1.5px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn .arr { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; transition: transform .35s var(--ease), background .3s; }
.btn .arr svg { width: 18px; height: 18px; }
.btn:hover .arr { transform: rotate(45deg); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary .arr { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal .arr { background: #fff; color: var(--navy); }
.btn-teal:hover { background: #0f9591; }
.btn-ghost { border-color: var(--line); color: var(--navy); padding-right: 24px; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; padding-right: 24px; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-sm { min-height: 44px; font-size: 14px; padding: 5px 5px 5px 18px; }
.btn-sm .arr { width: 34px; height: 34px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font: 700 14px/1 var(--f-head); color: var(--navy); border-bottom: 1.5px solid var(--teal); padding-bottom: 6px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }
.bg-navy .link-arrow, .bg-deep .link-arrow { color: #fff; }

/* ---------- scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--teal), var(--teal-bright)); z-index: 120; }

/* ---------- announcement ---------- */
.announce { background: var(--navy-deep); color: #cfe2ef; font: 500 13px/1.3 var(--f-body); position: relative; z-index: 101; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; text-align: center; }
.announce .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 4px rgba(63,211,204,.18); animation: pulse 2s infinite; flex: none; }
.announce a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.4); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(63,211,204,0); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(246, 244, 239, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s, color .35s, box-shadow .35s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -20px rgba(7,27,48,.35); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 40px; height: 40px; }
.brand-img { height: 46px; width: auto; display: block; }
@media (max-width: 560px) { .brand-img { height: 40px; } }
.site-footer .brand-img { height: 54px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font: 800 19px/1 var(--f-head); letter-spacing: .02em; color: var(--navy); }
.brand-word i { font: 300 10.5px/1 var(--f-head); font-style: normal; letter-spacing: .52em; color: var(--teal); margin-top: 5px; }
.brand .light { display: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; font: 600 14.5px/1 var(--f-head); color: var(--navy); padding: 12px 14px; border-radius: 999px; transition: color .25s, background .25s; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1.5px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--navy); place-items: center; }

/* header over dark hero / dark sections */
.site-header.is-dark { background: rgba(7, 27, 48, .55); }
.site-header.is-dark.top { background: transparent; }
.site-header.is-dark .brand-word b, .site-header.is-dark .nav a { color: #fff; }
.site-header.is-dark .brand-word i { color: var(--teal-bright); }
.site-header.is-dark .brand .dark { display: none; }
.site-header.is-dark .brand .light { display: flex; }
.site-header.is-dark .menu-btn { color: #fff; border-color: rgba(255,255,255,.3); }
.site-header.is-dark .btn-primary { background: var(--teal); }
.site-header.is-dark .btn-primary .arr { background: #fff; color: var(--navy); }
.site-header.is-dark.scrolled { border-bottom-color: var(--line-light); }

@media (max-width: 1080px) {
  .nav, .header-cta .btn { display: none; }
  .menu-btn { display: grid; }
}

/* ---------- mobile menu ---------- */
.mnav {
  position: fixed; inset: 0; z-index: 150; background: var(--navy-deep); color: #fff;
  display: flex; flex-direction: column; padding: 20px var(--gutter) 32px;
  clip-path: circle(0% at calc(100% - 44px) 40px); visibility: hidden;
  transition: clip-path .6s var(--ease), visibility 0s .6s;
}
.mnav.open { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.mnav-top { display: flex; justify-content: space-between; align-items: center; height: 58px; }
.mnav-top .menu-btn { display: grid; color: #fff; border-color: rgba(255,255,255,.3); }
.mnav nav { margin: auto 0; display: flex; flex-direction: column; }
.mnav nav a { font: 800 clamp(32px, 9vw, 52px)/1.12 var(--f-head); letter-spacing: -.035em; padding: 6px 0; display: flex; align-items: baseline; gap: 16px; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .5s var(--ease), color .2s; }
.mnav nav a span { font: 500 12px/1 var(--f-mono); color: var(--teal-bright); letter-spacing: .1em; }
.mnav nav a:hover { color: var(--teal-bright); }
.mnav.open nav a { opacity: 1; transform: none; }
.mnav.open nav a:nth-child(2) { transition-delay: .05s; } .mnav.open nav a:nth-child(3) { transition-delay: .1s; }
.mnav.open nav a:nth-child(4) { transition-delay: .15s; } .mnav.open nav a:nth-child(5) { transition-delay: .2s; }
.mnav.open nav a:nth-child(6) { transition-delay: .25s; } .mnav.open nav a:nth-child(7) { transition-delay: .3s; }
.mnav-foot { display: grid; gap: 8px; font-size: 14px; color: var(--muted-light); }
.mnav-foot a { color: #fff; }
.mnav-foot .btn { margin-top: 12px; justify-content: space-between; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; background: var(--navy-deep);
  min-height: min(100svh, 980px); margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(48px, 9vh, 110px)) 0 clamp(36px, 6vh, 64px);
  display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media .slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 9s linear; }
.hero-media .slide.on { opacity: 1; transform: scale(1); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,27,48,.94) 0%, rgba(7,27,48,.78) 42%, rgba(7,27,48,.35) 100%),
    linear-gradient(0deg, rgba(7,27,48,.9) 0%, rgba(7,27,48,0) 40%);
}
.hero::after { /* blueprint grid */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(63,211,204,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(63,211,204,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%); mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}
.hero .wrap { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { color: #c7d5e2; margin: 28px 0 38px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.hero-tags span { font: 500 12.5px/1 var(--f-body); padding: 9px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #d9e6f0; background: rgba(255,255,255,.04); }

/* project board card (signature) */
.board {
  justify-self: end; width: 100%; max-width: 380px; border-radius: var(--r-lg);
  background: rgba(10, 34, 60, .58); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  padding: 24px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-10px); } }
.board-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.board-top small { font: 600 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px/1 var(--f-body); padding: 7px 10px; border-radius: 999px; background: rgba(63,211,204,.14); color: var(--teal-bright); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.board h4 { color: #fff; font-size: 19px; margin: 14px 0 18px; letter-spacing: -.02em; }
.board ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.board li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; color: #dbe6ee; }
.board li .tick { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); display: grid; place-items: center; transition: background .4s, border-color .4s; }
.board li .tick svg { width: 14px; height: 14px; stroke-width: 2.6; color: #fff; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .5s .15s var(--ease); }
.board li.done .tick { background: var(--teal); border-color: var(--teal); }
.board li.done .tick svg { stroke-dashoffset: 0; }
.board li em { font: 500 11.5px/1 var(--f-mono); font-style: normal; color: var(--muted-light); }
.board li.doing em { color: var(--teal-bright); }
.board .bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.1); margin-top: 18px; overflow: hidden; }
.board .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--teal-bright)); border-radius: inherit; transition: width 1.2s var(--ease); }
.board-foot { display: flex; justify-content: space-between; margin-top: 10px; font: 500 12px/1 var(--f-mono); color: var(--muted-light); }

.hero-meta { position: relative; margin-top: clamp(40px, 7vh, 80px); }
.hero-meta .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; font: 500 13px/1.3 var(--f-mono); letter-spacing: .06em; color: var(--muted-light); text-transform: uppercase; }
.hero-meta b { color: #fff; font-weight: 600; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 26px; height: 3px; border: 0; padding: 0; border-radius: 3px; background: rgba(255,255,255,.25); transition: background .3s, width .3s; }
.hero-dots button.on { background: var(--teal-bright); width: 44px; }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .board { justify-self: start; max-width: 420px; }
}
@media (max-width: 560px) {
  .board { display: none; }
  .hero-tags { display: none; }
  .hero { min-height: 92svh; }
  .hero-ctas .btn { width: 100%; justify-content: space-between; }
  .hero-ctas .btn-ghost-light { justify-content: center; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--navy); color: #fff; border-top: 1px solid var(--line-light); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 28px; padding: 20px 14px; font: 700 15px/1 var(--f-head); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.marquee-item i { width: 8px; height: 8px; border-radius: 2px; background: var(--teal-bright); transform: rotate(45deg); }
.marquee.light { background: transparent; color: var(--navy); border: 0; }
.marquee.light .marquee-item { font-size: clamp(30px, 4vw, 54px); letter-spacing: -.03em; text-transform: none; font-weight: 800; padding: 10px 24px; gap: 48px; }
.marquee.light .marquee-item i { width: 14px; height: 14px; background: var(--teal); }
.marquee.light .marquee-item:nth-child(even) span { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--teal); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- watermark ---------- */
.watermark {
  position: absolute; left: 50%; transform: translateX(-50%); top: 40px; z-index: 0; pointer-events: none; user-select: none;
  font: 800 clamp(90px, 18vw, 280px)/1 var(--f-head); letter-spacing: -.06em; color: rgba(11, 42, 74, .045); white-space: nowrap;
}
.bg-navy .watermark, .bg-deep .watermark { color: rgba(255,255,255,.035); }
.section > .wrap { position: relative; z-index: 1; }

/* ---------- positioning (strategy → execution → impact) ---------- */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: clamp(10px, 2vw, 28px); margin-top: clamp(48px, 7vw, 96px); }
.flow-word { font: 800 clamp(30px, 5.6vw, 84px)/1 var(--f-head); letter-spacing: -.05em; color: var(--navy); text-align: center; }
.flow-word:nth-child(3) { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--teal); letter-spacing: -.02em; }
.flow-arrow { width: clamp(28px, 6vw, 90px); height: 2px; background: var(--navy); position: relative; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.flow-arrow::after { content: ""; position: absolute; right: -1px; top: 50%; width: 12px; height: 12px; border-top: 2px solid var(--navy); border-right: 2px solid var(--navy); transform: translateY(-50%) rotate(45deg); }
.flow.in .flow-arrow { transform: scaleX(1); }
.flow.in .flow-arrow:nth-of-type(2) { transition-delay: .5s; }
@media (max-width: 640px) {
  .flow { grid-template-columns: 1fr; justify-items: center; }
  .flow-arrow { width: 2px; height: 40px; transform: scaleY(0); transform-origin: top; }
  .flow.in .flow-arrow { transform: scaleY(1); }
  .flow-arrow::after { right: auto; left: 50%; top: auto; bottom: -1px; transform: translateX(-50%) rotate(135deg); }
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- services rows ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  position: relative; display: grid; grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1fr) 150px; align-items: center; gap: 24px;
  padding: clamp(24px, 3vw, 36px) clamp(12px, 2vw, 28px); border-bottom: 1px solid var(--line);
  transition: background .45s var(--ease), color .45s var(--ease); overflow: hidden; isolation: isolate;
}
.svc-row::before { content: ""; position: absolute; inset: 0; background: var(--navy); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.svc-row .num { font: 600 13px/1 var(--f-mono); color: var(--teal); letter-spacing: .1em; }
.svc-row h3 { font-size: clamp(22px, 2.5vw, 34px); letter-spacing: -.035em; display: flex; align-items: center; gap: 18px; transition: color .4s; }
.svc-row h3 .ico { width: 34px; height: 34px; color: var(--teal); flex: none; }
.svc-row p { margin: 0; color: var(--muted); font-size: 15.5px; transition: color .4s; }
.svc-row .go { justify-self: end; display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); transition: color .4s; }
.svc-row .go svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.svc-row .peek { position: absolute; right: 190px; top: 50%; width: 170px; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; transform: translateY(-50%) scale(.6) rotate(-6deg); opacity: 0; transition: opacity .4s, transform .5s var(--ease); pointer-events: none; z-index: 1; box-shadow: var(--shadow); }
.svc-row .peek img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) {
  .svc-row:hover::before { transform: scaleY(1); }
  .svc-row:hover h3, .svc-row:hover .go { color: #fff; }
  .svc-row:hover p { color: var(--muted-light); }
  .svc-row:hover .go svg { transform: rotate(45deg); }
  .svc-row:hover .peek { opacity: 1; transform: translateY(-50%) scale(1) rotate(-4deg); }
}
@media (max-width: 1100px) { .svc-row .peek { display: none; } }
@media (max-width: 860px) {
  .svc-row { grid-template-columns: 44px 1fr; gap: 10px 14px; }
  .svc-row p { grid-column: 2; }
  .svc-row .go { grid-column: 2; justify-self: start; margin-top: 8px; }
}

/* ---------- why / pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.pillar { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line-light); }
.pillar:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line-light); }
.pillar:nth-child(even) { padding-left: 32px; }
.pillar:last-child { grid-column: 1 / -1; border-right: 0; padding-left: 0; }
.pillar .n { font: 600 12px/1 var(--f-mono); color: var(--teal-bright); letter-spacing: .12em; }
.pillar h3 { font-size: 22px; margin: 12px 0 8px; display: flex; align-items: center; gap: 10px; }
.pillar p { margin: 0; color: var(--muted-light); font-size: 15px; }
@media (max-width: 640px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(odd), .pillar:nth-child(even) { padding: 24px 0; border-right: 0; }
}
.collage { position: relative; aspect-ratio: 4/5; max-height: 640px; }
.collage .c1 { position: absolute; inset: 0 18% 22% 0; border-radius: var(--r-lg); overflow: hidden; }
.collage .c2 { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; border: 6px solid var(--navy); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.statcard { position: absolute; left: 6%; bottom: 6%; background: var(--teal); color: #fff; padding: 22px 24px; border-radius: var(--r); box-shadow: var(--shadow); max-width: 220px; }
.statcard b { display: block; font: 800 42px/1 var(--f-head); letter-spacing: -.04em; }
.statcard span { font: 600 11.5px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- approach steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding-top: 56px; }
.steps-line { position: absolute; top: 15px; left: 15px; right: 15px; height: 2px; background: var(--line); }
.steps-line i { position: absolute; inset: 0; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease); }
.steps.in .steps-line i { transform: scaleX(1); }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: -56px; left: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); transition: border-color .4s, background .4s; }
.step::after { content: ""; position: absolute; top: -45px; left: 11px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); transform: scale(0); transition: transform .4s var(--ease); }
.steps.in .step::before { border-color: var(--teal); }
.steps.in .step::after { transform: scale(1); }
.steps.in .step:nth-child(3)::before, .steps.in .step:nth-child(3)::after { transition-delay: .35s; }
.steps.in .step:nth-child(4)::before, .steps.in .step:nth-child(4)::after { transition-delay: .7s; }
.steps.in .step:nth-child(5)::before, .steps.in .step:nth-child(5)::after { transition-delay: 1.05s; }
.steps.in .step:nth-child(6)::before, .steps.in .step:nth-child(6)::after { transition-delay: 1.4s; }
.step .n { font: 600 12px/1 var(--f-mono); color: var(--teal); letter-spacing: .12em; }
.step h3 { font-size: 24px; margin: 10px 0 10px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.bg-white .step::before { background: #fff; }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; padding: 0 0 0 56px; gap: 34px; }
  .steps-line { top: 8px; bottom: 8px; left: 15px; right: auto; width: 2px; height: auto; }
  .steps-line i { transform: scaleY(0); transform-origin: top; }
  .steps.in .steps-line i { transform: scaleY(1); }
  .step::before { top: 0; left: -56px; }
  .step::after { top: 11px; left: -45px; }
}

/* ---------- work grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 24px); }
.work-card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); color: #fff; display: block; isolation: isolate; min-height: 280px; }
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); z-index: -2; }
.work-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,27,48,.88) 0%, rgba(7,27,48,.15) 55%, rgba(7,27,48,0) 100%); }
.work-card:hover img { transform: scale(1.06); }
.work-card .wc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2.4vw, 30px); display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.work-card small { display: block; font: 600 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 10px; }
.work-card h3 { color: #fff; font-size: clamp(19px, 2vw, 26px); letter-spacing: -.025em; }
.work-card .wc-go { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; transform: scale(.7); opacity: 0; transition: transform .4s var(--ease), opacity .4s; }
.work-card .wc-go svg { width: 18px; height: 18px; }
.work-card:hover .wc-go { transform: none; opacity: 1; }
.w-7 { grid-column: span 7; } .w-5 { grid-column: span 5; } .w-4 { grid-column: span 4; } .w-6 { grid-column: span 6; } .w-8 { grid-column: span 8; } .w-12 { grid-column: span 12; }
.h-tall { min-height: clamp(380px, 46vw, 600px); }
.h-mid { min-height: clamp(300px, 30vw, 420px); }
.stack { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-rows: 1fr 1fr; }
@media (max-width: 860px) {
  .work-grid > * { grid-column: 1 / -1 !important; }
  .h-tall, .h-mid { min-height: 340px; }
  .work-card .wc-go { opacity: 1; transform: none; }
}

/* ---------- counters / proof ---------- */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof > div { padding: 32px 24px; border-right: 1px solid var(--line); }
.proof > div:last-child { border-right: 0; }
.proof b { display: block; font: 800 clamp(40px, 5vw, 68px)/1 var(--f-head); letter-spacing: -.05em; color: var(--navy); }
.proof b em { font-style: normal; color: var(--teal); }
.proof span { display: block; margin-top: 12px; font: 600 12px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .proof { grid-template-columns: 1fr 1fr; } .proof > div:nth-child(2) { border-right: 0; } .proof > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- insight cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .pc-img { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.post-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .pc-img img { transform: scale(1.05); }
.post-card .pc-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font: 600 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.meta .cat { color: var(--teal); }
.meta .sep { width: 20px; height: 1px; background: var(--line); }
.post-card h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
.post-card p { margin: 0; color: var(--muted); font-size: 15px; }
.post-card .link-arrow { margin-top: auto; align-self: flex-start; }
.post-card.big { grid-column: span 2; flex-direction: row; }
.post-card.big .pc-img { flex: 1.1; aspect-ratio: auto; min-height: 340px; }
.post-card.big .pc-body { flex: 1; padding: clamp(24px, 3vw, 44px); justify-content: center; }
.post-card.big h3 { font-size: clamp(24px, 2.6vw, 34px); }
@media (max-width: 980px) { .posts { grid-template-columns: 1fr 1fr; } .post-card.big { grid-column: 1 / -1; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } .post-card.big { flex-direction: column; } .post-card.big .pc-img { min-height: 220px; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: #fff; isolation: isolate; text-align: left; }
.cta-band .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.1); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7,27,48,.95) 0%, rgba(7,27,48,.75) 55%, rgba(19,168,164,.45) 100%); }
.cta-band .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c7d5e2; font-size: 18px; max-width: 46ch; margin: 22px 0 0; }
.cta-band .cta-side { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; border-left: 1px solid var(--line-light); padding-left: 32px; }
.cta-band .cta-side small { font: 600 12px/1.5 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); }
.cta-band .cta-side a.tel { font: 700 20px/1.2 var(--f-head); }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } .cta-band .cta-side { border-left: 0; padding-left: 0; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(64px, 10vw, 130px)) 0 clamp(56px, 8vw, 100px); background: var(--navy-deep); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .38; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,27,48,.96) 10%, rgba(7,27,48,.6) 100%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(63,211,204,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(63,211,204,.06) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 75%); mask-image: linear-gradient(90deg, #000, transparent 75%); }
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero .lead { color: #c7d5e2; margin-top: 24px; }
.crumbs { display: flex; gap: 10px; font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 28px; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--teal-bright); }

/* ---------- about ---------- */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv-card { border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.mv-card.dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.mv-card.dark h3 { color: #fff; }
.mv-card small { font: 600 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.mv-card.dark small { color: var(--teal-bright); }
.mv-card h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; margin-top: 18px; letter-spacing: -.025em; }
.mv-card .big-mark { position: absolute; right: -30px; bottom: -40px; width: 200px; opacity: .08; }
@media (max-width: 760px) { .mv { grid-template-columns: 1fr; } }
.quote-big { font: 400 clamp(28px, 3.6vw, 48px)/1.2 var(--f-serif); font-style: italic; color: var(--navy); letter-spacing: -.01em; max-width: 26ch; }
.quote-big b { font-family: var(--f-head); font-style: normal; font-weight: 800; letter-spacing: -.035em; }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.roles div { padding: 20px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); font: 600 15px/1.35 var(--f-head); color: var(--navy); display: flex; gap: 12px; align-items: flex-start; }
.roles .ico { color: var(--teal); flex: none; width: 22px; height: 22px; }
@media (max-width: 760px) { .roles { grid-template-columns: 1fr; } }
.img-frame { border-radius: var(--r-lg); overflow: hidden; position: relative; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame .tag { position: absolute; left: 18px; bottom: 18px; background: rgba(7,27,48,.75); backdrop-filter: blur(8px); color: #fff; font: 600 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding: 10px 12px; border-radius: 8px; }

/* ---------- services page ---------- */
.svc-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(246,244,239,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.svc-nav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.svc-nav .wrap::-webkit-scrollbar { display: none; }
.svc-nav a { flex: none; font: 600 13.5px/1 var(--f-head); padding: 11px 16px; border-radius: 999px; color: var(--navy); border: 1px solid var(--line); transition: background .25s, color .25s, border-color .25s; }
.svc-nav a.on, .svc-nav a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.svc-block { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding: clamp(64px, 8vw, 120px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 70px); }
.svc-block:nth-child(even) .svc-media { order: 2; }
.svc-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5/4; position: relative; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-media .num-badge { position: absolute; top: 18px; left: 18px; background: #fff; color: var(--navy); width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font: 700 14px/1 var(--f-mono); }
.svc-block h2 { display: flex; align-items: center; gap: 16px; }
.svc-block h2 .ico { color: var(--teal); width: 40px; height: 40px; flex: none; }
.areas { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.areas li { display: flex; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--navy); font-size: 15.5px; }
.areas li .ico { width: 18px; height: 18px; color: var(--teal); stroke-width: 2.4; flex: none; }
.svc-close { font: 400 21px/1.4 var(--f-serif); font-style: italic; color: var(--navy); margin: 0 0 28px; }
@media (max-width: 900px) { .svc-block { grid-template-columns: 1fr; } .svc-block:nth-child(even) .svc-media { order: 0; } }
@media (max-width: 520px) { .areas { grid-template-columns: 1fr; } }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters a, .filters button { font: 600 13.5px/1 var(--f-head); padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--navy); transition: all .25s; }
.filters a.on, .filters a:hover, .filters button.on, .filters button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.search-box { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; max-width: 380px; }
.search-box input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; padding: 8px 0; }
.search-box button { border: 0; background: var(--navy); color: #fff; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.search-box button svg { width: 18px; height: 18px; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 36px; }
.toolbar .filters { margin: 0; }

/* ---------- project detail ---------- */
.proj-hero { position: relative; margin-top: calc(var(--header-h) * -1); min-height: 86svh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; }
.proj-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.proj-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,27,48,.95) 0%, rgba(7,27,48,.35) 55%, rgba(7,27,48,.5) 100%); }
.proj-hero .wrap { padding-bottom: clamp(40px, 6vw, 72px); }
.proj-hero h1 { color: #fff; max-width: 18ch; }
.proj-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--line-light); }
.proj-facts div { padding: 20px 20px 0 0; }
.proj-facts small { display: block; font: 600 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 8px; }
.proj-facts b { font: 600 16px/1.35 var(--f-head); }
@media (max-width: 760px) { .proj-facts { grid-template-columns: 1fr 1fr; gap: 0 12px; } }
.story { display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 5vw, 80px); }
.story aside { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }
.story-sec { padding: 0 0 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.story-sec:last-child { border-bottom: 0; }
.story-sec h2 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 14px; }
.story-sec .prose { font-size: 17px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags span, .svc-tags a { font: 600 12.5px/1 var(--f-head); padding: 10px 14px; border-radius: 999px; background: var(--teal-soft); color: #0b6e6b; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story aside { position: static; } }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery a { border-radius: var(--r); overflow: hidden; display: block; aspect-ratio: 4/3; background: var(--paper-2); }
.gallery a:first-child { grid-column: 1 / -1; aspect-ratio: 16/8; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } .gallery a:first-child { aspect-ratio: 4/3; } }
.note-box { padding: 22px 24px; border-radius: var(--r); background: var(--paper); border: 1px dashed rgba(11,42,74,.22); color: var(--muted); font-size: 15px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(4,14,26,.94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 12px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- article ---------- */
.article-hero { padding: calc(var(--header-h) + 60px) 0 40px; margin-top: calc(var(--header-h) * -1); background: var(--paper); }
.article-hero h1 { max-width: 22ch; margin-top: 18px; }
.article-cover { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21/9; margin-top: 40px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-wrap { display: grid; grid-template-columns: 1fr minmax(0, 720px) 1fr; gap: 32px; }
.article-wrap > .prose { grid-column: 2; }
.share { grid-column: 1; justify-self: end; position: sticky; top: calc(var(--header-h) + 40px); align-self: start; display: flex; flex-direction: column; gap: 10px; }
.share a, .share button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy); background: #fff; transition: all .25s; }
.share a:hover, .share button:hover { background: var(--navy); color: #fff; }
.share svg { width: 18px; height: 18px; }
@media (max-width: 980px) { .article-wrap { grid-template-columns: 1fr; } .article-wrap > .prose { grid-column: 1; } .share { grid-column: 1; flex-direction: row; position: static; justify-self: start; order: 2; } }
.prose { font-size: 18px; line-height: 1.8; color: #26323e; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 2.6vw, 32px); margin-top: 1.8em; line-height: 1.2; }
.prose h3 { font-size: 22px; margin-top: 1.6em; }
.prose p { margin: 0; }
.prose p + p { margin-top: 1.1em; }
.prose a { color: var(--teal); border-bottom: 1px solid currentColor; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--teal); }
.prose blockquote { margin: 1.8em 0; padding: 6px 0 6px 28px; border-left: 3px solid var(--teal); font: 400 clamp(24px, 2.4vw, 30px)/1.35 var(--f-serif); font-style: italic; color: var(--navy); }
.prose img { border-radius: var(--r); margin: 1.6em 0; }
.prose pre { background: var(--navy-deep); color: #dbe7f0; padding: 20px; border-radius: var(--r-sm); overflow-x: auto; font: 14px/1.6 var(--f-mono); }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; }
.prose iframe { width: 100%; aspect-ratio: 16/9; border-radius: var(--r); border: 0; }
.author-box { display: flex; gap: 16px; align-items: center; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); margin-top: 48px; }
.author-box img { width: 54px; height: 54px; }
.author-box b { display: block; font-family: var(--f-head); color: var(--navy); }
.author-box span { font-size: 14px; color: var(--muted); }

/* ---------- newsletter blocks ---------- */
.nl-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: var(--r-lg); background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.nl-card::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(63,211,204,.35), transparent 65%); z-index: -1; }
.nl-card h2 { color: #fff; }
.nl-card p { color: var(--muted-light); }
@media (max-width: 860px) { .nl-card { grid-template-columns: 1fr; } }
.nl-form { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 999px; }
.nl-form input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 12px 18px; background: transparent; color: var(--ink); }
.nl-form .btn { min-height: 48px; }
.nl-form.dark { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.nl-form.dark input { color: #fff; }
.nl-form.dark input::placeholder { color: var(--muted-light); }
.nl-perks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.nl-perks li { display: flex; gap: 10px; align-items: center; color: #d6e2ec; font-size: 15px; }
.nl-perks .ico { width: 18px; height: 18px; color: var(--teal-bright); stroke-width: 2.4; }
.form-note { font-size: 12.5px; color: var(--muted-light); margin-top: 10px; }
@media (max-width: 460px) { .nl-form { flex-direction: column; border-radius: 18px; } .nl-form .btn { justify-content: space-between; } }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font: 600 13px/1 var(--f-head); color: var(--navy); margin-bottom: 9px; }
.field label i { font-style: normal; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; outline: 0;
  transition: border-color .25s, box-shadow .25s; font-size: 15.5px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(19,168,164,.14); }
.field .err { display: none; color: #b42318; font-size: 13px; margin-top: 6px; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #e04f4f; }
.field.bad .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chips-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-pick label { margin: 0; font: 500 14px/1 var(--f-body); padding: 11px 15px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: all .2s; color: var(--navy); }
.chips-pick input { position: absolute; opacity: 0; pointer-events: none; }
.chips-pick input:checked + label { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips-pick input:focus-visible + label { outline: 2px solid var(--teal); outline-offset: 2px; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-card { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.contact-info { display: grid; gap: 4px; }
.ci-row { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ci-row .ci-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; }
.ci-row .ci-ico svg { width: 22px; height: 22px; }
.ci-row small { display: block; font: 600 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ci-row a, .ci-row p { display: block; margin: 0; font: 600 16px/1.5 var(--f-head); color: var(--navy); }
.ci-row a:hover { color: var(--teal); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.success-panel { text-align: center; padding: 40px 10px; }
.success-panel .tick-big { width: 84px; height: 84px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin: 0 auto 22px; }
.success-panel .tick-big svg { width: 40px; height: 40px; stroke-width: 2.4; }

/* ---------- pagination ---------- */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.pager a, .pager span { min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line); font: 600 14px/1 var(--f-head); color: var(--navy); }
.pager .on { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r-lg); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #c2cfdb; position: relative; overflow: hidden; padding-top: clamp(64px, 8vw, 110px); }
.foot-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.foot-top h2 { color: #fff; font-size: clamp(30px, 3.6vw, 48px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0; }
.foot-grid h4 { font: 600 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 20px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot-grid a { transition: color .2s; }
.foot-grid a:hover { color: #fff; }
.foot-grid p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; }
.foot-about p { max-width: 34ch; }
.office { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14px; margin-bottom: 16px; }
.office .ico { width: 18px; height: 18px; color: var(--teal-bright); margin-top: 2px; }
.office b { display: block; color: #fff; font: 600 13px/1.4 var(--f-head); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: all .25s; }
.socials a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.socials svg { width: 19px; height: 19px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px 0 34px; border-top: 1px solid var(--line-light); font: 500 12.5px/1.4 var(--f-mono); letter-spacing: .06em; color: #8095a8; text-transform: uppercase; }
.foot-bottom a:hover { color: #fff; }
.foot-word { font: 800 clamp(70px, 17vw, 260px)/.8 var(--f-head); letter-spacing: -.06em; color: rgba(255,255,255,.04); white-space: nowrap; margin: 0 0 -.12em; text-align: center; user-select: none; }
@media (max-width: 980px) { .foot-top { grid-template-columns: 1fr; } .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- floating: WhatsApp, mobile CTA, toasts, modal ---------- */
.wa-float { position: fixed; right: 20px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float .wa-tip { position: absolute; right: 70px; white-space: nowrap; background: #fff; color: var(--navy); font: 600 13px/1 var(--f-head); padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow-sm); opacity: 0; transform: translateX(8px); transition: all .3s; pointer-events: none; }
.wa-float:hover .wa-tip { opacity: 1; transform: none; }
.m-cta { display: none; }
@media (max-width: 760px) {
  .m-cta { display: flex; position: fixed; left: 12px; right: 84px; bottom: 16px; z-index: 89; transform: translateY(140%); transition: transform .45s var(--ease); }
  .m-cta.show { transform: none; }
  .m-cta .btn { width: 100%; justify-content: space-between; box-shadow: var(--shadow); }
  .wa-float { bottom: 16px; right: 14px; width: 56px; height: 56px; }
  .wa-float .wa-tip { display: none; }
}

.toasts { position: fixed; top: calc(var(--header-h) + 14px); right: 16px; z-index: 400; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); }
.toast { display: grid; grid-template-columns: 36px 1fr 24px; gap: 12px; align-items: start; background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 14px 14px 14px; box-shadow: 0 20px 50px -18px rgba(7,27,48,.45); border-left: 4px solid var(--teal); animation: toastIn .45s var(--ease); font-size: 14.5px; }
.toast.err { border-left-color: #e04f4f; }
.toast .t-ico { width: 36px; height: 36px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; }
.toast.err .t-ico { background: #fdecec; color: #c0392b; }
.toast .t-ico svg { width: 18px; height: 18px; stroke-width: 2.4; }
.toast b { display: block; font-family: var(--f-head); color: var(--navy); margin-bottom: 2px; }
.toast button { background: none; border: 0; padding: 0; color: var(--muted); }
.toast button svg { width: 18px; height: 18px; }
.toast.out { animation: toastOut .35s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

.nl-toast { position: fixed; left: 20px; bottom: 22px; z-index: 95; width: min(380px, calc(100vw - 32px)); background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 30px 70px -20px rgba(7,27,48,.5); transform: translateY(140%); transition: transform .6s var(--ease); border: 1px solid var(--line); }
.nl-toast.show { transform: none; }
.nl-toast .x { position: absolute; top: 12px; right: 12px; background: var(--paper); border: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.nl-toast .x svg { width: 16px; height: 16px; }
.nl-toast small { font: 600 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.nl-toast h4 { font-size: 19px; margin: 10px 0 6px; padding-right: 30px; letter-spacing: -.02em; }
.nl-toast p { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.nl-toast .nl-form { background: var(--paper); }
.nl-toast .nl-form .btn { min-height: 44px; padding-left: 16px; }
@media (max-width: 760px) { .nl-toast { left: 12px; bottom: 84px; } }

.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-bg { position: absolute; inset: 0; background: rgba(4,14,26,.62); backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s; }
.modal.open .modal-bg { opacity: 1; }
.modal-box { position: relative; width: min(900px, 100%); display: grid; grid-template-columns: .85fr 1.15fr; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 50px 120px -30px rgba(0,0,0,.6); transform: translateY(30px) scale(.97); opacity: 0; transition: transform .55s var(--ease), opacity .4s; max-height: calc(100svh - 32px); overflow-y: auto; }
.modal.open .modal-box { transform: none; opacity: 1; }
.modal-side { position: relative; background: var(--navy); color: #fff; padding: 36px 32px; display: flex; flex-direction: column; justify-content: space-between; min-height: 420px; overflow: hidden; isolation: isolate; }
.modal-side::before { content: ""; position: absolute; width: 420px; height: 420px; left: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(63,211,204,.42), transparent 65%); z-index: -1; }
.modal-side small { font: 600 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-bright); }
.modal-side .stack-words { font: 800 clamp(30px, 3.2vw, 42px)/1.08 var(--f-head); letter-spacing: -.035em; }
.modal-side .stack-words span { display: block; }
.modal-side .stack-words span:nth-child(2) { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--teal-bright); }
.modal-main { padding: 44px 40px 36px; }
.modal-main h3 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.1; margin: 14px 0 14px; letter-spacing: -.03em; }
.modal-main p { color: var(--muted); margin: 0 0 20px; }
.modal-main ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.modal-main li { display: flex; gap: 10px; align-items: center; font: 600 14.5px/1.3 var(--f-head); color: var(--navy); }
.modal-main li .ico { width: 18px; height: 18px; color: var(--teal); stroke-width: 2.6; flex: none; }
.modal-main .btn { width: 100%; justify-content: space-between; }
.modal-main .later { display: block; text-align: center; margin-top: 14px; font-size: 13.5px; color: var(--muted); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; width: 100%; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; z-index: 2; transition: transform .3s; }
.modal-x:hover { transform: rotate(90deg); }
.modal-x svg { width: 18px; height: 18px; }
@media (max-width: 720px) { .modal-box { grid-template-columns: 1fr; } .modal-side { min-height: 0; padding: 28px 26px; gap: 22px; } .modal-main { padding: 28px 26px; } }

/* ---------- reveal animations ---------- */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.split-words.in .w > span { transform: none; }
.img-reveal > img { clip-path: inset(0 0 100% 0); transform: scale(1.08); transition: clip-path 1.2s var(--ease), transform 1.6s var(--ease); }
.img-reveal.in > img { clip-path: inset(0 0 0 0); transform: none; }
.no-js .rv { opacity: 1; transform: none; }
.no-js .img-reveal > img { clip-path: none; transform: none; }
.no-js .split-words .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .img-reveal > img { clip-path: none; transform: none; }
  .split-words .w > span { transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.nf .big { font: 800 clamp(110px, 20vw, 220px)/1 var(--f-head); letter-spacing: -.06em; color: var(--navy); }
.nf .big span { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--teal); }

/* brand on dark surfaces */
.mnav .brand-word b, .site-footer .brand-word b { color: #fff; }
.mnav .brand-word i, .site-footer .brand-word i { color: var(--teal-bright); }
.site-footer a.brand { display: inline-flex; align-items: center; gap: 11px; }

/* ---------- faint background photos ---------- */
.faint-photo {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-size: cover; background-position: center;
  opacity: .09; filter: grayscale(1) contrast(1.1);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
}
.faint-photo.left { -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 45%, #000 100%); mask-image: linear-gradient(270deg, transparent 0%, #000 45%, #000 100%); }
.faint-photo.full { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%); }
.faint-photo.tint { filter: grayscale(1) sepia(.35) hue-rotate(140deg) saturate(1.6); opacity: .11; }
.bg-navy .faint-photo, .bg-deep .faint-photo { opacity: .14; filter: grayscale(1); mix-blend-mode: luminosity; }
@media (max-width: 760px) { .faint-photo { opacity: .07; -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 35%, #000 70%, transparent); } }
