/* ============================================
   PEBBLES — Custom Sprinter Van For Sale
   Design System: Copper + Cream + Topo Lines
   ============================================ */

/* --- Google Fonts loaded in HTML head --- */

/* ==================
   CUSTOM PROPERTIES
   ================== */

:root {
  /* Color */
  --cream: #F5F0EB;
  --sand: #EDE8E3;
  --charcoal: #1C1917;
  --warm-gray: #78716C;
  --van-gray: #292524;
  --copper: #C2702A;
  --copper-deep: #A35B1F;
  --copper-light: rgba(194, 112, 42, 0.12);
  --white: #FFFFFF;
  --border-light: rgba(28, 25, 23, 0.08);
  --border-dark: rgba(245, 240, 235, 0.12);

  /* Topo background — encoded inline SVG */
  /* Topo map — Hero Patterns "Topography" by Steve Schoger (MIT) */
  --topo-light: url("../img/topo-copper.svg");
  --topo-dark: url("../img/topo-cream.svg");
  --topo-copper-bold: url("../img/topo-copper-bold.svg");

  /* Typography */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  --text-overline: 0.72rem;
  --text-base: 1.125rem;
  --text-lg: clamp(1.125rem, 1.5vw, 1.25rem);
  --text-xl: clamp(1.25rem, 2vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 2.5vw, 2rem);
  --text-3xl: clamp(2rem, 3.5vw, 2.625rem);
  --text-4xl: clamp(2.5rem, 5vw, 3.5rem);
  --text-hero: clamp(3.5rem, 8vw + 1rem, 7rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 5rem;
  --space-9: 6rem;
  --space-10: 7.5rem;
  --space-11: 10rem;

  --section-pad: clamp(3rem, 6vw, 5rem);
  --side-pad: clamp(1rem, 4vw, 3rem);
  --container: 1200px;
  --container-wide: 1400px;
  --container-narrow: 800px;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-reveal: 600ms;

  /* Depth */
  --shadow-nav: 0 1px 8px rgba(28, 25, 23, 0.06);
  --shadow-card: 0 2px 8px rgba(28, 25, 23, 0.04);
  --shadow-photo: 0 4px 20px rgba(28, 25, 23, 0.1);
}


/* ==================
   RESET & BASE
   ================== */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}


/* ==================
   TYPOGRAPHY
   ================== */

.overline {
  font-family: var(--font-body);
  font-size: var(--text-overline);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
}

.dark-section .overline {
  color: var(--copper);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--charcoal);
  font-optical-sizing: auto;
}

h1 {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3 {
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h4 {
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  max-width: 65ch;
}

.text-muted {
  color: var(--warm-gray);
}

.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4 {
  color: var(--cream);
}

.dark-section {
  color: var(--cream);
}

.dark-section .text-muted {
  color: #A8A29E;
}


/* ==================
   LAYOUT
   ================== */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--side-pad);
  padding-right: var(--side-pad);
}

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

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

section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}


