/* BASD-ART · soft lilac paper, ink black, candy-pink accent; Bricolage display, Manrope text, JetBrains Mono labels */
@font-face { font-family: 'Bricolage Grotesque'; src: url('../fonts/BricolageGrotesque.ttf') format('truetype'); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope.ttf') format('truetype'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../fonts/JetBrainsMono.ttf') format('truetype'); font-weight: 100 800; font-display: swap; }

:root {
  --paper: #F1EDF2; --ink: #17141B; --accent: #FF6FAE; --accent-ink: #B0125F;
  --muted: #4A4250; --soft: #5E5566; --line: #CFC5D3; --night: #17141B; --night-text: #D9D1DD; --night-soft: #C9BECD;
  --display: 'Bricolage Grotesque', 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.locked { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent-ink); }
h1, h2, h3 { text-wrap: balance; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: max(16px, 4vw, env(safe-area-inset-left, 0px)); padding-right: max(16px, 4vw, env(safe-area-inset-right, 0px)); }
@media (min-width: 1200px) { .wrap { padding-left: 48px; padding-right: 48px; } }

.h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.02em; }
.eyebrow { margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.eyebrow.accent { color: var(--accent); }
.eyebrow.ink { color: var(--ink); }
.mono-s { font-family: var(--mono); font-size: 12px; color: var(--soft); }
.label { margin: 0 0 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.label-light { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #A99FAF; }
.item-title { font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.3; }
.item-title-l { font-size: 21px; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { color: var(--accent); }
.btn-line { border: 1.5px solid var(--ink); }
.btn-line-light { border: 1.5px solid var(--paper); color: var(--paper); align-self: flex-start; }
.btn-line-light:hover { color: var(--accent); border-color: var(--accent); }

/* header */
.site-header { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.logo { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: 0.01em; text-decoration: none; }
.header-right { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.nav a { text-decoration: none; }
.lang { display: flex; align-items: center; font-size: 14px; color: #6E6575; }
.lang button { min-height: 44px; padding: 0 6px; border: 0; background: none; color: #6E6575; font-weight: 500; letter-spacing: 0.06em; cursor: pointer; }
.lang button[aria-pressed="true"] { color: var(--ink); font-weight: 700; }

/* hero */
.hero { padding-top: 40px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; position: relative; }
.hero { min-height: min(620px, 74vh); padding-top: 24px; }
.hero .hero-text { flex: 0 1 auto; width: fit-content; max-width: 100%; }
.hero .hero-title { width: fit-content; }
.hero-shapes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-meta { position: absolute; right: 0; bottom: 18px; z-index: 2; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; max-width: 100%; }
.hero-wp { padding: 6px 14px; border-radius: 999px; background: var(--ink, #17141B); color: var(--paper, #F1EDF2); font-weight: 600; font-size: 14px; text-decoration: none; }
.hero-wp:hover { color: var(--accent, #FF6FAE); }
.hero-edition { padding: 4px 10px; border-radius: 999px; background: var(--paper, #F1EDF2); color: var(--ink, #17141B); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-reroll { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 999px; background: var(--paper, #F1EDF2); color: var(--ink, #17141B); font-size: 17px; font-weight: 700; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: transform .3s ease; }
.hero-reroll:hover { color: var(--accent-ink, #B0125F); transform: rotate(90deg); }
.hero-reroll:focus-visible { outline: 2px solid #B0125F; outline-offset: 2px; }
@media (max-width: 759px) { .hero { padding-bottom: calc(50vw + 124px); } .hero-meta { bottom: 12px; left: 0; justify-content: flex-start; } .hero-edition { font-size: 10px; letter-spacing: 0.04em; padding: 4px 6px; } }
.hero-text, .hero-figure { position: relative; z-index: 1; }
.hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(64px, 11vw, 168px); line-height: 0.9; letter-spacing: -0.03em; }
.hero-intro { margin: 0; max-width: 34ch; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; font-weight: 500; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure { flex: 1 1 340px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }

.highlights { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.highlights-in { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; gap: 10px 40px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: #3A3340; }
@media (min-width: 1200px) { .highlights-in { flex-wrap: nowrap; justify-content: space-between; gap: 24px; font-size: 12px; white-space: nowrap; } }

/* work */
.section { padding-top: 112px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: baseline; justify-content: space-between; }
.hint { font-size: 15px; color: var(--soft); }
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px 24px; }
.work { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.work-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 4px; overflow: hidden; position: relative; }
.work-btn img.slide:not(:first-child) { position: absolute; inset: 0; height: 100%; }
.work-btn.has-slides img.slide { opacity: 0; transition: opacity 1.4s ease, transform .5s ease; }
.work-btn.has-slides img.slide.on { opacity: 1; }
.slide-count { position: absolute; right: 10px; top: 10px; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: rgba(23,20,27,.72); color: var(--paper); font-family: var(--mono); font-size: 11px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.slide-count::before { content: ''; width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 2px; box-shadow: 2px -2px 0 -0.5px rgba(23,20,27,.72), 2px -2px 0 1px currentColor; }
.work-btn img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s ease; }
.work-btn:hover img { transform: scale(1.03); }
.work figcaption { display: flex; flex-direction: column; gap: 2px; }
.work-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.work-shown { font-size: 14px; color: var(--muted); }

/* projects (dark) */
.dark { background: var(--night); color: var(--paper); }
.dark a { color: var(--paper); }
.section-dark { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 64px; }
.feature { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.feature-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.feature-title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(44px, 6vw, 84px); line-height: 0.95; letter-spacing: -0.02em; }
.proj3d { margin: 0; max-width: 46ch; font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--accent); }
.feature-copy { margin: 0; max-width: 46ch; color: var(--night-text); }
.feature-grid { flex: 1 1 480px; min-width: 0; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.feature-grid img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 4px; }
.feature-grid .feature-main { grid-row: span 2; aspect-ratio: 3 / 4; height: auto; }
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 12px; }
  .feature-grid .feature-main { grid-row: auto; grid-column: span 2; aspect-ratio: 4 / 5; }
  .feature-grid img:not(.feature-main) { aspect-ratio: 1 / 1; height: auto; }
}
.more { display: flex; flex-direction: column; gap: 20px; }
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px 24px; }
@media (max-width: 400px) { .projects { grid-template-columns: 1fr; } }
.project { display: flex; flex-direction: column; gap: 12px; padding: 0; border: 0; background: none; color: var(--paper); text-align: left; cursor: pointer; }
.project-media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; background: #3B2A3D; border-radius: 4px; overflow: hidden; }
.project-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project:hover .project-media img { transform: scale(1.03); }
a.project { text-decoration: none; }
a.project .play { font-weight: 700; font-size: 18px; }
.play { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 999px; background: var(--paper); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.project-sub { margin-top: -8px; font-size: 15px; color: var(--night-soft); }

/* about */
.about { padding-top: 112px; display: flex; flex-wrap: wrap; gap: 32px 80px; }
.about-side { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.portrait { width: 100%; max-width: 300px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.about-id { margin: 0; font-size: 13px; letter-spacing: 0.04em; line-height: 1.9; }
.about-text { flex: 999 1 560px; min-width: 0; max-width: 68ch; display: flex; flex-direction: column; gap: 20px; }
.about-text p { margin: 0; }
.about-text .lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; font-weight: 500; }

/* lists */
.list-section { gap: 48px; padding-bottom: 56px; }
.press { padding-top: 56px; padding-bottom: 112px; }
.groups { display: flex; flex-direction: column; gap: 40px; }
.group { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.row-year { font-family: var(--mono); font-size: 14px; color: var(--soft); padding-top: 4px; }
.title-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pill { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.note { font-size: 15px; color: var(--accent-ink); font-weight: 600; }
.link-btn { min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.link-btn:hover { color: var(--accent-ink); }
.ext { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; text-underline-offset: 4px; }

/* contact */
.contact { background: var(--accent); color: var(--ink); }
.contact-in { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 28px; }
.contact-title { max-width: 18ch; font-size: clamp(36px, 5vw, 64px); line-height: 1.02; }
.contact-text { margin: 0; max-width: 52ch; font-size: 19px; }
.mail { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4.4vw, 56px); line-height: 1.1; color: var(--ink); overflow-wrap: anywhere; }
.mail:hover { color: var(--paper); }
.socials { display: flex; flex-wrap: wrap; gap: 12px 28px; font-weight: 600; }
.socials a:hover { color: var(--paper); }

.footer { padding-top: 28px; padding-bottom: max(28px, env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.footer-wp { color: var(--muted); font-size: 14px; text-underline-offset: 3px; }
.footer-links button { min-height: 44px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(23, 20, 27, 0.96); color: var(--paper); display: flex; flex-direction: column; gap: 16px; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, 4vw) max(24px, env(safe-area-inset-bottom, 0px)); }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lb-count { color: var(--night-soft); }
.lb-media { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; }
.lb-media img, .lb-media video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; background: #000; }
.lb-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.lb-caption { min-width: 0; }
.lb-caption .item-title { font-size: 20px; }
.lb-sub { font-size: 14px; color: var(--night-soft); }
.lb-desc { margin: 8px 0 0; max-width: 62ch; font-size: 15px; line-height: 1.5; color: var(--night-text); }
.lb-nav { display: flex; gap: 8px; }
.btn-ghost { min-height: 44px; padding: 0 18px; border: 1.5px solid var(--paper); border-radius: 999px; background: none; color: var(--paper); font-weight: 600; font-size: 14px; cursor: pointer; }
.btn-round { min-width: 48px; min-height: 48px; border: 1.5px solid var(--paper); border-radius: 999px; background: none; color: var(--paper); font-weight: 600; font-size: 18px; cursor: pointer; }
.btn-ghost:hover, .btn-round:hover { color: var(--accent); border-color: var(--accent); }

/* legal */
.legal { position: fixed; inset: 0; z-index: 110; background: var(--paper); color: var(--ink); overflow-y: auto; padding: 24px max(16px, 4vw) 64px; }
.legal-in { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.6; }
.legal-in p { margin: 0; }
.legal-in .h2 { font-size: 44px; margin-bottom: 4px; }
.legal-top { display: flex; justify-content: flex-end; }
.btn-ghost-dark { min-height: 44px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 999px; background: none; color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; }
