/* =========================================================
   Scanwell Container Services — site styles
   ========================================================= */
:root {
  --navy: #0e2a4a;
  --navy-deep: #081a2e;
  --navy-ink: #06131f;
  --paper: #f4f2ec;
  --paper-2: #e9e5da;
  --white: #ffffff;
  --ink: #0b1626;
  --muted: rgba(11, 22, 38, .64);
  --line: rgba(14, 42, 74, .13);
  --line-light: rgba(255, 255, 255, .13);
  --orange: #ef7d22;
  --orange-2: #ff9a45;
  --yellow: #e3ae45;
  --teal: #1c6e8c;
  --turq: #2aa5b4;
  --steel: #5c6672;
  --violet: #924e7d;
  --moss: #4d5645;
  --wa: #25d366;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(20px, 4.5vw, 64px);
  --max: 1320px;
  --radius: 18px;
  --display: 'Archivo', system-ui, sans-serif;
  --cond: 'Barlow Condensed', 'Archivo', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --body: 'Work Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--white); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
main, footer { position: relative; z-index: 1; }

.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--turq), var(--yellow), var(--orange)); }

/* ---------- curtain: container doors ---------- */
.curtain { position: fixed; inset: 0; z-index: 200; pointer-events: none; display: grid; grid-template-columns: 1fr 1fr; visibility: hidden; }
.curtain span { position: relative; background: var(--navy);
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 6px, rgba(0, 0, 0, .12) 6px 18px); }
.curtain span::after { content: ''; position: absolute; top: 0; bottom: 0; width: 8px; background: var(--orange); }
.curtain span:first-of-type::after { right: 0; }
.curtain span:last-of-type::after { left: 0; }
.curtain img { position: absolute; left: 50%; top: 50%; width: min(300px, 60vw); transform: translate(-50%, -50%); z-index: 2; opacity: 0; }
.js .curtain { visibility: visible; }
/* the logo only ever shows on closed doors: on arrival it fades off first,
   then the doors open; on leaving the doors shut first, then it fades on */
.js .curtain span:first-of-type { animation: doorL 1.1s var(--ease-io) .38s both; }
.js .curtain span:last-of-type { animation: doorR 1.1s var(--ease-io) .38s both; }
.js .curtain img { animation: curtainLogoOut .3s ease .05s both; }
@keyframes doorL { from { transform: none; } to { transform: translateX(-101%); } }
@keyframes doorR { from { transform: none; } to { transform: translateX(101%); } }
@keyframes curtainLogoOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes curtainLogoIn { from { opacity: 0; } to { opacity: 1; } }
.is-leaving .curtain { pointer-events: all; }
.is-leaving .curtain span:first-of-type { animation: doorLIn .55s var(--ease-io) both; }
.is-leaving .curtain span:last-of-type { animation: doorRIn .55s var(--ease-io) both; }
.is-leaving .curtain img { animation: curtainLogoIn .18s ease .55s both; }
@keyframes doorLIn { from { transform: translateX(-101%); } to { transform: none; } }
@keyframes doorRIn { from { transform: translateX(101%); } to { transform: none; } }

/* ---------- reveal system ---------- */
.js [data-reveal] { transition: opacity 1s var(--ease) var(--d, 0ms), transform 1.1s var(--ease) var(--d, 0ms), clip-path 1.3s var(--ease-io) var(--d, 0ms), filter 1s var(--ease) var(--d, 0ms); }
.js [data-reveal="up"] { opacity: 0; transform: translateY(44px); }
.js [data-reveal="fade"] { opacity: 0; }
.js [data-reveal="blur"] { opacity: 0; filter: blur(10px); transform: translateY(18px); }
.js [data-reveal="scale"] { opacity: 0; transform: scale(.92); }
.js [data-reveal="left"] { opacity: 0; transform: translateX(-44px); }
.js [data-reveal="clip"] { clip-path: inset(0 100% 0 0); }
.js [data-reveal="clip"] img { transform: scale(1.25); transition: transform 1.8s var(--ease) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="clip"].is-in img { transform: none; }
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: inline-block; }
.js [data-reveal="lines"] .line > span { transform: translateY(110%); transition: transform 1.1s var(--ease); }
.js [data-reveal="lines"] .line:nth-child(2) > span { transition-delay: .1s; }
.js [data-reveal="lines"] .line:nth-child(3) > span { transition-delay: .2s; }
.js [data-reveal="lines"] .line:nth-child(4) > span { transition-delay: .3s; }
.js [data-reveal="lines"].is-in .line > span { transform: none; }
.js [data-reveal="words"] .w { display: inline-block; opacity: 0; transform: translateY(.6em); transition: opacity .7s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--wi) * 40ms + var(--d, 0ms)); }
.js [data-reveal="words"].is-in .w { opacity: 1; transform: none; }
[data-scrub] .w { color: rgba(11, 22, 38, .2); transition: color .3s ease; }
[data-scrub] .w.lit { color: var(--ink); }
[data-scrub] strong .w.lit { color: var(--orange); }
.still *, .still *::before, .still *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition-duration: 0s !important; transition-delay: 0s !important; }
.still .curtain { display: none; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.eyebrow::before { content: ''; width: 10px; height: 10px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.on-dark .eyebrow, .eyebrow.y { color: var(--yellow); }
.display { font-family: var(--display); font-weight: 900; font-stretch: 118%; font-size: clamp(2.5rem, 6vw, 5.6rem); line-height: .92; letter-spacing: -.03em; text-transform: none; margin: 0; }
.h2 { font-family: var(--display); font-weight: 900; font-stretch: 115%; font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: .95; letter-spacing: -.03em; margin: 0; }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.7; max-width: 54ch; }
.o { color: var(--orange); }
.y { color: var(--yellow); }

/* ---------- buttons ---------- */
.btn {
  --b: var(--orange); --f: var(--white); --h: var(--navy-deep);
  position: relative; display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 26px;
  border: 0; border-radius: 4px; cursor: pointer; background: var(--b); color: var(--f);
  font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .4s, color .4s;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--h); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .6s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: 0 50%; }
.btn svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn-ghost { --b: transparent; --f: var(--white); --h: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); }
.btn-dark { --b: var(--navy); --h: var(--orange); }
.btn-sm { height: 44px; font-size: 16px; padding: 0 18px; }
.btn.is-busy { pointer-events: none; opacity: .8; }
.btn.is-busy svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- header ---------- */
/* floating dock: light over dark surfaces, flips to .dock-dark over light
   ones (motion.js samples the surface under it), so it always contrasts */
