/* ==========================================================================
   IWOOD Custom Cabinets — Design System (Frontend-Design Skill)
   Industrial-luxury aesthetic: raw power meets refined craft
   Signature: saw blade diagonal cuts woven into page structure
   ========================================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Young+Serif&family=Figtree:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Canvas & Surfaces */
  --canvas: #F6F1EB;
  --surface: #FDFAF6;
  --surface-warm: #EDE4D8;
  --surface-dark: #0F0A06;
  --surface-dark-elevated: #1A1410;
  --surface-mid: #2A2219;

  /* Ink */
  --ink: #1A1410;
  --ink-secondary: #3D352B;
  --ink-muted: #7A6E60;
  --ink-faint: #A89D8F;
  --ink-on-dark: #F6F1EB;
  --ink-on-dark-secondary: rgba(246, 241, 235, 0.68);
  --ink-on-dark-muted: rgba(246, 241, 235, 0.38);

  /* Brand */
  --brand-red: #D41820;
  --brand-red-dark: #AB1219;
  --brand-red-light: #E8343B;
  --brand-red-subtle: rgba(212, 24, 32, 0.07);
  --brand-red-glow: rgba(212, 24, 32, 0.2);

  /* Accent — aged brass */
  --brass: #C4A265;
  --brass-dark: #9E7F48;
  --brass-subtle: rgba(196, 162, 101, 0.12);

  /* Wood tones */
  --wood-dark: #3E2B1C;
  --wood-medium: #6B4C2F;
  --wood-light: #A0845E;
  --wood-pale: #D4C4A8;

  /* Borders */
  --border: rgba(26, 20, 16, 0.10);
  --border-subtle: rgba(26, 20, 16, 0.06);
  --border-strong: rgba(26, 20, 16, 0.18);
  --border-on-dark: rgba(246, 241, 235, 0.08);
  --border-on-dark-strong: rgba(246, 241, 235, 0.15);

  /* Shadows — layered, warm-tinted */
  --shadow-sm:
    0 1px 2px rgba(62, 43, 28, 0.07),
    0 2px 4px rgba(62, 43, 28, 0.04);
  --shadow-md:
    0 2px 4px rgba(62, 43, 28, 0.06),
    0 4px 12px rgba(62, 43, 28, 0.05),
    0 8px 24px rgba(62, 43, 28, 0.03);
  --shadow-lg:
    0 4px 8px rgba(62, 43, 28, 0.06),
    0 12px 28px rgba(62, 43, 28, 0.05),
    0 24px 48px rgba(62, 43, 28, 0.04);
  --shadow-dramatic:
    0 8px 20px rgba(62, 43, 28, 0.08),
    0 20px 50px rgba(62, 43, 28, 0.06),
    0 40px 80px rgba(62, 43, 28, 0.04);

  /* Typography */
  --font-display: 'Young Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Figtree', -apple-system, sans-serif;

  /* Spacing (8px base) */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px; --sp-11: 160px; --sp-12: 200px;

  /* Radius */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-xl: 20px;

  /* Motion — only transform & opacity */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 150ms;
  --dur-normal: 350ms;
  --dur-slow: 600ms;
  --dur-dramatic: 1000ms;

  /* Layout */
  --max-width: 1280px;
  --max-width-narrow: 880px;
  --max-width-wide: 1440px;
  --nav-height: 72px;

  /* Diagonal angle for signature saw-cut effect */
  --cut-angle: -2.5deg;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Premium text selection color */
::selection {
  background: rgba(212, 24, 32, 0.15);
  color: var(--ink);
}
::-moz-selection {
  background: rgba(212, 24, 32, 0.15);
  color: var(--ink);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--canvas);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- Grain Overlay (signature texture) ---------- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400; /* Young Serif only has 400 */
  line-height: 1.05;
  color: var(--ink);
}

h1 {
  font-size: clamp(3rem, 9vw, 6rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 5.5vw, 4.25rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.125rem;
  letter-spacing: 0;
}

p {
  color: var(--ink-secondary);
  max-width: 60ch;
}

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-red);
}

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

.container--narrow { max-width: var(--max-width-narrow); }
.container--wide { max-width: var(--max-width-wide); }

.section {
  position: relative;
  padding: var(--sp-10) 0;
}

.section--large { padding: var(--sp-10) 0; }
.section--showcase { padding: var(--sp-11) 0; }
.section--dense { padding: var(--sp-9) 0; }

.section--warm { background: var(--surface-warm); }
.section--warm .label { color: var(--brass-dark); }
.section--warm .section-header h2::after { background: linear-gradient(to right, var(--brass), var(--wood-pale)); }

