/* ==========================================================================
   The Woodmeister Inc — Woodmeister Website
   Dark-luxury theme. Mobile-first, fully responsive.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --bg:        #0e0f12;
  --bg-2:      #15171c;
  --bg-3:      #1c1f26;
  --line:      rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.05);

  --text:      #ece8e1;
  --muted:     #9d978c;
  --muted-2:   #76716a;

  --gold:      #c6a662;
  --gold-2:    #ddc188;
  --gold-soft: rgba(198, 166, 98, 0.14);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 1180px;
  --radius: 3px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.005em;
}

::selection {
  background: var(--gold);
  color: #14110b;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section {
  padding-block: clamp(4rem, 9vw, 8rem);
}

.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.eyebrow--center { justify-content: center; }

.section-title {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  letter-spacing: -0.01em;
  max-width: 18ch;
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}
.section-head--center .section-title { margin-inline: auto; }

.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 56ch;
  margin-top: 1.4rem;
}

.text-gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --btn-fg: #12100b;
  --btn-bg: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.9em;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
              color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(198, 166, 98, 0.55);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-fg: var(--text);
  --btn-bg: transparent;
}
.btn--ghost:hover {
  --btn-fg: #12100b;
  --btn-bg: var(--gold);
}

.btn--sm { padding: 0.7em 1.3em; font-size: 0.72rem; }

.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease), height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  height: 64px;
  background: rgba(12, 13, 16, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand / wordmark */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 50%;
  flex: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.brand:hover .brand-mark { background: var(--gold); color: #12100b; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand-sub {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 0.4rem; }
.nav-link {
  position: relative;
  padding: 0.5rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.25rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--gold); }
.nav-cta { margin-left: 0.6rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 120;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease), top 0.35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  isolation: isolate;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,11,14,0.55) 0%, rgba(10,11,14,0.35) 35%, rgba(10,11,14,0.92) 100%),
    radial-gradient(120% 80% at 50% 0%, rgba(10,11,14,0.1), rgba(10,11,14,0.7));
}
.hero__inner { max-width: 56rem; }
.hero__title {
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__sub {
  margin-top: 1.6rem;
  max-width: 46ch;
  color: #d8d3c9;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 300;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.6rem;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll .line {
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1);   transform-origin: top; }
}

/* ---------- Stat strip ---------- */
.stats {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: clamp(1.6rem, 4vw, 2.6rem) 1rem;
  text-align: center;
  border-left: 1px solid var(--line-soft);
}
.stat:first-child { border-left: none; }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--gold);
  line-height: 1;
}
.stat__label {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Generic two-column ---------- */
.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  grid-template-columns: 1fr 1fr;
}
.split--media-right .split__media { order: 2; }

.media-frame {
  position: relative;
  border: 1px solid var(--line);
  padding: 12px;
  background: var(--bg-2);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(198,166,98,0.25);
  pointer-events: none;
}
.media-frame img { width: 100%; }

.prose p + p { margin-top: 1.1rem; }
.prose p { color: var(--muted); }
.prose .first-line { color: var(--text); font-size: 1.12rem; }

/* ---------- Services ---------- */
.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3.5rem;
}
.card {
  position: relative;
  padding: 2.4rem 2rem 2.6rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
              background 0.4s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(198,166,98,0.4);
  background: var(--bg-3);
}
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 46px;
  height: 46px;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.card__icon svg { width: 100%; height: 100%; }
.card__title { font-size: 1.6rem; margin-bottom: 0.6rem; }
.card__text { color: var(--muted); font-size: 0.98rem; }

/* ---------- Featured strip ---------- */
.featured {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 3rem;
}
.featured a {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.featured a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,11,14,0.7));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.featured a:hover img { transform: scale(1.08); }
.featured a:hover::after { opacity: 1; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  text-align: center;
  background:
    linear-gradient(rgba(11,12,15,0.86), rgba(11,12,15,0.92)),
    var(--bg-3);
  border-block: 1px solid var(--line);
}
.cta-band__title {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  max-width: 20ch;
  margin-inline: auto;
}
.cta-band .btn { margin-top: 2rem; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 140% at 50% -20%, rgba(198,166,98,0.10), transparent 60%),
    var(--bg-2);
}
.page-hero__title { font-size: clamp(2.6rem, 7vw, 4.6rem); }
.page-hero__sub { color: var(--muted); margin-top: 1rem; max-width: 52ch; margin-inline: auto; }
.crumbs {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 1.4rem;
}
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: var(--gold); }

/* ---------- About specifics ---------- */
.values {
  display: grid;
  gap: 1.5rem 2.5rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
}
.value { display: flex; gap: 1rem; }
.value__num {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold);
  flex: none;
  line-height: 1.4;
}
.value h3 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.value p { color: var(--muted); font-size: 0.95rem; }

