/* ==========================================================================
   Modera Group — Design tokens & base
   Direction: Aegean editorial. White canvas, ink type, bronze accents,
   limestone surfaces, glass layers and cinematic scroll scenes.
   ========================================================================== */
:root {
  --white: #ffffff;
  --paper: #faf8f4;
  --sand: #efe9df;
  --stone: #d9cfbf;
  --ink: #0f1b2a;
  --ink-2: #1c2b3d;
  --text: #1f2a37;
  --muted: #5b6573;
  --line: rgba(15, 27, 42, 0.12);
  --line-strong: rgba(15, 27, 42, 0.22);
  --bronze: #b8894f;
  --bronze-ink: #8a6436;
  --sea: #1e4a57;

  --serif: 'Noto Serif Display', 'Times New Roman', Georgia, serif;
  --sans: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.1875rem;
  --fs-xl: clamp(1.25rem, 1.6vw, 1.5rem);
  --fs-h3: clamp(1.4rem, 2vw, 1.75rem);
  --fs-h2: clamp(2.1rem, 4.4vw, 3.9rem);
  --fs-h1: clamp(2.3rem, 4.8vw, 4.2rem);
  --fs-display: clamp(2.6rem, 6.4vw, 6.4rem);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-pill: 999px;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --section: clamp(72px, 11vw, 160px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow-1: 0 1px 2px rgba(15, 27, 42, 0.05), 0 8px 24px rgba(15, 27, 42, 0.06);
  --shadow-2: 0 2px 6px rgba(15, 27, 42, 0.06), 0 18px 48px rgba(15, 27, 42, 0.12);
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
address { font-style: normal; }
::selection { background: var(--ink); color: var(--white); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; margin-inline: auto; }
.section { padding-block: var(--section); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }

/* Type */
.display, .h1, .h2, .h3 { font-family: var(--serif); font-weight: 300; color: var(--ink); letter-spacing: -0.02em; text-wrap: balance; }
.display { font-size: var(--fs-display); line-height: 1.02; }
.h1 { font-size: var(--fs-h1); line-height: 1.08; }
.h2 { font-size: var(--fs-h2); line-height: 1.06; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; }
.display em, .h1 em, .h2 em { font-style: italic; color: var(--bronze-ink); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-ink);
  margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: var(--fs-xl); line-height: 1.5; color: var(--muted); max-width: 46ch; }
.body-lg { font-size: var(--fs-lg); line-height: 1.65; color: var(--text); max-width: 62ch; }
.note { margin-top: 32px; font-size: var(--fs-sm); color: var(--muted); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { left: 12px; }

.i { width: 1.15em; height: 1.15em; flex: none; }

/* Motion primitives */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-mask { clip-path: inset(12% 12% 12% 12% round var(--r-lg)); transition: clip-path 1.2s var(--ease); }
.reveal-mask.is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
[data-speed] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal-mask { clip-path: none; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  :root { --header-h: 64px; }
}

/* ==========================================================================
   Components — header, buttons, glass, cards, forms, footer
   ========================================================================== */

/* Glass layers */
.glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-1);
}
.glass-dark {
  background: rgba(15, 27, 42, 0.5);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* Buttons */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg);
  font-weight: 500; font-size: var(--fs-base); letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.25s, box-shadow 0.35s var(--ease), color 0.25s;
  position: relative; isolation: isolate;
}
.btn .i { transition: transform 0.35s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn:hover { box-shadow: 0 10px 30px rgba(15, 27, 42, 0.18); }
.btn:active { transform: scale(0.98); }
.btn-ink { --bg: var(--ink); }
.btn-ink:hover { --bg: var(--ink-2); }
.btn-bronze { --bg: var(--bronze); --fg: var(--ink); }
.btn-bronze:hover { --bg: #c99a60; }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { --bg: var(--ink); --fg: #fff; box-shadow: none; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: var(--fs-sm); }
.btn-block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: var(--fs-sm); }
.link .i { transition: transform 0.35s var(--ease); }
a:hover .link .i { transform: translateX(4px); }

.tag {
  display: inline-flex; align-items: center; padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--sand); color: var(--ink); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em;
}
.tag-glass { position: absolute; left: 16px; top: 16px; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(12px); }

