/* ============================================================
   Kateryna Zavadska — Portfolio
   Editorial gallery system. Warm white, antiqua + grotesque.
   ============================================================ */

:root {
  /* Paper & ink — warm, gallery-soft (no pure black/white) */
  --paper:   oklch(0.992 0.004 80);
  --paper-2: oklch(0.974 0.005 78);
  --paper-3: oklch(0.958 0.006 78);
  --ink:     oklch(0.255 0.006 60);
  --ink-2:   oklch(0.435 0.006 60);
  --ink-3:   oklch(0.585 0.006 65);
  --line:    oklch(0.882 0.005 75);
  --line-2:  oklch(0.930 0.004 75);

  --serif:   "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --text:    "EB Garamond", Georgia, serif;
  --sans:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  --maxw: 1360px;
  --gutter: clamp(22px, 5vw, 88px);
  --section-y: clamp(96px, 13vw, 184px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 19px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: oklch(0.255 0.006 60 / 0.12); }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ---- Shared type utilities ---- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.serif-display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.02;
}

/* Section header: index + label, then big title */
.sec-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.sec-head .idx {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  white-space: nowrap;
  padding-top: 6px;
}
.sec-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.01em;
}
.sec-head .head-note {
  margin-left: auto;
  align-self: flex-end;
  max-width: 30ch;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}
