/* ============================================================
   Dekad Group — dark theme
   Tokens · Base · Layout · Components · Responsive
   ============================================================ */

:root {
  color-scheme: dark;

  /* Surfaces */
  --bg: #0b0c0c;
  --bg-alt: #0f1110;
  --surface: #161917;
  --surface-hi: #1e221f;

  /* Lines */
  --border: rgba(255, 255, 255, 0.09);
  --border-hi: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #f3f4f1;
  --text-muted: rgba(243, 244, 241, 0.64);
  --text-faint: rgba(243, 244, 241, 0.42);

  /* Accent */
  --gold: #d89b36;
  --gold-bright: #ecb257;
  --gold-deep: #a87221;
  --gold-tint: rgba(216, 155, 54, 0.14);
  --on-gold: #1a1206;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Metrics */
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-height: 72px;
  --section-y: clamp(64px, 9vw, 128px);

  --radius: 14px;
  --radius-sm: 8px;

  --shadow-lift: 0 30px 60px -26px rgba(0, 0, 0, 0.78);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.05;
}

p {
  margin: 0;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 120;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--on-gold);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
}

/* ---------- Layout helpers ---------- */

.section-inner,
.hero-inner,
.footer-inner,
.header-inner {
  width: min(var(--max), 100% - var(--gutter) * 2);
  max-width: 100%;
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
  border-top: 1px solid var(--border);
}

.services {
  background: var(--bg);
}

.project-showcase,
.collection {
  background: var(--bg-alt);
}

.workshop {
  background: var(--bg);
}

/* ---------- Eyebrow + section heading ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

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

.section-head {
  max-width: 620px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head h2 {
  margin-top: 14px;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.02;
}

.section-head > p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 16px;
}

.section-head.is-wide {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}

.section-head.is-wide > p {
  margin: 0 0 8px;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease, box-shadow 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: var(--on-gold);
  box-shadow: 0 12px 30px -14px rgba(216, 155, 54, 0.55);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--gold-bright);
  box-shadow: 0 18px 36px -14px rgba(216, 155, 54, 0.6);
}

.button-ghost {
  color: var(--text);
  border-color: var(--border-hi);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.button-gold-outline {
  color: var(--gold);
  border-color: var(--gold);
  background: transparent;
}

.button-gold-outline:hover,
.button-gold-outline:focus-visible {
  background: var(--gold);
  color: var(--on-gold);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 12, 12, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(9, 10, 10, 0.92);
  box-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.8);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  min-height: var(--header-height);
}

.logo {
  display: grid;
  gap: 3px;
  flex: 0 0 auto;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: 0.02em;
}

.logo-main span {
  color: var(--gold);
}

.logo-sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.44em;
  color: var(--text-faint);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 8px 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.18s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

/* CTA shown only inside the mobile dropdown menu */
.main-nav a.nav-cta {
  display: none;
}

.menu-toggle {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.22s var(--ease), opacity 0.18s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(780px, calc(100svh - var(--header-height)));
  padding-block: clamp(60px, 12vh, 120px);
  overflow: hidden;
  background-color: var(--bg);
  background-image:
    linear-gradient(
      100deg,
      rgba(8, 9, 9, 0.96) 0%,
      rgba(8, 9, 9, 0.82) 38%,
      rgba(8, 9, 9, 0.3) 66%,
      rgba(8, 9, 9, 0.62) 100%
    ),
    radial-gradient(60% 55% at 12% 42%, var(--gold-tint), transparent 70%),
    url("assets/images/hero-house.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero-copy {
  max-width: 560px;
}

.hero h1 {
  margin-top: 16px;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.9;
}

.hero-lead {
  margin-top: 20px;
  max-width: 34ch;
  color: rgba(243, 244, 241, 0.78);
  font-size: clamp(17px, 2.2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 680px;
  margin-top: clamp(40px, 7vh, 72px);
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.process-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  /* Solid-ish fill (no backdrop-filter): the hero background is animated and
     a blurred backdrop over it mis-composites into a ghost in Chromium. */
  background: rgba(12, 13, 13, 0.9);
}

.process-item svg,
.support-list svg {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.process-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.process-item span {
  display: block;
  margin-top: 2px;
  color: var(--text-faint);
  font-size: 12.5px;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: grid;
  place-items: start center;
  width: 26px;
  height: 42px;
  padding-top: 8px;
  border: 1px solid var(--border-hi);
  border-radius: 999px;
}

.hero-scroll span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
  animation: scroll-bob 1.7s var(--ease) infinite;
}

@keyframes scroll-bob {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    transform: translateY(12px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ---------- Services ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hi);
  box-shadow: var(--shadow-lift);
}

.service-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-hi);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-media img {
  transform: scale(1.05);
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(20px, 3vw, 28px);
}

.service-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.service-body h3 {
  font-weight: 600;
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.06;
}

.service-body p {
  color: var(--text-muted);
  font-size: 14.5px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.service-link .arrow {
  transition: transform 0.2s var(--ease);
}

.service-card:hover .service-link {
  color: var(--gold);
}

.service-card:hover .service-link .arrow {
  transform: translateX(5px);
}

.service-card--wide {
  grid-column: 1 / -1;
  flex-direction: row;
}

.service-card--wide .service-media {
  flex: 1 1 52%;
  aspect-ratio: 16 / 11;
  min-height: 320px;
}

.service-card--wide .service-body {
  flex: 1 1 48%;
  justify-content: center;
  gap: 14px;
  padding: clamp(28px, 4vw, 48px);
}

.service-card--wide .service-link {
  margin-top: 22px;
}

.service-card--wide h3 {
  font-size: clamp(24px, 3vw, 34px);
}

.service-card--wide .service-body p {
  max-width: 46ch;
  font-size: 15.5px;
}

/* ---------- Project showcase / slider ---------- */

.project-slider {
  outline: none;
}

.slider-viewport {
  position: relative;
  overflow: hidden;
  background: #0c0e0d;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.slider-track {
  display: flex;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}

.project-slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
  max-height: 620px;
  overflow: hidden;
}

.project-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.4s var(--ease);
}

