/* ============================================================
   Lanternway Moving Co. — Vyne demo
   Hand-written CSS. Mobile-first. No frameworks.
   ============================================================ */

:root {
  --navy: #0e2a47;
  --navy-deep: #081c33;
  --navy-ink: #12325a;
  --paper: #faf7f2;
  --paper-dim: #f1ece3;
  --ink: #1c2733;
  --ink-soft: #4c5a68;
  --accent: #ff6b1a;
  --accent-deep: #e35a0e;
  --gold: #c9ab6e;
  --white: #ffffff;
  --line: rgba(14, 42, 71, 0.12);

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(8, 28, 51, 0.14);
  --shadow-lg: 0 24px 60px rgba(8, 28, 51, 0.28);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  --header-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Type ---------- */
h1, h2, h3, .brand-name, .step-num {
  font-family: var(--font-display);
  line-height: 1.05;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.6rem, 9vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 5.5vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 3.5vw, 1.65rem); font-weight: 600; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: var(--space-1);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.05rem;
  text-decoration: none;
  text-align: center;
  border: 0;
  border-radius: 10px;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(227, 90, 14, 0.35);
}
.btn-accent:hover { background: var(--accent-deep); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-ghost {
  background: transparent; color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6);
}
.btn-big { font-size: 1.2rem; padding: 1rem 2rem; width: 100%; }

.text-link {
  font-weight: 700; color: var(--accent-deep);
  text-decoration: none; font-size: 1rem;
}
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1180px; margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--space-2);
  display: flex; align-items: center; gap: var(--space-3);
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name {
  font-size: 1.35rem; font-weight: 700; color: var(--navy); white-space: nowrap;
}
.brand-name em { font-style: normal; color: var(--accent-deep); }
.site-nav { display: none; gap: var(--space-3); margin-left: auto; }
.site-nav a {
  text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--ink-soft);
}
.site-nav a:hover { color: var(--navy); }
.header-cta { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }
.phone-link {
  display: none; align-items: center; gap: 0.45rem;
  text-decoration: none; font-weight: 700; color: var(--navy); font-size: 1rem;
}
.phone-link svg { width: 18px; height: 18px; color: var(--accent-deep); }
.btn-header { font-size: 0.95rem; padding: 0.6rem 1.1rem; }

@media (min-width: 760px) {
  .site-nav { display: flex; }
  .header-cta { margin-left: 0; }
  .phone-link { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + var(--space-4)) var(--space-2) var(--space-5);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--navy-deep); }
.hero-video {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 51, 0.55) 0%, rgba(8, 28, 51, 0.35) 40%, rgba(8, 28, 51, 0.78) 100%),
    linear-gradient(100deg, rgba(8, 28, 51, 0.82) 0%, rgba(8, 28, 51, 0.45) 55%, rgba(8, 28, 51, 0.25) 100%);
}
.hero-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; gap: var(--space-4);
}
.hero-copy { color: #fff; max-width: 620px; }
.hero-copy .eyebrow { color: #ffb27d; }
.hero-copy h1 { color: #fff; margin-bottom: var(--space-2); }
.accent-underline {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 6px;
  text-underline-offset: 8px;
  text-decoration-color: rgba(255, 107, 26, 0.55);
}
.hero-sub {
  font-size: 1.12rem; color: rgba(255, 255, 255, 0.88);
  max-width: 46ch; margin-bottom: var(--space-3);
}
.hero-points { display: grid; gap: 0.55rem; }
.hero-points li {
  position: relative; padding-left: 1.7rem;
  font-weight: 600; color: #fff; font-size: 1rem;
}
.hero-points li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 800;
}

/* Quote card */
.quote-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-3);
  max-width: 460px;
  width: 100%;
}
.quote-title { font-size: 1.75rem; }
.quote-sub { color: var(--ink-soft); font-size: 0.95rem; margin: 0.25rem 0 var(--space-2); }
.field { display: block; }
.field span {
  display: block; font-weight: 700; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--navy); margin-bottom: 0.3rem;
}
.field input {
  width: 100%;
  font: inherit; font-size: 1.05rem;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.field input:focus { outline: none; border-color: var(--accent); background: #fff; }
.field input.invalid { border-color: #d64545; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
#quoteForm .quote-step { display: grid; gap: var(--space-2); }
#quoteForm .quote-step[hidden] { display: none; }
.quote-fineprint {
  font-size: 0.82rem; color: var(--ink-soft); text-align: center; margin-top: -0.4rem;
}

.quote-confirm { text-align: center; padding: var(--space-2) 0; }
.confirm-badge {
  width: 54px; height: 54px; margin: 0 auto;
  border-radius: 50%;
  background: #e8f6ec; color: #1d8a43;
  font-size: 1.6rem; font-weight: 800;
  display: grid; place-items: center;
}
.quote-confirm h3 { font-size: 1.5rem; }
.quote-confirm p { color: var(--ink-soft); font-size: 0.98rem; }
.phone-row { grid-template-columns: 1fr auto; align-items: end; }
.phone-row .grow { text-align: left; }

@media (min-width: 900px) {
  .hero { padding-top: calc(var(--header-h) + var(--space-5)); }
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: var(--space-5);
  }
  .quote-card { justify-self: end; padding: var(--space-4); }
}

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--navy); color: #fff; }
.trust-bar ul {
  max-width: 1180px; margin: 0 auto;
  padding: var(--space-3) var(--space-2);
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3) var(--space-2);
}
.trust-bar li { text-align: center; }
.trust-bar strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--gold);
}
.trust-bar span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); }
@media (min-width: 760px) {
  .trust-bar ul { grid-template-columns: repeat(5, 1fr); }
}