/* ==================
   SKIP LINK
   ================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--side-pad);
  background: var(--copper);
  color: var(--cream);
  padding: var(--space-2) var(--space-4);
  font-weight: 600;
  z-index: 1000;
  border-radius: 0 0 6px 6px;
  transition: top var(--duration-normal) var(--ease-out-expo);
}

.skip-link:focus {
  top: 0;
}


/* ==================
   NAVIGATION
   ================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  transition: background-color var(--duration-normal) ease,
              box-shadow var(--duration-normal) ease,
              padding var(--duration-normal) ease;
}

.nav--scrolled {
  background-color: var(--cream);
  box-shadow: var(--shadow-nav);
  padding: var(--space-2) 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--cream);
  transition: color var(--duration-normal) ease;
  letter-spacing: -0.02em;
}

.nav--scrolled .nav__logo {
  color: var(--charcoal);
}

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

.nav__link {
  font-size: var(--text-overline);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.85);
  transition: color var(--duration-fast) ease;
}

.nav__link:hover {
  color: var(--cream);
}

.nav--scrolled .nav__link {
  color: var(--warm-gray);
}

.nav--scrolled .nav__link:hover {
  color: var(--charcoal);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: var(--copper);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--text-overline);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: background-color var(--duration-fast) ease,
              transform var(--duration-fast) ease;
}

.nav__cta:hover {
  background: var(--copper-deep);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 110;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: transform var(--duration-normal) ease,
              opacity var(--duration-fast) ease;
}

.nav--scrolled .nav__toggle span {
  background: var(--charcoal);
}

.nav__toggle.active span {
  background: var(--charcoal);
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal) ease,
              visibility var(--duration-normal) ease;
}

.nav__mobile.active {
  opacity: 1;
  visibility: visible;
}

.nav__mobile .nav__link {
  font-size: var(--text-xl);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.nav__mobile .nav__link:hover {
  color: var(--copper);
}

.nav__mobile .nav__cta {
  font-size: var(--text-base);
  padding: 14px 32px;
  margin-top: var(--space-4);
}


/* ==================
   BUTTONS
   ================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 12px 32px;
  font-family: var(--font-body);
  font-size: var(--text-overline);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all var(--duration-fast) ease;
  cursor: pointer;
}

.btn--primary {
  background: var(--copper);
  color: var(--cream);
  border: 2px solid var(--copper);
}

.btn--primary:hover {
  background: var(--copper-deep);
  border-color: var(--copper-deep);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(245, 240, 235, 0.4);
}

.btn--ghost:hover {
  border-color: var(--cream);
  color: var(--cream);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid rgba(28, 25, 23, 0.2);
}

.btn--ghost-dark:hover {
  border-color: var(--copper);
  color: var(--copper);
}

.btn--large {
  min-height: 56px;
  padding: 16px 40px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}


/* ==================
   HERO
   ================== */

/* Hero — full-bleed background, text left-aligned */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--van-gray);
  z-index: 0;
}

.hero__bg img,
.hero__bg .photo-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    var(--topo-dark),
    linear-gradient(
      to right,
      rgba(41, 37, 36, 0.88) 0%,
      rgba(41, 37, 36, 0.7) 35%,
      rgba(41, 37, 36, 0.25) 60%,
      rgba(41, 37, 36, 0.1) 100%
    );
  background-size: 600px 600px, 100% 100%;
  background-repeat: repeat, no-repeat;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 550px;
  padding: var(--side-pad);
  padding-left: clamp(2rem, 6vw, 6rem);
}

.hero__name {
  color: var(--cream);
  margin-bottom: var(--space-2);
  font-variation-settings: 'opsz' 144;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  font-style: italic;
  color: var(--copper);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: rgba(245, 240, 235, 0.8);
  margin-bottom: var(--space-6);
  max-width: 45ch;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(245, 240, 235, 0.4);
  font-size: var(--text-overline);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(245, 240, 235, 0.3);
  border-bottom: 2px solid rgba(245, 240, 235, 0.3);
  transform: rotate(45deg);
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(5px); }
}


/* ==================
   TOPO DIVIDER
   ================== */

.section-divider {
  padding: var(--space-6) 0;
  display: flex;
  justify-content: center;
}

.section-divider__line {
  width: min(200px, 40vw);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-divider__line::before,
.section-divider__line::after {
  content: '';
  height: 1px;
  background: var(--copper);
  opacity: 0.25;
}

.dark-section .section-divider__line::before,
.dark-section .section-divider__line::after {
  background: var(--cream);
  opacity: 0.12;
}


/* ==================
   STORY SECTION
   ================== */

/* Story — scrolling photo wall background + foreground content */
.story {
  position: relative;
  overflow: hidden;
  background: var(--van-gray);
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.collage {
  position: absolute;
  inset: -40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  z-index: 0;
  overflow: hidden;
}

.collage__row {
  overflow: hidden;
  width: calc(100% + 80px);
  margin-left: -40px;
}

.collage__row--offset {
  margin-left: -120px;
}

.collage__strip {
  display: flex;
  gap: 6px;
  width: max-content;
  animation: collage-drift 120s linear infinite;
}

.collage__strip img {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
  opacity: 0.5;
}

.collage__strip img.collage__wide {
  width: 300px;
}

.collage__strip img.collage__tall {
  height: 290px;
}

@keyframes collage-drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.story__overlay {
  position: absolute;
  inset: 0;
  background: rgba(41, 37, 36, 0.7);
  z-index: 1;
}

.story__foreground {
  position: relative;
  z-index: 2;
  width: 100%;
}

.story__layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-8);
  align-items: center;
}

