:root {
  color-scheme: light;
  --ink: #1b2d24;
  --forest: #1c352b;
  --forest-deep: #152a22;
  --paper: #f7f6ef;
  --white: #fcfbf6;
  --sage: #e8ecde;
  --lime: #dce7b9;
  --muted: #4f5e52;
  --rule: #cdd4c5;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { color: inherit; font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.07; letter-spacing: -.05em; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
section[id] { scroll-margin-top: 1.2rem; }
.wrap { width: min(100% - 7rem, 1280px); margin-inline: auto; }
.eyebrow { color: var(--muted); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 5; padding: .6rem 1rem; background: var(--white); clip-path: inset(50%); }
.skip-link:focus { clip-path: none; }

.header { background: var(--white); position: relative; z-index: 2; }
.header-inner { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: block; flex: none; width: 104px; }
.brand img, .footer-brand img { width: 100%; }
.navigation { display: flex; align-items: center; gap: clamp(1.25rem, 3.4vw, 3.25rem); }
.navigation a, .footer a { text-decoration: none; font-weight: 650; font-size: .9rem; }
.navigation a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .24em; }
.navigation .header-contact { display: inline-flex; gap: 1.15rem; align-items: center; padding: .63rem 1.06rem; background: var(--forest); color: var(--white); border-radius: 4px; }
.header-contact span { font-size: 1.03rem; }
.menu-toggle { background: transparent; border: 1px solid var(--rule); border-radius: 4px; padding: .5rem .95rem; font-size: .9rem; font-weight: 700; cursor: pointer; }

.hero { position: relative; isolation: isolate; background: var(--forest); color: var(--white); }
.hero-inner { display: flex; align-items: center; position: relative; z-index: 1; min-height: clamp(520px, 44vw, 665px); pointer-events: none; }
.hero-copy { width: 45%; padding-block: 3.75rem; pointer-events: auto; }
.hero-location { color: var(--lime); margin-bottom: 1.25rem; }
.hero h1 { font-size: clamp(3.45rem, 6.05vw, 6.1rem); line-height: .96; letter-spacing: -.06em; }
.hero h1 em { font-weight: 400; color: var(--lime); }
.hero-copy > p:not(.eyebrow) { color: #ecf0e7; max-width: 24rem; margin-top: 1.5rem; font-size: clamp(1rem, 1.45vw, 1.15rem); line-height: 1.55; }
.hero-photo { position: absolute; inset: 0 0 0 44.5%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 53% 52%; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.65rem; margin-top: 1.9rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 1.25rem; padding: .65rem 1.2rem; border-radius: 4px; font-size: .92rem; font-weight: 700; text-decoration: none; }
.button-light { color: var(--forest-deep); background: var(--lime); }
.button-light:hover { background: #edf4d8; }
.button-light:focus-visible { outline-color: var(--lime); }
.text-link { display: inline-flex; align-items: center; gap: .55rem; font-size: .93rem; font-weight: 700; text-underline-offset: .32em; }
.text-link:hover { text-decoration-thickness: 2px; }

.section { padding-block: clamp(4rem, 7vw, 6.75rem); }
.section-intro { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .8fr); align-items: end; gap: clamp(1rem, 4vw, 4rem); margin-bottom: clamp(1.7rem, 3.5vw, 2.8rem); }
.section-intro .eyebrow, .about-copy .eyebrow { margin-bottom: .6rem; }
.section-intro > p { justify-self: end; max-width: 24rem; color: var(--muted); padding-bottom: .2rem; }
.work-grid { display: grid; grid-template-columns: 1.58fr 1fr 1fr; grid-template-rows: repeat(2, var(--work-row)); gap: 1.15rem; }
.work-item { display: flex; flex-direction: column; align-items: stretch; min-width: 0; min-height: 0; }
.work-feature, .work-hedge { grid-row: span 2; }
.photo-link { position: relative; display: block; flex: 1; min-height: 0; overflow: hidden; border-radius: 6px; background: var(--sage); }
.photo-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 220ms ease; }
.photo-link:hover img { transform: scale(1.035); }
.work-feature img { object-position: 52% 50%; }
.work-hedge img { object-position: 53% 40%; }
.work-greenhouse img { object-position: 50% 38%; }
.work-snowdrops img { object-position: 50% 57%; }
.photo-open { position: absolute; right: .6rem; bottom: .6rem; display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: 50%; background: var(--white); color: var(--forest); font-size: 1rem; }
.work-grid figcaption { color: var(--muted); font-size: var(--work-caption-size); font-weight: 650; margin-top: .4rem; }

