/* R10 Studio — site styles. Editorial, quiet chrome; the work carries the colour. */

:root {
  --bg: #f5f3ee;
  --bg-2: #ebe8e1;
  --fg: #131313;
  --fg-2: #3a3a38;
  --muted: #6d6b65;
  --line: #d6d2c8;
  --accent: #ed2f59;
  --accent-ink: #b8173d;
  --band-bg: #121212;
  --band-bg-2: #1d1d1c;
  --band-fg: #f1efe9;
  --band-muted: #a5a29a;
  --band-line: #34332f;
  --shadow: 0 20px 50px rgba(0, 0, 0, .45);
  color-scheme: light;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "Inconsolata", ui-monospace, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1440px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
/* Dark theme: follows the system unless the visitor picked a theme (data-theme on <html>). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0f0e; --bg-2: #1b1b19; --fg: #ece9e2; --fg-2: #c9c5bc; --muted: #8f8b82; --line: #2f2e2b;
    --accent: #ff4d75; --accent-ink: #ff7d9b;
    --band-bg: #181816; --band-bg-2: #232321; --band-fg: #ece9e2; --band-muted: #9a968d; --band-line: #393833;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f0f0e; --bg-2: #1b1b19; --fg: #ece9e2; --fg-2: #c9c5bc; --muted: #8f8b82; --line: #2f2e2b;
  --accent: #ff4d75; --accent-ink: #ff7d9b;
  --band-bg: #181816; --band-bg-2: #232321; --band-fg: #ece9e2; --band-muted: #9a968d; --band-line: #393833;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  font-variation-settings: "wdth" 100;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button { font: inherit; color: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}
.eyebrow a { text-decoration: none; }
.display {
  font-weight: 640;
  font-variation-settings: "wdth" 78;
  font-size: clamp(2.6rem, 7.4vw, 7.25rem);
  line-height: .94;
  letter-spacing: -.025em;
  margin: 0;
}
.display em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.025em; line-height: .86; }
.h2 {
  font-weight: 620;
  font-variation-settings: "wdth" 82;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0;
}
.lede { font-family: var(--sans); font-size: clamp(1.08rem, 1.45vw, 1.3rem); line-height: 1.5; font-weight: 400; color: var(--fg-2); max-width: 44ch; }
.prose { font-family: var(--sans); font-size: 1.04rem; line-height: 1.68; color: var(--fg-2); max-width: 66ch; }
.prose p { margin: 0 0 1em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand-logo { display: block; height: 34px; width: auto; color: var(--fg); }
.nav { display: flex; gap: clamp(16px, 2.6vw, 36px); margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: .01em;
  padding: 6px 0; border-bottom: 1.5px solid transparent;
}
.nav a[aria-current="page"], .nav a:hover { border-bottom-color: currentColor; color: var(--fg); }
.tools { display: flex; align-items: center; gap: 6px; padding-left: clamp(8px, 1.6vw, 20px); border-left: 1px solid var(--line); }
.langs { display: flex; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; }
.langs a { text-decoration: none; padding: 6px 6px; color: var(--muted); }
.langs a[aria-current="true"] { color: var(--fg); font-weight: 600; }
.langs a:hover { color: var(--accent-ink); }
.langs a + a::before { content: "/"; color: var(--line); margin-right: 6px; margin-left: -6px; padding-left: 6px; }
.theme-toggle { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: var(--fg); transition: background .2s; }
.theme-toggle:hover { background: var(--bg-2); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--fg); margin: 6px 0; transition: transform .3s var(--ease); }
@media (max-width: 880px) {
  .site-header .wrap { gap: 8px; }
  .tools { margin-left: auto; border-left: 0; padding-left: 0; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav a { font-size: 28px; font-weight: 600; font-variation-settings: "wdth" 80; padding: 10px 0; border: 0; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
}
@media (max-width: 380px) { .brand-logo { height: 28px; } }

/* ---------- home ---------- */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 88px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero .display { font-size: clamp(2.4rem, 5.1vw, 5.4rem); line-height: .9; }
@media (max-width: 900px) { .hero .display { font-size: clamp(2.4rem, 8.4vw, 4.6rem); } }
.hero .display em { white-space: nowrap; }
.hero .lede { margin: clamp(20px, 2.4vw, 32px) 0 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: clamp(24px, 3vw, 36px) 0 0; }
@media (max-width: 560px) { .hero-ctas { gap: 8px; } .hero-ctas .btn { padding: 11px 16px; font-size: .94rem; } }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin: clamp(32px, 4vw, 56px) 0 0; max-width: 560px; }
.facts div { border-top: 1px solid var(--fg); padding-top: 10px; min-width: 0; }
.facts dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 600; font-variation-settings: "wdth" 80; line-height: 1; }

