/* Redpine v2: official palette (ID Guide p.13), Magnetik when available, dark brand composition. */
@font-face { font-family: Magnetik; src: local('Magnetik Light'), local('Magnetik-Light'); font-weight: 300; font-display: swap; }
@font-face { font-family: Magnetik; src: local('Magnetik Regular'), local('Magnetik-Regular'); font-weight: 400; font-display: swap; }
@font-face { font-family: Magnetik; src: local('Magnetik Medium'), local('Magnetik-Medium'); font-weight: 500; font-display: swap; }
:root {
  --red: #ab2832; --red-dark: #8f1f28; --grey: #bfb6b6; --black: #11090a; --white: #ffffff;
  --paper: #f3f2f2; --ink-soft: #4a4244; --dusk: #3a3233; --line-dark: #241b1c; --line-mid: #5a5051; --soft-white: #e6e0e0;
  --gutter: clamp(20px, 3.4vw, 48px); --section: clamp(80px, 9vw, 140px);
  font-family: Magnetik, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400; font-synthesis: none; color-scheme: dark;
  color: var(--white); background: var(--black); line-height: 1.5;
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: no-preference) { :root { scroll-behavior: smooth; } }
* { box-sizing: border-box; }
body { margin: 0; }
h1,h2,h3,p,figure,ol,ul,dl,dd { margin: 0; }
ol,ul { list-style: none; padding: 0; }
h1,h2 { font-weight: 300; letter-spacing: -.045em; }
h3 { font-weight: 300; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--grey); }
button { color: inherit; font: inherit; border: 0; background: none; cursor: pointer; }
img { max-width: 100%; display: block; }
a,button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible,button:focus-visible { outline: 2px solid var(--grey); outline-offset: 4px; }
.paper :focus-visible,.light :focus-visible { outline-color: var(--black); }
::selection { background: var(--red); color: var(--white); }
.skip-link { position: fixed; left: 24px; top: 16px; transform: translateY(-200%); z-index: 30; background: var(--white); color: var(--black); padding: 14px 20px; }
.skip-link:focus { transform: none; color: var(--black); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.caps { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px; font-size: 15px; transition: background-color .18s, border-color .18s, color .18s; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); }
.btn-ghost { border: 1px solid var(--line-mid); }
.btn-ghost:hover { border-color: var(--grey); color: var(--white); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn-large { min-height: 52px; padding: 0 30px; font-size: 16px; }

/* Header — sticky, reference: macbook-2.jpg */
.site-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 16px; padding: 14px var(--gutter); background: #000; border-bottom: 1px solid var(--line-dark); }
.nav { display: flex; flex-wrap: wrap; column-gap: clamp(16px, 2.6vw, 40px); font-size: 13px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 26px; width: auto; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.language-picker { display: flex; align-items: center; font-size: 12px; color: var(--grey); }
.language-picker button { min-width: 36px; min-height: 44px; color: var(--grey); }
.language-picker button[aria-pressed="true"] { color: var(--white); }

/* Hero — references: macbook-2.jpg and display.jpg */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: max(780px, calc(100svh - 73px)); display: flex; flex-direction: column;
  background: linear-gradient(180deg, #000 0%, #070304 36%, var(--black) 54%, var(--dusk) 82%, #6f6667 100%); }
.hero-center { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; padding: clamp(56px, 8vh, 100px) var(--gutter) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; padding: 0 14px; border: 1px solid var(--dusk); border-radius: 999px; font-size: 12px; color: var(--grey); }
.eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--red); }
.hero h1 { font-size: clamp(46px, 6.6vw, 104px); line-height: .98; letter-spacing: -.05em; }
.hero h1 span { display: block; }
.hero-description { max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--grey); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
/* The skyline stands on the proof strip: its top border is the ground line (display.jpg). */
.hero-proof { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 250px; border-top: 1px solid var(--red); }
.hero-skyline { position: absolute; left: 50%; bottom: 100%; width: 220px; height: auto; transform: translate(-50%, 1px); pointer-events: none; }
.hero-proof div { display: flex; flex-direction: column; gap: 4px; padding: 18px var(--gutter); border-right: 1px solid rgba(255,255,255,.14); }
.hero-proof div:last-child { border-right: 0; }
.hero-proof strong { font-size: 15px; font-weight: 400; }
.hero-proof span { font-size: 13px; color: var(--soft-white); }

/* Capability marquee */
.marquee { position: relative; overflow: hidden; background: #000; border-bottom: 1px solid var(--line-dark); }
.marquee-track { display: flex; width: max-content; animation: marquee 56s linear infinite; }
.marquee ul { display: flex; gap: 40px; padding: 20px 40px 20px 0; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); white-space: nowrap; }
.marquee li { display: inline-flex; align-items: center; gap: 40px; }
.marquee li::after { content: ''; width: 5px; height: 5px; background: var(--red); }
.marquee[data-paused] .marquee-track,.marquee:hover .marquee-track,.marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-toggle { position: absolute; right: 0; top: 0; bottom: 0; z-index: 1; display: flex; align-items: center; min-width: 44px; padding: 0 var(--gutter) 0 32px; background: linear-gradient(90deg, rgba(0,0,0,0), #000 40%); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee-toggle { display: none; } }

/* Sections */
.section { padding: var(--section) var(--gutter); }
.dark { background: var(--black); }
.black { background: #000; }
.paper { background: var(--paper); color: var(--black); }
.light { background: linear-gradient(180deg, var(--white) 0%, var(--paper) 50%, var(--grey) 100%); color: var(--black); }
.paper a:hover,.light a:hover { color: var(--red); }
.label-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-bottom: clamp(48px, 5vw, 80px); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.dark .label-row,.black .label-row,.case-hero .label-row { color: var(--grey); }
.section h2 { font-size: clamp(40px, 4.8vw, 76px); line-height: 1.02; }
.heading-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 64px; margin-bottom: 48px; }
.lead { max-width: 420px; font-size: 17px; line-height: 1.6; }
.dark .lead,.black .lead { color: var(--grey); }
.paper .lead { color: var(--ink-soft); }

/* Solutions bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; min-height: 400px; padding: 28px; border-radius: 16px; background: var(--white); }
.tile-num { font-size: 12px; color: var(--ink-soft); }
.tile h3 { font-size: 26px; line-height: 1.1; letter-spacing: -.03em; }
.tile p { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.tile-art { width: 112px; height: auto; margin-bottom: 12px; transition: transform .28s; }
.tile:hover .tile-art { transform: translateY(-6px); }
.span3 { grid-column: span 3; min-height: 420px; padding: 32px; }
.span3 h3,.span6 h3 { font-size: 32px; line-height: 1.08; }
.span3 .tile-art { position: absolute; right: 28px; top: 28px; width: 150px; margin: 0; }
.span3 h3,.span3 .tile-problem { max-width: 58%; }
.span2 { grid-column: span 2; }
.span6 { grid-column: span 6; min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 32px 56px; padding: 32px; }
.span6 .tile-art { margin: 0; }
.span6 .tile-head { flex: 1 1 320px; display: flex; flex-direction: column; gap: 10px; }
.tile .tile-problem { font-size: 15px; color: var(--black); }
.tile-list { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 18px; border-top: 1px solid #e3dede; font-size: 13px; line-height: 1.45; color: var(--ink-soft); }
.span6 .tile-list { flex: 1 1 360px; margin: 0; padding: 0; border: 0; }
.tile-list li { display: grid; grid-template-columns: 16px minmax(0,1fr); }
.tile-list li::before { content: '—'; color: var(--red); }
.tile-dark { background: var(--black); color: var(--white); }
.tile-dark .tile-num,.tile-dark .tile-list { color: var(--grey); }
.tile-dark .tile-problem { color: var(--soft-white); }
.tile-dark .tile-list { border-top-color: var(--dusk); }

/* Engineering standards */
.standards-head { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 80px; margin-bottom: 72px; }
.standards-head h2 { flex: 1 1 520px; }
.standards-head img { flex: 0 1 300px; width: 300px; height: auto; }
.standards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 32px; }
.standards li { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line-mid); }
.standards .mono { color: var(--grey); }
.standards h3 { font-weight: 400; font-size: 20px; letter-spacing: -.01em; }
.standards p { font-size: 15px; line-height: 1.6; color: var(--grey); }

/* Selected work */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-mid); font-size: 13px; }
.filter:hover { border-color: var(--grey); }
.filter[aria-pressed="true"] { background: var(--white); border-color: var(--white); color: var(--black); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line-dark); border-radius: 16px; background: var(--black); transition: border-color .18s; }
.card[hidden] { display: none; }
.card-art { display: flex; align-items: center; justify-content: center; height: 220px; background: linear-gradient(180deg, #0b0607 0%, #2a2223 100%); border-bottom: 1px solid var(--line-dark); }
.card-art img { width: 132px; height: auto; transition: transform .28s; }
.card:hover .card-art img { transform: translateY(-6px); }
.card-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 26px; }
.card-body .caps { color: var(--grey); }
.card h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.card h3 a::after { content: ''; position: absolute; inset: 0; }
.card p { font-size: 14px; line-height: 1.6; color: var(--grey); }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 12px; }
.card-foot .caps { color: var(--white); }
.card-link { font-size: 13px; white-space: nowrap; }
.card:has(h3 a):hover { border-color: var(--line-mid); }