.section--dark {
  background: var(--surface-dark);
  color: var(--ink-on-dark);
  overflow: hidden;
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--ink-on-dark); }
.section--dark p { color: var(--ink-on-dark-secondary); }
.section--dark .label { color: var(--brand-red-light); }
.section--dark .feature-list { border-top-color: var(--border-on-dark); }
.section--dark .feature-list::before { background: var(--brass); }
.section--dark .feature-list li { color: var(--ink-on-dark-secondary); }
.section--dark .feature-list li::before { background: rgba(212, 24, 32, 0.25); }
.section--dark .split__content .feature-list { border-top-color: var(--border-on-dark); }

/* ---------- Signature: Diagonal Cut Dividers ---------- */
.cut-top {
  position: relative;
}
.cut-top::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -5%;
  right: -5%;
  height: 60px;
  background: inherit;
  transform: skewY(var(--cut-angle));
  transform-origin: top left;
  z-index: 2;
}

.cut-bottom {
  position: relative;
}
.cut-bottom::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: -5%;
  right: -5%;
  height: 60px;
  background: inherit;
  transform: skewY(var(--cut-angle));
  transform-origin: bottom right;
  z-index: 2;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background-color var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out);
}

.nav--transparent { background: transparent; }

.nav--solid {
  background: rgba(246, 241, 235, 0.88);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  box-shadow:
    0 1px 0 var(--border),
    0 4px 20px rgba(62, 43, 28, 0.04);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

.nav__logo { z-index: 1001; }
.nav__logo img { height: 48px; width: auto; }

.nav__links {
  display: none;
  align-items: center;
  gap: var(--sp-6);
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  position: relative;
  padding: var(--sp-2) 0;
}

.nav--transparent .nav__link { color: #FFFFFF; }
.nav--solid .nav__link { color: var(--ink); }

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-red);
  transition: width var(--dur-normal) var(--ease-out);
}
.nav__link:hover::after,
.nav__link--active::after { width: 100%; }

.nav__link:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.nav__cta {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--sp-3) var(--sp-5);
  background: var(--brand-red);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  transition: transform var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
}
.nav__cta:hover { transform: translateY(-1px); opacity: 0.9; }
.nav__cta:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 4px; }
.nav__cta:active { transform: translateY(0); opacity: 0.85; }

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: var(--sp-2);
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--dur-normal) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
}
.nav--transparent .nav__hamburger span { background: #FFFFFF; }
.nav--solid .nav__hamburger span { background: var(--ink); }
.nav__hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger--open span:nth-child(2) { opacity: 0; }
.nav__hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--sp-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-normal) var(--ease-out);
  z-index: 999;
}
.nav__mobile--open { opacity: 1; pointer-events: auto; }
.nav__mobile .nav__link {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-transform: none;
  font-weight: 400;
}
.nav__mobile .nav__link::after { display: none; }
.nav__mobile .nav__cta {
  font-size: 1rem;
  padding: var(--sp-4) var(--sp-7);
  margin-top: var(--sp-4);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: var(--sp-9);
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  will-change: opacity, transform;
  animation: kenBurns 25s ease-in-out infinite alternate;
}
.hero__slide--active { opacity: 1; }

/* Cinematic Ken Burns — slow, subtle drift */
@keyframes kenBurns {
  0%   { transform: scale(1) translate(0, 0); }
  33%  { transform: scale(1.06) translate(-0.5%, -0.3%); }
  66%  { transform: scale(1.04) translate(0.3%, -0.5%); }
  100% { transform: scale(1.08) translate(-0.3%, 0.2%); }
}
.hero__slide:nth-child(2) { animation-delay: -5s; animation-direction: alternate-reverse; }
.hero__slide:nth-child(3) { animation-delay: -10s; }
.hero__slide:nth-child(4) { animation-delay: -15s; animation-direction: alternate-reverse; }
.hero__slide:nth-child(5) { animation-delay: -20s; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      160deg,
      rgba(15, 10, 6, 0.2) 0%,
      rgba(15, 10, 6, 0.45) 35%,
      rgba(15, 10, 6, 0.85) 100%
    ),
    linear-gradient(
      to top,
      rgba(15, 10, 6, 0.6) 0%,
      transparent 40%
    );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 0 var(--sp-5);
}

.hero__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brass);
  margin-bottom: var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.hero__label::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--brass));
  animation: labelLine 1.5s var(--ease-out) 300ms forwards;
  opacity: 0;
}
@keyframes labelLine {
  from { width: 0; opacity: 0; }
  to { width: 40px; opacity: 1; }
}

.hero__title {
  color: #FFFFFF;
  margin-bottom: var(--sp-7);
  line-height: 1;
}

