:root {
  --paper: #f3ebda;
  --ink: #32241b;
  --green: #173f3b;
  --gold: #f0cc8d;
  --line: #bfb19b;
  --serif: "Instrument Serif", Georgia, serif;
  font-family: "Work Sans", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, figure, h1, h2, h3, p { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 3px solid #bd733a; outline-offset: 5px; }
.skip { position: fixed; z-index: 3; background: white; padding: .75rem; transform: translateY(-130%); }
.skip:focus { transform: none; }
.frame { width: min(1260px, calc(100% - 2 * clamp(22px, 5vw, 80px))); margin-inline: auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-family: var(--serif); font-size: 1.65rem; line-height: .85; }
.brand img { border-radius: 50%; object-fit: cover; width: 48px; height: 48px; }
.brand small { display: block; font: 600 .66rem/1.35 "Work Sans", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .09em; margin-top: .32rem; }
nav, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.7rem, 2vw, 1.6rem); }
nav a { text-decoration: none; font-weight: 600; font-size: .86rem; }
.outline { border: 1px solid var(--line); padding: .7rem .9rem; }
nav a:hover { text-decoration: underline; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(560px, 78vh, 840px); overflow: hidden; background: #2b1b11; color: #fff8e9; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; z-index: -2; animation: fade .85s ease-out both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #21150eed 0%, #21150ece 29%, #21150e65 54%, transparent 100%); }
.hero-content { padding-block: clamp(3.5rem, 8vw, 8rem); display: grid; justify-items: start; gap: 1.35rem; animation: enter .6s ease-out both; }
.eyebrow { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.hero .eyebrow, .hero em { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); line-height: .91; font-weight: 400; letter-spacing: -.03em; }
h1 { font-size: clamp(4.15rem, 10vw, 10.8rem); }
h2 { font-size: clamp(3.3rem, 7.9vw, 7.4rem); }
h3 { font-size: clamp(2.6rem, 5.7vw, 5rem); }
p:not(.eyebrow) { line-height: 1.58; }
.hero-content > p:not(.eyebrow), .contact-grid > div:first-child > p:not(.eyebrow) { max-width: 38ch; }
.photo-credit { position: absolute; right: clamp(22px, 5vw, 80px); bottom: 1.2rem; color: white; background: #21150ecb; padding: .3rem .5rem; }
.button { display: inline-flex; align-items: center; min-height: 46px; justify-content: center; background: var(--gold); color: #302013; font-weight: 700; text-decoration: none; padding: .8rem 1rem; transition: background .2s, transform .2s; }
.button:hover { background: #ffdda1; transform: translateY(-2px); }
.service, .process { display: grid; grid-template-columns: 1fr .9fr; align-items: start; gap: clamp(2rem, 6vw, 6.5rem); padding-block: clamp(4rem, 9vw, 8rem); }
.service h2, .process h2, .contact h2, .work-heading h2 { margin-top: .6rem; }
.service-index a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .25rem 1rem; border-top: 1px solid var(--line); text-decoration: none; padding: 1rem .25rem; transition: padding .22s, background .22s; }
.service-index a:last-child { border-bottom: 1px solid var(--line); }
.service-index a:hover { padding-inline: .75rem; background: #ece0c8; }
.service-index strong { font: 400 clamp(1.75rem, 3.5vw, 3rem)/1 var(--serif); }
.service-index small { grid-row: 2; line-height: 1.4; }
.service-index span { grid-area: 1 / 2 / span 2; }
.work { background: var(--green); color: var(--paper); padding-block: clamp(3.75rem, 8vw, 7.5rem); }
.work-heading { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.work-heading p:last-child, .project p:not(.eyebrow) { margin-top: .9rem; }
.project { display: grid; grid-template-columns: 1.04fr .8fr; gap: clamp(1.5rem, 7vw, 7rem); align-items: center; border-top: 1px solid #ffffff59; padding-block: clamp(2rem, 5vw, 4.5rem); }
.project:last-child { padding-bottom: 0; }
.project.reverse { grid-template-columns: .8fr 1.04fr; }
.project.reverse figure { order: 2; }
.project h3 { margin-top: .6rem; }
.project div a { display: inline-block; margin-top: 1rem; font-weight: 700; color: var(--gold); }
.project figcaption { margin-top: .55rem; font-size: .76rem; }
.project figure { background: #fff2; padding: .55rem; }
.project figure img { aspect-ratio: 1; object-fit: contain; background: #fff; }
.process ol { display: grid; gap: 1.35rem; margin: 0; padding-left: 1.5rem; }
.process li::marker { font-weight: 700; color: var(--green); }
.process li strong { font-size: 1.08rem; }
.contact { background: #dfc5a5; padding-block: clamp(4rem, 8vw, 8rem); }
.contact-grid { display: grid; grid-template-columns: 1fr .85fr; align-items: start; gap: clamp(2rem, 6vw, 6.5rem); }
.contact-grid > div:first-child > p:not(.eyebrow) { margin-top: 1rem; }
.panel { padding: clamp(1.2rem, 4vw, 2.7rem); background: var(--paper); border: 1px solid var(--line); }
.panel label { display: block; margin: .8rem 0 .35rem; font-weight: 700; }
.panel label:first-child { margin-top: 0; }
.panel select { width: 100%; min-height: 46px; padding: .55rem; border: 1px solid var(--line); background: white; color: var(--ink); font: inherit; }
.photo-tip { margin: 1rem 0; padding: .65rem .8rem; background: #e4ddd0; }
.panel details { margin-bottom: 1rem; }
.panel summary { font-weight: 700; cursor: pointer; }
.secondary { display: block; margin-top: .8rem; font-size: .86rem; }
.footer { padding-block: 1.4rem 2.5rem; display: flex; gap: 1.15rem; flex-wrap: wrap; align-items: center; }
.footer small { flex-basis: 100%; }
[data-visible] { animation: enter .48s ease-out both; }
@keyframes enter { from { opacity: .88; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: .45; } to { opacity: 1; } }
@media (max-width: 760px) {
  .masthead { flex-wrap: wrap; }
  .hero { align-items: end; min-height: 630px; }
  .hero-photo { object-position: 65% top; }
  .hero::before { background: linear-gradient(0deg,#21150e 8%,#21150ee0 30%,#21150e55 62%,transparent); }
  .hero-content { padding-block: 4.5rem 3rem; }
  .photo-credit { bottom: .65rem; }
  .service, .process, .project, .project.reverse, .contact-grid { grid-template-columns: 1fr; }
  .project.reverse figure { order: initial; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