.nav.scrolled {
  background: oklch(0.992 0.004 80 / 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line-2);
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav .brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
}
.nav .brand small {
  display: block;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
}
.nav-links a {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.nav-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  color: var(--ink);
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.nav-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding: 132px var(--gutter) clamp(60px, 9vw, 110px);
  max-width: var(--maxw);
  margin-inline: auto;
}
.hero-text { max-width: 600px; }
.hero .eyebrow { margin-bottom: 30px; }
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(50px, 8.4vw, 124px);
  line-height: 1.0;
  letter-spacing: -0.018em;
  padding-bottom: 0.06em;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
}
.hero .medium {
  margin: clamp(60px, 9vw, 120px) 0 0;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.hero .lede {
  margin: 30px 0 0;
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 42ch;
}
.hero-actions {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.btn {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.3s var(--ease);
}
.btn-solid {
  background: var(--ink);
  color: var(--paper);
  padding: 15px 28px;
  border-radius: 999px;
}
.btn-solid:hover { background: oklch(0.18 0.006 60); transform: translateY(-1px); }
.btn-link {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.btn-link .arrow { transition: transform 0.3s var(--ease); }
.btn-link:hover .arrow { transform: translateX(5px); }

.hero-figure {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 520px;
}
.hero-figure image-slot {
  width: 100%;
  height: clamp(420px, 64vh, 660px);
  box-shadow: 0 40px 80px -48px oklch(0.255 0.006 60 / 0.4);
}
.hero-figure .fig-cap {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero-figure .fig-cap em {
  font-family: var(--text);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  color: var(--ink-2);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { padding-block: var(--section-y); }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.4vw, 56px) clamp(24px, 2.8vw, 48px);
}
.work {
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.work .frame-wrap {
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
}
.work image-slot {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  transition: transform 0.9s var(--ease);
}
.work .frame-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: oklch(0.255 0.006 60 / 0);
  transition: background 0.5s var(--ease);
  pointer-events: none;
}
.work:hover image-slot { transform: scale(1.035); }
.work:hover .frame-wrap::after { background: oklch(0.255 0.006 60 / 0.05); }
.work .view-hint {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -46%);
  z-index: 3;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  background: oklch(0.255 0.006 60 / 0.7);
  backdrop-filter: blur(3px);
  padding: 11px 18px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.work:hover .view-hint {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.work .meta {
  padding-top: 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line-2);
  margin-top: 16px;
}
.work .meta .t {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.15;
}
.work .meta .yr {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  white-space: nowrap;
}
.work .meta-sub {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  margin-top: 6px;
}

.gallery-foot {
  margin-top: clamp(52px, 7vw, 88px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  text-align: center;
}
.gallery-foot p {
  margin: 0;
  font-size: 17px;
  color: var(--ink-2);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr clamp(280px, 27vw, 380px);
  background: oklch(0.992 0.004 80 / 0.96);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.lb.open { opacity: 1; visibility: visible; }
.lb-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vw, 92px);
  min-width: 0;
}
.lb-stage image-slot {
  max-width: 100%;
  max-height: 82vh;
  width: min(100%, 760px);
  height: 78vh;
  transition: transform 0.6s var(--ease), opacity 0.5s var(--ease);
}
.lb-panel {
  border-left: 1px solid var(--line);
  padding: clamp(40px, 5vw, 72px) clamp(30px, 3vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
}
.lb-panel .num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  margin-bottom: 26px;
}
.lb-panel h3 {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.05;
}
.lb-panel .lb-meta {
  margin-top: 26px;
  border-top: 1px solid var(--line-2);
  padding-top: 22px;
  display: grid;
  gap: 14px;
}
.lb-panel .lb-meta .row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  font-size: 16px;
}
.lb-panel .lb-meta .row dt {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 4px;
}
.lb-panel .lb-meta .row dd {
  margin: 0;
  color: var(--ink);
}
.lb-panel .lb-actions {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.lb-saatchi {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 13px 24px;
  transition: all 0.3s var(--ease);
}
.lb-saatchi:hover { background: var(--ink); color: var(--paper); }
.lb-inquire {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line);
}
.lb-inquire:hover { color: var(--ink); text-decoration-color: var(--ink); }

.lb-close {
  position: absolute;
  top: 26px; right: 26px;
  z-index: 4;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: all 0.3s var(--ease);
}
.lb-close:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(90deg); }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: all 0.3s var(--ease);
  z-index: 4;
}
.lb-nav:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.lb-prev { left: 22px; }
.lb-next { right: calc(clamp(280px, 27vw, 380px) + 22px); }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding-block: var(--section-y); }
.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.about-portrait { position: sticky; top: 120px; }
.about-portrait image-slot {
  width: 100%;
  height: clamp(420px, 56vh, 620px);
}
.about-portrait .p-cap {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.about-body p {
  margin: 0 0 1.4em;
  font-size: clamp(20px, 2.1vw, 24px);
  line-height: 1.6;
  color: var(--ink);
}
.about-body p.small {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.62;
}
.about-body .pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0.7em 0 0.9em;
}
.about-sign {
  margin-top: 36px;
  font-family: var(--serif);
  font-size: 30px;
  font-style: italic;
  color: var(--ink-2);
}

/* ============================================================
   EXHIBITIONS / CV
   ============================================================ */
.cv { padding-block: var(--section-y); background: var(--paper-2); }
.cv-grid {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
}
.cv-block {
  display: grid;
  grid-template-columns: 0.4fr 1.6fr;
  gap: clamp(24px, 4vw, 64px);
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.cv-block .cv-cat {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.cv-list { display: grid; gap: 4px; }
.cv-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  padding: 14px 0;
  align-items: baseline;
  border-bottom: 1px solid var(--line-2);
}
.cv-row:last-child { border-bottom: none; }
.cv-row .yr {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.cv-row .desc {
  font-size: 19px;
  line-height: 1.4;
}
.cv-row .desc .ttl { font-style: italic; }
.cv-row .desc .loc { color: var(--ink-2); }

/* ============================================================
   COMMISSION
   ============================================================ */
.commission { padding-block: var(--section-y); }
.comm-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(44px, 6vw, 104px);
  align-items: start;
}
.comm-intro { position: sticky; top: 120px; }
.comm-intro h2 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.comm-intro p {
  margin: 0 0 1.1em;
  font-size: 18px;
  color: var(--ink-2);
  max-width: 38ch;
}
.comm-steps {
  margin-top: 34px;
  display: grid;
  gap: 2px;
}
.comm-steps .step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line-2);
  align-items: baseline;
}
.comm-steps .step .n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--ink-3);
}
.comm-steps .step .s-t {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 4px;
}
.comm-steps .step .s-d {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.45;
}

