/* ==========================================================================
   Best Resin Epoxy Solutions — styles.css
   Bold-dark theme: black/charcoal base, lime-green accents, gray dividers.
   Single source of all styling. No build step required.
   ========================================================================== */

/* ----- Design tokens ----------------------------------------------------- */
:root {
  --bg: #0E0F11;
  --bg-deep: #0A0B0C;
  --surface: #16191B;
  --surface-2: #1C2123;
  --border: #2A2F31;
  --border-soft: #21262833;

  --text: #FFFFFF;
  --text-body: #E6EAE8;
  --text-muted: #AEB6B3;

  --mint: #91EC51;        /* accent text / borders / glow */
  --mint-btn: #6CE118;    /* button fill (with dark text) — logo green */
  --mint-hover: #58BA12;  /* button hover */
  --forest: #274314;      /* deep green for subtle gradients */
  --forest-2: #1A2B0D;

  --maxw: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow: 0 18px 48px -22px rgba(0,0,0,.85);
  --shadow-mint: 0 0 0 1px rgba(145,236,81,.18), 0 14px 40px -18px rgba(108,225,24,.35);

  --ff-display: "Oswald", system-ui, "Segoe UI", sans-serif;
  --ff-body: "Inter", system-ui, "Segoe UI", Roboto, Arial, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ----- Reset / base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--mint); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--mint-btn); }
ul, ol { padding-left: 1.2em; }
li { margin: .35em 0; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--text);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: .01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.7rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { text-wrap: pretty; }

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