/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--bronze); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: transform 0.5s var(--ease), background 0.4s, box-shadow 0.4s;
}
.site-header.is-solid { background: rgba(255, 255, 255, 0.78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo-img { height: 38px; width: auto; }
.logo-on-dark { display: none; }
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav-link { position: relative; padding: 10px 14px; font-size: var(--fs-sm); font-weight: 500; color: var(--text); border-radius: var(--r-pill); transition: background 0.25s; }
.nav-link:hover { background: rgba(15, 27, 42, 0.05); }
.nav-link.is-active::after { content: ''; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--bronze); transform: translateX(-50%); }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* Header over dark hero imagery */
.has-phero .site-header:not(.is-solid) { color: #fff; }
.has-phero .site-header:not(.is-solid) .logo, .has-phero .site-header:not(.is-solid) .nav-link { color: #fff; }
.has-phero .site-header:not(.is-solid) .logo-on-light { display: none; }
.has-phero .site-header:not(.is-solid) .logo-on-dark { display: block; }
.has-phero .site-header:not(.is-solid) .nav-link:hover { background: rgba(255, 255, 255, 0.12); }
.has-phero .site-header:not(.is-solid) .btn-ink { --bg: #fff; --fg: var(--ink); }
.has-phero .site-header:not(.is-solid) .lang-btn { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.has-phero .site-header:not(.is-solid) .burger span { background: #fff; }

/* Language switcher */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-strong); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 210px; padding: 8px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(20px); box-shadow: var(--shadow-2); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.98); transform-origin: top right;
  transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0.25s; color: var(--ink);
}
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); font-size: var(--fs-sm); }
.lang-menu a span { width: 26px; font-weight: 600; color: var(--muted); font-size: var(--fs-xs); }
.lang-menu a:hover, .lang-menu a[aria-current] { background: var(--sand); }

/* Burger + mobile menu */
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }
.menu-open .site-header { background: transparent !important; box-shadow: none !important; color: var(--ink) !important; }
.menu-open .site-header .logo-on-light { display: block !important; }
.menu-open .site-header .logo-on-dark { display: none !important; }
.menu-open .site-header .burger span { background: var(--ink) !important; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--paper);
  padding: calc(var(--header-h) + 24px) var(--gutter) 120px; display: flex; flex-direction: column; gap: 32px; overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 9vw, 3rem); line-height: 1.25; color: var(--ink);
  opacity: 0; transform: translateY(16px); animation: menuIn 0.6s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms + 80ms);
}
@keyframes menuIn { to { opacity: 1; transform: none; } }
.mobile-langs { display: flex; flex-wrap: wrap; gap: 8px; }
.mobile-langs a { padding: 8px 14px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: var(--fs-sm); font-weight: 600; }
.mobile-langs a[aria-current] { background: var(--ink); color: #fff; box-shadow: none; }
.mobile-contact { display: grid; gap: 12px; color: var(--muted); }
.mobile-contact a { display: flex; gap: 10px; align-items: center; }

/* Mobile quick bar */
.mobile-bar { display: none; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); padding-top: clamp(64px, 9vw, 120px); overflow: hidden; }
.site-footer .logo-on-light { display: none; }
.site-footer .logo-on-dark { display: block; height: 44px; }
.f-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.f-brand p { margin: 20px 0 28px; max-width: 34ch; }
.f-col { display: flex; flex-direction: column; gap: 12px; font-size: var(--fs-sm); }
.f-col h3 { font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze); font-weight: 600; margin-bottom: 6px; }
.f-col a, .f-col address { display: flex; gap: 10px; align-items: flex-start; transition: color 0.2s; }
.f-col a:hover { color: #fff; }
.f-giant { margin: clamp(48px, 7vw, 96px) 0 0; opacity: 0.07; user-select: none; pointer-events: none; }
.f-giant img { width: 100%; height: auto; }
.f-bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; padding: 28px 0 40px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: var(--fs-xs); margin-top: 24px; }
.f-legal { display: flex; gap: 20px; }
.f-legal a:hover { color: #fff; }
.f-disclaimer { width: 100%; color: rgba(255, 255, 255, 0.45); }

/* Cards: articles */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.a-card a { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.a-card a:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.a-img { aspect-ratio: 16 / 10; overflow: hidden; }
.a-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.a-card a:hover .a-img img { transform: scale(1.06); }
.a-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.a-body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.25; color: var(--ink); }
.a-body p { color: var(--muted); }
.a-body .link { margin-top: auto; }
.a-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: var(--fs-xs); color: var(--muted); }
.a-meta span { display: inline-flex; align-items: center; gap: 6px; }
.a-card[hidden] { display: none; }
.is-featured a { display: grid; grid-template-columns: 1.35fr 1fr; }
.is-featured .a-img { aspect-ratio: auto; min-height: 380px; }
.is-featured .a-body { padding: clamp(28px, 4vw, 56px); justify-content: center; }
.is-featured .a-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 300; }
.featured-wrap { margin-bottom: 28px; }

