/* Hilke Kracke — Bauhaus print system */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-ext.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-italic-latin.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }

:root {
  --paper: #f3f3f0;
  --paper-2: #e8e8e3;
  --ink: #121212;
  --ink-2: #55554f;
  --red: #d7261e;
  --yellow: #f4b400;
  --blue: #1e4fa3;
  --rule: 3px;
  --gutter: clamp(16px, 3.2vw, 48px);
  --gap: clamp(14px, 1.8vw, 28px);
  --max: 1520px;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "Jost", "Futura", "Century Gothic", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--ink) var(--paper-2); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--text); font-size: clamp(1.0625rem, .35vw + 1rem, 1.1875rem); line-height: 1.6;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
::selection { background: var(--yellow); color: var(--ink); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 3px solid var(--paper-2); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .22em; }
a:hover { text-decoration-color: var(--red); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
input, textarea { caret-color: var(--red); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--ink); color: var(--paper); padding: .5em 1em; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- display type ---------- */
.d1, .d2, .d3, .d4 {
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  letter-spacing: -.035em; line-height: .92; margin: 0; text-wrap: balance;
}
.d1, .d2 { text-transform: lowercase; }
.d1 { font-size: clamp(3.25rem, 8.4vw, 6rem); }
.d2 { font-size: clamp(2.5rem, 6vw, 5rem); }
.d3 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: 1; letter-spacing: -.025em; }
.d4 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.12; letter-spacing: -.015em; font-weight: 750; }
.meta { font-size: .9375rem; color: var(--ink-2); line-height: 1.45; }
.label { font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
.lede { font-size: clamp(1.25rem, 1.1vw + .9rem, 1.6rem); line-height: 1.38; max-width: 34ch; font-weight: 400; }
.prose { max-width: 66ch; }
.prose p { margin: 0 0 1em; }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- shapes ---------- */
.shape { display: inline-block; flex: none; width: .72em; height: .72em; }
.shape--square { background: var(--red); }
.shape--circle { background: var(--blue); border-radius: 50%; }
.shape--triangle { background: var(--yellow); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.shape--bar { background: var(--ink); height: .32em; width: .9em; }
.shape--ring { border: 2.5px solid var(--ink); border-radius: 50%; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.rule-top { border-top: var(--rule) solid var(--ink); }
.section { padding-block: clamp(64px, 9vw, 140px) clamp(56px, 7vw, 110px); }

/* ---------- header ---------- */
.stripe { display: grid; grid-template-columns: 5fr 3fr 2fr; height: 6px; }
.stripe span:nth-child(1) { background: var(--red); }
.stripe span:nth-child(2) { background: var(--yellow); }
.stripe span:nth-child(3) { background: var(--blue); }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: var(--rule) solid var(--ink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: block; width: clamp(150px, 15vw, 210px); flex: none; }
.brand img { width: 100%; }
.nav { display: flex; gap: clamp(14px, 2.2vw, 36px); align-items: center; }
.nav a {
  display: inline-flex; align-items: center; gap: .5em; text-decoration: none;
  font-family: var(--display); font-stretch: 112%; font-weight: 650; font-size: 1.0625rem; text-transform: lowercase; letter-spacing: -.01em;
  padding-block: 6px; border-bottom: 3px solid transparent; transition: border-color .25s var(--ease);
}
.nav a:hover { border-bottom-color: var(--ink); }
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav .shape { width: .62em; height: .62em; }
.nav .shape--bar { height: .26em; width: .8em; }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 0; color: var(--ink);
    font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1rem; text-transform: lowercase; cursor: pointer;
  }
  .menu-toggle .bars { display: grid; gap: 4px; width: 26px; }
  .menu-toggle .bars i { display: block; height: 3px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
  .menu-open .menu-toggle .bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle .bars i:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle .bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 85px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: var(--rule) solid var(--ink); padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s .35s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .35s var(--ease); }
  .nav a { font-size: 1.75rem; padding: 12px 0; border-bottom: 1px solid var(--paper-2); }
  .nav a[aria-current="page"] { border-bottom-color: var(--ink); }
}

/* ---------- home hero ---------- */
.hero { position: relative; padding-top: clamp(28px, 4vw, 56px); overflow: clip; }
.hero .grid { grid-template-rows: auto auto; align-items: start; }
.hero-square {
  grid-column: 1 / 6; grid-row: 1; aspect-ratio: 1; background: var(--red); position: relative;
  max-height: min(64svh, 540px); width: 100%; justify-self: start;
}
.hero-sign {
  grid-column: 1 / 8; grid-row: 1; align-self: end; position: relative; z-index: 3;
  margin: 0 0 clamp(-40px, -3vw, -18px) clamp(18px, 3vw, 48px); width: min(100%, 760px);
}
.hero-sign img { width: 100%; }
.hero-art { grid-column: 8 / 13; grid-row: 1 / 3; position: relative; justify-self: end; align-self: start; }
.hero-art .disc {
  position: absolute; z-index: 0; width: clamp(140px, 17vw, 250px); aspect-ratio: 1; border-radius: 50%; background: var(--blue);
  left: clamp(-120px, -8vw, -48px); bottom: clamp(36px, 7vw, 110px);
}
.hero-art figure { position: relative; z-index: 1; margin: 0; }
.hero-art img { width: auto; max-height: min(70svh, 600px); box-shadow: 0 18px 40px -22px rgba(18, 18, 18, .55); }
.hero-art figcaption { margin-top: 12px; display: flex; gap: 10px; align-items: baseline; justify-content: space-between; border-top: var(--rule) solid var(--ink); padding-top: 8px; }
.hero-text { grid-column: 1 / 7; grid-row: 2; padding-top: clamp(48px, 6vw, 84px); }
.hero-text .tri { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.35rem); letter-spacing: -.03em; line-height: 1; text-transform: lowercase; margin: 0 0 22px; }
.hero-text .tri span { color: var(--ink-2); font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 30px; }
.yellow-bar { height: clamp(18px, 2.2vw, 30px); background: var(--yellow); margin-top: clamp(48px, 6vw, 88px); }
.side-note {
  position: absolute; right: calc(var(--gutter) * .35); top: 50%; writing-mode: vertical-rl; transform: rotate(180deg) translateY(50%);
  font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}

