:root {
  --ivory: #fbf8f1;
  --paper: #f3eee3;
  --sage: #a8b4a2;
  --green: #53634f;
  --ink: #283029;
  --gold: #b48a48;
  --gold-text: #966821;
  --wine: #954552;
  --line: #d9cbb7;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --script: "Allura", "Segoe Script", cursive;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--ivory);
  color: var(--ink);
  font: 15px/1.55 var(--sans);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid #ad8240;
  outline-offset: 4px;
}

img,
svg {
  display: block;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  height: 58px;
  padding: 4px 2.4vw;
  gap: 18px;
  border-bottom: 1px solid #eae2d5;
  background: rgba(251, 248, 241, .97);
}

.header-botanical {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: clamp(94px, 12.5vw, 140px);
  height: 100%;
  color: var(--sage);
  opacity: .82;
  pointer-events: none;
}

.brand {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  margin-left: clamp(78px, 10.7vw, 150px);
  color: var(--green);
  line-height: 1;
}

.brand-name {
  white-space: nowrap;
  font: 400 48px/.76 var(--script);
  letter-spacing: -.9px;
}

.brand small {
  margin: 5px 0 0 18px;
  color: var(--gold-text);
  font: 500 8px/1.2 var(--sans);
  letter-spacing: 2.5px;
}

.main-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.75vw, 25px);
  min-width: 0;
  margin-left: auto;
  font: 400 13px/1.2 var(--serif);
  white-space: nowrap;
}

.main-nav > a:not(.appointment) {
  position: relative;
  padding: 7px 0;
}

.main-nav > a:not(.appointment)::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.main-nav > a:hover::after,
.main-nav > a.active::after {
  transform: scaleX(1);
}

.main-nav > a.active {
  color: var(--gold-text);
}

.appointment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 42px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(110deg, #956821, #91651f);
  box-shadow: 0 2px 4px #48341718;
  color: #fffdfa;
  font: 500 14px/1.2 var(--serif);
  text-align: center;
  transition: box-shadow .2s ease, transform .2s ease;
}

.appointment:hover {
  box-shadow: 0 5px 12px #48341724;
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 8px 12px;
  background: transparent;
  color: var(--green);
  font: 600 11px var(--sans);
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  min-height: clamp(470px, 46.5vw, 680px);
  overflow: hidden;
  background: var(--ivory);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  width: 100%;
  background: none;
  padding: 42px clamp(20px, 3vw, 48px) 42px calc(2.4vw + clamp(78px, 10.7vw, 150px));
}

