/* ==========================================================================
   Karamsar DevOps - website styles
   Ivory, charcoal, forest green and champagne bronze. Serif display type
   (Cormorant Garamond) with a clean sans (Manrope). Follows the visitor's
   light/dark system setting.
   ========================================================================== */

:root {
  --ivory: #F6F1E7;
  --ivory-2: #EEE7D9;
  --paper: #FBF8F2;
  --white: #FFFFFF;
  --ink: #17201D;
  --ink-2: #3D4541;
  --muted: #6B6A62;
  --line: #E2D9C8;
  --line-strong: #CFC3AD;
  --forest: #0F2621;
  --forest-2: #163430;
  --forest-line: rgba(233, 222, 199, .14);
  --on-forest: #EFE8DA;
  --on-forest-muted: #B5B1A4;
  --bronze: #A07A48;
  --bronze-strong: #86643A;
  --bronze-soft: #C9AA7C;
  --bronze-tint: rgba(160, 122, 72, .1);
  --on-bronze: #FFFFFF;
  --ok: #2F6B4A; --ok-bg: #E9F2EA;
  --err: #9A2F2F; --err-bg: #F8E9E6;

  --bg: var(--ivory);
  --bg-alt: var(--ivory-2);
  --surface: var(--white);
  --header-bg: rgba(246, 241, 231, .86);
  --hero-veil: 246, 241, 231;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(20px, 3vw, 56px);
  --wrap: min(100% - 2 * var(--gutter), 1600px);
  --section: clamp(72px, 9vw, 140px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(23, 32, 29, .04), 0 18px 40px -24px rgba(23, 32, 29, .22);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1513;
    --bg-alt: #121B18;
    --surface: #141E1B;
    --paper: #17221F;
    --ink: #EFE8DA;
    --ink-2: #D2CBBC;
    --muted: #A7A293;
    --line: #26332F;
    --line-strong: #34443F;
    --forest: #0A1F1A;
    --forest-2: #10302A;
    --bronze: #C8A473;
    --bronze-strong: #D9B987;
    --bronze-soft: #A8875A;
    --bronze-tint: rgba(200, 164, 115, .12);
    --on-bronze: #17201D;
    --ok: #8FD0A8; --ok-bg: rgba(143, 208, 168, .1);
    --err: #F2A49A; --err-bg: rgba(242, 164, 154, .1);
    --header-bg: rgba(14, 21, 19, .86);
    --hero-veil: 14, 21, 19;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -24px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; color: var(--ink); }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; line-height: 1.04; }
h1 { font-size: clamp(44px, 6.2vw, 96px); }
h2 { font-size: clamp(34px, 3.8vw, 58px); }
h3 { font-family: var(--sans); font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -.005em; }
em { font-style: italic; color: var(--bronze); }
h1 em, h2 em { font-weight: 500; }
::selection { background: var(--bronze-soft); color: #17201D; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--bg); }
.skip:focus { top: 12px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.ic { flex: none; }

.eyebrow {
  margin: 0 0 18px; font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; color: var(--bronze);
}
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.num { font-family: var(--serif); font-size: 18px; color: var(--bronze); letter-spacing: .04em; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: var(--radius);
  font: 600 14px/1 var(--sans); letter-spacing: .04em; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 13px; }
.btn-primary { background: var(--bronze); color: var(--on-bronze); }
.btn-primary:hover { background: var(--bronze-strong); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); }
.btn-text {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 6px; border: 0; background: none;
  color: var(--ink-2); font: 500 14px var(--sans); cursor: pointer;
}
.btn-text:hover, .btn-text[aria-expanded="true"] { color: var(--ink); }
.btn-text .ic:last-child { transition: transform .25s var(--ease); }
.btn-text[aria-expanded="true"] .ic:last-child { transform: rotate(180deg); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px;
  font-weight: 600; font-size: 14px; letter-spacing: .02em; color: var(--ink);
  border-bottom: 1px solid var(--line-strong); transition: border-color .3s, color .3s, gap .3s var(--ease);
}
.link-arrow:hover { color: var(--bronze); border-color: var(--bronze); gap: 14px; }
.btn-link { color: var(--ink-2); font-size: 14px; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.btn-link:hover { color: var(--bronze); border-color: var(--bronze); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); }
.mark { width: 44px; height: 44px; }
.mark-d { stroke: var(--bronze); }
.mark-k { fill: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 23px; letter-spacing: .2em; text-transform: uppercase; }
.brand-sub { margin-top: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .62em; text-transform: uppercase; color: var(--bronze); }
.brand-light .mark-k { fill: var(--on-forest); }
.brand-light { color: var(--on-forest); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(23, 32, 29, .4); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.main-nav { margin-inline: auto; }
.main-nav > ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.main-nav > ul > li > a {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 30px 0;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .25s;
}
.main-nav > ul > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 1px; background: var(--bronze);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav > ul > li > a:hover, .main-nav a[aria-current] { color: var(--ink); }
.main-nav > ul > li > a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }

.has-menu { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--surface);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.has-menu:hover .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-inner { width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: 1fr 2.6fr; gap: 56px; padding: 44px 0 48px; }
.mega-title { font-family: var(--serif); font-size: 32px; line-height: 1.1; margin: 0 0 22px; }
.mega-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 40px; }
.mega-list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); transition: color .2s; }
.mega-list a span { display: block; font-weight: 600; font-size: 15px; }
.mega-list a small { color: var(--muted); font-size: 13px; }
.mega-list a:hover span { color: var(--bronze); }