.site-header {
  --dock-bg: rgba(255, 255, 255, .93); --dock-fg: var(--navy-deep); --dock-muted: rgba(11, 22, 38, .68);
  --dock-line: rgba(14, 42, 74, .14); --dock-track: rgba(14, 42, 74, .06); --dock-chip: #fff; --dock-accent: var(--orange);
  position: fixed; top: 14px; left: 0; right: 0; z-index: 100; margin-inline: auto; width: min(calc(100% - 28px), 1440px);
  display: flex; align-items: center; gap: 18px; padding: 7px 8px 7px 18px; border-radius: 14px;
  color: var(--dock-fg); background: var(--dock-bg); border: 1px solid var(--dock-line);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 18px 50px -20px rgba(2, 10, 22, .6);
  transition: transform .6s var(--ease), top .5s var(--ease), background .45s, color .45s, border-color .45s; }
.site-header.dock-dark {
  --dock-bg: rgba(8, 26, 46, .92); --dock-fg: var(--white); --dock-muted: rgba(255, 255, 255, .74);
  --dock-line: rgba(255, 255, 255, .14); --dock-track: rgba(255, 255, 255, .06); --dock-chip: rgba(255, 255, 255, .1); --dock-accent: var(--yellow);
  box-shadow: 0 18px 50px -20px rgba(8, 26, 46, .5); }
.site-header.is-scrolled { top: 10px; }
.brand { display: flex; align-items: center; }
.brand img { height: 72px; width: auto; transition: height .5s var(--ease); }
.is-scrolled .brand img { height: 64px; }
.nav-pill { position: relative; display: flex; gap: 2px; padding: 4px; margin-inline: auto; border-radius: 9px; background: var(--dock-track); }
.nav-pill a { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 7px; font-family: var(--cond); font-weight: 600; font-size: 16px; letter-spacing: .05em; text-transform: uppercase; color: var(--dock-muted); white-space: nowrap; transition: color .3s; }
.nav-pill a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.nav-pill a:hover svg { transform: translateY(-2px); }
.nav-pill a:hover, .nav-pill a.is-active { color: var(--dock-fg); }
.nav-pill a.is-active svg { color: var(--dock-accent); }
.nav-ind { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 6px; background: var(--dock-chip); box-shadow: 0 1px 3px rgba(8, 26, 46, .12), inset 0 -2px 0 var(--orange); transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s, background .45s; }
.header-end { display: flex; align-items: center; gap: 8px; }
.brand { flex: none; }
.header-end .btn { white-space: nowrap; }
.search { position: relative; display: flex; align-items: center; height: 42px; width: 42px; border-radius: 8px; border: 1px solid var(--dock-line); background: transparent; transition: width .6s var(--ease), border-color .3s; overflow: hidden; }
.search:focus-within, .search.has-q { width: 210px; border-color: var(--dock-accent); }
.search svg { position: absolute; left: 11px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; pointer-events: none; }
.search input { width: 100%; height: 100%; padding: 0 12px 0 38px; border: 0; background: transparent; outline: none; color: var(--dock-fg); font-size: 14px; cursor: pointer; }
.search:focus-within input { cursor: text; }
.search input::placeholder { color: var(--dock-muted); }
.search.no-hit { animation: shake .45s; border-color: #ff6b5b; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.search-hit { animation: hit 2.2s ease; border-radius: 4px; }
@keyframes hit { 0%, 60% { box-shadow: 0 0 0 4px rgba(239, 125, 34, .55); background-color: rgba(239, 125, 34, .14); } 100% { box-shadow: 0 0 0 4px rgba(239, 125, 34, 0); } }
.socials { display: flex; gap: 6px; }
.socials a { width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--dock-line); background: transparent; transition: background .3s, color .3s, transform .4s var(--ease), border-color .3s; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.socials a:hover { background: var(--orange); border-color: var(--orange); color: var(--white); transform: translateY(-2px); }
.burger { display: none; width: 46px; height: 46px; border-radius: 8px; border: 1px solid var(--dock-line); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--dock-fg); transition: transform .5s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 95; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px; background: var(--navy-deep); color: var(--white);
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); visibility: hidden; }
.menu-open .mobile-menu { clip-path: inset(0); visibility: visible; }
.menu-open body { overflow: hidden; }
.mobile-menu a.mm { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-light); font-family: var(--display); font-weight: 900; font-stretch: 115%; font-size: clamp(1.9rem, 8.5vw, 3rem); letter-spacing: -.02em;
  opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.mobile-menu a.mm small { font-family: var(--mono); font-size: 12px; color: var(--orange); font-weight: 600; }
.mobile-menu a.mm.is-active { color: var(--yellow); }
.menu-open .mobile-menu a.mm { opacity: 1; transform: none; }
.menu-open .mobile-menu a.mm:nth-child(2) { transition-delay: .05s; } .menu-open .mobile-menu a.mm:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu a.mm:nth-child(4) { transition-delay: .15s; } .menu-open .mobile-menu a.mm:nth-child(5) { transition-delay: .2s; } .menu-open .mobile-menu a.mm:nth-child(6) { transition-delay: .25s; }
.mm-foot { margin-top: 30px; display: grid; gap: 4px; color: rgba(255, 255, 255, .6); font-size: 14px; }

