:root {
  --paper: #f4f1e9;
  --paper-deep: #e9e5da;
  --ink: #202720;
  --muted: #70766e;
  --green: #445a48;
  --green-dark: #2e4034;
  --rust: #b5543b;
  --line: rgba(32, 39, 32, .16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
button { font: inherit; }
.container { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }
.eyebrow { margin: 0 0 15px; color: var(--rust); font-size: .72rem; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(3.2rem, 7.4vw, 7rem); }
h2 { font-size: clamp(2.35rem, 4.4vw, 4.2rem); }
h3 { font-size: clamp(1.55rem, 2vw, 2rem); }
p { color: #505950; }
.skip-link { position: absolute; top: -80px; left: 16px; z-index: 20; padding: 10px 14px; background: white; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(244, 241, 233, .94); backdrop-filter: blur(14px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; flex-direction: column; gap: 0; text-decoration: none; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.4rem; letter-spacing: .27em; }
.brand-note { margin-top: 7px; color: var(--muted); font-size: .58rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.nav a { position: relative; padding: 11px 0; color: #51584f; font-size: .82rem; font-weight: 650; text-decoration: none; transition: color .2s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--rust); }
.nav a[aria-current="page"]::after { position: absolute; right: 0; bottom: 4px; left: 0; height: 1px; background: currentColor; content: ""; }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 50%; width: 44px; height: 44px; color: var(--ink); background: transparent; cursor: pointer; }

.hero { padding: 54px 0 74px; }
.hero-panel { position: relative; min-height: min(680px, 73vh); overflow: hidden; display: flex; align-items: flex-end; border-radius: 4px; background: var(--green-dark); color: white; }
.hero-panel > img { position: absolute; inset: 0; opacity: .62; object-position: center 44%; }
.hero-panel::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19, 29, 22, .82), rgba(19, 29, 22, .2) 76%), linear-gradient(0deg, rgba(19, 29, 22, .58), transparent 65%); content: ""; }
.hero-copy { position: relative; z-index: 1; width: min(800px, 90%); padding: clamp(34px, 7vw, 82px); }
.hero-motto { margin: 0 0 26px; color: rgba(255,255,255,.78); font-family: var(--serif); font-size: clamp(1.05rem, 1.7vw, 1.35rem); font-style: italic; }
.hero-copy .eyebrow { color: #e4a18b; }
.hero-copy h1 { max-width: 780px; margin-bottom: 22px; }
.hero-copy p { max-width: 620px; margin-bottom: 30px; color: rgba(255,255,255,.85); font-size: clamp(1rem, 1.4vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--green); border-radius: 2px; background: var(--green); color: white; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); background: var(--green-dark); }
.button-light { border-color: rgba(255,255,255,.55); background: transparent; }
.button-light:hover { background: white; color: var(--ink); }
.button-quiet { border-color: var(--line); background: transparent; color: var(--ink); }
.button-quiet:hover { background: var(--ink); color: white; }
.arrow { font-size: 1.05rem; line-height: 1; }

.intro-strip { display: grid; grid-template-columns: 1fr 1.35fr; gap: 80px; align-items: start; padding: 15px 0 104px; }
.intro-strip h2 { max-width: 450px; margin: 0; }
.intro-copy { max-width: 600px; padding-top: 8px; }
.intro-copy p { font-size: 1.06rem; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--green); font-size: .8rem; font-weight: 750; text-decoration: none; }
.text-link:hover { color: var(--rust); }
.section { padding: 92px 0; }
.section-soft { background: var(--paper-deep); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.section-head h2 { max-width: 600px; margin: 0; }
.section-head p { max-width: 390px; margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-card { min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; padding: 29px; border: 1px solid var(--line); background: rgba(255,255,255,.28); }
.feature-card .number { color: var(--rust); font-family: var(--serif); font-size: 1rem; }
.feature-card h3 { margin: 32px 0 12px; }
.feature-card p { margin-bottom: 0; font-size: .93rem; }
.quote { padding: 88px 0 96px; text-align: center; }
.quote blockquote { max-width: 800px; margin: 0 auto 20px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.12; letter-spacing: -.04em; }
.quote cite { color: var(--muted); font-size: .78rem; font-style: normal; letter-spacing: .12em; text-transform: uppercase; }

.page-hero { padding: 92px 0 54px; }
.page-hero .lede { max-width: 690px; margin: 24px 0 0; font-size: 1.08rem; }
.page-hero h1 { margin: 0; font-size: clamp(3rem, 7vw, 6.4rem); }
.page-kicker { display: flex; justify-content: space-between; gap: 30px; align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 38px; }
.page-kicker .eyebrow { margin-bottom: 18px; }

.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 52px 22px; }
.project-card { min-width: 0; }
.project-image { position: relative; display: block; overflow: hidden; aspect-ratio: 1.42; background: var(--paper-deep); }
.project-image img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.project-card:hover .project-image img { transform: scale(1.035); }
.project-meta { display: flex; justify-content: space-between; gap: 20px; margin: 19px 0 9px; color: var(--rust); font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.project-card h2 { margin: 0 0 10px; font-size: clamp(2rem, 3.5vw, 3.25rem); }
.project-card p { max-width: 540px; margin-bottom: 16px; }
.project-card .text-link { margin-top: 4px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image { height: 540px; overflow: hidden; background: var(--paper-deep); }
.about-image img { object-position: center 34%; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy p { max-width: 580px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 36px; border: 1px solid var(--line); background: var(--line); }
.fact { min-height: 116px; padding: 21px; background: var(--paper); }
.fact strong { display: block; margin-bottom: 5px; font-family: var(--serif); font-size: 1.65rem; font-weight: 400; }
.fact span { color: var(--muted); font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card { border-top: 1px solid var(--line); padding-top: 18px; }
.team-photo { height: 330px; margin-bottom: 18px; overflow: hidden; background: var(--paper-deep); }
.team-photo img { object-position: center 30%; }
.team-card h3 { margin: 0 0 5px; }
.team-role { margin-bottom: 12px; color: var(--rust); font-size: .72rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.team-card p { font-size: .89rem; }

.collab-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: stretch; }
.collab-photo { min-height: 400px; overflow: hidden; background: var(--paper-deep); }
.collab-photo:nth-child(2) { min-height: 400px; }
.collab-photo img { object-position: center; }
.collab-note { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 34px 0 0; }
.partner { padding-top: 17px; border-top: 1px solid var(--line); }
.partner h3 { margin-bottom: 8px; }
.partner p { margin: 0; font-size: .9rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 8px 0 100px; }
.contact-panel { padding: 35px; border: 1px solid var(--line); background: rgba(255,255,255,.26); }
.contact-panel h2 { margin-bottom: 16px; font-size: 2.4rem; }
.contact-item { display: block; padding: 19px 0; border-top: 1px solid var(--line); text-decoration: none; }
.contact-item span { display: block; margin-bottom: 4px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-item strong { font-family: var(--serif); font-size: 1.65rem; font-weight: 400; }
.contact-note { padding-top: 18px; border-top: 1px solid var(--line); font-size: .83rem; }
.contact-side { padding: 18px 0; }
.contact-side h2 { max-width: 450px; }

.project-detail-hero { padding: 84px 0 42px; }
.project-detail-hero h1 { max-width: 950px; margin: 0 0 23px; font-size: clamp(3rem, 7vw, 6.8rem); }
.project-detail-hero p { max-width: 760px; font-size: 1.08rem; }
.project-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0 auto 42px; border: 1px solid var(--line); background: var(--line); }
.project-facts > div { min-width: 0; padding: 17px 20px; background: var(--paper); }
.project-facts dt { margin-bottom: 5px; color: var(--muted); font-size: .68rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.project-facts dd { margin: 0; font-family: var(--serif); font-size: 1.12rem; line-height: 1.35; }
.detail-image { height: min(67vw, 720px); min-height: 370px; overflow: hidden; background: var(--paper-deep); }
.detail-image img { object-position: center; }
.detail-copy { display: grid; grid-template-columns: .7fr 1fr; gap: 80px; padding: 70px 0; }
.detail-copy h2 { margin: 0; font-size: 2.15rem; }
.detail-copy p { max-width: 660px; }
.detail-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 100px; }
.detail-gallery figure { height: 420px; margin: 0; overflow: hidden; background: var(--paper-deep); }
.back-link { display: inline-flex; margin: 16px 0 0; color: var(--green); font-size: .82rem; font-weight: 700; text-decoration: none; }

.site-footer { padding: 46px 0 30px; background: var(--green-dark); color: white; }
.footer-top { display: flex; justify-content: space-between; align-items: start; gap: 30px; padding-bottom: 35px; }
.footer-top .brand-name { font-size: 1.55rem; }
.footer-top .brand-note { color: rgba(255,255,255,.62); }
.footer-quote { max-width: 390px; color: rgba(255,255,255,.76); font-family: var(--serif); font-size: 1.2rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.68); font-size: .72rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: white; }

@media (max-width: 820px) {
  .header-inner { min-height: 72px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { display: none; }
  .intro-strip, .about-grid, .contact-grid, .detail-copy { grid-template-columns: 1fr; gap: 32px; }
  .intro-strip { padding-bottom: 72px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { min-height: 240px; }
  .about-image { height: 440px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-photo { height: 270px; }
}
@media (max-width: 560px) {
  .container { width: min(var(--content), calc(100% - 32px)); }
  .hero { padding: 22px 0 55px; }
  .hero-panel { min-height: 620px; }
  .hero-copy { width: 100%; padding: 28px 24px; }
  .hero-panel > img { object-position: 58% center; }
  .page-hero { padding: 62px 0 36px; }
  .page-kicker { align-items: start; }
  .section { padding: 66px 0; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 27px; }
  .project-grid, .team-grid, .collab-grid, .collab-note, .detail-gallery, .feature-grid { grid-template-columns: 1fr; }
  .project-grid { gap: 38px; }
  .team-photo { height: 360px; }
  .collab-photo, .collab-photo:nth-child(2) { min-height: 300px; }
  .detail-image { height: 400px; min-height: 0; }
  .project-facts { grid-template-columns: 1fr 1fr; }
  .detail-gallery figure { height: 310px; }
  .contact-panel { padding: 25px; }
  .footer-top, .footer-bottom { flex-direction: column; }
  .footer-top { gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
