:root {
  --ink: #171716;
  --ink-soft: #24231f;
  --paper: #f4f1eb;
  --paper-2: #ebe6dd;
  --sand: #d6c8b7;
  --clay: #9a6b4b;
  --line: rgba(23, 23, 22, .16);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.section-pad { padding-left: clamp(22px, 5.4vw, 86px); padding-right: clamp(22px, 5.4vw, 86px); }

.site-header {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 clamp(22px, 5.4vw, 86px);
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(244, 241, 235, .88);
  backdrop-filter: blur(16px);
  border-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid currentColor; border-radius: 50%;
  font-family: var(--serif); font-size: 22px; line-height: 1;
}
.brand-copy { display: grid; line-height: 1.08; }
.brand-copy strong { font-size: 14px; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; }
.brand-copy small { font-family: var(--serif); font-size: 14px; opacity: .72; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.8vw, 40px); font-size: 13px; font-weight: 600; }
.nav > a:not(.nav-cta) { position: relative; }
.nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: currentColor; transition: right .25s ease; }
.nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 12px 18px; border: 1px solid var(--ink); border-radius: 999px; transition: .25s ease; }
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; position: relative; cursor: pointer; }
.menu-toggle span { position: absolute; width: 22px; height: 1px; background: var(--ink); left: 11px; transition: .25s ease; }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.hero {
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 66px);
  padding-bottom: 50px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(410px, 1.14fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: center;
  position: relative;
}
.eyebrow { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: .18em; font-weight: 700; opacity: .65; margin-bottom: 18px; }
.hero h1, .section-head h2, .manifesto h2, .about h2, .cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  letter-spacing: -.035em;
}
.hero h1 { font-size: clamp(54px, 6.7vw, 108px); line-height: .89; max-width: 820px; }
.hero h1 em, .manifesto h2 em { color: var(--clay); font-weight: 400; }
.hero-copy > p { max-width: 600px; font-size: clamp(15px, 1.35vw, 19px); line-height: 1.65; color: rgba(23, 23, 22, .72); margin: 28px 0 0; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-size: 13px; font-weight: 700; transition: transform .25s ease, background .25s ease, color .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { color: var(--paper); background: var(--ink); }
.btn-dark:hover { background: var(--clay); }
.btn-outline { border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; }
.text-link span { font-size: 18px; transition: transform .25s ease; }
.text-link:hover span { transform: translate(3px, 3px); }

.hero-visual { position: relative; align-self: stretch; min-height: 650px; display: flex; align-items: center; }
.hero-image-wrap { width: 100%; height: min(70svh, 720px); overflow: hidden; border-radius: 3px; background: #d7d1c7; }
.hero-image-wrap img { height: 112%; object-fit: cover; object-position: center 48%; will-change: transform; }
.floating-card { position: absolute; background: rgba(244, 241, 235, .93); backdrop-filter: blur(12px); padding: 16px 18px; display: grid; min-width: 185px; box-shadow: 0 22px 60px rgba(0,0,0,.08); }
.floating-card span { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; opacity: .58; }
.floating-card strong { font-family: var(--serif); font-size: 21px; font-weight: 400; }
.card-top { top: 10%; left: -34px; }
.card-bottom { right: -24px; bottom: 13%; }
.hero-index { position: absolute; left: clamp(22px, 5.4vw, 86px); bottom: 24px; font-size: 10px; letter-spacing: .2em; opacity: .48; }

.section-dark { background: var(--ink); color: var(--paper); }
.manifesto { min-height: 68svh; padding-top: 110px; padding-bottom: 110px; display: grid; grid-template-columns: .35fr 1fr; gap: 60px; align-items: end; }
.manifesto-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: .18em; opacity: .55; align-self: start; }
.manifesto-text p { font-size: 14px; opacity: .62; margin: 0 0 18px; }
.manifesto h2 { font-size: clamp(54px, 7vw, 118px); line-height: .94; max-width: 1060px; }

.projects, .services, .process { padding-top: clamp(90px, 10vw, 150px); padding-bottom: clamp(90px, 10vw, 150px); }
.section-head { display: flex; justify-content: space-between; gap: 50px; align-items: end; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(44px, 5.1vw, 80px); line-height: .98; max-width: 880px; }
.section-head > p { margin: 0; max-width: 470px; font-size: 14px; line-height: 1.7; color: rgba(23, 23, 22, .64); }

.project-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-auto-rows: clamp(280px, 33vw, 510px); gap: 14px; }
.project-card { position: relative; overflow: hidden; background: #d7d1c7; }
.project-card.project-large { grid-row: span 2; }
.project-card.project-wide { grid-column: span 2; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .85s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.project-card:hover img { transform: scale(1.035); filter: saturate(.92); }
.project-overlay { position: absolute; inset: auto 0 0 0; padding: 48px 24px 22px; color: white; background: linear-gradient(to top, rgba(0,0,0,.62), transparent); }
.project-overlay span { font-size: 10px; text-transform: uppercase; letter-spacing: .15em; opacity: .78; }
.project-overlay h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.5vw, 38px); margin: 5px 0 0; }
.projects-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.projects-foot p { margin: 0; font-size: 13px; opacity: .64; }

