/* ==========================================================================
   Kilmore Tractor Repair — site styles
   Dark industrial theme · hazard yellow accents · no framework
   ========================================================================== */

:root {
  --ink: #0e1012;
  --ink-2: #15181c;
  --steel: #1c2026;
  --steel-2: #252a31;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eceef1;
  --muted: #a1a9b3;
  --yellow: #ffc20e;
  --yellow-2: #ffd54f;
  --amber: #ff9f1c;
  --danger: #ff6b5b;
  --ok: #4ade80;

  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --gutter: clamp(16px, 4vw, 32px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .6);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--yellow); color: var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--yellow); color: var(--ink); padding: .75rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.hl {
  color: var(--yellow);
  background: linear-gradient(100deg, var(--yellow) 0%, var(--yellow-2) 45%, var(--amber) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 1rem;
  font-weight: 700; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--yellow);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--dark { color: var(--ink); }
.section-title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.2rem, 5.2vw, 4rem); letter-spacing: .01em; max-width: 18ch;
}
.section-title--sm { font-size: clamp(1.8rem, 3.6vw, 2.75rem); max-width: 22ch; }
.section-lead { color: var(--muted); font-size: 1.15rem; max-width: 60ch; margin-top: 1.25rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--text); --bd: var(--line-strong);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.4rem; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform .35s var(--ease-spring), background-color .25s, border-color .25s, color .25s, box-shadow .3s;
}
.btn .icon { transition: transform .35s var(--ease-spring); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { padding: .6rem 1.05rem; font-size: .92rem; }
.btn--lg { padding: 1.05rem 1.75rem; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn--primary { --bg: var(--yellow); --fg: var(--ink); --bd: var(--yellow); box-shadow: 0 10px 30px -10px rgba(255, 194, 14, .6); }
.btn--primary:hover { --bg: var(--yellow-2); box-shadow: 0 16px 40px -12px rgba(255, 194, 14, .75); }
.btn--ghost:hover { --bd: var(--yellow); --fg: var(--yellow); }
.btn--dark { --bg: var(--ink); --fg: var(--yellow); --bd: var(--ink); }
.btn--dark:hover { --bg: #000; }
.btn--outline-dark { --fg: var(--ink); --bd: rgba(14, 16, 18, .5); }
.btn--outline-dark:hover { --bd: var(--ink); --bg: rgba(14, 16, 18, .08); }
.btn--shine::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 4.5s var(--ease) infinite 2s;
}
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* ---------- Hazard stripe ---------- */
.hazard {
  height: 14px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, var(--ink) 18px 36px);
  background-size: 51px 100%;
  animation: hazard 2.4s linear infinite;
}
.hazard--thin { height: 6px; }
@keyframes hazard { to { background-position: 51px 0; } }

/* ---------- Top bar & header ---------- */
.topbar { background: #08090a; border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.topbar__inner { display: flex; gap: 1.75rem; justify-content: flex-end; align-items: center; min-height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; }
.topbar__item .icon { color: var(--yellow); width: 1rem; height: 1rem; }
.topbar a.topbar__item:hover { color: var(--text); }
.topbar__item--phone { color: var(--text); font-weight: 700; }
.topbar__item:first-child { margin-right: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 16, 18, .72);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(14, 16, 18, .9); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark { width: 54px; height: auto; transition: transform .5s var(--ease-spring); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: .9; font-family: var(--font-display); text-transform: uppercase; }
.brand__name { font-size: 1.7rem; font-weight: 900; color: var(--yellow); letter-spacing: .02em; }
.brand__sub { font-size: 1.02rem; font-weight: 800; letter-spacing: .14em; color: var(--text); }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: .25rem; }
.site-nav ul a {
  position: relative; display: block; padding: .5rem .9rem;
  text-decoration: none; font-weight: 600; color: var(--muted); transition: color .2s;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .2rem; height: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--text); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--steel); align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(calc(100svh - 114px), 860px);
  display: flex; align-items: center;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(1200px 600px at 85% 30%, rgba(255, 194, 14, .10), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(255, 159, 28, .06), transparent 60%),
    var(--ink);
}
.hero__grid, .banner__grid {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
.hero__dust { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__glow {
  position: absolute; z-index: -1; width: 46vw; aspect-ratio: 1; right: -6vw; top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(255, 194, 14, .22), transparent 62%);
  filter: blur(20px);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .65; transform: translateY(-50%) scale(1.08); } }