.project-slide.is-active > img {
  transform: scale(1);
}

.slide-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(6, 7, 7, 0.92) 0%,
    rgba(6, 7, 7, 0.25) 55%,
    rgba(6, 7, 7, 0.4) 100%
  );
  pointer-events: none;
}

.slide-caption {
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  bottom: clamp(20px, 4vw, 44px);
  left: clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 28px);
  align-items: end;
}

.slide-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 0.8;
  color: var(--gold);
}

.slide-text h3 {
  margin-top: 6px;
  font-weight: 700;
  font-size: clamp(24px, 3.6vw, 44px);
  line-height: 1;
}

.slide-text p {
  margin-top: 10px;
  max-width: 52ch;
  color: rgba(243, 244, 241, 0.8);
  font-size: 14.5px;
}

.slide-expand,
.slider-arrow,
.lightbox-close,
.lightbox-arrow {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  background: rgba(6, 7, 7, 0.62);
  color: var(--text);
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    transform 0.18s var(--ease);
}

.slide-expand:hover,
.slide-expand:focus-visible,
.slider-arrow:hover,
.slider-arrow:focus-visible,
.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-arrow:hover,
.lightbox-arrow:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--on-gold);
}

.slide-expand {
  align-self: end;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  transform: translateY(-50%) scale(1.05);
}

.slider-prev {
  left: 16px;
}

.slider-next {
  right: 16px;
}

.slider-status {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(6, 7, 7, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.slider-status-line {
  position: relative;
  width: 64px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.22);
}

.slider-status-line span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--gold);
  transition: width 0.45s var(--ease);
}

.slider-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.slider-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #111;
  cursor: pointer;
}

.slider-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 0.25s ease, transform 0.35s var(--ease);
}

.slider-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 2px transparent;
  transition: box-shadow 0.2s ease;
}

.slider-thumb:hover img,
.slider-thumb:focus-visible img {
  opacity: 0.85;
  transform: scale(1.05);
}

.slider-thumb.is-active {
  border-color: var(--gold);
}

.slider-thumb.is-active img {
  opacity: 1;
}

.slider-thumb.is-active::after {
  box-shadow: inset 0 0 0 2px var(--gold);
}

/* ---------- Shared media button (workshop / products) ---------- */

.media-view {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-hi);
  cursor: zoom-in;
}

.media-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.media-view::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--gold-tint), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.media-view:hover img,
.media-view:focus-visible img {
  transform: scale(1.05);
}

.media-view:hover::after,
.media-view:focus-visible::after {
  opacity: 1;
}

/* ---------- Split sections (workshop / collection / support) ---------- */

.section-copy {
  max-width: 460px;
}

.section-copy h2 {
  margin-top: 14px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.05;
}

.section-copy p {
  margin: 18px 0 28px;
  color: var(--text-muted);
  font-size: 15.5px;
}

.workshop-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.workshop-images {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
  min-height: 420px;
}

.workshop-images .media-view {
  height: 100%;
}

.workshop-images .media-view:first-child {
  grid-row: 1 / span 2;
}

.collection-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.product-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.25s var(--ease), border-color 0.25s ease;
}

.product-item:hover {
  transform: translateY(-5px);
  border-color: var(--border-hi);
}

