:root {
  --cream: #f3ead3;
  --cream-deep: #e8dcb8;
  --forest: #1f3d2b;
  --forest-deep: #14291d;
  --rust: #b34a2a;
  --rust-deep: #8a3819;
  --pink: #d63384;
  --ink: #1a1a1a;
  --grass: #486f3a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html, body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Libre Caslon Text', Georgia, serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(120,90,40,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(80,50,20,0.06) 0%, transparent 50%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.3 0 0 0 0 0.15 0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.6;
}

/* ============ TOP BAR ============ */
.topbar {
  background: var(--forest-deep);
  color: var(--cream);
  font-family: 'Special Elite', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.55rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px double var(--cream-deep);
}
.topbar span { opacity: 0.85; }
.topbar .phone {
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  opacity: 1;
}
.topbar .phone:hover { color: #f5c98e; }

/* ============ NAV ============ */
nav {
  background: var(--cream);
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--forest);
  position: relative;
}
nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--forest);
  opacity: 0.4;
}
.brand {
  font-family: 'Alfa Slab One', serif;
  font-size: 1.7rem;
  color: var(--forest);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.brand .dot { color: var(--pink); }
.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  font-family: 'Bowlby One SC', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.nav-links a {
  color: var(--forest);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--rust); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 2.5rem 2rem 4rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'><path d='M0,60 L0,40 Q15,25 25,38 Q35,15 50,32 Q60,18 75,30 Q90,8 105,28 Q120,16 135,34 Q150,12 165,30 Q180,20 195,36 Q210,10 225,28 Q240,18 255,34 Q270,14 285,30 Q300,22 315,36 Q330,8 345,28 Q360,18 375,34 Q390,12 405,30 Q420,20 435,36 Q450,10 465,28 Q480,18 495,34 Q510,14 525,30 Q540,22 555,36 Q570,8 585,28 Q600,18 615,34 Q630,12 645,30 Q660,20 675,36 Q690,10 705,28 Q720,18 735,34 Q750,14 765,30 Q780,22 795,36 Q810,8 825,28 Q840,18 855,34 Q870,12 885,30 Q900,20 915,36 Q930,10 945,28 Q960,18 975,34 Q990,14 1005,30 Q1020,22 1035,36 Q1050,8 1065,28 Q1080,18 1095,34 Q1110,12 1125,30 Q1140,20 1155,36 Q1170,10 1185,28 Q1200,20 1200,40 L1200,60 Z' fill='%231f3d2b'/></svg>");
  background-size: 1200px 60px;
  background-repeat: repeat-x;
}

.hero-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
/* nudge the headline column left on desktop so the bigger sunburst
   doesn't bleed into 'Done Well.' — disabled on mobile (single column) */
@media (min-width: 881px) {
  .hero-grid > div:first-child { margin-left: -24px; }
}

.eyebrow {
  font-family: 'Special Elite', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.8rem;
  display: inline-block;
  padding-bottom: 0.35rem;
  border-bottom: 2px dashed var(--pink);
}

h1 {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.95;
  color: var(--forest);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
h1 .underline {
  display: inline-block;
  position: relative;
  color: var(--rust);
}
h1 .underline::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; bottom: 4px;
  height: 8px;
  background: var(--cream-deep);
  z-index: -1;
  transform: skew(-3deg);
}

.hero p.lead {
  font-size: 1.15rem;
  max-width: 36ch;
  margin-bottom: 1.4rem;
  color: #3a3026;
}

.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  background: var(--rust);
  color: var(--cream);
  font-family: 'Bowlby One SC', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  padding: 1rem 1.8rem;
  border: none;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--forest-deep);
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--forest-deep);
}
.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--forest-deep);
}

.btn-secondary {
  color: var(--forest);
  text-decoration: none;
  font-family: 'Special Elite', monospace;
  font-size: 1rem;
  border-bottom: 2px solid var(--forest);
  padding-bottom: 2px;
}
.btn-secondary:hover { color: var(--rust); border-color: var(--rust); }

/* big phone CTA in the hero */
.phone-hero {
  font-family: 'Bowlby One SC', sans-serif;
  font-size: clamp(1.9rem, 4.8vw, 3rem);
  color: var(--forest);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.04em;
  border-bottom: 4px solid var(--rust);
  padding-bottom: 0.15rem;
  transition: color 0.2s, border-color 0.2s, transform 0.15s;
}
.phone-hero:hover {
  color: var(--rust);
  border-color: var(--forest);
  transform: translateY(-2px);
}

