/* ================================================================
   MAISON VELDE — Luxury Interior Design Studio
   style.css
   ================================================================ */

/* ----------------------------------------------------------------
   0. Design Tokens & Reset
---------------------------------------------------------------- */
:root {
  /* Color Palette */
  --color-cream:      #f5f2ee;
  --color-charcoal:   #1a1917;
  --color-gold:       #b8955a;
  --color-gold-light: #d4b483;
  --color-sage:       #8a9a84;
  --color-sage-light: #c4cec1;
  --color-warm-mid:   #e8e3dc;
  --color-mid-tone:   #6b6560;
  --color-overlay:    rgba(14, 13, 12, 0.42);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing scale */
  --sp-1:   0.25rem;
  --sp-2:   0.5rem;
  --sp-3:   0.75rem;
  --sp-4:   1rem;
  --sp-6:   1.5rem;
  --sp-8:   2rem;
  --sp-12:  3rem;
  --sp-16:  4rem;
  --sp-24:  6rem;
  --sp-32:  8rem;

  /* Layout */
  --max-w:  1440px;
  --gutter: clamp(1.5rem, 5vw, 6rem);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index layers */
  --z-video:   0;
  --z-overlay: 1;
  --z-content: 2;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

/* Remove default list styles */
ul, ol { list-style: none; }

/* Remove default anchor styles */
a {
  color: inherit;
  text-decoration: none;
}

/* Accessible focus ring */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

/* ----------------------------------------------------------------
   1. Utility / Shared Styles
---------------------------------------------------------------- */
.section-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  margin-bottom: var(--sp-6);
}

/* ----------------------------------------------------------------
   2. Hero Section
---------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video background */
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: var(--z-video);
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Dark gradient overlay for text legibility */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: var(--z-overlay);
  background:
    linear-gradient(
      180deg,
      rgba(14, 13, 12, 0.35) 0%,
      rgba(14, 13, 12, 0.25) 50%,
      rgba(14, 13, 12, 0.60) 100%
    );
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: var(--z-content);
  text-align: center;
  color: var(--color-cream);
  padding: 0 var(--gutter);
  /* GSAP will animate these — start invisible */
  opacity: 0;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 242, 238, 0.65);
  margin-bottom: var(--sp-6);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 14vw, 13rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--color-cream);
  margin-bottom: var(--sp-8);
  /* Slight text shadow for depth on video */
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
  color: rgba(245, 242, 238, 0.8);
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-content);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  opacity: 0; /* animated in via GSAP */
}

.hero__scroll-label {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 242, 238, 0.5);
}

.hero__scroll-line {
  width: 1px;
  height: 64px;
  background: rgba(245, 242, 238, 0.2);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.hero__scroll-thumb {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: rgba(245, 242, 238, 0.7);
  border-radius: 1px;
  animation: scrollThumbDrop 2s var(--ease-out-expo) 1.8s infinite;
}

@keyframes scrollThumbDrop {
  0%   { top: -50%; }
  60%  { top: 100%; }
  61%  { top: -50%; }
  100% { top: -50%; }
}

/* ----------------------------------------------------------------
   Side Navigation
---------------------------------------------------------------- */
.side-nav {
  position: fixed;
  right: clamp(1.25rem, 3vw, 2.5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  mix-blend-mode: normal;
}

.side-nav__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: flex-end;
}

.side-nav__link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  cursor: pointer;
  /* Flip: label on left, dot on right */
  flex-direction: row;
}

.side-nav__label {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
  white-space: nowrap;
  pointer-events: none;
}

.side-nav__dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(26, 25, 23, 0.22);
  border: 1px solid rgba(26, 25, 23, 0.18);
  transition: background 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo), border-color 0.3s;
  flex-shrink: 0;
}

/* Active dot */
.side-nav__link.is-active .side-nav__dot {
  background: var(--color-gold);
  border-color: var(--color-gold);
  transform: scale(1.4);
}

/* Hover — expand label */
.side-nav__link:hover .side-nav__label,
.side-nav__link.is-active .side-nav__label {
  opacity: 1;
  transform: translateX(0);
}

.side-nav__link:hover .side-nav__dot {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

/* When over dark sections (hero, exploded, contact) — invert dots */
.side-nav.is-dark .side-nav__dot {
  background: rgba(245, 242, 238, 0.3);
  border-color: rgba(245, 242, 238, 0.25);
}

.side-nav.is-dark .side-nav__link.is-active .side-nav__dot {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.side-nav.is-dark .side-nav__label {
  color: var(--color-gold-light);
}

/* Mobile: hide side nav */
@media (max-width: 768px) {
  .side-nav {
    display: none;
  }
}

/* ----------------------------------------------------------------
   4. Projects — Split Reveal
---------------------------------------------------------------- */
.projects {
  padding: var(--sp-32) var(--gutter);
  background: var(--color-cream);
}

.projects__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: start;
}

/* Text column */
.projects__text-col {
  padding-top: var(--sp-8);
}

.projects__label {
  margin-bottom: var(--sp-12);
}

.projects__project {
  margin-bottom: clamp(3rem, 6vw, 6rem);
  opacity: 0;
  transform: translateY(40px);
}

.projects__name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.projects__location {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-mid-tone);
  margin-bottom: var(--sp-6);
}

