/* ═══════════════════════════════════════════════════════════════
   BROADFORD TOOL HIRE — SSDev demo build
   Aesthetic: industrial workshop — steel, concrete, high-vis amber.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #121315;
  --surface: #1A1C1F;
  --surface-2: #22252A;
  --text: #F2F0EB;
  --muted: #9AA0A6;
  --accent: #F5A623;
  --accent-deep: #B87A14;
  --danger: #D9634A;
  --ok: #7FBF7F;
  --line: rgba(245, 166, 35, 0.16);
  --bg-rgb: 18, 19, 21;
  --radius: 4px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--bg); }

h1, h2, h3, .display {
  font-family: var(--font-display); font-weight: 700; line-height: 0.98;
  text-transform: uppercase; letter-spacing: 0.01em;
}
h1 { font-size: clamp(3rem, 8vw, 6.5rem); }
h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 600; }
p { color: var(--muted); max-width: 62ch; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; display: block; margin-bottom: 1rem;
}
.container { width: min(1240px, 92vw); margin: 0 auto; }
section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }

/* Hazard stripe motif */
.stripe {
  height: 6px; width: 84px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 10px, transparent 10px 20px);
  margin-bottom: 1.2rem;
}

/* ─── Preloader ─────────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--bg); gap: 1.4rem;
  transition: clip-path 0.9s cubic-bezier(0.77, 0, 0.175, 1);
}
#preloader.done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.preloader-mark { font-family: var(--font-display); font-size: 2rem; text-transform: uppercase; letter-spacing: 0.04em; }
.preloader-mark span { color: var(--accent); }
.preloader-track { width: 200px; height: 2px; background: var(--surface-2); overflow: hidden; }
.preloader-bar { width: 0%; height: 100%; background: var(--accent); transition: width 0.3s ease-out; }
body:not(.loaded) main, body:not(.loaded) footer { visibility: hidden; }
body.loaded main, body.loaded footer { visibility: visible; }

/* ─── Cursor (square target) ────────────────────────────────── */
.custom-cursor {
  position: fixed; top: 0; left: 0; width: 22px; height: 22px;
  border: 1.5px solid var(--accent); border-radius: 2px;
  pointer-events: none; z-index: 99998; transform: translate(-50%, -50%) rotate(0deg);
  transition: width 0.25s, height 0.25s, background 0.25s, transform 0.4s;
  display: none;
}
.custom-cursor::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 3px; height: 3px;
  background: var(--accent); transform: translate(-50%, -50%);
}
.custom-cursor.hovering { width: 44px; height: 44px; background: rgba(245,166,35,0.08); transform: translate(-50%, -50%) rotate(45deg); }


/* ─── Scroll progress / grain ───────────────────────────────── */
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 9997; }
.scroll-progress-bar { width: 100%; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.film-grain {
  position: fixed; inset: -20px; z-index: 9996; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── Nav ───────────────────────────────────────────────────── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1.2rem, 4vw, 3rem);
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
}
nav.site-nav.nav-scrolled {
  background: rgba(var(--bg-rgb), 0.92); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line); padding-top: 0.65rem; padding-bottom: 0.65rem;
}
.nav-brand { display: flex; align-items: baseline; gap: 0.5rem; text-decoration: none; }
.nav-brand .mark { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; }
.nav-brand .mark em { color: var(--accent); font-style: normal; }
.nav-brand .sub { font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; gap: 1.8rem; align-items: center; list-style: none; }
.nav-links a:not(.btn) {
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  text-decoration: none; color: var(--muted); transition: color 0.25s;
}
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--text); }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  position: relative; overflow: hidden; display: inline-block;
  border: 1.5px solid var(--accent); background: transparent; color: var(--accent);
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  padding: 0.8rem 1.9rem; border-radius: 2px; transition: color 0.3s ease; z-index: 1;
}
.btn::before {
  content: ''; position: absolute; inset: 0; background: var(--accent);
  transform: translateY(101%); transition: transform 0.3s ease; z-index: -1;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--bg); }