/* Filters / chips */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip { padding: 10px 18px; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 500; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background 0.25s, color 0.25s; }
.chip:hover { background: var(--sand); }
.chip.is-on { background: var(--ink); color: #fff; box-shadow: none; }

/* Checklist */
.checks { display: grid; gap: 12px; margin-top: 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .i { color: var(--bronze-ink); margin-top: 3px; }

/* Facts */
.facts { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 28px 0; }
.facts dt { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.facts-sm { margin: 16px 0; gap: 12px 28px; }
.facts-sm dd { font-size: 1.15rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.45rem); color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .i { width: 22px; height: 22px; transition: transform 0.4s var(--ease); color: var(--bronze-ink); }
.faq-item[open] summary .i { transform: rotate(45deg); }
.faq-a { padding: 0 0 26px; color: var(--muted); max-width: 70ch; }

/* Forms */
.form { padding: clamp(24px, 4vw, 48px); border-radius: var(--r-lg); display: grid; gap: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s; font-size: 16px; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 4px rgba(184, 137, 79, 0.18); }
.field input:user-invalid { border-color: #b3261e; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.consent a { color: var(--bronze-ink); }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: var(--fs-sm); min-height: 1.5em; }
.form-status.is-ok { color: #1f6b3a; }
.form-status.is-err { color: #b3261e; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .header-actions { margin-left: auto; }
  .f-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; }
  .is-featured a { grid-template-columns: 1fr; }
  .is-featured .a-img { min-height: 0; aspect-ratio: 16 / 10; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header-cta { display: none; }
  .lang-btn { padding: 0 10px; }
  .f-top { grid-template-columns: 1fr; }
  .logo-img { height: 30px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; position: fixed; z-index: 80; left: 10px; right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px; border-radius: 20px;
    background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow-2); border: 1px solid var(--line); transition: transform 0.5s var(--ease);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 14px; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
  .mobile-bar a.is-primary { background: var(--ink); color: #fff; }
  .menu-open .mobile-bar { transform: translateY(150%); }
  body { padding-bottom: 84px; }
}

/* ==========================================================================
   Home sections — cinematic hero, stats, services, sectors, process, film
   ========================================================================== */

/* Hero: a card-sized window that expands to full-bleed as you scroll (desktop) */
.hero { position: relative; height: 230vh; --p: 0; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-ghost {
  position: absolute; left: -2vw; bottom: -4vw; z-index: 0; pointer-events: none;
  font-weight: 600; font-size: 26vw; line-height: 0.8; letter-spacing: 0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(15, 27, 42, 0.07);
}
.hero-copy {
  position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--header-h);
  opacity: calc(1 - var(--p) * 2.2); transform: translateY(calc(var(--p) * -80px));
}
.hero { --cl: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); --tw: min(640px, calc(46vw - var(--gutter))); }
.hero-copy > * { max-width: var(--tw); }
.hero-copy .display { margin-bottom: 24px; font-size: clamp(2.4rem, 4.4vw, 4.6rem); line-height: 1.04; }
.hero-copy .lead { font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-cta.center { justify-content: center; }
.hero-window {
  position: absolute; inset: 0; z-index: 1;
  --t: 17vh; --r: var(--cl); --b: 9vh; --l: calc(var(--cl) + var(--tw) + 56px); --rad: 28px;
  clip-path: inset(calc(var(--t) * (1 - var(--p))) calc(var(--r) * (1 - var(--p))) calc(var(--b) * (1 - var(--p))) calc(var(--l) * (1 - var(--p))) round calc(var(--rad) * (1 - var(--p))));
}
.hero-media { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.12 - var(--p) * 0.12)); }
.hero-window::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 27, 42, 0) 50%, rgba(15, 27, 42, 0.45)); opacity: var(--p); }
.hero-glass {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink);
  left: calc(var(--l) * (1 - var(--p)) + 28px); bottom: calc(9vh * (1 - var(--p)) + 28px);
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--bronze); box-shadow: 0 0 0 0 rgba(184, 137, 79, 0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(184, 137, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(184, 137, 79, 0); } }
.scroll-cue {
  position: absolute; z-index: 3; left: var(--gutter); bottom: 28px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink);
  opacity: calc(1 - var(--p) * 3); animation: bob 2.4s var(--ease-in-out) infinite;
}
@keyframes bob { 50% { transform: translateY(6px); } }

