/* ==========================================================================
   Swift White Glove Logistics
   Luxury black and white, with a single champagne accent.
   Fonts: Instrument Serif (headings) + Inter (text). Both load from Google
   Fonts in each page <head>; system serif / sans fallbacks are listed below.
   ========================================================================== */

:root {
  --bg: #060606;
  --bg-2: #0b0b0b;
  --panel: #111111;
  --panel-2: #171717;
  --text: #f4f2ee;
  --muted: #aaa8a3;
  --faint: #74726e;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.2);
  --accent: #c8b08a;
  --white: #ffffff;
  --radius: 8px;
  --radius-lg: 12px;
  --max: 1200px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  color-scheme: dark;
}

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

* { margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  font-size: 17px;
  background:
    radial-gradient(1100px 520px at 50% -8%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(180deg, #030303 0%, #080808 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
ul { list-style: none; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--white);
  color: #000;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-sm { padding: clamp(40px, 6vw, 64px) 0; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.9rem, 6.6vw, 5.9rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.55rem; margin-bottom: 0.6rem; line-height: 1.12; }
em, .ital { font-style: italic; color: var(--accent); }
p { color: var(--muted); }
strong { color: var(--text); font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.15rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }

.lead { font-size: 1.12rem; max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--accent); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.section-head.center { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 13px 26px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  overflow: hidden;
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }
.btn-primary { background: var(--white); color: #080808; border-color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--text); }
.btn-secondary::after { background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.12) 50%, transparent 65%); }
.btn-secondary:hover { border-color: var(--text); transform: translateY(-2px); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
.progress {
  position: fixed;
  left: 0; top: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 1100;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 6, 6, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled { border-color: var(--line); background: rgba(6, 6, 6, 0.88); }

.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; transition: min-height 0.3s var(--ease); }
.site-header.scrolled .nav { min-height: 64px; }

.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--sans); font-weight: 700; letter-spacing: 0.14em; font-size: 1rem; }
.brand-text span { color: var(--muted); font-size: 0.66rem; letter-spacing: 0.22em; margin-top: 0.4rem; }

.nav-wrap { display: flex; align-items: center; gap: 1.5rem; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a {
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 14px;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--text);
  position: relative;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); --mx: 70%; --my: 30%; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(200, 176, 138, 0.14), transparent 62%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 20%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 60% 20%, #000 0%, transparent 70%);
  animation: grid-pan 40s linear infinite;
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.orb.a { width: 340px; height: 340px; right: 4%; top: -80px; background: rgba(255, 255, 255, 0.09); animation: float-a 16s ease-in-out infinite alternate; }
.orb.b { width: 280px; height: 280px; left: -60px; bottom: -60px; background: rgba(200, 176, 138, 0.14); animation: float-b 20s ease-in-out infinite alternate; }

.hero-grid, .grid-2 { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); position: relative; z-index: 1; }
.hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
.grid-2 { grid-template-columns: 1fr 1fr; align-items: stretch; }
.hero h1 { margin-bottom: 1.5rem; }
.hero .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  background: linear-gradient(180deg, #151515 0%, #0b0b0b 100%);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle, 0deg), rgba(255, 255, 255, 0.06), rgba(200, 176, 138, 0.8), rgba(255, 255, 255, 0.06) 35%, rgba(255, 255, 255, 0.06));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin-angle 9s linear infinite;
  z-index: -1;
}
.hero-card .logo-stage {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3.2;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 40%, #1b1b1b, #090909 70%);
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero-card .logo-stage img { width: 96%; height: auto; animation: float-y 7s ease-in-out infinite; }
.card-caption { display: flex; justify-content: space-between; gap: 0.6rem; margin-top: 1rem; padding-inline: 0.3rem; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; }

/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: rgba(255, 255, 255, 0.015); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { padding: 16px 28px; font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ticker span::after { content: "\2726"; margin-left: 56px; color: var(--accent); }

/* ---------- cards ---------- */
.hero-card, .panel, .service-card, .step, .stat, .info-card, .quote-box, .testimonial-card, .faq-item, .area-card, .success-box {
  background: linear-gradient(180deg, #131313 0%, #0c0c0c 100%);
  border: 1px solid var(--line);
}
.panel, .quote-box { border-radius: var(--radius-lg); }
.service-card, .step, .stat, .info-card, .testimonial-card, .area-card { border-radius: var(--radius); }
.panel, .quote-box { padding: clamp(1.5rem, 3vw, 2.4rem); }

.stats, .services-grid, .process-grid, .info-grid, .testimonials-grid, .areas-grid { display: grid; gap: 1.25rem; }
.stats { grid-template-columns: repeat(3, 1fr); margin-top: 2.5rem; }
.services-grid, .info-grid, .testimonials-grid, .areas-grid { grid-template-columns: repeat(3, 1fr); }
.process-grid { grid-template-columns: repeat(4, 1fr); position: relative; }

.stat, .service-card, .step, .info-card, .testimonial-card, .area-card { padding: 1.7rem; }
.stat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.6rem; line-height: 1; margin-bottom: 0.5rem; }
.stat span { color: var(--muted); font-size: 0.92rem; }
.stat strong span { color: inherit; font-size: inherit; }
.quote-box .lead { margin-bottom: 2rem; }

/* pointer spotlight on cards */
.spot { position: relative; overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.3s; }
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(200, 176, 138, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.spot:hover { transform: translateY(-5px); border-color: var(--line-2); }
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; }

.service-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  margin-bottom: 1.2rem;
  transition: background 0.3s, transform 0.4s var(--ease);
}
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .service-icon { background: rgba(200, 176, 138, 0.14); transform: rotate(-6deg) scale(1.06); }

.service-card p, .info-card p, .area-card p, .step p, .testimonial-card p { font-size: 0.97rem; }

.materials { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.materials span { padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.84rem; color: var(--text); transition: background 0.3s, color 0.3s; }
.materials span:hover { background: var(--white); color: #080808; }

/* process */
.step { position: relative; }
.step .num { display: block; font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--accent); margin-bottom: 1rem; }
.process-line { position: absolute; left: 12%; right: 12%; top: -14px; height: 1px; background: var(--line-2); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease) 0.2s; }
.process-grid.in .process-line, html:not(.js) .process-line { transform: scaleX(1); }

.list { display: grid; gap: 0.85rem; margin-top: 1.4rem; }
.list li { padding-left: 1.6rem; position: relative; color: var(--muted); }
.list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 1px; background: var(--accent); }