.hero__subtitle {
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: var(--sp-5);
}

/* Brass editorial rule between subtitle and buttons */
.hero__buttons::before {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  background: linear-gradient(to right, var(--brass), transparent);
  margin-bottom: var(--sp-5);
  flex-basis: 100%;
}

.hero__buttons {
  display: flex;
  gap: var(--sp-5);
  flex-wrap: wrap;
}

/* Diagonal saw-cut at hero bottom */
/* Saw blade watermark — rotates on scroll */
.hero__sawblade {
  position: absolute;
  right: -2%;
  bottom: -5%;
  width: clamp(280px, 40vw, 520px);
  height: auto;
  opacity: 0.25;
  z-index: 2;
  pointer-events: none;
  will-change: transform;
  transform: rotate(0deg);
}

/* Saw blade watermark in dark sections */
.section__sawblade {
  position: absolute;
  width: clamp(250px, 35vw, 450px);
  height: auto;
  opacity: 0.08;
  pointer-events: none;
  will-change: transform;
  transform: rotate(0deg);
  z-index: 0;
}
.section__sawblade--right {
  right: -5%;
  top: 50%;
  translate: 0 -50%;
}
.section__sawblade--left {
  left: -5%;
  top: 50%;
  translate: 0 -50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: -5%;
  right: -5%;
  height: 70px;
  background: var(--canvas);
  transform: skewY(var(--cut-angle));
  transform-origin: bottom right;
  z-index: 3;
}

.hero__scroll {
  position: absolute;
  bottom: var(--sp-9);
  right: var(--sp-6);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-body);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--sp-9);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15, 10, 6, 0.3) 0%,
    rgba(15, 10, 6, 0.75) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 0 var(--sp-5);
}
.page-hero__content h1 {
  color: #FFFFFF;
  margin-bottom: var(--sp-3);
}
.page-hero__content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.0625rem;
}
.page-hero__content .label {
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--brass);
}
.page-hero__content .label::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--brass);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: -5%;
  right: -5%;
  height: 60px;
  background: var(--canvas);
  transform: skewY(var(--cut-angle));
  transform-origin: bottom right;
  z-index: 3;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--sp-4) var(--sp-6);
  border-radius: var(--radius-sm);
  transition: transform var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 4px; }
.btn:active { transform: translateY(0) scale(0.97); }

.btn--primary {
  background: var(--brand-red);
  color: #FFFFFF;
  border: 2px solid var(--brand-red);
  box-shadow: 0 2px 8px rgba(212, 24, 32, 0.25);
}
.btn--primary:hover {
  background: var(--brand-red-dark);
  border-color: var(--brand-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 24, 32, 0.3);
}

.btn--ghost {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.7); transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
}
.btn--outline:hover { border-color: var(--brand-red); color: var(--brand-red); transform: translateY(-2px); }

.btn--dark {
  background: var(--ink);
  color: #FFFFFF;
  border: 2px solid var(--ink);
}
.btn--dark:hover { transform: translateY(-2px); opacity: 0.9; }

.btn--large {
  font-size: 0.9375rem;
  padding: 20px var(--sp-8);
}

/* ---------- Section Headers ---------- */
.section-header {
  margin-bottom: var(--sp-9);
}

.section-header .label {
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.section-header .label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--brand-red);
}

.section-header h2 { margin-bottom: var(--sp-5); }
.section-header--hero h2 { font-size: clamp(2.25rem, 6vw, 5rem); letter-spacing: -0.025em; }

/* Brass divider line under section header h2 */
.section-header h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, var(--brand-red), var(--brass));
  margin-top: var(--sp-4);
  border-radius: 1px;
}
.section-header--center h2::after {
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  font-size: 1.0625rem;
  max-width: 50ch;
}

.section-header--center {
  text-align: center;
}
.section-header--center .label {
  justify-content: center;
}
.section-header--center .label::before { display: none; }
.section-header--center p { margin: 0 auto; }

/* ---------- Featured Work Grid (asymmetric) ---------- */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.work-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.work-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.work-card:hover .work-card__img {
  transform: scale(1.06);
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    transparent 30%,
    rgba(15, 10, 6, 0.85) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-5);
  opacity: 0;
  transition: opacity var(--dur-normal) var(--ease-out);
}
.work-card:hover .work-card__overlay { opacity: 1; }

.work-card__category {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brass);
  margin-bottom: var(--sp-1);
}

.work-card__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

/* ---------- Craftsmanship Split Section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  align-items: center;
}

.split__content { padding: 0; }

.split__content .label {
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.split__content .label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--brand-red);
}

.split__content h2 { margin-bottom: var(--sp-5); }

.split__content p {
  margin-bottom: var(--sp-5);
  font-size: 1.125rem;
  line-height: 1.8;
}

/* Editorial brass rule above feature lists in split sections */
.split__content .feature-list {
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
  position: relative;
}
.split__content .feature-list::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--brass);
}

