/*
Theme Name: Jose Hernandez Landscaping
Theme URI: https://josehernandezlandscaping.com
Author: Marlene / Codefactory
Description: Block theme for Jose Hernandez Landscaping, Bushnell, Florida. White ground, light green panels, the brand's dark green on the hero, the closing band and the footer, the bright green on buttons and highlighted words. Pill buttons, rounded photographs, a clean heavy sans for titles.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 8.1
Version: 0.4.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jhl
Tags: block-theme, full-site-editing, business, one-column, accessibility-ready
*/

/* ==========================================================================
   0 · FALLBACK METRICS
   The real face is declared by theme.json. This keeps the swap from moving
   a pixel, which is most of the CLS budget on a page like this.
   ========================================================================== */

@font-face {
  font-family: "Bevan Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 118%;
  ascent-override: 78%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Franklin Fallback";
  src: local("Helvetica Neue"), local("Arial"), local("Segoe UI");
  size-adjust: 102%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

/* ==========================================================================
   1 · TOKENS not expressible in theme.json
   ========================================================================== */

:root {
  --jhl-gutter: clamp(18px, 3.2vw, 56px);
  --jhl-wide: 88rem;
  /* the gutter, or whatever centres a column of --jhl-wide on a wider screen */
  --jhl-inset: max(var(--jhl-gutter), calc((100% - var(--jhl-wide)) / 2));

  --jhl-header-h: 84px;
  --jhl-header-h-compact: 64px;
  /* WordPress sets this on <html> while the admin bar shows; 0px otherwise. */
  --jhl-bar: var(--wp-admin--admin-bar--height, 0px);
  --jhl-actionbar-h: 0px;

  /* corners: one radius for photographs and panels, a smaller one for rows and fields, pills for controls */
  --jhl-r: 16px;
  --jhl-r-sm: 10px;
  --jhl-pill: 999px;

  --jhl-on-green-700: #D8EDE2; /* mint: text on the dark greens, 5.4:1 on 700, 7.6:1 on 900 */
  --jhl-on-green-100: #365443; /* secondary text on sage, 7.1:1; on white 7.6:1 */

  /* The built-in CSS easings are too weak to read as intentional. */
  --jhl-ease: cubic-bezier(.23, 1, .32, 1);          /* strong ease-out */
  --jhl-ease-out: cubic-bezier(.23, 1, .32, 1);
  --jhl-ease-move: cubic-bezier(.77, 0, .175, 1);    /* on-screen movement */
  --jhl-dur-press: .14s;
  --jhl-dur: .2s;
  --jhl-dur-slow: .5s;
  --jhl-dur-reveal: .72s;
  --jhl-lift: -3px;

  /* one soft shadow, offset and blurred, for things that really float */
  --jhl-shadow: 0 14px 30px -18px rgba(20, 40, 28, .35), 0 2px 6px -3px rgba(20, 40, 28, .12);
}

@media (max-width: 781px) {
  :root {
    --jhl-header-h: 64px;
    --jhl-header-h-compact: 56px;
    --jhl-actionbar-h: 62px;
  }
}

/* ==========================================================================
   2 · BASE  +  BROWSER SURFACES
   ========================================================================== */

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--wp--preset--color--white);
  color: var(--wp--preset--color--ink);
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--wp--preset--color--green-500);
  color: #fff;
}

@supports (scrollbar-color: red blue) {
  html {
    scrollbar-color: var(--wp--preset--color--green-700) var(--wp--preset--color--green-100);
    scrollbar-width: thin;
  }
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--wp--preset--color--green-500);
  outline-offset: 3px;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
h2 { margin: 0; }

/* Skip link */
.jhl-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--white);
  padding: 14px 22px;
  border-radius: var(--jhl-pill);
  font-weight: 650;
  text-decoration: none;
}
.jhl-skip:focus {
  left: 12px;
  top: calc(var(--jhl-bar) + 12px);
}

/* ==========================================================================
   3 · THE PAGE
   ========================================================================== */

.wp-site-blocks {
  padding: var(--jhl-header-h) 0 var(--jhl-actionbar-h);
  min-height: 100svh;
  display: flow-root;
  gap: 0;
}
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-site-blocks > main, .wp-site-blocks > footer, .wp-site-blocks > header { margin: 0; }
/* On the front page the hero runs up behind the transparent header. */
.home .wp-site-blocks { padding-top: 0; }

.jhl-sheet {
  background: var(--wp--preset--color--white);
  overflow: clip;
}
.jhl-sheet > *,
.jhl-sheet > * + *,
.jhl-sheet > .wp-block-post-content > *,
.jhl-sheet > .wp-block-post-content > * + * { margin-block: 0; }
.jhl-sheet > * { max-width: 100%; }

/* a full-bleed band whose content sits inside the page's gutters */
.jhl-band { padding-inline: var(--jhl-inset); }

.jhl-section { padding-block: clamp(44px, 6vw, 96px); }
.jhl-section--tight { padding-block: clamp(32px, 4vw, 64px); }
.jhl-section--soft { background: var(--wp--preset--color--green-50); }
.jhl-section__title { margin: 0 0 clamp(22px, 3vw, 40px); }

/* centred section head: the small label with a rule either side, then the title */
.jhl-section--center { text-align: center; }
.jhl-section--center .jhl-section__title { margin-left: auto; margin-right: auto; max-width: 24ch; }
.jhl-section--center > p:not(.jhl-eyebrow) { margin-inline: auto; }

.jhl-eyebrow {
  margin: 0 0 clamp(10px, 1.4vw, 16px);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wp--preset--color--green-700);
}
.jhl-eyebrow--lines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: none;
}
.jhl-eyebrow--lines::before,
.jhl-eyebrow--lines::after {
  content: "";
  flex: 0 1 64px;
  height: 1px; /* taste-skill-ignore: the brief pins thin rules either side of the label */
  background: var(--wp--preset--color--green-500);
}
.jhl-eyebrow--light { color: var(--jhl-on-green-700); }

/* ==========================================================================
   4 · HEADER : the brand band, fixed and compacting; transparent over the home video
   Height is reserved on .wp-site-blocks and never changes with the compact
   state, so compacting cannot shift a single pixel of content.
   ========================================================================== */

.jhl-header {
  position: fixed;
  top: var(--jhl-bar);   /* 0 signed out; the admin bar's height signed in */
  left: 0;
  right: 0;
  z-index: 30;
  height: var(--jhl-header-h);
  background: var(--wp--preset--color--white);
  color: var(--wp--preset--color--ink);
  display: flex;
  align-items: center;
  gap: 24px;
  padding-inline: var(--jhl-inset);
  /* Only height and paint change on compact. Position never does, and nothing
     here is ever transformed, so no animation can move it off the top edge. */
  transition:
    height var(--jhl-dur-slow) var(--jhl-ease-out),
    background-color var(--jhl-dur) var(--jhl-ease),
    box-shadow var(--jhl-dur) var(--jhl-ease),
    color var(--jhl-dur) var(--jhl-ease);
}
/* Over the hero video the header is transparent and its type is white. */
.home .jhl-header:not(.is-compact) {
  background: transparent;
  color: #fff;
}
.jhl-header.is-compact {
  height: var(--jhl-header-h-compact);
  background: #fff;
  box-shadow: 0 1px 0 rgba(20, 40, 28, .06), 0 8px 24px -16px rgba(20, 40, 28, .28); /* taste-skill-ignore: the fixed bar, which really floats over the page */
}

