:root {
  color-scheme: light;
  --paper: #f8f5ed;
  --ink: #243329;
  --forest: #253e2f;
  --fern: #35543a;
  --sage: #dce4d2;
  --sage-deep: #b8c9a7;
  --sage-line: #bdcab3;
  --stone: #eee6d9;
  --stone-line: #dfd3bf;
  --draft-grid: #63744a26;
  --light-text: #e4e9dc;
  --muted: #454f43;
  --focus-ring: #874823;
  --clay: #ecc19b;
  --line: #d9dace;
  --mat: #fdfbf5;
  --photo-shadow: 0 2px 4px #1b302a12, 0 12px 30px #1b302a1f;
  --card-shadow: 0 2px 4px #1b302a09, 0 9px 22px #1b302a13;
  --photo-shadow-dark: 0 8px 19px #15261660;
  --serif: Baskerville, "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(1.3rem, 5.2vw, 6rem);
  --width: 83rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --tap-target: 2.75rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scrollbar-gutter: stable; }
html:has(.gallery-dialog[open]) { overflow: hidden; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.65 var(--sans);
}

main { flex: 1; }

img { display: block; max-width: 100%; height: auto; }
.preview-picture { display: contents; border-radius: inherit; }
.preview-picture > source { display: none; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 5px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.044em;
  line-height: .98;
}

h2 { font-size: clamp(3rem, 6vw, 5.25rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); }
section[id] { scroll-margin-top: 1rem; }

.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--width)); margin-inline: auto; }
.section-pad { padding-block: clamp(4.25rem, 8vw, 8rem); }

.eyebrow {
  color: var(--fern);
  font-size: .7rem;
  font-weight: 730;
  line-height: 1.4;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.skip {
  position: fixed;
  inset: .5rem auto auto .5rem;
  z-index: 2;
  padding: .6rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip:focus { transform: translateY(0); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-6);
  min-height: 5.4rem;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .72rem;
  text-decoration: none;
  line-height: 1;
}

.brand img {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 100%;
  object-fit: cover;
  object-position: center;
}

.brand strong {
  display: block;
  border-bottom: 3px double #6b9486;
  padding-bottom: .16rem;
  font: 600 1.65rem/.95 var(--serif);
  letter-spacing: -.045em;
  white-space: nowrap;
}

.brand small {
  display: block;
  margin-top: .28rem;
  color: var(--fern);
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.site-nav { display: flex; gap: clamp(1rem, 2.5vw, 2.65rem); }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-target);
  padding-block: var(--space-2);
  font-size: .88rem;
  font-weight: 620;
  text-decoration: none;
}
.site-nav a:hover, .footer-inner a:hover { text-decoration: underline; text-underline-offset: .28em; }
.site-nav a:is([aria-current="page"], [aria-current="location"]) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .34em; }

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: .73rem 1.15rem;
  border: 1px solid transparent;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .18s, color .18s, border-color .18s;
}

