/* ==========================================================================
   DoCrew  |  styles.css
   Palette and type follow the Brand Visual Direction sheet.
   ========================================================================== */

:root {
  --green: #0B2D1B;
  --green-dark: #072A09;
  --green-2: #2E5D3A;
  --gold: #F4B400;
  --gold-hover: #FFC21A;
  --gold-text: #7A5600;
  --charcoal: #111111;
  --charcoal-2: #262526;
  --gray: #D9D9D6;
  --gray-2: #EFEEEA;
  --off-white: #FBF7F4;
  --white: #FFFFFF;
  --ink: #1B1B1B;
  --muted: #55605A;

  --pad: #FFF4AE;
  --pad-dark: #F6E68A;
  --pad-line: #B8C7DA;
  --pad-margin: #E98A8A;
  --pad-binding: #3B2A1A;

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;

  --container: 1180px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 44px rgba(11, 45, 27, 0.16);
  --shadow-sm: 0 6px 18px rgba(11, 45, 27, 0.10);
  --header-h: 92px;
  --cta-bar-h: 76px;

  color-scheme: light;
}

/* --------------------------------------------------------------------------
   Reset and base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--off-white);
}
img, svg, picture { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--green-2); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--green); }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 0.45em;
}
h1 { font-size: clamp(3rem, 8vw, 5.6rem); }
h2 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); }
.gold { color: var(--gold); }
.hand-gold {
  font-family: var(--font-hand); text-transform: none; font-weight: 700; color: var(--gold);
  font-size: 1.22em; line-height: 0.9; letter-spacing: 0;
}
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--gold); color: var(--charcoal); padding: 10px 14px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-dark { background: var(--green); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .lead { color: rgba(255,255,255,0.8); }
.section-gray { background: var(--gray-2); }
.section-white { background: var(--white); }

.section-head { max-width: 880px; margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }
.section-head .lead { font-size: 1.12rem; }

/* Honeycomb texture */
.honeycomb { position: relative; isolation: isolate; }
.honeycomb::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='90' viewBox='0 0 52 90'%3E%3Cpath d='M26 0 L52 15 L52 45 L26 60 L0 45 L0 15 Z M26 60 L26 90' fill='none' stroke='%23F4B400' stroke-opacity='0.16' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 52px 90px;
  mask-image: radial-gradient(ellipse at 20% 30%, rgba(0,0,0,0.9), rgba(0,0,0,0) 70%);
  -webkit-mask-image: radial-gradient(ellipse at 20% 30%, rgba(0,0,0,0.9), rgba(0,0,0,0) 70%);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 1rem 1.5rem; border-radius: var(--radius-sm); border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 1.2rem; line-height: 1; text-decoration: none; min-height: 54px;
  transition: transform 0.12s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold); color: var(--charcoal); box-shadow: 0 8px 20px rgba(244,180,0,0.35); }
.btn-gold:hover { background: var(--gold-hover); color: var(--charcoal); box-shadow: 0 10px 24px rgba(244,180,0,0.45); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-2); color: var(--white); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-outline-light { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.75); backdrop-filter: blur(6px); }
.btn-outline-light:hover { background: var(--white); color: var(--green); border-color: var(--white); }
.btn-sm { padding: 0.65rem 1rem; font-size: 1.02rem; min-height: 44px; border-radius: 11px; }
.btn-lg { padding: 1.2rem 1.9rem; font-size: 1.4rem; min-height: 62px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--green); color: var(--white);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h);
}
.brand { display: flex; align-items: center; text-decoration: none; color: var(--white); flex: none; }
.brand img { height: 82px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35)); }
@media (max-width: 640px) { :root { --header-h: 80px; } .brand img { height: 62px; } }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) {
  color: var(--white); text-decoration: none; font-weight: 600; font-size: 1.02rem;
  padding: 6px 0; border-bottom: 3px solid transparent;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--gold); }
