/* J. Ratto Landscaping — local concept stylesheet */
@property --shade { syntax: "<number>"; inherits: true; initial-value: 0.5; }

:root {
  --ivory: #F4F0E3;
  --vellum: #E7E1CD;
  --hemlock: #13281D;
  --hemlock-deep: #0E1F16;
  --ink: #18211B;
  --fern: #3F5639;
  --lichen: #C2B78C;
  --error: #8B2E1F;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Franklin Gothic Book", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4.6vw, 56px);
  --col-gap: clamp(16px, 2.4vw, 32px);
  --section: clamp(72px, 10vw, 136px);
  --bar-h: 60px;
  --max: 1320px;
}
@media (min-width: 1024px) { :root { --bar-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (min-width: 768px) { body { font-size: 1.125rem; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 500; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--hemlock); outline-offset: 3px; }
.on-dark :focus-visible, .hero :focus-visible, .site-header :focus-visible, .menu :focus-visible,
.construction .build-band :focus-visible, .gallery :focus-visible, .contact .contact-main :focus-visible,
.lightbox :focus-visible, .site-footer :focus-visible { outline-color: var(--lichen); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ivory); color: var(--hemlock); padding: 10px 14px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.grid { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--col-gap); }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }

/* ---------- Type ---------- */
h2 { font-family: var(--serif); font-optical-sizing: auto; font-weight: 600; font-size: clamp(min(2rem, 10vw), 4vw, 3.4rem); line-height: 1.12; overflow-wrap: break-word; hyphens: auto; letter-spacing: -0.01em; color: var(--hemlock); text-wrap: balance; }
h3 { overflow-wrap: break-word; font-family: var(--serif); font-optical-sizing: auto; font-weight: 600; font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.22; color: var(--hemlock); margin-bottom: 0.55em; text-wrap: balance; }
.list-title { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0.01em; margin: 0 0 0.75em; }
.lead { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.35; color: var(--hemlock); margin-bottom: 0.8em; }
.aside { font-size: 0.9375rem; color: var(--fern); }
figure { margin: 0; }
figcaption { margin-top: 10px; font-size: 0.9375rem; line-height: 1.45; color: var(--fern); }
.numeral { font-family: var(--serif); font-style: normal; font-weight: 400; font-size: clamp(3rem, 6vw, 5.25rem); line-height: 0.8; color: var(--fern); font-optical-sizing: auto; flex: none; }
.sec-head { display: flex; align-items: baseline; gap: 0.35em; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--hemlock); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--lichen); }
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 2px; font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.1; text-decoration: none; text-align: center; transition: background-color .2s, color .2s, border-color .2s; }
.btn-ivory { background: var(--ivory); color: var(--hemlock); }
.btn-ivory:hover { background: #fff; }
.btn-line { border-color: rgba(244, 240, 227, 0.72); color: var(--ivory); background: rgba(9, 22, 15, 0.18); }
.btn-line:hover { background: rgba(244, 240, 227, 0.14); border-color: var(--ivory); }
.btn-forest { background: var(--hemlock); color: var(--ivory); width: 100%; }
.btn-forest:hover:not(:disabled) { background: #1d3a2a; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--ivory); transition: background-color .3s, box-shadow .3s; }
.site-header::before { content: ""; position: absolute; inset: 0; background: var(--hemlock); opacity: 0; transition: opacity .3s; border-bottom: 1px solid rgba(194, 183, 140, 0.25); }
.site-header.is-solid::before { opacity: 0.98; }
.bar { position: relative; display: flex; align-items: center; gap: 12px; height: var(--bar-h); margin-top: env(safe-area-inset-top); width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.brand { display: inline-flex; align-items: baseline; gap: 0.45em; min-height: 44px; align-items: center; text-decoration: none; white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.site-header.is-solid .brand { opacity: 1; visibility: visible; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-trade { font-family: var(--sans); font-weight: 500; font-size: 0.875rem; letter-spacing: 0.01em; opacity: 0.92; }
.nav-inline { display: none; }
.bar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.bar-call { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(244, 240, 227, 0.6); border-radius: 2px; text-decoration: none; font-weight: 600; font-size: 0.9375rem; white-space: nowrap; background: rgba(9, 22, 15, 0.15); }
.bar-call:hover { border-color: var(--ivory); }
.call-long { display: none; }
.menu-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 12px; border: 0; background: transparent; color: inherit; font-weight: 600; font-size: 0.9375rem; }
.menu-lines { position: relative; width: 20px; height: 12px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.menu-lines::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid currentColor; transform: translateY(-50%); }
@media (min-width: 600px) { .call-long { display: inline; } .call-short { display: none; } }
@media (min-width: 1024px) {
  .nav-inline { display: flex; margin-left: auto; gap: clamp(14px, 1.8vw, 28px); }
  .nav-inline a { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45); display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.01em; background: linear-gradient(currentColor, currentColor) left calc(100% - 10px) / 0 1px no-repeat; transition: background-size .25s; }
  .nav-inline a:hover, .nav-inline a[aria-current="true"] { background-size: 100% 1px; }
  .bar-actions { margin-left: clamp(16px, 2vw, 32px); }
  .menu-toggle { display: none; }
}

/* ---------- Menu ---------- */
.menu { position: fixed; inset: 0; z-index: 60; }
.menu[hidden] { display: none; }
.menu-backdrop { position: absolute; inset: 0; background: rgba(6, 14, 10, 0.55); opacity: 0; transition: opacity .24s ease; }
.menu-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--hemlock); color: var(--ivory); overflow-y: auto; overscroll-behavior: contain; padding: env(safe-area-inset-top) max(var(--gutter), env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left)); opacity: 0; transform: translateX(18px); transition: opacity .24s ease, transform .24s ease; }
.menu.is-open .menu-backdrop { opacity: 1; }
.menu.is-open .menu-panel { opacity: 1; transform: none; }
.menu.is-closing { pointer-events: none; }
.menu-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--bar-h); }
.menu-title { font-family: var(--serif); font-size: 1.25rem; }
.menu-close { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 12px; margin-right: 0; border: 0; background: transparent; color: inherit; font-weight: 600; font-size: 0.9375rem; }
.x { position: relative; width: 16px; height: 16px; flex: none; }
.x::before, .x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; border-top: 1.5px solid currentColor; }
.x::before { transform: translate(-50%, -50%) rotate(45deg); }
.x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.menu nav { padding-top: clamp(8px, 4vh, 40px); }
.menu-steps, .menu-more { list-style: none; margin: 0; padding: 0; }
.menu-steps a { display: flex; align-items: baseline; gap: 14px; min-height: 56px; padding: 6px 0; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 6.4vw, 2.1rem); line-height: 1.15; border-bottom: 1px solid rgba(194, 183, 140, 0.22); }
.menu-steps .n { font-style: normal; font-size: 0.6em; color: var(--lichen); width: 1em; }
.menu-more { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.menu-more a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 1.0625rem; }
.menu-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 4px; font-size: 0.9375rem; }
.menu-foot a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; overflow-wrap: anywhere; }
.menu-phone { font-family: var(--serif); font-size: 1.75rem !important; }

