:root {
  --ink: #f7f1e8;
  --muted: #b7aa98;
  --black: #140f0c;
  --charcoal: #1c1612;
  --steel: #2a211c;
  --line: #3d3229;
  --white: #ffffff;
  --cream: #fff5e6;
  --spark: #f7d358;
  --spark-soft: #ffe08a;
  --brown: #2d2420;
  --wa: #1f8f4e;
  --danger: #c44;
  --ok: #2f9e6a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--black);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
}
h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.92;
  margin-bottom: 0.55rem;
}
h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1;
  margin-bottom: 0.5rem;
}
h3 { font-size: 1.45rem; line-height: 1.1; margin-bottom: 0.35rem; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--spark);
  color: #111;
  padding: 8px 12px;
  z-index: 50;
  font-weight: 700;
}
.skip:focus { top: 12px; }

.topbar {
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.78);
  font-size: 0.84rem;
}
.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
}
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--spark-soft); }
.topbar-wa {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--white);
}
.topbar-wa svg { width: 18px; height: 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(5,5,5,0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-bar {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: var(--white);
  flex: 0 0 auto;
  gap: 4px;
}
.brand img {
  height: 58px;
  width: auto;
  max-width: min(220px, 56vw);
  object-fit: contain;
  background: #000;
  padding: 4px 6px;
}
.brand-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--spark);
  white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
}
.nav a[aria-current="page"],
.nav a:hover { color: var(--spark); }
.nav-call { display: none; }
.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
  font: inherit;
  font-weight: 700;
  padding: 8px 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.86rem;
}
.btn-orange { background: var(--spark); color: var(--brown); }
.btn-orange:hover { background: var(--spark-soft); }
.btn-light { background: var(--cream); color: var(--brown); }
.btn-line { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn:hover { transform: translateY(-1px); }

.hero {
  position: relative;
  min-height: calc(100vh - 130px);
  color: var(--white);
  display: grid;
  align-items: end;
  text-align: left;
  padding: 140px 0 96px;
  overflow: hidden;
  background: #000;
}
.hero-video, .hero-shade { position: absolute; inset: 0; }
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.05);
  animation: drift 30s ease-in-out infinite alternate;
  filter: contrast(1.05) saturate(1.05);
}
.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.25) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.75) 100%);
  pointer-events: none;
}
.hero-shade::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--spark), transparent 55%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
  justify-self: start;
}
@keyframes drift {
  from { transform: scale(1.05) translate3d(0,0,0); }
  to { transform: scale(1.14) translate3d(-1.6%, -1%, 0); }
}
@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}
.kicker {
  display: inline-block;
  color: var(--brown);
  background: var(--spark);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
  margin-bottom: 18px;
  padding: 8px 12px;
}
.lead {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.86);
  max-width: 38rem;
  margin-bottom: 0;
}
.section .lead, .panel .lead, .prose .lead, .intro-grid .lead { color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: left;
  padding: 92px 0 76px;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  background:
    linear-gradient(105deg, rgba(20,15,12,0.88), rgba(45,36,32,0.42)),
    url("../img/cover-banner.png") center / cover no-repeat;
  animation: ken 18s ease-in-out infinite alternate;
}
.page-hero .wrap {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-left: max(0px, calc((100% - var(--max)) / 2 + 20px));
  width: min(780px, calc(100% - 40px));
}

.section { padding: 92px 0; }
.section-head { max-width: 40rem; margin-bottom: 28px; }
.paper { background: var(--charcoal); }

.intro-grid, .split, .contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.contact-grid { align-items: start; }
.intro-photo { margin: 0; position: relative; }
.intro-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  position: relative;
  z-index: 1;
  filter: grayscale(0.15) contrast(1.05);
}
.intro-photo::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -12px;
  bottom: -12px;
  width: 42%;
  height: 28%;
  background: var(--spark);
}
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 16px; }
.ticks li { padding-left: 18px; position: relative; color: rgba(255,255,255,0.86); }
.ticks li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--spark);
  position: absolute;
  left: 0;
  top: 0.55em;
}
.ticks strong { display: block; margin-bottom: 2px; color: #fff; }
.intro-more { margin: 22px 0 0; }
.more {
  color: var(--spark-soft);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--spark);
}

