/* Gardenwise Design & Maintenance */
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Karla"; src: url("fonts/karla.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
    --mulch: #29221d;
    --mulch-soft: #5a5049;
    --label: #fbfcf8;
    --lichen: #e4ece0;
    --leaf: #2a6b3c;
    --leaf-tint: #a9cfa0;
    --bloom: #c2217a;
    --bloom-deep: #9c1961;
    --sound: #0b6e72;
    --rule: rgba(41, 34, 29, 0.16);
    --max-width: 1180px;
    --gutter: clamp(20px, 4vw, 40px);
    --radius: 6px;
    --radius-sm: 3px;
    --serif: "Newsreader", Georgia, "Times New Roman", serif;
    --sans: "Karla", "Segoe UI", Helvetica, Arial, sans-serif;
    --section: clamp(72px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--label); color: var(--mulch); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--mulch); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.012em; font-optical-sizing: auto; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); max-width: 22ch; }
h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sound); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: calc(var(--max-width) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--mulch); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; color: #fff; }

button { font-family: inherit; font-size: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 22px; border-radius: var(--radius); font-family: var(--sans); font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; text-align: center; border: 2px solid transparent; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.button-bloom { background: var(--bloom); color: #fff; }
.button-bloom:hover { background: var(--bloom-deep); color: #fff; }
.button-line { background: transparent; color: var(--mulch); border-color: var(--mulch); }
.button-line:hover { background: var(--mulch); color: #fff; }
.text-link { font-weight: 700; color: var(--mulch); display: inline-block; padding: 10px 0; }

/* top bar */
.topbar { background: var(--sound); color: #fff; font-size: 0.9375rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar p { margin: 0; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; display: inline-block; padding: 11px 0; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar-contact { display: flex; gap: 22px; align-items: center; }
.topbar a.topbar-email { font-weight: 500; }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--label); border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: block; flex: none; padding: 4px 0; }
.brand img { width: 196px; height: auto; }
.site-nav ul { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--mulch); text-decoration: none; font-weight: 500; padding: 12px 0; display: inline-block; }
.site-nav a:hover, .site-nav a.is-active { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--leaf); }
.site-nav a.button { min-height: 44px; padding: 8px 16px; font-size: 1rem; display: inline-flex; }
.site-nav a.button:hover { text-decoration: none; }
.nav-toggle { display: none; min-width: 48px; min-height: 48px; padding: 0 14px; border: 2px solid var(--mulch); border-radius: var(--radius); font-weight: 700; background: var(--label); color: var(--mulch); }

/* hero */
.hero { padding: clamp(36px, 6vw, 80px) 0 0; }
.hero-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.hero h1 { font-size: clamp(2.75rem, 7.4vw, 5.75rem); line-height: 0.98; letter-spacing: -0.025em; font-weight: 480; max-width: 13ch; }
.hero-lede { font-size: 1.1875rem; line-height: 1.55; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.hero-photo { position: relative; margin: clamp(36px, 5vw, 64px) 0 0; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 62%; border-radius: var(--radius); }
.stake-note { position: absolute; left: clamp(14px, 3vw, 36px); bottom: clamp(14px, 3vw, 36px); margin: 0; background: #fff; color: var(--mulch); padding: 12px 38px 12px 16px; font-size: 0.9375rem; line-height: 1.35; max-width: min(380px, calc(100% - 28px)); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); }
.stake-note strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.125rem; }

/* sections */
.section { padding: var(--section) 0; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { max-width: 38em; margin-top: 18px; font-size: 1.125rem; }

/* jobs list */
.jobs { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 5vw, 72px); border-top: 2px solid var(--mulch); }
.job { padding: 22px 0 24px; border-bottom: 1px solid var(--rule); }
.job p { margin-top: 8px; color: var(--mulch-soft); max-width: 34em; }
.strata { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: center; margin-top: clamp(48px, 7vw, 88px); }
.strata h3 { font-size: clamp(1.625rem, 3vw, 2.125rem); max-width: 16ch; }
.strata p { margin-top: 14px; max-width: 30em; }
.strata figure { margin: 0; }
.strata img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
figcaption { font-size: 0.9375rem; color: var(--mulch-soft); margin-top: 10px; line-height: 1.4; }

/* the garden bed year */
.year { background: var(--mulch); color: var(--label); }
.year h2 { color: #fff; max-width: 14ch; }
.year .section-head p { color: #d9d2cb; }
.year-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.year-chart { position: relative; --lw: 178px; padding-bottom: 18px; }
.year-months, .year-row { display: grid; grid-template-columns: var(--lw) repeat(12, minmax(0, 1fr)); align-items: center; }
.year-months { position: relative; z-index: 2; }
.year-months button { height: 48px; font-weight: 700; font-size: 0.9375rem; color: #fff; border-radius: var(--radius-sm); background: transparent; transition: color 0.15s ease; }
.year-months button:hover { text-decoration: underline; text-underline-offset: 4px; }
.year-months button[aria-checked="true"] { color: var(--bloom-deep); }
.year-months button:focus-visible { outline-color: #fff; outline-offset: -3px; }
.m-short { display: none; }
.year-row { position: relative; z-index: 1; min-height: 46px; border-top: 1px solid rgba(255, 255, 255, 0.13); }
.year-row:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
.year-job { font-weight: 500; font-size: 1rem; line-height: 1.2; padding-right: 12px; color: #fff; }
.year-cell { height: 46px; display: flex; align-items: center; }
.year-cell i { display: block; width: 100%; height: 14px; background: transparent; transform-origin: left center; }
.year-cell.on i { background: var(--leaf-tint); flex: none; }
.year-cell.on:not(.e) i { width: calc(100% + 1px); margin-right: -1px; }
.year-cell.on.s i { border-top-left-radius: 7px; border-bottom-left-radius: 7px; margin-left: 3px; }
.year-cell.on.e i { border-top-right-radius: 7px; border-bottom-right-radius: 7px; margin-right: 3px; }
.year-cell.on.is-month i { background: #fff; }
.year-stake { position: absolute; top: 0; bottom: 0; left: 0; width: 40px; z-index: 0; pointer-events: none; visibility: hidden; }
.year-stake.is-set { visibility: visible; }
.year-stake::before { content: ""; position: absolute; left: 2px; right: 2px; top: 4px; height: 40px; background: #fff; border-radius: var(--radius-sm); }
.year-stake::after { content: ""; position: absolute; top: 44px; bottom: 0; left: 50%; width: 62%; min-width: 14px; transform: translateX(-50%); background: rgba(255, 255, 255, 0.16); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), 50% 100%, 0 calc(100% - 16px)); }
.year-panel { background: var(--label); color: var(--mulch); border-radius: var(--radius); padding: 26px 26px 28px; position: sticky; top: 104px; }
.year-panel h3 { font-size: 2rem; }
.year-panel p { margin-top: 10px; color: var(--mulch-soft); }
.year-panel ul { margin-top: 18px; border-top: 1px solid var(--rule); }
.year-panel li { padding: 9px 0; border-bottom: 1px solid var(--rule); font-weight: 500; }
.year-panel .button { margin-top: 22px; width: 100%; }
.year-step { display: none; gap: 10px; margin-top: 18px; }
.year-step button { flex: 1; min-height: 48px; padding: 0 10px; border: 2px solid var(--mulch); border-radius: var(--radius); background: var(--label); color: var(--mulch); font-weight: 700; }
.year-step button:hover { background: var(--mulch); color: #fff; }
.year-small { margin-top: 28px; font-size: 0.9375rem; color: #c9c1b9; max-width: 46em; }

/* gardens */
.gardens { background: var(--lichen); }
.garden-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(22px, 3vw, 36px) clamp(14px, 2vw, 24px); }
.garden { margin: 0; grid-column: span 4; }
.garden.wide { grid-column: span 8; grid-row: span 2; display: flex; flex-direction: column; }
.garden.wide button { flex: 1; min-height: 0; }
.garden.wide img { height: 100%; aspect-ratio: auto; }
.garden.half { grid-column: span 6; }
.garden button { display: block; width: 100%; background: var(--mulch); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.garden img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity 0.2s ease; }
.garden.half img { aspect-ratio: 3 / 2; }
.garden button:hover img { opacity: 0.9; }
.garden figcaption { color: var(--mulch); }

/* questions */
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 72px); }
.faq-list { border-top: 2px solid var(--mulch); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--serif); font-size: 1.3125rem; font-weight: 500; line-height: 1.25; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-right: 6px; border-right: 2px solid var(--mulch); border-bottom: 2px solid var(--mulch); transform: translateY(-3px) rotate(45deg); transition: transform 0.3s ease; }
.faq-item.is-open summary::after { transform: translateY(3px) rotate(225deg); }
.faq-item.is-open summary { color: var(--leaf); }
.faq-answer { overflow: hidden; margin: 0; padding: 0 44px 22px 0; max-width: 40em; color: var(--mulch-soft); }

/* contact */
.contact { background: var(--lichen); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-layout > div > p { margin-top: 18px; max-width: 30em; font-size: 1.125rem; }
.contact-ways { margin-top: 28px; border-top: 2px solid var(--mulch); }
.contact-ways li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.contact-ways span { display: block; font-size: 0.9375rem; color: var(--mulch-soft); }
.contact-ways a, .contact-ways strong { font-family: var(--serif); font-size: clamp(1.375rem, 2.6vw, 1.75rem); font-weight: 500; color: var(--mulch); text-decoration: none; overflow-wrap: anywhere; display: inline-block; padding: 5px 0; }
.contact-ways a:hover { text-decoration: underline; }
.contact-form { background: var(--label); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 36px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--mulch); background: #fff; border: 1.5px solid #8b827a; border-radius: var(--radius-sm); padding: 12px 14px; min-height: 50px; }
.field textarea { min-height: 132px; resize: vertical; display: block; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--sound); outline-offset: 1px; border-color: var(--sound); }
.field-error { display: none; color: #a3132f; font-size: 0.9375rem; margin: 6px 0 0; }
.field.has-error input, .field.has-error textarea { border-color: #a3132f; }
.field.has-error .field-error { display: block; }
.contact-form .button { width: 100%; }
.form-note { font-size: 0.9375rem; color: var(--mulch-soft); margin-top: 14px; }
.form-status { overflow: hidden; height: 0; }
.form-status-inner { margin-top: 18px; padding: 16px 18px; background: var(--mulch); color: #fff; border-radius: var(--radius-sm); }
.form-status-inner strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.form-status-inner a { color: #fff; }

/* footer */
.site-footer { background: var(--mulch); color: #d9d2cb; padding: 56px 0 44px; font-size: 1rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; }
.site-footer address { font-style: normal; line-height: 1.5; }
.site-footer address strong { display: block; font-family: var(--serif); font-size: 1.375rem; font-weight: 500; color: #fff; margin-bottom: 4px; }
.site-footer a { color: #fff; display: inline-block; padding: 9px 0; }
.footer-meta { text-align: right; }
.footer-meta p { margin: 0 0 6px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgb(24, 19, 16); display: none; flex-direction: column; align-items: center; justify-content: center; padding: 72px 16px 84px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1280px, 100%); max-height: calc(100vh - 220px); width: auto; height: auto; border-radius: var(--radius-sm); }
.lightbox p { color: #fff; margin: 14px 0 0; text-align: center; max-width: 40em; }
.lightbox button { position: absolute; min-width: 48px; min-height: 48px; padding: 0 16px; background: #fff; color: var(--mulch); border-radius: var(--radius); font-weight: 700; }
.lightbox button:hover { background: var(--lichen); }
.lightbox button:focus-visible { outline-color: #fff; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; bottom: 16px; }
.lb-next { right: 12px; bottom: 16px; }

/* simple pages */
.page-simple .header-inner { min-height: 72px; }
.page-simple main { padding: 48px 0 96px; }
.page-simple h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); margin-bottom: 16px; }
.policy h2 { font-size: 1.5rem; margin: 36px 0 10px; max-width: none; }
.policy p { max-width: 44em; }

@media (max-width: 980px) {
    .year-layout { grid-template-columns: 1fr; }
    .year-panel { position: static; }
    .year-step { display: flex; }
    .year-panel .button { margin-top: 12px; }
    .site-nav ul { gap: 20px; }
}
@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--label); border-bottom: 2px solid var(--mulch); padding: 8px var(--gutter) 22px; overflow: hidden; }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav li { border-bottom: 1px solid var(--rule); }
    .site-nav li:last-child { border-bottom: 0; padding-top: 16px; }
    .site-nav a { display: block; padding: 14px 0; font-size: 1.125rem; }
    .site-nav a.button { display: flex; min-height: 52px; }
    .hero-head, .strata, .faq-layout, .contact-layout { grid-template-columns: 1fr; }
    .hero h1 { max-width: 13ch; }
    .hero-photo img { aspect-ratio: 4 / 3; }
    .jobs { grid-template-columns: 1fr; }
    .garden, .garden.wide, .garden.half { grid-column: span 6; }
    .garden.wide { grid-row: auto; display: block; }
    .garden.half img, .garden.wide img { aspect-ratio: 4 / 3; height: auto; }
    .footer-meta { text-align: left; }
}
@media (max-width: 640px) {
    body { font-size: 1rem; }
    .topbar a.topbar-email { display: none; }
    .brand img { width: 164px; }
    .year-chart { --lw: 0px; }
    .year-months, .year-row { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .year-corner { display: none; }
    .m-long { display: none; }
    .m-short { display: inline; }
    .year-job { grid-column: 1 / -1; padding: 10px 0 0; font-size: 0.9375rem; }
    .year-row { min-height: 0; padding-bottom: 6px; }
    .year-cell { height: 28px; }
    .year-cell i { height: 12px; }
    .garden, .garden.wide, .garden.half { grid-column: 1 / -1; }
    .faq-item summary { font-size: 1.1875rem; }
    .faq-answer { padding-right: 0; }
    .stake-note { position: relative; left: 0; bottom: 0; margin: -18px 0 0 12px; background: var(--lichen); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