.split__image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-dramatic) var(--ease-out);
}
.split__image:hover img { transform: scale(1.03); }

/* Corner frame accent — premium architectural detail */
.split__image::before {
  content: '';
  position: absolute;
  bottom: var(--sp-4);
  left: var(--sp-4);
  width: 50px;
  height: 50px;
  border-left: 2px solid var(--brass);
  border-bottom: 2px solid var(--brass);
  z-index: 1;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity var(--dur-normal) var(--ease-out),
              transform var(--dur-normal) var(--ease-out);
}
.split__image:hover::before {
  opacity: 0.6;
  transform: translate(0, 0);
}

.split__image::after {
  content: '';
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  width: 50px;
  height: 50px;
  border-right: 2px solid var(--brass);
  border-top: 2px solid var(--brass);
  z-index: 1;
  opacity: 0;
  transform: translate(4px, -4px);
  transition: opacity var(--dur-normal) var(--ease-out),
              transform var(--dur-normal) var(--ease-out);
}
.split__image:hover::after {
  opacity: 0.6;
  transform: translate(0, 0);
}

/* ---------- Materials Highlights ---------- */
.highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

.highlight-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out);
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Diagonal accent line on highlight cards */
.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand-red);
  transform: skewX(-3deg);
  transform-origin: top left;
}

.highlight-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--sp-4);
  color: var(--brand-red);
}

.highlight-card h4 {
  margin-bottom: var(--sp-3);
  color: var(--ink);
}
.highlight-card p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative;
  padding: var(--sp-10) 0;
  background: var(--surface-dark);
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  max-width: 550px;
}

.cta-banner__content h2 {
  color: #FFFFFF;
  margin-bottom: var(--sp-4);
}

.cta-banner__content p {
  color: var(--ink-on-dark-secondary);
  font-size: 1.0625rem;
  margin-bottom: var(--sp-6);
}

/* ---------- Portfolio Gallery ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-7);
}

.gallery-filter {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--sp-2) var(--sp-4);
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--ink-muted);
  background: transparent;
  transition: transform var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
  cursor: pointer;
}
.gallery-filter:hover { border-color: var(--brand-red); color: var(--brand-red); }
.gallery-filter:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 2px; }
.gallery-filter:active { transform: scale(0.96); }
.gallery-filter--active {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(212, 24, 32, 0.2);
}
.gallery-filter--active:hover { color: #FFFFFF; opacity: 0.9; }

/* Asymmetric masonry-inspired gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.04); }

/* Matte frame + subtle vignette for photographic depth */
.gallery-item {
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.06),
    inset 0 -40px 60px -30px rgba(15, 10, 6, 0.15);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15, 10, 6, 0.05) 0%,
    rgba(15, 10, 6, 0.6) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: var(--sp-5);
  opacity: 0;
  transition: opacity var(--dur-normal) var(--ease-out);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__icon {
  width: 36px;
  height: 36px;
  padding: 6px;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(8px);
  transition: transform var(--dur-normal) var(--ease-out),
              opacity var(--dur-normal) var(--ease-out);
  opacity: 0;
}
.gallery-item:hover .gallery-item__icon {
  transform: translateY(0);
  opacity: 1;
}

/* Brass accent line on gallery hover */
.gallery-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--brass);
  transition: width var(--dur-slow) var(--ease-out);
  z-index: 1;
}
.gallery-item:hover::after { width: 100%; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-normal) var(--ease-out);
}
.lightbox--open { opacity: 1; pointer-events: auto; }

.lightbox__img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  transform: scale(0.9);
  transition: transform var(--dur-slow) var(--ease-out);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}
.lightbox--open .lightbox__img { transform: scale(1); }

.lightbox__close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: transform var(--dur-fast) var(--ease-out);
}
.lightbox__close:hover { transform: scale(1.1); background: rgba(255, 255, 255, 0.15); }
.lightbox__close:active { transform: scale(0.95); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: transform var(--dur-fast) var(--ease-out);
}
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-50%) scale(1.1); }
.lightbox__nav:active { transform: translateY(-50%) scale(0.95); }
.lightbox__nav--prev { left: var(--sp-4); }
.lightbox__nav--next { right: var(--sp-4); }