.login-menu { position: relative; }
.dropdown {
  position: absolute; right: 0; top: calc(100% + 8px); width: 290px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.login-menu.open .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; color: var(--ink); }
.dropdown a:hover { background: var(--bronze-tint); }
.dropdown .ic { margin-top: 2px; color: var(--bronze); }
.dropdown b { display: block; font-size: 14px; font-weight: 600; }
.dropdown small { color: var(--muted); font-size: 12.5px; }

.menu-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); background: none; color: var(--ink); cursor: pointer; }
.mobile-nav { border-top: 1px solid var(--line); background: var(--bg); max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); overflow-y: auto; }
.mobile-links { padding: 12px 0; }
.mobile-links > li > a { display: block; padding: 14px 0; font-family: var(--serif); font-size: 28px; border-bottom: 1px solid var(--line); }
.mobile-links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 6px 0 12px; }
.mobile-links ul a { display: block; padding: 8px 0; color: var(--muted); font-size: 14.5px; }
.mobile-login { display: grid; gap: 10px; padding: 8px 0 32px; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(86vh, 900px); display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 70%; animation: heroZoom 18s var(--ease) both; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(var(--hero-veil), .97) 0%, rgba(var(--hero-veil), .9) 30%, rgba(var(--hero-veil), .45) 52%, rgba(var(--hero-veil), 0) 72%),
              linear-gradient(0deg, rgba(var(--hero-veil), .35), rgba(var(--hero-veil), 0) 30%);
}
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-inner { padding: clamp(80px, 12vh, 140px) 0; }
.hero-kicker span { color: var(--line-strong); margin: 0 .3em; }
.hero-title { max-width: 10.6em; font-size: clamp(46px, 6.6vw, 112px); line-height: .98; }
.hero-lead { margin-top: 28px; max-width: 34em; font-size: clamp(17px, 1.3vw, 20px); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero > .wrap > * { animation: rise .9s var(--ease) both; }
.hero .hero-title { animation-delay: .08s; }
.hero .hero-lead { animation-delay: .16s; }
.hero .hero-actions { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Trust band ---------- */
.trust { background: var(--forest); color: var(--on-forest); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 20px; padding: 34px 28px; border-left: 1px solid var(--forest-line); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item .ic { color: var(--bronze-soft); }
.trust-title { margin: 0; font-weight: 600; font-size: 15px; color: var(--on-forest); }
.trust-sub { margin: 4px 0 0; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-soft); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-tight { padding-top: clamp(40px, 5vw, 72px); }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--forest); color: var(--on-forest); }
.section-dark h2, .section-dark h3 { color: var(--on-forest); }
.section-dark .eyebrow { color: var(--bronze-soft); }
.section-dark p { color: var(--on-forest-muted); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 4vw, 64px); }
.section-head h2 { max-width: 18em; }
.section-note { max-width: 34em; margin: 0; }