.hero__ghost {
  position: absolute; z-index: -1; right: -2vw; bottom: -6vw;
  font-family: var(--font-display); font-weight: 900; font-size: clamp(12rem, 34vw, 32rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 194, 14, .1);
  user-select: none; pointer-events: none;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(2rem, 4vw, 4rem); }
.hero__eyebrow { color: var(--text); letter-spacing: .16em; }
.hero__eyebrow::before { display: none; }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

.hero__title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.9rem, 5.6vw, 5.4rem); line-height: .9; letter-spacing: .005em;
  margin-bottom: 1.5rem;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
.hero__title .line:nth-child(4) > span { animation-delay: .36s; }
.hero__title em {
  font-style: normal; color: var(--yellow);
  background: linear-gradient(100deg, var(--yellow), var(--amber));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@keyframes rise { to { transform: translateY(0); } }

.hero__lead, .hero__actions, .hero__chips, .hero__eyebrow { opacity: 0; animation: fadeUp .9s var(--ease) forwards; }
.hero__eyebrow { animation-delay: 0s; }
.hero__lead { animation-delay: .45s; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 46ch; }
.hero__actions { animation-delay: .6s; display: flex; flex-wrap: wrap; gap: .85rem; margin: 2rem 0 2.25rem; }
.hero__chips { animation-delay: .75s; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; color: var(--muted); font-size: .95rem; font-weight: 600; }
.hero__chips li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__chips .icon { color: var(--yellow); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero__visual { position: relative; will-change: transform; }
.hero__ring {
  position: absolute; left: 50%; top: 46%; width: 92%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 194, 14, .25);
  animation: spin 60s linear infinite;
}
.hero__ring::after {
  content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .06);
}
@keyframes spin { to { rotate: 360deg; } }
.hero__machine {
  position: relative; width: 100%;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55));
  animation: driveIn 1.6s var(--ease) .2s both, idle 3.2s ease-in-out 1.8s infinite;
  transform-origin: 30% 90%;
}
@keyframes driveIn {
  0% { transform: translateX(60%) ; opacity: 0; }
  60% { opacity: 1; }
  80% { transform: translateX(-2%) rotate(-.8deg); }
  100% { transform: translateX(0) rotate(0); }
}
@keyframes idle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.hero__shadow {
  position: absolute; left: 8%; right: 8%; bottom: -2%; height: 34px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent);
  animation: fadeUp 1s var(--ease) 1s both;
}
.hero__badge {
  position: absolute; left: 0; top: 2%;
  display: flex; flex-direction: column; padding: .9rem 1.2rem;
  background: rgba(21, 24, 28, .78); border: 1px solid var(--line-strong); border-left: 4px solid var(--yellow);
  border-radius: 12px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  font-family: var(--font-display); text-transform: uppercase; line-height: 1;
  animation: pop .8s var(--ease-spring) 1.5s both, bob 5s ease-in-out 2.5s infinite;
}
.hero__badge-big { font-size: 1.05rem; font-weight: 800; color: var(--muted); letter-spacing: .04em; }
.hero__badge-small { font-size: 1.6rem; font-weight: 900; color: var(--yellow); margin-top: .2rem; }
@keyframes pop { from { opacity: 0; transform: scale(.6) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { translate: 0 -8px; } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.5rem; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid var(--line-strong); border-radius: 14px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: var(--yellow); animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Ticker ---------- */
.ticker {
  position: relative; overflow: hidden; background: var(--yellow); color: var(--ink);
  transform: rotate(-1.2deg) scale(1.03); margin: -1.5rem 0 0; z-index: 2;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
}
.ticker__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex; align-items: center; gap: .75rem; padding: 1rem 2.25rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
}
.ticker__item .icon { width: 1.5rem; height: 1.5rem; stroke-width: 2; }
.ticker__item::after { content: "✦"; margin-left: 2.25rem; font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--steel { background: linear-gradient(180deg, var(--ink-2), var(--steel)); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-foot { margin-top: 3rem; text-align: center; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  padding: 2rem 1.75rem 1.75rem; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--steel), var(--ink-2));
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .3s;
}
.service-card::before, .service-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 194, 14, .14), transparent 45%);
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(255, 194, 14, .35); }
.service-card:hover::before, .service-row:hover::before { opacity: 1; }
.service-card__num {
  position: absolute; right: 1.25rem; top: .75rem;
  font-family: var(--font-display); font-weight: 900; font-size: 3.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .1); transition: -webkit-text-stroke-color .3s;
}
.service-card:hover .service-card__num { -webkit-text-stroke-color: rgba(255, 194, 14, .45); }
.service-card__icon, .service-row__icon {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px;
  background: rgba(255, 194, 14, .1); color: var(--yellow); border: 1px solid rgba(255, 194, 14, .25);
  margin-bottom: 1.5rem; transition: transform .5s var(--ease-spring), background-color .3s, color .3s;
}
.service-card__icon .icon, .service-row__icon .icon { width: 30px; height: 30px; }
.service-card:hover .service-card__icon { transform: rotate(-8deg) scale(1.08); background: var(--yellow); color: var(--ink); }
.service-card__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.65rem; margin-bottom: .6rem; letter-spacing: .02em; }
.service-card__text { color: var(--muted); margin: 0; }