.services { background: var(--paper-2); }
.service-list { border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 70px .58fr 1fr 40px; gap: 30px; align-items: center; min-height: 138px; border-bottom: 1px solid var(--line); transition: padding .3s ease, background .3s ease; }
.service-item:hover { padding-left: 14px; background: rgba(255,255,255,.23); }
.service-number { font-size: 10px; letter-spacing: .15em; opacity: .45; }
.service-item h3 { margin: 0; font-family: var(--serif); font-size: clamp(30px, 3vw, 48px); font-weight: 400; }
.service-item p { margin: 0; max-width: 610px; font-size: 13px; line-height: 1.65; color: rgba(23, 23, 22, .64); }
.service-arrow { font-size: 24px; opacity: .45; }

.section-sand { background: var(--sand); }
.about { padding-top: clamp(80px, 9vw, 130px); padding-bottom: clamp(80px, 9vw, 130px); display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(48px, 9vw, 150px); }
.about-image { position: relative; width: min(36vw, 430px); max-width: 100%; justify-self: center; }
.about-image img { aspect-ratio: 1; object-fit: cover; object-position: center; border-radius: 50%; filter: saturate(.82) contrast(1.02); box-shadow: 0 28px 70px rgba(23,23,22,.13); }
.about-stamp { position: absolute; right: -34px; bottom: 30px; width: 92px; height: 92px; display: grid; place-items: center; background: var(--ink); color: var(--paper); border-radius: 50%; text-align: center; font-family: var(--serif); font-size: 20px; line-height: .85; transform: rotate(-9deg); }
.about h2 { font-size: clamp(48px, 6vw, 92px); line-height: .94; }
.about-lead { font-family: var(--serif); font-size: clamp(24px, 2.7vw, 38px); line-height: 1.12; max-width: 720px; margin: 26px 0 20px; }
.about-copy > p:not(.about-lead) { max-width: 650px; font-size: 14px; line-height: 1.8; color: rgba(23, 23, 22, .7); margin: 0 0 26px; }

.timeline { border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: 110px 1fr; gap: 36px; padding: 34px 0 38px; border-bottom: 1px solid var(--line); }
.timeline-item > span { font-family: var(--serif); font-size: 44px; color: var(--clay); }
.timeline-item h3 { font-family: var(--serif); font-size: clamp(30px, 3vw, 48px); font-weight: 400; margin: 0 0 8px; }
.timeline-item p { margin: 0; max-width: 720px; color: rgba(23, 23, 22, .65); font-size: 14px; line-height: 1.7; }

.cta { position: relative; overflow: hidden; background: var(--clay); color: var(--paper); min-height: 72svh; display: grid; place-items: center; padding-top: 110px; padding-bottom: 110px; }
.cta-inner { text-align: center; position: relative; z-index: 2; max-width: 900px; }
.cta .eyebrow { opacity: .72; }
.cta h2 { font-size: clamp(64px, 9vw, 144px); line-height: .86; }
.cta p { max-width: 660px; margin: 24px auto 30px; font-size: 15px; line-height: 1.7; opacity: .82; }
.cta-mark { position: absolute; font-family: var(--serif); font-size: min(42vw, 650px); line-height: 1; color: rgba(255,255,255,.055); bottom: -24%; left: 50%; transform: translateX(-50%); white-space: nowrap; }

.footer { background: var(--ink); color: var(--paper); padding-top: 60px; padding-bottom: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand div { display: grid; }
.footer-brand strong { font-size: 14px; text-transform: uppercase; letter-spacing: .12em; }
.footer-brand small { font-family: var(--serif); font-size: 15px; opacity: .6; }
.footer-links { justify-self: end; display: flex; flex-wrap: wrap; align-items: center; gap: 26px; font-size: 12px; }
.footer-links a { opacity: .72; transition: opacity .2s ease; }
.footer-links a:hover { opacity: 1; }
.footer-note, .copyright { margin: 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.13); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; opacity: .48; }
.copyright { text-align: right; }

.floating-contact { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: inline-flex; align-items: center; gap: 9px; padding: 13px 16px; background: var(--ink); color: var(--paper); border-radius: 999px; box-shadow: 0 14px 40px rgba(0,0,0,.18); font-size: 11px; font-weight: 700; transition: transform .25s ease, background .25s ease; }
.floating-contact:hover { transform: translateY(-3px); background: var(--clay); }
.floating-contact svg { width: 17px; height: 17px; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1060px) {
  .nav { gap: 18px; }
  .hero { grid-template-columns: 1fr 1fr; gap: 42px; }
  .hero-visual { min-height: 560px; }
  .hero-image-wrap { height: 60svh; }
  .service-item { grid-template-columns: 56px .75fr 1fr 30px; gap: 18px; }
}