/* ---------- whatsapp ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 85; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6); transition: transform .5s var(--ease); }
.wa-float::before, .wa-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: waRing 2.6s var(--ease) infinite; }
.wa-float::after { animation-delay: 1.3s; }
@keyframes waRing { from { transform: scale(1); opacity: .7; } to { transform: scale(1.8); opacity: 0; } }
.wa-float:hover { transform: scale(1.08) rotate(-8deg); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; color: var(--white); background: var(--navy); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: -10% 0; z-index: -3; transform: translateY(var(--py, 0)); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 3s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.2); } to { transform: scale(1.03); } }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(105deg, rgba(8, 26, 46, .94) 0%, rgba(8, 26, 46, .8) 42%, rgba(14, 42, 74, .45) 100%), linear-gradient(0deg, rgba(8, 26, 46, .7), transparent 40%); }
.hero-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask: linear-gradient(90deg, #000, transparent 70%); mask: linear-gradient(90deg, #000, transparent 70%); }
.hero-main { flex: 1; display: flex; align-items: center; padding: 150px 0 70px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.3vw, 4.5rem); }
.hero h1 .o { position: relative; display: inline-block; }
.hero h1 .o svg { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .22em; overflow: visible; }
.hero h1 .o path { fill: none; stroke: var(--yellow); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.hero h1.is-in .o path, .still .hero h1 .o path { animation: drawLine 1.2s var(--ease) 1.1s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.typer { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; font-family: var(--mono); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); min-height: 1.5em; }
.typer::after { content: ''; width: .6em; height: 1.1em; background: var(--yellow); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero .lead { margin-top: 20px; color: rgba(255, 255, 255, .8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.scroll-cue { position: absolute; left: var(--gutter); bottom: 150px; display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); writing-mode: vertical-rl; }
.scroll-cue i { position: relative; width: 2px; height: 50px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: 0; width: 2px; height: 40%; background: var(--orange); animation: drip 1.8s var(--ease-io) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* quote card */
.qcard { position: relative; background: var(--white); color: var(--ink); border-radius: 6px; padding: clamp(22px, 2.4vw, 32px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.qcard::before, .qcard::after, .qcard .cast::before, .qcard .cast::after { content: ''; position: absolute; width: 16px; height: 16px; background: var(--navy); border-radius: 2px; box-shadow: inset 0 0 0 4px var(--navy), inset 0 0 0 6px var(--yellow); }
.qcard::before { left: -6px; top: -6px; } .qcard::after { right: -6px; top: -6px; }
.qcard .cast::before { left: -6px; bottom: -6px; } .qcard .cast::after { right: -6px; bottom: -6px; }
.qcard h2, .qcard h3 { font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.02em; margin: 12px 0 20px; line-height: 1; }
.form { position: relative; display: grid; }
.form-body { display: grid; gap: 14px; transition: opacity .5s, filter .5s; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--cond); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 4px; border: 1.5px solid var(--line); background: var(--paper); font-size: 15px; transition: border-color .3s, box-shadow .3s, background .3s; }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef7d22' stroke-width='2.4' stroke-linecap='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(14, 42, 74, .3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 4px rgba(239, 125, 34, .16); }
.form .btn { margin-top: 6px; justify-content: center; }
.form-done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 8px; opacity: 0; pointer-events: none; transform: scale(.95); transition: opacity .6s var(--ease) .2s, transform .8s var(--ease) .2s; }
.form-done svg { width: 70px; height: 70px; }
.form-done circle { stroke-dasharray: 190; stroke-dashoffset: 190; }
.form-done path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.form-done h4 { margin: 6px 0 0; font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: 1.5rem; }
.form-done p { margin: 0; color: var(--muted); max-width: 30ch; }
.is-sent .form-body { opacity: 0; filter: blur(6px); pointer-events: none; }
.is-sent .form-done { opacity: 1; transform: none; pointer-events: auto; }
.is-sent .form-done circle { animation: drawLine 1s var(--ease) .3s forwards; }
.is-sent .form-done path { animation: drawLine .6s var(--ease) 1s forwards; }

/* container stack */
.stack { display: flex; height: clamp(80px, 9vw, 120px); position: relative; perspective: 900px; }
.box { --c: var(--turq); position: relative; flex: 1; display: flex; align-items: center; justify-content: center; background-color: var(--c);
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 3px, rgba(0, 0, 0, .18) 3px 9px), linear-gradient(180deg, rgba(255, 255, 255, .15), transparent 30%, rgba(0, 0, 0, .25));
  border-right: 2px solid rgba(0, 0, 0, .25); font-family: var(--mono); font-size: clamp(.55rem, .9vw, .75rem); font-weight: 600; letter-spacing: .06em; color: rgba(255, 255, 255, .92);
  transform-origin: 50% 100%; transition: transform .5s var(--bounce), filter .3s; }
