/* Daniel Angos Villegas, PMP — site styles
   Light "Florida sky" theme: sky whites, navy text, vivid blue actions, safety-orange accents.
   Contrast (WCAG): navy #0C2742 on white 15.9:1 • --tx-2 on --sky-2 6.6:1 • white on --blue 5.6:1
   • --or-tx on white 5.5:1 • white on --band 8.4:1 • --sun on --band 5.2:1.
   Type: Overpass (Highway Gothic lineage) + Overpass Mono, SIL OFL 1.1, self-hosted. */

@font-face { font-family: 'Overpass'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/overpass-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Overpass'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/overpass-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Overpass'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/overpass-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Overpass'; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/overpass-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Overpass Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/overpass-mono-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Overpass Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/overpass-mono-latin-600-normal.woff2) format('woff2'); }

:root {
  --white: #FFFFFF;
  --sky-1: #F4F9FD; --sky-2: #E8F3FC; --sky-3: #D3E8F8; --sky-4: #9DCDF0; --sky-5: #4BA9E6;
  --blue: #0B6BB3; --blue-hi: #095C9B; --blue-ink: #0A3D6B;
  --band: #0B4F8C; --band-2: #0A447A; --sun: #FFC94D;
  --tx: #0C2742; --tx-2: #3E5873; --tx-3: #5E7790;
  --or: #F2691B; --or-2: #DD5A0F; --or-tx: #B3480B; --or-soft: #FFF1E6;
  --yellow: #F6C343;
  --green: #00704A; --green-hi: #00A36C;
  --navy-0: #0A1E33;
  --line: rgba(12, 39, 66, .12); --line-2: rgba(12, 39, 66, .22); --line-w: rgba(255, 255, 255, .22);
  --shadow-1: 0 1px 2px rgba(12, 39, 66, .06), 0 10px 28px rgba(12, 39, 66, .07);
  --shadow-2: 0 2px 6px rgba(12, 39, 66, .07), 0 28px 64px rgba(12, 39, 66, .16);
  --gut: clamp(20px, 4.5vw, 48px);
  --maxw: 1240px;
  --r: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Overpass', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'Overpass Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --nav-h: 76px;
  --focus: var(--blue);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); background: var(--sky-1); }
body { margin: 0; background: var(--sky-1); color: var(--tx); font: 400 18px/1.6 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p, li { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.blue :focus-visible, .foot :focus-visible, .gsign :focus-visible, .cta-sign :focus-visible { --focus: #fff; }
::selection { background: var(--sky-4); color: var(--tx); }

.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(var(--maxw), 100% - 2 * var(--gut)); margin-inline: auto; }
.ico { width: 20px; height: 20px; flex: none; }
.flag { width: 24px; height: auto; flex: none; border-radius: 2px; box-shadow: 0 1px 2px rgba(12, 39, 66, .18); }

.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--blue); color: #fff; padding: 12px 18px; border-radius: 8px; font-weight: 800; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- sections ---------- */
.sec { position: relative; padding-block: clamp(80px, 9.5vw, 140px); }
.white { background: var(--white) url(../img/topo-sky.svg) center / 1500px 1000px repeat; }
.tint { background: var(--sky-2) url(../img/topo-sky.svg) center / 1500px 1000px repeat; }
.blue { background: var(--band) url(../img/topo-light.svg) center / 1500px 1000px repeat; color: #fff; }
.sec-h { max-width: 860px; margin-bottom: clamp(36px, 4.6vw, 64px); }
.kicker { display: flex; align-items: center; gap: 12px; margin: 0; font: 600 13px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--or-tx); }
.blue .kicker { color: var(--sun); }
.kicker b { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 26px; padding: 2px 6px 0; border: 1.5px solid currentColor; border-radius: 6px; font-weight: 600; letter-spacing: .04em; line-height: 1; }
.h1 { font-weight: 800; font-size: clamp(44px, min(7vw, 11.2vh), 104px); line-height: .94; letter-spacing: -.025em; color: var(--tx); }
.h2 { font-weight: 800; font-size: clamp(32px, 4.2vw, 58px); line-height: 1.03; letter-spacing: -.02em; margin-top: 16px; max-width: 22ch; }
.h3 { font-weight: 800; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -.01em; }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--tx-2); max-width: 60ch; margin: 18px 0 0; }
.blue .lead { color: rgba(255, 255, 255, .86); }
.sub { margin: 16px 0 0; font: 600 14px/1.5 var(--mono); letter-spacing: .04em; color: var(--tx-2); }
.note { font-size: 14px; color: var(--tx-2); margin: 36px 0 0; }