.story__hero-photo {
  width: clamp(250px, 25vw, 350px);
}

.story__hero-photo .photo-placeholder,
.story__hero-photo img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.story__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  color: var(--cream);
}

.story__text h2 {
  color: var(--cream);
}

.story__text p {
  color: rgba(245, 240, 235, 0.75);
  font-size: var(--text-lg);
  line-height: 1.7;
}


/* ==================
   FEATURE SECTIONS
   ================== */

.feature {
  background: var(--cream);
  overflow: hidden;
}

.feature--alt {
  background: var(--sand);
}

.feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.feature__grid--reverse {
  direction: rtl;
}

.feature__grid--reverse > * {
  direction: ltr;
}

.feature__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.feature__text p {
  color: var(--warm-gray);
  font-size: var(--text-lg);
  line-height: 1.7;
}

.feature__highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.feature__highlight {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  font-size: var(--text-base);
  color: var(--charcoal);
}

.feature__highlight::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 2px;
  background: var(--copper);
  margin-top: 0.7em;
}

.feature__photos {
  display: grid;
  gap: var(--space-3);
}

.feature__photos--duo {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
}

.feature__photos--duo .photo-placeholder:first-child {
  aspect-ratio: 16 / 10;
}

.feature__photos--duo .photo-placeholder:last-child {
  aspect-ratio: 16 / 9;
}

.feature__photos--trio {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}

.feature__photos--trio .photo-placeholder:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

.feature__photos--trio .photo-placeholder:nth-child(2),
.feature__photos--trio .photo-placeholder:nth-child(3) {
  aspect-ratio: 1 / 1;
}

/* Gallery grid — editorial hierarchy for 6-10 photos per feature */
.feature__photos--gallery {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: var(--space-2);
}

.feature__photos--gallery .photo-placeholder,
.feature__photos--gallery img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.feature__photos--gallery .photo-placeholder:hover,
.feature__photos--gallery img:hover {
  transform: scale(1.02);
}

/* Hero photo spans full width, taller */
.feature__photos--gallery .fp--hero {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

/* Second row: one wider, two small */
.feature__photos--gallery .photo-placeholder:nth-child(2) {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}

/* Remaining photos fill 3-column grid naturally */


/* ==================
   SPECS SECTION
   ================== */

.specs {
  background-color: var(--sand);
  background-image: var(--topo-copper-bold);
  background-size: 600px 600px;
  background-repeat: repeat;
}

.specs__header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.specs__header h2 {
  margin-top: var(--space-3);
}

.specs__categories {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.specs__category-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--space-4);
}

.specs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.spec-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  transition: border-color var(--duration-fast) ease,
              transform var(--duration-fast) ease;
}

.spec-card:hover {
  border-color: rgba(28, 25, 23, 0.15);
  transform: translateY(-2px);
}

.spec-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--copper-light);
  border-radius: 8px;
  color: var(--copper);
}

.spec-card__icon svg {
  width: 20px;
  height: 20px;
}

.spec-card__label {
  font-size: var(--text-overline);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 2px;
}

.spec-card__value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}


/* ==================
   LOVE MARKS
   ================== */

.lovemarks {
  background-color: var(--cream);
}

.lovemarks__header {
  text-align: center;
  margin-bottom: var(--space-6);
}

.lovemarks__header h2 {
  margin-top: var(--space-3);
}

.lovemarks__header p {
  margin: var(--space-3) auto 0;
  color: var(--warm-gray);
  font-size: var(--text-lg);
}

.lovemarks__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  max-width: 900px;
  margin: 0 auto;
}

.lovemark {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
}

.lovemark__icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--copper);
  line-height: 1;
  margin-top: 2px;
}

.lovemark p {
  color: var(--warm-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}


/* ==================
   HERO PRICE
   ================== */

.hero__price {
  display: block;
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--cream);
}


