/* =========================================================
   Carter's Care RV Service and Repair — spec preview
   Woodcrest Marketing
   ========================================================= */

:root {
  /* brand */
  --pine: #1f3d2f;
  --pine-deep: #16271f;
  --pine-deeper: #101c16;
  --amber: #e8a13a;
  --amber-soft: #f0c074;
  --rust: #c75b2c;

  /* neutrals */
  --cream: #f5f0e6;
  --cream-2: #efe8d8;
  --paper: #fbf8f1;
  --ink: #20251f;
  --ink-soft: #4a5249;
  --line: rgba(31, 61, 47, 0.14);
  --line-light: rgba(245, 240, 230, 0.16);

  /* type */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* fluid type scale */
  --fs-eyebrow: clamp(0.72rem, 0.68rem + 0.2vw, 0.82rem);
  --fs-body: clamp(1rem, 0.96rem + 0.25vw, 1.12rem);
  --fs-lede: clamp(1.12rem, 1.02rem + 0.6vw, 1.4rem);
  --fs-h3: clamp(1.18rem, 1.05rem + 0.7vw, 1.5rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 2.6vw, 3.2rem);
  --fs-h1: clamp(2.05rem, 1.12rem + 4vw, 4.7rem);
  --fs-display: clamp(2.2rem, 1.3rem + 4vw, 4.2rem);

  /* space */
  --space-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --wrap: 1200px;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 30px 60px -28px rgba(16, 28, 22, 0.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(100% - 2.4rem, var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--pine);
  color: var(--cream);
  padding: 0.7rem 1.1rem;
  z-index: 200;
  border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  --pad-y: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: var(--pad-y) 1.4rem;
  font-family: var(--sans);
  font-weight: 650;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.3s var(--ease),
              color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
}
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.btn-primary {
  background: var(--amber);
  color: #2a1d06;
  box-shadow: 0 14px 28px -14px rgba(232, 161, 58, 0.8);
}
.btn-primary:hover { background: var(--amber-soft); transform: translateY(-2px); }

.btn-line {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-line:hover { border-color: var(--pine); background: rgba(31,61,47,0.05); transform: translateY(-2px); }

.btn-line-dark { border-color: var(--line-light); color: var(--cream); }
.btn-line-dark:hover { border-color: var(--cream); background: rgba(245,240,230,0.08); }

.btn-ghost {
  border-color: var(--line-light);
  color: var(--cream);
  padding: 0.6rem 1.1rem;
}
.btn-ghost:hover { background: rgba(245,240,230,0.1); border-color: var(--cream); }

.btn-lg { --pad-y: 1.05rem; font-size: 1.05rem; padding-inline: 1.8rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 39, 31, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-light);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
  margin-right: auto;
}
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--amber), var(--rust));
  color: #2a1d06;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
  flex: none;
}
.brand-words { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.01em; }
.brand-sub {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--amber-soft);
  font-weight: 600;
}
.site-nav { display: flex; gap: 1.6rem; }
.site-nav a {
  color: rgba(245,240,230,0.82);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 550;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.25s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav a:hover { color: var(--cream); }
.site-nav a:hover::after { transform: scaleX(1); }

@media (max-width: 820px) {
  .site-nav { display: none; }
}
@media (max-width: 460px) {
  .header-cta { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(560px, 86vh, 860px);
  display: flex;
  align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-terrain { width: 100%; height: 100%; object-fit: cover; }

/* film grain — self-contained SVG turbulence, no external asset */
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
/* vignette + bottom scrim for type legibility and depth */
.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(130% 110% at 30% 28%, transparent 38%, rgba(10,20,15,0.5) 100%),
    linear-gradient(180deg, rgba(10,20,15,0.34) 0%, transparent 26%, transparent 64%, rgba(10,20,15,0.42) 100%);
}

.contours path {
  stroke-dasharray: 2600;
  stroke-dashoffset: 2600;
  animation: draw-line 2.6s var(--ease) forwards;
}
.contours path:nth-child(2) { animation-delay: 0.12s; }
.contours path:nth-child(3) { animation-delay: 0.24s; }
.contours path:nth-child(4) { animation-delay: 0.36s; }
.contours path:nth-child(5) { animation-delay: 0.48s; }
.ridge-far { animation: ridge-in 1.4s var(--ease) 0.2s both; }
.ridge-near { animation: ridge-in 1.4s var(--ease) 0.35s both; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes ridge-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .contours path { animation: none; stroke-dashoffset: 0; }
  .ridge-far, .ridge-near { animation: none; }
}

/* hero seal */
.hero-seal {
  position: absolute;
  z-index: -1;
  top: 43%;
  right: max(1.5rem, calc(50% - 615px));
  transform: translateY(-50%);
  width: clamp(260px, 24vw, 372px);
  aspect-ratio: 1;
  pointer-events: none;
  animation: seal-float 9s ease-in-out infinite;
}
.hero-seal::before {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,161,58,0.14), rgba(232,161,58,0.04) 52%, transparent 70%);
}
.hero-seal svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.seal-rim { fill: none; stroke: rgba(232,161,58,0.52); stroke-width: 1.2; }
.seal-inner { fill: none; stroke: rgba(245,240,230,0.24); stroke-width: 1; stroke-dasharray: 1.5 5; }
@keyframes seal-float { 0%, 100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 10px)); } }
@media (prefers-reduced-motion: reduce) { .hero-seal { animation: none; } }
.seal-text {
  fill: var(--amber-soft);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.4px;
}
.seal-num { fill: var(--cream); font-family: var(--serif); font-size: 34px; font-weight: 600; }
.seal-stars { fill: var(--amber); font-size: 14px; letter-spacing: 1.5px; }
.seal-foot {
  fill: rgba(245,240,230,0.82);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
}
.seal-rot { transform-origin: 100px 100px; animation: seal-spin 64s linear infinite; }
@keyframes seal-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal-rot { animation: none; } }
@media (max-width: 1160px) { .hero-seal { display: none; } }

