/* =====================================================================
   Precision Performance Marine — main stylesheet
   Layout: dark workshop palette, left-aligned editorial sections on a 1200px
   container; the logo's amber→orange→red stripe is the recurring accent.
   ===================================================================== */

:root {
  /* ---- Colour (from the logo) ---- */
  --black: #060607;
  --graphite: #101114;
  --charcoal: #18191d;
  --steel: #26282e;          /* borders & dividers */
  --steel-hi: #3a3d44;
  --mist: #959aa3;           /* secondary text */
  --silver: #c9ccd1;
  --white: #f3f4f6;
  --amber: #fdb813;
  --orange: #f26522;
  --red: #e4202a;
  --btn-from: #d9441a;       /* deeper tones keep white button text legible */
  --btn-to: #c41f28;

  --stripe: linear-gradient(90deg, var(--amber) 0%, #f7941d 38%, var(--orange) 66%, var(--red) 100%);
  --metal: linear-gradient(180deg, #ffffff 0%, #e2e4e7 42%, #9ea3ab 54%, #d9dce0 78%, #f4f5f6 100%);

  /* ---- Type ---- */
  --font-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-label: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;

  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-lead: clamp(1.15rem, 1rem + 0.5vw, 1.35rem);
  --fs-h3: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  --fs-h2: clamp(1.9rem, 1.2rem + 3vw, 3.4rem);
  --fs-h2-xl: clamp(2.2rem, 1.2rem + 4.2vw, 4.4rem);
  --fs-h1: clamp(2.3rem, 1rem + 5vw, 5.2rem);

  /* ---- Space & shape ---- */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(80px, 10vw, 140px);
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--black);
  color: var(--silver);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--black); }
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--white); font-family: var(--font-display); line-height: 1.04; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--black); }

[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; 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: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--white); color: var(--black); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
@media (min-width: 640px) { .nowrap { white-space: nowrap; } }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- The performance stripe (reusable) ----------
   A solid gradient bar that breaks into slanted segments, like the logo. */
.stripe { display: flex; align-items: center; gap: 6px; height: 4px; width: 132px; margin-block: 22px 28px; }
.stripe::before { content: ""; flex: 0 0 62%; height: 100%; background: linear-gradient(90deg, var(--amber), #f7941d); transform-origin: left; }
.stripe span {
  flex: 1; height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--red));
  -webkit-mask: repeating-linear-gradient(105deg, #000 0 3px, transparent 3px 6px);
          mask: repeating-linear-gradient(105deg, #000 0 3px, transparent 3px 6px);
}
.stripe--full { width: 100%; height: 3px; margin: 0; gap: 8px; }
.stripe--full::before { flex-basis: 70%; background: var(--stripe); }
.stripe--hero { width: min(340px, 70%); height: 5px; margin-block: 28px 26px; }
.stripe--hero::before { animation: stripe-in 1.1s var(--ease) .25s both; }
.stripe--hero span { animation: fade-in .6s ease 1s both; }
@keyframes stripe-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: 14px; --btn-pad-x: 26px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--font-label); font-size: 1rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), border-color .3s, background-color .3s, color .3s;
}
.btn--sm { --btn-pad-y: 10px; --btn-pad-x: 18px; font-size: .9rem; }
.btn--lg { --btn-pad-y: 17px; --btn-pad-x: 32px; }
.btn--block { width: 100%; }

