:root {
  --ink: #1c1915;
  --paper: #f3efe6;
  --leaf: #1e4636;
  --leaf-deep: #163028;
  --clay: #9a3412;
  --clay-ink: #7d2c14;
  --sand: #e7dcc8;
  --line: rgba(28, 25, 21, 0.16);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Segoe UI", Candara, "Trebuchet MS", sans-serif;
  --mono: Consolas, "Cascadia Mono", "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--clay-ink); }
a:hover { color: #5e210f; }

h1, h2, h3, p, li, dd, dt { overflow-wrap: break-word; }

h1, h2, h3 { text-wrap: balance; }

h1 {
  font-family: var(--serif);
  font-size: clamp(2.15rem, 4.6vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 1rem;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0 0 0.4rem;
}

p { margin: 0 0 1rem; }

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 80;
}

.skip:focus { top: 1rem; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.mast { padding: 1.1rem 0 0; }

.mast-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  align-items: flex-end;
  flex-wrap: wrap;
  padding-bottom: 0.9rem;
}

.brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand img { width: 44px; height: 44px; max-width: none; flex: none; }

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

.brand-line {
  display: block;
  font-size: 0.9375rem;
  color: #243028;
}

.mast-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  max-width: 38rem;
  justify-content: flex-end;
  text-align: right;
  font-size: 0.975rem;
}

.nav-details > summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

.nav-details > summary::-webkit-details-marker { display: none; }

.nav-details > summary::after { content: " +"; }

.nav-details[open] > summary::after { content: " \2013"; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  border-top: 1px solid var(--line);
  padding: 0.7rem 0 0.85rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding: 0.35rem 0;
  font-size: 0.975rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { border-bottom-color: var(--clay); }

@media (max-width: 400px) {
  .brand-name { font-size: 1.12rem; }
}

@media (max-width: 959px) {
  .mast-meta { justify-content: flex-start; text-align: left; max-width: none; }
  .nav-details:not([open]) .site-nav { display: none; }
  .nav-details[open] .site-nav { display: grid; gap: 0.15rem; padding-bottom: 0.8rem; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; }
}

@media (min-width: 960px) {
  .nav-details > summary { display: none; }
  .nav-details .site-nav { display: flex !important; }
}

.crumbs {
  font-size: 0.9375rem;
  margin: 0 0 0.6rem;
  color: #243028;
}

.page-head { padding: 1.6rem 0 0.4rem; }

.kicker {
  font-family: var(--mono);
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clay-ink);
  margin: 0 0 0.45rem;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  border-left: 3px solid var(--clay);
  padding-left: 0.9rem;
}

.measure, .prose p, .prose li { max-width: 70ch; }

.opening {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.75rem;
  align-items: start;
  padding: 1.5rem 0 2.4rem;
}

.opening-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  align-items: center;
}

.btn, .btn-line, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.6rem 1.05rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 0;
}

