/* ==========================================================================
   Green Bliss — landing page styles
   Approach: mobile-first, fluid type via clamp(), no framework, no CSS-in-JS.
   Palette is warm paper + deep forest green; accents are brass, used sparingly.
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable, latin subset) ---------- */
@font-face {
  font-family: 'Newsreader';
  src: url('/assets/fonts/newsreader-var.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Work Sans';
  src: url('/assets/fonts/worksans-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper:      #FBF8F1;
  --paper-2:    #F3EDE0;
  --paper-3:    #EAE2D1;
  --forest:     #1F3D2B;
  --forest-2:   #2C5440;
  --forest-ink: #16291D;
  --ink:        #1C2419;
  --ink-2:      #4E5A4A;
  --ink-3:      #7C8878;
  --brass:      #A9834B;
  --line:       #DFD6C4;
  --line-dark:  rgba(251, 248, 241, .18);

  --serif: 'Newsreader', ui-serif, Georgia, 'Times New Roman', serif;
  --sans:  'Work Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Fluid type scale */
  --fs-display: clamp(2.6rem, 1.55rem + 4.6vw, 5.1rem);
  --fs-h2:      clamp(2rem, 1.45rem + 2.3vw, 3.15rem);
  --fs-h3:      clamp(1.15rem, 1.05rem + .42vw, 1.4rem);
  --fs-lede:    clamp(1.03rem, .97rem + .35vw, 1.2rem);
  --fs-body:    clamp(1rem, .97rem + .16vw, 1.06rem);

  --wrap: 1180px;
  --gut: clamp(1.15rem, .6rem + 2.4vw, 2.5rem);
  --sec-y: clamp(3.75rem, 2.2rem + 6.2vw, 7.5rem);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 380;
  line-height: 1.62;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 420; line-height: 1.08; letter-spacing: -.018em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2.5px solid var(--brass);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--forest); color: var(--paper);
  padding: .8rem 1.2rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--forest);
  --btn-fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--sans); font-size: .93rem; font-weight: 500;
  letter-spacing: .012em;
  padding: .78rem 1.35rem;
  border: 1px solid var(--btn-bg);
  border-radius: 100px;
  cursor: pointer;
  text-align: center;
  transition: background .22s var(--ease), border-color .22s var(--ease),
              color .22s var(--ease), transform .22s var(--ease);
}
.btn:hover { background: var(--forest-2); border-color: var(--forest-2); transform: translateY(-1.5px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn--sm { padding: .58rem 1.05rem; font-size: .87rem; }
.btn--block { width: 100%; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--forest); border-color: var(--line); }
.btn--ghost:hover { --btn-bg: transparent; background: var(--paper-2); border-color: var(--forest); color: var(--forest); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--forest); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--forest); }

/* ---------- Shared bits ---------- */
.eyebrow {
  font-size: .74rem; font-weight: 560; text-transform: uppercase;
  letter-spacing: .17em; color: var(--brass);
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: #C8B183; }

.section { padding-block: var(--sec-y); }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--forest); color: var(--paper); }
.section--dark .section__lede { color: rgba(251, 248, 241, .74); }

.section__head { max-width: 46rem; margin-bottom: clamp(2.4rem, 1.4rem + 3vw, 4rem); }
.section__title { font-size: var(--fs-h2); }
.section__lede {
  margin-top: 1.15rem; font-size: var(--fs-lede);
  color: var(--ink-2); max-width: 40rem; text-wrap: pretty;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 248, 241, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 26px -20px rgba(28, 36, 25, .6);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: 66px;
}

.brand { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; color: var(--forest); }
.brand__mark { width: 26px; height: 26px; fill: currentColor; flex: none; }
.brand__name {
  font-family: var(--serif); font-size: 1.32rem; font-weight: 480;
  letter-spacing: -.015em; color: var(--ink);
}
.brand--light, .brand--light .brand__name { color: var(--paper); }

.site-nav { display: none; margin-inline: auto; gap: 2rem; }
.site-nav a {
  font-size: .93rem; color: var(--ink-2); position: relative; padding-block: .3rem;
  transition: color .2s var(--ease);
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--forest); transition: width .28s var(--ease);
}
.site-nav a:hover { color: var(--forest); }
.site-nav a:hover::after { width: 100%; }

.site-header__actions { display: flex; align-items: center; gap: .8rem; margin-left: auto; }
.phone-link { display: none; align-items: center; gap: .42rem; font-size: .93rem; font-weight: 450; color: var(--ink-2); }
.phone-link svg { width: 16px; height: 16px; fill: var(--brass); }
.phone-link:hover { color: var(--forest); }

