@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.3s cubic-bezier(0.22, 1, 0.36, 1) both; }
::view-transition-new(root) { animation: vt-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
:root {
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --paper: #f5f4ef;
  --paper-2: #ebe9e2;
  --white: #ffffff;
  --ink: #0e1a2b;
  --ink-2: #3d485a;
  --ink-3: #5a6474;
  --line: rgba(14, 26, 43, 0.12);
  --line-2: rgba(14, 26, 43, 0.22);
  --blue: #1f4fb5;
  --orange: #b9500d;
  --orange-fill: #f27b2b;
  --orange-light: #ffa566;
  --navy: #0b1626;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --logo: "Instrument Serif", Georgia, serif;
  --header-h: 80px;
  --wrap: 1320px;
  --pad: clamp(20px, 4.5vw, 64px);
  --edge: calc((100vw - min(100vw, var(--wrap))) / 2 + var(--pad));
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); color-scheme: light; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
html.js body { animation: page-in 0.6s var(--ease) both; }
html.js body.leaving { opacity: 0; transition: opacity 0.28s var(--ease); }
@keyframes page-in { from { opacity: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--orange); }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(46px, 7.4vw, 112px); letter-spacing: -0.045em; line-height: 0.98; }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.02em; line-height: 1.15; }
ul { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 2000; background: var(--orange-fill); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--ink); }
.sr-only { 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 { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.label { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }
.label::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; flex-shrink: 0; }
.lede { font-size: clamp(19px, 1.5vw, 22px); color: var(--ink-2); max-width: 56ch; }

/* Buttons: paint-wipe fill on hover */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 26px; border-radius: 14px; border: 1px solid transparent; font-weight: 600; font-size: 17px; white-space: nowrap; cursor: pointer; transition: color 0.4s var(--ease), border-color 0.4s var(--ease), background-color 0.4s var(--ease); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--orange-fill); color: var(--ink); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform 0.55s var(--ease); }
.btn-primary:hover { color: #fff; }
.btn-primary:hover::before { transform: scaleX(1); transform-origin: left; }
.on-dark .btn-primary::before, .hero .btn-primary::before { background: #fff; }
.on-dark .btn-primary:hover, .hero .btn-primary:hover { color: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.on-dark .btn-ghost, .hero .btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.on-dark .btn-ghost:hover, .hero .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }

/* Underline wipe */
.u-link { position: relative; display: inline-block; }
.u-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.u-link:hover::after, .u-link:focus-visible::after, a:hover .u-link::after, a:focus-visible .u-link::after, .u-link.is-active::after { transform: scaleX(1); transform-origin: left; }

/* Grain */
.grain { position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: 0.04; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); background-size: 180px 180px; animation: grain 9s steps(6) infinite; }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 2%); } }

