/* Plain white, bold black type. Her artwork does the talking. */

:root {
  --ink: #000;
  --muted: #6b6b6b;
  --line: #000;
  --bg: #fff;
  --gutter: clamp(16px, 3vw, 40px);
  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(15px, 0.4vw + 10px, 16px);
  line-height: 1.5;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0 0 1em; }

/* ---------- header ---------- */
.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 14px var(--gutter);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.01em; font-size: clamp(15px, 1.2vw, 18px); text-transform: uppercase; }
.brand img { height: 46px; width: auto; }
.top nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); font-weight: 700; font-size: clamp(14px, 1vw, 15px); }
.top nav a { padding: 4px 0; border-bottom: 2px solid transparent; }
.top nav a:hover, .top nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.top nav .lang { color: var(--muted); font-weight: 600; }
.top nav .lang:hover { color: var(--ink); }

main { flex: 1; padding: clamp(20px, 3vw, 40px) var(--gutter) clamp(40px, 5vw, 72px); }

/* ---------- home ---------- */
.hero { margin-bottom: clamp(24px, 3.5vw, 44px); }
.hero h1 {
  font-size: clamp(44px, 10.5vw, 90px);
  line-height: 0.80;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.hero .tagline { margin-top: 12px; display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: clamp(15px, 1.2vw, 18px); }

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px);
}
.grid a { display: block; }
.grid .frame { aspect-ratio: 4 / 5; overflow: hidden; background: #f3f3f3; }
.grid .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.grid a:hover .frame img { transform: scale(1.03); }
.grid .caption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 8px; border-top: 2px solid var(--line); margin-top: 10px; }
.grid .caption strong { font-weight: 800; font-size: clamp(16px, 1.2vw, 19px); letter-spacing: -0.01em; }
.grid .caption span { color: var(--muted); font-size: 13px; text-align: right; }

/* ---------- project ---------- */
.project { display: grid; grid-template-columns: minmax(260px, 1fr) 2.4fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.project .info { position: sticky; top: 24px; }
.project h1 { font-size: clamp(28px, 3.2vw, 48px); margin-bottom: 8px; }
.project .sub { color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.project .desc { font-size: clamp(15px, 0.6vw + 9px, 17px); }
.project .details { color: var(--muted); font-size: 14px; border-top: 2px solid var(--line); padding-top: 10px; margin-top: 18px; }
.images { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 48px); }
.images figure { margin: 0; }
.images img { max-height: calc(100vh - 110px); width: auto; max-width: 100%; } /* each image fits the window */
.pager { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; border-top: 2px solid var(--line); padding-top: 16px; margin-top: 24px; font-weight: 700; }
.pager a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- text pages ---------- */
.page { display: grid; grid-template-columns: minmax(200px, 1fr) 2.4fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.page h1 { font-size: clamp(28px, 3.2vw, 48px); }
.page .body { max-width: 640px; font-size: clamp(15px, 0.6vw + 9px, 17px); }
.page .body p:first-child { font-weight: 700; }

/* events: list */
/* same two-column layout as Biografija (.page): title left, list right */
.events-body { max-width: 640px; }

.label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 12px; }
.events + .label, .empty + .label { margin-top: 40px; }
.events { list-style: none; margin: 0; padding: 0; }
.events li { display: grid; grid-template-columns: clamp(64px, 7vw, 92px) 1fr; gap: clamp(16px, 2.5vw, 32px); border-top: 1.5px solid var(--line); padding: 14px 0 22px; scroll-margin-top: 24px; }
.events .when strong { display: block; font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; line-height: 0.95; letter-spacing: -0.03em; text-transform: lowercase; }
.events .when span { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.events h2 { font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; letter-spacing: -0.015em; margin-bottom: 8px; }
.events .meta { font-weight: 500; margin: 0; }
.events .date, .events .note { color: var(--muted); margin: 2px 0 0; }
.events .links { display: flex; gap: 20px; margin: 12px 0 0; font-size: 14px; font-weight: 500; }
.events .links a { border-bottom: 1.5px solid var(--ink); }
.events li.past { color: var(--muted); border-top-color: #d0d0d0; padding-bottom: 20px; }
.events li.past .when strong { font-size: clamp(20px, 2vw, 26px); }
.events li.past h2 { font-size: clamp(15px, 1.2vw, 17px); }
.empty { color: var(--muted); }

/* ---------- contact ---------- */
/* contact: dark ink, like the black frames in her comics (linocut feel, no artwork used) */
.ink-defs { position: absolute; }
.reach { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 6px; }
.reach a { display: inline-block; }
.reach .txt { font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.reach a:hover .txt { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

.ink-box { position: relative; display: grid; gap: 12px; max-width: 580px; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.panel { position: relative; display: block; }
.panel::before { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--ink); filter: url(#ink); pointer-events: none; }
.panel:focus-within::before { border-width: 2.5px; }
.contact-form input, .contact-form textarea {
  position: relative; display: block; width: 100%; font: inherit; color: var(--ink); background: transparent;
  border: 0; border-radius: 0; padding: 12px 14px; outline: none;
}
.contact-form textarea { min-height: 130px; resize: none; field-sizing: content; max-height: 50vh; }
.contact-form ::placeholder { color: #777; }
.contact-form button {
  position: relative; justify-self: end; font: inherit; font-weight: 700; letter-spacing: 0.02em; cursor: pointer;
  background: none; color: var(--ink); border: 0; padding: 11px 24px; z-index: 0;
}
.contact-form button::before { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--ink); filter: url(#ink); z-index: -1; }
.contact-form button:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-weight: 600; margin-bottom: 12px; }
.form-note.err { color: #b00; }
@media (max-width: 560px) { .contact-form .row2 { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  padding: 16px var(--gutter) 20px;
  font-size: 13px;
  font-weight: 600;
}
.bottom .spacer { flex: 1; }
.bottom a:hover { text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .project, .page { grid-template-columns: 1fr; }
  .project .info { position: static; }
  .images img { max-height: none; width: 100%; }
}

@media (max-width: 560px) {
  .top { padding-top: 14px; padding-bottom: 14px; }
  .brand img { height: 38px; }
  .top nav { width: 100%; justify-content: space-between; }
  .hero h1 { line-height: 1; }
}