/* ---------- Cards ---------- */
.card-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-alt); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card-body { padding: 26px 26px 30px; }
.card-kicker { margin: 0 0 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); }
.card-tag { position: absolute; left: 16px; top: 16px; padding: 6px 12px; background: rgba(var(--hero-veil), .9); color: var(--ink); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.service-card h3 { display: flex; justify-content: space-between; gap: 12px; font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.1; }
.service-card h3 .ic { color: var(--bronze); margin-top: 4px; transition: transform .35s var(--ease); }
.service-card p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.service-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card:hover img, .project-card:hover img { transform: scale(1.04); }
.service-card:hover h3 .ic { transform: translate(3px, -3px); }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card { background: var(--surface); border: 1px solid var(--line); }
.project-card h3, .project-card h2 { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.1; margin-bottom: 12px; }
.project-card p { color: var(--muted); font-size: 15px; }
.project-result { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 0; font-weight: 600; font-size: 14px; color: var(--ok) !important; }
.project-result::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.project-result-lg { font-size: 16px; }

/* ---------- Feature (case study) band ---------- */
.feature-band { position: relative; isolation: isolate; color: var(--on-forest); overflow: hidden; }
.feature-media { position: absolute; inset: 0; z-index: -1; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.feature-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 26, 22, .96) 0%, rgba(10, 26, 22, .85) 42%, rgba(10, 26, 22, .35) 100%); }
.feature-row { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; padding: clamp(80px, 9vw, 140px) 0; }
.feature-copy h2 { color: var(--on-forest); max-width: 14em; margin-bottom: 22px; }
.feature-copy .eyebrow { color: var(--bronze-soft); }
.feature-copy p { color: var(--on-forest-muted); max-width: 38em; font-size: 17px; }
.feature-copy .feature-result { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 40px); color: var(--bronze-soft) !important; margin: 22px 0 30px; }
.feature-list { background: rgba(15, 38, 33, .72); border: 1px solid var(--forest-line); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.feature-list li { display: flex; flex-direction: column; gap: 4px; padding: 24px 28px; border-top: 1px solid var(--forest-line); }
.feature-list li:first-child { border-top: 0; }
.feature-metric { font-family: var(--serif); font-size: 28px; color: var(--on-forest); line-height: 1.15; }
.feature-meta { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-forest-muted); }

/* ---------- Expertise ---------- */
.expertise { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.expertise-intro { position: sticky; top: 120px; }
.expertise-intro h2 { margin-bottom: 20px; }
.expertise-media { margin-top: 36px; aspect-ratio: 4 / 3; overflow: hidden; }
.expertise-media img { width: 100%; height: 100%; object-fit: cover; }
.expertise-row { display: grid; grid-template-columns: 56px 1fr; gap: 6px 20px; padding: 28px 0; border-top: 1px solid var(--line-strong); }
.expertise-row:last-child { border-bottom: 1px solid var(--line-strong); }
.expertise-row h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.1; }
.expertise-row .tags { grid-column: 2; margin-top: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 12px; border: 1px solid var(--line-strong); font-size: 13px; color: var(--ink-2); }
.tags-lg li { padding: 8px 14px; font-size: 14px; }