@media (min-width: 900px) {
  .site-nav { display: flex; }
  .phone-link { display: inline-flex; }
  .site-header__actions { margin-left: 0; }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(2.6rem, 1.5rem + 4.4vw, 5rem);
  padding-bottom: clamp(3rem, 1.8rem + 4.8vw, 5.5rem);
  position: relative;
  background:
    radial-gradient(120% 90% at 88% 8%, rgba(44, 84, 64, .07), transparent 62%),
    var(--paper);
}
.hero__grid { display: grid; gap: clamp(2.4rem, 1.4rem + 4vw, 4rem); align-items: center; }

.hero__title { font-size: var(--fs-display); letter-spacing: -.028em; }
.hero__lede {
  margin-top: 1.4rem; font-size: var(--fs-lede); color: var(--ink-2);
  max-width: 34rem; text-wrap: pretty;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.chip {
  font-size: .8rem; color: var(--ink-2);
  padding: .38rem .8rem; border: 1px solid var(--line); border-radius: 100px;
  background: rgba(255, 255, 255, .5);
}
.chip::before { content: '\2713'; color: var(--brass); margin-right: .4rem; font-size: .78em; }

.hero__figure { margin: 0; }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(2.5rem, 1rem + 4vw, 4.5rem); }
}

/* ---------- Before/after comparison slider ---------- */
.ba {
  position: relative;
  aspect-ratio: var(--ar, 4 / 3);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-3);
  box-shadow: 0 2px 4px rgba(28, 36, 25, .05), 0 22px 50px -28px rgba(28, 36, 25, .5);
  isolation: isolate;
  touch-action: pan-y;          /* vertical page scroll still works over the slider */
  -webkit-user-select: none; user-select: none;
  cursor: ew-resize;
  --pos: 50%;
}
.ba__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  pointer-events: none;
}
/* Before sits underneath and owns the left of the handle; the "after" layer is
   clipped away up to --pos so it only occupies the right. Left = before, which
   matches the labels and normal reading order. */
.ba__after {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  clip-path: inset(0 0 0 var(--pos));
  will-change: clip-path;
}

.ba__tag {
  position: absolute; top: .8rem; z-index: 3;
  font-family: var(--sans); font-size: .68rem; font-weight: 560;
  text-transform: uppercase; letter-spacing: .14em;
  padding: .34rem .7rem; border-radius: 100px;
  background: rgba(22, 41, 29, .72); color: var(--paper);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: opacity .25s var(--ease);
}
/* Each label fades out only as its own side is squeezed off the edge */
.ba__tag--before { left: .8rem;  opacity: calc((var(--posn, .5) - .08) * 6); }
.ba__tag--after  { right: .8rem; opacity: calc((1 - var(--posn, .5) - .08) * 6); }

.ba__handle {
  position: absolute; top: 0; bottom: 0; z-index: 4;
  left: var(--pos);
  width: 2px; margin-left: -1px;
  background: rgba(251, 248, 241, .92);
  box-shadow: 0 0 0 1px rgba(28, 36, 25, .12);
  pointer-events: none;
}
.ba__grip {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); color: var(--forest);
  box-shadow: 0 3px 14px rgba(28, 36, 25, .3);
  transition: transform .22s var(--ease);
}
.ba__grip svg { width: 21px; height: 21px; }
.ba:hover .ba__grip { transform: translate(-50%, -50%) scale(1.06); }
.ba.is-dragging .ba__grip { transform: translate(-50%, -50%) scale(.95); }
.ba.is-dragging { cursor: grabbing; }

/* The real control: a range input laid over the whole thing.
   Invisible, but it gives us keyboard support and screen reader semantics free. */
.ba__range {
  position: absolute; inset: 0; z-index: 5;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; background: transparent;
  touch-action: pan-y;          /* horizontal drag adjusts, vertical still scrolls */
}
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100px; }
.ba__range::-moz-range-thumb { width: 44px; height: 100px; border: 0; opacity: 0; }
.ba__range:focus-visible ~ .ba__handle .ba__grip { outline: 2.5px solid var(--brass); outline-offset: 3px; }

.ba__caption {
  margin-top: .9rem; font-size: .84rem; color: var(--ink-3);
  text-align: center; letter-spacing: .01em;
}

