/* ============================================================
   ARTURO'S LANDSCAPING — site.css
   Palette: ink #15130F · pine #164A2C/#2E7D4F · orange #F4641D · paper #F3EFE4
   Type:    Rubik Dirt (display) · Permanent Marker (accents) · Barlow (body)
   ============================================================ */

:root {
  --ink: #15130F;
  --ink-2: #1E1B15;
  --ink-3: #26221A;
  --pine: #164A2C;
  --pine-2: #1B5B36;
  --green: #2E7D4F;
  --green-band: rgba(46, 125, 79, 0.92);
  --orange: #F4641D;
  --orange-dark: #D0500F;
  --paper: #F3EFE4;
  --paper-dark: #EAE5D6;
  --white: #FFFFFF;
  --body-on-dark: #E8E4DA;
  --body-on-light: #2B271E;
  --radius-card: 22px;
  --nav-h: 72px;
  --tear-h: clamp(34px, 6vw, 110px); /* tall cap so "slice" scaling never clips blade tips on wide screens */
  /* speckle textures (tiny inline SVGs, tiled) */
  --speckle-dark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='90'><g fill='%23000000' opacity='0.16'><circle cx='11' cy='14' r='2'/><circle cx='39' cy='8' r='1.4'/><circle cx='70' cy='19' r='2.2'/><circle cx='24' cy='42' r='1.6'/><circle cx='57' cy='38' r='2'/><circle cx='83' cy='49' r='1.3'/><circle cx='14' cy='68' r='2.1'/><circle cx='44' cy='74' r='1.5'/><circle cx='74' cy='79' r='2'/><circle cx='60' cy='58' r='1.2'/></g></svg>");
  --halftone: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='26'><circle cx='4' cy='4' r='2.1' fill='%23000'/><circle cx='17' cy='17' r='2.1' fill='%23000'/></svg>");
}

/* ---------- reset-ish ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body-on-dark);
  background: var(--ink);
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
section { position: relative; }
h1, h2, h3 { line-height: 1.05; font-weight: 400; }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; position: relative; z-index: 2; }
.center { text-align: center; }

/* section anchors clear the fixed nav */
section[id], footer[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }

/* ---------- type ---------- */
.display {
  font-family: 'Rubik Dirt', 'Barlow', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--white);
  font-size: clamp(2.1rem, 7.2vw, 4.2rem);
}
h3.display { font-size: clamp(1.1rem, 3vw, 1.45rem); }
.display.ink { color: var(--ink); }
.marker { font-family: 'Permanent Marker', cursive; }
.eyebrow {
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  letter-spacing: 0.04em;
  margin-bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.eyebrow.orange { color: var(--orange); }
.eyebrow.green { color: var(--green); }
.eyebrow.ink-eyebrow { color: var(--ink); }
.accent { color: var(--orange); }
.green-text { color: var(--green); }
.body-copy { max-width: 60ch; }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--orange); color: var(--ink); font-weight: 800;
  padding: 0.7rem 1.2rem; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0.85rem 2.1rem;
  border-radius: 999px;
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.06em;
  text-transform: uppercase;
  background-image: var(--speckle-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  text-align: center;
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28); }
.pill:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.pill-orange { background-color: var(--orange); color: var(--ink); }
.pill-orange:hover { background-color: var(--orange-dark); }
.pill-green { background-color: var(--green); color: var(--white); }
.pill-green:hover { background-color: #276B43; }
.pill-pine { background-color: var(--pine); color: var(--white); width: 100%; }
.pill-pine:hover { background-color: var(--pine-2); }
.pill-ghost {
  background: rgba(255, 255, 255, 0.1); background-image: none;
  color: var(--white); border: 2px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(3px);
}
.pill-ghost:hover { background: rgba(255, 255, 255, 0.22); }
.pill-sm { min-height: 44px; padding: 0.55rem 1.4rem; font-size: 0.85rem; }

/* ---------- nav ---------- */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(180deg, rgba(10, 9, 6, 0.55), rgba(10, 9, 6, 0));
}
.site-nav.scrolled {
  background: rgba(18, 16, 11, 0.96);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}