.page-hero { position: relative; padding: clamp(56px, 8vw, 100px) 0 clamp(8px, 2vw, 24px); }
.page-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); max-width: 18ch; }
.page-hero .lead { margin-top: 1.4rem; }

/* ---------- quote band ---------- */
.quote-band { padding: clamp(24px, 4vw, 40px) 0 clamp(64px, 9vw, 100px); }
.quote-box { position: relative; overflow: hidden; padding: clamp(2.2rem, 5vw, 4rem); isolation: isolate; }
.quote-box::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(200, 176, 138, 0.18) 85%, transparent 100%);
  animation: spin 14s linear infinite;
  z-index: -1;
}
.quote-box::after { content: ""; position: absolute; inset: 1px; border-radius: calc(var(--radius-lg) - 1px); background: linear-gradient(180deg, #121212 0%, #0a0a0a 100%); z-index: -1; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
.faq-item { border-radius: var(--radius); padding: 0; overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: var(--line-2); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.4rem 1.6rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.15;
}
.faq-q::after { content: "+"; font-family: var(--sans); font-size: 1.5rem; font-weight: 300; color: var(--accent); transition: transform 0.4s var(--ease); flex: none; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.faq-item.open .faq-a, html:not(.js) .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-a p { padding: 0 1.6rem 1.5rem; font-size: 0.98rem; }

/* ---------- forms ---------- */
form.quote-form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: 0.45rem; min-width: 0; }
.field label { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; color: var(--text); }
.field label .opt { color: var(--faint); font-weight: 400; }
input, textarea, select {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  min-height: 50px;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200, 176, 138, 0.18); background: #0d0d0d; }
input:user-invalid, textarea:user-invalid, select:user-invalid { border-color: #d46a6a; }
textarea { min-height: 150px; resize: vertical; }
.form-note, .small { font-size: 0.88rem; color: var(--faint); }
.form-status { min-height: 1.4em; font-size: 0.92rem; }
.form-status.err { color: #e58a8a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.result { display: grid; gap: 1rem; }
.result pre { white-space: pre-wrap; word-break: break-word; font: 0.88rem/1.6 var(--sans); color: var(--muted); padding: 1rem; background: #0a0a0a; border: 1px solid var(--line); border-radius: 14px; max-height: 260px; overflow: auto; }
.btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.next-steps { display: grid; gap: 1.1rem; margin-top: 1.6rem; counter-reset: s; }
.next-steps li { counter-increment: s; position: relative; padding-left: 3rem; color: var(--muted); font-size: 0.97rem; }
.next-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-size: 0.85rem; }
.contact-lines { margin-top: 1.6rem; display: grid; gap: 0.4rem; }
.contact-lines a { color: var(--text); border-bottom: 1px solid var(--line-2); transition: border-color 0.2s; }
.contact-lines a:hover { border-color: var(--accent); }

.success-box { max-width: 760px; margin: 0 auto; padding: clamp(2.4rem, 6vw, 4rem) 2rem; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow); }
.check-ring { width: 76px; height: 76px; margin: 0 auto 1.6rem; }
.check-ring circle { fill: none; stroke: var(--line-2); stroke-width: 2; }
.check-ring path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 0.9s var(--ease) 0.3s forwards; }
.check-ring .ring { stroke: var(--accent); stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1.1s var(--ease) forwards; }

.area-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.area-list span { padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.88rem; color: var(--text); }

.quote-mark { font-family: var(--serif); font-size: 4rem; line-height: 0.6; color: var(--accent); margin-bottom: 0.4rem; }
.testimonial-card cite { display: block; margin-top: 1.2rem; font-style: normal; color: var(--text); font-size: 0.92rem; }
.testimonial-card cite span { display: block; color: var(--faint); font-size: 0.82rem; }
[data-testimonials][hidden], [data-areas][hidden], [data-phone-row][hidden] { display: none; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 64px) 0 36px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin-bottom: 1rem; }
.footer-grid li { margin-bottom: 0.55rem; }
.footer-grid a { transition: color 0.2s; }
.footer-grid a:hover { color: var(--text); }
.footer-grid p { max-width: 34ch; font-size: 0.95rem; margin-top: 1rem; }
.footer-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--faint); }