.projects__desc {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-charcoal);
  max-width: 420px;
}

/* Image column */
.projects__image-col {
  position: sticky;
  top: clamp(4rem, 10vh, 8rem);
}

.projects__image-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.projects__image-block {
  width: 100%;
  height: 100%;
  transform-origin: center bottom;
  transform: scale(0.82);
  background:
    linear-gradient(
      160deg,
      #2a2620 0%,
      #1a1917 30%,
      #0e0d0c 60%,
      #2d2926 100%
    );
  position: relative;
}

/* Decorative texture lines on the image placeholder */
.projects__image-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(184, 149, 90, 0.03) 0px,
      rgba(184, 149, 90, 0.03) 1px,
      transparent 1px,
      transparent 80px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(184, 149, 90, 0.03) 0px,
      rgba(184, 149, 90, 0.03) 1px,
      transparent 1px,
      transparent 80px
    );
}

.projects__image-block::after {
  content: 'Résidence Alma — Paris';
  position: absolute;
  bottom: var(--sp-6);
  left: var(--sp-6);
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(184, 149, 90, 0.5);
}

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

  .projects__image-col {
    position: relative;
    top: 0;
    order: -1;
  }

  .projects__image-frame {
    aspect-ratio: 4 / 3;
  }

  .projects__image-block {
    transform: scale(1) !important;
  }
}

/* ----------------------------------------------------------------
   5a. Exploded View — Scroll-Driven Video Scrub
---------------------------------------------------------------- */
.exploded {
  background: var(--color-charcoal);
  /* Height determines scroll travel for scrubbing. JS can override. */
  height: 400vh;
}

/* The pinned viewport — stays fixed while section scrolls */
.exploded__pin {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-charcoal);
}

/* Canvas fills the pin — JS draws pre-extracted frames here (instant GPU blit) */
.exploded__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: var(--color-charcoal);
  opacity: 0;
  transition: opacity 0.6s var(--ease-out-expo);
}

.exploded__canvas.is-ready {
  opacity: 1;
}

/* Loading overlay */
.exploded__loader {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: var(--color-charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  transition: opacity 0.5s var(--ease-out-expo);
}

.exploded__loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.exploded__loader-wordmark {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(245, 242, 238, 0.4);
}

.exploded__loader-track {
  width: clamp(120px, 20vw, 200px);
  height: 1px;
  background: rgba(245, 242, 238, 0.1);
  position: relative;
  overflow: hidden;
}

.exploded__loader-fill {
  position: absolute;
  inset: 0;
  background: var(--color-gold);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.1s linear;
}

.exploded__loader-label {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 242, 238, 0.2);
}

/* Gradient vignette — darkens bottom so text is always readable */
.exploded__pin::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(26, 25, 23, 0.85) 0%,
      rgba(26, 25, 23, 0.15) 35%,
      transparent 60%
    );
  pointer-events: none;
  z-index: 1;
}

/* Text overlay — bottom left */
.exploded__text {
  position: absolute;
  bottom: clamp(3rem, 8vh, 6rem);
  left: var(--gutter);
  z-index: 2;
  max-width: 520px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.9s var(--ease-out-expo),
    transform 0.9s var(--ease-out-expo);
}

.exploded__text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.exploded__heading {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-cream);
  margin-bottom: var(--sp-4);
}

.exploded__sub {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(245, 242, 238, 0.5);
  max-width: 380px;
}

/* Thin gold progress bar — bottom edge of the pin */
.exploded__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(245, 242, 238, 0.07);
  z-index: 3;
}

.exploded__bar-fill {
  height: 100%;
  width: 100%;
  background: var(--color-gold);
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}

/* Mobile: collapse to a plain auto-playing video block */
@media (max-width: 768px) {
  .exploded {
    height: auto;
  }

  .exploded__pin {
    height: 70vw;
    min-height: 320px;
    position: relative !important;
    top: auto !important;
  }

  .exploded__canvas {
    object-fit: cover;
  }

  .exploded__text {
    bottom: var(--sp-6);
    left: var(--sp-4);
    opacity: 1;
    transform: none;
  }

  .exploded__heading {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .exploded__sub {
    display: none;
  }
}

/* ----------------------------------------------------------------
   6. About Me — 2-column split
---------------------------------------------------------------- */
.about {
  padding: var(--sp-32) var(--gutter);
  background: var(--color-warm-mid);
}

.about__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: start;
}

/* Portrait column */
.about__portrait-col {
  position: sticky;
  top: clamp(4rem, 10vh, 8rem);
  opacity: 0;
  transform: translateY(40px);
}

.about__portrait-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
}

.about__portrait-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(
      160deg,
      #2a2620 0%,
      #1a1917 30%,
      #0e0d0c 60%,
      #2d2926 100%
    );
  position: relative;
}