/* hero caption (under the fan) */
.deck-caption { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.deck-caption .eyebrow { grid-column: 1 / -1; margin: 0; }
.deck-title { margin: 0; font-size: 1.15rem; font-weight: 600; font-variation-settings: "wdth" 88; min-height: 1.5em; }
.deck-title a { text-decoration: none; }
.deck-title span { font-family: var(--mono); font-weight: 400; font-size: 13px; color: var(--muted); margin-left: 8px; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { max-width: 620px; width: 100%; justify-self: center; }
}

.reel { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; background: var(--bg-2); }
.reel-track { display: flex; gap: 18px; width: max-content; animation: reel 80s linear infinite; }
.reel:hover .reel-track { animation-play-state: paused; }
.reel img { height: clamp(180px, 26vw, 340px); width: auto; aspect-ratio: 1500 / 844; object-fit: cover; }
@keyframes reel { to { transform: translateX(calc(-50% - 9px)); } }
@media (prefers-reduced-motion: reduce) { .reel-track { animation: none; } .reel { overflow-x: auto; } }

.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.more { font-weight: 600; text-decoration: none; white-space: nowrap; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.more::after { content: " →"; }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { text-decoration: none; display: block; }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.035); }
.card-body { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; align-items: baseline; }
.card h3 { margin: 0; font-size: 1.15rem; font-weight: 600; line-height: 1.2; font-variation-settings: "wdth" 90; }
.card:hover h3 { color: var(--accent-ink); }
.card p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.card .tag { font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.card[hidden] { display: none; }

/* ---------- disciplines ---------- */
.disc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fg); }
.disc li { border-bottom: 1px solid var(--line); }
.disc a {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.1fr) 80px; gap: 24px; align-items: baseline;
  padding: 22px 0; text-decoration: none; transition: padding .35s var(--ease), background .35s;
}
.disc a:hover { padding-left: 14px; color: var(--fg); }
.disc .n, .disc .c { font-family: var(--mono); color: var(--muted); font-size: 14px; }
.disc .c { text-align: right; }
.disc .t { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 620; font-variation-settings: "wdth" 80; line-height: 1; letter-spacing: -.02em; }
.disc a:hover .t { color: var(--accent); }
.disc .b { color: var(--fg-2); font-size: 1rem; line-height: 1.5; }
@media (max-width: 880px) {
  .disc a { grid-template-columns: 40px 1fr auto; }
  .disc .b { grid-column: 2 / -1; }
}

/* ---------- dark band (web) ---------- */
.dark { background: var(--band-bg); color: var(--band-fg); }
.dark .eyebrow, .dark .muted { color: var(--band-muted); }
.dark a:hover { color: #fff; }
.dark .lede, .dark .prose { color: color-mix(in srgb, var(--band-fg) 85%, transparent); }
.webgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 900px) { .webgrid { grid-template-columns: 1fr; } }
.webcard { text-decoration: none; display: block; }
.browser { border: 1px solid var(--band-line); border-radius: 6px; overflow: hidden; background: #fff; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: var(--band-bg-2); border-bottom: 1px solid var(--band-line); }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #4a4945; }
.browser-bar span { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: var(--band-muted); }
.browser img { width: 100%; aspect-ratio: 1440 / 1000; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.webcard h3 { margin: 16px 0 2px; font-size: 1.4rem; font-weight: 620; font-variation-settings: "wdth" 85; }
.webcard p { margin: 0; color: var(--band-muted); }

/* ---------- clients ---------- */
.clients { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 800px) { .clients { grid-template-columns: 1fr; } }
.clients h3 { font-family: var(--mono); font-size: 13px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--fg); }
.clients ul { list-style: none; margin: 0; padding: 0; }
.clients li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.clients li a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: inherit; text-decoration: none; }
.clients li a > span:first-child { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .2em; transition: text-decoration-color .2s; }
.clients li a:hover > span:first-child, .clients li a:focus-visible > span:first-child { text-decoration-color: currentColor; }
.clients .cl-n { flex: none; font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.clients .cl-n i { font-style: normal; display: inline-block; margin-left: 8px; transition: transform .2s; }
.clients li a:hover .cl-n i { transform: translateX(3px); color: var(--fg); }

/* ---------- about teaser / split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.portrait { filter: grayscale(1) contrast(1.05); }

/* ---------- page header ---------- */
.page-head { padding: clamp(40px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); }
.page-head .lede { margin-top: 1.25rem; }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px 8px; align-items: center; padding: 18px 0; border-block: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 48px); }
.chip {
  border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 7px 14px;
  font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none; transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--fg); color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip sup { font-family: var(--mono); font-size: 11px; margin-left: 3px; opacity: .65; vertical-align: super; line-height: 0; }
