@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;800;900&family=Karla:ital,wght@0,300;0,400;0,500;0,600;1,300&family=Fragment+Mono:ital,wght@0,400;1,400&display=swap');

:root {
  --orange:    #F05500;
  --orange-dk: #C03800;
  --orange-lt: rgba(240,85,0,0.08);
  --cobalt:    #1547D4;
  --cobalt-dk: #1035A8;
  --ink:       #0C0C0C;
  --ink-80:    rgba(12,12,12,0.80);
  --ink-70:    rgba(12,12,12,0.70);
  --ink-50:    rgba(12,12,12,0.50);
  --ink-30:    rgba(12,12,12,0.30);
  --ink-15:    rgba(12,12,12,0.15);
  --ink-08:    rgba(12,12,12,0.08);
  --ink-04:    rgba(12,12,12,0.04);
  --white:     #FFFFFF;
  --off-white: #F5F4F1;
  --warm-grey: #EDE9E4;
  --mid-grey:  #DDD8D1;
  --border:    #D8D3CB;
  --nav-h:     64px;
  --sv:        clamp(64px, 8vw, 112px);
  --maxw:      1240px;
  --pad:       clamp(20px, 4vw, 52px);
  --r:         2px;
  --f-display: 'Big Shoulders Display', system-ui, sans-serif;
  --f-ui:      'Karla', system-ui, sans-serif;
  --f-body:    'Karla', system-ui, sans-serif;
  --f-mono:    'Fragment Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--f-body); background: var(--white); color: var(--ink); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; font-weight: 400; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.s-white { background: var(--white); }
.s-off   { background: var(--off-white); }
.s-warm  { background: var(--warm-grey); }
.s-orange{ background: var(--orange); }
.s-cobalt{ background: var(--cobalt); }
.s-ink   { background: var(--ink); }

.tx-grain { position: relative; isolation: isolate; }
.tx-grain::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 300px; }
.tx-grain > * { position: relative; z-index: 1; }
.tx-grid { background-image: linear-gradient(var(--ink-08) 1px, transparent 1px), linear-gradient(90deg, var(--ink-08) 1px, transparent 1px); background-size: 52px 52px; }
.tx-grid-d { background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 52px 52px; }
.tx-dots { background-image: radial-gradient(circle, var(--ink-15) 1px, transparent 1px); background-size: 24px 24px; }
.tx-dots-d { background-image: radial-gradient(circle, rgba(255,255,255,0.10) 1px, transparent 1px); background-size: 24px 24px; }
.tx-hatch-d { background-image: repeating-linear-gradient(45deg, transparent, transparent 22px, rgba(255,255,255,0.03) 22px, rgba(255,255,255,0.03) 23px), repeating-linear-gradient(-45deg, transparent, transparent 22px, rgba(255,255,255,0.03) 22px, rgba(255,255,255,0.03) 23px); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
section { padding: var(--sv) 0; }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h); display: flex; align-items: center; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: box-shadow 0.3s; }
.navbar.scrolled { box-shadow: 0 1px 20px rgba(12,12,12,0.06); }
.navbar .wrap { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-mark { width: 30px; height: 30px; background: var(--orange); display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 900; font-size: 18px; color: #fff; }
.nav-name { font-family: var(--f-body); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-50); transition: color 0.2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; right: 0; height: 1.5px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.25s cubic-bezier(0.4,0,0.2,1); }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--orange); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: all 0.3s; }
.mob-menu { display: none; position: fixed; inset: 0; z-index: 999; background: var(--white); flex-direction: column; align-items: center; justify-content: center; gap: 18px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.mob-menu.open { opacity: 1; pointer-events: all; }
.mob-menu a { font-family: var(--f-display); font-weight: 800; font-size: 52px; letter-spacing: -0.01em; color: var(--ink-30); transition: color 0.2s; text-transform: uppercase; }
.mob-menu a:hover { color: var(--orange); }
.mob-close { position: absolute; top: 22px; right: 26px; font-size: 22px; color: var(--ink-30); cursor: pointer; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-body); font-weight: 600; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; padding: 12px 24px; transition: all 0.2s cubic-bezier(0.4,0,0.2,1); white-space: nowrap; }
.btn-p { background: var(--orange); color: #fff; }
.btn-p:hover { background: var(--orange-dk); transform: translateY(-1px); }
.btn-w { background: var(--white); color: var(--ink); border: 1px solid var(--border); }
.btn-w:hover { border-color: var(--ink-30); background: var(--off-white); }
.btn-ghost-o { background: transparent; color: var(--orange); border: 1px solid var(--orange); }
.btn-ghost-o:hover { background: var(--orange-lt); }
.btn-ghost-w { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost-w:hover { border-color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.07); }

/* PAGE HERO */
.ph { padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 96px)); padding-bottom: clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--border); }
.ph.orange { background: var(--orange); border-bottom: none; }
.ph.cobalt { background: var(--cobalt); border-bottom: none; }
.ph.ink    { background: var(--ink);    border-bottom: none; }
.ph-eyebrow { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); display: block; margin-bottom: 14px; }
.ph.orange .ph-eyebrow, .ph.cobalt .ph-eyebrow, .ph.ink .ph-eyebrow { color: rgba(255,255,255,0.55); }
.ph h1 { font-family: var(--f-display); font-weight: 900; font-size: clamp(56px, 8.5vw, 116px); letter-spacing: -0.01em; line-height: 0.92; text-transform: uppercase; color: var(--ink); max-width: 900px; }
.ph h1 em { color: var(--orange); font-style: normal; }
.ph.orange h1, .ph.cobalt h1, .ph.ink h1 { color: #fff; }
.ph.orange h1 em { color: rgba(255,255,255,0.72); }
.ph p { margin-top: 20px; font-size: clamp(15px, 1.2vw, 17px); color: var(--ink-70); max-width: 520px; line-height: 1.78; font-weight: 300; }
.ph.orange p, .ph.cobalt p, .ph.ink p { color: rgba(255,255,255,0.68); }

/* SECTION HEADER */
.sh { margin-bottom: clamp(40px, 5vw, 64px); }
.sh .eyebrow { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); display: block; margin-bottom: 10px; }
.sh.on-dark .eyebrow { color: rgba(255,255,255,0.55); }
.sh h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.005em; line-height: 0.95; text-transform: uppercase; color: var(--ink); }
.sh.on-dark h2 { color: #fff; }
.sh p { font-size: clamp(14px, 1.1vw, 16px); color: var(--ink-70); max-width: 500px; line-height: 1.78; margin-top: 14px; font-weight: 300; }
.sh.on-dark p { color: rgba(255,255,255,0.60); }

/* IMAGE PLACEHOLDER */
.iz { background: var(--warm-grey); border: 1px dashed var(--mid-grey); overflow: hidden; position: relative; }
.iz-body { min-height: 260px; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 28px; text-align: center; background-image: linear-gradient(var(--ink-08) 1px, transparent 1px), linear-gradient(90deg, var(--ink-08) 1px, transparent 1px); background-size: 26px 26px; }
.iz-body svg { width: 20px; height: 20px; stroke: var(--ink-30); fill: none; }
.iz-title { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.iz-hint { font-size: 12px; color: var(--ink-50); line-height: 1.6; max-width: 240px; font-weight: 300; }
.iz-bar { position: absolute; bottom: 0; left: 0; right: 0; padding: 7px 12px; background: var(--ink-04); border-top: 1px dashed var(--mid-grey); font-family: var(--f-mono); font-size: 10px; color: var(--ink-50); letter-spacing: 0.06em; }

/* SPLIT */
.split { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.split-img { border-right: 1px solid var(--border); }
.split-text { padding: clamp(40px,5vw,72px) clamp(32px,4vw,60px); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.split.rev .split-img { order: 2; border-right: none; border-left: 1px solid var(--border); }
.split.rev .split-text { order: 1; }
.split-text h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px,3.5vw,48px); letter-spacing: -0.005em; line-height: 0.95; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.split-text h2 em { color: var(--orange); font-style: normal; }
.on-dark .split-text h2, .split-text.on-dark h2 { color: #fff; }
.split-text p { font-size: clamp(14px,1.1vw,16px); color: var(--ink-70); line-height: 1.82; margin-bottom: 18px; font-weight: 300; }
.on-dark .split-text p, .split-text.on-dark p { color: rgba(255,255,255,0.68); }

/* SPEC TABLE */
.stbl { width: 100%; border-collapse: collapse; }
.stbl th { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-50); text-align: left; padding: 10px 14px; border-bottom: 1.5px solid var(--border); }
.stbl td { padding: 11px 14px; font-size: 14px; color: var(--ink-70); border-bottom: 1px solid var(--ink-08); font-weight: 300; }
.stbl td:first-child { color: var(--ink); font-weight: 500; font-family: var(--f-ui); }
.stbl tr:last-child td { border-bottom: none; }
.stbl tr:hover td { background: var(--off-white); }
.stbl-d th { color: rgba(255,255,255,0.45); border-bottom-color: rgba(255,255,255,0.10); }
.stbl-d td { color: rgba(255,255,255,0.65); border-bottom-color: rgba(255,255,255,0.06); }
.stbl-d td:first-child { color: #fff; }
.stbl-d tr:hover td { background: rgba(255,255,255,0.04); }
.stag { display: inline-flex; align-items: center; padding: 2px 8px; background: var(--orange-lt); border: 1px solid rgba(240,85,0,0.18); font-size: 10px; font-weight: 500; color: var(--orange); font-family: var(--f-mono); }

/* LOGO SCROLL */
.logo-track-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #fff 8%, #fff 92%, transparent); mask-image: linear-gradient(90deg, transparent, #fff 8%, #fff 92%, transparent); }
.logo-track { display: flex; gap: 8px; width: max-content; animation: scroll-logos 32s linear infinite; }
.logo-track:hover { animation-play-state: paused; }
@keyframes scroll-logos { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-box { width: 148px; height: 52px; flex-shrink: 0; border: 1px solid var(--border); background: var(--white); display: flex; align-items: center; justify-content: center; padding: 0 16px; transition: border-color 0.2s; }
.logo-box:hover { border-color: var(--ink-30); }
.logo-box span { font-family: var(--f-ui); font-size: 11.5px; font-weight: 500; color: var(--ink-50); white-space: nowrap; transition: color 0.2s; }
.logo-box:hover span { color: var(--ink); }

.divider        { height: 1px; background: var(--border); }
.divider-orange { height: 3px; background: var(--orange); }
.divider-cobalt { height: 3px; background: var(--cobalt); }

/* ANIMATIONS */
.fu { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fu.vis { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.09s; }
.d2 { transition-delay: 0.18s; }
.d3 { transition-delay: 0.27s; }
.d4 { transition-delay: 0.36s; }

/* PROCESS STAGES */
.stage { display: grid; grid-template-columns: 64px 1fr 260px; border-bottom: 1px solid var(--border); transition: background 0.15s; }
.stage:hover { background: var(--off-white); }
.stage.dk:hover { background: rgba(255,255,255,0.04); }
.stage-num { border-right: 1px solid var(--border); display: flex; align-items: center; justify-content: center; padding: 28px 0; position: relative; }
.stage.dk .stage-num { border-right-color: rgba(255,255,255,0.10); }
.stage-num::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: transparent; transition: background 0.15s; }
.stage:hover .stage-num::before { background: var(--orange); }
.stage.dk:hover .stage-num::before { background: rgba(255,255,255,0.30); }
.sn { font-family: var(--f-mono); font-size: 11px; color: var(--orange); letter-spacing: 0.08em; }
.stage.dk .sn { color: rgba(255,255,255,0.45); }
.stage-text { padding: 28px 36px; border-right: 1px solid var(--border); }
.stage.dk .stage-text { border-right-color: rgba(255,255,255,0.10); }
.stage-title { font-family: var(--f-ui); font-weight: 700; font-size: clamp(15px,1.7vw,20px); letter-spacing: 0.01em; color: var(--ink); margin-bottom: 8px; }
.stage.dk .stage-title { color: #fff; }
.stage-desc { font-size: 14px; color: var(--ink-70); line-height: 1.75; max-width: 480px; font-weight: 300; }
.stage.dk .stage-desc { color: rgba(255,255,255,0.62); }
.stage-img { padding: 16px; display: flex; align-items: stretch; }
.siz { flex: 1; border: 1px dashed var(--mid-grey); background: var(--warm-grey); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 16px; text-align: center; min-height: 120px; background-image: linear-gradient(var(--ink-08) 1px,transparent 1px),linear-gradient(90deg,var(--ink-08) 1px,transparent 1px); background-size: 22px 22px; transition: border-color 0.15s; }
.stage:hover .siz { border-color: var(--ink-30); }
.stage.dk .siz { border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.04); background-image: linear-gradient(rgba(255,255,255,0.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.04) 1px,transparent 1px); background-size: 22px 22px; }
.stage.dk:hover .siz { border-color: rgba(255,255,255,0.25); }
.siz svg { width: 17px; height: 17px; stroke: var(--ink-30); fill: none; }
.stage.dk .siz svg { stroke: rgba(255,255,255,0.35); }
.siz-title { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.stage.dk .siz-title { color: rgba(255,255,255,0.40); }
.siz-hint { font-size: 10px; color: var(--ink-50); max-width: 180px; line-height: 1.4; }
.stage.dk .siz-hint { color: rgba(255,255,255,0.35); }

/* FLOW HEADER */
.flow-hd { display: flex; align-items: baseline; gap: 20px; padding: 48px 0 28px; border-bottom: 1px solid var(--border); }
.flow-hd.dk { border-bottom-color: rgba(255,255,255,0.12); }
.flow-n { font-family: var(--f-display); font-weight: 900; font-size: clamp(64px,8vw,100px); line-height: 1; color: var(--ink-08); user-select: none; flex-shrink: 0; text-transform: uppercase; }
.flow-hd.dk .flow-n { color: rgba(255,255,255,0.07); }
.flow-lbl h2 { font-family: var(--f-ui); font-weight: 700; font-size: clamp(18px,2.2vw,26px); letter-spacing: 0.01em; color: var(--ink); }
.flow-hd.dk .flow-lbl h2 { color: #fff; }
.flow-lbl p { font-size: 14px; color: var(--ink-50); margin-top: 4px; font-weight: 300; }
.flow-hd.dk .flow-lbl p { color: rgba(255,255,255,0.48); }

/* QC */
.qc-row { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--border); overflow: hidden; }
.qc-col { padding: 28px 24px; border-right: 1px solid var(--border); }
.qc-col:last-child { border-right: none; }
.qc-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; margin-bottom: 12px; }
.qc-col h3 { font-family: var(--f-ui); font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); letter-spacing: 0.02em; }
.qc-item { font-size: 13px; color: var(--ink-70); padding: 5px 0; border-bottom: 1px solid var(--ink-08); display: flex; gap: 8px; font-weight: 300; }
.qc-item::before { content: '–'; color: var(--ink-30); flex-shrink: 0; }
.qc-item:last-child { border-bottom: none; }

/* CAPS GRID */
.caps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5px; background: rgba(255,255,255,0.12); }
.cap-card { background: rgba(255,255,255,0.07); overflow: hidden; display: flex; flex-direction: column; transition: background 0.2s; }
.cap-card:hover { background: rgba(255,255,255,0.15); }
.cap-img { height: 196px; background: rgba(0,0,0,0.15); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; position: relative; overflow: hidden; }
.cap-img::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.06) 1px,transparent 1px); background-size: 26px 26px; pointer-events: none; }
.cap-img svg { width: 26px; height: 26px; stroke: rgba(255,255,255,0.50); fill: none; position: relative; z-index: 1; }
.cap-img-lbl { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.50); position: relative; z-index: 1; text-align: center; }
.cap-img-hint { font-size: 10px; color: rgba(255,255,255,0.30); position: relative; z-index: 1; text-align: center; max-width: 180px; }
.cap-num { position: absolute; top: 10px; left: 12px; font-family: var(--f-mono); font-size: 10px; color: rgba(255,255,255,0.25); z-index: 2; }
.cap-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.cap-body h3 { font-family: var(--f-ui); font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 8px; letter-spacing: 0.01em; }
.cap-body p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.72; flex: 1; margin-bottom: 14px; font-weight: 300; }
.cap-link { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.42); transition: color 0.2s; }
.cap-card:hover .cap-link { color: #fff; }

/* METRICS BAR */
.metrics-bar { display: grid; grid-template-columns: repeat(4,1fr); }
.metric { padding: 28px 24px; border-right: 1px solid rgba(255,255,255,0.10); }
.metric:last-child { border-right: none; }
.metric-v { font-family: var(--f-display); font-weight: 800; font-size: clamp(24px,3vw,40px); color: #fff; line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; }
.metric-v span { color: rgba(255,255,255,0.45); }
.metric-label { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.10em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-top: 7px; }

/* STAT ROW */
.stat-row { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--border); }
.sr { padding: 22px 28px; border-right: 1px solid var(--border); }
.sr:last-child { border-right: none; }
.sr-n { font-family: var(--f-display); font-weight: 800; font-size: 28px; color: var(--orange); line-height: 1; text-transform: uppercase; }
.sr-l { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-50); margin-top: 5px; }