/* ----- Layout helpers ---------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.2rem, 7vw, 6rem); position: relative; }
.section--tint { background: linear-gradient(180deg, var(--bg) 0%, #111A0A 50%, var(--bg) 100%); }
.section--surface { background: var(--surface); border-block: 1px solid var(--border); }
.section--forest {
  background:
    radial-gradient(900px 380px at 80% -10%, rgba(108,225,24,.14), transparent 60%),
    linear-gradient(160deg, var(--forest-2), var(--bg) 70%);
  border-block: 1px solid var(--border);
}
.eyebrow {
  font-family: var(--ff-display);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--mint);
  display: inline-block;
  margin-bottom: .65rem;
}
.section-head { max-width: 760px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-muted); margin-top: .9rem; }
.muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mint { color: var(--mint); }

/* ----- Buttons ----------------------------------------------------------- */
.btn {
  --btn-bg: var(--mint-btn);
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; font-size: .98rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--btn-bg); color: #0A1A12;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease);
  box-shadow: var(--shadow-mint);
  text-align: center; line-height: 1.1;
}
.btn:hover { background: var(--mint-hover); color: #06140d; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border); box-shadow: none;
}
.btn--ghost:hover { background: #ffffff0d; color: var(--text); border-color: var(--mint); transform: translateY(-2px); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.btn-row.center { justify-content: center; }

/* ----- Header / Nav ------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12,13,15,.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; margin-right: auto; }
.brand img { height: 40px; width: auto; }
.brand .brand-name {
  font-family: var(--ff-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--text); font-size: 1.12rem; line-height: 1;
}
.brand .brand-name span { color: var(--mint); }
.brand small { display: block; font-family: var(--ff-body); font-weight: 500; letter-spacing: .18em; font-size: .56rem; color: var(--text-muted); text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: .35rem; list-style: none; padding: 0; margin: 0; }
.nav-menu a { color: var(--text-body); font-weight: 500; padding: .55rem .75rem; border-radius: 8px; font-size: .98rem; white-space: nowrap; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--text); background: #ffffff0f; }
.nav-menu a[aria-current="page"] { color: var(--mint); }

.has-dropdown { position: relative; }
.has-dropdown > button {
  font: inherit; color: var(--text-body); font-weight: 500; background: none; border: 0; cursor: pointer;
  padding: .55rem .75rem; border-radius: 8px; display: inline-flex; align-items: center; gap: .3rem;
}
.has-dropdown > button:hover { color: var(--text); background: #ffffff0f; }
.has-dropdown > button svg { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.has-dropdown[data-open="true"] > button svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: .4rem; list-style: none; margin: 0; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s var(--ease);
}
.has-dropdown:hover .dropdown, .has-dropdown[data-open="true"] .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: .55rem .7rem; border-radius: 8px; color: var(--text-body); font-size: .94rem; }
.dropdown a:hover { background: #ffffff10; color: var(--mint); }

.nav-cta { display: flex; align-items: center; gap: .7rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .4rem; color: var(--text); font-weight: 600; white-space: nowrap; }
.nav-phone svg { width: 18px; height: 18px; color: var(--mint); }

.nav-toggle { display: none; background: none; border: 1.5px solid var(--border); border-radius: 9px; width: 46px; height: 42px; cursor: pointer; color: var(--text); }
.nav-toggle svg { width: 22px; height: 22px; margin-inline: auto; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-menu, .nav-cta .nav-phone { display: none; }
  .nav-drawer[hidden] { display: none; }
  .nav-drawer {
    position: fixed; inset: 72px 0 auto 0; background: var(--bg-deep);
    border-bottom: 1px solid var(--border); padding: 1rem clamp(1rem,4vw,2.5rem) 1.6rem;
    max-height: calc(100vh - 72px); overflow-y: auto; z-index: 99;
  }
  .nav-drawer ul { list-style: none; margin: 0; padding: 0; }
  .nav-drawer > ul > li { border-bottom: 1px solid var(--border); }
  .nav-drawer a, .nav-drawer .drawer-group > span { display: block; padding: .9rem .25rem; color: var(--text-body); font-weight: 500; }
  .nav-drawer .drawer-group > span { color: var(--text-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; padding-bottom: .3rem; }
  .nav-drawer .drawer-sub a { padding: .55rem .25rem .55rem 1rem; font-size: .96rem; }
  .nav-drawer .btn { margin-top: 1rem; }
  .nav-drawer .nav-phone { display: inline-flex; margin-top: 1rem; }
}
@media (min-width: 961px) { .nav-drawer { display: none !important; } }

/* ----- Hero -------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(108,225,24,.18), transparent 58%),
    radial-gradient(700px 460px at 8% 110%, rgba(39,67,20,.6), transparent 60%),
    linear-gradient(180deg, var(--bg-deep), var(--bg));
  border-bottom: 1px solid var(--border);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; padding-block: clamp(3rem, 7vw, 6rem); }
.hero h1 { margin-bottom: 1rem; }
.hero h1 .mint { display: block; }
.hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--text-muted); max-width: 44ch; margin-bottom: 1.6rem; }
.hero-tag { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .14em; color: var(--mint); font-size: .92rem; margin-top: 1.8rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.hero-trust .ht { display: flex; align-items: center; gap: .55rem; color: var(--text-body); font-size: .94rem; }
.hero-trust svg { width: 20px; height: 20px; color: var(--mint); flex: none; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-grid > * { min-width: 0; } }

/* ----- Placeholder image blocks ----------------------------------------- */
.ph {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, #14181a 0 22px, #171c1e 22px 44px);
  border: 1px solid var(--border);
  display: grid; place-items: center; text-align: center;
  color: var(--text-muted); min-height: 220px; aspect-ratio: 4 / 3;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(108,225,24,.10), transparent 60%);
}
.ph__inner { position: relative; padding: 1rem; display: grid; gap: .5rem; justify-items: center; }
.ph__inner img { width: 150px; opacity: .5; }
.ph__label { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--mint); }
.ph__note { font-size: .8rem; color: var(--text-muted); max-width: 30ch; }
.ph--hero { aspect-ratio: 5 / 4; min-height: 340px; box-shadow: var(--shadow); }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--tall { aspect-ratio: 3 / 4; }
.ph--square { aspect-ratio: 1 / 1; }
/* Mobile: a placeholder's min-height + aspect-ratio computes an implied WIDTH
   (e.g. 340px min-height x 5/4 = 425px). In a single-column phone layout that
   is wider than the viewport, so it dragged the whole hero out and got clipped
   by overflow-x:hidden. Let width drive on small screens; height follows ratio. */
@media (max-width: 600px) { .ph { min-height: 0; } }

/* Real photo dropped into a placeholder container (via photo() in build_site.py) */
figure.ph--photo { margin: 0; }
.ph--photo::before { content: none; }
.ph--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-grid .ph--photo { min-height: 0; }
.gallery-grid .ph--photo img { position: static; height: auto; aspect-ratio: 4 / 3; }
.gallery-grid .ph--photo:nth-child(3n) img { aspect-ratio: 3 / 4; }
.gallery-grid .ph--photo:nth-child(4n) img { aspect-ratio: 4 / 3; }