/* ---------- Hero ---------- */
/* Desktop and tablet: immersive overlay. Phones (portrait, and short landscape): the photograph keeps a
   clear subject with only a compact wordmark on it; the statement, actions, caption and controls sit below. */
.hero { position: relative; min-height: max(100svh, 360px); display: grid; color: var(--ivory); background: var(--hemlock); overflow: hidden; isolation: isolate; --shade: var(--slide-shade, 0.62); transition: --shade 2.4s ease; }
.hero-slides { position: absolute; inset: 0; z-index: 0; background: var(--hemlock); }
.slide { position: absolute; inset: 0; opacity: 0; z-index: 0; }
.slide picture, .slide img { width: 100%; height: 100%; }
.slide img { object-fit: cover; object-position: var(--fx, 50%) var(--fy, 50%); transform-origin: 50% 60%; }
.slide.is-prev { opacity: 1; z-index: 1; }
.slide.is-active { opacity: 1; z-index: 2; }
.slide.is-entering { opacity: 0; z-index: 3; transition: opacity 2.4s ease; }
.slide.is-entering.is-visible { opacity: 1; }
.slide.is-failed { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .slide.is-active img, .slide.is-prev img, .slide.is-entering img { animation: drift 13s linear both; }
  .hero.is-paused .slide img { animation-play-state: paused; }
}
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.045); } }
.hero-shade { position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(8, 20, 13, 0.62) 0, rgba(8, 20, 13, 0.28) 90px, rgba(8, 20, 13, 0) 190px),
    radial-gradient(60% 55% at 100% 100%, rgba(8, 20, 13, calc(var(--shade) * 0.7)) 0, rgba(8, 20, 13, 0) 75%),
    radial-gradient(120% 70% at 12% 100%, rgba(8, 20, 13, calc(var(--shade) * 0.75)) 0, rgba(8, 20, 13, 0) 70%),
    linear-gradient(to top, rgba(8, 20, 13, var(--shade)) 0, rgba(8, 20, 13, calc(var(--shade) * 0.5)) 32%, rgba(8, 20, 13, 0) 64%); }
