/* ============================================================
   Copper Creek — Volume I, No. 04
   Editorial estate-guide. A monograph about a place.
   ============================================================ */

:root {
  /* Brand tokens — locked to social system */
  --corten: #A0522D;
  --corten-deep: #8B4513;
  --copper-warm: #B87333;
  --cream: #F0EAD6;
  --cream-warm: #EDE5CC;
  --cream-paper: #F4EFDD;
  --black: #1A1A1A;
  --black-ink: #14110E;
  --limestone: #D4C9B0;
  --stone-100: #EBE5D6;
  --stone-300: #C7BCA8;
  --stone-500: #8A8273;
  --stone-700: #4A4339;

  --font-serif: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --font-sans: 'Inter', -apple-system, system-ui, sans-serif;

  --max: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --rule: 1px;

  /* Anim */
  --ease-out: cubic-bezier(0.2, 0.65, 0.18, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--black-ink);
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.55;
  font-feature-settings: "kern", "liga", "calt", "onum";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

::selection { background: var(--corten); color: var(--cream); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; padding: 0; }

/* ── Type system ─────────────────────────────────────────────── */

.caps {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--corten);
}

.caps-stone {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone-500);
}

.roman {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--corten);
  letter-spacing: -0.02em;
}

.italic { font-style: italic; }

.copper-em { color: var(--corten); font-style: italic; font-weight: 600; }

em { color: var(--corten); font-style: italic; font-weight: 600; }

/* Drop cap */
.dropcap {
  float: left;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 5.2em;
  line-height: 0.88;
  color: var(--corten);
  margin: 0.08em 0.08em 0 -0.06em;
  padding-top: 0.04em;
}

/* ── Masthead nav ────────────────────────────────────────────── */

.masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  background: rgba(244, 239, 221, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(160, 82, 45, 0.12);
}

.masthead-l { display: flex; align-items: baseline; gap: 1rem; }

.masthead-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--corten);
  letter-spacing: -0.01em;
}

.masthead-issue {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone-500);
}

@media (max-width: 640px) { .masthead-issue { display: none; } }

.masthead-r {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.masthead-link {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone-700);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.25s var(--ease-out);
}

.masthead-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.25rem;
  height: 1px;
  background: var(--corten);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-out);
}

.masthead-link:hover { color: var(--corten); }
.masthead-link:hover::after { transform: scaleX(1); }

@media (max-width: 768px) {
  .masthead-link:not(.masthead-cta) { display: none; }
}

.masthead-cta {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--corten);
  color: var(--corten);
  letter-spacing: 0.22em;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.masthead-cta:hover {
  background: var(--corten);
  color: var(--cream);
}

.masthead-cta::after { display: none; }

/* ── Hero — the cover ────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.0) 50%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 8rem var(--gutter) 6rem;
  color: var(--cream);
}

.hero-coord {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.78;
  margin-bottom: clamp(2rem, 6vw, 4rem);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hero-coord::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--cream);
  opacity: 0.7;
}

.hero-display {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--cream);
  max-width: 14ch;
}

.hero-display .line { display: block; }
/* Desktop asymmetric indent on the middle line — drops to 0 on mobile so the headline reads aligned */
@media (min-width: 900px) {
  .hero-display .line:nth-child(2) { margin-left: clamp(1.5rem, 6vw, 5rem); }
}
.hero-display em {
  color: var(--cream);
  font-style: italic;
  position: relative;
}
.hero-display em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4%;
  height: 3px;
  background: var(--copper-warm);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  animation: hero-underline 1.4s var(--ease-out) 1.4s forwards;
  border-radius: 1px;
}

@keyframes hero-underline {
  0% { opacity: 0; transform: scaleX(0); }
  100% { opacity: 0.9; transform: scaleX(1); }
}

.hero-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.55;
  max-width: 38ch;
  margin: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem);
  opacity: 0.92;
  color: var(--cream);
}

.hero-cta { display: flex; align-items: center; gap: 1.25rem; }

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 0;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream);
  border-bottom: 1px solid var(--cream);
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), gap 0.4s var(--ease-out);
}

.btn-line::after {
  content: "→";
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0;
  transition: transform 0.4s var(--ease-out);
}

.btn-line:hover { color: var(--corten); border-color: var(--corten); gap: 1.2rem; }
.btn-line:hover::after { transform: translateX(4px); }

.btn-line-dark {
  color: var(--black-ink);
  border-bottom-color: var(--black-ink);
}
.btn-line-dark:hover { color: var(--corten); border-color: var(--corten); }

