/* Screw Piles Ltd
   Palette, type and spacing are set once here; everything below uses them.
   White pages carry large rounded panels in the brand green. Two things come from
   the logo: the dot swirl, and the idea of dots that grow as they wind outwards,
   which is used for eyebrows and list markers. */

:root {
  --green: #296E38;
  --lime: #BBCE02;
  --white: #fff;
  --forest: #12331C;        /* shade of --green: dark panels and headings */
  --forest-deep: #0C2513;   /* deeper shade: footer and the pile illustration */
  --ink: #2A3B2F;           /* body text */
  --muted: #55665A;         /* secondary text */
  --mist: #F3F6EA;          /* tint of --lime: pale bands and cards */
  --line: #DCE4D1;          /* hairlines on white */
  --edge: #7C8E7E;          /* form field edges */
  --error: #B3261E;
  --on-dark: rgba(255, 255, 255, .8);
  --dark-line: rgba(255, 255, 255, .16);

  --display: "Lora", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.125rem, 4vw, 2.5rem);
  --inset: clamp(.5rem, 1.4vw, 1.25rem);     /* gap between a rounded panel and the screen edge */
  --section: clamp(4rem, 9vw, 7rem);
  --r-xl: clamp(1.5rem, 3vw, 2.25rem);       /* page-wide panels */
  --r-lg: 1.5rem;                            /* cards */
  --r-md: .875rem;                           /* fields, small boxes */
  --shadow: 0 30px 60px -30px rgba(12, 37, 19, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header: 4.5rem;

  /* Three dots that grow: the swirl, straightened out. */
  --dots: radial-gradient(circle at .16rem 50%, currentColor .15rem, transparent .17rem),
          radial-gradient(circle at .72rem 50%, currentColor .22rem, transparent .24rem),
          radial-gradient(circle at 1.5rem 50%, currentColor .3rem, transparent .32rem);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 1.25rem);
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(1.0625rem, 1rem + .2vw, 1.125rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }

h1, h2, h3 { margin: 0 0 .5em; font-family: var(--display); font-weight: 600; color: var(--forest); text-wrap: balance; }
h1 { font-size: clamp(2.375rem, 5.4vw, 4.25rem); line-height: 1.08; letter-spacing: -.015em; }
h2 { font-size: clamp(1.875rem, 3.7vw, 3rem); line-height: 1.14; letter-spacing: -.012em; }
h3 { font-size: 1.3125rem; line-height: 1.25; letter-spacing: -.005em; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

/* One phrase per heading is set in italic, in the accent colour. */
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--green); }

.on-dark { color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark h1 em, .on-dark h2 em { color: var(--lime); }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--lime); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -5rem; z-index: 100;
  padding: .75rem 1.25rem; border-radius: 999px; background: var(--forest); color: var(--white); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--solid { fill: currentColor; stroke: none; }

.swirl { fill: currentColor; }

/* ---------- Layout ---------- */

.container { width: min(100% - var(--gutter) * 2, 80rem); margin-inline: auto; }

.section { position: relative; padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--flush { padding-top: 0; }

/* Rows of cards run past the screen edge; this stops them adding a sideways scrollbar. */
main { overflow-x: clip; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4.5vw, 3.5rem); }
.section-head h2 { margin-bottom: 0; }
.section-head h2 + p { margin-top: 1rem; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 3rem; }
.section-head--split > div { max-width: 44rem; }
.section-head--split > p { max-width: 27rem; margin: 0; }

