:root {
  --bg: #0e1416;
  --bg-2: #151d20;
  --surface: #1b2529;
  --line: #2a373c;
  --text: #eef2f1;
  --muted: #9fb0b0;
  --accent: #f2a541;
  --accent-ink: #1a1206;
  --teal: #4f7a78;
  --radius: 14px;
  --max: 1180px;
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .25s, border-color .25s;
  border-bottom: 1px solid transparent;
}
.site-header.solid, .site-header.always-solid {
  background: rgba(14, 20, 22, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text); opacity: .85; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 16px; border-top: 1px solid var(--line); }
  .nav-links .btn { margin: 12px 16px 16px; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .15s, background .15s, color .15s;
  border: 1px solid transparent; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ffb85c; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.nav-links .btn { padding: 10px 18px; font-size: 14px; color: var(--accent-ink); opacity: 1; }
.nav-links .btn:hover { color: var(--accent-ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 140px 0 72px;
  background: var(--bg);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14,20,22,.78) 0%, rgba(14,20,22,.45) 45%, rgba(14,20,22,0) 75%),
    linear-gradient(180deg, rgba(14,20,22,.55) 0%, rgba(14,20,22,.1) 30%, rgba(14,20,22,.6) 80%, var(--bg) 100%);
}
@media (max-width: 600px) {
  .hero-media::after { background: linear-gradient(180deg, rgba(14,20,22,.55) 0%, rgba(14,20,22,.6) 40%, rgba(14,20,22,.85) 75%, var(--bg) 100%); }
}
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(44px, 8vw, 96px); font-weight: 800; max-width: 12ch; margin: 14px 0 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: #d9e2e1; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 40px; font-size: 14px; color: var(--muted); }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { color: var(--accent); flex: none; }

.page-hero { min-height: 62svh; }
.page-hero h1 { max-width: 16ch; }

/* ---------- Sections ---------- */
section { padding: 104px 0; }
@media (max-width: 600px) { section { padding: 72px 0; } }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4.5vw, 52px); font-weight: 800; margin: 12px 0 16px; }
.section-head p { color: var(--muted); font-size: 18px; }
.alt { background: var(--bg-2); }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.service img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.service-body { padding: 22px 22px 26px; }
.service h3 { font-size: 21px; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 15.5px; }

/* Intro split */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.split-media .tag {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(14,20,22,.85); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; font-size: 14px;
}
.split-media .tag strong { display: block; font-family: var(--font-display); font-size: 16px; }
.split h2 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; margin: 12px 0 20px; }
.split p + p { margin-top: 16px; }
.split .copy p { color: #cfd9d8; }
.split .btn { margin-top: 28px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-media { max-width: 440px; }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: step; }
.step { border-top: 2px solid var(--line); padding-top: 20px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--accent);
}
.step h3 { font-size: 20px; margin: 10px 0 8px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* Gallery strip + grid */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.strip a:first-child { grid-column: span 2; grid-row: span 2; }
.strip img, .grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; transition: transform .4s, filter .3s; }
.strip a, .grid a { display: block; overflow: hidden; border-radius: 10px; aspect-ratio: 16 / 10; }
.strip a:first-child { aspect-ratio: auto; }
.strip a:hover img, .grid a:hover img { transform: scale(1.04); }
@media (max-width: 760px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip a:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
}
.strip-foot { margin-top: 28px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  font: inherit; font-size: 14px; font-weight: 500;
  background: transparent; color: var(--text);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
@media (max-width: 400px) { .grid { grid-template-columns: 1fr; } }
.grid a[hidden] { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(6,9,10,.94);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 100%; border-radius: 8px; }
.lightbox figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 12px; }
.lb-btn {
  position: absolute; background: rgba(255,255,255,.08); color: var(--text);
  border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
}
.lb-btn:hover { background: rgba(255,255,255,.18); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; } }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.fact strong { display: block; font-family: var(--font-display); font-size: 30px; color: var(--accent); line-height: 1.1; }
.fact span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } }

/* CTA / Contact */
.cta {
  position: relative; overflow: hidden;
  border-radius: 22px; padding: 64px 48px;
  background: var(--surface); border: 1px solid var(--line);
}
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--surface) 25%, rgba(27,37,41,.4)); }
.cta-inner { position: relative; max-width: 560px; }
.cta h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin: 12px 0 16px; }
.cta p { color: #cfd9d8; }
.cta .hero-actions { margin-top: 28px; }
@media (max-width: 600px) { .cta { padding: 40px 22px; } .cta-bg::after { background: rgba(27,37,41,.75); } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14.5px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