.nav .phone { display: inline-flex; align-items: center; gap: 8px; }
.nav .phone svg { width: 18px; height: 18px; color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.nav-toggle {
  display: none; background: transparent; border: 2px solid rgba(255,255,255,0.55); color: var(--white);
  border-radius: 12px; width: 48px; height: 48px; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
.header-call {
  display: none; width: 48px; height: 48px; border-radius: 12px; background: var(--green-2); color: var(--white);
  align-items: center; justify-content: center;
}
.header-call svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .nav-toggle, .header-call { display: inline-flex; }
  .header-actions .btn { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--green-dark);
    flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1.25rem 1.25rem;
    border-bottom: 4px solid var(--gold); display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 1.15rem; }
  .nav .btn { margin-top: 1rem; }
}
@media (min-width: 901px) { .nav .btn { display: none; } }

/* --------------------------------------------------------------------------
   Hero (home): full-bleed photo with content over the sunset side
   -------------------------------------------------------------------------- */
.hero {
  position: relative; color: var(--white); overflow: hidden; background: var(--green-dark);
  min-height: min(88vh, 760px); display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg picture { display: block; width: 100%; height: 100%; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(7,42,9,0.92) 0%, rgba(7,42,9,0.72) 38%, rgba(7,42,9,0.15) 70%, rgba(7,42,9,0) 100%),
    linear-gradient(180deg, rgba(7,42,9,0.15) 0%, rgba(7,42,9,0) 30%, rgba(7,42,9,0.55) 100%);
}
.hero .container { position: relative; z-index: 2; padding: clamp(3rem, 8vw, 6rem) 0; }
.hero-copy { max-width: 620px; }
.hero h1 { color: var(--white); margin-bottom: 0.9rem; text-shadow: 0 4px 24px rgba(0,0,0,0.35); }
.hero h1 .gold { color: var(--gold); }
.hero .lead { color: rgba(255,255,255,0.9); font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 40ch; margin-bottom: 1.6rem; }
.hero .btn-row { gap: 0.9rem; }
@media (max-width: 640px) {
  /* Phone: the photo becomes a banner across the top (truck in full view), the copy sits on green below it */
  .hero { min-height: auto; }
  .hero-bg { height: 66vw; inset: 0 0 auto 0; }
  .hero-bg img { object-position: center center; }
  .hero::after {
    background: linear-gradient(180deg, rgba(7,42,9,0.1) 0%, rgba(7,42,9,0) 30vw, rgba(7,42,9,0.55) 54vw, rgba(7,42,9,0.97) 66vw, var(--green-dark) 100%);
  }
  .hero .container { padding: 52vw 0 2.4rem; }
  .hero .btn-row { flex-direction: column; align-items: stretch; }
  .hero .btn { width: 100%; }
}

/* Page hero (interior pages) */
.page-hero { background: var(--green); color: var(--white); padding: clamp(2.2rem, 5vw, 3.6rem) 0; }
.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; font-size: clamp(2.6rem, 6vw, 4.2rem); }
.page-hero .lead { color: rgba(255,255,255,0.85); max-width: 56ch; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Who it's for: icon tiles
   -------------------------------------------------------------------------- */
.who-grid { display: grid; gap: 0.8rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .who-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1000px) { .who-grid { grid-template-columns: repeat(6, 1fr); } }
.who {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.7rem; text-decoration: none; color: var(--ink);
  background: var(--white); border-radius: var(--radius-sm); padding: 1.1rem 1rem 1.15rem; box-shadow: var(--shadow-sm);
  border: 2px solid transparent; transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.who:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); color: var(--ink); }
.who strong { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 1.35rem; line-height: 1; color: var(--green); }
.who span { font-size: 0.92rem; color: var(--muted); line-height: 1.4; }