.btn--primary { color: #fff; background: linear-gradient(100deg, var(--btn-from), var(--btn-to)); box-shadow: 0 8px 24px -12px rgba(228, 32, 42, .7); }
.btn--primary::after { /* light sweep on hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .22) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .6s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(242, 101, 34, .75); }
.btn--primary:hover::after { transform: translateX(120%); }

.btn--ghost { color: var(--white); border-color: rgba(201, 204, 209, .45); background: rgba(6, 6, 7, .25); }
.btn--ghost::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--stripe); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); transform: translateY(-2px); }
.btn--ghost:hover::after { transform: scaleX(1); }

.btn--light { color: var(--black); background: var(--metal); border-color: rgba(255,255,255,.6); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(255, 255, 255, .45); }
.btn:active { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .btn, .btn::after { transition: none; } .btn:hover { transform: none; } }

.text-link { color: var(--white); text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) left bottom / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .3s; }
.text-link:hover { background-image: var(--stripe); background-size: 100% 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(6, 6, 7, .72);
  -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background-color .3s;
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--stripe); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.site-header.is-scrolled { background: rgba(6, 6, 7, .94); }
.site-header.is-scrolled::after { transform: scaleX(1); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.site-header__logo { flex: none; display: block; margin-right: auto; }
.site-header__logo img { width: 150px; height: auto; }
.site-header__cta { display: none; }

.primary-nav__list a {
  position: relative; text-decoration: none; color: var(--silver);
  font-family: var(--font-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transition: color .25s;
}
.primary-nav__list a:hover, .primary-nav__list a[aria-current="true"] { color: var(--white); }

/* mobile nav (default) */
.nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-right: -8px; background: none; border: 0; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 24px; height: 2px; background: var(--white); transition: transform .35s var(--ease), opacity .2s; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; width: 16px; background: var(--orange); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { width: 24px; background: var(--white); transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  position: fixed; left: 0; right: 0; bottom: 0;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 28px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  background: var(--black);
  border-top: 1px solid var(--steel);
  overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.primary-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.primary-nav__list { display: grid; }
.primary-nav__list li { border-bottom: 1px solid var(--steel); }
.primary-nav__list a { display: block; padding: 16px 0; font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 112%; font-size: 1.6rem; letter-spacing: 0; text-transform: none; color: var(--white); }
.primary-nav__mobile-extra { display: grid; gap: 18px; }
.primary-nav__phone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 600; font-size: 1.1rem; }

@media (min-width: 1080px) {
  :root { --header-h: 88px; }
  .site-header__logo img { width: 178px; }
  .nav-toggle, .primary-nav__mobile-extra { display: none; }
  .site-header__cta { display: inline-flex; }
  .primary-nav { position: static; display: block; padding: 0; background: none; border: 0; overflow: visible; visibility: visible; opacity: 1; transform: none; transition: none; }
  .primary-nav__list { display: flex; gap: clamp(18px, 2.2vw, 34px); }
  .primary-nav__list li { border: 0; }
  .primary-nav__list a { padding: 8px 0; font-family: var(--font-label); font-style: normal; font-weight: 600; font-size: .92rem; font-stretch: 100%; letter-spacing: .1em; text-transform: uppercase; color: var(--silver); }
  .primary-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--stripe); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .primary-nav__list a:hover::after, .primary-nav__list a[aria-current="true"]::after { transform: scaleX(1); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(600px, calc(92svh - var(--header-h)), 900px);
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  background: var(--black);
}
.hero__art, .hero__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero__photo { object-fit: cover; z-index: -2; }
.hero__art svg { width: 100%; height: 100%; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,6,7,.7) 0%, rgba(6,6,7,.15) 30%, rgba(6,6,7,.25) 62%, rgba(6,6,7,.96) 100%),
    linear-gradient(90deg, rgba(6,6,7,.95) 0%, rgba(6,6,7,.78) 34%, rgba(6,6,7,.1) 70%);
}
.hero__streaks { animation: drift 9s linear infinite alternate; }
.hero__wake { animation: drift 7s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-60px); } }