.lightbox__counter {
  position: absolute;
  bottom: var(--sp-4);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Content Pages ---------- */
.content-section {
  padding: var(--sp-9) 0;
}
.content-section + .content-section {
  border-top: 1px solid var(--border-subtle);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

.content-block {
  padding: var(--sp-7) var(--sp-7);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out),
              border-color var(--dur-normal) var(--ease-out);
}
.content-block:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

/* Left accent bar */
.content-block::before {
  content: '';
  position: absolute;
  top: var(--sp-5);
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(to bottom, var(--brand-red), var(--brass));
  transition: height var(--dur-slow) var(--ease-out);
  border-radius: 0 2px 2px 0;
}
.content-block:hover::before { height: 30px; }

/* Diagonal accent */
.content-block::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: var(--brand-red-subtle);
  transform: translate(50%, -50%) rotate(45deg);
}

.content-block h3 { margin-bottom: var(--sp-5); color: var(--ink); }
.content-block p { margin-bottom: var(--sp-4); }

.content-block ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.content-block ul li {
  position: relative;
  padding-left: var(--sp-5);
  color: var(--ink-secondary);
  font-size: 0.9375rem;
}
.content-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 10px;
  height: 2px;
  background: var(--brand-red);
}

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 1rem;
  color: var(--ink-secondary);
  line-height: 1.65;
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  background: var(--brand-red-subtle);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D41820' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- Wood Species Grid ---------- */
.species-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}

.species-card {
  text-align: center;
  padding: var(--sp-7) var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: transform var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out),
              border-color var(--dur-normal) var(--ease-out);
}
.species-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brass-subtle);
}

.species-card__swatch {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto var(--sp-4);
  border: 3px solid var(--border-subtle);
  background-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04 0.15' numOctaves='3' seed='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.35'/%3E%3C/svg%3E");
  transition: transform var(--dur-normal) var(--ease-out),
              border-color var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out);
}
.species-card:hover .species-card__swatch {
  transform: scale(1.1);
  border-color: var(--brass);
  box-shadow: 0 4px 16px rgba(62, 43, 28, 0.15);
}

.species-card h4 {
  font-size: 0.8125rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-secondary);
  margin-top: var(--sp-1);
}

/* ---------- Process Steps ---------- */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  counter-reset: step;
  position: relative;
}

/* Vertical connector line */
.process-steps::before {
  content: '';
  position: absolute;
  left: 25px;
  top: var(--sp-5);
  bottom: var(--sp-5);
  width: 1px;
  background: linear-gradient(
    to bottom,
    var(--brand-red),
    var(--brass),
    var(--border)
  );
  opacity: 0.3;
}

.process-step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-5);
  align-items: start;
  padding: var(--sp-5) 0;
  position: relative;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--brass-dark);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border-strong);
  border-radius: 50%;
  background: var(--canvas);
  position: relative;
  z-index: 1;
  opacity: 1;
  line-height: 1;
  transition: transform var(--dur-normal) var(--ease-out),
              background var(--dur-normal) var(--ease-out),
              color var(--dur-normal) var(--ease-out);
}

.process-step:hover::before {
  border-color: var(--brass);
  color: var(--brass);
  transform: scale(1.05);
}

.process-step h4 {
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border-subtle);
  display: inline-block;
}
.process-step p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  transition: border-color var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out);
}
.faq-item--open {
  border-color: var(--brand-red);
  box-shadow: 0 2px 12px rgba(212, 24, 32, 0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  line-height: 1.4;
}
.faq-question:hover { color: var(--brand-red); }
.faq-question:focus-visible { outline: 2px solid var(--brand-red); outline-offset: -2px; }

.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--dur-normal) var(--ease-out);
}
.faq-item--open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-normal) var(--ease-out);
}
.faq-answer__inner {
  padding: 0 var(--sp-5) var(--sp-5);
  color: var(--ink-secondary);
  line-height: 1.8;
  font-size: 0.9375rem;
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

.testimonial {
  background: var(--surface);
  border: none;
  border-left: 3px solid var(--brass);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--sp-7) var(--sp-7) var(--sp-6) var(--sp-8);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out);
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Oversized quotation mark — editorial luxury */
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: var(--sp-6);
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
  color: var(--brand-red);
  opacity: 0.12;
}

/* Brass bottom accent line */
.testimonial::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--sp-6);
  width: 40px;
  height: 3px;
  background: var(--brass);
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--ink-secondary);
  margin-bottom: var(--sp-5);
  font-style: italic;
}

.testimonial__author {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.testimonial__role {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  align-items: start;
}

.contact-info {
  padding: var(--sp-7);
  background: var(--surface-dark);
  border-radius: var(--radius-md);
  color: var(--ink-on-dark);
  position: relative;
  overflow: hidden;
  border-left: 2px solid var(--brass);
}

/* Diagonal texture on contact info */
.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: var(--brand-red);
  opacity: 0.06;
  transform: translate(40%, -40%) rotate(45deg);
}