/* ----- Generic grids ----------------------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* ----- Cards ------------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); border-color: #4E7731; box-shadow: var(--shadow); }
.service-card { gap: .85rem; }
.service-card .icon {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(108,225,24,.18), rgba(39,67,20,.4));
  border: 1px solid #426827;
}
.service-card .icon svg { width: 28px; height: 28px; color: var(--mint); }
.service-card h3 { color: var(--text); }
.service-card p { color: var(--text-muted); font-size: .98rem; flex: 1; }
.service-card .more { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--mint); display: inline-flex; align-items: center; gap: .4rem; }
.service-card .more svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.service-card:hover .more svg { transform: translateX(4px); }
a.card { color: inherit; }
a.card:hover { color: inherit; }

.feature { gap: .7rem; }
.feature .icon { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: #ffffff08; border: 1px solid var(--border); }
.feature .icon svg { width: 24px; height: 24px; color: var(--mint); }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--text-muted); font-size: .96rem; }

/* ----- Process steps ----------------------------------------------------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 1.2rem; }
.step .num {
  font-family: var(--ff-display); font-weight: 700; font-size: 2.4rem; color: var(--mint);
  line-height: 1; opacity: .9;
}
.step h3 { margin: .4rem 0 .3rem; }
.step p { color: var(--text-muted); font-size: .97rem; }

/* ----- Stats band -------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; text-align: center; }
.stat .n { font-family: var(--ff-display); font-weight: 700; font-size: clamp(1.8rem,4vw,2.8rem); color: var(--mint); }
.stat .l { color: var(--text-muted); font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 620px) { .stats { grid-template-columns: repeat(2,1fr); } }

/* ----- Checklist / value list ------------------------------------------- */
.checklist { list-style: none; padding: 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; color: var(--text-body); }
.checklist svg { width: 22px; height: 22px; color: var(--mint); flex: none; margin-top: .15rem; }

/* ----- Gallery ----------------------------------------------------------- */
.gallery-grid { columns: 3 260px; column-gap: 1rem; }
.gallery-grid .ph { break-inside: avoid; margin-bottom: 1rem; aspect-ratio: auto; }
.gallery-grid .ph:nth-child(3n) { min-height: 320px; }
.gallery-grid .ph:nth-child(4n) { min-height: 200px; }
.gallery-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 1rem; }
@media (max-width: 760px) { .gallery-strip { grid-auto-flow: row; grid-template-columns: repeat(2,1fr); } }

/* ----- Before / After slider -------------------------------------------- */
.ba {
  position: relative; border-radius: var(--radius); overflow: hidden; user-select: none;
  border: 1px solid var(--border); aspect-ratio: 16/10; max-width: 760px; margin-inline: auto;
  box-shadow: var(--shadow); touch-action: pan-y;
}
.ba .ba-pane { position: absolute; inset: 0; display: grid; place-items: center; }
.ba .ba-pane img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba .ba-tag { z-index: 2; }
.ba .ba-before { background: repeating-linear-gradient(135deg,#1a1411 0 22px,#1f1815 22px 44px); }
.ba .ba-after  { background: repeating-linear-gradient(135deg,#15210D 0 22px,#1A290F 22px 44px); clip-path: inset(0 0 0 50%); }
.ba .ba-tag { position: absolute; top: 12px; font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; padding: .25rem .6rem; border-radius: 6px; background: #000000aa; color: var(--text); }
.ba .ba-before .ba-tag { left: 12px; }
.ba .ba-after .ba-tag { right: 12px; color: var(--mint); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--mint); transform: translateX(-50%); cursor: ew-resize; }
.ba-handle::after {
  content: "⇄"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 42px; height: 42px; border-radius: 50%; background: var(--mint-btn); color: #06140d;
  display: grid; place-items: center; font-size: 1.1rem; box-shadow: var(--shadow-mint);
}
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ----- Testimonials ------------------------------------------------------ */
.testimonial { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; }
.testimonial .stars { color: var(--mint); letter-spacing: .15em; margin-bottom: .6rem; }
.testimonial blockquote { font-size: 1.05rem; color: var(--text-body); }
.testimonial .who { display: flex; align-items: center; gap: .7rem; margin-top: 1.1rem; }
.testimonial .who .av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(160deg,#426827,#274314); display: grid; place-items: center; color: var(--mint); font-family: var(--ff-display); font-weight: 700; }
.testimonial .who .name { font-weight: 600; color: var(--text); }
.testimonial .who .loc { font-size: .85rem; color: var(--text-muted); }

/* ----- Service area columns --------------------------------------------- */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem,4vw,3rem); }
.areas h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: .8rem; }
.areas h3 .pin { color: var(--mint); }
.area-list { list-style: none; padding: 0; columns: 2 140px; column-gap: 1.4rem; }
.area-list li { margin: .3rem 0; color: var(--text-body); }
.area-list a { color: var(--text-body); }
.area-list a:hover { color: var(--mint); }
@media (max-width: 700px) { .areas { grid-template-columns: 1fr; } }

/* ----- Service area map -------------------------------------------------- */
.area-map { margin-top: clamp(2.2rem, 5vw, 3.6rem); }
.area-map__head { margin-bottom: 1.1rem; }
.area-map__head h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.area-map__head h3 .pin { color: var(--mint); }
.area-map__head p { max-width: 68ch; }
.area-map__frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.area-map__frame iframe {
  display: block;
  width: 100%;
  height: clamp(400px, 55vw, 560px);
  border: 0;
}

/* ----- FAQ accordion ----------------------------------------------------- */
.faq { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.faq + .faq { margin-top: .8rem; }
.faq summary, .faq .q {
  list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--ff-display); font-weight: 600; color: var(--text); font-size: 1.06rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .q .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--mint); color: var(--mint); display: grid; place-items: center; transition: transform .25s var(--ease); font-size: 1.1rem; }
.faq[open] .q .pm { transform: rotate(45deg); }
.faq .a { padding: 0 1.3rem 1.2rem; color: var(--text-muted); }

/* ----- CTA banner -------------------------------------------------------- */
.cta-banner {
  background:
    radial-gradient(700px 300px at 50% -40%, rgba(108,225,24,.22), transparent 60%),
    linear-gradient(160deg, var(--forest), var(--bg-deep));
  border-block: 1px solid var(--border); text-align: center;
}
.cta-banner h2 { margin-bottom: .8rem; }
.cta-banner p { color: var(--text-muted); max-width: 56ch; margin: 0 auto 1.6rem; }
/* Let the phone button grow to fit the full number instead of wrapping/clipping it. */
.cta-banner .btn-row .btn { white-space: nowrap; }

/* ----- Forms ------------------------------------------------------------- */
.form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.4rem, 4vw, 2.4rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; color: var(--text); font-size: .92rem; }
.field .req { color: var(--mint); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: var(--bg-deep);
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .75rem .85rem; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(145,236,81,.18); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%2391EC51' stroke-width='2'%3E%3Cpath d='M2 4l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.2rem; }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: var(--text-muted); }
.checkbox input { width: auto; margin-top: .25rem; accent-color: var(--mint-btn); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--text-muted); margin-top: .4rem; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius-sm); font-size: .95rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(108,225,24,.12); border: 1px solid #426827; color: var(--mint); }
.form-status.err { background: rgba(220,80,80,.1); border: 1px solid #6e3a3a; color: #ffb4b4; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* ----- Page hero (interior pages) --------------------------------------- */
.page-hero {
  background:
    radial-gradient(800px 360px at 85% -20%, rgba(108,225,24,.14), transparent 60%),
    linear-gradient(180deg, var(--bg-deep), var(--bg));
  border-bottom: 1px solid var(--border); padding-block: clamp(2.6rem, 6vw, 4.4rem);
}
.breadcrumb { font-size: .85rem; color: var(--text-muted); margin-bottom: .8rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--mint); }
.page-hero h1 { margin-bottom: .6rem; }
.page-hero p { color: var(--text-muted); max-width: 62ch; }