.hero-content { position: relative; z-index: 5; display: grid; grid-template-columns: minmax(0, 1fr); align-content: end; row-gap: 18px; min-height: inherit; padding-top: calc(var(--bar-h) + env(safe-area-inset-top) + 24px); padding-bottom: max(16px, env(safe-area-inset-bottom)); }
.wordmark { font-family: var(--serif); font-optical-sizing: auto; font-weight: 600; line-height: 0.92; letter-spacing: -0.02em; font-size: clamp(5rem, 15vw, 9rem); text-shadow: 0 2px 30px rgba(0, 0, 0, 0.22); margin: 0; }
.wm-name { display: block; white-space: nowrap; }
.wm-trade { display: block; font-family: var(--sans); font-weight: 500; font-size: 0.24em; letter-spacing: 0.005em; line-height: 1.1; margin-top: 0.22em; padding-left: 0.06em; }
.hero-side { max-width: 32rem; }
.hero-lede { font-size: 1.125rem; line-height: 1.5; margin: 0 0 16px; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; border-top: 1px solid rgba(194, 183, 140, 0.5); padding-top: 8px; }
.hero-caption { flex: 1 1 auto; margin: 0; font-size: 0.9375rem; line-height: 1.4; color: rgba(244, 240, 227, 0.88); min-width: 0; }
.hero-controls { display: flex; align-items: center; gap: 2px; flex: none; }
.hero-controls button { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--ivory); }
.hc-dot span { font-family: var(--serif); font-style: normal; font-size: 1.125rem; line-height: 1; padding-bottom: 4px; border-bottom: 1px solid transparent; opacity: 0.72; }
.hc-dot[aria-current="true"] span { opacity: 1; border-bottom-color: var(--lichen); }
.hc-dot:hover span { opacity: 1; }
.i-pause { width: 12px; height: 13px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.i-play { display: none; width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid currentColor; margin-left: 3px; }
.hc-pause[aria-pressed="true"] .i-pause { display: none; }
.hc-pause[aria-pressed="true"] .i-play { display: block; }
.hero.is-static .hc-pause { display: none; }

@media (min-width: 900px) {
  .hero-content { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "wm side" "foot foot"; align-items: end; column-gap: var(--col-gap); row-gap: clamp(20px, 4vh, 44px); padding-bottom: max(18px, env(safe-area-inset-bottom)); }
  .wordmark { grid-area: wm; font-size: min(13.5vw, 25svh, 12.5rem); }
  .hero-side { grid-area: side; justify-self: end; padding-bottom: 0.4rem; }
  .hero-lede { font-size: 1.1875rem; }
  .hero-foot { grid-area: foot; }
}

/* Phones (portrait, and short landscape): compact logo top-left in the header, Menu opposite.
   The photograph carries no text; the statement, actions, caption and controls sit below it. */
@media (max-width: 599px), (max-height: 520px) and (orientation: landscape) {
  .brand { opacity: 1; visibility: visible; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; line-height: 1; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4); }
  .brand-name { font-size: 1.3rem; line-height: 1; }
  .brand-trade { display: block; font-size: 0.78rem; line-height: 1.1; padding-left: 0.05em; }
  .bar-call { width: 44px; padding: 0; justify-content: center; }
  .call-short, .call-long { display: none; }
  .menu-toggle { padding-right: 4px; margin-right: -4px; }
  .site-header .menu-word { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4); }

  .hero { min-height: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: var(--ph) auto auto; }
  .hero-slides, .hero-shade { position: relative; inset: auto; grid-area: 1 / 1; height: var(--ph); }
  .hero-shade { background: linear-gradient(to bottom, rgba(8, 20, 13, 0.62) 0, rgba(8, 20, 13, 0.3) 64px, rgba(8, 20, 13, 0) 128px); }
  .hero-content { display: contents; }
  .wordmark { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .hero-side { grid-row: 2; max-width: none; padding: 22px max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left)); }
  .hero-lede { font-size: 1.125rem; text-shadow: none; max-width: 34rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-foot { grid-row: 3; flex-wrap: wrap; margin: 22px max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left)); padding: 8px 0 max(14px, env(safe-area-inset-bottom)); }
  .hero-controls { margin-left: -10px; }
  .hero-caption { flex: 1 1 100%; font-size: 0.875rem; }
}
@media (max-width: 599px) {
  .hero { --ph: min(max(340px, 62svh), 132vw); }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hero { --ph: max(260px, 78svh); }
  .hero-side { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: center; }
  .hero-lede { margin: 0; font-size: 1rem; }
  .hero-actions .btn { flex: 0 0 auto; }
  .hero-caption { flex: 1 1 auto; }
  .hero-controls { margin-left: 0; }
}