.hero__content { padding-block: clamp(56px, 10vh, 120px) clamp(40px, 7vh, 72px); }
.hero__kicker { margin-bottom: 22px; color: var(--mist); font-family: var(--font-label); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; font-size: .85rem; animation: rise .8s var(--ease) both; }
.hero__title { font-size: var(--fs-h1); font-weight: 900; font-style: italic; font-stretch: 118%; letter-spacing: -.01em; line-height: .98; text-transform: uppercase; max-width: 15ch; }
.hero__line { display: block; animation: rise .9s var(--ease) both; }
.hero__line + .hero__line { animation-delay: .12s; }
.hero__line--metal { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.hero__lede { max-width: 56ch; font-size: var(--fs-lead); color: var(--silver); animation: rise .9s var(--ease) .3s both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; animation: rise .9s var(--ease) .4s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.trust-bar { border-top: 1px solid rgba(255,255,255,.08); background: rgba(6,6,7,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.trust-bar__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; padding-block: 18px; font-family: var(--font-label); font-weight: 600; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); }
.trust-bar__list li { display: flex; align-items: center; }
.trust-bar__list li + li::before { content: ""; width: 5px; height: 5px; margin-inline: clamp(12px, 2.2vw, 28px); background: var(--orange); transform: skewX(-20deg); }
.trust-bar__list strong { color: var(--white); font-weight: 600; margin-right: .5em; }

@media (max-width: 719px) {
  .hero { justify-content: flex-start; }
  .hero__art { inset: -40px auto auto 50%; width: 220vw; height: 123.75vw; transform: translateX(-72%); }
  .hero__overlay { background: linear-gradient(180deg, rgba(6,6,7,.35) 0%, rgba(6,6,7,0) 22%, rgba(6,6,7,.2) 34%, rgba(6,6,7,.96) 52%, var(--black) 100%); }
  .hero__content { padding-top: clamp(250px, 72vw, 330px); padding-bottom: 44px; }
  .trust-bar__list { gap: 8px 20px; letter-spacing: .16em; font-size: .76rem; }
  .trust-bar__list li + li::before { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__streaks, .hero__wake, .hero__line, .hero__lede, .hero__actions, .hero__kicker, .stripe--hero::before, .stripe--hero span { animation: none; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section-title { font-size: var(--fs-h2); font-weight: 800; font-style: italic; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.005em; }
.section-title--xl { font-size: var(--fs-h2-xl); }
.metal { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.section-head--split .stripe { margin-bottom: 0; }
.section-intro { max-width: 60ch; color: var(--mist); font-size: 1.1rem; }
.lead { font-size: var(--fs-lead); color: var(--white); line-height: 1.55; }
.about__copy p + p, .performance__copy p + p { margin-top: 1.1em; }
.lead + p { margin-top: 1.2em; }

/* scroll reveal (only applied by JS to content below the fold) */
.js .reveal.is-pending { opacity: 0; transform: translateY(24px); }
.js .reveal.is-visible { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
@media (prefers-reduced-motion: reduce) { .js .reveal.is-pending { opacity: 1; transform: none; } }

/* ---------- About ---------- */
.about { background: linear-gradient(180deg, var(--black), var(--graphite)); }
.about__grid { display: grid; gap: clamp(48px, 7vw, 96px); align-items: start; }
.about__copy { max-width: 680px; min-width: 0; }

.process { display: grid; gap: 1px; margin-top: 44px; background: var(--steel); border: 1px solid var(--steel); }
.process li { display: flex; gap: 18px; padding: 20px 22px; background: var(--graphite); }
.process__n { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--steel-hi); color: var(--white); font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: .95rem; transform: skewX(-8deg); }
.process h3 { font-size: 1.02rem; font-weight: 700; font-stretch: 105%; margin-bottom: 4px; }
.process p { color: var(--mist); font-size: .97rem; line-height: 1.5; }
@media (min-width: 640px) { .process { grid-template-columns: 1fr 1fr; } }

.data-plate {
  position: relative; padding: 34px 30px 30px;
  border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #2b2e33 0%, #1a1c20 45%, #24262b 100%);
  border: 1px solid #3a3d44;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(0,0,0,.6), 0 30px 60px -30px rgba(0,0,0,.9);
}
.data-plate__head { padding-bottom: 24px; border-bottom: 1px solid #3a3d44; }
.data-plate__head img { width: min(280px, 100%); margin-inline: auto; }
.data-plate__rows > div { display: grid; grid-template-columns: 7.2em 1fr; gap: 16px; align-items: baseline; padding-block: 15px; border-bottom: 1px solid rgba(255,255,255,.07); }
.data-plate__rows > div:last-child { border-bottom: 0; padding-bottom: 0; }
.data-plate dt { font-family: var(--font-label); font-weight: 600; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mist); }
.data-plate dd { margin: 0; color: var(--white); font-weight: 500; min-width: 0; }
.data-plate dd a { color: var(--white); text-decoration: none; border-bottom: 1px solid var(--orange); }
.data-plate__big { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 2.2rem; line-height: 1; margin-right: 6px; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.data-plate__rivet { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e9ebee, #6b7078 60%, #2a2c30); box-shadow: 0 1px 1px rgba(0,0,0,.7); }
.data-plate__rivet:nth-of-type(1) { top: 12px; left: 12px; }
.data-plate__rivet:nth-of-type(2) { top: 12px; right: 12px; }
.data-plate__rivet:nth-of-type(3) { bottom: 12px; left: 12px; }
.data-plate__rivet:nth-of-type(4) { bottom: 12px; right: 12px; }
@media (min-width: 960px) {
  .about__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); }
  .data-plate { position: sticky; top: calc(var(--header-h) + 40px); margin-top: 12px; }
}

/* ---------- Services ---------- */
.services { background: var(--graphite); }
.service-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 32px 28px 28px;
  background: linear-gradient(180deg, #17181c, #111215);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  transition: border-color .35s, transform .35s var(--ease), background-color .35s;
}
.service-card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--stripe); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 70% at 0% 0%, rgba(242,101,34,.09), transparent 60%); opacity: 0; transition: opacity .4s; }
.service-card:hover { border-color: var(--steel-hi); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }
.service-card__icon { width: 40px; height: 40px; color: var(--silver); margin-bottom: 8px; transition: color .35s; }
.service-card:hover .service-card__icon { color: var(--orange); }
.service-card__title { font-size: var(--fs-h3); font-weight: 800; font-stretch: 108%; line-height: 1.15; }
.service-card__text { color: var(--mist); font-size: .98rem; line-height: 1.6; flex: 1; }
.service-card__link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 6px 0;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-label); font-weight: 600; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white);
}
.service-card__link .icon { color: var(--orange); transition: transform .3s var(--ease); }
.service-card__link:hover .icon { transform: translateX(5px); }
.service-card__link::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
@media (prefers-reduced-motion: reduce) { .service-card, .service-card:hover { transform: none; } }