/* ---------- arrow links / buttons ---------- */
.go {
  display: inline-flex; align-items: center; gap: .6em; text-decoration: none;
  font-family: var(--display); font-stretch: 115%; font-weight: 750; text-transform: lowercase; font-size: 1.125rem; letter-spacing: -.01em;
  border-bottom: var(--rule) solid var(--ink); padding-bottom: 4px;
}
.go svg { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.go:hover svg { transform: translateX(5px); }
.go:hover { text-decoration: none; border-bottom-color: var(--red); }
.btn {
  display: inline-flex; align-items: center; gap: .6em; background: var(--ink); color: var(--paper); border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--display); font-stretch: 115%; font-weight: 750; text-transform: lowercase; font-size: 1.125rem; padding: 16px 24px;
  transition: background .25s var(--ease);
}
.btn:hover { background: var(--red); text-decoration: none; }

/* ---------- section heads ---------- */
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; padding-bottom: 22px; border-bottom: var(--rule) solid var(--ink); margin-bottom: clamp(32px, 4vw, 56px); }
.head h2, .head h1 { grid-column: 1 / 9; display: flex; align-items: baseline; gap: .22em; }
.head h2 .shape, .head h1 .shape { width: .52em; height: .52em; transform: translateY(-.04em); }
.head h2 .shape--triangle, .head h1 .shape--triangle { width: .6em; }
.head .aside { grid-column: 9 / 13; justify-self: end; text-align: right; }

