/* ==========================================================================
   Sookshma Industries — site styles
   Brand tokens are pulled from the letterhead: near-black #101214/#191919,
   steel silver #ACAEB0, white. Bebas Neue for display, Montserrat for body.
   ========================================================================== */

:root {
  --ink: #101214;
  --ink-2: #191919;
  --ink-3: #24272B;
  --steel: #ACAEB0;
  --steel-2: #6F7377;
  --steel-3: #E6E8EA;
  --paper: #FFFFFF;
  --paper-2: #F4F5F6;
  --accent: #E6E8EA;          /* light silver — the only 'highlight' colour */
  --accent-ink: #101214;

  /* Type system — three families only:
     Bebas Neue  → H1/H2 display headings, big numbers, wordmark
     Montserrat  → everything else: 300 lede, 400 body, 500 captions, 600 H3/buttons/eyebrows, 700 H4/emphasis, italic for quotes
     Arial       → technical/CAD text (drawing labels, code-like values) and the fallback for both */
  --font-display: 'Bebas Neue', Arial, sans-serif;
  --font-body: 'Montserrat', Arial, sans-serif;
  --font-tech: Arial, 'Montserrat', sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --shadow: 0 10px 30px rgba(16, 18, 20, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
h3 { font-family: var(--font-body); font-weight: 600; letter-spacing: -.01em; }
h4 { font-family: var(--font-body); font-weight: 700; }
em, i { font-style: italic; }
strong, b { font-weight: 600; }
blockquote { margin: 0; font-style: italic; font-weight: 400; font-size: 18px; color: var(--steel-2); border-left: 2px solid var(--steel); padding-left: 18px; }
code, kbd, samp, .tech { font-family: var(--font-tech); font-size: .95em; letter-spacing: .02em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Typography ---------------------------------------------------------- */
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: .02em; text-transform: uppercase; }
.h1 { font-size: clamp(44px, 7vw, 88px); line-height: .95; }
.h2 { font-size: clamp(34px, 4.5vw, 56px); }
.h3 { font-size: clamp(22px, 2.4vw, 28px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--steel-2); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lede { font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; color: var(--steel-2); max-width: 60ch; }
.on-dark .eyebrow { color: var(--steel); }
.on-dark .lede { color: var(--steel-3); font-weight: 400; }

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--radius); border: 1.5px solid transparent;
  font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* Header -------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink-2); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }

/* Brand lockup — measured from the official logo (fractions of mark height H):
   gap 0.153H · SOOKSHM Bebas cap 0.355H, baseline 0.50H, width 1.524H
   MACHINING Montserrat Light cap 0.177H, baseline 0.798H, width 1.508H · tracking 0 */