.hero-volume {
  position: absolute;
  top: 50%;
  right: var(--gutter);
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.55;
  z-index: 3;
  white-space: nowrap;
}

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

/* Mobile-only volume label — sits below the coord line so the publication mark survives on small screens */
.hero-volume-mobile {
  display: none;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.55;
  margin-bottom: clamp(2rem, 6vw, 3rem);
  margin-top: -1.5rem;
}

@media (max-width: 768px) { .hero-volume-mobile { display: block; } }

.hero-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.55;
  text-align: center;
}

.hero-cue::before {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  background: var(--cream);
  margin: 0 auto 0.85rem;
  opacity: 0.45;
  animation: cue 2.4s var(--ease-in-out) infinite;
}

@keyframes cue {
  0%, 100% { transform: scaleY(0.4); opacity: 0.25; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 0.7; }
}

/* Hero entrance — staggered reveal */
.hero-coord { opacity: 0; animation: hero-rise 1.1s var(--ease-out) 0.1s both; }
.hero-display .line { opacity: 0; animation: hero-rise 1.2s var(--ease-out) both; }
.hero-display .line:nth-child(1) { animation-delay: 0.25s; }
.hero-display .line:nth-child(2) { animation-delay: 0.4s; }
.hero-display .line:nth-child(3) { animation-delay: 0.55s; }
.hero-sub { opacity: 0; animation: hero-rise 1.1s var(--ease-out) 0.85s both; }
.hero-cta { opacity: 0; animation: hero-rise 1.1s var(--ease-out) 1.0s both; }
.hero-volume, .hero-cue { opacity: 0; animation: hero-fade 1.4s var(--ease-out) 1.3s both; }

@keyframes hero-rise {
  0% { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes hero-fade {
  from { opacity: 0; }
  to { opacity: 0.55; }
}

/* Restore coord opacity post-animation */
.hero-coord { animation: hero-coord-rise 1.1s var(--ease-out) 0.1s both; }
@keyframes hero-coord-rise {
  0% { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  100% { opacity: 0.78; transform: translateY(0); filter: blur(0); }
}

/* ── Subtle scroll-triggered shift (no fade from invisible — used sparingly) ── */

.reveal {
  transform: translateY(10px);
  transition: transform 0.9s var(--ease-out);
}

.reveal.in-view { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { transform: none; }
}

/* ── Chapter section ─────────────────────────────────────────── */

.chapter {
  position: relative;
  padding: clamp(5rem, 12vw, 9rem) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}

.chapter-head {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
  max-width: 18ch;
  color: var(--black-ink);
}

.chapter-head em { color: var(--corten); }

.chapter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 900px) {
  .chapter-grid.split { grid-template-columns: 7fr 5fr; }
  .chapter-grid.split-r { grid-template-columns: 5fr 7fr; }
}

.prose {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.65;
  color: var(--stone-700);
  max-width: 60ch;
}

.prose p { margin: 0 0 1.25rem; }
.prose p:last-child { margin-bottom: 0; }
.prose em { color: var(--corten); font-style: italic; }

.margin-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.55;
  color: var(--corten);
  padding-left: 1rem;
  border-left: 1px solid var(--corten);
  max-width: 28ch;
}

.margin-note .caps {
  display: block;
  font-style: normal;
  margin-bottom: 0.55rem;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--stone-500);
}

/* ── Figure (comparison table styled like a journal plate) ───── */

.figure {
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-top: 1px solid rgba(160, 82, 45, 0.35);
  border-bottom: 1px solid rgba(160, 82, 45, 0.35);
}

.figure-caption {
  position: absolute;
  top: -0.65rem;
  left: 0;
  background: var(--cream);
  padding: 0 0.85rem 0 0;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--corten);
}

.figure-caption em {
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--corten);
  font-weight: 500;
}

.figure-foot {
  position: absolute;
  bottom: -0.6rem;
  right: 0;
  background: var(--cream);
  padding: 0 0 0 0.85rem;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone-500);
}

.comparison {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0;
}

.comp-row { display: contents; }

.comp-cell {
  padding: 1.2rem 1rem;
  border-bottom: 1px dashed rgba(160, 82, 45, 0.2);
}

.comp-row:last-child .comp-cell { border-bottom: none; }

.comp-cell.label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone-500);
  display: flex;
  align-items: center;
}

.comp-cell.value {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
  color: var(--black-ink);
}

.comp-cell.value.featured {
  font-style: italic;
  color: var(--corten);
  font-weight: 600;
}

.comp-cell.header {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone-500);
  border-bottom: 1px solid rgba(160, 82, 45, 0.35);
}

.comp-cell.header.featured { color: var(--corten); }

