/* Pioneer Net Zero — deep-navy ground taken from the Consultants Enclave mark,
   with its cyan → violet → magenta ribbon used as the one accent.
   Layout: the home page is a pinned scroll scene (a building rising from bare land);
   everything else is quiet, left-aligned and generous. */
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
:root {
  --ink: #050f29;          /* page ground, deepest navy of the mark */
  --navy: #0b1f4d;         /* raised navy */
  --navy-2: #13295f;       /* panels on navy */
  --line: #24396f;         /* hairlines on navy */
  --text: #e9edf8;
  --muted: #9ba8cb;
  --cyan: #3cbafb;
  --violet: #6a4be9;
  --magenta: #d930da;
  --leaf: #34d399;         /* greenery only */
  --paper: #f3f4fb;        /* reading band */
  --paper-ink: #0b1f4d;
  --paper-muted: #4a5a82;
  --paper-line: #d8dcef;
  --ribbon: linear-gradient(100deg, var(--cyan) 0%, var(--violet) 52%, var(--magenta) 100%);
  --display: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --body: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html { overflow-x: clip; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.65 var(--body); overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--paper-ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
.site-header { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; transition: background .4s, border-color .4s, transform .45s cubic-bezier(.2,.7,.2,1); border-bottom: 1px solid transparent; }
.site-header.is-solid { background: rgba(5, 15, 41, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(36, 57, 111, .7); }
.site-header.is-hidden { transform: translateY(-110%); }
.nav { display: flex; align-items: center; gap: 34px; height: 92px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { height: 34px; width: auto; }
.brand span { font: 700 17px/1 var(--display); letter-spacing: .01em; padding: 7px 11px 6px; border-radius: 8px; background: var(--ribbon); color: #fff; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a, .nav-links button { font: 600 17px/1 var(--body); color: var(--text); text-decoration: none; background: none; border: 0; cursor: pointer; padding: 8px 0; opacity: .85; transition: opacity .2s; }
.nav-links a:hover, .nav-links button:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--cyan); }
.has-menu { position: relative; }
.mega { position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 0; width: min(720px, 90vw); background: var(--navy); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.has-menu:hover .mega, .has-menu:focus-within .mega, .has-menu.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega h3 { font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--muted); margin-bottom: 10px; }
.mega a { display: block; padding: 7px 0; font-size: 15px; opacity: .9; }
.mega a:hover { opacity: 1; color: var(--cyan); }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--body); text-decoration: none; border-radius: 999px; padding: 15px 22px; border: 0; cursor: pointer; transition: transform .25s, box-shadow .25s, background-position .6s; white-space: nowrap; }
.btn-ribbon { color: #fff; background: var(--ribbon); background-size: 160% 100%; background-position: 0 0; box-shadow: 0 10px 30px -12px rgba(106, 75, 233, .9); }
.btn-ribbon:hover { background-position: 100% 0; transform: translateY(-2px); }
.btn-line { color: var(--text); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--cyan); }
.btn-sm { padding: 14px 20px; font-size: 16px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); width: 44px; height: 44px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .3s, opacity .3s; }
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav { height: 76px; }
  .brand img { height: 26px; }
  .brand span { font-size: 14px; padding: 6px 9px 5px; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links { position: fixed; inset: calc(76px + env(safe-area-inset-top, 0px)) 0 0 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gut-r) 40px var(--gut); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav-open .nav-links { opacity: 1; visibility: visible; }
  .nav-links > li { border-bottom: 1px solid var(--line); }
  .nav-links a, .nav-links button { display: block; width: 100%; text-align: left; padding: 18px 0; font-size: 18px; }
  .mega { position: static; translate: none; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; grid-template-columns: 1fr; border: 0; background: none; box-shadow: none; padding: 0 0 14px; }
  .has-menu.open .mega { display: grid; }
  .mega a { padding: 8px 0; font-size: 16px; }
}