.eyebrow {
  display: flex; align-items: center; gap: .7rem;
  margin: 0 0 1rem;
  font-size: .8125rem; font-weight: 700; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before { content: ""; flex: none; width: 1.85rem; height: .7rem; background: var(--dots); }
.on-dark .eyebrow { color: var(--lime); }

.lead { font-size: 1.1875rem; line-height: 1.6; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 3.25rem; padding: .4rem 1.5rem;
  border: 0; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:has(.btn__dot) { padding-right: .4rem; }
.btn:active { transform: translateY(1px); }
.btn__dot {
  display: grid; place-items: center; flex: none;
  width: 2.45rem; height: 2.45rem; border-radius: 50%;
  transition: transform .35s var(--ease);
}
.btn__dot .icon { width: 1.15rem; height: 1.15rem; stroke-width: 2.2; }
.btn:hover .btn__dot { transform: rotate(-45deg); }

.btn--primary { background: var(--lime); color: var(--forest); }
.btn--primary .btn__dot { background: var(--forest); color: var(--lime); }
.btn--primary:hover { background: #CBDD1E; }

.btn--dark { background: var(--forest); color: var(--white); }
.btn--dark .btn__dot { background: var(--lime); color: var(--forest); }
.btn--dark:hover { background: var(--green); }

.btn--ghost { border: 1.5px solid rgba(255, 255, 255, .5); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { background: var(--white); color: var(--forest); border-color: var(--white); }

.btn--sm { min-height: 2.75rem; padding-left: 1.15rem; font-size: .9375rem; }
.btn--sm .btn__dot { width: 2rem; height: 2rem; }
.btn--block { width: 100%; }

/* ---------- Reveal on scroll ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(1.25rem); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Top bar ---------- */

/* On phones it carries just the phone number and email address, large, at the very top of every page. */
.topbar { background: var(--forest); color: var(--white); }
.topbar__inner { display: flex; align-items: stretch; justify-content: space-between; gap: 1.5rem; }
.topbar__contact { display: grid; justify-items: center; gap: .1rem; width: 100%; padding-block: .45rem; font-size: 1.125rem; font-weight: 700; }
.topbar__contact a { min-height: 2.25rem; }
.topbar__hours, .topbar__area { display: none !important; }
.topbar__contact li, .topbar__contact a, .topbar__area { display: flex; align-items: center; gap: .5rem; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--lime); }
.topbar .icon { width: 1.15rem; height: 1.15rem; color: var(--lime); }
.topbar__area {
  margin: 0; padding: 0 1.25rem 0 2.25rem;
  background: var(--lime); color: var(--forest); font-weight: 600;
  clip-path: polygon(1.25rem 0, 100% 0, 100% 100%, 0 100%);
}
.topbar__area .icon { color: var(--forest); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 1px 0 var(--line), 0 14px 30px -22px rgba(12, 37, 19, .5); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; height: var(--header); }
.site-header__actions { display: flex; align-items: center; gap: .75rem; }

/* The company's original logo, kept large so the name stays with people. */
.logo { display: block; flex: none; }
.logo img { width: 12.5rem; height: auto; }

.header-quote { display: none; }

.menu-toggle {
  display: grid; place-items: center;
  width: 3rem; height: 3rem; padding: 0;
  border: 0; border-radius: 50%; background: var(--mist); cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before { display: block; width: 1.25rem; height: 2px; border-radius: 2px; background: var(--forest); transition: transform .3s var(--ease); }
.menu-toggle__bars { transform: translateY(-3.5px); }
.menu-toggle__bars::before { content: ""; transform: translateY(7px); }
.nav-open .menu-toggle__bars { transform: rotate(45deg); }
.nav-open .menu-toggle__bars::before { transform: rotate(-90deg); }

/* Small screens: the navigation is a full-height green sheet under the header. */
.site-nav {
  position: fixed; inset: var(--nav-top, var(--header)) 0 0 0; z-index: 49;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: 1.5rem var(--gutter) 2rem;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--forest); color: var(--white);
  visibility: hidden; opacity: 0; transform: translateY(-.75rem);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
.nav-open body { overflow: hidden; }

.site-nav__list > li > a, .site-nav__toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: .85rem 0; border: 0; border-bottom: 1px solid var(--dark-line); background: none; cursor: pointer;
  font-family: var(--display); font-size: clamp(1.5rem, 6.4vw, 2rem); font-weight: 500; line-height: 1.2; text-align: left; text-decoration: none;
}
.site-nav__list > li > a::after { content: ""; width: 1.85rem; height: .7rem; background: var(--dots); color: var(--lime); opacity: .35; transition: opacity .25s; }
.site-nav__list > li > a:hover::after, .site-nav__list > li > a[aria-current]::after { opacity: 1; }
.site-nav__list a[aria-current], .site-nav__toggle[data-current] { color: var(--lime); }

/* Services and Areas: a button that opens its list (a fold-down in the phone menu, a dropdown on desktop). */
.site-nav__toggle::after {
  content: ""; flex: none; width: .6rem; height: .6rem; margin: -.3rem .55rem 0 0;
  border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .3s var(--ease);
}
.site-nav__toggle[aria-expanded="true"]::after { margin-top: .3rem; transform: rotate(-135deg); }
.js .site-nav__sub { display: none; }
.js .site-nav__toggle[aria-expanded="true"] + .site-nav__sub { display: grid; }
.site-nav__sub { gap: .1rem; padding: .6rem 0 1rem; border-bottom: 1px solid var(--dark-line); }
.site-nav__sub a { display: block; padding: .45rem 0; font-size: 1.0625rem; font-weight: 600; text-decoration: none; color: var(--on-dark); }
.site-nav__sub a:hover { color: var(--lime); }
.site-nav__sub--wide { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.site-nav__all { grid-column: 1 / -1; }
.site-nav__all a { color: var(--lime); }
.site-nav__extra { position: relative; display: grid; gap: .85rem; }
.site-nav__phone { display: inline-flex; align-items: center; gap: .65rem; font-weight: 600; text-decoration: none; }
.site-nav__phone .icon { color: var(--lime); }
.site-nav__swirl { position: absolute; right: -2.5rem; bottom: -4rem; width: 11rem; color: var(--lime); opacity: .1; pointer-events: none; }

.socials { display: flex; gap: .6rem; }
.social {
  display: grid; place-items: center; width: 2.9rem; height: 2.9rem;
  border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 50%; color: var(--white);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.social:hover { background: var(--lime); border-color: var(--lime); color: var(--forest); }
.social--whatsapp { background: var(--lime); border-color: var(--lime); color: var(--forest); }
.social--whatsapp:hover { background: var(--white); border-color: var(--white); }

@media (min-width: 30em) {
  .header-quote { display: inline-flex; }
}

@media (min-width: 40em) {
  .topbar__contact { display: flex; justify-content: center; gap: 2rem; }
}

@media (min-width: 62em) {
  .topbar { color: var(--on-dark); }
  .topbar__inner { min-height: 2.5rem; }
  .topbar__contact { justify-content: flex-start; gap: 1.75rem; width: auto; padding: 0; font-size: .875rem; font-weight: 400; }
  .topbar__contact a { min-height: 0; }
  .topbar .icon { width: 1rem; height: 1rem; }
  .topbar__hours, .topbar__area { display: flex !important; }
}

@media (min-width: 77em) {
  :root { --header: 5.75rem; }
  .logo img { width: 16.5rem; }
  .menu-toggle, .site-nav__extra { display: none; }
  .site-nav { position: static; display: block; padding: 0; overflow: visible; background: none; color: inherit; visibility: visible; opacity: 1; transform: none; transition: none; }
  .site-nav__list { display: flex; align-items: center; gap: clamp(1.1rem, 1.8vw, 1.75rem); }
  .site-nav__list > li > a, .site-nav__toggle {
    position: relative; display: flex; gap: .45rem; width: auto; padding: .5rem 0; border: 0;
    font-family: var(--body); font-size: .9688rem; font-weight: 600; color: var(--forest);
  }
  .site-nav__list > li > a::after {
    position: absolute; left: 0; bottom: -.1rem; width: 100%; height: 2px;
    background: var(--lime); opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .site-nav__list > li > a:hover::after, .site-nav__list > li > a[aria-current]::after { transform: scaleX(1); }
  .site-nav__list a[aria-current], .site-nav__toggle[data-current] { color: var(--green); }
  .site-nav__toggle::after { width: .45rem; height: .45rem; margin: -.2rem 0 0; }
  .site-nav__toggle[aria-expanded="true"]::after { margin-top: .2rem; }

  .site-nav__group { position: relative; }
  .site-nav__sub {
    position: absolute; left: -1.25rem; top: 100%; z-index: 5;
    display: grid; min-width: 19.5rem; padding: .75rem; border: 1px solid var(--line); border-radius: var(--r-md);
    background: var(--white); box-shadow: var(--shadow);
    visibility: hidden; opacity: 0; transform: translateY(.4rem); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .site-nav__sub--wide { min-width: 24rem; }
  .js .site-nav__sub { display: grid; }
  /* Opens on hover, on a click or tap of its button, and (without JavaScript) when a link inside has keyboard focus. */
  .site-nav__group:hover .site-nav__sub, html:not(.js) .site-nav__group:focus-within .site-nav__sub,
  .js .site-nav__toggle[aria-expanded="true"] + .site-nav__sub { visibility: visible; opacity: 1; transform: none; }
  /* A bridge across the gap between the button and its list, so the list stays open on the way down. */
  .site-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -1rem; height: 1rem; }
  .site-nav__sub a { padding: .55rem .75rem; border-radius: .5rem; font-size: .9375rem; color: var(--forest); }
  .site-nav__sub a:hover, .site-nav__sub a[aria-current] { background: var(--mist); color: var(--green); }
  .site-nav__all { margin-top: .25rem; padding-top: .25rem; border-top: 1px solid var(--line); }
  .site-nav__all a { color: var(--green); }
}

/* ---------- Home hero ---------- */

.hero { padding-inline: var(--inset); }
.hero__panel { position: relative; }
.hero__backdrop {
  position: absolute; inset: 0 0 11rem; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); background: var(--forest);
}
.hero__backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.hero__backdrop::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(12, 37, 19, .96) 0%, rgba(18, 51, 28, .9) 42%, rgba(18, 51, 28, .55) 78%, rgba(18, 51, 28, .4) 100%);
}
.hero__swirl { position: absolute; z-index: 1; left: -7rem; bottom: -9rem; width: 26rem; color: var(--lime); opacity: .08; animation: spin 90s linear infinite; }
.hero__inner { position: relative; display: grid; gap: 1.75rem; padding-block: clamp(2rem, 7vw, 5rem) 0; }
.hero__copy { max-width: 40rem; }
.hero h1 { margin-bottom: .45em; font-size: clamp(2.25rem, 4.2vw, 3.375rem); }
.hero__lead { max-width: 34rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: rgba(255, 255, 255, .88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
/* On phones the number is already at the top of the page, so the hero leads with email and WhatsApp instead. */
.hero__call { display: none; }
.hero__send { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1rem; }
.hero__send p { grid-column: 1 / -1; margin: 0; font-size: .9375rem; font-weight: 600; color: var(--white); }
.hero__send .btn { min-height: 3rem; padding-inline: 1rem; gap: .5rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin-top: 1.35rem; font-size: .9375rem; font-weight: 600; color: var(--white); }
.hero__trust li { display: flex; align-items: center; gap: .45rem; }
.hero__trust .icon { color: var(--lime); stroke-width: 2.6; }
.hero__form { position: relative; }

@media (min-width: 40em) {
  .hero__call { display: inline-flex; }
  .hero__send { display: flex; flex-wrap: wrap; }
  .hero__send p { flex: 0 0 100%; }
}
@media (min-width: 62em) {
  .hero__backdrop { inset: 0; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, clamp(27.5rem, 38vw, 34rem)); align-items: center; gap: clamp(2.5rem, 5vw, 5rem); padding-block: clamp(3rem, 5vw, 4.5rem); }
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Form card and fields ---------- */

.form-card {
  position: relative;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: var(--r-lg); background: var(--white); color: var(--ink);
  box-shadow: var(--shadow);
}
.form-card__title { margin-bottom: .9rem; font-size: 1.625rem; color: var(--forest); }
.on-dark .form-card__title { color: var(--forest); }
.form-card__intro { margin: -.5rem 0 1.25rem; font-size: .9688rem; color: var(--muted); }

.quote-form { display: grid; gap: .95rem; }
.field-row { display: grid; gap: .95rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label { padding: 0; font-size: .9375rem; font-weight: 600; color: var(--forest); }
.field__optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 3.125rem; padding: .7rem .9rem;
  border: 1.5px solid var(--edge); border-radius: var(--r-md);
  background: var(--white); color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 4.25rem; resize: vertical; }
.field__hint { margin: -.55rem 0 0; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(187, 206, 2, .45); }
.field.is-invalid input { border-color: var(--error); }
.field__error { margin: 0; font-size: .875rem; font-weight: 600; color: var(--error); }
.field__error:empty { display: none; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 0; padding: .85rem 1rem; border-radius: var(--r-md); background: #FCEEED; color: var(--error); font-size: .9375rem; font-weight: 600; }
.form-note { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.form-note a { color: var(--green); font-weight: 600; }
/* Most customers send drawings, so the form points to email and WhatsApp for them. */
.form-drawings { display: flex; gap: .65rem; margin: 0; padding: .8rem .95rem; border-radius: var(--r-md); background: var(--mist); font-size: .9375rem; line-height: 1.45; color: var(--forest); }
.form-drawings .icon { margin-top: .1em; color: var(--green); }
.form-drawings a { color: var(--green); font-weight: 700; }

@media (min-width: 30em) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

/* ---------- Trust strip ---------- */

.trust { padding-block: clamp(1.75rem, 4vw, 2.75rem); }
.trust__list {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(12.5rem, 1fr); gap: .75rem;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.trust__list::-webkit-scrollbar { display: none; }
.trust__list li {
  display: flex; align-items: center; gap: .85rem; scroll-snap-align: start;
  padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-md);
}
.trust__list .icon { width: 1.75rem; height: 1.75rem; color: var(--green); stroke-width: 1.6; }
.trust__list p { margin: 0; font-size: .9375rem; line-height: 1.35; color: var(--muted); }
.trust__list strong { display: block; font-family: var(--display); font-size: 1.1875rem; font-weight: 600; color: var(--forest); }

@media (min-width: 68em) {
  .trust__list { margin-inline: 0; padding-inline: 0; overflow: visible; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); }
  .trust__list li { border: 0; border-radius: 0; padding: 1.35rem 1.5rem; }
  .trust__list li + li { border-left: 1px solid var(--line); }
}

/* ---------- About: a helical screw pile going in, with the accreditations underneath ---------- */

.about { padding-top: clamp(2rem, 5vw, 4rem); }
.about__grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__media {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: var(--r-xl) var(--r-xl) var(--r-xl) clamp(5rem, 12vw, 9rem);
  background: var(--forest);
}
.about__media video { width: 100%; height: 100%; object-fit: cover; }
.about__caption {
  position: absolute; right: 1rem; bottom: 1rem; max-width: calc(100% - 2rem);
  padding: .45rem .9rem; border-radius: 999px; background: rgba(12, 37, 19, .82);
  font-size: .875rem; font-weight: 600; line-height: 1.35; color: var(--white);
}
.about__marks { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .75rem; margin-top: .75rem; }
.about__marks li { display: grid; place-items: center; min-height: 4.5rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.about__marks img { width: auto; height: 2.5rem; }
.about__mark-text { font-family: var(--display); font-size: 1.375rem; font-weight: 700; line-height: 1; color: var(--forest); text-align: center; }
.about__mark-text small { display: block; margin-top: .2rem; font-family: var(--body); font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

@media (min-width: 60em) {
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}

/* ---------- Screw piles or ground screws: the two types side by side ---------- */

.types { display: grid; gap: 1rem; }
.type { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-xl); }
.type--pile { background: var(--forest); }
.type--screw { background: var(--mist); }
.type__tag { margin-bottom: .6rem; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.type--pile .type__tag { color: var(--lime); }
.type h3 { font-size: clamp(1.625rem, 2.8vw, 2rem); }
.type .ticks { margin-block: .5rem 1.25rem; }
.type__note { display: flex; gap: .6rem; margin-bottom: 1.5rem; font-size: .9688rem; font-weight: 600; color: var(--forest); }
.type__note .icon { margin-top: .1em; color: var(--green); }
.type--pile .type__note { color: var(--white); }
.type--pile .type__note .icon { color: var(--lime); }
.type .btn { margin-top: auto; }
@media (min-width: 52em) {
  .types { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}

/* ---------- Services panel ---------- */

.services { padding-inline: var(--inset); }
.services__panel { position: relative; overflow: hidden; padding-block: var(--section); border-radius: var(--r-xl); background: var(--forest); }
.services__panel > .container { position: relative; }
.service-cards { display: grid; gap: 1.25rem; }
.service-card {
  display: flex; flex-direction: column;
  padding: .6rem; border: 1px solid var(--dark-line); border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .05);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover { background: rgba(255, 255, 255, .09); border-color: rgba(187, 206, 2, .5); }
.service-card__media { overflow: hidden; aspect-ratio: 16 / 9; border-radius: 1rem 1rem 1rem 4rem; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: clamp(1.15rem, 2.5vw, 1.75rem); }
.service-card__tag { margin-bottom: .6rem; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.service-card h3 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); }
.service-card .ticks { margin: .25rem 0 1.6rem; }
.service-card .btn { margin-top: auto; }

.ticks { display: grid; gap: .5rem 1.25rem; font-weight: 600; }
.ticks li { display: flex; align-items: flex-start; gap: .55rem; line-height: 1.4; }
.ticks .icon { margin-top: .12em; color: var(--green); stroke-width: 2.6; }
.ticks a { color: var(--green); }
.on-dark .ticks { color: var(--white); }
.on-dark .ticks .icon { color: var(--lime); }

@media (min-width: 40em) {
  .ticks { grid-template-columns: 1fr 1fr; }
}
.ticks.ticks--single { grid-template-columns: 1fr; margin-block: 1.25rem 1.75rem; }
@media (min-width: 56em) {
  .service-cards { grid-template-columns: 1fr 1fr; }
}

/* ---------- How it goes in: four steps ---------- */

.steps__list { display: grid; gap: .75rem; }
.step { padding: 1.5rem; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.step__num {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1.1rem;
  border-radius: 50%; background: var(--lime);
  font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: var(--forest);
}
.step h3 { margin-bottom: .4em; }
.step p { font-size: 1rem; color: var(--muted); }
.step__facts { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.step__facts li { padding: .3rem .8rem; border-radius: 999px; background: var(--mist); font-size: .875rem; font-weight: 700; color: var(--forest); }

@media (min-width: 44em) {
  .steps__list { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (min-width: 72em) {
  .steps__list { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Why screw piles: bento ---------- */

.bento {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 20rem); gap: .75rem;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.bento::-webkit-scrollbar { display: none; }
.bento__card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; scroll-snap-align: center;
  min-height: 19rem; padding: 1.5rem; overflow: hidden;
  border-radius: var(--r-lg); background: var(--mist);
}
.bento__card > .icon { position: absolute; top: 1.5rem; left: 1.5rem; width: 2.25rem; height: 2.25rem; color: var(--green); stroke-width: 1.5; }
.bento__card h3 { margin-bottom: .35em; font-size: 1.4375rem; }
.bento__card p { font-size: 1rem; line-height: 1.5; }
.bento__card--lime { background: var(--lime); color: var(--forest); }
.bento__card--lime > .icon { color: var(--forest); }
.bento__card--green { background: var(--green); color: rgba(255, 255, 255, .88); }
.bento__card--green h3 { color: var(--white); }
.bento__card--green > .icon { color: var(--lime); }
.bento__card--photo { color: rgba(255, 255, 255, .9); background: var(--forest); }
.bento__card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.bento__card--photo:hover img { transform: scale(1.05); }
.bento__card--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 37, 19, .94) 4%, rgba(12, 37, 19, .55) 45%, rgba(12, 37, 19, 0) 78%); }
.bento__text { position: relative; z-index: 1; }
.bento__card--photo h3 { color: var(--white); }

.pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.pills li { display: flex; align-items: center; gap: .55rem; padding: .6rem 1.05rem; border: 1.5px solid var(--line); border-radius: 999px; font-size: .9688rem; font-weight: 600; line-height: 1.3; color: var(--forest); }
.pills .icon { color: var(--green); }

@media (min-width: 44em) {
  .bento { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; margin-inline: 0; padding-inline: 0; overflow: visible; gap: 1rem;
    grid-template-areas: "a b" "a c" "d f" "e f"; }
  .bento__card { min-height: 15rem; }
  .bento__card--a { grid-area: a; } .bento__card--b { grid-area: b; } .bento__card--c { grid-area: c; }
  .bento__card--d { grid-area: d; } .bento__card--e { grid-area: e; } .bento__card--f { grid-area: f; }
}
@media (min-width: 68em) {
  .bento { grid-template-columns: 1.15fr 1fr 1fr 1.15fr; grid-template-areas: "a b c f" "a d e f"; }
}

/* ---------- Photos that open in the viewer ---------- */

.shot { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); background: var(--mist); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shot:hover img { transform: scale(1.05); }
.shot__zoom {
  position: absolute; right: .85rem; bottom: .85rem;
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem;
  border-radius: 50%; background: var(--lime); color: var(--forest);
  transition: transform .35s var(--ease);
}
.shot:hover .shot__zoom { transform: scale(1.12) rotate(90deg); }
.shot__tag { position: absolute; left: .85rem; top: .85rem; padding: .3rem .75rem; border-radius: 999px; background: rgba(12, 37, 19, .78); color: var(--white); font-size: .8125rem; font-weight: 600; }

/* Homepage: a grid of photos that each lead to the gallery. */
.thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: var(--mist); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.thumb:hover img { transform: scale(1.06); }
.thumb__more {
  position: absolute; right: .7rem; bottom: .7rem;
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem;
  border-radius: 50%; background: var(--lime); color: var(--forest);
  transition: transform .35s var(--ease);
}
.thumb__more .icon { width: 1.1rem; height: 1.1rem; stroke-width: 2.2; }
.thumb:hover .thumb__more { transform: rotate(-45deg); }
.thumbs + .btn { margin-top: 1.5rem; }
@media (min-width: 44em) {
  .thumbs { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .thumb:first-child { border-radius: var(--r-lg) var(--r-lg) var(--r-lg) clamp(3rem, 7vw, 5rem); }
}

/* ---------- FAQs ---------- */

.faqs__grid { display: grid; gap: 2rem; }
.faqs__intro .btn { margin-top: .75rem; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.25rem 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { margin: 0; font-size: clamp(1.125rem, 2vw, 1.3125rem); transition: color .2s; }
.faq__item summary:hover h3 { color: var(--green); }
.faq__icon { position: relative; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--mist); transition: background-color .3s var(--ease), transform .4s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: .9rem; height: 2px; margin: -1px 0 0 -.45rem; border-radius: 2px; background: var(--forest); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--lime); transform: rotate(45deg); }
.section--mist .faq__icon { background: var(--white); }
.faq__answer { max-width: 44rem; padding: 0 3.5rem 1.5rem 0; color: var(--muted); }

@media (min-width: 60em) {
  .faqs__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
  .faqs__intro { position: sticky; top: calc(var(--header) + 2rem); }
}

/* ---------- The slowly turning dot swirl behind the dark green panels ---------- */

.panel-swirl { position: absolute; width: 30rem; color: var(--lime); opacity: .08; animation: spin 90s linear infinite; pointer-events: none; }
.panel-swirl--low { left: -8rem; bottom: -10rem; }
.panel-swirl--high { right: -8rem; top: -10rem; }
@media (min-width: 60em) {
  .panel-swirl { width: 46rem; }
  .panel-swirl--low { left: -12rem; bottom: -16rem; }
  .panel-swirl--high { right: -12rem; top: -16rem; }
}

/* ---------- Closing quote panel ---------- */

/* Runs edge to edge and sits directly on the footer. */
.quote-panel { position: relative; overflow: hidden; padding-block: clamp(2.25rem, 6vw, 5rem); background: var(--forest); }
.quote-panel__inner { position: relative; display: grid; gap: 2rem; }
.quote-panel__copy { position: relative; }
.quote-panel__copy > p:not(.eyebrow) { max-width: 30rem; }

.contact-lines { display: grid; gap: .25rem; margin-top: 1.75rem; }
.contact-lines a { display: inline-flex; align-items: center; gap: .9rem; padding: .5rem 0; text-decoration: none; color: var(--white); font-family: var(--display); font-size: 1.25rem; font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
.contact-lines .icon { box-sizing: content-box; width: 1.25rem; height: 1.25rem; padding: .8rem; border: 1.5px solid var(--dark-line); border-radius: 50%; color: var(--lime); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.contact-lines a:hover .icon { background: var(--lime); border-color: var(--lime); color: var(--forest); }
.contact-lines small { display: block; font-family: var(--body); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }

@media (min-width: 60em) {
  .quote-panel__inner { grid-template-columns: minmax(0, 1fr) minmax(0, clamp(27.5rem, 38vw, 34rem)); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
}

/* ---------- Footer ---------- */

.site-footer { padding-block: clamp(3rem, 6vw, 5rem) 1.5rem; background: var(--forest-deep); font-size: 1rem; }
.site-footer__top { display: grid; gap: 2.5rem; }
.site-footer__brand p { max-width: 24rem; margin: 1.25rem 0 1.5rem; }
.site-footer__heading { margin-bottom: 1.1rem; font-family: var(--body); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.site-footer .site-footer__heading { color: var(--lime); }
.site-footer__col ul { display: grid; gap: .65rem; }
.site-footer__col a { text-decoration: none; }
.site-footer__col a:hover { color: var(--lime); }
.site-footer .logo img { width: 16.5rem; }
.site-footer__contact li, .site-footer__contact a, .site-footer__marks li { display: flex; align-items: flex-start; gap: .65rem; overflow-wrap: anywhere; }
.site-footer__contact .icon, .site-footer__marks .icon { margin-top: .2em; color: var(--lime); }
.site-footer__marks { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.site-footer__marks ul { display: grid; gap: .35rem; font-size: .9375rem; }
.badge-chip { display: inline-block; padding: .7rem .9rem; border-radius: var(--r-md); background: var(--white); }
.badge-chip img { width: 9.5rem; }
.site-footer__areas { grid-template-columns: 1fr; }
.site-footer__more { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem; font-weight: 700; color: var(--lime); }
.site-footer__more .icon { width: 1rem; height: 1rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--dark-line); font-size: .875rem; color: rgba(255, 255, 255, .65); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a:hover { color: var(--lime); }

@media (min-width: 40em) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 68em) {
  .site-footer__top { grid-template-columns: 1.45fr 1fr 1fr 1.1fr; gap: 3rem; }
}

/* ---------- Floating buttons: WhatsApp (large screens), contact dock (phones), back to top ---------- */

.whatsapp-fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  display: none; place-items: center; width: 3.75rem; height: 3.75rem;
  border-radius: 50%; background: var(--green); color: var(--white);
  box-shadow: 0 0 0 4px var(--lime), 0 16px 30px -12px rgba(12, 37, 19, .6);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.whatsapp-fab .icon { width: 1.85rem; height: 1.85rem; }
.whatsapp-fab:hover { transform: scale(1.08); background: var(--forest); }

/* Sits above the dock on a phone, above the WhatsApp button on larger screens. */
.to-top {
  position: fixed; right: 1rem; bottom: calc(3.9rem + env(safe-area-inset-bottom) + .85rem); z-index: 40;
  display: grid; place-items: center; width: 3rem; height: 3rem;
  border-radius: 50%; background: var(--lime); color: var(--forest);
  box-shadow: 0 12px 26px -12px rgba(12, 37, 19, .65);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .3s var(--ease), color .3s var(--ease);
}
.to-top .icon { width: 1.35rem; height: 1.35rem; stroke-width: 2.2; }
.to-top:hover { background: var(--forest); color: var(--lime); }
.js .to-top:not(.is-visible), .nav-open .to-top, .forms-in-view .to-top { opacity: 0; visibility: hidden; transform: translateY(.5rem); }

.dock {
  position: fixed; inset: auto 0 0 0; z-index: 45;
  display: grid; grid-template-columns: 1fr 1fr 1fr 1.45fr;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--white); border-top: 1px solid var(--line);
  box-shadow: 0 -14px 30px -18px rgba(12, 37, 19, .45);
  transform: translateY(110%); transition: transform .4s var(--ease);
}
.dock.is-visible { transform: none; }
.nav-open .dock { transform: translateY(110%); }
.dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; min-height: 3.9rem; font-size: .8125rem; font-weight: 700; text-decoration: none; color: var(--forest); }
.dock a + a { border-left: 1px solid var(--line); }
.dock .icon { width: 1.35rem; height: 1.35rem; color: var(--green); }
.dock .dock__main { flex-direction: row; gap: .45rem; background: var(--lime); border-left: 0; font-size: .875rem; }
.dock .dock__main .icon { color: var(--forest); }
body { padding-bottom: 3.9rem; }

@media (min-width: 48em) {
  .dock { display: none; }
  .whatsapp-fab { display: grid; }
  .to-top { right: 1.625rem; bottom: 6rem; }
  body { padding-bottom: 0; }
  .site-footer__bottom { padding-right: 5rem; }
}

/* ---------- Inner page heading: just the page name, on a dark green panel ---------- */

.page-head { padding-inline: var(--inset); }
.page-head__panel { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 7vw, 5rem); border-radius: var(--r-xl); background: var(--forest); }
.page-head h1 { position: relative; margin: 0; }
.page-head__swirl { position: absolute; right: -6rem; top: -7rem; width: 24rem; color: var(--lime); opacity: .08; animation: spin 90s linear infinite; pointer-events: none; }

/* ---------- Service page blocks ---------- */

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg) clamp(4rem, 10vw, 7.5rem) var(--r-lg) var(--r-lg); }
.split__copy .btn { margin-top: .75rem; }
.split__copy .ticks { margin-block: 1.25rem; }
@media (min-width: 60em) {
  /* The photo runs the full height of the text beside it, lining up top and bottom. */
  .split { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .split__media img { height: 100%; aspect-ratio: auto; }
  .split--flip .split__media { order: 2; }
}

/* A drag-across row on phones, a grid from tablet width up. */
.uses {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 19rem); gap: .75rem;
  margin-inline: calc(var(--gutter) * -1); padding: .25rem var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.uses::-webkit-scrollbar { display: none; }
.use { display: flex; gap: 1rem; scroll-snap-align: start; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); transition: border-color .3s var(--ease), transform .3s var(--ease); }
.use:hover { border-color: var(--green); transform: translateY(-3px); }
.use::before { content: ""; flex: none; width: 1.85rem; height: .7rem; margin-top: .55rem; background: var(--dots); color: var(--green); }
.use h3 { margin-bottom: .25em; font-size: 1.1875rem; }
.use p { font-size: 1rem; line-height: 1.5; color: var(--muted); }
@media (min-width: 40em) { .uses { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; gap: 1rem; margin-inline: 0; padding: 0; overflow: visible; } }
@media (min-width: 68em) { .uses { grid-template-columns: repeat(3, 1fr); } }

.signs { display: grid; gap: .6rem; }
.signs li { display: flex; align-items: center; gap: .9rem; padding: .85rem 1.1rem; border-radius: var(--r-md); background: rgba(255, 255, 255, .07); color: var(--white); font-weight: 600; line-height: 1.35; }
.signs li::before { content: ""; flex: none; width: 1.85rem; height: .7rem; background: var(--dots); color: var(--lime); }
@media (min-width: 40em) { .signs { grid-template-columns: 1fr 1fr; } }

.band { padding-inline: var(--inset); }
.band__panel { padding-block: var(--section); border-radius: var(--r-xl); background: var(--forest); }
.band__grid { display: grid; gap: 2rem; }
.band__grid > * { min-width: 0; }
@media (min-width: 60em) {
  .band__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); }
  /* The tiles share out the height of the text beside them, so both columns end level. */
  .band__grid .signs { grid-auto-rows: 1fr; }
}



/* Cards with an icon: benefits, services within an area, and so on. Two across from tablet width. */
.features { display: grid; gap: .85rem; }
.feature { padding: clamp(1.35rem, 2.5vw, 1.85rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.feature > .icon { box-sizing: content-box; width: 1.5rem; height: 1.5rem; margin-bottom: 1rem; padding: .75rem; border-radius: 50%; background: var(--mist); color: var(--green); }
.section--mist .feature > .icon { background: var(--lime); color: var(--forest); }
.feature h3 { margin-bottom: .4em; }
.feature p { font-size: 1rem; color: var(--muted); }
.feature .btn { margin-top: .5rem; }
.feature__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .75rem; font-size: .9375rem; font-weight: 700; color: var(--green); }
.feature__link .icon { width: 1rem; height: 1rem; }
.feature--cta { background: var(--lime); border-color: var(--lime); }
.feature--cta > .icon, .section--mist .feature--cta > .icon { background: var(--forest); color: var(--lime); }
.feature--cta p { color: var(--forest); }
@media (min-width: 44em) {
  .features { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (min-width: 72em) {
  .features--three { grid-template-columns: repeat(3, 1fr); }
}

/* Pale pills for lists of places. */
.places { display: flex; flex-wrap: wrap; gap: .5rem; }
.places-label { margin: 1.5rem 0 .65rem; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.split .places { margin-top: 1.25rem; }
.places-label + .places { margin-top: 0; }
.places li { padding: .45rem .95rem; border-radius: 999px; background: var(--mist); font-size: .9375rem; font-weight: 600; color: var(--forest); }
.section--mist .places li { background: var(--white); }

/* Areas page: one card per area page. */
.area-cards { display: grid; gap: .85rem; }
.area-card {
  display: flex; flex-direction: column; gap: .6rem; height: 100%; padding: 1.4rem;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); text-decoration: none;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.area-card:hover { border-color: var(--green); transform: translateY(-3px); }
.area-card__name { display: flex; align-items: center; gap: .55rem; font-family: var(--display); font-size: 1.4375rem; font-weight: 600; line-height: 1.2; color: var(--forest); }
.area-card__name .icon { color: var(--green); }
.area-card__blurb { font-size: 1rem; line-height: 1.5; color: var(--muted); }
.area-card__more { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: .4rem; font-size: .9375rem; font-weight: 700; color: var(--green); }
.area-card__more .icon { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.area-card:hover .area-card__more .icon { transform: translateX(3px); }
@media (min-width: 40em) { .area-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 68em) { .area-cards { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }

/* Approved installers: the pile sizes we stock. */
.spec-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.spec-table caption { margin-bottom: .75rem; text-align: left; font-weight: 600; color: var(--muted); }
.spec-table th, .spec-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--dark-line); text-align: left; }
.spec-table thead th { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.spec-table tbody th { font-family: var(--display); font-size: 1.1875rem; font-weight: 600; color: var(--white); }
.spec-table td { color: var(--white); font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* Job stories: real projects, one card each. */
.stories { display: grid; gap: .85rem; counter-reset: story; }
.story { position: relative; padding: 1.4rem 1.4rem 1.4rem 4.25rem; border-radius: var(--r-lg); background: var(--white); }
.story::before {
  counter-increment: story; content: counter(story);
  position: absolute; left: 1.4rem; top: 1.4rem;
  display: grid; place-items: center; width: 2.1rem; height: 2.1rem;
  border-radius: 50%; background: var(--lime); font-family: var(--display); font-weight: 600; color: var(--forest);
}
.story h3 { margin-bottom: .35em; font-size: 1.1875rem; }
.story p { font-size: 1rem; color: var(--muted); }
.story a { color: var(--green); font-weight: 700; }
@media (min-width: 52em) { .stories { grid-template-columns: 1fr 1fr; gap: 1rem; } }

/* The gallery video: a still with a play button until someone presses it. */
.video { margin-bottom: clamp(2rem, 4vw, 3rem); }
.video__frame, .video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 0; border-radius: var(--r-xl); background: var(--forest); }
.video__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.video__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 37, 19, .55), rgba(12, 37, 19, .05) 60%); }
.video__frame:hover img { transform: scale(1.03); }
.video__play {
  position: absolute; z-index: 1; left: 50%; top: 50%;
  display: grid; place-items: center; width: clamp(4.5rem, 9vw, 6rem); height: clamp(4.5rem, 9vw, 6rem); margin: calc(clamp(4.5rem, 9vw, 6rem) / -2) 0 0 calc(clamp(4.5rem, 9vw, 6rem) / -2);
  border-radius: 50%; background: var(--lime); color: var(--forest);
  box-shadow: 0 0 0 .6rem rgba(187, 206, 2, .3); transition: transform .3s var(--ease);
}
.video__play .icon { width: 42%; height: 42%; margin-left: 8%; }
.video__frame:hover .video__play { transform: scale(1.08); }
.video__caption { max-width: 52rem; margin-top: 1rem; font-size: 1rem; color: var(--muted); }
.video__caption strong { display: block; font-family: var(--display); font-size: 1.3125rem; font-weight: 600; color: var(--forest); }
.video__length { display: inline-block; margin-left: .35rem; padding: .1rem .55rem; border-radius: 999px; background: var(--mist); font-size: .8125rem; font-weight: 700; color: var(--forest); }

/* A row of links to the other services, under the two big service cards. */
.service-links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.5rem; }
.service-links p { margin: 0 .5rem 0 0; font-weight: 600; color: var(--white); }
.service-links a { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border: 1.5px solid var(--dark-line); border-radius: 999px; font-size: .9375rem; font-weight: 600; text-decoration: none; color: var(--white); transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.service-links a:hover { background: var(--lime); border-color: var(--lime); color: var(--forest); }
.service-links .icon { width: 1rem; height: 1rem; }

/* ---------- Gallery ---------- */

.gallery__intro { max-width: 46rem; margin-bottom: 1.5rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filters button {
  min-height: 2.9rem; padding: .5rem 1.15rem;
  border: 1.5px solid var(--edge); border-radius: 999px; background: none;
  font-weight: 600; color: var(--forest); cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.filters button:hover { border-color: var(--green); }
.filters button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--white); }
.filters small { margin-left: .35rem; font-size: .8125rem; opacity: .75; }

.gallery { display: grid; gap: .75rem; }
.gallery__item .shot { aspect-ratio: 3 / 2; height: 100%; }
.gallery__item[hidden] { display: none; }
.gallery__more { margin: 1.5rem 0 0; color: var(--muted); }
.gallery__more a { color: var(--green); font-weight: 700; }
@media (min-width: 36em) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (min-width: 60em) {
  .gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 15rem; }
  .gallery__item { grid-column: span 2; }
  .gallery__item .shot { aspect-ratio: auto; }
  .gallery:not(.is-filtered) .gallery__item:nth-child(7n + 1) { grid-column: span 4; grid-row: span 2; }
  .gallery:not(.is-filtered) .gallery__item:nth-child(7n + 4), .gallery:not(.is-filtered) .gallery__item:nth-child(7n + 5),
  .gallery:not(.is-filtered) .gallery__item:nth-child(7n + 6), .gallery:not(.is-filtered) .gallery__item:nth-child(7n + 7) { grid-column: span 3; }
  .gallery.is-filtered .gallery__item { grid-column: span 3; grid-row: span 1; }
}

.lightbox {
  width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgba(12, 37, 19, .96); color: var(--white);
}
.lightbox::backdrop { background: rgba(12, 37, 19, .96); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure { display: grid; gap: .9rem; justify-items: center; width: min(100% - 2rem, 78rem); }
.lightbox__figure img { max-width: 100%; max-height: calc(100dvh - 9rem); width: auto; height: auto; border-radius: var(--r-md); }
.lightbox__figure figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1rem; max-width: 46rem; text-align: center; font-size: .9375rem; line-height: 1.4; }
.lightbox__count { color: var(--lime); font-weight: 700; white-space: nowrap; }
.lightbox__btn {
  position: fixed; z-index: 2; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; padding: 0;
  border: 0; border-radius: 50%; background: var(--lime); color: var(--forest); cursor: pointer;
  transition: transform .25s var(--ease);
}
.lightbox__btn:hover { transform: scale(1.08); }
.lightbox__btn .icon { width: 1.4rem; height: 1.4rem; stroke-width: 2.2; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; bottom: 1rem; }
.lightbox__next { right: 1rem; bottom: 1rem; }
@media (min-width: 60em) {
  .lightbox__prev, .lightbox__next { bottom: auto; top: calc(50% - 1.6rem); }
  .lightbox__figure { width: min(100% - 11rem, 78rem); }
}

/* ---------- Contact page ---------- */

.contact-grid { display: grid; gap: 2rem; }
/* On phones, email and WhatsApp come first: that is how most customers send their drawings. */
.contact-cards { order: -1; }
.contact-cards { display: grid; gap: .75rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; background: var(--white); transition: border-color .25s var(--ease), transform .25s var(--ease); }
a.contact-card:hover { border-color: var(--green); transform: translateY(-2px); }
.contact-card .icon { box-sizing: content-box; width: 1.35rem; height: 1.35rem; padding: .8rem; border-radius: 50%; background: var(--mist); color: var(--green); }
.contact-card small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-card span { font-family: var(--display); font-size: 1.1875rem; font-weight: 600; line-height: 1.3; color: var(--forest); overflow-wrap: anywhere; }
.contact-form { padding: clamp(1.35rem, 3vw, 2.5rem); border-radius: var(--r-xl); background: var(--mist); }
.contact-form .form-card { box-shadow: none; padding: 0; background: none; }
@media (min-width: 60em) {
  .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
  .contact-cards { order: 0; }
}

/* ---------- Simple pages: thank you, 404, privacy ---------- */

.simple { padding-inline: var(--inset); }
.simple__panel { position: relative; overflow: hidden; padding: clamp(3rem, 9vw, 7rem) var(--gutter); border-radius: var(--r-xl); background: var(--forest); text-align: center; }
.simple__panel > * { position: relative; }
.simple__panel .eyebrow { justify-content: center; }
.simple__panel p { max-width: 36rem; margin-inline: auto; }
.simple__panel .hero__actions { justify-content: center; }
.simple__panel .lead a { color: var(--lime); font-weight: 600; }
.simple__note { margin-top: 1rem; font-size: .9375rem; color: rgba(255, 255, 255, .7); }
.simple__swirl { position: absolute; left: calc(50% - 15rem); top: calc(50% - 15rem); width: 30rem; color: var(--lime); opacity: .07; animation: spin 90s linear infinite; }
.simple__mark { width: 5rem; height: 5rem; margin: 0 auto 1.5rem; color: var(--lime); }

.next-steps { display: grid; gap: 1rem; counter-reset: step; }
.next-steps li { counter-increment: step; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-lg); }
.next-steps li::before { content: counter(step); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: 1rem; border-radius: 50%; background: var(--lime); font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: var(--forest); }
.next-steps h3 { margin-bottom: .35em; }
.next-steps p { font-size: 1rem; color: var(--muted); }
@media (min-width: 52em) { .next-steps { grid-template-columns: repeat(3, 1fr); } }

.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.75em; font-size: clamp(1.5rem, 2.6vw, 1.875rem); }
.prose ul { margin: 0 0 1.1em; padding-left: 1.25rem; list-style: disc; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--green); font-weight: 600; }

/* ---------- Card rows dragged with a mouse (classes set by main.js) ---------- */

.is-draggable { cursor: grab; }
.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; -webkit-user-select: none; }

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