/* ---------- Performance ---------- */
.performance { overflow: hidden; background: radial-gradient(90% 80% at 85% 50%, #1b1c20 0%, var(--black) 60%); border-block: 1px solid var(--steel); }
.performance__stripes {
  position: absolute; inset: auto -10% 18% -10%; height: 220px; pointer-events: none; opacity: .09;
  transform: skewY(-6deg);
  background: var(--stripe);
  -webkit-mask: repeating-linear-gradient(105deg, #000 0 18px, transparent 18px 34px), linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-composite: source-in;
          mask: repeating-linear-gradient(105deg, #000 0 18px, transparent 18px 34px) intersect, linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
.performance__grid { position: relative; display: grid; gap: 56px; align-items: center; }
.performance__copy { max-width: 640px; min-width: 0; }
.perf-list { display: grid; gap: 0; margin: 34px 0 40px; border-top: 1px solid var(--steel); }
.perf-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--steel); color: var(--white); font-weight: 500; }
.perf-list li::before { content: ""; flex: none; width: 18px; height: 3px; background: var(--stripe); transform: skewX(-20deg); }
@media (min-width: 560px) { .perf-list { grid-template-columns: 1fr 1fr; column-gap: 32px; } }

.gauge { width: min(420px, 82vw); margin-inline: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.8)); }
.gauge svg { width: 100%; height: auto; }
.gauge__arc { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s var(--ease); }
.gauge__needle { transform-origin: 200px 200px; transform: rotate(-135deg); transition: transform 1.8s var(--ease); }
.gauge.is-live .gauge__arc { stroke-dashoffset: 22; }
.gauge.is-live .gauge__needle { transform: rotate(75deg); }
@media (prefers-reduced-motion: reduce) { .gauge__arc, .gauge__needle { transition: none; } }
@media (min-width: 960px) { .performance__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }

/* ---------- Why choose us ---------- */
.why { background: linear-gradient(180deg, var(--black), var(--graphite)); }
.why__grid { display: grid; gap: 48px; }
.why__intro { min-width: 0; }
.why__years { display: flex; align-items: flex-end; gap: 14px; margin-top: 40px; }
.why__num { font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 125%; font-size: clamp(6rem, 4rem + 9vw, 11rem); line-height: .8; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.why__unit { padding-bottom: 8px; font-family: var(--font-label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); font-size: .9rem; line-height: 1.4; border-left: 3px solid var(--orange); padding-left: 14px; }
.reasons { border-top: 1px solid var(--steel); }
.reason { position: relative; display: grid; gap: 8px; padding: 28px 0 28px 0; border-bottom: 1px solid var(--steel); }
.reason::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--stripe); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.reason:hover::after { transform: scaleX(1); }
.reason h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); font-weight: 800; font-style: italic; font-stretch: 112%; text-transform: uppercase; transition: color .3s; }
.reason p { color: var(--mist); max-width: 52ch; }
@media (min-width: 720px) { .reason { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: baseline; } }
@media (min-width: 1080px) {
  .why__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 80px; }
  .why__intro { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
}