/* Hex icon */
.hex-icon {
  width: 72px; height: 72px; display: grid; place-items: center; flex: none;
  clip-path: polygon(50% 0, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  background: var(--gold); position: relative;
}
.hex-icon::before {
  content: ""; position: absolute; inset: 4px;
  clip-path: polygon(50% 0, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  background: var(--green);
}
.hex-icon svg { position: relative; width: 36px; height: 36px; color: var(--white); }
.hex-icon.lg { width: 84px; height: 84px; }
.hex-icon.lg svg { width: 40px; height: 40px; }

/* --------------------------------------------------------------------------
   Photo tiles (three ways, services)
   -------------------------------------------------------------------------- */
.tiles { display: grid; gap: 1rem; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.tile {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--green);
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--white);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
a.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--white); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
a.tile:hover img { transform: scale(1.04); }
.tile-text {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 3.2rem 1.4rem 1.3rem;
  background: linear-gradient(180deg, rgba(11,45,27,0) 0%, rgba(11,45,27,0.72) 55%, rgba(11,45,27,0.92) 100%);
}
.tile-text .label {
  font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: clamp(2.2rem, 3.4vw, 2.9rem); line-height: 1; display: block;
}
.tile-text .label::after { content: ""; display: block; width: 44px; height: 4px; background: var(--gold); margin-top: 10px; }
.tile-text .sub {
  display: block; margin-top: 10px; font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.9rem; color: rgba(255,255,255,0.95);
}
.tile-text .line { display: block; margin-top: 8px; font-size: 1rem; color: rgba(255,255,255,0.9); max-width: 34ch; }
.tile .go {
  position: absolute; right: 1rem; top: 1rem; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--charcoal);
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.tile .go svg { width: 22px; height: 22px; }
@media (max-width: 759px) { .tile { aspect-ratio: 16 / 11; } }
@media (min-width: 760px) and (max-width: 1049px) { .tiles.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .tiles.four { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.tiles.four .tile-text { padding: 2.6rem 1.1rem 1.1rem; }
.tiles.four .tile-text .label { font-size: clamp(1.9rem, 2.4vw, 2.4rem); }
.tiles.four .tile-text .sub { font-size: 0.78rem; letter-spacing: 0.12em; }

/* Service tiles: photo tile plus a chip row underneath */
.service { display: flex; flex-direction: column; gap: 0.8rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0 0.2rem; list-style: none; }
.chips li { font-size: 0.9rem; font-weight: 500; background: var(--white); color: var(--ink); padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.section-gray .chips li { background: var(--white); }

/* Mobile snap carousel for services */
@media (max-width: 759px) {
  .carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 0.9rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 1.25rem 0.6rem; margin: 0 calc(-50vw + 50%); width: 100vw; scrollbar-width: none; }
  .carousel::-webkit-scrollbar { display: none; }
  .carousel > * { scroll-snap-align: center; }
  .carousel .tile { aspect-ratio: 4 / 3; }
}

/* --------------------------------------------------------------------------
   Steps (app-style)
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.steps li {
  position: relative; padding: 1.5rem 1.5rem 1.6rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 0.6rem;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; right: 1.2rem; top: 0.8rem;
  font-family: var(--font-display); font-weight: 800; font-size: 4rem; line-height: 1; color: var(--gold); opacity: 0.9;
}
.steps h3 { font-size: 1.7rem; margin: 0.2rem 0 0; }
.steps p { margin: 0; color: var(--muted); }
.section-dark .steps li { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); box-shadow: none; }
.section-dark .steps p { color: rgba(255,255,255,0.82); }
.steps.four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

/* Two-up cards */
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 1.6rem; display: flex; flex-direction: column; gap: 0.6rem;
}
.card h3 { margin-bottom: 0; }
.card p { margin-bottom: 0; color: var(--muted); }
.card ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.card ul li { margin-bottom: 0.35rem; }
.section-dark .card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); box-shadow: none; }
.section-dark .card p, .section-dark .card ul { color: rgba(255,255,255,0.82); }