.verify {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-left: 0.45rem;
  vertical-align: middle;
  opacity: 0.7;
}

@media (max-width: 640px) {
  .comparison { grid-template-columns: 1fr 1fr; }
  .comp-cell.label { grid-column: 1 / -1; padding-bottom: 0.4rem; border-bottom-color: transparent; }
  .comp-cell.value { padding-top: 0.2rem; }
  .comp-cell.header { display: none; }
}

/* ── Plates (gallery as numbered plates) ─────────────────────── */

.plates {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 720px) { .plates { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .plates { grid-template-columns: 1fr 1fr 1fr; } }

.plate {
  margin: 0;
  position: relative;
}

.plate-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--stone-100);
}

.plate-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 1.6s var(--ease-out), filter 0.7s var(--ease-out);
}

.plate:hover .plate-img { transform: scale(1.04); filter: brightness(1.04); }

.plate-stamp {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.7rem;
  background: rgba(244, 239, 221, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--corten);
}

.plate-stamp::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--corten);
  border-radius: 50%;
}

.plate-caption {
  margin-top: 0.85rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: var(--stone-700);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.plate-caption .plate-num {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--corten);
  font-style: normal;
  flex-shrink: 0;
}

.plate-caption .plate-num::after {
  content: " · ";
  color: var(--stone-300);
}

/* The featured plate — gets dramatic treatment.
   On desktop: spans 2 columns, taller aspect.
   On mobile: a single-image moment with bigger caption + amplified copper accent. */
@media (min-width: 1100px) {
  .plate.featured {
    grid-column: span 2;
    grid-row: span 2;
  }
  .plate.featured .plate-img { aspect-ratio: 4/5; }
  .plate.featured .plate-caption {
    font-size: 22px;
    margin-top: 1.25rem;
  }
  .plate.featured .plate-caption em {
    color: var(--corten);
    font-weight: 500;
  }
}

@media (max-width: 1099px) {
  .plate.featured .plate-stamp {
    background: rgba(160, 82, 45, 0.94);
    color: var(--cream);
  }
  .plate.featured .plate-stamp::before { background: var(--cream); }
  .plate.featured .plate-caption {
    font-size: 18px;
    color: var(--black-ink);
  }
}

/* ── Pull quote (magazine spread) ─────────────────────────────── */

.pull-quote {
  position: relative;
  padding: clamp(6rem, 14vw, 10rem) var(--gutter);
  background: var(--cream-warm);
  overflow: hidden;
}

.pull-quote::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 1px; height: 64px;
  background: var(--corten);
  opacity: 0.5;
}

.pull-quote-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.pull-mark {
  position: absolute;
  top: -2.4rem;
  left: -0.8rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(180px, 28vw, 360px);
  line-height: 0.6;
  color: var(--corten);
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 768px) {
  .pull-mark {
    font-size: 220px;
    top: -1rem;
    left: -0.2rem;
    opacity: 0.32;
  }
}

.pull-body {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 5.5vw, 76px);
  line-height: 1.1;
  letter-spacing: -0.012em;
  margin: 0;
  color: var(--black-ink);
}

.pull-body em { color: var(--corten); font-style: italic; font-weight: 600; }

.pull-attr {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--corten);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pull-attr::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--corten);
}

/* ── Map ─────────────────────────────────────────────────────── */

.map-block {
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid rgba(160, 82, 45, 0.25);
  background: var(--cream-paper);
  aspect-ratio: 16/9;
  overflow: hidden;
}

.map-block iframe { width: 100%; height: 100%; border: 0; }

.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--stone-500);
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(160, 82, 45, 0.06) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(160, 82, 45, 0.06) 39px 40px),
    var(--cream-paper);
}

.compass {
  width: 64px;
  height: 64px;
  color: var(--corten);
  opacity: 0.7;
}

/* ── Manifesto (black full-bleed) ────────────────────────────── */

.manifesto {
  position: relative;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  background: var(--black-ink);
  color: var(--cream);
  padding: clamp(5rem, 12vw, 8rem) var(--gutter);
  text-align: center;
  overflow: hidden;
}

.manifesto-body {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4.5vw, 56px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  margin: 0 auto;
  max-width: 22ch;
}

.manifesto-body em { color: var(--copper-warm); font-style: italic; font-weight: 600; }

/* ── Visit / form (tear-out card) ────────────────────────────── */

.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 1024px) { .visit-grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 5vw, 5rem); } }

.visit-intro h2 { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.visit-intro p { margin: 0 0 1.5rem; }

.visit-meta {
  margin-top: 2rem;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--stone-500);
}

