/* ==========================================================================
   SiteScan3D — site styles
   Palette from the SS3d logo and video title cards.
   Signature motif: the architectural dimension line (ticks + 1/16″ label).
   ========================================================================== */

:root {
  --ink:       #0b1e33;   /* title-card navy */
  --ink-2:     #132c48;
  --blue:      #0c5da5;   /* SS3d blue */
  --blue-dark: #094a85;
  --amber:     #f6a821;   /* survey amber */
  --amber-dk:  #d98e0b;
  --concrete:  #eceff2;
  --rule:      #d3dae1;
  --graphite:  #1c2733;
  --steel:     #55657a;
  --white:     #ffffff;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body:    "Barlow", "Segoe UI", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -.005em; margin: 0 0 .5em; color: var(--ink); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--amber); color: var(--ink); padding: .6rem 1rem; font-weight: 600; }
.skip-link:focus { top: 1rem; }

.prose p { max-width: 68ch; }
.prose-lg { font-size: 1.15rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--steel); font-size: 1.125rem; margin: 0; }
.section-head-light h2 { color: var(--white); }
.section-head-light p { color: #b4c2d2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: .01em;
  padding: .7em 1.35em; border-radius: 3px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.1;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sm { font-size: 1.05rem; padding: .55em 1.05em; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #ffb938; color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: var(--header-h); }
.brand img { width: 104px; height: auto; }
.site-nav { display: flex; align-items: center; flex: 1; gap: 2rem; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav-link {
  display: block; font: 500 1.0625rem/1 var(--font-body); color: #d9e2ec;
  padding: .75rem .9rem; text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-current="page"], .is-current > .nav-link { color: var(--white); }
.nav-link[aria-current="page"], .is-current > .nav-link { box-shadow: inset 0 -2px 0 var(--amber); }
.sub-toggle::after {
  content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .45em;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-.2em) rotate(45deg); transition: transform .15s;
}
.sub-toggle[aria-expanded="true"]::after { transform: translateY(0) rotate(-135deg); }
.has-sub { position: relative; }
.sub-list {
  list-style: none; margin: 0; padding: .5rem 0; position: absolute; top: 100%; left: 0; min-width: 15rem;
  background: var(--white); border-top: 3px solid var(--amber); box-shadow: 0 18px 40px rgba(11,30,51,.25);
  display: none;
}
.has-sub.is-open .sub-list { display: block; }
.sub-list a { display: block; padding: .6rem 1.1rem; color: var(--graphite); text-decoration: none; font-weight: 500; }
.sub-list a:hover, .sub-list a[aria-current="page"] { background: var(--concrete); color: var(--blue); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.nav-phone { color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; text-decoration: none; letter-spacing: .02em; }
.nav-phone:hover { color: var(--amber); }

.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex; margin-left: auto; width: 48px; height: 48px; align-items: center; justify-content: center;
    background: none; border: 1px solid rgba(255,255,255,.25); border-radius: 3px; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 22px; height: 2px; background: var(--white); position: relative; transition: transform .2s, background .2s;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: .5rem var(--gutter) 1.5rem; border-bottom: 3px solid var(--amber);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; }
  .nav-link { width: 100%; text-align: left; padding: 1rem 0; font-size: 1.15rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-link[aria-current="page"], .is-current > .nav-link { box-shadow: none; color: var(--amber); }
  .sub-list { position: static; box-shadow: none; border-top: 0; background: transparent; padding: 0 0 .5rem 1rem; min-width: 0; }
  .sub-list a { color: #d9e2ec; padding: .7rem 0; }
  .sub-list a:hover, .sub-list a[aria-current="page"] { background: none; color: var(--amber); }
  .nav-actions { margin: 1.25rem 0 0; flex-direction: column; align-items: stretch; gap: 1rem; }
  .nav-actions .btn { font-size: 1.2rem; padding: .8em; }
  .nav-phone { text-align: center; }
}

/* ---------- Dimension line (signature motif) ---------- */
.measure { display: inline-block; max-width: 100%; }
.dim {
  --tick: linear-gradient(135deg, transparent 42%, var(--amber) 42%, var(--amber) 58%, transparent 58%);
  position: relative; height: 22px; margin: .35rem 0 2.6rem;
  background:
    linear-gradient(var(--amber), var(--amber)) left center / 2px 100% no-repeat,
    linear-gradient(var(--amber), var(--amber)) right center / 2px 100% no-repeat,
    var(--tick) left -6px center / 14px 14px no-repeat,
    var(--tick) right -6px center / 14px 14px no-repeat;
}
.dim::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
  background: var(--amber);
}
.dim-label {
  position: absolute; left: 50%; top: calc(100% + .2rem); transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .04em;
  color: var(--amber); white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .hero .dim { animation: dim-ends .35s ease-out .25s both; }
  .hero .dim::before { animation: dim-draw .9s cubic-bezier(.2,.7,.2,1) .45s both; }
  .hero .dim-label { animation: dim-label .5s ease-out 1.2s both; }
}
@keyframes dim-ends  { from { opacity: 0; } to { opacity: 1; } }
@keyframes dim-draw  { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dim-label { from { opacity: 0; transform: translate(-50%, -.3rem); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- Home: hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(92vh, 880px); display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink); color: var(--white);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) contrast(1.05); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11,30,51,.94) 0%, rgba(11,30,51,.82) 42%, rgba(11,30,51,.35) 100%),
    linear-gradient(0deg, rgba(11,30,51,.9) 0%, rgba(11,30,51,0) 40%);
}
.hero-inner { padding-top: clamp(5rem, 12vh, 9rem); padding-bottom: clamp(3rem, 7vh, 5rem); }
.hero-title {
  color: var(--white); font-size: clamp(3rem, 7.2vw, 6rem); font-weight: 700; line-height: .95;
  letter-spacing: -.01em; max-width: 12.5ch; margin: 0;
}
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #d3dde8; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-exports { border-top: 1px solid rgba(255,255,255,.14); background: rgba(11,30,51,.55); backdrop-filter: blur(4px); }
.hero-exports .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2.5rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.exports-lead { color: #9fb1c4; font-size: .95rem; }
.exports-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.exports-list li { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--white); letter-spacing: .02em; }