/* mascot panel */
.mascot-wrap {
  position: relative;
  text-align: center;
}
.mascot-wrap img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* sunburst behind mascot */
.sunburst {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 640px;
  height: 640px;
  z-index: -1;
  opacity: 0.72;
  background: conic-gradient(
    from 0deg,
    var(--cream-deep) 0deg, var(--cream-deep) 12deg,
    transparent 12deg, transparent 30deg,
    var(--cream-deep) 30deg, var(--cream-deep) 42deg,
    transparent 42deg, transparent 60deg,
    var(--cream-deep) 60deg, var(--cream-deep) 72deg,
    transparent 72deg, transparent 90deg,
    var(--cream-deep) 90deg, var(--cream-deep) 102deg,
    transparent 102deg, transparent 120deg,
    var(--cream-deep) 120deg, var(--cream-deep) 132deg,
    transparent 132deg, transparent 150deg,
    var(--cream-deep) 150deg, var(--cream-deep) 162deg,
    transparent 162deg, transparent 180deg,
    var(--cream-deep) 180deg, var(--cream-deep) 192deg,
    transparent 192deg, transparent 210deg,
    var(--cream-deep) 210deg, var(--cream-deep) 222deg,
    transparent 222deg, transparent 240deg,
    var(--cream-deep) 240deg, var(--cream-deep) 252deg,
    transparent 252deg, transparent 270deg,
    var(--cream-deep) 270deg, var(--cream-deep) 282deg,
    transparent 282deg, transparent 300deg,
    var(--cream-deep) 300deg, var(--cream-deep) 312deg,
    transparent 312deg, transparent 330deg,
    var(--cream-deep) 330deg, var(--cream-deep) 342deg,
    transparent 342deg, transparent 360deg
  );
  border-radius: 50%;
  animation: spin 90s linear infinite;
}
@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* speech bubble */
.bubble {
  position: absolute;
  top: 8%;
  right: -10px;
  background: var(--cream);
  border: 3px solid var(--forest);
  padding: 0.9rem 1.2rem;
  font-family: 'Bowlby One SC', sans-serif;
  font-size: 1rem;
  color: var(--forest);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: rotate(4deg);
  box-shadow: 4px 4px 0 var(--rust);
  max-width: 200px;
  text-align: center;
  line-height: 1.2;
}
.bubble::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 30px;
  border: 12px solid transparent;
  border-top-color: var(--forest);
}
.bubble::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 32px;
  border: 10px solid transparent;
  border-top-color: var(--cream);
  z-index: 1;
}
.bubble .small {
  display: block;
  font-family: 'Special Elite', monospace;
  font-size: 0.7rem;
  margin-top: 0.3rem;
  color: var(--rust);
  letter-spacing: 0.15em;
}

/* ============ SERVICES ============ */
.services {
  background: var(--forest);
  color: var(--cream);
  padding: 5rem 2rem 6rem;
  position: relative;
}
.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.section-sub {
  text-align: center;
  font-family: 'Special Elite', monospace;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--pink);
  margin-bottom: 3.5rem;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--cream);
  color: var(--forest);
  padding: 2rem 1.6rem;
  border: 3px solid var(--forest-deep);
  box-shadow: 6px 6px 0 var(--rust);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.service-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--rust);
}
.service-card .num {
  font-family: 'Special Elite', monospace;
  color: var(--pink);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 0.5rem;
}
.service-card h3 {
  font-family: 'Bowlby One SC', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.service-card p {
  font-size: 0.95rem;
  color: #3a3026;
}

/* ============ CTA BANNER ============ */
.banner {
  background: var(--rust);
  color: var(--cream);
  padding: 1.8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--forest-deep);
  border-bottom: 4px solid var(--forest-deep);
}
.banner::before, .banner::after {
  content: "★";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: rgba(243, 234, 211, 0.15);
}
.banner::before { left: 5%; }
.banner::after { right: 5%; }
.banner h2 {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.banner h2 em {
  font-style: italic;
  color: #ffe7b3;
}
.banner .phone-big {
  font-family: 'Bowlby One SC', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--cream);
  text-decoration: none;
  display: inline-block;
  margin-top: 0.3rem;
  letter-spacing: 0.05em;
  border-bottom: 3px solid var(--cream);
  padding-bottom: 0.15rem;
  transition: color 0.2s, border-color 0.2s;
}
.banner .phone-big:hover {
  color: #ffe7b3;
  border-color: #ffe7b3;
}
.banner .tag {
  font-family: 'Special Elite', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 0.6rem;
  opacity: 0.85;
}