/* ---------- Intro ---------- */
.intro { padding-block: var(--section) calc(var(--section) * 0.75); }
.intro-statement { font-weight: 500; font-size: clamp(1.9rem, 3.9vw, 3.3rem); line-height: 1.16; margin-bottom: 28px; max-width: 18ch; }
.intro-body { max-width: 34rem; }
.intro-body p:last-child { margin-bottom: 0; }
.steps { list-style: none; margin: clamp(48px, 7vw, 96px) 0 0; padding: 0; display: grid; gap: 0 var(--col-gap); grid-template-columns: minmax(0, 1fr); }
.steps a { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; padding: 18px 0 22px; border-top: 1px solid rgba(19, 40, 29, 0.28); text-decoration: none; height: 100%; }
.steps .n { grid-row: 1 / span 2; font-family: var(--serif); font-style: normal; font-size: 2.25rem; line-height: 0.95; color: var(--fern); }
.step-name { font-weight: 600; font-size: 1.0625rem; color: var(--hemlock); }
.step-text { font-size: 1rem; line-height: 1.5; color: var(--fern); margin-top: 4px; }
.steps a:hover .step-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--lichen); }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .intro-statement { grid-column: 1 / span 7; margin: 0; }
  .intro-body { grid-column: 9 / span 4; padding-top: 0.5rem; }
  .steps { grid-column: 1 / -1; }
}

/* ---------- Design ---------- */
.design { padding-block: calc(var(--section) * 0.4) var(--section); }
.design-head { margin-bottom: 24px; }
.design-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 28%; }
.design-copy { margin-top: 28px; max-width: 36rem; }
@media (min-width: 600px) and (max-width: 899px) { .design-photo img { aspect-ratio: 1 / 1; object-position: 50% 30%; } }
@media (min-width: 900px) {
  .design .grid { grid-template-rows: auto 1fr; }
  .design-photo { grid-column: 1 / span 5; grid-row: 1 / span 2; }
  .design-head { grid-column: 7 / span 6; grid-row: 1; margin-bottom: 32px; }
  .design-copy { grid-column: 7 / span 5; grid-row: 2; margin-top: 0; }
}

