:root {
  --ink: #071a2a;
  --ink-2: #0d2c43;
  --ink-3: #174966;
  --cyan: #25b6cb;
  --cyan-light: #7bd9e5;
  --cyan-pale: #e4f7f9;
  --steel: #6c8090;
  --mist: #edf2f4;
  --paper: #f8faf9;
  --white: #ffffff;
  --line: rgba(7, 26, 42, 0.14);
  --shadow: 0 24px 70px rgba(4, 24, 38, 0.16);
  --radius: 1.4rem;
  --header-height: 90px;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 1.6rem;
  font-size: clamp(3.8rem, 7.5vw, 7.8rem);
  font-weight: 760;
}

h2 {
  margin-bottom: 1.35rem;
  font-size: clamp(2.5rem, 4.5vw, 4.7rem);
  font-weight: 740;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

::selection {
  color: var(--white);
  background: var(--ink-3);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 0.5rem;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(6rem, 10vw, 9.5rem) 0;
}

.section-kicker,
.eyebrow {
  margin-bottom: 1rem;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-lead {
  color: var(--ink-2);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.45;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 5rem;
  align-items: end;
  margin-bottom: 4.5rem;
}

.section-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 0.4rem;
  color: var(--steel);
  font-size: 1.08rem;
}

.section-heading-light {
  color: var(--white);
}

.section-heading-light > p {
  color: #b7c9d4;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0.92rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 780;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-align: center;
  transition:
    transform 240ms var(--ease),
    background-color 240ms ease,
    border-color 240ms ease,
    color 240ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--ink);
  background: var(--cyan-light);
}

.button-primary:hover {
  background: var(--white);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(14px);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.17);
  border-color: rgba(255, 255, 255, 0.55);
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-outline {
  color: var(--ink);
  border-color: rgba(7, 26, 42, 0.32);
}

.button-outline:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--header-height);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  transition:
    height 300ms ease,
    background-color 300ms ease,
    box-shadow 300ms ease,
    border-color 300ms ease;
}

.site-header.scrolled {
  height: 74px;
  color: var(--ink);
  background: rgba(250, 252, 252, 0.94);
  border-color: rgba(7, 26, 42, 0.08);
  box-shadow: 0 8px 32px rgba(7, 26, 42, 0.09);
  backdrop-filter: blur(18px);
}

.header-shell {
  position: relative;
  display: flex;
  width: min(calc(100% - 3rem), 1440px);
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-inline: auto;
}

.brand {
  position: relative;
  z-index: 102;
  display: flex;
  width: clamp(190px, 17vw, 250px);
  height: 57px;
  align-items: center;
  padding: 0.35rem 0.65rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 0.75rem;
  box-shadow: 0 6px 24px rgba(1, 19, 31, 0.14);
  transition: height 300ms ease;
}

.site-header.scrolled .brand {
  height: 50px;
  box-shadow: none;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.5vw, 1.45rem);
  font-size: 0.82rem;
  font-weight: 680;
  white-space: nowrap;
}

.main-navigation > a {
  position: relative;
  padding: 0.55rem 0;
}