/* ============ ABOUT ============ */
.about {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}
.about-img {
  border: 4px solid var(--forest-deep);
  box-shadow: 8px 8px 0 var(--rust);
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  background: var(--forest);
  padding: 16px;            /* forest margin for the dashed stitching */
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* dashed cream "stitching" around the photo */
.about-img::after {
  content: "";
  position: absolute;
  inset: 8px;               /* sits 8px in from the solid border, 8px out from photo */
  border: 2px dashed var(--cream);
  pointer-events: none;
  z-index: 1;
}
.about h2 {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--forest);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.about p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: #3a3026;
}
.about p.signoff {
  font-family: 'Libre Caslon Text', serif;
  font-style: italic;
  margin-top: 1.5rem;
  color: var(--rust-deep);
}
.badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.badge {
  border: 2px solid var(--forest);
  padding: 0.5rem 0.9rem;
  font-family: 'Special Elite', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--cream);
}

/* ============ REFERRAL REWARD ============ */
.referral {
  background: var(--cream-deep);
  padding: 5rem 2rem 3rem;          /* extra top padding gives the speech bubble room to float above the dillo */
  border-top: 3px double var(--forest);
  border-bottom: 3px double var(--forest);
}
.referral-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 2rem;
  align-items: center;
}
.referral-mascot {
  position: relative;
  text-align: center;
}
.referral-mascot img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
}
/*
  Speech bubble math:
    - left column (.referral-mascot) is ~0.9fr of the 1100px grid → roughly 480-510px wide
    - dillo image is 300px wide, centered, so it occupies the middle ~300px of that column
    - bubble (max 210px) is positioned at top-right of the column:
        right: 6px  → stays inside column with a small inner margin (no spill into right copy column)
        top: -50px  → lifts above where the dillo starts; section now has 4rem top padding to receive it
    - tail (inherits left:30/32 from base .bubble) points down-left, landing on the dillo's right side
      (his face, since he's drawn facing right) — reads as a real speech bubble.
*/
.bubble-referral {
  position: absolute;
  top: -75px;
  right: 6px;
  left: auto;
  transform: rotate(3deg);
  max-width: 210px;
  z-index: 2;
}

.referral-copy { color: var(--forest); }
.referral-copy .lead {
  font-size: 1.1rem;
  margin: 0.8rem 0 1.3rem;
  color: #3a3026;
  max-width: 48ch;
}
.referral-copy .lead strong {
  font-family: 'Bowlby One SC', sans-serif;
  color: var(--rust);
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 1.1em;
  padding: 0 0.15em;
}
.howitworks-title {
  font-family: 'Bowlby One SC', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--forest);
  margin-bottom: 0.6rem;
}
.howitworks {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.howitworks li {
  font-size: 0.98rem;
  line-height: 1.45;
  color: #3a3026;
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  border-bottom: 1px dashed rgba(31, 61, 43, 0.18);
}
.howitworks li:last-child { border-bottom: none; }
.howitworks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: var(--pink);
  font-family: 'Special Elite', monospace;
  font-weight: bold;
  font-size: 0.95rem;
}