/* ---------- buttons ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 10px; border: 1.5px solid transparent; font: 700 16px/1 var(--font); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease); white-space: nowrap; }
.btn span { padding-top: 2px; }
.btn:active { transform: translateY(1px); }
.btn-p { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(11, 107, 179, .25); }
.btn-p:hover { background: var(--blue-hi); box-shadow: 0 10px 24px rgba(11, 107, 179, .32); }
.btn-g { border-color: var(--line-2); color: var(--tx); background: rgba(255, 255, 255, .7); }
.btn-g:hover { border-color: var(--tx); background: #fff; }
.btn-ink { background: var(--tx); color: #fff; }
.btn-ink:hover { background: var(--blue-ink); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; color: var(--blue); padding: 10px 0; }
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-arrow span { border-bottom: 2px solid currentColor; padding-top: 2px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); color: var(--tx); transition: background-color .3s, box-shadow .3s; }
.nav::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(244, 249, 253, .92), rgba(244, 249, 253, 0)); pointer-events: none; transition: opacity .3s; }
.nav.scrolled { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(12, 39, 66, .06); }
.nav.scrolled::before { opacity: 0; }
.nav-in { position: relative; height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; position: relative; z-index: 2; min-height: 44px; }
.brand-tile { display: grid; place-items: center; padding: 5px 7px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 4px 12px rgba(12, 39, 66, .06); }
.brand-mark { width: 66px; height: auto; }
.brand-t { display: flex; flex-direction: column; line-height: 1.15; }
.brand-t b { font-weight: 800; font-size: 16px; letter-spacing: .01em; }
.brand-t span { font: 600 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tx-2); }
.menu { display: flex; align-items: center; gap: 22px; }
.links ul { list-style: none; display: flex; gap: 4px; }
.links a { display: inline-flex; align-items: center; min-height: 44px; padding: 2px 12px 0; text-decoration: none; font-weight: 700; font-size: 16px; border-radius: 6px; position: relative; }
.links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--or); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.links a:hover::after, .links a[aria-current="page"]::after { transform: none; }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 10px; padding: 2px; background: rgba(255, 255, 255, .8); }
.lang a { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding-top: 2px; font: 600 13px/1 var(--mono); letter-spacing: .06em; color: var(--tx); text-decoration: none; border-radius: 8px; }
.lang a:hover { background: var(--sky-2); }
.lang a[aria-current="true"] { background: var(--tx); color: #fff; }
.menu-mail { display: none; }
.burger { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer; position: relative; z-index: 2; font: 700 15px var(--font); }
.burger-i { width: 18px; height: 12px; position: relative; }
.burger-i i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger-i i:first-child { top: 1px; }
.burger-i i:last-child { top: 9px; }
.nav.open .burger-i i:first-child { top: 5px; transform: rotate(45deg); }
.nav.open .burger-i i:last-child { top: 5px; transform: rotate(-45deg); }
.prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--sky-5) 60%, var(--or)); transform: scaleX(0); transform-origin: left; }

@media (max-width: 1079px) {
  .burger { display: inline-flex; }
  .js .menu { position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 28px; padding: calc(var(--nav-h) + 28px) var(--gut) 40px; background: var(--sky-1) url(../img/topo-sky.svg) center / 1200px 800px; overflow-y: auto; transform: translateY(-102%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s linear .45s; }
  .js .nav.open .menu { transform: none; visibility: visible; transition: transform .45s var(--ease); }
  .links ul { flex-direction: column; gap: 2px; }
  .js .links a { font-size: clamp(30px, 8vw, 44px); font-weight: 800; padding: 6px 0; min-height: 56px; }
  .js .links a::after { left: 0; right: auto; width: 48px; bottom: 4px; }
  .js .menu-mail { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tx-2); font-weight: 600; min-height: 44px; word-break: break-all; }
  .no-js .burger { display: none; }
  .no-js .links, .no-js .lang { flex-basis: 100%; }
  .no-js .menu { flex-wrap: wrap; gap: 8px 16px; width: 100%; }
  .no-js .nav { position: relative; height: auto; background: #fff; box-shadow: 0 1px 0 var(--line); }
  .no-js .nav::before { display: none; }
  .no-js .nav-in { flex-wrap: wrap; padding-block: 12px; }
  .no-js .hero-grid { padding-top: 40px; }
  .no-js .page-hero { padding-top: 56px; }
}
@media (max-width: 560px) {
  .brand-t span { display: none; }
  .brand-mark { width: 56px; }
  .brand-t b { font-size: 15px; }
  .burger-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .burger { padding: 0 13px; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(180deg, #CFE7FA 0%, #E6F3FD 46%, var(--sky-1) 100%); color: var(--tx); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; background: #DCEEFB url(../video/hero-loop-poster.jpg) 60% 50% / cover no-repeat; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: 0; transition: opacity 1.2s ease; }
.hero-video.on { opacity: 1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(244, 249, 253, .95) 0%, rgba(244, 249, 253, .82) 38%, rgba(244, 249, 253, .2) 70%, rgba(244, 249, 253, .32) 100%),
  linear-gradient(180deg, rgba(244, 249, 253, 0) 62%, var(--sky-1) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 6vw, 96px); align-items: center; padding-top: calc(var(--nav-h) + clamp(24px, 4vh, 56px)); padding-bottom: 84px; }
.gsign { display: inline-flex; flex-direction: column; gap: 4px; margin: 3px 0 clamp(18px, 3vh, 30px) 3px; padding: 10px 18px 9px; background: var(--green); color: #fff; border: 2px solid #fff; border-radius: 9px; box-shadow: 0 0 0 3px var(--green), 0 14px 30px rgba(0, 70, 46, .22); }
.gsign-t { font-weight: 800; font-size: 15px; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; }
.gsign-s { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.gsign-s span { padding-top: 2px; }
.hero .h1 { max-width: 11.5ch; }
.h1 .w { display: inline-block; }
.h1 .pmp { display: inline-block; vertical-align: top; margin: .52em 0 0 .3em; padding: .3em .42em .16em; font-size: max(.22em, 12px); font-weight: 800; letter-spacing: .04em; line-height: 1; color: var(--or-tx); border: 2px solid currentColor; border-radius: 6px; }
.js .hero .h1 .w { animation: rise 1s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 100ms); }
.js .hero .h1 .pmp, .js .hero-role, .js .hero-lead, .js .hero .cta-row, .js .hstats, .js .gsign { animation: fadeup .9s var(--ease) both; }
.js .gsign { animation-delay: 0ms; }
.js .hero .h1 .pmp { animation-delay: .42s; }
.js .hero-role { animation-delay: .5s; }
.js .hero-lead { animation-delay: .6s; }
.js .hero .cta-row { animation-delay: .7s; }
.js .hstats { animation-delay: .8s; }
@keyframes rise { from { opacity: 0; transform: translateY(.4em); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-role { margin: 20px 0 0; font-weight: 800; font-size: clamp(19px, 1.75vw, 25px); line-height: 1.3; color: var(--blue-ink); }
.hero-lead { margin: 14px 0 30px; max-width: 48ch; font-size: clamp(17px, 1.3vw, 19.5px); color: var(--tx-2); }
.hstats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(28px, 4.4vh, 44px); padding-top: 22px; border-top: 1px solid var(--line-2); max-width: 760px; }
.hstats strong { display: block; font-weight: 800; font-size: clamp(30px, 3vw, 44px); line-height: 1.05; letter-spacing: -.02em; color: var(--tx); }
.hstats strong em { font-style: normal; color: var(--or-2); }
.hstats strong small { display: inline-block; white-space: nowrap; font-size: .42em; font-weight: 700; letter-spacing: 0; color: var(--tx); }
.hstats li > span { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: var(--tx-2); }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin: 0; font: 600 12.5px/1.4 var(--mono); letter-spacing: .06em; color: var(--tx-2); }
.hero-note .ico { width: 16px; height: 16px; color: var(--or-tx); }
.motion { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .85); display: grid; place-items: center; cursor: pointer; flex: none; color: var(--tx); }
.motion:hover { border-color: var(--tx); }
.motion .ico { width: 16px; height: 16px; grid-area: 1 / 1; }
.motion .i-play { display: none; }
.motion.is-paused .i-play { display: block; }
.motion.is-paused .i-pause { display: none; }
.no-js .motion { display: none; }

/* ---------- letterhead card (logo always on white, no photo) ---------- */
.bcard { position: relative; perspective: 1100px; }
.bcard-in { position: relative; background: #fff; color: var(--tx); border-radius: 18px; padding: 22px 22px 0; box-shadow: var(--shadow-2); border: 1px solid var(--line); overflow: hidden; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .5s var(--ease); }
.bcard-in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(157, 205, 240, .28) 48%, rgba(255, 255, 255, 0) 62%); transform: translateX(var(--sx, -120%)); transition: transform .6s var(--ease); pointer-events: none; }
.hero-card { width: 320px; justify-self: end; }
.js .hero-card .bcard-in { animation: cardin 1.1s var(--ease) .35s backwards; }
@keyframes cardin { from { opacity: 0; transform: translateY(26px) rotate(1.5deg); } to { opacity: 1; transform: none; } }
.bcard-logo { display: flex; justify-content: center; padding: 4px 0 16px; border-bottom: 1px solid var(--line); }
.bcard-logo img { width: 190px; }
.bcard-name { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 16px 0 0; }
.bcard-name b { font-weight: 800; font-size: 19px; line-height: 1.2; }
.pmp-tag { display: inline-block; padding: 4px 7px 2px; border: 1.5px solid var(--or-tx); border-radius: 5px; font: 800 11px/1 var(--font); letter-spacing: .05em; color: var(--or-tx); }
.bcard-k { margin: 14px 0 8px; font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--tx-2); }
.bladder { list-style: none; position: relative; display: flex; flex-direction: column-reverse; gap: 7px; padding-left: 24px; }
.bladder::before { content: ""; position: absolute; left: 6px; top: 9px; bottom: 9px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--or), var(--sky-4)); }
.bladder li { position: relative; font-size: 14.5px; line-height: 1.3; color: var(--tx-2); }
.bladder li span { display: block; padding-top: 1px; }
.bladder li::before { content: ""; position: absolute; left: -24px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2.5px solid var(--blue); box-sizing: border-box; }
.bladder li.top { font-weight: 800; font-size: 15.5px; color: var(--tx); }
.bladder li.top::before { background: var(--or); border-color: var(--or); box-shadow: 0 0 0 4px rgba(242, 105, 27, .18); }
.bcard-pmp { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.bcard-pmp img { width: 56px; height: 56px; flex: none; }
.bcard-pmp b { display: block; font-weight: 800; font-size: 14.5px; line-height: 1.2; }
.bcard-pmp span span { display: block; font-size: 12.5px; line-height: 1.4; color: var(--tx-2); }
.bcard-where { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 0 16px; border-top: 1px solid var(--line); font-weight: 700; font-size: 14.5px; }
.bcard-where span { padding-top: 2px; }
.bcard-stripe { height: 12px; margin: 0 -22px; background: repeating-linear-gradient(-45deg, var(--or) 0 10px, var(--tx) 10px 20px); }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 40px; }
  .hero-card { width: 290px; }
  .bcard-logo img { width: 170px; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 28px); padding-bottom: 120px; gap: 48px; }
  .hero .h1 { max-width: none; }
  .hstats { margin-top: 36px; }
  .hero-card { justify-self: start; width: min(100%, 440px); }
  .js .hero-card .bcard-in { animation: none; }
}
@media (max-width: 600px) {
  .gsign { margin-bottom: 22px; }
  .gsign-t { font-size: 13.5px; }
  .gsign-s { font-size: 13.5px; }
  .hero-role { margin-top: 14px; }
  .hero-lead { margin-bottom: 24px; }
  .hero .cta-row .btn { flex: 1 1 100%; }
  .hstats { grid-template-columns: 1fr; gap: 18px; }
  .hstats li > span { margin-top: 6px; }
  .hstats strong { font-size: 30px; }
  .hero-note { font-size: 11.5px; max-width: 80%; }
}