.btn.btn-solid { background: var(--accent); color: var(--bg); }
.btn.btn-solid::before { background: var(--text); }
.btn[disabled] { opacity: 0.35; pointer-events: none; }
.animated-underline {
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1.5px; background-position: left bottom; background-repeat: no-repeat;
  transition: background-size 0.3s ease;
}
.animated-underline:hover { background-size: 100% 1.5px; }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero { position: relative; height: 100svh; min-height: 600px; display: flex; align-items: flex-end; overflow: hidden; padding: 0; }
.hero-media { position: absolute; inset: 0; }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,19,21,0.4) 0%, rgba(18,19,21,0.15) 45%, rgba(18,19,21,0.95) 100%); }
.hero-content { position: relative; z-index: 2; width: min(1240px, 92vw); margin: 0 auto; padding-bottom: clamp(3rem, 8vh, 5.5rem); }
.hero-title .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero-title .word-inner { display: inline-block; }
.hero-sub { margin-top: 1.3rem; font-size: 1.08rem; max-width: 52ch; }
.hero-ctas { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute; bottom: 2rem; right: clamp(1.5rem, 4vw, 3rem); z-index: 2;
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
  writing-mode: vertical-rl;
}

/* ─── Grids & cards ─────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; position: relative; display: flex; flex-direction: column;
}
.card .card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.card .card-media img { width: 100%; height: 100%; object-fit: cover; }
.card .card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; gap: 0.6rem; }
.card .card-body p { font-size: 0.92rem; }
.card .price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--accent); }
.card .meta { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.card .card-cta { margin-top: auto; padding-top: 0.9rem; }
.tilt-card { transform-style: preserve-3d; }
.hover-zoom { overflow: hidden; }
.hover-zoom img { transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1); }

/* Category tile */
.cat-tile {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.4rem; text-decoration: none;
  display: flex; flex-direction: column; gap: 0.5rem; min-height: 150px;
  transition: border-color 0.25s, transform 0.25s;
}
.cat-tile:hover { border-color: var(--accent); transform: translateY(-3px); }
.cat-tile .t-count { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.cat-tile h3 { color: var(--text); }
.cat-tile .arrow { margin-top: auto; color: var(--accent); font-size: 1.3rem; }

/* ─── Stats / marquee / quote ───────────────────────────────── */
.stat-row { display: flex; gap: clamp(2rem, 6vw, 5rem); flex-wrap: wrap; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 4.2rem); color: var(--accent); }
.stat .lbl { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.marquee-wrap { overflow: hidden; padding: 1.8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee { white-space: nowrap; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.7rem, 3.6vw, 2.8rem); color: rgba(242,240,235,0.28); will-change: transform; }
.marquee em { color: var(--accent); font-style: normal; }
.pull-quote { font-family: var(--font-display); font-weight: 600; text-transform: none; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.25; color: var(--text); max-width: 26ch; }
.pull-quote footer { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 1.2rem; }

.band { position: relative; overflow: hidden; }
.band .band-bg { position: absolute; inset: -12% 0; z-index: 0; }
.band .band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band .band-scrim { position: absolute; inset: 0; z-index: 1; background: rgba(18,19,21,0.82); }
.band > .container { position: relative; z-index: 2; }

/* ─── Footer ────────────────────────────────────────────────── */
footer.site-footer { background: #0D0E10; border-top: 1px solid var(--line); padding: 3.6rem 0 4.6rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.2rem; }
.footer-grid h4 { font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--text); }
.footer-note { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.78rem; color: var(--muted); }
.footer-note a { color: var(--accent); text-decoration: none; }

/* ─── Hire engine ───────────────────────────────────────────── */
.hire-shell { display: grid; grid-template-columns: 1.7fr 1fr; gap: 2.2rem; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2.2rem); }
.steps-rail { display: flex; gap: 0.4rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.step-chip {
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  padding: 0.42rem 0.8rem; border: 1px solid var(--line); border-radius: 2px; color: var(--muted);
}
.step-chip.active { border-color: var(--accent); color: var(--accent); }
.step-chip.done { color: var(--text); border-color: var(--accent-deep); }

.item-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2);
  padding: 1rem 1.2rem; margin-bottom: 0.7rem; transition: border-color 0.2s;
}
.item-row:hover { border-color: var(--accent); }
.item-row .i-name { font-weight: 600; }
.item-row .i-meta { font-size: 0.76rem; color: var(--muted); }
.item-row .i-rates { text-align: right; font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.item-row .i-rates b { color: var(--accent); font-family: var(--font-display); font-size: 1.2rem; }
.stock-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 0.4rem; }
.stock-dot.in { background: var(--ok); }
.stock-dot.low { background: var(--accent); }
.stock-dot.out { background: var(--danger); }

