:root {
  --paper: #f5f1e7;
  --ink: #24231f;
  --muted: #625f55;
  --red: #b82b18;
  --rule: #c6bfb1;
  --serif: 'Bodoni Moda', Georgia, serif;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --display: 'Archivo', 'Arial Narrow', sans-serif;
  --label: 700 12px/1 var(--sans);
  --label-track: .14em;
  --line: 1.5px solid var(--ink);
  --gutter: clamp(24px, 5vw, 88px);
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  font-synthesis: none;
  scrollbar-color: var(--muted) var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 36px; }
body { margin: 0; }
::selection { background: var(--red); color: var(--paper); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .24em; }
a:hover { color: var(--red); }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; font-stretch: 62%; text-transform: uppercase; text-wrap: balance; }
/* Accents: the serif italic breaks into the poster type, lowercase and red when it carries a name. */
h1 em, h2 em, h3 em, .cover-title em, .scene-words em { font-family: var(--serif); font-style: italic; font-weight: 500; font-stretch: 100%; text-transform: none; letter-spacing: -.01em; color: var(--red); font-variation-settings: 'opsz' 72; }
p { line-height: 1.65; }
button, input { font: inherit; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 18px; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-name { display: inline-block; font: 900 clamp(24px, 2.3vw, 36px)/1 var(--display); font-stretch: 75%; text-transform: uppercase; text-decoration: none; letter-spacing: .01em; }
.site-nav { display: flex; align-items: baseline; justify-content: space-between; gap: 18px 30px; }
.site-nav a { font: 800 clamp(22px, 2.2vw, 36px)/1 var(--display); font-stretch: 75%; text-transform: uppercase; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { text-decoration: underline; }
.private-link { font: var(--label); letter-spacing: var(--label-track); text-transform: uppercase; text-decoration: none; }
.private-link:hover { text-decoration: underline; }
.cover { min-height: 680px; height: 100svh; max-height: 1100px; position: relative; isolation: isolate; overflow: clip; }
.cover-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--paper); container-type: size; }
.cover-header { padding: 38px var(--gutter); }
.cover { container: cover / size; }
.cover-title { position: absolute; top: 118px; left: var(--gutter); right: var(--gutter); font-size: clamp(40px, min(12.2vw, 8.4svh), 104px); line-height: .84; }
.cover-title em { color: var(--ink); }
.cover-words-left, .cover-words-right { display: block; }
.cover-title .line { display: block; }
.cover-words-right > .line:nth-child(2), .cover-words-right > .line:nth-child(3) { display: inline-block; }
.cover-words-right > .line:nth-child(2) em { margin-right: .08em; }
.cover-bottom { position: absolute; bottom: 28px; left: var(--gutter); right: var(--gutter); }
.cover-bottom .site-nav { margin: 0 0 26px; justify-content: flex-start; gap: 0; border-top: var(--line); counter-reset: nav; }
.cover-bottom .site-nav { column-gap: 24px; }
.cover-bottom .site-nav a { flex: 1 1 0; min-width: max-content; padding-top: 14px; counter-increment: nav; }
.cover-bottom .site-nav a::before { content: counter(nav, decimal-leading-zero); display: block; margin-bottom: 10px; font: var(--label); letter-spacing: var(--label-track); color: var(--red); }
.cover-bottom-line { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.scroll-link { display: inline-flex; align-items: center; gap: 10px; font: var(--label); letter-spacing: var(--label-track); text-transform: uppercase; text-decoration: none; }
.section-shell { margin-inline: auto; padding-inline: var(--gutter); max-width: 1600px; }
.introduction { display: grid; grid-template-columns: 1.2fr 1fr; gap: 9%; padding-block: 144px; }
.introduction h2 { font-size: clamp(56px, 7vw, 120px); line-height: .86; }
.introduction-copy { max-width: 540px; padding-top: 10px; font-size: 18px; }
.introduction-copy p + p { margin-top: 24px; }
.text-link { display: inline-flex; align-items: center; gap: 24px; margin-top: 36px; font: var(--label); letter-spacing: var(--label-track); text-transform: uppercase; text-decoration: none; border-bottom: var(--line); padding-bottom: 10px; }
.home-ideas { display: grid; grid-template-columns: 1fr 1.35fr; gap: 9%; padding-block: 80px 120px; border-top: var(--line); }
.home-ideas h2 { font-size: clamp(48px, 5vw, 84px); line-height: .86; margin-bottom: 24px; }
.home-ideas p { color: var(--muted); max-width: 28ch; }
.idea-links a { display: flex; align-items: center; justify-content: space-between; gap: 20px; text-decoration: none; padding-block: 26px; border-bottom: var(--line); }
.idea-links a:first-child { padding-top: 0; }
.idea-links span { font: 900 clamp(40px, 4.6vw, 72px)/.9 var(--display); font-stretch: 62%; text-transform: uppercase; }
.idea-links em { font: italic 500 1em/1 var(--serif); text-transform: none; color: var(--red); }
.idea-links small { display: block; margin-top: 14px; color: var(--muted); font: 400 15px/1.6 var(--sans); font-stretch: 100%; text-transform: none; }
.contact-strip { padding-block: 86px; background: var(--ink); color: var(--paper); display: flex; justify-content: space-between; align-items: center; gap: 40px; max-width: none; }
.contact-strip h2 { font-size: clamp(64px, 10vw, 170px); line-height: .86; }
.contact-strip a { display: inline-flex; align-items: center; gap: 32px; font: 700 clamp(20px, 2.4vw, 34px)/1.2 var(--display); font-stretch: 75%; text-decoration: none; }
.contact-strip a:hover { color: var(--paper); text-decoration: underline; }
.contact-strip a:focus-visible { outline-color: var(--paper); }
.site-footer { padding: 40px var(--gutter); display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.footer-name { font: 900 26px/1 var(--display); font-stretch: 75%; text-transform: uppercase; letter-spacing: .01em; text-decoration: none; }
.footer-email { font: var(--label); letter-spacing: var(--label-track); text-transform: uppercase; text-decoration: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 38px var(--gutter) 32px; }
.site-header .site-name { font-size: 28px; white-space: nowrap; }
.site-header .site-nav { gap: 28px; }
.site-header .site-nav a { font: var(--label); line-height: 1.6; letter-spacing: var(--label-track); text-transform: uppercase; }
.name-dot { display: inline-block; vertical-align: middle; width: 8px; height: 8px; background: var(--red); border-radius: 50%; margin-left: 13px; }
.inner-page main { min-height: calc(100svh - 226px); }
.inner-page .site-footer { border-top: var(--line); }
.article-shell { max-width: 1320px; padding: 78px var(--gutter) 96px; margin-inline: auto; }
.article-heading { margin-bottom: 64px; }
.article-shell h1 { font-size: clamp(76px, 13vw, 220px); line-height: .84; }
.article-intro { font: italic 400 clamp(24px, 2.6vw, 36px)/1.3 var(--serif); font-variation-settings: 'opsz' 40; max-width: 30ch; margin-top: 40px; }
.prose { max-width: 66ch; margin-left: min(16vw, 200px); font-size: 18px; }
.prose p + p { margin-top: 26px; }
.prose h2 { font-size: clamp(44px, 5vw, 76px); line-height: .88; margin: 72px 0 28px; }
.next-page { border-top: var(--line); margin-top: 88px; padding-top: 24px; display: flex; align-items: baseline; justify-content: space-between; gap: 28px; }
.next-page > span { font: var(--label); letter-spacing: var(--label-track); text-transform: uppercase; }
.next-page > a { display: inline-flex; align-items: center; gap: 30px; font: 900 clamp(36px, 5vw, 76px)/.9 var(--display); font-stretch: 62%; text-transform: uppercase; text-decoration: none; }
.red-text { color: var(--red); }
.idea-editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; padding-top: 24px; }
.idea-feature { text-decoration: none; padding-block: 32px; border-top: var(--line); }
.idea-feature h2 { font-size: clamp(56px, 6.5vw, 112px); line-height: .86; min-height: 1.72em; }
.idea-feature p { max-width: 36ch; margin-top: 24px; font-size: 16px; color: var(--ink); }
.idea-feature .text-link { color: var(--ink); }
.teaching-fields { margin-top: 84px; }
.teaching-fields h2 { font-size: clamp(44px, 5.5vw, 88px); line-height: .88; }
.teaching-fields dl { margin: 32px 0 0; }
.teaching-fields dl div { border-top: var(--line); display: grid; grid-template-columns: 1fr 1.5fr; gap: 36px; padding-block: 24px; }
.teaching-fields dt { font: 800 clamp(26px, 2.6vw, 40px)/1 var(--display); font-stretch: 75%; text-transform: uppercase; }
.teaching-fields dd { margin: 0; font-size: 16px; line-height: 1.7; }
.work-list { margin-top: 88px; }
.work-entry { display: grid; grid-template-columns: 1fr 1.1fr; gap: 9%; border-top: var(--line); padding-block: 52px 64px; }
.work-entry h2 { font-size: clamp(56px, 6.5vw, 108px); line-height: .86; }
.work-entry p { font-size: 16px; }
.work-entry .work-context { font: var(--label); letter-spacing: var(--label-track); text-transform: uppercase; margin-bottom: 22px; }
.contact-page { padding-block: 12vh 15vh; }
.contact-email { display: inline-flex; gap: 36px; align-items: center; margin-top: 70px; font: 800 clamp(34px, 6.4vw, 104px)/1.05 var(--display); font-stretch: 75%; text-decoration: none; padding-bottom: 10px; border-bottom: 3px solid var(--red); }
.contact-note { margin-top: 28px; font: var(--label); letter-spacing: var(--label-track); text-transform: uppercase; }
@media (min-width: 1800px) {
  .cover-words-left { top: 15%; }
}
@media (max-width: 1000px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 28px; }
  .site-header .site-nav { width: 100%; max-width: 700px; }
  .cover-words-right { top: 30%; }
  .introduction { gap: 6%; padding-block: 100px; }
  .prose { margin-left: 8%; }
}
@media (max-width: 640px) {
  :root { --gutter: 24px; }
  .cover { height: 100svh; min-height: 760px; max-height: 1000px; }
  .cover-header { padding-top: 30px; }
  .cover-header .site-name { font-size: 26px; }
  .scene { left: 41%; top: 50%; translate: -41% -50%; }
  .cover-title { top: 92px; }
  .cover-bottom { bottom: 22px; }
  .cover-bottom .site-nav { flex-wrap: wrap; row-gap: 14px; margin-bottom: 22px; }
  .cover-bottom .site-nav { column-gap: 22px; }
  .cover-bottom .site-nav a { flex: 0 0 auto; min-width: 0; padding-top: 10px; font-size: 22px; }
  .scroll-link, .private-link { white-space: nowrap; }
  .cover-bottom .site-nav a::before { margin-bottom: 6px; }
  .cover-bottom-line { align-items: flex-end; }
  .scroll-link, .private-link { font-size: 11px; letter-spacing: .1em; }
  .introduction, .home-ideas { grid-template-columns: 1fr; gap: 36px; padding-block: 72px; }
  .introduction-copy { font-size: 16px; }
  .home-ideas p { max-width: none; }
  .idea-links a { padding-block: 24px; }
  .contact-strip { align-items: flex-start; flex-direction: column; gap: 28px; padding-block: 58px; }
  .site-footer { flex-wrap: wrap; row-gap: 22px; padding-block: 30px; }
  .footer-name { width: 100%; }
  .site-footer .private-link { margin-left: auto; }
  .site-header { padding-top: 30px; gap: 28px; }
  .site-header .site-nav { flex-wrap: wrap; justify-content: flex-start; gap: 12px 20px; }
  .article-shell { padding-top: 46px; padding-bottom: 64px; }
  .article-heading { margin-bottom: 44px; }
  .article-intro { margin-top: 24px; }
  .prose { margin-left: 0; font-size: 16px; }
  .prose h2 { margin-top: 48px; }
  .next-page { margin-top: 64px; flex-direction: column; gap: 16px; }
  .next-page a { gap: 20px; }
  .idea-editorial { grid-template-columns: 1fr; gap: 28px; padding-top: 0; }
  .idea-feature h2 { min-height: 0; }
  .teaching-fields { margin-top: 64px; }
  .teaching-fields dl div { grid-template-columns: 1fr; gap: 12px; }
  .work-list { margin-top: 48px; }
  .work-entry { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 44px; }
  .contact-page { padding-top: 70px; }
  .contact-email { gap: 16px; margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene, .scene .layer { transform: none !important; }
}

/* ————————————————————————————————————————————————
   Living collage, motion and interaction layer.
   Everything below is progressive: without JS or with reduced motion the page is the static manifesto.
   ———————————————————————————————————————————————— */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.7, 0, .2, 1); }