/* ---------- Gallery ---------- */
.work { background: var(--graphite); border-top: 1px solid var(--steel); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 9px 16px; background: transparent; border: 1px solid var(--steel-hi); border-radius: 999px; cursor: pointer; font-family: var(--font-label); font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); transition: color .25s, border-color .25s, background-color .25s; }
.filter:hover { color: var(--white); border-color: var(--silver); }
.filter.is-active { color: var(--black); background: var(--silver); border-color: var(--silver); }

.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--charcoal); }
.gallery__item[hidden] { display: none; }
.gallery__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; aspect-ratio: 4 / 3; max-width: 100%; }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.9); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(6,6,7,.85));
  color: var(--white); font-family: var(--font-label); font-weight: 600; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease);
}
.gallery__item::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--stripe); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); pointer-events: none; }
.gallery__item:hover .gallery__btn img { transform: scale(1.05); filter: saturate(1); }
.gallery__item:hover figcaption, .gallery__btn:focus-visible + figcaption { opacity: 1; transform: none; }
.gallery__item:hover::after { transform: scaleX(1); }
.gallery__item--feature { grid-column: span 2; }
@media (hover: none) { .gallery__item figcaption { opacity: 1; transform: none; } }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery__item--feature { grid-column: span 2; grid-row: span 2; }
  .gallery__item--feature .gallery__btn { aspect-ratio: auto; height: 100%; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--wide .gallery__btn { aspect-ratio: 8 / 3; }
}