.contact-info h3 { color: var(--ink-on-dark); margin-bottom: var(--sp-5); }

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}

.contact-info__icon {
  width: 18px;
  height: 18px;
  color: var(--brass);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-on-dark-muted);
  margin-bottom: var(--sp-1);
}
.contact-info__value {
  color: var(--ink-on-dark);
  font-size: 0.9375rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

/* Full-width submit on mobile */
.contact-form .btn { width: 100%; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-on-dark-secondary);
}

.form-group input,
.form-group textarea {
  padding: var(--sp-4) var(--sp-5);
  background: rgba(253, 250, 246, 0.06);
  border: 1px solid var(--border-on-dark-strong);
  border-radius: var(--radius-md);
  color: var(--ink-on-dark);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.form-group input:hover,
.form-group textarea:hover { border-color: rgba(246, 241, 235, 0.3); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(196, 162, 101, 0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-on-dark-muted); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* Custom select */
.custom-select { position: relative; }

.custom-select__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--sp-4) var(--sp-5);
  background: rgba(253, 250, 246, 0.06);
  border: 1px solid var(--border-on-dark-strong);
  border-radius: var(--radius-md);
  color: var(--ink-on-dark);
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 1rem;
}
.custom-select__trigger:hover { border-color: rgba(246, 241, 235, 0.3); }
.custom-select__trigger:focus { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(196, 162, 101, 0.15); outline: none; }

.custom-select__chevron {
  width: 16px;
  height: 16px;
  color: var(--ink-muted);
  transition: transform var(--dur-fast) var(--ease-out);
}
.custom-select--open .custom-select__chevron { transform: rotate(180deg); }

.custom-select__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--surface-dark-elevated);
  border: 1px solid var(--border-on-dark-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  z-index: 100;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.custom-select--open .custom-select__dropdown { opacity: 1; transform: translateY(0); pointer-events: auto; }

.custom-select__option {
  padding: var(--sp-3) var(--sp-5);
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--ink-on-dark-secondary);
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.custom-select__option:hover { background: rgba(196, 162, 101, 0.1); color: var(--brass); }
.custom-select__option--selected { color: var(--brass); font-weight: 600; }

/* File upload */
.file-upload {
  border: 2px dashed var(--border-on-dark-strong);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.file-upload:hover {
  border-color: var(--brass);
  background: rgba(196, 162, 101, 0.04);
}
.file-upload__icon { width: 28px; height: 28px; margin: 0 auto var(--sp-3); color: var(--ink-on-dark-muted); }
.file-upload__text { font-size: 0.875rem; color: var(--ink-on-dark-muted); }
.file-upload__text span { color: var(--brass); font-weight: 600; }

/* ---------- Footer ---------- */
.footer {
  background: var(--surface-dark);
  color: var(--ink-on-dark);
  padding: var(--sp-10) 0 var(--sp-6);
  position: relative;
  overflow: hidden;
}

/* Diagonal cut at footer top */
.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -5%;
  right: -5%;
  height: 50px;
  background: var(--canvas);
  transform: skewY(var(--cut-angle));
  transform-origin: top left;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-bottom: var(--sp-7);
  position: relative;
  z-index: 2;
}

.footer__brand img {
  height: 56px;
  margin-bottom: var(--sp-4);
  filter: brightness(0) invert(1);
}
.footer__brand p {
  color: var(--ink-on-dark-secondary);
  font-size: 0.9375rem;
  max-width: 320px;
}

.footer h4 {
  color: var(--ink-on-dark);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: var(--sp-4);
}

.footer__links { display: flex; flex-direction: column; gap: var(--sp-3); }

.footer__link {
  color: var(--ink-on-dark-secondary);
  font-size: 0.9375rem;
  transition: color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
  display: inline-block;
}
a.footer__link:hover {
  color: var(--brass);
  transform: translateX(3px);
}
.footer__link:focus-visible { outline: 1px solid var(--brand-red); outline-offset: 2px; }

.footer__bottom {
  border-top: 1px solid var(--border-on-dark);
  padding-top: var(--sp-5);
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brass accent mark at footer bottom */
.footer__bottom::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--brass), transparent);
}

.footer__copyright {
  color: var(--ink-on-dark-muted);
  font-size: 0.8125rem;
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 800ms var(--ease-out),
              transform 800ms var(--ease-out);
}
.reveal--visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 150ms; }
.reveal--delay-2 { transition-delay: 300ms; }
.reveal--delay-3 { transition-delay: 450ms; }
.reveal--delay-4 { transition-delay: 600ms; }
.reveal--delay-5 { transition-delay: 750ms; }