/* ---------- Construction ---------- */
.build-band { background: var(--hemlock); color: var(--ivory); padding-block: var(--section); }
.build-band h2 { color: var(--ivory); }
.build-band .numeral { color: var(--lichen); }
.build-intro { margin: 24px 0 0; max-width: 32rem; color: rgba(244, 240, 227, 0.9); }
.catalogue { list-style: none; margin: clamp(36px, 5vw, 64px) 0 0; padding: 0; font-family: var(--serif); font-optical-sizing: auto; font-weight: 500; font-size: clamp(1.35rem, 2.8vw, 2.45rem); line-height: 1.42; letter-spacing: 0; text-wrap: pretty; }
.catalogue li { display: inline; }
.catalogue li:not(:last-child)::after { content: ""; display: inline-block; width: 0.36em; height: 0.36em; margin: 0 0.42em 0 0.5em; vertical-align: 0.14em; background: var(--lichen); border-radius: 0 100% 0 100%; transform: rotate(8deg); }
@media (min-width: 600px) { .catalogue li { white-space: nowrap; } }
.footnote { margin: clamp(28px, 4vw, 44px) 0 0; padding-top: 16px; border-top: 1px solid rgba(194, 183, 140, 0.4); font-size: 0.9375rem; color: rgba(244, 240, 227, 0.85); max-width: 46rem; }
@media (min-width: 900px) {
  .build-head { grid-column: 1 / span 6; align-self: end; }
  .build-intro { grid-column: 8 / span 5; align-self: end; margin: 0; }
  .catalogue { grid-column: 1 / -1; }
  .footnote { grid-column: 1 / span 8; }
}

.spreads { padding-block: var(--section); }
.spread + .spread { margin-top: clamp(64px, 9vw, 128px); }
.sp-photo img { width: 100%; }
.sp-copy p:last-child, .pair-item p:last-child { margin-bottom: 0; }
/* phones and tablets: heading, then its photograph, then the copy */
@media (max-width: 899px) {
  .spread-stone, .spread-living { display: flex; flex-direction: column; }
  .spread .sp-copy { display: contents; }
  .spread h3 { order: 1; }
  .spread .sp-photo { order: 2; margin-bottom: 20px; }
  .spread .sp-copy p { order: 3; max-width: 38rem; }
  .spread-pair { row-gap: clamp(56px, 9vw, 80px); }
  .pair-item { display: flex; flex-direction: column; }
  .pair-item h3 { order: 1; }
  .pair-item .sp-photo { order: 2; margin-bottom: 20px; }
  .pair-item p { order: 3; max-width: 38rem; }
}
@media (min-width: 900px) {
  /* photo + vellum panel diptych: the panel spans the photo's full height and closes the gutter */
  .spread-stone, .spread-living { align-items: stretch; }
  .spread-stone .sp-photo, .spread-living .sp-photo { position: relative; align-self: start; }
  .spread-stone .sp-photo figcaption, .spread-living .sp-photo figcaption { position: absolute; left: 0; right: 0; top: 100%; }
  .spread-stone .sp-copy, .spread-living .sp-copy { background: var(--vellum); padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; }
  .spread-stone .sp-photo { grid-column: 1 / span 7; }
  .spread-stone .sp-copy { grid-column: 8 / span 5; margin-left: calc(-1 * var(--col-gap)); justify-content: space-between; gap: 28px; }
  .spread-stone .sp-copy .sp-foot { padding-top: 18px; border-top: 1px solid rgba(19, 40, 29, 0.22); margin-bottom: 0; }
  .spread-living .sp-copy { grid-column: 1 / span 5; grid-row: 1; margin-right: calc(-1 * var(--col-gap)); justify-content: center; }
  .spread-living .sp-photo { grid-column: 6 / span 7; grid-row: 1; }
  .sp-copy h3 { margin-top: 0; }
  .sp-copy > p { max-width: 30rem; }
  .spread-pair .pair-item:first-child { grid-column: 1 / span 6; }
  .spread-pair .pair-item:last-child { grid-column: 7 / span 6; }
  .pair-item .sp-photo { margin-bottom: 26px; }
  .pair-item p { max-width: 34rem; }
  .spread-stone .sp-copy h3 { margin-top: -0.12em; }
  .spread + .spread { margin-top: clamp(96px, 10vw, 150px); }
}
.pair-item .sp-photo img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Planting ---------- */
.planting { padding-block: 0 var(--section); }
.planting .grid::before { content: ""; grid-column: 1 / -1; height: 1px; background: rgba(19, 40, 29, 0.22); margin-bottom: var(--section); }
@media (max-width: 899px) {
  .planting .grid { display: flex; flex-direction: column; }
  .plant-copy { display: contents; }
  .plant-copy h2 { order: 1; margin-bottom: 22px; }
  .plant-photo { order: 2; margin-bottom: 24px; }
  .plant-copy p { order: 3; max-width: 38rem; }
}
@media (min-width: 900px) {
  .plant-copy { grid-column: 1 / span 5; padding-right: clamp(0px, 2vw, 32px); }
  .plant-copy h2 { margin-bottom: 28px; margin-top: -0.08em; }
  .plant-photo { grid-column: 6 / span 7; }
}