.box::before { content: ''; position: absolute; inset: 9px; border: 1px dashed rgba(255, 255, 255, .3); }
.box::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: rgba(0, 0, 0, .25); }
.box span { position: relative; z-index: 1; background: rgba(0, 0, 0, .28); padding: 3px 8px; border-radius: 2px; }
.box:hover { transform: translateY(-14px); filter: brightness(1.12); z-index: 2; }
.js .box { animation: drop 1s var(--bounce) both; animation-delay: calc(1s + var(--i) * 110ms); }
@keyframes drop { from { transform: translateY(-140%); opacity: 0; } 40% { opacity: 1; } to { transform: none; opacity: 1; } }
.box.c1 { --c: #2aa5b4; } .box.c2 { --c: #924e7d; } .box.c3 { --c: #ef7d22; } .box.c4 { --c: #14618f; } .box.c5 { --c: #4d5645; } .box.c6 { --c: #1c8fa0; } .box.c7 { --c: #d9502e; } .box.c8 { --c: #b7791f; }

/* ---------- stats ---------- */
.stats { background: var(--navy-deep); color: var(--white); position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { position: relative; padding: clamp(36px, 4vw, 60px) clamp(16px, 2vw, 32px); border-left: 1px solid var(--line-light); overflow: hidden; }
.stat:first-child { border-left: 0; }
.stat::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease) var(--d, 0ms); }
.stat.is-in::after { transform: scaleX(1); }
.stat .num { font-family: var(--display); font-weight: 900; font-stretch: 118%; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat .num small { font-size: .38em; color: var(--yellow); margin-left: 6px; letter-spacing: 0; }
.stat .lbl { margin-top: 14px; font-family: var(--cond); font-weight: 600; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.stat .ix { position: absolute; top: 16px; right: 18px; font-family: var(--mono); font-size: 11px; color: rgba(255, 255, 255, .3); }

/* ---------- home: services grid ----------
   Manifest-style tiles. Each line-art graphic plays a single entrance
   once its tile is revealed (.is-in), then rests — nothing loops. */
.svc-sec { background: var(--paper); }
.svc-sec .section-head .btn { margin-top: 22px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc-tile { position: relative; padding: clamp(26px, 2.6vw, 38px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s; }
.svc-tile::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.svc-tile:hover { background: var(--white); }
.svc-tile:hover::before { transform: scaleX(1); }
.svc-top { display: flex; justify-content: space-between; align-items: center; }
.svc-top code { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; line-height: 1; color: var(--orange); padding: 5px 7px 4px; border: 1px solid currentColor; border-radius: 3px; }
.svc-top span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.svc-art { display: block; width: 100%; max-width: 230px; height: auto; margin: 28px 0 24px; overflow: visible; }
.svc-tile h3 { margin: 0 0 10px; font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.05; letter-spacing: -.02em; color: var(--navy); }
.svc-tile p { margin: 0; max-width: 36ch; font-size: 15px; line-height: 1.6; color: var(--muted); }

.svc-art .ln, .svc-art .ln-s { fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc-art .ln.thin { stroke-width: 1.3; stroke-opacity: .4; }
.svc-art .ac { stroke: var(--orange); }
.svc-art .route { stroke-width: 2.4; }
.svc-art .arc { stroke-width: 3; transform: rotate(-90deg); transform-origin: 80px 50px; }
.svc-art .fill-o { fill: var(--orange); }
.svc-art .fill-n, .svc-art .node { fill: var(--navy); }
.svc-art .hole { fill: var(--paper); }
.svc-art .rib, .svc-art .tag-ln { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.4; stroke-linecap: round; }
.svc-art .led { fill: var(--orange); }
.svc-art .ring { fill: none; stroke: var(--orange); stroke-width: 1.6; opacity: 0; }
.svc-art .mv, .svc-art .cable { transform-box: fill-box; transform-origin: 50% 50%; }
.svc-art .cable { transform-origin: 50% 0; }
.svc-art .tag { transform-box: view-box; transform-origin: 100px 52px; }
.svc-art .sweep { transform-box: view-box; transform-origin: 80px 50px; }
.svc-art .svc-pin { transform-origin: 50% 100%; }

/* hidden starting states only when JS is there to play the entrance */
.js .svc-art [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .svc-art .mv { opacity: 0; }
.js .svc-art .cable { transform: scaleY(0); }
.js .svc-art .led { fill: var(--line); }

.svc-tile.is-in { --t: calc(var(--d, 0ms) + 250ms); }
.svc-tile.is-in .svc-art [pathLength] { animation: svcDraw 1.1s var(--ease) calc(var(--t) + var(--o, 0ms)) both; }
.svc-tile.is-in .cable { animation: svcCable .9s var(--ease) calc(var(--t) + 500ms) both; }
.svc-tile.is-in .drop { animation: svcDrop 1.2s var(--ease) calc(var(--t) + 520ms) both; }
.svc-tile.is-in .plug { animation: svcPlug .9s var(--ease) calc(var(--t) + 650ms) both; }
.svc-tile.is-in .led { animation: svcLed .5s ease calc(var(--t) + 1350ms) both; }
.svc-tile.is-in .spin { animation: svcSpin 1.6s var(--ease) calc(var(--t) + 1350ms) both; }
.svc-tile.is-in .hang { animation: svcHang .8s var(--bounce) calc(var(--t) + var(--o, 0ms)) both; }
.svc-tile.is-in .tag { animation: svcSwing 1.8s var(--ease) calc(var(--t) + 450ms) both; }
.svc-tile.is-in .node { animation: svcFade .5s ease calc(var(--t) + var(--o, 0ms)) both; }
.svc-tile.is-in .svc-pin { animation: svcPin .9s var(--bounce) calc(var(--t) + 1000ms) both; }
.svc-tile.is-in .ring { animation: svcRing 1.2s ease-out calc(var(--t) + 1500ms) both; }
.svc-tile.is-in .sweep { animation: svcSweep 1.9s cubic-bezier(.65, 0, .25, 1) calc(var(--t) + 300ms) both; }

@keyframes svcDraw { 0% { stroke-dashoffset: 1; opacity: 0; } 6% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes svcCable { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes svcDrop { 0% { opacity: 0; transform: translateY(-32px); } 25% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes svcPlug { 0% { opacity: 0; transform: translateX(-16px); } 40% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes svcLed { from { fill: var(--line); } to { fill: var(--orange); } }
@keyframes svcSpin { 0% { opacity: 1; transform: rotate(0); } 100% { opacity: 1; transform: rotate(360deg); } }
@keyframes svcHang { 0% { opacity: 0; transform: translateY(-14px); } 100% { opacity: 1; transform: none; } }
@keyframes svcSwing { 0% { opacity: 0; transform: rotate(-48deg); } 18% { opacity: 1; } 50% { transform: rotate(12deg); } 74% { transform: rotate(-4deg); } 100% { opacity: 1; transform: rotate(0); } }
@keyframes svcFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes svcPin { 0% { opacity: 0; transform: translateY(-18px); } 100% { opacity: 1; transform: none; } }
@keyframes svcRing { 0% { opacity: 0; transform: scale(.3); } 8% { opacity: .9; } 100% { opacity: 0; transform: scale(2.4); } }
@keyframes svcSweep { 0% { opacity: 1; transform: rotate(0); } 100% { opacity: 1; transform: rotate(360deg); } }

/* ---------- sections ---------- */
.section { padding: clamp(90px, 11vw, 150px) 0; position: relative; }
.section-head { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 24px 60px; align-items: end; margin-bottom: clamp(44px, 6vw, 76px); }
.section-head .h2 { margin-top: 18px; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.on-dark { color: var(--white); }
.on-dark .section-head p { color: rgba(255, 255, 255, .7); }

.explore { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.ecard { position: relative; display: block; min-height: 460px; border-radius: 6px; overflow: hidden; isolation: isolate; color: var(--white); background: var(--navy); }
.ecard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.ecard::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 26, 46, 0) 35%, rgba(8, 26, 46, .92)); transition: background .6s; }
.ecard:hover img { transform: scale(1.08) rotate(.5deg); }
.ecard:hover::after { background: linear-gradient(180deg, rgba(239, 125, 34, .25) 0%, rgba(8, 26, 46, .95)); }
.ecard-body { position: absolute; inset: auto 0 0 0; padding: clamp(22px, 2.4vw, 32px); }
.ecard-body small { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--yellow); text-transform: uppercase; }
.ecard-body h3 { margin: 10px 0 0; font-family: var(--display); font-weight: 900; font-stretch: 115%; font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1; letter-spacing: -.02em; }
.ecard-body p { margin: 12px 0 0; color: rgba(255, 255, 255, .78); font-size: 15px; max-width: 34ch; }
.ecard .go { position: absolute; top: 18px; right: 18px; width: 50px; height: 50px; display: grid; place-items: center; background: var(--orange); border-radius: 4px; transform: scale(.6) rotate(-45deg); opacity: 0; transition: transform .6s var(--bounce), opacity .4s; }
.ecard .go svg { width: 20px; height: 20px; }
.ecard:hover .go { transform: none; opacity: 1; }

.cta-band { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: clamp(90px, 12vw, 160px) 0; isolation: isolate; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 8px, transparent 8px 24px); }
.cta-band .cta-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.cta-band .h2 { font-size: clamp(2.4rem, 6vw, 5.4rem); }
.cta-band p { color: rgba(255, 255, 255, .75); }
.cta-band .ghost-num { position: absolute; right: -2vw; bottom: -6vw; z-index: -1; font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: 26vw; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .06); letter-spacing: -.04em; user-select: none; transform: translateX(var(--py, 0)); }

/* ---------- page hero ---------- */
.page-hero { position: relative; min-height: 72svh; display: flex; align-items: flex-end; padding: 180px 0 clamp(70px, 9vw, 110px); color: var(--white); background: var(--navy); overflow: hidden; isolation: isolate; }
.page-hero .hero-shade { background: linear-gradient(0deg, rgba(8, 26, 46, .95) 0%, rgba(8, 26, 46, .6) 60%, rgba(8, 26, 46, .75) 100%); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 30px 60px; align-items: end; }
.page-hero h1 { margin-top: 20px; font-size: clamp(2.8rem, 7.6vw, 7.2rem); }
.page-hero .lead { margin: 0; color: rgba(255, 255, 255, .8); }
.crumbs { display: flex; gap: 10px; margin-top: 34px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.crumbs a:hover { color: var(--yellow); }
.page-hero .stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, var(--navy-deep) 18px 36px); animation: stripe 1.2s linear infinite; background-size: 51px 10px; }
@keyframes stripe { to { background-position: 51px 0; } }

/* ---------- about ---------- */
.who { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.who h2 { margin: 18px 0 28px; font-size: clamp(1.9rem, 3.6vw, 3rem); }
.who p { color: var(--muted); font-size: 1.05rem; }
.who p strong { color: var(--ink); background: linear-gradient(transparent 62%, rgba(239, 125, 34, .3) 62%); }
.gallery { position: relative; }
.gallery-frame { position: relative; aspect-ratio: 4 / 3.2; border-radius: 6px; overflow: hidden; background: var(--navy); box-shadow: 0 40px 80px -40px rgba(8, 26, 46, .6); }
.gallery-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 0 100%); transform: scale(1.12); transition: clip-path 1.1s var(--ease-io), transform 4.6s linear; }
.gallery-frame img.is-on { clip-path: inset(0); transform: scale(1); z-index: 1; }
.gallery-frame img.was-on { clip-path: inset(0); z-index: 0; }
.gallery-bars { position: absolute; left: 18px; right: 18px; top: 18px; z-index: 3; display: flex; gap: 6px; }
.gallery-bars button { flex: 1; height: 4px; border: 0; padding: 0; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; cursor: pointer; position: relative; }
.gallery-bars button::after { content: ''; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: 0 50%; }
.gallery-bars button.done::after { transform: scaleX(1); }
.gallery-bars button.on::after { animation: fillBar var(--dur, 4.5s) linear forwards; }
@keyframes fillBar { to { transform: scaleX(1); } }
.gallery-tag { position: absolute; left: 18px; bottom: 18px; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: rgba(8, 26, 46, .82); color: var(--white); border-radius: 4px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; backdrop-filter: blur(8px); }
.gallery-tag b { color: var(--yellow); font-weight: 600; }
.gallery-back { position: absolute; inset: 26px -26px -26px 26px; z-index: -1; border-radius: 6px; background: var(--turq); transition: background-color 1s ease;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .15) 0 3px, rgba(0, 0, 0, .1) 3px 10px); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(60px, 8vw, 100px); }
.fact { padding: 24px; border-radius: 6px; background: var(--white); border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .5s, border-color .3s; }
.fact:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(8, 26, 46, .45); border-color: var(--orange); }
.fact b { display: block; font-family: var(--display); font-weight: 900; font-stretch: 118%; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -.02em; color: var(--navy); }
.fact b small { font-size: .45em; color: var(--orange); margin-left: 4px; }
.fact span { display: block; margin-top: 10px; font-family: var(--cond); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--steel); font-size: 15px; line-height: 1.3; }

