:root {
  --navy: #14305e;
  --navy-dark: #0c1d3a;
  --accent: #e8892b;
  --ink: #1c2330;
  --muted: #5d6878;
  --bg: #ffffff;
  --bg-alt: #f3f5f8;
  --line: #dde2ea;
  --radius: 10px;
  --max: 1160px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--navy); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  font-weight: 700; color: var(--accent); margin-bottom: .75rem;
}

.btn {
  display: inline-block; padding: .85rem 1.5rem; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 600; text-decoration: none;
  border: 2px solid var(--accent); transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); background: #d47718; border-color: #d47718; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-small { padding: .5rem 1.1rem; font-size: .95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--ink); }
.nav a:not(.btn):hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* Hero */
.hero {
  position: relative; color: #fff; padding: clamp(5rem, 12vw, 9rem) 0 0;
  background:
    linear-gradient(100deg, rgba(12,29,58,.95) 0%, rgba(20,48,94,.85) 45%, rgba(20,48,94,.45) 100%),
    url("/img/workshop-1.jpg") center/cover;
}
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); font-weight: 800; margin-bottom: 1.25rem; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 38rem; color: #d8e0ee; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 4rem; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; color: var(--ink); border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -10px 40px rgba(0,0,0,.15);
}
.hero-facts div { padding: 1.5rem 1.75rem; border-right: 1px solid var(--line); }
.hero-facts div:last-child { border-right: 0; }
.hero-facts strong { display: block; font-size: 1.35rem; color: var(--navy); }
.hero-facts span { color: var(--muted); font-size: .95rem; }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy-dark); color: #e6ebf3; }
.section-dark h2 { color: #fff; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split p { color: var(--muted); font-size: 1.05rem; }
.mission {
  margin: 2rem 0 0; padding: 1.5rem 1.75rem; border-left: 4px solid var(--accent);
  background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.1rem; color: var(--ink);
}
.mission span { display: block; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
.photo-stack { position: relative; padding-bottom: 3rem; }
.photo-stack img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(12,29,58,.2); }
.photo-stack img:first-child { width: 72%; aspect-ratio: 3/4; object-fit: cover; }
.photo-stack img:last-child {
  position: absolute; right: 0; bottom: 0; width: 58%; aspect-ratio: 3/2; object-fit: cover;
  border: 6px solid #fff;
}

.services {
  list-style: none; padding: 0; margin: 2rem 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .9rem;
}
.services li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.25rem 1.1rem 3rem; position: relative; font-weight: 600;
}
.services li::before {
  content: ""; position: absolute; left: 1.25rem; top: 1.45rem; width: 10px; height: 10px;
  border-radius: 2px; background: var(--accent); transform: rotate(45deg);
}
.services small { display: block; font-weight: 400; color: var(--muted); }
.note { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.card {
  text-decoration: none; border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(12,29,58,.15); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card div { padding: 1.25rem 1.4rem 1.5rem; }
.card h3 { color: var(--navy); margin-bottom: .25rem; }
.card span { color: var(--accent); font-weight: 600; font-size: .95rem; }

.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-top: 2rem;
}
.gallery button {
  padding: 0; border: 0; cursor: zoom-in; border-radius: 8px; overflow: hidden; background: #ccd;
}
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .35s; }
.gallery button:hover img { transform: scale(1.05); }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh;
}
.lightbox::backdrop { background: rgba(5,12,25,.92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 6px; }
.lightbox button {
  position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); margin-top: 2rem; }
.contact-line {
  display: block; text-decoration: none; font-size: 1.25rem; font-weight: 600; color: #fff;
  padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.12);
}
.contact-line span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-weight: 700; }
.contact-line:hover { color: var(--accent); }
.hours { margin-top: 2rem; }
.hours h3 { color: #fff; }
.hours dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 2rem; margin: 0; }
.hours dt { color: #aab6c8; }
.hours dd { margin: 0; font-weight: 600; color: #fff; }
.people { display: grid; gap: 1rem; align-content: start; }
.person {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 1.4rem 1.5rem;
  display: grid; grid-template-columns: 1fr auto; gap: .15rem 1.5rem;
}
.person h3 { color: #fff; margin: 0; }
.person .role { color: #aab6c8; margin: 0 0 .5rem; grid-column: 1; }
.person a { color: #e6ebf3; text-decoration: none; font-size: .95rem; grid-column: 1; }
.person a:hover { color: var(--accent); }

.site-footer { background: #08142a; color: #8f9bb0; font-size: .9rem; padding: 1.75rem 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-inner p { margin: 0; }
.social { display: flex; gap: 1.25rem; }
.social a { text-decoration: none; }
.social a:hover { color: #fff; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; text-align: center; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div { border-right: 0; border-bottom: 1px solid var(--line); padding: 1.1rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Intro text, machine tables, FAQ */
.intro { color: var(--muted); font-size: 1.1rem; max-width: 46rem; }
.split-top { align-items: start; }
.split a { color: var(--navy); font-weight: 600; }

.machines { margin-top: 2rem; }
.machines > summary, .faq summary {
  cursor: pointer; list-style: none; font-weight: 700; color: var(--navy);
}
.machines > summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.machines > summary {
  display: inline-flex; align-items: center; gap: .6rem; padding: .75rem 1.25rem;
  border: 2px solid var(--navy); border-radius: 999px;
}
.machines > summary::after, .faq summary::after {
  content: "+"; font-size: 1.3rem; line-height: 1; color: var(--accent); transition: transform .2s;
}
.machines[open] > summary::after, .faq details[open] summary::after { transform: rotate(45deg); }
.machines[open] > summary { background: var(--navy); color: #fff; }

.table-wrap { overflow-x: auto; margin-top: 2rem; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
caption {
  text-align: left; font-weight: 700; font-size: 1.1rem; color: var(--navy);
  padding: 1rem 1.25rem; background: var(--bg-alt); border-bottom: 1px solid var(--line);
}
th, td { text-align: left; padding: .7rem 1.25rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
td:last-child { white-space: normal; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafbfc; }
td:first-child { font-weight: 600; }

.faq { display: grid; gap: .75rem; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.4rem; background: #fff;
}
.faq summary { display: flex; justify-content: space-between; gap: 1rem; font-size: 1.05rem; }
.faq details p { margin: .75rem 0 0; color: var(--muted); }
.faq a { color: var(--navy); font-weight: 600; }
.split .eyebrow { color: var(--accent); font-size: .78rem; }

@media (max-width: 640px) {
  .card img { aspect-ratio: 16/9; }
  table { min-width: 0; }
  thead { display: none; }
  tbody tr { display: block; padding: .9rem 1.25rem; border-bottom: 1px solid var(--line); }
  tbody tr:last-child { border-bottom: 0; }
  td {
    display: flex; justify-content: space-between; gap: 1rem; padding: .2rem 0;
    border: 0; white-space: normal; text-align: right;
  }
  td::before {
    content: attr(data-label); color: var(--muted); font-size: .8rem; text-align: left;
    text-transform: uppercase; letter-spacing: .04em; flex-shrink: 0; padding-top: .1rem;
  }
  td:first-child { font-size: 1.05rem; color: var(--navy); padding-bottom: .4rem; }
  td:first-child::before { content: none; }
  td:last-child { white-space: normal; }
  .table-wrap { overflow: visible; }
}