.btn { background: var(--clay); color: #fffaf6; }
.btn:hover { background: #7c280e; color: #fffaf6; }
.btn:focus-visible { outline-color: var(--ink); }

.btn-line {
  color: #f6f1e8;
  background: transparent;
  border-bottom: 2px solid #e4d3b8;
  padding-left: 0;
  padding-right: 0;
}

.opening-plan {
  background: linear-gradient(165deg, #24543f, var(--leaf-deep));
  color: #f6f1e8;
  padding: 1rem 1rem 1.1rem;
  box-shadow: 0 16px 36px rgba(22, 48, 40, 0.16);
}

.plan-key {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.plan-key li {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  color: #f6f1e8;
  font-size: 1rem;
  line-height: 1.4;
}

.plan-key span {
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  background: var(--clay);
  color: #fffaf6;
  font-weight: 700;
  font-size: 0.9375rem;
}

.glass-note {
  margin-top: 0.9rem;
  padding: 0.8rem 0.9rem;
  background: rgba(243, 239, 230, 0.14);
  border: 1px solid rgba(243, 239, 230, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.glass-note p { margin: 0; color: #f6f1e8; }

.band-sand { background: linear-gradient(180deg, #e7dcc8, #efe6d8); padding: 2.1rem 0 0.4rem; }
.band-leaf { background: linear-gradient(165deg, var(--leaf), var(--leaf-deep)); color: #f6f1e8; }
.band-leaf h2, .band-leaf p { color: #f6f1e8; }
.band-leaf a:not(.btn) { color: #f8d7c6; }

.seasons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
  padding: 0.4rem 0 2.1rem;
}

.season {
  margin: 0;
  padding: 0.55rem 0 0;
  border-top: 2px solid var(--clay);
}

.season strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem 2rem;
  padding: 2.1rem 0;
}

.index-list { padding-bottom: 0.5rem; }

.index-row {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr) auto;
  gap: 0.8rem 1rem;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding: 0.95rem 0;
  text-decoration: none;
  color: inherit;
}

.index-row:last-child { border-bottom: 1px solid var(--line); }

.index-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: #243028;
}

.index-row:hover .index-num { color: var(--clay); }

.excerpt {
  margin: 0;
  padding: 1.3rem 0 2rem;
  border-top: 1px solid var(--line);
}

.excerpt p {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.35;
  max-width: 28ch;
}

.close-band { padding: 2.4rem 0; }

.principles { list-style: none; margin: 0; padding: 0; }

.principle {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.6rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.principle span {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--clay);
}

.facts div {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: 0.4rem 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
}

.facts dt { font-weight: 700; }
.facts dd { margin: 0; }

.strata {
  margin: 1rem 0 1.4rem;
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }

.layers li { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: 0.55rem; align-items: center; }

.swatch { width: 1.4rem; height: 1.4rem; display: block; }
.swatch-mulch { background: #c4a574; }
.swatch-soil { background: #6d4c32; }
.swatch-fill { background: #b9b1a3; }
.swatch-hard { background: #5c6560; }

.service { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.for { font-size: 1.125rem; }

.quad {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.quad article {
  background: #fffdf8;
  border: 1px solid var(--line);
  padding: 0.95rem 1rem 0.4rem;
  box-shadow: 0 8px 20px rgba(28, 25, 21, 0.04);
}

.timeline { list-style: none; margin: 1rem 0 0; padding: 0; border-left: 2px solid #e4d3b8; }
.step { position: relative; padding: 0 0 1.4rem 1.2rem; }
.step::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  background: var(--clay);
  position: absolute;
  left: -0.42rem;
  top: 0.4rem;
}

.table-wrap { overflow-x: auto; max-width: 100%; }
.scroll-hint { display: none; font-size: 0.9375rem; }

.offer-table { border-collapse: collapse; width: 100%; min-width: 640px; }
.offer-table th, .offer-table td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0.75rem;
  font-size: 1rem;
  line-height: 1.45;
}
.offer-table th { font-family: var(--serif); font-size: 1.15rem; }
.offer-table caption {
  text-align: left;
  font-weight: 700;
  margin-bottom: 0.6rem;
  caption-side: top;
}

.checklist { margin: 0; padding-left: 1.2rem; }
.checklist li { margin: 0 0 0.45rem; }

.sun-section {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1rem;
}

.note-figure { background: var(--leaf); padding: 0.8rem; margin: 0; }

.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); padding: 0.2rem 0 0.7rem; }
.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.35;
  padding: 0.55rem 0;
}
.faq p { max-width: 70ch; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.5rem 2rem;
  align-items: start;
  padding-bottom: 2rem;
}

.address-block { font-size: 1.25rem; line-height: 1.45; font-style: normal; }

.form {
  background: #e9e0d2;
  padding: 1.15rem;
  display: grid;
  gap: 0.85rem;
}

.field { display: grid; gap: 0.3rem; }
.field label { font-weight: 700; }

.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #f7f3ec;
  border: 1px solid var(--ink);
  padding: 0.65rem 0.7rem;
  min-height: 48px;
}

.field textarea { min-height: 160px; resize: vertical; }

.check {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  font-size: 1rem;
  line-height: 1.45;
}

.check input { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; }

.hint { color: #243028; font-size: 0.975rem; margin: 0; }

.error-list {
  background: #f6e4dc;
  border-left: 4px solid var(--clay);
  padding: 0.75rem 1rem 0.75rem 1.5rem;
  margin: 0 0 1rem;
}

.success {
  background: #e3efe6;
  border-left: 4px solid var(--leaf);
  padding: 1rem 1.1rem;
}

.next-links { margin: 0.5rem 0 2.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.next-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem 1.2rem; }

.foot { background: #efe8dc; border-top: 1px solid var(--line); padding: 1.6rem 0 1rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr) minmax(0, 0.8fr); gap: 1.2rem 1.5rem; }
.foot address { font-style: normal; display: grid; gap: 0.35rem; justify-items: start; }
.foot address img { width: 44px; height: 44px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 0.3rem; }
.foot-label { font-weight: 700; margin: 0 0 0.4rem; }
.foot-note { display: block; max-width: 42ch; }
.fine { font-size: 0.975rem; color: #243028; margin-top: 1rem; }
.linkish {
  background: none;
  border: 0;
  padding: 0;
  margin-top: 0.6rem;
  color: var(--clay-ink);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  min-height: 44px;
}
.noscript-note { font-size: 0.975rem; }

.cookie-banner {
  position: fixed;
  z-index: 60;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px 16px;
  align-items: center;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #1c1915;
  color: #f6f1e8;
  border-top: 3px solid var(--clay);
  box-shadow: 0 -8px 24px rgba(28, 25, 21, 0.18);
}

.cookie-banner p { margin: 0; font-size: 0.975rem; line-height: 1.4; }
.cookie-banner a { color: #f6e4d8; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.cookie-banner button {
  font: inherit;
  font-size: 0.9375rem;
  min-height: 44px;
  max-width: 100%;
  padding: 0.4rem 0.75rem;
  background: transparent;
  color: #f6f1e8;
  border: 1px solid rgba(246, 241, 232, 0.5);
  cursor: pointer;
  white-space: normal;
}
.cookie-banner button[data-consent="all"],
.cookie-banner button[data-consent="save"] {
  background: #f3efe6;
  color: #1c1915;
  border-color: #f3efe6;
}
.cookie-banner :focus-visible { outline-color: #f3efe6; }
.cookie-prefs { gap: 8px; }
.cookie-prefs h2 { color: #f6f1e8; font-size: 1.25rem; margin: 0.2rem 0; }
.cookie-banner .check { color: #f6f1e8; }
.cookie-banner input { accent-color: #f3efe6; }

.missing { padding-bottom: 2.5rem; }

@media (max-width: 1040px) {
  .seasons { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .opening, .split, .contact-grid, .sun-section, .foot-grid, .strata { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .seasons { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .quad, .facts div, .index-row { grid-template-columns: 1fr; }
  .index-num { font-size: 1.3rem; }
  .scroll-hint { display: block; }
}

@media (min-width: 980px) {
  .cookie-banner { grid-template-columns: minmax(0, 1fr) minmax(0, 36rem); }
  .cookie-actions { justify-content: flex-end; }
  .cookie-prefs { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: no-preference) {
  .opening-copy { animation: rise 0.7s ease both; }
  .canopy {
    transform-box: fill-box;
    transform-origin: center;
    animation: sway 8s ease-in-out infinite;
  }
  .flow { stroke-dasharray: 5 9; animation: drift 14s linear infinite; }
  .sun-dot {
    transform-box: fill-box;
    transform-origin: center;
    animation: pulse 5s ease-in-out infinite;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes sway {
  0%, 100% { transform: rotate(-1.4deg); }
  50% { transform: rotate(1.4deg); }
}

@keyframes drift { to { stroke-dashoffset: -140; } }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@media print {
  .cookie-banner, .nav-details > summary, .noscript-note { display: none !important; }
  .site-nav { display: flex !important; }
  body { background: #fff; }
  a { text-decoration: underline; }
}

.cookie-banner { display: grid; }
.cookie-prefs { display: grid; }

[hidden] { display: none !important; }