.nav-inner {
  width: min(1240px, 100% - 2rem); margin-inline: auto;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-mark { width: 40px; height: 40px; flex: none; border-radius: 9px; }
.brand-text {
  font-family: 'Rubik Dirt', sans-serif; color: var(--white);
  font-size: 1.25rem; line-height: 0.9; letter-spacing: 0.02em;
  display: flex; flex-direction: column;
}
.brand-text small {
  font-family: 'Barlow', sans-serif; font-weight: 800; font-size: 0.58rem;
  letter-spacing: 0.42em; color: var(--orange); margin-top: 3px;
}
.nav-links { display: none; gap: 1.6rem; }
.nav-links a {
  color: var(--white); font-weight: 600; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.4rem 0.1rem; border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover { color: var(--orange); border-color: var(--orange); }
.nav-cta { display: flex; align-items: center; gap: 0.9rem; }
.nav-phone {
  display: none; align-items: center; gap: 0.45rem;
  color: var(--white); font-weight: 800; font-size: 0.95rem;
  transition: color 0.2s ease;
}
.nav-phone svg { width: 17px; height: 17px; }
.nav-phone:hover { color: var(--orange); }
.nav-cta .pill-sm { display: none; }

.hamburger {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--orange);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span { display: block; width: 20px; height: 2.6px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: linear-gradient(180deg, #17150F, #100E09);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem;
  padding: calc(var(--nav-h) + 1rem) 1.5rem 2rem;
  text-align: center;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.mobile-menu nav a {
  font-family: 'Rubik Dirt', sans-serif; color: var(--white);
  font-size: clamp(1.9rem, 8vw, 2.6rem); padding: 0.35rem 1rem;
  transition: color 0.2s ease;
}
.mobile-menu nav a:hover { color: var(--orange); }
.menu-phone { color: var(--orange); font-size: 1.5rem; margin-top: 0.6rem; }
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh; /* fallback for browsers without svh */
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 calc(var(--tear-h) + 3.5rem);
  overflow: hidden;
  background: var(--ink);
}
.hero-poster, .hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-video { opacity: 0; transition: opacity 0.8s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(12, 10, 6, 0.66) 0%, rgba(12, 10, 6, 0.45) 45%, rgba(12, 10, 6, 0.72) 100%);
}
.hero-content { text-align: center; }
.hero .eyebrow { color: var(--orange); font-size: clamp(1.15rem, 3.4vw, 1.5rem); }
.hero h1 { font-size: clamp(2.6rem, 10.5vw, 5.4rem); text-shadow: 0 4px 26px rgba(0, 0, 0, 0.55); }
.hero-sub {
  margin: 1.1rem auto 1.8rem; max-width: 34rem;
  font-size: clamp(1rem, 2.9vw, 1.2rem); color: var(--body-on-dark);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.hero-sub strong { color: var(--white); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* ---------- torn dividers ---------- */
.tear {
  position: absolute; left: 0; right: 0; z-index: 5;
  height: var(--tear-h); pointer-events: none;
  line-height: 0;
}
.tear-bottom { bottom: -1px; }
.tear svg { width: 100%; height: 100%; }
/* each tear is filled with the TOP gradient stop of the section that follows it */
.tear-orange svg { fill: #F96B24; }
.tear-ink svg { fill: #17150F; }
.tear-paper svg { fill: var(--paper); }
.tear-pine svg { fill: #1B5B36; }
.sec-quote .tear-ink svg { fill: #131109; } /* next section is the footer */

/* ---------- orange band ---------- */
.band-orange {
  background: linear-gradient(180deg, #F96B24, #E85C13);
  color: var(--ink);
  padding: 3.6rem 0 calc(var(--tear-h) + 3.2rem);
}
.band-orange .display { font-size: clamp(1.9rem, 6.4vw, 3.4rem); }
.band-sub {
  margin: 1rem auto 1.7rem; max-width: 36rem;
  font-weight: 600; font-size: clamp(1rem, 2.8vw, 1.15rem); color: #3A1D06;
}

/* halftone corner patches */
.halftone {
  position: absolute; width: clamp(130px, 24vw, 300px); height: clamp(100px, 16vw, 210px);
  background-image: var(--halftone); opacity: 0.14; pointer-events: none; z-index: 1;
}
.ht-tl { top: 0; left: 0; -webkit-mask-image: radial-gradient(circle at 0 0, #000 30%, transparent 72%); mask-image: radial-gradient(circle at 0 0, #000 30%, transparent 72%); }
.ht-tr { top: 0; right: 0; -webkit-mask-image: radial-gradient(circle at 100% 0, #000 30%, transparent 72%); mask-image: radial-gradient(circle at 100% 0, #000 30%, transparent 72%); }
.ht-bl { bottom: var(--tear-h); left: 0; -webkit-mask-image: radial-gradient(circle at 0 100%, #000 30%, transparent 72%); mask-image: radial-gradient(circle at 0 100%, #000 30%, transparent 72%); }
.ht-br { bottom: var(--tear-h); right: 0; -webkit-mask-image: radial-gradient(circle at 100% 100%, #000 30%, transparent 72%); mask-image: radial-gradient(circle at 100% 100%, #000 30%, transparent 72%); }
.sec-pine .halftone, .sec-ink .halftone { opacity: 0.1; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='26'><circle cx='4' cy='4' r='2.1' fill='%23ffffff'/><circle cx='17' cy='17' r='2.1' fill='%23ffffff'/></svg>"); }

/* ---------- dark sections: gradient + noise (never flat) ---------- */
.sec-ink {
  background: linear-gradient(180deg, #17150F 0%, #121009 100%);
  padding: 4.2rem 0 calc(var(--tear-h) + 3.6rem);
}
.noise-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}

/* ---------- about ---------- */
.about-grid { display: grid; gap: 2.6rem; align-items: center; }
.about-photo { position: relative; max-width: 460px; margin-inline: auto; }
.about-photo img {
  position: relative; z-index: 2; width: 100%; height: auto;
  border-radius: var(--radius-card);
  clip-path: polygon(3% 1%, 97% 0%, 100% 6%, 98% 95%, 94% 100%, 4% 99%, 0% 93%, 1% 5%);
}
.splat { position: absolute; z-index: 1; inset: -7% -9% auto auto; width: 62%; opacity: 0.9; }
.splat svg { width: 100%; height: auto; }
.ht-photo {
  position: absolute; z-index: 3; width: 46%; height: 34%;
  left: -6%; bottom: -5%; top: auto; right: auto;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='26'><circle cx='4' cy='4' r='2.1' fill='%23F4641D'/><circle cx='17' cy='17' r='2.1' fill='%23F4641D'/></svg>");
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(circle at 0 100%, #000 30%, transparent 75%);
  mask-image: radial-gradient(circle at 0 100%, #000 30%, transparent 75%);
}
.about-copy .display { margin-bottom: 1.1rem; }
.about-copy .body-copy { color: var(--body-on-dark); }
.stats { display: flex; gap: 1.9rem; flex-wrap: wrap; margin: 1.7rem 0 1.9rem; }
.stat { display: flex; flex-direction: column; gap: 0.15rem; }
.stat-num { font-size: clamp(2rem, 6vw, 2.9rem); color: var(--orange); }
.stat-label { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.09em; color: rgba(232, 228, 218, 0.75); line-height: 1.3; }

/* ---------- services ---------- */
.sec-paper {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-dark) 100%);
  color: var(--body-on-light);
  padding: 4.2rem 0 calc(var(--tear-h) + 3.6rem);
}
.services-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.4rem; margin-bottom: 2.4rem;
}
.cards { display: grid; gap: 1.7rem; grid-template-columns: 1fr; }
.card {
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 14px 34px rgba(21, 19, 15, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(21, 19, 15, 0.28); }
.card-photo { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.card:hover .card-photo img { transform: scale(1.05); }
.card-band {
  position: absolute; top: 9%; left: 0; right: 0; z-index: 2;
  background: var(--green-band);
  color: var(--white); text-align: center;
  padding: 0.55rem 0.8rem;
  letter-spacing: 0.06em;
}
.card-copy { padding: 1.1rem 1.3rem 0.4rem; color: var(--body-on-dark); font-size: 0.98rem; flex: 1; }
.pill-card { margin: 0.9rem 1.3rem 1.3rem; align-self: flex-start; }
/* mobile: show 3 services, expand on demand */
.see-more-wrap { display: none; text-align: center; margin-top: 1.7rem; }
@media (max-width: 559px) {
  .cards:not(.expanded) .card:nth-child(n+4) { display: none; }
  .cards:not(.expanded) + .see-more-wrap { display: block; }
}

/* ---------- why us (pine) ---------- */
.sec-pine {
  background: linear-gradient(180deg, var(--pine-2) 0%, var(--pine) 100%);
  padding: 4.2rem 0 calc(var(--tear-h) + 3.6rem);
}
.sec-pine .eyebrow { color: #FFB27A; }
.checklist {
  list-style: none;
  display: grid; gap: 1.05rem; justify-content: center;
  margin: 2rem auto 2.3rem; max-width: 480px; text-align: left;
}
.checklist li { display: flex; align-items: center; gap: 0.9rem; }
.check { width: 30px; height: 30px; flex: none; color: var(--orange); filter: drop-shadow(0 1px 0 rgba(0,0,0,0.3)); }
.checklist .marker { font-size: clamp(1.05rem, 3vw, 1.3rem); color: var(--white); }
/* desktop: the checklist becomes a row of cards (mobile keeps the list) */
@media (min-width: 900px) {
  .checklist {
    max-width: 1080px; width: 100%;
    grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
    align-items: stretch; justify-content: stretch;
    margin: 2.6rem auto 2.6rem;
  }
  .checklist li {
    flex-direction: column; justify-content: flex-start; text-align: center; gap: 1.1rem;
    background: linear-gradient(180deg, rgba(10, 30, 18, 0.42), rgba(8, 24, 14, 0.55));
    border: 1px solid rgba(243, 239, 228, 0.16);
    border-radius: 20px;
    padding: 1.9rem 1.3rem 1.7rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
  }
  .checklist li:hover { transform: translateY(-5px); border-color: rgba(244, 100, 29, 0.55); }
  .checklist .check {
    width: 58px; height: 58px; padding: 14px;
    background: rgba(244, 100, 29, 0.16);
    border: 1px solid rgba(244, 100, 29, 0.4);
    border-radius: 50%;
  }
  .checklist .marker { font-size: 1.15rem; line-height: 1.35; }
}

/* ---------- reviews ---------- */
.review-card {
  background: linear-gradient(180deg, #211D15, #191611);
  border: 1px solid rgba(243, 239, 228, 0.07);
  border-radius: 30px;
  padding: clamp(1.8rem, 5vw, 3.2rem);
  max-width: 780px; margin-inline: auto;
}
.review-sub { color: rgba(232, 228, 218, 0.8); margin-top: 0.7rem; }
.stars { display: flex; justify-content: center; gap: 0.3rem; margin: 1.4rem 0 0.4rem; }
.stars svg { width: 30px; height: 30px; fill: var(--orange); }
.quote-rotator { position: relative; min-height: 190px; }
.quote {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(8px);
  visibility: hidden;
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0s linear 0.45s;
  pointer-events: none;
  display: flex; flex-direction: column; justify-content: center; gap: 0.8rem;
}
.quote.is-active {
  opacity: 1; transform: none; pointer-events: auto;
  visibility: visible; transition-delay: 0s;
}
.quote p { font-style: italic; font-size: clamp(1.05rem, 3vw, 1.3rem); color: var(--white); max-width: 46ch; margin-inline: auto; }
.quote footer { font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); }
.quote-nav { display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin: 1.1rem 0 1.7rem; }
.qarrow {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(243, 239, 228, 0.07);
  border: 1px solid rgba(243, 239, 228, 0.18);
  color: var(--body-on-dark);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.qarrow svg { width: 22px; height: 22px; }
.qarrow:hover { background: var(--orange); color: var(--ink); transform: scale(1.06); }
.qarrow:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.quote-dots { display: flex; justify-content: center; gap: 0.6rem; }
.dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(243, 239, 228, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.dot:hover { background: rgba(243, 239, 228, 0.5); }
.dot.is-active { background: var(--orange); transform: scale(1.25); }
.dot:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- quote / CTA ---------- */
.sec-quote { padding-top: 4.2rem; }
.quote-grid { display: grid; gap: 2.6rem; align-items: start; }
.quote-lede { max-width: 34rem; font-weight: 600; color: #3A1D06; margin-bottom: 1.6rem; }
.big-phone {
  display: inline-block; font-size: clamp(1.9rem, 7vw, 2.7rem); color: var(--ink);
  transition: transform 0.2s ease;
}
.big-phone:hover { transform: rotate(-1.5deg) scale(1.02); }
.quote-hours { font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; color: #3A1D06; margin-top: 0.4rem; }
.quote-photo { margin-top: 1.8rem; max-width: 400px; display: none; }
.quote-photo img {
  width: 100%; height: auto; /* keep the 16:9 aspect — never stretch */
  border-radius: var(--radius-card);
  clip-path: polygon(2% 2%, 98% 0%, 100% 8%, 99% 94%, 95% 100%, 3% 98%, 0% 91%, 1% 6%);
  box-shadow: 0 18px 40px rgba(58, 29, 6, 0.3);
}
.quote-photo figcaption { margin-top: 0.7rem; color: var(--ink); font-size: 1.25rem; transform: rotate(-2deg); }
@media (min-width: 900px) { .quote-photo { display: block; } }
.quote-form {
  background: var(--paper);
  border-radius: var(--radius-card);
  padding: clamp(1.4rem, 4vw, 2.1rem);
  box-shadow: 0 24px 54px rgba(58, 29, 6, 0.35);
  color: var(--body-on-light);
}
.form-title { color: var(--ink); margin-bottom: 1.2rem; font-size: clamp(1.4rem, 4vw, 1.8rem); }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.field-row { display: grid; gap: 1rem 0.9rem; grid-template-columns: 1fr; }
.field label { font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.09em; color: #4A4436; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink);
  background: var(--white);
  border: 2px solid #D8D1BE; border-radius: 12px;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 125, 79, 0.25);
}
.field input.invalid, .field select.invalid { border-color: #C2410C; box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.2); }
.form-submit { width: 100%; margin-top: 0.3rem; }
.form-note { min-height: 1.4em; margin-top: 0.7rem; font-weight: 600; font-size: 0.92rem; color: var(--pine); text-align: center; }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #131109 0%, #0E0C07 100%);
  padding: 4rem 0 0;
}
.footer-grid { display: grid; gap: 2.4rem; padding-bottom: 2.6rem; }
.footer-blurb { color: rgba(232, 228, 218, 0.75); margin: 1rem 0 1.2rem; max-width: 30ch; }
.socials { display: flex; gap: 0.8rem; }
.socials a {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(243, 239, 228, 0.07);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.socials a:hover { background: var(--orange); transform: translateY(-2px); }
.socials a:hover svg { fill: var(--ink); }
.socials svg { width: 20px; height: 20px; fill: var(--body-on-dark); transition: fill 0.2s ease; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links h3, .footer-contact h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.footer-links a, .footer-contact a { color: rgba(232, 228, 218, 0.85); transition: color 0.2s ease; width: fit-content; }
.footer-links a:hover, .footer-contact a:hover { color: var(--orange); }
.footer-contact p { color: rgba(232, 228, 218, 0.6); }
.footer-bottom {
  padding: 0.5rem 0 1.6rem; text-align: center;
  font-size: 0.88rem; color: rgba(232, 228, 218, 0.55);
  position: relative; z-index: 2;
}

/* ---------- reveal animations ---------- */
/* only hide reveal content when JS is actually running (html.js set inline in <head>) */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }
.cards .card:nth-child(2) { transition-delay: 0.08s; }
.cards .card:nth-child(3) { transition-delay: 0.16s; }
.cards .card:nth-child(5) { transition-delay: 0.08s; }
.cards .card:nth-child(6) { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .pill, .card-photo img { transition: none; }
  .quote { transition: none; }
}

/* ---------- breakpoints ---------- */
@media (min-width: 560px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-phone { display: inline-flex; }
  .nav-cta .pill-sm { display: inline-flex; }
  .hamburger { display: none; }
  .mobile-menu { display: none !important; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 3.4rem; }
  .about-photo { margin-inline: 0; }
  .hero-content { text-align: left; }
  .hero-sub { margin-inline: 0; }
  .hero-ctas { justify-content: flex-start; }
  .quote-grid { grid-template-columns: 1fr 1fr; gap: 3.2rem; }
  .footer-grid { grid-template-columns: 1.3fr 0.7fr 1fr; }
}