/* ---------- Reviews ---------- */
.reviews { background: var(--black); }
.reviews__summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; color: var(--silver); font-weight: 500; }
.stars { display: inline-flex; gap: 3px; color: var(--amber); }
.stars svg { width: 18px; height: 18px; }
.review-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.review { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--graphite); border: 1px solid var(--steel); border-radius: var(--radius); }
.review__head { display: flex; align-items: center; gap: 14px; }
.review__head > div { flex: 1; min-width: 0; }
.review__avatar { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(160deg, #3a3d44, #1c1d21); color: var(--white); font-weight: 600; border: 1px solid var(--steel-hi); }
.review__name { font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.review__meta { color: var(--mist); font-size: .85rem; }
.reviews__g { width: 22px; height: 22px; color: var(--white); }
.reviews__rating { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 1.6rem; color: var(--white); line-height: 1; }
.reviews__count { color: var(--mist); }
.stars svg.is-off { color: var(--steel-hi); }
.reviews__fallback { padding: 36px 28px; border: 1px dashed var(--steel-hi); border-radius: var(--radius); color: var(--silver); font-size: 1.1rem; text-align: center; }
.reviews__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.review-grid:empty { display: none; }
.review__avatar { overflow: hidden; text-decoration: none; }
.review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review__name a { color: inherit; text-decoration: none; }
.review__name a:hover { text-decoration: underline; }
.review__g { flex: none; width: 20px; height: 20px; color: var(--mist); }
.review__text { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; font-style: normal !important; }
.review__text.is-open { display: block; -webkit-line-clamp: unset; }
.review__more { align-self: flex-start; padding: 0; background: none; border: 0; cursor: pointer; color: var(--white); font-weight: 600; border-bottom: 1px solid var(--orange); }
.review__tag { flex: none; padding: 4px 9px; border: 1px dashed var(--steel-hi); border-radius: 999px; color: var(--mist); font-family: var(--font-label); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.review__text { color: var(--silver); font-style: italic; }

/* ---------- CTA ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(80px, 9vw, 130px); background: var(--charcoal); text-align: center; }
.cta__bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 120% at 50% 120%, rgba(228,32,42,.28), transparent 70%),
    radial-gradient(40% 80% at 15% -10%, rgba(253,184,19,.12), transparent 70%),
    linear-gradient(180deg, #1c1d21, #0d0e10);
}
.cta__bg::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--stripe); }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__title { max-width: 20ch; font-size: var(--fs-h2); font-weight: 900; font-style: italic; font-stretch: 115%; text-transform: uppercase; }
.cta__text { max-width: 54ch; margin-top: 22px; font-size: var(--fs-lead); color: var(--silver); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }
@media (max-width: 519px) { .cta__actions .btn { flex: 1 1 100%; } }

/* ---------- Contact ---------- */
.contact { background: var(--black); }
.contact__grid { display: grid; gap: 56px; }
.contact__info { min-width: 0; }
.contact-list { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--steel); }
.contact-list li { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--steel); min-width: 0; }
.contact-list .icon { width: 22px; height: 22px; color: var(--orange); }
.contact-list div { display: grid; min-width: 0; }
.contact-list__label { font-family: var(--font-label); font-weight: 600; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); }
.contact-list a, .contact-list span:not(.contact-list__label) { color: var(--white); font-size: clamp(.95rem, .7rem + 1.1vw, 1.12rem); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--amber); }

.form-card { position: relative; min-width: 0; padding: clamp(24px, 4vw, 44px); background: linear-gradient(180deg, #16171b, #101114); border: 1px solid var(--steel); border-radius: 6px; }
.form-card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--stripe); border-radius: 6px 6px 0 0; }
.enquiry__grid { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-family: var(--font-label); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); }
.req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  background: var(--black); color: var(--white);
  border: 1px solid var(--steel-hi); border-radius: var(--radius);
  font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #6b7078; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #50545c; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242, 101, 34, .2); }