.hero .eyebrow,
.section-intro .eyebrow,
.approach-heading .eyebrow,
.project-copy .eyebrow {
  margin: 0 0 10px;
  color: var(--gold-text);
  font: 500 11px/1.3 var(--sans);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.hero .eyebrow::after {
  display: inline-block;
  width: 36px;
  height: 1px;
  margin: 0 0 3px 16px;
  background: var(--gold);
  content: "";
}

.hero h1,
.section-intro h2,
.approach-heading h2,
.project-copy h2 {
  margin: 0;
  color: var(--ink);
  font: 500 clamp(38px, 4.2vw, 58px)/1.04 var(--serif);
  letter-spacing: -1.6px;
}

.hero h1 {
  max-width: 100%;
  margin-bottom: 5px;
  font-size: clamp(66px, 7.5vw, 94px);
  line-height: .86;
  letter-spacing: -3.3px;
}

.hero-tagline {
  max-width: 460px;
  margin: 12px 0 14px;
  color: var(--gold-text);
  font: 500 clamp(25px, 2.9vw, 36px)/1.1 var(--serif);
  letter-spacing: -.5px;
}

.hero-description {
  max-width: 390px;
  margin: 0 0 17px;
  font: 16px/1.42 var(--serif);
}

.hero-copy .appointment {
  min-width: 260px;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
}

.hero-composition {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.realizations {
  position: relative;
  overflow: hidden;
  padding: 28px clamp(22px, 5vw, 78px) 42px;
  background: var(--ivory);
  text-align: center;
}

.section-intro {
  position: relative;
  z-index: 1;
  max-width: 1050px;
  margin: 0 auto 32px;
}

.section-intro .eyebrow,
.approach-heading .eyebrow {
  margin-bottom: 4px;
}

.section-kicker::before,
.section-kicker::after {
  display: inline-block;
  width: 34px;
  height: 1px;
  margin: 0 12px 3px;
  background: var(--gold);
  content: "";
}

.section-intro h2 {
  font-size: clamp(34px, 3.7vw, 47px);
  font-weight: 400;
  letter-spacing: .15px;
}

.section-intro > p:last-child,
.approach-heading > p:last-child {
  margin: 3px auto 0;
  color: #494b43;
  font: 15px/1.42 var(--serif);
}

.gallery {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 24px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.project {
  min-width: 0;
  margin: 0;
}

.project-image {
  overflow: hidden;
  aspect-ratio: 1.18 / 1;
  background: var(--paper);
}

.project-image picture,
.project-image img {
  width: 100%;
  height: 100%;
}

.project-image img {
  object-fit: cover;
  object-position: center center;
}

.project:nth-child(2) .project-image img {
  object-position: center 55%;
}

.gallery-trigger {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.gallery-trigger picture {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-trigger img {
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.gallery-trigger:hover img,
.gallery-trigger:focus-visible img {
  transform: scale(1.025);
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 5vh 7vw;
  background: rgba(40, 48, 41, .88);
  opacity: 0;
  transition: opacity .28s ease;
  touch-action: pan-y;
}

.lightbox.is-open {
  opacity: 1;
}

.lightbox-frame {
  display: grid;
  place-items: center;
  width: min(100%, 1180px);
  height: min(86vh, 920px);
  transform: scale(.975);
  transition: transform .32s cubic-bezier(.2, .7, .2, 1);
}

.lightbox.is-open .lightbox-frame {
  transform: scale(1);
}

.lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 38px rgba(0, 0, 0, .16));
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(251, 248, 241, .68);
  background: rgba(251, 248, 241, .94);
  color: var(--green);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: #fff;
  transform: scale(1.04);
}

.lightbox-close {
  top: 22px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font: 300 29px/1 var(--sans);
}

.lightbox-nav {
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font: 300 33px/1 var(--serif);
  transform: translateY(-50%);
}

.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.04);
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 1000px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 22px;
  }

  .project-image {
    aspect-ratio: 1.3 / 1;
  }
}

@media (max-width: 600px) {
  .lightbox {
    padding: 8vh 14px;
  }

  .lightbox-frame {
    width: 100%;
    height: 82svh;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 14px;
    width: 42px;
    height: 42px;
    transform: none;
  }

  .lightbox-nav:hover {
    transform: scale(1.04);
  }

  .lightbox-prev {
    left: calc(50% - 52px);
  }

  .lightbox-next {
    right: calc(50% - 52px);
  }
}

.section-botanical {
  position: absolute;
  z-index: 0;
  top: 22px;
  width: clamp(56px, 7vw, 92px);
  height: 78%;
  color: var(--gold);
  opacity: .82;
  pointer-events: none;
}

.section-botanical--left {
  left: 0;
}

.section-botanical--right {
  right: 0;
}

.approach {
  position: relative;
  overflow: hidden;
  padding: 8px 6vw 6px;
  background:
    radial-gradient(ellipse at 0% 40%, rgba(168, 180, 162, .21), transparent 42%),
    radial-gradient(ellipse at 100% 80%, rgba(168, 180, 162, .18), transparent 45%),
    linear-gradient(110deg, #eef0e5, var(--ivory) 52%, #f1f0e4);
  text-align: center;
}

.approach-heading {
  max-width: 930px;
  margin: 0 auto 4px;
}

.approach-heading h2 {
  font-size: clamp(35px, 3.8vw, 49px);
  letter-spacing: -1.3px;
}

.approach-heading > p:last-child {
  max-width: 820px;
}

.commitments {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1300px;
  margin: 0 auto;
}

.commitment {
  position: relative;
  min-width: 0;
  padding: 0 18px;
}

.commitment + .commitment::before {
  position: absolute;
  top: 44px;
  bottom: 0;
  left: 0;
  border-left: 1px solid #d8c9a9;
  content: "";
}

.commitment-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 4px;
  border-radius: 50%;
  background: #e6e8d7;
  color: #bd862d;
}

.commitment-icon svg {
  width: 41px;
  height: 41px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.commitment h3 {
  margin: 0 0 2px;
  font: 500 19px/1.16 var(--serif);
  letter-spacing: -.25px;
}

.commitment p {
  max-width: 230px;
  margin: 0 auto;
  color: #4c4d46;
  font: 13px/1.28 var(--serif);
}

.project-callout {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  min-height: 207px;
  overflow: hidden;
  background: var(--ivory);
}

.project-photo {
  position: relative;
  min-width: 0;
  min-height: 207px;
}

.project-photo picture {
  position: absolute;
  inset: 0;
  clip-path: url(#project-photo-mask);
}

.project-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
}

.project-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 700px;
  padding: 20px clamp(36px, 5.2vw, 72px) 20px 18px;
}

.project-copy .eyebrow {
  margin-bottom: 4px;
  color: var(--green);
}

.project-copy h2 {
  margin-bottom: 6px;
  font-size: clamp(32px, 3.3vw, 45px);
  line-height: 1.08;
  letter-spacing: -1.3px;
}

.project-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin: 0;
  color: #494b43;
  font: 14px/1.38 var(--serif);
}