/* ---------- page transition ---------- */
.pt { position: fixed; inset: 0; z-index: 90; pointer-events: none; display: grid; }
.pt i { grid-area: 1 / 1; background: var(--ink); transform-origin: top; }
.pt i:nth-child(1) { background: var(--ribbon); }
.pt i:nth-child(2) { background: var(--ink); }
.pt-boot .pt i { transform: scaleY(1); }
.pt-ready .pt i { transform: scaleY(0); transition: transform .7s cubic-bezier(.7, 0, .2, 1); }
.pt-ready .pt i:nth-child(1) { transition-delay: .12s; }
.pt-leave .pt i { transform-origin: bottom; transform: scaleY(1); transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.pt-leave .pt i:nth-child(2) { transition-delay: .1s; }
.no-js .pt { display: none; }

/* ---------- home: hero with the building held at the side ---------- */
.intro { padding-top: calc(92px + env(safe-area-inset-top, 0px)); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "hero media" "stages media"; column-gap: clamp(32px, 5vw, 80px); }
.hero-block { grid-area: hero; min-height: calc(100svh - 92px); display: flex; flex-direction: column; justify-content: center; padding-block: 40px 70px; }
.hero-kicker { font-size: 15px; font-weight: 600; color: var(--cyan); margin-bottom: 18px; }
.hero-block h1 { font-size: clamp(38px, 4.6vw, 66px); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero-sub { color: #c4cde6; font-size: clamp(16px, 1.25vw, 19px); max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.intro-media { grid-area: media; align-self: start; position: sticky; top: calc(108px + env(safe-area-inset-top, 0px)); height: calc(100svh - 132px); min-height: 460px; margin: 0; border-radius: 28px; overflow: hidden; background: var(--navy); box-shadow: 0 40px 80px -40px rgba(106, 75, 233, .6); isolation: isolate; }
.film-poster, .film { position: absolute; inset: 0; width: 100%; height: 100%; }
.film-poster { object-fit: cover; object-position: 50% 45%; transition: opacity .8s; }
.film { opacity: 0; transition: opacity .8s; }
.intro-media.is-playing .film { opacity: 1; }
.intro-media.is-playing .film-poster { opacity: 0; }
.film-progress { position: absolute; z-index: 2; top: 18px; left: 18px; right: 18px; height: 3px; border-radius: 3px; background: rgba(233, 237, 248, .25); overflow: hidden; }
.film-progress i { position: absolute; inset: 0; background: var(--ribbon); transform-origin: left; transform: scaleX(0); }
.intro-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 15, 41, .35) 0%, transparent 22%, transparent 58%, rgba(5, 15, 41, .9) 100%); pointer-events: none; }
.intro-media figcaption { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.media-stage { display: flex; flex-direction: column; gap: 2px; color: #fff; }
.media-stage small { font-size: 13px; font-weight: 600; color: #bfe6fd; }
.reel-label { font-weight: 800; font-size: 22px; transition: opacity .35s; }
.media-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.media-chips b { font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: rgba(5, 15, 41, .6); border: 1px solid rgba(233, 237, 248, .25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.stage-wrap { grid-area: stages; padding-bottom: clamp(60px, 8vw, 110px); }
.stage-title { font-size: clamp(26px, 2.8vw, 38px); margin-bottom: 18px; max-width: 18ch; }
.stage-list { list-style: none; margin: 0; padding: 0; }
.stage-item { padding: 34px 0 36px; border-top: 1px solid var(--line); }
.stage-item:last-child { border-bottom: 1px solid var(--line); }
.stage-no { display: block; font-size: 14px; font-weight: 600; color: var(--cyan); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stage-item h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 10px; }
.stage-item p { color: var(--muted); max-width: 52ch; }
.stage-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; list-style: none; padding: 0; }
.stage-tags li { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; background: rgba(60, 186, 251, .1); color: #bfe6fd; border: 1px solid rgba(60, 186, 251, .22); }
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "hero" "media" "stages"; }
  .intro { padding-top: calc(76px + env(safe-area-inset-top, 0px)); }
  .hero-block { min-height: 0; padding-block: 40px 36px; }
  .intro-media { position: relative; top: 0; height: auto; min-height: 0; aspect-ratio: 4 / 5; max-height: 76svh; width: 100%; }
  .stage-wrap { padding-top: 56px; }
  .stage-item { opacity: 1; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(30px, 4vw, 54px); }
.section-head p { color: var(--muted); max-width: 52ch; justify-self: end; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } .section-head p { justify-self: start; } }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 34px 30px 40px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.pillar + .pillar { padding-left: 30px; }
.pillar:last-child { border-right: 0; padding-right: 0; }
.pillar h3 { font-size: 22px; }
.pillar > p { color: var(--muted); }
.pillar ul { list-style: none; margin: 8px 0 0; padding: 0; }
.pillar li a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 17px; position: relative; }
.pillar li a::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--ribbon); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.pillar li a:hover::after, .pillar li a:focus-visible::after { width: 100%; }
.pillar li a svg { width: 18px; height: 18px; color: var(--cyan); transition: transform .3s; }
.pillar li a:hover svg { transform: translateX(4px); }
.pillar-mark { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-2); }
.pillar-mark svg { width: 30px; height: 30px; }
.pillar-mark .draw { fill: none; stroke: var(--cyan); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.pillar-mark .soft { fill: none; stroke: var(--violet); stroke-width: 7; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } .pillar, .pillar + .pillar { padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); } }