/* Process */
.process h2 { margin-bottom: 64px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 32px; }
.steps li { display: flex; flex-direction: column; gap: 16px; }
.step-line { display: flex; align-items: center; gap: 12px; }
.step-line::before { content: ''; width: 12px; height: 12px; border-radius: 999px; background: var(--black); }
.step-line::after { content: ''; flex: 1; height: 1px; background: var(--black); }
.steps li:first-child .step-line::before { background: var(--red); }
.steps li:last-child .step-line::before { background: none; border: 2px solid var(--black); }
.steps .mono { color: var(--ink-soft); }
.steps p { font-size: 22px; font-weight: 300; line-height: 1.3; letter-spacing: -.02em; }

/* Contact */
.contact { display: flex; flex-direction: column; align-items: center; gap: 32px; padding: clamp(96px, 11vw, 180px) var(--gutter); text-align: center; background: linear-gradient(180deg, var(--black) 0%, #000 45%, var(--dusk) 100%); }
.contact h2 { max-width: 980px; font-size: clamp(44px, 6vw, 96px); line-height: 1; letter-spacing: -.05em; }
.contact > p { font-size: 17px; color: var(--grey); }
.topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 860px; }
.topics a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-mid); border-radius: 999px; font-size: 14px; }
.topics a:hover { border-color: var(--grey); color: var(--white); }
.contact-meta { font-size: 13px; color: var(--soft-white); }