/* Orchestrated page load */
.hero__content > * {
  opacity: 0;
  transform: translateY(25px);
  animation: heroReveal var(--dur-dramatic) var(--ease-out) forwards;
}
.hero__label { animation-delay: 200ms; }
.hero__title { animation-delay: 400ms; }
.hero__subtitle { animation-delay: 600ms; }
.hero__buttons { animation-delay: 800ms; }

@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive: Tablet & Up ---------- */
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .species-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: repeat(2, 1fr); }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .work-card:first-child {
    grid-row: span 2;
    aspect-ratio: auto;
  }
}

/* ---------- Responsive: Desktop ---------- */
@media (min-width: 1024px) {
  :root {
    --nav-height: 80px;
  }

  .nav__links { display: flex; }
  .nav__hamburger { display: none; }

  .container { padding: 0 var(--sp-7); }

  .hero { align-items: flex-end; padding-bottom: var(--sp-10); }
  .hero__content { padding: 0 var(--sp-7); }
  .hero__scroll { display: flex; }

  .page-hero { min-height: 55vh; padding-bottom: var(--sp-10); }
  .page-hero__content { padding: 0 var(--sp-7); }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-10);
  }
  .split--reverse { direction: rtl; }
  .split--reverse > * { direction: ltr; }
  .split__image { aspect-ratio: 4 / 5; }
  .split--wide-image .split__image { aspect-ratio: 3 / 4; }
  .split--cinematic .split__image { aspect-ratio: 16 / 10; margin-top: 0; margin-bottom: 0; }

  /* Overlapping split image on desktop */
  .split__image {
    margin-top: -40px;
    margin-bottom: -40px;
  }

  .work-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 340px;
  }
  .work-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
  .work-card:nth-child(4) {
    grid-column: span 2;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 360px;
  }
  /* Asymmetric gallery: some items span 2 cols or rows */
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery-item:nth-child(6) { grid-row: span 2; }
  .gallery-item:nth-child(10) { grid-column: span 2; }
  .gallery-item:nth-child(15) { grid-row: span 2; }
  .gallery-item { aspect-ratio: auto; }

  .highlights { grid-template-columns: repeat(3, 1fr); }
  .content-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .content-grid--thirds { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
  .testimonials { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
  .process-steps {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--sp-5);
  }
  /* Horizontal connector on desktop */
  .process-steps::before {
    left: calc(26px + var(--sp-6));
    right: calc(26px + var(--sp-6));
    top: 26px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(
      to right,
      var(--brand-red),
      var(--brass),
      var(--border)
    );
  }
  .process-step {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0;
  }
  .process-step::before {
    margin: 0 auto var(--sp-4);
  }

  .species-grid { grid-template-columns: repeat(6, 1fr); }

  .contact-layout { grid-template-columns: 1fr 1.6fr; }
  .contact-form .btn { width: auto; }

  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: var(--sp-7); }

  .section--large { padding: var(--sp-11) 0; }
}

/* ---------- Responsive: Large Desktop ---------- */
@media (min-width: 1280px) {
  .highlights { grid-template-columns: repeat(5, 1fr); }

  .work-grid {
    grid-auto-rows: 380px;
  }
}

/* ---------- Helpers for dark content blocks ---------- */
.dark-block {
  background: var(--surface-dark-elevated);
  border-color: var(--border-on-dark);
  box-shadow: inset 0 0 0 1px rgba(246, 241, 235, 0.04);
  transition: transform var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out),
              border-color var(--dur-normal) var(--ease-out);
}
.dark-block:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(196, 162, 101, 0.15);
  border-color: rgba(196, 162, 101, 0.2);
}
.dark-block h3 { color: var(--ink-on-dark); }
.dark-block p { color: var(--ink-on-dark-secondary); }
.dark-block::after { background: rgba(212, 24, 32, 0.12); }

/* Brass top line on dark blocks */
.dark-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--sp-6);
  width: 30px;
  height: 2px;
  background: var(--brass);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-normal) var(--ease-out),
              opacity var(--dur-normal) var(--ease-out);
}
.dark-block:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

/* ===== Mobile Fixes ===== */

/* Fix process step text wrapping on mobile */
@media (max-width: 639px) {
  .process-step {
    grid-template-columns: auto 1fr !important;
    text-align: left !important;
  }
  .process-step p {
    max-width: none !important;
    width: 100% !important;
  }
  .process-steps {
    gap: var(--sp-5) !important;
  }

  /* Fix contact sawblade overlapping form */
  .section--dark .section__sawblade {
    display: none !important;
  }

  /* Fix sawblades clipping on mobile in all dark sections */
  .section__sawblade,
  .hero__sawblade {
    display: none !important;
  }
}

