:root {
  color-scheme: light;
  --paper: #f6f2e9;
  --ink: #2d2522;
  --muted: #655952;
  --wine: #54262e;
  --wine-dark: #3b1c22;
  --line: #d8cfc2;
  --light: #fff8ed;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.6 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.11; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #aa645c; outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
section[id] { scroll-margin-top: 24px; }
.skip { position: fixed; z-index: 5; top: 8px; left: 8px; padding: 10px 16px; color: white; background: var(--wine); transform: translateY(-150%); }
.skip:focus { transform: none; }

.header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 86px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.wordmark { display: grid; justify-items: center; justify-self: start; gap: 2px; width: fit-content; line-height: 1; }
.wordmark img { width: 137px; height: auto; filter: brightness(0) saturate(100%) invert(13%) sepia(29%) saturate(1692%) hue-rotate(305deg) brightness(93%) contrast(87%); }
.wordmark span { color: var(--wine); font-size: 9px; font-weight: 700; letter-spacing: .34em; padding-left: .34em; }
nav { display: flex; align-items: center; gap: clamp(21px, 3.1vw, 48px); }
nav a { font-size: 14px; font-weight: 600; }
nav a:hover { color: #8a4b4f; }
.button { display: inline-flex; width: fit-content; align-items: center; justify-content: center; gap: 18px; padding: 13px 19px; min-height: 48px; background: var(--wine); color: var(--light); border: 1px solid transparent; font-size: 13px; font-weight: 700; transition: background .18s, color .18s; }
.button span, .underlink span { font-size: 1.2em; line-height: 1; }
.button:hover { background: var(--wine-dark); }
.header-cta { justify-self: end; padding-inline: 16px; min-height: 43px; }
.underlink { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding-block: 5px; border-bottom: 1px solid currentColor; color: var(--wine); font-size: 13px; font-weight: 700; white-space: nowrap; }
.underlink:hover { color: #8a4b4f; }

.hero { display: grid; grid-template-columns: .93fr 1fr; align-items: center; gap: clamp(38px, 5.2vw, 86px); padding-block: 43px 37px; }
.hero-copy { padding: 32px 0 52px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--wine); font-size: 11px; font-weight: 700; letter-spacing: .17em; line-height: 1.5; text-transform: uppercase; }
.eyebrow > span { width: 21px; height: 1px; flex: 0 0 auto; background: currentColor; opacity: .7; }
.hero h1 { margin: 23px 0 24px; font-size: clamp(53px, 6.3vw, 104px); letter-spacing: -.07em; }
.hero h1 em, .contact h2 em { display: block; font-weight: 400; color: var(--wine); }
.hero-lede { max-width: 435px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 26px; margin-top: 29px; }
.hero-visual { min-width: 0; }
.hero-visual > img { height: clamp(455px, 44vw, 632px); object-fit: cover; object-position: 50% 51%; background: #5a3d35; }
.hero-visual figcaption { display: flex; justify-content: space-between; gap: 14px; padding-top: 11px; color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.disciplines { border-block: 1px solid var(--line); }
.disciplines .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; }
.disciplines span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; text-align: center; }
.disciplines span + span::before { content: "◆"; display: inline-block; margin-right: clamp(10px, 3vw, 40px); color: #976d62; font-size: 8px; vertical-align: 1px; }

.section { padding-block: clamp(68px, 8vw, 120px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 30px; }
h2 { font-size: clamp(42px, 5.4vw, 77px); letter-spacing: -.062em; margin-top: 12px; }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project-link { display: block; }
.project-photo { position: relative; overflow: hidden; background: #d5c7b9; }
.project-photo img { aspect-ratio: 1.1; height: auto; object-fit: cover; transition: transform .35s; }
.project:first-child img { object-position: center 57%; }
.project-link:hover img { transform: scale(1.035); }
.photo-tag { position: absolute; bottom: 12px; left: 12px; padding: 5px 9px; background: var(--paper); color: var(--wine); font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.project-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 15px 0 12px; border-bottom: 1px solid var(--line); }
.project-line h3 { font-size: clamp(23px, 2.8vw, 38px); letter-spacing: -.045em; }
.project-line p { margin-top: 5px; color: var(--muted); font-size: 12px; }
.circle-arrow { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #b5a39a; border-radius: 50%; color: var(--wine); }
.project-link:hover .circle-arrow { background: var(--wine); color: var(--light); }
.project-details { display: grid; gap: 35px; margin-top: 35px; }
.project-detail h3 { font-size: clamp(31px, 5vw, 51px); margin: 8px 0 13px; }
.project-detail > p:not(.eyebrow) { color: var(--muted); max-width: 62ch; }
.detail-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.detail-gallery img { aspect-ratio: 4 / 5; object-fit: cover; }
.detail-image { margin-top: 20px; max-height: 440px; object-fit: contain; object-position: left; }
.detail-caption { margin-top: 8px; font-size: 12px; }
.project-dialog { width: min(720px, calc(100% - 24px)); max-height: calc(100% - 28px); padding: 0; border: 0; color: var(--ink); background: var(--paper); }
.project-dialog::backdrop { background: #211316b8; }
.dialog-inner { position: relative; padding: 33px; }
.dialog-inner .eyebrow { padding-right: 42px; }
.close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; padding: 0; color: var(--wine); background: var(--paper); border: 1px solid var(--line); border-radius: 50%; font-size: 28px; line-height: 1; }
.close:hover { color: var(--light); background: var(--wine); }

.services { background: #ebe4d9; }
.services-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 7vw, 115px); }
.section-copy { max-width: 385px; margin-top: 19px; color: var(--muted); }
.service-list, .steps { list-style: none; padding: 0; margin: 0; }
.service-list { border-top: 1px solid #c8b9ac; counter-reset: service; }
.service-list li { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid #c8b9ac; counter-increment: service; }
.service-list li::before { grid-row: span 2; content: counter(service, decimal-leading-zero); color: var(--wine); font-size: 11px; font-weight: 700; }
.service-list h3 { font-size: clamp(23px, 2.5vw, 33px); letter-spacing: -.035em; }
.service-list p { margin-top: 5px; color: var(--muted); font-size: 13px; }
.studio-head .section-copy { margin: 0 0 3px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.steps li { border-top: 1px solid var(--line); padding: 17px 0 0; }
.steps li > span { color: var(--wine); font-size: 11px; font-weight: 700; }
.steps h3 { font-size: 32px; margin: 12px 0 7px; }
.steps p { max-width: 28ch; color: var(--muted); font-size: 14px; }

.contact { background: var(--wine); color: var(--light); }
.contact-grid { display: grid; grid-template-columns: .93fr 1fr; gap: clamp(24px, 8vw, 120px); align-items: start; }
.contact .eyebrow, .contact h2 em { color: #efd0c3; }
.contact-copy { max-width: 365px; margin-top: 17px; color: #f0ddd5; }
.contact-links { padding: 0; margin: 25px 0 0; list-style: none; }
.contact-links li + li { margin-top: 5px; }
.contact-links a { display: inline-flex; gap: 8px; align-items: center; margin-right: 17px; color: var(--light); font-size: 14px; text-underline-offset: 4px; }
.contact-links a:hover { text-decoration: underline; }
.inquiry { min-width: 0; padding-top: 3px; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 15px; }
.inquiry label { display: grid; gap: 5px; min-width: 0; color: var(--light); font-size: 12px; font-weight: 700; }
.inquiry > label { margin-top: 13px; }
.inquiry input, .inquiry select, .inquiry textarea { width: 100%; min-width: 0; color: var(--light); background: #ffffff0a; border: 1px solid #bf9996; border-radius: 0; padding: 9px 10px; font-size: 14px; font-weight: 400; color-scheme: dark; }
.inquiry input, .inquiry select { height: 43px; }
.inquiry textarea { resize: vertical; }
.inquiry input::placeholder, .inquiry textarea::placeholder { color: #ead4ca; opacity: 1; }
.inquiry option { background: var(--wine-dark); color: var(--light); }
.inquiry :focus-visible, .contact a:focus-visible { outline-color: var(--light); }
.light { margin-top: 14px; background: var(--light); color: var(--wine); }
.light:hover { background: #ecd0c3; }
.form-note { color: #f0ddd5; font-size: 12px; margin-top: 8px; }

.footer { background: #3e2025; color: #f1ddd5; padding-block: 21px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer .wordmark img { width: 112px; filter: none; }
.footer .wordmark span, .footer .underlink { color: var(--light); }
.footer p { font-size: 11px; letter-spacing: .05em; }

@media (max-width: 960px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 29px; }
  .hero h1 { font-size: clamp(47px, 7.1vw, 70px); }
  .hero-visual > img { height: clamp(388px, 53vw, 540px); }
  .contact-grid { gap: 35px; }
}

@media (max-width: 690px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 0; grid-template-columns: 1fr auto; gap: 0 14px; padding-block: 12px 0; }
  .wordmark img { width: 114px; }
  .header-cta { grid-column: 2; grid-row: 1; min-height: 40px; padding-inline: 10px; gap: 9px; }
  nav { grid-column: 1 / -1; justify-content: center; gap: 33px; margin-top: 10px; border-top: 1px solid var(--line); padding: 8px 0 9px; }
  nav a { font-size: 13px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 27px 19px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(47px, 10.6vw, 71px); margin: 13px 0 13px; }
  .hero-lede { font-size: 15px; }
  .hero-actions { margin-top: 18px; gap: 10px 19px; }
  .hero-visual > img { height: auto; aspect-ratio: 1.14; object-position: 50% 50%; }
  .hero-visual figcaption { padding-top: 7px; }
  .disciplines .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; padding-block: 9px; }
  .disciplines span + span::before { content: none; }
  .section { padding-block: 59px; }
  .section-head { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 21px; }
  .projects { grid-template-columns: 1fr; gap: 22px; }
  .project-photo img { aspect-ratio: 1.35; }
  .project-line h3 { font-size: 30px; }
  .services-grid, .contact-grid { grid-template-columns: 1fr; gap: 27px; }
  .steps { grid-template-columns: 1fr; gap: 15px; margin-top: 25px; }
  .steps h3 { margin-top: 5px; }
  .steps p { max-width: 100%; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; }
  .footer p { grid-column: 1 / -1; grid-row: 2; }
  .dialog-inner { padding: 23px 15px; }
}

@media (max-width: 385px) {
  .form-fields { grid-template-columns: 1fr; }
  .hero-actions .button { padding-inline: 11px; }
}

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

.arrow {
  display: inline-block;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 15 15 5M6 5h9v9' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.arrow.down { transform: rotate(135deg); }
.arrow.up { transform: rotate(-45deg); }
