:root {
  color-scheme: light;
  --navy: #091832;
  --ink: #11233d;
  --cyan: #42d7f3;
  --muted: #445570;
  --paper: #f5f8fa;
  --line: #cedae3;
  font-family: "Barlow", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: white;
}
* { box-sizing: border-box; }
body, figure, p, h1, h2, h3 { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #047fa3; outline-offset: 4px; }
.wrap { width: min(100% - 2rem, 76rem); margin-inline: auto; }
.skip { position: absolute; z-index: 3; top: .5rem; left: .5rem; padding: .75rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.mast { border-bottom: 1px solid var(--line); }
.mast-inner { display: flex; min-height: 5.25rem; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; flex-wrap: wrap; padding-block: .55rem; }
.logo { width: clamp(9rem, 25vw, 15rem); }
nav { display: flex; flex-wrap: wrap; gap: .15rem clamp(.65rem, 2.6vw, 2rem); }
nav a, .foot a { text-decoration: none; font-size: .93rem; font-weight: 650; padding-block: .55rem; }
nav a:hover, .foot a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 3rem; padding: .65rem 1rem; border: 1px solid transparent; background: var(--cyan); color: var(--navy); text-decoration: none; font-size: .94rem; font-weight: 750; }
.button:hover { background: #a1effc; }
.button.small { min-height: 2.6rem; }
.button.outline { border-color: #8ca3bf; color: white; background: transparent; }
.button.outline:hover { background: #243a5e; }
.hero, .visit { background: var(--navy); color: white; }
.hero-inner { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(1.4rem, 4vw, 4rem); padding-block: clamp(2.4rem, 6vw, 6.25rem); }
.eyebrow { color: #00647d; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .8rem; }
.hero .eyebrow, .visit .eyebrow { color: var(--cyan); }
h1, h2, h3 { font-family: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif; letter-spacing: -.04em; line-height: 1.03; }
h1 { font-size: clamp(2.5rem, 5.1vw, 5rem); font-weight: 850; }
h1 em { color: var(--cyan); font-style: normal; }
.hero-copy > p:not(.eyebrow) { margin-top: 1.25rem; color: #dbe6f2; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.6; max-width: 35ch; }
.actions, .contact { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-photo { position: relative; border-bottom: 4px solid var(--cyan); }
.hero-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.hero-photo figcaption { background: var(--navy); padding: .65rem .75rem; position: absolute; bottom: 0; left: 0; font-size: .76rem; color: #e0edf8; }
.section, .parts, .visit { padding-block: clamp(2.75rem, 7vw, 6.1rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.65rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.repair-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 1.75rem; border-block: 1px solid var(--line); }
article { padding: 1.45rem clamp(1rem, 3vw, 2.5rem) 1.55rem 0; }
article + article { padding-left: clamp(1rem, 3vw, 2.5rem); border-left: 1px solid var(--line); }
article p, .split p:not(.eyebrow) { color: var(--muted); line-height: 1.65; margin-block: .85rem 1.1rem; max-width: 52ch; }
article a { color: #00647d; font-weight: 750; text-underline-offset: .25em; }
.parts { background: var(--paper); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 5vw, 5rem); }
.split img { border-bottom: 4px solid #00a4c6; }
.registration { font-size: .88rem; }
address { font-style: normal; line-height: 1.7; margin-top: 1rem; color: #dbe6f2; }
.contact { margin-top: 0; justify-content: flex-end; }
footer { background: #061023; color: #dbe6f2; }
.foot { padding-block: .8rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; font-size: .8rem; }
@media (max-width: 760px) {
  .mast-inner nav { order: 3; width: 100%; border-top: 1px solid var(--line); }
  .hero-inner, .split { grid-template-columns: 1fr; }
  .hero-photo img { aspect-ratio: 16 / 10; }
  .parts img { order: 2; }
  .contact { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .repair-grid { grid-template-columns: 1fr; }
  article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

.gallery { background: var(--paper); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.gallery-grid figure { background: white; border-bottom: 2px solid #00a4c6; }
.gallery-grid img { aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-grid figcaption { padding: .75rem; color: var(--ink); font-size: .9rem; }

.parts-heading { font-size: 1.15rem; letter-spacing: 0; }
.parts-list { padding-inline-start: 1.2rem; margin-block: .65rem 1.25rem; color: var(--muted); line-height: 1.55; }
.parts-list li + li { margin-top: .28rem; }

.parts .split > img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 58%; }

.language {
  display: flex;
  align-items: center;
  gap: .2rem;
  font-size: .88rem;
}
.language a { padding: .4rem .55rem; white-space: nowrap; }
.language a[aria-current="page"] { background: #e0f8fd; color: #00556c; text-decoration: underline; }
@media (max-width: 760px) {
  .mast-inner { justify-content: space-between; }
  .mast-inner nav.language { order: 4; border-top: 0; padding-bottom: .15rem; }
}