/* Form */
.comm-form {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: clamp(30px, 4vw, 52px);
}
.field { margin-bottom: 26px; }
.field:last-of-type { margin-bottom: 0; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 36px);
}
.field label {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 11px;
}
.field label .req { color: oklch(0.55 0.13 35); margin-left: 3px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 9px 2px;
  font-family: var(--text);
  font-size: 18px;
  color: var(--ink);
  transition: border-color 0.3s var(--ease);
  border-radius: 0;
}
.field textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.5;
}
.field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23736f68' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-3); opacity: 0.7; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-bottom-color: oklch(0.6 0.16 32);
}
.field .err-msg {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: oklch(0.55 0.16 32);
  margin-top: 7px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.field.invalid .err-msg { height: auto; opacity: 1; }
.form-foot {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.form-foot .note {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  max-width: 26ch;
}
.submit-btn {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 16px 34px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.submit-btn:hover { background: oklch(0.18 0.006 60); transform: translateY(-1px); }
.submit-btn:disabled { opacity: 0.5; cursor: default; transform: none; }

/* Success state */
.form-success {
  text-align: left;
  padding: clamp(10px, 2vw, 26px) 0;
  animation: fadeUp 0.6s var(--ease) both;
}
.form-success .check {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: grid; place-items: center;
  margin-bottom: 26px;
  color: var(--ink);
}
.form-success h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.05;
}
.form-success p {
  margin: 0 0 1em;
  font-size: 18px;
  color: var(--ink-2);
  max-width: 40ch;
}
.form-success button {
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FOOTER / CONTACT
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(72px, 10vw, 130px) 0 40px;
}
.footer .wrap { width: 100%; }
.footer .eyebrow { color: oklch(0.7 0.01 70); }
.footer-lead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: clamp(48px, 7vw, 88px);
  border-bottom: 1px solid oklch(0.4 0.006 60);
}
.footer-mail {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--paper);
  transition: opacity 0.3s var(--ease);
  margin-top: 22px;
  display: inline-block;
}
.footer-mail:hover { opacity: 0.6; }
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.footer-social a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.78 0.01 70);
  transition: color 0.25s var(--ease);
}
.footer-social a:hover { color: var(--paper); }
.footer-bottom {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(0.62 0.008 70);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
/* Progressive enhancement: content is visible by default. The animation
   only engages once JS adds .anim to <html> — so a slow/failed script,
   reduced-motion, print, or a jump-scroll never leaves content hidden. */
.reveal { opacity: 1; transform: none; }
.anim .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .anim .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .lb { grid-template-columns: 1fr; }
  .lb-panel {
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 24px var(--gutter) 30px;
    justify-content: flex-start;
  }
  .lb-stage { padding: 70px var(--gutter) 10px; }
  .lb-stage image-slot { height: 52vh; }
  .lb-next { right: 22px; }
  .lb-panel .lb-meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 120px;
    gap: 48px;
  }
  .hero-figure { justify-self: stretch; max-width: 100%; order: 2; }
  .hero-figure image-slot { height: 58vh; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { position: static; max-width: 440px; }
  .cv-block { grid-template-columns: 1fr; gap: 18px; }
  .comm-grid { grid-template-columns: 1fr; }
  .comm-intro { position: static; }
  .sec-head { flex-wrap: wrap; }
  .sec-head .head-note { margin-left: 0; flex-basis: 100%; }
  .nav-links { gap: 18px; }
  .nav-links a:not(.nav-cta) { display: none; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; gap: 40px; }
  .field-row { grid-template-columns: 1fr; gap: 26px; }
  .footer-lead { flex-direction: column; align-items: flex-start; }
  .footer-social { align-items: flex-start; }
}