@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .site-header { height: var(--header-h); }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 12px; }
  .brand-copy small { font-size: 13px; }
  .menu-toggle { display: block; z-index: 102; }
  .nav { position: fixed; inset: 0; background: var(--paper); flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding: 80px 28px; transform: translateX(100%); transition: transform .42s cubic-bezier(.2,.7,.2,1); z-index: 101; font-family: var(--serif); font-size: 42px; }
  .nav.open { transform: translateX(0); }
  .nav-cta { font-family: var(--sans); font-size: 13px; margin-top: 12px; }

  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 54px); gap: 52px; }
  .hero h1 { font-size: clamp(56px, 16vw, 82px); }
  .hero-copy > p { font-size: 15px; }
  .hero-visual { min-height: auto; }
  .hero-image-wrap { height: 70svh; min-height: 510px; }
  .card-top { top: 24px; left: -6px; }
  .card-bottom { right: -6px; bottom: 34px; }
  .hero-index { display: none; }

  .manifesto { grid-template-columns: 1fr; gap: 60px; min-height: 74svh; }
  .manifesto h2 { font-size: clamp(56px, 15vw, 86px); }

  .section-head { display: grid; gap: 22px; }
  .section-head > p { max-width: 620px; }
  .project-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 380px; }
  .project-card.project-large { grid-row: auto; grid-column: span 2; height: 560px; }
  .project-card.project-wide { grid-column: span 2; }

  .service-item { grid-template-columns: 42px 1fr 28px; padding: 25px 0; min-height: 0; }
  .service-item h3 { font-size: 36px; }
  .service-item p { grid-column: 2 / 4; }
  .service-arrow { grid-column: 3; grid-row: 1; }

  .about { grid-template-columns: 1fr; }
  .about-image { width: min(62vw, 390px); }
  .about-stamp { right: -18px; }

  .footer { grid-template-columns: 1fr; gap: 34px; }
  .footer-links { justify-self: start; }
  .copyright { text-align: left; }
}

@media (max-width: 560px) {
  .section-pad { padding-left: 18px; padding-right: 18px; }
  .site-header { padding-left: 18px; padding-right: 12px; }
  .brand-copy small { display: none; }
  .hero { padding-bottom: 34px; }
  .hero h1 { font-size: clamp(52px, 15.5vw, 72px); line-height: .91; }
  .hero-actions { display: grid; justify-items: start; gap: 18px; }
  .btn { min-height: 48px; width: 100%; }
  .hero-image-wrap { height: 64svh; min-height: 470px; }
  .floating-card { min-width: 160px; padding: 13px 14px; }
  .floating-card strong { font-size: 18px; }
  .card-top { left: 8px; top: 16px; }
  .card-bottom { right: 8px; bottom: 18px; }

  .manifesto { padding-top: 80px; padding-bottom: 80px; }
  .manifesto h2 { font-size: 14.5vw; }

  .projects, .services, .process { padding-top: 82px; padding-bottom: 82px; }
  .section-head { margin-bottom: 34px; }
  .section-head h2 { font-size: 45px; }
  .project-grid { grid-template-columns: 1fr; grid-auto-rows: 430px; gap: 10px; }
  .project-card.project-large, .project-card.project-wide { grid-column: auto; height: auto; }
  .projects-foot { align-items: stretch; flex-direction: column; }

  .service-item { grid-template-columns: 34px 1fr 24px; gap: 12px; }
  .service-item h3 { font-size: 31px; }
  .service-item p { font-size: 12px; }

  .about { padding-top: 78px; padding-bottom: 78px; gap: 42px; }
  .about-image { width: min(78vw, 330px); }
  .about h2 { font-size: 52px; }
  .about-lead { font-size: 27px; }

  .timeline-item { grid-template-columns: 58px 1fr; gap: 18px; padding: 28px 0; }
  .timeline-item > span { font-size: 34px; }
  .timeline-item h3 { font-size: 34px; }

  .cta { min-height: 66svh; padding-top: 84px; padding-bottom: 84px; }
  .cta h2 { font-size: 18vw; }
  .cta p { font-size: 13px; }

  .footer { padding-top: 48px; }
  .footer-links { display: grid; gap: 14px; }
  .footer-note { line-height: 1.6; }

  .floating-contact { right: 12px; bottom: 12px; padding: 13px; }
  .floating-contact span { display: none; }
  .floating-contact svg { width: 19px; height: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