.hero-inner {
  position: relative;
  padding-top: clamp(3rem, 2rem + 5vw, 6rem);
  padding-bottom: clamp(3.5rem, 2.5rem + 5vw, 6.5rem);
  max-width: 920px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-weight: 650;
  color: var(--amber-soft);
  margin-bottom: 1.6rem;
}
.loc-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(232,161,58,0.22);
}
.hero-title {
  font-size: var(--fs-h1);
  max-width: 17ch;
  margin-bottom: 1.5rem;
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.hero-lead {
  font-size: var(--fs-lede);
  max-width: 52ch;
  color: rgba(245,240,230,0.86);
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.6rem; }
.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: rgba(16,28,22,0.35);
  font-size: 0.95rem;
}
.stars { color: var(--amber); letter-spacing: 0.12em; font-size: 0.95rem; }
.proof-text strong { color: var(--cream); }

/* ---------- trust strip ---------- */
.strip {
  background: var(--pine-deeper);
  color: var(--cream);
  border-top: 1px solid var(--line-light);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.strip-item {
  padding: clamp(1.6rem, 1rem + 2vw, 2.6rem) 0.6rem;
  text-align: center;
  position: relative;
}
.strip-item + .strip-item::before {
  content: "";
  position: absolute;
  left: 0; top: 25%;
  height: 50%; width: 1px;
  background: var(--line-light);
}
.strip-big {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  color: var(--amber);
  font-weight: 600;
}
.strip-small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(245,240,230,0.7);
}
@media (max-width: 640px) {
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(3)::before,
  .strip-item:nth-child(odd)::before { display: none; }
}

