:root {
  --paper: #f1f0eb;
  --ink: #151515;
  --muted: #6f6e69;
  --line: rgba(21, 21, 21, .16);
  --night: #090c10;
  --night-soft: #11161d;
  --white: #f4f6f4;
  --signal: #9eb8cb;
  --max: 1440px;
  --pad: clamp(20px, 4vw, 72px);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 14px; background: var(--ink); color: white; transform: translateY(-140%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.progress { position: fixed; inset: 0 0 auto; z-index: 1000; height: 2px; background: transparent; }
.progress span { display: block; height: 100%; width: 0; background: var(--ink); }
.section-shell { width: min(100%, var(--max)); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 20px var(--pad); transition: background .25s, color .25s, backdrop-filter .25s; }
.site-header.scrolled { background: rgba(241, 240, 235, .85); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(21,21,21,.08); }
.wordmark { display: flex; gap: .38em; text-transform: uppercase; letter-spacing: .09em; font-size: 12px; font-weight: 650; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); font-size: 13px; }
.site-nav a { position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: currentColor; transition: right .25s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.language-switcher { display: flex; align-items: center; gap: 7px; margin-left: clamp(2px, .5vw, 10px); padding-left: clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.language-switcher a { color: var(--muted); }
.language-switcher a[aria-current="page"] { color: var(--ink); }
.language-switcher a::after { display: none; }
.language-switcher span { color: var(--muted); font-weight: 400; }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; color: inherit; }

.hero { min-height: 100svh; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 35%); grid-template-rows: auto 1fr auto; padding-top: 130px; padding-bottom: 42px; overflow: hidden; }
.hero-kicker { grid-column: 1; align-self: start; text-transform: uppercase; letter-spacing: .18em; font-size: 11px; }
.hero-title { grid-column: 1 / -1; align-self: center; position: relative; z-index: 2; margin: 5vh 0 7vh; max-width: 1080px; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7.8vw, 124px); line-height: .92; letter-spacing: -.045em; }
.hero-title em { font-weight: 400; color: var(--muted); }
.hero-bottom { grid-column: 1; display: grid; grid-template-columns: minmax(250px, 520px) auto; gap: 50px; align-items: end; position: relative; z-index: 2; }
.hero-bottom p { margin: 0; font-size: clamp(16px, 1.5vw, 21px); max-width: 580px; }
.text-link { white-space: nowrap; font-size: 13px; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.text-link span { margin-left: 12px; }
.hero-mark { position: absolute; width: clamp(330px, 42vw, 680px); aspect-ratio: 1; right: clamp(-180px, -8vw, -80px); top: 18vh; opacity: .54; display: grid; place-items: center; }
.hero-mark span { font-family: var(--serif); font-size: clamp(38px, 5vw, 74px); letter-spacing: -.06em; }
.orbit { position: absolute; inset: 0; border: 1px solid rgba(21,21,21,.2); border-radius: 50%; }
.orbit-b { inset: 15%; }
.orbit-c { inset: 33%; }
.orbit::before { content: ""; position: absolute; width: 8px; aspect-ratio: 1; background: var(--ink); border-radius: 50%; top: 50%; left: -4px; animation: orbit 16s linear infinite; transform-origin: calc(50% + 4px) center; }
.orbit-b::before { animation-duration: 11s; animation-direction: reverse; }
.orbit-c::before { animation-duration: 7s; }
@keyframes orbit { to { transform: rotate(360deg); } }

.works { padding-top: clamp(100px, 14vw, 200px); padding-bottom: clamp(110px, 15vw, 220px); }
.section-head { display: grid; grid-template-columns: 1fr 2fr; column-gap: clamp(30px, 7vw, 130px); align-items: start; margin-bottom: clamp(70px, 9vw, 140px); }
.eyebrow { margin: 0; text-transform: uppercase; font-size: 10px; letter-spacing: .19em; font-weight: 700; }
.section-head h2 { margin: -12px 0 0; font-family: var(--serif); font-size: clamp(42px, 5.4vw, 82px); line-height: .97; font-weight: 400; letter-spacing: -.04em; }
.section-intro { grid-column: 2; max-width: 640px; margin: 36px 0 0; font-size: clamp(16px, 1.5vw, 20px); color: var(--muted); }
.project-list { display: grid; gap: clamp(90px, 13vw, 190px); }
.project-card { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .8fr); gap: clamp(28px, 6vw, 100px); align-items: end; cursor: pointer; outline: none; }
.project-card--reverse { grid-template-columns: minmax(260px, .8fr) minmax(0, 1.45fr); }
.project-card--reverse .project-media { order: 2; }
.project-card--reverse .project-copy { order: 1; }
.project-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #111; }
.project-media--wide { aspect-ratio: 2.1 / 1; }
.project-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s; }
.project-card:hover video, .project-card:focus-visible video { transform: scale(1.025); filter: contrast(1.04); }
.media-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; padding: 20px; color: white; background: linear-gradient(transparent 45%, rgba(0,0,0,.5)); opacity: 0; transition: opacity .3s; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.media-overlay b { font-size: 28px; font-weight: 400; }
.project-card:hover .media-overlay, .project-card:focus-visible .media-overlay { opacity: 1; }
.project-copy { padding-bottom: 10px; }
.project-number { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 700; color: var(--muted); }
.project-copy h3 { margin: 0 0 22px; font-family: var(--serif); font-size: clamp(38px, 4vw, 66px); line-height: .95; font-weight: 400; letter-spacing: -.035em; }
.project-copy > p:not(.project-number) { font-size: clamp(16px, 1.4vw, 19px); max-width: 500px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 26px; }
.tags span { border: 1px solid var(--line); padding: 7px 10px; border-radius: 100px; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }

