:root {
  --bg: #f2efe8;
  --surface: #e6e1d7;
  --line: rgba(22, 38, 55, .16);
  --text: #172637;
  --muted: #687582;
  --acid: #164bde;
  --paper: #fffdf8;
  --max: 1320px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
[data-theme="dark"] {
  --bg: #111416;
  --surface: #1b2022;
  --line: rgba(235, 239, 229, .14);
  --text: #edf0e8;
  --muted: #9da39d;
  --acid: #c9ef56;
  --paper: #171b1d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: "DM Sans", sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; width: 100%; }
h1, h2, strong, .brand { font-family: "Space Grotesk", sans-serif; }
h1, h2 { margin: 0; line-height: .92; letter-spacing: -.07em; }
h1 em, h2 em { color: var(--acid); font-style: normal; }
.grain { position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.cursor-glow { position: fixed; z-index: 1; width: 340px; height: 340px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(22,75,222,.11), transparent 68%); transform: translate(-50%, -50%); transition: opacity .3s ease; }
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 30; width: 100%; height: 3px; background: var(--acid); transform-origin: left; animation: scrollProgress linear both; animation-timeline: scroll(root); }
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 clamp(20px, 5vw, 70px); background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { font-size: 1.25rem; font-weight: 700; letter-spacing: .12em; }
.brand span, .kicker { color: var(--acid); }
.availability { margin: 0 0 0 auto; padding-right: 28px; color: var(--muted); font-size: .75rem; }
.theme-toggle { display: inline-flex; align-items: center; gap: 7px; margin-right: 24px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 72%, transparent); cursor: pointer; transition: border-color .25s ease, transform .25s var(--ease); }
.theme-toggle:hover { border-color: var(--acid); transform: translateY(-1px); }
.theme-toggle-track { display: block; width: 35px; height: 19px; padding: 2px; border-radius: 999px; background: var(--text); transition: background .3s ease; }
.theme-toggle-thumb { display: block; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); transform: translateX(0); transition: transform .35s var(--ease), background .3s ease; }
.theme-toggle[aria-pressed="true"] .theme-toggle-track { background: var(--acid); }
.theme-toggle[aria-pressed="true"] .theme-toggle-thumb { transform: translateX(16px); background: var(--bg); }
.theme-icon { position: relative; display: block; width: 13px; height: 13px; color: var(--muted); }
.theme-icon-sun { border: 1.5px solid currentColor; border-radius: 50%; }
.theme-icon-sun::before, .theme-icon-sun::after { content: ""; position: absolute; inset: -4px; background: repeating-conic-gradient(from 0deg, currentColor 0deg 8deg, transparent 8deg 45deg); -webkit-mask: radial-gradient(circle, transparent 0 6px, #000 6.5px); mask: radial-gradient(circle, transparent 0 6px, #000 6.5px); }
.theme-icon-moon { border-radius: 50%; box-shadow: 4px -2px 0 0 var(--muted); transform: scale(.8); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; }
.menu-toggle span { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 7px; border: 1px solid var(--line); border-radius: 50%; color: var(--acid); }
nav { display: flex; gap: 27px; color: var(--muted); font-size: .82rem; }
nav a:hover, nav a.current, footer a:hover { color: var(--acid); }
.hero { position: relative; min-height: 100dvh; display: grid; align-items: center; overflow: hidden; padding: 120px clamp(22px, 9vw, 160px) 70px; background: var(--paper); transition: background .5s ease; }
.hero::before { content: ""; position: absolute; width: 62vw; height: 62vw; right: -15vw; top: 8vh; border: 1px solid rgba(22,75,222,.22); border-radius: 50%; animation: orbit 20s linear infinite; }
.hero::after { content: ""; position: absolute; width: 40vw; height: 40vw; right: -4vw; top: 20vh; border: 1px solid rgba(22,75,222,.12); border-radius: 50%; animation: orbit 13s linear infinite reverse; }
.hero-copy { position: relative; z-index: 2; max-width: 760px; }
.kicker { display: flex; align-items: center; gap: 11px; margin: 0 0 24px; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.kicker span { width: 25px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(4.5rem, 12vw, 11rem); }
.hero-lead { max-width: 410px; margin: 32px 0; color: var(--muted); font-size: 1.05rem; }
.circle-link { display: grid; place-items: center; width: 120px; height: 120px; border: 1px solid var(--acid); border-radius: 50%; color: var(--acid); font-size: .8rem; line-height: 1.1; text-align: center; transition: background .3s ease, color .3s ease, transform .3s var(--ease); }
.circle-link strong { display: block; font-size: 1.2rem; }
.circle-link:hover { background: var(--acid); color: var(--bg); transform: rotate(12deg) scale(1.05); }
.hero-image-card { position: absolute; right: 13vw; top: 21%; z-index: 1; width: min(28vw, 360px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); transform: rotate(7deg); box-shadow: 20px 24px 0 rgba(22,75,222,.12); animation: floatCard 7s ease-in-out infinite; }
.hero-image-card img { height: 100%; object-fit: cover; filter: saturate(.72); }
.hero-image-card span { position: absolute; right: 15px; bottom: 14px; left: 15px; z-index: 1; color: #fff; font: 600 .75rem "Space Grotesk", sans-serif; }
.hero-image-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23,38,55,.75), transparent 50%); }
.hero-index { position: absolute; right: clamp(24px, 6vw, 86px); bottom: 60px; z-index: 2; color: var(--muted); font: 700 .7rem "Space Grotesk", sans-serif; letter-spacing: .16em; }
.hero-index span { color: var(--acid); }
.section { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(100px, 13vw, 180px) clamp(22px, 6vw, 82px); }
.section-number { position: absolute; top: clamp(32px, 5vw, 70px); left: clamp(22px, 6vw, 82px); margin: 0; color: var(--acid); font: 700 .7rem "Space Grotesk", sans-serif; letter-spacing: .15em; }
.manifesto { display: grid; grid-template-columns: 1fr 1.7fr .9fr; gap: 40px; align-items: end; border-top: 1px solid var(--line); }
.manifesto h2, .process h2 { font-size: clamp(3rem, 6vw, 6.7rem); }
.manifesto-text { max-width: 270px; margin: 0; color: var(--muted); }
.services { display: grid; grid-template-columns: .8fr 1.1fr 1fr; gap: 45px; background: var(--text); color: var(--bg); transition: background .5s ease, color .5s ease; }
.services .section-number, .services .kicker { color: var(--acid); }
.services h2 { font-size: clamp(3rem, 6vw, 6rem); }
.service-list { border-top: 1px solid rgba(242,239,232,.2); }
.service { position: relative; display: grid; grid-template-columns: 35px 1fr 30px; gap: 12px; align-items: start; padding: 21px 0; border-bottom: 1px solid rgba(242,239,232,.2); transition: padding .35s var(--ease), color .35s ease; }
.service:hover { padding-left: 13px; color: #b6c8ff; }
.service span, .service b { color: #7fa0ff; font-size: .72rem; }
.service h3 { margin: 0; font-size: 1.3rem; }
.service p { grid-column: 2 / 3; margin: 0; color: color-mix(in srgb, var(--bg) 62%, transparent); font-size: .86rem; }
.service b { text-align: right; font-size: 1.2rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 60px; }
.section-head h2 { font-size: clamp(3rem, 6vw, 6.5rem); }
.filters { display: flex; gap: 7px; }
.filter { border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; background: transparent; color: var(--muted); cursor: pointer; font-size: .78rem; }
.filter.active, .filter:hover { border-color: var(--acid); color: var(--bg); background: var(--acid); }
.project-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; }
.project-wide { grid-column: 1 / -1; width: 63%; margin-left: auto; }
.project { transition: opacity .3s ease, transform .3s var(--ease); }
.project.is-hidden { display: none; }
.project-open { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: var(--surface); cursor: pointer; text-align: left; }
.project-large .project-open { aspect-ratio: 1 / 1.08; }
.project-small .project-open { aspect-ratio: 1 / 1.28; }
.project-wide .project-open { aspect-ratio: 16 / 7; }
.project img { height: 100%; object-fit: cover; filter: saturate(.72); transition: transform .7s var(--ease), filter .5s ease; }
.project-open::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,12,12,.84), transparent 62%); }
.project-open:hover img { filter: saturate(1); transform: scale(1.06); }
.project-meta { position: absolute; right: 25px; bottom: 22px; left: 25px; z-index: 1; display: grid; grid-template-columns: 35px 1fr auto; align-items: end; gap: 10px; }
.project-meta small, .project-meta em { color: var(--acid); font-size: .65rem; font-style: normal; letter-spacing: .12em; text-transform: uppercase; }
.project-meta strong { font-size: clamp(1.1rem, 2vw, 1.7rem); }
.process { display: grid; grid-template-columns: .75fr 1.2fr 1fr; gap: 45px; border-top: 1px solid var(--line); }
.process-list { list-style: none; margin: 0; padding: 0; }
.process-list li { display: grid; grid-template-columns: 35px 1fr; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); }
.process-list li:first-child { padding-top: 0; border-top: 0; }
.process-list span { color: var(--acid); font-size: .72rem; }
.process-list strong { font-size: 1.1rem; }
.process-list p { grid-column: 2; margin: -4px 0 0; color: var(--muted); font-size: .86rem; }
.notes { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(35px, 8vw, 120px); align-items: center; border-top: 1px solid var(--line); }
.notes-image { aspect-ratio: 4 / 5; overflow: hidden; transform: rotate(-4deg); box-shadow: 18px 18px 0 rgba(22,75,222,.12); }
.notes-image img { height: 100%; object-fit: cover; filter: saturate(.65); transition: transform .8s var(--ease); }
.notes-image:hover img { transform: scale(1.07); }
.notes-copy h2 { font-size: clamp(3.4rem, 7vw, 7rem); }
.notes-copy > p:not(.kicker) { max-width: 430px; margin: 28px 0; color: var(--muted); }
.text-link { display: inline-block; border-bottom: 1px solid currentColor; padding-bottom: 7px; font-weight: 700; }
.contact { display: grid; grid-template-columns: .7fr 1fr 1fr; gap: 40px; align-items: end; border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(3.8rem, 8vw, 8rem); }
.contact-link { justify-self: end; color: var(--acid); font: 600 clamp(1rem, 2vw, 1.5rem) "Space Grotesk", sans-serif; }
.contact-link span { margin-left: 12px; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(22px, 5vw, 70px); border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
footer span:first-child { color: var(--text); font-family: "Space Grotesk", sans-serif; font-weight: 700; letter-spacing: .1em; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.project-dialog { width: min(940px, calc(100% - 32px)); padding: 0; overflow: hidden; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.project-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(5px); }
.project-dialog img { max-height: 62vh; object-fit: cover; }
.dialog-content { padding: 28px 32px 34px; }
.dialog-content h2 { font-size: clamp(2.5rem, 5vw, 5rem); }
.dialog-content p:last-child { max-width: 470px; color: var(--muted); }
.dialog-close { position: absolute; top: 15px; right: 15px; z-index: 2; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(17,19,20,.65); color: #fff; cursor: pointer; font-size: 1.5rem; line-height: 1; }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes floatCard { 0%, 100% { transform: rotate(7deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-18px); } }
@keyframes scrollProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 800px) {
  .availability { display: none; }
  .theme-toggle { margin-right: 12px; }
  .menu-toggle { display: block; }
  nav { position: absolute; top: 68px; right: 20px; display: none; flex-direction: column; min-width: 170px; padding: 16px; border: 1px solid var(--line); background: var(--surface); }
  nav.open { display: flex; }
  .hero { min-height: 820px; padding: 130px 22px 70px; }
  .hero h1 { font-size: clamp(4rem, 18vw, 7rem); }
  .hero::before { width: 120vw; height: 120vw; right: -55vw; top: 22vh; }
  .hero::after { width: 80vw; height: 80vw; right: -26vw; top: 36vh; }
  .hero-image-card { right: 9vw; top: 42%; width: 42vw; opacity: .9; }
  .manifesto, .services, .process, .contact, .notes { grid-template-columns: 1fr; gap: 32px; }
  .manifesto-text { max-width: 430px; }
  .section-head { display: block; }
  .filters { margin-top: 28px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-wide { grid-column: auto; width: 100%; margin-left: 0; }
  .project-large .project-open, .project-small .project-open, .project-wide .project-open { aspect-ratio: 4 / 3; }
  .contact-link { justify-self: start; }
  footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