.visit-meta a {
  color: var(--corten);
  border-bottom: 1px solid var(--corten);
  font-weight: 600;
}

.tear-card {
  position: relative;
  background: var(--cream-paper);
  border: 1px solid rgba(160, 82, 45, 0.3);
  padding: 0;
}

/* Desktop: perforation marks down the left edge (looks like a tear-out card).
   Mobile: replaced with a single solid copper accent bar on the top — the
   perforation pattern was invisible at narrow widths anyway. */
@media (min-width: 768px) {
  .tear-card::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: -1px;
    width: 14px;
    background:
      radial-gradient(circle at 7px 50%, var(--cream) 3px, transparent 3.5px) 0 0 / 14px 22px;
    z-index: 1;
  }
}

@media (max-width: 768px) {
  .tear-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--corten);
  }
}

.tear-card-inner { padding: clamp(2.25rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 3rem); }

.tear-card-head {
  padding-bottom: 1.25rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid rgba(160, 82, 45, 0.3);
}

.tear-card-head .title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 3.2vw, 32px);
  color: var(--black-ink);
  line-height: 1;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field { margin-bottom: 1.5rem; }

.field-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 0.5rem;
}

.field-label .opt {
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--stone-500);
  opacity: 0.7;
  font-family: var(--font-serif);
  font-style: italic;
  margin-left: 0.5rem;
}

.input, textarea {
  width: 100%;
  padding: 0.7rem 0;
  border: none;
  border-bottom: 1px solid rgba(160, 82, 45, 0.4);
  background: transparent;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--black-ink);
  transition: border-color 0.25s var(--ease-out);
}

.input::placeholder, textarea::placeholder {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--stone-500);
  opacity: 0.6;
}

.input:focus, textarea:focus {
  outline: none;
  border-bottom-color: var(--corten);
}

textarea { resize: none; line-height: 1.5; }

.consent {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin: 2rem 0 1.5rem;
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.6;
  color: var(--stone-500);
  font-style: italic;
}

.consent input[type="checkbox"] {
  margin-top: 0.3rem;
  accent-color: var(--corten);
  flex-shrink: 0;
}

.consent a { color: var(--corten); border-bottom: 1px solid var(--corten); }

.submit-row { border-top: 1px solid rgba(160, 82, 45, 0.3); padding-top: 1.75rem; margin-top: 0.5rem; }

.btn-submit {
  display: block;
  width: 100%;
  padding: 1.1rem 1.5rem;
  background: var(--corten);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background 0.3s var(--ease-out);
}

.btn-submit:hover { background: var(--corten-deep); }
.btn-submit:active { transform: scale(0.99); }

.alt-row {
  text-align: center;
  margin-top: 1.25rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--stone-500);
}

.alt-row a {
  color: var(--corten);
  font-weight: 600;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-left: 0.4rem;
}

.honeypot { position: absolute; left: -9999px; height: 1px; width: 1px; overflow: hidden; }

.form-success {
  display: none;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(160, 82, 45, 0.3);
  margin-top: 1.5rem;
}

.form-success.show { display: block; }

.form-success h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 28px;
  margin: 0 0 0.5rem;
  color: var(--corten);
}

.form-success p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--stone-700);
  margin: 0;
}

/* ── Soft capture (a quieter note) ───────────────────────────── */

.quieter {
  position: relative;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  padding: clamp(4rem, 9vw, 6rem) var(--gutter);
  background: var(--cream-warm);
  text-align: center;
  overflow: hidden;
}

.quieter-body {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3.5vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 auto;
  max-width: 28ch;
  color: var(--black-ink);
}

.quieter-body em { color: var(--corten); font-weight: 600; }

.quieter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  flex-wrap: wrap;
  justify-content: center;
}

.quieter-form input {
  flex: 1 1 240px;
  padding: 0.9rem 0;
  border: none;
  border-bottom: 1px solid var(--corten);
  background: transparent;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--black-ink);
  text-align: center;
}

.quieter-form input::placeholder {
  color: var(--stone-500);
  opacity: 0.7;
  font-style: italic;
}

.quieter-form input:focus { outline: none; border-bottom-color: var(--corten-deep); }

.quieter-form button {
  flex: 0 0 auto;
  padding: 0.85rem 1.75rem;
  background: transparent;
  color: var(--corten);
  border: 1px solid var(--corten);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.quieter-form button:hover { background: var(--corten); color: var(--cream); }

.quieter-success { display: none; max-width: 480px; margin: 2rem auto 0; }
.quieter-success.show { display: block; }
.quieter-success h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--corten);
  margin: 0 0 0.5rem;
}
.quieter-success p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--stone-700);
  margin: 0;
}