/* ---------- Statement (scroll-filled text) ---------- */
.statement { padding: clamp(5rem, 12vw, 10rem) 0; background: var(--ink); overflow: hidden; }
.statement__text {
  --fill: 0%;
  margin: 0;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3rem, 10vw, 9rem); line-height: .88; letter-spacing: .005em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .18);
  background: linear-gradient(90deg, var(--text) var(--fill), transparent var(--fill));
  -webkit-background-clip: text; background-clip: text;
}
.statement__text span {
  background: linear-gradient(90deg, var(--yellow) var(--fill), transparent var(--fill));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke-color: rgba(255, 194, 14, .4);
}

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.value {
  position: relative; padding: 2.25rem 2rem; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .02); border: 1px solid var(--line);
  border-top: 3px solid var(--yellow);
}
.value__num { display: block; font-family: var(--font-display); font-weight: 900; font-size: 4.5rem; line-height: 1; color: var(--yellow); margin-bottom: 1rem; }
.value__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 2rem; margin-bottom: .75rem; }
.value p { color: var(--muted); margin: 0; }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; left: 30px; right: 30px; top: 30px; height: 2px;
  background: linear-gradient(90deg, var(--yellow) var(--progress, 0%), var(--line-strong) var(--progress, 0%));
}
.step { position: relative; }
.step__num {
  position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--yellow); color: var(--yellow);
  font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; margin-bottom: 1.5rem;
  box-shadow: 0 0 0 8px var(--ink);
}
.step.is-visible .step__num { background: var(--yellow); color: var(--ink); transition: background-color .4s, color .4s; transition-delay: calc(var(--d, 0ms) + 300ms); }
.step__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; margin-bottom: .5rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Area ---------- */
.area { border-top: 1px solid var(--line); }
.area__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.area__chips { display: flex; flex-wrap: wrap; gap: .65rem; }
.area__chips li {
  display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 999px;
  background: var(--steel); border: 1px solid var(--line); font-weight: 600;
  transition: border-color .25s, transform .3s var(--ease-spring);
}
.area__chips li:hover { border-color: var(--yellow); transform: translateY(-2px); }
.area__chips .icon { color: var(--yellow); width: 1rem; height: 1rem; }
.area__chips .area__more { background: transparent; border-style: dashed; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(-45deg, transparent 0 22px, rgba(0, 0, 0, .05) 22px 44px),
    linear-gradient(120deg, var(--yellow), var(--amber));
  color: var(--ink);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band__title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.75rem); max-width: 16ch; }
.cta-band__actions { display: flex; gap: .85rem; flex-wrap: wrap; }

/* ---------- Sub-page banner ---------- */
.banner {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  background: radial-gradient(900px 400px at 80% 0%, rgba(255, 194, 14, .12), transparent 60%), var(--ink);
}
.banner__mark { position: absolute; z-index: -1; right: -3%; top: 12%; width: min(40vw, 540px); opacity: .13; filter: drop-shadow(0 0 60px rgba(255, 194, 14, .5)); animation: bob 7s ease-in-out infinite; }
.banner__mark .brand-mark { width: 100%; }
.banner .hazard { position: absolute; left: 0; right: 0; bottom: 0; }
.banner__title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.8rem, 7vw, 5.75rem); line-height: .92; max-width: 16ch; margin-bottom: 1.25rem; }
.banner__lead { color: var(--muted); font-size: 1.2rem; max-width: 56ch; margin: 0; }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.prose { color: var(--muted); margin-top: 1.75rem; font-size: 1.1rem; }
.prose strong { color: var(--text); }
.split__actions { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 2rem; }
.plate {
  position: relative; padding: 2.5rem; border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .06), transparent 40%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .015) 0 2px, transparent 2px 4px),
    linear-gradient(180deg, #2b3038, #1a1d22);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: perspective(900px) rotateY(-6deg) rotateX(3deg);
  transition: transform .8s var(--ease);
}
.plate:hover { transform: perspective(900px) rotateY(0) rotateX(0); }
.plate__screws i {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #9aa3ad, #3a4048); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4);
}
.plate__screws i::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5px; height: 2px; background: rgba(0, 0, 0, .45); rotate: 35deg; }
.plate__screws i:nth-child(1) { left: 14px; top: 14px; }
.plate__screws i:nth-child(2) { right: 14px; top: 14px; }
.plate__screws i:nth-child(3) { left: 14px; bottom: 14px; }
.plate__screws i:nth-child(4) { right: 14px; bottom: 14px; }
.plate__mark { width: 110px; height: auto; margin-bottom: 1rem; }
.plate__name { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 2rem; line-height: 1; margin-bottom: 1.5rem; }
.plate__specs { margin: 0; display: grid; gap: 0; }
.plate__specs div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-top: 1px dashed var(--line-strong); }
.plate__specs dt { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; align-self: center; }
.plate__specs dd { margin: 0; font-weight: 700; text-align: right; }
.plate__specs a { color: var(--yellow); text-decoration: none; }