/* ---------- motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease) var(--d, 0ms), transform 0.9s var(--ease) var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal="left"].in { transform: none; }

.rise { animation: rise 1s var(--ease) var(--d, 0ms) both; }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float-y { 0%, 100% { transform: translateY(-5px); } 50% { transform: translateY(7px); } }
@keyframes float-a { to { transform: translate(-60px, 50px) scale(1.15); } }
@keyframes float-b { to { transform: translate(70px, -40px) scale(1.2); } }
@keyframes grid-pan { to { background-position: 64px 64px, 64px 64px; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin-angle { to { --angle: 360deg; } }
@keyframes pagein { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  body { animation: pagein 0.6s ease both; }
  @view-transition { navigation: auto; }
}

/* embedded previews on the EastLineWebCo portfolio add ?static=1 to switch motion off */
html[data-static] *, html[data-static] *::before, html[data-static] *::after { animation: none !important; transition: none !important; }
html[data-static] [data-reveal] { opacity: 1 !important; transform: none !important; }
html[data-static] .process-line { transform: scaleX(1); }
html[data-static] .check-ring path { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .process-line { transform: scaleX(1); }
  .check-ring path { stroke-dashoffset: 0; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; }
  .services-grid, .info-grid, .testimonials-grid, .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-line { display: none; }
  .hero-card { max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: relative; }
  .nav-wrap {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.2rem 1rem 1.6rem;
    background: #060606;
    border-bottom: 1px solid var(--line);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .nav-wrap.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .form-row, .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .stats, .services-grid, .info-grid, .testimonials-grid, .areas-grid, .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-text span { letter-spacing: 0.16em; font-size: 0.6rem; }
  .btn { width: 100%; }
  .hero-actions .btn, .btns .btn { flex: 1 1 100%; }
  .card-caption { font-size: 0.66rem; letter-spacing: 0.14em; }
}

.hero-facts{list-style:none;margin:1.1rem 0 .2rem;padding:0 .3rem;display:grid;gap:.6rem}
.hero-facts li{position:relative;padding-left:1.1rem;color:var(--muted);font-size:.92rem;line-height:1.5}
.hero-facts li::before{content:"";position:absolute;left:0;top:.55em;width:6px;height:6px;border-radius:50%;background:var(--accent)}
.nav-phone{color:var(--text,#fff);font-weight:600;text-decoration:none;white-space:nowrap;margin-right:.4rem}
.nav-phone[hidden]{display:none}

/* ---------- theme layer: light and dark ---------- */
html[data-theme="light"] { color-scheme: light; }
html[data-theme="light"] {
  --bg: #f6f4f0; --bg-2: #efece6; --panel: #ffffff; --panel-2: #faf8f4;
  --text: #15130f; --muted: #59554e; --faint: #8a857d;
  --line: rgba(21, 19, 15, 0.12); --line-2: rgba(21, 19, 15, 0.24);
  --accent: #7d5f2c; --white: #15130f;
  --shadow: 0 18px 50px rgba(21, 19, 15, 0.12);
}
/* the brand bands stay black in both modes so the white logo is never altered or lost */
html[data-theme="light"] :is(.site-header, .hero, .ticker, .quote-band, .site-footer) {
  --bg: #060606; --bg-2: #0b0b0b; --panel: #111111; --panel-2: #171717;
  --text: #f4f2ee; --muted: #aaa8a3; --faint: #74726e;
  --line: rgba(255, 255, 255, 0.1); --line-2: rgba(255, 255, 255, 0.2);
  --accent: #c8b08a; --white: #ffffff;
  background-color: #060606; color: var(--text);
}
html[data-theme="light"] body { background: var(--bg); }
html[data-theme="light"] :is(.panel, .service-card, .step, .stat, .info-card, .testimonial-card, .faq-item, .area-card, .success-box) {
  background: var(--panel); border-color: var(--line); box-shadow: 0 1px 2px rgba(21, 19, 15, 0.05);
}
html[data-theme="light"] .btn-primary { color: #f4f2ee; }
html[data-theme="light"] :is(.site-header, .hero, .quote-band, .site-footer) .btn-primary { color: #080808; }
html[data-theme="light"] .materials span:hover { color: #f4f2ee; }
html[data-theme="light"] :is(input, textarea, select) { background: #fff; }
html[data-theme="light"] :is(input, textarea, select):focus { background: #fff; }
html[data-theme="light"] .result pre { background: var(--panel-2); }
html[data-theme="light"] .site-header { background: rgba(6, 6, 6, 0.9); }
html[data-theme="light"] .form-status.err { color: #b03a3a; }
html[data-theme="light"] .page-hero .lead, html[data-theme="light"] .lead { color: var(--muted); }
html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease !important; }

.theme-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 6px; background: transparent; color: var(--text); transition: border-color .2s, background-color .2s; }
.theme-btn:hover { border-color: var(--accent); }
.theme-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html[data-theme="light"] .theme-btn .i-moon, html:not([data-theme="light"]) .theme-btn .i-sun { display: none; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin-top: 2rem; }
.colx { padding-top: 1.1rem; border-top: 2px solid var(--accent); }
.colx h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; margin-bottom: .5rem; }
.colx p { color: var(--muted); font-size: .98rem; }
.panel, .service-card, .step, .stat, .info-card { border-radius: var(--radius); }
@media (max-width: 860px) { .cols3 { grid-template-columns: 1fr; gap: 1.6rem; } .theme-btn { width: 48px; height: 48px; } }
@media (max-width:860px){.nav-wrap{box-shadow:0 24px 40px rgba(0,0,0,.5)}}

/* route-line graphic and line icons */
.hero-bg .route-art{position:absolute;inset:0;width:100%;height:100%;opacity:.9}
.route-lines path{stroke-dasharray:1;stroke-dashoffset:1;animation:route-draw 3.2s .4s var(--ease) forwards}
.route-lines path:nth-child(2){animation-delay:.8s}.route-lines path:nth-child(3){animation-delay:1.2s}.route-lines path:nth-child(4){animation-delay:1.6s}
.route-nodes circle{opacity:0;animation:node-in .6s var(--ease) forwards}
.route-nodes circle:nth-child(1){animation-delay:1.6s}.route-nodes circle:nth-child(2){animation-delay:2.4s}.route-nodes circle:nth-child(3){animation-delay:2s}.route-nodes circle:nth-child(4){animation-delay:2.8s}.route-nodes circle:nth-child(5){animation-delay:2.6s}.route-nodes circle:nth-child(6){animation-delay:2.2s}
@keyframes route-draw{to{stroke-dashoffset:0}}
@keyframes node-in{to{opacity:1}}
@media (prefers-reduced-motion: reduce){.route-lines path{animation:none;stroke-dashoffset:0}.route-nodes circle{animation:none;opacity:1}}
html[data-static] .route-lines path{animation:none;stroke-dashoffset:0}html[data-static] .route-nodes circle{animation:none;opacity:1}
@media (max-width: 860px){.hero-bg .route-art{opacity:.45}}
.colx-ico{width:30px;height:30px;margin-bottom:.9rem;fill:none;stroke:var(--accent);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}

.brand .brand-logo { width: auto; height: 56px; max-width: none; }
@media (max-width: 520px) { .brand .brand-logo { height: 44px; } }
/* readability + small-screen fit */
.field label .opt, .form-note { color: var(--muted); }
.panel { min-width: 0; max-width: 100%; }
html, body { overflow-x: clip; }
