/* ============================================================
   LEEWOOD FINISHING — Stylesheet
   ============================================================ */

/* ─── 1. CSS Custom Properties ─────────────────────────────── */
:root {
  /* Colors */
  --color-ivory:      #F5F0E8;
  --color-cream:      #FDFAF4;
  --color-charcoal:   #1C1C1A;
  --color-warm-gray:  #6B6660;
  --color-gold:       #B8965A;
  --color-bronze:     #8C6E3A;
  --color-ebony:      #1A1714;
  --color-tan:        #DDD4C0;
  --color-white:      #FFFFFF;

  /* Placeholder tones */
  --color-ph-base:    #C8B898;
  --color-ph-stripe:  rgba(255,255,255,0.07);
  --color-ph-icon:    rgba(160,130,90,0.55);
  --color-ph-label:   rgba(120,95,65,0.7);

  /* Typography */
  --font-serif:   'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:    'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Lato', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --section-pad:  100px;
  --container:    1140px;
  --gap:          24px;

  /* Transitions */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}


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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-charcoal);
  background-color: var(--color-ivory);
  line-height: 1.7;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

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


/* ─── 3. Typography ────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }

/* H1 used inside content splits should match H2 visually */
.split-text h1 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }

p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-warm-gray);
}

.section-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  margin-bottom: 18px;
}

.pullquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.6;
  color: rgba(253, 250, 244, 0.8);
  margin-bottom: 28px;
}


/* ─── 4. Layout Utilities ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

.section {
  padding: var(--section-pad) 0;
}

/* Thin gold divider */
.gold-rule {
  border: none;
  border-top: 1px solid var(--color-gold);
  opacity: 0.4;
  margin: 0;
}


/* ─── 5. Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 36px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn--gold {
  background-color: var(--color-gold);
  color: var(--color-ebony);
  border: 1px solid var(--color-gold);
}

.btn--gold:hover {
  background-color: var(--color-bronze);
  border-color: var(--color-bronze);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-cream);
  border: 1px solid rgba(253, 250, 244, 0.4);
}

.btn--outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}


/* ─── 6. Photo Placeholders ────────────────────────────────── */
.photo-placeholder {
  background-color: var(--color-ph-base);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Subtle diagonal stripe texture overlay */
.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -52deg,
    transparent,
    transparent 14px,
    var(--color-ph-stripe) 14px,
    var(--color-ph-stripe) 15px
  );
  pointer-events: none;
}

.placeholder-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 1;
}

.placeholder-icon {
  opacity: 0.55;
}

.placeholder-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-ph-label);
}

.photo-placeholder--large {
  aspect-ratio: 4 / 3;
  width: 100%;
}

.photo-placeholder--strip {
  aspect-ratio: 3 / 2;
  width: 100%;
}

.photo-placeholder--banner {
  aspect-ratio: 21 / 6;
  width: 100%;
  background-color: #1E1A16;
}

.photo-placeholder--banner::before {
  background-image: repeating-linear-gradient(
    -52deg,
    transparent,
    transparent 18px,
    rgba(184,150,90,0.04) 18px,
    rgba(184,150,90,0.04) 19px
  );
}


/* ─── 7. Header & Navigation ───────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 96px;
  display: flex;
  align-items: center;
  transition: background-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease),
              height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#site-header.nav--scrolled {
  height: 76px;
}

#site-header.nav--scrolled {
  background-color: rgba(26, 23, 20, 0.97);
  box-shadow: 0 1px 0 rgba(184, 150, 90, 0.2);
}

nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link svg {
  height: 80px;
  width: auto;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shrinks into the header once the user scrolls off the hero */
.nav--scrolled .logo-link svg {
  height: 60px;
}

/* In header context: override text fill to cream */
.logo-link .lw-name {
  fill: var(--color-cream);
}

.logo-link .lw-sub {
  fill: rgba(221, 212, 192, 0.65);
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(253, 250, 244, 0.75);
  transition: color 0.2s var(--ease);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: width 0.25s var(--ease);
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--color-cream);
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--color-cream);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile overlay nav */
.nav-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--color-ebony);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay a {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 400;
  color: var(--color-cream);
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease);
}

.nav-overlay a:hover,
.nav-overlay a[aria-current="page"] {
  color: var(--color-gold);
}


/* ─── 8. Hero Section ──────────────────────────────────────── */
#hero {
  position: relative;
  /* Height and layout are controlled by the inline split-screen component */
}


/* ─── 9. Content Split Layout ──────────────────────────────── */
.content-split {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 72px;
  align-items: center;
}

.content-split--reversed {
  grid-template-columns: 45fr 55fr;
}

