@layer reset, base, components, utilities;

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/montserrat-latin-ext-variable.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/montserrat-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scrollbar-gutter: stable; }
  body, h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
  ol, ul { padding: 0; list-style: none; }
  img { display: block; max-width: 100%; height: auto; }
  button, input, textarea, select { font: inherit; }
  a { color: inherit; }
}

@layer base {
  :root {
    --blue: #084b83;
    --blue-dark: #06365f;
    --blue-light: #6da7d6;
    --ink: #101b24;
    --ink-soft: #344552;
    --muted: #5b6973;
    --line: #d9e0e4;
    --paper: #ffffff;
    --sand: #f1f4f5;
    --warm: #e7e1d8;
    --page: #fdfdfc;
    --surface: #ffffff;
    --surface-raised: #ffffff;
    --text: #101b24;
    --header-bg: rgb(253 253 252 / .92);
    --technical: rgb(8 75 131 / .12);
    --button-text: #ffffff;
    --container: min(90vw, 94rem);
    --container-wide: min(94vw, 108rem);
    --container-media: min(96vw, 122rem);
    --reading: 46rem;
    --header: 5.25rem;
    --header-compact: 4.55rem;
    --space-1: .25rem;
    --space-2: .5rem;
    --space-3: .75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-24: 6rem;
    --space-32: 8rem;
    --section-space: clamp(4.25rem, 5.6vw, 6.5rem);
    --ease-premium: cubic-bezier(.22, 1, .36, 1);
    --motion-fast: 220ms;
    --motion-text: 620ms;
    --motion-image: 880ms;
    --shadow: 0 1.5rem 4rem rgb(16 27 36 / .12);
  }

  html { background: var(--page); }
  html[data-theme="dark"] {
    --blue: #63a9df;
    --blue-dark: #8fc5ec;
    --blue-light: #7db5dd;
    --ink-soft: #c8d4da;
    --muted: #9babb4;
    --line: #2b3b45;
    --paper: #111d25;
    --sand: #14232d;
    --warm: #26343d;
    --page: #0b151c;
    --surface: #111d25;
    --surface-raised: #172630;
    --text: #eef3f5;
    --header-bg: rgb(11 21 28 / .92);
    --technical: rgb(99 169 223 / .14);
    --button-text: #07121a;
    --shadow: 0 1.5rem 4rem rgb(0 0 0 / .34);
  }
  html, body { max-width: 100%; overflow-x: clip; }
  body { min-width: 20rem; color: var(--text); background: var(--page); font-family: 'Montserrat', Arial, sans-serif; font-size: 1rem; line-height: 1.68; -webkit-font-smoothing: antialiased; transition: color 220ms ease, background-color 220ms ease; }
  body.menu-open { overflow: hidden; }
  main { padding-top: var(--header); overflow: clip; }
  h1, h2, h3 { overflow-wrap: break-word; text-wrap: balance; letter-spacing: -.035em; line-height: 1.05; }
  h1 { font-size: clamp(2.65rem, 6vw, 6.15rem); font-weight: 650; }
  h2 { font-size: clamp(2rem, 3.35vw, 3.65rem); font-weight: 650; }
  h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 700; }
  p { text-wrap: pretty; }
  a { text-decoration-thickness: .08em; text-underline-offset: .22em; }
  address { font-style: normal; }
  ::selection { color: #fff; background: var(--blue); }
  :focus-visible { outline: .2rem solid #f0a44b; outline-offset: .2rem; }
  dialog::backdrop { background: rgb(4 12 19 / .92); }
}

@layer components {
  .container { width: min(calc(100% - 2.5rem), var(--container)); min-width: 0; margin-inline: auto; }
  .container--wide { width: min(calc(100% - 2.5rem), var(--container-wide)); }
  .container--media { width: min(calc(100% - 2.5rem), var(--container-media)); }
  .section { padding-block: var(--section-space); }
  .section--compact { padding-block: clamp(3.75rem, 5vw, 6rem); }
  .section--sand { background: var(--sand); }
  .section--ink { color: #fff; background: var(--ink); }
  .section--line { border-block: 1px solid var(--line); }
  .section--sand, .site-header, .page-hero, .service-hero, .company-hero, .contact-page, .cookie-banner, .cookie-dialog { transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease; }
  .section-code { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .18em; }
  .eyebrow { margin-bottom: var(--space-4); color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .2em; line-height: 1.3; text-transform: uppercase; }
  .eyebrow--light { color: #b9d6ee; }
  .lead { font-size: clamp(1.08rem, 1.5vw, 1.32rem); line-height: 1.55; }
  .section-heading { position: relative; max-width: 47rem; padding-bottom: 1.15rem; }
  .section-heading::after { content: ''; position: absolute; bottom: 0; left: 0; width: 4.25rem; height: 1px; background: var(--blue); transform: scaleX(.18); transform-origin: left; opacity: .35; transition: transform 760ms var(--ease-premium) var(--reveal-delay, 0ms), opacity 500ms ease var(--reveal-delay, 0ms); }
  .section-heading.is-visible::after { opacity: 1; transform: scaleX(1); }
  .section-heading h2 { margin-bottom: var(--space-6); }
  .section-heading > p:last-child { max-width: 42rem; color: var(--muted); font-size: 1.1rem; }
  .section--ink .section-heading > p:last-child { color: #b9c6ce; }
  .split-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-12); margin-bottom: var(--space-16); }
  .split-heading--projects { display: block; margin-bottom: clamp(2rem, 3vw, 2.75rem); }
  .split-heading--projects > div { max-width: 48rem; }
  .home-projects__all { margin-top: 1.4rem; }

  .skip-link { position: fixed; z-index: 1000; top: 1rem; left: 1rem; padding: .7rem 1rem; color: #fff; background: var(--ink); transform: translateY(-200%); }
  .skip-link:focus { transform: translateY(0); }
  .site-header { --header-current: var(--header); position: fixed; z-index: 100; top: 0; right: 0; left: 0; height: var(--header-current); isolation: isolate; background: var(--header-bg); border-bottom: 1px solid var(--line); backdrop-filter: blur(1rem); transition: height var(--motion-fast) var(--ease-premium), box-shadow var(--motion-fast) ease, background var(--motion-fast) ease; }
  .site-header::before { content: ''; position: absolute; inset: 0 auto 0 0; width: .22rem; background: var(--blue); }
  .site-header.is-scrolled { --header-current: var(--header-compact); background: color-mix(in srgb, var(--surface) 97%, transparent); box-shadow: 0 .55rem 2rem rgb(4 17 26 / .10); }
  .header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem; width: min(calc(100% - 2rem), var(--container-wide)); min-width: 0; height: 100%; margin-inline: auto; }
  .brand { display: inline-flex; align-items: center; width: 9.35rem; height: min(4.45rem, calc(var(--header-current) - .45rem)); overflow: hidden; text-decoration: none; transition: width var(--motion-fast) var(--ease-premium), height var(--motion-fast) var(--ease-premium); }
  .brand-logo { width: 9.35rem; height: 4.15rem; object-fit: contain; transition: transform var(--motion-fast) var(--ease-premium); }
  .site-header.is-scrolled .brand-logo { transform: scale(.91); transform-origin: left center; }
  .site-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(.9rem, 1.65vw, 1.9rem); }
  .site-nav > a:not(.button) { position: relative; padding-block: 1.65rem; color: var(--ink-soft); font-size: .9rem; font-weight: 700; text-decoration: none; }
  .site-nav > a:not(.button)::after { content: ''; position: absolute; right: 0; bottom: 1.25rem; left: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .22s ease; }
  .site-nav > a:hover::after, .site-nav > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
  .site-nav > a[aria-current="page"] { color: var(--blue); }
  .menu-toggle { display: none; }
  .ui-icon { display: block; width: 1em; height: 1em; flex: 0 0 auto; fill: none; stroke: currentcolor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .theme-toggle { position: relative; display: grid; width: 2.85rem; height: 2.85rem; place-items: center; padding: 0; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; transition: color var(--motion-fast), border-color var(--motion-fast), transform var(--motion-fast) var(--ease-premium); }
  .theme-toggle:hover { color: var(--blue); border-color: var(--blue); transform: rotate(8deg); }
  .theme-toggle__icon { position: absolute; width: 1.18rem; height: 1.18rem; display: grid; place-items: center; line-height: 1; transition: opacity var(--motion-fast), transform var(--motion-fast) var(--ease-premium); }
  .theme-toggle__icon .ui-icon { width: 100%; height: 100%; }
  .theme-toggle__icon--moon, .theme-toggle[aria-pressed="true"] .theme-toggle__icon--sun { opacity: 0; transform: rotate(-30deg) scale(.65); }
  .theme-toggle[aria-pressed="true"] .theme-toggle__icon--moon { opacity: 1; transform: none; }

  .button { display: inline-flex; min-height: 3.15rem; align-items: center; justify-content: center; padding: .8rem 1.35rem; color: var(--button-text); background: var(--blue); border: 1px solid var(--blue); border-radius: .12rem; font-size: .88rem; font-weight: 700; line-height: 1; text-align: center; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
  .button:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); }
  .button--small { min-height: 2.85rem; padding-inline: 1.15rem; font-size: .8rem; }
  .button--ghost { color: #fff; background: transparent; border-color: rgb(255 255 255 / .6); }
  .button--ghost:hover { color: var(--ink); background: #fff; border-color: #fff; }
  .button--outline { color: var(--blue); background: transparent; }
  .button--outline:hover { color: #fff; }
  .button--light { color: var(--ink); background: #fff; border-color: #fff; }
  .button--light:hover { color: #fff; background: transparent; border-color: #fff; }
  .button__icon { width: 1rem; height: 1rem; display: grid; place-items: center; margin-left: .55rem; }
  .button__icon .ui-icon { width: 100%; height: 100%; }
  .text-link { display: inline-flex; align-items: center; gap: .75rem; color: var(--blue); font-size: .86rem; font-weight: 700; text-decoration: none; }
  .text-link span:first-child { border-bottom: 1px solid currentcolor; }
  .text-link span:last-child { transition: transform .2s ease; }
  .text-link__icon { width: .95rem; height: .95rem; display: grid; place-items: center; }
  .text-link__icon .ui-icon { width: 100%; height: 100%; }
  .text-link:hover span:last-child { transform: translate(.2rem, -.2rem); }

  .breadcrumb { margin-bottom: clamp(1.5rem, 2.4vw, 2.5rem); }
  .breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; color: var(--muted); font-size: .78rem; }
  .breadcrumb li:not(:last-child)::after { content: '/'; margin-left: .5rem; opacity: .55; }
  .breadcrumb a { text-decoration: none; }
  .case-hero .breadcrumb, .study-hero .breadcrumb { color: rgb(255 255 255 / .7); }

  .home-hero { position: relative; min-height: min(54rem, calc(100dvh - var(--header))); display: grid; align-items: end; isolation: isolate; overflow: clip; color: #fff; background: var(--ink); }
  .home-hero__image, .home-hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
  .home-hero__image { object-fit: cover; object-position: center 48%; transform: scale(1.045) translateY(var(--parallax, 0)); will-change: transform; }
  .home-hero__shade { background: linear-gradient(90deg, rgb(7 22 34 / .94) 0%, rgb(7 28 43 / .82) 45%, rgb(7 28 43 / .2) 78%), linear-gradient(0deg, rgb(7 22 34 / .45), transparent 45%); }
  .home-hero__content { position: relative; z-index: 3; padding-block: clamp(5rem, 10vw, 8rem); }
  .hero-copy { width: 100%; max-width: 61rem; min-width: 0; }
  .hero-copy h1 { max-width: 58rem; margin-bottom: var(--space-8); font-size: clamp(2.8rem, 5.7vw, 5.85rem); }
  .hero-copy > p:not(.eyebrow) { max-width: 43rem; color: #e1e8ed; font-size: clamp(1.05rem, 1.7vw, 1.35rem); }
  .hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--space-8); }
  .hero-index { position: absolute; z-index: 3; right: max(1rem, calc((100vw - var(--container)) / 2)); bottom: 2rem; display: flex; flex-direction: column; align-items: flex-end; color: rgb(255 255 255 / .67); font-size: .64rem; letter-spacing: .16em; }
  .hero-index span:first-child { color: #fff; font-size: 1rem; font-weight: 700; }
  .hero-particles { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; pointer-events: none; }
  .hero-arc { position: absolute; z-index: 1; top: 10%; right: -6vw; width: min(38vw, 42rem); aspect-ratio: 1; border: 1px solid rgb(145 196 231 / .19); border-radius: 50%; pointer-events: none; }
  .hero-arc::before, .hero-arc::after { content: ''; position: absolute; border: 1px solid rgb(145 196 231 / .1); border-radius: 50%; }
  .hero-arc::before { inset: 15%; }
  .hero-arc::after { inset: 32%; }
  .title-mask { overflow: clip; }
  .js [data-hero-sequence] > .eyebrow,
  .js [data-hero-sequence] > .title-mask h1,
  .js [data-hero-sequence] > p,
  .js [data-hero-sequence] > .hero-actions { opacity: 0; transform: translateY(1.5rem); }
  .js.hero-ready [data-hero-sequence] > .eyebrow,
  .js.hero-ready [data-hero-sequence] > .title-mask h1,
  .js.hero-ready [data-hero-sequence] > p,
  .js.hero-ready [data-hero-sequence] > .hero-actions { opacity: 1; transform: none; transition: opacity var(--motion-text) ease, transform var(--motion-text) var(--ease-premium); }
  .js [data-hero-sequence] > .title-mask h1 { transform: translateY(105%); }
  .js.hero-ready [data-hero-sequence] > .title-mask h1 { transition-duration: 760ms; transition-delay: 80ms; }
  .js.hero-ready [data-hero-sequence] > p { transition-delay: 180ms; }
  .js.hero-ready [data-hero-sequence] > .hero-actions { transition-delay: 270ms; }

  .js [data-page-sequence] > * { opacity: 0; transform: translateY(1.5rem); }
  .js.hero-ready [data-page-sequence] > * { opacity: 1; transform: none; transition: opacity var(--motion-text) ease, transform 760ms var(--ease-premium); }
  .js.hero-ready [data-page-sequence] > *:nth-child(2) { transition-delay: 100ms; }
  .js.hero-ready [data-page-sequence] > *:nth-child(3) { transition-delay: 180ms; }
  .js.hero-ready [data-page-sequence] > *:nth-child(4) { transition-delay: 240ms; }

  .proof-strip { border-bottom: 1px solid var(--line); background: var(--surface); }
  .proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
  .proof-grid > div { position: relative; display: flex; min-height: 5.25rem; flex-direction: column; justify-content: center; padding: .7rem 1.4rem; border-left: 1px solid var(--line); transition: background var(--motion-fast), transform var(--motion-fast) var(--ease-premium); }
  .proof-grid > div::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform var(--motion-fast) var(--ease-premium); }
  .proof-grid > div:hover { background: var(--sand); transform: translateY(-.15rem); }
  .proof-grid > div:hover::after { transform: scaleX(1); }
  .proof-grid > div:last-child { border-right: 1px solid var(--line); }
  .proof-grid strong { color: var(--blue); font-size: .82rem; letter-spacing: .04em; line-height: 1.35; text-transform: uppercase; }
  .proof-grid span { margin-top: .15rem; color: var(--muted); font-size: .78rem; line-height: 1.4; }
  .proof-strip + .section { padding-top: clamp(3rem, 4vw, 4.5rem); }

  .expertise-list { border-top: 1px solid var(--ink); }
  .expertise-row { position: relative; display: grid; grid-template-columns: 4rem minmax(0, 1fr) auto; align-items: center; gap: var(--space-8); margin-inline: -.9rem; padding: 2.35rem .9rem; border-bottom: 1px solid var(--line); transition: background var(--motion-fast) ease, padding-left var(--motion-fast) var(--ease-premium); }
  .expertise-row::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform var(--motion-fast) var(--ease-premium); }
  .expertise-row:hover { padding-left: 1.25rem; background: color-mix(in srgb, var(--sand) 70%, transparent); }
  .expertise-row:hover::before { transform: scaleY(1); }
  .expertise-row > span { align-self: start; color: var(--blue); font-size: .72rem; font-weight: 700; }
  .expertise-row h3 { margin-bottom: .7rem; font-size: clamp(1.55rem, 3vw, 2.7rem); }
  .expertise-row p { max-width: 49rem; color: var(--muted); }

  .home-immersion { position: relative; display: grid; grid-template-columns: minmax(0, 1.58fr) minmax(23rem, .72fr); height: clamp(29rem, 34vw, 33rem); isolation: isolate; overflow: clip; background: var(--ink); }
  .home-immersion__wide, .home-immersion__portrait { min-width: 0; overflow: clip; }
  .home-immersion img { width: 100%; height: 100%; object-fit: cover; }
  .home-immersion__wide img { object-position: center 44%; }
  .home-immersion__aside { display: grid; min-width: 0; grid-template-rows: minmax(0, 1fr) auto; border-left: 1px solid rgb(255 255 255 / .26); }
  .home-immersion__portrait { position: relative; min-height: 0; }
  .home-immersion__portrait img { object-position: 50% 31%; }
  .home-immersion__portrait figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: .85rem 1rem; color: #dbe6ec; background: linear-gradient(transparent, rgb(5 19 30 / .92)); font-size: .75rem; }
  .home-immersion__editorial { padding: 1.35rem 1.5rem 1.45rem; color: #fff; background: #0a1b27; border-top: 1px solid rgb(255 255 255 / .18); }
  .home-immersion__editorial .eyebrow { margin-bottom: .55rem; }
  .home-immersion__editorial h2 { margin-bottom: .6rem; font-size: clamp(1.45rem, 2.2vw, 2rem); }
  .home-immersion__editorial > p:not(.eyebrow) { max-width: 34rem; margin-bottom: .9rem; color: #b9c8d1; font-size: .86rem; line-height: 1.55; }
  .home-immersion__editorial .text-link { color: #dcebf6; }

  .study-feature { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(3rem, 6vw, 6.5rem); }
  .study-feature__copy { position: sticky; top: calc(var(--header) + 3rem); align-self: start; }
  .study-feature__copy h2 { margin-bottom: var(--space-6); }
  .study-feature__copy > p:not(.eyebrow) { margin-bottom: var(--space-8); color: #b9c6ce; font-size: 1.1rem; }
  .section--ink .text-link { color: #fff; }
  .study-steps { border-top: 1px solid rgb(255 255 255 / .24); }
  .study-steps li { display: grid; grid-template-columns: 3rem 10rem 1fr; gap: 1rem; padding-block: 1.65rem; border-bottom: 1px solid rgb(255 255 255 / .2); }
  .study-steps span { color: var(--blue-light); font-size: .75rem; }
  .study-steps strong { font-size: 1.05rem; }
  .study-steps p { color: #aebcc5; font-size: .9rem; }

  .project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: clamp(2.5rem, 4vw, 4rem) clamp(1.5rem, 2.5vw, 2.5rem); }
  .project-card { display: flex; min-width: 0; flex-direction: column; padding-bottom: 1.45rem; border-bottom: 1px solid var(--line); }
  .project-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(22rem, .92fr); min-height: clamp(26rem, 30vw, 32rem); padding-bottom: 0; border-bottom: 1px solid var(--line); }
  .project-card__image { display: block; overflow: hidden; background: var(--sand); }
  .project-card__image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
  .project-card__image:hover img { transform: scale(1.018); }
  .project-card__body { display: flex; min-height: 0; flex: 1; flex-direction: column; padding: 1.35rem 0 0; }
  .project-card--featured .project-card__body { display: flex; flex-direction: column; justify-content: center; padding: 2rem clamp(2rem, 5vw, 4.5rem); }
  .project-card__meta { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; color: var(--blue); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .project-card h3 { min-height: 2.45em; margin-bottom: .75rem; }
  .project-card--featured h3 { min-height: 0; }
  .project-card h3 a { text-decoration: none; }
  .project-card__description { flex: 1; margin-bottom: 1.1rem; color: var(--muted); font-size: .93rem; }
  .project-card .text-link { align-self: flex-start; margin-top: auto; }

  .audiences { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 6vw, 6.5rem); }
  .audiences ul { border-top: 1px solid var(--ink); }
  .audiences li { display: grid; grid-template-columns: 3.2rem 1fr; padding-block: 1.1rem; border-bottom: 1px solid var(--line); font-size: clamp(1.05rem, 2vw, 1.45rem); font-weight: 700; }
  .audiences li span { color: var(--blue); font-size: .75rem; font-weight: 700; }
  .audiences--dark ul { border-color: rgb(255 255 255 / .4); }
  .audiences--dark li { border-color: rgb(255 255 255 / .18); }

  .home-company__grid { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: clamp(2.5rem, 6vw, 7rem); }
  .home-company__image { overflow: clip; }
  .home-company__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform var(--motion-image) var(--ease-premium); }
  .home-company__image:hover img { transform: scale(1.018); }
  .home-company__copy h2 { margin-bottom: 1.25rem; }
  .home-company__copy > p:not(.eyebrow) { margin-bottom: 1.5rem; color: var(--muted); }


  .page-hero { position: relative; isolation: isolate; padding-block: clamp(3rem, 4.6vw, 4.8rem); overflow: clip; background: var(--sand); border-bottom: 1px solid var(--line); }
  .page-hero::before { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: max(1rem, calc((100vw - min(100% - 2rem, var(--container))) / 2)); width: 1px; background: color-mix(in srgb, var(--blue) 24%, transparent); }
  .page-hero__grid { display: grid; grid-template-columns: 1.05fr .55fr .62fr; align-items: end; gap: clamp(2rem, 4vw, 5rem); }
  .page-hero h1 { max-width: 49rem; font-size: clamp(3.5rem, 5.2vw, 5.15rem); }
  .page-hero__intro { align-self: center; }
  .page-hero__intro p { margin-bottom: 1.5rem; color: var(--muted); font-size: 1.04rem; }
  .page-hero__intro span { color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
  .page-hero__visual { position: relative; align-self: stretch; min-height: 20rem; overflow: clip; }
  .page-hero__visual::before { content: ''; position: absolute; z-index: 1; inset: 1rem 1rem auto auto; width: 35%; height: 35%; border-top: 1px solid #fff; border-right: 1px solid #fff; }
  .page-hero__visual img { width: 100%; height: 100%; object-fit: cover; }

  .expertise-catalog { display: grid; gap: clamp(3.5rem, 5vw, 5.25rem); }
  .catalog-item { position: relative; display: grid; grid-template-columns: 1.08fr .72fr; align-items: center; gap: clamp(2rem, 4.5vw, 5rem); }
  .catalog-item::after { content: ''; position: absolute; right: 0; bottom: -2.2rem; left: 0; height: 1px; background: linear-gradient(90deg, var(--line), transparent 86%); }
  .catalog-item:last-child::after { display: none; }
  .catalog-item:nth-child(even) > a { order: 2; }
  .catalog-item > a { position: relative; overflow: hidden; }
  .catalog-item > a > span { position: absolute; right: 1rem; bottom: .6rem; color: rgb(255 255 255 / .78); font-size: clamp(3.5rem, 7vw, 7rem); font-weight: 700; line-height: 1; text-shadow: 0 .2rem 1rem rgb(0 0 0 / .25); }
  .catalog-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
  .catalog-item > a:hover img { transform: scale(1.018); }
  .catalog-item h2 { margin-bottom: 1.2rem; font-size: clamp(2rem, 3.6vw, 3.6rem); }
  .catalog-item h2 a { text-decoration: none; }
  .catalog-item p:not(.eyebrow) { margin-bottom: 1.6rem; color: var(--muted); }

  .service-hero { position: relative; isolation: isolate; padding-block: clamp(2.4rem, 3.8vw, 3.8rem); overflow: clip; background: var(--sand); }
  .service-hero .breadcrumb { margin-bottom: clamp(1.5rem, 2.2vw, 2.25rem); }
  .service-hero__grid { display: grid; grid-template-columns: minmax(24rem, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(3rem, 5vw, 5.5rem); }
  .service-hero__content { align-self: center; max-width: 42rem; padding-block: 1rem; }
  .service-hero h1 { margin-bottom: 1.25rem; font-size: clamp(3.2rem, 5vw, 4.9rem); }
  .service-hero .lead { max-width: 38rem; margin-bottom: 1.75rem; color: var(--ink-soft); }
  .service-hero__media { position: relative; height: clamp(22.5rem, 31vw, 30rem); overflow: clip; }
  .service-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--image-focus, 50% 50%); }
  .service-hero figcaption { position: absolute; right: 0; bottom: 0; padding: .55rem .75rem; color: #fff; background: rgb(16 27 36 / .82); font-size: .72rem; }
  .service-intro { display: grid; grid-template-columns: 1.05fr .7fr; gap: clamp(3rem, 6vw, 6.5rem); }
  .service-intro__statement h2 { font-size: clamp(2.1rem, 3.5vw, 3.55rem); }
  .service-intro__list { padding-top: .2rem; }
  .service-intro__list h3 { margin-bottom: 1.5rem; font-size: 1rem; letter-spacing: 0; }
  .service-intro__list li { padding-block: .8rem; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
  .service-intro__list li:first-child { border-top: 1px solid var(--ink); }
  .benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
  .benefit { min-height: 19rem; padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--paper); transition: transform var(--motion-fast) var(--ease-premium), background var(--motion-fast) ease; }
  .benefit:hover { z-index: 1; background: color-mix(in srgb, var(--paper) 86%, var(--sand)); transform: translateY(-.35rem); }
  .benefit span { display: block; margin-bottom: 4rem; color: var(--blue); font-size: .75rem; font-weight: 700; }
  .benefit h3 { margin-bottom: 1rem; }
  .benefit p { color: var(--muted); }
  .project-callout { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
  .project-callout img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
  .project-callout h2 { margin-bottom: 1.2rem; }
  .project-callout p:not(.eyebrow) { margin-bottom: 1.5rem; color: var(--muted); }

  .study-hero { position: relative; isolation: isolate; padding-block: clamp(3.6rem, 5vw, 5.5rem); overflow: clip; color: #fff; background: var(--ink); }
  .study-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .42fr); align-items: center; gap: clamp(3rem, 6vw, 6rem); }
  .study-hero h1 { max-width: 60rem; margin-bottom: 1.5rem; }
  .study-hero__grid > div:first-child > p:last-child { max-width: 43rem; color: #c3cfd7; font-size: 1.08rem; }
  .study-hero__signal { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .9rem 1.1rem; padding: 1.35rem 0 1.35rem 1.35rem; border-left: 1px solid rgb(109 167 214 / .42); }
  .study-hero__signal span { color: #fff; font-size: clamp(1.65rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.04em; }
  .study-hero__signal i { height: 1px; background: rgb(255 255 255 / .34); }
  .study-hero__signal small, .study-hero__signal b { grid-column: 1 / -1; }
  .study-hero__signal small { color: var(--blue-light); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
  .study-hero__signal b { color: #b9c8d1; font-size: .8rem; font-weight: 500; letter-spacing: .03em; }
  .study-deliverables { display: grid; grid-template-columns: 1fr .72fr; gap: clamp(3rem, 7vw, 7rem); }
  .technical-note { align-self: end; padding: 1.5rem; border: 1px solid var(--line); }
  .technical-note span { display: block; margin-bottom: 2rem; color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
  .technical-note p { color: var(--muted); }
  .process-section { background: var(--surface); }
  .process-layout { position: relative; display: grid; grid-template-columns: minmax(18rem, .55fr) 1fr; gap: clamp(3rem, 8vw, 9rem); }
  .process-aside { position: sticky; top: calc(var(--header-compact) + 2rem); align-self: start; }
  .process-aside h2 { margin-bottom: 1.25rem; }
  .process-aside > p:last-of-type { max-width: 32rem; color: var(--muted); }
  .process-rail { position: relative; width: 3px; height: clamp(8rem, 18vh, 13rem); margin-top: 2.5rem; overflow: hidden; background: var(--line); }
  .process-rail i { display: block; width: 100%; height: 100%; background: var(--blue); transform: scaleY(var(--process-progress, 0)); transform-origin: top; transition: transform 80ms linear; }
  .process-timeline { border-top: 1px solid var(--line); }
  .process-timeline li { position: relative; display: grid; grid-template-columns: 5rem 1fr; align-items: start; gap: 1.5rem; min-height: 11rem; margin-inline: -1rem; padding: 2.35rem 1rem; border-bottom: 1px solid var(--line); opacity: .42; transition: opacity var(--motion-text) ease, transform var(--motion-text) var(--ease-premium), border-color var(--motion-fast), background var(--motion-fast) ease; }
  .process-timeline li.is-past { opacity: .68; }
  .process-timeline li.is-active { opacity: 1; background: color-mix(in srgb, var(--sand) 68%, transparent); border-color: var(--blue); transform: translateX(.7rem); }
  .process-timeline span { display: grid; width: 3rem; height: 3rem; place-items: center; color: var(--blue); border: 1px solid var(--line); border-radius: 50%; font-size: .75rem; font-weight: 700; transition: color var(--motion-fast), background var(--motion-fast), border-color var(--motion-fast), transform var(--motion-fast) var(--ease-premium); }
  .process-timeline li.is-active span { color: var(--button-text); background: var(--blue); border-color: var(--blue); transform: scale(1.08); }
  .process-timeline h3 { margin-bottom: .75rem; font-size: clamp(1.75rem, 3vw, 2.75rem); }
  .process-timeline p { max-width: 38rem; color: var(--muted); font-size: 1rem; }
  .study-deliverables ul { border-top: 1px solid var(--ink); }
  .study-deliverables li { padding: 1rem 0; border-bottom: 1px solid var(--line); font-weight: 700; }

  .case-hero { position: relative; min-height: clamp(35rem, 64dvh, 42rem); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; overflow: clip; color: #fff; background: var(--ink); }
  .case-hero > img, .case-hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
  .case-hero > img { z-index: 0; object-fit: cover; object-position: var(--image-focus, 50% 50%); transform: scale(1.035) translateY(var(--parallax, 0)); will-change: transform; }
  .case-hero__shade { z-index: 1; background: linear-gradient(0deg, rgb(5 19 30 / .94) 0%, rgb(5 19 30 / .43) 62%, rgb(5 19 30 / .18)); }
  .case-hero__content { position: relative; z-index: 2; padding-block: 2.75rem clamp(2.75rem, 6vw, 4.75rem); }
  .case-hero .breadcrumb { margin-bottom: clamp(2.25rem, 5vw, 4rem); }
  .case-hero h1 { max-width: 65rem; margin-bottom: 1.4rem; }
  .case-hero__content > p:last-child { max-width: 48rem; color: #e1e7eb; font-size: 1.1rem; }
  .case-facts { border-bottom: 1px solid var(--line); }
  .case-facts dl { display: grid; grid-template-columns: repeat(4, 1fr); }
  .case-facts dl > div { padding: 2rem 1.5rem; border-left: 1px solid var(--line); }
  .case-facts dl > div:last-child { border-right: 1px solid var(--line); }
  .case-facts dt { margin-bottom: .35rem; color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
  .case-facts dd { font-size: .95rem; font-weight: 700; }
  .case-story { display: grid; grid-template-columns: .65fr 1fr; gap: clamp(3rem, 6vw, 7rem); }
  .case-story h2 { font-size: clamp(2rem, 4vw, 4rem); }
  .case-story > div:last-child > p { margin-bottom: 2.5rem; color: var(--ink-soft); font-size: 1.12rem; }
  .case-story h3 { margin-bottom: 1rem; font-size: 1rem; letter-spacing: 0; }
  .case-story li { padding-block: .7rem; border-bottom: 1px solid var(--line); }
  .galleries { padding-bottom: clamp(1.75rem, 2.5vw, 2.75rem); }
  /* CSP-safe image focal points. Keep focal values in external CSS so Cloudflare's
     style-src 'self' policy does not discard layout-critical inline styles. */
  .image-focus--50-28 { --image-focus: 50% 28%; }
  .image-focus--50-44 { --image-focus: 50% 44%; }
  .image-focus--50-46 { --image-focus: 50% 46%; }
  .image-focus--50-47 { --image-focus: 50% 47%; }
  .image-focus--50-48 { --image-focus: 50% 48%; }
  .image-focus--50-50 { --image-focus: 50% 50%; }
  .image-focus--50-52 { --image-focus: 50% 52%; }

  .gallery-group + .gallery-group { margin-top: clamp(3rem, 4vw, 4rem); }
  .gallery-group__heading { display: grid; grid-template-columns: minmax(0, .8fr) minmax(18rem, .55fr); align-items: end; gap: clamp(1.5rem, 4vw, 3rem); margin-bottom: 1.5rem; padding-bottom: 1.15rem; border-bottom: 1px solid var(--ink); }
  .gallery-group__heading h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
  .gallery-group__heading p { color: var(--muted); }
  .gallery-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: row; gap: .8rem; }
  .gallery-item { position: relative; grid-column: span 12; min-width: 0; padding: 0; overflow: hidden; color: #fff; background: var(--ink); border: 0; cursor: zoom-in; }
  .gallery-item--span-4 { grid-column: span 4; }
  .gallery-item--span-5 { grid-column: span 5; }
  .gallery-item--span-7 { grid-column: span 7; }
  .gallery-item--span-12 { grid-column: span 12; }
  .gallery-item img { width: 100%; height: 100%; min-height: clamp(18rem, 24vw, 25rem); aspect-ratio: 16 / 10; object-fit: cover; transition: opacity .25s ease, transform .45s ease; }
  .gallery-item:hover img { opacity: .82; transform: scale(1.012); }
  .gallery-item span { position: absolute; right: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .65rem; background: rgb(5 19 30 / .84); font-size: .7rem; }
  .gallery-item span .ui-icon { width: .8rem; height: .8rem; }
  .lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; color: #fff; background: #07121b; border: 0; }
  .lightbox__bar { display: flex; height: 4.5rem; align-items: center; justify-content: space-between; padding-inline: 1.25rem; border-bottom: 1px solid rgb(255 255 255 / .16); }
  .lightbox__bar p { display: flex; gap: 1rem; align-items: baseline; }
  .lightbox__bar span { color: #8ba0ae; font-size: .75rem; }
  .lightbox__bar button { min-width: 3.5rem; min-height: 2.75rem; color: #fff; background: transparent; border: 1px solid rgb(255 255 255 / .35); cursor: pointer; }
  .lightbox__stage { display: grid; grid-template-columns: 4.5rem 1fr 4.5rem; align-items: center; height: calc(100dvh - 4.5rem); }
  .lightbox__stage figure { display: grid; min-width: 0; max-height: 100%; place-items: center; }
  .lightbox__stage img { max-width: 100%; max-height: calc(100dvh - 9rem); object-fit: contain; }
  .lightbox__stage figcaption { margin-top: .75rem; color: #b6c1c8; font-size: .8rem; text-align: center; }
  .lightbox__nav { width: 3.25rem; height: 3.25rem; display: grid; place-items: center; margin: auto; padding: 0; color: #fff; background: transparent; border: 1px solid rgb(255 255 255 / .35); cursor: pointer; }
  .lightbox__nav .ui-icon { width: 1.2rem; height: 1.2rem; }

  .company-hero { padding-block: clamp(3rem, 7vw, 7rem); background: var(--sand); }
  .company-hero__grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: end; gap: clamp(3rem, 8vw, 8rem); }
  .company-hero h1 { margin-bottom: 1.5rem; font-size: clamp(3rem, 4.9vw, 5rem); }
  .company-hero__grid > div > p:last-child { max-width: 39rem; color: var(--muted); font-size: 1.1rem; }
  .company-hero img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
  .company-position { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 6vw, 7rem); }
  .company-principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
  .company-principles article { position: relative; padding: 1.5rem 1rem; border-right: 1px solid var(--line); transition: background var(--motion-fast) ease, transform var(--motion-fast) var(--ease-premium); }
  .company-principles article:hover { background: var(--sand); transform: translateY(-.25rem); }
  .company-principles article:first-child { border-left: 1px solid var(--line); }
  .company-principles span { display: block; margin-bottom: 3.25rem; color: var(--blue); font-size: .75rem; font-weight: 700; }
  .company-principles h3 { margin-bottom: 1rem; }
  .company-principles p { color: var(--muted); font-size: .88rem; }
  .method-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 6vw, 6.5rem); }
  .method-grid ol { border-top: 1px solid var(--ink); }
  .method-grid li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
  .method-grid li > span { color: var(--blue); font-size: .75rem; font-weight: 700; }
  .method-grid strong { display: block; margin-bottom: .2rem; }
  .method-grid p { color: var(--muted); font-size: .88rem; }

  .contact-page { position: relative; isolation: isolate; padding-block: clamp(3.5rem, 6vw, 6rem); overflow: clip; }
  .contact-page::before { content: ''; position: absolute; z-index: -1; top: 8%; left: -10rem; width: 26rem; height: 26rem; border: 1px solid var(--technical); border-radius: 50%; }
  .contact-page__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(28rem, .8fr); align-items: center; gap: clamp(3rem, 6vw, 7rem); }
  .contact-page__intro h1 { max-width: 51rem; margin-bottom: 1.7rem; font-size: clamp(3.6rem, 5vw, 5rem); }
  .contact-page__intro > p:not(.eyebrow) { max-width: 44rem; color: var(--muted); font-size: 1.1rem; }
  .contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
  .contact-page__side { position: relative; display: grid; grid-template-columns: 1fr; padding-bottom: 5rem; }
  .contact-visual { min-height: 24rem; overflow: clip; }
  .contact-visual img { width: 100%; height: 100%; min-height: 24rem; object-fit: cover; }
  .contact-visual figcaption { position: absolute; top: .8rem; right: .8rem; padding: .35rem .55rem; color: #fff; background: rgb(5 19 30 / .76); font-size: .72rem; }
  .contact-card { position: relative; z-index: 1; width: calc(100% - 4rem); margin: -3rem 0 0 4rem; padding: clamp(1.5rem, 3vw, 2.5rem); color: #fff; background: var(--ink); }
  .contact-card h2 { margin-bottom: 2rem; font-size: 1.5rem; }
  .contact-card address { margin-bottom: 2.5rem; color: #c2cdd4; }
  .contact-card address strong { color: #fff; }
  .contact-card dl { border-top: 1px solid rgb(255 255 255 / .2); }
  .contact-card dl > div { padding-block: 1rem; border-bottom: 1px solid rgb(255 255 255 / .2); }
  .contact-card dt { color: #8da1ae; font-size: .75rem; font-weight: 700; text-transform: uppercase; }
  .contact-card dd a { color: #fff; }
  .request-guide { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 6vw, 6.5rem); }
  .request-guide ol { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
  .request-guide li { position: relative; min-height: 13rem; display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background var(--motion-fast) ease, transform var(--motion-fast) var(--ease-premium); }
  .request-guide li:hover { z-index: 1; background: var(--surface); transform: translateY(-.25rem); }
  .request-guide li > span { color: var(--blue); font-size: .75rem; font-weight: 700; }
  .request-guide h3 { margin-bottom: .7rem; font-size: 1.25rem; }
  .request-guide li p { color: var(--muted); font-size: .88rem; }

  .legal-hero { padding-block: clamp(4rem, 8vw, 7rem); background: var(--sand); border-bottom: 1px solid var(--line); }
  .legal-hero h1 { font-size: clamp(3rem, 7vw, 6rem); }
  .legal-layout { display: grid; grid-template-columns: .36fr 1fr; gap: clamp(3rem, 8vw, 8rem); }
  .legal-layout aside { color: var(--muted); font-size: .8rem; }
  .legal-content { max-width: var(--reading); }
  .legal-content h2 { margin: 3rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: clamp(1.45rem, 2.4vw, 2rem); }
  .legal-content h2:first-child { margin-top: 0; }
  .legal-content p { color: var(--ink-soft); }
  .legal-content a { color: var(--blue); }

  .not-found { min-height: 70dvh; display: grid; align-items: center; padding-block: 5rem; background: var(--sand); }
  .not-found .container { position: relative; }
  .not-found__code { position: absolute; z-index: 0; top: 50%; right: 0; color: #e2e8eb; font-size: clamp(10rem, 28vw, 26rem); font-weight: 700; line-height: .7; transform: translateY(-50%); }
  .not-found h1, .not-found .eyebrow, .not-found .container > p:not(.not-found__code) { position: relative; z-index: 1; max-width: 51rem; }
  .not-found h1 { margin-bottom: 1.5rem; font-size: clamp(2.8rem, 7vw, 6rem); }
  .not-found .container > p:not(.not-found__code, .eyebrow) { color: var(--muted); font-size: 1.1rem; }

  .site-footer { position: relative; isolation: isolate; padding-top: 0; overflow: clip; color: #d1dbe1; background: #081722; }
  .site-footer::before { content: ''; position: absolute; z-index: -1; top: 2rem; right: -10rem; width: 30rem; height: 30rem; border: 1px solid rgb(99 169 223 / .13); border-radius: 50%; }
  .footer-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(20rem, .52fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.8rem, 4.3vw, 4rem); border-bottom: 1px solid rgb(255 255 255 / .16); }
  .footer-lead__title { margin: 0; color: #fff; font-size: clamp(2.35rem, 4vw, 4rem); letter-spacing: -.04em; line-height: 1.02; text-transform: none; }
  .footer-lead__action > p { max-width: 32rem; margin-bottom: 1.25rem; color: #aebdc6; }
  .footer-lead .button span { margin-left: .6rem; transition: transform var(--motion-fast) var(--ease-premium); }
  .footer-lead .button:hover span { transform: translate(.2rem, -.2rem); }
  .footer-grid { display: grid; grid-template-columns: 1.45fr .8fr 1fr 1.1fr; gap: clamp(1.75rem, 3vw, 3.25rem); padding-block: clamp(2.4rem, 3.8vw, 3.4rem); }
  .footer-brand p { max-width: 23rem; color: #9fafb8; font-size: .87rem; }
  .brand-logo--footer { width: 10.5rem; height: auto; margin-bottom: 1.35rem; object-fit: contain; filter: brightness(0) invert(1); opacity: .96; }
  .footer-note { margin-top: 1rem; color: #d7e3ea; }
  .footer-column__title { margin-bottom: 1rem; color: #fff; font-size: .75rem; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; }
  .site-footer li + li { margin-top: .65rem; }
  .site-footer a { color: #b4c1c9; font-size: .82rem; text-decoration: none; }
  .site-footer a:hover { color: #fff; text-decoration: underline; }
  .site-footer address { margin-bottom: 1rem; color: #9fafb8; font-size: .82rem; }
  .site-footer address ~ a { display: block; margin-top: .4rem; }
  .footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding-block: 1.5rem; border-top: 1px solid rgb(255 255 255 / .14); }
  .footer-bottom p, .footer-bottom a { color: #8ea0ab; font-size: .75rem; }
  .footer-bottom div { display: flex; flex-wrap: wrap; gap: 1.5rem; }
  .footer-bottom button { padding: 0; color: #a3b1b9; background: none; border: 0; font-size: .75rem; cursor: pointer; }
  .footer-bottom button:hover { color: #fff; text-decoration: underline; }

  .cookie-banner { position: fixed; z-index: 500; right: max(1rem, calc((100vw - var(--container)) / 2)); bottom: 1rem; left: max(1rem, calc((100vw - var(--container)) / 2)); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(1.25rem, 3vw, 2rem); color: var(--text); background: var(--surface-raised); border: 1px solid var(--line); border-top: .22rem solid var(--blue); box-shadow: var(--shadow); }
  .cookie-banner[hidden] { display: none; }
  .cookie-banner h2 { margin-bottom: .6rem; font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
  .cookie-banner p:last-child { max-width: 48rem; color: var(--muted); font-size: .88rem; }
  .cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .55rem; }
  .button--text { color: var(--blue); background: transparent; border-color: transparent; }
  .button--text:hover { color: var(--blue-dark); background: var(--sand); border-color: var(--line); }
  .cookie-dialog { width: min(42rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; color: var(--text); background: var(--surface-raised); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .cookie-dialog::backdrop { background: rgb(2 9 14 / .72); backdrop-filter: blur(.3rem); }
  .cookie-dialog__inner { padding: clamp(1.25rem, 4vw, 2.5rem); }
  .cookie-dialog__head { display: flex; justify-content: space-between; gap: 2rem; margin-bottom: 1rem; }
  .cookie-dialog__head h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
  .cookie-dialog__close { width: 2.75rem; height: 2.75rem; display: grid; flex: 0 0 auto; place-items: center; padding: 0; color: var(--text); background: transparent; border: 1px solid var(--line); cursor: pointer; }
  .cookie-dialog__close .ui-icon { width: 1.05rem; height: 1.05rem; }
  .cookie-dialog__inner > p { color: var(--muted); }
  .cookie-choice { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
  .cookie-choice:first-of-type { margin-top: 1.25rem; border-top: 1px solid var(--line); }
  .cookie-choice strong, .cookie-choice span { display: block; }
  .cookie-choice > div span { margin-top: .25rem; color: var(--muted); font-size: .82rem; }
  .cookie-choice__status { color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-align: right; text-transform: uppercase; }
  .cookie-dialog__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }

  .study-blueprint { position: absolute; z-index: -1; inset: 0; overflow: clip; background-image: linear-gradient(var(--technical) 1px, transparent 1px), linear-gradient(90deg, var(--technical) 1px, transparent 1px); background-size: 3rem 3rem; pointer-events: none; }
  .study-blueprint i { position: absolute; border: 1px solid rgb(109 167 214 / .28); border-radius: 50%; }
  .study-blueprint i:nth-child(1) { width: 32rem; height: 32rem; top: -13rem; right: 8%; }
  .study-blueprint i:nth-child(2) { width: 20rem; height: 20rem; top: -7rem; right: 12%; }
  .study-blueprint i:nth-child(3) { width: 1px; height: 80%; top: 10%; right: 28%; background: rgb(109 167 214 / .24); border: 0; border-radius: 0; transform: rotate(28deg); }
  .study-hero__grid { position: relative; z-index: 1; }
  .study-intro { display: grid; grid-template-columns: minmax(0, .82fr) minmax(32rem, 1.18fr); align-items: center; gap: clamp(3rem, 6vw, 7rem); }
  .study-intro__copy .section-heading { max-width: 43rem; }
  .study-intro__media { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(15rem, .65fr); align-items: end; gap: 1.25rem; }
  .study-intro__media::before { content: ''; position: absolute; z-index: -1; top: -1.25rem; right: -1.25rem; width: 42%; height: 48%; border-top: 1px solid var(--blue); border-right: 1px solid var(--blue); pointer-events: none; }
  .study-documentary { position: relative; overflow: clip; }
  .study-documentary img { width: 100%; max-height: 35rem; aspect-ratio: 3 / 4; object-fit: cover; object-position: var(--image-focus, 50% 30%); }
  .study-documentary figcaption, .company-field figcaption { padding-top: .55rem; color: var(--muted); font-size: .75rem; }
  .study-intro__media .technical-note { margin-bottom: 2.25rem; background: var(--surface-raised); border-left: .2rem solid var(--blue); box-shadow: 0 1rem 2.5rem rgb(16 27 36 / .06); }

  .company-hero__visual { position: relative; }
  .company-hero__visual::before { content: ''; position: absolute; z-index: 1; inset: -1.25rem auto auto -1.25rem; width: 40%; height: 58%; border-top: 1px solid var(--blue); border-left: 1px solid var(--blue); pointer-events: none; }
  .company-hero__visual span { position: absolute; right: .8rem; bottom: .8rem; padding: .4rem .6rem; color: #fff; background: rgb(5 25 39 / .76); font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
  .company-field { padding-top: 0; }
  .company-field__grid { display: grid; grid-template-columns: minmax(14rem, .72fr) minmax(24rem, 1.1fr) minmax(14rem, .72fr); align-items: center; gap: clamp(1.5rem, 3.5vw, 4rem); }
  .company-field figure { position: relative; overflow: clip; }
  .company-field figure:first-child { align-self: end; margin-bottom: -2rem; }
  .company-field figure:last-child { align-self: start; margin-top: -2rem; }
  .company-field figure img { width: 100%; max-height: 34rem; aspect-ratio: 3 / 4; object-fit: cover; }
  .company-field__copy h2 { margin-bottom: 1.5rem; }
  .company-field__copy > p:last-of-type { color: var(--muted); font-size: 1.05rem; }
  .company-field dl { margin-top: 2rem; border-top: 1px solid var(--line); }
  .company-field dl div { display: grid; grid-template-columns: .7fr 1fr; gap: 1rem; padding-block: .8rem; border-bottom: 1px solid var(--line); }
  .company-field dt { color: var(--muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; }
  .company-field dd { font-weight: 600; }

  .project-pagination { width: min(calc(100% - 2rem), var(--container)); display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: clamp(2.25rem, 3.5vw, 3.5rem) auto 0; overflow: clip; background: var(--line); }
  .project-pagination > a { position: relative; min-height: clamp(19rem, 27vw, 27rem); display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--ink); text-decoration: none; }
  .project-pagination img, .project-pagination > a > i { position: absolute; inset: 0; width: 100%; height: 100%; }
  .project-pagination img { object-fit: cover; transition: transform var(--motion-image) var(--ease-premium), filter var(--motion-text) ease; }
  .project-pagination > a > i { z-index: 1; background: linear-gradient(0deg, rgb(4 17 27 / .93), rgb(4 17 27 / .12) 75%); }
  .project-pagination a:hover img { filter: saturate(1.04); transform: scale(1.035); }
  .project-pagination span { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; padding: clamp(1.5rem, 3vw, 3rem); }
  .project-pagination small, .project-pagination em { grid-column: 1; }
  .project-pagination small { color: #b7d7ed; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
  .project-pagination strong { grid-column: 1; font-size: clamp(1.35rem, 2.4vw, 2.35rem); line-height: 1.12; }
  .project-pagination em { color: #cfdae0; font-size: .82rem; font-style: normal; }
  .project-pagination b { grid-column: 2; grid-row: 1 / 4; align-self: center; display: grid; place-items: center; font-size: 1.7rem; font-weight: 400; transition: transform var(--motion-fast) var(--ease-premium); }
  .project-pagination b .ui-icon { width: 1.6rem; height: 1.6rem; }
  .project-pagination a:hover b { transform: translateX(.35rem); }
  .project-pagination a:first-child:hover b { transform: translateX(-.35rem); }

  .service-hero::after { content: ''; position: absolute; z-index: -1; top: 4rem; right: 3vw; width: min(28vw, 25rem); height: min(28vw, 25rem); border: 1px solid var(--technical); border-radius: 50%; }
  .service-page--etancheite .service-hero::after { border-radius: 0; background: repeating-linear-gradient(0deg, transparent 0 2.5rem, var(--technical) 2.5rem calc(2.5rem + 1px)); transform: skewY(-8deg); }
  .service-page--couverture .service-hero::after { border-radius: 0; background: repeating-linear-gradient(135deg, transparent 0 1.8rem, var(--technical) 1.8rem calc(1.8rem + 1px)); transform: rotate(8deg); }
  .service-page--securite-toitures .service-hero::after { border-radius: 0; border-width: 1px 0; background: repeating-linear-gradient(90deg, transparent 0 3rem, var(--technical) 3rem calc(3rem + 1px)); }
  .service-page--diagnostic-entretien .service-hero::after { box-shadow: inset 0 0 0 4rem transparent, inset 0 0 0 calc(4rem + 1px) var(--technical); }

  html[data-theme="dark"] .site-nav,
  html[data-theme="dark"] .cookie-dialog { color: var(--text); }
  html[data-theme="dark"] .service-hero,
  html[data-theme="dark"] .company-hero,
  html[data-theme="dark"] .legal-hero,
  html[data-theme="dark"] .not-found { background: var(--sand); }
  html[data-theme="dark"] .section--ink { background: #07121a; }
  html[data-theme="dark"] .benefit { background: var(--surface-raised); }
  html[data-theme="dark"] .catalog-item,
  html[data-theme="dark"] .expertise-row,
  html[data-theme="dark"] .project-card,
  html[data-theme="dark"] .gallery-group { border-color: var(--line); }
  html[data-theme="dark"] .button--outline { color: var(--blue); }
  html[data-theme="dark"] .button--outline:hover { color: #07121a; background: var(--blue); }
  html[data-theme="dark"] .site-header .brand-logo { filter: brightness(0) invert(1); opacity: .96; }
  html[data-theme="dark"] .brand-logo--footer { filter: brightness(0) invert(1); opacity: .96; }

  .reveal { opacity: 1; transform: none; transition: opacity var(--motion-text) ease var(--reveal-delay, 0ms), transform var(--motion-image) var(--ease-premium) var(--reveal-delay, 0ms), clip-path var(--motion-image) var(--ease-premium) var(--reveal-delay, 0ms); }
  .reveal--title, .reveal--image { clip-path: inset(0); }
  .js.motion-ready .reveal:not(.is-visible) { opacity: 0; transform: translateY(2.45rem); }
  .js.motion-ready .reveal--title:not(.is-visible) { clip-path: inset(0 0 100% 0); transform: translateY(1.15rem); }
  .js.motion-ready .reveal--image:not(.is-visible) { clip-path: inset(0 0 100% 0); transform: scale(1.06) translateY(1rem); }
  .js.motion-ready .reveal--left:not(.is-visible), .js.motion-ready .reveal--from-left:not(.is-visible) { transform: translateX(-3.25rem); }
  .js.motion-ready .reveal--right:not(.is-visible), .js.motion-ready .reveal--from-right:not(.is-visible) { transform: translateX(3.25rem); }
  .js.motion-ready .reveal--process:not(.is-visible) { opacity: 0; transform: translateX(2.5rem); }
  .js.motion-ready .reveal--line:not(.is-visible) { opacity: .1; transform: scaleX(0); transform-origin: left; }
  .reveal.is-visible { opacity: 1; transform: none; clip-path: inset(0); }
}

@layer utilities {
  .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}

@media (max-width: 72rem) {
  :root { --header: 4.5rem; --header-compact: 4.15rem; }
  .site-nav { position: fixed; inset: var(--header-current) 0 auto; display: grid; justify-content: stretch; gap: 0; padding: 1rem; color: var(--text); background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-.6rem); transition: opacity .2s ease, visibility .2s ease, transform .2s ease; }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav > a:not(.button) { min-height: 3.25rem; display: flex; align-items: center; padding: .5rem .25rem; border-bottom: 1px solid var(--line); }
  .site-nav > a:not(.button)::after { display: none; }
  .site-nav .button { margin-top: 1rem; }
  .menu-toggle { grid-column: 2; grid-row: 1; display: inline-flex; min-width: 4.75rem; min-height: 2.75rem; align-items: center; justify-content: flex-end; justify-self: end; gap: .75rem; color: var(--text); background: transparent; border: 0; cursor: pointer; }
  .theme-toggle { grid-column: 3; grid-row: 1; }
  .menu-toggle__label { font-size: .74rem; font-weight: 700; text-transform: uppercase; }
  .menu-toggle__icon { display: grid; gap: .35rem; width: 1.4rem; }
  .menu-toggle__icon i { display: block; width: 100%; height: 2px; background: currentcolor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] i:first-child { transform: translateY(.23rem) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-child { transform: translateY(-.23rem) rotate(-45deg); }
  .study-feature, .audiences, .company-position, .method-grid, .request-guide { gap: 4rem; }
  .page-hero__grid { grid-template-columns: 1fr .6fr; }
  .page-hero__visual { grid-column: 1 / -1; min-height: 23rem; }
  .process-layout { grid-template-columns: minmax(15rem, .52fr) 1fr; gap: 3rem; }
  .project-card--featured { grid-template-columns: 1fr 1fr; }
  .company-principles { grid-template-columns: 1fr; }
  .company-principles article { display: grid; grid-template-columns: 2rem .4fr 1fr; gap: 1rem; padding: 1.2rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .company-principles article:first-child { border-left: 0; }
  .company-principles span { margin: 0; }
}

@media (max-width: 52rem) {
  .section { padding-block: 4.5rem; }
  .split-heading, .page-hero__grid, .study-feature, .audiences, .service-hero__grid, .service-intro, .project-callout, .study-hero__grid, .study-intro, .study-deliverables, .process-layout, .case-story, .company-hero__grid, .company-position, .method-grid, .contact-page__grid, .request-guide, .legal-layout, .home-company__grid { grid-template-columns: 1fr; }
  .split-heading { display: grid; gap: 1.75rem; margin-bottom: 3rem; }
  .home-hero { min-height: 44rem; }
  .home-hero__shade { background: linear-gradient(0deg, rgb(7 22 34 / .96), rgb(7 22 34 / .52)); }
  .hero-index { display: none; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid > div:nth-child(3) { border-top: 1px solid var(--line); }
  .proof-grid > div:nth-child(4) { border-top: 1px solid var(--line); }
  .expertise-row { grid-template-columns: 2.5rem 1fr; gap: 1rem; }
  .expertise-row .text-link { grid-column: 2; }
  .study-feature__copy { position: static; }
  .study-steps li { grid-template-columns: 2.5rem 8rem 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card--featured { grid-column: auto; display: block; border: 0; }
  .project-card--featured .project-card__body { padding: 1.5rem 0 0; }
  .catalog-item { grid-template-columns: 1fr; gap: 2rem; }
  .catalog-item:nth-child(even) > a { order: 0; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit { min-height: auto; }
  .benefit span { margin-bottom: 2.5rem; }
  .service-hero__grid { gap: 2.25rem; }
  .service-hero__content { max-width: 43rem; padding-block: 0; }
  .service-hero__media { height: clamp(20rem, 58vw, 27rem); }
  .home-immersion { grid-template-columns: 1fr; height: auto; }
  .home-immersion__wide { min-height: 22rem; aspect-ratio: 16 / 9; }
  .home-immersion__aside { grid-template-columns: minmax(12rem, .72fr) minmax(0, 1.28fr); grid-template-rows: 1fr; border-top: 1px solid rgb(255 255 255 / .26); border-left: 0; }
  .home-immersion__portrait { min-height: 18rem; }
  .home-immersion__editorial { display: flex; flex-direction: column; justify-content: center; padding: 1.5rem; border-top: 0; border-left: 1px solid rgb(255 255 255 / .18); }
  .study-intro__media { grid-template-columns: minmax(0, 1fr) minmax(13rem, .62fr); }
  .study-intro__media .technical-note { margin-bottom: 1rem; }
  .study-hero__signal { max-width: 24rem; }
  .process-aside { position: static; }
  .process-rail { width: 100%; height: 3px; margin-top: 2rem; }
  .process-rail i { transform: scaleX(var(--process-progress, 0)); transform-origin: left; }
  .process-timeline li { min-height: auto; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 2rem 0; }
  .case-hero { min-height: 38rem; }
  .case-facts dl { grid-template-columns: repeat(2, 1fr); }
  .case-facts dl > div:nth-child(3), .case-facts dl > div:nth-child(4) { border-top: 1px solid var(--line); }
  .gallery-group__heading { grid-template-columns: 1fr; gap: .75rem; }
  .gallery-item, .gallery-item:nth-child(n) { grid-column: span 6; }
  .gallery-item img { min-height: 15rem; }
  .company-hero img { order: -1; }
  .company-field__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .company-field__copy { grid-column: 1 / -1; grid-row: 1; }
  .company-field figure:first-child, .company-field figure:last-child { margin: 0; }
  .contact-page__side { padding-bottom: 2rem; }
  .footer-lead { grid-template-columns: 1fr; align-items: start; gap: 1.5rem; }
  .cookie-banner { grid-template-columns: 1fr; align-items: start; }
  .cookie-banner__actions { width: 100%; }
  .company-principles article { grid-template-columns: 2rem 1fr; }
  .company-principles article p { grid-column: 2; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 36rem) {
  .container, .header-inner { width: calc(100% - 1.25rem); }
  h1, h2, h3, p { text-wrap: wrap; }
  h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
  .brand, .brand-logo { width: 6.9rem; }
  .theme-toggle { padding-inline: 0; }
  .home-hero { min-height: calc(100svh - var(--header)); }
  .home-hero__content { padding-block: 4rem; }
  .hero-copy h1 { font-size: clamp(2.35rem, 11vw, 3.5rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .proof-grid > div { min-height: 5.35rem; padding: .8rem .9rem; }
  .proof-grid > div:nth-child(odd) { border-left: 0; }
  .proof-grid > div:nth-child(even) { border-right: 0; }
  .expertise-row { padding-block: 1.8rem; }
  .study-steps li { grid-template-columns: 2.2rem 1fr; }
  .study-steps p { grid-column: 2; }
  .page-hero, .service-hero, .company-hero { padding-block: 3rem 4rem; }
  .breadcrumb { margin-bottom: 2.5rem; }
  .page-hero h1, .service-hero h1, .company-hero h1 { font-size: clamp(2.35rem, 10.5vw, 3.5rem); }
  .case-hero { min-height: 34rem; }
  .case-hero .breadcrumb { margin-bottom: 2.25rem; }
  .case-facts dl { grid-template-columns: 1fr; }
  .case-facts dl > div { padding: 1.25rem 0; border-right: 0 !important; border-bottom: 1px solid var(--line); border-left: 0; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; }
  .gallery-item, .gallery-item:nth-child(n) { grid-column: 1; }
  .gallery-item img { min-height: 0; aspect-ratio: 4 / 3; }
  .lightbox__bar strong { max-width: 11rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lightbox__stage { grid-template-columns: 3.4rem 1fr 3.4rem; }
  .lightbox__nav { width: 2.75rem; height: 2.75rem; }
  .request-guide ol { grid-template-columns: 1fr; }
  .home-immersion { grid-template-columns: 1fr; height: auto; }
  .home-immersion__wide { min-height: 15rem; aspect-ratio: 16 / 10; }
  .home-immersion__aside { grid-template-columns: minmax(8.25rem, .7fr) minmax(0, 1.3fr); grid-template-rows: minmax(16rem, auto); }
  .home-immersion__portrait { min-height: 16rem; border-top: 0; }
  .home-immersion__portrait figcaption { display: none; }
  .home-immersion__editorial { min-height: 16rem; padding: 1.15rem; }
  .home-immersion__editorial h2 { font-size: 1.35rem; }
  .home-immersion__editorial > p:not(.eyebrow) { font-size: .8rem; }
  .study-intro__media { grid-template-columns: 1fr; }
  .study-intro__media::before { display: none; }
  .study-intro__media .technical-note { margin: 0; }
  .company-field__grid, .project-pagination { grid-template-columns: 1fr; }
  .company-field figure img { max-height: 27rem; }
  .project-pagination > a { min-height: 18rem; }
  .contact-card { width: calc(100% - 1.5rem); margin: -2rem 0 0 1.5rem; }
  .footer-lead { padding-block: 2.75rem; }
  .footer-grid { gap: 2.5rem; }
  .cookie-banner { right: .625rem; bottom: .625rem; left: .625rem; }
  .cookie-banner { max-height: calc(100dvh - 1.25rem); overflow-y: auto; padding: 1rem; }
  .cookie-banner .eyebrow { margin-bottom: .55rem; }
  .cookie-banner h2 { font-size: 1.25rem; }
  .cookie-banner p:last-child { font-size: .8rem; line-height: 1.5; }
  .cookie-banner__actions { gap: .4rem; }
  .cookie-banner__actions .button { min-height: 2.75rem; }
  .cookie-banner__actions .button { width: 100%; }
  .cookie-choice { grid-template-columns: 1fr; }
  .cookie-choice__status { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (min-width: 120rem) {
  .home-hero__image { object-position: center 45%; }
  .home-hero__content { padding-block: 8rem; }
}

@media (min-width: 160rem) {
  :root { --container: min(86vw, 108rem); --container-wide: min(90vw, 132rem); --container-media: min(94vw, 150rem); }
  .home-hero__content, .case-hero__content { padding-inline: 0; }
  .hero-copy { max-width: 70rem; }
  .project-grid { column-gap: 3rem; row-gap: 6rem; }
}


/* Premium client presentation pass: brand language, page differentiation and ultrawide polish. */
@layer components {
  .brand-arc { position: absolute; z-index: 2; width: clamp(8rem, 18vw, 17rem); aspect-ratio: 1.55; overflow: hidden; pointer-events: none; opacity: .92; }
  .brand-arc::before, .brand-arc::after { content: ''; position: absolute; right: -4%; left: -4%; aspect-ratio: 2 / 1; border: 1px solid color-mix(in srgb, var(--blue) 46%, transparent); border-color: color-mix(in srgb, var(--blue) 46%, transparent) transparent transparent transparent; border-radius: 50%; transform: rotate(-8deg); }
  .brand-arc::before { top: 12%; }
  .brand-arc::after { top: 31%; opacity: .48; }
  .brand-arc--media { right: 1.1rem; bottom: 1rem; width: clamp(7rem, 13vw, 13rem); mix-blend-mode: screen; opacity: .72; }

  .home-expertise__showcase { display: grid; grid-template-columns: minmax(19rem, .66fr) minmax(0, 1.34fr); align-items: start; gap: clamp(2.25rem, 4vw, 5rem); }
  .home-expertise__preview { position: sticky; top: calc(var(--header) + 2.25rem); min-height: 32rem; overflow: clip; color: #fff; background: var(--ink); }
  .home-expertise__preview::after { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(0deg, rgb(5 19 30 / .92), transparent 48%); pointer-events: none; }
  .home-expertise__preview > img { width: 100%; height: 100%; min-height: 32rem; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--image-focus, 50% 50%); transition: opacity 240ms ease, transform 720ms var(--ease-premium); }
  .home-expertise__preview > img.is-switching { opacity: .38; transform: scale(1.02); }
  .home-expertise__preview figcaption { position: absolute; z-index: 3; right: 1.35rem; bottom: 1.35rem; left: 1.35rem; display: grid; grid-template-columns: auto 1fr; align-items: end; gap: .3rem 1rem; }
  .home-expertise__preview figcaption span { grid-row: 1 / 3; align-self: center; color: #8fc5ec; font-size: .78rem; font-weight: 700; letter-spacing: .16em; }
  .home-expertise__preview figcaption strong { font-size: clamp(1.4rem, 2vw, 2rem); letter-spacing: -.03em; line-height: 1.05; }
  .home-expertise__preview figcaption small { color: #c7d6df; font-size: .75rem; }
  .home-expertise .expertise-list { min-width: 0; }
  .home-expertise .expertise-row { padding-block: 2.05rem; }
  .home-expertise .expertise-row.is-preview-active { padding-left: 1.25rem; background: color-mix(in srgb, var(--sand) 78%, transparent); }
  .home-expertise .expertise-row.is-preview-active::before { transform: scaleY(1); }
  .home-expertise .expertise-row.is-preview-active h3 { color: var(--blue); }

  .audiences--visual { grid-template-columns: minmax(18rem, .72fr) minmax(0, 1.28fr); align-items: stretch; gap: clamp(2.5rem, 5vw, 6rem); }
  .audiences__media { position: relative; min-height: 37rem; overflow: clip; background: var(--ink); }
  .audiences__media::after { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(0deg, rgb(5 19 30 / .9), transparent 48%); pointer-events: none; }
  .audiences__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
  .audiences__media figcaption { position: absolute; z-index: 3; right: 1.25rem; bottom: 1.2rem; left: 1.25rem; display: grid; gap: .4rem; color: #fff; }
  .audiences__media figcaption span { color: #9ec8e7; font-size: .75rem; font-weight: 700; letter-spacing: .16em; }
  .audiences__media figcaption small { max-width: 21rem; color: #d7e2e8; font-size: .8rem; line-height: 1.5; }
  .audiences__content { display: grid; align-content: center; grid-template-columns: minmax(0, .95fr) minmax(19rem, 1.05fr); gap: clamp(2rem, 4vw, 4.5rem); }
  .audiences__content .section-heading { align-self: center; }
  .audiences__content ul { align-self: center; }

  .home-company { position: relative; overflow: clip; }
  .home-company::before { content: ''; position: absolute; z-index: 0; top: 14%; right: -7rem; width: 28rem; height: 14rem; border-top: 1px solid var(--technical); border-radius: 50%; transform: rotate(-9deg); pointer-events: none; }
  .home-company__grid { position: relative; z-index: 1; grid-template-columns: minmax(0, 1.18fr) minmax(24rem, .82fr); }
  .home-company__image { position: relative; min-height: 31rem; }
  .home-company__image img { height: 100%; aspect-ratio: 16 / 10; object-position: 50% 50%; }
  .home-company__facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 1.75rem 0 1.65rem; border-block: 1px solid var(--line); }
  .home-company__facts div { padding: .8rem .8rem .8rem 0; }
  .home-company__facts div + div { padding-left: .8rem; border-left: 1px solid var(--line); }
  .home-company__facts dt { margin-bottom: .25rem; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .home-company__facts dd { font-size: .87rem; font-weight: 650; line-height: 1.35; }

  .project-card__image { position: relative; }
  .project-card__index { position: absolute; z-index: 2; top: .8rem; left: .8rem; padding: .34rem .48rem; color: #fff; background: rgb(5 25 39 / .76); font-size: .72rem; font-weight: 700; letter-spacing: .11em; }
  .project-card--featured .project-card__description { flex: 0; }
  .project-card--featured .text-link { margin-top: 1.35rem; }

  .service-benefits { position: relative; overflow: clip; }
  .service-benefits__signature { display: grid; grid-template-columns: auto minmax(3rem, 8rem) 1fr; align-items: center; gap: 1rem; margin-bottom: 2rem; color: var(--muted); }
  .service-benefits__signature span { color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .16em; }
  .service-benefits__signature i { height: 1px; background: var(--line); }
  .service-benefits__signature b { overflow: hidden; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
  .service-benefits::after { content: ''; position: absolute; z-index: 0; right: -7rem; bottom: -5rem; width: 28rem; height: 17rem; opacity: .55; pointer-events: none; }
  .service-benefits > .container { position: relative; z-index: 1; }
  .service-page--etancheite .service-benefits::after { background: repeating-linear-gradient(0deg, transparent 0 2rem, var(--technical) 2rem calc(2rem + 1px)); transform: skewY(-7deg); }
  .service-page--couverture .service-benefits::after { background: repeating-linear-gradient(135deg, transparent 0 1.6rem, var(--technical) 1.6rem calc(1.6rem + 1px)); transform: rotate(5deg); }
  .service-page--securite-toitures .service-benefits::after { border-block: 1px solid var(--technical); background: repeating-linear-gradient(90deg, transparent 0 2.8rem, var(--technical) 2.8rem calc(2.8rem + 1px)); }
  .service-page--diagnostic-entretien .service-benefits::after { border: 1px solid var(--technical); border-radius: 50%; box-shadow: inset 0 0 0 4.2rem transparent, inset 0 0 0 calc(4.2rem + 1px) var(--technical); }

  .contact-page { position: relative; overflow: clip; }
  .contact-brand-arc { position: absolute; z-index: 0; top: 7rem; right: -10rem; width: min(44vw, 46rem); height: min(24vw, 24rem); border-top: 1px solid color-mix(in srgb, var(--blue) 28%, transparent); border-radius: 50%; transform: rotate(-8deg); pointer-events: none; }
  .contact-brand-arc::after { content: ''; position: absolute; inset: 18% 10% auto; height: 70%; border-top: 1px solid color-mix(in srgb, var(--blue) 16%, transparent); border-radius: 50%; }
  .contact-page__grid { position: relative; z-index: 1; grid-template-columns: minmax(30rem, .86fr) minmax(0, 1.14fr); gap: clamp(3rem, 6vw, 7rem); }
  .contact-page__intro { align-self: center; max-width: 48rem; }
  .contact-page__repers { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; font-weight: 650; }
  .contact-page__repers span:not(:last-child)::after { content: '·'; margin-left: 1.25rem; color: var(--blue); }
  .contact-page__side { position: relative; min-width: 0; padding: 0 0 3.25rem 2.25rem; }
  .contact-visual { min-height: 34rem; }
  .contact-visual img { width: 100%; height: 100%; min-height: 34rem; aspect-ratio: 16 / 10; object-fit: cover; }
  .contact-visual figcaption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .contact-visual figcaption strong { font-size: .75rem; letter-spacing: .12em; }
  .contact-visual figcaption span { font-size: .75rem; }
  .contact-card { z-index: 2; }

  html[data-theme="dark"] .brand-arc { mix-blend-mode: normal; }
}

@media (max-width: 72rem) {
  .home-expertise__showcase { grid-template-columns: minmax(16rem, .58fr) minmax(0, 1.42fr); gap: 2rem; }
  .home-expertise__preview, .home-expertise__preview > img { min-height: 28rem; }
  .audiences--visual { grid-template-columns: minmax(15rem, .55fr) minmax(0, 1.45fr); gap: 2.5rem; }
  .audiences__content { grid-template-columns: 1fr; gap: 2rem; }
  .contact-page__grid { grid-template-columns: minmax(24rem, .85fr) minmax(0, 1.15fr); gap: 3rem; }
}

@media (max-width: 52rem) {
  .home-expertise__showcase, .audiences--visual { grid-template-columns: 1fr; }
  .home-expertise__preview { position: relative; top: auto; min-height: 22rem; }
  .home-expertise__preview > img { min-height: 22rem; aspect-ratio: 16 / 9; }
  .audiences__media { min-height: 27rem; }
  .audiences__content { grid-template-columns: 1fr; }
  .home-company__grid { grid-template-columns: 1fr; }
  .home-company__image { min-height: 24rem; }
  .contact-page__grid { grid-template-columns: 1fr; }
  .contact-page__side { padding: 0 0 2rem 1.4rem; }
}

@media (max-width: 36rem) {
  .home-expertise__preview { min-height: 15rem; }
  .home-expertise__preview > img { min-height: 15rem; aspect-ratio: 16 / 10; }
  .home-expertise__preview figcaption { right: .9rem; bottom: .85rem; left: .9rem; }
  .home-expertise__preview figcaption strong { font-size: 1.25rem; }
  .home-expertise .expertise-row { padding-block: 1.55rem; }
  .audiences__media { min-height: 23rem; }
  .home-company__image { min-height: 19rem; }
  .home-company__facts { grid-template-columns: 1fr; }
  .home-company__facts div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .service-benefits__signature { grid-template-columns: auto 1fr; }
  .service-benefits__signature b { grid-column: 1 / -1; white-space: normal; }
  .contact-page__side { padding-left: .75rem; }
  .contact-page__repers span:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
  .footer-brand, .footer-column:last-child { grid-column: 1 / -1; }
}

@media (min-width: 160rem) {
  .header-inner { width: min(calc(100% - 4rem), var(--container-wide)); }
  .brand, .brand-logo { width: 10.4rem; }
  .site-nav { gap: clamp(1.4rem, 1.35vw, 2.4rem); }
  .site-nav > a:not(.button) { font-size: .96rem; }
  .button--small { min-height: 3rem; padding-inline: 1.35rem; font-size: .84rem; }
  .home-expertise__showcase { grid-template-columns: minmax(24rem, .62fr) minmax(0, 1.38fr); }
  .home-expertise__preview, .home-expertise__preview > img { min-height: 38rem; }
  .audiences--visual { grid-template-columns: minmax(25rem, .62fr) minmax(0, 1.38fr); }
  .audiences__media { min-height: 42rem; }
  .home-company__grid { grid-template-columns: minmax(0, 1.3fr) minmax(28rem, .7fr); }
  .contact-page__grid { grid-template-columns: minmax(34rem, .78fr) minmax(0, 1.22fr); }
  .contact-visual, .contact-visual img { min-height: 41rem; }
}


/* Réalisations index — editorial hierarchy and a dedicated featured project. */
@layer components {
  .projects-overview {
    position: relative;
    isolation: isolate;
    padding-block: clamp(3.25rem, 5vw, 5.25rem);
    overflow: clip;
    background: var(--sand);
    border-bottom: 1px solid var(--line);
  }
  .projects-overview::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 18%;
    right: -9rem;
    width: min(38vw, 36rem);
    height: min(20vw, 18rem);
    border-top: 1px solid color-mix(in srgb, var(--blue) 20%, transparent);
    border-radius: 50%;
    transform: rotate(-8deg);
    pointer-events: none;
  }
  .projects-overview .breadcrumb { margin-bottom: clamp(2.25rem, 3.8vw, 3.75rem); }
  .projects-overview__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(24rem, .72fr);
    align-items: end;
    gap: clamp(3rem, 7vw, 8rem);
  }
  .projects-overview__heading h1 {
    max-width: 53rem;
    font-size: clamp(3.35rem, 5.25vw, 5.55rem);
  }
  .projects-overview__intro {
    max-width: 38rem;
    justify-self: end;
  }
  .projects-overview__intro > p {
    max-width: 36rem;
    color: var(--muted);
    font-size: clamp(1rem, 1.15vw, 1.12rem);
    line-height: 1.65;
  }
  .projects-overview__facts {
    display: grid;
    grid-template-columns: .58fr .68fr 1fr;
    margin-top: 2rem;
    border-block: 1px solid var(--line);
  }
  .projects-overview__facts > div { min-width: 0; padding: .95rem 1rem .95rem 0; }
  .projects-overview__facts > div + div { padding-left: 1rem; border-left: 1px solid var(--line); }
  .projects-overview__facts dt {
    margin-bottom: .2rem;
    color: var(--blue);
    font-size: clamp(1rem, 1.4vw, 1.22rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
  }
  .projects-overview__facts dd {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 650;
    letter-spacing: .06em;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .projects-featured {
    padding-block: clamp(2.5rem, 4.25vw, 4.75rem);
    background: var(--page);
  }
  .projects-featured__card {
    display: grid;
    grid-template-columns: minmax(0, 1.48fr) minmax(23rem, .62fr);
    min-height: clamp(30rem, 34vw, 37rem);
    overflow: clip;
    border-block: 1px solid var(--line);
  }
  .projects-featured__media {
    position: relative;
    min-width: 0;
    overflow: clip;
    background: var(--sand);
  }
  .projects-featured__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--image-focus, 50% 50%);
    transition: transform var(--motion-image) var(--ease-premium);
  }
  .projects-featured__media:hover img { transform: scale(1.018); }
  .projects-featured__index {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: .4rem .55rem;
    color: #fff;
    background: rgb(5 25 39 / .78);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
  }
  .projects-featured__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: clamp(2.25rem, 4vw, 4rem);
    background: color-mix(in srgb, var(--surface) 86%, var(--sand));
    border-left: 1px solid var(--line);
  }
  .projects-featured__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: clamp(2.75rem, 5vw, 5rem);
    color: var(--blue);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
  }
  .projects-featured__label {
    margin-bottom: .8rem;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
  }
  .projects-featured__body h2 {
    max-width: 28rem;
    margin-bottom: 1.15rem;
    font-size: clamp(2.15rem, 3.1vw, 3.35rem);
  }
  .projects-featured__body h2 a { text-decoration: none; }
  .projects-featured__summary {
    max-width: 31rem;
    color: var(--muted);
    font-size: .98rem;
    line-height: 1.65;
  }
  .projects-featured__details {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
  }
  .projects-featured__details > div {
    display: grid;
    grid-template-columns: 8.75rem 1fr;
    gap: 1rem;
    padding-block: .65rem;
    border-bottom: 1px solid var(--line);
  }
  .projects-featured__details dt {
    color: var(--muted);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .projects-featured__details dd { font-size: .9rem; font-weight: 650; }
  .projects-featured__body .text-link { margin-top: 1.45rem; align-self: flex-start; }

  .projects-archive {
    padding-top: clamp(3rem, 5vw, 5.5rem);
    border-top: 1px solid var(--line);
  }
  .projects-archive__head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(22rem, .62fr);
    align-items: end;
    gap: clamp(2.5rem, 6vw, 7rem);
    margin-bottom: clamp(3rem, 5vw, 5rem);
  }
  .projects-archive__head h2 { max-width: 40rem; }
  .projects-archive__head > p {
    max-width: 32rem;
    justify-self: end;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
  }
  .projects-archive .project-card { min-width: 0; }
}

@media (max-width: 72rem) {
  .projects-overview__grid { grid-template-columns: minmax(0, 1fr) minmax(21rem, .72fr); gap: 3rem; }
  .projects-featured__card { grid-template-columns: minmax(0, 1.15fr) minmax(21rem, .85fr); min-height: 30rem; }
  .projects-featured__meta { margin-bottom: 2.5rem; }
}

@media (max-width: 52rem) {
  .projects-overview { padding-block: 3rem 3.5rem; }
  .projects-overview__grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .projects-overview__intro { max-width: 44rem; justify-self: stretch; }
  .projects-featured { padding-block: 2.25rem 4rem; }
  .projects-featured__card { display: block; min-height: 0; }
  .projects-featured__media { display: block; aspect-ratio: 16 / 10; }
  .projects-featured__media img { position: absolute; inset: 0; }
  .projects-featured__body { padding: 2rem; border-top: 1px solid var(--line); border-left: 0; }
  .projects-featured__meta { margin-bottom: 2.25rem; }
  .projects-featured__details { margin-top: 2rem; }
  .projects-archive__head { grid-template-columns: 1fr; gap: 1.5rem; }
  .projects-archive__head > p { justify-self: stretch; }
}

@media (max-width: 36rem) {
  .projects-overview .breadcrumb { margin-bottom: 1.75rem; }
  .projects-overview__heading h1 { font-size: clamp(2.55rem, 12vw, 3.45rem); }
  .projects-overview__facts { grid-template-columns: 1fr; margin-top: 1.5rem; }
  .projects-overview__facts > div,
  .projects-overview__facts > div + div {
    display: grid;
    grid-template-columns: 7rem 1fr;
    align-items: baseline;
    gap: 1rem;
    padding: .8rem 0;
    border-left: 0;
  }
  .projects-overview__facts > div + div { border-top: 1px solid var(--line); }
  .projects-overview__facts dt { margin-bottom: 0; }
  .projects-featured__body { padding: 1.6rem 1.35rem 1.8rem; }
  .projects-featured__meta { margin-bottom: 1.75rem; }
  .projects-featured__details > div { grid-template-columns: 1fr; gap: .2rem; }
  .projects-archive { padding-top: 3.75rem; }
  .projects-archive__head { margin-bottom: 2.5rem; }
}

@media (min-width: 160rem) {
  .projects-page .projects-overview > .container,
  .projects-page .projects-featured > .container,
  .projects-page .projects-archive > .container {
    width: min(calc(100% - 6rem), var(--container-wide));
  }
  .projects-featured__card {
    grid-template-columns: minmax(0, 1.55fr) minmax(27rem, .65fr);
    min-height: 38rem;
  }
  .projects-overview__grid { grid-template-columns: minmax(0, 1.15fr) minmax(28rem, .7fr); }
}

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

@media print {
  .site-header, .site-footer, .menu-toggle, .button, .lightbox { display: none !important; }
  body { color: #000; background: #fff; }
  main { padding-top: 0; overflow: visible; }
  a { color: #000; text-decoration: none; }
  .section { padding-block: 2rem; }
}

/* Final cold-audit polish: reinforce identity and ultrawide presentation without altering the core system. */
@layer components {
  .company-hero__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 42rem;
    margin-top: 2rem;
    border-block: 1px solid var(--line);
  }
  .company-hero__facts > div { padding: .8rem .85rem .8rem 0; }
  .company-hero__facts > div + div { padding-left: .85rem; border-left: 1px solid var(--line); }
  .company-hero__facts dt { margin-bottom: .22rem; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .company-hero__facts dd { font-size: .9rem; font-weight: 650; line-height: 1.3; }
  .page-hero__visual .brand-arc { right: .75rem; bottom: .75rem; }
}

@media (max-width: 52rem) {
  .company-hero__facts { grid-template-columns: 1fr; }
  .company-hero__facts > div { padding: .75rem 0; }
  .company-hero__facts > div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
}

@media (min-width: 160rem) {
}

/* Homepage — réalisations: compact editorial showcase with balanced full-width composition. */
@layer components {
  .home-projects {
    position: relative;
    overflow: clip;
  }

  .home-projects::before {
    content: '';
    position: absolute;
    top: clamp(4rem, 7vw, 7rem);
    right: max(-12rem, -8vw);
    width: clamp(20rem, 34vw, 38rem);
    height: clamp(9rem, 15vw, 17rem);
    border-top: 1px solid var(--technical);
    border-radius: 50%;
    transform: rotate(-8deg);
    pointer-events: none;
  }

  .home-projects__intro {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(21rem, .88fr);
    align-items: end;
    gap: clamp(3rem, 7vw, 8rem);
    margin-bottom: clamp(2.5rem, 4vw, 4rem);
  }

  .home-projects__intro .section-heading {
    max-width: 48rem;
  }

  .home-projects__intro .section-heading h2 {
    margin-bottom: 0;
  }

  .home-projects__intro-copy {
    display: grid;
    justify-items: start;
    gap: 1.35rem;
    max-width: 34rem;
    padding-bottom: .3rem;
  }

  .home-projects__intro-copy > p {
    color: var(--muted);
    font-size: clamp(.95rem, 1.05vw, 1.05rem);
  }

  .home-projects__all {
    margin-top: 0;
  }

  .home-projects__showcase {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(22rem, .78fr);
    gap: clamp(1.5rem, 2.7vw, 3rem);
    align-items: stretch;
  }

  .home-projects__featured {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(19rem, .8fr);
    min-height: clamp(25rem, 30vw, 31rem);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
  }

  .home-projects__featured-media,
  .home-projects__secondary-media {
    position: relative;
    display: block;
    min-width: 0;
    overflow: hidden;
    background: var(--sand);
  }

  .home-projects__featured-media img,
  .home-projects__secondary-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--motion-image) var(--ease-premium);
  }

  .home-projects__featured-media img {
    min-height: 100%;
    object-position: 50% 50%;
  }

  .home-projects__featured-media:hover img,
  .home-projects__secondary-media:hover img {
    transform: scale(1.022);
  }

  .home-projects__index {
    position: absolute;
    z-index: 2;
    top: .85rem;
    left: .85rem;
    padding: .34rem .5rem;
    color: #fff;
    background: rgb(5 25 39 / .78);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .11em;
  }

  .home-projects__featured-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.6rem, 3vw, 3.2rem);
  }

  .home-projects__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .85rem;
    color: var(--blue);
    font-size: .69rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
  }

  .home-projects__featured h3 {
    margin-bottom: .9rem;
    font-size: clamp(1.65rem, 2.35vw, 2.45rem);
  }

  .home-projects__featured h3 a,
  .home-projects__secondary-card h3 a {
    text-decoration: none;
  }

  .home-projects__featured-body > p {
    margin-bottom: 1.35rem;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.62;
  }

  .home-projects__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 1.5rem;
    border-block: 1px solid var(--line);
  }

  .home-projects__facts > div {
    min-width: 0;
    padding: .8rem .8rem .8rem 0;
  }

  .home-projects__facts > div + div {
    padding-left: .8rem;
    border-left: 1px solid var(--line);
  }

  .home-projects__facts dt {
    margin-bottom: .18rem;
    color: var(--muted);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
  }

  .home-projects__facts dd {
    font-size: .79rem;
    font-weight: 650;
    line-height: 1.45;
  }

  .home-projects__featured-body .text-link {
    align-self: flex-start;
  }

  .home-projects__secondary {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 2vw, 1.75rem);
  }

  .home-projects__secondary-card {
    display: grid;
    grid-template-columns: minmax(8.75rem, .82fr) minmax(0, 1.18fr);
    min-height: 0;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
  }

  .home-projects__secondary-media img {
    min-height: 100%;
    object-position: 50% 48%;
  }

  .home-projects__secondary-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: clamp(1rem, 1.7vw, 1.45rem);
  }

  .home-projects__secondary-card .home-projects__meta {
    margin-bottom: .55rem;
    font-size: .61rem;
  }

  .home-projects__secondary-card h3 {
    margin-bottom: .5rem;
    font-size: clamp(1.08rem, 1.45vw, 1.35rem);
    line-height: 1.12;
  }

  .home-projects__secondary-body > p {
    margin-bottom: .85rem;
    color: var(--muted);
    font-size: .76rem;
    line-height: 1.5;
  }

  .home-projects__secondary-body .text-link {
    align-self: flex-start;
    margin-top: auto;
    font-size: .72rem;
  }

  html[data-theme="dark"] .home-projects__featured,
  html[data-theme="dark"] .home-projects__secondary-card {
    background: var(--surface-raised);
  }
}

@media (max-width: 72rem) {
  .home-projects__intro {
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, .95fr);
    gap: 3rem;
  }

  .home-projects__showcase {
    grid-template-columns: 1fr;
  }

  .home-projects__featured {
    min-height: 27rem;
  }

  .home-projects__secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .home-projects__secondary-card {
    grid-template-columns: minmax(10rem, .9fr) minmax(0, 1.1fr);
    min-height: 14rem;
  }
}

@media (max-width: 52rem) {
  .home-projects__intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.4rem;
  }

  .home-projects__intro-copy {
    max-width: 42rem;
  }

  .home-projects__featured {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-projects__featured-media {
    aspect-ratio: 16 / 9;
  }

  .home-projects__featured-body {
    padding: 1.5rem;
  }

  .home-projects__secondary {
    grid-template-columns: 1fr;
  }

  .home-projects__secondary-card {
    min-height: 13rem;
  }
}

@media (max-width: 36rem) {
  .home-projects__featured-media {
    aspect-ratio: 16 / 10;
  }

  .home-projects__featured-body {
    padding: 1.25rem;
  }

  .home-projects__facts {
    grid-template-columns: 1fr;
  }

  .home-projects__facts > div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .home-projects__secondary-card {
    grid-template-columns: 1fr;
  }

  .home-projects__secondary-media {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 160rem) {
  .home-projects__showcase {
    grid-template-columns: minmax(0, 1.68fr) minmax(25rem, .72fr);
  }

  .home-projects__featured {
    grid-template-columns: minmax(0, 1.25fr) minmax(22rem, .75fr);
    min-height: 34rem;
  }
}
