/* SHDH — brand colours carried over from the original site:
   lime green #98bc24 / #7fa409 and the logo's deep olive #2c3318 */
:root {
  --green: #98bc24;
  --green-deep: #7fa409;
  --green-ink: #4f6608;      /* text-safe green on light backgrounds */
  --olive: #2c3318;
  --olive-soft: #3a4321;
  --ink: #242424;
  --muted: #5f6358;
  --line: #e2e4da;
  --paper: #ffffff;
  --tint: #f5f7ee;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(44, 51, 24, .06), 0 12px 32px -12px rgba(44, 51, 24, .18);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { margin: 0; line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.sr-only, .hp {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

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

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 26px; border-radius: 999px;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--olive); }
.btn-primary:hover { background: #a8cc32; }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Eyebrows ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--green); }
.eyebrow-light { color: var(--green); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(44, 51, 24, .5); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 48px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) {
  text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink);
  position: relative; padding: 6px 0;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--green); transform: scaleX(0); transition: transform .2s;
}
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--olive);
  transition: transform .2s, opacity .2s;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  color: #fff;
}
.hero-media {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(28, 33, 14, .9) 0%, rgba(44, 51, 24, .7) 45%, rgba(44, 51, 24, .15) 100%),
    url("images/hero-hoop.jpg") center / cover no-repeat;
}
.hero-content { padding-block: 96px; }
.hero h1 { font-size: clamp(42px, 6.6vw, 80px); max-width: 13ch; margin-bottom: 24px; }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 52ch; color: rgba(255, 255, 255, .86); margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Stats ---------- */
.stats { background: var(--olive); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 34px 28px; display: flex; flex-direction: column; gap: 6px;
  border-left: 1px solid rgba(255, 255, 255, .1);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; color: var(--green); line-height: 1; }