/* ---------- today ---------- */
.today { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tcard { display: flex; flex-direction: column; padding: 22px 22px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.tc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.tc-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, var(--blue), var(--blue-ink)); color: #fff; }
.tc-ic .ico { width: 24px; height: 24px; }
.tc-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 4px; border-radius: 999px; background: var(--sky-2); color: var(--blue-ink); font: 600 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.tc-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-hi); margin-top: -2px; }
.tc-tag.is-prog { background: var(--or-soft); color: var(--or-tx); }
.tc-tag.is-prog::before { background: var(--or); }
.tcard h3 { font-weight: 800; font-size: 18.5px; line-height: 1.25; margin-bottom: 8px; }
.tcard p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--tx-2); }
@media (max-width: 1100px) { .today { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .today { grid-template-columns: 1fr; } }

/* ---------- profile ---------- */
.prof { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.prof-txt p { font-size: clamp(17px, 1.3vw, 19px); color: var(--tx-2); max-width: 58ch; }
.prof-txt .h2 { margin-bottom: 26px; }
.creds { list-style: none; border-top: 1px solid var(--line); }
.creds li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cr-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-2); color: var(--blue); }
.cr-ic .ico { width: 22px; height: 22px; }
.cr-badge { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.cr-badge img { width: 46px; height: 46px; }
.cr-t b { display: block; font-weight: 800; font-size: 16.5px; line-height: 1.3; color: var(--tx); }
.cr-t span { display: block; font-size: 14.5px; line-height: 1.45; color: var(--tx-2); }

/* career staircase: each step rises one riser; bottoms sit on the same grade line */
.ladder { margin-top: clamp(64px, 8vw, 110px); }
.ladder-h { margin-bottom: 28px; }
.ladder-h .h3 { margin-top: 12px; font-size: clamp(24px, 2.4vw, 34px); }
.stairs { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; align-items: stretch; border-bottom: 3px solid var(--tx); }
.stair { position: relative; margin-top: calc((4 - var(--i)) * 34px); padding: 18px 18px 22px; border-radius: 14px 14px 0 0; background: linear-gradient(180deg, #fff, var(--sky-1)); border: 1px solid var(--line); border-bottom: 0; border-top: 4px solid var(--blue); transition-delay: var(--d, 0ms); }
.stair.top { border-top-color: var(--or); background: linear-gradient(180deg, #fff, var(--or-soft)); }
.stair-n { display: block; font: 600 13px/1 var(--mono); letter-spacing: .1em; color: var(--blue); margin-bottom: 10px; }
.stair.top .stair-n { color: var(--or-tx); }
.stair b { display: block; font-weight: 800; font-size: 17px; line-height: 1.25; margin-bottom: 8px; -webkit-hyphens: auto; hyphens: auto; }
.stair > span:last-child { display: block; font-size: 14.5px; line-height: 1.5; color: var(--tx-2); }
@media (max-width: 1000px) {
  .stairs { grid-template-columns: 1fr; gap: 0; border-bottom: 0; border-left: 3px solid var(--sky-4); margin-left: 8px; }
  .stair { margin: 0; padding: 0 0 26px 28px; border: 0; border-radius: 0; background: none; }
  .stair:last-child { padding-bottom: 0; }
  .stair::before { content: ""; position: absolute; left: -11px; top: -1px; width: 19px; height: 19px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-sizing: border-box; }
  .stair.top { background: none; }
  .stair.top::before { background: var(--or); border-color: var(--or); }
  .stair-n { margin-bottom: 6px; }
}

/* ---------- numbers rail (blue band) ---------- */
.rail { position: relative; }
.rail-svg { position: absolute; left: 0; top: 0; width: 100%; height: 120px; overflow: visible; }
.rail-ground { fill: none; stroke: rgba(255, 255, 255, .32); stroke-width: 1.5; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.rail-grade { fill: none; stroke: var(--sun); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .rail-grade { stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease) .1s; }
.js .rail.in .rail-grade { stroke-dashoffset: 0; }
.rail-pin { position: absolute; width: 2px; margin-left: -1px; background: linear-gradient(var(--sun), rgba(255, 201, 77, .15)); }
.rail-pin::before { content: ""; position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--band); border: 2.5px solid var(--sun); box-sizing: border-box; }
.js .rail-pin { transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease); }
.js .rail.in .rail-pin { transform: none; }
.stations { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-top: 150px; }
.st { position: relative; padding: 20px 24px 0 0; border-top: 1px solid var(--line-w); }
.st-sta { display: block; font: 600 12px/1 var(--mono); letter-spacing: .1em; color: var(--sun); }
.st strong { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin: 14px 0 12px; font-weight: 800; font-size: clamp(34px, 3.3vw, 52px); line-height: 1; letter-spacing: -.02em; color: #fff; }
.st strong small { font-size: 15px; font-weight: 700; letter-spacing: .02em; color: rgba(255, 255, 255, .86); }
.st p { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .86); }
.st-pin { display: none; }
@media (max-width: 900px) {
  .rail-svg, .rail-pin { display: none; }
  .stations { grid-template-columns: 1fr; padding-top: 0; border-left: 2px solid rgba(255, 201, 77, .5); margin-left: 6px; }
  .st { border-top: 0; padding: 0 0 34px 28px; }
  .st:last-child { padding-bottom: 0; }
  .st-pin { display: block; position: absolute; left: -8px; top: -2px; width: 14px; height: 14px; border-radius: 50%; background: var(--band); border: 2.5px solid var(--sun); }
  .st strong { margin: 10px 0 8px; }
}

/* ---------- featured case ---------- */
.case-role { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 18px 0 0; padding: 9px 16px 7px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); font-size: 15.5px; line-height: 1.35; }
.case-role .ico { width: 18px; height: 18px; color: var(--or-tx); margin-top: -2px; }
.case-role span { color: var(--tx-2); }
.case-role b { color: var(--tx); font-weight: 800; }
.case-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.stage-frame { touch-action: pan-y; -webkit-user-select: none; user-select: none; position: relative; aspect-ratio: 663 / 357; max-width: 760px; border-radius: var(--r); overflow: hidden; background: var(--sky-3); box-shadow: var(--shadow-2); }
.stage-img { margin: 0; }
.stage-img img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.stage-img figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px); padding: 7px 11px 5px; border-radius: 8px; background: rgba(12, 39, 66, .86); color: #fff; font-size: 13.5px; line-height: 1.35; }
.stage-img figcaption b { font-family: var(--mono); color: var(--sun); margin-right: 4px; }
.js .stage-img { position: absolute; inset: 0; opacity: 0; clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease), opacity .01s linear .9s; }
.js .stage-img.is-on { opacity: 1; clip-path: inset(0 0 0 0); z-index: 2; transition: clip-path .9s var(--ease), opacity 0s; }
.js .stage-img.was { opacity: 1; clip-path: inset(0 0 0 0); z-index: 1; }
.no-js .stage-frame { aspect-ratio: auto; background: none; box-shadow: none; display: grid; gap: 12px; }
.no-js .stage-img { position: relative; }
.no-js .stage-img figcaption { position: static; margin-top: 6px; background: none; color: var(--tx); padding: 0; }
.no-js .stage-ctl, .no-js .stage-hint { display: none; }
.stage-ctl { position: relative; max-width: 760px; margin-top: 26px; display: grid; grid-template-columns: 1fr auto; align-items: start; column-gap: 18px; }
.stage-road { position: relative; height: 44px; grid-column: 1; }
.stage-road::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 14px; border-radius: 7px; background: #3A4651; }
.stage-road::after { content: ""; position: absolute; left: 10px; right: 10px; top: 21px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .75) 0 14px, transparent 14px 26px); pointer-events: none; }
.stage-fill { position: absolute; left: 0; top: 15px; height: 14px; width: calc(var(--p, 0) * 100%); border-radius: 7px; background: linear-gradient(90deg, var(--or-2), var(--or)); transition: width .6s var(--ease); pointer-events: none; z-index: 1; }
.stage-road input { position: absolute; inset: 0; width: 100%; height: 44px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: grab; z-index: 2; }
.stage-road input:active { cursor: grabbing; }
.stage-road input:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.stage-road input::-webkit-slider-runnable-track { height: 44px; background: transparent; }
.stage-road input::-moz-range-track { height: 44px; background: transparent; }
.stage-road input::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: 5px; border-radius: 50%; background: #fff radial-gradient(circle, var(--or) 0 7px, transparent 8px); border: 3px solid var(--tx); box-shadow: 0 6px 16px rgba(12, 39, 66, .3); }
.stage-road input::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff radial-gradient(circle, var(--or) 0 7px, transparent 8px); border: 3px solid var(--tx); box-shadow: 0 6px 16px rgba(12, 39, 66, .3); }
.stage-marks { list-style: none; grid-column: 1; display: flex; justify-content: space-between; margin-top: 4px; }
.stage-marks button { border: 0; background: none; padding: 8px 0; min-height: 44px; cursor: pointer; font: 700 14px/1.2 var(--font); color: var(--tx-2); transition: color .2s; }
.stage-marks b { font-family: var(--mono); color: var(--or-tx); margin-right: 4px; }
.stage-marks button.on { color: var(--tx); }
.stage-end { grid-column: 2; grid-row: 1 / span 2; margin: 0; display: flex; align-items: center; height: 44px; }
.stage-end span { transition: background-color .3s; display: inline-flex; align-items: center; height: 34px; padding: 3px 12px 0; border-radius: 6px; background: var(--green); color: #fff; font: 600 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 0 0 2px #fff inset; }
.stage-hint { margin: 10px 0 0; font: 600 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tx-2); }
.case-txt h3 { font: 600 13px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--or-tx); margin-bottom: 10px; }
.case-txt p { font-size: 17.5px; color: var(--tx-2); margin-bottom: 28px; }
.case-txt .res p { color: var(--tx); font-weight: 700; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.4; }
.case-txt .res { border-left: 3px solid var(--or); padding-left: 18px; margin-bottom: 30px; }
@media (max-width: 600px) {
  .stage-ctl { grid-template-columns: 1fr; }
  .stage-end { grid-column: 1; grid-row: auto; justify-content: flex-end; margin-top: 6px; height: auto; }
  .stage-marks button { font-size: 13px; }
}