/* CTA band */
.cta-band { background: var(--green); color: var(--white); text-align: center; }
.cta-band img { height: clamp(200px, 28vw, 300px); width: auto; margin: 0 auto 1.4rem; filter: drop-shadow(0 12px 30px rgba(0,0,0,0.4)); }
.cta-band h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-band h2 .gold { color: var(--gold); }
.cta-band .lead { color: rgba(255,255,255,0.85); margin-inline: auto; max-width: 44ch; }
.cta-band .btn-row { justify-content: center; margin-top: 1.5rem; }

/* Callout */
.callout {
  border-left: 6px solid var(--gold); background: var(--white); padding: 1.1rem 1.3rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-sm);
}
.callout p:last-child { margin-bottom: 0; }

/* FAQ */
.faq details { background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); margin-bottom: 0.7rem; }
.faq summary {
  cursor: pointer; padding: 1rem 1.25rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.7rem; color: var(--gold-text); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 1.25rem 1.2rem; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Prose */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 2rem; }
.prose ul { color: var(--muted); }

/* --------------------------------------------------------------------------
   Sticky mobile CTA bar (every page except the builder, which has its own)
   -------------------------------------------------------------------------- */
.cta-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(11,45,27,0.96); backdrop-filter: blur(8px);
  padding: 0.65rem 0.9rem calc(0.65rem + env(safe-area-inset-bottom)); gap: 0.6rem;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
}
.cta-bar .btn { flex: 1; min-height: 52px; font-size: 1.1rem; }
.cta-bar .btn-call { flex: 0 0 auto; width: 56px; padding: 0; background: var(--green-2); color: var(--white); }
.cta-bar .btn-call svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .cta-bar { display: flex; }
  body.has-cta-bar { padding-bottom: var(--cta-bar-h); }
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.field label, .field .label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border: 2px solid var(--gray); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); min-height: 52px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-2); outline: none; box-shadow: 0 0 0 3px rgba(244,180,0,0.35); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #B3261E; }
.field .error { color: #B3261E; font-size: 0.85rem; margin-top: 4px; display: none; }
.field.invalid .error { display: block; }
.req { color: #B3261E; }
.radio-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.radio-row label {
  display: inline-flex; align-items: center; gap: 8px; padding: 0.6rem 1rem; border: 2px solid var(--gray);
  border-radius: 6px; background: var(--white); cursor: pointer; font-weight: 500; font-size: 0.95rem;
}
.radio-row input { accent-color: var(--green); width: 18px; height: 18px; }
.radio-row label:has(input:checked) { border-color: var(--green); background: rgba(46,93,58,0.08); }
.form-note { font-size: 0.9rem; color: var(--muted); }
.form-status { margin-top: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); display: none; }
.form-status.ok { display: block; background: rgba(46,93,58,0.12); color: var(--green); border-left: 6px solid var(--green-2); }
.form-status.err { display: block; background: rgba(179,38,30,0.08); color: #8A1C15; border-left: 6px solid #B3261E; }
.submit-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.2rem; }
.submit-row .form-note { margin: 0; }

/* Contact page */
.contact-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.contact-list li { display: flex; gap: 14px; align-items: center; background: var(--white); border-radius: var(--radius-sm); padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; }
.contact-list a.row:hover { box-shadow: var(--shadow); }
.contact-list .label { font-weight: 700; display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-display); color: var(--green-2); }
.contact-list .val { font-size: 1.25rem; font-weight: 700; color: var(--green); display: block; font-family: var(--font-display); text-decoration: none; }
.contact-list a.val:hover { color: var(--green-2); }
.contact-list p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: #000000; color: rgba(255,255,255,0.85); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { color: var(--white); font-size: 1.05rem; letter-spacing: 0.1em; margin-bottom: 0.7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-brand img { height: 100px; width: auto; margin: 0 0 0.9rem -4px; }
.footer-brand p { margin: 0; max-width: 32ch; font-size: 0.95rem; }
.footer-tag { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); font-size: 1.1rem; }
.footer-tag b { color: var(--gold); font-weight: 600; }
.social { display: flex; gap: 10px; margin-top: 0.6rem; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); }
.social a:hover { border-color: var(--gold); }
.social svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1.5rem; font-size: 0.88rem; color: rgba(255,255,255,0.65);
}
.footer-bottom a { color: rgba(255,255,255,0.75); }

