/* ==========================================================================
   Elite House Removals — custom styles
   Direction: "the night move" — asphalt black, logo maroon, warm paper,
   one amber micro-accent drawn from the OVERSIZE plates on the trucks.
   Type: Barlow Condensed (display, highway-signage DNA) / Barlow (body)
         / Lora italic (the story voice).
   ========================================================================== */

:root {
  --ink: #16110f;
  --coal: #221b18;
  --coal-soft: #2c2420;
  --maroon: #6e1420;
  --maroon-bright: #8e1e2d;
  --paper: #f6f2eb;
  --paper-deep: #ece5d9;
  --stone: #8e857b;
  --stone-dark: #5f574e;
  --line: rgba(22, 17, 15, 0.14);
  --line-light: rgba(246, 242, 235, 0.18);
  --amber: #e5a63c;
  --white: #fdfcfa;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', -apple-system, 'Helvetica Neue', sans-serif;
  --font-serif: 'Lora', Georgia, serif;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
}

/* --- Base ------------------------------------------------------------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; }

h1, h2, h3, h4 { margin: 0; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  width: min(1200px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.container--wide { width: min(1400px, 100% - 2 * var(--gutter)); }

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

::selection { background: var(--maroon); color: var(--white); }

/* --- Type roles -------------------------------------------------------- */

.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.94;
}

.display--hero { font-size: clamp(3.4rem, 11vw, 8.5rem); }
.display--xl   { font-size: clamp(2.6rem, 6.5vw, 4.75rem); }
.display--lg   { font-size: clamp(2rem, 4.5vw, 3.25rem); }
.display--md   { font-size: clamp(1.5rem, 3vw, 2.125rem); }

.serif-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.4;
  letter-spacing: 0.005em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--maroon);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: currentColor;
}

.on-dark .eyebrow { color: var(--amber); }

.muted { color: var(--stone-dark); }
.on-dark .muted { color: var(--stone); }

/* --- Plate chip (from the OVERSIZE boards) ----------------------------- */

.plate {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.3rem 0.7rem 0.25rem;
  background: var(--amber);
  color: var(--ink);
  border: 2px solid var(--ink);
}

/* --- Buttons ----------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-align: center;
  padding: 0.9rem 2rem 0.8rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn--solid {
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}

.btn--solid:hover { background: var(--maroon-bright); border-color: var(--maroon-bright); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: currentColor;
}

.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.on-dark .btn--ghost { color: var(--paper); }
.on-dark .btn--ghost:hover { background: var(--paper); color: var(--ink); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

/* --- Nav ---------------------------------------------------------------- */

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-nav .container--wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.8rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.nav-brand img { height: 52px; width: auto; }

.nav-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--paper);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.5vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--paper);
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.nav-link:hover { color: var(--amber); }
.nav-link[aria-current="page"] { border-color: var(--amber); }

.nav-call {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  padding: 0.55rem 1.1rem 0.5rem;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.nav-call:hover { background: var(--amber); }

.site-nav.scrolled,
.site-nav.solid {
  background: rgba(22, 17, 15, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-light);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--paper);
  margin: 6px 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(22, 17, 15, 0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
  }

  .nav-links.open { opacity: 1; pointer-events: auto; }

  .nav-link { font-size: 1.6rem; }

  .nav-links .nav-call { font-size: 1.3rem; }

  body.nav-open { overflow: hidden; }

  .nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-toggle.active { position: relative; z-index: 60; }
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(22, 17, 15, 0.92) 0%, rgba(22, 17, 15, 0.25) 45%, rgba(22, 17, 15, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(3rem, 8vh, 6rem);
}

.hero-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.hero .serif-lead {
  max-width: 34ch;
  margin: 1.5rem 0 2.25rem;
  color: rgba(246, 242, 235, 0.9);
}

.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 2rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
  writing-mode: vertical-rl;
}

/* --- Sections ------------------------------------------------------------ */

.section { padding-block: var(--section-y); }

.section--dark {
  background: var(--ink);
  color: var(--paper);
}

.section--coal {
  background: var(--coal);
  color: var(--paper);
}

.section--maroon {
  background: var(--maroon);
  color: var(--white);
}

.section--deep { background: var(--paper-deep); }

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* --- Intro band ---------------------------------------------------------- */

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.stat {
  padding: 1.5rem 1.25rem 0 0;
  border-right: 1px solid var(--line);
}

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

.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.stat span { font-size: 0.95rem; color: var(--stone-dark); }

@media (max-width: 760px) {
  .intro-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding-block: 1.1rem; }
  .stat:last-child { border-bottom: 0; }
}

/* --- Service rows --------------------------------------------------------- */

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(2rem, 4vw, 3.25rem);
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.service-row:last-of-type { border-bottom: 1px solid var(--line); }

.service-row figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.service-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.service-row:hover img { transform: scale(1.04); }

.service-row h3 { margin-bottom: 0.6rem; }

.service-row .go {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--maroon);
  transition: letter-spacing 0.3s var(--ease);
}