/* ---------- works: hung on a line ---------- */
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(48px, 6vw, 88px); align-items: end; }
.work { margin: 0; display: flex; flex-direction: column; }
.work .frame { display: flex; align-items: flex-end; justify-content: center; min-height: 0; padding-bottom: 18px; border-bottom: var(--rule) solid var(--ink); }
.work button { all: unset; cursor: zoom-in; display: block; }
.work button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.work img { max-height: 440px; width: auto; box-shadow: 0 16px 34px -24px rgba(18, 18, 18, .6); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.work button:hover img { transform: translateY(-6px); box-shadow: 0 26px 40px -24px rgba(18, 18, 18, .6); }
.work figcaption { padding-top: 10px; display: grid; gap: 2px; }
.work .t { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.0625rem; line-height: 1.2; letter-spacing: -.01em; }
.work .m { font-size: .875rem; color: var(--ink-2); }

/* home works band: asymmetric */
.works-home { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 56px; align-items: end; }
.works-home .work:nth-child(1) { grid-column: 1 / 8; }
.works-home .work:nth-child(1) img { max-height: 470px; }
.works-home .work:nth-child(2) { grid-column: 9 / 13; }
.works-home .work:nth-child(3) { grid-column: 1 / 5; }
.works-home .work:nth-child(4) { grid-column: 5 / 9; }
.works-home .work:nth-child(5) { grid-column: 9 / 13; }

/* ---------- mostre band (yellow) ---------- */
.band-yellow { background: var(--yellow); }
.band-yellow .head { border-color: var(--ink); }
.band-yellow .meta { color: #3d3416; }
.stats { grid-column: 1 / 6; display: grid; gap: 40px; align-content: start; }
.bars { display: grid; gap: 10px; }
.bars .row { display: grid; grid-template-columns: 7.5em 1fr 2.2em; align-items: center; gap: 12px; font-size: .9375rem; }
.bars .row b { font-family: var(--display); font-stretch: 112%; font-weight: 700; }
.bars .track { height: 18px; position: relative; }
.bars .fill { position: absolute; inset: 0 auto 0 0; background: var(--ink); transform-origin: left; }
.bars .fill.c-it { background: var(--red); } .bars .fill.c-de { background: var(--ink); } .bars .fill.c-fr { background: var(--blue); } .bars .fill.c-sk { background: #fff; }
.bars .n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.latest { grid-column: 7 / 13; }

/* exhibition rows */
.xlist { list-style: none; margin: 0; padding: 0; }
.xrow { border-bottom: 1px solid currentColor; }
.xrow a { display: grid; grid-template-columns: 22px 1fr auto; gap: 6px 16px; align-items: start; padding: 16px 0; text-decoration: none; }
.xrow a:hover .xt { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.xmark { width: 16px; height: 16px; margin-top: .3em; }
.xt { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.125rem; line-height: 1.2; letter-spacing: -.01em; }
.xs { grid-column: 2; font-size: .9375rem; color: inherit; opacity: .78; }
.xd { grid-column: 3; grid-row: 1 / 3; text-align: right; font-size: .9375rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-it { background: var(--red); } .c-de { background: var(--ink); } .c-fr { background: var(--blue); } .c-sk { background: var(--paper); box-shadow: inset 0 0 0 2.5px var(--ink); } .c-none { background: transparent; box-shadow: inset 0 0 0 2.5px currentColor; border-radius: 50%; }

/* ---------- archive (mostre page) ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .9375rem; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; display: inline-block; }
.year { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); border-top: var(--rule) solid var(--ink); padding-top: 18px; margin-top: 56px; }
.year:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.year h2 { grid-column: 1 / 4; margin: 0; }
.year h2 .d2 { position: sticky; top: 104px; display: block; }
.year .xlist { grid-column: 4 / 13; }
.year .xrow:last-child { border-bottom: 0; }
.year .xrow a { grid-template-columns: 22px 1fr 150px auto; padding: 20px 0; }
.year .xrow .xthumb { grid-column: 3; grid-row: 1 / 3; width: 150px; height: 100px; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .4s var(--ease); }
.year .xrow a:hover .xthumb { filter: none; }
.year .xrow .xd { grid-column: 4; }
.year .xrow .nothumb { grid-column: 3; grid-row: 1 / 3; }

/* ---------- exhibition page ---------- */
.x-hero { padding-top: clamp(36px, 5vw, 72px); }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: .9375rem; margin-bottom: 26px; color: var(--ink-2); }
.crumbs a { color: var(--ink); }
.x-hero h1 { max-width: 18ch; }
.x-hero h1.long { font-size: clamp(2.2rem, 5vw, 4.25rem); max-width: 22ch; }
.datasheet { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(32px, 4vw, 56px); border-top: var(--rule) solid var(--ink); }
.datasheet dl { grid-column: 1 / 9; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.datasheet dl > div { padding: 14px 16px 16px 0; border-right: 1px solid var(--ink); margin-right: 16px; }
.datasheet dl > div:last-child { border-right: 0; }
.datasheet dt { margin-bottom: 4px; }
.datasheet dd { margin: 0; font-family: var(--display); font-stretch: 108%; font-weight: 650; font-size: 1.0625rem; line-height: 1.25; }
.datasheet .flag { grid-column: 10 / 13; justify-self: end; align-self: stretch; width: 100%; max-width: 220px; margin-top: 14px; }
.flag.c-it, .flag.c-de, .flag.c-fr, .flag.c-sk { height: clamp(70px, 9vw, 130px); }
.x-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-top: clamp(40px, 5vw, 72px); }
.x-body .prose { grid-column: 1 / 8; }
.x-body .poster { grid-column: 9 / 13; margin: 0; }
.x-body .poster img { box-shadow: 0 16px 34px -24px rgba(18, 18, 18, .6); }
.x-body .poster figcaption { margin-top: 10px; }
.x-body.no-text .poster { grid-column: 1 / 6; }
.artists { columns: 3 12em; column-gap: var(--gap); list-style: none; padding: 0; margin: 12px 0 0; font-size: .9375rem; }
.artists li { break-inside: avoid; padding: 3px 0; border-bottom: 1px solid var(--paper-2); }
.artists li.me { font-weight: 650; }
.note { border-left: 0; background: var(--paper-2); padding: 18px 20px; font-size: .9375rem; max-width: 60ch; }

.photos { columns: 3 280px; column-gap: var(--gap); }
.photos figure { margin: 0 0 var(--gap); break-inside: avoid; }
.photos button { all: unset; display: block; cursor: zoom-in; }
.photos button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.photos img { width: 100%; transition: filter .4s var(--ease); }
.photos button:hover img { filter: brightness(1.06); }

.video { position: relative; aspect-ratio: 16 / 9; background: var(--ink); max-width: 900px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: var(--rule) solid var(--ink); }
.pager a { display: grid; gap: 6px; padding: 26px 0 30px; text-decoration: none; }
.pager a + a, .pager span + a { border-left: var(--rule) solid var(--ink); padding-left: var(--gap); text-align: right; }
.pager a:hover .d4 { text-decoration: underline; text-decoration-thickness: 2px; }
.pager .label { color: var(--ink-2); }

/* ---------- biografia ---------- */
.bio-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.portrait { grid-column: 1 / 5; position: relative; margin: 0; }
.portrait .disc { position: absolute; width: 62%; aspect-ratio: 1; background: var(--blue); border-radius: 50%; right: -14%; top: -10%; z-index: 0; }
.portrait img { position: relative; z-index: 1; width: 100%; filter: grayscale(1) contrast(1.06); }
.bio-top .lede { grid-column: 6 / 13; max-width: 26ch; font-family: var(--display); font-stretch: 105%; font-weight: 500; font-size: clamp(1.5rem, 2.3vw, 2.25rem); line-height: 1.22; letter-spacing: -.015em; margin: 0; }
.langs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(56px, 7vw, 100px); border-top: var(--rule) solid var(--ink); }
.langs article { padding-top: 16px; }
.langs article + article { border-left: 1px solid var(--ink); padding-left: var(--gap); }
.langs h2 { margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.langs .farewell { margin-top: 1.6em; padding-top: 14px; border-top: var(--rule) solid var(--ink); font-family: var(--display); font-stretch: 110%; font-weight: 700; }
.langs p { margin: 0 0 1em; font-size: 1rem; line-height: 1.62; hyphens: auto; }
.strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--gap); }
.strip figure { margin: 0; }
.strip button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.strip figcaption { font-size: .875rem; color: var(--ink-2); margin-top: 8px; }

/* ---------- stampa ---------- */
.posters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) var(--gap); align-items: end; }
.posters .work img { max-height: 380px; }
.downloads { list-style: none; margin: 0; padding: 0; border-top: var(--rule) solid var(--ink); }
.downloads li { border-bottom: 1px solid var(--ink); }
.downloads a { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 18px 0; text-decoration: none; align-items: baseline; }
.downloads a:hover .d4 { text-decoration: underline; text-decoration-thickness: 2px; }

