/* Shared UI and the supplied 1546 × 1017 homepage composition. */
@font-face {
  font-family: Inter;
  src: url('assets/inter-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
:root {
  --u: calc(100vw / 1482);
  --green: #2e3e1b;
  --bg: #e6efc9;
  --cream: #fffbed;
  --line: #9da986;
  --header-height: calc(73 * var(--u));
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--green); font-family: Inter, Arial, sans-serif; overscroll-behavior-y: none; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button { border: 0; }
h1, h2, p { margin: 0; }
h1, h2 { line-height: 1.08; letter-spacing: -.04em; }
p { line-height: 1.4; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 3px solid #a34829;
  outline-offset: 5px;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; top: -90px; left: 20px; z-index: 100; padding: 14px 20px; background: var(--cream); border-radius: 5px; }
.skip:focus { top: 10px; }
.header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 4.2%;
  width: 91.6%;
  height: var(--header-height);
  border-bottom: 1px solid #687849;
}
.brand { position: absolute; left: calc(35 * var(--u)); top: calc(14 * var(--u)); width: calc(185 * var(--u)); }
.brand img { display: block; width: 100%; height: auto; }
.header nav { position: absolute; left: calc(402 * var(--u)); top: 0; height: 100%; display: flex; align-items: center; gap: calc(40 * var(--u)); }
.header nav a { position: relative; padding: calc(23 * var(--u)) 0; font-size: calc(16 * var(--u)); white-space: nowrap; }
.header nav a::after { content: ''; position: absolute; bottom: calc(10 * var(--u)); left: 0; width: 100%; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 160ms ease; }
.header nav a:hover::after, .header nav a[aria-current]::after { transform: scaleX(1); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 52px; border: 0; border-radius: 40px; padding: 14px 30px; background: #354924; color: var(--cream); font-size: 17px; white-space: nowrap; transition: background 160ms ease, transform 160ms ease; }
.button:hover { background: #465d30; transform: translateY(-2px); }
.button span { font-size: 21px; line-height: 1; }
.text-link { border-bottom: 1px solid currentColor; padding-block: 5px; }
.scene, .leaves > img { display: none; }
.cream { background: #fffbed; border-radius: 24px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
label { display: block; }
input, textarea { width: 100%; min-width: 0; border: 1px solid #d8d7c3; border-radius: 9px; background: transparent; padding: 16px 20px; }
input::placeholder { color: #999d91; opacity: 1; }
textarea { display: block; resize: vertical; }
.form-status { font-size: 14px; line-height: 1.5; margin-top: 15px; }
.form-status:empty { display: none; }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
.plus { position: relative; display: block; width: 18px; height: 18px; flex-shrink: 0; }
.plus::before, .plus::after { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor; }
.plus::after { transform: rotate(90deg); transition: transform 160ms ease; }
details[open] .plus::after { transform: rotate(0); }
.location address { font-style: normal; }

/* Retain the right-side chalkboard from the supplied team render. */
@media (min-width: 1000px) {
  .team::after {
    content: '';
    position: absolute;
    inset: var(--art-offset, 0px) 0 auto;
    height: var(--art-height);
    background: url('assets/team-reference-v4.png') center top / cover no-repeat;
    clip-path: inset(7.54% 0 0 calc(720 * var(--u)));
    pointer-events: none;
  }
  .contact::after {
    content: '';
    position: absolute;
    inset: var(--art-offset, 0px) 0 auto;
    z-index: 2;
    height: var(--art-height);
    background: url('assets/contact-reference-v4.png') center top / cover no-repeat;
    clip-path: polygon(0 74.46%, 74.2% 74.46%, 74.2% 70%, 89% 70%, 89% 65.5%, 93.3% 65.5%, 93.3% 53%, 100% 53%, 100% 100%, 0 100%);
    pointer-events: none;
  }
  .contact.form-expanded::after { display: none; }
}

/* The artwork is never edited. The board is a small HTML cover on its own layer. */
.home { --u: calc(100vw / 1546); --scene-height: 100vh; --scene-height: 100dvh; }
.home main { position: relative; height: var(--scene-height); overflow: hidden; }
.home .header { height: calc(70 * var(--u)); }
.home .brand { left: calc(41 * var(--u)); top: calc(12 * var(--u)); width: calc(187 * var(--u)); }
.home .header nav { left: calc(421 * var(--u)); gap: calc(43 * var(--u)); }
.home .header nav a[aria-current]::after { transform: scaleX(0); }
.home .header nav a:hover::after { transform: scaleX(1); }
.home-garden {
  position: absolute;
  top: 0;
  left: 50%;
  width: max(100vw, calc(var(--scene-height) * 1546 / 1017));
  aspect-ratio: 1546 / 1017;
  transform: translateX(-50%);
  background: url('assets/background.png') center / 100% 100% no-repeat;
  container-type: inline-size;
}
.hut-hours {
  position: absolute;
  left: 55.15%;
  top: 42.1%;
  width: 8.55%;
  height: 8.5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .48cqw;
  background: transparent;
  color: #463a21;
  text-align: center;
  font-size: .83cqw;
  line-height: 1.2;
  border-radius: 2px;
}
.hut-hours strong { font-size: 1.02cqw; font-weight: 400; }
.home-actions { position: absolute; left: 50%; bottom: 9.34%; transform: translateX(-50%); display: flex; align-items: center; gap: calc(30 * var(--u)); white-space: nowrap; }
.home-actions .button { min-height: calc(52 * var(--u)); padding: calc(14 * var(--u)) calc(34 * var(--u)); gap: calc(13 * var(--u)); font-size: calc(16 * var(--u)); }
.home-actions .text-link { font-size: calc(16 * var(--u)); font-weight: 700; background: transparent; }
.look { position: absolute; right: 3.3%; bottom: 7.67%; display: flex; align-items: center; gap: calc(8 * var(--u)); font-size: calc(12 * var(--u)); letter-spacing: .1em; text-transform: uppercase; }
.look > span { width: calc(39 * var(--u)); height: calc(39 * var(--u)); display: grid; place-items: center; border: 1.5px solid; border-radius: 50%; font-size: calc(23 * var(--u)); transition: transform 160ms ease; }
.look:hover > span { transform: translateY(3px); }

@media (max-aspect-ratio: 1/1) {
  .home-garden { width: max(100vw, calc(var(--scene-height) * 1086 / 1448)); aspect-ratio: 1086 / 1448; background-image: url('assets/background-mobile.png'); }
  .hut-hours { left: 59%; top: 39%; width: 12%; height: 8%; font-size: 1.5cqw; gap: .8cqw; }
  .hut-hours strong { font-size: 1.9cqw; }
}
@media (max-width: 1279px), (max-aspect-ratio: 1.39) {
  body:not(.home) .header { position: relative; left: auto; margin-inline: 4.2%; }
  .home-actions { gap: 24px; bottom: 8%; }
  .home-actions .button { min-height: 52px; font-size: 16px; padding: 14px 24px; gap: 16px; }
  .home-actions .text-link { font-size: 16px; padding: 7px 2px; }
  .look { display: none; }
}
/* Keep every navigation link visible. Only the arrangement changes with width. */
@media (max-width: 1279px) {
  :root { --header-height: 72px; }
  .header, body:not(.home) .header { left: auto; width: auto; margin-inline: 6%; display: flex; align-items: center; justify-content: space-between; }
  .brand, .home .brand { position: static; width: 158px; flex-shrink: 0; }
  .header nav, .home .header nav { position: static; height: 100%; display: flex; align-items: center; gap: clamp(20px, 2.7vw, 34px); }
  .header nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 0; font-size: 15px; }
  .header nav a::after { bottom: 5px; }
  .home .header { inset: 0 6% auto; height: var(--header-height); margin: 0; }
}
@media (max-width: 767px) {
  :root { --header-height: 112px; }
  .header, body:not(.home) .header { flex-direction: column; align-items: stretch; justify-content: flex-start; padding-top: 12px; }
  .header nav, .home .header nav { width: 100%; height: 44px; margin-top: 10px; justify-content: space-between; gap: 0; }
  .header nav a { font-size: 14px; }
}
@media (max-width: 599px) {
  :root { --header-height: 152px; }
  .header nav, .home .header nav { display: grid; grid-template-columns: 1fr 1fr 1.25fr; height: 88px; margin-top: 6px; }
  .header nav a { justify-self: start; font-size: 14px; }
  .header nav a:nth-child(3n + 2) { justify-self: center; }
  .header nav a:nth-child(3n) { justify-self: end; }
}
@media (max-width: 540px) {
  .home-actions { flex-direction: column; gap: 13px; bottom: 5%; }
  .home-actions .text-link { padding: 5px 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