/* --------------------------------------------------------------------------
   Punchlist Builder
   -------------------------------------------------------------------------- */
.builder-page { background: var(--gray-2); }
.builder-intro { padding: 1.6rem 0 0.4rem; }
.builder-intro h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 0.3rem; }
.builder-intro p { color: var(--muted); margin: 0; }

.builder { display: grid; gap: 1.5rem; padding: 1.5rem 0 5rem; align-items: start; }
@media (min-width: 980px) {
  .builder { grid-template-columns: 380px 1fr; gap: 2rem; }
  .catalog { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); display: flex; flex-direction: column; }
}

/* Catalog panel */
.catalog {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
}
.catalog-head { padding: 1.1rem 1.2rem 0.8rem; border-bottom: 1px solid var(--gray-2); }
.catalog-head h2 { font-size: 1.7rem; margin: 0 0 0.2rem; }
.catalog-head p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.catalog-search { padding: 0.8rem 1.2rem 0; }
.catalog-search input {
  width: 100%; padding: 0.7rem 1rem; border: 2px solid var(--gray); border-radius: 6px; min-height: 46px;
}
.cat-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0.8rem 1.2rem 0.4rem; }
.cat-tabs button {
  flex: none; padding: 0.45rem 0.8rem; border-radius: 6px; border: 2px solid var(--gray); background: var(--white);
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem;
  color: var(--green); min-height: 40px;
}
.cat-tabs button[aria-selected="true"] { background: var(--green); border-color: var(--green); color: var(--white); }
.task-list { padding: 0 1.2rem 1.2rem; overflow-y: auto; flex: 1; }
.task-group h3 {
  font-size: 1.05rem; letter-spacing: 0.1em; color: var(--green-2); margin: 1rem 0 0.2rem; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.task-group h3::after { content: ""; flex: 1; height: 1px; background: var(--gray-2); }
.task-chips { display: block; list-style: none; padding: 0; margin: 0; }
.task-chips li + li { border-top: 1px solid var(--gray-2); }
.task-chip {
  display: flex; width: 100%; align-items: center; gap: 10px; padding: 0.5rem 0.45rem; border-radius: 6px;
  border: 0; background: transparent; color: var(--ink); font-size: 0.97rem; font-weight: 500;
  min-height: 42px; text-align: left; transition: background-color 0.12s ease;
}
.task-chip:hover { background: var(--gray-2); }
.task-chip .plus {
  width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--charcoal); display: grid; place-items: center; flex: none;
  font-weight: 800; font-size: 1rem; line-height: 1;
}
.task-chip.on { background: rgba(46,93,58,0.07); color: var(--green-2); }
.task-chip.on .plus { background: var(--green-2); color: var(--white); }
.task-chip[draggable="true"] { cursor: grab; }
.task-chip.dragging { opacity: 0.5; }
.catalog-empty { color: var(--muted); font-size: 0.95rem; padding: 1rem 0; }

