/* Hoffman Landscaping — "Planting Plan, Sheet L-1". Own styles; no shared components. */

@font-face { font-family: 'Besley'; src: url('/assets/fonts/besley-latin-wght-normal.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Besley'; src: url('/assets/fonts/besley-latin-wght-italic.woff2') format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('/assets/fonts/outfit-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Martian Mono'; src: url('/assets/fonts/martian-mono-latin-wght-normal.woff2') format('woff2'); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --sand: #efe6d3;
  --paper: #faf6ec;
  --glass: #a9cfc5;
  --glass-soft: #e1eee9;
  --euc: #86a398;
  --euc-ink: #46685b;
  --deep: #1d4535;
  --ink: #1f2b26;
  --lupine: #5c5796;
  --stone: #c9c7bd;
  --soil: #8f7452;
  --pad: clamp(18px, 4vw, 56px);
  --serif: 'Besley', Georgia, 'Times New Roman', serif;
  --sans: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Martian Mono', ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--lupine); }
:focus-visible { outline: 3px solid var(--lupine); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); color: var(--deep); line-height: 1.12; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); font-weight: 600; letter-spacing: -.01em; }
h3 { font-size: 1.22rem; font-weight: 600; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.hf-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--deep); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.hf-skip:focus { top: 12px; color: var(--paper); }

/* ---------------- license strip ---------------- */
.hf-licbar { background: var(--deep); color: var(--glass-soft); font: 500 12.5px/1.4 var(--mono); letter-spacing: .01em; }
.hf-licbar p { margin: 0; padding: 7px var(--pad); text-align: center; }
.hf-licbar a { color: var(--paper); }
.hf-licbar a:hover { color: var(--glass); }

/* ---------------- top: brand + stepping-stone path ---------------- */
.hf-top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 10px var(--pad);
  background: rgba(239, 230, 211, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(29, 69, 53, .18);
}
.hf-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--deep); flex: none; }
.hf-brand__mark { width: 44px; height: 44px; }
.hf-brand__name { font: 700 1.12rem/1.1 var(--serif); }
.hf-brand__name small { display: block; font: 500 .72rem/1.4 var(--mono); color: var(--euc-ink); letter-spacing: .02em; }

