:root {
  --ink: #171713;
  --paper: #f1efe8;
  --paper-2: #e8e5dc;
  --sage: #a9b09d;
  --bronze: #9b8063;
  --line: rgba(23, 23, 19, .18);
  --white: #f8f7f2;
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", sans-serif;
}

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

.page-loader { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; background: var(--ink); color: var(--white); transition: transform .9s cubic-bezier(.76,0,.24,1); }
.page-loader span { font: 300 56px var(--serif); letter-spacing: -4px; }
.page-loader.done { transform: translateY(-100%); }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; right: 0; height: 88px; display: flex; align-items: center; padding: 0 clamp(24px, 4vw, 68px); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.16); transition: background .35s, height .35s, color .35s; }
.site-header.scrolled { height: 72px; color: var(--ink); background: rgba(241,239,232,.92); border-color: var(--line); backdrop-filter: blur(16px); }
.logo { display: flex; align-items: center; gap: 12px; min-width: 180px; }
.logo svg { width: 38px; height: 38px; overflow: visible; }
.logo svg path:first-child { fill: none; stroke: currentColor; stroke-width: 1.4; }
.logo svg path:last-child { fill: currentColor; }
.logo > span { display: flex; align-items: baseline; gap: 9px; }
.logo b { font: 500 23px/1 "Manrope"; letter-spacing: -.08em; }
.logo small { font-size: 9px; letter-spacing: .17em; text-transform: uppercase; opacity: .75; white-space: nowrap; }
.desktop-nav { display: flex; gap: clamp(22px, 3vw, 46px); margin: 0 auto; }
.desktop-nav a { position: relative; font-size: 11px; letter-spacing: .08em; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: currentColor; transition: right .25s; }
.desktop-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.language { display: flex; align-items: center; gap: 7px; padding: 0; border: 0; background: none; cursor: pointer; font-size: 9px; letter-spacing: .12em; opacity: .7; }
.language i { width: 18px; height: 1px; background: currentColor; opacity: .5; }
.language span { opacity: .5; }
.language span.active { opacity: 1; }
.header-cta { display: flex; align-items: center; gap: 24px; padding: 11px 14px 11px 16px; border: 1px solid currentColor; font-size: 10px; letter-spacing: .05em; transition: .25s; }
.header-cta:hover { background: var(--white); color: var(--ink); }
.site-header.scrolled .header-cta:hover { background: var(--ink); color: var(--white); }
.header-cta b { font-size: 14px; font-weight: 400; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 160px clamp(24px, 7vw, 112px) 10vh; color: var(--white); overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: url("assets/s3/hero-lobby.jpg") center/cover; animation: heroZoom 16s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,9,.68), rgba(12,12,9,.05) 68%), linear-gradient(0deg, rgba(12,12,9,.55), transparent 55%); }
.hero-content { position: relative; z-index: 1; width: min(920px, 82%); }
.kicker { margin: 0 0 26px; font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.kicker::before { content: ""; display: inline-block; width: 34px; height: 1px; margin: 0 14px 3px 0; background: currentColor; }
.kicker.dark { color: #6d6c63; }
.hero h1, .contact h2 { margin: 0; font: 300 clamp(58px, 8.3vw, 132px)/.78 var(--serif); letter-spacing: -.055em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em, .contact h2 em { font-weight: 300; color: var(--sage); }
.hero-intro { width: min(500px, 86%); margin: 34px 0 30px; color: rgba(255,255,255,.76); font-size: 14px; line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; gap: 34px; padding-bottom: 8px; border-bottom: 1px solid currentColor; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.text-link b { font-size: 14px; font-weight: 400; transition: transform .2s; }
.text-link:hover b { transform: translate(3px,-3px); }
.text-link.light { color: var(--white); }
.hero-meta { position: absolute; z-index: 1; right: clamp(24px, 4vw, 68px); bottom: 10vh; width: 170px; border-top: 1px solid rgba(255,255,255,.4); padding-top: 12px; display: flex; justify-content: space-between; gap: 20px; }
.hero-meta span { font: italic 300 24px var(--serif); color: var(--sage); }
.hero-meta p { margin: 3px 0 0; color: rgba(255,255,255,.68); font-size: 9px; line-height: 1.55; text-transform: uppercase; letter-spacing: .08em; }

.section { display: grid; grid-template-columns: minmax(130px, 16%) 1fr; padding: clamp(100px, 12vw, 190px) clamp(24px, 7vw, 112px); }
.section-index { padding-top: 4px; }
.section-index span { font: italic 300 24px var(--serif); color: var(--bronze); }
.section-index p { margin: 12px 0 0; color: #6f6e65; font-size: 9px; text-transform: uppercase; letter-spacing: .18em; }
.manifesto-copy { max-width: 1050px; }
.manifesto h2, .services h2, .process h2 { max-width: 1050px; margin: 0; font: 300 clamp(42px, 5.6vw, 84px)/1.02 var(--serif); letter-spacing: -.045em; }
.manifesto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; margin-top: 68px; padding-top: 26px; border-top: 1px solid var(--line); }
.manifesto-grid p { margin: 0; color: #57574f; font-size: 13px; line-height: 1.85; }

.project-showcase { padding: 0 clamp(24px, 4vw, 68px) clamp(100px, 10vw, 160px); }
.project { display: grid; grid-template-columns: 1.8fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: end; margin-bottom: clamp(100px, 12vw, 185px); }
.project-bar { grid-template-columns: .8fr 1.5fr; }
.project-image { overflow: hidden; background: #d4d0c6; }
.project-image img { aspect-ratio: 1.5/1; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.project:hover .project-image img { transform: scale(1.035); }
.project-caption { max-width: 370px; padding-bottom: 10%; }
.project-caption > span { color: #858278; font: italic 300 13px var(--serif); }
.project-caption h3 { margin: 17px 0 18px; font: 300 clamp(36px, 4.4vw, 68px)/.95 var(--serif); letter-spacing: -.04em; }
.project-caption p { margin: 0; color: #65645c; font-size: 12px; line-height: 1.75; }
.project-bar .project-caption { margin-left: 10%; }
.concept-note { margin: -80px 0 0 auto; color: #8a887f; font-size: 9px; letter-spacing: .05em; text-align: right; }

.services { background: var(--paper-2); }
.services-content { max-width: 1100px; }
.services-heading { margin-bottom: 76px; }
.service-item { display: grid; grid-template-columns: 60px 1fr 30px; gap: 18px; align-items: start; padding: 27px 0; border-top: 1px solid var(--line); }
.service-item:last-child { border-bottom: 1px solid var(--line); }
.service-item > span { color: #8b887d; font: italic 300 14px var(--serif); }
.service-item h3 { margin: 0; font: 400 clamp(22px, 2.4vw, 33px) var(--serif); letter-spacing: -.02em; }
.service-item p { max-width: 570px; max-height: 0; margin: 0; color: #66655d; font-size: 12px; line-height: 1.7; opacity: 0; overflow: hidden; transition: .4s; }
.service-item:hover p { max-height: 80px; margin-top: 12px; opacity: 1; }
.service-item > b { font-weight: 400; transition: transform .25s; }
.service-item:hover > b { transform: rotate(45deg); }

.process { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.process-bg { position: absolute; inset: 0; opacity: .17; background: url("assets/s3/restaurant-bar.jpg") center/cover; filter: grayscale(1); }
.process::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,23,19,.98), rgba(23,23,19,.82)); }
.process-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(130px, 16%) 1fr; min-height: 760px; padding: clamp(110px, 12vw, 180px) clamp(24px, 7vw, 112px); }
.light-index p { color: rgba(255,255,255,.5); }
.process-content h2 { max-width: 720px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 100px; border-top: 1px solid rgba(255,255,255,.22); }
.process-steps article { min-height: 230px; padding: 25px 26px 15px 0; border-right: 1px solid rgba(255,255,255,.16); }
.process-steps article:not(:first-child) { padding-left: 25px; }
.process-steps span { color: var(--sage); font: italic 300 14px var(--serif); }
.process-steps h3 { margin: 45px 0 12px; font: 300 27px var(--serif); }
.process-steps p { color: rgba(255,255,255,.58); font-size: 10px; line-height: 1.7; }

.studio-content { max-width: 1080px; }
.studio-quote { display: grid; grid-template-columns: 65px 1fr; gap: 28px; padding-bottom: 85px; border-bottom: 1px solid var(--line); }
.studio-quote svg { width: 54px; fill: var(--bronze); }
.studio blockquote { max-width: 950px; margin: 0; font: 300 clamp(44px, 5.7vw, 84px)/1.02 var(--serif); letter-spacing: -.045em; }
.founder { display: grid; grid-template-columns: 200px 1fr; gap: 60px; margin-top: 70px; align-items: start; }
.founder-monogram { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); color: var(--bronze); font: italic 300 42px var(--serif); border-radius: 50%; }
.founder h3 { margin: 0 0 18px; font: 300 38px var(--serif); }
.founder > div:last-child > p:not(.kicker) { max-width: 650px; margin: 0 0 28px; color: #5d5c55; font-size: 13px; line-height: 1.8; }

.contact { padding: clamp(100px, 11vw, 170px) clamp(24px, 7vw, 112px) 30px; color: var(--white); background: #20221e; }
.contact-top { position: relative; padding-bottom: 120px; }
.contact h2 { max-width: 1000px; font-size: clamp(60px, 9vw, 135px); }
.contact-button { position: absolute; right: 4%; top: 32%; width: 145px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; display: grid; place-items: center; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; transition: .35s; }
.contact-button b { position: absolute; right: 28px; top: 28px; font-size: 18px; font-weight: 300; }
.contact-button:hover { color: var(--ink); background: var(--sage); border-color: var(--sage); transform: rotate(-6deg); }
.contact-footer { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr auto; gap: 36px; align-items: end; padding-top: 35px; border-top: 1px solid rgba(255,255,255,.18); }
.contact-footer small { display: block; margin-bottom: 9px; color: rgba(255,255,255,.42); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.contact-footer a:not(.logo), .contact-footer p { margin: 0; font-size: 11px; }
.footer-logo { min-width: 0; }
.copyright { color: rgba(255,255,255,.35); white-space: nowrap; font-size: 8px !important; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.mobile-menu { display: none; }

@media (max-width: 900px) {
  .site-header { height: 72px; }
  .desktop-nav, .header-cta { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { width: 34px; height: 34px; border: 0; background: transparent; display: grid; place-content: center; gap: 6px; cursor: pointer; }
  .menu-toggle span { width: 23px; height: 1px; background: currentColor; transition: .25s; }
  .menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu { position: fixed; z-index: 90; inset: 0; display: grid; align-items: center; padding: 100px 30px 40px; color: var(--white); background: var(--ink); opacity: 0; visibility: hidden; transition: .3s; }
  .mobile-menu[aria-hidden="false"] { opacity: 1; visibility: visible; }
  .mobile-menu nav { display: grid; gap: 14px; }
  .mobile-menu a { font: 300 50px var(--serif); }
  .hero { padding-bottom: 8vh; }
  .hero-content { width: 100%; }
  .hero-meta { display: none; }
  .section, .process-inner { grid-template-columns: 1fr; }
  .section-index { margin-bottom: 55px; }
  .manifesto-grid { gap: 40px; }
  .project, .project-bar { grid-template-columns: 1fr; }
  .project-bar .project-image { grid-row: 1; }
  .project-bar .project-caption { margin-left: 0; }
  .project-caption { padding-bottom: 0; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .contact-footer { grid-template-columns: 1.4fr 1fr 1fr; }
  .contact-footer .copyright { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .logo small { display: none; }
  .logo { min-width: 0; }
  .language { margin-right: 4px; }
  .hero { min-height: 780px; padding-left: 24px; padding-right: 24px; }
  .hero-media { background-position: 60% center; }
  .hero h1 { font-size: clamp(56px, 19vw, 86px); line-height: .83; }
  .hero-intro { width: 100%; font-size: 12px; }
  .section { padding-left: 24px; padding-right: 24px; }
  .manifesto-grid { grid-template-columns: 1fr; margin-top: 44px; }
  .project-showcase { padding-left: 16px; padding-right: 16px; }
  .project { margin-bottom: 90px; }
  .project-image img { aspect-ratio: 1/1.06; }
  .project-caption { padding: 0 8px; }
  .concept-note { margin-top: -50px; }
  .service-item { grid-template-columns: 34px 1fr 20px; gap: 10px; }
  .service-item p { max-height: none; margin-top: 10px; opacity: 1; }
  .process-inner { padding-left: 24px; padding-right: 24px; }
  .process-steps { grid-template-columns: 1fr; margin-top: 55px; }
  .process-steps article, .process-steps article:not(:first-child) { min-height: 0; padding: 22px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .process-steps h3 { margin: 18px 0 8px; }
  .studio-quote { grid-template-columns: 1fr; }
  .studio-quote svg { width: 35px; }
  .founder { grid-template-columns: 1fr; gap: 34px; }
  .founder-monogram { width: 130px; }
  .contact { padding-left: 24px; padding-right: 24px; }
  .contact-top { padding-bottom: 190px; }
  .contact h2 { font-size: 18vw; }
  .contact-button { top: auto; bottom: 28px; left: 0; right: auto; width: 130px; }
  .contact-footer { grid-template-columns: 1fr 1fr; }
  .footer-logo { grid-column: 1 / -1; margin-bottom: 16px; }
}

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