/* Subtle texture on the placeholder */
.about__portrait-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(184, 149, 90, 0.04) 0px,
      rgba(184, 149, 90, 0.04) 1px,
      transparent 1px,
      transparent 60px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(184, 149, 90, 0.04) 0px,
      rgba(184, 149, 90, 0.04) 1px,
      transparent 1px,
      transparent 60px
    );
}

/* Gold accent line along top */
.about__portrait-placeholder::after {
  content: '';
  position: absolute;
  top: 0;
  left: clamp(1.5rem, 3vw, 2.5rem);
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.5;
}

.about__portrait-caption {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-mid-tone);
  margin-top: var(--sp-4);
  opacity: 0.7;
}

/* Bio column */
.about__bio-col {
  padding-top: var(--sp-8);
  opacity: 0;
  transform: translateY(40px);
}

.about__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--color-charcoal);
  margin-top: var(--sp-4);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.about__body {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--color-mid-tone);
  max-width: 540px;
  margin-bottom: var(--sp-6);
}

.about__credentials {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid rgba(26, 25, 23, 0.1);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.about__credential {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--sp-4);
  align-items: baseline;
}

.about__credential-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  flex-shrink: 0;
}

.about__credential-value {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-charcoal);
}

/* Mobile collapse */
@media (max-width: 900px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }

  .about__portrait-col {
    position: relative;
    top: 0;
  }

  .about__portrait-frame {
    aspect-ratio: 4 / 3;
  }

  .about__credential {
    grid-template-columns: 80px 1fr;
  }
}

/* ----------------------------------------------------------------
   7. Contact / Footer
---------------------------------------------------------------- */
.contact {
  background: var(--color-charcoal);
  color: var(--color-cream);
  padding: var(--sp-32) var(--gutter) 0;
}

.contact__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 10rem);
  padding-bottom: var(--sp-24);
  border-bottom: 1px solid rgba(245, 242, 238, 0.08);
}

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

.contact__heading {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-gold);
  margin-bottom: var(--sp-12);
  opacity: 0;
  transform: translateY(40px);
}

/* Form */
.contact__form {
  opacity: 0;
  transform: translateY(20px);
}

.contact__field {}

.contact__field-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 242, 238, 0.4);
  margin-bottom: var(--sp-3);
}

.contact__field-row {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(245, 242, 238, 0.2);
  transition: border-color 0.3s var(--ease-in-out);
}

.contact__field-row:focus-within {
  border-color: var(--color-gold);
}

.contact__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-cream);
  padding: var(--sp-4) 0;
  caret-color: var(--color-gold);
}

.contact__input::placeholder {
  color: rgba(245, 242, 238, 0.25);
}

.contact__btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-4) 0 var(--sp-4) var(--sp-6);
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease-in-out);
  white-space: nowrap;
}

.contact__btn:hover {
  color: var(--color-gold-light);
}

.contact__btn-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease-out-expo);
}

.contact__btn-arrow svg {
  width: 100%;
  height: 100%;
}

.contact__btn:hover .contact__btn-arrow {
  transform: translateX(5px);
}

.contact__form-message {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  margin-top: var(--sp-4);
  min-height: 1.2em;
  color: var(--color-sage-light);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s, transform 0.4s;
}

.contact__form-message.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Right column */
.contact__right {
  padding-top: var(--sp-12);
  opacity: 0;
  transform: translateY(30px);
}

.contact__address {
  margin-bottom: var(--sp-12);
}

.contact__address-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 242, 238, 0.35);
  margin-bottom: var(--sp-4);
}

.contact__address-body {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(245, 242, 238, 0.65);
  font-style: normal;
}

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

.contact__social-link {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 242, 238, 0.35);
  transition: color 0.3s var(--ease-in-out);
  width: fit-content;
}

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

/* Footer bar */
.contact__footer-bar {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-8) 0;
}

.contact__wordmark {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: rgba(245, 242, 238, 0.3);
}

.contact__copyright {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(245, 242, 238, 0.2);
}

@media (max-width: 768px) {
  .contact__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }

  .contact__right {
    padding-top: 0;
  }

  .contact__footer-bar {
    flex-direction: column;
    gap: var(--sp-3);
    text-align: center;
  }
}

/* ----------------------------------------------------------------
   8. Global Responsive Adjustments
---------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --gutter: clamp(1.5rem, 4vw, 4rem);
  }
}

@media (max-width: 480px) {
  .hero__title {
    letter-spacing: -0.02em;
  }
}

/* ----------------------------------------------------------------
   9. Reduced Motion — respect user preference
---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-thumb {
    animation: none;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ----------------------------------------------------------------
   10. Selection styling
---------------------------------------------------------------- */
::selection {
  background: var(--color-gold);
  color: var(--color-charcoal);
}

/* ----------------------------------------------------------------
   11. Scrollbar styling (WebKit)
---------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
  background: rgba(26, 25, 23, 0.2);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(26, 25, 23, 0.4);
}