.project-copy > .project-email {
  margin-top: 9px;
}

.project-email a {
  color: var(--gold-text);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: .18em;
}

.project-botanical {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(72px, 9vw, 116px);
  height: 100%;
  color: var(--gold);
  opacity: .85;
  pointer-events: none;
}

.site-footer {
  display: flex;
  align-items: center;
  min-height: 75px;
  padding: 10px 4.5vw;
  gap: 22px;
  border-top: 1px solid #e8e0d2;
  background: var(--ivory);
  color: var(--ink);
}

.site-footer .footer-brand {
  margin-left: 0;
}

.footer-brand .brand-name {
  font-size: 38px;
}

.footer-brand small {
  margin: 2px 0 0 5px;
  font-size: 6px;
  letter-spacing: 2px;
}

.footer-rule {
  flex: 1 1 90px;
  max-width: 190px;
  height: 1px;
  background: var(--gold);
}

.footer-nav {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 0;
  margin: 0;
  font: 13px/1.3 var(--serif);
  white-space: nowrap;
}

.footer-nav a {
  padding: 0 13px;
  border-right: 1px solid #b9b4a8;
}

.footer-nav a:last-child {
  border: 0;
}

.footer-icons {
  display: flex;
  align-items: center;
  gap: 19px;
  color: var(--ink);
}

.footer-icons svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-icons .icon-dot {
  fill: currentColor;
  stroke: none;
}

.social-mark {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  opacity: 1;
  cursor: default;
}

@media (max-width: 1140px) and (min-width: 961px) {
  .site-header {
    padding-right: 2vw;
    padding-left: 2vw;
    gap: 12px;
  }

  .brand {
    margin-left: 10.5vw;
  }

  .brand-name {
    font-size: 48px;
  }

  .brand small {
    margin-left: 12px;
    font-size: 7px;
    letter-spacing: 2px;
  }

  .main-nav {
    gap: clamp(17px, 2.3vw, 27px);
    font-size: 14px;
  }

  .hero-copy {
    padding-left: 12.5vw;
    padding-right: 20px;
    transform: translateY(15px);
  }

  .hero h1 {
    font-size: clamp(64px, 7.2vw, 78px);
    margin-bottom: 10px;
  }

  .hero-tagline {
    font-size: clamp(24px, 2.55vw, 28px);
  }
}

