/* Cisco Tool Repair — v2 "workshop" theme */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --bg: #07111c;
  --bg-2: #0b1826;
  --panel: #0f2032;
  --panel-2: #132a42;
  --line: rgba(160, 190, 220, .12);
  --line-2: rgba(160, 190, 220, .22);
  --text: #e9eff6;
  --muted: #9db0c4;
  --navy: #003466;
  --amber: #f2a900;
  --amber-2: #ffc233;
  --amber-ink: #1a1300;
  --steel-50: #f2f4f7;
  --steel-100: #e6eaef;
  --steel-ink: #142232;
  --steel-body: #45576b;
  --pass: #3ddc84;
  --radius: 16px;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--font-body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-2); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.02; margin: 0 0 .5em; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: .005em; }
h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
p { margin: 0 0 1em; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--amber); color: var(--amber-ink); }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; position: relative; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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: 12px; top: -60px; z-index: 200; background: var(--amber); color: var(--amber-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.amber { color: var(--amber); }
.mono { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.mono-tag { font: 500 .8rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.1rem; }

/* ---------- Buttons ---------- */
.btn { --b: transparent; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .8rem 1.25rem; border-radius: 10px; border: 1.5px solid var(--b); font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; position: relative; overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s, background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn--lg { padding: 1.05rem 1.6rem; font-size: 1.08rem; }
.btn--sm { padding: .6rem 1rem; font-size: .95rem; }
.btn--amber { background: var(--amber); color: var(--amber-ink); box-shadow: 0 0 0 0 rgba(242, 169, 0, .5), 0 10px 30px -10px rgba(242, 169, 0, .6); }
.btn--amber:hover { background: var(--amber-2); color: var(--amber-ink); transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(242, 169, 0, .18), 0 14px 34px -10px rgba(242, 169, 0, .7); }
.btn--amber::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn--amber:hover::after { transform: translateX(120%); }
.btn--outline { --b: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .03); backdrop-filter: blur(6px); }
.btn--outline:hover { --b: var(--amber); color: var(--text); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background-color .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(7, 17, 28, .93); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .8); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }
.brand img { width: 176px; border-radius: 6px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { position: relative; color: var(--text); text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 8px; transition: background-color .2s, color .2s; }
.site-nav ul a:hover { background: rgba(255, 255, 255, .06); }
.site-nav ul a.is-active { color: var(--amber); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); border-radius: 10px; cursor: pointer; position: relative; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--text); transition: transform .25s var(--ease), background-color .2s; content: ""; }
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { top: -6px; left: 0; }
.nav-toggle__bar::after { top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .brand img { width: 140px; }
  .nav-toggle { display: block; }
  .site-header.menu-open { background: rgba(7, 17, 28, .97); }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 16px 24px; background: rgba(7, 17, 28, .97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { display: block; padding: 14px 10px; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
}

/* ---------- Backgrounds ---------- */
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px), linear-gradient(rgba(160, 190, 220, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(160, 190, 220, .05) 1px, transparent 1px); background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px; mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%); }
.grid-bg--faint { opacity: .5; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.glow--amber { width: 520px; height: 520px; right: -120px; top: 12%; background: rgba(242, 169, 0, .16); }
.glow--navy { width: 700px; height: 700px; left: -250px; bottom: -300px; background: rgba(0, 72, 150, .45); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 24px) 0 80px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__coil { position: absolute; width: 900px; height: 900px; right: -260px; top: 50%; margin-top: -450px; opacity: .22; animation: spin 90s linear infinite; will-change: transform; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(3.2rem, 6.6vw, 6rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; line-height: .9; margin-bottom: .35em; }
.hero__title .line { display: block; }
.hero__title em { font-style: normal; color: var(--amber); position: relative; display: inline-block; }
.hero__title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .09em; background: var(--amber); transform-origin: left; transition: transform .9s .9s var(--ease); }
.js .hero__title .line:not(.is-in) em::after { transform: scaleX(0); }
.hero__lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.hero__chips { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .95rem; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; }
.hero__chips svg { width: 18px; height: 18px; fill: var(--amber); }

.hero__collage { position: relative; aspect-ratio: 1 / 1; max-width: 600px; width: 100%; justify-self: end; --px: 0; --py: 0; }
.shot { position: absolute; margin: 0; border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 6px rgba(255, 255, 255, .03); --d: 1; transform: translate3d(calc(var(--px) * var(--d) * 10px), calc(var(--py) * var(--d) * 10px), 0) rotate(var(--r, 0deg)); transition: transform .5s var(--ease); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot--main { --r: -3deg; --d: 1; left: 0; top: 16%; width: 76%; aspect-ratio: 572 / 427; z-index: 2; }
.shot--main figcaption { position: absolute; left: 12px; bottom: 12px; margin: 0; padding: 6px 10px; border-radius: 6px; background: rgba(7, 17, 28, .8); backdrop-filter: blur(6px); font-size: .7rem; color: var(--amber); }
.shot--tall { --r: 5deg; --d: 2; right: 0; top: 0; width: 36%; aspect-ratio: 645 / 786; z-index: 1; }
.shot--small { --r: -6deg; --d: 3; right: 6%; bottom: 2%; width: 30%; aspect-ratio: 340 / 454; z-index: 3; }
.pass-chip { --d: 4; position: absolute; left: 4%; bottom: 8%; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 14px; border-radius: 12px; background: rgba(11, 24, 38, .88); backdrop-filter: blur(10px); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7); transform: translate3d(calc(var(--px) * var(--d) * 10px), calc(var(--py) * var(--d) * 10px), 0); transition: transform .5s var(--ease); }
.pass-chip strong { display: block; font-family: var(--font-head); font-size: 1.2rem; letter-spacing: .02em; }
.pass-chip small { color: var(--muted); font-size: .66rem; }
.pass-chip__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--pass); box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(61, 220, 132, 0); } }