.content-split--reversed .split-media {
  order: 2;
}

.content-split--reversed .split-text {
  order: 1;
}

.split-text h2 {
  margin-bottom: 22px;
  color: var(--color-charcoal);
}

.split-text p {
  margin-bottom: 32px;
}


/* ─── 10. Feature List ─────────────────────────────────────── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.feature-list li {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-list li::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background-color: var(--color-gold);
  flex-shrink: 0;
}


/* ─── 11. Image Strip ──────────────────────────────────────── */
.image-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: 64px;
}


/* ─── 12. Commercial Millwork Section ──────────────────────── */
.section-work {
  background-color: var(--color-ivory);
}


/* ─── 13. Custom Kitchens Section ──────────────────────────── */
.section-kitchens {
  background-color: var(--color-cream);
  border-top: 1px solid var(--color-tan);
  border-bottom: 1px solid var(--color-tan);
}

.feature-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--color-tan);
}

.feature-icon {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon .icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-tan);
  border-radius: 2px;
  padding: 10px;
}

.feature-icon .icon-wrap svg {
  width: 100%;
  height: auto;
}

.feature-icon h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 4px;
}

.feature-icon p {
  font-size: 0.9rem;
  margin: 0;
}


/* ─── 14. About / Craftsmanship Section ────────────────────── */
.section-about {
  background-color: var(--color-ebony);
  padding: 0;
}

.about-banner {
  width: 100%;
  height: 560px;
  overflow: hidden;
}

.about-body {
  padding: var(--section-pad) 0;
}

.about-text {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 0 32px;
}

.about-text h2 {
  color: var(--color-cream);
  margin-bottom: 28px;
}

.about-text .pullquote {
  color: rgba(221, 212, 192, 0.75);
  margin-bottom: 24px;
}

.about-text p {
  color: rgba(221, 212, 192, 0.55);
  font-weight: 300;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 72px;
  border-top: 1px solid rgba(184, 150, 90, 0.25);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px;
  text-align: center;
  border-right: 1px solid rgba(184, 150, 90, 0.15);
}

.stat:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(221, 212, 192, 0.45);
}


/* ─── 15. Contact Section ──────────────────────────────────── */
.section-contact {
  background-color: var(--color-ivory);
}

.contact-grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 96px;
  align-items: start;
}

.contact-form-side h2 {
  margin-bottom: 36px;
  color: var(--color-charcoal);
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

.form-field {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--color-tan);
  padding: 22px 0 12px;
  position: relative;
  transition: border-color 0.2s var(--ease);
}

.form-field:focus-within {
  border-bottom-color: var(--color-gold);
}

.form-field label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-warm-gray);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea,
.form-field select {
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  resize: none;
  padding: 0;
  line-height: 1.6;
  width: 100%;
}

.form-field select {
  padding-right: 20px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

.form-field--select {
  position: relative;
}

.form-field--select::after {
  content: '';
  position: absolute;
  right: 2px;
  bottom: 20px;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--color-warm-gray);
  border-bottom: 1px solid var(--color-warm-gray);
  transform: rotate(45deg);
  pointer-events: none;
  opacity: 0.6;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-tan);
}

.form-field textarea {
  min-height: 80px;
}

.form-submit {
  margin-top: 36px;
  align-self: flex-start;
}

/* Contact info side */
.contact-info-side {
  padding-top: 94px;
}

.contact-detail {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 36px;
}

.contact-detail .detail-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-gold);
}

.contact-detail .detail-icon svg {
  width: 100%;
  height: 100%;
}

.contact-detail p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.65;
}


/* ─── 16. Footer ───────────────────────────────────────────── */
footer {
  background-color: var(--color-ebony);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding: 72px 0 64px;
  align-items: start;
}

.footer-col {
  text-align: left;
}

.footer-brand .logo-link svg {
  height: 32px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(221, 212, 192, 0.45);
  max-width: 280px;
  line-height: 1.7;
  margin: 0;
}

.footer-col h5 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 22px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  color: rgba(221, 212, 192, 0.5);
  transition: color 0.2s var(--ease);
}

.footer-nav a:hover {
  color: var(--color-cream);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-social a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  color: rgba(221, 212, 192, 0.5);
  transition: color 0.2s var(--ease);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social a:hover {
  color: var(--color-cream);
}

.footer-social a svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(184, 150, 90, 0.2);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(221, 212, 192, 0.3);
  margin: 0;
}