.jhl-header__logo {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}
.jhl-header__logo img {
  /* sized from the header's height: 12px of air above and below, always inside */
  height: calc(var(--jhl-header-h) - 24px);
  width: auto;
  transition: height var(--jhl-dur-slow) var(--jhl-ease-out);
}
/* Two lockups ship; the one that reads on the ground behind it is shown. */
.jhl-header__logo--light { display: none; }
.home .jhl-header:not(.is-compact) .jhl-header__logo--dark { display: none; }
.home .jhl-header:not(.is-compact) .jhl-header__logo--light { display: block; }
.jhl-header.is-compact .jhl-header__logo img { height: calc(var(--jhl-header-h-compact) - 20px); }

.jhl-header__right { gap: clamp(14px, 2vw, 32px); }

.jhl-header__call {
  color: inherit;
  text-decoration: none;
  font-weight: 650;
  font-size: var(--wp--preset--font-size--medium);
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 3px solid transparent;
  transition: border-color var(--jhl-dur) var(--jhl-ease), color var(--jhl-dur);
}
.jhl-header__call:hover,
.jhl-header__call:focus-visible { border-bottom-color: var(--wp--preset--color--green-500); }

.jhl-header__cta {
  background: var(--wp--preset--color--green-500);
  color: var(--wp--custom--on-green-500);
  text-decoration: none;
  font-weight: 700;
  padding: 11px 20px;
  white-space: nowrap;
  transition: background-color var(--jhl-dur) var(--jhl-ease), transform var(--jhl-dur) var(--jhl-ease);
}
.jhl-header__cta:hover,
.jhl-header__cta:focus-visible { background: var(--wp--custom--green-500-lift); color: var(--wp--custom--on-green-500); transform: translateY(var(--jhl-lift)); }
.jhl-header__cta:active { transform: scale(.97); }

/* --- navigation: the current page underlined in green --------------------- */

.jhl-header .wp-block-navigation { --navigation-layout-justification-setting: flex-end; }

.jhl-header .wp-block-navigation-item__content {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 3px solid transparent;
  transition: border-color var(--jhl-dur) var(--jhl-ease);
}
.jhl-header .wp-block-navigation-item__content:hover,
.jhl-header .wp-block-navigation-item__content:focus-visible {
  border-bottom-color: var(--wp--preset--color--green-500);
}
.jhl-header .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.jhl-header .wp-block-navigation-item__content[aria-current="page"] {
  border-bottom-color: var(--wp--preset--color--green-500);
}

/* the overlay menu */
.jhl-header .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--wp--preset--color--green-700);
  color: #fff;
  padding: calc(var(--jhl-bar) + 72px) var(--jhl-gutter) var(--jhl-gutter);
}
.jhl-header .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item__content {
  font-size: clamp(1.6rem, 7vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  border-bottom-width: 3px;
}
.jhl-header .wp-block-navigation__responsive-container-open { color: inherit; }
.jhl-header .wp-block-navigation__responsive-container-close { color: #fff; }
.jhl-header .wp-block-navigation__responsive-container-open svg,
.jhl-header .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }
.jhl-header .wp-block-navigation__responsive-container-open,
.jhl-header .wp-block-navigation__responsive-container-close {
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   5 · BUTTONS : pills, everywhere a button is a button
   ========================================================================== */

.jhl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--jhl-pill);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--jhl-dur-press) var(--jhl-ease),
    background-color var(--jhl-dur) var(--jhl-ease),
    border-color var(--jhl-dur) var(--jhl-ease),
    color var(--jhl-dur) var(--jhl-ease);
}
.jhl-btn svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.jhl-btn svg.is-filled { fill: currentColor; stroke: none; }
.jhl-btn:active { transform: scale(.97); }

.jhl-btn--primary {
  background: var(--wp--preset--color--green-500);
  border-color: var(--wp--preset--color--green-500);
  color: var(--wp--custom--on-green-500);
}
.jhl-btn--primary:hover,
.jhl-btn--primary:focus-visible {
  background: var(--wp--custom--green-500-lift);
  border-color: var(--wp--custom--green-500-lift);
  color: var(--wp--custom--on-green-500);
}
.jhl-btn--dark {
  background: var(--wp--preset--color--green-700);
  border-color: var(--wp--preset--color--green-700);
  color: #fff;
}
.jhl-btn--dark:hover,
.jhl-btn--dark:focus-visible {
  background: var(--wp--preset--color--green-900);
  border-color: var(--wp--preset--color--green-900);
  color: #fff;
}
.jhl-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}
.jhl-btn--ghost:hover,
.jhl-btn--ghost:focus-visible { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }
.jhl-btn--lg { min-height: 54px; padding: 14px 28px; font-size: var(--wp--preset--font-size--large); }

/* the arrow moves on when the pointer arrives */
.jhl-btn .jhl-arrow { transition: transform var(--jhl-dur) var(--jhl-ease-out); }
.jhl-btn:hover .jhl-arrow, .jhl-btn:focus-visible .jhl-arrow { transform: translateX(4px); }

/* ==========================================================================
   6 · MOBILE ACTION BAR : Call and Free Quote, always one thumb away
   ========================================================================== */

.jhl-actionbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  height: var(--jhl-actionbar-h);
  background: var(--wp--preset--color--ink);
  padding-bottom: env(safe-area-inset-bottom, 0);
  transition: transform var(--jhl-dur-slow) var(--jhl-ease-out);
}
.jhl-actionbar a {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 62px;
  text-decoration: none;
  font-weight: 700;
  font-size: .9375rem;
  white-space: nowrap;
  transition: background-color var(--jhl-dur) var(--jhl-ease);
}
.jhl-actionbar a:first-child { background: var(--wp--preset--color--green-700); color: #fff; }
.jhl-actionbar a:last-child  { background: var(--wp--preset--color--green-500); color: var(--wp--custom--on-green-500); }
.jhl-actionbar a:first-child:hover, .jhl-actionbar a:first-child:focus-visible { background: var(--wp--preset--color--green-900); }
.jhl-actionbar a:last-child:hover,  .jhl-actionbar a:last-child:focus-visible  { background: var(--wp--custom--green-500-lift); }
.jhl-actionbar svg { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }
@media (max-width: 781px) { .jhl-actionbar { display: flex; } }
/* It steps aside when the closing call-to-action is on screen. */
.jhl-actionbar.is-yielded { transform: translateY(100%); }

/* ==========================================================================
   7 · HOME HERO : the video edge to edge from y=0, the type over a scrim
   The headline and the phone are the one place the display face (Bevan) is used.
   ========================================================================== */

.jhl-hero {
  position: relative;
  min-height: min(94svh, 880px);
  display: grid;
  align-items: end;
  overflow: clip;
  background: var(--wp--preset--color--green-900);
  color: #fff;
  isolation: isolate;
}
.jhl-hero__media,
.jhl-hero__media .jhl-photo,
.jhl-hero__media .jhl-photo img,
.jhl-hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.jhl-hero__media .jhl-photo img { object-fit: cover; object-position: 50% 62%; }
.jhl-hero__video { object-fit: cover; opacity: 0; transition: opacity .9s var(--jhl-ease); }
.jhl-hero__video.is-playing { opacity: 1; }
.jhl-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 20, 14, .82) 0%, rgba(10, 20, 14, .40) 46%, rgba(10, 20, 14, .18) 70%, rgba(10, 20, 14, .60) 100%); /* taste-skill-ignore: a neutral scrim under type on footage */
  pointer-events: none;
}
.jhl-hero__content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--jhl-header-h) + var(--jhl-bar) + clamp(40px, 8vh, 96px));
  padding-bottom: clamp(36px, 6vh, 72px);
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  max-width: 100%;
}
.jhl-hero__content h1 {
  color: #fff;
  margin: 0;
  max-width: 14ch;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 400;
  font-size: var(--wp--preset--font-size--display);
  line-height: .96;
  letter-spacing: -.025em;
}
.jhl-hero__content .jhl-lede { color: #fff; max-width: 44ch; margin: 0; }
.jhl-hero__actions { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); flex-wrap: wrap; margin-top: clamp(6px, 1vw, 12px); }
.jhl-hero__call {
  font-family: var(--wp--preset--font-family--display);
  font-size: var(--wp--preset--font-size--call);
  line-height: 1; letter-spacing: -.02em;
  color: #fff; text-decoration: none; white-space: nowrap;
  transition: color var(--jhl-dur) var(--jhl-ease), transform var(--jhl-dur) var(--jhl-ease);
}
.jhl-hero__call:hover, .jhl-hero__call:focus-visible { color: var(--wp--preset--color--green-500); transform: translateY(var(--jhl-lift)); }