/* ==================
   INQUIRE PRICE
   ================== */

.inquire__price {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--copper);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  max-width: none;
}


/* ==================
   ADVENTURE GALLERY
   ================== */

.adventures {
  background: var(--cream);
}

.adventures__header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.adventures__header h2 {
  margin-top: var(--space-3);
}

.adventures__header p {
  margin: var(--space-3) auto 0;
  color: var(--warm-gray);
  font-size: var(--text-lg);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: var(--space-3);
}

.gallery__item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery__item:hover .photo-placeholder,
.gallery__item:hover img {
  transform: scale(1.03);
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item .photo-placeholder,
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}


/* ==================
   VIDEO SECTION
   ================== */

.video-section {
  background-color: var(--sand);
  background-image: var(--topo-light);
  background-size: 600px 600px;
  background-repeat: repeat;
}

.video-section__header {
  text-align: center;
  margin-bottom: var(--space-6);
}

.video-section__header h2 {
  margin-top: var(--space-3);
}

.video-section__header p {
  margin: var(--space-3) auto 0;
  color: var(--warm-gray);
  font-size: var(--text-lg);
}

.video-embed {
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: var(--van-gray);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-embed__placeholder {
  text-align: center;
  color: rgba(245, 240, 235, 0.5);
}

.video-embed__placeholder svg {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-3);
  opacity: 0.4;
}

.video-embed__placeholder p {
  font-size: var(--text-overline);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  max-width: none;
}


/* ==================
   INQUIRE / CONTACT
   ================== */

.inquire {
  background-color: var(--van-gray);
  background-image: var(--topo-dark);
  background-size: 600px 600px;
  background-repeat: repeat;
  text-align: center;
}

.inquire__content {
  max-width: 600px;
  margin: 0 auto;
}

.inquire h2 {
  margin-top: var(--space-3);
  margin-bottom: var(--space-4);
}

.inquire p {
  margin: 0 auto var(--space-6);
  font-size: var(--text-lg);
  line-height: 1.7;
  max-width: 50ch;
}

.inquire__email {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--copper);
  letter-spacing: -0.01em;
  transition: color var(--duration-fast) ease;
  display: inline-block;
  margin-bottom: var(--space-6);
}

.inquire__email:hover {
  color: var(--cream);
}

.inquire p.inquire__note {
  font-size: 0.875rem;
  color: #A8A29E;
  margin: var(--space-8) auto 0;
  max-width: 45ch;
}


/* ==================
   FOOTER
   ================== */

.footer {
  background-color: #1C1917;
  background-image: var(--topo-dark);
  background-size: 600px 600px;
  background-repeat: repeat;
  padding: var(--space-7) 0 var(--space-5);
  text-align: center;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}

.footer__link {
  font-size: var(--text-overline);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A8A29E;
  transition: color var(--duration-fast) ease;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 var(--space-1);
}

.footer__link:hover {
  color: var(--cream);
}

.footer__divider {
  width: 60px;
  height: 1px;
  background: rgba(245, 240, 235, 0.1);
  margin: 0 auto var(--space-5);
}

.footer__legal {
  font-size: 0.8rem;
  color: #A8A29E;
  margin-bottom: var(--space-2);
  max-width: none;
}

.footer__credit {
  font-size: 0.75rem;
  color: #8C8279;
  max-width: none;
}

.footer__credit a {
  color: #A8A29E;
  transition: color var(--duration-fast) ease;
}

.footer__credit a:hover {
  color: var(--copper);
}


/* ==================
   PHOTO PLACEHOLDERS
   ================== */

.photo-placeholder {
  background: linear-gradient(135deg, #D6CFC7 0%, #C4BBB1 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  color: #8C8279;
  padding: var(--space-4);
  overflow: hidden;
  position: relative;
}

.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 20px,
      rgba(140, 130, 121, 0.08) 20px,
      rgba(140, 130, 121, 0.08) 21px
    );
  pointer-events: none;
}