/* ---------- Sections ---------- */
.section-head { max-width: 1180px; margin: 0 auto var(--space-4); padding: 0 var(--space-2); }

.split { padding: var(--space-5) 0; }
.split-grid {
  max-width: 1180px; margin: 0 auto; padding: 0 var(--space-2);
  display: grid; gap: var(--space-4);
}
.split-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.split-img { aspect-ratio: 3 / 2; overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-body { padding: var(--space-3); display: grid; gap: var(--space-2); align-content: start; }
.split-body p { color: var(--ink-soft); }
.check-list { display: grid; gap: 0.5rem; }
.check-list li {
  position: relative; padding-left: 1.6rem; font-weight: 600; font-size: 0.98rem;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--accent-deep); font-weight: 800;
}
@media (min-width: 860px) {
  .split-grid { grid-template-columns: 1fr 1fr; }
}

/* Services strip */
.services { padding: 0 0 var(--space-5); }
.services-grid {
  max-width: 1180px; margin: 0 auto; padding: 0 var(--space-2);
  display: grid; gap: var(--space-3);
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.service-card h3 { padding: var(--space-2) var(--space-2) 0.3rem; }
.service-card p { padding: 0 var(--space-2) var(--space-3); color: var(--ink-soft); font-size: 0.98rem; }
@media (min-width: 760px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* How it works */
.how { background: var(--paper-dim); padding: var(--space-5) 0; }
.steps {
  max-width: 1180px; margin: 0 auto; padding: 0 var(--space-2);
  display: grid; gap: var(--space-3);
  list-style: none;
  counter-reset: step;
}
.steps li {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-3);
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--navy); color: var(--gold);
  font-size: 1.5rem; font-weight: 700;
  margin-bottom: var(--space-2);
}
.steps h3 { margin-bottom: 0.35rem; }
.steps p { color: var(--ink-soft); font-size: 0.98rem; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

/* Crew */
.crew { padding: var(--space-5) 0; }
.crew-grid {
  max-width: 1180px; margin: 0 auto; padding: 0 var(--space-2);
  display: grid; gap: var(--space-4); align-items: center;
}
.crew-img {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  max-height: 560px;
}
.crew-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.crew-body { display: grid; gap: var(--space-2); justify-items: start; }
.crew-body p { color: var(--ink-soft); max-width: 52ch; }
.crew-stats {
  display: grid; grid-template-columns: repeat(3, auto);
  gap: var(--space-3);
  margin: var(--space-1) 0 var(--space-2);
}
.crew-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 700; color: var(--accent-deep);
}
.crew-stats span { font-size: 0.85rem; color: var(--ink-soft); }
@media (min-width: 900px) {
  .crew-grid { grid-template-columns: 0.9fr 1.1fr; }
}