@media (max-width: 960px) {
  .site-header {
    height: 70px;
    padding: 6px 5vw;
  }

  .site-header > .brand {
    margin-left: 0;
  }

  .brand-name {
    font-size: 39px;
  }

  .brand small {
    margin-top: 3px;
    margin-left: 4px;
    font-size: 7px;
  }

  .menu-button {
    position: relative;
    z-index: 2;
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin: 0;
    padding: 19px 6vw 22px;
    border-top: 1px solid var(--line);
    background: var(--ivory);
    box-shadow: 0 10px 20px #00000014;
    white-space: normal;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a:not(.appointment) {
    font-size: 16px;
  }

  .hero-copy {
    padding-left: 8vw;
  }

  .site-footer {
    flex-wrap: wrap;
  }

  .footer-rule {
    max-width: none;
  }
}

@media (max-width: 800px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hero-copy {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    background: none;
    padding: 43px 7vw 31px;
    text-align: center;
  }

  .hero .eyebrow::after {
    display: none;
  }

  .hero h1 {
    font-size: clamp(62px, 11vw, 84px);
  }

  .hero-tagline,
  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-tagline {
    font-size: clamp(26px, 5vw, 34px);
  }

  .hero-art {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 0;
    aspect-ratio: 1024 / 476;
  }

  .realizations {
    padding-right: 6vw;
    padding-left: 6vw;
  }

  .approach {
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .commitments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }

  .commitment {
    padding: 0 15px;
  }

  .commitment:nth-child(3)::before {
    display: none;
  }

  .commitment:nth-child(3),
  .commitment:nth-child(4) {
    padding-top: 17px;
    border-top: 1px solid #d8c9a9;
  }

  .commitment + .commitment::before {
    top: 34px;
    bottom: 5px;
  }

  .project-callout {
    grid-template-columns: 1fr;
  }

  .project-photo {
    min-height: clamp(230px, 58vw, 330px);
  }

  .project-photo picture {
    clip-path: none;
  }

  .project-copy {
    max-width: 620px;
    margin: 0 auto;
    padding: 28px 7vw 38px;
    text-align: center;
  }

  .project-copy > p:not(.eyebrow) {
    margin-right: auto;
    margin-left: auto;
  }

  .project-botanical {
    width: 76px;
    height: 210px;
    top: auto;
    bottom: 0;
  }

  .site-footer {
    justify-content: center;
    gap: 13px 22px;
    padding: 19px 6vw;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-rule {
    flex-basis: 100%;
    width: 60%;
    max-width: 420px;
    order: 1;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    order: 2;
    row-gap: 8px;
  }

  .footer-icons {
    order: 3;
  }
}

@media (max-width: 700px) {
  .realizations {
    padding: 28px 6vw 36px;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 520px;
  }

  .project-image {
    aspect-ratio: 1.55 / 1;
  }

  .section-intro {
    margin-bottom: 20px;
  }

  .section-intro h2 {
    font-size: clamp(31px, 8vw, 38px);
    letter-spacing: .15px;
  }

  .section-intro > p:last-child,
  .approach-heading > p:last-child {
    font-size: 14px;
  }

  .section-botanical {
    display: none;
  }

  .approach-heading h2 {
    font-size: clamp(34px, 8.6vw, 43px);
  }

  .commitment {
    padding-right: 10px;
    padding-left: 10px;
  }

  .commitment h3 {
    font-size: 18px;
  }

  .commitment p {
    font-size: 13px;
  }

  .project-copy h2 {
    font-size: clamp(35px, 9vw, 42px);
  }

  .project-botanical {
    opacity: .38;
  }
}

@media (max-width: 390px) {
  .brand-name {
    font-size: 36px;
  }

  .hero-copy {
    padding-right: 6vw;
    padding-left: 6vw;
  }

  .hero-tagline {
    font-size: 25px;
  }

  .hero-copy .appointment {
    min-width: 0;
    padding-right: 20px;
    padding-left: 20px;
  }

  .section-kicker::before,
  .section-kicker::after {
    width: 23px;
    margin-right: 8px;
    margin-left: 8px;
  }

  .commitments {
    row-gap: 20px;
  }

  .commitment h3 {
    font-size: 17px;
  }

  .footer-nav a {
    padding-right: 8px;
    padding-left: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}

@supports (width: 1cqw) {
  @media (min-width: 801px) {
    .hero {
      container-type: inline-size;
    }

    .hero-copy {
      --wi: max(100cqw, calc(clamp(470px, 46.5vw, 680px) * 2.15126));
      --xc: calc(var(--wi) * .255 - (var(--wi) - 100cqw) / 2);
      --w: max(260px, min(
        460px,
        calc(var(--wi) * .32),
        calc(2 * (var(--xc) - 24px))
      ));

      grid-column: 1 / -1;
      justify-self: start;
      width: var(--w);
      margin-left: calc(var(--xc) - var(--w) / 2);
      padding: 42px 0;
    }
  }
}