.product-item .media-view {
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 0;
}

.product-item h3 {
  padding: 16px 18px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
}

/* ---------- Support / partners ---------- */

.support {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.support::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      var(--bg) 0%,
      rgba(11, 12, 12, 0.94) 52%,
      rgba(11, 12, 12, 0.5) 100%
    ),
    url("assets/images/support-truck.jpg") right center / cover no-repeat;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.support-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.support-list article {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--border-hi);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  background: rgba(9, 10, 10, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.support-list h3 {
  margin: 14px 0 8px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.03em;
}

.support-list p {
  color: var(--text-muted);
  font-size: 13.5px;
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(80px, 14vw, 168px);
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 9, 9, 0.86), rgba(8, 9, 9, 0.93)),
    url("assets/images/cta-table.jpg") center / cover no-repeat;
}

.cta-inner {
  display: grid;
  justify-items: center;
  gap: 22px;
  max-width: 760px;
}

.cta .eyebrow::before {
  display: none;
}

.cta h2 {
  font-size: clamp(34px, 5.6vw, 68px);
  line-height: 1;
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 6px;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-list a {
  color: var(--text-muted);
  transition: color 0.18s ease;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--gold);
}

/* ---------- Footer ---------- */

.site-footer {
  background: #080909;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 76px);
}

.footer-brand p {
  margin-top: 16px;
  color: var(--text-faint);
  font-size: 14px;
}

.footer-col h3 {
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.footer-col a {
  display: block;
  padding: 6px 0;
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.18s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  place-items: center;
  gap: 12px;
  padding: 72px clamp(12px, 3vw, 32px) 32px;
  background: rgba(5, 6, 6, 0.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  grid-column: 2;
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 100%;
  max-height: calc(100svh - 120px);
  margin: 0;
}

.lightbox figure img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100svh - 160px);
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox figcaption {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
}

.lightbox-prev {
  grid-column: 1;
}

.lightbox-next {
  grid-column: 3;
}

/* ---------- Reveal on scroll ---------- */

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1040px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .header-inner {
    padding-right: 56px;
  }

  .menu-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 19;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100svh - var(--header-height));
    margin: 0;
    padding: 10px clamp(20px, 5vw, 40px) 24px;
    overflow-y: auto;
    background: rgba(9, 10, 10, 0.98);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.22s var(--ease);
  }

  .main-nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 14px 20px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--gold);
    color: var(--on-gold);
    font-size: 15px;
    letter-spacing: 0.06em;
  }

  .main-nav a.nav-cta:hover,
  .main-nav a.nav-cta:focus-visible {
    background: var(--gold-bright);
  }

  body.menu-open::after {
    content: "";
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 18;
    background: rgba(0, 0, 0, 0.5);
  }
}

@media (max-width: 900px) {
  .section-head.is-wide {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .service-card--wide {
    flex-direction: column;
  }

  .service-card--wide .service-media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .workshop-layout,
  .collection-layout,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .section-copy {
    max-width: 620px;
  }

  .workshop-images {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .workshop-images .media-view {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .workshop-images .media-view:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }

  .support-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: min(660px, calc(100svh - var(--header-height)));
  }

  .hero {
    background-position: 62% center;
    background-image:
      linear-gradient(180deg, rgba(8, 9, 9, 0.72), rgba(8, 9, 9, 0.9)),
      url("assets/images/hero-house.jpg");
  }

  .hero-process {
    grid-template-columns: 1fr;
  }

  .hero-scroll {
    display: none;
  }

  .project-slide {
    aspect-ratio: 3 / 4;
    max-height: none;
  }

  .slide-caption {
    grid-template-columns: 1fr auto;
    gap: 12px 14px;
  }

  .slide-index {
    grid-column: 1 / -1;
  }

  .slider-thumbs {
    grid-auto-flow: column;
    grid-auto-columns: 42%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 4px;
  }

  .slider-thumb {
    scroll-snap-align: start;
  }
}

@media (max-width: 560px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .support-list {
    grid-template-columns: 1fr;
  }

  .workshop-images {
    grid-template-columns: 1fr;
  }

  .workshop-images .media-view:first-child {
    aspect-ratio: 4 / 3;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .section-head h2,
  .section-copy h2 {
    font-size: clamp(27px, 8vw, 40px);
  }

  .cta h2 {
    font-size: clamp(28px, 9vw, 44px);
  }

  .slide-text h3 {
    font-size: clamp(22px, 7vw, 34px);
  }
}

@media (max-width: 520px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .hero h1 {
    font-size: clamp(44px, 13vw, 72px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-scroll span {
    opacity: 1;
  }

  .project-slide > img {
    transform: none;
  }
}