/* ---------- aggregate process ---------- */
.edge-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.steps { list-style: none; position: relative; }
.steps::before { content: ""; position: absolute; left: 39px; top: 34px; bottom: 34px; width: 2px; background: repeating-linear-gradient(180deg, rgba(242, 105, 27, .75) 0 8px, transparent 8px 16px); background-size: 2px 16px; }
.js .steps.moving::before { animation: belt 1.2s linear 1; }
@keyframes belt { to { background-position: 0 16px; } }
.step-b { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: start; width: 100%; padding: 14px 16px 14px 12px; border: 0; border-radius: 14px; background: transparent; text-align: left; cursor: pointer; transition: background-color .25s; color: var(--tx); }
.step-b:hover { background: var(--sky-1); }
.step-b .n { position: relative; z-index: 1; width: 56px; height: 40px; display: grid; place-items: center; padding-top: 2px; border-radius: 20px; border: 1.5px solid var(--line-2); background: #fff; font: 600 14px/1 var(--mono); color: var(--tx-2); transition: all .25s; }
.step-t b { display: block; font-weight: 800; font-size: 20px; line-height: 1.2; margin: 7px 0 4px; }
.step-t span { display: block; font-size: 15px; line-height: 1.5; color: var(--tx-2); }
.step-b[aria-selected="true"] { background: var(--or-soft); }
.step-b[aria-selected="true"] .n { background: var(--or); border-color: var(--or); color: var(--tx); }
.edge-panels { position: relative; aspect-ratio: 2 / 1; max-width: 660px; border-radius: var(--r); overflow: hidden; background: var(--sky-3); box-shadow: var(--shadow-2); }
.ep { margin: 0; }
.ep img { width: 100%; height: 100%; object-fit: cover; }
.ep:focus-visible { outline: 3px solid var(--blue); outline-offset: -6px; border-radius: var(--r); }
.ep figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px); padding: 7px 11px 5px; border-radius: 8px; background: rgba(12, 39, 66, .86); color: #fff; font-size: 13.5px; line-height: 1.35; }
.js .ep { position: absolute; inset: 0; opacity: 0; transition: opacity .55s var(--ease); }
.js .ep.is-on { opacity: 1; }
.js .ep img { transform: scale(1.04); transition: transform 1.4s var(--ease); }
.js .ep.is-on img { transform: none; }
.no-js .edge-panels { aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; background: none; box-shadow: none; }
.no-js .ep { position: relative; aspect-ratio: 2 / 1; overflow: hidden; border-radius: 10px; }
.more { margin: 40px 0 0; }