/* ─── 17. Responsive — Tablet (≤ 1023px) ──────────────────── */
@media (max-width: 1023px) {
  :root {
    --section-pad: 80px;
  }

  .container {
    padding: 0 32px;
  }

  #site-header {
    padding: 0 32px;
  }

  .content-split,
  .content-split--reversed {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .content-split--reversed .split-media {
    order: 0;
  }

  .content-split--reversed .split-text {
    order: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .contact-info-side {
    padding-top: 0;
  }

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

  .footer-brand {
    grid-column: span 2;
  }
}


/* ─── 18. Responsive — Mobile (≤ 767px) ───────────────────── */
@media (max-width: 767px) {
  :root {
    --section-pad: 64px;
  }

  .container {
    padding: 0 20px;
  }

  #site-header {
    padding: 0 20px;
    height: 64px;
  }

  /* Logo — cap size for 64px mobile header */
  .logo-link svg { height: 52px; }
  .nav--scrolled .logo-link svg { height: 40px; }

  /* Show hamburger, hide desktop nav */
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .image-strip {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .feature-icons {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 40px;
  }

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

  .stats-row {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid rgba(184, 150, 90, 0.15);
    padding: 36px 24px;
  }

  .stat:last-child {
    border-bottom: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn {
    width: 100%;
    text-align: center;
    max-width: 280px;
  }
}


/* ─── 19. Kitchens — larger strip images (no about section) ──── */
.section-kitchens .image-strip img {
  aspect-ratio: 1 / 1;
}


/* ─── 20. Client Logo Strip ────────────────────────────────────*/
.client-logos {
  background-color: var(--color-ivory);
  border-top: 1px solid var(--color-tan);
  border-bottom: 1px solid var(--color-tan);
  padding: 52px 0;
}

.client-logos__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.client-logos__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
  flex-wrap: wrap;
}

.client-logos__item img {
  height: 26px;
  width: auto;
  display: block;
  filter: grayscale(1);
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.client-logos__item img:hover {
  opacity: 0.65;
}

@media (max-width: 767px) {
  .client-logos__inner {
    padding: 0 20px;
    gap: 28px;
  }

  .client-logos__row {
    gap: 40px;
  }

  .client-logos__item img {
    height: 20px;
  }
}


/* ─── 21. Softmoc wide banner (Interiors photo 5) ──────────────*/
.softmoc-wide-banner {
  width: 100%;
  aspect-ratio: 21 / 7;
  overflow: hidden;
  margin-top: 64px;
}

.softmoc-wide-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 767px) {
  .softmoc-wide-banner {
    aspect-ratio: 4 / 3;
  }
}


/* ─── 22. Page Hero (About & interior pages) ───────────────────*/
.page-hero {
  position: relative;
  height: clamp(380px, 55vh, 600px);
  overflow: hidden;
  background-color: var(--color-ebony);
  display: flex;
  align-items: flex-end;
}

.page-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 23, 20, 0.88) 0%,
    rgba(26, 23, 20, 0.38) 52%,
    rgba(26, 23, 20, 0.12) 100%
  );
  z-index: 1;
}

.page-hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(var(--container) + 96px);
  margin: 0 auto;
  padding: 0 48px 72px;
}

.page-hero__body h1 {
  color: var(--color-cream);
  max-width: 580px;
}

@media (max-width: 767px) {
  .page-hero {
    height: clamp(280px, 50vh, 420px);
  }

  .page-hero__body {
    padding: 0 20px 48px;
  }
}


/* ─── 23. Work cards (About — What We Build) ────────────────── */
.work-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin-top: 56px;
}

.work-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
}

.work-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.65s var(--ease);
}

.work-card:hover img {
  transform: scale(1.04);
}

.work-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 23, 20, 0.84) 0%,
    rgba(26, 23, 20, 0.18) 52%,
    transparent 100%
  );
}

.work-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 32px;
}

.work-card__body .section-label {
  margin-bottom: 8px;
}

.work-card__body h3 {
  color: var(--color-cream);
  line-height: 1.15;
  margin-bottom: 16px;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

.work-card__cta {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  transition: letter-spacing 0.25s var(--ease);
}

.work-card__cta::after {
  content: ' →';
}

.work-card:hover .work-card__cta {
  letter-spacing: 0.26em;
}

@media (max-width: 767px) {
  .work-cards {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
}


/* ─── 21. Mobile hero — vertical stack ─────────────────────────*/
@media (max-width: 767px) {
  #sr {
    cursor: auto;
  }

  #pl {
    width: 100% !important;
    height: 50vh !important;
    bottom: auto !important;
  }

  #pr {
    width: 100% !important;
    height: 50vh !important;
    top: 50vh !important;
  }

  #dv {
    top: calc(50vh - 0.5px) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    width: 100% !important;
    height: 1px !important;
  }
}