.timeline {
  margin-top: 1rem;
  border-left: 1px solid var(--line);
  padding-left: 1.8rem;
}
.timeline li {
  list-style: none;
  position: relative;
  padding-bottom: 1.8rem;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.8rem - 4.5px);
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(198,166,98,0.15);
}
.timeline .year {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--gold);
}
.timeline p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Portfolio ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.filter {
  padding: 0.55em 1.3em;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
              background 0.3s var(--ease);
}
.filter:hover { color: var(--text); border-color: var(--muted-2); }
.filter.is-active {
  color: #12100b;
  background: var(--gold);
  border-color: var(--gold);
}

.gallery {
  column-count: 3;
  column-gap: 0.85rem;
}
.tile {
  position: relative;
  display: block;
  margin-bottom: 0.85rem;
  break-inside: avoid;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.tile img {
  width: 100%;
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10,11,14,0.85));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.tile__meta {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1rem;
  z-index: 2;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.tile__cat {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.tile__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--text);
}
.tile__zoom {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  color: #fff;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
              background 0.3s var(--ease);
}
.tile:hover img { transform: scale(1.06); }
.tile:hover::after { opacity: 1; }
.tile:hover .tile__meta { transform: none; opacity: 1; }
.tile:hover .tile__zoom { opacity: 1; transform: scale(1); }

/* "N photos" badge for grouped projects */
.tile__count {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.32em 0.7em;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(14, 15, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.tile__count::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--gold);
  border-radius: 2px;
  box-shadow: 2px 2px 0 -0.5px rgba(14, 15, 18, 0.7), 3px 3px 0 -0.5px var(--gold);
}
.tile.is-hidden { display: none; }

.tile--video { display: block; }
.tile__play {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
}
.tile__play span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(198,166,98,0.92);
  color: #12100b;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.6);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(8, 9, 11, 0.94);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage {
  position: relative;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lightbox__media {
  max-width: 100%;
  max-height: 78vh;
  border: 1px solid var(--line);
  transform: scale(0.96);
  transition: transform 0.35s var(--ease);
}
.lightbox.is-open .lightbox__media { transform: scale(1); }
.lightbox__caption {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--text);
  text-align: center;
}
.lightbox__caption small {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(20,22,26,0.6);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lb-btn:hover { background: var(--gold); color: #12100b; border-color: var(--gold); }
.lb-prev { left: -10px; }
.lb-next { right: -10px; }
.lb-close {
  position: fixed;
  top: 1.4rem;
  right: 1.4rem;
  width: 48px;
  height: 48px;
}
.lb-count {
  position: fixed;
  top: 1.8rem;
  left: 1.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}
.form { display: grid; gap: 1.4rem; }
.field { display: grid; gap: 0.5rem; }
.field label {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--bg-3);
}
.field textarea { resize: vertical; min-height: 150px; }
.field--row { display: grid; gap: 1.4rem; grid-template-columns: 1fr 1fr; }
.form .btn { justify-self: start; margin-top: 0.4rem; }
.form__note { font-size: 0.85rem; color: var(--muted-2); }
.form__status { font-size: 0.92rem; min-height: 1.2em; }
.form__status.ok { color: var(--gold-2); }
.form__status.err { color: #e08a7a; }

.contact-aside { display: grid; gap: 1.8rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item__icon {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 50%;
}
.contact-item__icon svg { width: 18px; height: 18px; }
.contact-item h3 {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.contact-item a, .contact-item p { color: var(--text); }
.contact-item a:hover { color: var(--gold); }

/* ---------- Socials ---------- */
.socials { display: inline-flex; gap: 0.6rem; }
.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
              transform 0.3s var(--ease), background 0.3s var(--ease);
}
.socials a:hover {
  color: #12100b;
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.socials svg { width: 17px; height: 17px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 7vw, 5rem);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand .brand { margin-bottom: 1.2rem; }
.footer-tag { color: var(--muted); max-width: 34ch; }
.footer-col h3 {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer-col a { display: block; color: var(--muted); padding: 0.3rem 0; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted-2);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 360px);
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0.25rem;
    padding: 5rem 2rem 2rem;
    background: var(--bg-2);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    box-shadow: -30px 0 60px -20px rgba(0,0,0,0.7);
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-link {
    padding: 1rem 0.5rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-link::after { display: none; }
  .nav-cta {
    margin: 1rem 0 0;
    justify-content: center;
  }
  body.nav-open { overflow: hidden; }

  .split { grid-template-columns: 1fr; }
  .split--media-right .split__media { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { column-count: 2; }
  .featured { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  :root { --header-h: 66px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(odd) { border-left: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line-soft); }
  .field--row { grid-template-columns: 1fr; }
  .lb-prev { left: 0; }
  .lb-next { right: 0; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 440px) {
  .gallery { column-count: 1; }
  .brand-name { font-size: 1.05rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__bg { transform: none; }
}