/* Stats + marquee */
.stats-band { position: relative; z-index: 2; background: var(--white); padding-top: clamp(56px, 8vw, 110px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 28px 0; border-top: 1px solid var(--line-strong); display: grid; gap: 10px; }
.stat-num { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 6vw, 5.4rem); line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
.stat-label { color: var(--muted); max-width: 22ch; }
.marquee { margin-top: clamp(48px, 7vw, 96px); overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 48s linear infinite; font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 300; color: var(--ink); white-space: nowrap; }
.marquee-track i { color: var(--bronze); font-style: normal; font-size: 0.6em; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Intro: layered images */
.intro-visual { position: relative; aspect-ratio: 5 / 6; }
.layer { position: absolute; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
.layer img { width: 100%; height: 100%; object-fit: cover; }
.layer-back { inset: 0 18% 14% 0; }
.layer-front { inset: 44% 0 0 34%; border: 8px solid #fff; }
.layer-tag { position: absolute; left: -12px; bottom: 6%; padding: 18px 22px; border-radius: var(--r-md); font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--ink); display: grid; gap: 6px; max-width: 220px; }
.layer-tag small { font-family: var(--sans); font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; }
.intro-copy .h2 { margin-bottom: 24px; }

/* Section heads */
.section-head { max-width: 860px; margin-bottom: clamp(40px, 6vw, 72px); display: grid; gap: 20px; }
.section-head .eyebrow { margin-bottom: 0; }
.row-head { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.row-head .lead { max-width: 40ch; }

/* Services: list with image preview */
.svc-wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.svc-list { border-top: 1px solid var(--line-strong); }
.svc-row a {
  display: grid; grid-template-columns: 56px 1fr auto; grid-template-areas: 'n t a' 'n s a'; column-gap: 20px; row-gap: 6px;
  padding: 28px 0; border-bottom: 1px solid var(--line-strong); transition: padding 0.5s var(--ease);
}
.svc-num { grid-area: n; font-size: var(--fs-sm); color: var(--bronze-ink); font-weight: 600; padding-top: 10px; }
.svc-title { grid-area: t; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 300; color: var(--ink); line-height: 1.15; transition: color 0.3s; }
.svc-short { grid-area: s; color: var(--muted); max-width: 52ch; }
.svc-arrow { grid-area: a; align-self: center; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background 0.3s, color 0.3s, transform 0.5s var(--ease); }
.svc-row a:hover, .svc-row.is-active a { padding-left: 14px; }
.svc-row a:hover .svc-title, .svc-row.is-active .svc-title { color: var(--bronze-ink); }
.svc-row a:hover .svc-arrow, .svc-row.is-active .svc-arrow { background: var(--ink); color: #fff; transform: rotate(-45deg); }
.svc-preview { position: sticky; top: calc(var(--header-h) + 32px); aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.svc-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 0.7s var(--ease), transform 1.2s var(--ease); }
.svc-preview img.is-on { opacity: 1; transform: none; }

/* Sectors: draggable horizontal rail */
.h-scroll { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; padding-bottom: 8px; }
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.h-track { display: flex; gap: 24px; padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); width: max-content; }
.sector-card { width: clamp(300px, 36vw, 520px); scroll-snap-align: start; }
.sector-card a { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; }
.sector-img, .sector-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sector-img img { transition: transform 1.4s var(--ease); }
.sector-card a:hover .sector-img img { transform: scale(1.06); }
.sector-body { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 24px; border-radius: var(--r-md); display: grid; gap: 8px; }
.sector-body h3 { font-family: var(--serif); font-weight: 300; font-size: 2rem; line-height: 1.1; }
.sector-body p { color: rgba(255, 255, 255, 0.82); }
.sector-idx { font-size: var(--fs-xs); letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.7); }
.sector-body .link { color: #fff; margin-top: 6px; }

/* Process: sticky stage + steps */
.process { background: var(--paper); }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.process-stage { position: relative; }
.process-frame { position: sticky; top: calc(var(--header-h) + 40px); aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.process-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity 0.9s var(--ease), transform 1.6s var(--ease); }
.process-frame img.is-on { opacity: 1; transform: none; }
.process-meter { position: absolute; left: 20px; right: 20px; bottom: 20px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.35); overflow: hidden; }
.process-meter span { display: block; height: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(var(--step-p, 0.2)); transition: transform 0.6s var(--ease); }
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: clamp(32px, 9vh, 96px) 0; border-top: 1px solid var(--line); opacity: 0.35; transition: opacity 0.6s var(--ease); }
.step.is-active { opacity: 1; }
.step-num { font-family: var(--serif); font-size: 2.2rem; font-weight: 300; color: var(--bronze-ink); line-height: 1; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--ink); margin-bottom: 12px; line-height: 1.2; }
.step p { color: var(--muted); font-size: var(--fs-lg); }

/* Film */
.film { position: relative; min-height: 92vh; display: grid; align-items: end; color: #fff; overflow: hidden; }
.film-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 27, 42, 0.1) 20%, rgba(15, 27, 42, 0.82)); }
.film-copy { position: relative; padding-block: clamp(64px, 10vw, 140px); }
.film-copy .h2, .film-copy .body-lg { color: #fff; }
.film-copy .h2 em { color: #e2bd8a; }
.film-copy .eyebrow { color: #e2bd8a; }
.film-copy .body-lg { margin-top: 20px; color: rgba(255, 255, 255, 0.85); }

/* Charts */
.chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.chart-wide { grid-column: 1 / -1; }
.chart-card { padding: clamp(22px, 3vw, 40px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 20px; align-content: start; }
.chart-card figcaption { font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.4rem); color: var(--ink); line-height: 1.3; }
.chart { width: 100%; height: auto; overflow: visible; }
.chart-note { font-size: var(--fs-xs); color: var(--muted); }
.c-grid { stroke: var(--line); stroke-width: 1; }
.c-tick { font: 500 12px var(--sans); fill: var(--muted); }
.c-label { font: 500 14px var(--sans); fill: var(--ink); }
.c-val { font: 600 13px var(--sans); fill: var(--bronze-ink); }
.c-big { font: 300 30px var(--serif); fill: var(--ink); }
.c-track { fill: rgba(15, 27, 42, 0.05); }
.c-range { fill: var(--ink); }
.c-range.is-key { fill: var(--bronze); }
.c-row .c-range, .c-col .c-range { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); transition: transform 1.2s var(--ease); transition-delay: var(--d); }
.c-col .c-range { transform-origin: center bottom; transform: scaleY(0); }
.chart-cost .c-row:nth-child(n) .c-range { fill: var(--sea); }
.chart-cost .c-row:nth-of-type(4) .c-range { fill: var(--bronze); }
.c-row .c-val, .c-col .c-val { opacity: 0; transition: opacity 0.6s 0.8s; }
.is-in .c-range { transform: none; }
.is-in .c-val { opacity: 1; }
.donut { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 28px; align-items: center; }
.c-arc { fill: none; stroke-width: 28; opacity: 0; transition: opacity 0.8s var(--ease); transition-delay: var(--d); }
.is-in .c-arc { opacity: 1; }
.c-arc-0, .sw-0 { stroke: var(--ink); background: var(--ink); }
.c-arc-1, .sw-1 { stroke: var(--sea); background: var(--sea); }
.c-arc-2, .sw-2 { stroke: #5f7f8a; background: #5f7f8a; }
.c-arc-3, .sw-3 { stroke: var(--bronze); background: var(--bronze); }
.c-arc-4, .sw-4 { stroke: #d6b688; background: #d6b688; }
.c-arc-5, .sw-5 { stroke: var(--stone); background: var(--stone); }
.legend { display: grid; gap: 10px; font-size: var(--fs-sm); }
.legend li { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; }
.legend b { color: var(--ink); font-weight: 600; }
.sw { width: 12px; height: 12px; border-radius: 3px; }

/* HTML bar charts (cost ranges, gantt) */
.hb ol { display: grid; gap: 18px; }
.hb-row { display: grid; grid-template-columns: minmax(150px, 220px) 1fr 130px; gap: 16px; align-items: center; }
.hb-gantt { grid-template-columns: minmax(170px, 240px) 1fr; }
.hb-label { font-weight: 500; color: var(--ink); font-size: var(--fs-sm); line-height: 1.3; }
.hb-label em { font-style: normal; color: var(--muted); font-weight: 400; margin-left: 4px; white-space: nowrap; }
.hb-track { position: relative; height: 12px; border-radius: 6px; background: rgba(15, 27, 42, 0.06); }
.hb-bar { position: absolute; top: 0; bottom: 0; left: var(--a); width: calc(var(--b) - var(--a)); border-radius: 6px; background: var(--sea); transform-origin: left center; transform: scaleX(0); transition: transform 1.2s var(--ease) var(--d, 0ms); }
.hb-gantt .hb-bar { background: var(--ink); }
.hb-bar.is-key, .hb-gantt .hb-bar.is-key { background: var(--bronze); }
.hb-val { font-weight: 600; font-size: var(--fs-sm); color: var(--bronze-ink); white-space: nowrap; opacity: 0; transition: opacity 0.6s 0.8s; }
.is-in .hb-bar { transform: none; }
.is-in .hb-val { opacity: 1; }
.hb-axis { position: relative; height: 20px; margin-top: 14px; margin-left: calc(min(220px, 30%) + 16px); margin-right: 146px; font-size: var(--fs-xs); color: var(--muted); }
.chart-card .hb:has(.hb-gantt) .hb-axis { margin-right: 0; }
.chart-card .hb:has(.hb-gantt) .hb-axis { margin-left: calc(min(240px, 34%) + 16px); }
.hb-axis span { position: absolute; left: var(--x); transform: translateX(-50%); }
.hb-unit { font-size: var(--fs-xs); color: var(--muted); text-align: right; margin-top: 4px; }

/* Compare table */
.cmp { border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: 0.8fr 1fr 1.2fr; }
.cmp-row > span { padding: 22px 26px; border-top: 1px solid var(--line); }
.cmp-head > span { border-top: 0; font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.cmp-row [role='rowheader'] { font-weight: 600; color: var(--ink); }
.cmp-a { color: var(--muted); }
.cmp-b { background: var(--ink); color: #fff; display: flex; gap: 10px; align-items: flex-start; }
.cmp-head .cmp-b { color: #e2bd8a; }
.cmp-b .i { color: #e2bd8a; margin-top: 3px; }

/* Partners */
.partners-panel { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--maxw) - 2 * var(--gutter)); position: relative; border-radius: calc(var(--r-lg) + 8px); overflow: hidden; padding: 0; color: #fff; }
.partners-bg { position: absolute; inset: -10% 0; }
.partners-bg img { width: 100%; height: 100%; object-fit: cover; }
.partners-panel::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(15, 27, 42, 0.94) 30%, rgba(15, 27, 42, 0.55)); }
.partners-copy { position: relative; z-index: 2; padding: clamp(40px, 7vw, 110px); max-width: 820px; }
.partners-copy .h2, .partners-copy .body-lg { color: #fff; }
.partners-copy .h2 em, .partners-copy .eyebrow { color: #e2bd8a; }
.partners-copy .body-lg { margin: 24px 0 32px; color: rgba(255, 255, 255, 0.85); }
.partner-marks { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.partner-marks span { padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, 0.3); font-size: var(--fs-sm); letter-spacing: 0.06em; }

/* CTA band */
.cta-band { padding-block: var(--section); }
.cta-inner { position: relative; }
.cta-bg { border-radius: calc(var(--r-lg) + 8px); overflow: hidden; height: clamp(420px, 60vh, 640px); }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-copy { position: absolute; left: calc(var(--gutter) + clamp(16px, 4vw, 56px)); bottom: clamp(16px, 4vw, 56px); max-width: 560px; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); display: grid; gap: 14px; }
.cta-copy p { color: var(--muted); }
.faq-sec { background: var(--paper); }

@media (max-width: 900px) {
  .hero { height: auto; }
  .hero-sticky { position: relative; height: auto; overflow: visible; }
  .hero-copy > * { max-width: none; }
  .hero-copy { padding-top: calc(var(--header-h) + 40px); opacity: 1; transform: none; }
  .hero-window { position: relative; inset: auto; margin: 36px var(--gutter) 0; height: 62vh; border-radius: var(--r-lg); overflow: hidden; clip-path: none; }
  .hero-media { transform: none; }
  .hero-glass { left: 16px; bottom: 16px; }
  .scroll-cue, .hero-ghost { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .row-head { grid-template-columns: 1fr; }
  .svc-wrap { grid-template-columns: 1fr; }
  .svc-preview { display: none; }
  .svc-row a { grid-template-columns: 40px 1fr; grid-template-areas: 'n t' 'n s'; }
  .svc-arrow { display: none; }
  .process-grid { grid-template-columns: 1fr; }
  .process-stage { position: sticky; top: calc(var(--header-h) + 8px); z-index: 2; }
  .process-frame { position: relative; top: 0; aspect-ratio: 16 / 9; }
  .step { padding: 40px 0; grid-template-columns: 48px 1fr; }
  .chart-grid { grid-template-columns: 1fr; }
  .hb-row, .hb-gantt { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .hb-row .hb-track { grid-column: 1 / -1; grid-row: 2; }
  .hb-axis, .chart-card .hb:has(.hb-gantt) .hb-axis { margin-left: 0; margin-right: 0; }
  .donut { grid-template-columns: 1fr; justify-items: center; }
  .donut .chart { max-width: 220px; }
  .legend { width: 100%; }
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-head { display: none; }
  .cmp-row > span { border-top: 0; padding: 14px 20px; }
  .cmp-row [role='rowheader'] { padding-top: 22px; border-top: 1px solid var(--line); background: var(--paper); }
  .cta-copy { position: relative; left: auto; bottom: auto; margin: -80px 12px 0; }
  .intro-visual { order: 2; }
}

/* ==========================================================================
   Inner pages — page hero, services, sectors, projects, about, team,
   contact, articles
   ========================================================================== */

/* Page hero */
.p-hero { position: relative; min-height: clamp(520px, 78vh, 820px); display: grid; align-items: end; color: #fff; overflow: hidden; }
.p-hero-img { position: absolute; inset: -8% 0 0; }
.p-hero-img img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 2.4s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: none; } }
.p-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 27, 42, 0.45), rgba(15, 27, 42, 0.15) 40%, rgba(15, 27, 42, 0.8)); }
.p-hero-copy { position: relative; padding-block: calc(var(--header-h) + 48px) clamp(48px, 7vw, 96px); }
.p-hero-copy .display { color: #fff; max-width: 18ch; font-size: clamp(2.4rem, 5.6vw, 5.2rem); }
.p-hero-copy .display em { color: #e2bd8a; }
.p-hero-copy .eyebrow { color: #e2bd8a; }
.p-hero-copy .lead { color: rgba(255, 255, 255, 0.86); margin-top: 22px; max-width: 52ch; }
.p-hero-copy .lead:empty, .p-hero-copy .eyebrow:empty { display: none; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.75); margin-bottom: 28px; }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: 0.6; }
.crumbs a:hover { color: #fff; }

/* Sub navigation */
.sub-nav, .tabs {
  position: sticky; top: calc(var(--header-h) + 12px); z-index: 20; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  margin-top: -32px; padding: 6px; border-radius: var(--r-pill); width: fit-content; max-width: 100%;
}
.sub-nav::-webkit-scrollbar, .tabs::-webkit-scrollbar { display: none; }
.sub-nav a, .tabs a { display: inline-flex; gap: 8px; align-items: center; padding: 10px 18px; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 500; white-space: nowrap; transition: background 0.25s, color 0.25s; }
.sub-nav a span, .tabs a span { font-size: var(--fs-xs); color: var(--bronze-ink); font-weight: 600; }
.sub-nav a:hover, .tabs a:hover, .sub-nav a.is-active, .tabs a.is-active { background: var(--ink); color: #fff; }

/* Services features */
.features { display: grid; gap: clamp(80px, 12vw, 160px); padding-block: var(--section); }
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; scroll-margin-top: 140px; }
.feature.is-flip .feature-img { order: 2; }
.feature-img { aspect-ratio: 4 / 3.4; overflow: hidden; border-radius: var(--r-lg); }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-num { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--bronze-ink); margin-bottom: 18px; }
.feature-copy .h2 { margin-bottom: 18px; }
.feature-copy > p + p { margin-top: 16px; color: var(--muted); }
.deliver { background: var(--paper); }
.deliver-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.deliver-list li { padding: 28px 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); display: grid; gap: 18px; font-weight: 500; color: var(--ink); }
.deliver-list span { font-family: var(--serif); font-size: 1.8rem; color: var(--bronze-ink); font-weight: 300; }

/* Sectors full-bleed */
.tabs { margin-bottom: 0; }
.sector-full { position: relative; min-height: 100vh; display: grid; align-items: center; overflow: hidden; scroll-margin-top: 0; margin-top: 24px; }
.sector-full-img { position: absolute; inset: -10% 0; }
.sector-full-img img { width: 100%; height: 100%; object-fit: cover; }
.sector-full::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(15, 27, 42, 0.55), rgba(15, 27, 42, 0) 70%); }
.sector-full-inner { position: relative; z-index: 2; padding-block: 120px; }
.sector-full-card { max-width: 600px; padding: clamp(28px, 4vw, 52px); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%); box-shadow: var(--shadow-2); }
.sector-full-card .h2 { margin-bottom: 14px; }
.sector-full-card > p + p { margin-top: 14px; color: var(--muted); }
.sector-full:nth-of-type(even) .sector-full-card { margin-left: auto; }
.sector-full:nth-of-type(even)::before { background: linear-gradient(270deg, rgba(15, 27, 42, 0.55), rgba(15, 27, 42, 0) 70%); }

/* Projects */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.proj[hidden] { display: none; }
.proj-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.proj:hover .proj-img img { transform: scale(1.05); }
.proj-body { padding: 20px 4px 0; }
.proj-body h2 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.25; color: var(--ink); }
.proj-loc { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: var(--fs-sm); margin-top: 8px; }
.proj-scope { font-size: var(--fs-sm); color: var(--muted); }
.proj-scope strong { color: var(--ink); }
.gallery-sec { padding-top: 0; }
.gallery figure { width: clamp(260px, 30vw, 440px); aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; scroll-snap-align: start; }
.gallery figure:nth-child(even) { aspect-ratio: 4 / 3; align-self: center; }
.gallery img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