.hf-path ol {
  list-style: none; margin: 0; padding: 7px 12px; display: flex; align-items: center; gap: 7px;
  border-radius: 40px;
  background: radial-gradient(circle, #c3b597 1px, transparent 1.6px) 0 0 / 9px 9px, #e6dbc3;
}
.hf-path li { --r: -3deg; --y: 0px; }
.hf-path li:nth-child(2) { --r: 4deg; --y: -3px; }
.hf-path li:nth-child(3) { --r: -2deg; --y: 2px; }
.hf-path li:nth-child(4) { --r: 3deg; --y: -2px; }
.hf-path li:nth-child(5) { --r: -4deg; --y: 2px; }
.hf-path li:nth-child(6) { --r: 2deg; --y: -3px; }
.hf-path li:nth-child(7) { --r: -3deg; --y: 1px; }
.hf-path li:nth-child(8) { --r: 3deg; --y: -1px; }
.hf-path a {
  position: relative; display: grid; place-items: center;
  min-width: 78px; height: 42px; padding: 0 12px;
  font: 600 13.5px/1 var(--sans); color: var(--ink); text-decoration: none;
  background: var(--stone);
  border: 1.5px solid rgba(29, 69, 53, .55);
  border-radius: 46% 54% 42% 58% / 58% 44% 56% 42%;
  box-shadow: 0 3px 0 rgba(29, 69, 53, .22);
  transform: translateY(var(--y)) rotate(var(--r));
  transition: background .25s, color .25s, box-shadow .25s, transform .25s;
}
.hf-path li:nth-child(even) a { border-radius: 58% 42% 55% 45% / 44% 56% 44% 56%; }
.hf-path li:nth-child(3n) a { border-radius: 40% 60% 52% 48% / 52% 40% 60% 48%; }
.hf-path a span { transform: rotate(calc(var(--r) * -1)); }
.hf-path a:hover { background: var(--glass); color: var(--deep); }
.hf-path a[aria-current] {
  background: var(--deep); color: var(--paper); border-color: var(--deep);
  box-shadow: inset 0 3px 7px rgba(0, 0, 0, .35), 0 1px 0 rgba(29, 69, 53, .3);
  transform: translateY(calc(var(--y) + 2px)) rotate(var(--r)) scale(1.04);
}
.hf-path a[aria-current]::before {
  content: ''; position: absolute; left: 9px; top: 8px; width: 9px; height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 15'%3E%3Cellipse cx='4.5' cy='4.6' rx='3.6' ry='4.4' fill='%23a9cfc5'/%3E%3Cellipse cx='4.6' cy='12' rx='2.6' ry='2.6' fill='%23a9cfc5'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: .9;
}
.hf-path a[aria-current] span { padding-left: 8px; }

.hf-pathbtn {
  display: none; align-items: center; gap: 8px; padding: 9px 16px;
  font: 600 15px/1 var(--sans); color: var(--paper); background: var(--deep);
  border: 0; border-radius: 30px 26px 32px 24px; cursor: pointer;
}
.hf-pathbtn svg { width: 28px; height: 20px; fill: var(--glass); }

/* mobile sheet: the path, vertical */
.hf-sheet { position: fixed; inset: 0; z-index: 80; background: rgba(31, 43, 38, .45); }
.hf-sheet__inner {
  position: absolute; inset: 0 0 0 auto; width: min(420px, 100%);
  background: radial-gradient(circle, #cfc3a8 1px, transparent 1.6px) 0 0 / 10px 10px, var(--sand);
  padding: 22px 26px 30px; overflow-y: auto;
}
.hf-sheet__close { display: block; margin-left: auto; font: 600 15px var(--sans); background: var(--paper); color: var(--deep); border: 1.5px solid var(--deep); border-radius: 22px; padding: 8px 16px; cursor: pointer; }
.hf-sheet__path { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 12px; }
.hf-sheet__path li:nth-child(odd) { margin-right: 22%; }
.hf-sheet__path li:nth-child(even) { margin-left: 22%; }
.hf-sheet__path a {
  display: block; padding: 14px 20px; text-align: center; text-decoration: none;
  font: 600 1.05rem var(--serif); color: var(--deep); background: var(--stone);
  border: 1.5px solid rgba(29, 69, 53, .55); border-radius: 50% 46% 54% 42% / 60% 50% 52% 44%;
  box-shadow: 0 3px 0 rgba(29, 69, 53, .2);
}
.hf-sheet__path a:hover { background: var(--glass); }
.hf-sheet__lic { font: 500 12px/1.5 var(--mono); color: var(--euc-ink); text-align: center; }

/* ---------------- buttons ---------------- */
.hf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 24px;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border-radius: 999px; border: 2px solid var(--deep);
  transition: background .2s, color .2s, transform .2s;
}
.hf-btn--solid { background: var(--deep); color: var(--paper); }
.hf-btn--solid:hover { background: #163829; color: var(--paper); transform: translateY(-1px); }
.hf-btn--line { background: transparent; color: var(--deep); }
.hf-btn--line:hover { background: var(--paper); color: var(--deep); }
.hf-btn:disabled { opacity: .6; cursor: wait; }
.hf-linkbtn { background: none; border: 0; padding: 4px 0; font: 600 12px var(--mono); color: var(--lupine); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------------- hero ---------------- */
.hf-hero {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding: clamp(36px, 5vw, 64px) 0 40px var(--pad);
  max-width: 1600px; margin: 0 auto; overflow: hidden;
}
.hf-hero__text { padding-top: clamp(4px, 2vw, 28px); }
.hf-hero__firm { font: 500 .78rem/1.4 var(--mono); color: var(--euc-ink); letter-spacing: .03em; margin-bottom: 18px; }
.hf-hero h1 { font-size: clamp(2.3rem, 4.3vw, 4.1rem); font-weight: 600; letter-spacing: -.015em; margin-bottom: .45em; }
.hf-hero h1 em {
  font-style: italic; font-weight: 500;
  padding-bottom: .08em;
  background:
    radial-gradient(circle, var(--lupine) 2.6px, transparent 3.2px) 6px 100% / 34px 9px repeat-x,
    linear-gradient(var(--lupine), var(--lupine)) 0 calc(100% - 3px) / 100% 2px no-repeat;
}
.hf-hero__lead { font-size: 1.12rem; max-width: 34em; }
.hf-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 26px; }
.hf-hero__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font: 500 .8rem/1.4 var(--mono); color: var(--euc-ink); }
.hf-hero__facts li { display: flex; align-items: center; gap: 10px; }
.hf-hero__facts li::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--glass); border: 1.5px solid var(--deep); flex: none; }