/* ---------- shared section bits ---------- */
.eyebrow {
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--rust);
  margin-bottom: 1rem;
}
.eyebrow-on-dark { color: var(--amber-soft); }
.section-title { font-size: var(--fs-h2); max-width: 18ch; text-wrap: balance; }
.section-title-light { color: var(--cream); }
.lede { font-size: var(--fs-lede); color: var(--ink-soft); margin-bottom: 1.4rem; max-width: 52ch; }

/* ---------- about ---------- */
.about { padding-block: var(--space-section); background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 1rem + 5vw, 5rem);
  align-items: center;
}
.about-visual { position: relative; }
.about-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--pine);
  transform: rotate(-1.5deg);
  transition: transform 0.6s var(--ease);
}
.about-visual:hover .about-card { transform: rotate(0deg); }
.about-card-top {
  height: 252px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 120% at 80% 10%, rgba(232,161,58,0.42), transparent 55%),
    linear-gradient(160deg, var(--pine), var(--pine-deeper));
  position: relative;
  overflow: hidden;
}
.vanlines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    transparent 0 22px,
    rgba(245,240,230,0.06) 22px 24px
  );
}
.ac-emblem {
  position: relative;
  width: 196px;
  height: 196px;
  overflow: visible;
  filter: drop-shadow(0 10px 22px rgba(16,28,22,0.45));
}
.ac-rim { fill: none; stroke: rgba(245,240,230,0.22); stroke-width: 1; }
.ac-rim-2 { stroke: rgba(232,161,58,0.4); stroke-dasharray: 1.5 5; }
.ac-ring-text {
  fill: var(--amber-soft);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
}
.ac-mono {
  fill: var(--cream);
  font-family: var(--serif);
  font-size: 78px;
  font-weight: 600;
}
.ac-stars { fill: var(--amber); font-size: 13px; letter-spacing: 2px; }
.about-card-body { padding: 1.8rem; color: var(--cream); }
.ac-kicker {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--amber-soft);
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.ac-quote {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.3;
}
.about-points {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: 0.8rem;
}
.about-points li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--ink-soft);
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.8rem; height: 0.8rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(232,161,58,0.18);
}
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 440px; }
}

/* ---------- services ---------- */
.services {
  padding-block: var(--space-section);
  background: var(--pine-deep);
  color: var(--cream);
}
.services-head { max-width: 640px; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.svc {
  position: relative;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem 1.9rem;
  background: rgba(245,240,230,0.03);
  overflow: hidden;
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.svc::after {
  content: "";
  position: absolute;
  left: 1.8rem; right: 1.8rem; top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), rgba(232,161,58,0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.svc:hover {
  transform: translateY(-6px);
  background: rgba(245,240,230,0.07);
  border-color: rgba(232,161,58,0.5);
}
.svc:hover::after { transform: scaleX(1); }
.svc-lead {
  grid-column: span 1;
  background:
    radial-gradient(140% 120% at 100% 0%, rgba(199,91,44,0.35), transparent 55%),
    rgba(245,240,230,0.05);
  border-color: rgba(232,161,58,0.35);
}
.svc-lead::after { transform: scaleX(1); }
.svc-no {
  position: absolute;
  top: 0.55rem;
  right: 1.25rem;
  z-index: 0;
  font-family: var(--serif);
  font-size: 3.7rem;
  line-height: 1;
  font-weight: 600;
  color: rgba(245,240,230,0.06);
  letter-spacing: 0;
  pointer-events: none;
  transition: color 0.4s var(--ease);
}
.svc:hover .svc-no { color: rgba(232,161,58,0.16); }
.svc-lead .svc-no { color: rgba(232,161,58,0.2); }
.svc-title { position: relative; z-index: 1; font-size: var(--fs-h3); margin-bottom: 0.6rem; color: var(--cream); }
.svc-text { position: relative; z-index: 1; color: rgba(245,240,230,0.78); font-size: 0.98rem; }
.svc-lead .svc-text { font-size: 1.05rem; }
.services-note {
  margin-top: 2rem;
  font-size: 1.02rem;
  color: var(--amber-soft);
  max-width: 60ch;
}
@media (max-width: 880px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- why ---------- */
.why { padding-block: var(--space-section); background: var(--cream-2); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 5vw, 5rem);
  align-items: start;
}
.why-copy { position: sticky; top: 100px; }
.why-list { display: grid; gap: 1rem; }
.why-item {
  display: flex;
  gap: 1.2rem;
  padding: 1.6rem;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-num {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--rust);
  font-weight: 700;
  flex: none;
  line-height: 1;
}
.why-h { font-size: 1.18rem; margin-bottom: 0.3rem; }
.why-item p { color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 880px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-copy { position: static; }
}

/* ---------- contact ---------- */
.contact { padding-block: var(--space-section); background: var(--paper); }
.contact-inner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(2.5rem, 1.5rem + 5vw, 5.5rem);
  color: var(--cream);
  isolation: isolate;
}
.contact-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 140% at 12% 0%, rgba(232,161,58,0.4), transparent 45%),
    radial-gradient(120% 140% at 100% 100%, rgba(199,91,44,0.45), transparent 50%),
    linear-gradient(150deg, var(--pine), var(--pine-deeper));
}
.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    transparent 0 30px,
    rgba(245,240,230,0.04) 30px 32px
  );
}
.contact-content { max-width: 640px; }
.contact-lead {
  font-size: var(--fs-lede);
  color: rgba(245,240,230,0.88);
  margin: 1.2rem 0 2rem;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.6rem; }