.strap { position: absolute; inset: -6% -20% -6% -4%; width: 124%; height: 112%; z-index: 0; overflow: visible; pointer-events: none; }
.strap path { fill: none; stroke-linecap: butt; }
.strap__band { stroke: var(--amber); stroke-width: 26; opacity: .92; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s .4s var(--ease); }
.strap__edge { stroke: rgba(26, 19, 0, .45); stroke-width: 2; stroke-dasharray: .012 .01; }
.js .hero__collage:not(.is-in) .strap__band { stroke-dashoffset: 1; }

.scroll-cue { position: absolute; left: 50%; bottom: 24px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--line-2); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--amber); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__collage { justify-self: center; max-width: 520px; }
  .hero__coil { width: 600px; height: 600px; right: -300px; top: 0; margin-top: 0; }
  .scroll-cue { display: none; }
}

/* ---------- Caution-tape marquee ---------- */
.tape { position: relative; z-index: 5; margin: -34px 0 0; padding: 30px 0; overflow: hidden; }
.tape__band { transform: rotate(-2deg); margin: 0 -40px; background: var(--amber); color: var(--amber-ink); position: relative; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }
.tape__band::before, .tape__band::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--amber-ink) 0 14px, var(--amber) 14px 28px); }
.tape__band::before { top: 0; }
.tape__band::after { bottom: 0; }
.tape__track { display: flex; width: max-content; animation: marquee 38s linear infinite; padding: 22px 0; }
.tape:hover .tape__track { animation-play-state: paused; }
.tape__list { display: flex; list-style: none; margin: 0; padding: 0; }
.tape__list li { font: 800 clamp(1.4rem, 2.6vw, 2rem)/1 var(--font-head); text-transform: uppercase; letter-spacing: .04em; padding: 0 28px; display: flex; align-items: center; gap: 56px; white-space: nowrap; }
.tape__list li::after { content: ""; width: 10px; height: 10px; background: var(--amber-ink); transform: rotate(45deg); margin-right: -28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section--panel { background: linear-gradient(180deg, var(--bg-2), var(--bg)); overflow: hidden; }
.section-head { max-width: 820px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--split > p { color: var(--steel-body); font-size: 1.1rem; max-width: 560px; margin: 0; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); gap: 16px; }
.tile { --mx: 50%; --my: 50%; position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); isolation: isolate; transition: border-color .3s, transform .3s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(242, 169, 0, .14), transparent 45%); opacity: 0; transition: opacity .3s; }
.tile:hover { border-color: var(--line-2); transform: translateY(-3px); }
.tile:hover::before { opacity: 1; }
.tile h3 { margin-top: 18px; }
.tile p { color: var(--muted); margin: 0; }
.tile__icon { width: 46px; height: 46px; padding: 11px; border-radius: 12px; fill: var(--amber); background: rgba(242, 169, 0, .1); border: 1px solid rgba(242, 169, 0, .25); }
.tile__kicker { color: var(--amber); display: block; margin-bottom: 10px; }
.tile--hero { grid-column: span 2; grid-row: span 2; display: flex; align-items: flex-end; min-height: 460px; padding: 34px; }
.tile__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile--hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 17, 28, .1) 0%, rgba(7, 17, 28, .6) 45%, rgba(7, 17, 28, .96) 100%); }
.tile--hero:hover .tile__bg { transform: scale(1.05); }
.tile--hero h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-top: 0; }
.tile--hero p { color: #c4d1de; max-width: 32em; }
.tile--list { grid-column: span 2; }
.tile--amber { background: var(--amber); color: var(--amber-ink); border-color: var(--amber); grid-column: span 2; }
.tile--amber p { color: rgba(26, 19, 0, .8); }
.tile--amber .tile__icon { fill: var(--amber-ink); background: rgba(26, 19, 0, .08); border-color: rgba(26, 19, 0, .2); }
.tile--amber::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .35), transparent 45%); }
.tile__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; color: var(--amber-ink); }
.tile__link svg { width: 16px; height: 16px; fill: currentColor; transition: transform .2s; }
.tile__link:hover svg { transform: translateX(4px); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.ticks li { position: relative; padding-left: 28px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 5px; background: rgba(242, 169, 0, .14); border: 1px solid rgba(242, 169, 0, .4); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 5px; height: 9px; border: solid var(--amber); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .tile--hero, .tile--list, .tile--amber { grid-column: auto; grid-row: auto; }
  .tile--hero { min-height: 380px; }
  .ticks { grid-template-columns: 1fr; }
}

/* ---------- Process ---------- */
.process { --p: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.process__rail { position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line-2); }
.process__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--amber), var(--amber-2)); transform-origin: left; transform: scaleX(var(--p)); box-shadow: 0 0 14px rgba(242, 169, 0, .6); }
.step { position: relative; padding-top: 78px; }
.step__num { position: absolute; top: 0; left: 0; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); color: var(--muted); font-size: .95rem; transition: border-color .4s, color .4s, background-color .4s, box-shadow .4s; }
.step.is-lit .step__num { border-color: var(--amber); color: var(--amber-ink); background: var(--amber); box-shadow: 0 0 0 6px rgba(242, 169, 0, .12); }
.step p { color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 8px; padding-left: 0; }
  .process__rail { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .process__fill { transform-origin: top; transform: scaleY(var(--p)); }
  .step { padding: 8px 0 28px 84px; }
}