.brand { --H: 54px; display: flex; align-items: center; gap: calc(var(--H) * .153); color: #fff; }
.brand-mark { height: var(--H); flex: none; }
.brand-mark img { height: 100%; width: auto; display: block; }
.brand-word { height: var(--H); width: auto; flex: none; overflow: visible; }
.brand-word .w1 { font-family: var(--font-display); fill: currentColor; letter-spacing: 0; }
.brand-word .w2 { font-family: var(--font-body); font-weight: 300; fill: currentColor; letter-spacing: 0; }
.brand-name { font-family: var(--font-display); font-size: 28px; letter-spacing: .06em; line-height: 1; }
.brand-name small { display: block; font-family: var(--font-body); font-size: 9.5px; font-weight: 600; letter-spacing: .28em; color: var(--steel); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a, .nav > li > button {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--radius); background: none; border: 0; color: #fff;
  font-size: 14px; font-weight: 500;
}
.nav > li > a:hover, .nav > li > button:hover, .nav > li.open > button { background: rgba(255,255,255,.08); }
.nav svg.chev { width: 14px; height: 14px; transition: transform .2s; }
.nav li.open svg.chev { transform: rotate(180deg); }
.nav .menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px;
  background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav li.open .menu, .nav li:hover .menu { opacity: 1; visibility: visible; transform: none; }
.nav .menu a { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--radius); }
.nav .menu.two { min-width: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 4px; }
.nav .menu a:hover { background: var(--paper-2); }
.nav .menu svg { width: 26px; height: 26px; stroke: var(--ink); }
.nav .menu strong { display: block; font-size: 14px; font-weight: 600; }
.nav .menu span { font-size: 12px; color: var(--steel-2); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-tel { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #fff; padding: 10px 12px; border-radius: var(--radius); }
.header-tel svg { width: 16px; height: 16px; stroke: var(--steel); fill: none; stroke-width: 2; }
.header-tel:hover { background: rgba(255,255,255,.08); }
.header-tel:hover svg { stroke: #fff; }
@media (max-width: 860px) {
  /* no room for the number next to the burger — keep it as a tap-to-call icon */
  .header-tel { padding: 10px; border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); }
  .header-tel span { display: none; }
  .header-tel svg { width: 20px; height: 20px; stroke: #fff; }
}
.nav-wrap > .btn { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; color: #fff; padding: 8px; }
.burger svg { width: 100%; height: 100%; }

@media (max-width: 480px) { .brand { --H: 46px; } }
@media (max-width: 980px) {
  .nav-wrap { display: none; position: fixed; inset: 76px 0 0; background: var(--ink-2); padding: 12px var(--gutter) 40px; overflow: auto; }
  .nav-wrap.open { display: block; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > li > a, .nav > li > button { width: 100%; justify-content: space-between; padding: 16px 8px; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .nav .menu { position: static; box-shadow: none; background: transparent; color: #fff; display: none; opacity: 1; visibility: visible; transform: none; padding: 4px 0 12px; }
  .nav .menu.two { display: none; min-width: 0; grid-template-columns: 1fr; }
  .nav li.open .menu, .nav li.open .menu.two { display: block; }
  .nav li:hover .menu, .nav li:hover .menu.two { display: none; }
  .nav li.open:hover .menu, .nav li.open:hover .menu.two { display: block; }
  .nav .menu a:hover { background: rgba(255,255,255,.06); }
  .nav .menu svg { stroke: var(--steel); }
  .nav .menu span { color: var(--steel); }
  .nav-wrap > .btn { display: inline-flex; margin-top: 20px; width: 100%; }
  .header-cta .btn { display: none; }
  .burger { display: block; }
}

/* Hero ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 80% -10%, #2b2f34 0%, var(--ink) 55%);
}
.hero::before {
  display: none;
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(172,174,176,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(172,174,176,.10) 1px, transparent 1px),
    linear-gradient(rgba(172,174,176,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(172,174,176,.05) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); }
.hero .h1 span { color: var(--accent); }
.hero .lede { margin: 22px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 22px; font-size: 13px; color: var(--steel-3); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; stroke: var(--steel); }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { max-width: 560px; margin-inline: auto; }
}

/* CAD drawing styles (inline SVG) */
.cad-line { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.cad-face-top { fill: #2E3237; }
.cad-face-right { fill: #1C1F23; }
.cad-face-left { fill: #24282C; }
.cad-face-pocket { fill: #16191C; }
.cad-hidden { fill: none; stroke: var(--steel); stroke-width: 1; stroke-dasharray: 6 4; opacity: .7; }
.cad-dim { fill: none; stroke: var(--accent); stroke-width: 1; }
.cad-dim-text { font-family: var(--font-tech); font-size: 11px; font-weight: 400; fill: var(--accent); letter-spacing: .04em; }
.cad-label { font-family: var(--font-tech); font-size: 9px; font-weight: 400; fill: var(--steel); letter-spacing: .06em; }
.cad-title { font-family: var(--font-display); font-size: 15px; fill: #fff; letter-spacing: .08em; }
.cad-center { stroke: var(--steel); stroke-width: .8; stroke-dasharray: 10 3 2 3; opacity: .8; }
.cad-scan { stroke: var(--accent); stroke-width: 1.2; opacity: .9; animation: scan 4s linear infinite; }
@keyframes scan { 0% { transform: translateY(-40px); opacity: 0 } 10% { opacity: .9 } 90% { opacity: .9 } 100% { transform: translateY(260px); opacity: 0 } }
@media (prefers-reduced-motion: reduce) { .cad-scan { animation: none; display: none; } }

/* Trust strip --------------------------------------------------------- */
.strip { background: var(--ink-2); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip .item { padding: 22px 20px; border-left: 1px solid rgba(255,255,255,.08); }
.strip .item:first-child { border-left: 0; padding-left: 0; }
.strip .num { font-family: var(--font-display); font-size: 36px; letter-spacing: .03em; line-height: 1; }
.strip .num em { font-style: normal; color: var(--steel); }
.strip .lbl { font-size: 12.5px; color: var(--steel); margin-top: 4px; }
@media (max-width: 900px) { .strip .wrap { grid-template-columns: 1fr 1fr; } .strip .item:nth-child(3) { border-left: 0; padding-left: 0; } }

/* Sections ------------------------------------------------------------ */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .lede { margin-top: 14px; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; align-items: start; } }

/* Capability cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--steel-3); border-radius: var(--radius); padding: 28px 26px 26px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card .icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--paper-2); border-radius: var(--radius); }
.card .icon svg { width: 28px; height: 28px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.card p { font-size: 14.5px; color: var(--steel-2); margin: 0; flex: 1; }
.card .spec { display: flex; flex-wrap: wrap; gap: 6px; }
.card .spec span { font-family: var(--font-tech); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--paper-2); padding: 4px 8px; border-radius: 3px; }
.card .more { font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.card .more svg { width: 14px; height: 14px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Secondary capability tier (waterjet, printing, scanning, reverse eng.) */
.sub-head { margin: clamp(40px, 5vw, 64px) 0 24px; }
.sub-head h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; }
.cards.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards.cards-4 .card h3 { font-size: 18px; }
.cards.cards-4 .card p { font-size: 13.5px; }
@media (max-width: 1100px) { .cards.cards-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .cards.cards-4 { grid-template-columns: 1fr; } }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); }
.step .n { font-family: var(--font-display); font-size: 52px; line-height: 1; color: var(--steel); }
.step h3 { font-size: 19px; font-weight: 600; margin: 12px 0 8px; }
.step p { font-size: 14px; color: var(--steel); margin: 0; }
.step::after { content: ""; position: absolute; top: 44px; right: -20px; width: 20px; height: 1px; background: rgba(255,255,255,.25); }
.step:last-child::after { display: none; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(2)::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step::after { display: none; } }

/* Why us — split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split .lede { margin-top: 14px; }
.checks { display: grid; gap: 14px; margin-top: 28px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checks svg { width: 26px; height: 26px; stroke: var(--ink); fill: none; stroke-width: 2; }
.on-dark .checks svg { stroke: var(--steel); }
.checks strong { display: block; font-weight: 600; }
.checks span { font-size: 14px; color: var(--steel-2); }
.img-slot {
  aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; position: relative;
  background: repeating-linear-gradient(45deg, var(--paper-2) 0 12px, #EDEFF0 12px 24px);
  display: grid; place-items: center; color: var(--steel-2); font-size: 13px; text-align: center; padding: 20px;
  border: 1px dashed var(--steel);
}
.img-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-slot code { display: block; margin-top: 6px; font-size: 12px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Materials */
.mats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.mat { background: #fff; border: 1px solid var(--steel-3); border-radius: var(--radius); padding: 18px 16px; }
.mat h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.mat p { font-size: 12.5px; color: var(--steel-2); margin: 0; line-height: 1.5; }
.mat .sw { width: 100%; height: 6px; border-radius: 3px; margin-bottom: 14px; }
@media (max-width: 1000px) { .mats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .mats { grid-template-columns: 1fr 1fr; } }

/* Industries */
.inds { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.ind { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 24px 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); font-size: 13.5px; font-weight: 500; transition: background .2s; }
.ind:hover { background: rgba(255,255,255,.08); }
.ind svg { width: 34px; height: 34px; stroke: var(--steel); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ind:hover svg { stroke: #fff; }
@media (max-width: 560px) { .inds { grid-template-columns: 1fr 1fr; } }

/* CTA band */
.cta-band { background: var(--steel-3); color: var(--ink); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 44px 0; }
.cta-band .h2 { font-size: clamp(30px, 4vw, 48px); }
.cta-band p { margin: 6px 0 0; font-weight: 500; opacity: .85; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 20px 28px; }
.cta-act { display: grid; gap: 8px; justify-items: start; }
.cta-act span { font-size: 12.5px; font-weight: 500; color: var(--ink-3); opacity: .8; max-width: 28ch; }

/* Page hero (inner pages) */
.page-hero { background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.page-hero::before { display: none; content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(172,174,176,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(172,174,176,.12) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(to right, transparent, #000 60%); }
.page-hero .wrap { position: relative; }
.crumbs { font-size: 12.5px; color: var(--steel); margin-bottom: 18px; display: flex; gap: 8px; }
.crumbs a:hover { color: #fff; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 26px; font-weight: 600; margin: 32px 0 12px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.notice { border-left: 3px solid var(--ink); background: var(--paper-2); padding: 14px 18px; font-size: 14px; color: var(--steel-2); border-radius: 0 var(--radius) var(--radius) 0; }

/* Quote form */
.form-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .form-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
input, select, textarea {
  font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--steel); border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
textarea { min-height: 120px; resize: vertical; }
.drop {
  border: 2px dashed var(--steel); border-radius: var(--radius); padding: 32px 20px; text-align: center; background: var(--paper-2);
  transition: border-color .2s, background .2s; cursor: pointer;
}
.drop.over { border-color: var(--ink); background: var(--steel-3); }
.drop svg { width: 40px; height: 40px; margin: 0 auto 10px; stroke: var(--ink); fill: none; stroke-width: 1.5; }
.drop strong { display: block; font-weight: 600; }
.drop span { font-size: 13px; color: var(--steel-2); }
.drop input { display: none; }
.files { display: grid; gap: 6px; font-size: 13.5px; }
.files li { display: flex; justify-content: space-between; padding: 8px 12px; background: var(--paper-2); border-radius: var(--radius); }
.side { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 30px; position: sticky; top: 96px; }
.side h3 { font-size: 22px; font-weight: 600; margin-bottom: 14px; }
.side ul { display: grid; gap: 12px; font-size: 14px; color: var(--steel); }
.side li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.side svg { width: 20px; height: 20px; stroke: var(--steel); fill: none; stroke-width: 2; }
.side .contact { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.side .contact a { color: #fff; font-weight: 600; }

/* Footer -------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--steel); font-size: 14px; }
.footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer h4 { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer li { margin-bottom: 9px; }
.footer a:hover { color: #fff; }
.footer .brand { --H: 48px; }
.footer .tagline { font-family: var(--font-display); font-size: 22px; letter-spacing: .06em; color: #fff; margin: 18px 0 0; }
.footer .about { margin-top: 8px; max-width: 38ch; font-weight: 300; }
.footer address { font-style: normal; line-height: 1.7; }
.footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0; font-size: 12.5px; }
@media (max-width: 900px) { .footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer .top { grid-template-columns: 1fr; } }

/* Reveal on scroll ---------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Photos --------------------------------------------------------------- */
.card.has-img { padding: 0; }
.card.has-img .card-body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.card-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform .7s var(--ease), filter .4s; }
.card:hover .card-img img { transform: scale(1.045); filter: grayscale(.5) contrast(1.05); }
.img-slot.photo { border: 0; background: var(--ink); }
.img-slot.photo img { filter: grayscale(1) contrast(1.05); }
.bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.hero .bg img { opacity: .14; object-position: center 40%; }
.hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,18,20,.2), rgba(16,18,20,.85)); }
.bg-blueprint {
  background:
    linear-gradient(rgba(230,232,234,.10) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(90deg, rgba(230,232,234,.10) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(rgba(230,232,234,.04) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(230,232,234,.04) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--ink);
}
.bg-blueprint img { display: none; }
.bg-gradient {
  background:
    radial-gradient(1100px 620px at 6% -18%, rgba(205,208,211,.46) 0%, rgba(172,174,176,.16) 46%, transparent 72%),
    radial-gradient(820px 680px at 100% 114%, rgba(230,232,234,.24) 0%, transparent 62%),
    linear-gradient(135deg, #3C4147 0%, #23272B 38%, var(--ink) 72%, #08090A 100%);
}
.bg-gradient img { display: none; }
.page-hero .bg.bg-gradient::after { background: linear-gradient(180deg, rgba(16,18,20,0) 58%, rgba(16,18,20,.45) 100%); }
.hero .bg-blueprint::after { background: radial-gradient(120% 90% at 50% 40%, transparent 30%, rgba(16,18,20,.55) 100%), linear-gradient(180deg, rgba(16,18,20,0) 70%, rgba(16,18,20,.85) 100%); }
.page-hero .bg-blueprint::after { background: linear-gradient(180deg, rgba(16,18,20,0) 55%, var(--ink) 100%), radial-gradient(120% 100% at 30% 50%, transparent 30%, rgba(16,18,20,.6) 100%); }
.hero .wrap, .hero::before { z-index: 1; }
.page-hero .bg img { opacity: .32; }
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,18,20,.96) 0%, rgba(16,18,20,.75) 55%, rgba(16,18,20,.35) 100%); }
.page-hero::before { z-index: 1; }
.page-hero .wrap { z-index: 2; }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--ink); }
.gallery figure:first-child { grid-row: span 1; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform .7s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-size: 13px; font-weight: 500; background: linear-gradient(180deg, transparent, rgba(16,18,20,.85)); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery figure:first-child { grid-column: span 2; } }
.credits { overflow-x: auto; }
.credits table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.credits th, .credits td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--steel-3); vertical-align: top; }
.credits th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-2); }

/* WhatsApp (monochrome) ------------------------------------------------ */
.ico-wa { width: 16px; height: 16px; flex: none; fill: currentColor; }
.btn .ico-wa { width: 18px; height: 18px; }
.wa-link { display: inline-flex; align-items: center; gap: 8px; }
.side .wa-link { color: #fff; font-weight: 600; }
.side .wa-link .ico-wa { color: var(--steel); width: 18px; height: 18px; }
.footer .muted { color: var(--steel-2); font-size: 12px; }
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  background: var(--ink); color: #fff; border: 1.5px solid var(--steel);
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(16,18,20,.35);
  transition: transform .2s var(--ease), background .2s, color .2s;
}
.wa-float .ico-wa { width: 22px; height: 22px; }
.wa-float:hover { transform: translateY(-2px); background: #fff; color: var(--ink); border-color: var(--ink); }
@media (max-width: 600px) { .wa-float { right: 14px; bottom: 14px; padding: 12px; } .wa-float span { display: none; } }

/* Photo banner under inner-page headers */
.banner { position: relative; width: 100%; height: clamp(240px, 32vw, 480px); overflow: hidden; background: var(--ink); margin-top: -1px; }
.banner img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .85; }
/* seamless join: photo emerges from the dark header at the top and dissolves into the page at the bottom */
.banner::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(16,18,20,.9) 12%, rgba(16,18,20,.5) 35%, rgba(16,18,20,0) 60%),
    linear-gradient(0deg, var(--paper) 0%, rgba(255,255,255,.6) 10%, rgba(255,255,255,0) 30%); }
.page-hero { padding-bottom: clamp(40px, 6vw, 72px); }

/* Mobile refinements ---------------------------------------------------- */
@media (max-width: 700px) {
  h1, h2, h3, h4 { overflow-wrap: break-word; }
  .h1 { font-size: clamp(34px, 9.5vw, 54px); }
  .h2 { font-size: clamp(28px, 7.5vw, 40px); }
  .section { padding: 48px 0; }
  .hero .wrap { padding: 36px 0 44px; }
  .hero .lede { margin: 18px 0 26px; }
  .hero-note { align-items: flex-start; }
  .hero-note svg { margin-top: 3px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { gap: 22px; }
  .cta-act, .cta-act .btn { width: 100%; }
  .cta-act span { max-width: none; }
  .cta-band .wrap { padding: 36px 0; }
  .section-head .btn, .sub-head + .cards { margin-top: 0; }
  .side { position: static; padding: 24px; }
  .banner { height: clamp(170px, 44vw, 260px); }
  .footer .top { padding: 44px 0 36px; gap: 32px; }
  .strip .item { padding: 18px 14px; }
  .strip .num { font-size: 30px; }
  .prose h2 { font-size: 22px; margin-top: 28px; }
}
/* Stacked on a phone, white-on-white sections read as one long slab.
   Band them with the greys we already have — still strictly monochrome. */
@media (max-width: 700px) {
  #capabilities, #materials { background: var(--paper-2); }
  .section-alt { background: var(--steel-3); }
  .card, .mat { border-color: #D5D8DB; }
  .card-img { border-bottom: 1px solid #D5D8DB; }
  .sub-head { border-top: 1px solid #D5D8DB; padding-top: 30px; }
  .checks li { padding-bottom: 14px; border-bottom: 1px solid var(--paper-2); }
  .on-dark .checks li { border-bottom-color: rgba(255,255,255,.08); }
  .checks li:last-child { padding-bottom: 0; border-bottom: 0; }
  .prose h2 { padding-top: 24px; border-top: 1px solid var(--steel-3); }
  .prose > h2:first-child, .notice + h2 { padding-top: 0; border-top: 0; }
  .side { border: 1px solid var(--ink-3); }
}
@media (max-width: 400px) {
  .strip .wrap { grid-template-columns: 1fr; }
  .strip .item { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .strip .item:first-child { border-top: 0; }
}