.main-navigation > a:not(.nav-external)::after {
  position: absolute;
  right: 0;
  bottom: 0.28rem;
  left: 0;
  height: 2px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.main-navigation > a:hover::after,
.main-navigation > a.active::after {
  transform: scaleX(1);
}

.nav-external {
  color: var(--cyan-light);
}

.scrolled .nav-external {
  color: #087e92;
}

.client-button {
  display: grid;
  padding: 0.6rem 0.95rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.7rem;
  cursor: pointer;
  line-height: 1.15;
  text-align: left;
}

.client-button span {
  color: var(--cyan-light);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scrolled .client-button {
  color: var(--ink);
  border-color: rgba(7, 26, 42, 0.25);
}

.menu-toggle {
  position: relative;
  z-index: 102;
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 240ms ease, opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: max(760px, 100svh);
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-backdrop,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-backdrop {
  background:
    linear-gradient(90deg, rgba(4, 20, 33, 0.94) 0%, rgba(4, 20, 33, 0.82) 44%, rgba(4, 20, 33, 0.28) 100%),
    linear-gradient(0deg, rgba(4, 20, 33, 0.75), transparent 45%),
    url("images/hero-workshop.webp") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-grid {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(82, 209, 226, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 209, 226, 0.3) 1px, transparent 1px);
  background-position: calc(50% + 290px) center;
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(90deg, transparent 42%, black 100%);
  mask-image: linear-gradient(90deg, transparent 42%, black 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.45fr);
  gap: 5rem;
  align-items: end;
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 9rem;
}

.hero-copy {
  max-width: 900px;
}

.hero h1 span {
  display: block;
  color: var(--cyan-light);
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 2.5rem;
  color: #cfdae0;
  font-size: clamp(1.16rem, 1.8vw, 1.42rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-aside {
  display: grid;
  align-self: center;
  gap: 2rem;
  justify-items: end;
}

.hero-mark {
  display: grid;
  width: 170px;
  aspect-ratio: 1;
  place-items: center;
  color: rgba(114, 222, 235, 0.2);
  border: 1px solid rgba(114, 222, 235, 0.34);
  border-radius: 34% 66% 62% 38% / 44% 38% 62% 56%;
  box-shadow: inset 0 0 60px rgba(37, 182, 203, 0.08);
  transform: rotate(8deg);
}

.hero-mark span {
  font-size: 4.8rem;
  font-weight: 900;
  letter-spacing: -0.09em;
  transform: rotate(-8deg);
}

.hero-facts {
  width: 100%;
  max-width: 290px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-facts > div {
  display: grid;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-facts strong {
  font-size: 1.18rem;
}

.hero-facts span {
  color: #aabdc8;
  font-size: 0.78rem;
}

.hero-process {
  position: absolute;
  right: 0;
  bottom: 2rem;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #c3d2da;
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-process i {
  width: 4.2rem;
  height: 1px;
  background: var(--cyan);
}

/* About */
.about-section {
  background:
    radial-gradient(circle at 3% 40%, rgba(37, 182, 203, 0.09), transparent 23rem),
    var(--paper);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(4rem, 8vw, 8rem);
  align-items: center;
}

.section-intro > p:not(.section-kicker) {
  max-width: 660px;
  color: #536b7a;
}

.values-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2.2rem;
}

.values-row span {
  padding: 0.45rem 0.78rem;
  color: var(--ink-3);
  background: var(--cyan-pale);
  border: 1px solid rgba(37, 182, 203, 0.22);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-visual {
  position: relative;
  min-height: 620px;
}

.about-visual figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 86%;
  height: 72%;
}

.about-image-small {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48%;
  height: 45%;
  border: 8px solid var(--paper);
}

.about-caption {
  position: absolute;
  right: 0;
  bottom: 4%;
  display: grid;
  width: 47%;
  padding: 1.4rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 1rem;
}

.about-caption strong {
  font-size: 1.15rem;
}

.about-caption span {
  color: #a8bcc7;
  font-size: 0.78rem;
}

.history {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 8rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.history article {
  padding: 2.1rem clamp(1.2rem, 3vw, 2.8rem);
}

.history article + article {
  border-left: 1px solid var(--line);
}

.history span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink-3);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 780;
  letter-spacing: -0.06em;
}

.history p {
  margin: 0;
  color: var(--steel);
}

/* Services */
.services-section {
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.services-orbit {
  position: absolute;
  top: -18rem;
  right: -18rem;
  width: 45rem;
  height: 45rem;
  border: 1px solid rgba(37, 182, 203, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 5rem rgba(37, 182, 203, 0.025),
    0 0 0 10rem rgba(37, 182, 203, 0.02);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.1rem;
}

.service-card {
  grid-column: span 6;
  min-height: 310px;
  padding: clamp(1.7rem, 3vw, 2.6rem);
  color: var(--white);
  background: #0c2b41;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition:
    transform 350ms var(--ease),
    background-color 350ms ease,
    border-color 350ms ease;
}

.service-card:hover {
  z-index: 2;
  background: #11364e;
  border-color: rgba(123, 217, 229, 0.34);
  transform: translateY(-8px);
}

.service-card:nth-child(3),
.service-card:nth-child(4) {
  grid-column: span 6;
}

.service-card-image {
  position: relative;
  grid-column: span 7;
  min-height: 470px;
  padding: 0;
  overflow: hidden;
}

.service-card:nth-child(2) {
  grid-column: span 5;
  min-height: 470px;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.service-card-image:hover img {
  transform: scale(1.045);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.8rem, 4vw, 3rem);
  background: linear-gradient(0deg, rgba(4, 20, 33, 0.96), rgba(4, 20, 33, 0.08) 72%);
}

.service-card-overlay span,
.service-number {
  margin-bottom: 2.4rem;
  color: var(--cyan-light);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.service-card h3 {
  font-size: clamp(1.65rem, 2.8vw, 2.65rem);
}

.service-card p {
  max-width: 640px;
  margin-bottom: 0;
  color: #b7c8d2;
}

.service-card ul {
  display: grid;
  gap: 0.5rem;
  margin: 1.7rem 0 0;
  padding: 0;
  color: #d4dfe5;
  font-size: 0.88rem;
  list-style: none;
}

.service-card li::before {
  margin-right: 0.7rem;
  color: var(--cyan);
  content: "+";
}

.service-card-accent {
  color: var(--ink);
  background: var(--cyan-light);
  border-color: transparent;
}

.service-card-accent:hover {
  color: var(--ink);
  background: #9ce7ef;
}

.service-card-accent .service-number,
.service-card-accent p {
  color: var(--ink-2);
}

/* Process */
.process-section {
  background:
    linear-gradient(90deg, rgba(37, 182, 203, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(37, 182, 203, 0.04) 1px, transparent 1px),
    var(--white);
  background-size: 64px 64px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  list-style: none;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(11, 42, 62, 0.08);
}

.process-list li {
  position: relative;
  min-height: 190px;
  padding: 1.6rem 1.2rem;
}

.process-list li + li {
  border-left: 1px solid var(--line);
}

.process-list span {
  display: block;
  margin-bottom: 3.4rem;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 850;
}

.process-list strong {
  display: block;
  font-size: 0.93rem;
  line-height: 1.35;
}

.process-list li:not(:last-child)::after {
  position: absolute;
  top: 2rem;
  right: -5px;
  z-index: 2;
  width: 9px;
  height: 9px;
  background: var(--cyan);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--cyan);
  content: "";
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 4rem;
}

.commitment-grid article {
  padding: 2.5rem;
  background: var(--cyan-pale);
  border-radius: var(--radius);
}

.commitment-grid article > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 2.2rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-size: 1.25rem;
}

.commitment-grid p {
  margin: 0;
  color: #536b79;
}

/* Workshop video */
.workshop-section {
  position: relative;
  display: flex;
  min-height: 760px;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.workshop-media,
.workshop-shade {
  position: absolute;
  inset: 0;
}

.workshop-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workshop-shade {
  background:
    linear-gradient(90deg, rgba(4, 20, 33, 0.94), rgba(4, 20, 33, 0.2) 75%),
    linear-gradient(0deg, rgba(4, 20, 33, 0.8), transparent 55%);
}

.workshop-content {
  position: relative;
  z-index: 2;
  padding-bottom: 6rem;
}

.workshop-content h2 {
  max-width: 890px;
}

.workshop-content > p:not(.section-kicker) {
  max-width: 680px;
  margin-bottom: 2.2rem;
  color: #c6d4dc;
  font-size: 1.12rem;
}

/* Gallery */
.gallery-section {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-auto-rows: 280px;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  grid-column: span 4;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: 1rem;
  cursor: zoom-in;
}

.gallery-item-wide {
  grid-column: span 8;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition:
    transform 550ms var(--ease),
    opacity 300ms ease;
}

.gallery-item:hover img {
  opacity: 1;
  transform: scale(1.045);
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 20, 33, 0.68), transparent 55%);
  content: "";
}

.gallery-item span {
  position: absolute;
  bottom: 1.1rem;
  left: 1.25rem;
  z-index: 2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Autoparts link */
.parts-link {
  padding: 4.5rem 0;
  color: var(--ink);
  background: var(--cyan-light);
}

.parts-link-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.parts-link h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.parts-link .section-kicker {
  color: var(--ink-3);
}

/* Contact */
.contact-section {
  color: var(--white);
  background:
    radial-gradient(circle at 92% 12%, rgba(37, 182, 203, 0.18), transparent 27rem),
    var(--ink);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(4rem, 8vw, 8rem);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 120px;
}

.contact-copy > p:not(.section-kicker) {
  max-width: 590px;
  color: #b7c8d2;
  font-size: 1.18rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.contact-section .button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.contact-section .button-outline:hover {
  color: var(--ink);
  background: var(--white);
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-cards article {
  display: grid;
  grid-template-columns: 45px minmax(180px, 0.9fr) minmax(240px, 1.1fr);
  gap: 1.6rem;
  align-items: start;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.2rem;
}

.contact-cards article > span {
  color: var(--cyan-light);
  font-size: 0.7rem;
  font-weight: 850;
}

.contact-cards h3 {
  margin: 0;
  font-size: 1.2rem;
}

.contact-cards p {
  grid-column: 3;
  margin: 0;
  color: #aebfc9;
}

.contact-cards a {
  grid-column: 3;
  width: fit-content;
  color: var(--cyan-light);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-cards a:hover {
  color: var(--white);
}

/* Footer */
.site-footer {
  padding: 5.5rem 0 2rem;
  color: #b9c8d1;
  background: #03111d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 4rem;
  padding-bottom: 4rem;
}

.footer-brand img {
  width: min(100%, 260px);
  height: auto;
  margin-bottom: 1.3rem;
  padding: 0.55rem 0.7rem;
  background: var(--white);
  border-radius: 0.7rem;
}

.footer-brand p {
  max-width: 360px;
}

.footer-grid h2 {
  margin-bottom: 1.2rem;
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.footer-grid a,
.footer-grid button {
  padding: 0;
  color: #b9c8d1;
  background: none;
  border: 0;
  cursor: pointer;
}

.footer-grid a:hover,
.footer-grid button:hover {
  color: var(--cyan-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 0.72rem;
}

.footer-bottom p {
  margin: 0;
}

/* Dialogs */
dialog {
  color: var(--ink);
  border: 0;
}

dialog::backdrop {
  background: rgba(2, 13, 22, 0.84);
  backdrop-filter: blur(10px);
}

.client-dialog {
  width: min(calc(100% - 2rem), 560px);
  padding: clamp(2.2rem, 5vw, 3.5rem);
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.client-dialog[open] {
  animation: dialog-in 350ms var(--ease) both;
}

.client-dialog h2 {
  font-size: clamp(2rem, 5vw, 3.3rem);
}

.client-dialog > p:not(.section-kicker) {
  color: var(--steel);
}

.dialog-icon {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  margin-bottom: 2rem;
  color: var(--cyan-light);
  background: var(--ink);
  border-radius: 1rem;
  font-size: 1.8rem;
  font-weight: 900;
}

.dialog-close,
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  background: var(--mist);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
}

.lightbox {
  width: min(calc(100% - 2rem), 1180px);
  max-height: 92vh;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: #041520;
  border-radius: 1rem;
}

.lightbox[open] {
  animation: dialog-in 300ms var(--ease) both;
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.lightbox p {
  margin: 0;
  padding: 0.9rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.lightbox-close {
  color: var(--white);
  background: rgba(4, 20, 33, 0.7);
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
}

/* Reveal */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal-delay {
  transition-delay: 0ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .menu-toggle {
    position: absolute;
    top: 50%;
    right: 0;
    display: flex !important;
    flex: 0 0 48px;
    color: var(--white);
    background: rgba(4, 20, 33, 0.52);
    border-color: rgba(255, 255, 255, 0.58);
    box-shadow: 0 6px 22px rgba(1, 14, 24, 0.2);
    backdrop-filter: blur(12px);
    transform: translateY(-50%);
  }

  .site-header.scrolled .menu-toggle {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(7, 26, 42, 0.24);
  }

  .main-navigation {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.35rem;
    padding: 7rem max(2rem, calc((100vw - var(--container)) / 2));
    color: var(--white);
    background: rgba(4, 20, 33, 0.98);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-16px);
    transition:
      opacity 280ms ease,
      transform 280ms var(--ease),
      visibility 280ms;
  }

  .main-navigation.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .main-navigation > a {
    color: var(--white);
    font-size: clamp(1.75rem, 6vw, 3.2rem);
    letter-spacing: -0.035em;
    line-height: 1.2;
  }

  .main-navigation .nav-external {
    margin-top: 1rem;
    color: var(--cyan-light);
    font-size: 1.15rem;
    letter-spacing: 0;
  }

  .main-navigation .client-button {
    margin-top: 0.8rem;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
  }

  .menu-toggle[aria-expanded="true"] {
    color: var(--white);
  }
}

@media (max-width: 980px) {
  .section-heading,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-bottom: 10rem;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-aside {
    display: none;
  }

  .about-visual {
    min-height: 540px;
  }

  .process-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-list li:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .process-list li:nth-child(5),
  .process-list li:nth-child(6) {
    border-top: 1px solid var(--line);
  }

  .process-list li:nth-child(3)::after {
    display: none;
  }

  .contact-copy {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 76px;
  }

  .container,
  .header-shell {
    width: min(calc(100% - 2rem), var(--container));
  }

  .section {
    padding: 5rem 0;
  }

  .section-heading {
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  h1 {
    font-size: 2.8rem;
  }

  .brand {
    width: 190px;
    height: 50px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-backdrop {
    background:
      linear-gradient(90deg, rgba(4, 20, 33, 0.95), rgba(4, 20, 33, 0.58)),
      linear-gradient(0deg, rgba(4, 20, 33, 0.8), transparent 50%),
      url("images/hero-workshop.webp") 60% center / cover no-repeat;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 5rem);
    padding-bottom: 11rem;
  }

  .hero-process {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 1rem;
    bottom: 1.5rem;
  }

  .hero-process i {
    display: none;
  }

  .about-visual {
    min-height: 460px;
  }

  .about-image-main {
    width: 94%;
    height: 68%;
  }

  .about-image-small {
    width: 52%;
    height: 42%;
  }

  .about-caption {
    width: 52%;
    padding: 1rem;
  }

  .history {
    grid-template-columns: 1fr;
    margin-top: 5rem;
  }

  .history article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4),
  .service-card-image {
    grid-column: 1;
    min-height: 340px;
  }

  .service-card-image {
    min-height: 430px;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .process-list li:nth-child(3),
  .process-list li:nth-child(5) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .process-list li:nth-child(4) {
    border-left: 1px solid var(--line);
  }

  .process-list li:nth-child(5)::after {
    display: none;
  }

  .process-list li:nth-child(3)::after {
    display: block;
  }

  .commitment-grid {
    grid-template-columns: 1fr;
  }

  .workshop-section {
    min-height: 680px;
  }

  .gallery-grid {
    grid-auto-rows: 240px;
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item-wide {
    grid-column: 1;
  }

  .parts-link-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-cards article {
    grid-template-columns: 38px 1fr;
  }

  .contact-cards p,
  .contact-cards a {
    grid-column: 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.7rem;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 2.65rem;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .about-visual {
    min-height: 410px;
  }

  .about-caption span {
    display: none;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: 130px;
  }

  .process-list li + li,
  .process-list li:nth-child(4) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .process-list li::after {
    display: none !important;
  }

  .process-list span {
    margin-bottom: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