/* ---------- contact band ---------- */
.cta-band { position: relative; padding-block: clamp(72px, 9vw, 128px); background: linear-gradient(180deg, var(--sky-2), #D9ECFA) ; border-top: 1px solid var(--line); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url(../img/topo-sky.svg) center / 1500px 1000px; pointer-events: none; }
.cta-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.cta-sign { padding: clamp(28px, 4vw, 52px); border-radius: 16px; background: var(--green); color: #fff; border: 3px solid #fff; box-shadow: 0 0 0 4px var(--green), 0 30px 60px rgba(0, 70, 46, .22); }
.cta-sign .h2 { margin: 0; color: #fff; max-width: 18ch; -webkit-hyphens: auto; hyphens: auto; }
.cta-sign p { margin: 16px 0 28px; font-size: clamp(17px, 1.35vw, 19.5px); max-width: 52ch; color: #EAF6F0; }
.cta-sign .btn-p { background: #fff; color: var(--tx); box-shadow: none; }
.cta-sign .btn-p:hover { background: var(--sky-2); }
.cta-sign .btn-g { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.cta-sign .btn-g:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.reel-card { position: relative; display: block; width: 100%; align-self: center; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--sky-3); cursor: pointer; text-align: left; color: #fff; box-shadow: var(--shadow-2); }
.reel-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.reel-card:hover img { transform: scale(1.03); }
.reel-play { position: absolute; right: 12%; top: 50%; margin-top: -38px; width: 76px; height: 76px; border-radius: 50%; background: var(--or); color: var(--tx); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(242, 105, 27, .22); transition: transform .3s var(--ease), box-shadow .3s; }
.reel-play .ico { width: 30px; height: 30px; margin-left: 4px; }
.reel-card:hover .reel-play { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(242, 105, 27, .18); }
.reel-t { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px 16px; background: linear-gradient(180deg, rgba(12, 39, 66, 0), rgba(12, 39, 66, .9)); }
.reel-t b { display: block; font-size: 18px; font-weight: 800; }
.reel-t small { display: block; font: 600 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .86); margin-top: 4px; }

/* ---------- page heroes ---------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + clamp(56px, 8vw, 110px)) 0 clamp(64px, 8vw, 110px); background: linear-gradient(180deg, #D3EAFB 0%, var(--sky-1) 100%); color: var(--tx); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url(../img/topo-sky.svg) center / 1500px 1000px; pointer-events: none; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--or) 0 44px, transparent 44px 70px); }
.page-hero > .wrap { position: relative; }
.h1-page { margin-top: 20px; font-size: clamp(40px, 5.8vw, 86px); max-width: 17ch; }
.page-hero .lead { font-size: clamp(18px, 1.55vw, 22px); }

/* ---------- projects index ---------- */
.pj-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 2px 16px 0; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--tx); font: 700 15px/1 var(--font); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--tx); }
.chip[aria-pressed="true"] { background: var(--tx); border-color: var(--tx); color: #fff; }
.chip-n { font: 600 12px/1 var(--mono); opacity: .75; }
.pj-count { margin: 0; font: 600 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tx-2); }
.pj-head, .pj-row { display: grid; grid-template-columns: 44px minmax(0, 2.3fr) minmax(0, 1.25fr) minmax(128px, .66fr) 36px; gap: 18px; align-items: center; }
.pj-head { padding: 0 0 12px; border-bottom: 2px solid var(--tx); font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tx-2); }
.pj-head span:nth-child(4) { text-align: right; }
.pj-list { list-style: none; }
.pj { border-bottom: 1px solid var(--line); }
.pj.hide { display: none; }
.pj-h { font: inherit; }
.pj-row { width: 100%; padding: 20px 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--tx); transition: background-color .25s; position: relative; }
.pj-row::before { content: ""; position: absolute; left: -12px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--or); transform: scaleY(0); transition: transform .3s var(--ease); }
.pj-row:hover::before, .pj.open .pj-row::before { transform: none; }
.pj-no { font: 600 13px/1 var(--mono); color: var(--tx-2); }
.pj-name { font-weight: 800; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.3; }
.pj-cam { display: inline-flex; vertical-align: -3px; margin-left: 8px; color: var(--blue); }
.pj-cam .ico { width: 18px; height: 18px; }
.pj-client { font-size: 15px; line-height: 1.4; color: var(--tx-2); }
.pj-fig { font: 600 15px/1.2 var(--mono); color: var(--or-tx); text-align: right; white-space: nowrap; }
.pj-plus { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); transition: transform .35s var(--ease), background-color .2s; }
.pj-plus .ico { width: 16px; height: 16px; }
.pj.open .pj-plus { transform: rotate(45deg); background: var(--tx); color: #fff; border-color: var(--tx); }
.no-js .pj-plus { display: none; }
.pj-pad { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; padding: 0 54px 26px 62px; }
.pj-copy p { font-size: 16.5px; color: var(--tx-2); max-width: 64ch; margin-bottom: 10px; }
.pj-role b { color: var(--tx); }
.pj-thumb { margin: 0; width: 240px; }
.pj-thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.pj-thumb figcaption { font-size: 12.5px; color: var(--tx-2); margin-top: 6px; }
.js .pj-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.js .pj-detail > .pj-detail-in { min-height: 0; overflow: hidden; }
.js .pj.open .pj-detail { grid-template-rows: 1fr; }
.pj-preview { position: fixed; left: 0; top: 0; z-index: 40; width: 300px; margin: 0; border-radius: 12px; overflow: hidden; pointer-events: none; opacity: 0; background: #fff; box-shadow: var(--shadow-2); transform: translate3d(var(--x, -999px), var(--y, -999px), 0) scale(.94) rotate(-2deg); transition: opacity .2s, transform .18s var(--ease); }
.pj-preview.on { opacity: 1; transform: translate3d(var(--x), var(--y), 0) scale(1) rotate(-2deg); }
.pj-preview img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pj-preview span { display: block; padding: 8px 12px 7px; font-size: 12.5px; color: var(--tx-2); }
@media (hover: none), (max-width: 900px) { .pj-preview { display: none; } }
@media (max-width: 900px) {
  .pj-head { display: none; }
  .pj-row { grid-template-columns: 32px minmax(0, 1fr) 36px; grid-template-areas: "no name plus" "no client plus" "no fig plus"; gap: 4px 12px; padding: 18px 0; }
  .pj-no { grid-area: no; align-self: start; padding-top: 4px; }
  .pj-name { grid-area: name; }
  .pj-client { grid-area: client; font-size: 14.5px; }
  .pj-fig { grid-area: fig; text-align: left; font-size: 14px; }
  .pj-fig:empty { display: none; }
  .pj-plus { grid-area: plus; }
  .pj-pad { grid-template-columns: 1fr; padding: 0 0 24px 44px; gap: 16px; }
  .pj-thumb { width: min(100%, 360px); }
}

/* ---------- owners chart (blue band) ---------- */
.owners-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.owners-grid .sec-h { margin-bottom: 0; }
.bars { list-style: none; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "l v" "b b"; gap: 8px 12px; padding: 12px 0; border-bottom: 1px solid var(--line-w); }
.bar-l { grid-area: l; font-size: 15.5px; line-height: 1.35; }
.bar-v { grid-area: v; font: 600 16px/1.3 var(--mono); color: var(--sun); text-align: right; }
.bar { grid-area: b; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, var(--sun), #FF9A52); }
.js .bar i { transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease); }
.js .owners-chart.in .bar i { transform: none; }
.js .bars li:nth-child(2) .bar i { transition-delay: .06s; } .js .bars li:nth-child(3) .bar i { transition-delay: .12s; }
.js .bars li:nth-child(4) .bar i { transition-delay: .18s; } .js .bars li:nth-child(5) .bar i { transition-delay: .24s; }
.js .bars li:nth-child(n+6) .bar i { transition-delay: .3s; }
.bars-tot { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 16px 0 0; border-top: 2px solid var(--sun); font-weight: 800; font-size: 17px; }
.bars-tot b { font-family: var(--mono); color: var(--sun); }

/* ---------- gallery ---------- */
.gallery { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 12px; }
.g-item.wide { grid-column: span 2; }
.g-item.tall { grid-row: span 2; }
.g-btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--sky-3); cursor: zoom-in; box-shadow: var(--shadow-1); }
.g-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.g-btn:hover img { transform: scale(1.035); }
.g-cap { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 6px 9px 4px; border-radius: 7px; background: rgba(12, 39, 66, .88); color: #fff; font-size: 13px; line-height: 1.35; text-align: left; }
.g-zoom { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--tx); opacity: 0; transition: opacity .25s; }
.g-zoom .ico { width: 16px; height: 16px; }
.g-btn:hover .g-zoom, .g-btn:focus-visible .g-zoom { opacity: 1; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; } }
@media (max-width: 520px) { .gallery { grid-auto-rows: 140px; gap: 8px; } .g-cap { font-size: 12px; left: 6px; bottom: 6px; max-width: calc(100% - 12px); } }