/* ---------- Why / stats ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 48px clamp(40px, 6vw, 110px); }
.why-head h2 { max-width: 12em; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border-top: 1px solid var(--line-strong); }
.stats div { padding: 26px 0; border-bottom: 1px solid var(--line-strong); display: flex; flex-direction: column-reverse; }
.stats div:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--line-strong); }
.stats div:nth-child(even) { padding-left: 28px; }
.stats dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 0 0 6px; font-family: var(--serif); font-size: clamp(44px, 4.4vw, 68px); line-height: 1; color: var(--ink); }
.reason-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.reason { padding: 32px 28px 8px 0; }
.reason + .reason { padding-left: 28px; border-left: 1px solid var(--line); }
.reason h3 { margin: 14px 0 10px; }
.reason p, .value p { color: var(--muted); font-size: 15px; }

.stats-band .stats { grid-template-columns: repeat(4, 1fr); border-color: var(--forest-line); }
.stats-band .stats div { border-color: var(--forest-line); padding: 34px 28px; border-right: 1px solid var(--forest-line); }
.stats-band .stats div:last-child { border-right: 0; }
.stats-band .stats div:first-child { padding-left: 0; }
.stats-band .stats dd { color: var(--on-forest); font-size: clamp(52px, 6vw, 96px); }
.stats-band .stats dt { color: var(--bronze-soft); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--forest-line); counter-reset: s; }
.step { padding: 34px 30px 10px 0; }
.step + .step { padding-left: 30px; border-left: 1px solid var(--forest-line); }
.step-num { display: block; font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--bronze-soft); margin-bottom: 22px; }
.step h3 { margin-bottom: 10px; font-size: 19px; }
.step p { font-size: 15px; }
.steps-light { border-color: var(--line-strong); }
.steps-light .step + .step { border-color: var(--line); }
.steps-light .step-num { color: var(--bronze); }
.steps-light .step p { color: var(--muted); }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.industry { position: relative; padding: 36px 34px 64px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); transition: background-color .35s; }
.industry h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.1; margin-bottom: 12px; }
.industry p { color: var(--muted); font-size: 15px; margin: 0; max-width: 32em; }
.industry-go { position: absolute; left: 34px; bottom: 26px; color: var(--bronze); transition: transform .35s var(--ease); }
.industry:hover { background: var(--surface); }
.industry:hover .industry-go { transform: translateX(6px); }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { margin: 0; padding: 36px 34px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.quote .ic { color: var(--bronze); }
.quote blockquote { margin: 20px 0 28px; font-family: var(--serif); font-size: clamp(22px, 1.7vw, 27px); line-height: 1.32; color: var(--ink); flex: 1; }
.quote figcaption { display: flex; flex-direction: column; padding-top: 18px; border-top: 1px solid var(--line); }
.quote-name { font-weight: 600; }
.quote-co { font-size: 13px; color: var(--muted); letter-spacing: .04em; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(56px, 6vw, 88px) 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: repeating-radial-gradient(circle at 0% 120%, transparent 0 22px, var(--line) 22px 23px);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 30%); mask-image: linear-gradient(90deg, #000, transparent 30%);
}
.cta-row { position: relative; display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 40px; align-items: center; }
.cta-title { font-size: clamp(36px, 3.6vw, 56px); }
.cta-text { margin: 0; color: var(--ink-2); max-width: 30em; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: clamp(64px, 8vw, 120px) 0 clamp(56px, 6vw, 96px); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 13em; font-size: clamp(44px, 5.6vw, 88px); }
.page-hero .lead { margin-top: 22px; }
.page-hero.has-image { display: grid; align-items: center; min-height: min(70vh, 720px); padding: 0; overflow: hidden; }
.page-hero.has-image .page-hero-inner { position: relative; grid-area: 1 / 1; padding: clamp(64px, 8vw, 120px) 0; }
.page-hero.has-image .page-hero-inner > * { max-width: min(46%, 760px); }
.page-hero.has-image h1 { max-width: min(46%, 760px); }
.page-hero-media { grid-area: 1 / 1; justify-self: end; width: 50%; height: 100%; position: relative; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(var(--hero-veil), 0) 22%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 22px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--bronze); }
.crumbs + .page-hero { border-top: 0; }

/* ---------- Split layouts & prose ---------- */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.split-label h2 { max-width: 11em; }
.split-media { grid-template-columns: 1fr 1fr; align-items: center; }
.split-photo { aspect-ratio: 4 / 5; overflow: hidden; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.prose p { color: var(--ink-2); font-size: 17px; max-width: 66ch; }
.prose .lead { font-size: clamp(19px, 1.6vw, 24px); color: var(--ink); font-family: var(--serif); line-height: 1.4; }
.reason-list { margin-top: 32px; border-top: 1px solid var(--line-strong); }
.reason-line { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line-strong); }
.reason-line .ic { color: var(--bronze); margin-top: 3px; }
.reason-line h3 { margin-bottom: 6px; }
.reason-line p { margin: 0; color: var(--muted); font-size: 15px; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.value-grid-3 { grid-template-columns: repeat(3, 1fr); }
.value { padding: 32px 28px 8px 0; }
.value + .value { padding-left: 28px; border-left: 1px solid var(--line); }
.value h3 { margin: 14px 0 10px; font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.1; }

/* ---------- Services page ---------- */
.service-rows { display: grid; gap: clamp(56px, 7vw, 120px); }
.service-row { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.service-row:nth-child(even) .service-row-media { order: 2; }
.service-row-media { display: block; aspect-ratio: 5 / 4; overflow: hidden; }
.service-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-row:hover .service-row-media img { transform: scale(1.03); }
.service-row-body h2 { margin: 10px 0 18px; font-size: clamp(36px, 3.4vw, 54px); }
.service-row-body h2 a:hover { color: var(--bronze); }
.check-list { display: grid; gap: 12px; margin: 26px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.check-list .ic { color: var(--bronze); margin-top: 3px; }
.capability-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 32px 0; border-top: 1px solid var(--line-strong); }
.capability-grid li { display: flex; gap: 16px; align-items: baseline; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line-strong); font-weight: 500; }
.case { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid var(--line); }
.case-media { min-height: 360px; position: relative; }
.case-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: clamp(32px, 4vw, 64px); }
.case-body h2 { margin-bottom: 16px; }
.case-body p { color: var(--muted); }
.case-body .project-result { display: flex; margin: 4px 0 26px; }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.mini { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 26px 30px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); transition: background-color .3s; }
.mini span { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.1; padding-right: 26px; }
.mini small { color: var(--muted); font-size: 14px; }
.mini .ic { position: absolute; right: 22px; top: 26px; color: var(--bronze); transition: transform .3s var(--ease); }
.mini:hover { background: var(--surface); }
.mini:hover .ic { transform: translate(3px, -3px); }

