@font-face {
  font-family: Archivo;
  src: url('/fonts/archivo-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('/fonts/manrope-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f5f1e8;
  --ink: #25231e;
  --muted: #635b50;
  --accent: #835932;
  --rule: #d3cabc;
  --display: Archivo, Arial, sans-serif;
  --sans: Manrope, Arial, sans-serif;
  --display-weight: 720;
  --display-tracking: -.04em;
  --gutter: clamp(22px, 5.3vw, 88px);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 16px/1.55 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { font-family: var(--display); font-weight: var(--display-weight); }
h1,h2 { line-height: 1.01; letter-spacing: var(--display-tracking); }
h2 { font-size: clamp(38px, 5.9vw, 92px); }
.wrap { width: min(100% - 2 * var(--gutter), 1400px); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 10; background: var(--paper); color: var(--ink); padding: 12px; }

.intro { background: #292219; color: #fffaf0; }
.intro.is-scrubbed { height: calc(100dvh + 290svh); }
.intro-stage {
  position: sticky; top: 0; height: 100vh; height: 100dvh; width: 100%;
  overflow: clip; isolation: isolate; background: #3f3328;
  --progress: 0%; --copy: 1; --reveal: 0;
}
.intro-stage::after { content: ""; position: absolute; inset: 0; background: var(--paper); opacity: var(--reveal); z-index: 2; pointer-events: none; }
.intro-media, .intro-media img, .intro-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
canvas.intro-media, .intro-media img { object-fit: cover; object-position: 50% 52%; }
.intro-shade {
  background: linear-gradient(180deg, #17130ec4 0%, #1a150f00 26%, #1b140f06 53%, #17120ddc 100%),
    linear-gradient(90deg, #18120eb5 0%, #21191252 42%, #18120e0c 76%);
}
.intro-top, .intro-bottom { position: absolute; inset-inline: var(--gutter); display: flex; justify-content: space-between; align-items: center; }
.intro-top { top: max(0px, env(safe-area-inset-top)); min-height: 87px; border-bottom: 1px solid #fffaf043; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 760 30px/1 var(--display); letter-spacing: var(--display-tracking); white-space: nowrap; }
.intro .brand img, .footer .brand img { filter: brightness(1.45) saturate(.75); }
.intro-top nav, .site-nav nav { display: flex; align-items: center; gap: clamp(19px, 3vw, 54px); font-size: 13px; font-weight: 650; }
.intro-top nav a:hover, .site-nav nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.intro-contact { border: 1px solid #fffaf075; padding: 10px 15px; }
.intro-contact span { margin-left: 9px; }
.intro-copy { position: absolute; left: var(--gutter); bottom: max(19%, 112px); opacity: var(--copy); pointer-events: none; }
.intro-kicker, .eyebrow, .section-label, .chapter-number, .scroll-cue, .project-note, .atelier figcaption {
  font-size: 11px; font-weight: 700; letter-spacing: .09em; line-height: 1.35;
}
.intro-kicker, .eyebrow { display: flex; align-items: center; gap: 11px; }
.intro-kicker > span, .eyebrow > span { width: 19px; height: 1px; background: currentColor; flex: 0 0 auto; }
.intro-copy p { font: var(--display-weight) clamp(58px, 6.55vw, 108px)/1.01 var(--display); letter-spacing: var(--display-tracking); margin: 25px 0 0 -4px; text-shadow: 0 2px 30px #24170b6b; }
.intro-still-copy { display: none; }
.intro-bottom { bottom: max(17px, env(safe-area-inset-bottom)); min-height: 57px; gap: 20px; border-top: 1px solid #fffaf052; }
.chapter { display: flex; align-items: center; gap: 12px; }
.chapter-number { font-variant-numeric: tabular-nums; }
.chapter-track { width: clamp(32px, 5.4vw, 82px); height: 1px; background: #ffffff55; }
.chapter-track span { display: block; height: 100%; width: max(7px, var(--progress)); background: #e9c493; }
.chapter-name, .skip-intro { font-size: 12px; }
.scroll-cue { display: flex; align-items: center; gap: 12px; text-transform: uppercase; position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.scroll-arrow { border: 1px solid #fffaf07d; border-radius: 50%; width: 26px; height: 26px; display: grid; place-items: center; font-size: 13px; }
.skip-intro { margin-left: auto; padding-block: 10px; }
.skip-intro span { margin-left: 7px; }
.skip-intro:hover { text-decoration: underline; text-underline-offset: 4px; }
.intro:not(.is-scrubbed) :is(.chapter,.scroll-cue) { visibility: hidden; }

.site-header { border-bottom: 1px solid var(--rule); }
.site-nav { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 78px; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 13px; width: fit-content; font-size: 13px; font-weight: 600; border-bottom: 1px solid currentColor; padding: 3px 0; }
.text-link:hover { color: var(--accent); }
.welcome { padding-block: clamp(72px, 11vw, 164px) clamp(72px, 10vw, 145px); }
.welcome > .eyebrow, .project-caption .eyebrow, .quote .eyebrow { color: var(--accent); }
.welcome-layout { display: grid; grid-template-columns: 1.52fr 1fr; align-items: end; gap: clamp(24px, 6vw, 100px); margin-top: 24px; }
.welcome h1 { font-size: clamp(54px, 7vw, 113px); }
.welcome-detail { max-width: 420px; padding-bottom: 6px; }
.welcome-detail p, .atelier-copy > p:not(.eyebrow, .pending), .quote-layout > div > p:not(.eyebrow) { font-size: clamp(16px, 1.35vw, 20px); color: var(--muted); line-height: 1.65; }
.welcome-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 21px; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 19px; min-height: 49px; padding: 10px 16px; font-size: 13px; font-weight: 600; border: 1px solid transparent; }
.button-dark { color: #f9f3e7; background: #2e2a22; }
.button-dark:hover { background: #514131; }
.button:disabled { background: #ded5c6; color: #514a40; cursor: default; }
.section-label { display: flex; justify-content: space-between; border-top: 1px solid var(--rule); padding-top: 14px; color: var(--muted); }
.portfolio { padding-bottom: clamp(78px, 12vw, 168px); }
.portfolio-head { display: flex; justify-content: space-between; align-items: end; gap: 26px; margin: 30px 0 38px; }
.filters { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.filters button { padding: 7px 12px; min-height: 39px; border: 1px solid transparent; border-radius: 2px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 650; }
.filters button:hover { border-color: var(--rule); }
.filters [aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 95px) clamp(22px, 4vw, 66px); }
.project:nth-child(even) { margin-top: clamp(0px, 6vw, 90px); }
.projects.is-filtered .project { margin-top: 0; }
.project-image { position: relative; aspect-ratio: 1.14; background: #d7cbbc; overflow: hidden; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .42s cubic-bezier(.2,.7,.3,1); }
.project:first-child .project-image img { object-position: center 55%; }
.project-link { display: block; }
.project-open { position: absolute; right: 13px; bottom: 13px; background: var(--paper); color: var(--ink); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.project-link:hover img { transform: scale(1.035); }
.project-caption { display: flex; justify-content: space-between; align-items: end; gap: 12px; padding-top: 14px; }
.project-caption h3 { font-size: clamp(25px, 2.8vw, 44px); font-weight: 670; line-height: 1.1; letter-spacing: -.03em; margin-top: 7px; }
.project-note { color: var(--muted); letter-spacing: .04em; text-align: right; }
.atelier { background: #29261f; color: #faf4e7; padding-block: clamp(65px, 11vw, 155px); }
.atelier-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(35px, 8vw, 120px); }
.atelier figure img { width: 100%; }
.atelier figcaption { display: flex; justify-content: space-between; border-bottom: 1px solid #faf4e747; padding-block: 10px; color: #d9c9b4; }
.atelier-copy .eyebrow { color: #e4bc90; }
.atelier h2 { margin: 17px 0 24px; text-wrap: balance; }
.atelier-copy > p:not(.eyebrow, .pending) { color: #eee3d1; margin-top: 13px; }
.pending { color: #ccbfaa; font-size: 12px; margin-top: 24px; }
.services { padding-block: clamp(75px, 12vw, 165px); }
.services-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 7vw, 105px); margin-top: 37px; align-items: start; }
.services-list { border-top: 1px solid var(--rule); }
details { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 13px; padding: 17px 0; font: 640 clamp(21px, 2.05vw, 32px)/1.18 var(--display); letter-spacing: -.025em; }
summary::-webkit-details-marker { display: none; }
summary > span { color: var(--accent); font: 700 11px var(--sans); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
summary::after { content: "+"; margin-left: auto; color: var(--accent); font: 400 20px var(--sans); }
details[open] summary::after { content: "−"; }
details p { margin: 0 20px 18px 27px; color: var(--muted); }
.quote { background: #eae1d2; padding-block: clamp(66px, 10vw, 145px); }
.quote-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(40px, 8vw, 130px); }
.quote h2 { margin: 15px 0 23px; }
.quote-layout > div > p:not(.eyebrow) { max-width: 360px; }
.quote-form { display: grid; align-content: start; gap: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.quote-form label { display: block; font-size: 13px; font-weight: 600; min-width: 0; }
.quote-form label > span { color: var(--accent); }
.quote-form :is(input, select, textarea) { display: block; margin-top: 6px; width: 100%; border: 1px solid #b5a899; background: #f9f5ec; color: var(--ink); border-radius: 2px; min-height: 43px; padding: 9px 10px; font-size: 16px; }
.quote-form textarea::placeholder { color: var(--muted); opacity: 1; }
.quote-form ::file-selector-button { font: 650 .8125rem/1.45 var(--sans); }
.quote-form textarea { resize: vertical; }
.quote-form small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; }
.quote-form .button { justify-self: start; }
.field-status { color: var(--muted); font-size: 12px; margin-top: -6px; }
.field-status.is-error { color: #862e21; }
.footer { background: #25221c; color: #faf4e7; }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-top { padding: 32px 0; }
.footer-top p { font-size: 14px; }
.footer-top p span { color: #d1c4b2; font-size: 12px; }
.footer .text-link:hover { color: #e4bc90; }
.footer-bottom { border-top: 1px solid #faf4e746; padding: 15px 0; font-size: 12px; color: #e4d7c5; }
.footer-bottom div { display: flex; gap: 17px; }
.footer-bottom a:hover { text-decoration: underline; }
.lightbox { padding: 0; border: 1px solid #716357; max-width: min(960px, calc(100vw - 28px)); max-height: calc(100dvh - 24px); width: 100%; background: #24211b; color: #fbf5e8; }
.lightbox::backdrop { background: #18140fdb; }
html:has(.lightbox[open]) { overflow: hidden; }
.lightbox-panel { padding: 12px 20px; }
.lightbox header, .lightbox footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lightbox header { margin-bottom: 10px; }
.lightbox footer { margin-top: 10px; }
.lightbox h2 { font-size: clamp(26px, 4vw, 43px); margin-top: 4px; }
.lightbox button { min-width: 42px; min-height: 42px; border: 1px solid #faf4e765; background: transparent; color: inherit; font-size: 20px; }
.lightbox button:hover { background: #ffffff22; }
.lightbox img { width: 100%; height: min(68dvh, 760px); object-fit: contain; }

@media (max-width: 1000px) {
  .welcome-layout { grid-template-columns: 1.25fr 1fr; gap: 25px; }
  .welcome h1 { font-size: clamp(44px, 6.8vw, 76px); }
  .project-note { display: none; }
}
@media (max-width: 720px) {
  .intro-top { min-height: 69px; }
  .intro-top nav a:not(.intro-contact), .site-nav nav { display: none; }
  .intro-top .brand, .site-nav .brand { font-size: 27px; gap: 7px; }
  .intro-top .brand img, .site-nav .brand img { width: 29px; height: 29px; }
  .intro-contact { font-size: 11px; padding: 8px; }
  .intro-contact span { margin-left: 2px; }
  .intro-copy { bottom: max(20%, 110px); }
  .intro-copy p { font-size: clamp(33px, 10.15vw, 68px); margin-left: -1px; }
  .intro-shade { background: linear-gradient(180deg,#17130ec9,transparent 23%,transparent 42%,#17120dee 100%); }
  canvas.intro-media, .intro-media img { object-position: 54% 51%; }
  .intro-bottom { gap: 10px; }
  .chapter { gap: 6px; }
  .chapter-track { width: 25px; }
  .chapter-name { display: none; }
  .scroll-cue { position: static; transform: none; }
  .scroll-cue > span:first-child { display: none; }
  .skip-intro { font-size: 11px; }
  .site-nav { min-height: 65px; }
  .welcome-layout, .atelier-grid, .services-layout, .quote-layout { grid-template-columns: 1fr; }
  .welcome h1 { font-size: clamp(34px, 10.3vw, 72px); }
  .welcome-detail { padding-bottom: 0; }
  .portfolio-head { align-items: start; flex-direction: column; margin-bottom: 24px; gap: 14px; }
  .projects { grid-template-columns: 1fr; }
  .project:nth-child(even) { margin-top: 0; }
  .project-image { aspect-ratio: 1.18; }
  .atelier figure { order: 2; }
  .footer-top { flex-wrap: wrap; }
  .footer-top > p { flex-basis: 100%; order: 1; }
}
@media (max-width: 370px) {
  .form-grid { grid-template-columns: 1fr; }
  .intro-contact { display: none; }
}
@media (max-height: 530px) and (orientation: landscape) {
  .intro-top { min-height: 55px; }
  .intro-copy { bottom: 72px; }
  .intro-copy p { font-size: clamp(33px, min(10.15vw, 12.5dvh), 68px); margin-top: 11px; }
  .intro-bottom { bottom: 4px; min-height: 45px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .intro-motion-copy { display: none; }
  .intro-still-copy { display: block; }
}