.contact-meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 2rem;
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line-light);
}
.contact-meta dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--amber-soft);
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.contact-meta dd { margin: 0; font-size: 0.98rem; color: var(--cream); }
.contact-meta a { color: var(--cream); text-decoration: none; }
.contact-meta a:hover { color: var(--amber-soft); }
@media (max-width: 620px) {
  .contact-meta { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--pine-deeper);
  color: rgba(245,240,230,0.78);
  padding-top: clamp(3rem, 2rem + 3vw, 4.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-name { color: var(--cream); display: block; font-size: 1.3rem; }
.footer-brand .brand-sub { display: block; margin-top: 0.2rem; }
.footer-tag { margin-top: 1rem; max-width: 38ch; font-size: 0.95rem; }
.footer-head {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--amber-soft);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.footer-col p { font-size: 0.96rem; line-height: 1.7; }
.footer-col a { color: var(--cream); text-decoration: none; }
.footer-col a:hover { color: var(--amber-soft); }
.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line-light);
  font-size: 0.85rem;
}
.to-top { color: var(--amber-soft); text-decoration: none; }
.to-top:hover { color: var(--cream); }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- spec footer ---------- */
.spec-footer {
  background: #0c1611;
  color: rgba(245,240,230,0.6);
  font-size: 0.82rem;
  text-align: center;
  padding: 1.1rem 1.2rem;
  line-height: 1.6;
}
.spec-footer a { color: var(--amber-soft); }

/* ---------- reveal animation ---------- */
/* Hidden state applies ONLY when JS is active (html.js). No JS = fully visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* stagger children within a group via index var set in JS */
.js .reveal[data-reveal] { transition-delay: calc(var(--rd, 0) * 80ms); }

/* The hero is the money shot: it animates in on LOAD via a keyframe with
   fill-mode both, so it appears ~1s after load regardless of the observer.
   It can never get stuck blank. */
.js .hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
  animation: hero-rise 0.95s var(--ease) both;
}
.js .hero .hero-eyebrow { animation-delay: 0.05s; }
.js .hero .hero-title   { animation-delay: 0.16s; }
.js .hero .hero-lead    { animation-delay: 0.30s; }
.js .hero .hero-actions { animation-delay: 0.42s; }
.js .hero .hero-proof   { animation-delay: 0.54s; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .hero .reveal { animation: none; }
  .btn, .svc, .why-item, .about-card, .site-nav a::after { transition: none; }
}