/* Footer */
.site-footer { padding: 72px var(--gutter) 0; background: var(--black); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; font-size: 14px; }
.footer-cols div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-cols .caps { color: var(--grey); }
.wordmark { margin-top: 96px; overflow: hidden; }
.wordmark img { width: 100%; height: auto; transform: translateY(18%); }
.footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding: 12px 0; border-top: 1px solid var(--dusk); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.footer-bar a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); }

/* Case study pages */
.case-hero { padding: clamp(72px, 8vw, 120px) var(--gutter) 0; background: linear-gradient(180deg, #000 0%, var(--black) 60%, #2a2223 100%); }
.case-hero h1 { max-width: 1080px; margin-bottom: 28px; font-size: clamp(44px, 6vw, 96px); line-height: 1; letter-spacing: -.05em; }
.case-hero .lead { max-width: 640px; margin-bottom: 56px; font-size: 19px; color: var(--grey); }
.case-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--dusk); }
.case-meta div { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px 20px 0; }
.case-meta dt { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.case-meta dd { font-size: 15px; }
.case-figure { display: flex; align-items: center; justify-content: center; height: clamp(320px, 38vw, 520px); border-top: 1px solid var(--dusk); }
.case-figure img { width: min(360px, 60vw); height: auto; }
.case-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px 80px; }
.case-split > div { display: flex; flex-direction: column; gap: 20px; }
.case-challenge { font-size: clamp(24px, 2.2vw, 32px); font-weight: 300; line-height: 1.25; letter-spacing: -.025em; }
.case-list { border-top: 1px solid var(--black); }
.case-list li { padding: 16px 0; border-bottom: 1px solid var(--grey); font-size: 16px; line-height: 1.55; }
.case-outcome p { max-width: 960px; color: var(--white); font-size: clamp(32px, 4vw, 60px); font-weight: 300; line-height: 1.08; letter-spacing: -.04em; }
.case-outcome .caps { color: var(--grey); }
.section h2.caps { font-size: 11px; line-height: 1.5; letter-spacing: .06em; margin-bottom: 40px; color: var(--grey); }
.case-outcome .hero-actions { margin-top: 16px; }
.mini-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding: 12px var(--gutter); border-top: 1px solid var(--dusk); background: var(--black); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.mini-footer a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 1080px) {
  .span2 { grid-column: span 3; }
  .work-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .site-header { grid-template-columns: auto 1fr; }
  .site-header .nav { display: none; }
  .bento { grid-template-columns: minmax(0,1fr); }
  .span3,.span2,.span6 { grid-column: span 1; }
  .span3 .tile-art { position: static; width: 112px; margin-bottom: 12px; }
  .span3 h3,.span3 .tile-problem { max-width: none; }
  .work-grid { grid-template-columns: minmax(0,1fr); }
  .label-row { grid-template-columns: 1fr 1fr; }
  .label-row span:last-child { display: none; }
  .hero-proof div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .hero-proof { margin-top: 200px; }
  .hero-skyline { width: 170px; }
}