.hf-hero__plan { margin: 0; margin-right: -2px; min-width: 0; }
.hf-plan { display: block; width: 100%; min-width: 620px; height: auto; background: var(--paper); border: 2px solid var(--deep); border-right: 0; border-radius: 10px 0 0 10px; box-shadow: -10px 12px 0 rgba(29, 69, 53, .08); }
.hf-plan__tag { font: 600 11px var(--mono); fill: var(--deep); letter-spacing: .04em; }
.hf-plan__tiny { font: 500 9px var(--mono); fill: var(--euc-ink); letter-spacing: .08em; }
.hf-plan__code { font: 700 12px var(--mono); fill: var(--deep); paint-order: stroke; stroke: var(--paper); stroke-width: 3px; }
.hf-plan__zone { font: 600 9.5px var(--mono); fill: var(--lupine); letter-spacing: .06em; paint-order: stroke; stroke: var(--paper); stroke-width: 3px; }
.hf-hero__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding: 10px 18px 0 4px; font: 500 12px/1.5 var(--mono); color: var(--euc-ink); }
.hf-schedule { margin: 14px 0 0 4px; border-collapse: collapse; font: 500 12px/1.4 var(--mono); color: var(--ink); min-width: min(440px, 100%); }
.hf-schedule caption { text-align: left; font-weight: 700; color: var(--deep); padding-bottom: 6px; }
.hf-schedule th, .hf-schedule td { text-align: left; padding: 5px 18px 5px 0; border-bottom: 1px dashed rgba(29, 69, 53, .35); }
.hf-schedule th { font-weight: 700; color: var(--euc-ink); }

/* hero animation: only the drawing moves; text is static HTML */
.hf-plan__stones ellipse { transition: opacity .35s ease calc(var(--i) * 60ms); }
.hf-plan__drip path { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .9s ease .75s; }
.hf-plan__emit circle { transition: opacity .3s ease 1.5s; }
.hf-plan__plants use { transform-box: view-box; transition: transform .5s cubic-bezier(.2, .9, .3, 1.2) calc(1.15s + var(--g) * 210ms); }
.hf-plan__codes { transition: opacity .4s ease 2.3s; }
.js .hf-hero__plan:not(.is-drawn) .hf-plan__stones ellipse { opacity: 0; transition: none; }
.js .hf-hero__plan:not(.is-drawn) .hf-plan__drip path { stroke-dashoffset: 1; transition: none; }
.js .hf-hero__plan:not(.is-drawn) .hf-plan__emit circle { opacity: 0; transition: none; }
.js .hf-hero__plan:not(.is-drawn) .hf-plan__plants use { transform: scale(0); transition: none; }
.js .hf-hero__plan:not(.is-drawn) .hf-plan__codes { opacity: 0; transition: none; }

/* ---------------- gravel divider ---------------- */
.hf-gravelband {
  height: 22px; margin: 0 var(--pad);
  background: radial-gradient(circle, #b9ab90 1.3px, transparent 1.8px) 0 0 / 11px 9px, radial-gradient(circle, #cbbfa6 1px, transparent 1.5px) 5px 4px / 13px 11px;
  border-radius: 20px; opacity: .9;
}

/* ---------------- areas (sections) ---------------- */
.hf-area { padding: clamp(56px, 7vw, 96px) var(--pad); max-width: 1320px; margin: 0 auto; scroll-margin-top: 80px; }
.hf-area__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.hf-area__intro { font-size: 1.08rem; color: #34413b; }
.hf-marker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 600 .74rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--euc-ink); }
.hf-marker svg { width: 30px; height: 30px; fill: none; stroke: var(--deep); stroke-width: 2; }
.hf-marker svg circle:first-child { fill: var(--glass); transform-origin: center; transform-box: fill-box; transition: transform .6s cubic-bezier(.2, .9, .3, 1.25); }
.hf-marker svg circle:last-child { fill: var(--deep); stroke: none; }
.js .hf-area:not(.is-in) .hf-marker svg circle:first-child { transform: scale(.25); }