/* ---------- Pull test + gauge ---------- */
.pulltest { overflow: hidden; }
.pulltest__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.pulltest__visual { position: relative; padding: 0 0 70px 0; }
.pulltest__photo { border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); max-width: 440px; }
.pulltest__photo img { filter: saturate(.85) contrast(1.05); }
.gauge { position: absolute; right: 0; bottom: 0; width: min(300px, 70%); padding: 20px 20px 16px; border-radius: 18px; background: rgba(11, 24, 38, .92); backdrop-filter: blur(10px); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .85); text-align: center; }
.gauge svg { width: 100%; display: block; overflow: visible; }
.gauge path { fill: none; }
.gauge__track { stroke: rgba(255, 255, 255, .08); stroke-width: 12; }
.gauge__pass { stroke: var(--pass); stroke-width: 12; stroke-dasharray: 75.4 251.33; stroke-dashoffset: -175.93; opacity: .85; }
.gauge__ticks { stroke: rgba(255, 255, 255, .35); stroke-width: 6; stroke-dasharray: 1.2 10.11; }
.gauge__major { stroke: var(--text); stroke-width: 10; stroke-dasharray: 2.4 54.15; }
.gauge__needle { transform-box: view-box; transform-origin: 100px 100px; transform: rotate(62deg); transition: transform 2.2s cubic-bezier(.3, 1.35, .45, 1); }
.gauge__needle line { stroke: var(--amber); stroke-width: 3.5; stroke-linecap: round; }
.gauge__needle circle { fill: var(--amber); stroke: var(--bg); stroke-width: 3; }
.js .gauge:not(.is-in) .gauge__needle { transform: rotate(-90deg); }
.gauge__label { fill: var(--muted); font: 500 8px var(--font-mono); letter-spacing: .15em; text-anchor: middle; }
.gauge__readout { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 6px; background: rgba(255, 255, 255, .05); color: var(--muted); transition: color .3s, background-color .3s; }
.gauge.is-done .gauge__readout { color: #06150c; background: var(--pass); }
.big { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 36px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg); padding: 22px 24px; }
.stat__num { display: block; font: 800 clamp(2.4rem, 4vw, 3.4rem)/1 var(--font-head); color: var(--amber); font-variant-numeric: tabular-nums; }
.stat__label { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .pulltest__inner { grid-template-columns: 1fr; } .pulltest__photo { max-width: 78%; } }