/* ── Colophon footer ─────────────────────────────────────────── */

.colophon {
  position: relative;
  background: var(--black-ink);
  color: var(--cream);
  padding: clamp(4rem, 8vw, 6rem) var(--gutter) clamp(2rem, 4vw, 3rem);
}

.colophon::before {
  content: "";
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--max);
  height: 1px;
  background: rgba(184, 115, 51, 0.4);
}

.colophon-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 900px) {
  .colophon-inner { grid-template-columns: 2.5fr 1fr 1fr; gap: 3rem; }
}

.colophon-mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(40px, 5vw, 56px);
  color: var(--copper-warm);
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  display: block;
  line-height: 1;
}

.colophon-bio {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(240, 234, 214, 0.7);
  max-width: 38ch;
  margin: 0;
}

.colophon h4 {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--copper-warm);
  margin: 0 0 1.25rem;
}

.colophon ul { list-style: none; padding: 0; margin: 0; }

.colophon li {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(240, 234, 214, 0.85);
}

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

.colophon-legal {
  max-width: var(--max);
  margin: clamp(3rem, 5vw, 4rem) auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(240, 234, 214, 0.45);
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE NATIVE — ≤ 640px
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 640px) {

  /* 1 — Hero: show a peek of the next section to cue scrolling */
  .hero { min-height: 90dvh; }
  /* Hide the animated scroll cue — wastes space at this height */
  .hero-cue { display: none; }
  /* Headline: scale down so "where every home" fits on one line without orphaning "home" */
  .hero-display { font-size: clamp(38px, 10.5vw, 56px); }

  /* 2 — Section padding: breathe less, scroll less */
  .chapter {
    padding-top: clamp(3rem, 10vw, 4.5rem);
    padding-bottom: clamp(3rem, 10vw, 4.5rem);
  }
  .pull-quote  { padding-top: 3.5rem; padding-bottom: 4rem; }
  .manifesto   { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .quieter     { padding-top: 3rem;   padding-bottom: 3.5rem; }

  /* 3 — Masthead CTA: enforce 44px tap target */
  .masthead-cta {
    padding: 0.75rem 1.1rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* 4 — Gallery: horizontal swipe carousel instead of tall single-column stack */
  .plates {
    display: flex;
    flex-direction: row;
    gap: 0.85rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Pull out to full bleed so first card sits at the gutter and the next peeks */
    margin-left:  calc(-1 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
    padding-left:  var(--gutter);
    padding-right: var(--gutter);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    scroll-padding-left: var(--gutter);
  }
  .plates::-webkit-scrollbar { display: none; }

  /* Each card: 82vw keeps ~10% of next card visible — natural swipe cue */
  .plate        { flex: 0 0 82vw; scroll-snap-align: start; scroll-snap-stop: always; }
  .plate.featured { flex: 0 0 86vw; }

  /* Trailing spacer so last card can snap fully into view */
  .plates::after {
    content: "";
    flex: 0 0 calc(var(--gutter) - 0.85rem);
    display: block;
  }

  /* Portrait aspect on all plates in carousel */
  .plate-img { aspect-ratio: 3/4; }

  /* Swipe hint label beneath the carousel */
  .plates-hint {
    display: block;
    margin-top: 0.75rem;
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--stone-500);
    text-align: center;
  }

  /* 5 — Comparison table: restore column context without the header row */
  .comp-cell.value.featured::before {
    content: "COPPER CREEK";
    display: block;
    font-family: var(--font-sans);
    font-size: 8px;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--corten);
    opacity: 0.8;
    margin-bottom: 0.3rem;
  }
  .comp-cell.value:not(.featured)::before {
    content: "LANTANA";
    display: block;
    font-family: var(--font-sans);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--stone-500);
    opacity: 0.75;
    margin-bottom: 0.3rem;
  }

  /* 6 — Form inputs: 16px prevents iOS auto-zoom on focus */
  .input, textarea { font-size: 16px; padding: 0.95rem 0; }

  /* 7 — Soft capture: stack email + button vertically, full-width button */
  .quieter-form {
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
    gap: 0.85rem;
  }
  .quieter-form input {
    text-align: left;
    flex: none;
    padding: 0.9rem 0;
    font-size: 16px;
  }
  .quieter-form button {
    width: 100%;
    padding: 1rem;
    min-height: 44px;
  }

  /* 8 — Footer: tighter gap on single-column stack */
  .colophon-inner { gap: 2.25rem; }

  /* 9 — Map: taller on mobile for legibility */
  .map-block { aspect-ratio: 4/3; }
}

