/* Arbor Plus
   Palette: limestone ground, bush-green ink, gum-leaf secondary, jarrah for links,
   hi-vis yellow reserved for call and booking actions only. */
:root {
  --limestone: #edf1ec;
  --paper: #ffffff;
  --ink: #1e2a24;
  --ink-soft: #3d4b44;
  --gum: #5f7a6b;
  --gum-pale: #dfe7e1;
  --jarrah: #7a2e1f;
  --hivis: #e4f222;
  --hivis-deep: #cbd80f;
  --line: #c9d3cc;
  --error: #a3271b;
  --ok: #2f6b45;

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--limestone);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--jarrah); text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--jarrah); outline-offset: 2px; }

h1, h2, h3, .h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.375rem); }
h3, .h3 { font-size: 1.5rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--hivis); color: var(--ink); padding: 0.75rem 1rem; z-index: 100; font-weight: 600; }
.skip:focus { left: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 600 1.05rem/1 var(--font-body);
  padding: 0.8rem 1.2rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: transparent; color: var(--ink);
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--hivis { background: var(--hivis); border-color: var(--hivis); color: var(--ink); }
.btn--hivis:hover { background: var(--hivis-deep); border-color: var(--hivis-deep); color: var(--ink); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.6); color: var(--paper); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--plain { border-color: var(--line); background: var(--paper); }
.btn--plain:hover { border-color: var(--ink); background: var(--paper); color: var(--ink); }
.btn--lg { font-size: 1.15rem; padding: 1rem 1.5rem; }
.btn--sm { font-size: 0.9rem; padding: 0.45rem 0.7rem; }
.btn--block { width: 100%; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--ink); color: #c8d4cc; font-size: 0.9rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.45rem; }
.topbar p { margin: 0; }
.topbar a { color: var(--paper); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--hivis); }
.topbar__phones { display: flex; gap: 1.25rem; }
@media (max-width: 720px) { .topbar__inner > p:first-child { display: none; } .topbar__phones { width: 100%; justify-content: space-between; } }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; color: var(--gum); }
.brand__name { font: 700 1.9rem/1 var(--font-head); letter-spacing: 0.01em; }
.brand:hover { color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav__list > li { position: relative; }
.site-nav__list a { display: block; padding: 0.55rem 0.65rem; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: var(--radius); }
.site-nav__list a:hover { background: var(--limestone); }
.site-nav__list a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--gum); border-radius: 0; }
.site-nav .count { display: inline-block; min-width: 1.4em; padding: 0 0.35em; border-radius: 99px; background: var(--ink); color: var(--hivis); font-size: 0.8rem; font-weight: 600; text-align: center; line-height: 1.4; }
.sub { list-style: none; margin: 0; padding: 0.4rem; }
.sub-toggle { display: none; }

@media (min-width: 1021px) {
  .has-sub > .sub {
    position: absolute; left: 0; top: 100%; min-width: 290px;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(30, 42, 36, 0.14);
    visibility: hidden; opacity: 0; transform: translateY(4px);
    transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { visibility: visible; opacity: 1; transform: none; }
}

.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: 0.6rem;
  font: 600 1rem var(--font-body); color: var(--ink);
  background: none; border: 2px solid var(--ink); border-radius: var(--radius); padding: 0.5rem 0.8rem; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.25rem; max-height: calc(100vh - 110px); overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; }
  .site-nav__list > li { border-bottom: 1px solid var(--limestone); }
  .site-nav__list a { padding: 0.8rem 0.25rem; }
  .site-nav__list a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gum); padding-left: 0.9rem; }
  .has-sub { display: grid; grid-template-columns: 1fr auto; }
  .sub-toggle { display: block; width: 48px; background: none; border: 0; cursor: pointer; }
  .sub-toggle span { display: block; width: 10px; height: 10px; margin: auto; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform 0.15s; }
  .sub-toggle[aria-expanded="true"] span { transform: rotate(-135deg); }
  .has-sub > .sub { grid-column: 1 / -1; display: none; padding: 0 0 0.5rem 0.75rem; }
  .has-sub.is-open > .sub { display: block; }
  .site-nav__book { width: 100%; }
}