/* Legal pad */
.pad-wrap { position: relative; }
.pad {
  background: var(--pad); border-radius: 0; box-shadow: 0 18px 40px rgba(11,45,27,0.18), 0 2px 0 var(--pad-dark);
  position: relative; overflow: hidden;
  background-image:
    linear-gradient(90deg, transparent 0, transparent calc(2.6rem - 1px), var(--pad-margin) calc(2.6rem - 1px), var(--pad-margin) calc(2.6rem + 1px), transparent calc(2.6rem + 1px)),
    repeating-linear-gradient(180deg, transparent 0, transparent 31px, var(--pad-line) 31px, var(--pad-line) 32px);
  background-attachment: local;
}
.pad::before { content: ""; display: block; height: 28px; background: #000000; }
.pad-head { padding: 1.2rem 1.4rem 0.6rem 3.4rem; background: rgba(255,255,255,0.35); border-bottom: 2px solid rgba(59,42,26,0.25); }
.pad-head h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pad-head h2 .hand { font-family: var(--font-hand); text-transform: none; font-weight: 700; color: var(--green-2); font-size: 1.15em; }
.pad-fields { display: grid; gap: 0.8rem; margin-top: 0.8rem; }
.pad-field .label { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; color: var(--charcoal-2); margin-bottom: 6px; display: block; }
.chip-set { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-set label {
  display: inline-flex; align-items: center; gap: 6px; padding: 0.5rem 0.9rem; border-radius: 6px; border: 2px solid rgba(59,42,26,0.25);
  background: rgba(255,255,255,0.6); cursor: pointer; font-size: 0.92rem; font-weight: 500; min-height: 42px;
}
.chip-set input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-set label:has(input:checked) { background: var(--green); border-color: var(--green); color: var(--white); }
.chip-set label:has(input:focus-visible) { outline: 3px solid var(--green-2); outline-offset: 2px; }
.pad-hint { font-size: 0.9rem; color: var(--charcoal-2); margin: 0.4rem 0 0; min-height: 1.4em; font-style: italic; }
.cadence-row { display: none; }
.cadence-row.show { display: block; }

.pad-body { padding: 0.6rem 1.2rem 1.2rem 0.6rem; min-height: 260px; }
.pad-body.drop-ok { outline: 3px dashed var(--green-2); outline-offset: -8px; }
.pad-lines { list-style: none; margin: 0; padding: 0; }
.pad-line {
  display: grid; grid-template-columns: 2rem 1fr auto; align-items: center; gap: 0.5rem; min-height: 32px;
  padding: 0.35rem 0; font-size: 1.02rem;
}
.pad-line .num { text-align: right; font-family: var(--font-hand); font-size: 1.15rem; color: var(--charcoal-2); padding-right: 6px; }
.pad-line .name { font-weight: 600; color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.8rem; }
.pad-line .name .cat { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green-2); }
.pad-line .qty { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 0.92rem; color: var(--charcoal-2); }
.pad-line .qty input {
  width: 5.5rem; padding: 0.3rem 0.5rem; border: 0; border-bottom: 2px solid rgba(59,42,26,0.4); background: transparent; border-radius: 0;
  font-family: var(--font-hand); font-size: 1.2rem; font-weight: 700; color: var(--green); min-height: 36px;
}
.pad-line .qty input:focus { outline: none; border-bottom-color: var(--green-2); background: rgba(255,255,255,0.5); }
.pad-line .photo-add {
  display: inline-flex; align-items: center; gap: 5px; padding: 0.25rem 0.6rem; border-radius: 6px; border: 1.5px dashed rgba(59,42,26,0.45);
  background: rgba(255,255,255,0.45); color: var(--charcoal-2); font-size: 0.82rem; font-weight: 600; min-height: 30px;
}
.pad-line .photo-add:hover { border-color: var(--green-2); color: var(--green); background: rgba(255,255,255,0.8); }
.pad-line .photo-add svg { width: 16px; height: 16px; }
.pad-line .photo { position: relative; display: inline-block; }
.pad-line .photo img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; border: 2px solid var(--white); box-shadow: 0 2px 8px rgba(0,0,0,0.25); display: block; }
.pad-line .photo-remove {
  position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--charcoal); color: var(--white);
  display: grid; place-items: center; padding: 0;
}
.pad-line .photo-remove svg { width: 11px; height: 11px; }
.pad-line .photo-remove:hover { background: #B3261E; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.8rem; }
.footer-actions .btn-outline-light { backdrop-filter: none; }
.line-actions { display: inline-flex; gap: 2px; }
.line-actions button {
  width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; color: var(--charcoal-2); display: grid; place-items: center;
}
.line-actions button:hover { background: rgba(255,255,255,0.7); color: var(--green); }
.line-actions button svg { width: 16px; height: 16px; }
.line-actions .remove:hover { color: #B3261E; }
.line-actions .handle { cursor: grab; }
.pad-line.dragging { opacity: 0.4; }
.pad-line.drag-over { box-shadow: 0 -3px 0 var(--green-2) inset; }
.pad-line.flash { animation: flash 0.9s ease; }
@keyframes flash { 0% { background: rgba(244,180,0,0.5); } 100% { background: transparent; } }
.pad-empty { padding: 1.2rem 0.5rem 1.2rem 2.5rem; color: var(--charcoal-2); font-family: var(--font-hand); font-size: 1.5rem; line-height: 1.3; }
.pad-empty b { color: var(--green-2); }
.pad-custom { display: flex; gap: 8px; align-items: center; margin-top: 0.6rem; padding-left: 2.5rem; flex-wrap: wrap; }
.pad-custom input {
  flex: 1; min-width: 200px; border: 0; border-bottom: 2px dashed rgba(59,42,26,0.45); background: transparent; padding: 0.4rem 0.2rem;
  font-family: var(--font-hand); font-size: 1.3rem; color: var(--ink); min-height: 44px; border-radius: 0;
}
.pad-custom input::placeholder { color: rgba(38,37,38,0.6); }
.pad-custom input:focus { outline: none; border-bottom-color: var(--green-2); }
.pad-foot { padding: 0.8rem 1.4rem 1.2rem 3.4rem; border-top: 2px solid rgba(59,42,26,0.2); display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.25); }
.pad-count { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); }