/* ---------- lightbox & reel (dark viewing room) ---------- */
dialog { color: #fff; }
.lb, .reel { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; }
.lb::backdrop, .reel::backdrop { background: rgba(6, 18, 31, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb[open] { display: grid; place-items: center; width: 100vw; height: 100vh; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lb-fig img { width: auto; height: auto; max-width: min(88vw, var(--nw, 1200px)); max-height: 78vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lb-fig figcaption { margin-top: 14px; max-width: 70ch; text-align: center; font-size: 15px; color: rgba(255, 255, 255, .86); padding: 0 60px; }
.lb-btn { position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(12, 39, 66, .7); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { border-color: #fff; }
.lb :focus-visible, .reel :focus-visible { --focus: #fff; }
.lb-x { top: 18px; right: 18px; }
.lb-p { left: 18px; top: 50%; margin-top: -26px; }
.lb-n { right: 18px; top: 50%; margin-top: -26px; }
.lb-count { position: fixed; left: 50%; top: 30px; transform: translateX(-50%); margin: 0; font: 600 13px/1 var(--mono); letter-spacing: .1em; color: rgba(255, 255, 255, .86); }
.reel[open] { display: grid; place-items: center; width: 100vw; height: 100vh; }
.reel-in { position: relative; width: min(92vw, 1180px, calc((100vh - 120px) * 16 / 9)); }
.reel-in video { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.reel-x { position: absolute; right: 0; top: -58px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(12, 39, 66, .7); color: #fff; display: grid; place-items: center; cursor: pointer; }
body.locked { overflow: hidden; }

/* ---------- experience: gantt ---------- */
.gantt-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 26px; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--tx-2); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { display: inline-block; width: 22px; height: 10px; border-radius: 3px; }
.lg-path { background: var(--or); }
.lg-oth { background: var(--sky-5); }
.lg-ms { width: 10px !important; height: 10px !important; background: var(--tx); transform: rotate(45deg); border-radius: 1px !important; }
.lg-dd { width: 2px !important; height: 16px !important; background: var(--green-hi); border-radius: 0 !important; }
.gantt { --gcols: minmax(0, 2.5fr) 82px 82px minmax(0, 4fr) 30px; position: relative; border-top: 2px solid var(--tx); }
.g-head, .g-task { display: grid; grid-template-columns: var(--gcols); column-gap: 16px; align-items: center; }
.g-head { padding: 34px 0 10px; border-bottom: 1px solid var(--line); font: 600 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tx-2); }
.g-h-tl { position: relative; height: 14px; grid-column: 4; }
.g-h-tl span { position: absolute; top: 0; transform: translateX(-50%); letter-spacing: .04em; }
.g-h-tl span:first-child { transform: none; }
.g-dd-l { position: absolute; bottom: calc(100% + 10px); transform: translateX(-100%); padding-right: 8px; white-space: nowrap; font-style: normal; color: var(--green); border-right: 2px solid var(--green-hi); line-height: 1.4; }
.g-rows { list-style: none; }
.g-row { border-bottom: 1px solid var(--line); }
.g-task { width: 100%; min-height: 62px; padding: 0; border: 0; background: none; text-align: left; color: var(--tx); cursor: pointer; }
button.g-task:hover { background: var(--sky-1); }
.g-sum .g-task { cursor: default; min-height: 52px; }
.g-name { padding: 12px 0 10px; }
.g-name b { display: block; font-weight: 800; font-size: 15.5px; line-height: 1.3; }
.g-name span { display: block; font-size: 13.5px; line-height: 1.35; color: var(--tx-2); margin-top: 2px; }
.g-sum .g-name b { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.g-sub .g-name { padding-left: 18px; border-left: 2px solid var(--line); margin-left: 4px; }
.g-s, .g-e { font: 600 12.5px/1.2 var(--mono); color: var(--tx-2); white-space: nowrap; }
.g-tl { position: relative; align-self: stretch; min-height: 52px; grid-column: 4;
  background:
    linear-gradient(90deg, transparent calc(var(--dd) - 1px), var(--green-hi) calc(var(--dd) - 1px), var(--green-hi) calc(var(--dd) + 1px), transparent calc(var(--dd) + 1px)),
    repeating-linear-gradient(90deg, rgba(12, 39, 66, .07) 0 1px, transparent 1px 4%); }
.g-tl i { position: absolute; top: 50%; height: 16px; margin-top: -8px; border-radius: 4px; }
.g-tl i.path { background: linear-gradient(90deg, var(--or-2), var(--or)); box-shadow: 0 4px 12px rgba(242, 105, 27, .28); }
.g-tl i.oth { background: var(--sky-5); }
.g-tl i.open { background: linear-gradient(90deg, var(--sky-5) 60%, rgba(75, 169, 230, .3)); }
.g-tl i.sum { height: 7px; margin-top: -3px; border-radius: 0; background: var(--tx); }
.g-tl i.sum::before, .g-tl i.sum::after { content: ""; position: absolute; top: 0; border: 6px solid transparent; border-top: 8px solid var(--tx); }
.g-tl i.sum::before { left: 0; border-left-width: 0; }
.g-tl i.sum::after { right: 0; border-right-width: 0; }
.js .gantt .g-tl i { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.js .gantt.in .g-tl i { transform: none; }
.js .gantt .g-row:nth-child(2) i { transition-delay: .08s; } .js .gantt .g-row:nth-child(3) i { transition-delay: .16s; }
.js .gantt .g-row:nth-child(4) i { transition-delay: .24s; } .js .gantt .g-row:nth-child(5) i { transition-delay: .32s; }
.js .gantt .g-row:nth-child(6) i { transition-delay: .4s; } .js .gantt .g-row:nth-child(n+7) i { transition-delay: .48s; }
.g-ms i { width: 0; height: 0; margin: 0; border-radius: 0; background: none; transform: none !important; }
.g-ms i::before { content: ""; position: absolute; left: -6.5px; top: -6.5px; width: 13px; height: 13px; border-radius: 2px; background: var(--tx); transform: rotate(45deg); }
.g-ms i span { position: absolute; left: 0; transform: translateX(-50%); white-space: nowrap; font: 600 11px/1 var(--mono); letter-spacing: .04em; color: var(--tx); }
.g-ms i.up span { bottom: 11px; }
.g-ms i.dn span { top: 11px; }
.g-ms i:last-child span { transform: translateX(-100%); }
.g-msrow .g-tl { min-height: 64px; }
.g-msrow .g-name b { font: 600 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tx-2); }
.g-plus { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); transition: transform .35s var(--ease), background-color .2s; }
.g-plus .ico { width: 14px; height: 14px; }
.g-row.open .g-plus { transform: rotate(45deg); background: var(--tx); color: #fff; border-color: var(--tx); }
.no-js .g-plus { visibility: hidden; }
.g-detail p { margin: 0; padding: 0 46px 20px 22px; max-width: 78ch; font-size: 15.5px; line-height: 1.6; color: var(--tx-2); }
.g-sub .g-detail p { padding-left: 44px; }
.js .g-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.js .g-detail > .g-detail-in { min-height: 0; overflow: hidden; }
.js .g-row.open .g-detail { grid-template-rows: 1fr; }
@media (max-width: 900px) {
  .g-head { grid-template-columns: 1fr; padding-top: 38px; }
  .g-head .g-h-task, .g-head .g-h-s, .g-head .g-h-e { display: none; }
  .g-h-tl { grid-column: 1; }
  .g-task { grid-template-columns: auto auto minmax(0, 1fr) 30px; grid-template-areas: "name name name plus" "s e . plus" "tl tl tl tl"; column-gap: 8px; }
  .g-name { grid-area: name; padding-bottom: 4px; }
  .g-s { grid-area: s; }
  .g-e { grid-area: e; }
  .g-e::before { content: "– "; }
  .g-tl { grid-area: tl; grid-column: 1 / -1; min-height: 34px; margin-top: 8px; }
  .g-plus { grid-area: plus; align-self: start; margin-top: 12px; }
  .g-msrow .g-s, .g-msrow .g-e { display: none; }
  .g-detail p, .g-sub .g-detail p { padding: 4px 0 18px; }
  .g-h-tl span:nth-child(even) { display: none; }
}
@media (max-width: 520px) { .g-ms i span { display: none; } }

/* ---------- experience: fit, caps, tools ---------- */
.fit-table { width: 100%; border-collapse: collapse; }
.fit-table thead th { padding: 0 0 14px; border-bottom: 2px solid var(--or); text-align: left; font: 600 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tx-2); }
.fit-table tbody tr { border-bottom: 1px solid var(--line); }
.fit-table tbody th { width: 38%; padding: 24px 28px 24px 0; vertical-align: top; text-align: left; font-weight: 800; font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.35; }
.fit-table tbody th .ico { display: inline-block; width: 22px; height: 22px; margin: -3px 10px 0 0; vertical-align: middle; color: var(--blue); }
.fit-table td { padding: 24px 0; vertical-align: top; font-size: 16.5px; line-height: 1.6; color: var(--tx-2); }
@media (max-width: 760px) {
  .fit-table thead { display: none; }
  .fit-table, .fit-table tbody, .fit-table tr, .fit-table th, .fit-table td { display: block; width: auto; }
  .fit-table tbody th { width: auto; padding: 22px 0 8px; }
  .fit-table td { padding: 0 0 22px 32px; }
}
.caps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cap { padding: 28px 26px 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition-delay: var(--d, 0ms); }
.cap-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, var(--blue), var(--blue-ink)); color: #fff; margin-bottom: 18px; }
.cap-ic .ico { width: 26px; height: 26px; }
.cap h3 { font-weight: 800; font-size: 20px; line-height: 1.25; margin-bottom: 10px; }
.cap p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--tx-2); }
@media (max-width: 1000px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .caps { grid-template-columns: 1fr; } }
.tc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 6vw, 96px); }
.tc .h3 { margin-bottom: 24px; }
.tg { margin-bottom: 24px; }
.tg h3 { font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin-bottom: 12px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 13px 6px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); font-weight: 600; font-size: 15px; }
.cred-list { list-style: none; border-top: 1px solid var(--line-w); }
.cred-list li { padding: 14px 0; border-bottom: 1px solid var(--line-w); }
.cred-list b { display: block; font-weight: 800; font-size: 16.5px; line-height: 1.35; }
.cred-list span { display: block; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .84); margin-top: 2px; }
@media (max-width: 860px) { .tc { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.ct-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.ct-hero .h1-page { max-width: 15ch; }
.email-box { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 36px 0 22px; padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-1); }
.email-l { width: 100%; font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--or-tx); }
.email-big { display: inline-block; padding: 10px 0; font-weight: 800; font-size: clamp(17px, 4.6vw, 34px); line-height: 1.2; text-decoration: none; overflow-wrap: anywhere; color: var(--tx); border-bottom: 2px solid transparent; transition: border-color .2s; }
@media (max-width: 420px) { .email-box { padding: 18px 18px; } }
.email-big:hover { border-bottom-color: var(--or); }
.ct-card { max-width: 420px; }
.ct-card .bcard-in { box-shadow: var(--shadow-2); }
.ct-facts { padding: 4px 0 22px; border-top: 1px solid var(--line); }
.ct-facts .h3 { font-size: 18px; margin: 16px 0 6px; }
.ticks { list-style: none; }
.ticks li { display: flex; gap: 12px; padding: 7px 0; font-size: 15px; line-height: 1.45; color: var(--tx); }
.ticks .ico { color: var(--green); width: 22px; height: 22px; margin-top: -1px; }
.ct-social, .foot-social { list-style: none; display: flex; gap: 10px; margin-top: 14px; }
.ct-social a, .foot-social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--tx); transition: background-color .2s, border-color .2s, color .2s; }
.ct-social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.qr-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.qr-tile a { display: flex; flex-direction: column; height: 100%; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--tx); box-shadow: var(--shadow-1); transition: transform .3s var(--ease), box-shadow .3s; }
.qr-tile a:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.qr-box { display: block; padding: 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.qr-svg { width: 100%; max-width: 220px; height: auto; margin: 0 auto; aspect-ratio: 1; image-rendering: pixelated; }
.qr-meta { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.qr-meta > .ico { width: 30px; height: 30px; color: var(--blue); }
.qr-meta b { display: block; font-weight: 800; font-size: 18px; }
.qr-meta span span { display: block; font: 600 13px/1.3 var(--mono); color: var(--tx-2); }
.qr-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font-weight: 800; font-size: 15px; color: var(--blue); }
.qr-cta .ico { width: 17px; height: 17px; }
@media (max-width: 860px) { .qr-grid { grid-template-columns: 1fr; max-width: 420px; } .ct-grid { grid-template-columns: 1fr; } }
.form-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.form-grid .sec-h { margin-bottom: 0; }
.mailer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.f-row { display: flex; flex-direction: column; gap: 8px; }
.f-wide { grid-column: 1 / -1; }
.f-row label { font: 600 12.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tx-2); }
.f-row input, .f-row textarea { width: 100%; padding: 14px 16px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--sky-1); color: var(--tx); font: 400 17px/1.4 var(--font); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.f-row textarea { resize: vertical; min-height: 140px; }
.f-row input:hover, .f-row textarea:hover { border-color: rgba(12, 39, 66, .4); }
.f-row input:focus, .f-row textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(11, 107, 179, .25); }
.f-row .btn { align-self: flex-start; }
.f-req { margin: 0; font-size: 14px; color: var(--tx-2); }
.f-req span, .f-row .req { color: var(--or-tx); }
@media (max-width: 860px) { .form-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .mailer { grid-template-columns: 1fr; } .f-row .btn { width: 100%; } }