/* ---------- Solutions ---------- */
.solution-list { border-top: 1px solid var(--line-strong); }
.solution { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 110px); padding: clamp(40px, 4vw, 64px) 0; border-bottom: 1px solid var(--line-strong); }
.solution-head h2 { margin: 10px 0 16px; }
.mini-label { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.solution-services { display: grid; gap: 0; margin-bottom: 28px; border-top: 1px solid var(--line); }
.solution-services a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.solution-services a .ic { color: var(--bronze); }
.solution-services a:hover { color: var(--bronze); }
.solution-proof li { padding: 10px 0; color: var(--ink-2); }
.solution-proof .project-result { display: flex; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter { padding: 11px 18px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-2); font: 500 14px var(--sans); cursor: pointer; transition: all .25s; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.project-card.is-hidden { display: none; }
.project-card-lg .card-body { padding: 32px 34px 36px; }
.project-card-lg h2 { font-size: clamp(30px, 2.4vw, 40px); }

/* ---------- Forms ---------- */
.contact-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); padding: clamp(28px, 3.6vw, 56px); }
.form-card h2 { font-size: clamp(32px, 2.8vw, 44px); margin-bottom: 8px; }
.form-note { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--sans);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field select { appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A07A48' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--bronze-soft); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px var(--bronze-tint); background: var(--surface); }
.field [aria-invalid="true"] { border-color: var(--err); }
.hint { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.field { position: relative; }
.file-input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; }
.file-drop { display: flex !important; flex-direction: column; align-items: center; gap: 6px; padding: 26px; border: 1px dashed var(--line-strong); text-align: center; cursor: pointer; color: var(--ink-2); transition: border-color .2s, background-color .2s; }
.file-drop .ic { color: var(--bronze); }
.file-drop small { color: var(--muted); font-weight: 400; letter-spacing: 0; }
.file-drop:hover, .file-input:focus-visible + .file-drop, .file-drop.is-over { border-color: var(--bronze); background: var(--bronze-tint); }
.alert { margin-bottom: 22px; padding: 14px 18px; border-left: 3px solid; font-size: 14.5px; font-weight: 500; }
.alert.ok { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); }
.alert.error { background: var(--err-bg); border-color: var(--err); color: var(--err); }
.form-card .btn[disabled] { opacity: .65; cursor: progress; }