/* ============ GALLERY (video background) ============ */
.gallery {
  background: var(--forest-deep);   /* fallback before video loads / if browser blocks autoplay */
  padding: 2.2rem 2rem;
  min-height: 32vh;                 /* banner-style strip, not full panel */
  border-top: 3px double var(--forest);
  border-bottom: 3px double var(--forest);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.gallery-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
/* gradient tint: darker at top so the title reads, lighter below so the video shows */
.gallery-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(20,41,29,0.65) 0%,
    rgba(20,41,29,0.25) 45%,
    rgba(20,41,29,0.45) 100%);
  z-index: 1;
  pointer-events: none;
}
.gallery-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.gallery .section-title {
  color: var(--cream);
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
  margin-bottom: 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.gallery-item {
  border: 3px solid var(--forest-deep);
  box-shadow: 5px 5px 0 var(--rust);
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream);
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--rust);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ FREE QUOTE FORM ============ */
.quote {
  background: var(--forest);
  color: var(--cream);
  padding: 5rem 2rem 6rem;
}
.quote-inner {
  max-width: 720px;
  margin: 0 auto;
}
.quote .section-sub { color: var(--pink); }
.quote-form {
  background: var(--cream);
  color: var(--forest);
  border: 4px solid var(--forest-deep);
  box-shadow: 10px 10px 0 var(--rust);
  padding: 2.5rem 2rem;
  display: grid;
  gap: 1.2rem;
}
.quote-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.quote-form label {
  display: block;
  font-family: 'Special Elite', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.4rem;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: none;
  border-bottom: 2px solid var(--forest);
  padding: 0.6rem 0.2rem;
  outline: none;
  transition: border-color 0.2s;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--pink);
}

/* select dropdown — strip native chrome, add a forest chevron */
.quote-form select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 1.8rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1 L6 6 L11 1' stroke='%231f3d2b' stroke-width='2' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 12px 8px;
}
.quote-form select:invalid { color: #7a6f5e; } /* dim the "Pick one…" placeholder */

/* "What do you need?" checkbox group — styled like a label, then a grid of boxes */
.quote-form .field-label {
  display: block;
  font-family: 'Special Elite', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.6rem;
}
.quote-form .field-label em {
  font-style: normal;
  letter-spacing: 0.08em;
  opacity: 0.7;
}
.quote-form .checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.2rem;
}
.quote-form .check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  cursor: pointer;
  /* override the uppercase monospace field-label styling */
  font-family: 'Libre Caslon Text', Georgia, serif;
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
}
.quote-form .check input[type="checkbox"],
.quote-form .check input[type="radio"] {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  margin: 0;
  padding: 0;
  border: none;
  accent-color: var(--forest);
  cursor: pointer;
}
.quote-form .check input[type="checkbox"]:focus,
.quote-form .check input[type="radio"]:focus {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

/* preferred-contact radios sit in a single inline row */
.quote-form .radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.8rem;
}

.quote-form textarea {
  resize: vertical;
  min-height: 120px;
  border: 2px solid var(--forest);
  padding: 0.7rem;
}
/* small notes textarea sits next to the service dropdown — half the height */
.quote-form textarea[name="notes"] {
  min-height: 60px;
}
.quote-form .submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}
.quote-form .note {
  font-family: 'Special Elite', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: #3a3026;
  opacity: 0.75;
}

/* form result message — shown after submit */
.form-result {
  font-family: 'Special Elite', monospace;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 1rem;
  border: 2px solid;
  margin-top: 0.4rem;
  display: none;
}
.form-result.sending,
.form-result.success,
.form-result.error { display: block; }
.form-result.sending {
  color: var(--forest);
  border-color: var(--forest);
  background: var(--cream-deep);
}
.form-result.success {
  color: var(--forest);
  border-color: var(--forest);
  background: #d8e8d2;
}
.form-result.error {
  color: var(--rust-deep);
  border-color: var(--rust);
  background: #f5dccf;
}