.jhl-video-toggle {
  position: absolute; right: var(--jhl-gutter); bottom: clamp(16px, 2.6vh, 28px);
  z-index: 2;
  width: 44px; height: 44px; padding: 0;
  display: inline-grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(10, 20, 14, .55);
  color: #fff;
  transition: background-color var(--jhl-dur) var(--jhl-ease), transform var(--jhl-dur-press) var(--jhl-ease);
}
.jhl-video-toggle:hover, .jhl-video-toggle:focus-visible { background: rgba(10, 20, 14, .82); }
.jhl-video-toggle:focus-visible { outline: 3px solid var(--wp--preset--color--green-500); outline-offset: 2px; }
.jhl-video-toggle:active { transform: scale(.94); }
.jhl-video-toggle svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.jhl-video-toggle[aria-pressed="true"] .is-when-paused,
.jhl-video-toggle[aria-pressed="false"] .is-when-playing { display: none; }

@media (max-width: 781px) {
  .jhl-hero { min-height: calc(100svh - var(--jhl-actionbar-h) - var(--jhl-bar)); }
  .jhl-hero__content h1 { max-width: none; }
  .jhl-video-toggle { bottom: 14px; right: 14px; }
}

/* ==========================================================================
   8 · INNER PAGE TITLE BAND : short, dark green, the title and one line
   ========================================================================== */

.jhl-title-band {
  position: relative;
  background-color: var(--wp--preset--color--green-900);
  background-image: linear-gradient(100deg, var(--wp--preset--color--green-900) 0%, var(--wp--preset--color--green-700) 100%); /* taste-skill-ignore: the brief pins the dark-green band */
  color: #fff;
  padding-block: clamp(32px, 5vw, 64px) clamp(32px, 5vw, 60px);
}
.jhl-title-band h1, .jhl-title-band .jhl-title { color: #fff; margin: 0; max-width: 18ch; }
.jhl-title-band .jhl-lede { color: var(--jhl-on-green-700); margin: clamp(12px, 1.6vw, 18px) 0 0; max-width: 56ch; }
.jhl-title-band .wp-block-post-title { color: #fff; }

/* ---- breadcrumbs, inside the band ---- */
.jhl-crumbs { margin: 0 0 clamp(12px, 1.6vw, 20px); }
.jhl-crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 10px;
  font-size: var(--wp--preset--font-size--small);
  color: var(--jhl-on-green-700);
}
.jhl-crumbs li { margin: 0; }
.jhl-crumbs li + li::before { content: "/"; margin-right: 10px; }
.jhl-crumbs a {
  color: var(--jhl-on-green-700);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--jhl-dur) var(--jhl-ease), color var(--jhl-dur) var(--jhl-ease);
}
.jhl-crumbs a:hover, .jhl-crumbs a:focus-visible { color: #fff; border-bottom-color: var(--wp--preset--color--green-500); }
.jhl-crumbs [aria-current="page"] { font-weight: 650; color: #fff; }

.jhl-lede {
  font-size: var(--wp--preset--font-size--large);
  line-height: 1.5;
  font-weight: 450;
}

/* ==========================================================================
   9 · SERVICES ROW : seven two-tone line icons in mint circles
   Own SVG, one stroke weight: the outline in the brand dark green, fills and
   details in the bright green, flat. 7 / 4 / 3 per row, always centred.
   ========================================================================== */

.jhl-icons {
  list-style: none;
  margin: clamp(28px, 3.6vw, 52px) auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 2vw, 28px) 0;
  max-width: 76rem;
}
.jhl-icons > li { flex: 0 0 calc(100% / 7); min-width: 0; }
.jhl-icons a {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--wp--preset--color--ink);
  padding: 8px 4px 10px;
  border-radius: var(--jhl-r);
}
.jhl-icons__ring {
  --jhl-icon-line: var(--wp--preset--color--green-700);
  --jhl-icon-bright: var(--wp--preset--color--green-500);
  width: clamp(84px, 7.6vw, 112px);
  height: clamp(84px, 7.6vw, 112px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wp--preset--color--green-100);
  box-shadow: 0 8px 18px -10px rgba(30, 106, 65, .35), 0 2px 4px -2px rgba(30, 106, 65, .12); /* taste-skill-ignore: the brief pins a soft green shadow under each circle */
  transition:
    transform var(--jhl-dur) var(--jhl-ease-out),
    box-shadow var(--jhl-dur) var(--jhl-ease-out),
    background-color var(--jhl-dur) var(--jhl-ease-out);
}
.jhl-icons__ring svg {
  width: 62%;
  height: 62%;
  fill: none;
  stroke: var(--jhl-icon-line);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--jhl-dur) var(--jhl-ease-out);
}
/* the two tones */
.jhl-icons__ring .i2, .jhl-plate__icon .i2 { stroke: var(--jhl-icon-bright); }
.jhl-icons__ring .f2, .jhl-plate__icon .f2 { fill: var(--jhl-icon-bright); }
.jhl-icons__label {
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.35;
  color: var(--wp--preset--color--ink);
  max-width: 13ch;
}
.jhl-icons a:hover .jhl-icons__ring,
.jhl-icons a:focus-visible .jhl-icons__ring {
  --jhl-icon-line: var(--wp--preset--color--green-900);
  --jhl-icon-bright: var(--wp--preset--color--green-500);
  transform: translateY(-4px);
  background: var(--wp--preset--color--green-200);
  box-shadow: 0 14px 26px -12px rgba(30, 106, 65, .45), 0 3px 6px -2px rgba(30, 106, 65, .16); /* taste-skill-ignore: hover state of the brief-pinned shadow */
}
.jhl-icons a:focus-visible { outline-offset: 0; }
@media (max-width: 1000px) { .jhl-icons > li { flex-basis: 25%; } }
@media (max-width: 600px)  { .jhl-icons > li { flex-basis: 33.333%; } .jhl-icons a { padding-inline: 2px; } .jhl-icons__label { font-size: .75rem; letter-spacing: .05em; } }
@media (max-width: 360px)  { .jhl-icons > li { flex-basis: 50%; } }

