@font-face {
  font-family: "DM Sans";
  src: url("./assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/instrument-serif.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
:root {
  --paper: #f8f7f1;
  --cream: #eeeee4;
  --ink: #242824;
  --muted: #51594e;
  --green: #152a20;
  --deep: #102219;
  --leaf: #aebe91;
  --rule: #d5d8ca;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font: 400 1em/.99 var(--serif); }
h2 { font-size: clamp(3.25rem, 6vw, 5.4rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.8rem, 2.9vw, 2.3rem); }
p { line-height: 1.65; }
em { font-weight: 400; }
.shell { width: min(100% - 7rem, 1240px); margin-inline: auto; }
.section { padding-block: clamp(4.75rem, 8vw, 8rem); }
.skip { position: fixed; top: 1rem; left: 1rem; z-index: 20; transform: translateY(-180%); background: var(--paper); color: var(--deep); padding: 1rem; }
.skip:focus { transform: translateY(0); }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.3rem; font-size: .7rem; font-weight: 700; letter-spacing: .19em; line-height: 1.4; color: #43573d; }
.eyebrow span { flex: 0 0 1.45rem; height: 1px; background: currentColor; }
.button { display: inline-flex; min-height: 3.25rem; justify-content: center; align-items: center; gap: 1.2rem; border: 1px solid transparent; padding: .75rem 1.2rem; text-align: center; text-decoration: none; font-weight: 700; font-size: .875rem; line-height: 1.25; transition: background-color .2s, color .2s, border-color .2s; }
.line-icon { position: relative; display: inline-block; flex: 0 0 .75rem; width: .75rem; height: .75rem; vertical-align: -.07em; }
.line-icon::before, .line-icon::after { position: absolute; content: ""; }
.line-icon::before { width: .36rem; height: .36rem; top: 50%; right: .08rem; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.line-icon::after { width: calc(100% - .1rem); height: 1px; top: 50%; left: 0; background: currentColor; }
.line-icon--diagonal { transform: rotate(-45deg); }
.line-icon--down { transform: rotate(90deg); }
.line-icon--left { transform: rotate(180deg); }
.line-icon--menu::before, .line-icon--close::before { width: calc(100% - .1rem); height: 1px; left: 0; right: auto; border: 0; background: currentColor; }
.line-icon--menu::before { top: 29%; transform: none; }
.line-icon--menu::after { top: 70%; }
.line-icon--close::before, .menu-toggle[aria-expanded="true"] .line-icon::before { top: 50%; transform: rotate(45deg); }
.line-icon--close::after, .menu-toggle[aria-expanded="true"] .line-icon::after { top: 50%; transform: rotate(-45deg); }
.button-dark { color: var(--paper); background: var(--green); }
.button-dark:hover { background: #344c37; }
.button-light { color: var(--deep); background: #dce6cd; }
.button-light:hover { background: #f4f6ed; }
.button-outline { color: #fff; border-color: #eeeee481; background: #10221930; }
.button-outline:hover { background: var(--paper); color: var(--deep); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; gap: .6rem; font-size: .9rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .32em; }
.text-link:hover { text-decoration-thickness: 2px; }

.site-header { position: sticky; z-index: 5; top: 0; color: var(--green); background: var(--paper); border-bottom: 1px solid #d5d8ca77; }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 5.15rem; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .69rem; flex-shrink: 0; text-decoration: none; }
.brand-symbol { position: relative; width: 2.35rem; height: 2.5rem; flex-shrink: 0; transform: scale(.84); }
.brand-symbol::after { content: ""; position: absolute; top: 9%; bottom: 3%; left: 51%; width: 1px; background: currentColor; transform: rotate(30deg); }
.brand-symbol i { position: absolute; width: .8rem; height: 1.05rem; border: 1px solid currentColor; border-radius: 95% 0 90% 0; }
.brand-symbol i:nth-child(1) { top: 4%; left: 56%; transform: rotate(-2deg); }
.brand-symbol i:nth-child(2) { top: 25%; left: 22%; transform: rotate(-80deg); }
.brand-symbol i:nth-child(3) { top: 48%; left: 46%; transform: rotate(15deg); }
.brand-type { display: grid; gap: .2rem; }
.brand-type strong { font-size: 1.45rem; font-weight: 700; line-height: .9; letter-spacing: .12em; }
.brand-type small { font-size: .58rem; line-height: 1; font-weight: 700; letter-spacing: .14em; }
.primary-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.55vw, 2.4rem); }
.primary-nav > a:not(.button) { padding-block: .8rem; text-decoration: none; font-size: .86rem; font-weight: 600; }
.primary-nav > a:not(.button):hover { text-decoration: underline; text-underline-offset: .3em; }
.nav-quote { margin-left: .3rem; min-height: 2.8rem; }
.menu-toggle { display: inline-flex; align-items: center; gap: .5rem; background: transparent; color: var(--green); font-weight: 700; border: 0; padding: .55rem .25rem; min-height: 2.75rem; cursor: pointer; }

.hero { min-height: min(650px, max(550px, 71svh)); position: relative; isolation: isolate; display: grid; align-items: center; background: var(--green); color: #fffdf6; }
.hero picture, .hero-photo, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture { z-index: -2; }
.hero-photo { object-fit: cover; object-position: 55% 59%; }
.hero::after { z-index: -1; content: ""; background: linear-gradient(90deg, #0b1912f0 0%, #0b1912cc 26%, #0b19126b 59%, #0b19121f 100%); }
.hero-inner { padding-block: 4rem 5rem; }
.hero .eyebrow, .contact .eyebrow, .about .eyebrow { color: #d4e0c1; }
.hero h1 { font-size: clamp(4.45rem, 8.4vw, 8.25rem); letter-spacing: -.035em; line-height: .87; }
.hero h1 em, .contact h2 em { color: #dce6cd; }
.hero-intro { margin: 1.75rem 0 1.7rem; max-width: 30rem; color: #f4f4eb; font-size: clamp(1rem, 1.4vw, 1.125rem); }
.hero-credit, .service-image figcaption { position: absolute; background: #102219b3; color: #fff; padding: .22rem .4rem; font-size: .65rem; line-height: 1.35; letter-spacing: .025em; }
.hero-credit { right: max(1rem, calc((100% - 1240px)/2)); bottom: 1.1rem; }

.section-head { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 2rem; margin-bottom: 2.75rem; }
.section-head > p { color: var(--muted); max-width: 26rem; justify-self: end; padding-bottom: .2rem; }
.services { padding-top: clamp(4.75rem, 7vw, 6.3rem); }
.service-grid, .project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.8rem); }
.service-image { position: relative; aspect-ratio: 1.18; overflow: hidden; background: var(--cream); }
.service-image img, .project img { width: 100%; height: 100%; object-fit: cover; }
.service-image figcaption { bottom: .65rem; right: .65rem; }
.service h3 { margin: 1.25rem 0 .52rem; }
.service > p { color: var(--muted); font-size: .94rem; max-width: 30rem; }
.about { display: grid; grid-template-columns: 1fr 1fr; background: var(--green); color: var(--paper); }
.about-image { min-height: 100%; position: relative; }
.about-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.about-copy { align-self: center; padding: clamp(3.8rem, 7vw, 7.5rem) clamp(2.5rem, 6vw, 7rem); max-width: 47rem; }
.about h2 { font-size: clamp(3.15rem, 5.4vw, 5.3rem); }
.about-copy > p:not(.eyebrow) { margin-top: 1.2rem; color: #e0e7da; max-width: 30rem; }
.about .text-link { margin-top: 1.1rem; }

.project { display: block; text-decoration: none; }
.project img { aspect-ratio: 1.14; height: auto; background: var(--cream); transition: filter .23s ease; }
.project:hover img { filter: brightness(.88); }
.project-line { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--rule); font-weight: 700; }
.portfolio-source { margin-top: 1rem; font-size: .86rem; color: var(--muted); }
.portfolio-source a { display: inline-block; padding-block: .5rem; text-underline-offset: .3em; }
.more-projects { margin-top: 1.5rem; border-bottom: 1px solid var(--rule); }
.more-projects summary { display: flex; min-height: 2.75rem; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; font-weight: 700; list-style: none; }
.more-projects summary::-webkit-details-marker { display: none; }
.more-projects[open] summary .line-icon { transform: rotate(-90deg); }
.more-projects .project-grid { margin-block: .6rem 1.15rem; }

.reviews { background: var(--cream); }
.contact-inner { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.reviews-head { align-items: center; }
.review-summary { justify-self: end; }
.review-score { font: 400 clamp(1.75rem, 3.4vw, 2.6rem)/1 var(--serif); color: var(--green); }
.review-score strong { font: 400 clamp(3rem, 5vw, 4rem)/1 var(--serif); }
.review-source { margin-top: .55rem; color: var(--muted); font-size: .875rem; }
.review-source time { white-space: nowrap; }
.review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--review-gap)) / 3);
  gap: var(--review-gap);
  position: relative;
  margin: 0;
  padding: 0 0 .65rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  --review-gap: clamp(.8rem, 2vw, 1.5rem);
}
.review-track > li { min-width: 0; scroll-snap-align: start; }
.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
  padding: clamp(1.15rem, 2.5vw, 2rem);
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.review-card blockquote { margin: 0; }
.review-card blockquote p { font: 400 clamp(1.4rem, 2.2vw, 1.8rem)/1.25 var(--serif); }
.review-card figcaption { display: grid; gap: .25rem; font-size: .85rem; }
.review-card figcaption span { color: var(--muted); }
.review-controls { display: flex; align-items: center; justify-content: flex-end; gap: .45rem; margin-top: .6rem; }
.review-status { margin-right: .45rem; color: var(--muted); font-size: .85rem; }
.review-controls button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--rule);
  color: var(--green);
  background: transparent;
  cursor: pointer;
}
.review-controls button[aria-disabled="true"] { color: var(--muted); cursor: default; }
.review-controls button:hover:not([aria-disabled="true"]) { background: var(--paper); }
.contact { color: var(--paper); background: var(--green); }
.contact h2 { font-size: clamp(4rem, 7.6vw, 7rem); line-height: .9; }
.contact h2 + p { margin-block: 1.5rem; color: #e0e7da; max-width: 28rem; }
.contact-platforms { display: flex; flex-wrap: wrap; column-gap: 1.25rem; margin-top: .65rem; }
.contact-platforms .text-link { color: #d4e0c1; font-weight: 500; }
.contact-details { border-top: 1px solid #aebe9170; }
.contact-details div { display: grid; grid-template-columns: minmax(4.5rem, .65fr) minmax(0, 1.35fr); align-items: baseline; gap: .8rem; padding: 1.05rem 0; border-bottom: 1px solid #aebe9170; }
.contact-details dt { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: #d4e0c1; }
.contact-details dd { line-height: 1.4; overflow-wrap: anywhere; }
.contact-details a, .footer-contact a { text-underline-offset: .25em; }
.contact-details a:hover, .footer-contact a:hover { text-decoration-thickness: 2px; }
.site-footer { background: var(--deep); color: var(--paper); }
.footer-inner { min-height: 6.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 1.3rem; }
.footer-inner p, .footer-inner nav, .footer-contact { font-size: .84rem; }
.footer-contact { display: grid; gap: .2rem; font-style: normal; }
.footer-contact a { padding-block: .2rem; min-height: 1.5rem; overflow-wrap: anywhere; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.footer-inner nav a { text-underline-offset: .25em; padding-block: .7rem; }

.mobile-contact { display: none; }

.gallery-dialog { width: min(52rem, calc(100% - 1.5rem)); max-height: calc(100% - 1.5rem); border: 0; color: var(--paper); background: var(--deep); padding: 0; }
.gallery-dialog::backdrop { background: #09110de8; }
.gallery-content { padding: 1rem; }
.gallery-head, .gallery-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.gallery-head { margin-bottom: .75rem; }
.gallery-head h2 { font-size: clamp(1.8rem, 5vw, 2.7rem); }
.gallery-photo { width: 100%; height: min(61svh, 38rem); object-fit: contain; background: #09150e; }
.gallery-comparison { display: flex; justify-content: center; gap: .4rem; padding-top: .55rem; }
.gallery-comparison button { min-height: 2.75rem; padding-inline: .75rem; border: 0; border-bottom: 2px solid transparent; cursor: pointer; background: transparent; color: var(--paper); font-size: .9rem; }
.gallery-comparison button[aria-pressed="true"] { border-bottom-color: var(--leaf); font-weight: 700; }
.gallery-comparison button:hover { color: #d4e0c1; }
.gallery-controls { margin-top: .35rem; }
.gallery-controls p { font-size: .85rem; }
.gallery-head button, .gallery-controls button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.75rem; min-width: 2.75rem; background: transparent; color: inherit; border: 0; cursor: pointer; padding-inline: .45rem; }
.gallery-head button:hover, .gallery-controls button:hover { color: #d4e0c1; }
body:has(dialog[open]) { overflow: hidden; }
.privacy { max-width: 48rem; min-height: 65svh; }
.privacy h1 { font-size: clamp(3.4rem, 7vw, 6rem); margin-bottom: 1.25rem; }
.privacy h2 { font-size: 2.6rem; margin-block: 1.8rem .65rem; }
.privacy p + p { margin-top: .75rem; }

@media (max-width: 950px) {
  .shell { width: calc(100% - 4rem); }
  .primary-nav { gap: .9rem; }
  .nav-quote { padding-inline: .7rem; gap: .5rem; }
  .footer-inner { display: grid; grid-template-columns: 1fr 1fr; }
  .review-track { grid-auto-columns: calc((100% - var(--review-gap)) / 2); }
}
@media (max-width: 760px) {
  :root { scroll-padding-top: 5.25rem; }
  .shell { width: calc(100% - 2.75rem); }
  html:not(.js) .site-header { position: static; }
  .header-inner { min-height: 4.35rem; flex-wrap: wrap; padding-block: .65rem; }
  .primary-nav { width: 100%; display: grid; gap: 0; border-top: 1px solid var(--rule); }
  .primary-nav > a:not(.button) { padding-inline: .45rem; }
  .nav-quote { justify-self: start; margin-block: .35rem .1rem; }
  .js .primary-nav { position: absolute; top: 100%; left: 0; padding: .55rem 1.375rem 1.05rem; background: var(--paper); box-shadow: 0 .5rem 1rem #14291f23; }
  .js .primary-nav:not(.is-open) { display: none; }
  .hero { min-height: 555px; }
  .hero-photo { object-position: 58% 57%; }
  .hero::after { background: linear-gradient(90deg, #0b1912e6, #0b19129c 57%, #0b191243), linear-gradient(0deg, #0b191274, #0b191200 45%); }
  .section-head, .contact-inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .section-head > p { justify-self: start; }
  .review-summary { justify-self: start; }
  .review-track { grid-auto-columns: 100%; }
  .review-track > li { scroll-snap-stop: always; }
  .section-head { margin-bottom: 2rem; }
  .section-head .eyebrow, .reviews .eyebrow { margin-bottom: .85rem; }
  .service-grid, .project-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .about { grid-template-columns: 1fr; }
  .about-image { min-height: clamp(250px, 60vw, 450px); }
  .about-copy { padding-inline: 1.375rem; }
  .contact-details { margin-top: 1.1rem; }
}
@media (max-width: 760px), (hover: none) and (pointer: coarse) and (max-height: 540px) and (max-width: 960px) {
  .has-mobile-contact {
    --contact-bar-button: 2.75rem;
    --contact-bar-pad: .375rem;
    --contact-bar-space: calc(var(--contact-bar-button) + 2 * var(--contact-bar-pad) + 1px + env(safe-area-inset-bottom, 0px));
    scroll-padding-bottom: calc(var(--contact-bar-space) + .5rem);
  }
  .has-mobile-contact .site-footer { padding-bottom: var(--contact-bar-space); }
  .mobile-contact {
    position: fixed;
    z-index: 4;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: var(--contact-bar-pad) max(.75rem, env(safe-area-inset-right, 0px)) calc(var(--contact-bar-pad) + env(safe-area-inset-bottom, 0px)) max(.75rem, env(safe-area-inset-left, 0px));
    border-top: 1px solid #aebe9170;
    background: var(--deep);
    color: var(--paper);
  }
  .mobile-contact a {
    display: flex;
    min-height: var(--contact-bar-button);
    align-items: center;
    justify-content: center;
    gap: .45rem;
    font-size: .875rem;
    font-weight: 700;
    text-decoration: none;
  }
  .mobile-contact a + a { border-left: 1px solid #aebe9170; }
  .mobile-contact a:focus-visible { outline-offset: -3px; }
  .mobile-contact a:hover { text-decoration: underline; text-underline-offset: .25em; }
  .mobile-contact svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}
@media (max-width: 490px) {
  .hero { min-height: 550px; }
  .hero h1 { font-size: clamp(3.5rem, 14.5vw, 5.05rem); }
  .hero-inner { padding-block: 4rem 5rem; }
  .hero-intro { max-width: 20rem; }
  .hero .button { padding-inline: .7rem; gap: .55rem; font-size: .81rem; }
  .service-grid, .project-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service h3 { margin-top: .9rem; }
  .contact-details div { grid-template-columns: 6rem minmax(0, 1fr); }
  .footer-inner { grid-template-columns: 1fr; align-items: start; gap: .8rem; }
  .footer-inner nav a { padding-block: .35rem; }
}
@media (max-width: 370px), (min-width: 761px) and (max-width: 900px) {
  .contact-details div { grid-template-columns: 1fr; gap: .25rem; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes enter { from { opacity: .6; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
  .has-entered { animation: enter .5s ease-out both; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.cookie-settings {
  border: 0;
  background: transparent;
  color: inherit;
  padding: .35rem 0;
  min-height: 2.75rem;
  text-decoration: underline;
  text-underline-offset: .25em;
  cursor: pointer;
}
.cookie-banner {
  position: fixed;
  z-index: 6;
  right: clamp(.75rem, 3vw, 2.5rem);
  bottom: calc(var(--contact-bar-space, env(safe-area-inset-bottom, 0px)) + .75rem);
  width: min(30rem, calc(100% - 1.5rem));
  display: grid;
  gap: .85rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--green);
  box-shadow: 0 .35rem 1.3rem #14291f2b;
  max-height: calc(100dvh - var(--contact-bar-space, 0px) - 1.5rem);
  overflow-y: auto;
}
.cookie-banner h2 { font-size: 1.9rem; margin-bottom: .35rem; }
.cookie-banner p { font-size: .875rem; color: var(--muted); }
.cookie-banner a { text-underline-offset: .2em; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.cookie-actions .button { min-height: 2.75rem; padding: .5rem .45rem; cursor: pointer; }
html:has(.cookie-banner:not([hidden])) {
  scroll-padding-bottom: calc(var(--cookie-banner-space, 0px) + var(--contact-bar-space, 0px) + 1rem);
}
html:has(.cookie-banner:not([hidden])) .site-footer {
  padding-bottom: calc(var(--cookie-banner-space, 0px) + var(--contact-bar-space, 0px) + 1rem);
}
html:has(.cookie-banner:not([hidden])) .privacy {
  padding-bottom: calc(var(--cookie-banner-space, 0px) + 1rem);
}
.privacy .cookie-settings { display: inline-block; font-weight: 700; }
.privacy .privacy-contact { font-style: normal; line-height: 1.65; }