/* ---------- services stage ---------- */
.services { background: var(--paper); }
.svc-stage { --c: #ef7d22; position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: 8px; overflow: hidden; background: var(--white); box-shadow: 0 50px 100px -50px rgba(8, 26, 46, .5); }
.svc-list { padding: 14px; display: grid; align-content: start; gap: 2px; border-right: 1px solid var(--line); }
.svc-item { position: relative; display: flex; align-items: center; gap: 16px; padding: 15px 16px; border: 0; background: none; text-align: left; cursor: pointer; border-radius: 4px; font-family: var(--display); font-weight: 700; font-stretch: 105%; font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--muted); overflow: hidden; transition: color .3s, background .3s; }
.svc-item small { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--steel); opacity: .7; }
.svc-item:hover { color: var(--ink); background: var(--paper); }
.svc-item.on { color: var(--ink); background: var(--paper); }
.svc-item.on small { color: var(--orange); opacity: 1; }
.svc-item::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--c); transform: scaleX(0); transform-origin: 0 50%; }
.svc-item.on::after { animation: fillBar var(--dur, 4.5s) linear forwards; }
.paused .svc-item.on::after { animation-play-state: paused; }
.svc-detail { position: relative; min-height: 560px; padding: clamp(30px, 4vw, 56px); display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); background: var(--c); overflow: hidden; isolation: isolate; transition: background-color .9s ease; }
.svc-detail::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .12) 0 4px, rgba(0, 0, 0, .1) 4px 16px), linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .35)); }
.svc-detail::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; z-index: -1; background: rgba(0, 0, 0, .18); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.svc-ghost { position: absolute; top: -.08em; right: .05em; font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: clamp(9rem, 20vw, 17rem); line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .35); transition: transform .6s var(--ease), opacity .4s; }
.svc-code { position: absolute; top: clamp(30px, 4vw, 56px); left: clamp(30px, 4vw, 56px); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; padding: 6px 10px; background: rgba(0, 0, 0, .25); border-radius: 3px; }
.svc-title { font-family: var(--display); font-weight: 900; font-stretch: 115%; font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: .95; letter-spacing: -.02em; margin: 0 0 18px; max-width: 14ch; transition: transform .6s var(--ease), opacity .4s; }
.svc-desc { font-size: clamp(1.02rem, 1.3vw, 1.2rem); margin: 0; max-width: 42ch; color: rgba(255, 255, 255, .92); transition: transform .6s var(--ease) .05s, opacity .4s .05s; }
.svc-detail.is-out .svc-ghost { transform: translateY(-20%); opacity: 0; }
.svc-detail.is-out .svc-title, .svc-detail.is-out .svc-desc { transform: translateY(30px); opacity: 0; }
.svc-nav { display: flex; gap: 8px; margin-top: 30px; }
.svc-nav button { width: 48px; height: 48px; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .12); color: var(--white); border-radius: 4px; cursor: pointer; transition: background .3s, transform .4s var(--ease); }
.svc-nav button:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.svc-nav svg { width: 18px; height: 18px; }
.svc-nav button:first-child svg { transform: rotate(180deg); }