.work { --work-row: clamp(180px, 16vw, 245px); --work-caption-size: .91rem; }

.facebook-updates { position: relative; margin-top: clamp(2.4rem, 5vw, 4rem); border-top: 1px solid var(--rule); padding-top: 1.4rem; }
.facebook-intro { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; }
.facebook-intro h3 { font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.2; letter-spacing: -.035em; }
.curator-source { position: absolute; inset-inline: 0; height: 1px; overflow: hidden; clip-path: inset(50%); }
.post-carousel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: clamp(.35rem, 1.25vw, 1rem); width: min(100%, 41rem); margin: 1.2rem auto 0; --post-height: calc(var(--work-row) - var(--work-caption-size) * 1.6 - .4rem); }
.carousel-arrow { position: relative; z-index: 4; display: grid; place-items: center; width: clamp(2rem, 4.1vw, 2.65rem); aspect-ratio: 1; margin-top: calc(var(--post-height) / 2); transform: translateY(-50%); padding: 0; border: 1px solid var(--rule); border-radius: 50%; background: var(--white); font-size: 1.75rem; line-height: 1; cursor: pointer; }
.carousel-arrow:hover { background: var(--sage); }
.carousel-arrow[aria-disabled="true"] { opacity: .45; cursor: default; }
.post-track { position: relative; height: calc(var(--post-height) + 3rem); min-width: 0; padding: 0; margin: 0; list-style: none; }
.post-slide { position: absolute; inset-block-start: 0; --post-scale: 1; width: clamp(min(4rem, 35%), calc(var(--post-height) * var(--image-ratio, .85)), min(42%, 22rem)); left: calc(50% + var(--post-offset, 0px)); transform: translateX(-50%) scale(var(--post-scale)); transition: left 240ms ease, transform 240ms ease; }
.post-slide[data-position="outer-left"] { --post-scale: .8; z-index: 1; }
.post-slide[data-position^="near-"] { --post-scale: .9; z-index: 2; }
.post-slide[data-position="featured"] { --post-offset: 0px; z-index: 3; }
.post-link { display: block; text-decoration: none; }
.post-link:hover .post-caption { text-decoration: underline; text-underline-offset: .2em; }
.post-media { display: grid; place-items: center; width: 100%; height: var(--post-height); overflow: hidden; border: 1px solid var(--rule); border-radius: 6px; background: var(--sage) url("assets/logo-dark.svg") center / min(40%, 8rem) auto no-repeat; transition: filter 240ms ease; }
.post-media:has(img:not([hidden])) { background-image: none; }
.post-media img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.post-slide[data-position="outer-left"] .post-media { filter: grayscale(1); }
.post-slide[data-position^="near-"] .post-media { filter: grayscale(.55); }
.post-slide[data-position="featured"] .post-media { box-shadow: 0 6px 18px #152a2220; }
.post-caption { position: relative; left: 50%; width: min(65vw, 24rem); transform: translateX(-50%); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: .4rem; color: var(--muted); text-align: center; font-size: var(--work-caption-size); font-weight: 650; line-height: 1.35; }
.post-slide:not([data-position="featured"]) .post-caption { position: relative; left: 50%; width: min(65vw, 24rem); transform: translateX(-50%); display: none; }
.post-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.work-credit { margin-top: .8rem; color: var(--muted); font-size: .81rem; }

.services { background: var(--sage); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.service { border-top: 1px solid #a5b19d; padding-top: 1.25rem; }
.service h3 { font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.2; letter-spacing: -.035em; }
.service ul { margin: .95rem 0 0; padding-inline-start: 1.1rem; color: var(--muted); }
.service li + li { margin-top: .26rem; }
.service li::marker { color: #4d6954; }

.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 8vw, 8rem); }
.avatar-panel { position: relative; isolation: isolate; min-height: 370px; height: clamp(370px, 38vw, 520px); overflow: hidden; border-radius: 7px; background: radial-gradient(ellipse at 48% 55%, #edf0df, #dce5d2 82%); }
.avatar-panel::before { content: ""; position: absolute; inset: 8% 14% 13%; border: 1px solid #b8c5af; border-radius: 50%; z-index: -1; }
.avatar { position: absolute; width: auto; max-width: 72%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 10px 10px #22322925); }
.avatar-front { left: 50%; bottom: 7%; height: 86%; transform: translateX(-50%) rotate(-4deg); }
.about-copy h2 { margin-bottom: 1.3rem; }
.about-copy > p:not(.eyebrow) { max-width: 29rem; color: var(--muted); }
.about-copy > p + p { margin-top: .8rem; }
.about-copy .text-link { margin-top: 1.35rem; }

.contact { padding-block: clamp(3.6rem, 6vw, 5.5rem); background: var(--forest); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 2rem 4rem; }
.contact p { color: #e2ebdf; margin-top: .8rem; }
.contact-details { font-style: normal; min-width: 0; }
.contact-details a { display: grid; grid-template-columns: 4rem minmax(0, 1fr) auto; align-items: center; gap: .7rem; padding-block: .85rem; border-top: 1px solid #779181; text-decoration: none; }
.contact-details a:last-child { border-bottom: 1px solid #779181; }
.contact-details a:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.contact-details a > span { color: var(--lime); font-size: .87rem; }
.contact-details strong { overflow-wrap: anywhere; font-size: clamp(.94rem, 1.9vw, 1.32rem); font-weight: 650; }

.footer { background: var(--forest-deep); color: var(--white); }
.footer-inner { min-height: 115px; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.3rem; }
.footer-brand { display: block; width: 104px; flex: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.back-to-top { white-space: nowrap; }
.back-to-top span { margin-inline-start: .2rem; }

#photo-viewer { inset: 0; padding: 0; margin: auto; width: min(94vw, 1080px); max-width: none; max-height: 92vh; border: 0; border-radius: 7px; color: var(--white); background: #152a22; }
#photo-viewer::backdrop { background: #101c17dd; }
.photo-viewer-inner { position: relative; }
.viewer-image { width: 100%; height: clamp(190px, 73vh, 820px); object-fit: contain; }
.viewer-close, .viewer-toolbar button { width: 2.7rem; height: 2.7rem; border: 1px solid #a8b9ac; border-radius: 50%; background: var(--forest-deep); font-size: 1.3rem; cursor: pointer; }
.viewer-close:hover, .viewer-toolbar button:hover { background: #3c584a; }
.viewer-close { position: absolute; top: .65rem; right: .65rem; }
.viewer-toolbar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .6rem; padding: .6rem; text-align: center; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 4rem); }
  .hero-copy { width: 44%; }
  .hero-photo { left: 47%; }
}
@media (max-width: 850px) {
  .wrap { width: calc(100% - 3rem); }
  .hero-copy { width: 47%; }
  .hero-photo { left: 50%; }
  .hero h1 { font-size: clamp(2.9rem, 7.3vw, 4rem); }
  .work { --work-row: clamp(200px, 36vw, 300px); }
  .work-grid { grid-template-columns: 1.35fr 1fr; }
  .work-feature, .work-hedge { grid-row: auto; }
  .work-hedge img { object-position: 50% 33%; }
  .contact-grid { gap: 1.5rem; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2.4rem); }
  .header-inner { min-height: 70px; flex-wrap: wrap; gap: 0; }
  .brand { width: 87px; }
  .navigation { flex-basis: 100%; display: grid; padding-block: .1rem 1rem; gap: 0; }
  .navigation > a { padding-block: .55rem; }
  .navigation .header-contact { justify-self: start; margin-top: .35rem; }
  .hero-inner { min-height: 0; }
  .hero-copy { width: 100%; padding-block: 2.8rem 2.6rem; }
  .hero h1 { font-size: clamp(3.1rem, 11vw, 4.7rem); }
  .hero-photo { position: relative; inset: auto; height: clamp(235px, 64vw, 390px); }
  .hero-photo img { object-position: 50% 53%; }
  .section-intro { grid-template-columns: 1fr; gap: .7rem; }
  .section-intro > p { justify-self: start; }
  .work { --work-row: clamp(170px, 50vw, 245px); --work-caption-size: .82rem; }
  .work-grid { grid-template-columns: 1fr 1fr; gap: .85rem; }
  .photo-open { right: .45rem; bottom: .45rem; width: 1.9rem; height: 1.9rem; }
  .services-grid { grid-template-columns: 1fr; gap: 1.45rem; }
  .service { padding-top: .85rem; }
  .service ul { margin-top: .5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-copy { grid-row: 1; }
  .avatar-panel { min-height: 295px; height: clamp(300px, 85vw, 405px); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-details a { grid-template-columns: 2.8rem minmax(0, 1fr) auto; gap: .55rem; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1rem; }
  .footer-brand { width: 90px; }
  .footer-links { grid-column: 1 / -1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