.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.field label { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.field input, .field select, .field textarea {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 2px;
  color: var(--text); padding: 0.8rem 0.95rem; font-family: var(--font-body); font-size: 0.95rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field .hint { font-size: 0.75rem; color: var(--muted); }
.option-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.pill-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.pill {
  padding: 0.65rem 1.2rem; border: 1px solid var(--line); border-radius: 2px;
  background: var(--surface-2); color: var(--text); font-size: 0.9rem; font-family: var(--font-body); font-weight: 600;
}
.pill:not([disabled]):hover { border-color: var(--accent); }
.pill.selected { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.pill[disabled] { opacity: 0.3; pointer-events: none; }

.summary-card { position: sticky; top: 92px; }
.summary-card .line { display: flex; justify-content: space-between; gap: 0.8rem; padding: 0.5rem 0; font-size: 0.9rem; border-bottom: 1px dashed var(--line); }
.summary-card .line .v { color: var(--text); text-align: right; }
.summary-card .line.total { border-bottom: none; font-weight: 700; }
.summary-card .line.total .v { color: var(--accent); font-family: var(--font-display); font-size: 1.6rem; }
.summary-card .k { color: var(--muted); }
.basket-item { display: flex; justify-content: space-between; gap: 0.6rem; padding: 0.5rem 0; border-bottom: 1px dashed var(--line); font-size: 0.88rem; align-items: baseline; }
.basket-item .remove { color: var(--danger); background: none; border: none; font-size: 0.75rem; }

.engine-nav { display: flex; justify-content: space-between; margin-top: 1.8rem; gap: 1rem; }
.link-btn { background: none; border: none; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; font-family: var(--font-body); }
.link-btn:hover { color: var(--text); }

.confirm-panel { text-align: center; padding: 2.6rem 1.4rem; }
.confirm-ref { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--accent); margin: 0.8rem 0; }
.tick-ring {
  width: 72px; height: 72px; border: 2.5px solid var(--accent); border-radius: 4px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem;
  font-size: 2rem; color: var(--accent); transform: rotate(45deg);
}
.tick-ring span { transform: rotate(-45deg); }

.live-note { font-size: 0.78rem; color: var(--muted); border-left: 3px solid var(--accent-deep); padding: 0.5rem 0.9rem; margin-top: 1.1rem; background: rgba(245,166,35,0.05); }
.live-note b { color: var(--accent); }

/* ─── Admin ─────────────────────────────────────────────────── */
.admin-body { background: #0E0F11; }
.admin-shell { display: grid; grid-template-columns: 235px 1fr; min-height: 100vh; }
.admin-side { background: var(--surface); border-right: 1px solid var(--line); padding: 1.5rem 0; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.admin-side .brand { padding: 0 1.4rem 1.3rem; border-bottom: 1px solid var(--line); margin-bottom: 0.9rem; }
.admin-side nav { display: flex; flex-direction: column; }
.admin-side nav button {
  text-align: left; padding: 0.75rem 1.4rem; background: none; border: none; color: var(--muted);
  font-family: var(--font-body); font-weight: 600; font-size: 0.88rem; border-left: 3px solid transparent;
}
.admin-side nav button.active { color: var(--text); border-left-color: var(--accent); background: rgba(245,166,35,0.06); }
.admin-side nav button:hover { color: var(--text); }
.admin-side .side-foot { margin-top: auto; padding: 1.1rem 1.4rem; font-size: 0.7rem; color: var(--muted); border-top: 1px solid var(--line); }
.admin-main { padding: clamp(1.3rem, 3vw, 2.4rem); }
.admin-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; gap: 1rem; flex-wrap: wrap; }
.admin-head h2 { font-size: 2rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 740px; }
table.data th { text-align: left; padding: 0.8rem 1rem; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
table.data td { padding: 0.8rem 1rem; border-bottom: 1px solid rgba(245,166,35,0.07); }
table.data tr:hover td { background: rgba(245,166,35,0.04); }
.chip { display: inline-block; padding: 0.2rem 0.65rem; border-radius: 2px; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.chip.reserved { background: rgba(245,166,35,0.16); color: var(--accent); }
.chip.out { background: rgba(127,191,127,0.15); color: var(--ok); }
.chip.due { background: rgba(245,166,35,0.25); color: var(--accent); }
.chip.overdue { background: rgba(217,99,74,0.2); color: var(--danger); }
.chip.returned { background: rgba(160,160,160,0.14); color: #BDBDBD; }
.chip.new { background: rgba(245,166,35,0.16); color: var(--accent); }
.chip.sent { background: rgba(127,191,127,0.15); color: var(--ok); }
.chip.accepted { background: rgba(127,191,127,0.25); color: var(--ok); }
.chip.account { background: rgba(245,166,35,0.14); color: var(--accent); }
.chip.maint { background: rgba(217,99,74,0.18); color: var(--danger); }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-bottom: 1.8rem; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.kpi .v { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: var(--accent); }
.kpi .k { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.drawer-scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 9100; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
aside.drawer {
  position: fixed; top: 0; right: -500px; width: min(500px, 94vw); height: 100vh; z-index: 9200;
  background: var(--surface); border-left: 1px solid var(--line); padding: 1.8rem;
  transition: right 0.38s cubic-bezier(0.2, 0.7, 0.2, 1); overflow-y: auto;
}
aside.drawer.open { right: 0; }
.audit { list-style: none; margin-top: 0.9rem; }
.audit li { padding: 0.55rem 0 0.55rem 1.1rem; border-left: 2px solid var(--line); position: relative; font-size: 0.82rem; color: var(--muted); }
.audit li::before { content: ''; position: absolute; left: -4px; top: 0.95rem; width: 6px; height: 6px; background: var(--accent); }
.modal-scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 9300; display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal-scrim.open { display: flex; }
.modal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); width: min(580px, 96vw); max-height: 90vh; overflow-y: auto; padding: 1.8rem; }
.toast-stack { position: fixed; bottom: 1.3rem; right: 1.3rem; z-index: 9500; display: flex; flex-direction: column; gap: 0.55rem; }
.toast {
  background: var(--surface-2); border: 1px solid var(--accent); border-left-width: 4px; border-radius: 2px;
  color: var(--text); padding: 0.8rem 1.1rem; font-size: 0.88rem; min-width: 250px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5); animation: toast-in 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.15);
}
@keyframes toast-in { from { transform: translateX(16px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ─── Demo ribbon ───────────────────────────────────────────── */
.demo-ribbon {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 8900;
  background: rgba(13,14,16,0.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  padding: 0.5rem 1rem; text-align: center; font-size: 0.75rem; color: var(--muted);
}
.demo-ribbon a { color: var(--accent); text-decoration: none; font-weight: 700; }

/* ─── Mobile menu ───────────────────────────────────────────── */
.menu-toggle { display: none; background: none; border: none; z-index: 9600; width: 40px; height: 40px; position: relative; }
.menu-toggle span { position: absolute; left: 8px; right: 8px; height: 2.5px; background: var(--text); transition: transform 0.3s, opacity 0.3s, top 0.3s; }
.menu-toggle span:nth-child(1) { top: 13px; }
.menu-toggle span:nth-child(2) { top: 19px; }
.menu-toggle span:nth-child(3) { top: 25px; }
.menu-toggle.active span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { top: 19px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 9500; background: var(--bg);
  clip-path: inset(0 0 100% 0);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem;
}
.mobile-menu a { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 2.2rem; text-decoration: none; color: var(--text); }
.mobile-menu a:hover { color: var(--accent); }

.reveal-word { display: inline-block; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .film-grain, .custom-cursor, .scroll-progress { display: none !important; }
}
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .hire-shell { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; overflow-x: auto; align-items: center; padding: 0.4rem 0; }
  .admin-side .brand { border: none; padding: 0.6rem 1rem; margin: 0; white-space: nowrap; }
  .admin-side nav { flex-direction: row; }
  .admin-side nav button { white-space: nowrap; border-left: none; border-bottom: 3px solid transparent; }
  .admin-side nav button.active { border-bottom-color: var(--accent); }
  .admin-side .side-foot { display: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-brand .sub { display: none; }
  .nav-brand .mark { white-space: nowrap; font-size: 1.15rem; }
  .grid-2, .grid-3, .grid-5, .option-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  
  
  table.data { min-width: 560px; }
  .item-row { flex-direction: column; align-items: flex-start; }
  .item-row .i-rates { text-align: left; white-space: normal; }
  .item-row > div:last-child { flex-wrap: wrap; }
  .summary-card .line .v, .basket-item span { white-space: normal; }
}