/* ---------- Home: intro ---------- */
.intro-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.statement { font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 600; margin: 0; }
.intro .prose { font-size: 1.15rem; padding-top: .5rem; }
.intro .prose p:last-child { margin-bottom: 0; }

/* ---------- Home: disciplines ---------- */
.disciplines { background: var(--concrete); }
.disc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.disc-tile a {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px;
  color: var(--white); text-decoration: none; background: var(--ink);
}
.disc-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.disc-tile a::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11,30,51,.95) 0%, rgba(11,30,51,.55) 45%, rgba(11,30,51,.05) 75%);
}
.disc-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(1.25rem, 3vw, 2rem); }
.disc-title {
  display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.05;
  padding-bottom: .3rem; margin-bottom: .5rem;
  background: linear-gradient(var(--amber), var(--amber)) left bottom / 2.5rem 3px no-repeat;
  transition: background-size .3s ease;
}
.disc-text { display: block; color: #d3dde8; max-width: 34ch; }
.disc-tile a:hover img, .disc-tile a:focus-visible img { transform: scale(1.04); }
.disc-tile a:hover .disc-title, .disc-tile a:focus-visible .disc-title { background-size: 100% 3px; }

/* ---------- Home: work ---------- */
.work { background: var(--ink); color: var(--white); }
.work-grid { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; gap: clamp(1rem, 2vw, 1.75rem); }
.work-feature { grid-row: span 2; }
.work-item { margin: 0; display: flex; flex-direction: column; }
.work-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; background: var(--ink-2); }
.work-feature img { flex: 1; aspect-ratio: auto; min-height: 320px; }
.work-item figcaption { color: #b4c2d2; font-size: .98rem; margin-top: .8rem; max-width: 52ch; }
.work-item figcaption strong { color: var(--white); font-weight: 600; }

/* ---------- Testimonials ---------- */
.voices { background: var(--white); }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.75rem); }
.quote { margin: 0; padding-left: 1.25rem; border-left: 3px solid var(--amber); display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 1.25rem; flex: 1; }
.quote blockquote p { margin: 0; color: var(--graphite); }
.quote-name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--ink); }
.quote-co { display: block; color: var(--steel); font-size: .95rem; }