/* ---------- notices ---------- */
.notice { margin: 1.25rem 0; padding: 0.9rem 1.1rem; border-left: 5px solid var(--ok); background: var(--paper); }
.notice--error { border-color: var(--error); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: var(--ink); color: var(--paper); }
.hero__text { display: flex; justify-content: flex-end; }
.hero__inner { width: 100%; max-width: calc(var(--wrap) / 2 + 30px); padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(2.5rem, 6vw, 4.5rem); }
.hero__title { font-size: clamp(2.6rem, 5vw, 4.1rem); margin-bottom: 0.4em; }
.hero__lede { font-size: 1.15rem; color: #d5ded8; max-width: 36em; }
.hero__call { margin: 1.75rem 0 0.4rem; }
.hero__phone {
  display: block; width: fit-content;
  font: 700 clamp(3.8rem, 10vw, 7.25rem)/0.9 var(--font-head);
  letter-spacing: -0.01em; color: var(--hivis); text-decoration: none;
  font-variant-numeric: lining-nums tabular-nums;
}
.hero__phone:hover { color: var(--paper); }
.hero__mobile { display: inline-block; margin-top: 0.5rem; font: 600 1.6rem/1 var(--font-head); color: var(--paper); text-decoration: none; }
.hero__mobile:hover { color: var(--hivis); }
.hero__note { color: #aebcb3; font-size: 0.95rem; max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 0; }
.hero__photo { margin: 0; min-height: 100%; position: relative; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero__photo { order: -1; height: 46vw; min-height: 220px; max-height: 380px; }
  .hero__text { justify-content: flex-start; }
  .hero__inner { max-width: none; }
}

/* ---------- bands & layout ---------- */
.band { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.band--tint { background: var(--gum-pale); }
.section-lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 40em; margin-bottom: 2rem; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split--page { padding-block: 2.5rem 4.5rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.prose { max-width: 42em; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25em; }

.checklist, .crosslist, .linklist { list-style: none; padding: 0 !important; margin: 0 0 1.5em; }
.checklist li, .crosslist li { position: relative; padding: 0.35em 0 0.35em 1.9em; border-bottom: 1px solid var(--line); }
.checklist li::before {
  content: ""; position: absolute; left: 0.2em; top: 0.75em;
  width: 0.65em; height: 0.35em; border-left: 2.5px solid var(--gum); border-bottom: 2.5px solid var(--gum); transform: rotate(-45deg);
}
.crosslist li::before, .crosslist li::after {
  content: ""; position: absolute; left: 0.2em; top: 0.95em; width: 0.8em; height: 2.5px; background: var(--error); transform: rotate(45deg);
}
.crosslist li::after { transform: rotate(-45deg); }
.checklist--2col { columns: 2 16em; column-gap: 2rem; }
.checklist--2col li { break-inside: avoid; }
.linklist li { padding: 0.45em 0; border-bottom: 1px solid var(--line); }

/* ---------- page head ---------- */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: clamp(2rem, 5vw, 3.25rem) clamp(1.75rem, 4vw, 2.5rem); }
.page-head h1 { margin-bottom: 0.3em; max-width: 20em; }
.page-head__lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 40em; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.25rem 0; margin-bottom: 0.75rem; font-size: 0.95rem; }
.crumbs a { color: var(--gum); font-weight: 500; }
.crumbs a + a::before { content: "/"; display: inline-block; margin: 0 0.5rem; color: var(--line); }
.crumbs--page { padding-top: 1.75rem; }

/* ---------- service pages ---------- */
.photo-strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: clamp(150px, 22vw, 290px); gap: 0.75rem; margin-top: 2rem; }
.photo-strip figure { margin: 0; overflow: hidden; background: var(--gum-pale); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .photo-strip { grid-template-columns: 1fr 1fr; grid-auto-rows: 34vw; }
  .photo-strip figure:first-child { grid-column: 1 / -1; }
}
.callout { margin-top: 2.5rem; padding: 1.5rem; background: var(--paper); border-left: 5px solid var(--hivis); }
.callout p:last-child { margin: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.call-card { background: var(--ink); color: var(--paper); padding: 1.5rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.call-card__phone { margin: 0 0 0.2rem; }
.call-card__phone a { font: 700 2.1rem/1.1 var(--font-head); color: var(--hivis); text-decoration: none; }
.call-card__phone a:hover { color: var(--paper); }
.call-card__note { color: #c0ccc4; font-size: 0.95rem; margin: 0.75rem 0 1.25rem; }
.side-nav ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.side-nav li { border-bottom: 1px solid var(--line); }
.side-nav a { display: block; padding: 0.6rem 0.25rem; color: var(--ink); text-decoration: none; }
.side-nav a:hover { color: var(--jarrah); }
.side-nav a[aria-current="page"] { font-weight: 600; box-shadow: inset 4px 0 0 var(--gum); padding-left: 0.9rem; }
.side-note { padding: 1.25rem 0; border-top: 1px solid var(--line); }

/* ---------- home tiles ---------- */
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.75rem 1.25rem; }
.service-tile a { display: block; color: var(--ink); text-decoration: none; }
.service-tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 0.75rem; }
.service-tile__name { display: block; font: 700 1.45rem/1.1 var(--font-head); margin-bottom: 0.25rem; }
.service-tile a:hover .service-tile__name { color: var(--jarrah); text-decoration: underline; text-underline-offset: 0.15em; }
.service-tile__text { display: block; color: var(--ink-soft); font-size: 0.98rem; }

.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 760px) { .feature-row { grid-template-columns: 1fr; } }
.feature { display: grid; grid-template-rows: auto auto 1fr; background: var(--paper); color: var(--ink-soft); text-decoration: none; border-top: 5px solid var(--gum); }
.feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feature__name { font: 700 1.6rem/1.1 var(--font-head); color: var(--ink); padding: 1rem 1.25rem 0.25rem; }
.feature > span:last-child { padding: 0 1.25rem 1.25rem; }
.feature:hover { border-top-color: var(--jarrah); }
.feature:hover .feature__name { color: var(--jarrah); }

.cta-band { background: var(--gum); color: var(--paper); padding-block: 2.25rem; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-band__text { font: 600 clamp(1.5rem, 3vw, 2rem)/1.15 var(--font-head); margin: 0; max-width: 28em; }

/* ---------- shop ---------- */
.how-it-works { margin: 2rem 0; padding: 1.25rem 1.5rem; background: var(--paper); border-left: 5px solid var(--gum); }
.how-it-works ol { margin: 0 0 0.75rem; padding-left: 1.25em; }
.how-it-works p { margin: 0; }

.cat-grid, .product-grid { list-style: none; padding: 0; margin: 2rem 0 3rem; display: grid; gap: 1.25rem; }
.cat-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.cat-grid .cat-tile__img { aspect-ratio: 16 / 9; }
.cat-tile a { display: flex; flex-direction: column; height: 100%; background: var(--paper); color: var(--ink); text-decoration: none; border: 1px solid var(--line); }
.cat-tile__img { aspect-ratio: 4 / 3; background: var(--gum-pale); overflow: hidden; }
.cat-tile__img img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile__name { font: 700 1.4rem/1.1 var(--font-head); padding: 0.8rem 1rem 0.1rem; }
.cat-tile__count { padding: 0 1rem 0.9rem; font-size: 0.92rem; color: var(--gum); }
.cat-tile a:hover { border-color: var(--ink); }
.cat-tile a:hover .cat-tile__name { color: var(--jarrah); }

.list-heading { margin-top: 1rem; }
.product-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.product-card a { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; background: var(--paper); border: 1px solid var(--line); }
.product-card a:hover { border-color: var(--ink); }
.product-card a:hover .product-card__name { color: var(--jarrah); text-decoration: underline; }
.product-card__img { aspect-ratio: 1; display: grid; place-items: center; background: #fff; overflow: hidden; border-bottom: 1px solid var(--limestone); }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.noimg { color: var(--gum); font-size: 0.9rem; }
.product-card__name { padding: 0.75rem 0.9rem 0.25rem; font-weight: 600; line-height: 1.3; flex: 1; }
.product-card__price { padding: 0 0.9rem 0.85rem; font: 700 1.3rem/1.2 var(--font-head); }
.product-card__price s, .product__price s { font: 400 0.85rem var(--font-body); color: var(--gum); margin-left: 0.4rem; }

.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); padding: 1.5rem 0 3rem; }
@media (max-width: 820px) { .product { grid-template-columns: 1fr; } }
.product__main { display: block; background: var(--paper); border: 1px solid var(--line); }
.product__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.product__main--empty { aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--gum); }
.product__thumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0 0; padding: 0; }
.product__thumbs button { padding: 0; border: 2px solid var(--line); background: var(--paper); cursor: pointer; width: 84px; }
.product__thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.product__thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product__info h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.product__price { font: 700 2.4rem/1 var(--font-head); margin-bottom: 0.4rem; }
.product__unit { font: 500 1rem var(--font-body); color: var(--gum); }
.product__sku { color: var(--gum); font-size: 0.92rem; }
.product__body { margin: 1.25rem 0 1.5rem; }
.product__form { padding: 1.25rem; background: var(--paper); border: 1px solid var(--line); }
.field--qty input { max-width: 7rem; }
.related { padding-bottom: 2rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.related .product-grid { margin-top: 1rem; }

.empty { padding: 2rem 0 4rem; font-size: 1.1rem; }

/* quote table */
.quote-table { width: 100%; border-collapse: collapse; margin-top: 2rem; background: var(--paper); }
.quote-table th, .quote-table td { padding: 0.8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.quote-table thead th { font-size: 0.9rem; color: var(--gum); font-weight: 600; }
.quote-table .num { text-align: right; white-space: nowrap; }
.quote-table input { width: 5rem; text-align: right; }
.quote-table__opts { display: block; font-size: 0.9rem; color: var(--ink-soft); }
.quote-table tfoot th { text-align: right; }
.quote-actions { display: flex; gap: 1.25rem; align-items: center; margin: 1rem 0 0.25rem; }
@media (max-width: 640px) {
  .quote-table thead { display: none; }
  .quote-table, .quote-table tbody, .quote-table tr, .quote-table td, .quote-table tfoot { display: block; width: 100%; }
  .quote-table tr { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .quote-table td { border: 0; padding: 0.25rem 0.8rem; text-align: left !important; }
  .quote-table td[data-label]:not([data-label="Item"])::before { content: attr(data-label) ": "; color: var(--gum); }
  .quote-table tfoot tr { display: flex; justify-content: space-between; }
  .quote-table tfoot th, .quote-table tfoot td { width: auto; }
}

/* ---------- forms ---------- */
.form-panel { margin: 3rem 0 4rem; padding: clamp(1.25rem, 4vw, 2rem); background: var(--paper); border-top: 5px solid var(--gum); max-width: 46rem; }
.form-section { border: 0; padding: 0; margin: 0 0 2rem; }
.form-section > legend { font: 700 1.6rem/1.1 var(--font-head); margin-bottom: 1rem; padding: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.form-grid--wide-first { grid-template-columns: 2fr 1fr; }
@media (max-width: 600px) { .form-grid, .form-grid--wide-first { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.2rem; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.opt { font-weight: 400; color: var(--gum); }
.hint { font-size: 0.92rem; color: var(--ink-soft); margin: 0 0 0.4rem; }
.product__form .hint { margin: 0.75rem 0 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 0.7rem 0.8rem; background: var(--paper);
  border: 1.5px solid #9fb0a6; border-radius: var(--radius);
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--hivis-deep); outline-offset: 0; border-color: var(--ink); }
input[type="file"] { font: inherit; max-width: 100%; }
textarea { resize: vertical; min-height: 8rem; }
.date-field { position: relative; display: flex; max-width: 15rem; }
.date-field input[type="text"] { padding-right: 3.2rem; }
.date-field__native { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; }
.date-field__btn {
  position: absolute; right: 0; top: 0; bottom: 0; width: 3rem;
  display: grid; place-items: center; background: none; border: 0; border-left: 1.5px solid #9fb0a6;
  color: var(--ink); cursor: pointer; border-radius: 0 var(--radius) var(--radius) 0;
}
.date-field__btn[hidden] { display: none; }
.date-field__btn:hover, .date-field__btn:focus-visible { background: var(--ink); border-left-color: var(--ink); color: var(--paper); }
.choice { display: flex; gap: 0.6rem; align-items: center; padding: 0.4rem 0; font-weight: 400; cursor: pointer; }
.choice input { width: 1.2rem; height: 1.2rem; accent-color: var(--ink); }
.field--error input, .field--error textarea, .field--error select { border-color: var(--error); }
.error { color: var(--error); font-weight: 600; font-size: 0.95rem; margin: 0 0 0.35rem; }

/* ---------- gallery ---------- */
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 2rem 0 0; }
.chip { display: inline-block; padding: 0.45rem 0.9rem; border: 1.5px solid var(--gum); border-radius: 99px; color: var(--ink); text-decoration: none; font-weight: 500; background: var(--paper); }
.chip:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.gallery-grid { list-style: none; padding: 0; margin: 2rem 0 4rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.5rem; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--gum-pale); }
.gallery-grid figcaption { padding-top: 0.6rem; font-size: 0.95rem; }
.gallery-grid figcaption > * { display: block; }

/* lightbox */
.lightbox:not([open]) { display: none; }
.lightbox[open] { display: grid; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(15, 22, 18, 0.92); place-items: center; padding: 1rem; border: 0; max-width: none; max-height: none; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(15, 22, 18, 0.92); }
.lightbox img { max-width: min(1200px, 100%); max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; top: 1rem; right: 1rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c8d4cc; padding-top: 3rem; font-size: 0.98rem; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--hivis); }
.site-footer h2 { font-size: 1.3rem; color: var(--paper); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 0.15rem 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__name { font: 700 2rem/1 var(--font-head); color: var(--paper); }
.site-footer__small { font-size: 0.9rem; color: #9fb0a6; }
.site-footer__base { border-top: 1px solid #34443b; padding-block: 1.25rem; font-size: 0.88rem; color: #9fb0a6; }
.site-footer__base p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .topbar, .site-header, .site-footer, .split__aside, .btn { display: none !important; }
  body { background: #fff; }
}