/* ----- Prose (article body) --------------------------------------------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.2rem; margin-bottom: .8rem; }
.prose h3 { margin-top: 1.6rem; margin-bottom: .5rem; color: var(--mint); }
.prose p { margin-bottom: 1rem; color: var(--text-body); }
.prose ul { margin-bottom: 1rem; }

/* ----- Footer ------------------------------------------------------------ */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding-block: clamp(2.6rem,5vw,3.6rem) 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-brand img { height: 56px; margin-bottom: 1rem; }
.footer-brand p { color: var(--text-muted); font-size: .95rem; max-width: 34ch; }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .18em; color: var(--text-muted); margin-bottom: .9rem; font-family: var(--ff-display); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin: .45rem 0; }
.footer-col a { color: var(--text-body); font-size: .95rem; }
.footer-col a:hover { color: var(--mint); }
.footer-contact a { display: flex; align-items: center; gap: .55rem; color: var(--text-body); margin: .5rem 0; }
.footer-contact svg { width: 18px; height: 18px; color: var(--mint); flex: none; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-body); }
.socials a:hover { border-color: var(--mint); color: var(--mint); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 2.2rem; padding-top: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--text-muted); font-size: .85rem; }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--mint); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ----- Scroll reveal (progressive enhancement) --------------------------
   Content is visible by default. The hidden-until-scrolled state only applies
   when JS is active (html.js), so no-JS users always see everything. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal, .js .reveal.in { opacity: 1; transform: none; transition: none; } }

/* ----- Misc -------------------------------------------------------------- */
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--border); background: #ffffff08; font-size: .82rem; color: var(--text-muted); }
.pill svg { width: 14px; height: 14px; color: var(--mint); }
.divider { height: 1px; background: var(--border); border: 0; margin-block: clamp(2rem,5vw,3.5rem); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--mint-btn); color: #06140d; padding: .6rem 1rem; border-radius: 0 0 8px 0; z-index: 200; font-weight: 600; }
.skip-link:focus { left: 0; }