.testimonial-list .wrap { max-width: 980px; }
.testimonial { margin: 0 0 clamp(3rem, 6vw, 4.5rem); padding-left: clamp(1.25rem, 3vw, 2rem); border-left: 4px solid var(--amber); }
.testimonial-alt { margin-left: clamp(0rem, 8vw, 6rem); border-left-color: var(--blue); }
.testimonial blockquote { margin: 0 0 1.25rem; }
.testimonial blockquote p { font-size: clamp(1.25rem, 2.1vw, 1.6rem); line-height: 1.45; color: var(--ink); margin: 0; }
.testimonial:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--amber); color: var(--ink); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.cta-heading { font-size: clamp(2rem, 3.4vw, 2.9rem); margin-bottom: .3em; }
.cta-inner p { margin: 0; max-width: 46ch; font-size: 1.1rem; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.cta-phone { color: var(--ink); text-decoration: none; }
.cta-phone:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b4c2d2; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-top: clamp(3.5rem, 6vw, 5rem); padding-bottom: 3rem; }
.footer-brand img { width: 120px; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 34ch; }
.footer-head { font-size: 1.25rem; color: var(--white); margin-bottom: .9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .55rem; }
.site-footer a { color: #d9e2ec; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-base { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.25rem; padding-bottom: 1.5rem; font-size: .9rem; color: #7f93a8; }
.footer-base p { margin: 0; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--white);
  min-height: clamp(340px, 52vh, 520px); display: flex; align-items: flex-end;
}
.page-hero-short { min-height: clamp(280px, 40vh, 400px); }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11,30,51,.92) 0%, rgba(11,30,51,.7) 50%, rgba(11,30,51,.3) 100%), linear-gradient(0deg, rgba(11,30,51,.75), rgba(11,30,51,0) 60%);
}
.page-hero-inner { padding-top: 4rem; padding-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.page-title { color: var(--white); font-size: clamp(2.6rem, 6vw, 4.75rem); font-weight: 700; line-height: .98; max-width: 16ch; margin: 0; }
.page-title-dark { color: var(--ink); }
.page-lead { font-size: 1.2rem; color: #d3dde8; max-width: 40rem; margin: 1rem 0 0; }
.notfound .page-lead, .legal .page-lead { color: var(--steel); }
.crumbs { font-size: .95rem; color: #9fb1c4; margin-bottom: 1rem; }
.crumbs a { color: #d9e2ec; }

/* ---------- Discipline detail ---------- */
.detail-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.deliver { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--concrete); padding: clamp(1.5rem, 3vw, 2.25rem); border-top: 4px solid var(--amber); }
.deliver-head { font-size: 1.6rem; margin-bottom: 1rem; }
.deliver-list { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.deliver-list li { position: relative; padding: .6rem 0 .6rem 1.9rem; border-bottom: 1px solid var(--rule); font-weight: 500; }
.deliver-list li:last-child { border-bottom: 0; }
.deliver-list li::before {
  /* architectural tick, echoing the dimension line */
  content: ""; position: absolute; left: .1rem; top: 1.05rem; width: 14px; height: 14px;
  background: linear-gradient(135deg, transparent 40%, var(--blue) 40%, var(--blue) 60%, transparent 60%);
}
.deliver .btn { width: 100%; }

.pull { background: var(--blue); color: var(--white); padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.pull-text { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1.1; max-width: 26ch; margin: 0; }
.dim-static { width: min(18rem, 60%); margin: 1.75rem 0 0; }

.videos { background: var(--ink); }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.video-grid-single { grid-template-columns: minmax(0, 860px); }
.video { margin: 0; }
.video video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 3px; }
.video figcaption { color: #b4c2d2; margin-top: .8rem; font-size: .98rem; }
.video figcaption strong { color: var(--white); font-weight: 600; }

.other-head { font-size: 1.75rem; margin-bottom: 1.25rem; }
.other-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2rem; }
.other-list a { display: block; padding: 1.25rem 0; border-top: 2px solid var(--ink); text-decoration: none; color: var(--graphite); height: 100%; }
.other-title { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; color: var(--ink); margin-bottom: .3rem; }
.other-text { display: block; color: var(--steel); font-size: .98rem; }
.other-list a:hover { border-top-color: var(--amber); }
.other-list a:hover .other-title { color: var(--blue); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-head { font-size: 1.9rem; margin-bottom: 1.25rem; }
.contact-list { margin: 0; }
.contact-list > div { padding: 1rem 0; border-top: 1px solid var(--rule); }
.contact-list dt { font-size: .9rem; color: var(--steel); margin-bottom: .2rem; }
.contact-list dd { margin: 0; font-size: 1.15rem; font-weight: 500; }
.contact-list dd a { color: var(--ink); text-decoration-color: var(--amber); text-decoration-thickness: 2px; }
.contact-note { display: block; font-size: .95rem; color: var(--steel); font-weight: 400; }

.contact-form-wrap { background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--blue); padding: clamp(1.5rem, 4vw, 2.75rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 600; margin-bottom: .4rem; color: var(--ink); }
.req { font-weight: 400; color: var(--steel); font-size: .9rem; margin-left: .25rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--graphite); background: var(--white);
  border: 1.5px solid #b9c4cf; border-radius: 3px; padding: .7rem .85rem; min-height: 48px;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(12,93,165,.22); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: .95rem; margin: .35rem 0 0; }
.form-alert { background: #fdecea; color: #8c1d18; border-left: 4px solid #b3261e; padding: .8rem 1rem; margin-bottom: 1.5rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .5rem; }
.form-fine { margin: 0; color: var(--steel); font-size: .92rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success h2 { font-size: 2rem; }
.form-success { outline: none; }

/* ---------- FAQ ---------- */
.faq { background: var(--concrete); }
.faq-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-grid > div:first-child p { color: var(--steel); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item:first-child { border-top: 1px solid var(--rule); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--ink);
  padding: 1.1rem 3rem 1.1rem 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%; width: 16px; height: 2px; background: var(--blue); transition: transform .2s;
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0); }
.faq-item summary:hover { color: var(--blue); }
.faq-answer { padding: 0 0 1.25rem; max-width: 62ch; }
.faq-answer p { margin: 0; }

/* ---------- Legal / 404 ---------- */
.legal-wrap { max-width: 820px; }
.legal-updated { color: var(--steel); margin: .75rem 0 2.5rem; }
.notfound-links { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.notfound-links a { display: inline-block; padding: .6rem 1rem; border: 1.5px solid var(--rule); border-radius: 3px; text-decoration: none; font-weight: 500; }
.notfound-links a:hover { border-color: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .intro-grid, .detail-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .deliver { position: static; }
  .other-list { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-feature { grid-row: auto; }
  .work-feature img { aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 700px) {
  .disc-grid, .video-grid { grid-template-columns: 1fr; }
  .disc-tile a { aspect-ratio: 4 / 3; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-exports .wrap { gap: .5rem; }
  .exports-list { gap: .25rem 1.25rem; }
  .exports-list li { font-size: 1.15rem; }
  .testimonial-alt { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