.service-row:hover .go { letter-spacing: 0.26em; }

@media (max-width: 720px) {
  .service-row { grid-template-columns: 1fr; }
}

/* --- Night strip ----------------------------------------------------------- */

.night-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.night-strip figure { margin: 0; overflow: hidden; }

.night-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.night-caption {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--stone);
}

@media (max-width: 720px) {
  .night-strip { grid-template-columns: 1fr; }
  .night-strip img { aspect-ratio: 16 / 10; }
}

/* --- Listing card ----------------------------------------------------------- */

.listing-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  background: var(--white);
  border: 1px solid var(--line);
}

.listing-card figure { margin: 0; position: relative; }

.listing-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.listing-card .plate {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
}

.listing-body { padding: clamp(1.5rem, 3.5vw, 2.75rem); }

.listing-body h3 { margin-bottom: 0.4rem; }

.spec-list {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
}

.spec-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}

.spec-list li:first-child { border-top: 1px solid var(--line); }

@media (max-width: 820px) {
  .listing-card { grid-template-columns: 1fr; }
}

/* Gallery inside listing page */
.listing-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.listing-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--white);
  border: 1px solid var(--line);
}

/* --- Story teaser ----------------------------------------------------------- */

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.story-grid figure { margin: 0; }

.story-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

blockquote.pull {
  margin: 0 0 1.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.35;
}

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

/* --- CTA band ----------------------------------------------------------- */

.cta-band { text-align: center; }

.cta-band .display--xl { margin-bottom: 1rem; }

.cta-band p {
  max-width: 48ch;
  margin: 0 auto 2rem;
  color: rgba(253, 252, 250, 0.85);
}

.cta-band .btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-band .btn--solid:hover { background: var(--amber); border-color: var(--amber); }
.cta-band .btn--ghost { color: var(--paper); }
.cta-band .btn--ghost:hover { background: var(--paper); color: var(--maroon); }
.cta-band .btn-row { justify-content: center; }

/* --- Page header (interior pages) ------------------------------------------ */

.page-header {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(9rem, 18vh, 12rem) 0 clamp(3rem, 6vw, 5rem);
}

.page-header .serif-lead {
  max-width: 44ch;
  color: rgba(246, 242, 235, 0.85);
  margin-top: 1.25rem;
}

/* --- Services page ----------------------------------------------------------- */

.anchor-nav {
  position: sticky;
  top: 68px;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.anchor-nav ul {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.anchor-nav a {
  display: block;
  padding: 0.9rem 0 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--stone-dark);
  border-bottom: 2px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.anchor-nav a:hover { color: var(--maroon); border-color: var(--maroon); }

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: var(--section-y);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 130px;
}

.service-detail:last-of-type { border-bottom: 0; }

.service-detail figure { margin: 0; }

.service-detail img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.service-detail:nth-child(even) figure { order: 2; }

.service-detail h2 { margin-bottom: 1rem; }

.service-detail ul {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.service-detail ul li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.6rem;
}

.service-detail ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.75rem;
  height: 2px;
  background: var(--maroon);
}

@media (max-width: 760px) {
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) figure { order: 0; }
}

/* --- About page ----------------------------------------------------------- */

.prose {
  max-width: 68ch;
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin: 2.75rem 0 0.9rem;
}

.prose h2:first-child { margin-top: 0; }

.about-figure { margin: clamp(2rem, 5vw, 3.5rem) 0; }
.about-figure img { width: 100%; object-fit: cover; }
.about-figure figcaption {
  font-size: 0.9rem;
  color: var(--stone-dark);
  padding-top: 0.6rem;
}

/* --- Contact page ----------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

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

.contact-info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.contact-info > div { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.contact-info > div:first-child { padding-top: 0; }

.contact-info a { text-decoration: none; }
.contact-info a:hover { color: var(--maroon); }

.big-call {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.03em;
}

/* --- Form ----------------------------------------------------------- */

.quote-form { display: grid; gap: 1.1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  transition: border-color 0.3s var(--ease);
}

.field textarea { resize: vertical; min-height: 140px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--maroon);
}

.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }

.hp-field { position: absolute; left: -9999px; opacity: 0; }

.form-status {
  display: none;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border: 1px solid;
}

.form-status.ok { display: block; border-color: #2c6e49; color: #2c6e49; background: rgba(44, 110, 73, 0.06); }
.form-status.err { display: block; border-color: var(--maroon); color: var(--maroon); background: rgba(110, 20, 32, 0.05); }

/* --- Footer ----------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--stone);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-light);
}

.site-footer img { height: 96px; width: auto; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--paper);
}

.footer-links a:hover { color: var(--amber); }

.footer-contact { text-align: right; }
.footer-contact a { color: var(--paper); text-decoration: none; }
.footer-contact a:hover { color: var(--amber); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact { text-align: left; }
}

/* --- Reveal on scroll ----------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .service-row img, .service-row .go { transition: none; }
}