/* rating ladders */
.ladders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ladder { background: var(--navy); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.ladder h3 { font-size: 20px; }
.ladder .by { font-size: 13.5px; color: var(--muted); min-height: 2.6em; line-height: 1.35; }
.rungs { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column-reverse; gap: 7px; }
.rungs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; position: relative; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; overflow: hidden; background: var(--navy-2); font-variant-numeric: tabular-nums; }
.rungs li::before { content: ""; position: absolute; inset: 0; background: var(--ribbon); opacity: calc(.18 + var(--i) * .14); transform-origin: left; transform: scaleX(var(--fill, 1)); z-index: 0; }
.rungs li > * { position: relative; z-index: 1; }
.rungs li small { color: #d5dcf0; font-size: 12.5px; font-weight: 400; }
.ladder .note { font-size: 13px; color: var(--muted); margin-top: auto; padding-top: 6px; }
@media (max-width: 1000px) { .ladders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ladders { grid-template-columns: 1fr; } }

/* process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--line); }
.process::after { content: ""; position: absolute; left: 0; top: 23px; height: 2px; width: 100%; background: var(--ribbon); transform-origin: left; transform: scaleX(var(--draw, 1)); }
.process li { position: relative; z-index: 1; padding-top: 70px; }
.process li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 600 17px/1 var(--display); background: var(--ink); border: 2px solid var(--violet); color: var(--text); }
.process h3 { font-size: 18px; margin-bottom: 10px; }
.process p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; gap: 34px; }
  .process::before, .process::after { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .process::after { transform-origin: top; transform: scaleY(var(--draw, 1)); }
  .process li { padding: 6px 0 0 76px; }
}

/* founder */
.founder { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.founder-card { position: relative; border-radius: 28px; padding: 38px; background: var(--navy); border: 1px solid var(--line); overflow: hidden; }
.founder-card::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 48, 218, .35), transparent 65%); }
.founder-card::after { content: ""; position: absolute; width: 300px; height: 300px; left: -120px; bottom: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(60, 186, 251, .28), transparent 65%); }
.founder-card > * { position: relative; }
.monogram { width: 92px; height: 92px; border-radius: 24px; display: grid; place-items: center; font: 700 34px/1 var(--display); background: var(--ribbon); color: #fff; margin-bottom: 26px; }
.founder-card h3 { font-size: 26px; margin-bottom: 6px; }
.founder-card .role { color: var(--muted); margin-bottom: 22px; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.creds li { font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 10px; background: var(--navy-2); border: 1px solid var(--line); }
.creds li.key { background: rgba(60, 186, 251, .12); border-color: rgba(60, 186, 251, .4); color: #c9ecfe; }
.founder-text h2 { font-size: clamp(28px, 3.6vw, 46px); margin-bottom: 22px; }
.founder-text p { color: #c4cde6; margin-bottom: 16px; max-width: 58ch; }
.founder-text .btn { margin-top: 12px; }
@media (max-width: 880px) { .founder { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(40px, 7vw, 90px); background: var(--navy); border: 1px solid var(--line); isolation: isolate; }
.cta-band .glow { position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg at 50% 50%, rgba(60, 186, 251, .0), rgba(60, 186, 251, .35), rgba(106, 75, 233, .4), rgba(217, 48, 218, .35), rgba(60, 186, 251, .0)); filter: blur(60px); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-band h2 { font-size: clamp(30px, 4.6vw, 62px); max-width: 16ch; margin-bottom: 20px; }
.cta-band p { color: #d0d7ee; max-width: 52ch; margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-row .tel { font: 600 18px/1 var(--body); color: var(--text); text-decoration: none; margin-left: 8px; font-variant-numeric: tabular-nums; }

/* marquee of rating systems */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: 600 clamp(20px, 2.4vw, 30px)/1 var(--display); color: transparent; -webkit-text-stroke: 1px #5f73ad; white-space: nowrap; }
.marquee span.fill { color: var(--text); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- inner pages ---------- */
.page-hero { position: relative; padding: calc(170px + env(safe-area-inset-top, 0px)) 0 clamp(60px, 8vw, 100px); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -1; width: 70vw; max-width: 900px; aspect-ratio: 1; right: -18vw; top: -30vw; border-radius: 50%; background: radial-gradient(circle at 40% 60%, rgba(106, 75, 233, .45), rgba(217, 48, 218, .18) 40%, transparent 68%); }
.page-hero .grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: end; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 26px; list-style: none; padding: 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.page-hero h1 { font-size: clamp(36px, 5.6vw, 76px); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 22px; }
.page-hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.page-hero h1 .w > span { display: inline-block; }
.page-hero .lede { font-size: clamp(17px, 1.5vw, 20px); color: #c4cde6; max-width: 56ch; }
.hero-glyph { justify-self: end; width: min(300px, 100%); }
.hero-glyph svg { width: 100%; height: auto; overflow: visible; }
.hero-glyph .draw { fill: none; stroke: url(#rib); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hero-glyph .soft { fill: none; stroke: var(--line); stroke-width: 1.5; }
@media (max-width: 820px) { .page-hero .grid { grid-template-columns: 1fr; } .hero-glyph { justify-self: start; width: 180px; order: -1; } }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 24px 24px 26px 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dt { font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.facts dd { margin: 0; font: 600 17px/1.35 var(--display); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } .facts div, .facts div + div { padding: 18px 0; border-left: 0; } .facts div + div { border-top: 1px solid var(--line); } }

.paper { background: var(--paper); color: var(--paper-ink); }
.paper .section-head p, .paper .muted { color: var(--paper-muted); }
.read { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.toc { position: sticky; top: 130px; align-self: start; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.toc a { text-decoration: none; color: var(--paper-muted); padding: 7px 0 7px 14px; border-left: 2px solid var(--paper-line); transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.is-on { color: var(--paper-ink); border-color: var(--violet); }
.prose { max-width: 70ch; }
.prose section + section { margin-top: 64px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 18px; color: var(--paper-ink); }
.prose h3 { font-size: 18px; margin: 26px 0 8px; }
.prose p { margin-bottom: 14px; color: #26345c; }
.prose p strong { color: var(--paper-ink); }
.ticks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 0; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--paper-line); color: #26345c; }
.ticks li:last-child { border-bottom: 1px solid var(--paper-line); }
.ticks li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 6px; background: var(--ribbon); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.5l3.2 3L14 5.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.5l3.2 3L14 5.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.ticks li b { color: var(--paper-ink); font-weight: 600; }
.steps { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--paper-line); }
.steps li::before { content: counter(s); width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font: 600 15px/1 var(--display); color: #fff; background: var(--ribbon); }
.steps li b { display: block; color: var(--paper-ink); margin-bottom: 2px; }
.steps li span { color: #36456e; font-size: 16px; }
.scale-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-variant-numeric: tabular-nums; font-size: 15.5px; }
.scale-table th, .scale-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--paper-line); }
.scale-table th { font-weight: 600; color: var(--paper-muted); font-size: 13.5px; }
.scale-table td:first-child { font-weight: 600; color: var(--paper-ink); }
.table-scroll { overflow-x: auto; }
.faq details { border-top: 1px solid var(--paper-line); }
.faq details:last-of-type { border-bottom: 1px solid var(--paper-line); }
.faq summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 17.5px; color: var(--paper-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--display); color: var(--violet); transition: transform .3s; text-align: center; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 20px 0; color: #36456e; }
@media (max-width: 880px) { .read { grid-template-columns: 1fr; } .toc { display: none; } }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.related a { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 20px; text-decoration: none; background: var(--navy); border: 1px solid var(--line); transition: border-color .3s, transform .3s; min-height: 170px; }
.related a:hover { border-color: var(--violet); transform: translateY(-4px); }
.related small { color: var(--cyan); font-size: 13.5px; }
.related strong { font: 600 19px/1.25 var(--display); }
.related span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }

/* services index */
.svc-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1.1fr) 40px; gap: 28px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; isolation: isolate; }
.svc-row::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gut)); z-index: -1; background: linear-gradient(90deg, rgba(60, 186, 251, .1), rgba(106, 75, 233, .14), rgba(217, 48, 218, .08)); opacity: 0; transition: opacity .35s; }
.svc-row:hover::before { opacity: 1; }
.svc-row small { color: var(--muted); font-size: 14px; }
.svc-row strong { font: 600 clamp(20px, 2.2vw, 28px)/1.15 var(--display); }
.svc-row span { color: var(--muted); }
.svc-row svg { width: 26px; height: 26px; color: var(--cyan); transition: transform .3s; }
.svc-row:hover svg { transform: translateX(6px); }
@media (max-width: 860px) { .svc-row { grid-template-columns: minmax(0, 1fr) 30px; gap: 8px 16px; } .svc-row small { grid-column: 1 / -1; } .svc-row span { grid-column: 1; } .svc-row svg { grid-row: 2 / 4; grid-column: 2; } }

/* about */
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); }
@media (max-width: 860px) { .split2 { grid-template-columns: 1fr; } }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--paper-line); }
.timeline li { position: relative; padding: 0 0 30px 28px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--ribbon); }
.timeline b { display: block; font: 600 16px/1.3 var(--display); color: var(--paper-ink); margin-bottom: 4px; }
.timeline span { color: #36456e; }
.affils { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.affils div { padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--paper-line); }
.affils b { display: block; font: 700 20px/1 var(--display); color: var(--paper-ink); margin-bottom: 6px; }
.affils span { font-size: 14px; color: var(--paper-muted); line-height: 1.4; display: block; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 70px); align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; background: var(--navy); border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 4vw, 40px); }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 14px; font-weight: 500; color: #c4cde6; }
.field input, .field select, .field textarea { font: 400 16px/1.4 var(--body); color: var(--text); background: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(60, 186, 251, .2); }
.form .hint { font-size: 13.5px; color: var(--muted); }
.form-msg { font-size: 14.5px; color: var(--leaf); min-height: 1.2em; }
.form-msg.err { color: #ff8fb8; }
.reach { display: grid; gap: 0; border-top: 1px solid var(--line); }
.reach div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.reach dt { font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.reach dd { margin: 0; font-size: 18px; font-weight: 500; }
.reach a { text-decoration: none; }
.reach a:hover { color: var(--cyan); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .form { grid-template-columns: 1fr; } }

/* footer */
.site-footer { padding: 90px 0 calc(34px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.foot-grid h3 { font: 500 13px/1 var(--body); color: var(--muted); margin-bottom: 16px; letter-spacing: .02em; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.foot-grid a { text-decoration: none; opacity: .88; }
.foot-grid a:hover { opacity: 1; color: var(--cyan); }
.foot-about p { color: var(--muted); font-size: 15px; max-width: 38ch; margin-top: 18px; }
.foot-word { font: 700 clamp(30px, 8.6vw, 128px)/.95 var(--display); letter-spacing: -0.03em; margin-top: 70px; background: var(--ribbon); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; white-space: nowrap; overflow: hidden; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 26px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-about { grid-column: 1 / -1; } }

.wa-float { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6); transition: transform .3s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

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