/* ---------- Services ---------- */
.services { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
@media (min-width: 620px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .services { grid-template-columns: repeat(3, 1fr); } }

.service {
  background: var(--paper);
  padding: clamp(1.6rem, 1.2rem + 1.1vw, 2.3rem);
  display: flex; flex-direction: column; gap: .7rem;
  transition: background .3s var(--ease);
}
.service:hover { background: #fff; }
.service__num {
  font-family: var(--serif); font-size: .95rem; color: var(--brass);
  letter-spacing: .08em;
}
.service__name { font-size: var(--fs-h3); }
.service p { color: var(--ink-2); font-size: .96rem; text-wrap: pretty; }
.service--cta { background: var(--forest); color: var(--paper); }
.service--cta:hover { background: var(--forest-2); }
.service--cta p { color: rgba(251, 248, 241, .76); }
.service--cta .btn { margin-top: auto; align-self: flex-start; --btn-bg: transparent; --btn-fg: var(--paper); border-color: var(--line-dark); }
.service--cta .btn:hover { background: rgba(251, 248, 241, .12); border-color: rgba(251, 248, 241, .5); color: var(--paper); }

/* ---------- Work / gallery ----------
   Stacked alternating rows rather than a two-column grid. Media sits on one side
   and the copy on the other, flipping each row. Any aspect ratio drops in without
   leaving a hole in a column, so new pairs from the client just append. */
.cases { display: grid; gap: clamp(2.8rem, 1.6rem + 4vw, 5.5rem); }

.case { margin: 0; display: grid; gap: clamp(1.3rem, 1rem + 1.4vw, 2rem); }

/* Explicit width, not just max-width: on a flipped row the auto margin would
   otherwise make this a shrink-to-fit grid item and the media would collapse */
.case__media { min-width: 0; width: 100%; max-width: var(--media-max, 100%); }
.case__body { min-width: 0; max-width: 34rem; align-self: center; }

@media (min-width: 860px) {
  .case {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: clamp(2.2rem, .6rem + 3.4vw, 4.5rem);
    align-items: center;
  }
  /* Media stays first in the DOM, so reading order is image then copy either way */
  .case--flip .case__media { order: 2; margin-left: auto; }
}

.case__eyebrow {
  font-family: var(--sans); font-size: .7rem; font-weight: 560;
  text-transform: uppercase; letter-spacing: .15em; color: var(--brass);
  margin-bottom: .7rem;
}
.case__title {
  font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.05rem);
  margin-bottom: .85rem;
  text-wrap: balance;
}
.case__body p { color: var(--ink-2); text-wrap: pretty; }

.case__list { margin-top: 1.1rem; display: grid; gap: .5rem; }
.case__list li {
  position: relative; padding-left: 1.4rem;
  font-size: .94rem; color: var(--ink-2);
}
.case__list li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brass); opacity: .55;
}

.case__note {
  margin-top: 1.1rem; padding-top: .95rem;
  border-top: 1px solid var(--line);
  font-size: .86rem; color: var(--ink-3);
}

.work-detail figcaption, .work-video figcaption {
  margin-top: 1rem; display: flex; flex-direction: column; gap: .18rem;
}
.work-detail figcaption strong, .work-video figcaption strong {
  font-family: var(--serif); font-size: 1.12rem; font-weight: 480; letter-spacing: -.01em;
}
.work-detail figcaption span, .work-video figcaption span {
  font-size: .89rem; color: var(--ink-2);
}

