@font-face { font-family: Manrope; src: url('./assets/Manrope.ttf') format('truetype'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('./assets/SpaceGrotesk.ttf') format('truetype'); font-weight: 300 700; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #121519; --surface: #1b2026; --text: #f7f4e9; --muted: #c1c2bd;
  --line: #3c4146; --accent: #f5d65a; --accent-ink: #191711; --accent-text: #f5d65a;
  --paper: #ede6d2; --paper-ink: #24221b; --paper-muted: #575044;
  --gutter: clamp(1.1rem, 5vw, 5.4rem);
  --measure: 1430px;
  font-family: Manrope, system-ui, sans-serif;
  background: var(--bg); color: var(--text);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f9f6ec; --surface: #efeadb; --text: #202125; --muted: #545653;
  --line: #d4cdbf; --accent-text: #745300;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, figure, p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #6387ec; outline-offset: 4px; }
img { display: block; width: 100%; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 1rem; }
.skip { position: absolute; left: 1rem; top: -6rem; z-index: 5; background: var(--accent); color: var(--accent-ink); padding: .75rem; }
.skip:focus { top: 1rem; }
.top {
  min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 1.5rem; padding: .65rem var(--gutter); border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; gap: .72rem; align-items: center; width: max-content; font-weight: 800; font-size: .8rem; letter-spacing: .08em; line-height: 1.2; }
.brand small { display: block; margin-top: .15rem; font-size: .64rem; letter-spacing: .27em; }
.brand img { width: 40px; height: 40px; }
.top nav, .controls { display: flex; align-items: center; }
.top nav { gap: clamp(.9rem, 2.8vw, 2.8rem); color: var(--muted); font-size: .84rem; font-weight: 800; }
.top nav a:hover, footer a:hover { color: var(--text); text-decoration: underline; text-underline-offset: .32rem; }
.controls { justify-self: end; gap: .4rem; }
.controls button { background: transparent; border: 1px solid var(--line); border-radius: 50%; width: 43px; height: 43px; cursor: pointer; font-size: .8rem; font-weight: 800; }
.controls button:hover { background: var(--surface); }

.hero { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); min-height: clamp(450px, 48vw, 650px); border-bottom: 1px solid var(--line); }
.hero-copy { padding: clamp(2.8rem, 6vw, 6rem) 1.5rem clamp(2.8rem, 6vw, 6rem) var(--gutter); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.hero h1, .section-head h2, .studio h2 {
  font-family: 'Space Grotesk', Manrope, sans-serif; font-weight: 700;
  letter-spacing: -.078em; line-height: .97;
}
.hero h1 { margin: .97rem 0 1.42rem; font-size: clamp(3.3rem, 8.1vw, 9.75rem); line-height: .83; text-transform: uppercase; }
.hero h1 em { font: inherit; color: var(--accent-text); }
.hero-lead { max-width: 28rem; font-size: clamp(1rem, 1.39vw, 1.27rem); line-height: 1.62; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; margin-top: 1.55rem; }
.button { display: inline-flex; gap: .8rem; align-items: center; justify-content: space-between; padding: .85rem 1rem; min-height: 46px; font-weight: 800; font-size: .85rem; line-height: 1.3; }
.primary { background: var(--accent); color: var(--accent-ink); }
.primary:hover { background: #ffe589; }
.quiet { font-weight: 800; border-bottom: 1px solid currentColor; padding-bottom: .19rem; font-size: .82rem; }
.quiet:hover { color: var(--accent-text); }
.hero-image { background: #26344b; position: relative; overflow: hidden; min-height: 100%; }
.hero-image img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 55% 45%; }
.hero-image::after { content: ""; position: absolute; inset: 58% 0 0; background: linear-gradient(transparent, #101319de); pointer-events: none; }
.hero-image figcaption { position: absolute; z-index: 1; inset: auto 1.4rem 1.25rem; color: #fff9ed; display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: .73rem; font-weight: 800; }
.hero-image figcaption b { color: var(--accent-ink); background: var(--accent); padding: .4rem .6rem; text-transform: uppercase; font-size: .68rem; letter-spacing: .04em; }

.section { max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.4rem; align-items: end; margin-bottom: clamp(1.35rem, 3vw, 2.7rem); }
.section-head h2, .studio h2 { font-size: clamp(2.4rem, 5.4vw, 5.6rem); white-space: pre-line; text-wrap: balance; }
.section-head > p, .studio-text > p:not(.eyebrow) { color: var(--muted); font-size: 1rem; line-height: 1.65; max-width: 37rem; }
.press-section { padding-top: clamp(2.1rem, 6.4vw, 6.5rem); }
.press { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); background: var(--paper); color: var(--paper-ink); }
.press figure { position: relative; min-height: 345px; }
.press figure img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.press figure figcaption { position: absolute; bottom: .7rem; left: .7rem; right: .7rem; width: fit-content; color: #fcf7e9; background: #111824ec; padding: .45rem .6rem; font-size: .69rem; }
.press-copy { padding: clamp(1.5rem, 4vw, 4rem); align-self: center; }
.press-copy .eyebrow { color: #823224; }
.press h2 { font-family: Georgia, serif; font-size: clamp(3.75rem, 8vw, 8rem); font-weight: normal; letter-spacing: -.095em; line-height: .98; margin-top: .35rem; }
.press .byline { font-weight: 800; margin: .65rem 0 1rem; font-size: .83rem; }
.press-copy > p:not(.eyebrow):not(.byline) { color: var(--paper-muted); line-height: 1.6; max-width: 29rem; }
.press-button { margin-top: 1.35rem; background: var(--paper-ink); color: #fff8e7; }
.press-button:hover { background: #493e2c; }
.reading { margin-top: 1rem; border-block: 1px solid var(--line); }
.reading summary { cursor: pointer; padding: 1rem .1rem; font-size: .88rem; font-weight: 800; }
.reading summary:hover { color: var(--accent-text); }
.reading ul { padding: 0; margin: 0; list-style: none; }
.reading li { border-top: 1px solid var(--line); }
.reading li a { display: grid; grid-template-columns: minmax(5.1rem, .32fr) 1fr auto; align-items: baseline; gap: .6rem; padding: .83rem .1rem; }
.reading li a > span:first-child { color: var(--muted); font-size: .75rem; font-weight: 800; }
.reading li strong { font-size: .9rem; }
.reading li a:hover strong { text-decoration: underline; text-underline-offset: .2em; }

.career { padding-block: clamp(3rem, 7vw, 7rem); }
.career-layout { display: grid; grid-template-columns: .87fr 1.13fr; gap: clamp(1.5rem, 5vw, 5.5rem); align-items: start; }
.archive-photo img { aspect-ratio: 4/3; height: auto; object-fit: cover; background: var(--surface); }
.archive-photo a { display: block; }
.archive-photo figcaption, .studio figcaption { color: var(--muted); font-size: .73rem; line-height: 1.45; margin-top: .62rem; }
.career-photo img { aspect-ratio: 5/4; object-position: 50% 42%; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { padding: 1rem 0; border-top: 1px solid var(--line); }
.timeline li:first-child { padding-top: .8rem; }
.timeline h3 { font-size: clamp(1rem, 1.45vw, 1.22rem); letter-spacing: -.027em; }
.timeline p { color: var(--muted); line-height: 1.58; margin-top: .35rem; }

.gallery { padding-block: clamp(3rem, 7vw, 7rem); }
.gallery-grid { display: grid; grid-template-columns: 1.85fr 1fr; gap: clamp(.9rem, 2vw, 1.6rem); align-items: start; }
.team img, .kiato img { aspect-ratio: auto; height: clamp(15rem, 30vw, 29rem); }
.team img { object-position: 48% 45%; }
.kiato img { object-position: center 7%; }
.studio { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border-top: 1px solid var(--line); }
.studio-text { padding: clamp(2.3rem, 6.5vw, 6.25rem) var(--gutter); align-self: center; }
.studio h2 { margin-top: .65rem; }
.studio-text > p:not(.eyebrow) { margin: 1rem 0 1.35rem; }
.studio figure { position: relative; min-height: 320px; overflow: hidden; }
.studio img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 48%; }
.studio figcaption { position: absolute; bottom: .8rem; right: .85rem; background: #111824ed; color: #fff9ed; padding: .4rem .6rem; }
footer { display: flex; justify-content: space-between; padding: 1.4rem var(--gutter); color: var(--muted); font-size: .8rem; border-top: 1px solid var(--line); }

@media (max-width: 875px) {
  .hero { min-height: 410px; }
  .hero h1 { font-size: clamp(3rem, 8.3vw, 7.15rem); }
  .section-head { grid-template-columns: 1fr; gap: .68rem; }
}
@media (max-width: 650px) {
  .top { grid-template-columns: 1fr auto; gap: 0 .55rem; min-height: 0; padding-bottom: 0; }
  .top nav { grid-column: 1/-1; grid-row: 2; justify-content: space-between; padding: .77rem 0; }
  .hero, .press, .career-layout, .studio { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-copy { padding: 2.25rem var(--gutter) 1.6rem; }
  .hero h1 { font-size: clamp(3.4rem, 14vw, 6.1rem); margin-bottom: 1.1rem; }
  .hero-image { min-height: 0; aspect-ratio: 1.29; }
  .hero-image img { object-position: center; }
  .hero-image figcaption { inset: auto .65rem .62rem; font-size: .66rem; }
  .press figure { min-height: 0; aspect-ratio: 1.58; }
  .career-photo img { aspect-ratio: 1.5; }
  .gallery-grid { grid-template-columns: 1fr; gap: 1.35rem; }
  .team img { height: auto; aspect-ratio: 1.3; }
  .kiato img { height: min(110vw, 30rem); }
  .studio figure { min-height: 0; aspect-ratio: 1.2; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