/* services: beds */
.hf-beds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hf-bedcard {
  position: relative; padding: 28px 26px 24px;
  background: var(--paper); border: 1.5px solid rgba(70, 104, 91, .6);
  border-radius: 34px 18px 40px 22px / 26px 36px 20px 40px;
  transition: transform .3s, box-shadow .3s;
}
.hf-bedcard:nth-child(2) { border-radius: 18px 42px 22px 34px / 36px 22px 40px 20px; }
.hf-bedcard:nth-child(3) { border-radius: 40px 22px 30px 18px / 22px 40px 26px 34px; }
.hf-bedcard:nth-child(4) { border-radius: 22px 36px 18px 42px / 40px 20px 36px 24px; }
.hf-bedcard:nth-child(5) { border-radius: 36px 20px 42px 26px / 20px 38px 24px 40px; }
.hf-bedcard:nth-child(6) { border-radius: 20px 40px 26px 36px / 34px 24px 42px 20px; }
.hf-bedcard:hover { transform: translateY(-3px); box-shadow: 0 10px 0 rgba(29, 69, 53, .07); }
.hf-bedcard__sym { width: 58px; height: 58px; display: block; margin-bottom: 14px; }
.hf-bedcard p { margin-bottom: .8em; }
.hf-bedcard__note { font-size: .92rem; font-style: italic; color: var(--euc-ink); padding-left: 12px; border-left: 2px dashed var(--lupine); margin: 0; }

/* site conditions */
.hf-cond__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.hf-cond__controls { display: grid; gap: 18px; }
.hf-cond__controls fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hf-cond__controls legend { width: 100%; padding: 0 0 6px; font: 600 .74rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--euc-ink); }
.hf-cond__controls label { position: relative; cursor: pointer; }
.hf-cond__controls input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hf-cond__controls label span {
  display: inline-block; padding: 10px 16px; font: 600 .95rem/1 var(--sans); color: var(--deep);
  background: var(--paper); border: 1.5px solid var(--deep);
  border-radius: 46% 54% 44% 56% / 60% 46% 54% 40%;
  transition: background .2s, color .2s;
}
.hf-cond__controls label:hover span { background: var(--glass-soft); }
.hf-cond__controls input:checked + span { background: var(--deep); color: var(--paper); }
.hf-cond__controls input:focus-visible + span { outline: 3px solid var(--lupine); outline-offset: 3px; }
.hf-cond__plan { margin: 0; }
.hf-cond__plan svg { display: block; width: 100%; height: auto; background: var(--paper); border: 2px solid var(--deep); border-radius: 10px; }
.hf-cond__plan figcaption { padding-top: 8px; font: 500 12px/1.5 var(--mono); color: var(--euc-ink); }
.hf-cond__list { background: var(--glass-soft); padding: 22px 22px 18px; border-radius: 26px 14px 30px 16px; border: 1.5px solid rgba(29, 69, 53, .3); }
.hf-cond__list h3 { font-size: 1.15rem; }
.hf-cond__list ul { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 8px; }
.hf-cond__list li { padding-left: 22px; position: relative; font-size: .98rem; line-height: 1.45; }
.hf-cond__list li::before { content: ''; position: absolute; left: 0; top: .42em; width: 11px; height: 11px; border-radius: 50%; background: var(--euc); border: 1.5px solid var(--deep); }
.hf-cond__fine { font-size: .86rem; color: #3d4a44; }
.hf-cond__sent { margin: 10px 0 0; font-size: .92rem; color: var(--deep); min-height: 1.4em; }
.cp-grow { transform-box: view-box; animation: cpGrow .45s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--k, 0) * 30ms); }
@keyframes cpGrow { from { transform: scale(0); } to { transform: scale(1); } }
.cp-lab { font: 600 10px var(--mono); fill: var(--deep); letter-spacing: .05em; paint-order: stroke; stroke: var(--paper); stroke-width: 3px; }
.cp-zone { font: 600 9.5px var(--mono); fill: var(--lupine); letter-spacing: .05em; paint-order: stroke; stroke: var(--paper); stroke-width: 3px; }