.button span, .text-link span { font-size: 1.15em; }
.button-outline { border-color: #9baea0; }
.button-outline:hover { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.button-primary { background: var(--forest); color: var(--paper); }
.button-primary:hover { background: var(--fern); }
.header-actions { display: flex; align-items: center; justify-self: end; gap: .45rem; }
.header-contact { white-space: nowrap; }
.header-contact[aria-current="page"] { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.header-social {
  display: grid;
  width: var(--tap-target);
  height: var(--tap-target);
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
}
.header-social:hover { background: var(--sage); }
.header-social .facebook-mark { width: 1.55rem; height: 1.55rem; font-size: 1.15rem; }

:is(.hero, .intro-band, .inquiry-panel) {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 89% 110%, #405a43, transparent 76%), var(--forest);
  color: var(--paper);
}
.hero, .intro-band { overflow: hidden; }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.6rem, 4.6vw, 5rem);
  padding-block: clamp(2.5rem, 4.4vw, 4.5rem);
}

:is(.hero, .intro-band, .inquiry-panel)::before,
:is(.hero, .intro-band)::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

:is(.hero, .intro-band, .inquiry-panel)::before {
  inset: 0;
  background-image:
    linear-gradient(to right, #e2ebcc21 1px, transparent 1px),
    linear-gradient(to bottom, #e2ebcc21 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 86% 75%, #000, transparent 67%);
}

/* Blend the paper into the surface so Michael's sketch shows through. */
.hero::after,
.intro-band::after,
.work-page .work-group::before {
  right: -2rem;
  bottom: -4rem;
  width: min(65%, 33rem);
  aspect-ratio: 650 / 570;
  background: url("/assets/landscape-plan.jpg") center / contain no-repeat;
  background-image: image-set(url("/assets/landscape-plan.webp") type("image/webp"), url("/assets/landscape-plan.jpg") type("image/jpeg"));
  filter: grayscale(1) contrast(1.4);
  mix-blend-mode: multiply;
  opacity: .15;
  mask-image: radial-gradient(ellipse at 65% 60%, #000 18%, transparent 69%);
}
.hero::after, .intro-band::after {
  right: 32%;
  bottom: -11rem;
  filter: grayscale(1) invert(1) contrast(1.5);
  mix-blend-mode: screen;
  opacity: .25;
  mask-image: radial-gradient(ellipse at 52% 49%, #000 23%, transparent 77%);
}
.intro-band::after { right: 7%; bottom: -17.5rem; }
.service-intro::after { right: 34%; bottom: -10rem; }
.intro-band :is(.eyebrow, h1 em, .text-link), .hero-label { color: var(--clay); }
.intro-band :is(.work-heading-copy p, .service-overview > p, .service-intro-copy > p, .service-photo figcaption, .about-copy p:not(.eyebrow), .contact-intro) {
  color: var(--light-text);
}
:is(.hero, .intro-band, .inquiry-panel) :focus-visible { outline-color: var(--clay); }
:is(.hero, .inquiry-panel) .button-primary { background: var(--clay); color: var(--ink); }
:is(.hero, .inquiry-panel) .button-primary:hover { background: #f5d5b6; }
.hero .button-outline { color: var(--paper); }
.hero .button-outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.hero-label { display: flex; align-items: center; gap: .72rem; margin-bottom: 1.45rem; }
.hero-label::before { content: ""; flex: 0 0 1.6rem; height: 1px; background: var(--clay); }

.hero h1 { font-size: clamp(3.15rem, 6.35vw, 6.65rem); letter-spacing: -.06em; }
.hero h1 em { color: var(--clay); font-weight: inherit; white-space: nowrap; }
.hero-description { max-width: 28rem; margin-top: 1.15rem; color: var(--light-text); font-size: clamp(.98rem, 1.22vw, 1.125rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.45rem; }
.hero-actions .button { gap: .6rem; padding-inline: .95rem; }
.hero-image {
  width: 100%;
  max-width: 32rem;
  justify-self: end;
}
.hero-image-link {
  display: block;
  position: relative;
  aspect-ratio: 1.48;
  max-height: 21rem;
  border: 1px solid var(--sage-line);
  border-radius: .55rem;
  box-shadow: var(--photo-shadow);
}
.hero-image img { height: 100%; width: 100%; object-fit: cover; object-position: center 57%; border-radius: inherit; }
.hero-photo-icon {
  position: absolute;
  inset: auto .6rem .6rem auto;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid #90aa9c;
  border-radius: 50%;
  background: #142f28;
  color: var(--paper);
}
.hero-image figcaption { margin-top: .65rem; color: var(--light-text); font-size: .81rem; line-height: 1.45; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.8rem, 3vw, 3rem);
}

.section-heading p:last-child { max-width: 21rem; color: var(--muted); }
.page-intro h1 { font-size: clamp(3.6rem, 8vw, 7.3rem); }
.home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 2.25rem); }
.home-navigation { padding-block: clamp(2.8rem, 5vw, 4.7rem); }
.home-navigation .section-heading { margin-bottom: 1rem; }
.home-navigation h2 { font-size: clamp(2.25rem, 4vw, 3.4rem); }
.home-grid .project-link { height: 100%; }
.home-navigation .project {
  padding: 1rem 1.1rem;
  border: 1px solid var(--stone-line);
  border-radius: .45rem;
  background: var(--stone);
}
.home-navigation .project:nth-child(even) { border-color: var(--sage-line); background: var(--sage); }
.home-navigation .project-label { padding-top: 0; }
.section-heading .eyebrow { margin-bottom: .9rem; }
.work { padding-block: clamp(2.5rem, 4.25vw, 5rem) clamp(3.5rem, 6vw, 6rem); }
.work-heading { margin-bottom: clamp(1.75rem, 3.3vw, 2.8rem); padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.work-heading h1 { font-size: clamp(3.25rem, 6.5vw, 6rem); }
.work-heading .portfolio-kicker {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .6rem;
}
.portfolio-kicker::before { width: 1.8rem; border-top: 1px solid #8aa393; content: ""; }
.work-heading-copy { max-width: 23rem; }
.work-heading-copy p { color: var(--muted); }
.work-heading-copy a { margin-top: .55rem; }
.work-group + .work-group { margin-top: clamp(2.5rem, 5vw, 4.25rem); }
.work-group > h2 { margin-bottom: 1.1rem; font-size: clamp(2.1rem, 3.55vw, 3.45rem); }
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.55rem, 3vw, 3rem) clamp(1rem, 2.2vw, 2.25rem);
}
.project { padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.project-grid .project, .photo-card, .service-card-link {
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--mat);
  box-shadow: var(--card-shadow);
  transition: border-color .2s, box-shadow .2s;
}
:is(.project-grid .project, .photo-card, .service-card-link):is(:hover, :focus-within) {
  border-color: #9daf9f;
  box-shadow: var(--photo-shadow);
}
.project-grid .project { padding: 0 0 1rem; }
.project-grid .project-image { border-radius: .58rem .58rem 0 0; }
.project-grid .project-label, .project-grid .project-description, .project-grid .project-details { padding-inline: 1rem; }
.project-grid [id] { scroll-margin-top: 1rem; }
.project-link { display: block; text-decoration: none; }
.project-image { width: 100%; aspect-ratio: 1.65; max-height: 13rem; overflow: hidden; border-radius: .25rem; background: var(--sage); }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.urns img { object-position: 60% center; }
.entry-garden img { object-position: center 60%; }
.project-link:hover .project-image img { transform: scale(1.045); }

.project-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .65rem;
  padding-top: 1.1rem;
}

.project-label .eyebrow { margin-bottom: .45rem; }
.project-arrow {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid #aab9ac;
  border-radius: 50%;
  transition: background-color .18s, color .18s;
}

.project-link:hover .project-arrow { background: var(--forest); color: var(--paper); }
.project-description { margin-top: .55rem; color: var(--muted); font-size: .91rem; }
.project-details { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin-top: .65rem; font-size: .82rem; }
.project-details a { padding-block: .25rem; scroll-margin-block: 3rem; }
.portfolio-route {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .55rem 1.3rem;
  padding: .65rem .8rem;
  border: 1px solid #c5d1c4;
  border-radius: .35rem;
  background: var(--sage);
  color: var(--ink);
  font-size: .83rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.project .portfolio-route { margin: .6rem 1rem 0; }
.portfolio-route:hover { border-color: var(--fern); background-color: #dae6dc; }
.portfolio-route-feature {
  flex-wrap: wrap;
  margin-top: 1.4rem;
  padding: .95rem clamp(1rem, 2.6vw, 1.65rem);
  background-image:
    linear-gradient(90deg, transparent 95%, var(--draft-grid) 95%),
    linear-gradient(transparent 95%, var(--draft-grid) 95%);
  background-size: 22px 22px;
}
.portfolio-route-feature h3 { margin-top: .34rem; }
.portfolio-route-action { display: flex; align-items: center; gap: .7rem; }
.portfolio-route-action span { color: var(--fern); }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.65rem);
}
.photo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr;
  align-items: center;
  gap: 0 .35rem;
  min-width: 0;
}
.photo-thumbnail {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 1.7;
  max-height: 12.8rem;
  overflow: hidden;
  border-radius: .58rem .58rem 0 0;
  background: var(--sage);
}
.photo-thumbnail img, .service-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
:is(.photo-card:hover, .service-card-link:hover) img { transform: scale(1.045); }
.photo-card:is([href="/assets/landscape-plan.jpg"], [href="/assets/brac-reef-plan.jpg"]) img { object-fit: contain; }
.photo-card[href="/assets/bird-of-paradise.jpg"] img { object-position: center 65%; }
.photo-card-title { grid-column: 1; grid-row: 2; padding: .8rem 0 .55rem .9rem; font: 600 clamp(1.05rem, 1.65vw, 1.45rem)/1.15 var(--serif); }
.photo-card-title .eyebrow { display: block; margin-bottom: .35rem; font-family: var(--sans); }
.photo-card-description {
  grid-column: 1 / -1;
  align-self: start;
  padding: 0 .9rem .9rem;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.5;
}
.photo-card-arrow {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  margin-right: .8rem;
  border: 1px solid #b0bfb1;
  border-radius: 50%;
  color: var(--fern);
  font-size: .85rem;
  transition: color .2s, background-color .2s;
}
.photo-card:hover .photo-card-arrow { background: var(--forest); color: var(--paper); }
.photo-open-icon {
  display: inline-block;
  width: .95em;
  height: .95em;
  vertical-align: -.05em;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='8.5' cy='8.5' r='5.5'/%3E%3Cpath d='m13 13 4 4M6.3 8.5h4.4m-2.2-2.2v4.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.gallery-group-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem .85rem;
  margin-bottom: 1.1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
}
.gallery-group-heading h2 { font-size: clamp(2.1rem, 3.55vw, 3.45rem); }
.gallery-group-context {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex: 1 1 100%;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  color: var(--muted);
}
.gallery-total { padding: .22rem .48rem; border: 1px solid #bdcbbd; border-radius: .25rem; white-space: nowrap; }
.portfolio-intro {
  margin-bottom: 0;
  padding-block: clamp(1.8rem, 4.5vw, 4rem);
  border: 0;
}
.portfolio-intro h1 em { font-weight: inherit; }
.portfolio-intro .portfolio-kicker::before { border-color: var(--clay); }
.gallery-group-context a { color: var(--forest); }
.gallery-page .gallery-group, .work-page .work-group {
  padding: clamp(1rem, 2.6vw, 2rem);
  border: 1px solid var(--sage-line);
  border-radius: .65rem;
  background: radial-gradient(ellipse at 96% 100%, var(--sage-deep), transparent 75%), linear-gradient(135deg, #f0f1e8, var(--sage));
}
.gallery-page .gallery-group:nth-of-type(even), .work-page .work-group:nth-of-type(even) {
  border-color: var(--stone-line);
  background: radial-gradient(ellipse at 90% 100%, #b8c9a76b, transparent 67%), linear-gradient(125deg, var(--mat), var(--stone));
}
.work-page .work-group { position: relative; isolation: isolate; overflow: clip; }
.work-page .work-group::before { position: absolute; z-index: -1; content: ""; pointer-events: none; }
.work-page .project-grid .project { background: linear-gradient(var(--mat) 57%, #fdfbf5e6); }
.work-page .work-group > h2 { padding-bottom: .8rem; border-bottom: 1px solid var(--sage-line); }
.gallery-page .gallery-group-heading {
  padding: 0 0 .9rem;
  border-top: 0;
  border-bottom: 1px solid #526d5c40;
}
.gallery-page .gallery-group-heading h2 { font-size: clamp(1.85rem, 3.4vw, 3.35rem); }
.gallery-page .gallery-group-context p { max-width: 78ch; }
.gallery-page .gallery-total { padding-inline: .25rem; border: 0; }
.gallery-page .photo-card,
.gallery-page .photo-card:is(:hover, :focus-within) {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.gallery-page .photo-thumbnail {
  grid-row: 1;
  max-height: 12rem;
  border-radius: .4rem;
  background: var(--sage);
  box-shadow: var(--photo-shadow);
}
.gallery-page .photo-card-title {
  grid-column: 1 / -1;
  padding: .7rem .12rem .25rem;
  font-weight: 500;
  letter-spacing: -.02em;
}
.gallery-page .photo-card-description { padding: 0 .12rem .25rem; }
.gallery-page .photo-card-arrow {
  grid-row: 1;
  align-self: end;
  z-index: 1;
  margin: 0 .5rem .5rem 0;
  border-color: #ebf2e160;
  background: #193630eb;
  color: var(--paper);
}
.gallery-page .photo-card:hover .photo-card-arrow { color: var(--ink); background: var(--clay); }
.gallery-page .project-inquiry { padding-top: 0; }
.gallery-page #gallery-little-cayman .photo-grid,
.gallery-page #gallery-process .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 980px) {
  #gallery-brac-reef .photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #gallery-brac-reef .photo-card:nth-child(-n+2) { grid-column: span 2; }
  #gallery-brac-reef .photo-card:nth-child(-n+2) .photo-thumbnail { max-height: 13.75rem; }
}
.home-work { padding-top: clamp(2.8rem, 5.2vw, 5.4rem); }
.home-work .section-heading { margin-bottom: 1.4rem; }
.home-work h2 { font-size: clamp(2.6rem, 5.1vw, 4.6rem); }
.home-work .section-heading .eyebrow { margin-bottom: .55rem; }

.service-section { background: linear-gradient(160deg, var(--stone), var(--paper) 73%); }
.service-directory { background: linear-gradient(var(--stone), var(--paper)); }
.service-list { padding-block: clamp(1.65rem, 3.4vw, 3.25rem) clamp(2rem, 5vw, 4rem); }
.service-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
  gap: .9rem 2.25rem;
  padding-block: clamp(2.2rem, 4.5vw, 4.75rem);
}
.service-overview h1 { margin-top: .45rem; font-size: clamp(3.35rem, 6.7vw, 6.6rem); }
.service-overview-break { display: none; }
.service-overview h1 em, .service-intro h1 em { font-weight: inherit; }
.service-overview > p { max-width: 24rem; padding-bottom: .2rem; color: var(--muted); }
.service-grid, .service-scope { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 2.25rem); }
.service-card { min-width: 0; }
.service-card-link { height: 100%; position: relative; }
.service-tile-media {
  height: clamp(8.6rem, 14vw, 13.5rem);
  overflow: hidden;
  border-radius: .58rem .58rem 0 0;
  background: var(--forest);
}
.service-card-lighting img { object-position: center 63%; }
.service-card-management img { object-position: center 61%; }
.service-card-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: .55rem;
  padding: 1.1rem 1rem 1.15rem;
}
.service-card-copy h2 { font-size: clamp(1.55rem, 2.6vw, 2.45rem); }
.service-card-copy p, .service-scope p { margin-top: .55rem; color: var(--muted); font-size: .95rem; }
.service-card-copy .service-tile-caption {
  margin-top: .75rem;
  padding-top: .55rem;
  border-top: 1px solid var(--line);
  color: var(--fern);
  font-size: .78rem;
  line-height: 1.4;
}
.service-card-copy .project-arrow { width: 2.1rem; height: 2.1rem; }
.service-intro + .service-section .section-pad { padding-block: clamp(2.5rem, 5vw, 4.6rem) clamp(1.9rem, 3vw, 3rem); }
.service-section .eyebrow { margin-bottom: .65rem; }
.service-section h2 { font-size: clamp(2.55rem, 4.9vw, 4.6rem); }
.service-scope { list-style: none; margin: 1.65rem 0 0; padding: 0; }
.service-scope li {
  padding: .95rem 1rem 1.15rem;
  border: 1px solid var(--stone-line);
  border-top: 3px solid var(--sage-line);
  border-radius: .5rem;
  background: var(--mat);
}
.scope-step {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .8rem;
  color: var(--fern);
  font: 700 .7rem/1.3 var(--sans);
  letter-spacing: .1em;
}
.scope-step::after { width: 1.7rem; border-top: 1px solid #8ea79a; content: ""; }
.service-scope h3 { font-size: clamp(1.45rem, 2.7vw, 2.15rem); }
.service-example {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  margin-top: clamp(1.4rem, 3vw, 2.25rem);
  overflow: hidden;
  border: 1px solid var(--sage-line);
  border-radius: .55rem;
  background: linear-gradient(115deg, var(--mat), var(--sage));
  box-shadow: var(--photo-shadow);
  text-decoration: none;
}
.service-example .preview-picture {
  position: relative;
  display: block;
  align-self: stretch;
  min-height: clamp(11rem, 18vw, 14.25rem);
}
.service-example img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-example-copy { padding: clamp(1rem, 3vw, 2.5rem); }
.service-example-copy h3 { font-size: clamp(1.7rem, 3.2vw, 3rem); }
.service-example-caption { margin-top: .55rem; color: var(--muted); font-size: .94rem; }
.service-example-action {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-top: .85rem;
  font-size: .85rem;
  font-weight: 650;
}
.service-example-action .project-arrow { width: 1.85rem; height: 1.85rem; }
.service-example:hover .project-arrow { background: var(--forest); color: var(--paper); }
.service-example:hover .service-example-action { text-decoration: underline; text-underline-offset: .2em; }

.service-other { padding-block: clamp(1.5rem, 3vw, 2.75rem); }
.service-other h2 { margin-bottom: .75rem; font-size: clamp(1.8rem, 2.75vw, 2.5rem); }
.service-other-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.service-other-links .text-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  gap: .65rem;
  padding: .65rem .85rem;
  min-height: 2.9rem;
  border: 1px solid var(--line);
  border-radius: .3rem;
  background: var(--mat);
  text-decoration: none;
}
.service-other-links .text-link:hover { border-color: var(--fern); text-decoration: underline; }

.intro-inner {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(3rem, 5.5vw, 5.35rem);
}
.service-intro h1 { margin-top: .55rem; font-size: clamp(3.3rem, 6.15vw, 6.4rem); }
.service-intro h1 em { display: block; }
.service-back { display: inline-flex; align-items: center; gap: .45rem; padding-block: .3rem; text-decoration: none; }
.service-back:hover { text-decoration: underline; text-underline-offset: .25em; }
.service-intro-copy .service-kicker {
  margin-top: clamp(1.05rem, 2vw, 1.9rem);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .055em;
}
.page-intro p { max-width: 27rem; margin-top: 1.1rem; color: var(--muted); }
.service-photo { width: 100%; justify-self: end; position: relative; }
.service-photo-link {
  display: block;
  text-decoration: none;
}
.service-photo-link img {
  width: 100%;
  max-height: 19rem;
  aspect-ratio: 1.63;
  object-fit: cover;
  border: 1px solid #dce4d365;
  border-radius: .55rem;
  box-shadow: var(--photo-shadow-dark);
}
.service-photo-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .25rem;
  margin-top: .45rem;
  color: var(--paper);
  font-weight: 680;
  font-size: clamp(.77rem, 1.25vw, .91rem);
  line-height: 1.25;
}
.service-photo-label > span {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 1px solid #f8f6ef73;
  background: #ffffff12;
  transition: background-color .2s, color .2s;
}
.service-photo-link:hover .service-photo-label > span { background: var(--clay); color: var(--ink); }
.service-design .service-photo img { object-position: center 74%; }
.service-photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem .85rem; }
.service-photo-pair img { aspect-ratio: 1.2; max-height: 18rem; }
.service-photo figcaption {
  grid-column: 1 / -1;
  margin-top: .6rem;
  color: var(--fern);
  font-size: .84rem;
  line-height: 1.45;
}
.service-photo-pair figcaption { margin-top: 0; }
.service-lighting .service-photo img { object-position: center 70%; }

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 18rem);
  align-items: center;
  gap: clamp(1.75rem, 6vw, 6rem);
  padding-block: clamp(2.5rem, 5vw, 5rem);
}
.about-copy h1 { margin-top: .75rem; font-size: clamp(3.1rem, 6.4vw, 6rem); }
.about-copy p:not(.eyebrow) { max-width: 38rem; margin-top: 1.1rem; color: var(--muted); }
.about-copy .text-link { margin-top: 1rem; }
.about-photo { width: min(100%, 18rem); justify-self: end; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-photo figcaption, .about-quote figcaption { margin-top: .65rem; color: var(--muted); font-size: .78rem; }
.about-photo {
  margin: 0;
}
.about-photo img { border: 1px solid #dce4d365; border-radius: .55rem; box-shadow: var(--photo-shadow-dark); }
.intro-band .about-photo figcaption { color: var(--light-text); }
.about-story { background: linear-gradient(155deg, var(--stone), var(--paper) 75%); }
.about-story-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(2.25rem, 4.5vw, 4.5rem);
}
.about-quote {
  padding: clamp(1.25rem, 3vw, 2.4rem);
  border: 1px solid var(--sage-line);
  border-left: 3px solid var(--fern);
  border-radius: .45rem;
  background: linear-gradient(130deg, var(--mat), var(--sage));
}
.about-quote blockquote { margin: 0; max-width: 22ch; font: italic clamp(1.8rem, 3.55vw, 3.45rem)/1.05 var(--serif); }
.about-quote a { text-underline-offset: .25em; }
.about-story-copy h2 { font-size: clamp(1.85rem, 3.1vw, 3rem); }
.about-story-copy p { max-width: 36rem; margin-top: .75rem; color: var(--muted); }
.about-project-link { margin-top: .85rem; }
.text-link { display: inline-block; width: fit-content; font-weight: 650; text-underline-offset: .3em; }
.text-link:hover { text-decoration-thickness: 2px; }

.contact-main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(160deg, var(--paper) 38%, var(--stone));
}
.contact-main::before, .contact-main::after {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  content: "";
}
.contact-main::before {
  right: max(-2rem, calc((100vw - var(--width)) / 2 - 1rem));
  bottom: -5.5rem;
  width: min(56%, 45rem);
  aspect-ratio: 650 / 570;
  background: url("/assets/landscape-plan.jpg") center / contain no-repeat;
  background-image: image-set(url("/assets/landscape-plan.webp") type("image/webp"), url("/assets/landscape-plan.jpg") type("image/jpeg"));
  filter: grayscale(1) contrast(1.35);
  mix-blend-mode: multiply;
  opacity: .11;
  mask-image: radial-gradient(ellipse at 65% 60%, #000 18%, transparent 75%);
}
.contact-main::after {
  inset: 0;
  background-image:
    linear-gradient(to right, #4667581a 1px, transparent 1px),
    linear-gradient(to bottom, #4667581a 1px, transparent 1px);
  background-size: 1.5rem 1.5rem;
  mask-image: radial-gradient(ellipse at 82% 72%, #000, transparent 59%);
}
.contact-page { max-width: 59rem; padding-block: clamp(2.65rem, 6.2vw, 5.5rem); }
.contact-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "title portrait" "intro portrait";
  align-items: center;
  gap: .9rem clamp(1rem, 4vw, 3.25rem);
  padding: clamp(1.2rem, 3.8vw, 3.1rem);
  border-radius: .65rem;
}
.contact-heading.intro-band::after { opacity: .13; }
.contact-page h1 { font-size: clamp(3.1rem, 6.4vw, 6rem); }
.contact-heading h1 { grid-area: title; }
.contact-intro { grid-area: intro; max-width: 35rem; color: var(--muted); }
.contact-portrait {
  grid-area: portrait;
  width: 9rem;
  aspect-ratio: 1;
  border: 1px solid #e6eddb9c;
  border-radius: .4rem;
  box-shadow: var(--photo-shadow);
  object-fit: cover;
}
.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(1.5rem, 3.5vw, 2.75rem);
}
.contact-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: clamp(.95rem, 2.25vw, 1.6rem);
  border: 1px solid var(--sage-line);
  border-radius: .4rem;
  background: var(--sage);
  box-shadow: var(--photo-shadow);
  text-decoration: none;
  transition: background-color .18s, border-color .18s;
}
.contact-method + .contact-method { border-color: var(--stone-line); background: var(--mat); }
.contact-method strong { display: block; margin-top: .3rem; font: 650 clamp(1rem, 1.7vw, 1.3rem)/1.25 var(--sans); overflow-wrap: anywhere; }
.contact-method .project-arrow { width: 2.15rem; height: 2.15rem; }
.contact-method:hover { background: #cfdcc3; border-color: var(--fern); }
.contact-method:hover .project-arrow { background: var(--forest); color: var(--paper); }
.project-inquiry { padding-block: 1.25rem clamp(2.5rem, 5vw, 4.5rem); }
.inquiry-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid #687d64;
  border-radius: .6rem;
  box-shadow: var(--photo-shadow);
}
.inquiry-panel::before { border-radius: inherit; }
.inquiry-copy h2 { font-size: clamp(2.05rem, 4vw, 3.65rem); }
.inquiry-copy p { margin-top: .6rem; color: var(--light-text); }
.inquiry-actions { display: grid; justify-items: start; gap: .45rem; }
.inquiry-actions .text-link { padding: .35rem .25rem; color: var(--paper); font-size: .88rem; }
.gallery-dialog :focus-visible { outline-color: var(--clay); }
.site-footer { background: var(--stone); border-top: 1px solid var(--stone-line); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 23rem); align-items: center; gap: 1.25rem 2rem; padding-block: clamp(1.5rem, 3.6vw, 3rem); }
.footer-inner a { font-size: .8rem; text-decoration: none; }
.footer-inner .footer-name { font-size: 1rem; font-weight: 700; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .35rem 1.15rem; margin-top: .35rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 2.45rem; }
.footer-nav a[aria-current] { text-decoration: underline; text-underline-offset: .3em; }
.footer-social {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  padding: .85rem;
  border: 1px solid var(--sage-line);
  border-radius: .45rem;
  background: var(--sage);
}
.footer-inner .footer-social:hover { background: #cfdcc3; text-decoration: none; }
.footer-social:hover strong { text-decoration: underline; text-underline-offset: .25em; }
.facebook-mark { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; border-radius: 50%; background: #0866ff; color: #fff; font: 700 1.7rem/1 Arial, sans-serif; }
.footer-social-copy strong, .footer-social-copy small { display: block; }
.footer-social-copy strong { color: var(--ink); font-size: .92rem; }
.footer-social-copy small { color: var(--muted); font-size: .74rem; line-height: 1.4; }

.gallery-dialog {
  --viewer-edge: var(--space-4);
  width: min(58rem, calc(100% - 2 * var(--viewer-edge)));
  max-width: calc(100% - 2 * var(--viewer-edge));
  max-height: calc(100% - 2 * var(--viewer-edge));
  max-height: calc(100dvh - 2 * var(--viewer-edge));
  padding: var(--space-3);
  border: 1px solid #648378;
  border-radius: .55rem;
  background: var(--forest);
  color: var(--paper);
  overscroll-behavior: contain;
}

.gallery-dialog::backdrop { background: #10211ee5; }
.gallery-controls[hidden] { display: none; }
.gallery-header, .gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); }
.gallery-header { margin-bottom: var(--space-2); }
.gallery-position { padding-inline: .35rem; color: #e0e8dd; font-size: .8rem; }
.gallery-image { width: 100%; height: min(59vh, 31rem); height: min(59dvh, 31rem); object-fit: contain; background: #102620; }
.gallery-dialog figcaption { padding: .7rem .35rem .35rem; font-size: .95rem; }
.gallery-dialog figcaption strong { display: block; }
#gallery-description { max-width: 65ch; margin-top: .2rem; color: #dce8df; font-size: .875rem; line-height: 1.45; }
.gallery-controls { margin-top: var(--space-2); }
.gallery-close, .gallery-step {
  border: 1px solid #8ba99e;
  border-radius: .35rem;
  background: #27483e;
  color: var(--paper);
  font: 650 .84rem/1.2 var(--sans);
  cursor: pointer;
}
.gallery-close, .gallery-step { min-height: var(--tap-target); }
.gallery-close {
  display: grid;
  place-items: center;
  width: var(--tap-target);
  font-size: 1.55rem;
}
.gallery-step { padding: .55rem .7rem; }
.gallery-close:hover, .gallery-step:hover { background: #3b6657; }

@media (min-width: 741px) and (max-width: 920px) {
  .project-grid .project-label, .project-grid .project-description, .project-grid .project-details { padding-inline: var(--space-3); }
  .project-grid .project-arrow { width: 1.85rem; height: 1.85rem; }
  .project-grid .project-label h3 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
  .project-grid .portfolio-route { margin-inline: var(--space-3); }
}

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero::after, .intro-band::after { width: min(88%, 26rem); right: -4rem; bottom: -8rem; }
  .hero h1 { font-size: clamp(3.55rem, 10.5vw, 5.25rem); }
  .hero-image { justify-self: start; }
  .hero-image-link { max-height: clamp(12rem, 36vw, 16rem); aspect-ratio: 1.75; }
  .service-overview, .service-scope, .about-intro, .about-story-inner, .intro-inner { grid-template-columns: 1fr; }
  .about-photo { width: min(100%, 14rem); justify-self: start; }
  .service-photo { justify-self: start; max-width: 35rem; }
  .service-photo img { max-height: 14rem; }
  .service-intro h1 em { display: inline; }
  .intro-inner { padding-block: 1.9rem 2.55rem; }
  .service-scope { gap: .75rem; }
}

@media (max-width: 740px) {
  .project-grid { grid-template-columns: 1fr; }
  .work-page .project-image { max-height: clamp(11rem, 32vw, 14rem); }
}

@media (max-width: 680px) {
  .service-grid, .contact-methods, .inquiry-panel, .footer-inner { grid-template-columns: 1fr; }
  .contact-main::before { right: -3rem; bottom: -3rem; width: min(110%, 25rem); opacity: .12; }
  .contact-main::after { mask-image: radial-gradient(ellipse at 85% 92%, #000, transparent 55%); }
  .contact-heading { grid-template-areas: "title portrait" "intro intro"; gap: .85rem 1rem; }
  .contact-portrait { width: 5.65rem; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-social { max-width: 28rem; }
  .gallery-image { height: min(53vh, 21rem); height: min(53dvh, 21rem); }
}

@media (max-width: 720px) {
  .header-inner { grid-template-columns: 1fr auto; min-height: auto; gap: 0 var(--space-2); padding-top: var(--space-3); }
  .header-actions { display: contents; }
  .header-contact { grid-column: 2; grid-row: 1; justify-self: end; min-height: var(--tap-target); padding-inline: var(--space-3); gap: var(--space-2); font-size: .78rem; }
  .header-social { grid-column: 2; grid-row: 2; justify-self: end; align-self: end; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; gap: clamp(.55rem, 3.1vw, 1.45rem); margin-top: .55rem; padding-right: 3.2rem; border-top: 1px solid var(--line); }
  .site-nav a { padding-block: var(--space-3); }
}

@media (max-width: 530px) {
  .home-grid, .home-work .photo-grid { grid-template-columns: 1fr; }
  .home-work .photo-thumbnail { max-height: 10.25rem; }
  .photo-card-title { padding: .65rem 0 .4rem .65rem; }
  .photo-card-description { padding-inline: .65rem; font-size: .79rem; }
  .photo-card-arrow { width: 1.4rem; height: 1.4rem; margin-right: .55rem; font-size: .7rem; }
  .service-overview-break { display: revert; }
  .service-photo img { max-height: 12rem; }
  .service-photo-pair .service-photo-label > span { width: 1.3rem; height: 1.3rem; }
  .service-example { grid-template-columns: 1fr; }
  .service-example .preview-picture { aspect-ratio: 1.9; min-height: 0; max-height: 10.5rem; }
  .project-image { aspect-ratio: 1.7; max-height: 11rem; }
  :is(.gallery-page, .work-page) .work-group { padding: .8rem; }
  .gallery-page .gallery-group-heading { margin-bottom: .85rem; }
  .gallery-page .gallery-group-context { font-size: .86rem; }
  .gallery-page .photo-grid { gap: .65rem; }
  .service-other-links { grid-template-columns: 1fr; }
}

@media (max-width: 559px) and (max-height: 690px) {
  .gallery-image { height: min(42vh, 17rem); height: min(42dvh, 17rem); }
}

@media (min-width: 560px) and (max-height: 500px) {
  .gallery-dialog { --viewer-edge: var(--space-3); }
  .gallery-dialog figure {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--space-4);
  }
  .gallery-image {
    height: min(17rem, calc(100vh - 10rem));
    height: min(17rem, calc(100dvh - 10rem));
  }
}

@media (max-width: 355px) {
  .hero h1 { font-size: clamp(2.5rem, 11.3vw, 3.55rem); }
  .brand { gap: .4rem; }
  .brand strong { font-size: 1.36rem; }
  .brand img { width: 2.15rem; height: 2.15rem; }
  .header-contact span { display: none; }
  .contact-page h1 { font-size: 2.65rem; }
  .contact-portrait { width: 4.85rem; }
  .service-intro h1 { font-size: 2.9rem; }
  .gallery-page .gallery-group .photo-grid { grid-template-columns: 1fr; }
  .gallery-page .photo-thumbnail { max-height: 9.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
