:root {
  --paper: #f7f5f1;
  --ink: #17252b;
  --muted: #526269;
  --accent: #b98545;
  --border: #d6d4cc;
  --serif: Georgia, "Times New Roman", serif;
}
.mobile-socials {
  display: none;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #728087;
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
}
.social-icon svg {
  width: 22px;
  height: 22px;
}
.social-icon:hover {
  background: #30434b;
  border-color: var(--accent);
}
@media (max-width: 700px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
  html {
    scroll-padding-bottom: 96px;
  }
  .mobile-socials {
    position: fixed;
    z-index: 5;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .mobile-socials .social-icon {
    width: 44px;
    height: 44px;
    box-shadow: 0 3px 16px #17252b33;
  }
  .mobile-contact {
    background: #21794d;
    border-color: #21794d;
  }
  .mobile-contact:hover {
    background: #185b39;
  }
  body.gallery-open .mobile-socials {
    display: none;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
p {
  line-height: 1.75;
  margin: 0 0 1.3rem;
}
h1,
h2,
h3 {
  font-weight: 400;
  margin: 0;
  font-family: var(--serif);
}
h1 {
  font-size: clamp(3.1rem, 5.1vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(2.2rem, 3.4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
em {
  font-weight: 400;
  color: var(--muted);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.wrap {
  width: min(1280px, calc(100% - 100px));
  margin-inline: auto;
}
.section {
  padding-block: 100px;
}
.eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
  line-height: 1.5;
}
.line {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 12px;
}
.site-header {
  background: var(--ink);
  color: var(--paper);
}
.header-inner {
  min-height: 106px;
  width: min(1380px, calc(100% - 80px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  width: 61px;
  height: 61px;
}
.brand span {
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  line-height: 1.7;
}
.brand strong {
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.22em;
}
nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 0.8rem;
}
nav a {
  padding: 10px 0;
}
nav [aria-current] {
  border-bottom: 1px solid var(--accent);
}
.nav-contact {
  border: 1px solid #728087;
  padding: 13px 20px;
}
.nav-contact span {
  margin-left: 24px;
}
.menu-toggle {
  background: transparent;
  border: 1px solid #728087;
  color: var(--paper);
  padding: 12px;
}
.menu-toggle[hidden] {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 45% 55%;
  max-width: 1600px;
  margin: auto;
}
.hero-copy {
  padding: 80px 45px 30px max(50px, calc((100vw - 1280px) / 2));
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.hero h1 {
  margin: 0 0 30px;
}
.hero-description {
  font-size: 0.93rem;
  max-width: 360px;
  color: var(--muted);
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  max-width: 100%;
  background: var(--ink);
  color: var(--paper);
  padding: 19px 23px;
  font-size: 0.79rem;
  line-height: 1.45;
  border: 1px solid var(--ink);
}
.button:hover {
  background: #30434b;
}
.button span {
  font-size: 1.2rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 8px;
  line-height: 1.6;
}
.text-link:hover {
  border-color: var(--ink);
}
.hero .text-link {
  margin-top: 23px;
}
.hero-note {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 60px;
  border-top: 1px solid var(--border);
  padding-top: 25px;
  width: 100%;
}
.hero-note > span {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--accent);
}
.hero-note p {
  font-size: 0.57rem;
  letter-spacing: 0.15em;
  line-height: 1.9;
  margin: 0;
}
.hero-note small {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0;
}
.hero-visual {
  position: relative;
  min-height: 735px;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  position: absolute;
  inset: 0;
}
.image-label {
  position: absolute;
  bottom: 22px;
  left: 28px;
  font-size: 0.56rem;
  letter-spacing: 0.15em;
  color: #fff;
  background: #17252bd9;
  padding: 12px 16px;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: end;
  margin-bottom: 48px;
}
.project-intro {
  max-width: 445px;
  color: var(--muted);
  font-size: 0.9rem;
}
.project-intro .text-link {
  color: var(--ink);
}
.gallery {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 25px;
  align-items: start;
}
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
}
.gallery-facade img {
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
}
.gallery-duplex {
  margin-top: 70px;
}
.gallery-duplex img {
  aspect-ratio: 5/4;
  width: 100%;
  object-fit: cover;
}
.gallery-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.gallery-caption > span:last-child {
  font-size: 1.2rem;
}
.image-disclaimer {
  font-size: 0.68rem;
  color: var(--muted);
  margin: 23px 0 0;
}
.about-teaser {
  background: #edeae3;
  padding-block: 90px;
}
.teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.teaser-inner > div:last-child {
  font-size: 0.92rem;
  color: var(--muted);
}
.teaser-inner .text-link {
  margin-top: 10px;
  color: var(--ink);
}
.contact {
  background: var(--ink);
  color: var(--paper);
  padding-block: 80px;
  border-bottom: 1px solid #455158;
}
.contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.contact .eyebrow {
  color: #d2ae7e;
}
.contact h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}
.button-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  flex-shrink: 0;
}
.button-light:hover {
  background: #e1dacf;
}
.site-footer {
  background: var(--ink);
  color: var(--paper);
}
.footer-top {
  padding-block: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.footer-top p {
  font-size: 0.75rem;
  color: #c6cdcf;
  margin: 0;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.77rem;
  overflow-wrap: anywhere;
}
.footer-bottom {
  border-top: 1px solid #455158;
  padding-block: 25px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 0.64rem;
  color: #c6cdcf;
}
.about-hero h1 {
  font-size: clamp(3rem, 5.5vw, 5.6rem);
  margin-bottom: 50px;
}
.about-lead {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: center;
}
.about-lead p {
  max-width: 600px;
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0;
}
.year-mark {
  font-family: var(--serif);
  font-size: 4.8rem;
  letter-spacing: -0.06em;
  border-left: 1px solid var(--border);
  padding-left: 55px;
  line-height: 1;
}
.year-mark small {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  margin-top: 16px;
}
.about-photo img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center 40%;
}
.about-photo p {
  font-size: 0.65rem;
  margin-top: 14px;
  color: var(--muted);
}
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.story-copy {
  font-size: 0.95rem;
  color: var(--muted);
}
.story-copy .text-link {
  color: var(--ink);
  margin-top: 15px;
}
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  padding-bottom: 100px;
}
.values article {
  border-top: 1px solid var(--border);
  padding-top: 25px;
}
.values article > span {
  font-size: 0.65rem;
  color: var(--muted);
}
.values h3 {
  font-size: 1.8rem;
  margin: 25px 0 16px;
}
.values p {
  font-size: 0.85rem;
  color: var(--muted);
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  background: white;
  color: var(--ink);
  padding: 15px;
  z-index: 10;
}
.skip-link:focus {
  top: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
dialog {
  border: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 20px;
  width: min(1000px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
}
dialog::backdrop {
  background: #071015e8;
}
.dialog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  gap: 15px;
  font-size: 0.75rem;
}
.dialog-toolbar button,
.dialog-controls button {
  background: transparent;
  color: var(--paper);
  border: 1px solid #728087;
  padding: 12px 16px;
}
.dialog-image {
  max-height: 65dvh;
  width: 100%;
  object-fit: contain;
}
.dialog-caption {
  font-size: 0.8rem;
  margin: 18px 0;
}
.dialog-controls {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
@media (min-width: 701px) {
  .menu-toggle {
    display: none;
  }
}
@media (min-width: 1600px) {
  .hero-copy {
    padding-left: 160px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .header-inner {
    width: calc(100% - 64px);
  }
  nav {
    gap: 20px;
  }
  .hero-copy {
    padding: 60px 30px 30px 32px;
  }
  .hero-visual {
    min-height: 680px;
  }
  .hero h1 {
    font-size: 3.5rem;
  }
  .section-heading,
  .teaser-inner,
  .story {
    gap: 45px;
  }
  .hero-note {
    margin-top: 40px;
  }
  .button {
    gap: 15px;
  }
  .year-mark {
    padding-left: 30px;
    font-size: 4rem;
  }
  .contact-inner {
    gap: 25px;
  }
  .footer-top {
    flex-wrap: wrap;
  }
}
@media (max-width: 700px) {
  .wrap,
  .header-inner {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 86px;
    flex-wrap: wrap;
    padding-block: 12px;
  }
  .brand img {
    width: 52px;
    height: 52px;
  }
  .brand strong {
    font-size: 1.05rem;
  }
  .brand span {
    font-size: 0.45rem;
  }
  .menu-toggle:not([hidden]) {
    display: block;
  }
  nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-block: 5px 12px;
  }
  .nav-contact {
    padding: 10px 15px;
  }
  .menu-enhanced nav {
    display: none;
  }
  .menu-enhanced.menu-open nav {
    display: flex;
  }
  .hero {
    display: flex;
    flex-direction: column;
  }
  .hero-copy {
    padding: 45px 24px 30px;
  }
  .hero h1 {
    font-size: 3.55rem;
    line-height: 1.06;
    margin-bottom: 23px;
  }
  .hero .eyebrow {
    font-size: 0.6rem;
    margin-bottom: 25px;
  }
  .hero-description {
    max-width: 450px;
  }
  .hero-note {
    margin-top: 30px;
    padding-top: 18px;
  }
  .hero-visual {
    height: 540px;
    min-height: 0;
  }
  .hero-visual img {
    object-position: center 60%;
  }
  .image-label {
    left: 20px;
    bottom: 20px;
  }
  .section {
    padding-block: 60px;
  }
  .section-heading,
  .teaser-inner,
  .story {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .section-heading {
    margin-bottom: 35px;
  }
  .project-intro {
    max-width: none;
  }
  .gallery {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .gallery-facade img {
    aspect-ratio: 4/5;
    object-position: center 65%;
  }
  .gallery-duplex {
    margin-top: 0;
  }
  .gallery-caption {
    padding: 14px 0;
  }
  .about-teaser {
    padding-block: 60px;
  }
  .contact {
    padding-block: 55px;
  }
  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }
  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
    padding-block: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    padding-block: 23px;
  }
  .about-hero h1 {
    font-size: 3rem;
    margin-bottom: 30px;
  }
  .about-lead {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .about-lead p {
    font-size: 1rem;
  }
  .year-mark {
    padding: 0;
    border: 0;
    font-size: 3.5rem;
  }
  .about-photo img {
    height: 330px;
  }
  .values {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 55px;
  }
  .values h3 {
    margin-top: 15px;
  }
  .values article {
    padding-top: 20px;
  }
  .dialog-toolbar {
    font-size: 0.65rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