/* ---------- contatti ---------- */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; }
.contact .card { grid-column: 1 / 6; }
.contact .big { font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: clamp(1.5rem, 2.7vw, 2.4rem); letter-spacing: -.03em; line-height: 1.05; text-decoration: none; display: inline-block; border-bottom: var(--rule) solid var(--ink); word-break: break-word; }
.contact .big:hover { border-bottom-color: var(--red); }
.contact dl { margin: 32px 0 0; display: grid; gap: 18px; }
.contact dd { margin: 4px 0 0; font-size: 1.125rem; }
.form { grid-column: 7 / 12; max-width: 520px; width: 100%; justify-self: start; display: grid; gap: 20px; background: var(--paper-2); padding: clamp(22px, 3vw, 40px); }
.form label { display: grid; gap: 6px; }
.form input, .form textarea {
  font: inherit; color: var(--ink); background: var(--paper); border: 0; border-bottom: var(--rule) solid var(--ink); padding: 12px 14px; border-radius: 0; width: 100%;
}
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--blue); background: #fff; }
.form textarea { min-height: 170px; resize: vertical; }
.form .hint { font-size: .875rem; color: var(--ink-2); margin: 0; }
.form .err { color: var(--red); font-size: .9375rem; margin: 0; min-height: 1.4em; }
.links-list { list-style: none; padding: 0; margin: 0; }
.links-list li { border-bottom: 1px solid var(--ink); }
.links-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; text-decoration: none; }
.links-list svg { width: 1.1em; height: 1.1em; flex: none; transition: transform .3s var(--ease); }
.links-list a:hover svg { transform: translateX(4px); }

