@font-face { font-family: Archivo; src: url("assets/archivo-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
:root {
  --canvas: #f8f5ed;
  --ink: #29231b;
  --muted: #625449;
  --edge: #dacbbb;
  --yellow: #ffc335;
  --orange: #a63e10;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --title: Archivo, var(--sans);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .23em; }
:focus-visible { outline: 3px solid #9a3a14; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--title); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
h2 { font-size: clamp(2.4rem, 5.1vw, 4.35rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); line-height: 1.08; }
.wrap { width: min(1230px, calc(100% - 96px)); margin-inline: auto; }
.eyebrow { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 760; color: var(--orange); }
.skip:not(:focus) { position: absolute; clip-path: inset(50%); }
.skip:focus { position: absolute; top: 5px; left: 5px; z-index: 9; color: var(--ink); background: white; padding: 9px; }
.header { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: 92px; gap: 20px; }
.brand img { width: 125px; }
.header nav { display: flex; align-items: center; gap: clamp(18px, 4vw, 57px); }
.header nav a { font-weight: 680; font-size: .92rem; text-decoration: none; }
.header nav a:hover { text-decoration: underline; }
.nav-quote { padding: 9px 14px; border: 1px solid var(--ink); }
.menu { display: none; }

.hero { background: #f2e9d6; border-block: 1px solid var(--edge); }
.hero-grid { display: grid; grid-template-columns: 1fr minmax(280px, .77fr); align-items: center; gap: clamp(25px, 6vw, 95px); padding-block: clamp(24px, 4vw, 50px); }
.hero-copy { padding-block: 15px; }
.hero h1 { font-size: clamp(4rem, 7.7vw, 8rem); margin: 13px 0 20px; line-height: .9; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .intro { max-width: 33ch; color: var(--muted); font-size: 1.05rem; }
.space-shortcuts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.space-shortcuts a { display: inline-flex; align-items: center; min-height: 46px; padding: 7px 14px; background: var(--yellow); text-decoration: none; font-weight: 740; font-size: .91rem; }
.space-shortcuts a:hover { background: #ffe086; text-decoration: underline; }
.hero-photo img { width: 100%; }
.hero-photo figcaption { border-left: 3px solid #e09e1a; padding: 5px 0 5px 9px; margin-top: 7px; color: var(--muted); font-size: .79rem; }

.work, .quote { padding-block: clamp(46px, 7vw, 92px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px 32px; }
.section-head h2, .quote h2, .team h2 { margin-top: 7px; }
.section-head > p { max-width: 35ch; color: var(--muted); }
.filter-row { display: flex; justify-content: space-between; align-items: center; gap: 7px 14px; margin-block: 20px 15px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { min-height: 44px; border: 1px solid var(--edge); padding: 6px 13px; background: transparent; font-size: .89rem; font-weight: 670; }
.filters button[aria-pressed=true] { color: white; border-color: var(--ink); background: var(--ink); }
#results { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.projects { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 26px 17px; }
.project { background: #fffdf8; border-bottom: 2px solid var(--edge); }
.photo { display: block; width: 100%; position: relative; border: 0; padding: 0; background: transparent; }
.photo img { width: 100%; height: auto; }
.photo span { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; min-width: 37px; min-height: 37px; background: #fff7e7; font-size: 1.4rem; line-height: 1; }
.photo:hover span { background: var(--yellow); }
.project-caption { padding: 10px 12px 5px; }
.project-caption h3 { margin-block: 4px; }
.project-caption > p:not(.eyebrow) { color: var(--muted); font-size: .87rem; }
.quote-space { display: inline-flex; align-items: center; color: var(--orange); min-height: 44px; font-size: .84rem; font-weight: 720; }

.team { background: var(--ink); color: #fff5e5; }
.team .eyebrow { color: #ffcc71; }
.team-grid { display: grid; grid-template-columns: 1fr minmax(0,.72fr); align-items: end; gap: 17px 56px; padding-block: clamp(37px,6vw,75px); }
.team h2 { max-width: 13ch; }
.team-grid > p { max-width: 40ch; color: #f2e3d3; }
.quote { display: grid; grid-template-columns: .87fr 1fr; gap: 23px clamp(28px,6vw,89px); align-items: start; }
.quote-copy { margin-top: 13px; color: var(--muted); max-width: 40ch; }
address { margin-top: 15px; font-style: normal; font-size: .89rem; overflow-wrap: anywhere; }
#quote-form { padding: clamp(14px,3vw,28px); background: #f1e9d7; border-top: 4px solid #e8ad2b; }
#quote-form label, #quote-form legend { font-size: .9rem; font-weight: 690; display: block; }
#quote-form label { margin-bottom: 12px; }
#quote-form small { font-weight: 500; color: var(--muted); }
#quote-form select, #quote-form input { display: block; width: 100%; min-height: 46px; margin-top: 3px; background: #fffdf7; border: 1px solid #978371; border-radius: 0; padding: 7px 8px; font-size: 1rem; font-weight: 400; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 4px; }
.measurements { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 6px 11px; }
.submit { width: fit-content; min-height: 48px; padding: 8px 14px; border: 1px solid var(--ink); background: var(--yellow); font-size: .9rem; font-weight: 760; }
.submit:hover { background: #ffe086; }
.footer { border-top: 1px solid var(--edge); display: flex; align-items: center; flex-wrap: wrap; gap: 7px 23px; padding-block: 13px; font-size: .82rem; }
.footer img { width: 80px; }
dialog { border: 0; background: var(--canvas); color: var(--ink); padding: 10px; width: min(95vw, 830px); max-height: 94dvh; }
dialog::backdrop { background: #211a13eb; }
dialog form { text-align: right; }
dialog form button { background: transparent; border: 0; min-width: 44px; min-height: 44px; font-size: 1.55rem; }
dialog img { width: 100%; height: auto; max-height: 75dvh; object-fit: contain; }
dialog p { padding: 5px; text-align: center; font-weight: 680; }

@media (max-width: 920px) {
  .wrap { width: calc(100% - 50px); }
  .projects { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 34px); }
  .header { min-height: 72px; }
  .brand img { width: 100px; }
  .menu { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; min-height: 44px; padding: 0 6px; font-weight: 720; font-size: .91rem; }
  .menu span { width: 16px; height: 9px; border-block: 1px solid; }
  .header nav { display: none; position: absolute; inset: 100% -17px auto; z-index: 2; padding: 8px 17px 13px; background: var(--canvas); border-bottom: 1px solid var(--edge); }
  .header nav.open { display: grid; gap: 3px; }
  .header nav a { display: flex; align-items: center; min-height: 44px; padding: 8px; }
  .hero-grid { grid-template-columns: 1fr; gap: 13px; padding-block: 17px 12px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2.85rem, 12vw, 4.25rem); margin: 8px 0 9px; }
  .hero .intro { font-size: .93rem; line-height: 1.45; }
  .space-shortcuts { margin-top: 11px; }
  .space-shortcuts a { padding-inline: 10px; }
  .hero-photo figcaption { margin-top: 5px; }
  .section-head, .filter-row { flex-direction: column; align-items: start; }
  .projects { gap: 13px 9px; }
  .project-caption { padding: 7px 8px 3px; }
  .project-caption .eyebrow { font-size: .63rem; letter-spacing: .06em; }
  .project-caption h3 { font-size: clamp(1.1rem, 4.55vw, 1.38rem); }
  .project-caption > p:not(.eyebrow), .quote-space { font-size: .78rem; }
  .photo span { min-width: 29px; min-height: 29px; right: 4px; bottom: 4px; }
  .filters button { padding-inline: 8px; font-size: .83rem; }
  .team-grid, .quote { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