.contact-aside { display: grid; gap: 22px; }
.contact-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-info { margin: 0; border-top: 1px solid var(--line-strong); }
.contact-info div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-strong); }
.contact-info dt { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 14px; }
.contact-info dt .ic { color: var(--bronze); }
.contact-info dd { margin: 0; font-weight: 600; text-align: right; }
.contact-info a:hover { color: var(--bronze); }
.why-box, .times, .portal-box { padding: 28px; background: var(--surface); border: 1px solid var(--line); }
.why-box .check-list { margin: 0; font-size: 15px; }
.portal-box { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.portal-box h2 { color: var(--on-forest); font-size: 34px; margin-bottom: 12px; }
.portal-box .eyebrow { color: var(--bronze-soft); }
.portal-box p { color: var(--on-forest-muted); }
.times dl { margin: 0; }
.times dl div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.times dl div:last-child { border-bottom: 0; }
.times dt { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.times dd { margin: 0; color: var(--muted); }
.times p:last-child { margin: 0; }
.prio { width: 8px; height: 8px; border-radius: 50%; }
.prio-critical { background: #B23A2F; } .prio-high { background: #C9772F; } .prio-medium { background: var(--bronze); } .prio-low { background: #5D8B6E; }

.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(22px, 1.8vw, 28px); font-weight: 600; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--bronze); transition: transform .3s var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { margin: 0 0 26px; color: var(--ink-2); max-width: 60ch; }

/* ---------- Legal / 404 ---------- */
.legal { max-width: 860px; }
.legal h2 { font-size: clamp(28px, 2.4vw, 36px); margin: 48px 0 14px; }
.legal ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 10px; color: var(--ink-2); }
.legal a { color: var(--bronze); border-bottom: 1px solid currentColor; }
.notfound { min-height: 60vh; display: flex; align-items: center; }
.notfound h1 { max-width: 12em; margin-bottom: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: var(--on-forest-muted); padding: clamp(64px, 7vw, 104px) 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--forest-line); }
.footer-brand p { margin: 24px 0 28px; max-width: 26em; font-size: 15px; }
.footer-brand .brand-sub { color: var(--bronze-soft); }
.footer-brand .mark-d { stroke: var(--bronze-soft); }
.footer-head { margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-soft); }
.footer-col ul { display: grid; gap: 10px; margin-bottom: 30px; }
.footer-col a { font-size: 15px; transition: color .2s; }
.footer-col a:hover { color: var(--on-forest); }
.footer-contact li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.footer-contact .ic { color: var(--bronze-soft); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--on-forest); }