/* ---------- home bio + contact ---------- */
.home-bio { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.home-bio .portrait { grid-column: 2 / 6; }
.home-bio .txt { grid-column: 7 / 13; }
.home-bio .txt .lede { margin: 22px 0 28px; max-width: 32ch; }
.cta-band { background: var(--ink); color: var(--paper); }
.cta-grid { align-items: end; row-gap: 32px; }
.cta-grid h2 { grid-column: 1 / 8; }
.cta-grid > div { grid-column: 8 / 13; }
.cta-grid p { margin: 0 0 18px; color: #cfcfc8; }
@media (max-width: 860px) { .cta-grid h2, .cta-grid > div { grid-column: 1 / 13; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 7vw, 96px) 28px; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { text-decoration-color: var(--yellow); }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.foot-sign { grid-column: 1 / 6; }
.foot-sign img { width: min(100%, 380px); }
.foot-sign p { color: #b9b9b2; margin: 18px 0 0; max-width: 34ch; font-size: .9375rem; }
.foot-col { grid-column: span 2; }
.foot-col.wide { grid-column: span 3; }
.foot-col h2 { font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: #b9b9b2; margin: 0 0 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { text-decoration: underline; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: clamp(48px, 6vw, 80px); padding-top: 18px; border-top: 1px solid #3a3a37; font-size: .8125rem; color: #9d9d96; }
.foot-stripe { display: grid; grid-template-columns: 5fr 3fr 2fr; height: 10px; margin-top: 18px; }
.foot-stripe span:nth-child(1) { background: var(--red); } .foot-stripe span:nth-child(2) { background: var(--yellow); } .foot-stripe span:nth-child(3) { background: var(--blue); }

/* ---------- lightbox ---------- */
.lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: var(--paper); color: var(--ink); }
.lb::backdrop { background: rgba(18, 18, 18, .6); }
.lb[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); border-bottom: var(--rule) solid var(--ink); }
.lb-count { font-variant-numeric: tabular-nums; }
.lb-stage { position: relative; display: grid; place-items: center; padding: clamp(16px, 3vw, 40px); min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 22px 50px -26px rgba(18, 18, 18, .6); opacity: 1; transition: opacity .25s var(--ease); }
.lb-stage img.is-loading { opacity: 0; }
.lb-cap { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 14px var(--gutter) 18px; border-top: var(--rule) solid var(--ink); }
.lb-cap .t { font-family: var(--display); font-stretch: 112%; font-weight: 750; font-size: 1.25rem; line-height: 1.15; }
.lb-cap .m { font-size: .9375rem; color: var(--ink-2); }
.lb-nav { display: flex; gap: 8px; }
.lb button.ic { background: var(--ink); color: var(--paper); border: 0; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.lb button.ic:hover { background: var(--red); }
.lb button.ic svg { width: 22px; height: 22px; }
.lb button.close { background: none; color: var(--ink); }
.lb button.close:hover { background: var(--paper-2); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-square { animation: square-in 1s var(--ease) both; }
  .js .hero-art .disc { animation: roll-in 1.3s var(--ease) .25s both; }
  .js .hero-sign img { animation: write 1.6s cubic-bezier(.65, .05, .36, 1) .55s both; }
  .js .hero-art figure { animation: hang 1s var(--ease) .15s both; }
  .js .reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal:not(.in) { opacity: 0; transform: translateY(24px); }
  .js .bars .fill { transition: transform 1.2s var(--ease); }
  .js .bars:not(.in) .fill { transform: scaleX(0); }
}
@keyframes square-in { from { transform: translateX(-30px); clip-path: inset(0 100% 0 0); } to { transform: none; clip-path: inset(0 0 0 0); } }
@keyframes roll-in { from { transform: translateX(160px) rotate(220deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes write { from { clip-path: inset(-10% 100% -10% 0); } to { clip-path: inset(-10% -2% -10% 0); } }
@keyframes hang { from { transform: translateY(-18px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats { grid-column: 1 / 13; }
  .latest { grid-column: 1 / 13; margin-top: 48px; }
  .year .xrow a { grid-template-columns: 22px 1fr auto; }
  .year .xrow .xthumb, .year .xrow .nothumb { display: none; }
  .year .xrow .xd { grid-column: 3; }
}
@media (max-width: 860px) {
  .hero-square { grid-column: 1 / 10; max-height: none; }
  .hero-sign { grid-column: 1 / 13; margin-left: 12px; }
  .hero-art { grid-column: 3 / 13; grid-row: 2; justify-self: end; margin-top: 56px; }
  .hero-art img { max-height: 62svh; }
  .hero-text { grid-column: 1 / 13; grid-row: 3; padding-top: 40px; }
  .side-note { display: none; }
  .works-home .work:nth-child(n) { grid-column: 1 / 13; }
  .works-home .work:nth-child(n+2) { grid-column: span 6; }
  .works-home .work:nth-child(4) { grid-column: 1 / 13; }
  .head h2, .head h1 { grid-column: 1 / 13; }
  .head .aside { grid-column: 1 / 13; justify-self: start; text-align: left; margin-top: 14px; }
  .home-bio .portrait { grid-column: 1 / 9; margin-bottom: 56px; }
  .home-bio .txt { grid-column: 1 / 13; }
  .datasheet dl { grid-column: 1 / 13; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .datasheet dl > div:nth-child(2) { border-right: 0; }
  .datasheet dl > div:nth-child(n+3) { border-top: 1px solid var(--ink); }
  .datasheet .flag { display: none; }
  .x-body .prose, .x-body .poster, .x-body.no-text .poster { grid-column: 1 / 13; }
  .x-body .poster { max-width: 420px; margin-top: 32px; }
  .bio-top .portrait { grid-column: 1 / 10; margin-bottom: 48px; }
  .bio-top .lede { grid-column: 1 / 13; }
  .langs { grid-template-columns: 1fr; }
  .langs article + article { border-left: 0; padding-left: 0; border-top: 1px solid var(--ink); margin-top: 24px; }
  .contact .card, .form { grid-column: 1 / 13; }
  .foot-sign { grid-column: 1 / 13; }
  .foot-col, .foot-col.wide { grid-column: span 6; }
  .year h2 { grid-column: 1 / 13; margin-bottom: 6px; }
  .year h2 .d2 { position: static; }
  .year .xlist { grid-column: 1 / 13; }
}
@media (max-width: 560px) {
  .wall { grid-template-columns: 1fr; }
  .work img { max-height: 70svh; }
  .posters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .works-home .work:nth-child(n) { grid-column: 1 / 13; }
  .xrow a, .year .xrow a { grid-template-columns: 18px 1fr; }
  .xrow .xd, .year .xrow .xd { grid-column: 2; grid-row: auto; text-align: left; }
  .xmark { width: 13px; height: 13px; }
  .bars .row { grid-template-columns: 6.2em 1fr 1.8em; }
  .lb-cap { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .pager a + a, .pager span + a { border-left: 0; border-top: 1px solid var(--ink); padding-left: 0; text-align: left; }
}
.band-yellow .shape--triangle { background: var(--ink); }
