:root {
  color-scheme: light;
  --paper: #f4f1e9;
  --white: #f9f6ef;
  --ink: #272822;
  --muted: #5d5e50;
  --olive: #414b37;
  --line: #d5d0c1;
  --gutter: clamp(22px, 5.8vw, 90px);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 2px solid #a47547; outline-offset: 5px; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
section[id] { scroll-margin-top: 30px; }
.shell { width: min(100%, 1536px); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; inset: 8px auto auto 8px; transform: translateY(-180%); z-index: 5; background: var(--white); padding: 12px; }
.skip:focus { transform: none; }

.masthead { background: var(--paper); }
.masthead-inner { min-height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; }
.brand strong, .brand small { display: block; white-space: nowrap; }
.brand strong { font-size: 13px; font-weight: 750; letter-spacing: .085em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .28em; }
.masthead nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 47px); font-size: 13px; font-weight: 550; }
.masthead nav a, .header-link, .back { transition: color .2s; }
.masthead nav a:hover, .header-link:hover, .back:hover { color: #756241; }
.header-link { display: inline-flex; align-items: center; gap: 15px; border-bottom: 1px solid #a3a18e; padding-block: 7px; font-size: 12px; font-weight: 650; white-space: nowrap; }

.hero { position: relative; isolation: isolate; color: var(--white); background: #4d493e; overflow: hidden; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: center 55%; }
.hero::after { z-index: -1; content: ''; background: linear-gradient(90deg, #171911d9 0%, #1a1b127f 42%, #171a120c 80%), linear-gradient(0deg, #1a1a1390, transparent 23%); }
.hero-inner { min-height: clamp(565px, 70vh, 820px); display: flex; flex-direction: column; justify-content: center; position: relative; padding-top: 55px; padding-bottom: 108px; }
.hero-copy { max-width: 680px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 680; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow > span { width: 20px; height: 1px; display: inline-block; flex: 0 0 20px; background: currentColor; }
.hero-kicker { color: #f0e4cb; margin-bottom: 25px; }
.hero h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; }
.hero h1 { font-size: clamp(70px, 9vw, 149px); line-height: .87; }
.hero h1 em { font-weight: 400; color: #f0dcba; }
.hero-description { margin-top: 26px; max-width: 315px; font-size: 16px; line-height: 1.55; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 22px; min-height: 49px; padding: 0 16px; font-size: 12px; font-weight: 700; transition: background-color .2s, color .2s; }
.button span { font-size: 17px; line-height: 1; }
.button-light { margin-top: 28px; background: var(--white); color: var(--ink); }
.button-light:hover { background: #ead7b5; }
.hero-caption { position: absolute; inset: auto var(--gutter) 23px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #f9f6ef54; padding-top: 15px; font-size: 9px; font-weight: 650; letter-spacing: .16em; }
.hero-caption a { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid #f9f6ef80; border-radius: 50%; font-size: 16px; }
.hero-caption a:hover { background: #f9f6ef28; }

h2 { font-size: clamp(45px, 6.4vw, 98px); line-height: .97; }
h2 em { font-weight: 400; }
.section-label { color: var(--olive); }
.intro { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2.9fr); gap: 24px; padding-block: clamp(68px, 9vw, 135px); }
.intro > .section-label { align-self: start; margin-top: 12px; }
.intro-main { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(25px, 4.3vw, 68px); align-items: end; }
.intro h2 { font-size: clamp(42px, 5.55vw, 84px); }
.intro-main p, .section-top > p, .work > p, .catalog div > p:last-child { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 40ch; }

.works { background: #ebe7dc; padding-block: clamp(66px, 8vw, 120px); }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: clamp(29px, 4.5vw, 66px); }
.section-top h2, .approach h2 { margin-top: 17px; }
.work-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(20px, 4vw, 58px); }
.work-offset { margin-top: clamp(24px, 5.6vw, 84px); }
.work-image { position: relative; background: #d5c8b3; overflow: hidden; }
.work-image img { width: 100%; aspect-ratio: 1.2; object-fit: cover; transition: transform .45s ease; }
.work-offset img { aspect-ratio: 1.27; }
.work-image:hover img { transform: scale(1.025); }
.work-image figcaption { position: absolute; inset: auto auto 12px 12px; padding: 6px 9px; background: var(--white); color: var(--ink); font-size: 9px; text-transform: uppercase; letter-spacing: .11em; font-weight: 750; }
.work-meta { display: flex; justify-content: space-between; gap: 10px; padding-block: 12px; border-bottom: 1px solid #c6c0ad; color: #555545; font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.work h3 { font-size: clamp(29px, 3.4vw, 51px); line-height: 1.1; margin: 13px 0 8px; }

.approach { color: var(--white); background: var(--olive); padding-block: clamp(64px, 8vw, 117px); }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(32px, 7vw, 105px); }
.approach .section-label, .approach h2 em { color: #e5d5b4; }
.approach h2 { font-size: clamp(43px, 5.8vw, 86px); }
.steps { border-bottom: 1px solid #e8dfc668; }
.steps details { border-top: 1px solid #e8dfc668; }
.steps summary { list-style: none; display: grid; grid-template-columns: 31px 1fr 20px; align-items: center; gap: 13px; padding-block: 17px; cursor: pointer; font: 400 clamp(20px, 2.4vw, 32px)/1.2 var(--serif); }
.steps summary::-webkit-details-marker { display: none; }
.step-num { color: #e5d5b4; font: 650 10px/1 var(--sans); letter-spacing: .12em; }
.step-icon { position: relative; width: 14px; height: 14px; }
.step-icon::before, .step-icon::after { content: ''; position: absolute; inset: 6px 1px auto; height: 1px; background: currentColor; }
.step-icon::after { transform: rotate(90deg); }
.steps details[open] .step-icon::after { display: none; }
.steps details p { margin: -3px 32px 17px 44px; color: #ede8db; font-size: 14px; line-height: 1.65; max-width: 45ch; }

.catalog { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2.9fr); gap: 24px; padding-block: clamp(65px, 8vw, 115px); }
.catalog > .section-label { align-self: start; margin-top: 10px; }
.status { display: inline-flex; align-items: center; gap: 7px; color: #4f5a42; border: 1px solid #afb49f; border-radius: 25px; padding: 6px 10px; font-size: 10px; letter-spacing: .09em; font-weight: 700; text-transform: uppercase; }
.status span { background: #6c7a57; width: 6px; height: 6px; border-radius: 50%; }
.catalog h2 { margin: 13px 0 16px; }
.contact { background: #ebe7dc; padding-block: clamp(62px, 7.5vw, 110px); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 25px; }
.contact h2 { margin: 17px 0 16px; font-size: clamp(42px, 6vw, 86px); }
.contact-description { color: var(--muted); font-size: 15px; line-height: 1.7; }
.contact-button { justify-self: start; gap: 10px; background: var(--olive); color: var(--white); overflow-wrap: anywhere; }
.contact-button:hover { background: var(--ink); }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 19px; min-height: 101px; }
.footer-inner > p, .back { color: var(--muted); font-size: 12px; }
.back { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.back span { font-size: 16px; }

@media (max-width: 900px) {
  .intro-main { grid-template-columns: 1fr; gap: 23px; }
  .section-top > p { max-width: 28ch; }
}

@media (max-width: 640px) {
  .masthead-inner { min-height: 93px; flex-wrap: wrap; gap: 0 7px; padding-block: 12px 10px; }
  .masthead nav { order: 3; width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 8px clamp(12px, 4.5vw, 23px); margin-top: 12px; }
  .header-link { gap: 5px; font-size: 10px; }
  .hero-inner { min-height: max(510px, 66svh); }
  .hero::after { background: linear-gradient(90deg, #171911c9, #1a1b126d 73%, #171a122d), linear-gradient(0deg, #1a1a1380, transparent 24%); }
  .hero-image { object-position: 60% center; }
  .hero h1 { font-size: clamp(58px, 14.4vw, 91px); }
  .hero-description { font-size: 14px; }
  .hero-caption { bottom: 18px; }
  .intro, .catalog, .contact-inner, .approach-grid, .work-grid { grid-template-columns: 1fr; }
  .intro, .catalog { gap: 19px; }
  .intro > .section-label, .catalog > .section-label { margin-top: 0; }
  .section-top { display: grid; }
  .section-top > p { max-width: 42ch; }
  .work-grid { gap: 34px; }
  .work-offset { margin-top: 0; }
  .work-image img, .work-offset img { aspect-ratio: 1.2; }
  .footer-inner { flex-wrap: wrap; min-height: 110px; gap: 10px; padding-block: 17px; }
  .footer-inner > p { order: 3; width: 100%; }
}

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