/* ---------- Services page ---------- */
.service-list { display: grid; gap: 1rem; }
.service-row {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 70px 58px 1fr 52px; gap: 1.5rem; align-items: center;
  padding: 1.5rem 1.75rem; border-radius: var(--radius-lg);
  background: var(--ink-2); border: 1px solid var(--line);
  transition: border-color .3s, transform .5s var(--ease);
}
.service-row:hover { border-color: rgba(255, 194, 14, .35); transform: translateX(6px); }
.service-row__num { font-family: var(--font-display); font-weight: 900; font-size: 3rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 194, 14, .5); }
.service-row__icon { margin: 0; }
.service-row__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; margin-bottom: .25rem; }
.service-row__body p { color: var(--muted); margin: 0; }
.service-row__link {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); color: var(--text); transition: all .35s var(--ease-spring);
}
.service-row__link::after { content: ""; position: absolute; inset: 0; } /* whole row clickable */
.service-row:hover .service-row__link { background: var(--yellow); border-color: var(--yellow); color: var(--ink); transform: rotate(-45deg); }

.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; margin: 1rem 0 .4rem; }
.feature p { color: var(--muted); margin: 0; }
.feature__icon { width: 44px; height: 44px; color: var(--yellow); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact__info { display: grid; gap: 1rem; }
.contact-card {
  display: flex; align-items: center; gap: 1.1rem; padding: 1.25rem 1.4rem; border-radius: var(--radius);
  background: var(--ink-2); border: 1px solid var(--line); text-decoration: none;
  transition: border-color .3s, transform .4s var(--ease);
}
.contact-card:hover { border-color: var(--yellow); transform: translateY(-3px); }
.contact-card__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(255, 194, 14, .12); color: var(--yellow); flex: none; }
.contact-card__label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-card__value { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1.1; }
.contact-card__value--sm { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; word-break: break-word; }
.contact-card--big { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.contact-card--big .contact-card__icon { background: var(--ink); }
.contact-card--big .contact-card__label { color: rgba(14, 16, 18, .7); }
.contact-card--big .contact-card__value { font-size: 2.4rem; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--steel); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) invert(.92) contrast(.9) hue-rotate(180deg); }

.contact__form-wrap {
  padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--steel), var(--ink-2)); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form__title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 2.4rem; margin-bottom: .5rem; }
.form__intro { color: var(--muted); font-size: .98rem; }
.enquiry__list { display: grid; gap: .8rem; margin: 1.5rem 0 2rem; }
.enquiry__list li { display: flex; gap: .75rem; align-items: flex-start; font-weight: 500; }
.enquiry__list .icon { color: var(--yellow); margin-top: .2rem; stroke-width: 2.4; }
.enquiry__actions { display: grid; gap: .85rem; }
.enquiry__note { margin: 1.25rem 0 0; color: var(--muted); font-size: .9rem; text-align: center; }

