@font-face {
  font-family: Montserrat;
  src: url("assets/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --forest: #23332d;
  --sand: #a5967c;
  --sand-light: #ded1b9;
  --paper: #f7f5f0;
  --ink: #23332d;
  --muted: #53605a;
  --rule: #dcded6;
  --gutter: clamp(20px, 5.55vw, 100px);
  color: var(--ink);
  background: #fff;
  font: 400 1rem/1.65 Montserrat, Arial, sans-serif;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #0c7454; outline-offset: 5px; }
.hero a:focus-visible, .site-footer a:focus-visible, dialog button:focus-visible { outline-color: #f9d78d; }
[hidden] { display: none !important; }

.wrap { width: min(100% - var(--gutter) * 2, 1320px); margin-inline: auto; }
.skip { position: absolute; z-index: 3; top: 8px; left: 12px; transform: translateY(-150%); background: white; padding: 8px 16px; }
.skip:focus { transform: none; }

.site-header { background: white; }
.header-inner { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-block; width: 154px; flex-shrink: 0; }
.main-nav, .footer-main nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 50px); }
.main-nav a, .footer-main nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .79rem; font-weight: 650; }
.main-nav a[aria-current="page"], .main-nav a:hover, .footer-main nav a:hover, .back-link:hover { text-decoration: underline; text-underline-offset: .32em; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  min-height: clamp(520px, 48vw, 715px);
  background: var(--forest);
  color: white;
}
.hero-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 6vw, 100px) clamp(26px, 4vw, 76px) clamp(56px, 6vw, 100px) max(var(--gutter), calc((100vw - 1320px) / 2));
}
.kicker {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .675rem;
  line-height: 1.4;
  font-weight: 750;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.kicker-line { flex: 0 0 27px; height: 1px; background: #796b52; }
.hero .kicker { color: var(--sand-light); }
.hero .kicker-line { background: var(--sand); }

h1, h2, h3 { line-height: 1.08; letter-spacing: -.055em; font-weight: 600; }
.hero h1 { font-size: clamp(3rem, 5.45vw, 6rem); margin: 24px 0 22px; }
.hero h1 span { color: var(--sand-light); font-weight: 500; }
.hero-description { max-width: 350px; font-size: clamp(.9rem, 1.16vw, 1rem); color: #edf0ec; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 52px;
  padding: 11px 19px;
  border: 1px solid transparent;
  font-size: .8rem;
  font-weight: 720;
  transition: background-color .2s, color .2s, border-color .2s;
}
.button-light { background: var(--sand-light); color: var(--forest); margin-top: 30px; }
.button-light:hover { background: white; }
.button span { font-size: 1.12rem; line-height: 1; }

.hero-visual { position: relative; min-height: 100%; background: #695848; }
.hero-visual img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 51% 50%; }
.hero-visual figcaption {
  position: absolute;
  right: clamp(16px, 3vw, 42px);
  bottom: clamp(16px, 3vw, 42px);
  display: grid;
  gap: 3px;
  color: white;
  background: var(--forest);
  border-left: 2px solid var(--sand);
  padding: 10px 15px;
  font-size: .82rem;
  font-weight: 650;
}
.hero-visual figcaption small { font-size: .63rem; color: #e9ddc8; font-weight: 500; }

.section { padding-block: clamp(56px, 7.4vw, 116px); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(26px, 3vw, 46px);
}
.section-heading h2, .about h2, .detail-gallery h2 { font-size: clamp(2rem, 4.35vw, 4rem); margin-top: 12px; }
.section-heading > p, .about-copy > p:not(.kicker), .page-intro > p:not(.kicker) { max-width: 490px; color: var(--muted); font-size: .94rem; }
.page-intro h1 { font-size: clamp(1.85rem, 6.4vw, 5.5rem); margin: 14px 0 20px; overflow-wrap: anywhere; }
.about-copy.page-intro h1 { font-size: clamp(2.35rem, 4.7vw, 4.8rem); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: .65rem; font-size: .82rem; font-weight: 700; text-decoration: underline; text-underline-offset: .32em; }
.text-link:hover { color: #0c7454; }
.section-action { margin-top: 14px; }
.project-sections { display: flex; flex-wrap: wrap; align-items: center; column-gap: clamp(16px, 3vw, 40px); border-bottom: 1px solid var(--rule); padding-block: 9px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.65vw, 40px); }
.project-link { display: block; border-bottom: 1px solid var(--rule); }
.project-image { position: relative; aspect-ratio: 1.56; overflow: hidden; background: var(--paper); }
.project-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 51%; transition: transform .4s; }
.project-image .santa-cover { object-position: center 51%; }
.project-link:hover img, .gallery-link:hover img { transform: scale(1.035); }
.image-label { position: absolute; left: 13px; bottom: 13px; background: white; padding: 5px 9px; color: var(--forest); font-weight: 650; font-size: .62rem; }
.project-details { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0 24px; }
.project-details :is(h2, h3) { font-size: clamp(1.38rem, 2.5vw, 2.42rem); margin-top: 8px; }
.project-details .kicker { color: #62583f; }
.project-description { color: var(--muted); font-size: .88rem; max-width: 39ch; margin-top: 10px; }
.round-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  border: 1px solid #bcc4bc;
  font-size: 1.2rem;
  transition: background-color .2s, color .2s;
}
.project-link:hover .round-arrow, .project-link:focus-visible .round-arrow { background: var(--forest); color: white; }

.about { background: var(--paper); }
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 8vw, 136px);
  padding-block: clamp(55px, 6.7vw, 105px);
}
.about h2 { max-width: 12em; margin-bottom: 23px; }
.about-image img { width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.about-image figcaption { color: var(--muted); font-size: .68rem; margin-top: 9px; }

.site-footer { background: var(--forest); color: white; padding-block: 40px 23px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 30px; }
.footer-meta { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #586960; padding-top: 17px; font-size: .72rem; color: #e5e5dc; }

.detail-intro { padding-block: clamp(40px, 6vw, 90px) clamp(40px, 6vw, 86px); background: var(--paper); }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: clamp(20px, 4vw, 54px); font-size: .78rem; font-weight: 700; }
.detail-header { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px 52px; align-items: end; }
.detail-header h1 { max-width: 12ch; margin-top: 16px; font-size: clamp(2.8rem, 6.15vw, 6rem); }
.detail-header .detail-description { max-width: 410px; color: var(--muted); }
.detail-facts { display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid #cdcec4; }
.detail-facts dt { font-size: .63rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.detail-facts dd { margin: 4px 0 0; font-size: .79rem; }
.detail-cover { background: var(--forest); }
.detail-cover img { width: 100%; height: clamp(240px, 50vw, 670px); object-fit: cover; object-position: center 51%; }
.detail-cover-santa img { object-position: center 53%; }
.detail-cover figcaption { padding-block: 10px; color: #e9e3d8; font-size: .72rem; }
.detail-gallery .section-heading { align-items: start; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px clamp(16px, 2.6vw, 38px); }
.gallery-portraits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-portraits .gallery-link img { aspect-ratio: 4 / 5; }
.gallery-link { display: block; position: relative; overflow: hidden; background: var(--paper); }
.gallery-link img { width: 100%; aspect-ratio: 1.42; object-fit: cover; transition: transform .4s; }
.gallery-link::after { content: '+'; position: absolute; bottom: 11px; right: 11px; display: grid; place-items: center; width: 38px; height: 38px; background: white; color: var(--forest); font-size: 1.22rem; }
.gallery-grid figcaption, .floor-plan figcaption { padding-block: 9px; font-size: .76rem; font-weight: 640; }
.floor-plan { max-width: 930px; }
.floor-plan .gallery-link img { aspect-ratio: auto; object-fit: contain; }
.video-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 38px; background: var(--paper); padding: clamp(22px, 5vw, 70px); margin-top: clamp(28px, 6vw, 80px); }
.video-wrap video { display: block; max-width: 100%; width: min(100%, 310px); max-height: 580px; aspect-ratio: 9 / 16; justify-self: center; background: var(--forest); }
.video-wrap h2 { margin: 12px 0 14px; }
.video-wrap p:last-child { color: var(--muted); font-size: .9rem; }
.next-project { background: var(--paper); }
.next-project a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: clamp(26px, 5vw, 65px); }
.next-project strong { display: block; font-size: clamp(1.5rem, 3vw, 2.9rem); font-weight: 620; letter-spacing: -.055em; line-height: 1.1; margin-top: 7px; }
.next-project a:hover .round-arrow { background: var(--forest); color: white; }

dialog {
  width: min(94vw, 1150px);
  max-height: 94vh;
  max-height: 94dvh;
  padding: 0;
  border: none;
  background: #192520;
  color: white;
}
dialog::backdrop { background: #101915eb; }
.viewer-top, .viewer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px; gap: 10px; }
.viewer-top h2 { font-size: .9rem; letter-spacing: 0; }
.viewer-bottom p { margin-inline: auto; font-size: .76rem; text-align: center; }
.viewer img { width: 100%; height: min(71vh, 780px); height: min(71dvh, 780px); object-fit: contain; }
.viewer button { display: grid; place-items: center; flex: 0 0 44px; min-width: 44px; min-height: 44px; border: 1px solid #748077; background: transparent; color: white; cursor: pointer; }
.viewer button:hover { background: #3b5045; }
body:has(dialog[open]) { overflow: hidden; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 48fr) minmax(0, 52fr); }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 68px; gap: 12px; }
  .site-header .brand { width: clamp(88px, 24vw, 126px); }
  .main-nav { gap: clamp(8px, 3vw, 24px); }
  .main-nav a { font-size: clamp(.63rem, 2.65vw, .79rem); }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 44px var(--gutter) 39px; }
  .hero h1 { font-size: clamp(2.9rem, 10.8vw, 5.1rem); margin: 17px 0 15px; }
  .hero-visual { min-height: 0; aspect-ratio: 1.38; }
  .hero-visual img { object-position: center 51%; }
  .hero-visual figcaption { bottom: 11px; right: 11px; padding: 7px 10px; font-size: .7rem; }
  .hero-visual figcaption small { font-size: .59rem; }
  .button-light { margin-top: 23px; }
  .project-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-inner, .detail-header { grid-template-columns: 1fr; }
  .footer-main { flex-wrap: wrap; }
  .footer-main .brand { width: 122px; }
  .footer-meta { flex-wrap: wrap; }
  .video-wrap { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 430px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-portraits .gallery-link img { aspect-ratio: 4 / 4.5; }
  .footer-main { gap: 14px; }
  .footer-main nav a { font-size: .72rem; }
}

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