/* Loader */
.loader { pointer-events: none; position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; background: var(--paper); transition: opacity 0.45s var(--ease), visibility 0.45s; animation: loader-fallback 0.01s linear 1.2s forwards; }
.loader.done { opacity: 0; visibility: hidden; }
@keyframes loader-fallback { to { opacity: 0; visibility: hidden; } }
.loader-art { width: 150px; overflow: visible; }
.loader-art .ls { fill: none; stroke: var(--orange-fill); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.9s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); --h-ink: #fff; --h-ink-2: rgba(255, 255, 255, 0.84); --h-accent: var(--orange-light); color: var(--h-ink); transition: transform 0.55s var(--ease), color 0.4s var(--ease); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(245, 244, 239, 0); border-bottom: 1px solid transparent; transition: background-color 0.45s var(--ease), border-color 0.45s var(--ease); }
.site-header.scrolled { --h-ink: var(--ink); --h-ink-2: var(--ink-2); --h-accent: var(--orange); }
.site-header.scrolled::before { background: rgba(245, 244, 239, 0.9); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.site-header.hidden { transform: translateY(-100%); }
.nav { height: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--h-ink, var(--ink)); flex-shrink: 0; }
.brand:hover { color: var(--h-ink, var(--ink)); }
.brand-mark, .brand-word { display: block; flex-shrink: 0; line-height: 0; }
.brand-mark img { height: 40px; width: auto; }
.brand-word img { height: 17px; width: auto; }
.brand .rev { display: none; }
.site-header:not(.scrolled) .nav .brand .std, .site-footer .brand .std { display: none; }
.site-header:not(.scrolled) .nav .brand .rev, .site-footer .brand .rev { display: block; }
.nav-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.util { display: none; align-items: center; gap: 4px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-right: 18px; }
.nav-links a { padding: 10px 0; font-size: 16px; font-weight: 500; color: var(--h-ink-2); }
.nav-links a:hover, .nav-links a.is-active { color: var(--h-ink); }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; flex-shrink: 0; border: 0; border-radius: 12px; background: transparent; color: var(--h-ink, var(--ink)); cursor: pointer; transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: rgba(143, 168, 128, 0.22); }
.icon-btn svg { width: 21px; height: 21px; }
.util .btn { min-height: 46px; padding: 0 20px; font-size: 16px; margin-left: 10px; }
.hamburger { display: none; }
@media (min-width: 769px) { .util { display: flex; } }
@media (min-width: 769px) and (max-width: 1140px) {
  .nav .brand { flex-direction: column; justify-content: center; gap: 5px; }
  .nav .brand-mark img { height: 34px; }
  .nav .brand-word img { height: 10px; }
  .nav-links { gap: 14px; margin-right: 4px; }
  .nav-links a { font-size: 15px; }
  .util .icon-btn { width: 40px; }
  .util .btn { padding: 0 14px; margin-left: 6px; font-size: 15px; }
}
@media (min-width: 769px) and (max-width: 900px) {
  .nav { padding: 0 20px; gap: 10px; }
  .nav-links { gap: 11px; }
}
@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .hamburger { display: inline-grid; }
}
@media (max-width: 440px) { .brand { gap: 10px; } .brand-mark img { height: 34px; } .brand-word img { height: 14px; } }
@media (max-width: 340px) { .brand { gap: 8px; } .brand-mark img { height: 32px; } .brand-word img { height: 12.5px; } }

/* Contact dropdown */
.dd { position: relative; }
.dd-menu { --h-ink: var(--ink); position: absolute; top: calc(100% + 12px); left: 50%; min-width: 220px; padding: 8px; border-radius: 16px; background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 30px 60px -24px rgba(14, 26, 43, 0.3); opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s; }
.dd.open .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-menu a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border-radius: 10px; font-size: 16px; color: var(--ink); }
.dd-menu a:hover { background: var(--paper); color: var(--ink); }
.dd-menu svg { width: 18px; height: 18px; color: var(--orange); }