.stat-label { font-size: 14px; color: rgba(255, 255, 255, .75); line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-tint { background: var(--tint); }
.section-dark { background: var(--olive); color: #fff; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 16px; }
.section-intro { color: var(--muted); font-size: 18px; margin: 0; }
.lead { font-size: 19px; color: var(--ink); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about-badge {
  position: absolute; right: -24px; bottom: 32px; max-width: 220px;
  background: var(--green); color: var(--olive);
  padding: 20px 22px; border-radius: 12px; box-shadow: var(--shadow);
  font-size: 14px; font-weight: 600; line-height: 1.4;
}
.about-badge-year { display: block; font-family: var(--serif); font-size: 26px; margin-bottom: 4px; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy p:not(.lead):not(.eyebrow) { color: var(--muted); }

.divisions {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: clamp(56px, 8vw, 96px);
}
.division {
  padding: 32px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.division:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-3px); }
.division-num { display: block; font-family: var(--serif); font-size: 15px; color: var(--green-ink); margin-bottom: 28px; }
.division h3 { margin-bottom: 10px; }
.division p { color: var(--muted); margin: 0; }

/* ---------- Species ---------- */
.species-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; align-items: start; }
.species-grid + .species-group { margin-top: 56px; }
.species-group {
  display: flex; align-items: center; gap: 16px; margin-bottom: 22px;
  font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-ink);
}
.species-group::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.species-more { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 14px; }
.species-more summary {
  cursor: pointer; font-weight: 700; color: var(--green-ink); list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.species-more summary::-webkit-details-marker { display: none; }
.species-more summary::after { content: "+"; font-size: 20px; line-height: 1; transition: transform .2s; }
.species-more[open] summary::after { transform: rotate(45deg); }
.species-more dl { margin: 12px 0 0; }
.species-more dt { font-weight: 700; color: var(--ink); margin-top: 10px; }
.species-more dd { margin: 2px 0 0; color: var(--muted); line-height: 1.55; }
.species {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.species-img { aspect-ratio: 4 / 3; overflow: hidden; }
.species-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.species:hover .species-img img { transform: scale(1.05); }
.species-body { padding: 24px 24px 28px; }
.species-body h3 { margin: 12px 0 8px; font-family: var(--serif); font-size: 24px; font-weight: 600; }
.species-body p { color: var(--muted); font-size: 15px; margin: 0; }
.tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: #eaf2cf; color: var(--green-ink);
}
.tag-hard { background: #f3e6d6; color: #7a4a1c; }

/* ---------- Band ---------- */
.band { position: relative; isolation: isolate; color: #fff; padding-block: clamp(80px, 11vw, 140px); }
.band-media {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(rgba(44, 51, 24, .82), rgba(44, 51, 24, .82)),
    url("images/hero-radiata.jpg") center / cover no-repeat;
}
.band-content { max-width: 860px; }
.band-title { font-family: var(--sans); font-size: 20px; font-weight: 700; letter-spacing: 0; margin-bottom: 18px; color: #fff; }
.band blockquote {
  margin: 0 0 24px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; letter-spacing: -.01em;
}
.band p:last-child { color: rgba(255, 255, 255, .78); max-width: 64ch; margin: 0; }

/* ---------- Process ---------- */
.process {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.process li {
  position: relative; padding: 36px 32px 40px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.process li:hover { background: var(--tint); }
.process-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); margin-bottom: 22px;
}
.process-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.process-num {
  position: absolute; top: 32px; right: 32px;
  font-family: var(--serif); font-size: 40px; font-weight: 600; color: #e3e7d5; line-height: 1;
}
.process h3 { margin-bottom: 8px; }
.process p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- Yard slideshow ---------- */
/* Full-width band: the photos are the whole section, at their own 5:3 shape */
.slideshow {
  position: relative; overflow: hidden;
  aspect-ratio: 1400 / 837; max-height: 90vh; width: 100%;
  background: var(--olive);
}
.slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity .9s ease, transform 3s ease;
}
.slide.is-active { opacity: 1; transform: scale(1); }
.slideshow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: 1;
  background: linear-gradient(transparent, rgba(28, 33, 14, .45)); pointer-events: none;
}
.slide-dots {
  position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2;
  display: flex; justify-content: center; gap: 10px;
}
.slide-dot {
  width: 10px; height: 10px; padding: 0; border-radius: 999px; cursor: pointer;
  border: 0; background: rgba(255, 255, 255, .55); transition: width .3s, background .3s;
}
.slide-dot.is-active { width: 28px; background: var(--green); }

/* ---------- Awards ---------- */
.section-dark h2 { color: #fff; }
.awards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.award {
  margin: 0; padding: 14px 14px 28px; border-radius: var(--radius);
  background: var(--olive-soft); border: 1px solid rgba(255, 255, 255, .08);
}
.award-img { background: #fff; border-radius: 10px; padding: 10px; margin-bottom: 22px; }
.award-img img { width: 100%; max-width: 264px; margin-inline: auto; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 4px; }
.award figcaption { padding: 0 14px; }
.award-big { display: block; font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--green); margin-bottom: 14px; line-height: 1.1; }
.award p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 15px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info .lead { color: var(--muted); font-size: 18px; }
.contact-list { margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.contact-list dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 6px; }
.contact-list dd { margin: 0; font-weight: 500; }.contact-list a { text-decoration: none; border-bottom: 1px solid var(--green); }
.contact-list a:hover { color: var(--green-ink); }

.contact-form {
  background: var(--tint); border-radius: 20px; padding: clamp(24px, 4vw, 44px);
  display: grid; gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px;
  border: 1px solid #d5d9c8; background: #fff;
  font: 16px/1.4 var(--sans); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-deep); box-shadow: 0 0 0 4px rgba(152, 188, 36, .25); }

.form-status { margin: 0; font-size: 14px; color: #a3361f; }
.form-status:empty { display: none; }
.contact-form button:disabled { opacity: .7; cursor: wait; transform: none; }

/* ---------- Footer ---------- */
.site-footer { background: #1f2411; color: rgba(255, 255, 255, .72); font-size: 15px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 40px;
  padding-block: 64px 48px;
}
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 38ch; margin: 0; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px;
}

/* ---------- Simple page (thank-you / 404) ---------- */
.simple-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 96px 0; }
.simple-page h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; }
.simple-page p { color: var(--muted); max-width: 46ch; margin: 0 auto 32px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .species-grid, .awards { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 28px 24px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .process { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .brand img { height: 40px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    box-shadow: 0 18px 30px -20px rgba(44, 51, 24, .4);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 16px; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 440px; }
  .about-badge { right: 16px; }
  .divisions { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { min-height: 0; }
  .hero-content { padding-block: 72px 80px; }
  .hero-media {
    background:
      linear-gradient(rgba(28, 33, 14, .72), rgba(44, 51, 24, .82)),
      url("images/hero-hoop.jpg") 65% center / cover no-repeat;
  }
  .hero-actions .btn { flex: 1 1 100%; }
  .species-grid, .awards, .process { grid-template-columns: 1fr; }
  .stat-label { font-size: 13px; }
  .field-row, .contact-list { grid-template-columns: 1fr; }
  .process li { padding: 28px 24px 32px; }
  .process-num { top: 26px; right: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