/* Honest side-by-side, for pairs shot from too different a spot to stitch */
.twoup { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.twoup__side { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-3); }
.twoup__side:first-child { border-radius: var(--r-lg) 4px 4px var(--r-lg); }
.twoup__side:last-child  { border-radius: 4px var(--r-lg) var(--r-lg) 4px; }
.twoup__side img { width: 100%; aspect-ratio: 1204 / 1600; object-fit: cover; display: block; }
.twoup__tag {
  position: absolute; top: .7rem; left: .7rem;
  font-size: .66rem; font-weight: 560; text-transform: uppercase; letter-spacing: .13em;
  padding: .3rem .62rem; border-radius: 100px;
  background: rgba(22, 41, 29, .72); color: var(--paper);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.twoup__tag--after { background: rgba(169, 131, 75, .92); }

.work-extras {
  display: grid; gap: clamp(1.6rem, 1rem + 2.4vw, 3rem);
  margin-top: clamp(2.8rem, 1.6rem + 4vw, 5.5rem);
}
/* Columns sized off the two aspect ratios (1204/1600 vs 478/850) so the photo and
   the video finish at the same height instead of leaving a step under the shorter one.
   Capped narrower than .wrap because both items are portrait: at full width they came
   out over 800px tall each and this supporting row outweighed the cases above it. */
@media (min-width: 760px) {
  .work-extras {
    grid-template-columns: 1.34fr 1fr; align-items: start;
    max-width: 52rem; margin-inline: auto;
  }
}

.work-detail, .work-video { margin: 0; }
.work-detail img {
  width: 100%; aspect-ratio: 1204 / 1600; object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: 0 2px 4px rgba(28, 36, 25, .05), 0 22px 50px -28px rgba(28, 36, 25, .5);
}

/* Video: poster only until tapped, so ad traffic never pays for the bytes */
.video {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--forest-ink); aspect-ratio: 478 / 850;
  box-shadow: 0 2px 4px rgba(28, 36, 25, .05), 0 22px 50px -28px rgba(28, 36, 25, .5);
}
.video video { width: 100%; height: 100%; object-fit: cover; }
.video__btn {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  width: 100%; height: 100%;
  background: rgba(22, 41, 29, .22);
  border: 0; cursor: pointer;
  transition: background .25s var(--ease), opacity .25s var(--ease);
}
.video__btn::before {
  content: ''; position: absolute;
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(251, 248, 241, .94);
  box-shadow: 0 4px 20px rgba(22, 41, 29, .4);
  transition: transform .25s var(--ease);
}
.video__btn svg { position: relative; width: 30px; height: 30px; fill: var(--forest); margin-left: 3px; }
.video__btn:hover::before { transform: scale(1.07); }
.video.is-playing .video__btn { opacity: 0; pointer-events: none; }

/* ---------- Process ---------- */
.steps { display: grid; gap: clamp(1.6rem, 1rem + 2.2vw, 2.6rem); counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.step__num {
  position: absolute; top: -.05rem; left: 0;
  font-family: var(--serif); font-size: .9rem; color: var(--brass);
  background: var(--paper); padding-right: .6rem; transform: translateY(-50%);
}
.step h3 { font-size: var(--fs-h3); margin-bottom: .55rem; }
.step p { color: var(--ink-2); font-size: .96rem; text-wrap: pretty; }

/* ---------- Areas ---------- */
.areas__grid { display: grid; gap: clamp(2.4rem, 1.4rem + 3.4vw, 4.5rem); }
@media (min-width: 860px) { .areas__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; } }
.areas__copy .section__title { color: var(--paper); }
.areas__copy .btn { margin-top: 2rem; }

.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r-md); overflow: hidden; }
@media (min-width: 520px) { .areas { grid-template-columns: repeat(3, 1fr); } }
.areas li {
  background: var(--forest);
  padding: 1.05rem 1.1rem;
  display: flex; flex-direction: column; gap: .1rem;
  transition: background .28s var(--ease);
}
.areas li:hover { background: var(--forest-2); }
.areas__name { font-family: var(--serif); font-size: 1.06rem; font-weight: 460; letter-spacing: -.008em; }
.areas__pc { font-size: .76rem; color: rgba(251, 248, 241, .5); letter-spacing: .07em; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: clamp(2.4rem, 1.4rem + 3.4vw, 4.5rem); }
@media (min-width: 900px) { .contact__grid { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: start; } }

.contact__points { margin-top: 2rem; display: grid; gap: .8rem; }
.contact__points li { position: relative; padding-left: 1.7rem; font-size: .96rem; color: var(--ink-2); }
.contact__points li::before {
  content: ''; position: absolute; left: 0; top: .58em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brass); opacity: .55;
}