/* ---------- 404 ---------- */
.notfound { padding: clamp(5rem, 12vw, 9rem) 0; text-align: center; }
.notfound__inner { display: flex; flex-direction: column; align-items: center; }
.notfound .section-title { max-width: 20ch; }
.notfound__code {
  margin: 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(8rem, 28vw, 18rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 2px var(--yellow); animation: bob 4s ease-in-out infinite;
}
.notfound .hero__actions { opacity: 1; animation: none; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #08090a; color: var(--muted); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 3rem; padding-top: 4.5rem; padding-bottom: 3rem; }
.brand--footer { margin-bottom: 1.25rem; }
.site-footer__brand p { max-width: 40ch; }
.site-footer__motto { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: var(--yellow); font-size: 1.35rem; letter-spacing: .03em; }
.site-footer__heading { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: var(--text); font-size: 1.3rem; letter-spacing: .06em; margin-bottom: 1.25rem; }
.site-footer__links { display: grid; gap: .5rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--yellow); }
.site-footer__contact { display: grid; gap: .9rem; }
.site-footer__contact li { display: flex; gap: .75rem; align-items: flex-start; }
.site-footer__contact .icon { color: var(--yellow); margin-top: .2rem; }
.site-footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; padding-top: 1.5rem; padding-bottom: 2rem; border-top: 1px solid var(--line); font-size: .9rem; }
.site-footer__legal p { margin: 0; }

.mobile-call {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 60;
  align-items: center; gap: .5rem; padding: .95rem 1.3rem; border-radius: 999px;
  background: var(--yellow); color: var(--ink); font-weight: 800; text-decoration: none;
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .7), 0 0 0 0 rgba(255, 194, 14, .6);
  animation: ring 2.6s infinite 3s;
  transition: transform .4s var(--ease-spring), opacity .3s;
}
.mobile-call.is-hidden { transform: translateY(140%); opacity: 0; }
@keyframes ring { 0% { box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .7), 0 0 0 0 rgba(255, 194, 14, .55); } 70%, 100% { box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .7), 0 0 0 16px rgba(255, 194, 14, 0); } }

/* ---------- Scroll reveal ---------- */
@media (scripting: enabled) {
  [data-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: var(--d, 0ms);
  }
  [data-reveal].is-visible { opacity: 1; transform: none; }
  /* Keep hover transforms snappy after reveal */
  .service-card.is-visible, .service-row.is-visible { transition: opacity .9s var(--ease) var(--d, 0ms), transform .5s var(--ease), border-color .3s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav { gap: 1rem; }
}

@media (max-width: 920px) {
  .topbar__item:not(.topbar__item--phone) { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 49;
    max-height: calc(100svh - 76px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 1.5rem;
    padding: 1.5rem var(--gutter) 2rem;
    background: rgba(14, 16, 18, .97); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .25s, visibility 0s .35s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .35s var(--ease), opacity .25s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { padding: 1rem .25rem; font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 1.8rem; border-bottom: 1px solid var(--line); color: var(--text); }
  .site-nav ul a::after { display: none; }
  .site-nav ul a[aria-current="page"] { color: var(--yellow); }
  .site-nav__cta { align-self: flex-start; }

  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 620px; margin: 1rem auto 0; width: 100%; }
  .hero__glow { width: 90vw; right: -30vw; top: 70%; }
  .hero__scroll { display: none; }

  .values, .feature-strip { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps::before { display: none; }
  .area__inner, .split, .contact { grid-template-columns: 1fr; }
  .contact__info { position: static; }
  .plate { transform: none; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .mobile-call { display: inline-flex; }
  .site-footer { padding-bottom: 80px; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .brand-mark { width: 44px; }
  .brand__name { font-size: 1.4rem; }
  .brand__sub { font-size: .85rem; }
  .site-header__inner { min-height: 68px; }
  .hero__badge { position: relative; top: auto; left: auto; margin: 1rem auto 0; width: fit-content; align-items: center; text-align: center; }
  .hero__actions .btn { flex: 1 1 100%; }
  .service-grid, .steps, .site-footer__grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 52px 1fr; gap: 1rem 1.1rem; padding: 1.4rem; }
  .service-row__num { display: none; }
  .service-row__icon { width: 52px; height: 52px; }
  .service-row__link { display: none; }
  .service-row__body { grid-column: 2; }
  .ticker__item { font-size: 1.2rem; padding: .8rem 1.5rem; }
  .ticker__item::after { margin-left: 1.5rem; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
  .contact-card--big .contact-card__value { font-size: 2rem; }
  .plate { padding: 2rem 1.5rem; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__title .line > span { transform: none; }
  .hero__lead, .hero__actions, .hero__chips, .hero__eyebrow { opacity: 1; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .ticker__track { animation: none; }
  .statement__text { --fill: 100% !important; }
}

@media print {
  .topbar, .site-header, .ticker, .hero__dust, .mobile-call, .cta-band, .map, .hazard { display: none !important; }
  body { background: #fff; color: #000; }
}