.filters select {
  margin-left: auto; font: inherit; font-size: 14px; padding: 7px 34px 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: linear-gradient(45deg, transparent 50%, var(--fg) 50%) right 18px center / 5px 5px no-repeat,
              linear-gradient(135deg, var(--fg) 50%, transparent 50%) right 13px center / 5px 5px no-repeat;
  appearance: none; color: var(--fg); max-width: 100%;
}
@media (max-width: 640px) { .filters select { margin-left: 0; width: 100%; } }
.count { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.empty { padding: 48px 0; color: var(--muted); }

/* ---------- project ---------- */
.crumbs { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.project-head { padding: clamp(32px, 6vw, 80px) 0 clamp(24px, 3vw, 40px); }
.project-head .display { font-size: clamp(2.4rem, 6.4vw, 6rem); max-width: 18ch; margin-top: .5rem; }
.project-head .sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.7rem); color: var(--fg-2); margin: .8rem 0 0; }
.meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; margin: clamp(28px, 4vw, 48px) 0 0; }
.meta div { border-top: 1px solid var(--fg); padding: 10px 0 14px; }
.meta dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.meta dd { margin: 4px 0 0; font-weight: 500; }
@media (max-width: 760px) { .meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero-img { background: var(--bg-2); }
.hero-img img { width: 100%; }
.details { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding: clamp(48px, 6vw, 88px) 0; }
@media (max-width: 860px) { .details { grid-template-columns: 1fr; } }
.specs { margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 15px; line-height: 1.5; color: var(--fg-2); }
.specs li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.specs li:first-child { border-top: 1px solid var(--fg); }
.reading { margin-top: 28px; }
.reading h3, .side-title { font-family: var(--mono); font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px; }
.reading ul { list-style: none; margin: 0; padding: 0; }
.reading li { margin: 4px 0; }
.reading a { font-size: 15px; word-break: break-word; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.gallery.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .gallery, .gallery.cols-3 { grid-template-columns: 1fr; } }
.gallery .wide { grid-column: 1 / -1; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--bg-2); cursor: zoom-in; }
.gallery img { width: 100%; height: auto; }
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--fg); margin-top: clamp(48px, 6vw, 96px); }
.pager a { padding: 28px 0; text-decoration: none; }
.pager a + a { text-align: right; border-left: 1px solid var(--line); }
.pager small { display: block; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pager span { font-size: clamp(1.2rem, 2.4vw, 2rem); font-weight: 600; font-variation-settings: "wdth" 82; line-height: 1.1; }
.pager a:first-child { padding-right: 16px; }
.pager a + a { padding-left: 16px; }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(12, 12, 12, .96); color: #fff; }
.lightbox::backdrop { background: rgba(12, 12, 12, .96); }
.lightbox figure { margin: 0; height: 100%; display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb-btn { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; padding: 14px; font-size: 28px; line-height: 1; opacity: .75; }
.lb-btn:hover { opacity: 1; }
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 13px; color: #aaa; }
@media (max-width: 700px) { .lightbox figure { padding: 56px 8px; } .lb-prev, .lb-next { top: auto; bottom: 4px; transform: none; } }

/* ---------- web page ---------- */
.site-feature { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--band-line); align-items: start; }
.site-feature:first-of-type { border-top: 0; }
@media (max-width: 900px) { .site-feature { grid-template-columns: 1fr; } }
.shots { position: relative; }
.phone { position: absolute; right: -12px; bottom: -28px; width: 22%; min-width: 92px; border: 6px solid #2a2927; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
@media (max-width: 900px) { .phone { right: 8px; } }
.site-feature h2 { margin: .2rem 0 .3rem; }
.site-feature .kicker { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--band-muted); margin: 0 0 1.2rem; }
.site-feature dl { margin: 1.5rem 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 15px; }
.site-feature dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--band-muted); padding-top: 2px; }
.site-feature dd { margin: 0; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.ticks li { padding: 8px 0 8px 22px; border-bottom: 1px solid var(--band-line); position: relative; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px;
  background: var(--fg); color: var(--bg); text-decoration: none; font-weight: 600; border: 1px solid var(--fg); cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.dark .btn { background: var(--band-fg); color: var(--band-bg); border-color: var(--band-fg); }
.dark .btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { background: transparent; color: var(--fg); border-color: var(--fg); }

/* ---------- about ---------- */
.cv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); }
.cv-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cv-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) { .cv, .cv-3 { grid-template-columns: 1fr; } }
.about-split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.about-photo { position: sticky; top: 96px; }
@media (max-width: 860px) { .about-split { grid-template-columns: 1fr; } .about-photo { position: static; max-width: 480px; } }
.cv ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--fg); }
.cv li { display: grid; grid-template-columns: 78px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cv li b { font-family: var(--mono); font-weight: 600; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-bottom: clamp(64px, 8vw, 120px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.big-mail { font-size: clamp(1.6rem, 3.6vw, 3rem); font-weight: 620; font-variation-settings: "wdth" 80; letter-spacing: -.02em; text-decoration: none; border-bottom: 2px solid var(--accent); word-break: break-all; }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 6px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.form input, .form textarea, .form select {
  font: inherit; font-family: var(--sans); font-size: 17px; text-transform: none; letter-spacing: 0; color: var(--fg);
  background: transparent; border: 0; border-bottom: 1px solid var(--fg); padding: 10px 0; border-radius: 0;
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.form .hp { display: none; }
.form-note { font-size: 14px; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--band-bg); color: var(--band-fg); padding: clamp(64px, 8vw, 112px) 0 32px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.foot-cta { font-weight: 640; font-variation-settings: "wdth" 76; font-size: clamp(2.4rem, 7vw, 6.5rem); line-height: .95; letter-spacing: -.025em; margin: 0 0 clamp(28px, 4vw, 48px); }
.foot-cta a { border-bottom: 3px solid var(--accent); }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 28px; border-top: 1px solid var(--band-line); }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h4 { font-family: var(--mono); font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; color: var(--band-muted); margin: 0 0 10px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin: 4px 0; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; font-family: var(--mono); font-size: 12px; color: var(--band-muted); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* web page groups */
.web-group { padding: clamp(40px, 5vw, 72px) 0 0; border-top: 2px solid var(--band-fg); margin-top: clamp(24px, 4vw, 56px); }
.web-group:first-child { margin-top: 0; }
.web-group .eyebrow { font-size: 15px; color: var(--band-fg); margin: 0 0 .4rem; }
.web-group .kicker { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--band-muted); margin: 0; }
.web-group + .site-feature { border-top: 0; }

/* ---------- writing & curating ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); }
@media (max-width: 960px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }
.services li { border-top: 1px solid var(--fg); padding: 16px 0 32px; }
.services .n { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.services h3 { margin: 8px 0 8px; font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 620; font-variation-settings: "wdth" 84; line-height: 1.1; }
.services p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--fg-2); }
.articles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fg); }
.articles li { border-bottom: 1px solid var(--line); }
.articles a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; padding: 18px 0; text-decoration: none; transition: padding .35s var(--ease); }
.articles a:hover { padding-left: 10px; color: var(--fg); }
.articles .a-meta { grid-column: 1 / -1; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.articles .a-title { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 600; font-variation-settings: "wdth" 86; line-height: 1.15; }
.articles a:hover .a-title { color: var(--accent-ink); }
.articles .a-dek { grid-column: 1; color: var(--fg-2); font-size: .98rem; line-height: 1.5; }
.articles .a-go { grid-column: 2; grid-row: 2 / span 2; align-self: center; font-size: 14px; font-weight: 600; white-space: nowrap; }
.wr-teaser { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .wr-teaser { grid-template-columns: 1fr; } }
.ticks-light li { border-bottom-color: var(--line); }
.cv li span a { text-decoration-color: var(--line); }

/* curated exhibitions */
.exhibitions { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fg); }
.exhibitions li { display: grid; grid-template-columns: 64px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .9fr); gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.exhibitions .x-year { font-family: var(--mono); font-weight: 600; }
.exhibitions .x-title { display: block; font-size: 1.15rem; font-weight: 600; font-variation-settings: "wdth" 88; line-height: 1.2; }
.exhibitions .x-title a { text-decoration: none; }
.exhibitions .x-title a:hover { color: var(--accent-ink); text-decoration: underline; }
.exhibitions .x-artists { display: block; color: var(--fg-2); font-size: .95rem; }
.exhibitions .x-where { font-size: 14px; color: var(--muted); }
.exhibitions .x-role { font-family: var(--mono); font-size: 13px; color: var(--muted); }
@media (max-width: 860px) {
  .exhibitions li { grid-template-columns: 52px minmax(0, 1fr); }
  .exhibitions .x-where, .exhibitions .x-role { grid-column: 2; }
}
.facts-wide { max-width: 900px; }
.facts-wide dt { text-transform: none; letter-spacing: 0; font-size: 13px; line-height: 1.35; }
.facts-wide dd { order: -1; margin: 0 0 6px; }
.facts-wide div { display: flex; flex-direction: column; }

/* responsive: comfortable tap targets on touch screens */
.langs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 8px; }
.langs a + a::before { margin-right: 8px; margin-left: -8px; padding-left: 0; }
.more { display: inline-block; padding: 8px 0 4px; }
.big-mail { display: inline-block; padding: 4px 0; }
.langs a { min-width: 40px; justify-content: center; }

/* logo hover: only "r10" takes the accent colour */
.brand-logo { transition: color .25s var(--ease); }
.brand:hover .brand-logo, .brand:focus-visible .brand-logo { color: var(--accent); }

@media (max-width: 380px) { .facts dt { font-size: 10.5px; letter-spacing: .03em; } }

/* collection pieces: individual logo cards and the captioned logo wall */
.card-piece .card-media { background: #fff; }
.card-piece .card-media img { object-fit: contain; }
.piece { margin: 0; scroll-margin-top: 96px; }
.web-group, .site-feature, #exhibitions { scroll-margin-top: 88px; }
.piece figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 10px 0 18px; font-size: 15px; }
.piece figcaption b { font-weight: 600; }
.piece figcaption span { color: var(--muted); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.piece figcaption a { margin-left: auto; font-size: 14px; font-weight: 600; text-decoration: none; }
.piece figcaption a:hover { color: var(--accent-ink); }
.piece:target button { outline: 2px solid var(--accent); outline-offset: 4px; }
.piece:target figcaption b { color: var(--accent-ink); }
.piece figcaption a { display: inline-flex; align-items: center; min-height: 36px; }

/* contact channels (footer pills + contact page rows) */
.foot-cta { font-size: clamp(2rem, 5vw, 4.2rem); }
.foot-cta em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.channels { list-style: none; margin: 0; padding: 0; }
.channels-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(40px, 5vw, 64px); }
.channel {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 14px;
  border: 1px solid var(--band-line); border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: background .2s, border-color .2s, color .2s;
}
.channel:hover { background: var(--band-fg); color: var(--band-bg) !important; border-color: var(--band-fg); }
.channel.channel-whatsapp { background: var(--band-fg); color: var(--band-bg); border-color: var(--band-fg); }
.channel.channel-whatsapp:hover { background: #25d366; border-color: #25d366; color: #0b2915 !important; }
.channels-rows { border-top: 1px solid var(--fg); margin-top: 8px; }
.channel-row {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto 20px; gap: 14px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s var(--ease);
}
.channel-row:hover { padding-left: 8px; color: var(--fg); }
.channel-row svg { width: 24px; height: 24px; }
.ch-label { font-size: 1.25rem; font-weight: 620; font-variation-settings: "wdth" 86; line-height: 1.1; }
.ch-label small { display: block; font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }
.ch-value { font-size: 15px; color: var(--fg-2); }
.ch-go { color: var(--muted); transition: transform .3s var(--ease); }
.channel-row:hover .ch-go { transform: translateX(4px); color: var(--accent-ink); }
.channel-whatsapp.channel-row svg { color: #1da851; }
@media (max-width: 480px) { .channel-row { grid-template-columns: 24px minmax(0, 1fr) 16px; } .ch-value { grid-column: 2; grid-row: 2; } .ch-go { grid-row: 1; grid-column: 3; } }

/* reel links and grouped collection pieces */
.reel-track a { display: block; flex: none; transition: opacity .3s var(--ease); }
.reel-track:hover a { opacity: .7; }
.reel-track a:hover, .reel-track a:focus-visible { opacity: 1; }
.reel-track a:focus-visible { outline-offset: -4px; }
.piece figcaption.cont span { font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: none; letter-spacing: 0; }
.preview-note { border: 1px dashed var(--line); padding: 12px 14px; margin: 0 0 16px; }

/* hero facts: numbers share one baseline even if a label wraps; tighter labels on phones */
.facts div { display: flex; flex-direction: column; justify-content: space-between; }
@media (max-width: 820px) {
  .hero .facts dt { letter-spacing: .015em; font-size: 11.5px; white-space: nowrap; }
}
@media (max-width: 359px) {
  .hero .facts dt { white-space: normal; font-size: 10.5px; }
}
/* writing-page stats: number on top, labels aligned from the top (not pushed to the bottom) */
.facts-wide div { justify-content: flex-start; }
.facts-wide dd { margin: 0 0 8px; }

/* language switcher: three equal segments, no separators; inside the menu on phones */
.langs { gap: 2px; }
.langs a + a::before { content: none; }
.langs a { min-width: 34px; min-height: 34px; padding: 0 6px; border-radius: 999px; justify-content: center; letter-spacing: .06em; }
.langs a[aria-current="true"] { background: var(--fg); color: var(--bg); font-weight: 600; }
.langs a:not([aria-current="true"]):hover { background: var(--bg-2); color: var(--fg); }
.nav-langs { display: none; }
@media (max-width: 880px) {
  .tools > .langs { display: none; }
  .nav-langs { display: flex; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
  .nav .nav-langs a { font-size: 15px; font-weight: 500; font-variation-settings: normal; padding: 0 14px; min-height: 40px; border: 1px solid var(--line); }
  .nav .nav-langs a[aria-current="true"] { border-color: var(--fg); }
}
/* hero: a little air above the italic line so descenders (p, y) don't touch its ascenders (l) */
.hero .display em { display: inline-block; margin-top: .09em; }

/* hero: four facts (publications, articles, exhibitions, studio) */
.facts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 640px; }
@media (max-width: 820px) { .facts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; } }

/* writing band on the home page: article cards from Echoes */
.posts .post-card { display: block; text-decoration: none; }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); margin-bottom: 14px; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.035); }
.post-meta { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 0 6px; }
.post-card h3 { margin: 0 0 8px; font-size: 1.3rem; font-weight: 620; font-variation-settings: "wdth" 86; line-height: 1.15; }
.post-card:hover h3 { color: var(--accent-ink); }
.post-dek { margin: 0; color: var(--fg-2); font-size: .97rem; line-height: 1.5; }