/* ============ FOOTER ============ */
footer {
  background: var(--forest-deep);
  color: var(--cream);
  padding: 3rem 2rem 2rem;
  text-align: center;
  border-top: 4px double var(--cream-deep);
}
footer .foot-brand {
  font-family: 'Alfa Slab One', serif;
  font-size: 2rem;
  color: var(--cream);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
footer .foot-brand .dot { color: var(--pink); }
footer .foot-tag {
  font-family: 'Special Elite', monospace;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #f5c98e;
  margin-bottom: 2rem;
}
footer .foot-cols {
  max-width: 800px;
  margin: 0 auto 2rem;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: left;
}
footer .foot-cols h4 {
  font-family: 'Bowlby One SC', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  color: #f5c98e;
}
footer .foot-cols div {
  font-size: 0.9rem;
  line-height: 1.8;
}
footer .foot-cols a {
  color: var(--cream);
  text-decoration: none;
}
footer .foot-cols a:hover { color: #f5c98e; }
footer .copyright {
  font-family: 'Special Elite', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  opacity: 0.6;
  border-top: 1px solid rgba(243, 234, 211, 0.2);
  padding-top: 1.5rem;
  margin-top: 1rem;
}

/* ============ RESPONSIVE ============ */
/* tablets and small laptops: collapse two-column layouts, shrink mascot, keep nav visible */
@media (max-width: 880px) {
  .topbar { font-size: 0.7rem; padding: 0.5rem 1.1rem; letter-spacing: 0.1em; }
  .topbar span:first-child { display: none; }

  nav { padding: 0.9rem 1.1rem; flex-wrap: wrap; gap: 0.6rem 1rem; }
  .brand { font-size: 1.45rem; }
  .nav-links {
    gap: 1.4rem;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .hero { padding: 2.2rem 1.1rem 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .cta-row { justify-content: center; }   /* center the phone CTA above the mascot */
  .mascot-wrap img { max-width: 320px; }
  .sunburst { width: 420px; height: 420px; }
  .bubble { right: 10px; max-width: 160px; font-size: 0.85rem; }

  .section-sub { margin-bottom: 2.4rem; }
  .services, .quote, .gallery { padding: 2.8rem 1.1rem 3.2rem; }
  .banner { padding: 2rem 1.1rem; }
  .banner::before, .banner::after { display: none; }

  .about {
    grid-template-columns: 1fr;
    padding: 2.8rem 1.1rem;
    gap: 1.8rem;
  }

  .referral { padding: 2.2rem 1.1rem 2.4rem; }
  .referral-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .referral-mascot { padding-left: 0.5rem; }     /* small left inset */
  .referral-mascot img {
    max-width: 200px;
    margin: 0 auto 0 0;                          /* left-align dillo so the bubble has clear space on the right */
  }
  .bubble-referral {
    top: -4px;
    left: auto;
    right: 4%;
    max-width: 170px;
    font-size: 0.85rem;
    transform: rotate(7deg);                     /* stronger tilt on mobile reads more cartoonish/quote-like */
  }
  .about-img {
    aspect-ratio: 3/4;        /* taller than the desktop ratio so the portrait crew photo crops less */
    max-width: 340px;
    margin: 0 auto;
  }
  .about-img img { object-position: center 50%; }   /* even crop top/bottom — heads in frame, wheels near bottom */

  .quote-form { padding: 1.8rem 1.2rem; box-shadow: 6px 6px 0 var(--rust); }
  .quote-form .row { grid-template-columns: 1fr; gap: 1rem; }
  .quote-form .submit-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  footer { padding: 2.5rem 1.1rem 1.5rem; }
  footer .foot-cols {
    justify-content: center;
    gap: 2rem;
    text-align: center;
  }
}

/* phones: tighten further, allow nav links to wrap to their own row */
@media (max-width: 520px) {
  .topbar {
    font-size: 0.6rem;
    padding: 0.45rem 0.9rem;
    letter-spacing: 0.06em;
  }

  nav { padding: 0.8rem 0.9rem; }
  .brand { font-size: 1.3rem; }
  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 0.4rem;
    font-size: 0.66rem;
    letter-spacing: 0.04em;
  }

  .hero { padding: 2rem 0.9rem 4rem; }
  .hero p.lead { font-size: 1rem; }
  .mascot-wrap img { max-width: 240px; }
  .sunburst { width: 320px; height: 320px; }
  .bubble {
    top: 4%;
    right: 0;
    max-width: 140px;
    font-size: 0.75rem;
    padding: 0.6rem 0.9rem;
  }

  .services, .quote, .gallery { padding: 3rem 0.9rem 3.5rem; }
  .about { padding: 3rem 0.9rem; }
  .banner { padding: 1.8rem 0.9rem; }

  .section-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .section-sub { margin-bottom: 2.5rem; }

  .service-card { padding: 1.6rem 1.2rem; }
  .quote-form { padding: 1.4rem 1rem; }
  .quote-form input,
  .quote-form textarea { font-size: 0.95rem; }

  footer .foot-brand { font-size: 1.7rem; }
  footer .foot-cols { gap: 1.6rem; }
  footer .copyright {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }
}

/* entrance animations */
.fade-up {
  animation: fadeUp 0.8s ease-out both;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.wiggle {
  animation: wiggle 4s ease-in-out infinite;
}
@keyframes wiggle {
  0%, 100% { transform: rotate(4deg); }
  50% { transform: rotate(-2deg); }
}