/* ---------- single column below tablet ---------- */
@media (max-width: 900px) {
  .prof, .case-grid, .edge-grid, .owners-grid, .cta-in { grid-template-columns: minmax(0, 1fr); }
  .edge-panels { order: -1; max-width: 660px; }
  .steps { margin-top: 8px; }
  .reel-card { max-width: 640px; }
}
@media (max-width: 360px) {
  .reel-play { width: 56px; height: 56px; margin-top: -28px; right: 8%; }
  .reel-play .ico { width: 22px; height: 22px; }
  .cta-sign { padding: 24px 18px; }
  .cta-sign .h2 { font-size: 28px; }
}
@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; }
  .cta-row .btn { flex: 1 1 100%; }
}

/* ---------- footer (navy; logo on its own white card) ---------- */
.foot { background: var(--navy-0); color: #fff; padding: clamp(56px, 7vw, 96px) 0 34px; }
.foot-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 80px); align-items: start; padding-bottom: 36px; border-bottom: 1px solid var(--line-w); }
.foot-logo { display: block; width: 236px; padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.foot-logo img { width: 100%; }
.motto { margin: 0 0 16px; font-size: 17px; color: rgba(255, 255, 255, .8); }
.motto span { font-style: italic; color: #fff; }
.foot-mail { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 800; font-size: 18px; text-decoration: none; }
.foot-mail:hover span { border-bottom: 2px solid var(--or); }
.foot-social a { border-color: rgba(255, 255, 255, .3); color: #fff; }
.foot-social a:hover { background: #fff; border-color: #fff; color: var(--tx); }
.foot-nav ul { list-style: none; display: grid; gap: 2px; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; font-weight: 700; color: rgba(255, 255, 255, .8); }
.foot-nav a:hover, .foot-nav a[aria-current="page"] { color: #fff; }
.foot-bot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 40px; align-items: start; padding-top: 24px; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.foot-bot p { margin: 0; }
.totop { display: inline-flex; align-items: center; min-height: 44px; margin-top: -12px; font-weight: 700; color: rgba(255, 255, 255, .8); text-decoration: none; white-space: nowrap; }
.totop:hover { color: #fff; }
@media (max-width: 860px) {
  .foot-top { grid-template-columns: 1fr; }
  .foot-logo { width: 210px; }
  .foot-nav ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .foot-bot { grid-template-columns: 1fr; }
}

/* ---------- quick bar, toast ---------- */
.qbar { display: none; }
@media (max-width: 760px) {
  html { scroll-padding-bottom: 92px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .qbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(12, 39, 66, .08); transform: translateY(110%); transition: transform .35s var(--ease); }
  .qbar.show { transform: none; }
  .no-js .qbar { transform: none; }
  .qbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 52px; text-decoration: none; font-weight: 700; font-size: 12.5px; color: var(--tx); border-radius: 12px; }
  .qbar a:first-child { background: var(--blue); color: #fff; }
  .qbar .ico { width: 20px; height: 20px; }
}
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 20px); padding: 12px 18px 10px; border-radius: 10px; background: var(--tx); color: #fff; font-weight: 700; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 760px) { .toast { bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* ---------- reveal & page transitions ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
.js body { animation: pagein .45s ease both; }
@keyframes pagein { from { opacity: 0; } }
.js.leaving body { opacity: 0; transition: opacity .2s ease; }
.no-anim .rv { opacity: 1 !important; transform: none !important; }
.no-anim .rail-grade { stroke-dashoffset: 0 !important; }
.no-anim .rail-pin, .no-anim .bar i, .no-anim .gantt .g-tl i { transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-card .bcard-in, .js .steps::before { animation: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .rail-grade { stroke-dashoffset: 0; }
  .js .rail-pin, .js .bar i, .js .gantt .g-tl i { transform: none; }
  .js body { animation: none; }
}

@media (forced-colors: active) {
  .chip[aria-pressed="true"], .step-b[aria-selected="true"], .lang a[aria-current="true"], .links a[aria-current="page"] { outline: 3px solid CanvasText; outline-offset: 2px; }
  .g-tl i, .bar i, .stage-fill, .flag { forced-color-adjust: none; }
}

@media print {
  .nav, .qbar, .motion, .hero-media, .reel-card, .toast, dialog { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .hero, .white, .tint, .blue, .page-hero, .foot, .cta-band { background: #fff !important; color: #000 !important; }
  .js .rv { opacity: 1; transform: none; }
}