/* writing band: intro left, three square thumbnails right (as on Echoes / The Annex Updated) */
.writing-band { padding-top: 0; }
.wb-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 2fr); gap: clamp(28px, 4vw, 64px); align-items: start; border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 64px); }
.wb-intro .h2 { margin: 0 0 1rem; }
.wb-intro .lede { margin: 0 0 1.25rem; font-size: 1.05rem; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.post-media { aspect-ratio: 1 / 1; margin-bottom: 12px; }
.post-card h3 { font-size: 1.12rem; }
.post-dek { font-size: .92rem; }
@media (max-width: 960px) { .wb-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .posts { grid-template-columns: 1fr; gap: 0; }
  .post-card { display: grid !important; grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
  .post-card .post-media { grid-row: 1 / span 3; margin: 0; }
  .post-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
}

/* tighter vertical rhythm (large empty gaps between blocks) */
.section { padding: clamp(48px, 6.5vw, 96px) 0; }
.wb-grid { padding-top: clamp(28px, 3vw, 44px); }
.site-feature { padding: clamp(36px, 4.5vw, 64px) 0; }
.dark > .wrap[style*="padding-bottom"] { padding-bottom: clamp(40px, 5vw, 72px) !important; }
.section.writing-band { padding-top: 0; }
.web-group { margin-top: 0; padding-top: clamp(28px, 3.5vw, 48px); }
.dark .wrap > .site-feature:last-child { padding-bottom: 0; }

/* article cards & lists: even rhythm on phones */
.post-meta, .articles .a-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-card h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-dek { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 640px) {
  .post-card { grid-template-columns: 88px minmax(0, 1fr); align-items: start; min-height: 116px; }
  .post-card .post-media { width: 88px; }
  .articles a { grid-template-columns: 1fr; }
  .articles .a-go { display: none; }
  .articles .a-dek { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* web band: warm grey instead of black (the footer stays black) */
.dark {
  --band-bg: #e2dfd8; --band-bg-2: #d4d0c7; --band-fg: #131313; --band-muted: #5f5c56; --band-line: #c6c2b8;
  --shadow: 0 18px 40px -12px rgba(0, 0, 0, .25);
}
.dark a:hover { color: var(--accent-ink); }
.dark .browser { border-color: var(--band-line); }
.dark .browser-bar i { background: #a9a59c; }
:root[data-theme="dark"] .dark {
  --band-bg: #26262a; --band-bg-2: #303034; --band-fg: #ece9e2; --band-muted: #a5a29a; --band-line: #3d3d42;
}
:root[data-theme="dark"] .dark a:hover { color: #fff; }

/* phones: vertical article cards in a swipeable row (square image on top, text below) */
@media (max-width: 640px) {
  .posts {
    display: flex !important; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); padding-bottom: 6px; scrollbar-width: none;
  }
  .posts::-webkit-scrollbar { display: none; }
  .posts .post-card {
    display: block !important; flex: 0 0 74%; scroll-snap-align: start; min-height: 0;
    padding: 0; border-top: 0;
  }
  .posts .post-card .post-media { width: 100%; margin: 0 0 10px; }
  .posts .post-card h3 { font-size: 1.08rem; }
}
/* phones/tablets: the headline breaks into more lines, so descenders (g, p, y) need a bit more room */
@media (max-width: 820px) { .hero .display { line-height: 1; } .hero .display em { margin-top: .04em; } }

/* headings: clearer word spaces and safe line spacing (no touching ascenders/descenders) */
.display { word-spacing: .07em; line-height: 1; }
.display em { line-height: 1; }
.h2 { word-spacing: .05em; line-height: 1.06; }
.project-head .display { line-height: 1; }
.hero .display { line-height: 1.02; }
.hero .display em { margin-top: .1em; }
@media (max-width: 820px) { .hero .display { line-height: 1.06; } .hero .display em { margin-top: .06em; } }
.foot-cta, .disc .t, .deck-title, .pager span { word-spacing: .07em; }
.foot-cta { line-height: 1; }

/* writing carousel: 3 visible on desktop, 1 full card on phones; auto-advances (see site.js) */
.wb-carousel { min-width: 0; }
.posts[data-carousel] {
  display: flex !important; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; margin: 0; padding: 0;
}
.posts[data-carousel]::-webkit-scrollbar { display: none; }
.posts[data-carousel] .post-card {
  display: block !important; flex: 0 0 calc((100% - 2 * clamp(16px, 2vw, 28px)) / 3); scroll-snap-align: start;
  min-height: 0; padding: 0; border-top: 0;
}
.posts[data-carousel] .post-card .post-media { width: 100%; margin: 0 0 12px; }
.carousel-ui { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.car-dots { display: flex; gap: 8px; }
.car-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; transition: background .2s, transform .2s; }
.car-dots button[aria-current="true"] { background: var(--fg); transform: scale(1.25); }
.car-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 16px; color: var(--fg); }
.car-btn:hover { border-color: var(--fg); }
@media (max-width: 960px) { .posts[data-carousel] .post-card { flex-basis: calc((100% - clamp(16px, 2vw, 28px)) / 2); } }
@media (max-width: 640px) {
  .posts[data-carousel] { margin-right: 0; padding-right: 0; }
  .posts[data-carousel] .post-card { flex: 0 0 100%; }
  .car-dots button { width: 10px; height: 10px; }
}
@media (prefers-reduced-motion: reduce) { .posts[data-carousel] { scroll-behavior: auto; } }
/* phones: continuous flow — no snapping, ~2/3-width cards so one is whole and the next flows in */
@media (max-width: 640px) {
  .posts[data-carousel].is-flow { scroll-snap-type: none; scroll-behavior: auto; }
  .posts[data-carousel].is-flow .post-card { flex: 0 0 68%; scroll-snap-align: none; }
  .wb-carousel .carousel-ui { display: none; }
  .posts[data-carousel] { margin-right: calc(-1 * var(--gutter)); }
}
@media (max-width: 640px) { .posts[data-carousel].is-flow { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding-left: var(--gutter); } }

/* ---------- hero visuals: entry cards as published (fichas), fan, browser pages, index ---------- */

.fan { list-style: none; margin: 0; padding: 0; position: relative; aspect-ratio: 1 / .86; }
.fan li { position: absolute; left: 50%; top: 6%; width: 36%; transform-origin: 50% 100%; transform: translateX(calc(-50% + var(--i) * 27%)) translateY(calc(var(--i) * var(--i) * 3%)) rotate(calc(var(--i) * 6deg)); transition: transform .5s var(--ease); z-index: 1; }
.fan li:hover, .fan li:focus-within { transform: translateX(calc(-50% + var(--i) * 27%)) translateY(-6%) rotate(calc(var(--i) * 2deg)) scale(1.06); z-index: 20 !important; }
.fan-card { display: block; aspect-ratio: 1 / 1.55; overflow: hidden; container-type: inline-size; text-decoration: none; color: inherit; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 18px 36px -14px rgba(0,0,0,.35); }
/* ---------- home: exhibitions band (typographic list) ---------- */
.exl { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--fg); }
.exl a { display: grid; gap: 4px; padding: 14px 0 15px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.exl-venue { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.exl-title { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.1; word-spacing: .04em; transition: padding-left .35s var(--ease); }
.exl a:hover .exl-title { padding-left: 10px; }


/* ---------- hero cards in their publication's format (rebuilt in HTML, sized to the card) ---------- */
.ficha { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; color: #000; text-align: left; overflow: hidden; }
.ficha img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ficha > span { display: block; flex: none; }
/* the opening text takes the room left and fades out, so no line is ever cut in half */
.ficha > .fe-text, .ficha > .fa-text { flex: 1 1 0; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
/* Echoes */
.fe { padding: 3cqw 4.5cqw 4cqw; }
.fe-label { font-family: "Alfa Slab One", Georgia, serif; font-size: 7.4cqw; line-height: 1.5; color: #333; text-transform: lowercase; }
.fe-img { flex: none; aspect-ratio: 1 / 1.02; margin-top: 1cqw; background: #eee; }
.fe-title { margin-top: 3.2cqw; font-family: "Alfa Slab One", Georgia, serif; font-size: 4.5cqw; line-height: 1.25; display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.fe-sub { margin-top: .6cqw; font-family: Helvetica, Arial, sans-serif; font-size: 2.6cqw; line-height: 1.3; text-transform: uppercase; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fe-meta { margin-top: 1.2cqw; font-family: Helvetica, Arial, sans-serif; font-size: 2.9cqw; line-height: 1.4; color: #666; }
.fe-text { margin-top: 2.6cqw; font-family: "Newsreader", Georgia, serif; font-weight: 300; font-size: 3.7cqw; line-height: 1.34; color: #4d4d4d; }
.fe-more { padding-top: 1.5cqw; font-family: Helvetica, Arial, sans-serif; font-size: 2.6cqw; color: #333; }
.fe-more b { font-weight: 400; color: #999; margin: 0 .4cqw; }
.fe-more i { font-style: normal; font-weight: 700; font-size: 3.6cqw; color: #e51e1e; }
.fe-more i + i { color: #eea724; }
/* The Annex Gallery */
.fa { padding: 2cqw 3cqw 3.5cqw; box-shadow: inset 0 0 0 1px #d3cfcf; }
.fa-label { font-family: "Roboto Slab", Georgia, serif; font-weight: 900; font-size: 3.4cqw; line-height: 3; color: #333; text-transform: uppercase; }
.fa-img { flex: none; aspect-ratio: 1 / .92; background: #eee; }
.fa-title { margin-top: 2.6cqw; font-family: "Roboto Slab", Georgia, serif; font-weight: 500; font-size: 5cqw; line-height: 1.06; display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.fa-sub { margin-top: .8cqw; font-family: "Roboto Slab", Georgia, serif; font-size: 3.4cqw; line-height: 1.3; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fa-date { margin-top: .4cqw; font-family: Inter, Arial, sans-serif; font-size: 2.4cqw; line-height: 1.7; text-transform: uppercase; }
.fa-text { margin-top: 1.6cqw; font-family: "Zilla Slab", Georgia, serif; font-size: 3.8cqw; line-height: 1.36; }
.fa-more { padding-top: 1.5cqw; font-family: Inter, Arial, sans-serif; font-weight: 600; font-size: 2.4cqw; }

/* ---------- home: criticism & curating (one section) ---------- */
.section.crit-band { padding-top: 0; }
.cb-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cb-col-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.cb-col-head .side-title { margin: 0; }
.cb-col-head .more { font-size: .9rem; }
.cb-essays .articles .a-dek { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
@media (max-width: 900px) { .cb-cols { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .fan { aspect-ratio: 1 / .68; }
  .fan li { width: 34%; transform: translateX(calc(-50% + var(--i) * 21%)) translateY(calc(var(--i) * var(--i) * 3%)) rotate(calc(var(--i) * 6deg)); }
  .fan li:hover, .fan li:focus-within { transform: translateX(calc(-50% + var(--i) * 21%)) translateY(-6%) rotate(calc(var(--i) * 2deg)) scale(1.06); }
}

/* ---------- home: design band (header, reel, grid) ---------- */
.design-band .reel { margin: 0 0 clamp(32px, 4vw, 56px); }

/* ---------- home: disciplines with a picture of the work ---------- */
.disc-wrap { position: relative; }
.disc .d-thumb { display: none; }
.disc-peek { position: absolute; left: 0; top: 0; width: clamp(220px, 22vw, 320px); aspect-ratio: 4 / 3; margin: 0; pointer-events: none; z-index: 3;
  opacity: 0; transform: rotate(-3deg) scale(.85); transition: opacity .25s, transform .35s var(--ease);
  box-shadow: 0 20px 40px -14px rgba(0,0,0,.4); background: var(--bg-2); overflow: hidden; }
.disc-peek img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.disc-wrap.peeking .disc-peek { opacity: 1; transform: rotate(-3deg) scale(1); }
@media (max-width: 880px), (hover: none) {
  .disc-peek { display: none; }
  .disc a { grid-template-columns: 56px 1fr auto; column-gap: 14px; row-gap: 6px; align-items: start; padding: 16px 0; }
  .disc .t { font-size: 1.7rem; }
  .disc .n { display: none; }
  .disc .d-thumb { display: block; grid-row: 1 / span 2; grid-column: 1; align-self: start; width: 56px; height: 56px; overflow: hidden; background: var(--bg-2); }
  .disc .d-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .disc .t { grid-column: 2; }
  .disc .c { grid-column: 3; grid-row: 1; }
  .disc .b { grid-column: 2 / -1; }
}

/* ---------- home: about, current roles ---------- */
.roles { list-style: none; margin: 1.25rem 0 1.5rem; padding: 0; border-top: 1px solid var(--line); }
.roles li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }

/* home web cards: the mobile view in front of the desktop one, as on the Web page */
.webcard-shot { position: relative; margin-right: 10px; }
.phone.phone-sm { right: -10px; bottom: -14px; width: 21%; min-width: 64px; border-width: 4px; border-radius: 12px; }
.webcard .phone img { transition: none; }
.webcard h3 { margin-top: 22px; }

/* ---------- logos page: each logo builds itself from its own shapes (site.js), then settles on the image ---------- */
.piece[data-logo-svg] button, [data-logo-svg] .card-media { position: relative; }
.piece[data-logo-svg] img, .card-piece[data-logo-svg] img { transition: none; }   /* the image is back at once under the fading vector: no dip */
.logo-anim { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .45s var(--ease); background: #fff; }   /* the logo images are on white */
.logo-anim svg { display: block; width: 100%; height: 100%; }
.logo-anim path { transform-box: fill-box; transform-origin: center; }
.is-animating .logo-anim { opacity: 1; transition: none; }
.is-animating img { opacity: 0; transition: none; }
.card-piece .logo-anim svg { object-fit: contain; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.member { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; grid-template-rows: auto 1fr; column-gap: clamp(16px, 2vw, 28px); align-items: start; }
.member-photo { grid-row: 1 / span 2; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); }
.member h3 { margin: 0; font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 620; font-variation-settings: "wdth" 85; line-height: 1.1; }
.member-role { margin: 6px 0 0; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.member-bio { margin: 12px 0 0; color: var(--fg-2); line-height: 1.55; }
/* about page: Jorge is the page itself, so the team there is the others, one wide card each */
.team-big { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.team-big .member { grid-template-columns: minmax(160px, 280px) 1fr; }
@media (max-width: 860px) {
  .team { grid-template-columns: 1fr; }
  .member, .team-big .member { grid-template-columns: 96px 1fr; align-items: center; }
  .member-photo { grid-row: 1; margin: 0; }
  .member-bio { grid-column: 1 / -1; }
}

/* ---------- home web band: each card loads like a page, then scrolls through the site on hover ---------- */
.webcard .screen { position: relative; overflow: hidden; background: #fff; }
.webcard .browser .screen { aspect-ratio: 1440 / 1000; }
.webcard .phone .screen { aspect-ratio: 390 / 844; }
.webcard .screen img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: initial; transition: transform 1s cubic-bezier(.45, 0, .25, 1); }
.webcard .screen img:not([data-scroll]) { height: 100%; object-fit: cover; object-position: top; }
.js .webcard.reveal { transform: translateY(24px); transition-delay: calc(var(--i, 0) * 110ms); }
.js .webcard.reveal .browser-bar { opacity: 0; transition: opacity .5s var(--ease) calc(var(--i, 0) * 110ms + 150ms); }
.js .webcard.reveal .browser .screen { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.65, 0, .25, 1) calc(var(--i, 0) * 110ms + 300ms); }
.js .webcard.reveal .phone { opacity: 0; transform: translateY(40px) rotate(4deg);
  transition: opacity .6s var(--ease) calc(var(--i, 0) * 110ms + 900ms), transform .9s cubic-bezier(.3, 1.3, .5, 1) calc(var(--i, 0) * 110ms + 900ms); }
.js .webcard.reveal.in .browser-bar { opacity: 1; }
.js .webcard.reveal.in .browser .screen { clip-path: inset(0); }
.js .webcard.reveal.in .phone { opacity: 1; transform: none; }
.webcard:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
@media (prefers-reduced-motion: reduce) {
  .js .webcard.reveal .browser-bar, .js .webcard.reveal .browser .screen, .js .webcard.reveal .phone { opacity: 1; clip-path: none; transform: none; transition: none; }
}

/* section titles come in word by word (site.js) */
.js .h2-words .w { display: inline-block; opacity: 0; transform: translateY(.45em); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--w) * 60ms); }
.js .in .h2-words .w, .js .h2-words.in .w { opacity: 1; transform: none; }

/* ---------- home selected projects: diagonal curtain entrance, tilt, flip through pages ---------- */
.card-flip { --k: 0; perspective: 900px; }
.card-flip .card-media { position: relative; transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card-flip .card-media .flip-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease); }
.card-flip .card-media .flip-layer.on { opacity: 1; }
.card-flip:hover .card-media { box-shadow: 0 22px 40px -18px rgba(0,0,0,.35); }
.card-flip .flip-dots { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 4px; opacity: 0; transition: opacity .3s; z-index: 2; }
.card-flip .flip-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.card-flip .flip-dots i.on { background: #fff; }
.card-flip:hover .flip-dots { opacity: 1; }
/* entrance: the image opens like a curtain in a diagonal wave (row + column), the caption follows */
.js .card-flip.reveal { opacity: 1; transform: none; transition-delay: 0s; }
.js .card-flip.reveal .card-media { clip-path: inset(0 0 100% 0); transition: clip-path 1s cubic-bezier(.65, 0, .25, 1) calc(var(--k) * 90ms), transform .5s var(--ease), box-shadow .5s var(--ease); }
.js .card-flip.reveal .card-media img:first-child { transform: scale(1.18); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1) calc(var(--k) * 90ms); }
.js .card-flip.reveal .card-body { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease) calc(var(--k) * 90ms + 500ms), transform .6s var(--ease) calc(var(--k) * 90ms + 500ms); }
.js .card-flip.reveal.in .card-media { clip-path: inset(0); }
.js .card-flip.reveal.in .card-media img:first-child { transform: none; }
.js .card-flip.reveal.in .card-body { opacity: 1; transform: none; }
.card-flip:hover .card-media img:first-child { transform: scale(1.035); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  .js .card-flip.reveal .card-media, .js .card-flip.reveal .card-body, .js .card-flip.reveal .card-media img:first-child { clip-path: none; opacity: 1; transform: none; transition: none; }
}