/* Paper grain over the whole site: the interface shares the collage's material. */
body::after { content: ''; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .14 0 0 0 0 .13 0 0 0 0 .12 0 0 0 1.6 -.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Scene: object-fit cover done with container units, so every layer shares one frame. */
.scene { position: absolute; width: max(100cqw, 150cqh); aspect-ratio: 3 / 2; left: 50%; top: 54%; translate: -50% -54%; scale: 1.08; will-change: transform; }
.scene .layer { position: absolute; height: auto; max-width: none; user-select: none; -webkit-user-drag: none; will-change: transform; }
.scene .layer-paper { inset: 0; width: 100%; height: 100%; }
.cover-art::after { content: ''; position: absolute; inset: auto 0 0; height: 18%; background: linear-gradient(to bottom, transparent, var(--paper)); pointer-events: none; }
.sun-clip { position: absolute; inset: 0; -webkit-mask: url('/assets/site/scene/sun-mask.png') 0 0 / 100% 100% no-repeat; mask: url('/assets/site/scene/sun-mask.png') 0 0 / 100% 100% no-repeat; }
.layer-sun { view-transition-name: sun; touch-action: none; }
.js-motion .layer-sun { cursor: grab; }
.js-motion .layer-sun.is-dragging { cursor: grabbing; }
.cover-title .line { display: block; clip-path: inset(-.25em -.2em -.3em -.2em); }
.cover-title .line > span { display: inline-block; }
.cover-words-left, .cover-words-right { will-change: transform; }
.cover-title { pointer-events: none; }
.cover-title .line > span { pointer-events: auto; }

/* Intro: strips are laid down, the sun rises behind them, then the words. Pure CSS, once per session. */
@media (prefers-reduced-motion: no-preference) {
  html:not(.intro-seen) .layer-black { animation: lay-left 1.25s var(--ease-io) .1s both; }
  html:not(.intro-seen) .layer-grey-front { animation: lay-right 1.15s var(--ease-io) .45s both; }
  html:not(.intro-seen) .layer-grey-back { animation: drift-in 1.3s var(--ease-out) .7s both; }
  html:not(.intro-seen) .layer-sun { animation: sunrise 2.2s var(--ease-out) 1.2s both; }
  html:not(.intro-seen) .cover-title .line > span { animation: rise 1.1s var(--ease-out) both; animation-delay: calc(1.5s + var(--i, 0) * 90ms); }
  html:not(.intro-seen) .cover-words-left .line:nth-child(2) > span { --i: 1; }
  html:not(.intro-seen) .cover-words-right .line:nth-child(1) > span { --i: 2; }
  html:not(.intro-seen) .cover-words-right .line:nth-child(2) > span { --i: 3; }
  html:not(.intro-seen) .cover-words-right .line:nth-child(3) > span { --i: 4; }
  html:not(.intro-seen) .cover-header .site-name,
  html:not(.intro-seen) .cover-bottom .site-nav a,
  html:not(.intro-seen) .cover-bottom-line { animation: fade-up .9s var(--ease-out) both; animation-delay: calc(2s + var(--i, 0) * 70ms); }
  html:not(.intro-seen) .cover-header .site-name { animation-delay: .2s; }
  html:not(.intro-seen) .cover-bottom .site-nav a:nth-child(2) { --i: 1; }
  html:not(.intro-seen) .cover-bottom .site-nav a:nth-child(3) { --i: 2; }
  html:not(.intro-seen) .cover-bottom .site-nav a:nth-child(4) { --i: 3; }
  html:not(.intro-seen) .cover-bottom .site-nav a:nth-child(5) { --i: 4; }
  html:not(.intro-seen) .cover-bottom-line { --i: 6; }
}
@keyframes lay-left { from { clip-path: inset(0 100% 0 0); translate: 0 4%; } to { clip-path: inset(0 0 0 0); translate: 0 0; } }
@keyframes lay-right { from { clip-path: inset(0 0 0 100%); translate: 0 6%; } to { clip-path: inset(0 0 0 0); translate: 0 0; } }
@keyframes drift-in { from { opacity: 0; translate: -6% 18%; rotate: -3deg; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
@keyframes sunrise { from { translate: 0 58%; filter: saturate(.6) brightness(.8); } to { translate: 0 0; filter: none; } }
@keyframes rise { from { translate: 0 150%; } to { translate: 0 0; } }
@keyframes fade-up { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }

/* Magnetic targets move with a spring from JS; keep the hit area steady. */
[data-magnetic] { display: inline-block; will-change: transform; }
.site-nav a[data-magnetic] { display: inline-block; }

/* Cover navigation: the others step back while one is chosen. */
.cover-bottom .site-nav a { position: relative; transition: opacity .35s, color .25s; }
.cover-bottom .site-nav:hover a:not(:hover) { opacity: .32; }
.cover-bottom .site-nav a:hover { text-decoration: none; color: var(--ink); }
.cover-bottom .site-nav a::after { content: ''; position: absolute; left: 0; right: 0; top: -1.5px; height: 4px; background: var(--red); scale: 0 1; transform-origin: right; transition: scale .5s var(--ease-out); }
.cover-bottom .site-nav a:hover::after, .cover-bottom .site-nav a:focus-visible::after { scale: 1 1; transform-origin: left; }

/* Attention marker: the sun appears as a point beside what you look at. */
.idea-links a > span, .work-entry h2, .teaching-fields dt, .next-page > a { transition: translate .6s var(--ease-out), color .3s; }
.idea-links a > span::before, .work-entry h2::before, .teaching-fields dt::before { content: ''; display: inline-block; width: .32em; height: .32em; border-radius: 50%; background: var(--red); vertical-align: .22em; margin-right: 0; scale: 0; width: 0; transition: scale .5s var(--ease-out), width .5s var(--ease-out), margin .5s var(--ease-out); }
.idea-links a:hover > span::before, .idea-links a:focus-visible > span::before,
.work-entry:hover h2::before, .teaching-fields dl div:hover dt::before { scale: 1; width: .32em; margin-right: .35em; }
.idea-links a svg, .next-page svg, .text-link svg, .contact-strip a svg, .contact-email svg { transition: translate .5s var(--ease-out); }
.idea-links a:hover svg, .next-page a:hover svg, .text-link:hover svg, .contact-strip a:hover svg, .contact-email:hover svg { translate: 8px 0; }
.idea-links a:hover { color: var(--ink); }
.idea-links a:hover span { color: var(--ink); }
.idea-links a { position: relative; }
.idea-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1.5px; height: 4px; background: var(--red); scale: 0 1; transform-origin: right; transition: scale .7s var(--ease-out); }
.idea-links a:hover::after { scale: 1 1; transform-origin: left; }
.text-link { position: relative; }
.text-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1.5px; height: 3px; background: var(--red); scale: 0 1; transform-origin: right; transition: scale .6s var(--ease-out); }
.text-link:hover::after, a:hover > .text-link::after { scale: 1 1; transform-origin: left; }
.work-list { counter-reset: work; }
.work-entry h2 { counter-increment: work; }
.work-entry > div::before { content: counter(work, decimal-leading-zero); display: block; margin-bottom: 18px; font: var(--label); color: var(--red); letter-spacing: var(--label-track); }
.site-name .name-dot { view-transition-name: sun; transition: scale .5s var(--ease-out); }
.site-name:hover .name-dot { scale: 1.9; }

/* Contact strip: the sun sets at the end of the home and follows the reader lazily. */
.contact-strip { position: relative; overflow: hidden; isolation: isolate; }
.strip-sun { position: absolute; z-index: -1; left: 0; top: 0; width: clamp(180px, 22vw, 320px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 42% 38%, #d23a22, var(--red) 62%, #9b2413); translate: var(--sx, 78vw) var(--sy, 72%); margin: calc(clamp(180px, 22vw, 320px) / -2) 0 0 calc(clamp(180px, 22vw, 320px) / -2); opacity: .95; will-change: translate; }
.contact-strip:not([data-live]) .strip-sun { left: auto; right: 6%; top: auto; bottom: 0; translate: 0 55%; margin: 0; }
.contact-strip h2, .contact-strip a { position: relative; }

/* Reading progress for inner pages. CSS scroll timelines where supported; nothing otherwise. */
.read-progress { position: fixed; z-index: 20; top: 0; left: 0; right: 0; height: 2px; background: var(--red); transform-origin: left; scale: 0 1; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .read-progress { animation: read linear both; animation-timeline: scroll(root); }
  }
}
@keyframes read { to { scale: 1 1; } }

/* Scroll reveals, only when the motion gate is open. */
.js-motion .reveal { opacity: 0; translate: 0 30px; transition: opacity 1s var(--ease-out), translate 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js-motion .reveal.is-in { opacity: 1; translate: 0 0; }
.split-word { display: inline-block; clip-path: inset(-.2em -.12em -.28em -.12em); vertical-align: top; }
.split-word > span { display: inline-block; }
.js-motion .split:not(.is-in) .split-word > span { translate: 0 115%; }
.js-motion .split .split-word > span { transition: translate 1.1s var(--ease-out); transition-delay: calc(var(--w, 0) * 55ms); }

/* feedCulture: a flow that accelerates with scrolling and stops under attention. */
.feed { margin: 0 0 72px; }
.feed-window { overflow: hidden; border-block: var(--line); padding-block: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.feed-track { display: flex; width: max-content; will-change: transform; }
.feed-run { display: flex; align-items: baseline; }
.feed-item { font: 900 clamp(36px, 4.6vw, 72px)/1 var(--display); font-stretch: 62%; text-transform: uppercase; white-space: nowrap; padding-inline: .55em; transition: color .4s, opacity .4s, scale .5s var(--ease-out); display: inline-block; }
.feed-item::after { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--rule); margin-left: 1.1em; vertical-align: .35em; }
.feed.is-attending .feed-item { opacity: .28; }
.feed.is-attending .feed-item.is-focus { opacity: 1; color: var(--red); scale: 1.12; }
.feed figcaption { margin-top: 16px; margin-left: min(16vw, 200px); font: var(--label); letter-spacing: var(--label-track); text-transform: uppercase; }
.feed-track { animation: feed-flow 60s linear infinite; }
.js-motion .feed-track { animation: none; }
@keyframes feed-flow { to { translate: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .feed-track { animation: none; } .feed-window { overflow-x: auto; } }

/* Didattica liquida: the title is liquid under the pointer, then settles. */
.fx-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.liquid { display: inline-block; }
.liquid.is-flowing { filter: url(#liquid); }

/* Contact page: letters lift in a wave. */
[data-wave] .wave-char { display: inline-block; transition: translate .5s var(--ease-out); transition-delay: calc(var(--c) * 18ms); }
[data-wave]:hover .wave-char { translate: 0 -.12em; }

/* Page entry: the reading surface arrives while navigation stays anchored.
   CSS runs on every document load, including browsers without View Transitions. */
@keyframes page-enter {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes title-enter {
  from { opacity: 0; transform: translateY(36px); clip-path: inset(0 0 100% 0); }
  to { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0); }
}
@media (prefers-reduced-motion: no-preference) {
  .inner-page .article-heading > h1, .inner-page .article-shell > h1 {
    animation: title-enter 800ms cubic-bezier(.22, .61, .36, 1) 100ms both;
  }
  .inner-page .article-heading > .article-intro {
    animation: page-enter 700ms cubic-bezier(.22, .61, .36, 1) 260ms both;
  }
  .inner-page .article-shell > :not(.article-heading):not(h1) {
    animation: page-enter 700ms cubic-bezier(.22, .61, .36, 1) 360ms both;
  }
  .home .cover-menu li {
    animation: page-enter 700ms cubic-bezier(.22, .61, .36, 1) 100ms both;
  }
  .home .cover-menu li:nth-child(2) { animation-delay: 180ms; }
  .home .cover-menu li:nth-child(3) { animation-delay: 260ms; }
  .home .cover-menu li:nth-child(4) { animation-delay: 340ms; }
  .home .cover-menu li:nth-child(5) { animation-delay: 420ms; }
}

@media (max-width: 1000px) { .feed figcaption { margin-left: 8%; } }
@media (max-width: 640px) {
  .feed figcaption { margin-left: 0; }
  .strip-sun { width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .cover-bottom .site-nav:hover a:not(:hover) { opacity: 1; }
}

/* ------------------------------------------------
   Home cover, barebone: the name, the menu large on the left, the private access. Nothing else.
   ------------------------------------------------ */
.cover-header h1 { font: inherit; text-transform: none; }
.cover-menu { position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; translate: 0 -46%; }
.cover-menu ul { margin: 0; padding: 0; list-style: none; }
.cover-menu a { display: inline-block; font: 900 clamp(64px, min(16vw, 14.5svh), 210px)/.84 var(--display); font-stretch: 62%; text-transform: uppercase; text-decoration: none; transition: color .2s; }
.cover-menu a:hover { color: var(--red); }
.cover-menu a:focus-visible { outline-offset: 4px; }

/* ------------------------------------------------
   Inner pages, barebone: one left edge for everything, the header menu in the same face as the home menu.
   ------------------------------------------------ */
.site-header .site-nav a { font: 800 20px/1 var(--display); font-stretch: 75%; letter-spacing: .01em; text-transform: uppercase; }
.site-header .site-nav a:hover { color: var(--red); text-decoration: none; }
.site-header .site-nav a[aria-current] { color: var(--red); text-decoration: none; }
.prose, .feed figcaption { margin-left: 0; }
.article-intro { max-width: 34ch; }
@media (max-width: 640px) { .site-header .site-nav a { font-size: 18px; } }
.article-shell { max-width: none; margin-inline: 0; }
.work-list, .teaching-fields, .idea-editorial, .article-shell > .next-page { max-width: 1320px; }

/* ------------------------------------------------
   Localization: language switch and per-language typography.
   Languages: English at /, Italian at /it/, Simplified Chinese at /zh/ (src/site/i18n/).
   ------------------------------------------------ */
.masthead { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 30px var(--gutter); }
.masthead .site-name { font-size: 28px; white-space: nowrap; }
.masthead > .site-nav { justify-self: end; width: auto; max-width: none; gap: 20px; }
.masthead > .lang-switch { grid-column: 3; justify-self: end; }
.lang-switch { border-left: 1px solid var(--rule); padding-left: 24px; }
.lang-switch ul { display: flex; align-items: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
.lang-switch a { position: relative; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font: 400 18px/1 var(--sans); letter-spacing: 0; text-decoration: none; color: var(--ink); }
.lang-switch a:hover { color: var(--red); }
.lang-switch a[aria-current] { color: var(--red); font-weight: 700; }
.lang-switch a[aria-current]::after { content: ''; position: absolute; bottom: 0; left: 10px; right: 10px; height: 3px; background: currentColor; }
@media (max-width: 1200px) {
  .masthead { grid-template-columns: minmax(0, 1fr) auto; }
  .masthead > .lang-switch { grid-column: 2; grid-row: 1; }
  .masthead > .site-nav { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
}
@media (max-width: 640px) {
  .masthead { gap: 22px 12px; padding-block: 24px; }
  .masthead .site-name { font-size: 22px; white-space: normal; }
  .lang-switch { padding-left: 12px; }
  .lang-switch ul { gap: 0; }
  .lang-switch a { font-size: 16px; }
}

/* Chinese: Archivo and Bodoni have no CJK glyphs, so each stack falls back to a system CJK face.
   No uppercase or italic exists in Han script; tracking and tight display leading are relaxed. */
:root:lang(zh) {
  --sans: 'Archivo', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Noto Sans CJK SC', 'Source Han Sans SC', 'Microsoft YaHei', sans-serif;
  --display: 'Archivo', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Noto Sans CJK SC', 'Source Han Sans SC', 'Microsoft YaHei', sans-serif;
  --serif: 'Bodoni Moda', 'Songti SC', 'Noto Serif SC', 'Noto Serif CJK SC', 'Source Han Serif SC', serif;
  --label-track: .06em;
}
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { line-height: 1.12; letter-spacing: .02em; }
:lang(zh) .cover-menu a { line-height: 1.02; letter-spacing: .04em; }
:lang(zh) .next-page > a, :lang(zh) .idea-links span { line-height: 1.1; }
:lang(zh) .prose p, :lang(zh) .introduction-copy p, :lang(zh) .article-intro { line-height: 1.9; }
:lang(zh) .article-intro { max-width: 24em; }
:lang(zh) .feed-item { letter-spacing: .04em; }

/* Oniride: Hangzhou's project-story-archive sequence, inside the personal site's typography. */
.oniride-wrap { max-width: 1560px; margin-inline: auto; padding-inline: var(--gutter); }
.oniride-back { display: inline-flex; padding-block: 20px 12px; color: var(--muted); font-size: 14px; }
.oniride-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5%; align-items: center; padding-block: 30px 72px; }
.oniride-hero h1 { font-size: clamp(80px, 10vw, 166px); line-height: .9; }
.oniride-lead { max-width: 35ch; margin-top: 30px; font: 400 clamp(22px, 2vw, 28px)/1.45 var(--serif); }
.oniride-index { display: flex; flex-wrap: wrap; gap: 20px 28px; margin-top: 32px; }
.oniride-index a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; }
.oniride-hero figure, .oniride-project-grid figure { margin: 0; }
.oniride-hero img { width: 100%; aspect-ratio: 7 / 5; height: auto; object-fit: cover; }
.oniride-page figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.oniride-story { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5%; border-top: 1px solid var(--rule); padding-block: 70px 54px; }
.oniride-page h2 { font-size: clamp(36px, 4.2vw, 64px); line-height: 1; }
.oniride-body p { max-width: 66ch; font-size: 17px; }
.oniride-body p + p { margin-top: 22px; }
.oniride-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 0 0 72px; margin: 0; list-style: none; }
.oniride-timeline li { border-top: 1px solid var(--rule); padding-top: 20px; }
.oniride-timeline time { font-size: 16px; color: var(--red); font-weight: 700; font-variant-numeric: tabular-nums; }
.oniride-timeline h3 { margin-block: 16px 12px; font-size: 26px; line-height: 1.1; }
.oniride-timeline p { color: var(--muted); font-size: 14px; }
.oniride-projects { border-top: 1px solid var(--rule); padding-block: 68px 80px; }
.oniride-section-heading { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5%; margin-bottom: 42px; }
.oniride-section-heading p { max-width: 58ch; color: var(--muted); }
.oniride-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.oniride-project-grid article { min-width: 0; }
.oniride-project-grid img { width: 100%; height: auto; aspect-ratio: 10 / 7; object-fit: cover; }
.oniride-project-grid h3 { margin-block: 28px 16px; font-size: clamp(28px, 3vw, 44px); line-height: 1; }
.oniride-project-grid p { font-size: 15px; }
.oniride-project-grid .text-link { margin-top: 22px; font-size: 11px; gap: 12px; }
.oniride-archive { background: var(--ink); color: var(--paper); padding-block: 70px; }
.oniride-archive-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5%; }
.oniride-archive p { margin-top: 24px; max-width: 48ch; }
.oniride-documents a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px; border-top: 1px solid currentColor; text-decoration: none; }
.oniride-documents strong { display: block; font-size: 22px; font-weight: 500; }
.oniride-documents small { display: block; margin-top: 10px; font-size: 13px; }
.oniride-archive a:hover { color: var(--paper); text-decoration: underline; }
.oniride-archive a:focus-visible { outline-color: var(--paper); }
.oniride-press { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5%; padding-block: 76px 60px; }
.oniride-press ul { list-style: none; margin: 0; padding: 0; }
.oniride-press a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; border-top: 1px solid var(--rule); text-decoration: none; }
.oniride-press a:hover strong { text-decoration: underline; }
.oniride-press small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.oniride-press strong { display: block; font-size: 18px; line-height: 1.5; font-weight: 500; }
.oniride-note { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5%; padding-block: 40px; border-top: 1px solid var(--rule); }
.oniride-note h2 { font-size: 28px; }
.oniride-note p { color: var(--muted); font-size: 14px; max-width: 65ch; }
.oniride-page .next-page { margin-block: 32px 64px; }
@media (max-width: 1000px) {
  .oniride-hero { gap: 32px; }
  .oniride-hero h1 { font-size: 90px; }
  .oniride-project-grid { gap: 22px; }
  .oniride-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .oniride-hero, .oniride-story, .oniride-section-heading, .oniride-archive-layout, .oniride-press, .oniride-note { grid-template-columns: 1fr; gap: 28px; }
  .oniride-hero { padding-block: 20px 42px; }
  .oniride-hero h1 { font-size: clamp(72px, 17vw, 110px); }
  .oniride-lead { font-size: 24px; margin-top: 22px; }
  .oniride-index { gap: 18px; margin-top: 18px; }
  .oniride-story, .oniride-projects, .oniride-press { padding-block: 44px; }
  .oniride-body p { font-size: 16px; }
  .oniride-project-grid { grid-template-columns: 1fr; gap: 44px; }
  .oniride-project-grid h3 { font-size: 36px; margin-top: 24px; }
  .oniride-timeline { gap: 24px; padding-bottom: 44px; }
  .oniride-timeline h3 { font-size: 23px; }
  .oniride-archive { padding-block: 44px; }
  .oniride-note { padding-block: 28px; }
}
@media (prefers-reduced-motion: no-preference) {
  .oniride-hero-copy { animation: page-enter 700ms cubic-bezier(.22,.61,.36,1) both; }
}