/* ---------- Maintenance ---------- */
.maintenance { background: var(--vellum); padding-block: var(--section); }
.maint-intro { margin: 22px 0 28px; max-width: 34rem; }
.maint-photo img { width: 100%; }
.maint-list { margin-top: 32px; }
.care { list-style: none; margin: 0 0 22px; padding: 0; columns: 2; column-gap: var(--col-gap); }
.care li { break-inside: avoid; padding: 10px 0; border-top: 1px solid rgba(19, 40, 29, 0.2); font-size: 1rem; line-height: 1.35; }
@media (min-width: 900px) {
  .maint-head { grid-column: 1 / span 7; align-self: end; }
  .maint-intro { grid-column: 8 / span 5; align-self: end; margin: 0; }
  .maint-photo { grid-column: 1 / span 7; margin-top: clamp(40px, 5vw, 64px); }
  .maint-list { grid-column: 8 / span 5; margin-top: clamp(40px, 5vw, 64px); }
}

/* ---------- Gallery ---------- */
.gallery { background: var(--hemlock); color: var(--ivory); padding-block: var(--section); --rh: 150px; }
.gallery h2 { color: var(--ivory); }
.gal-head p { color: rgba(244, 240, 227, 0.86); max-width: 30rem; margin: 18px 0 0; }
@media (min-width: 900px) { .gal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; } .gal-head p { margin: 0; } }
.filters { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: clamp(28px, 4vw, 44px) 0 0; }
.filters button { min-height: 44px; padding: 0 14px; border: 1px solid rgba(194, 183, 140, 0.45); border-radius: 2px; background: transparent; color: var(--ivory); font-size: 0.9375rem; font-weight: 500; }
.filters button:hover { border-color: var(--lichen); }
.filters button[aria-pressed="true"] { background: var(--ivory); color: var(--hemlock); border-color: var(--ivory); }
.filter-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.justified { --gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--gap); }
.justified.is-js::after { display: none; }
.justified.is-js .g-item { flex: none; }
.justified.is-js .g-item button, .justified.is-js .g-item img { height: 100%; }
.justified.is-js .g-item img { aspect-ratio: auto; }
.justified::after { content: ""; flex-grow: 100000; flex-basis: 0; }
.g-item { flex-grow: calc(var(--r) * 100); flex-basis: calc(var(--r) * var(--rh)); min-width: 0; }
.g-item[hidden] { display: none; }
.g-item button { display: block; width: 100%; padding: 0; border: 0; background: #0b1a12; cursor: zoom-in; }
.g-item img { width: 100%; height: auto; aspect-ratio: var(--r); object-fit: cover; transition: opacity .25s; }
.g-item button:hover img { opacity: 0.88; }
@media (min-width: 600px) { .gallery { --rh: 220px; } .justified { --gap: 10px; } }
@media (min-width: 1100px) { .gallery { --rh: 280px; } .justified { --gap: 12px; } }

/* ---------- Company ---------- */
.company { padding-block: var(--section); }
.co-intro > p:first-of-type { margin: 24px 0 36px; max-width: 34rem; }
.plain { list-style: none; margin: 0 0 22px; padding: 0; }
.plain li { padding: 9px 0; border-top: 1px solid rgba(19, 40, 29, 0.2); font-size: 1rem; line-height: 1.45; }
.co-awards { margin-top: 48px; }
.awards { margin: 0; }
.awards div { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid rgba(19, 40, 29, 0.2); }
.awards dt { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; line-height: 1.2; color: var(--fern); }
.awards dd { margin: 0; font-size: 1rem; line-height: 1.45; }
abbr[title] { text-decoration: none; }
@media (min-width: 900px) {
  .co-intro { grid-column: 1 / span 5; }
  .co-awards { grid-column: 7 / span 6; margin-top: 0.6rem; }
}

/* ---------- Contact ---------- */
.contact { background: var(--hemlock); color: var(--ivory); padding-block: var(--section); }
.contact h2 { color: var(--ivory); }
.big-phone { display: inline-block; padding: 6px 0; margin: 8px 0 14px; font-family: var(--serif); font-optical-sizing: auto; font-weight: 600; font-size: min(clamp(2.3rem, 9vw, 4.5rem), 11.2vw); line-height: 1; letter-spacing: -0.01em; white-space: nowrap; text-decoration: none; }
.big-phone:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; text-decoration-color: var(--lichen); }
.contact-main > p { max-width: 32rem; color: rgba(244, 240, 227, 0.9); }
.details { margin: 28px 0 36px; }
.details div { padding: 12px 0; border-top: 1px solid rgba(194, 183, 140, 0.3); display: grid; gap: 2px; }
.details dt { font-size: 0.875rem; color: var(--lichen); }
.details dd { margin: 0; overflow-wrap: anywhere; }
.details dd a { text-decoration-color: rgba(194, 183, 140, 0.7); text-underline-offset: 4px; display: inline-block; padding: 6px 0; }
.details .note { display: block; font-size: 0.875rem; color: rgba(244, 240, 227, 0.78); }
.contact .list-title { color: var(--ivory); }
.contact-team .list-title { color: var(--ivory); }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--col-gap); }
.team li { padding: 8px 0; border-top: 1px solid rgba(194, 183, 140, 0.22); font-size: 0.9375rem; color: rgba(244, 240, 227, 0.8); }
.team span { display: block; font-weight: 600; color: var(--ivory); }
@media (min-width: 600px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } .details div { grid-template-columns: 11rem minmax(0, 1fr); gap: 16px; align-items: baseline; } }
.request { margin-top: 56px; background: var(--ivory); color: var(--ink); padding: clamp(22px, 3vw, 40px); border-radius: 2px; align-self: start; }
.demo-flag { margin: 0 0 18px; padding-bottom: 12px; text-align: center; font-weight: 600; font-size: 0.875rem; letter-spacing: 0.02em; color: var(--fern); border-bottom: 1px solid rgba(19, 40, 29, 0.2); }
.request-title { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.9375rem; font-weight: 600; margin-bottom: 6px; color: var(--hemlock); }
.field input, .field select { display: block; width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid rgba(19, 40, 29, 0.45); border-radius: 2px; background: #FBF9F2; font-size: 1rem; color: var(--ink); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--hemlock) 50%), linear-gradient(135deg, var(--hemlock) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--hemlock); outline-offset: 2px; }
.field input[aria-invalid="true"] { border-color: var(--error); }
.err { margin: 6px 0 0; font-size: 0.875rem; color: var(--error); }
.demo-form .btn { margin-top: 6px; }
.confirm { margin-top: 18px; padding: 14px 16px; background: var(--vellum); border-left: 3px solid var(--hemlock); font-size: 0.9375rem; line-height: 1.5; }
.confirm:focus { outline: none; }
.contact-team { margin-top: 48px; }
@media (min-width: 900px) {
  .contact .grid { grid-template-rows: auto 1fr; }
  .contact-main { grid-column: 1 / span 6; grid-row: 1 / span 2; }
  .request { grid-column: 8 / span 5; grid-row: 1; margin-top: 0.4rem; }
  .contact-team { grid-column: 8 / span 5; grid-row: 2; margin-top: 48px; }
  .contact-team .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--hemlock-deep); color: rgba(244, 240, 227, 0.82); padding: 32px 0 max(32px, env(safe-area-inset-bottom)); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 32px; }