/* Search panel */
.search-panel { --h-ink: var(--ink); position: absolute; left: 0; right: 0; top: 100%; padding: 22px 0 26px; background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(14, 26, 43, 0.25); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s; }
.search-panel.open { opacity: 1; visibility: visible; transform: none; }
.search-row { display: flex; align-items: center; gap: 8px; }
.search-row input { flex: 1; min-width: 0; height: 56px; padding: 0 20px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line-2); font-size: 19px; }
.search-row input:focus { outline: none; border-color: var(--blue); background: var(--white); }
.search-results { display: grid; gap: 4px; margin-top: 14px; max-height: 50vh; overflow: auto; }
.search-results a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-radius: 10px; color: var(--ink); }
.search-results a:hover, .search-results a:focus-visible { background: var(--paper); color: var(--ink); }
.search-results small { font-family: var(--mono); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.search-empty { padding: 12px 16px; color: var(--ink-3); }
.mic-btn.listening { color: var(--orange); background: rgba(242, 123, 43, 0.14); }

/* Drawer */
.drawer { --h-ink: var(--ink); --h-accent: var(--orange); display: none; position: fixed; inset: 0; z-index: 1000; background: var(--paper); color: var(--ink); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.drawer.open { display: block; animation: drawer-in 0.5s var(--ease) both; }
@keyframes drawer-in { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
.drawer-inner { max-width: 440px; margin: 0 auto; padding: 12px 24px 48px; display: flex; flex-direction: column; gap: 28px; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.drawer-links a { display: flex; align-items: center; justify-content: space-between; min-height: 62px; border-bottom: 1px solid var(--line); font-size: 34px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.drawer-links a.is-active { color: var(--orange); }
.drawer-links svg { width: 22px; height: 22px; }
.drawer.open .drawer-links li, .drawer.open .drawer-reveal { animation: rise 0.6s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms + 100ms); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.drawer .btn { width: 100%; }
.drawer-contact { display: grid; gap: 8px; }
.drawer-contact a { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 16px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.drawer-contact svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; }
.drawer-h { margin: 0 0 12px; font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.drawer .search-row input { height: 52px; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: calc(var(--header-h) * -1); min-height: max(560px, 76svh); display: flex; flex-direction: column; justify-content: flex-end; background: var(--navy); color: #fff; }
.hero-home { min-height: max(640px, 100svh); }
.hero-media { position: absolute; inset: -10% 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%; animation: kenburns 30s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 15, 28, 0.72) 0%, rgba(8, 15, 28, 0.38) 42%, rgba(8, 15, 28, 0.86) 100%); }
.hero-inner { width: 100%; padding-top: calc(var(--header-h) + 72px); padding-bottom: clamp(36px, 6vh, 64px); }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 28px; font-family: var(--mono); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.kicker a { color: #fff; }
.kicker a:hover { color: var(--orange-light); }
.kicker .sep { width: 18px; height: 1px; background: rgba(255, 255, 255, 0.6); }
.hero h1 { max-width: 13ch; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.1fr) auto; gap: 32px 64px; align-items: end; margin-top: 40px; }
.hero .lede { margin: 0; color: #e6eaf0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 16px 32px; padding: 20px 0 26px; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.hero-tag { margin: 0 auto 0 0; font-size: 17px; color: #e6eaf0; }
.hero-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-right: 32px; border-right: 1px solid rgba(255, 255, 255, 0.22); }
.hero-stat { display: flex; align-items: center; gap: 14px; margin: 0; }
.hero-stat + .hero-stat { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, 0.22); }
.hero-stat b { display: flex; align-items: flex-start; font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: #fff; }
.hero-stat sup { margin: 2px 0 0 2px; font-size: 20px; color: var(--orange-light); }
.hero > .wrap { width: 100%; }
.hero-stat.lic b { font-size: 30px; letter-spacing: -0.02em; }
.hero-stat > span { max-width: none; white-space: nowrap; font-family: var(--mono); font-size: 14px; line-height: 1.35; letter-spacing: 0.1em; text-transform: uppercase; color: #e6eaf0; }
.scroll-cue { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-family: var(--mono); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.scroll-cue:hover { color: var(--orange-light); }
.scroll-cue i { position: relative; width: 1px; height: 36px; overflow: hidden; background: rgba(255, 255, 255, 0.35); }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 14px; background: #fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-14px); } to { transform: translateY(36px); } }

/* Word rise + brush stroke */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.w > span { display: inline-block; }
html.js .words .w > span { transform: translateY(108%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--wi, 0) * 55ms); }
html.js .words.in .w > span { transform: none; }
.hl { position: relative; white-space: nowrap; }
.stroke { position: absolute; left: -2%; bottom: -0.1em; width: 104%; height: 0.24em; overflow: visible; pointer-events: none; }
.stroke path { fill: none; stroke: var(--orange-fill); stroke-width: 7; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
html.js .words .stroke path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease) 0.6s; }
html.js .words.in .stroke path { stroke-dashoffset: 0; }

/* Marquee */
.marquee { overflow: hidden; background: var(--white); border-bottom: 1px solid var(--line); padding: 26px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: 48px; padding-right: 48px; }
.marquee li { display: flex; align-items: center; gap: 48px; white-space: nowrap; font-size: clamp(24px, 2.8vw, 38px); font-weight: 500; letter-spacing: -0.025em; color: var(--ink); }
.marquee li::after { content: ""; width: 11px; height: 11px; border-radius: 3px; background: var(--orange-fill); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { position: relative; padding: clamp(88px, 11vw, 160px) 0; }
.section-tight { padding: clamp(64px, 8vw, 110px) 0; }
.bg-2 { background: var(--paper-2); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head .side { display: grid; gap: 16px; justify-items: start; max-width: 40ch; }
.section-head .side p { margin: 0; color: var(--ink-2); }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--ink); }
.text-link svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.text-link:hover { color: var(--ink); }
.text-link:hover svg { transform: translateX(4px); }

/* About */
.about-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start; }
.about-head { grid-column: 1 / span 5; }
.about-copy { grid-column: 7 / span 6; }
.about-copy .lead { margin-bottom: 28px; font-size: clamp(24px, 2.3vw, 32px); font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); }
.about-copy p { color: var(--ink-2); }
.about-img { margin-top: clamp(32px, 4vw, 48px); aspect-ratio: 3 / 2; overflow: hidden; border-radius: 20px; background: var(--paper-2); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.margin-note { margin: 16px 0 0; max-width: 34ch; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 16px; line-height: 1.5; color: var(--ink-3); }
.stat-card { display: inline-block; margin-top: 36px; padding: 28px 30px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(14, 26, 43, 0.4); }
.stat-card b { display: flex; align-items: flex-start; font-size: clamp(64px, 7vw, 104px); font-weight: 600; line-height: 0.9; letter-spacing: -0.05em; }
.stat-card b sup { margin: 0.08em 0 0 4px; font-size: 0.4em; color: var(--orange); }
.stat-card .k { display: block; margin-top: 16px; font-family: var(--mono); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }

/* Service stack */
.stack { display: grid; gap: 24px; }
.stack-item { position: sticky; top: calc(var(--header-h) + 24px + var(--i, 0) * 14px); transform: scale(var(--s, 1)); transform-origin: 50% 0; }
.card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); min-height: min(540px, calc(100svh - var(--header-h) - 140px)); overflow: hidden; border-radius: 24px; background: var(--white); border: 1px solid var(--line); color: var(--ink); box-shadow: 0 24px 48px -32px rgba(14, 26, 43, 0.3); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease); }
.card::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: var(--dim, 0); pointer-events: none; border-radius: inherit; }
.card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -36px rgba(14, 26, 43, 0.48); border-color: var(--blue); color: var(--ink); }
.stack-item:nth-child(even) .card-media { order: -1; }
.card-body { display: flex; flex-direction: column; gap: 20px; padding: clamp(28px, 4vw, 56px); }
.swatch { width: 56px; height: 14px; border-radius: 4px; background: var(--c, var(--orange-fill)); }
.card h3 { font-size: clamp(30px, 3.4vw, 50px); letter-spacing: -0.035em; line-height: 1.02; }
.card p { margin: 0; max-width: 46ch; color: var(--ink-2); }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; }
.more svg { width: 20px; height: 20px; transition: transform 0.3s var(--ease); }
.card:hover .more svg { transform: translateX(4px); }
.card-media { overflow: hidden; min-height: 280px; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }

/* CTA band */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(96px, 12vw, 170px) 0; background: var(--navy); color: #fff; }
.cta-glow { position: absolute; left: 50%; top: 50%; z-index: -1; width: 70vmax; height: 70vmax; margin: -35vmax 0 0 -35vmax; background: radial-gradient(circle, rgba(242, 123, 43, 0.26), transparent 60%); pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(-22%, -8%); } to { transform: translate(22%, 10%); } }
.cta .label { color: var(--orange-light); }
.cta h2 { max-width: 15ch; font-size: clamp(40px, 6vw, 92px); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px clamp(40px, 7vw, 120px); align-items: start; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), visibility 0.8s; }
.slide.active { opacity: 1; visibility: visible; transform: none; }
.stars { display: flex; gap: 4px; margin-bottom: 26px; color: var(--orange-fill); }
.stars svg { width: 20px; height: 20px; }
.slide blockquote { margin: 0; font-size: clamp(26px, 2.8vw, 40px); font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }
.person { display: flex; align-items: center; gap: 16px; margin-top: 36px; }
.person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.person b { display: block; font-weight: 600; }
.person span { font-size: 16px; color: var(--ink-3); }
.slider-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 40px; }
.slider-ctrl .icon-btn { color: var(--ink); border: 1px solid var(--line-2); border-radius: 50%; }
.progress { max-width: 240px; height: 2px; margin-top: 24px; overflow: hidden; background: var(--line); }
.progress span { display: block; height: 100%; background: var(--orange-fill); transform: scaleX(0); transform-origin: left; }
.progress span.run { animation: fill 6.5s linear forwards; }
[data-slider].paused .progress span { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

/* Services page */
.svc-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.svc-intro .head { grid-column: 1 / span 6; }
.svc-intro .lede { grid-column: 8 / span 5; align-self: end; margin: 0; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.45; color: var(--ink); }
.svc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.svc-nav { position: sticky; top: calc(var(--header-h) + 40px); transition: top 0.55s var(--ease); }
body.hdr-hidden .svc-nav { top: 40px; }
.svc-nav ul { display: grid; }
.svc-nav a { display: block; padding: 12px 0 12px 20px; border-left: 2px solid var(--line); font-size: 17px; font-weight: 500; color: var(--ink-3); transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease); }
.svc-nav a:hover { color: var(--ink); }
.svc-nav a.is-current { color: var(--ink); border-color: var(--orange-fill); }
.svc { scroll-margin-top: calc(var(--header-h) + 32px); padding-bottom: clamp(80px, 9vw, 140px); }
.svc + .svc { padding-top: clamp(80px, 9vw, 140px); border-top: 1px solid var(--line); }
.svc-media { aspect-ratio: 16 / 8; margin-bottom: 48px; overflow: hidden; border-radius: 22px; background: var(--paper-2); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc h2 { max-width: 18ch; margin-bottom: 28px; font-size: clamp(34px, 4vw, 60px); }
.svc-desc { max-width: 62ch; font-size: clamp(19px, 1.4vw, 21px); color: var(--ink-2); }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 40px 0; }
.benefits li { display: grid; gap: 14px; padding: 22px 22px 24px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); font-size: 17px; line-height: 1.5; }
.benefits svg { width: 22px; height: 22px; color: var(--orange); }
.svc-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 28px; border-radius: 18px; background: var(--ink); color: #fff; }
.svc-cta p { margin: 0; max-width: 48ch; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filters button { min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 16px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.g-item { display: flex; flex-direction: column; gap: 14px; padding: 0; border: 0; background: transparent; cursor: zoom-in; text-align: left; color: var(--ink); }
.g-frame { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 16px; background: var(--paper-2); box-shadow: 0 18px 40px -30px rgba(14, 26, 43, 0.45); transition: box-shadow 0.5s var(--ease); }
.g-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.g-item:hover .g-frame { box-shadow: 0 30px 50px -30px rgba(14, 26, 43, 0.55); }
.g-item:hover img { transform: scale(1.04); }
.g-item .cap { display: block; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.g-item .cap small { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }
.g-item.is-hidden { display: none; }
.g-item.pop { animation: pop 0.6s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: scale(0.97); } }
.lightbox { max-width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 0; background: transparent; color: #fff; overflow: visible; }
.lightbox::backdrop { background: rgba(8, 15, 28, 0.92); }
.lightbox img { width: auto; max-height: 78vh; margin: 0 auto; border-radius: 14px; }
.lightbox p { margin: 16px 0 0; text-align: center; color: #e6eaf0; }
.lb-ctrl { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.lightbox .icon-btn { --h-ink: #fff; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%; }
.lb-close { position: fixed; top: 16px; right: 16px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.form-card { padding: clamp(26px, 4vw, 48px); border-radius: 24px; background: var(--white); border: 1px solid var(--line); }
.form-card h2 { margin-bottom: 32px; font-size: clamp(34px, 4vw, 56px); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 56px; padding: 14px 18px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-2); font-size: 18px; transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(31, 79, 181, 0.12); }
.form .btn { justify-self: start; }
.info { display: grid; gap: 12px; }
.tile { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); color: var(--ink); transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
a.tile:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--ink); box-shadow: 0 20px 40px -30px rgba(14, 26, 43, 0.4); }
.tile .ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--paper); color: var(--orange); }
.tile .ic svg { width: 22px; height: 22px; }
.tile .k { display: block; font-family: var(--mono); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.tile .v { display: block; font-weight: 500; overflow-wrap: anywhere; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.map { position: relative; height: clamp(360px, 48vw, 560px); background: var(--paper-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { --h-ink: #fff; --h-accent: var(--orange-light); padding: clamp(80px, 9vw, 130px) 0 36px; background: var(--navy); color: #dfe5ee; }
.foot-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid rgba(255, 255, 255, 0.14); font-size: clamp(38px, 7vw, 108px); font-weight: 600; line-height: 1; letter-spacing: -0.045em; color: #fff; }
.foot-cta:hover { color: var(--orange-light); }
.foot-cta svg { width: clamp(40px, 6vw, 88px); height: auto; flex-shrink: 0; transition: transform 0.5s var(--ease); }
.foot-cta:hover svg { transform: translateX(8px); }
.foot-cta .u-link::after { height: 2px; bottom: -6px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 44px; padding-top: clamp(48px, 6vw, 80px); }
.foot-brand p { max-width: 34ch; margin-top: 20px; font-size: 17px; color: #aab4c4; }
.site-footer h2 { margin-bottom: 18px; font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #9aa6b8; }
.foot-list { display: grid; gap: 10px; font-size: 17px; }
.foot-list a { color: #dfe5ee; }
.foot-list a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 15px; color: #9aa6b8; }

/* Scroll reveals */
html.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease); }
html.js .wipe.in { clip-path: inset(0 0 0 0); }
[data-parallax] { will-change: transform; }

/* Touch glow */
.touch-layer { position: fixed; inset: 0; z-index: 4000; overflow: hidden; pointer-events: none; }
.touch-glow { position: absolute; left: 0; top: 0; width: 180px; height: 180px; margin: -90px 0 0 -90px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 215, 0, 0.22) 0%, rgba(255, 200, 60, 0.1) 40%, rgba(255, 215, 0, 0) 70%); filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity 0.2s var(--ease); will-change: transform, opacity; }
.touch-glow.on { opacity: 1; }
.touch-glow.off { opacity: 0; transition: opacity 0.42s var(--ease); }

/* Responsive */
@media (max-width: 1024px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .svc-intro { grid-template-columns: minmax(0, 1fr); }
  .svc-intro .head, .svc-intro .lede { grid-column: 1 / -1; }
  .about-head { grid-column: 1 / span 6; }
  .about-copy { grid-column: 7 / span 6; }

  .reviews-grid, .contact-grid, .hero-row { grid-template-columns: minmax(0, 1fr); }
  .svc-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .svc-nav { top: var(--header-h); z-index: 20; margin: 0 calc(var(--pad) * -1) 40px; padding: 10px var(--pad); overflow-x: auto; scrollbar-width: none; background: rgba(245, 244, 239, 0.96); border-bottom: 1px solid var(--line); }
  .svc-nav::-webkit-scrollbar { display: none; }
  body.hdr-hidden .svc-nav { top: 0; }
  .svc-nav ul { display: flex; gap: 8px; width: max-content; }
  .svc-nav a { display: flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; white-space: nowrap; font-size: 16px; }
  .svc-nav a.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
}
@media (max-width: 700px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .about-head, .about-copy { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .hero-stats { padding-right: 0; border-right: 0; }
  .hero-tag { flex-basis: 100%; order: 3; }
  .scroll-cue { order: 2; }
}
@media (max-width: 860px) {
  .stack-item { position: relative; top: auto; transform: none !important; }
  .card { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .card::after { display: none; }
  .card-media, .stack-item:nth-child(even) .card-media { order: -1; aspect-ratio: 16 / 10; min-height: 0; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 18px; }
}
@media (max-width: 600px) {
  .foot-grid, .tiles { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tiles { gap: 12px; }
  .form, .benefits { grid-template-columns: minmax(0, 1fr); }
  .form .btn, .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .scroll-cue { display: none; }
  .hero-foot { justify-content: flex-start; }
  .hero-stat b { font-size: 38px; }
  .hero-stat.lic b { font-size: 26px; }
  .hero-stats { padding-right: 0; border-right: 0; flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-stat + .hero-stat { padding-left: 0; border-left: 0; }
  .hero-tag { flex-basis: 100%; }
  .gallery { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .map { height: 420px; }
  .foot-cta { font-size: clamp(34px, 10vw, 48px); }

}
@media (max-height: 520px) and (orientation: landscape) {
  .hero, .hero-home { min-height: 0; }
  .hero-inner { padding-top: calc(var(--header-h) + 36px); }
  .stack-item { position: relative; top: auto; transform: none !important; }
  .card { min-height: 0; }
  .card::after { display: none; }
  .drawer-links a { min-height: 50px; font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .hero-media img, .grain, .marquee-track, .cta-glow, .scroll-cue i::after { animation: none !important; transform: none !important; }
  html.js .reveal, html.js .wipe, html.js .words .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  html.js .words .stroke path { stroke-dashoffset: 0 !important; }
  [data-parallax], .hero-media, .stack-item { transform: none !important; }
  .card:hover, .card:hover .card-media img, .g-item:hover img, a.tile:hover { transform: none !important; }
  .loader { display: none !important; }
  .marquee-track { flex-wrap: wrap; width: auto; }
  .marquee ul[aria-hidden="true"] { display: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; row-gap: 16px; padding: 0 var(--pad); }
}