/* the same tree drawing on the dark panel of the Services page */
.jhl-plate__icon {
  --jhl-icon-line: var(--wp--preset--color--green-400);
  --jhl-icon-bright: rgba(255, 255, 255, .22);
  fill: none;
  stroke: var(--jhl-icon-line);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.jhl-plate__icon .i2 { stroke: #fff; }

/* the direct answer that opens a page, for people and for answer engines */
.jhl-answer {
  font-size: var(--wp--preset--font-size--large);
  line-height: 1.5;
  margin-bottom: clamp(26px, 3.2vw, 44px);
}

/* ==========================================================================
   10 · ABOUT SPLIT : the truck on the left, the light green panel on the right
   ========================================================================== */

.jhl-about {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  border-radius: var(--jhl-r);
  overflow: clip;
  background: var(--wp--preset--color--green-100);
}
/* The photograph is shown whole, at its own ratio: never object-fit: cover. The
   column takes the picture's height; the panel beside it stretches to match or,
   if its text runs taller, the picture sits centred on the same sage. */
.jhl-about__photo { margin: 0; align-self: center; }
.jhl-about__photo picture, .jhl-about__photo img { display: block; width: 100%; height: auto; }
.jhl-about__panel {
  padding: clamp(24px, 3vw, 44px) clamp(24px, 3.4vw, 52px);
  display: grid;
  align-content: center;
  gap: clamp(12px, 1.6vw, 18px);
}
.jhl-about__panel h2 { margin: 0; max-width: 16ch; }
.jhl-about__panel p { margin: 0; max-width: 52ch; }
.jhl-about__panel .jhl-btn { justify-self: start; }

/* three values, separated by thin vertical rules */
.jhl-values {
  list-style: none;
  margin: clamp(6px, 1vw, 10px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.jhl-values > li {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 6px 10px;
  text-align: center;
  font-weight: 700;
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.3;
  color: var(--wp--preset--color--ink);
}
.jhl-values > li + li { border-left: 1px solid var(--wp--preset--color--green-200); } /* taste-skill-ignore: the brief pins thin rules between the three values */
.jhl-values svg { width: 34px; height: 34px; fill: none; stroke: var(--wp--preset--color--green-700); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
  .jhl-about { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .jhl-values { grid-template-columns: 1fr; }
  .jhl-values > li { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; padding: 10px 0; }
  .jhl-values > li + li { border-left: 0; border-top: 1px solid var(--wp--preset--color--green-200); } /* taste-skill-ignore: brief-pinned rule */
}

/* ==========================================================================
   11 · OUR WORK : four photographs in a row, rounded, linking to the gallery
   ========================================================================== */

.jhl-work {
  list-style: none;
  margin: clamp(28px, 3.6vw, 52px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
}
.jhl-work a {
  display: block;
  border-radius: var(--jhl-r);
  overflow: clip;
  background: var(--wp--preset--color--green-100);
  transition: box-shadow var(--jhl-dur-slow) var(--jhl-ease-out);
}
.jhl-work .jhl-photo img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; transform: translateZ(0); transition: transform var(--jhl-dur-slow) var(--jhl-ease-out); }
@media (hover: hover) and (pointer: fine) {
  .jhl-work a:hover { box-shadow: var(--jhl-shadow); } /* taste-skill-ignore: hover only, nothing at rest */
  .jhl-work a:hover .jhl-photo img { transform: translateZ(0) scale(1.04); }
}
.jhl-work a:focus-visible .jhl-photo img { transform: translateZ(0) scale(1.04); }
.jhl-work + p { margin: clamp(22px, 3vw, 36px) 0 0; }
@media (max-width: 760px) { .jhl-work { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   12 · STEPS, SERVICE AREA, FAQ
   ========================================================================== */

.jhl-steps {
  counter-reset: jhl-step;
  margin: clamp(24px, 3vw, 44px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
  text-align: left;
}
.jhl-steps > li {
  counter-increment: jhl-step;
  background: var(--wp--preset--color--green-100);
  border-radius: var(--jhl-r);
  padding: clamp(20px, 2.2vw, 30px);
  display: grid;
  gap: 10px;
  align-content: start;
}
.jhl-steps > li::before {
  content: counter(jhl-step);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--wp--preset--color--green-700);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.jhl-steps h3 { margin: 0; font-size: var(--wp--preset--font-size--large); }
.jhl-steps p { margin: 0; font-size: 1rem; line-height: 1.5; }
@media (max-width: 900px) { .jhl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .jhl-steps { grid-template-columns: minmax(0, 1fr); } }

/* --- service area ---------------------------------------------------------- */
.jhl-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(24px, 3.4vw, 60px);
  align-items: start;
}
.jhl-area > * { min-width: 0; }
.jhl-area__text > p { margin-top: 0; }
.jhl-area__radius { margin: 18px 0 0; font-weight: 700; color: var(--wp--preset--color--green-700); }
.jhl-area__list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.jhl-area__list > li {
  background: var(--wp--preset--color--green-100);
  border-radius: var(--jhl-pill);
  padding: 9px 16px;
  font-weight: 600;
  font-size: var(--wp--preset--font-size--small);
  max-width: 100%;
}
.jhl-area__map {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--wp--preset--color--green-100);
  color: var(--wp--preset--color--ink);
  text-decoration: none;
  border-radius: var(--jhl-r);
  overflow: clip;
  transition: box-shadow var(--jhl-dur-slow) var(--jhl-ease-out);
}
.jhl-area__map .jhl-photo img { width: 100%; height: auto; transform: translateZ(0); transition: transform var(--jhl-dur-slow) var(--jhl-ease-out); }
.jhl-area__directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px;
  align-self: flex-end;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--jhl-pill);
  background: var(--wp--preset--color--green-500);
  color: var(--wp--custom--on-green-500);
  font-weight: 700;
  transition: background-color var(--jhl-dur) var(--jhl-ease);
}
.jhl-area__directions svg { transition: transform var(--jhl-dur) var(--jhl-ease-out); }
.jhl-area__map--pending { background: transparent; }
.jhl-area__map--pending .jhl-area__directions { align-self: flex-start; margin: 0; }
@media (hover: hover) and (pointer: fine) {
  .jhl-area__map:hover { box-shadow: var(--jhl-shadow); } /* taste-skill-ignore: hover only, nothing at rest */
  .jhl-area__map:hover .jhl-photo img { transform: translateZ(0) scale(1.02); }
  .jhl-area__map:hover .jhl-area__directions { background: var(--wp--custom--green-500-lift); }
  .jhl-area__map:hover .jhl-area__directions svg { transform: translateX(4px); }
}
.jhl-area__map:focus-visible .jhl-area__directions { background: var(--wp--custom--green-500-lift); }
@media (max-width: 900px) { .jhl-area { grid-template-columns: minmax(0, 1fr); } }

/* --- the questions ---------------------------------------------------------- */
.jhl-faq { text-align: left; max-width: 60rem; margin-inline: auto; }
.jhl-faq > details {
  background: var(--wp--preset--color--green-100);
  border-radius: var(--jhl-r-sm);
  margin-bottom: 8px;
  overflow: clip;
}
.jhl-faq summary {
  cursor: pointer;
  list-style: none;
  padding: clamp(16px, 1.8vw, 22px) clamp(18px, 2vw, 26px);
  font-weight: 700;
  font-size: var(--wp--preset--font-size--large);
  line-height: 1.3;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  transition: background-color var(--jhl-dur) var(--jhl-ease), color var(--jhl-dur);
}
.jhl-faq summary:hover, .jhl-faq summary:focus-visible { background: var(--wp--preset--color--green-200); }
.jhl-faq summary::-webkit-details-marker { display: none; }
.jhl-faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 16px; height: 16px;
  margin-top: .3em;
  background: var(--wp--preset--color--green-700);
  clip-path: polygon(42% 0, 58% 0, 58% 42%, 100% 42%, 100% 58%, 58% 58%, 58% 100%, 42% 100%, 42% 58%, 0 58%, 0 42%, 42% 42%);
  transition: transform var(--jhl-dur-slow) var(--jhl-ease-out);
}
.jhl-faq details[open] summary::after { transform: rotate(135deg); }
.jhl-faq .jhl-faq__answer { padding: 0 clamp(18px, 2vw, 26px) clamp(18px, 2vw, 24px); }
.jhl-faq .jhl-faq__answer p { margin: 0; max-width: 72ch; }


/* --- from start to finish: three visits to one job ------------------------ */
.jhl-stages {
  list-style: none;
  margin: clamp(24px, 3vw, 44px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
  text-align: left;
}
.jhl-stages figure { margin: 0; }
.jhl-stages .jhl-photo { border-radius: var(--jhl-r); overflow: clip; background: var(--wp--preset--color--green-100); }
.jhl-stages .jhl-photo img { aspect-ratio: 3 / 4; height: auto; object-fit: cover; }
.jhl-stages figcaption { margin-top: 12px; font-size: var(--wp--preset--font-size--small); color: var(--jhl-on-green-100); line-height: 1.45; }
.jhl-stage {
  display: inline-block;
  margin-right: 8px;
  padding: 3px 10px;
  border-radius: var(--jhl-pill);
  background: var(--wp--preset--color--green-700);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: middle;
}
.jhl-stage--done { background: var(--wp--preset--color--green-500); color: var(--wp--custom--on-green-500); }
@media (max-width: 700px) {
  .jhl-stages { grid-template-columns: minmax(0, 1fr); }
  .jhl-stages .jhl-photo img { aspect-ratio: 4 / 3; }
}

/* --- service area: a photograph above the map link ------------------------ */
.jhl-area__side { display: grid; gap: 14px; min-width: 0; }
.jhl-area__photo .jhl-photo { border-radius: var(--jhl-r); overflow: clip; }
.jhl-area__photo img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; }

/* --- the gallery's stage filter and caption -------------------------------- */
.jhl-filter__btn--stage { background: #fff; border: 2px solid var(--wp--preset--color--green-200); padding: 6px 16px; }
.jhl-filter__btn--stage:hover, .jhl-filter__btn--stage:focus-visible { background: var(--wp--preset--color--green-100); }
.jhl-filter__btn--stage.is-current { border-color: var(--wp--preset--color--green-700); }

/* ==========================================================================
   13 · CLOSING BAND : dark green, the clip under a tint, two pills
   ========================================================================== */

.jhl-cta {
  position: relative;
  background: var(--wp--preset--color--green-700);
  color: #fff;
  padding-block: clamp(48px, 6vw, 88px);
  text-align: center;
  isolation: isolate;
  overflow: clip;
}
.jhl-cta__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity .9s var(--jhl-ease); z-index: 0; }
.jhl-cta__video.is-playing { opacity: 1; }
.jhl-cta__tint { position: absolute; inset: 0; max-width: none; background: rgba(21, 81, 47, .84); z-index: 0; pointer-events: none; }
.jhl-cta__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: clamp(12px, 1.6vw, 18px); }
.jhl-cta h2 { color: #fff; margin: 0; max-width: 20ch; }
.jhl-cta p { color: var(--jhl-on-green-700); margin: 0; max-width: 48ch; }
.jhl-cta__actions { display: flex; align-items: center; justify-content: center; gap: 14px 18px; flex-wrap: wrap; margin-top: clamp(8px, 1.2vw, 14px); }
.jhl-cta .jhl-video-toggle { right: 12px; bottom: 12px; }

/* ==========================================================================
   14 · FOOTER : dark green, the white logo, the contacts, the call
   ========================================================================== */

.jhl-footer {
  background: var(--wp--preset--color--green-900);
  color: #fff;
  padding: clamp(40px, 5vw, 72px) var(--jhl-inset) 0;
}
.jhl-footer a { color: #fff; text-decoration: none; }
.jhl-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.jhl-footer__logo img { width: min(300px, 70vw); }
.jhl-footer__blurb { margin: 18px 0 0; max-width: 34ch; color: var(--jhl-on-green-700); font-size: var(--wp--preset--font-size--small); }

.jhl-footer__contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.jhl-footer__contacts li { display: flex; align-items: center; gap: 12px; }
.jhl-footer__contacts svg { width: 18px; height: 18px; flex: 0 0 auto; fill: var(--wp--preset--color--green-400); }
.jhl-footer__contacts a { border-bottom: 2px solid transparent; transition: border-color var(--jhl-dur) var(--jhl-ease); padding-block: 4px; }
.jhl-footer__contacts a:hover, .jhl-footer__contacts a:focus-visible { border-bottom-color: var(--wp--preset--color--green-500); }
.jhl-sep { color: var(--jhl-on-green-700); margin-inline: 8px; }
.jhl-footer__contacts address { font-style: normal; }
.jhl-footer__social { color: var(--jhl-on-green-700); font-size: var(--wp--preset--font-size--small); }
.jhl-handle { font-weight: 650; }
.jhl-footer .jhl-handle { color: #fff; }

/* the call: a script line, the two words, the pill */
.jhl-footer__call {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding-left: clamp(28px, 4vw, 64px);
  border-left: 1px solid rgba(255, 255, 255, .22); /* taste-skill-ignore: the brief pins a vertical rule before the call */
  text-align: center;
}
.jhl-footer__script {
  font-family: var(--wp--preset--font-family--script);
  font-size: 1.75rem;
  line-height: 1.15;
  color: var(--wp--preset--color--green-400);
}
.jhl-footer__shout {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.1;
  color: #fff;
}
.jhl-footer__call .jhl-btn { margin-top: 14px; }
.jhl-footer .jhl-btn--primary { color: var(--wp--custom--on-green-500); }

.jhl-footer__fine {
  margin-top: clamp(30px, 4vw, 56px);
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, .18); /* taste-skill-ignore: the footer's bottom bar, as on the mockup */
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  align-items: center;
  font-size: var(--wp--preset--font-size--small);
  color: var(--jhl-on-green-700);
}
.jhl-footer__fine > * { margin: 0; }
.jhl-footer__fine a { color: var(--jhl-on-green-700); border-bottom: 2px solid transparent; transition: border-color var(--jhl-dur) var(--jhl-ease); }
.jhl-footer__fine a:hover, .jhl-footer__fine a:focus-visible { border-bottom-color: var(--wp--preset--color--green-500); color: #fff; }

@media (max-width: 1000px) {
  .jhl-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .jhl-footer__call { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); padding-top: clamp(24px, 3vw, 36px); } /* taste-skill-ignore: brief-pinned rule */
}
@media (max-width: 620px) {
  .jhl-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .jhl-footer__contacts li { align-items: flex-start; }
  .jhl-footer__contacts svg { margin-top: 4px; }
  .jhl-footer__fine { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   15 · SERVICES PAGE : a sticky index and one full section per service
   ========================================================================== */

.jhl-services__grid {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 3.2fr);
  gap: clamp(26px, 4vw, 72px);
  align-items: start;
}
.jhl-services__grid > * { min-width: 0; }

.jhl-index {
  position: sticky;
  top: calc(var(--jhl-header-h-compact) + var(--jhl-bar) + 20px);
  background: var(--wp--preset--color--green-100);
  border-radius: var(--jhl-r);
  padding: clamp(18px, 2vw, 28px);
}
.jhl-index__title { font-weight: 800; font-size: var(--wp--preset--font-size--medium); margin: 0 0 12px; }
.jhl-index ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.jhl-index ol a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--jhl-dur) var(--jhl-ease), color var(--jhl-dur) var(--jhl-ease);
}
.jhl-index ol a:hover,
.jhl-index ol a:focus-visible,
.jhl-index ol a.is-current,
.jhl-index ol a[aria-current="true"] { border-bottom-color: var(--wp--preset--color--green-500); color: var(--wp--preset--color--green-700); }
.jhl-index ol a.is-current,
.jhl-index ol a[aria-current="true"] { font-weight: 700; }
.jhl-index .jhl-btn { display: flex; width: 100%; margin-top: 18px; }

.jhl-services__body > .jhl-answer { margin-top: 0; max-width: none; padding-bottom: clamp(24px, 3vw, 40px); }

.jhl-service { padding-block: clamp(30px, 3.6vw, 56px); }
.jhl-service:first-of-type { padding-top: 0; }
.jhl-service + .jhl-service { border-top: 1px solid var(--wp--preset--color--green-200); } /* taste-skill-ignore: one rule between long sections a reader scrolls through */
.jhl-service > h2 { margin: 0 0 clamp(12px, 1.6vw, 18px); }
.jhl-service .jhl-figure { margin-block: clamp(20px, 2.4vw, 32px); }
.jhl-service .jhl-figure .jhl-photo { height: clamp(240px, 30vw, 460px); border-radius: var(--jhl-r); overflow: clip; }
/* the photograph is 28px taller than its frame and drifts inside it: nothing crosses the margin */
.jhl-service .jhl-figure .jhl-photo img { height: calc(100% + 28px); margin-top: -14px; object-fit: cover; }

.jhl-service__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(20px, 2.6vw, 40px);
  margin-top: clamp(18px, 2.2vw, 28px);
}
.jhl-service__cols h3 { font-weight: 800; font-size: var(--wp--preset--font-size--medium); margin: 0 0 10px; }
.jhl-service__cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.jhl-service__cols li { background: var(--wp--preset--color--green-100); border-radius: var(--jhl-r-sm); padding: 9px 14px; }
.jhl-service__cta { margin-top: clamp(18px, 2.2vw, 28px); font-weight: 560; }
.jhl-service__cta a { font-weight: 750; color: var(--wp--preset--color--green-700); }

/* the one service with no photograph yet: a dark green panel, a line icon, a line of text */
.jhl-plate--tree {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  height: clamp(240px, 30vw, 460px);
  padding: 24px;
  margin-block: clamp(20px, 2.4vw, 32px);
  text-align: center;
  border-radius: var(--jhl-r);
  background: var(--wp--preset--color--green-700);
  color: #fff;
}
.jhl-plate__note { margin: 0; font-size: var(--wp--preset--font-size--small); font-weight: 560; color: var(--jhl-on-green-700); max-width: 46ch; }

@media (max-width: 900px) {
  .jhl-services__grid { grid-template-columns: minmax(0, 1fr); }
  .jhl-index { position: static; }
  /* The index wraps rather than scrolling sideways: a horizontal scroller
     hides half the list behind an edge nobody sees. */
  .jhl-index ol { display: flex; flex-wrap: wrap; gap: 6px; }
  .jhl-index ol a {
    white-space: nowrap;
    background: #fff;
    color: var(--wp--preset--color--ink);
    padding: 9px 14px;
    border-bottom: 0;
    border-radius: var(--jhl-pill);
  }
  .jhl-index ol a:hover,
  .jhl-index ol a:focus-visible,
  .jhl-index ol a.is-current { background: var(--wp--preset--color--green-700); color: #fff; }
}

/* ==========================================================================
   16 · GALLERY : the frames, the filter, the lightbox
   ========================================================================== */

.jhl-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(8px, 1.2vw, 16px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.jhl-shot { display: block; text-decoration: none; }
.jhl-shot--w5 { grid-column: span 5; }
.jhl-shot--w4 { grid-column: span 4; }
.jhl-shot--w3 { grid-column: span 3; }
.jhl-shot__inner {
  position: relative;
  display: block;
  height: clamp(190px, 22vw, 300px);
  background: var(--wp--preset--color--green-100);
  border-radius: var(--jhl-r);
  overflow: clip;
}
.jhl-shot__inner > .jhl-photo, .jhl-shot__inner > .jhl-photo img { width: 100%; height: 100%; }
.jhl-shot__inner > .jhl-photo img { object-fit: cover; transform: translateZ(0); transition: transform var(--jhl-dur-slow) var(--jhl-ease-out); }
.jhl-shot__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 600;
  color: #fff;
  padding-top: 36px;
  background: linear-gradient(to top, rgba(10, 20, 14, .82) 0%, rgba(10, 20, 14, .55) 55%, rgba(10, 20, 14, 0) 100%); /* taste-skill-ignore: a neutral scrim under type on a photograph */
  text-shadow: 0 1px 2px rgba(10, 20, 14, .5); /* taste-skill-ignore: legibility of a caption over a photograph, not decoration */
}
@media (hover: hover) and (pointer: fine) {
  .jhl-shot:hover .jhl-shot__inner > .jhl-photo img,
  .jhl-shot__btn:hover .jhl-shot__inner > .jhl-photo img { transform: translateZ(0) scale(1.04); }
}
.jhl-shot:focus-visible .jhl-shot__inner > .jhl-photo img,
.jhl-shot__btn:focus-visible .jhl-shot__inner > .jhl-photo img { transform: translateZ(0) scale(1.04); }
@media (max-width: 900px) { .jhl-shot--w5, .jhl-shot--w4, .jhl-shot--w3 { grid-column: span 6; } }
@media (max-width: 520px) { .jhl-shot--w5, .jhl-shot--w4, .jhl-shot--w3 { grid-column: span 12; } .jhl-shot__inner { height: auto; aspect-ratio: 4 / 3; } }

.jhl-shot__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  border-radius: var(--jhl-r);
}

/* Shown only where it can work. The flag is set in <head> before the first
   paint, so this costs no layout shift. */
.jhl-filter { display: none; margin-bottom: clamp(20px, 2.4vw, 32px); }
.js .jhl-filter { display: block; }
.jhl-filter__title { font-weight: 800; font-size: var(--wp--preset--font-size--medium); margin: 0 0 12px; }
.jhl-filter__row { display: flex; flex-wrap: wrap; gap: 8px; }
.jhl-filter__btn {
  border: 0;
  border-radius: var(--jhl-pill);
  background: var(--wp--preset--color--green-100);
  color: var(--wp--preset--color--ink);
  font: inherit;
  font-weight: 600;
  min-height: 40px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background-color var(--jhl-dur) var(--jhl-ease), color var(--jhl-dur) var(--jhl-ease), transform var(--jhl-dur-press) var(--jhl-ease);
}
.jhl-filter__btn:hover, .jhl-filter__btn:focus-visible { background: var(--wp--preset--color--green-200); }
.jhl-filter__btn:active { transform: scale(.97); }
.jhl-filter__btn.is-current,
.jhl-filter__btn.is-current:hover,
.jhl-filter__btn.is-current:focus-visible { background: var(--wp--preset--color--green-700); color: #fff; font-weight: 700; }
.jhl-filter__count { margin: 12px 0 0; font-size: var(--wp--preset--font-size--small); color: var(--jhl-on-green-100); }

.jhl-lightbox[open] { display: grid; }
.jhl-lightbox:not([open]) { display: none; }
.jhl-lightbox {
  position: relative;
  width: min(96vw, 1180px);
  max-width: none;
  max-height: 92svh;
  border: 0;
  border-radius: var(--jhl-r);
  padding: clamp(16px, 2.4vw, 34px);
  background: var(--wp--preset--color--white);
  color: var(--wp--preset--color--ink);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
}
.jhl-lightbox::backdrop { background: rgb(10 20 14 / .86); }
.jhl-lightbox__figure { grid-column: 2; margin: 0; min-width: 0; }
.jhl-lightbox__frame .jhl-shot__inner { height: min(62svh, 620px); }
.jhl-lightbox__caption { margin-top: 14px; font-size: var(--wp--preset--font-size--small); }
.jhl-lightbox__position { grid-column: 1 / -1; margin: 0; text-align: center; font-size: var(--wp--preset--font-size--small); color: var(--jhl-on-green-100); }
.jhl-lightbox__close {
  position: absolute;
  top: 10px; right: 10px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--white);
}
.jhl-lightbox__nav {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--wp--preset--color--green-700);
  color: #fff;
  transition: background-color var(--jhl-dur) var(--jhl-ease), transform var(--jhl-dur-press) var(--jhl-ease);
}
.jhl-lightbox__nav:hover, .jhl-lightbox__nav:focus-visible { background: var(--wp--preset--color--green-900); }
.jhl-lightbox__nav:active, .jhl-lightbox__close:active { transform: scale(.95); }
.jhl-lightbox__nav--prev { grid-column: 1; }
.jhl-lightbox__nav--next { grid-column: 3; }
.jhl-lightbox svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 620px) {
  .jhl-lightbox { grid-template-columns: 1fr 1fr; }
  .jhl-lightbox__figure { grid-column: 1 / -1; grid-row: 1; }
  .jhl-lightbox__nav--prev { grid-column: 1; grid-row: 2; width: 100%; border-radius: var(--jhl-pill); }
  .jhl-lightbox__nav--next { grid-column: 2; grid-row: 2; width: 100%; border-radius: var(--jhl-pill); }
  .jhl-lightbox__position { grid-row: 3; }
}

