:root { --blue: #2315ff; --ink: #191919; --paper: #f8f8f5; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover, a:focus, a:active { text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #ffb800; outline-offset: 5px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 20; padding: 16px; background: white; }
.skip-link:focus { top: 10px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 0 6%; background: white; }
.brand { font-size: 14px; }
.site-header nav a { font-size: 12px; color: #666; }
.site-header a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.studio-language-toggle { display: inline-flex; align-items: center; gap: .28rem; padding: .3rem .42rem; color: #1746e0; background: rgb(255 255 255 / 78%); border: 1px solid rgb(23 70 224 / 72%); border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; }
.studio-language-toggle button { min-width: 30px; min-height: 30px; padding: .24rem .3rem; color: inherit; background: transparent; border: 0; border-radius: 999px; font: inherit; opacity: .48; }
.studio-language-toggle button:hover, .studio-language-toggle button:focus-visible { opacity: 1; }
.studio-language-toggle button.is-active { color: white; background: #1746e0; opacity: 1; }
.category { font-size: 10px; text-transform: uppercase; letter-spacing: 2px; line-height: 1.6; }
.index-tools { padding: 36px 6%; border-top: 1px solid #eee; background: white; text-align: center; }
.interest-filter { width: min(100%, 1000px); margin-inline: auto; }
.interest-question { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 14px 28px; border: 1px solid #cbd4ee; border-radius: 999px; color: #1746e0; background: white; font-size: clamp(24px, 3vw, 42px); font-weight: 400; letter-spacing: -1px; line-height: 1.25; }
.interest-chevron { flex-shrink: 0; width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.interest-question[aria-expanded="true"] .interest-chevron { transform: rotate(225deg); }
.interest-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 24px 0 4px; animation: unfold .2s ease-out; }
.interest-options button { min-height: 44px; padding: 11px 22px; border: 1px solid #cbd4ee; border-radius: 999px; color: #1746e0; background: white; font-size: 13px; }
.interest-options button:hover { border-color: #1746e0; background: #f2f5ff; }
.interest-options button[aria-pressed="true"] { background: #1746e0; color: white; border-color: #1746e0; }
@keyframes unfold { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.projects { display: flex; flex-direction: column; gap: 18px; padding-block: 12px; background: white; }
.project { --panel-bg: rgb(255 255 255 / 94%); --panel-ink: #191919; position: relative; isolation: isolate; display: grid; grid-template-rows: minmax(24px, 1fr) auto; width: 100%; min-width: 0; min-height: clamp(380px, 45svh, 500px); padding: clamp(10px, 1.5vw, 24px); background: white; scroll-margin-top: 24px; }
.project-media { position: absolute; inset: 0 12px; display: block; overflow: hidden; background: transparent; text-decoration: none; }
.project-media:focus-visible { outline-offset: -6px; }
.project-media img { position: absolute; top: 50%; left: var(--image-x, 50%); transform: translate(calc(-1 * var(--image-x, 50%)), -50%); width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 18px; background: transparent; }
.project-copy { position: relative; z-index: 1; grid-row: 2; align-self: end; width: min(540px, calc(100% - var(--copy-inset, 0%))); margin-left: var(--copy-inset, 0%); display: flex; flex-direction: column; align-items: flex-start; padding: clamp(16px, 1.8vw, 24px); border: 1px solid rgb(255 255 255 / 24%); border-radius: 28px; color: var(--panel-ink); background: var(--panel-bg); box-shadow: 0 8px 36px rgb(0 0 0 / 8%); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.project[data-copy-side="right"] .project-copy { margin-left: auto; margin-right: var(--copy-inset, 0%); }
.project[data-copy-side] .project-copy { margin-left: var(--panel-left, var(--copy-inset, 0%)); margin-right: 0; }
.project h2 { font-size: clamp(28px, 2.8vw, 40px); font-weight: 400; line-height: 1.08; letter-spacing: -1.2px; margin: 8px 0 12px; overflow-wrap: anywhere; }
.project-copy p { font-size: 14px; line-height: 1.65; max-width: 470px; margin: 0 0 10px; }
.project-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.project-link, .subprojects a, .subprojects summary, .site-header a, .site-footer a, .skip-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; max-width: 100%; padding: 10px 18px; border: 1px solid currentColor; border-radius: 999px; text-decoration: none; }
.project-link { background: transparent; color: inherit; font-size: 11px; letter-spacing: .5px; }
.project-link:hover, .subprojects a:hover, .subprojects summary:hover, .site-header a:hover, .site-footer a:hover { background: rgb(127 127 127 / 10%); }
.project-link span[aria-hidden="true"] { font-size: 20px; line-height: 1; }
.black { --panel-bg: rgb(20 20 20 / 92%); --panel-ink: #f4f4ee; }
.sand { --panel-bg: rgb(248 242 223 / 94%); }
.lavender, .blue { --panel-bg: rgb(242 241 251 / 94%); }
.sage { --panel-bg: rgb(239 245 236 / 94%); }
.ice { --panel-bg: rgb(240 246 248 / 94%); }
.yellow { --panel-bg: rgb(255 253 230 / 94%); }
.subprojects { width: 100%; margin: 14px 0 0; font-size: 12px; }
.subprojects summary { cursor: pointer; list-style: none; }
.subprojects summary::-webkit-details-marker { display: none; }
.subprojects summary::after { content: '+'; font-size: 18px; line-height: 1; }
.subprojects[open] summary::after { content: '−'; }
.subprojects ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 12px 0 0; list-style: none; }
.subprojects li { min-width: 0; max-width: 100%; line-height: 1.5; }
.subprojects a { font-size: 11px; padding: 8px 14px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 6%; font-size: 10px; color: #666; background: white; }
@media (max-width: 900px), (max-width: 1100px) and (pointer: coarse) {
  .site-header { padding-inline: 12px; gap: 8px; }
  .header-actions { gap: 8px; }
  .site-header a { padding-inline: 12px; }
  .index-tools { padding: 26px 5%; }
  .interest-question { gap: 12px; padding: 12px 18px; letter-spacing: -.5px; }
  .interest-options { gap: 8px; padding-top: 16px; }
  .interest-options button { padding: 10px 16px; font-size: 12px; }
  .projects { gap: 32px; padding: 16px 12px 32px; }
  .project { display: flex; flex-direction: column; gap: 12px; min-height: 0; padding: 0; }
  .project-media { position: relative; inset: auto; width: 100%; flex-shrink: 0; }
  .project-media img { position: static; display: block; transform: none; width: 100%; height: auto; max-height: 70svh; object-fit: contain; border-radius: 12px; }
  .project-copy, .project[data-copy-side] .project-copy { position: static; width: 100%; margin: 0; padding: 20px; border-radius: 20px; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .project-copy p { font-size: 16px; line-height: 1.6; }
  .project-links { margin-top: 6px; }
  .project-link, .subprojects a { min-height: 48px; font-size: 13px; }
  .studio-language-toggle button { min-width: 36px; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .project-media img, .interest-chevron { transition: none; } .interest-options { animation: none; } }