.steps, .facts, .gallery { display: grid; gap: 22px; }
.steps { grid-template-columns: repeat(3, 1fr); }
.step {
  border-top: 2px solid var(--spark);
  padding-top: 18px;
}
.step span {
  display: block;
  color: var(--spark);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.step p { color: var(--muted); }

.facts { grid-template-columns: 1fr 1fr; }
.fact, .panel {
  background: var(--steel);
  border: 1px solid var(--line);
  padding: 22px;
}
.fact strong { display: block; margin-bottom: 4px; color: var(--spark); }
.service {
  border-left: 3px solid var(--spark);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: center;
  overflow: hidden;
  padding: 0;
}
.service--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr); }
.service--flip .service-media { order: 2; }
.service--flip .service-copy { order: 1; }
.service--quote { grid-template-columns: 1fr; padding: 28px; }
.service + .service { margin-top: 22px; }
.service-media { margin: 0; min-height: 100%; }
.service-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.08);
}
.service-copy { padding: 28px 28px 28px 8px; }
.service--flip .service-copy { padding: 28px 8px 28px 28px; }
.service--quote .service-copy { padding: 0; }
.service-detail {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
}
.panel p { color: var(--muted); }

.gallery { grid-template-columns: 1fr 1fr; }
.shot { margin: 0; background: var(--steel); border: 1px solid var(--line); overflow: hidden; }
.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s ease;
  filter: grayscale(0.2) contrast(1.05);
}
.shot:hover img { transform: scale(1.04); filter: none; }
.shot figcaption { padding: 14px 16px 16px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.86rem; }
.note { color: var(--muted); font-size: 0.92rem; }

.cta-band {
  background: linear-gradient(120deg, #1a1410 0%, #2d2420 48%, #3a2d18 100%);
  color: var(--white);
  text-align: left;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(247,211,88,0.45);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  background: radial-gradient(circle, rgba(247,211,88,0.28), transparent 60%);
  width: 70%;
  height: 160%;
}
.cta-band .wrap { position: relative; z-index: 1; max-width: 36rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.86); margin-bottom: 0; }

form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 700; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 14px;
  font: inherit;
  color: #111;
  background: #fff;
}
textarea { min-height: 140px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; }
.form-error, .form-ok { padding: 12px 14px; }
.form-error { background: #3a1515; color: #ffb4b4; }
.form-ok { background: #123226; color: #b6f0d0; }
.aside a { color: var(--spark-soft); font-weight: 700; }

.site-footer {
  background: #000;
  color: rgba(255,255,255,0.78);
  padding-top: 52px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 32px;
}
.site-footer h2 { color: var(--spark); font-size: 1.35rem; letter-spacing: 0.06em; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--spark-soft); }
.footer-lead { max-width: 28rem; margin-top: 16px; }
.footer-rut { color: rgba(255,255,255,0.5); font-size: 0.92rem; }
.brand--light { color: var(--white); }
.brand--light .brand-tag { color: var(--spark); }
.brand--light img { height: 52px; }
.footer-base {
  margin-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0 22px;
  color: rgba(255,255,255,0.5);
  font-size: 0.92rem;
  text-align: center;
}
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  z-index: 25;
}
.wa-float svg { width: 32px; height: 32px; }

.rail { overflow: hidden; background: #000; padding: 18px 0; border-block: 1px solid var(--line); }
.rail-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: rail 38s linear infinite;
}
.rail img {
  width: min(420px, 72vw);
  height: 240px;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.08);
}
.rail:hover .rail-track { animation-play-state: paused; }
@keyframes rail {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.85s ease, transform 0.85s ease;
  transition-delay: var(--d, 0ms);
}
.reveal-left { transform: translateX(-48px); }
.reveal-right { transform: translateX(48px); }
.reveal.is-in { opacity: 1; transform: none; }

body.is-home .site-header {
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
}
body.is-home .site-header.is-solid {
  position: fixed;
  top: 0;
  background: rgba(0,0,0,0.94);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
body.is-home .section:not(.paper) { background: #080808; }

@media (prefers-reduced-motion: reduce) {
  .page-hero::before, .rail-track, .reveal, .hero-video {
    animation: none !important;
    transition: none !important;
  }
  .hero { background: url("../img/hero-poster.jpg") center / cover no-repeat; }
  .hero-video { display: none; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .topbar-email, .topbar-address { display: none; }
  .brand img { height: 48px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #0b0b0b;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 18px;
    border-bottom: 1px solid var(--line);
    gap: 12px;
  }
  .nav.is-open { display: flex; z-index: 40; }
  .nav-call { display: inline; }
  .intro-grid, .split, .contact-grid, .steps, .facts, .gallery, .footer-grid,
  .service, .service--flip {
    grid-template-columns: 1fr;
  }
  .service--flip .service-media,
  .service--flip .service-copy { order: unset; }
  .service-copy,
  .service--flip .service-copy { padding: 22px; }
  .service-media img { min-height: 200px; }
  .hero { min-height: 84vh; padding: 120px 0 72px; }
  .section { padding: 56px 0; }
  .page-hero .wrap { margin-left: 20px; }
}