/* ---------- strengths ---------- */
.str-list { border-top: 2px solid var(--navy); }
.str-row { position: relative; display: grid; grid-template-columns: 64px 80px minmax(0, 1fr) 50px; column-gap: 20px; row-gap: 0; align-items: center; padding: 28px 18px; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; cursor: pointer; transition: color .5s var(--ease); }
.str-row::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease); }
.str-row:hover, .str-row.is-open { color: var(--white); }
.str-row:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.str-row:hover::before, .str-row.is-open::before { transform: none; }
.str-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 6px; background: var(--white); border: 1px solid var(--line); color: var(--orange); transition: transform .6s var(--bounce), background .4s; }
.str-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.str-row:hover .str-icon, .str-row.is-open .str-icon { transform: rotate(-10deg) scale(1.08); background: var(--orange); color: var(--white); border-color: var(--orange); }
.str-idx { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--steel); transition: color .4s; }
.str-row:hover .str-idx, .str-row.is-open .str-idx { color: var(--yellow); }
.str-title { margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.05; letter-spacing: -.02em; transition: transform .6s var(--ease); }
.str-row:hover:not(.is-open) .str-title { transform: translateX(8px); }
.str-desc { grid-column: 3 / 4; grid-row: 2; margin: 0; max-height: 0; padding-top: 0; opacity: 0; overflow: hidden; color: rgba(255, 255, 255, .82); font-size: 1.05rem; max-width: 60ch;
  transition: max-height .6s var(--ease), padding .6s var(--ease), opacity .4s ease; }
.str-row.is-open .str-desc { max-height: 12em; padding-top: 12px; opacity: 1; transition-delay: 0s, 0s, .12s; }
.str-plus { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); font-size: 22px; transition: transform .6s var(--ease), border-color .4s, background .4s; }
.str-row:hover .str-plus { border-color: var(--orange); }
.str-row.is-open .str-plus { transform: rotate(45deg); border-color: var(--orange); background: var(--orange); }

/* ---------- location ---------- */
.loc-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 18px; align-items: stretch; }
.loc-info { position: relative; padding: clamp(28px, 3vw, 44px); background: var(--navy); color: var(--white); border-radius: 6px; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }
.loc-info::before { content: ''; position: absolute; width: 520px; height: 520px; right: -260px; top: -260px; z-index: -1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 0 0 60px rgba(255, 255, 255, .02), 0 0 0 120px rgba(255, 255, 255, .015); animation: pulse 6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.08); } }
.loc-coords { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--yellow); letter-spacing: .08em; margin: 0; }
.loc-info h3 { font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; letter-spacing: -.02em; margin: 18px 0 18px; }
.loc-info p { color: rgba(255, 255, 255, .78); }
.addr { margin-top: 10px; padding: 18px 20px; border-left: 4px solid var(--orange); background: rgba(255, 255, 255, .06); font-family: var(--cond); font-weight: 600; font-size: 22px; letter-spacing: .02em; line-height: 1.25; }
.loc-chips { display: grid; gap: 8px; margin: 26px 0; }
.loc-chips div { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.loc-chips svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.loc-info .hero-actions { margin-top: auto; padding-top: 10px; }
.loc-map { position: relative; min-height: 560px; border-radius: 6px; overflow: hidden; background: var(--navy-deep); }
.loc-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; transform: scale(1.12); }
.loc-map.is-in .loc-photo { animation: locZoom 14s ease-out forwards; }
@keyframes locZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.loc-map::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8, 26, 46, 0) 55%, rgba(8, 26, 46, .75)); pointer-events: none; }
.loc-tag { position: absolute; left: 22px; bottom: 22px; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 6px; background: rgba(8, 26, 46, .86); color: var(--white); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-left: 4px solid var(--orange); font-size: 14px; line-height: 1.35; }
.loc-tag b { display: block; font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: .05em; text-transform: uppercase; color: var(--yellow); }
.loc-pin { position: relative; width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--orange); }
.loc-pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(239, 125, 34, .6); animation: pinPing 2s ease-out infinite; }
.loc-pin svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slats { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-columns: repeat(6, 1fr); pointer-events: none; }
.slats span { background: var(--navy); border-right: 1px solid rgba(255, 255, 255, .06); transform-origin: 50% 0; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 4px, transparent 4px 14px); }
.loc-map.is-in .slats span { transform: scaleY(0); transition: transform 1s var(--ease-io); }
.loc-map.is-in .slats span:nth-child(2) { transition-delay: .08s; } .loc-map.is-in .slats span:nth-child(3) { transition-delay: .16s; }
.loc-map.is-in .slats span:nth-child(4) { transition-delay: .24s; } .loc-map.is-in .slats span:nth-child(5) { transition-delay: .32s; } .loc-map.is-in .slats span:nth-child(6) { transition-delay: .4s; }
.pin { position: absolute; left: 50%; top: 50%; z-index: 1; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(239, 125, 34, .6); animation: pinPing 2s ease-out infinite; pointer-events: none; display: none; }
@keyframes pinPing { to { box-shadow: 0 0 0 30px rgba(239, 125, 34, 0); } }