/* About */
.values-sec { background: var(--paper); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 32px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.value span { font-family: var(--serif); font-size: 2rem; font-weight: 300; color: var(--bronze-ink); }
.value h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--ink); }
.value p { color: var(--muted); }
.areas { display: grid; gap: 12px; margin-top: 28px; }
.areas li { display: flex; gap: 12px; align-items: center; font-weight: 500; color: var(--ink); }
.areas .i { color: var(--bronze-ink); }
.crete-map svg { width: 100%; height: auto; overflow: visible; }
.crete { fill: var(--sand); stroke: var(--stone); stroke-width: 1.5; }
.pin circle { fill: var(--ink); }
.pin .ring { fill: none; stroke: var(--bronze); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ring 2.6s var(--ease) infinite; animation-delay: var(--d); }
.pin text { font: 600 12px var(--sans); fill: var(--ink); }
@keyframes ring { from { transform: scale(0.4); opacity: 1; } to { transform: scale(2); opacity: 0; } }
.company-card { padding: clamp(28px, 4vw, 52px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: none; }
.company-card dd { font-size: 1.2rem; }

/* Team */
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 40px 0 56px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.person { border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.person.is-lead { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.avatar { aspect-ratio: 4 / 4.2; position: relative; overflow: hidden; background: radial-gradient(120% 90% at 20% 10%, #fff 0%, var(--sand) 45%, var(--stone) 100%); display: grid; place-items: center; }
.is-lead .avatar { aspect-ratio: auto; min-height: 340px; background: radial-gradient(120% 90% at 20% 10%, #31445a 0%, var(--ink) 70%); }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar span { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 6vw, 5rem); color: var(--bronze-ink); letter-spacing: 0.02em; }
.is-lead .avatar span { color: #e2bd8a; }
.person-body { padding: 26px; display: grid; gap: 8px; align-content: start; }
.person-body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--ink); line-height: 1.2; }
.person-dept { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze-ink); font-weight: 600; }
.person-role { font-weight: 600; color: var(--ink); }
.person-body p:last-child { color: var(--muted); font-size: var(--fs-sm); }
.depts { background: var(--paper); }
.dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 40px; }
.dept { padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.dept span { font-size: var(--fs-xs); color: var(--bronze-ink); font-weight: 600; letter-spacing: 0.1em; }
.dept h3 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--ink); }
.dept p { color: var(--muted); font-size: var(--fs-sm); }
.center .btn { margin-top: 28px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-aside { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-aside .h3 { margin-bottom: 8px; }
.contact-line { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r-md); border: 1px solid var(--line); transition: border-color 0.25s, background 0.25s; color: var(--ink); }
a.contact-line:hover { border-color: var(--ink); background: var(--paper); }
.contact-line .i { width: 22px; height: 22px; color: var(--bronze-ink); margin-top: 2px; }
.contact-line small { display: block; font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2px; }
.tax { font-size: var(--fs-sm); color: var(--muted); }
.map-sec { padding-bottom: var(--section); }
.map { height: 460px; margin-inline: var(--gutter); border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(1.05); }

/* Articles */
.a-hero { position: relative; min-height: 86vh; display: grid; align-items: end; color: #fff; overflow: hidden; }
.a-hero-img { position: absolute; inset: -8% 0 0; }
.a-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.a-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15, 27, 42, 0.4), rgba(15, 27, 42, 0.2) 35%, rgba(15, 27, 42, 0.88)); }
.a-hero-copy { position: relative; z-index: 2; padding-block: calc(var(--header-h) + 48px) clamp(48px, 6vw, 88px); max-width: 1000px; margin-left: max(0px, calc((100vw - var(--maxw)) / 2)); }
.a-hero .h1 { color: #fff; margin: 18px 0; }
.a-hero .lead { color: rgba(255, 255, 255, 0.85); max-width: 60ch; }
.a-hero .a-meta { color: rgba(255, 255, 255, 0.8); }
.a-author { margin-top: 22px; font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.8); }
.a-layout { display: grid; grid-template-columns: 260px minmax(0, 720px); gap: clamp(32px, 6vw, 96px); padding-block: clamp(56px, 8vw, 110px); justify-content: center; }
.a-aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 28px; }
.toc p { font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-ink); font-weight: 600; margin-bottom: 14px; }
.toc ol { display: grid; gap: 10px; border-left: 1px solid var(--line); }
.toc a { display: block; padding-left: 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: var(--fs-sm); color: var(--muted); line-height: 1.4; transition: color 0.2s, border-color 0.2s; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-color: var(--bronze); }
.aside-cta { padding: 22px; border-radius: var(--r-md); background: var(--paper); display: grid; gap: 14px; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); line-height: 1.3; }
.prose { font-size: 1.125rem; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1.3em; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.2; color: var(--ink); margin-top: 2em; letter-spacing: -0.01em; }
.prose ul { display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: 0.72em; width: 8px; height: 8px; border-radius: 2px; background: var(--bronze); transform: rotate(45deg); }
.prose strong { color: var(--ink); }
.prose a { color: var(--bronze-ink); text-decoration: underline; text-underline-offset: 3px; }
.pull { margin: 2.2em 0; padding: 8px 0 8px 28px; border-left: 2px solid var(--bronze); }
.pull p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; color: var(--ink); }
.prose .chart-card { margin: 2em 0; }
.a-faq { margin-top: 3em; }
.a-faq h2 { margin-bottom: 0.6em; }
.a-end { margin-top: 3em; }
.related { background: var(--paper); }
.related .h2 { margin-bottom: 40px; }
.credits { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.credits td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.credits td:nth-child(3) { white-space: nowrap; color: var(--muted); }
.nf { padding-top: calc(var(--header-h) + 120px); }
.nf-code { font-family: var(--serif); font-size: clamp(6rem, 18vw, 12rem); font-weight: 300; color: var(--sand); line-height: 1; }
.page-notfound .site-header, .page-credits .site-header { color: var(--ink); }

@media (max-width: 1100px) {
  .deliver-list { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature.is-flip .feature-img { order: 0; }
  .sector-full { min-height: auto; display: block; }
  .sector-full-img { position: relative; inset: auto; height: 56vh; }
  .sector-full::before { display: none; }
  .sector-full-inner { padding-block: 0 24px; margin-top: -80px; }
  .proj-grid, .lead-grid { grid-template-columns: 1fr; }
  .person.is-lead { grid-template-columns: 1fr; }
  .is-lead .avatar { min-height: 260px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .a-layout { grid-template-columns: 1fr; }
  .a-aside { position: static; order: 2; }
  .toc { display: none; }
  .map { height: 340px; }
}
@media (max-width: 560px) {
  .values, .deliver-list { grid-template-columns: 1fr; }
  .sub-nav, .tabs { margin-top: 16px; border-radius: var(--r-md); }
}