/* ACCORDION */
.acc-item { border-bottom: 1px solid var(--border); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 17px 0; cursor: pointer; text-align: left; background: none; border: none; }
.acc-btn h4 { font-family: var(--f-ui); font-weight: 600; font-size: 15px; color: var(--ink); letter-spacing: 0.01em; }
.acc-ic { width: 26px; height: 26px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink-50); font-size: 17px; flex-shrink: 0; transition: transform 0.3s, background 0.3s, border-color 0.3s; }
.acc-item.open .acc-ic { transform: rotate(45deg); background: var(--orange); border-color: var(--orange); color: #fff; }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.acc-inner { padding-bottom: 18px; }
.mach-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.mach-item { padding: 9px 12px; background: var(--off-white); border: 1px solid var(--border); font-size: 13px; color: var(--ink-70); font-weight: 300; }

/* GALLERY */
.gal { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.gi { overflow: hidden; border: 1px solid var(--border); cursor: pointer; transition: border-color 0.2s; }
.gi:hover { border-color: var(--ink-30); }
.gi:first-child { grid-column: span 1; }
.gi-body { aspect-ratio: 4/3; background: var(--warm-grey); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 18px; background-image: linear-gradient(var(--ink-08) 1px,transparent 1px),linear-gradient(90deg,var(--ink-08) 1px,transparent 1px); background-size: 26px 26px; }
.gi-body svg { width: 20px; height: 20px; stroke: var(--ink-30); fill: none; }
.gi-lbl { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.gi-hint { font-size: 10px; color: var(--ink-50); text-align: center; max-width: 160px; font-weight: 300; }

/* TIMELINE */
.tl { display: grid; grid-template-columns: repeat(5,1fr); border: 1px solid var(--border); overflow: hidden; }
.tl-item { padding: 22px 18px; border-right: 1px solid var(--border); position: relative; }
.tl-item:last-child { border-right: none; }
.tl-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2.5px; background: var(--border); }
.tl-item.on::before { background: var(--orange); }
.tl-year { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--orange); margin-bottom: 5px; }
.tl-title { font-family: var(--f-ui); font-weight: 600; font-size: 13px; margin-bottom: 5px; color: var(--ink); letter-spacing: 0.01em; }
.tl-desc { font-size: 12px; color: var(--ink-50); line-height: 1.6; font-weight: 300; }

/* FOOTER */
footer { background: var(--ink); color: #fff; padding: 60px 0 28px; }
.fg { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.fg .brand p { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,0.38); max-width: 260px; line-height: 1.78; font-weight: 300; }
.fc h4 { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.fc ul { display: flex; flex-direction: column; gap: 9px; }
.fc ul li a { font-size: 14px; color: rgba(255,255,255,0.38); transition: color 0.2s; font-weight: 300; }
.fc ul li a:hover { color: #fff; }
.fci { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.fci .ico { width: 13px; flex-shrink: 0; margin-top: 2px; opacity: 0.30; }
.fci p { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.65; font-weight: 300; }
.fb { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; }
.fb p { font-size: 11.5px; color: rgba(255,255,255,0.20); }
.ftag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .fg { grid-template-columns: 1fr 1fr; gap: 32px; }
  .fg .brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mob-menu { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split-img { border-right: none !important; border-bottom: 1px solid var(--border); min-height: 260px; }
  .split.rev .split-img { order: 0 !important; border-left: none !important; }
  .split.rev .split-text { order: 0 !important; }
  .caps-grid { grid-template-columns: 1fr; }
  .metrics-bar { grid-template-columns: 1fr 1fr; }
  .metric { border-bottom: 1px solid rgba(255,255,255,0.10); }
  .metric:nth-child(2n) { border-right: none; }
  .metric:nth-last-child(-n+2) { border-bottom: none; }
  .stage { grid-template-columns: 52px 1fr; }
  .stage-img { display: none; }
  .qc-row { grid-template-columns: 1fr; }
  .qc-col { border-right: none; border-bottom: 1px solid var(--border); }
  .qc-col:last-child { border-bottom: none; }
  .stat-row { grid-template-columns: 1fr 1fr !important; }
  .stat-row .sr:nth-child(2) { border-right: none; }
  .stat-row .sr:nth-child(n+3) { border-top: 1px solid var(--border); }
  .stat-row .sr:nth-child(3) { border-right: 1px solid var(--border); }
  .tl { grid-template-columns: 1fr 1fr; }
  .tl-item:nth-child(2n) { border-right: none; }
  .tl-item { border-bottom: 1px solid var(--border); }
  .tl-item:last-child { border-bottom: none; }
  .gal { grid-template-columns: 1fr 1fr; }
  .gi:first-child { grid-column: span 1; }
  .mach-grid { grid-template-columns: 1fr 1fr; }
  .fg { grid-template-columns: 1fr; }
  .fb { flex-direction: column; gap: 10px; text-align: center; }
  .cta-inline { flex-direction: column !important; gap: 24px !important; }
}
@media (max-width: 600px) {
  section { padding: 56px 0; }
  .ph { padding-top: calc(var(--nav-h) + 44px); padding-bottom: 44px; }
  .gal { grid-template-columns: 1fr; }
  .gi:first-child { grid-column: span 1; }
  .mach-grid { grid-template-columns: 1fr; }
}

/* ─── LOGO SIZING & COLOR VARIANTS ──────────────────────────── */
.nav-logo { display: flex; align-items: center; }
.nav-logo .logo-h { height: 28px; width: auto; display: block; }

/* Navbar: default logo on light background — darken grey to ink */
.navbar .logo-h {
  filter: brightness(0) saturate(100%);
  /* Makes grey parts black, orange parts black — then we restore orange */
}
/* Keep the orange accent: we use a two-step approach via sepia+hue */
/* Better: use the default logo as-is but with slight contrast boost */
.navbar .logo-h {
  filter: none;
}

/* Footer logo: white version is already baked in */
footer .logo-h { height: 24px; width: auto; display: block; }

/* Mobile menu — show stacked logo, white version */
.mob-logo {
  margin-bottom: 8px;
}
.mob-logo img { height: 48px; width: auto; }

/* For page heroes on orange/cobalt/ink — if logo ever appears there */
.ph.orange .logo-h,
.ph.cobalt .logo-h,
.ph.ink .logo-h { filter: brightness(0) invert(1); }

/* ═══════════════════════════════════════════════════
   MOBILE — comprehensive pass
   ═══════════════════════════════════════════════════ */

@media (max-width: 900px) {

  /* Nav */
  .navbar { height: 56px; }
  .nav-logo .logo-h { height: 22px; }

  /* Page hero */
  .ph h1 { font-size: clamp(44px, 11vw, 72px); }
  .ph p  { font-size: 15px; }

  /* Section header */
  .sh h2 { font-size: clamp(28px, 7vw, 44px); }

  /* Metrics bar */
  .metrics-bar { grid-template-columns: 1fr 1fr; }
  .metric { padding: 20px 16px; }
  .metric-v { font-size: clamp(22px, 5vw, 32px); }

  /* Stat row */
  .stat-row { grid-template-columns: 1fr 1fr; }
  .sr { padding: 18px 20px; }
  .sr-n { font-size: 22px; }

  /* Split layout */
  .split { grid-template-columns: 1fr; }
  .split-img { border-right: none !important; border-left: none !important; border-bottom: 1px solid var(--border); min-height: 240px; }
  .split.rev .split-img { order: 0 !important; }
  .split.rev .split-text { order: 0 !important; }
  .split-text { padding: 32px 24px; }
  .split-text h2 { font-size: clamp(26px, 7vw, 40px); }

  /* Timeline */
  .tl { grid-template-columns: 1fr 1fr; }
  .tl-item:nth-child(2n) { border-right: none; }
  .tl-item { border-bottom: 1px solid var(--border); }
  .tl-item:nth-last-child(-n+2) { border-bottom: none; }

  /* Gallery */
  .gal { grid-template-columns: 1fr 1fr; gap: 6px; }

  /* Accordion */
  .mach-grid { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .fg { grid-template-columns: 1fr 1fr; gap: 28px; }
  .fg .brand { grid-column: 1 / -1; }
  .fb { flex-direction: column; gap: 8px; text-align: center; }
  .cta-inline { flex-direction: column !important; gap: 24px !important; align-items: flex-start !important; }
}

@media (max-width: 600px) {

  /* Layout */
  :root { --sv: 48px; --pad: 18px; }
  section { padding: 48px 0; }

  /* Nav */
  .navbar { height: 52px; }
  .nav-logo .logo-h { height: 20px; }

  /* Page hero */
  .ph { padding-top: calc(52px + 40px); padding-bottom: 40px; }
  .ph h1 { font-size: clamp(38px, 12vw, 58px); line-height: 0.90; }
  .ph p  { font-size: 14px; margin-top: 14px; }
  .ph-eyebrow { font-size: 9px; }

  /* Section header */
  .sh { margin-bottom: 28px; }
  .sh h2 { font-size: clamp(26px, 9vw, 40px); line-height: 0.95; }
  .sh p  { font-size: 14px; }

  /* Split */
  .split-text { padding: 28px 18px; }
  .split-text h2 { font-size: clamp(24px, 8vw, 36px); }
  .split-text p  { font-size: 14px; }

  /* Metrics — single column */
  .metrics-bar { grid-template-columns: 1fr 1fr; }
  .metric { padding: 16px 14px; border-bottom: 1px solid rgba(255,255,255,0.10); }
  .metric:nth-child(2n) { border-right: none; }
  .metric-v { font-size: clamp(20px, 6vw, 28px); }
  .metric-label { font-size: 9px; }

  /* Stat row — 2 col */
  .stat-row { grid-template-columns: 1fr 1fr; }
  .sr { padding: 16px 16px; }
  .sr-n { font-size: 20px; }
  .sr-l { font-size: 9px; }

  /* Logo scroll */
  .logo-box { width: 120px; height: 44px; }
  .logo-box span { font-size: 10px; }

  /* Caps grid — single col */
  .caps-grid { grid-template-columns: 1fr; gap: 1px; }

  /* Gallery — single col */
  .gal { grid-template-columns: 1fr; gap: 6px; }

  /* Timeline — single col */
  .tl { grid-template-columns: 1fr; }
  .tl-item { border-right: none; border-bottom: 1px solid var(--border); }
  .tl-item:last-child { border-bottom: none; }

  /* QC row — single col */
  .qc-row { grid-template-columns: 1fr; }
  .qc-col { border-right: none; border-bottom: 1px solid var(--border); }
  .qc-col:last-child { border-bottom: none; }

  /* Accordion */
  .mach-grid { grid-template-columns: 1fr; }

  /* Process stages */
  .stage { grid-template-columns: 44px 1fr; }
  .stage-img { display: none; }
  .stage-text { padding: 20px 18px; }
  .stage-title { font-size: 15px; }
  .stage-desc  { font-size: 13px; }

  /* Flow header */
  .flow-hd { padding: 32px 0 20px; gap: 12px; }
  .flow-n { font-size: clamp(44px, 12vw, 64px); }
  .flow-lbl h2 { font-size: 18px; }

  /* Buttons */
  .btn { padding: 11px 20px; font-size: 13px; }

  /* Footer */
  .fg { grid-template-columns: 1fr; gap: 24px; }
  .fc ul { gap: 8px; }
  .fb p { font-size: 11px; }

  /* Mobile menu */
  .mob-menu a { font-size: 38px; }

  /* Contact grid */
  .contact-grid { grid-template-columns: 1fr; }
  .c-row { padding: 16px 18px; }
  .how-grid { grid-template-columns: 1fr; }
  .how-item { border-right: none; border-bottom: 1px solid var(--border); }
  .how-item:last-child { border-bottom: none; }
  .how-num { font-size: 28px; }

  /* About leader card */
  .leader { grid-template-columns: 1fr; }
  .leader-img { border-right: none; border-bottom: 1px solid var(--border); }

  /* Awards grid */
  .awards-grid { grid-template-columns: 1fr 1fr; }
  .award:nth-child(2n) { border-right: none; }
  .award { border-bottom: 1px solid var(--border); }
  .award:nth-last-child(-n+2) { border-bottom: none; }
}

/* ─── CONTACT CHECKLIST GRID ─────────────────────────────── */
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

/* ─── HOURS ROW — prevent overflow ──────────────────────── */
.hours-row { gap: 12px; flex-wrap: nowrap; min-width: 0; }
.hours-day { min-width: 0; flex: 1; }
.hours-time { white-space: nowrap; flex-shrink: 0; font-size: 12px; }

/* ─── MOBILE FIXES ───────────────────────────────────────── */
@media (max-width: 900px) {
  .checklist-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 600px) {
  /* Checklist */
  .checklist-grid { gap: 24px; }

  /* Split image placeholder - don't let it be too tall */
  .split-img-ph { min-height: 200px !important; }
  .split-img { min-height: 200px; }

  /* Hours row */
  .hours-row { padding: 12px 16px; font-size: 13px; }
  .hours-time { font-size: 12px; }

  /* Contact grid rows */
  .c-row { padding: 14px 16px; gap: 10px; }
  .c-icon { width: 30px; height: 30px; flex-shrink: 0; }
  .c-val { font-size: 14px; }
  .c-lbl { font-size: 8px; }

  /* How to enquire */
  .how-num { font-size: 24px; margin-bottom: 8px; }
  .how-title { font-size: 14px; }
  .how-desc { font-size: 13px; }

  /* Homepage CTA on mobile - stack button below text */
  .cta-inline { gap: 20px !important; }
  .cta-inline .btn { width: 100%; justify-content: center; }

  /* Tables on mobile */
  .stbl { font-size: 13px; }
  .stbl th { font-size: 8px; padding: 8px 10px; }
  .stbl td { padding: 10px 10px; font-size: 13px; }

  /* Process step cards on mobile */
  .steps-grid { gap: 8px !important; }
  .step-card { padding: 16px !important; }
  .step-num { font-size: 11px !important; }
  .step-title { font-size: 14px !important; }
  .step-desc { font-size: 12px !important; }
  .step-photo { margin-top: 12px !important; height: 80px !important; }

  /* Caps grid cards */
  .cap-body { padding: 16px 18px; }
  .cap-body h3 { font-size: 15px; }
  .cap-body p { font-size: 12px; }
  .cap-img { height: 140px; }

  /* Footer brand */
  .fg .brand { padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* ─── CAPABILITIES TABLE — mobile ──────────────────────── */
@media (max-width: 700px) {
  /* Tighter table cells on mobile */
  .stbl th { font-size: 8px; padding: 8px 8px; letter-spacing: 0.08em; }
  .stbl td { padding: 10px 8px; font-size: 12px; }
  .stbl td:first-child { font-size: 12px; }
  .stag { font-size: 9px; padding: 2px 6px; }

  /* Dark table variant */
  .stbl-d th { font-size: 8px; padding: 8px 8px; }
  .stbl-d td { padding: 10px 8px; font-size: 12px; }

  /* Split text on mobile — less padding around tables */
  .split-text { padding: 24px 16px; }

  /* Stat row at top of capabilities */
  .stat-row .sr { padding: 16px 14px; }
  .sr-n { font-size: 18px; }
  .sr-l { font-size: 8px; letter-spacing: 0.08em; }
}

/* ═══════════════════════════════════════════════════
   CRITICAL MOBILE OVERFLOW FIXES
   ═══════════════════════════════════════════════════ */

/* Grid children must allow shrinking so overflow-x:auto works */
@media (max-width: 900px) {
  .split { overflow: hidden; }
  .split-text { min-width: 0; }
  .split-text > * { min-width: 0; }

  /* Contact col must not overflow its grid parent */
  .contact-grid { overflow: hidden; }
  .contact-col { min-width: 0; overflow: hidden; }
  .c-val { word-break: break-word; overflow-wrap: anywhere; }

  /* Hours row — tighter on mobile */
  .hours-row { padding: 11px 16px; font-size: 13px; }
  .hours-time { font-size: 11px; letter-spacing: 0; }
}

@media (max-width: 600px) {
  /* Ensure scroll containers work inside grid */
  .split-text [style*="overflow-x"] { min-width: 0; width: 100%; display: block; }
  
  /* Hours row ultra compact */
  .hours-row { padding: 10px 14px; }
  .hours-day { font-size: 13px; }
  .hours-time { font-size: 11px; }

  /* Footer — ultra compact on mobile */
  footer { padding: 36px 0 20px; }
  .fg {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 0 !important;
  }
  .fg .brand {
    padding: 0 0 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    grid-column: 1 !important;
  }
  .fg .brand p { font-size: 13px; margin-top: 8px; }
  .fc { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .fc:last-child { border-bottom: none; }
  .fc h4 { margin-bottom: 10px; font-size: 9px; }
  .fc ul { flex-direction: row; flex-wrap: wrap; gap: 6px 16px; }
  .fc ul li a { font-size: 13px; }
  /* Contact details in footer — inline on mobile */
  .fci { margin-bottom: 6px; }
  .fci p { font-size: 12px; }
  /* Footer bottom bar */
  .fb { padding-top: 16px; flex-direction: column; gap: 4px; }
  .fb p { font-size: 11px; }
  .ftag { font-size: 9px; }
}

/* ═══════════════════════════════════════════════════
   ENHANCED TEXTURES
   ═══════════════════════════════════════════════════ */

/* Diagonal crosshatch — light */
.tx-cross { background-image: repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(12,12,12,0.035) 18px, rgba(12,12,12,0.035) 19px), repeating-linear-gradient(-45deg, transparent, transparent 18px, rgba(12,12,12,0.035) 18px, rgba(12,12,12,0.035) 19px); }

/* Dense dot grid */
.tx-dot-sm { background-image: radial-gradient(circle, rgba(12,12,12,0.12) 1px, transparent 1px); background-size: 14px 14px; }

/* Diagonal lines only */
.tx-diag { background-image: repeating-linear-gradient(45deg, transparent, transparent 24px, rgba(12,12,12,0.04) 24px, rgba(12,12,12,0.04) 25px); }

/* Large grid — more prominent */
.tx-grid-lg { background-image: linear-gradient(rgba(12,12,12,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(12,12,12,0.06) 1px, transparent 1px); background-size: 80px 80px; }

/* Layered grid + dots combo */
.tx-ruled { background-image: linear-gradient(rgba(12,12,12,0.05) 1px, transparent 1px); background-size: 100% 32px; }

/* Image placeholders — softer, less competing with section textures */
.iz-body {
  background-image: none !important;
  background-color: var(--warm-grey);
}
.iz { border-style: dashed; border-color: var(--mid-grey); }

/* Hero small placeholder — no grid */
.hero-sm-body {
  background-image: none !important;
}

/* Client logo images — greyscale by default, colour on hover */
.logo-box img { max-height: 36px; max-width: 110px; width: auto; height: auto; object-fit: contain; filter: grayscale(100%); opacity: 0.55; transition: opacity 0.2s, filter 0.2s; display: block; }
.logo-box:hover img { filter: grayscale(0%); opacity: 1; }

/* ─── SHOWCASE IMAGE CONTAINERS ─────────────────────── */
.showcase-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--r);
  border: 1px solid var(--border);
}
.showcase-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.showcase-ph {
  position: absolute;
  inset: 0;
  background: var(--warm-grey);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
}
.showcase-ph svg { width: 22px; height: 22px; stroke: var(--ink-30); }

/* ─── WHY WORK WITH US — matches stage-row pattern ─── */
.why-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.why-row:hover { background: var(--warm-grey); }
.why-row-num {
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 0;
  position: relative;
}
.why-row-num::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.15s;
}
.why-row:hover .why-row-num::before { background: var(--orange); }
.why-row-body {
  padding: 28px 36px;
}
.why-row-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(16px, 1.8vw, 22px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.0;
}
.why-row-desc {
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.75;
  font-weight: 300;
  max-width: 600px;
}
.why-row-tag { display: none; }

@media (max-width: 600px) {
  .why-row { grid-template-columns: 44px 1fr; }
  .why-row-body { padding: 20px 18px; border-right: none; }
}
