:root {
  --gold: #b59a73;
  --charcoal: #343333;
  --ground: #f4f4f2;
  --white: #fff;
  --muted: #676563;
  --line: rgba(52, 51, 51, .18);
  --shell: min(1440px, calc(100vw - 96px));
  --ease: cubic-bezier(.16, 1, .3, 1);
  --z-header: 20;
  --z-dialog: 40;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--charcoal); font-family: "Avenir Next", "Helvetica Neue", "PingFang SC", "Noto Sans CJK SC", sans-serif; letter-spacing: 0; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--white); color: var(--charcoal); transition: top .2s; }
.skip-link:focus { top: 16px; }
.header-sentinel { position: absolute; top: 40px; width: 1px; height: 1px; pointer-events: none; }
.section-shell { width: var(--shell); margin-inline: auto; }

.site-header { position: fixed; inset: 0 0 auto; z-index: var(--z-header); height: 76px; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,.72); transition: background .4s var(--ease), color .4s var(--ease); }
.site-header.is-scrolled { height: 68px; background: rgba(244, 244, 242, .96); color: var(--charcoal); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { text-shadow: none; }
.brand { display: inline-flex; align-items: center; min-width: 124px; }
.brand-logo { display: block; width: 124px; height: auto; aspect-ratio: 1200 / 590; object-fit: contain; filter: invert(1); transition: filter .4s var(--ease); }
.site-header.is-scrolled .brand-logo, .footer-brand .brand-logo { filter: none; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.3vw, 42px); font-size: 13px; white-space: nowrap; }
.site-nav a { position: relative; padding: 10px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 1px; background: var(--gold); transition: right .35s var(--ease); }
.site-nav a:hover::after { right: 0; }
.nav-cta, .text-action, .filter, .tablist button { border: 0; background: transparent; cursor: pointer; }
.nav-cta { padding: 10px 16px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; }
.nav-cta:hover { border-color: var(--gold); color: var(--gold); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 1px; margin: 6px auto; background: currentColor; }