.contact-block { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.6rem; margin-top: 1.5rem; }
.contact-block h2 { font-size: 2rem; margin-bottom: 0.2rem; }
.contact-block > p { color: var(--muted); margin-bottom: 1.2rem; }

/* Mobile drawer for the catalog */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(11,45,27,0.96); backdrop-filter: blur(8px); color: var(--white);
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
  align-items: center; justify-content: space-between; gap: 1rem;
}
.mobile-bar .count { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 979px) {
  .mobile-bar { display: flex; }
  .catalog {
    position: fixed; inset: auto 0 0 0; height: min(86vh, 100% - 40px); z-index: 120; transform: translateY(105%);
    transition: transform 0.25s ease; border-radius: 22px 22px 0 0; display: flex; flex-direction: column;
  }
  .catalog.open { transform: translateY(0); }
  .catalog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
  .catalog-close { display: inline-flex; }
  .drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 110; display: none; }
  .drawer-backdrop.show { display: block; }
  .builder { padding-bottom: 6rem; }
  .catalog-done { display: block; padding: 0.8rem 1.2rem calc(0.8rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--gray-2); background: var(--white); }
  .catalog-done .btn { width: 100%; }
}
.catalog-close { display: none; background: transparent; border: 2px solid var(--gray); border-radius: 10px; width: 42px; height: 42px; place-items: center; color: var(--green); }
.catalog-close svg { width: 18px; height: 18px; }
.catalog-done { display: none; }
.drawer-backdrop { display: none; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px); z-index: 130;
  background: var(--charcoal); color: var(--white); padding: 0.7rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (min-width: 980px) { .toast { bottom: 24px; } }

/* Confirmation */
.confirm { text-align: center; padding: 2rem 1rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.confirm .hex-icon { margin: 0 auto 1rem; }
.confirm h2 { margin-bottom: 0.4rem; }
.confirm p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.summary-box { text-align: left; background: var(--pad); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1.2rem auto 0; max-width: 560px; }
.summary-box ol { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.summary-box li { margin-bottom: 0.2rem; }

/* Utilities */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.small { font-size: 0.9rem; }
.muted { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