.field.has-error input, .field.has-error select { border-color: var(--red); }
.field__error { min-height: 0; color: #ff6b6b; font-size: .88rem; }
.field__error:empty { display: none; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--silver); border-bottom: 2px solid var(--silver); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.enquiry__note { color: var(--mist); font-size: .9rem; }
.enquiry__status { margin-top: 16px; color: #ff6b6b; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__label::after { content: ""; display: inline-block; width: 1em; height: 1em; margin-left: 10px; vertical-align: -2px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 640px) {
  .enquiry__grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
@media (min-width: 1000px) { .contact__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 80px; } }

.confirmation { display: grid; justify-items: start; gap: 16px; padding-block: 24px; animation: rise .6s var(--ease) both; }
.confirmation:focus { outline: none; }
.confirmation__mark svg { width: 64px; height: 64px; }
.confirmation__mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s var(--ease) .25s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confirmation__title { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-style: italic; font-weight: 900; font-stretch: 115%; text-transform: uppercase; }
.confirmation__text { max-width: 48ch; color: var(--silver); font-size: 1.1rem; }
.confirmation__text a { color: var(--white); }
.confirmation__demo { padding: 10px 14px; border: 1px dashed var(--steel-hi); color: var(--mist); font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: #030304; color: var(--mist); }
.site-footer__grid { display: grid; gap: 40px; padding-block: 72px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer__brand { display: grid; gap: 20px; align-content: start; max-width: 340px; }
.site-footer__brand img { width: 200px; }
.site-footer__brand p { font-size: .95rem; }
.site-footer__heading { margin-bottom: 18px; font-family: var(--font-label); font-style: normal; font-weight: 600; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--white); }
.site-footer__links { display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.site-footer__contact { display: grid; gap: 14px; }
.site-footer__contact li { display: grid; min-width: 0; }
.site-footer__contact span { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: #6b7078; }
.site-footer__contact a { color: var(--silver); overflow-wrap: anywhere; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--steel-hi); border-radius: 50%; color: var(--silver); transition: border-color .25s, color .25s, transform .25s var(--ease); }
.socials a:hover { border-color: var(--orange); color: var(--white); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }
.site-footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); font-size: .88rem; }
.site-footer__bottom::before { content: ""; position: absolute; top: 0; left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: max(var(--gutter), env(safe-area-inset-right, 0px)); height: 1px; background: var(--steel); }
.site-footer__bottom ul { display: flex; gap: 24px; }

/* ---------- Dialogs ---------- */
dialog { color: inherit; }
dialog::backdrop { background: rgba(3, 3, 4, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal { width: min(640px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 1px solid var(--steel-hi); border-radius: 6px; background: var(--graphite); overflow: auto; }
.modal[open] { animation: rise .35s var(--ease); }
.modal::before { content: ""; display: block; height: 3px; background: var(--stripe); }
.modal__inner { position: relative; padding: clamp(28px, 5vw, 44px); }
.modal__close, .lightbox__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--steel-hi); border-radius: 50%; color: var(--white); cursor: pointer; transition: border-color .25s; }
.modal__close:hover, .lightbox__close:hover { border-color: var(--orange); }
.modal__close svg, .lightbox__close svg { width: 20px; height: 20px; }
.modal__icon { width: 44px; height: 44px; color: var(--orange); margin-bottom: 18px; }
.modal__title { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); font-weight: 900; font-style: italic; font-stretch: 112%; text-transform: uppercase; padding-right: 48px; }
.modal__title + .stripe { margin-block: 18px 22px; }
.modal__body p { color: var(--silver); }
.modal__body ul { display: grid; gap: 10px; margin-top: 20px; }
.modal__body li { display: flex; gap: 12px; color: var(--white); }
.modal__body li::before { content: ""; flex: none; width: 14px; height: 3px; margin-top: .72em; background: var(--stripe); transform: skewX(-20deg); }
.modal__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); border: 0; background: transparent; }
.lightbox[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; animation: fade-in .25s ease; }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 14px; min-width: 0; }
.lightbox__figure img { max-height: calc(100vh - 140px); width: auto; max-width: 100%; border-radius: var(--radius); box-shadow: 0 40px 80px -30px #000; }
.lightbox__figure figcaption { color: var(--silver); font-family: var(--font-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; }
.lightbox__close { top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); z-index: 2; background: rgba(6,6,7,.6); }
.lightbox__nav { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--steel-hi); border-radius: 50%; background: rgba(6,6,7,.6); color: var(--white); cursor: pointer; transition: border-color .25s; }
.lightbox__nav:hover { border-color: var(--orange); }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav--prev svg { transform: scaleX(-1); }
@media (max-width: 599px) {
  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
  .lightbox__figure { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__nav--prev { grid-row: 2; justify-self: end; }
  .lightbox__nav--next { grid-row: 2; justify-self: start; }
}

/* ---------- Legal pages ---------- */
.legal { background: var(--graphite); min-height: 70vh; }
.legal__inner { max-width: calc(760px + 2 * var(--gutter)); }
.legal__note { padding: 12px 16px; border: 1px dashed var(--steel-hi); color: var(--mist); font-size: .92rem; margin-bottom: 40px; }
.legal h2 { margin: 40px 0 12px; font-size: 1.25rem; font-weight: 800; font-stretch: 108%; }
.legal p + p { margin-top: 1em; }
.legal ul { display: grid; gap: 8px; margin: 14px 0; }
.legal li { display: flex; gap: 12px; }
.legal li::before { content: ""; flex: none; width: 14px; height: 3px; margin-top: .75em; background: var(--stripe); transform: skewX(-20deg); }
.legal a { color: var(--white); }
.legal .site-header__inner { gap: 16px; }