/* ---------- contact ---------- */
.contact-hero { position: relative; color: var(--white); background: var(--navy-deep); padding: 170px 0 clamp(80px, 10vw, 130px); overflow: hidden; isolation: isolate; }
.contact-hero .hero-media { opacity: .28; }
.contact-hero .hero-shade { background: linear-gradient(90deg, rgba(8, 26, 46, .97) 30%, rgba(8, 26, 46, .7)); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-logo { height: clamp(70px, 8vw, 110px); width: auto; margin-bottom: 30px; }
.contact-grid h1 { margin: 20px 0 22px; font-size: clamp(2.4rem, 5vw, 4.6rem); }
.contact-grid .lead { color: rgba(255, 255, 255, .78); }
.citems { display: grid; margin-top: 36px; border-top: 1px solid var(--line-light); }
.citem { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-light); transition: padding .5s var(--ease), background .4s; }
.citem:hover { padding-left: 12px; background: linear-gradient(90deg, rgba(239, 125, 34, .12), transparent); }
.citem .k { font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.citem .v a { border-bottom: 1px solid rgba(255, 255, 255, .3); transition: color .3s, border-color .3s; }
.citem .v a:hover { color: var(--orange); border-color: var(--orange); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-ink); color: rgba(255, 255, 255, .72); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.3fr auto; gap: 40px clamp(30px, 4vw, 70px); padding-block: clamp(60px, 8vw, 100px) 30px; }
.foot-brand img { height: 104px; width: auto; }
.foot-brand p { margin-top: 18px; font-size: 14px; max-width: 34ch; }
.foot-h { font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin: 0 0 16px; }
.foot-links { display: grid; gap: 8px; }
.foot-links a { width: fit-content; transition: color .3s, transform .4s var(--ease); }
.foot-links a:hover { color: var(--white); transform: translateX(6px); }
.foot-contact { display: grid; gap: 12px; font-size: 14.5px; }
.foot-contact small { display: block; font-size: 12px; color: rgba(255, 255, 255, .45); }
.foot-contact a:hover { color: var(--orange); }
.foot-socials { display: flex; gap: 8px; margin-top: 22px; }
.foot-socials a { width: 42px; height: 42px; border-radius: 6px; display: grid; place-items: center; border: 1px solid var(--line-light); color: var(--white); transition: background .3s, transform .4s var(--ease), border-color .3s; }
.foot-socials svg { width: 18px; height: 18px; fill: currentColor; }
.foot-socials a:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-3px); }
.to-top { width: 58px; height: 58px; display: grid; place-items: center; background: var(--orange); color: var(--white); border-radius: 4px; transition: transform .5s var(--bounce), background .3s; }
.to-top svg { width: 20px; height: 20px; transform: rotate(-90deg); }
.to-top:hover { transform: translateY(-5px); background: var(--yellow); }
.wordmark { font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: clamp(1.6rem, 7vw, 8rem); line-height: .8; letter-spacing: -.04em; text-align: center; margin: 30px 0 -.08em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .14); user-select: none; white-space: nowrap; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px 28px; border-top: 1px solid var(--line-light); font-size: 13px; color: rgba(255, 255, 255, .5); }