.hero { position: relative; min-height: 100dvh; overflow: hidden; background: var(--charcoal); color: var(--white); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; animation: hero-settle 2.2s var(--ease) both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,16,16,.82) 0%, rgba(16,16,16,.48) 38%, rgba(16,16,16,.1) 72%), linear-gradient(0deg, rgba(16,16,16,.34), transparent 50%); }
.hero-content { position: relative; width: var(--shell); min-height: 100dvh; margin-inline: auto; padding-top: 76px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero h1 { margin: 0 0 10px; font-size: clamp(1rem, 1.25vw, 1.25rem); font-weight: 600; }
.hero-location { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--gold); font-size: 11px; font-weight: 600; }
.hero-location::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.hero-location span { color: rgba(255,255,255,.9); font-size: 9px; }
.hero-statement { max-width: 13ch; margin: 0; font-size: clamp(3.5rem, 5.8vw, 5.4rem); font-weight: 300; line-height: 1.08; text-wrap: balance; }
.hero-copy { max-width: 34em; margin: 30px 0 0; font-size: clamp(1rem, 1.25vw, 1.15rem); font-weight: 400; line-height: 1.8; color: rgba(255,255,255,.96); text-shadow: 0 1px 8px rgba(0,0,0,.5); text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 38px; }
.button { display: inline-flex; min-height: 48px; padding: 0 24px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), background .25s, color .25s; }
.button:active, .nav-cta:active { transform: translateY(1px); }
.button-light { background: var(--white); color: var(--charcoal); }
.button-light:hover { background: var(--gold); color: var(--charcoal); }
.button-dark { background: var(--charcoal); color: var(--white); }
.button-dark:hover { background: #242323; }
.text-action { padding: 10px 0; color: var(--white); }
.text-action span { display: inline-block; margin-left: 8px; transition: transform .3s var(--ease); }
.text-action:hover span { transform: translate(4px, -4px); }

.projects { padding-block: clamp(110px, 12vw, 190px); }
.section-heading { max-width: 930px; }
.section-heading h2, .thinking h2, .process h2, .studio h2, .contact-band h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5.2rem); font-weight: 300; line-height: 1.13; letter-spacing: 0; text-wrap: balance; }
.section-heading p { max-width: 56ch; margin: 30px 0 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.project-filters { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 62px 0 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.filter { padding: 6px 0; color: var(--muted); }
.filter.is-active { color: var(--charcoal); box-shadow: 0 2px 0 var(--gold); }
.project-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 42px 28px; align-items: start; }
.project[hidden] { display: none; }
.project-wide { grid-column: span 1; }
.project:nth-child(2) { margin-top: 14vw; }
.project-tall { grid-column: 2; }
.project:nth-child(4) { grid-column: 1; margin-top: -10vw; }
.project-open { width: 100%; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.project-open img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(.68); transition: filter .6s var(--ease), transform .8s var(--ease); }
.project-tall img { aspect-ratio: 4 / 5; }
.project-open:hover img { filter: saturate(.9); transform: scale(1.012); }
.project-caption { display: grid; grid-template-columns: 1fr auto; gap: 18px; margin-top: 18px; align-items: baseline; }
.project-caption strong { font-size: 18px; font-weight: 500; }
.project-caption span { color: var(--muted); font-size: 12px; }

.thinking { padding-bottom: clamp(110px, 12vw, 190px); }
.thinking-statement { display: grid; grid-template-columns: .42fr 1fr; gap: 40px; padding: clamp(80px, 9vw, 140px) 0; border-top: 1px solid var(--line); }
.statement-mark { color: var(--gold); font-size: clamp(7rem, 17vw, 16rem); line-height: .75; font-weight: 600; }
.thinking-statement p { max-width: 34em; margin: 34px 0 0; color: var(--muted); font-size: 18px; line-height: 1.9; }
.discipline-stage { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; background: var(--white); }
.discipline-visual { overflow: hidden; }
.discipline-visual img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(.92); }
.discipline-tabs { padding: clamp(38px, 5vw, 76px); display: flex; flex-direction: column; justify-content: space-between; }
.tablist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
.tablist button { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); text-align: left; }
.tablist button[aria-selected="true"] { color: var(--charcoal); border-color: var(--gold); }
.discipline-panel { margin-top: 80px; }
.discipline-panel > span { color: var(--gold); font-size: 13px; }
.discipline-panel h3 { max-width: 17ch; margin: 18px 0; font-size: clamp(2rem, 3vw, 3.5rem); font-weight: 300; line-height: 1.2; letter-spacing: 0; }
.discipline-panel p { max-width: 36em; margin: 0; color: var(--muted); line-height: 1.9; }