.foot-mark { margin: 0; font-family: var(--serif); font-size: 1.25rem; color: var(--ivory); }
.foot-note { margin: 0; font-size: 0.875rem; max-width: 44rem; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 16, 11, 0.97); color: var(--ivory); overflow: hidden; }
.lightbox[open] { display: block; }
.lightbox.vv { inset: auto; left: var(--vv-left, 0px); top: var(--vv-top, 0px); width: var(--vv-w, 100%); height: var(--vv-h, 100%); }
.lightbox::backdrop { background: rgba(8, 16, 11, 0.9); }
.lb-frame { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); padding: max(8px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); }
.lb-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 52px; }
.lb-count { margin: 0; font-size: 0.875rem; color: rgba(244, 240, 227, 0.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-close { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 14px; border: 1px solid rgba(244, 240, 227, 0.55); border-radius: 2px; background: rgba(8, 16, 11, 0.6); color: var(--ivory); font-weight: 600; font-size: 0.9375rem; }
.lb-figure { min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); justify-items: center; align-items: center; padding-top: 4px; }
.lb-figure img { min-height: 0; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb-figure figcaption { margin: 0; padding: 10px 6px 0; text-align: center; font-size: 0.9375rem; color: rgba(244, 240, 227, 0.92); max-width: 46rem; }
.lb-nav { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding-top: 10px; }
.lb-nav button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; min-width: 0; padding: 0 10px; border: 1px solid rgba(244, 240, 227, 0.35); border-radius: 2px; background: transparent; color: var(--ivory); font-weight: 500; font-size: 0.9375rem; }
.lb-nav button:hover, .lb-close:hover { border-color: var(--ivory); }
.chev { width: 9px; height: 9px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; flex: none; }
.chev-l { transform: rotate(45deg); }
.chev-r { transform: rotate(-135deg); }
@media (max-width: 359px) { .lb-nav-word { display: none; } }
@media (max-height: 520px) and (orientation: landscape) {
  .lb-frame { grid-template-rows: minmax(0, 1fr); grid-template-columns: 64px minmax(0, 1fr) 64px; column-gap: 8px; }
  .lb-top { position: absolute; top: max(6px, env(safe-area-inset-top)); right: max(10px, env(safe-area-inset-right)); left: max(10px, env(safe-area-inset-left)); z-index: 2; min-height: 44px; pointer-events: none; }
  .lb-top > * { pointer-events: auto; }
  .lb-count { align-self: start; padding-top: 12px; }
  .lb-figure { grid-column: 2; grid-row: 1; padding-top: 52px; }
  .lb-nav { display: contents; }
  .lb-prev { grid-column: 1; grid-row: 1; align-self: center; }
  .lb-next { grid-column: 3; grid-row: 1; align-self: center; }
  .lb-nav-word { display: none; }
}

/* ---------- Without JavaScript ---------- */
.no-js .site-header { position: absolute; }
.no-js .site-header .brand { opacity: 1; visibility: visible; }
.no-js .menu-toggle, .no-js .hero-controls { display: none; }
.no-js .hero-foot { justify-content: flex-start; }

/* ---------- Locked page ---------- */
body.is-locked { position: fixed; left: 0; right: 0; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .hero { transition: none; }
}

/* Very narrow phones or enlarged text: icon-only menu button keeps logo, call and menu inside the bar */
@media (max-width: 359px) { .menu-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .menu-toggle { padding: 0 8px; } }
.bar { min-width: 0; }
.brand { min-width: 0; flex: 0 1 auto; }
.bar-actions { flex: none; }
.site-header.is-tight .menu-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.site-header.is-tight .menu-toggle { padding: 0 8px; }