/* Reviews */
.reviews { background: var(--navy); padding: var(--space-5) 0; }
.reviews .section-head h2 { color: #fff; }
.reviews .eyebrow { color: var(--gold); }
.review-grid {
  max-width: 1180px; margin: 0 auto; padding: 0 var(--space-2);
  display: grid; gap: var(--space-3);
}
.review {
  background: var(--navy-ink);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: var(--space-3);
  color: #fff;
  display: grid; gap: var(--space-2); align-content: start;
}
.stars { color: var(--gold); letter-spacing: 0.2em; font-size: 1.05rem; }
.review p { font-size: 1.02rem; line-height: 1.6; color: rgba(255, 255, 255, 0.92); }
.review footer { font-size: 0.88rem; color: rgba(255, 255, 255, 0.65); }
.review footer strong { color: #fff; }
@media (min-width: 860px) {
  .review-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Areas */
.areas { padding: var(--space-5) 0; }
.areas-grid {
  max-width: 1180px; margin: 0 auto; padding: 0 var(--space-2);
  display: grid; gap: var(--space-4); align-items: start;
}
.areas-body { display: grid; gap: var(--space-2); }
.areas-body > p { color: var(--ink-soft); max-width: 52ch; }
.area-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.area-chips li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-weight: 600; font-size: 0.9rem;
}
.areas-note { font-size: 0.95rem; font-weight: 600; color: var(--navy); }
.areas-map {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  min-height: 320px;
}
.areas-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
@media (min-width: 860px) {
  .areas-grid { grid-template-columns: 1.05fr 0.95fr; }
  .areas-map iframe { min-height: 420px; }
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--accent-deep), var(--accent));
  padding: var(--space-5) var(--space-2);
  text-align: center;
}
.cta-inner { max-width: 760px; margin: 0 auto; }
.cta-band h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; margin-bottom: var(--space-3); }
.cta-actions { display: grid; gap: var(--space-2); max-width: 420px; margin: 0 auto; }
.cta-band .btn-accent { background: var(--navy); box-shadow: 0 6px 18px rgba(8, 28, 51, 0.35); }
.cta-band .btn-accent:hover { background: var(--navy-deep); }
@media (min-width: 640px) {
  .cta-actions { grid-template-columns: 1fr 1fr; max-width: 560px; }
}

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.8); }
.footer-grid {
  max-width: 1180px; margin: 0 auto;
  padding: var(--space-5) var(--space-2) var(--space-4);
  display: grid; gap: var(--space-4);
}
.footer-brand .brand-mark { width: 40px; height: 40px; margin-bottom: var(--space-1); }
.footer-name {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700; text-transform: uppercase; color: #fff;
}
.site-footer h4 {
  font-family: var(--font-display);
  text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.06em;
  color: var(--gold); margin-bottom: 0.5rem;
}
.site-footer address { font-style: normal; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-2);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-legal a { color: var(--gold); }
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* Mobile sticky bar */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: 0 -6px 24px rgba(8, 28, 51, 0.18);
}
.mobile-bar a {
  font-family: var(--font-display);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  text-align: center; text-decoration: none;
  padding: 0.95rem 0.5rem; font-size: 1.1rem;
}
.mobile-call { background: var(--navy); color: #fff; }
.mobile-quote { background: var(--accent); color: #fff; }
@media (min-width: 760px) { .mobile-bar { display: none; } }
@media (max-width: 759px) { body { padding-bottom: 56px; } }

/* Vyne chip */
.vyne-chip {
  position: fixed; right: 16px; bottom: 76px; z-index: 70;
  background: #101014;
  color: #c9ab6e;
  font-family: var(--font-body);
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  opacity: 0; transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.vyne-chip.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.vyne-chip:hover { transform: translateY(-2px); }
@media (min-width: 760px) { .vyne-chip { bottom: 20px; } }

/* Reveal animation (transform/opacity only) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .vyne-chip { transition: none; }
}