.contact__direct { margin-top: 2.2rem; display: grid; gap: .7rem; }
.contact__direct-item {
  display: flex; align-items: center; gap: .85rem;
  padding: .95rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-md);
  background: rgba(255, 255, 255, .55);
  transition: border-color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease);
}
.contact__direct-item:hover { border-color: var(--forest); background: #fff; transform: translateY(-1.5px); }
.contact__direct-item svg { width: 20px; height: 20px; fill: var(--brass); flex: none; }
.contact__direct-item span { display: flex; flex-direction: column; font-weight: 450; overflow-wrap: anywhere; }
.contact__direct-item small { font-size: .74rem; text-transform: uppercase; letter-spacing: .13em; color: var(--ink-3); font-weight: 500; }

/* ---------- Form ---------- */
.contact__formwrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.35rem, 1rem + 1.8vw, 2.4rem);
  box-shadow: 0 2px 4px rgba(28, 36, 25, .04), 0 30px 60px -40px rgba(28, 36, 25, .45);
}
.form { display: grid; gap: 1.15rem; }
.form__row { display: grid; gap: 1.15rem; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: .42rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field__label {
  font-size: .82rem; font-weight: 520; letter-spacing: .02em; color: var(--ink);
  padding: 0;
}
.field__label b { color: var(--brass); font-weight: 500; }

.field input[type="text"], .field input[type="tel"], .field input[type="email"],
.field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem;         /* 16px+ stops iOS zooming on focus */
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: .78rem .9rem;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 108px; line-height: 1.55; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234E5A4A'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .7rem center; background-size: 20px;
  padding-right: 2.4rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(44, 84, 64, .13);
}
.field input::placeholder, .field textarea::placeholder { color: #A9B0A4; }

.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #A8442F; background: #FDF6F4; }
.field__err { font-size: .78rem; color: #A8442F; min-height: 0; }
.field__err:empty { display: none; }

.picks { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; }
@media (min-width: 560px) { .picks { grid-template-columns: repeat(3, 1fr); } }
.pick { position: relative; display: block; }
.pick input { position: absolute; opacity: 0; width: 0; height: 0; }
.pick span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 46px; height: 100%;
  padding: .5rem .6rem;
  font-size: .85rem; line-height: 1.28;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); color: var(--ink-2);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.pick span:hover { border-color: var(--ink-3); }
.pick input:checked + span {
  background: var(--forest); border-color: var(--forest); color: var(--paper); font-weight: 450;
}
.pick input:focus-visible + span { outline: 2.5px solid var(--brass); outline-offset: 2px; }

.hp { position: absolute !important; left: -9999px !important; opacity: 0 !important; height: 0 !important; width: 0 !important; }

.form__note { font-size: .8rem; color: var(--ink-3); text-align: center; }
.form__status { font-size: .9rem; text-align: center; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--forest-2); font-weight: 450; }
.form__status.is-err { color: #A8442F; }

.form.is-sent .form__sent {
  display: grid; gap: .6rem; place-items: center; text-align: center; padding: 1rem 0;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-ink); color: rgba(251, 248, 241, .72); padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.site-footer__inner { display: grid; gap: 2.4rem; padding-bottom: 3rem; }
@media (min-width: 700px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; } }
.site-footer__brand p { margin-top: .9rem; font-size: .9rem; max-width: 20rem; }
.site-footer__col h2 {
  font-family: var(--sans); font-size: .74rem; font-weight: 560;
  text-transform: uppercase; letter-spacing: .15em; color: var(--paper);
  margin-bottom: 1rem;
}
.site-footer__col ul { display: grid; gap: .1rem; }
.site-footer__col li { display: flex; }
/* Padded to a comfortable thumb target rather than a 16px line of text */
.site-footer__col a {
  font-size: .9rem; overflow-wrap: anywhere;
  display: inline-flex; align-items: center; min-height: 44px;
  padding-block: .35rem;
  transition: color .2s var(--ease);
}
.site-footer__col a:hover { color: var(--paper); }
.site-footer__areas { font-size: .9rem; line-height: 1.85; }
.site-footer__base {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  border-top: 1px solid var(--line-dark);
  padding-block: 1.5rem; font-size: .82rem; color: rgba(251, 248, 241, .5);
}

/* ---------- Sticky mobile CTA bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: flex; gap: .6rem;
  padding: .65rem var(--gut) calc(.65rem + env(safe-area-inset-bottom));
  background: rgba(251, 248, 241, .95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .34s var(--ease);
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar__call, .mobile-bar__quote {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 48px; border-radius: 100px;
  font-size: .94rem; font-weight: 500;
}
.mobile-bar__call { flex: 0 0 33%; border: 1px solid var(--line); color: var(--forest); background: #fff; }
.mobile-bar__call svg { width: 17px; height: 17px; fill: var(--brass); }
.mobile-bar__quote { flex: 1; background: var(--forest); color: var(--paper); }
@media (min-width: 900px) { .mobile-bar { display: none; } }
/* Keep the bar clear of the footer's last line on small screens */
@media (max-width: 899px) { .site-footer__base { padding-bottom: 5.2rem; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); }
.js .reveal { transition: opacity .62s var(--ease), transform .62s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
/* If JS never runs, nothing should stay hidden */
html:not(.js) .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .contact__direct-item:hover { transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-bar, .ba__range, .ba__handle, .video__btn { display: none !important; }
  body { background: #fff; }
  .ba__after { clip-path: none !important; }
}