/* ---- Subpages (services, industries, about, contact, trust, legal) ---- */
.site-footer .footer-cols { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.prose { max-width: 760px; }
.prose h2 { margin: 48px 0 16px; font-size: 26px; font-weight: 300; line-height: 1.2; letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 10px; font-size: 18px; font-weight: 400; }
.prose p,.prose li { font-size: 16px; line-height: 1.7; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.prose ul li { display: grid; grid-template-columns: 18px minmax(0,1fr); }
.prose ul li::before { content: '—'; color: var(--red); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .note { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--grey); font-size: 13px; color: var(--ink-soft); }
.dark .prose p,.dark .prose li { color: var(--grey); }

/* Feature list (service pages, about values) */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 32px; }
.feature-grid > li,.feature-grid > div { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid currentColor; border-top-color: var(--line-mid); }
.paper .feature-grid > li,.paper .feature-grid > div { border-top-color: var(--black); }
.feature-grid h3 { font-size: 22px; font-weight: 300; letter-spacing: -.02em; }
.feature-grid p { font-size: 15px; line-height: 1.6; }
.dark .feature-grid p { color: var(--grey); }
.paper .feature-grid p { color: var(--ink-soft); }

/* FAQ */
.faq { max-width: 920px; border-top: 1px solid var(--black); }
.dark .faq { border-top-color: var(--line-mid); }
.faq details { border-bottom: 1px solid var(--grey); }
.dark .faq details { border-bottom-color: var(--dusk); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding: 16px 0; font-size: 18px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--red); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 20px; max-width: 760px; font-size: 16px; line-height: 1.7; }
.paper .faq details p { color: var(--ink-soft); }
.dark .faq details p { color: var(--grey); }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--dusk); border-left: 1px solid var(--dusk); }
.industry-grid li { border-right: 1px solid var(--dusk); border-bottom: 1px solid var(--dusk); display: flex; flex-direction: column; gap: 12px; padding: 28px clamp(20px, 2.4vw, 32px) 32px; background: var(--black); }
.industry-grid .mono { color: var(--grey); }
.industry-grid h3 { font-size: 22px; letter-spacing: -.02em; }
.industry-grid p { font-size: 14px; line-height: 1.6; color: var(--grey); }

/* Team */

/* Contact form */
.form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 24px; max-width: 880px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label,.field legend { font-size: 13px; font-weight: 500; }
.field input,.field select,.field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-mid); border-radius: 10px; background: #0b0607; color: var(--white); font: inherit; font-size: 15px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible { outline: 2px solid var(--grey); outline-offset: 2px; border-color: var(--grey); }
.field .hint { font-size: 12px; color: var(--grey); }
.checks { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.check { display: inline-flex; align-items: flex-start; gap: 10px; min-height: 44px; font-size: 14px; line-height: 1.5; color: var(--soft-white); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-status { font-size: 14px; color: var(--soft-white); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-aside { display: flex; flex-direction: column; gap: 16px; font-size: 15px; color: var(--grey); }

/* Small CTA band reused on subpages */
.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; padding: clamp(64px, 7vw, 112px) var(--gutter); background: linear-gradient(180deg, var(--black) 0%, #000 50%, var(--dusk) 100%); }
.cta-band h2 { max-width: 760px; font-size: clamp(32px, 3.6vw, 56px); line-height: 1.05; }

/* 404 */
.notfound { min-height: calc(100svh - 73px); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px; padding: 64px var(--gutter); text-align: center; background: linear-gradient(180deg, #000 0%, var(--black) 60%, var(--dusk) 100%); }
.notfound h1 { font-size: clamp(56px, 10vw, 160px); line-height: .95; }
.notfound p { max-width: 520px; font-size: 18px; color: var(--grey); }

@media (max-width: 1080px) { .industry-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 720px) {
  .industry-grid { grid-template-columns: minmax(0,1fr); }
  .form { grid-template-columns: minmax(0,1fr); }
}

.contact-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); gap: 48px 80px; align-items: start; }
.contact-layout .form { max-width: none; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: minmax(0,1fr); } }
.field input:user-invalid,.field select:user-invalid,.field textarea:user-invalid { border-color: var(--red); }

/* Hero without illustration blends into the next section instead of ending on a seam. */
.case-hero:not(:has(.case-figure)) { padding-bottom: clamp(56px, 6vw, 96px); background: linear-gradient(180deg, #000 0%, var(--black) 100%); }
.case-hero:not(:has(.case-figure)) .lead { margin-bottom: 0; }