/* ---------- responsive ---------- */
@media (max-width: 1480px) {
  .socials { display: none; }
  .nav-pill a { padding: 9px 11px; }
}
@media (max-width: 1060px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-pill, .header-end .btn { display: none; }
  .header-end { margin-left: auto; }
  .burger { display: block; }
  .hero-inner, .page-hero-grid, .contact-grid, .who, .loc-grid, .cta-band .cta-inner { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .explore { grid-template-columns: 1fr 1fr; }
  .explore .ecard:first-child { grid-column: span 2; }
  .facts { grid-template-columns: 1fr 1fr; }
  .svc-stage { grid-template-columns: 1fr; }
  .svc-list { grid-template-columns: 1fr 1fr; border-right: 0; border-top: 1px solid var(--line); }
  .svc-detail { order: -1; }
  .svc-detail { min-height: 440px; }
  .str-row { grid-template-columns: 54px 60px minmax(0, 1fr) 44px; }
  .str-desc { grid-column: 3 / 4; grid-row: 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .scroll-cue { display: none; }
  .gallery-back { inset: 18px -12px -18px 18px; }
}
@media (max-width: 640px) {
  .row2, .facts { grid-template-columns: 1fr; }
  .explore { grid-template-columns: 1fr; }
  .explore .ecard:first-child { grid-column: auto; }
  .ecard { min-height: 380px; }
  .ecard .go { opacity: 1; transform: none; }
  .hero-main { padding-top: 120px; }
  .search { display: none; }
  .site-header { top: 10px; width: calc(100% - 20px); padding: 6px 6px 6px 12px; }
  .brand img, .is-scrolled .brand img { height: 54px; }
  .burger { width: 44px; height: 44px; }
  .burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
  .stat { padding-inline: 14px; }
  .stat:nth-child(odd) { padding-left: 0; }
  .svc-list { grid-template-columns: 1fr; }
  .str-row { grid-template-columns: 46px minmax(0, 1fr) 40px; padding: 22px 6px; gap: 14px; }
  .str-idx { display: none; }
  .str-desc { grid-column: 2 / 3; }
  .str-icon { width: 46px; height: 46px; }
  .citem { grid-template-columns: 1fr; gap: 4px; }
  .loc-map { min-height: 380px; }
  .foot-grid { grid-template-columns: 1fr; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .stack .box:nth-child(n+6) { display: none; }
}

/* =========================================================
   Motion graphics — fill the quieter areas with diagrams
   that show what each page is about
   ========================================================= */
.hero-side { display: grid; gap: 22px; align-content: end; }
.viz {
  position: relative; overflow: hidden; border-radius: 6px; padding: 17px 16px 12px; color: var(--white);
  background: rgba(8, 26, 46, .66); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.viz::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 10px, var(--navy-deep) 10px 20px); }
.viz svg { display: block; width: 100%; height: auto; overflow: visible; }
.viz-head, .viz-foot { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.viz-head { margin-bottom: 10px; }
.viz-foot { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .12); }
.viz-foot b { color: var(--yellow); font-weight: 600; }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--yellow); }
.live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: vizPing 2s ease-out infinite; }
@keyframes vizPing { 0% { box-shadow: 0 0 0 0 rgba(239, 125, 34, .6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(239, 125, 34, 0); } }
.yard-lbl { font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .1em; fill: rgba(255, 255, 255, .6); }

/* about: yard plan filling with containers */
.yard { fill: rgba(255, 255, 255, .03); stroke: rgba(255, 255, 255, .35); stroke-width: 1.2; stroke-dasharray: 6 4; }
.slot { fill: none; stroke: rgba(255, 255, 255, .1); }
.ctr { animation: place 8s infinite backwards; animation-delay: calc(var(--i) * .1s); }
@keyframes place { 0% { opacity: 0; transform: translateY(-10px); } 5% { opacity: 1; transform: none; } 82% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: none; } }
.gate-arrow { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* services: IN / OUT gate with trucks */
.road { fill: rgba(255, 255, 255, .04); }
.lane { stroke: rgba(255, 255, 255, .35); stroke-width: 1.5; stroke-dasharray: 12 10; animation: laneFlow 1s linear infinite; }
@keyframes laneFlow { to { stroke-dashoffset: -22; } }
.truck .cab { fill: #e9eef5; }
.truck.in { animation: driveIn 5s linear infinite; }
.truck.out { animation: driveOut 5s linear infinite; }
@keyframes driveIn { from { transform: translateX(-80px); } to { transform: translateX(480px); } }
@keyframes driveOut { from { transform: translateX(480px); } to { transform: translateX(-80px); } }
.post { fill: var(--navy-deep); stroke: rgba(255, 255, 255, .4); }
.arm { fill: var(--yellow); transform-box: fill-box; transform-origin: 50% 0; }
.arm-in { animation: armIn 2.5s infinite; }
.arm-out { animation: armOut 2.5s infinite; }
@keyframes armIn { 0%, 4% { transform: scaleY(.08); } 14%, 62% { transform: scaleY(1); } 70%, 100% { transform: scaleY(.08); } }
@keyframes armOut { 0%, 36% { transform: scaleY(1); } 44%, 76% { transform: scaleY(.08); } 84%, 100% { transform: scaleY(1); } }

/* strengths: survey checkpoints on a container */
.box-side { fill: #c2611b; }
.corr line { stroke: rgba(0, 0, 0, .2); stroke-width: 1.4; }
.corr .bar { stroke: rgba(255, 255, 255, .45); stroke-width: 2.4; stroke-linecap: round; }
.rail { fill: rgba(0, 0, 0, .28); }
.cp circle { fill: rgba(8, 26, 46, .85); stroke: rgba(255, 255, 255, .55); stroke-width: 1.5; animation: cpOn 6s infinite backwards; animation-delay: calc(var(--i) * .7s); }
.cp path { fill: none; stroke: var(--navy-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 14; stroke-dashoffset: 0; animation: cpTick 6s infinite backwards; animation-delay: calc(var(--i) * .7s); }
@keyframes cpOn { 0% { fill: rgba(8, 26, 46, .85); stroke: rgba(255, 255, 255, .55); } 4%, 78% { fill: var(--yellow); stroke: var(--yellow); } 86%, 100% { fill: rgba(8, 26, 46, .85); stroke: rgba(255, 255, 255, .55); } }
@keyframes cpTick { 0%, 3% { stroke-dashoffset: 14; } 9%, 78% { stroke-dashoffset: 0; } 86%, 100% { stroke-dashoffset: 14; } }

/* location: port → depot route */
.route-bg { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; }
.route-fg { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; animation: routeDraw 4.5s linear infinite; }
@keyframes routeDraw { 0% { stroke-dashoffset: 100; opacity: 1; } 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.end circle { fill: var(--navy-deep); stroke: var(--yellow); stroke-width: 2.5; }
.end .halo { fill: none; stroke: var(--yellow); transform-box: fill-box; transform-origin: center; animation: endHalo 2.4s ease-out infinite; }
.end.depot .halo { animation-delay: 1.2s; }
@keyframes endHalo { from { transform: scale(1); opacity: .8; } to { transform: scale(3); opacity: 0; } }
.mover rect { fill: var(--yellow); stroke: var(--navy-deep); stroke-width: 1.5; }
.km { font-family: var(--display); font-weight: 900; font-stretch: 115%; font-size: 26px; fill: var(--white); }

/* contact: live 24-hour dial */
.contact-side { display: grid; gap: 18px; align-content: start; }
.status-body { display: flex; align-items: center; gap: 22px; }
.viz .dial { width: 120px; flex: none; }
.dial-ring { fill: rgba(255, 255, 255, .03); stroke: rgba(255, 255, 255, .18); stroke-width: 1.5; }
.dial .tk { stroke: rgba(255, 255, 255, .3); stroke-width: 1; }
.dial .tk-major { stroke: var(--yellow); stroke-width: 2; }
.dial text { font-family: var(--mono); font-size: 8.5px; font-weight: 600; fill: rgba(255, 255, 255, .55); text-anchor: middle; }
.dial .hand { stroke: var(--orange); stroke-width: 3; stroke-linecap: round; }
.dial .sec { stroke: rgba(255, 255, 255, .45); stroke-width: 1; }
.dial .pin { fill: var(--yellow); }
.clock { font-family: var(--display); font-weight: 900; font-stretch: 115%; font-size: 2.4rem; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.status-info small { display: block; margin-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: rgba(255, 255, 255, .55); }
.status-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.status-list li { display: flex; align-items: center; gap: 10px; }
.status-list i { width: 8px; height: 8px; border-radius: 50%; background: #3ccf7a; box-shadow: 0 0 0 0 rgba(60, 207, 122, .5); animation: okPing 2.4s ease-out infinite; }
.status-list li:nth-child(2) i { animation-delay: .8s; } .status-list li:nth-child(3) i { animation-delay: 1.6s; }
@keyframes okPing { 0% { box-shadow: 0 0 0 0 rgba(60, 207, 122, .5); } 80%, 100% { box-shadow: 0 0 0 8px rgba(60, 207, 122, 0); } }

@media (max-width: 1060px) { .hero-side .viz { max-width: 480px; } }
@media (max-width: 640px) {
  .hero-side .viz { display: none; }
  .status-body { gap: 16px; }
  .viz .dial { width: 96px; }
  .clock { font-size: 2rem; }
}