.storyworld { position: relative; overflow: hidden; background: var(--night); color: var(--white); padding: clamp(100px, 13vw, 190px) 0; }
.storyworld-noise { position: absolute; inset: 0; opacity: .14; background-image: radial-gradient(rgba(255,255,255,.4) .6px, transparent .6px); background-size: 7px 7px; mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent); }
.storyworld-inner { position: relative; z-index: 1; }
.storyworld-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(55px, 7vw, 100px); }
.status { margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .13em; color: #adb5bc; }
.status i { display: inline-block; width: 7px; aspect-ratio: 1; margin-right: 8px; background: #b9d3b0; border-radius: 50%; box-shadow: 0 0 12px #b9d3b0; }
.storyworld-grid { display: grid; grid-template-columns: minmax(320px, .9fr) minmax(420px, 1fr); gap: clamp(50px, 9vw, 150px); align-items: center; }
.storyworld-visual { position: relative; min-height: 680px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: radial-gradient(circle at 50% 30%, rgba(121,155,181,.2), transparent 37%), linear-gradient(to bottom, #121820, #07090c); }
.cerepolis-sun { width: 55%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(192,220,241,.45); display: grid; place-items: center; box-shadow: 0 0 70px rgba(133,182,217,.12), inset 0 0 70px rgba(133,182,217,.08); animation: breathe 6s ease-in-out infinite; }
.cerepolis-sun span { width: 46%; aspect-ratio: 1; background: radial-gradient(circle at 36% 35%, #e9f0ee, #6c879d 28%, #18232d 65%, #06090c 100%); border-radius: 50%; box-shadow: 0 0 50px rgba(170,210,237,.4); }
.cerepolis-lines { position: absolute; inset: 45% -20% auto; height: 55%; background: repeating-linear-gradient(90deg, transparent 0 34px, rgba(179,209,228,.14) 35px), repeating-linear-gradient(0deg, transparent 0 34px, rgba(179,209,228,.12) 35px); transform: perspective(380px) rotateX(65deg); transform-origin: top; }
.visual-caption { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; justify-content: space-between; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
@keyframes breathe { 50% { transform: scale(1.035); box-shadow: 0 0 100px rgba(133,182,217,.18), inset 0 0 80px rgba(133,182,217,.12); } }
.story-tabs { display: flex; gap: 6px; margin-bottom: 48px; }
.story-tab { border: 1px solid rgba(255,255,255,.2); border-radius: 100px; background: transparent; color: rgba(255,255,255,.55); padding: 9px 14px; font-size: 10px; letter-spacing: .14em; cursor: pointer; }
.story-tab.active { background: var(--white); color: var(--night); border-color: var(--white); }
.story-label { margin: 0 0 18px; color: #aeb7bf; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.story-panel h2 { margin: 0 0 34px; font-family: var(--serif); font-size: clamp(46px, 5.4vw, 82px); line-height: .94; font-weight: 400; letter-spacing: -.04em; }
.story-panel > p:not(.story-label):not(.role-line) { max-width: 660px; color: #bac0c5; font-size: clamp(16px, 1.4vw, 19px); }
.story-panel blockquote { margin: 40px 0; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.3); max-width: 670px; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 38px); line-height: 1.12; }
.role-line { margin-top: 36px; text-transform: uppercase; letter-spacing: .15em; font-size: 10px; color: #8e9aa3; }

.about { padding-top: clamp(110px, 15vw, 210px); padding-bottom: clamp(110px, 15vw, 210px); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 10vw, 160px); align-items: start; }
.about-portrait { width: clamp(180px, 22vw, 280px); aspect-ratio: 1; margin: 0 0 34px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(21, 21, 21, .1); box-shadow: 0 18px 48px rgba(21, 21, 21, .08); background: #d9d6cf; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.big-quote { margin: 0 0 46px; font-family: var(--serif); font-size: clamp(25px, 3vw, 43px); line-height: 1.1; letter-spacing: -.025em; }
.facts { border-top: 1px solid var(--line); }
.facts p { display: grid; grid-template-columns: 105px 1fr; gap: 18px; margin: 0; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.facts span { color: var(--muted); }
.about-text { font-family: var(--serif); font-size: clamp(21px, 2.35vw, 34px); line-height: 1.25; letter-spacing: -.015em; }
.about-text p { margin: 0 0 1.15em; }

.contact { min-height: 80svh; padding-top: clamp(100px, 14vw, 190px); padding-bottom: clamp(100px, 12vw, 170px); display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); }
.contact h2 { margin: 25px 0 30px; font-family: var(--serif); font-size: clamp(48px, 7vw, 110px); line-height: .92; font-weight: 400; letter-spacing: -.05em; }
.contact-copy { max-width: 600px; font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); }
.contact-button { margin-top: 44px; width: min(100%, 430px); display: flex; justify-content: space-between; align-items: center; border: 0; border-bottom: 1px solid var(--ink); padding: 12px 0; background: none; cursor: pointer; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.contact-button b { font-size: 28px; font-weight: 400; transition: transform .25s; }
.contact-button:hover b { transform: translate(5px,-5px); }
.contact-placeholder { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.contact-placeholder a { color: inherit; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; padding-bottom: 26px; border-top: 1px solid var(--line); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.site-footer p { margin: 0; }

.project-dialog { width: min(1180px, calc(100% - 28px)); max-height: calc(100svh - 28px); padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 25px 90px rgba(0,0,0,.35); }
.project-dialog::backdrop { background: rgba(5,5,5,.78); backdrop-filter: blur(8px); }
.dialog-close { position: fixed; top: 30px; right: 30px; z-index: 4; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(0,0,0,.5); color: white; font-size: 28px; line-height: 1; cursor: pointer; }
.dialog-content { display: grid; grid-template-columns: 1.05fr .95fr; min-height: min(760px, calc(100svh - 28px)); }
.dialog-media { background: #080808; min-height: 420px; }
.dialog-media img { width: 100%; height: 100%; object-fit: cover; }
.dialog-copy { padding: clamp(42px, 6vw, 88px); overflow-y: auto; }
.dialog-copy h2 { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(46px, 5vw, 74px); line-height: .93; font-weight: 400; letter-spacing: -.04em; }
.dialog-copy p { font-size: 16px; }
.dialog-lead { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 32px) !important; line-height: 1.17; }
dl { margin: 42px 0 0; border-top: 1px solid var(--line); }
dt, dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
dt { padding-bottom: 0; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
dd { padding-top: 5px; font-size: 14px; }

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

@media (max-width: 900px) {
  .site-header { padding-top: 16px; padding-bottom: 16px; }
  .menu-toggle { display: block; }
  .menu-toggle span { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
  .site-nav { position: fixed; inset: 0; z-index: -1; padding: 110px var(--pad) 40px; background: var(--paper); flex-direction: column; justify-content: center; gap: 14px; transform: translateY(-100%); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
  .site-nav a { font-family: var(--serif); font-size: clamp(40px, 12vw, 72px); line-height: 1; }
  .language-switcher { margin: 30px 0 0; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); align-self: stretch; justify-content: flex-start; gap: 10px; }
  .site-nav .language-switcher a { font-family: var(--sans); font-size: 12px; line-height: 1; }
  .site-header.menu-open .site-nav { transform: translateY(0); }
  .hero { grid-template-columns: 1fr; padding-top: 110px; }
  .hero-title { grid-column: 1; font-size: clamp(48px, 13vw, 86px); }
  .hero-bottom { grid-template-columns: 1fr; gap: 24px; }
  .hero-mark { opacity: .25; right: -210px; top: 28vh; }
  .section-head { grid-template-columns: 1fr; gap: 25px; }
  .section-head h2 { margin-top: 0; }
  .section-intro { grid-column: 1; margin-top: 5px; }
  .project-card, .project-card--reverse { grid-template-columns: 1fr; gap: 28px; }
  .project-card--reverse .project-media, .project-card--reverse .project-copy { order: initial; }
  .project-media--wide { aspect-ratio: 16 / 10; }
  .storyworld-grid { grid-template-columns: 1fr; }
  .storyworld-visual { min-height: 520px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { margin-bottom: 26px; }
  .dialog-content { grid-template-columns: 1fr; }
  .dialog-media { min-height: 280px; max-height: 42vh; }
  .dialog-close { top: 22px; right: 22px; }
}

@media (max-width: 560px) {
  .wordmark { flex-direction: column; gap: 0; line-height: 1.05; }
  .hero { min-height: 94svh; }
  .hero-title br { display: none; }
  .hero-title { font-size: clamp(48px, 14.2vw, 76px); line-height: .94; }
  .hero-bottom p { font-size: 16px; }
  .project-copy h3 { font-size: 42px; }
  .storyworld-visual { min-height: 420px; }
  .visual-caption { flex-direction: column; gap: 4px; }
  .story-panel h2 { font-size: 47px; }
  .site-footer { flex-wrap: wrap; }
  .site-footer p:nth-child(2) { display: none; }
}

@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; }
}