/* ---------- Light sections ---------- */
.section--light { background: var(--steel-50); color: var(--steel-body); }
.section--light-2 { background: var(--steel-100); }
.section--light h2, .section--light h3 { color: var(--steel-ink); }
.section--light .mono-tag { color: #9a6c00; }

/* Tabs */
.tabs__list { display: inline-flex; gap: 6px; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid #d6dde5; margin-bottom: 28px; flex-wrap: wrap; }
.tabs__list button { border: 0; background: transparent; padding: 12px 20px; border-radius: 10px; font-weight: 600; color: var(--steel-body); cursor: pointer; transition: background-color .2s, color .2s; }
.tabs__list button:hover { color: var(--steel-ink); background: var(--steel-50); }
.tabs__list button[aria-selected="true"] { background: var(--steel-ink); color: #fff; }
.tabs__panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; background: #fff; border: 1px solid #d6dde5; border-radius: 22px; padding: clamp(20px, 3vw, 36px); box-shadow: 0 30px 60px -40px rgba(20, 34, 50, .45); animation: panelIn .5s var(--ease); }
.tabs__panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.tabs__panel figure { border-radius: 14px; overflow: hidden; background: var(--steel-100); aspect-ratio: 4 / 3; }
.tabs__panel figure img { width: 100%; height: 100%; object-fit: cover; }
.tabs__panel h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); text-transform: uppercase; font-weight: 800; }
.spec { margin: 0; }
.spec div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid #e2e7ed; }
.spec dt { font: 500 .78rem/1.8 var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: #9a6c00; }
.spec dd { margin: 0; color: var(--steel-ink); font-weight: 500; }
@media (max-width: 800px) { .tabs__panel { grid-template-columns: 1fr; } .spec div { grid-template-columns: 1fr; gap: 2px; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; }
.g { position: relative; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: #fff; cursor: zoom-in; box-shadow: 0 20px 40px -30px rgba(20, 34, 50, .5); text-align: left; }
.g--wide { grid-column: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g[data-contain] img { object-fit: contain; padding: 18px; }
.g span { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 8px; background: rgba(20, 34, 50, .86); color: #fff; font-weight: 600; font-size: .92rem; backdrop-filter: blur(6px); transform: translateY(4px); opacity: .92; transition: transform .3s var(--ease), opacity .3s; }
.g:hover img { transform: scale(1.06); }
.g:hover span { transform: none; opacity: 1; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } .g--wide { grid-column: auto; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1000px, 92vw); max-height: 90vh; overflow: visible; }
.lightbox::backdrop { background: rgba(4, 10, 17, .88); backdrop-filter: blur(6px); }
.lightbox[open] { animation: zoomIn .35s var(--ease); }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: 14px; background: #fff; }
.lightbox figcaption { text-align: center; color: var(--text); padding-top: 12px; font-weight: 600; }
.lightbox__close { position: absolute; right: -12px; top: -12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--amber); cursor: pointer; display: grid; place-items: center; z-index: 1; }
.lightbox__close svg { width: 22px; height: 22px; fill: var(--amber-ink); }

/* ---------- Contact ---------- */
.contact { overflow: hidden; isolation: isolate; }
.contact__coil { position: absolute; width: 700px; height: 700px; left: -300px; bottom: -300px; opacity: .15; animation: spin 120s linear infinite reverse; will-change: transform; }
.cta { text-align: center; max-width: 860px; margin: 0 auto clamp(50px, 7vw, 80px); }
.cta h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.cta .hero__actions { justify-content: center; }
.contact__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
.contact__photo { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 726 / 442; }
.contact__photo img { width: 100%; height: 100%; object-fit: cover; }
.contact__photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 16px 18px; border-radius: 12px; background: rgba(7, 17, 28, .82); backdrop-filter: blur(10px); border: 1px solid var(--line); color: var(--muted); font-size: .98rem; }
.contact__photo strong { display: block; color: var(--text); font-family: var(--font-head); font-size: 1.35rem; }
.contact__side { display: grid; gap: 20px; align-content: center; height: 100%; }
.contact-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-cards li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s; }
.contact-cards li:hover { border-color: rgba(242, 169, 0, .45); }
.contact-cards svg { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 11px; fill: var(--amber); background: rgba(242, 169, 0, .1); }
.contact-cards span { display: block; color: var(--muted); font-size: .7rem; }
.contact-cards a { color: var(--text); font-weight: 600; font-size: 1.1rem; text-decoration: none; }
.contact-cards a:hover { color: var(--amber); }
.contact-cards small { display: block; color: var(--muted); }
.map { display: block; width: 100%; height: 380px; margin-top: 20px; border: 1px solid var(--line-2); border-radius: 16px; filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.95); background: var(--panel); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } .map { height: 320px; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0; background: #050c14; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer img { width: 150px; border-radius: 6px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--amber); }
.site-footer p { margin: 0; color: var(--muted); font-size: .7rem; }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero__title .line { opacity: 0; transform: translateY(.4em); clip-path: inset(0 0 100% 0); transition: opacity .8s var(--ease), transform .8s var(--ease), clip-path .9s var(--ease); }
.js .hero__title .line.is-in { opacity: 1; transform: none; clip-path: inset(0 0 -20% 0); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero__title .line { opacity: 1; transform: none; clip-path: none; }
  .strap__band { stroke-dashoffset: 0; }
  .gauge__needle { transform: rotate(62deg); }
  .hero__title em::after { transform: scaleX(1); }
  .tape__track { flex-wrap: wrap; width: auto; justify-content: center; }
  .tape__list[aria-hidden="true"] { display: none; }
  .tape__list { flex-wrap: wrap; justify-content: center; row-gap: 12px; }
}

/* Phones: caption sits under the building photo instead of covering it */
@media (max-width: 600px) {
  .contact__photo { aspect-ratio: auto; background: var(--panel); }
  .contact__photo img { aspect-ratio: 726 / 442; height: auto; }
  .contact__photo figcaption { position: static; border: 0; border-radius: 0; background: var(--panel); }
}

/* ---------- American flag accents ---------- */
.flag-icon { display: inline-block; flex: none; width: 1.9em; height: 1em; max-width: 30px; max-height: 16px; vertical-align: -.12em; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 2px 6px rgba(0, 0, 0, .35); }
.mono-tag--flag { display: flex; align-items: center; gap: .7em; }
.mono-tag--flag .flag-icon { font-size: .8rem; }
.contact__photo strong .flag-icon { font-size: .6em; margin-right: .5em; vertical-align: .05em; }

/* Mini flag band along the top of the footer: canton + stripes */
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 6px; opacity: .9;
  background:
    linear-gradient(#3c3b6e, #3c3b6e) left / 22% 100% no-repeat,
    linear-gradient(#b22234 0 33.34%, #e9eff6 33.34% 66.67%, #b22234 66.67%); }
.site-footer__meta { display: grid; gap: 6px; justify-items: end; text-align: right; }
.site-footer__proud { display: flex; align-items: center; gap: .55em; }
.site-footer__proud .flag-icon { font-size: .75em; }
.site-footer__proud { color: var(--text) !important; font-size: .95rem !important; font-weight: 500; }
@media (max-width: 700px) { .site-footer__meta { justify-items: start; text-align: left; } }