.process { padding-block: clamp(110px, 12vw, 190px); background: #e9e9e6; }
.process-intro { max-width: 990px; }
.process-list { margin: 80px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process-list li { min-height: 260px; padding-top: 18px; border-top: 2px solid var(--charcoal); }
.process-list span { color: var(--gold); font-size: 12px; }
.process-list h3 { margin: 68px 0 16px; font-size: 21px; font-weight: 500; }
.process-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

.studio { padding-block: clamp(110px, 12vw, 190px); }
.studio-copy { display: grid; grid-template-columns: 1fr .7fr; gap: 8vw; align-items: end; }
.studio-copy p { max-width: 42em; margin: 0 0 8px; color: var(--muted); line-height: 1.9; }
.studio-matrix { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 90px; border-top: 1px solid var(--line); }
.studio-matrix span { padding: 28px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.studio-matrix span:nth-child(3n+2) { padding-left: 24px; }
.studio-matrix span:nth-child(3n) { padding-left: 48px; }
.studio-signature { display: flex; align-items: center; gap: 38px; margin-top: 100px; padding-top: 40px; border-top: 1px solid var(--line); }
.studio-signature img { width: 154px; height: auto; aspect-ratio: 1200 / 590; object-fit: contain; flex: 0 0 auto; }
.studio-signature strong { font-size: 19px; }
.studio-signature p { max-width: 52ch; margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.contact-band { padding-block: clamp(100px, 12vw, 170px); background: var(--gold); color: var(--charcoal); }
.contact-band .section-shell { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.site-footer { min-height: 210px; display: grid; grid-template-columns: 1fr auto auto; gap: 30px; align-items: center; color: var(--muted); font-size: 12px; }
.footer-brand { color: var(--charcoal); }

dialog { padding: 0; border: 0; color: var(--charcoal); }
dialog::backdrop { background: rgba(24, 24, 24, .78); }
.contact-dialog { width: min(680px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); background: var(--ground); }
.dialog-close-form { position: absolute; top: 18px; right: 18px; z-index: 2; }
.dialog-close { width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(244,244,242,.92); cursor: pointer; font-size: 26px; line-height: 1; }
.dialog-content { padding: clamp(38px, 6vw, 72px); }
.dialog-content h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 300; }
.dialog-content > p { color: var(--muted); line-height: 1.8; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; }
.contact-form label { display: grid; gap: 8px; font-size: 13px; }
.contact-form label:nth-child(4) { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid #85817d; border-radius: 0; background: transparent; padding: 12px 0; color: var(--charcoal); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #716f6b; opacity: 1; }
.contact-form textarea { resize: vertical; }
.contact-form .button { justify-self: start; }
.form-status { grid-column: 1 / -1; min-height: 1.5em; margin: 0; color: var(--muted); }
.project-dialog { width: min(1100px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); background: var(--ground); }
.project-dialog img { width: 100%; max-height: 62dvh; object-fit: cover; }
.project-dialog-copy { padding: 32px 40px 44px; }
.project-dialog-copy > span { color: var(--gold); font-size: 12px; }
.project-dialog-copy h2 { margin: 10px 0 16px; font-size: clamp(2rem, 4vw, 4rem); font-weight: 300; }
.project-dialog-copy p { max-width: 60ch; margin: 0; color: var(--muted); line-height: 1.8; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes hero-settle { from { transform: scale(1.045); filter: saturate(.45); } to { transform: scale(1); filter: saturate(.72); } }

@media (max-width: 980px) {
  :root { --shell: min(100% - 40px, 760px); }
  .site-header { height: 68px; padding: 0 20px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 68px 0 auto; display: none; padding: 34px 20px; background: var(--ground); color: var(--charcoal); flex-direction: column; align-items: stretch; gap: 4px; border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a, .site-nav .nav-cta { padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; text-align: left; }
  .hero-shade { background: linear-gradient(90deg, rgba(20,20,20,.76), rgba(20,20,20,.2)), linear-gradient(0deg, rgba(20,20,20,.46), transparent 55%); }
  .hero-statement { font-size: clamp(3rem, 9.5vw, 5rem); }
  .project-grid { grid-template-columns: 1fr; gap: 52px; }
  .project, .project-wide, .project-tall, .project:nth-child(2), .project:nth-child(4) { grid-column: 1; margin-top: 0; }
  .project-tall img { aspect-ratio: 16 / 10; }
  .thinking-statement { grid-template-columns: 1fr; }
  .statement-mark { font-size: 9rem; }
  .discipline-stage { grid-template-columns: 1fr; }
  .discipline-visual { aspect-ratio: 4 / 3; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .studio-copy { grid-template-columns: 1fr; align-items: start; }
  .contact-band .section-shell { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; padding-block: 54px; align-content: center; }
}

@media (max-width: 620px) {
  .brand { min-width: auto; }
  .hero-content { justify-content: flex-end; padding-bottom: 78px; }
  .hero h1 { margin-bottom: 18px; }
  .hero-statement { max-width: 13ch; font-size: clamp(2.75rem, 12vw, 4.5rem); }
  .hero-copy { margin-top: 22px; font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; margin-top: 28px; }
  .section-heading h2, .thinking h2, .process h2, .studio h2, .contact-band h2 { font-size: clamp(2.3rem, 11vw, 3.8rem); }
  .project-caption { grid-template-columns: 1fr; gap: 7px; }
  .discipline-tabs { padding: 28px 22px 42px; }
  .tablist { grid-template-columns: 1fr; }
  .discipline-panel { margin-top: 56px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: auto; padding-bottom: 40px; }
  .process-list h3 { margin-top: 38px; }
  .studio-matrix { grid-template-columns: 1fr 1fr; }
  .studio-matrix span:nth-child(n) { padding-left: 0; }
  .studio-matrix span:nth-child(even) { padding-left: 16px; }
  .brand { min-width: 104px; }
  .brand-logo { width: 104px; }
  .hero-media { object-position: 57% center; }
  .studio-signature { align-items: flex-start; gap: 24px; }
  .studio-signature img { width: 112px; }
  .hero-location { margin-bottom: 18px; }
  .hero-location span { display: none; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label:nth-child(4), .form-status { grid-column: 1; }
  .project-dialog-copy { padding: 28px 22px 36px; }
}

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