/* ==========================================================================
   17 · ABOUT PAGE : the truck, the strip, the values, the company facts
   ========================================================================== */

.jhl-plate--photo { margin: 0; border-radius: var(--jhl-r); overflow: clip; }
.jhl-plate--photo picture, .jhl-plate--photo img { width: 100%; height: auto; display: block; }

.jhl-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.jhl-strip .jhl-photo { border-radius: var(--jhl-r); overflow: clip; }
.jhl-strip .jhl-photo img { aspect-ratio: 3 / 4; height: auto; object-fit: cover; }
@media (max-width: 600px) { .jhl-strip { grid-template-columns: 1fr 1fr; } .jhl-strip > :last-child { grid-column: 1 / -1; } .jhl-strip > :last-child img { aspect-ratio: 4 / 3; } }

.jhl-why { background: var(--wp--preset--color--green-100); border-radius: var(--jhl-r); padding: clamp(28px, 4vw, 56px); }
.jhl-why h2 { margin: 0 0 clamp(14px, 1.6vw, 20px); }
.jhl-why__points {
  margin-top: clamp(22px, 2.8vw, 36px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.jhl-why__points > div { background: #fff; border-radius: var(--jhl-r-sm); padding: clamp(16px, 1.8vw, 24px); }
.jhl-why__points h3 { color: var(--wp--preset--color--green-700); font-size: var(--wp--preset--font-size--large); margin: 0 0 8px; }
.jhl-why__points p { margin: 0; font-size: 1rem; line-height: 1.5; }

.jhl-companyfacts { margin: 0; display: grid; gap: 6px; }
.jhl-companyfacts > div {
  background: var(--wp--preset--color--green-100);
  border-radius: var(--jhl-r-sm);
  padding: clamp(14px, 1.6vw, 22px) clamp(16px, 2vw, 28px);
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(0, 3fr);
  gap: 4px clamp(16px, 2vw, 32px);
}
.jhl-companyfacts dt { margin: 0; font-weight: 750; }
.jhl-companyfacts dd { margin: 0; }
.jhl-companyfacts a { color: var(--wp--preset--color--green-700); font-weight: 650; }
@media (max-width: 620px) { .jhl-companyfacts > div { grid-template-columns: 1fr; } }

.jhl-pending { margin: 14px 0 0; font-size: var(--wp--preset--font-size--small); color: var(--jhl-on-green-100); }

/* ==========================================================================
   18 · CONTACT : the form, the aside, the map
   ========================================================================== */

.jhl-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
  margin-top: clamp(26px, 3.2vw, 44px);
}
@media (max-width: 900px) { .jhl-contact { grid-template-columns: minmax(0, 1fr); } }
.jhl-contact > * { min-width: 0; }
.jhl-contact__form > h2 { margin: 0 0 clamp(16px, 2vw, 24px); }

.jhl-contact__aside {
  background: var(--wp--preset--color--green-100);
  border-radius: var(--jhl-r);
  padding: clamp(20px, 2.6vw, 32px);
}
.jhl-contact__aside > h2 { margin: 0 0 clamp(14px, 2vw, 20px); font-size: var(--wp--preset--font-size--sub); }
.jhl-contact__subhead { font-weight: 800; font-size: var(--wp--preset--font-size--medium); margin: clamp(22px, 3vw, 30px) 0 10px; }
.jhl-contact__list { margin: 0; display: grid; gap: 6px; }
.jhl-contact__list > div { background: #fff; border-radius: var(--jhl-r-sm); padding: 14px 18px; }
.jhl-contact__list dt { margin: 0 0 4px; font-weight: 750; font-size: var(--wp--preset--font-size--small); color: var(--jhl-on-green-100); }
.jhl-contact__list dd { margin: 0; }
.jhl-contact__list address { font-style: normal; }
.jhl-contact__list a { color: var(--wp--preset--color--green-700); font-weight: 650; }
.jhl-contact__call { font-size: var(--wp--preset--font-size--large); }
.jhl-contact__aside .jhl-area__radius { margin-top: 0; }
.jhl-contact__aside .jhl-area__list > li { background: #fff; }
.jhl-contact__aside .jhl-area__map { margin-top: 16px; background: #fff; }
.jhl-contact__photo { margin-top: clamp(20px, 2.4vw, 32px); }
.jhl-contact__photo .jhl-photo { border-radius: var(--jhl-r-sm); overflow: clip; }
.jhl-contact__photo img { aspect-ratio: 3 / 4; height: auto; object-fit: cover; }
.jhl-contact__photo figcaption { margin-top: 8px; font-size: var(--wp--preset--font-size--small); color: var(--jhl-on-green-100); }

/* --- the form ------------------------------------------------------------ */

.jhl-form { max-width: min(62ch, 100%); }
.jhl-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  gap: clamp(14px, 1.8vw, 22px);
}
@media (max-width: 620px) { .jhl-form__grid { grid-template-columns: minmax(0, 1fr); } }

.jhl-field { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.jhl-field > * { min-width: 0; max-width: 100%; }
.jhl-field--wide { grid-column: 1 / -1; }
.jhl-field label { font-weight: 700; }
.jhl-req { font-weight: 450; color: var(--jhl-on-green-100); }
.jhl-hint { font-size: var(--wp--preset--font-size--small); font-weight: 450; color: var(--jhl-on-green-100); }

.jhl-form input[type="text"],
.jhl-form input[type="tel"],
.jhl-form input[type="email"],
.jhl-form select,
.jhl-form textarea {
  font: inherit;
  color: var(--wp--preset--color--ink);
  background: #fff;
  border: 2px solid var(--wp--custom--field-border);
  border-radius: var(--jhl-r-sm);
  padding: 12px 14px;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  transition: border-color var(--jhl-dur) var(--jhl-ease);
}
.jhl-form input:hover, .jhl-form select:hover, .jhl-form textarea:hover,
.jhl-form input:focus-visible, .jhl-form select:focus-visible, .jhl-form textarea:focus-visible { border-color: var(--wp--preset--color--green-700); }
.jhl-form textarea { resize: vertical; min-height: 9em; }

.jhl-form input[type="file"] { font: inherit; padding: 10px 0; max-width: 100%; box-sizing: border-box; }
.jhl-file { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.jhl-file__button { display: none; }
.jhl-file__status { display: none; font-size: var(--wp--preset--font-size--small); color: var(--jhl-on-green-100); }
/* With scripting, our own control stands in for the OS one. */
.js .jhl-file__input {
  position: absolute;
  width: 1px; height: 1px; /* taste-skill-ignore: the real control, taken out of the layout, not a rule */
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.js .jhl-file__button {
  display: inline-block;
  background: var(--wp--preset--color--green-100);
  border: 2px solid var(--wp--preset--color--green-100);
  border-radius: var(--jhl-pill);
  padding: 9px 18px;
  font-weight: 650;
  cursor: pointer;
  transition: background-color var(--jhl-dur) var(--jhl-ease), border-color var(--jhl-dur) var(--jhl-ease);
}
.js .jhl-file__status { display: inline; }
.js .jhl-file__button:hover,
.js .jhl-file__input:focus-visible + .jhl-file__button { background: var(--wp--preset--color--green-200); border-color: var(--wp--preset--color--green-200); }
.js .jhl-file__input:focus-visible + .jhl-file__button { outline: 3px solid var(--wp--preset--color--green-500); outline-offset: 3px; }
.jhl-form input[aria-invalid="true"], .jhl-form textarea[aria-invalid="true"] { border-color: var(--wp--preset--color--alert); }
.jhl-field__error { margin: 0; color: var(--wp--preset--color--alert); font-weight: 650; font-size: var(--wp--preset--font-size--small); }

.jhl-form__summary {
  background: var(--wp--preset--color--alert);
  color: var(--wp--custom--on-alert);
  border-radius: var(--jhl-r-sm);
  padding: 18px 22px;
  margin-bottom: clamp(18px, 2.2vw, 28px);
}
.jhl-form__summary h3 { margin: 0 0 10px; font-size: var(--wp--preset--font-size--large); color: var(--wp--custom--on-alert); }
.jhl-form__summary ul { margin: 0; padding-left: 1.1em; display: grid; gap: 5px; }
.jhl-form__summary a { color: var(--wp--custom--on-alert); }

.jhl-form__submit { margin-top: clamp(18px, 2.2vw, 28px); }
.jhl-form__fine { margin-top: 16px; font-size: var(--wp--preset--font-size--small); color: var(--jhl-on-green-100); }

/* the honeypot: off-screen, never announced, never reachable by keyboard */
.jhl-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px; /* taste-skill-ignore: a control taken out of the layout, not a rule */
  overflow: hidden;
}

/* --- the map -------------------------------------------------------------- */

.jhl-map { margin: 0; }
.jhl-map__frame {
  position: relative;
  border-radius: var(--jhl-r);
  background: var(--wp--preset--color--green-100);
  height: clamp(280px, 42vw, 520px);
  overflow: clip;
}
.jhl-map__fallback {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  text-align: center;
  padding: 24px;
  color: var(--wp--preset--color--ink);
}
.jhl-map__addr { font-weight: 650; line-height: 1.5; }
.jhl-map iframe { position: relative; display: block; width: 100%; height: 100%; border: 0; }
.jhl-map figcaption { margin-top: 12px; font-size: var(--wp--preset--font-size--small); color: var(--jhl-on-green-100); }

/* --- plain prose pages ---------------------------------------------------- */

.jhl-prose { max-width: 68ch; }
.jhl-prose h2 { margin: clamp(30px, 3.6vw, 48px) 0 12px; font-size: var(--wp--preset--font-size--sub); }
.jhl-prose p { margin: 0 0 1em; }

/* ==========================================================================
   19 · PHOTOGRAPHS, ANCHORS, UTILITIES
   ========================================================================== */

.jhl-photo { display: block; margin: 0; }
.jhl-photo img { display: block; width: 100%; height: auto; }
.jhl-figure { margin: 0; }
.jhl-figure figcaption { margin-top: 10px; font-size: var(--wp--preset--font-size--small); color: var(--jhl-on-green-100); }
.jhl-figure, .jhl-shot__inner { overflow: clip; }

:target,
[id]:not(body) { scroll-margin-top: calc(var(--jhl-header-h-compact) + var(--jhl-bar) + 16px); }

@media (max-width: 1080px) { .jhl-hide-sm { display: none !important; } }

.jhl-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; /* taste-skill-ignore: the screen-reader-only utility, not a rule */
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.jhl-measure { max-width: 68ch; }
/* Nothing on the page reads past a comfortable measure. */
/* Libre Franklin's "0" is wide, so a ch holds about 1.45 average characters: 52ch ≈ 75 characters. */
.jhl-sheet p:not(.jhl-eyebrow):not(.jhl-plate__note) { max-width: 52ch; }

/* text links inside running copy */
.jhl-sheet :where(p, dd) a:not(.jhl-btn) {
  color: var(--wp--preset--color--green-700);
  font-weight: 650;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: var(--wp--preset--color--green-500);
}
.jhl-title-band :where(p, dd) a:not(.jhl-btn), .jhl-cta :where(p, dd) a:not(.jhl-btn) { color: #fff; text-decoration-color: var(--wp--preset--color--green-400); }

/* ==========================================================================
   20 · MOTION
   Content is visible by default. Nothing here hides anything unless the
   document is marked .js, which happens in <head> before the first paint, and
   a head-side timer removes that mark if app.js never arrives. Only transform,
   opacity and clip-path are animated, so nothing reflows and CLS stays at zero.
   ========================================================================== */

@view-transition { navigation: auto; }

/* --- scroll reveals ------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px) scale(.985);
  clip-path: inset(0 0 12% 0);
  transition:
    opacity var(--jhl-dur-reveal) var(--jhl-ease),
    transform var(--jhl-dur-reveal) var(--jhl-ease),
    clip-path var(--jhl-dur-reveal) var(--jhl-ease);
  transition-delay: var(--jhl-reveal-delay, 0ms);
  will-change: transform, opacity;
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
  will-change: auto;
}

/* --- an inner-page headline arrives by lines ------------------------------ */
.jhl-line { display: block; overflow: clip; overflow-clip-margin: .16em; }
.js .jhl-line__in {
  display: block;
  transform: translateY(105%);
  transition: transform .82s var(--jhl-ease);
  transition-delay: var(--jhl-line-delay, 0ms);
}
.js .is-lit .jhl-line__in { transform: none; }

/* --- parallax photographs drift inside their frames ----------------------- */
[data-parallax] img { will-change: transform; }

/* --- the magnetic primary action, desktop pointers only ------------------- */
@media (hover: hover) and (pointer: fine) {
  .jhl-magnet { transition: transform .4s var(--jhl-ease), background-color var(--jhl-dur) var(--jhl-ease), border-color var(--jhl-dur) var(--jhl-ease); }
  .jhl-magnet.is-pulled { transition: transform .12s linear, background-color var(--jhl-dur) var(--jhl-ease), border-color var(--jhl-dur) var(--jhl-ease); }
}

/* Reduced motion means gentler, not nothing: colour and opacity still carry
   meaning, but nothing travels across the screen and nothing is ever hidden
   waiting for a trigger. */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-property: opacity, background-color, color, border-color, fill;
  }
  .js [data-reveal], .js [data-reveal].is-in { opacity: 1; transform: none; clip-path: none; transition: opacity .2s linear; }
  .js .jhl-line__in { transform: none; transition: none; }
  .jhl-hero__video, .jhl-cta__video, .jhl-video-toggle { display: none !important; }
  [data-parallax] img { transform: none !important; }
  .jhl-hero__call:hover, .jhl-header__cta:hover, .jhl-icons a:hover .jhl-icons__ring, .jhl-icons a:focus-visible .jhl-icons__ring, .jhl-work a:hover .jhl-photo img, .jhl-shot:hover .jhl-shot__inner > .jhl-photo img,
  .jhl-area__map:hover .jhl-photo img, .jhl-btn:active, .jhl-magnet.is-pulled { transform: none; }
}