.photo-placeholder__icon {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

.photo-placeholder__label {
  font-size: var(--text-overline);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
  text-align: center;
}


/* ==================
   MISSING CONTENT MARKERS
   ================== */

.missing {
  color: #C2702A;
  font-weight: 600;
  font-size: 0.85em;
  background: rgba(194, 112, 42, 0.1);
  padding: 2px 8px;
  border-radius: 3px;
  border: 1px dashed rgba(194, 112, 42, 0.3);
}


/* ==================
   LIGHTBOX
   ================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(28, 25, 23, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal) ease,
              visibility var(--duration-normal) ease;
  cursor: pointer;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--duration-fast) ease;
}

.lightbox__close:hover {
  opacity: 1;
}


/* ==================
   SCROLL REVEALS
   ================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-reveal) var(--ease-out-expo),
              transform var(--duration-reveal) var(--ease-out-expo);
  transition-delay: calc(var(--reveal-i, 0) * 80ms);
}

.reveal--slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--duration-reveal) var(--ease-out-expo),
              transform var(--duration-reveal) var(--ease-out-expo);
  transition-delay: calc(var(--reveal-i, 0) * 80ms);
}

.reveal--slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--duration-reveal) var(--ease-out-expo),
              transform var(--duration-reveal) var(--ease-out-expo);
  transition-delay: calc(var(--reveal-i, 0) * 80ms);
}

.reveal--fade {
  opacity: 0;
  transition: opacity var(--duration-reveal) var(--ease-out-expo);
  transition-delay: calc(var(--reveal-i, 0) * 80ms);
}

.reveal.visible,
.reveal--slide-right.visible,
.reveal--slide-left.visible,
.reveal--fade.visible {
  opacity: 1;
  transform: none;
}


/* ==================
   FOCUS STYLES
   ================== */

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.dark-section :focus-visible {
  outline-color: var(--copper);
}


/* ==================
   REDUCED MOTION
   ================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal--slide-right,
  .reveal--slide-left,
  .reveal--fade {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}


/* ==================
   RESPONSIVE
   ================== */

@media (max-width: 1024px) {
  /* Hero — single column, ENC pattern */
  .hero {
    min-height: 0;
    flex-direction: column;
    background: var(--van-gray);
  }

  .hero__bg {
    position: relative;
    height: 40vh;
    flex-shrink: 0;
    width: 100%;
  }

  .hero__bg img,
  .hero__bg .photo-placeholder {
    opacity: 1;
  }

  .hero__bg::after {
    background: linear-gradient(
      to top,
      var(--van-gray) 0%,
      rgba(41, 37, 36, 0.5) 35%,
      transparent 65%
    );
    background-size: 100% 100%;
  }

  .hero__content {
    position: relative;
    max-width: none;
    padding: 0 var(--side-pad) var(--space-6);
    background-image: var(--topo-dark);
    background-size: 600px 600px;
    background-repeat: repeat;
  }

  .hero__name {
    margin-top: -3rem;
    position: relative;
    z-index: 2;
    font-variation-settings: 'opsz' 72;
  }

  .hero__scroll {
    display: none;
  }

  .specs__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-auto-rows: 220px;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__mobile {
    display: flex;
  }

  /* Story — stack photo above text on mobile */
  .story__layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    text-align: center;
  }

  .story__hero-photo {
    width: 60%;
    margin: 0 auto;
  }

  .story__text p {
    max-width: 50ch;
    margin-left: auto;
    margin-right: auto;
  }

  .collage__strip img {
    width: 140px;
    height: 105px;
  }

  .collage__strip img.collage__wide {
    width: 210px;
  }

  .feature__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .feature__grid--reverse {
    direction: ltr;
  }

  .feature__photos {
    order: 1;
  }

  .feature__photos--gallery {
    grid-template-columns: 1fr 1fr;
  }

  .feature__photos--gallery .fp--hero {
    grid-column: 1 / -1;
  }

  .feature__photos--gallery .photo-placeholder:nth-child(2) {
    grid-column: span 1;
  }

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

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .gallery__item--wide {
    grid-column: span 1;
  }

  .gallery__item--tall {
    grid-row: span 1;
  }

  .inquire__email {
    font-size: var(--text-xl);
  }

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

  .footer__links {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }
}