/* layers: sticky section + steps */
.hf-layers__band { position: sticky; top: 72px; z-index: 5; background: var(--sand); padding: 10px 0 8px; margin-bottom: 18px; }
.hf-section { display: block; width: 100%; height: clamp(120px, 15vw, 196px); border-radius: 12px; border: 1.5px solid rgba(29, 69, 53, .35); }
.hf-section__lab { font: 600 11px var(--mono); fill: var(--deep); letter-spacing: .04em; }
.hf-section__lab--light { fill: #fbf6ea; }
.hf-ly { opacity: 0; transform: translateY(-10px); transition: opacity .45s ease, transform .45s ease; }
.hf-ly.on { opacity: 1; transform: none; }
.hf-layers__now { margin: 8px 0 0; font: 600 12.5px var(--mono); color: var(--deep); }
.hf-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 22px; counter-reset: st; }
.hf-step { counter-increment: st; padding: 22px 22px 16px; background: var(--paper); border: 1.5px solid rgba(29, 69, 53, .25); border-radius: 16px; transition: border-color .3s, box-shadow .3s; }
.hf-step h3::before { content: counter(st); display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 10px; border-radius: 50%; font: 700 .9rem var(--mono); color: var(--deep); background: var(--glass); border: 1.5px solid var(--deep); vertical-align: middle; }
.hf-step.is-active { border-color: var(--deep); box-shadow: 0 6px 0 rgba(29, 69, 53, .12); }
.hf-step.is-active h3::before { background: var(--deep); color: var(--paper); }

/* about */
.hf-about__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.hf-about__person { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.hf-about__avatar { width: 110px; height: 110px; flex: none; }
.hf-about__name { font: 600 1.4rem/1.2 var(--serif); color: var(--deep); margin: 0; }
.hf-about__role { font: 500 .8rem var(--mono); color: var(--euc-ink); margin: 4px 0 0; }
.hf-about__facts { margin: 0; background: var(--paper); border: 2px solid var(--deep); border-radius: 12px; padding: 8px 22px; }
.hf-about__facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(29, 69, 53, .3); }
.hf-about__facts div:last-child { border-bottom: 0; }
.hf-about__facts dt { font: 600 .72rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--euc-ink); }
.hf-about__facts dd { margin: 0; font-size: .98rem; }

/* mission: planting notes */
.hf-mission { background: var(--glass-soft); border-radius: 60px 28px 70px 34px / 40px 60px 36px 70px; max-width: calc(1320px - 2 * var(--pad)); margin-bottom: 40px; }
.hf-notes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; counter-reset: nt; }
.hf-notes li { counter-increment: nt; position: relative; padding-left: 64px; }
.hf-notes li::before { content: 'NOTE ' counter(nt); position: absolute; left: 0; top: 2px; width: 50px; font: 700 .66rem/1.3 var(--mono); color: var(--lupine); letter-spacing: .06em; border-top: 3px solid var(--lupine); padding-top: 6px; }
.hf-notes h3 { margin-bottom: .35em; }
.hf-notes p { margin: 0; }