/* ---------- Cinematic hero (building photo, animated) ---------- */
.hero-cinema { color: #EFE8DA; min-height: min(92vh, 980px); background: #0A1613; }
.hero-cinema .hero-media { inset: -4% 0 -4% 0; will-change: transform; }
.hero-cinema .hero-media img { object-position: 30% 50%; animation: heroDrift 26s ease-in-out infinite alternate; transform-origin: 85% 45%; }
.hero-cinema .hero-title { max-width: 9.6em; font-size: clamp(44px, 5.4vw, 94px); }
.hero-cinema .hero-inner { max-width: none; }
.hero-cinema .hero-media::after {
  background:
    linear-gradient(90deg, rgba(8, 18, 15, .9) 0%, rgba(8, 18, 15, .72) 30%, rgba(8, 18, 15, .28) 52%, rgba(8, 18, 15, 0) 68%),
    linear-gradient(0deg, rgba(8, 18, 15, .7) 0%, rgba(8, 18, 15, 0) 32%),
    linear-gradient(180deg, rgba(8, 18, 15, .45) 0%, rgba(8, 18, 15, 0) 22%);
}
@keyframes heroDrift {
  0% { transform: scale(1.04) translate3d(0, 0, 0); }
  100% { transform: scale(1.14) translate3d(-1.6%, -1%, 0); }
}
.hero-cinema .hero-title { color: #F6F1E7; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-cinema .hero-title em { color: #D8BA8A; }
.hero-cinema .hero-lead { color: rgba(239, 232, 218, .82); }
.hero-cinema .eyebrow { color: #D8BA8A; }
.hero-cinema .hero-kicker span { color: rgba(239, 232, 218, .35); }
.hero-cinema .btn-primary { background: #A07A48; color: #fff; }
.hero-cinema .btn-primary:hover { background: #B88D55; }

/* slow light sweep across the glass */
.hero-sheen { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; mix-blend-mode: soft-light; }
.hero-sheen::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 34%; left: -40%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 214, 160, 0) 30%, rgba(255, 220, 170, .55) 50%, rgba(255, 214, 160, 0) 70%, transparent 100%);
  transform: skewX(-14deg); animation: sheen 11s ease-in-out 1.5s infinite;
}
@keyframes sheen { 0% { left: -40%; } 55%, 100% { left: 120%; } }

/* drifting warm light motes, like evening lamps through the trees */
.hero-lights { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-lights span {
  position: absolute; bottom: -20px; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 150, .95) 0%, rgba(255, 190, 110, .35) 45%, rgba(255, 190, 110, 0) 70%);
  opacity: 0; animation: mote 16s linear infinite;
}
.hero-lights span:nth-child(odd) { width: 10px; height: 10px; }
.hero-lights span:nth-child(1) { left: 48%; animation-delay: 0s; }
.hero-lights span:nth-child(2) { left: 56%; animation-delay: 2.2s; animation-duration: 19s; }
.hero-lights span:nth-child(3) { left: 62%; animation-delay: 4.1s; }
.hero-lights span:nth-child(4) { left: 68%; animation-delay: 1.3s; animation-duration: 21s; }
.hero-lights span:nth-child(5) { left: 74%; animation-delay: 6.5s; }
.hero-lights span:nth-child(6) { left: 80%; animation-delay: 3.4s; animation-duration: 18s; }
.hero-lights span:nth-child(7) { left: 86%; animation-delay: 8.2s; }
.hero-lights span:nth-child(8) { left: 91%; animation-delay: 5.1s; animation-duration: 22s; }
.hero-lights span:nth-child(9) { left: 52%; animation-delay: 9.6s; }
.hero-lights span:nth-child(10) { left: 65%; animation-delay: 11.3s; animation-duration: 20s; }
.hero-lights span:nth-child(11) { left: 77%; animation-delay: 12.8s; }
.hero-lights span:nth-child(12) { left: 95%; animation-delay: 7.4s; animation-duration: 17s; }
.hero-lights span:nth-child(13) { left: 40%; animation-delay: 13.9s; }
.hero-lights span:nth-child(14) { left: 71%; animation-delay: 10.2s; animation-duration: 23s; }
@keyframes mote {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  12% { opacity: .9; }
  70% { opacity: .55; }
  100% { transform: translate3d(-60px, -70vh, 0); opacity: 0; }
}

.btn-play { display: inline-flex; align-items: center; gap: 14px; padding: 0 6px; min-height: 52px; border: 0; background: none; color: #EFE8DA; font: 600 14px var(--sans); letter-spacing: .03em; cursor: pointer; text-align: left; }
.btn-play small { display: block; font-weight: 500; font-size: 12px; letter-spacing: .12em; color: rgba(239, 232, 218, .6); margin-top: 3px; }
.play-ring { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(239, 232, 218, .55); transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.play-ring::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(216, 186, 138, .7); animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.55); opacity: 0; } }
.play-ring svg { margin-left: 3px; }
.btn-play:hover .play-ring { background: #A07A48; border-color: #A07A48; transform: scale(1.05); }

.hero-scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(239, 232, 218, .5); border-radius: 14px; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: #D8BA8A; border-radius: 2px; animation: scrollcue 2.2s var(--ease) infinite; }
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Explainer video ---------- */
.video-wrap { position: relative; aspect-ratio: 16 / 9; background: #0A1613; box-shadow: var(--shadow); margin-bottom: 28px; }
.video-wrap-dark { margin-bottom: clamp(48px, 5vw, 80px); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8); border: 1px solid var(--forest-line); }
.kdo-video { display: block; width: 100%; height: 100%; object-fit: cover; background: #0A1613; }
.transcript { max-width: 900px; border-top: 1px solid var(--line-strong); }
.transcript summary { padding: 18px 0; cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; }
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary::before { content: "+"; display: inline-block; width: 22px; color: var(--bronze); }
.transcript[open] summary::before { content: "\2212"; }
.transcript p { color: var(--ink-2); margin: 0 0 12px; max-width: 72ch; }

.video-dialog { width: min(1280px, 94vw); max-width: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.video-dialog::backdrop { background: rgba(6, 14, 12, .88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.video-dialog[open] { animation: rise .45s var(--ease) both; }
.video-frame { aspect-ratio: 16 / 9; background: #000; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9); }
.video-close { position: absolute; right: 0; top: -54px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(239, 232, 218, .4); background: transparent; color: #EFE8DA; cursor: pointer; }
.video-close:hover { border-color: #EFE8DA; }

@media (max-width: 700px) {
  .hero-cinema { min-height: 88svh; }
  .hero-cinema .hero-media img { object-position: 70% 50%; }
  .hero-cinema .hero-media::after { background: linear-gradient(180deg, rgba(8, 18, 15, .55) 0%, rgba(8, 18, 15, .78) 45%, rgba(8, 18, 15, .9) 100%); }
  .hero-cinema .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-play { justify-content: center; }
  .hero-scroll { display: none; }
  .hero-lights span:nth-child(n+8) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-sheen, .hero-lights { display: none; }
}

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .header-cta { display: none; }
}
@media (max-width: 1080px) {
  .main-nav, .login-menu { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .header-row { min-height: 76px; }
  .header-actions { margin-left: auto; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--forest-line); }
  .project-grid, .quote-grid { grid-template-columns: 1fr 1fr; }
  .feature-row, .expertise, .why, .split, .split-media, .solution, .contact-layout, .case { grid-template-columns: 1fr; }
  .expertise-intro { position: static; }
  .reason-grid, .value-grid, .steps { grid-template-columns: 1fr 1fr; }
  .reason:nth-child(3), .value:nth-child(3), .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .reason:nth-child(n+3), .value:nth-child(n+3), .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps .step:nth-child(n+3) { border-top-color: var(--forest-line); }
  .value-grid-3 { grid-template-columns: 1fr; }
  .value-grid-3 .value { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .value-grid-3 .value:first-child { border-top: 0; }
  .industry-grid, .mini-grid { grid-template-columns: 1fr 1fr; }
  .cta-row { grid-template-columns: 1fr; gap: 20px; }
  .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row-media { order: 0; }
  .page-hero.has-image { display: block; min-height: 0; }
  .page-hero-media { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .page-hero-media::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(var(--hero-veil), 0) 30%); }
  .page-hero.has-image .page-hero-inner { padding: 8px 0 56px; }
  .page-hero.has-image .page-hero-inner > *, .page-hero.has-image h1 { max-width: none; }
  .stats-band .stats { grid-template-columns: 1fr 1fr; }
  .stats-band .stats div:nth-child(2) { border-right: 0; }
  .stats-band .stats div:nth-child(3) { padding-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .case-media { min-height: 280px; }
}
@media (max-width: 700px) {
  body { font-size: 15.5px; }
  .brand-name { font-size: 19px; letter-spacing: .16em; }
  .brand-sub { font-size: 9.5px; letter-spacing: .5em; }
  .mark { width: 38px; height: 38px; }
  .hero { min-height: auto; }
  .hero-media img { object-position: 78% 60%; }
  .hero:not(.hero-cinema) .hero-media::after { background: linear-gradient(180deg, rgba(var(--hero-veil), .92) 0%, rgba(var(--hero-veil), .86) 55%, rgba(var(--hero-veil), .55) 100%); }
  .hero-kicker { letter-spacing: .18em; font-size: 11px; }
  .hero-actions .btn { width: 100%; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-item, .trust-item:nth-child(3) { padding: 22px 0; border-left: 0; }
  .trust-item + .trust-item { border-top: 1px solid var(--forest-line); }
  .section-head { flex-direction: column; align-items: flex-start; }
  .service-grid, .project-grid, .quote-grid, .portfolio-grid, .industry-grid, .mini-grid, .field-grid, .capability-grid { grid-template-columns: 1fr; }
  .reason-grid, .value-grid, .steps { grid-template-columns: 1fr; }
  .reason, .value, .step, .reason + .reason, .value + .value, .step + .step { padding-left: 0; border-left: 0; }
  .reason + .reason, .value + .value { border-top: 1px solid var(--line); }
  .steps .step + .step { border-top: 1px solid var(--forest-line); }
  .stats div:nth-child(odd) { padding-right: 14px; }
  .stats div:nth-child(even) { padding-left: 16px; }
  .stats-band .stats div { padding: 26px 14px 26px 0; }
  .stats-band .stats div:nth-child(even) { padding-left: 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .contact-info div { flex-direction: column; gap: 4px; }
  .contact-info dd { text-align: left; }
  .mobile-links ul { grid-template-columns: 1fr; }
  .feature-list li { padding: 20px; }
}