.gallery-item.gallery-hidden { display: none !important; }

/* ========== Craft Refinements ========== */

/* Premium form submit */
.contact-form .btn--primary {
  font-size: 0.9375rem;
  padding: 20px var(--sp-8);
  letter-spacing: 0.12em;
  position: relative;
}
.contact-form .btn--primary::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--brass);
  transition: width var(--dur-normal) var(--ease-out);
}
.contact-form .btn--primary:hover::after { width: 60%; }

/* Hero ghost button — better readability */
.hero__buttons .btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero__buttons .btn--ghost:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

/* Footer signature mark */
.footer__signature {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--ink-on-dark-muted);
  letter-spacing: 0.06em;
}

/* Mobile menu — elevated with brand warmth */
.nav__mobile {
  background: linear-gradient(170deg, var(--surface) 0%, var(--surface-warm) 100%);
}
.nav__mobile .nav__link {
  position: relative;
}
.nav__mobile .nav__link::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--brass);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--dur-normal) var(--ease-out),
              transform var(--dur-normal) var(--ease-out);
}
.nav__mobile .nav__link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Gallery filter pills — stronger inactive state */
.gallery-filter {
  background: var(--surface);
}

/* Warm section brass accents on feature lists */
.section--warm .split__content .feature-list {
  border-top-color: rgba(196, 162, 101, 0.25);
}
.section--warm .split__content .feature-list::before {
  background: var(--brass);
}

/* ========== Material Cards — Countertops ========== */
.material-card {
  border: none;
  position: relative;
  overflow: hidden;
}
.material-card::before {
  /* Reset the left accent bar */
  display: none;
}
.material-card::after {
  /* Reset the diagonal accent */
  display: none;
}

/* --- Natural Stone: dark marble with white veining --- */
.material-card--stone {
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.015 0.008' numOctaves='5' seed='8' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)' opacity='0.4'/%3E%3C/svg%3E"),
    linear-gradient(145deg, #2A2A2A 0%, #1A1A1A 30%, #333 50%, #1E1E1E 70%, #2A2A2A 100%);
  background-blend-mode: overlay;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 4px 20px rgba(0,0,0,0.15);
}
.material-card--stone h3 { color: #F0EDE8; }
.material-card--stone p { color: rgba(240,237,232,0.7); }
.material-card--stone ul li { color: rgba(240,237,232,0.65); }
.material-card--stone ul li::before { background: rgba(196,162,101,0.7); }

/* --- Engineered Quartz: clean white/grey with subtle flecks --- */
.material-card--quartz {
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='q'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.5' numOctaves='3' seed='15' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23q)' opacity='0.06'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #F5F3F0 0%, #E8E5E0 40%, #F0EDEA 60%, #E6E3DE 100%);
  background-blend-mode: overlay;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    0 4px 20px rgba(0,0,0,0.06);
}
.material-card--quartz h3 { color: #2A2420; }
.material-card--quartz p { color: #5A5047; }
.material-card--quartz ul li { color: #6A6057; }
.material-card--quartz ul li::before { background: #B0A090; }

/* --- Stainless Steel: brushed metal with directional grain --- */
.material-card--steel {
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.005 0.4' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)' opacity='0.12'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #D0D0D0 0%, #B8B8B8 20%, #C8C8C8 50%, #BABABA 80%, #C5C5C5 100%);
  background-blend-mode: overlay;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    inset 0 -1px 0 rgba(0,0,0,0.08),
    0 4px 20px rgba(0,0,0,0.08);
}
.material-card--steel h3 { color: #1A1A1A; }
.material-card--steel p { color: #3A3A3A; }
.material-card--steel ul li { color: #404040; }
.material-card--steel ul li::before { background: #D41820; }

/* --- Wood Butcher Block: warm grain with directional texture --- */
.material-card--wood {
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.02 0.12' numOctaves='4' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)' opacity='0.25'/%3E%3C/svg%3E"),
    linear-gradient(175deg, #C09A6B 0%, #A8844E 25%, #B89060 50%, #9E7A42 75%, #B08858 100%);
  background-blend-mode: overlay;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 4px 20px rgba(62,43,28,0.15);
}
.material-card--wood h3 { color: #2A1A0A; }
.material-card--wood p { color: #3E2B1C; }
.material-card--wood ul li { color: #4A3525; }
.material-card--wood ul li::before { background: #3E2B1C; }

/* Hover — all material cards lift with stronger shadow */
.material-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.18),
    0 4px 12px rgba(0,0,0,0.08);
}
.material-card--stone:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 40px rgba(0,0,0,0.25);
}