/* faq: nursery tags */
.hf-tags { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 30px 20px; align-items: start; }
.hf-tag {
  position: relative; padding: 30px 20px 18px; background: var(--paper);
  border: 1.5px solid var(--deep); border-radius: 26px 26px 10px 10px;
  margin-bottom: 18px;
}
.hf-tag::before { content: ''; position: absolute; top: 10px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--sand); border: 1.5px solid var(--deep); }
.hf-tag::after { content: ''; position: absolute; left: 50%; bottom: -19px; width: 18px; height: 18px; margin-left: -9px; background: var(--paper); border-right: 1.5px solid var(--deep); border-bottom: 1.5px solid var(--deep); transform: rotate(45deg) scaleX(.55); z-index: -1; }
.hf-tag:nth-child(3n+2) { background: #eef3e7; }
.hf-tag:nth-child(3n+2)::after { background: #eef3e7; }
.hf-tag h3 { margin: 0; font-size: 1.08rem; }
.hf-tag button { all: unset; box-sizing: border-box; display: flex; justify-content: space-between; gap: 12px; width: 100%; cursor: pointer; font: 600 1.06rem/1.3 var(--serif); color: var(--deep); }
.hf-tag button::after { content: '+'; flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--deep); font: 600 15px/1 var(--mono); transition: transform .25s; }
.hf-tag button[aria-expanded="true"]::after { content: '−'; background: var(--deep); color: var(--paper); }
.hf-tag button:focus-visible { outline: 3px solid var(--lupine); outline-offset: 4px; border-radius: 4px; }
.hf-tag__a { padding-top: 12px; font-size: .96rem; }
.hf-tag__a p { margin: 0; }

/* request */
.hf-request__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.hf-request__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hf-request__contact li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; font-size: 1rem; overflow-wrap: anywhere; }
.hf-request__grid > *, .hf-about__grid > * { min-width: 0; }
.hf-foot a, .hf-legal a { overflow-wrap: anywhere; }
.hf-request__contact span { font: 600 .7rem/1.9 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--euc-ink); }
.hf-sheetform {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px;
  padding: 26px clamp(18px, 3vw, 34px) 26px; background: var(--paper);
  border: 2px solid var(--deep); border-radius: 14px;
  background-image: linear-gradient(rgba(169, 207, 197, .22) 1px, transparent 1px), linear-gradient(90deg, rgba(169, 207, 197, .22) 1px, transparent 1px);
  background-size: 22px 22px;
}
.hf-sheetform__head { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--deep); }
.hf-sheetform__head p { margin: 0; font: 600 1.4rem/1.1 var(--serif); color: var(--deep); }
.hf-sheetform__lot { width: 150px; height: auto; flex: none; }
.hf-sheetform__flag { display: none; }
.hf-sheetform.is-sent .hf-sheetform__flag { display: inline; animation: flagIn .5s cubic-bezier(.2, .9, .3, 1.3) both; transform-box: fill-box; transform-origin: bottom center; }
@keyframes flagIn { from { transform: translateY(-12px) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.hf-field { grid-column: 1 / -1; display: grid; gap: 5px; }
.hf-field--half { grid-column: span 1; }
.hf-field label { font: 600 .9rem/1.3 var(--sans); color: var(--deep); }
.hf-field label small { font-weight: 400; color: var(--euc-ink); }
.hf-field input, .hf-field select, .hf-field textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink);
  padding: 11px 13px; background: #fff; border: 1.5px solid rgba(29, 69, 53, .55); border-radius: 9px;
}
.hf-field textarea { resize: vertical; min-height: 120px; }
.hf-field input:focus, .hf-field select:focus, .hf-field textarea:focus { outline: 3px solid var(--glass); outline-offset: 0; border-color: var(--deep); }
.hf-field [aria-invalid="true"] { border-color: #a3342b; background: #fff7f5; }
.hf-err { margin: 0; min-height: 1.2em; font-size: .84rem; color: #a3342b; }
.hf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hf-sheetform__send { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
.hf-sheetform__fine { grid-column: 1 / -1; font-size: .86rem; color: #3d4a44; margin: 12px 0 0; }
.hf-status { grid-column: 1 / -1; margin: 6px 0 0; font-weight: 600; min-height: 1.4em; }
.hf-status[data-state="ok"] { color: var(--deep); background: var(--glass-soft); padding: 10px 14px; border-radius: 10px; }
.hf-status[data-state="error"] { color: #8f2b23; background: #fbeeea; padding: 10px 14px; border-radius: 10px; }

/* ---------------- footer: edge of the garden ---------------- */
.hf-foot { margin-top: 40px; background: var(--deep); color: #e6efe9; }
.hf-foot a { color: #fff; }
.hf-foot a:hover { color: var(--glass); }
.hf-foot__border {
  height: 46px; background:
    radial-gradient(circle at 22px 30px, #86a398 15px, #1d4535 16px, transparent 17px) 0 0 / 64px 46px repeat-x,
    radial-gradient(circle at 52px 18px, #a9cfc5 10px, #1d4535 11px, transparent 12px) 0 0 / 64px 46px repeat-x,
    var(--sand);
}
.hf-foot__grid { display: grid; grid-template-columns: 1.1fr 1.2fr .9fr; gap: 34px; padding: 40px var(--pad) 20px; max-width: 1320px; margin: 0 auto; }
.hf-foot__title { font: 700 1.25rem var(--serif); color: #fff; }
.hf-foot__small { font-size: .88rem; color: #c8d8d0; }
.hf-valve { background: #24523f; border: 2px solid var(--glass); border-radius: 18px; padding: 16px 20px 14px; }
.hf-valve__lid { margin: 0 0 10px; font: 700 .68rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--glass); border-bottom: 1px dashed rgba(169, 207, 197, .5); padding-bottom: 8px; }
.hf-valve ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hf-valve button { all: unset; cursor: pointer; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hf-valve button:focus-visible { outline: 3px solid var(--glass); outline-offset: 3px; }
.hf-foot__copy { margin: 0; padding: 14px var(--pad) 26px; text-align: center; font: 500 .75rem var(--mono); color: #c8d8d0; border-top: 1px solid rgba(169, 207, 197, .25); }

/* ---------------- mobile dock ---------------- */
.hf-dock { display: none; }

/* ---------------- cookie banner: nursery tag ---------------- */
.hf-consent {
  position: fixed; right: 22px; bottom: 22px; z-index: 70; width: min(380px, calc(100vw - 24px));
  padding: 26px 22px 18px; background: var(--paper); color: var(--ink);
  border: 2px solid var(--deep); border-radius: 30px 30px 12px 12px;
  box-shadow: 0 14px 36px rgba(29, 69, 53, .22); transform: rotate(-.6deg);
}
.hf-consent__eyelet { position: absolute; top: 9px; left: 50%; width: 13px; height: 13px; margin-left: -6px; border-radius: 50%; border: 2px solid var(--deep); background: var(--sand); }
.hf-consent__code { margin: 0 0 4px; font: 600 .64rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--euc-ink); }
.hf-consent h2 { font-size: 1.15rem; margin-bottom: .35em; }
.hf-consent p { font-size: .9rem; line-height: 1.45; margin-bottom: .8em; }
.hf-consent__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hf-consent__btn { flex: 1 1 120px; min-height: 42px; font: 600 .92rem var(--sans); color: var(--paper); background: var(--deep); border: 2px solid var(--deep); border-radius: 22px; cursor: pointer; }
.hf-consent__btn:hover { background: #163829; }
.hf-consent__more { flex: 1 1 100%; background: none; border: 0; padding: 6px; font: 600 .86rem var(--sans); color: var(--lupine); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hf-prefs { max-width: min(520px, calc(100vw - 24px)); padding: 0; border: 2px solid var(--deep); border-radius: 18px; background: var(--paper); color: var(--ink); }
.hf-prefs::backdrop { background: rgba(31, 43, 38, .5); }
.hf-prefs form { padding: 26px 24px 22px; }
.hf-prefs h2 { font-size: 1.4rem; }
.hf-prefs p { font-size: .92rem; }
.hf-prefs__cat { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: center; padding: 12px 0; border-top: 1px dashed rgba(29, 69, 53, .35); }
.hf-prefs__cat h3 { margin: 0; font-size: 1rem; }
.hf-prefs__cat > span { font: 600 .72rem var(--mono); color: var(--euc-ink); }
.hf-prefs__cat p { grid-column: 1 / -1; margin: 0; font-size: .88rem; }
.hf-prefs__switch { position: relative; width: 48px; height: 28px; }
.hf-prefs__switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.hf-prefs__switch span { position: absolute; inset: 0; border-radius: 20px; background: var(--stone); border: 1.5px solid var(--deep); transition: background .2s; }
.hf-prefs__switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--deep); transition: transform .2s; }
.hf-prefs__switch input:checked + span { background: var(--euc); }
.hf-prefs__switch input:checked + span::after { transform: translateX(19px); }
.hf-prefs__switch input:focus-visible + span { outline: 3px solid var(--lupine); outline-offset: 2px; }
.hf-prefs__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hf-prefs__row button { flex: 1 1 130px; min-height: 42px; font: 600 .92rem var(--sans); border-radius: 22px; cursor: pointer; border: 2px solid var(--deep); background: var(--deep); color: var(--paper); }
.hf-prefs__row button[data-d="save"] { background: var(--paper); color: var(--deep); }

/* ---------------- legal pages ---------------- */
.hf-plaintop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--pad); border-bottom: 1px solid rgba(29, 69, 53, .2); }
.hf-plaintop__back { font: 600 .95rem var(--sans); }
.hf-legal { max-width: 820px; margin: 0 auto; padding: 48px var(--pad) 40px; }
.hf-legal h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
.hf-legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
.hf-legal h3 { font-size: 1.1rem; margin-top: 1.2em; }
.hf-legal__date { font: 500 .82rem var(--mono); color: var(--euc-ink); }
.hf-legal table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 10px 0 18px; display: block; overflow-x: auto; }
.hf-legal th, .hf-legal td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px dashed rgba(29, 69, 53, .35); }
.hf-legal th { font: 600 .74rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--euc-ink); background: var(--paper); }
.hf-legal ul { padding-left: 1.2em; }
.hf-legal li { margin-bottom: .4em; }
.hf-lost { text-align: center; }
.hf-lost svg { width: min(320px, 80vw); height: auto; display: block; margin: 0 auto 20px; }
.hf-lost .hf-btn { margin: 8px 6px; }

/* ---------------- responsive ---------------- */
@media (max-width: 1240px) {
  .hf-path a { min-width: 0; padding: 0 10px; font-size: 13px; }
  .hf-cond__grid { grid-template-columns: 200px minmax(0, 1fr); }
  .hf-cond__list { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .hf-cond__list h3, .hf-cond__list ul { grid-column: 1; }
  .hf-cond__list .hf-cond__fine, .hf-cond__list button, .hf-cond__sent { grid-column: 2; }
  .hf-cond__list h3 { grid-row: 1; } .hf-cond__list ul { grid-row: 2 / span 3; }
  .hf-cond__fine { grid-row: 2; } .hf-cond__list button { grid-row: 3; justify-self: start; } .hf-cond__sent { grid-row: 4; }
}
@media (max-width: 1120px) {
  .hf-path { display: none; }
  .hf-pathbtn { display: inline-flex; }
  html { scroll-padding-top: 76px; }
  .hf-dock {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--deep);
  }
  .hf-dock a { display: grid; place-items: center; min-height: 46px; border-radius: 24px; font: 600 1rem var(--sans); text-decoration: none; color: var(--deep); background: var(--glass); }
  .hf-dock a + a { background: var(--paper); }
  body { padding-bottom: 64px; }
  .hf-consent { bottom: 76px; }
  .hf-hero { grid-template-columns: 1fr; padding-right: var(--pad); }
  .hf-hero__plan { margin-right: 0; }
  .hf-plan { min-width: 0; border-right: 2px solid var(--deep); border-radius: 10px; }
  .hf-beds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hf-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hf-layers__band { top: 64px; }
}
@media (max-width: 860px) {
  .hf-about__grid, .hf-request__grid { grid-template-columns: 1fr; }
  .hf-notes { grid-template-columns: 1fr; }
  .hf-foot__grid { grid-template-columns: 1fr; }
  .hf-cond__grid { grid-template-columns: 1fr; }
  .hf-cond__controls { grid-template-columns: repeat(3, auto); justify-content: start; gap: 14px 22px; }
  .hf-cond__list { display: block; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hf-licbar__more { display: none; }
  .hf-licbar p { padding: 5px 12px; font-size: 11.5px; }
  .hf-top { padding: 8px 14px; }
  .hf-brand__mark { width: 38px; height: 38px; }
  .hf-brand__name { font-size: 1rem; }
  .hf-hero { padding-top: 22px; }
  .hf-hero__firm { margin-bottom: 10px; }
  .hf-hero h1 { font-size: clamp(1.95rem, 8.4vw, 2.5rem); }
  .hf-hero__lead { font-size: 1rem; }
  .hf-hero__cta { margin: 18px 0; gap: 10px; }
  .hf-hero__cta .hf-btn { flex: 1 1 auto; min-height: 46px; padding: 10px 18px; }
  .hf-beds, .hf-steps { grid-template-columns: 1fr; }
  .hf-cond__controls { grid-template-columns: 1fr; }
  .hf-sheetform { grid-template-columns: 1fr; }
  .hf-field--half { grid-column: 1 / -1; }
  .hf-sheetform__lot { width: 110px; }
  .hf-about__facts div { grid-template-columns: 1fr; gap: 2px; }
  .hf-section__lab { font-size: 14px; }
  .hf-layers__band { padding: 6px 0; }
  .hf-mission { border-radius: 34px 18px 40px 22px; }
  .hf-notes li { padding-left: 0; padding-top: 26px; }
  .hf-consent { left: 10px; right: 10px; width: auto; padding: 18px 16px 12px; transform: none; border-radius: 22px 22px 10px 10px; }
  .hf-consent__code { display: none; }
  .hf-consent h2 { font-size: 1rem; margin-bottom: .2em; }
  .hf-consent p { font-size: .8rem; line-height: 1.4; margin-bottom: .55em; }
  .hf-consent__btn { min-height: 38px; flex-basis: 110px; }
  .hf-consent__more { padding: 4px; }
}
@media (max-width: 380px) {
  .hf-brand__name small { display: none; }
  .hf-pathbtn { padding: 8px 12px; }
  .hf-pathbtn svg { display: none; }
  .hf-top { gap: 8px; padding: 8px 10px; }
  .hf-brand { gap: 7px; min-width: 0; }
  .hf-brand__name { font-size: .92rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
