@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-400-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-400-normal-latin.woff2) format('woff2');
  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: 'Cormorant';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-500-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-500-normal-latin.woff2) format('woff2');
  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: 'Italiana';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/italiana-400-normal-latin.woff2) format('woff2');
  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';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jost-400-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Jost';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jost-400-italic-latin.woff2) format('woff2');
  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';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/jost-300-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/jost-300-normal-latin.woff2) format('woff2');
  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';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jost-400-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jost-400-normal-latin.woff2) format('woff2');
  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';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jost-500-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jost-500-normal-latin.woff2) format('woff2');
  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';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/jost-600-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/jost-600-normal-latin.woff2) format('woff2');
  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;
}
/* ============================================================
   Ivanna Hodak — artist portfolio
   "Night atelier": deep indigo dyed cloth, unbleached linen,
   gold thread. The running stitch is the signature motif —
   the artist spent 47 years working with fabric, and her ink
   graphics read as lace and embroidery.
   Type: Italiana (engraved display) + Jost (text), self-hosted.
   ============================================================ */

:root {
  --ground: #131a2e;
  --panel: #1a2340;
  --panel-2: #212c52;
  --edge: #2e3a63;
  --linen: #ede6d4;
  --linen-dim: #b8b3a0;
  --gold: #cfa54e;
  --gold-soft: #a8863f;
  --red: #e53212;

  --font-display: "Italiana", "Didot", serif;
  --font-body: "Jost", "Century Gothic", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 78rem;
}

/* Italiana has no Cyrillic: Ukrainian and Russian pages use Cormorant
   for display type, with a slightly heavier weight to match. */
html[lang="uk"], html[lang="ru"] { --font-display: "Cormorant", "Didot", serif; }
html[lang="uk"] h1, html[lang="uk"] h2, html[lang="uk"] h3,
html[lang="ru"] h1, html[lang="ru"] h2, html[lang="ru"] h3 { font-weight: 500; }

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--linen);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--linen); }

::selection { background: var(--gold); color: var(--ground); }

:focus-visible { outline: 2px dashed var(--gold); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

.wrap { width: min(var(--wrap), 100% - 3rem); margin-inline: auto; }

/* --------------------------------------------- the stitch (signature) */

.stitch {
  display: block;
  border: 0;
  height: 1px;
  margin: 0;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0 9px,
    transparent 9px 16px
  );
  opacity: 0.85;
}

.stitch--knot { position: relative; overflow: visible; }

.stitch--knot::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -2.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.5rem;
}

.eyebrow .stitch { width: 3.5rem; flex: none; }

/* --------------------------------------------- buttons as stitched links */

.btn {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--linen);
  padding: 0.9rem 0 0.7rem;
  position: relative;
  transition: color 0.25s var(--ease-out), letter-spacing 0.35s var(--ease-out);
}

.btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, currentColor 0 9px, transparent 9px 16px);
  opacity: 0.9;
}

.btn:hover { color: var(--gold); letter-spacing: 0.34em; }

.btn--gold { color: var(--gold); }
.btn--gold:hover { color: var(--linen); }

/* --------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--ground) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--edge);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 4.5rem;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 140px; height: auto; }

.site-nav ul { display: flex; gap: 2.4rem; list-style: none; margin: 0; padding: 0; }

.site-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--linen-dim);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.2s var(--ease-out);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 7px, transparent 7px 12px);
  transition: right 0.35s var(--ease-out);
}

.site-nav a:hover { color: var(--linen); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.site-nav a[aria-current="page"] { color: var(--gold); }

.lang-nav { display: flex; align-items: center; gap: 0.9rem; margin-left: 0.5rem; }

.lang-nav a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--linen-dim);
  padding: 0.3rem 0;
  border-bottom: 1px dashed transparent;
}

.lang-nav a:hover { color: var(--linen); }
.lang-nav a[aria-current="true"] { color: var(--gold); border-bottom-color: var(--gold); }

@media (max-width: 760px) {
  .lang-nav { margin-left: auto; gap: 0.7rem; }
}

.nav-toggle { display: none; appearance: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: var(--linen); margin: 7px 0; transition: transform 0.3s var(--ease-out), opacity 0.2s; }

@media (max-width: 760px) {
  /* backdrop-filter would make the header the containing block for the
     fixed menu overlay (its background collapses) — solid header instead */
  .site-header { background: var(--ground); backdrop-filter: none; }

  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--ground);
    padding: 7.5rem 1.75rem 3rem;
    transform: translateY(-110%);
    transition: transform 0.4s var(--ease-out);
    visibility: hidden;
  }

  .site-nav.open { transform: translateY(0); visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 1.5rem; }
  .site-nav a { font-family: var(--font-display); font-size: 2.1rem; text-transform: none; letter-spacing: 0.04em; color: var(--linen); }
  .site-nav a::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--gold); }

  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
}

/* --------------------------------------------- hero */

.hero {
  position: relative;
  min-height: calc(100svh - 4.5rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(52vw, 800px);
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  mix-blend-mode: screen;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
}

@media (max-width: 760px) {
  /* on phones the lace becomes a top band and the text sits on solid ground */
  .hero { display: block; min-height: 0; }

  .hero-art {
    position: static;
    width: 100%;
    height: 44svh;
    justify-content: center;
  }

  .hero-art img {
    object-fit: cover;
    object-position: center 20%;
    opacity: 0.95;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  }

  .hero .wrap { padding: 0 0 3.5rem; margin-top: -3.5rem; }
}

.hero .wrap { padding: clamp(4rem, 10vh, 7rem) 0; position: relative; }

.hero-name {
  font-size: clamp(3.4rem, 11vw, 9rem);
  margin: 0 0 1.2rem;
  line-height: 0.96;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-name .stitch { width: min(24rem, 60%); margin-top: 1.6rem; }

.hero-roles {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  max-width: 34rem;
  gap: 0.5rem 1.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-roles li + li::before { content: "\2726"; margin-right: 1.4rem; font-size: 0.7em; color: var(--linen-dim); }

.hero-lede {
  max-width: 40ch;
  margin: 2.4rem 0 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--linen);
}

.hero-cta { margin-top: 2.8rem; display: flex; gap: 2.8rem; flex-wrap: wrap; }

/* --------------------------------------------- sections */

.section { padding: clamp(4rem, 10vh, 7rem) 0; }
.section--panel { background: var(--panel); border-block: 1px solid var(--edge); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-head h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin: 0; }
.section-head .more { white-space: nowrap; font-size: 0.875rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; }

/* --------------------------------------------- gallery */

.filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.2rem;
  margin: 0 0 3rem;
  padding: 0 0 1.1rem;
  list-style: none;
  border-bottom: 1px solid var(--edge);
}

.filter-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--linen-dim);
  padding: 0.3rem 0;
  position: relative;
}

.filter-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 9px, transparent 9px 16px);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.filter-nav a:hover { color: var(--linen); }
.filter-nav a[aria-current="page"] { color: var(--gold); }
.filter-nav a[aria-current="page"]::after, .filter-nav a:hover::after { opacity: 1; }

.masonry { columns: 3 300px; column-gap: 3rem; }
.masonry > * { break-inside: avoid; margin-bottom: 4rem; }

.work-card { position: relative; margin: 0; }

.work-card a { display: block; text-decoration: none; color: inherit; }

.work-card .frame {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--panel);
  transition: transform 0.4s var(--ease-out);
}

.work-card .frame::after {
  content: "";
  position: absolute;
  inset: 0.6rem;
  border: 1px dashed var(--gold);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  pointer-events: none;
}

.work-card img { width: 100%; transition: transform 0.7s var(--ease-out), opacity 0.4s var(--ease-out); }

.work-card a:hover .frame, .work-card a:focus-visible .frame { transform: translateY(-5px); }
.work-card a:hover .frame::after, .work-card a:focus-visible .frame::after { opacity: 0.9; }
.work-card a:hover img { transform: scale(1.04); }

.work-card figcaption {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.2rem 0.1rem 0;
}

.work-card .t {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  line-height: 1.25;
  color: var(--linen);
}

.work-card .cat {
  margin-left: auto;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  white-space: nowrap;
}

/* --------------------------------------------- single work */

.work-single { padding: clamp(3rem, 7vh, 5rem) 0; }

.work-stage { max-width: 62rem; margin-inline: auto; }

.work-stage .eyebrow { justify-content: center; }
.work-stage h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); text-align: center; }

.work-figure { margin: 2.5rem 0 0; }

.work-figure button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }

.work-figure img {
  width: auto;
  max-width: 100%;
  max-height: 82vh;
  margin-inline: auto;
  box-shadow: 0 0 120px rgb(207 165 78 / 7%), 0 30px 70px rgb(0 0 0 / 45%);
}

.work-figure figcaption {
  margin-top: 1.1rem;
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--linen-dim);
}

.work-below {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: 62rem;
  margin: 2.5rem auto 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--edge);
}

.work-desc { max-width: 52ch; margin: 0; color: var(--linen-dim); }

.work-nav { display: flex; gap: 2.5rem; font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase; }
.work-nav a { text-decoration: none; }

.related { margin-top: clamp(4rem, 10vh, 6.5rem); }
.related h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 2rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.75rem; }
@media (max-width: 680px) { .related-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------- prose pages */

.prose-page { padding: clamp(3rem, 7vh, 5rem) 0 clamp(4rem, 10vh, 7rem); }

.prose-head { max-width: 50rem; margin-bottom: 3.5rem; }
.prose-head h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
.prose-head .sub { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 300; color: var(--linen-dim); line-height: 1.6; max-width: 46ch; }

/* letter on linen — the About page reads like a letter on cloth-paper */

.letter {
  background: var(--linen);
  color: #2a2418;
  border-block: 1px solid var(--edge);
}

.letter-inner {
  display: grid;
  grid-template-columns: 1fr minmax(20rem, 29rem);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
  padding: clamp(3rem, 8vh, 5.5rem) 0;
}

@media (max-width: 860px) { .letter-inner { grid-template-columns: 1fr; } }

.prose { max-width: 66ch; font-size: 1.0625rem; font-weight: 400; }
.prose p { margin: 0 0 1.45em; }

.prose > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.6em;
  line-height: 0.8;
  float: left;
  padding: 0.08em 0.14em 0 0;
  color: var(--gold-soft);
}

.prose .sign {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #8a6a2a;
}

.pull-quote {
  margin: 2.8em 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.4;
  color: #8a6a2a;
}

.about-side { position: sticky; top: 6.5rem; }
@media (max-width: 860px) { .about-side { position: static; order: -1; max-width: 21rem; } }

.about-side img { width: 100%; filter: sepia(0.12); }
.about-side .caption { margin-top: 1rem; font-size: 0.875rem; color: #6d5f45; }

/* --------------------------------------------- home about band */

.about-band .inner {
  display: grid;
  grid-template-columns: minmax(20rem, 31rem) 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

@media (max-width: 780px) { .about-band .inner { grid-template-columns: 1fr; } }

.about-band img { filter: sepia(0.1); }

.about-band blockquote {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.42;
  color: var(--linen);
}

.about-band blockquote::before { content: "\201C"; color: var(--gold); }
.about-band blockquote::after { content: "\201D"; color: var(--gold); }

/* --------------------------------------------- course */

.course-head {
  display: grid;
  grid-template-columns: 1fr minmax(15rem, 24rem);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

@media (max-width: 820px) { .course-head { grid-template-columns: 1fr; } }

.course-cover picture { display: block; background: #fff; padding: 1rem; box-shadow: 0 20px 60px rgb(0 0 0 / 40%); transform: rotate(1.5deg); }
@media (max-width: 820px) { .course-cover { max-width: 20rem; } }

.course-story { max-width: 62ch; margin: clamp(2.5rem, 6vh, 4rem) 0 0; font-size: 1.1875rem; line-height: 1.75; }

.course-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2.5rem 3.5rem;
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding-top: clamp(2rem, 5vh, 3rem);
  border-top: 1px solid var(--edge);
}

.course-cols h2 { font-size: 1.7rem; margin-bottom: 0.6em; }
.course-cols p { color: var(--linen-dim); margin: 0 0 0.8em; }

.course-cols ul { margin: 0; padding: 0; list-style: none; color: var(--linen-dim); }

.course-cols li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.55em;
}

.course-cols li::before {
  content: "\2726";
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 0.75em;
  color: var(--gold);
}

.course-gallery { margin-top: clamp(3rem, 8vh, 5rem); }

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 1.25rem;
}

.course-tile { margin: 0; overflow: hidden; }

.course-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1.08;
  transition: transform 0.6s var(--ease-out);
}

.course-tile:hover img { transform: scale(1.05); }

.course-close {
  max-width: 62ch;
  margin-top: clamp(3rem, 8vh, 5rem);
  padding-top: clamp(2rem, 5vh, 3rem);
  border-top: 1px solid var(--edge);
}

.course-close .closing { font-size: 1.1875rem; line-height: 1.75; }

.course-close .sign-line { margin: 1.5rem 0 2rem; color: var(--linen-dim); }

.course-close .sign { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); margin-left: 0.4rem; }

/* --------------------------------------------- blog */

.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 3rem; max-width: 50rem; }

.post-card { border-top: 1px solid var(--edge); padding-top: 2.2rem; }

.post-card time { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }

.post-card h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0.7rem 0 0.8rem; }
.post-card h2 a { color: var(--linen); text-decoration: none; }
.post-card h2 a:hover { color: var(--gold); }
.post-card p { color: var(--linen-dim); margin: 0 0 1rem; }

.video-embed { position: relative; aspect-ratio: 16 / 9; background: #000; margin: 2.5rem 0; }

.video-embed iframe, .video-embed img, .video-embed button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed img { object-fit: cover; opacity: 0.7; }

.video-embed button { background: none; cursor: pointer; display: grid; place-items: center; }

.video-embed .play {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px dashed var(--gold);
  background: rgb(19 26 46 / 55%);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.video-embed button:hover .play { transform: scale(1.08); background: rgb(19 26 46 / 80%); }

.video-embed .play::after {
  content: "";
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--gold);
  margin-left: 5px;
}

/* --------------------------------------------- contact */

.contact-hero { padding: clamp(4rem, 12vh, 8rem) 0; }

.contact-hero h1 { font-size: clamp(2.8rem, 6.5vw, 5.5rem); max-width: 15em; }

.contact-email {
  display: inline-block;
  margin: 1.8rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 3.6rem);
  letter-spacing: 0.03em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px dashed var(--gold);
  padding-bottom: 0.35rem;
  transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.contact-email:hover { color: var(--linen); border-color: var(--linen); }

.contact-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 3.5rem;
  margin-top: clamp(3.5rem, 8vh, 5.5rem);
  padding-top: 3.5rem;
  border-top: 1px solid var(--edge);
}

.contact-cols h2 { font-size: 1.8rem; }
.contact-cols p { color: var(--linen-dim); }

/* --------------------------------------------- footer */

.site-footer { border-top: 1px solid var(--edge); padding: 3.5rem 0 3rem; background: var(--panel); }

.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem 3rem; }

.site-footer .sig img { width: 130px; }

.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 2rem; list-style: none; margin: 0; padding: 0; }

.site-footer nav a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--linen-dim);
}

.site-footer nav a:hover { color: var(--gold); }

.site-footer .social { margin-left: auto; }

/* the copyright always takes its own row under a hairline, so a wrapping
   nav never leaves it stranded mid-line */
.site-footer .fine {
  flex: 1 0 100%;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--edge);
  font-size: 0.8125rem;
  color: var(--linen-dim);
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--linen-dim);
  transition: color 0.2s var(--ease-out);
}

.social svg { flex: none; }
.social:hover { color: var(--gold); }

.social--big { font-size: 1rem; letter-spacing: 0.1em; color: var(--gold); }
.social--big svg { width: 22px; height: 22px; }
.social--big:hover { color: var(--linen); }

/* --------------------------------------------- lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgb(8 11 20 / 96%);
  display: grid;
  place-items: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
}

.lightbox.open { opacity: 1; visibility: visible; }

.lightbox img { max-width: min(94vw, 1500px); max-height: 90vh; width: auto; }

.lightbox .close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  appearance: none;
  background: none;
  border: 0;
  color: var(--linen);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.5rem;
}

/* --------------------------------------------- mobile rhythm */

@media (max-width: 760px) {
  body { font-size: 1.0625rem; }

  .wrap { width: calc(100% - 2.5rem); }

  .section { padding: 3.25rem 0; }

  .hero-name { letter-spacing: 0.04em; }
  .hero-name .stitch { margin-top: 1.1rem; }

  .hero-roles { font-size: 0.75rem; letter-spacing: 0.16em; gap: 0.55rem 1rem; }
  .hero-roles li + li::before { margin-right: 1rem; }

  .hero-lede { margin-top: 1.8rem; }
  .hero-cta { margin-top: 2rem; gap: 0.4rem 2.2rem; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 0.75rem; margin-bottom: 2rem; }

  .eyebrow { margin-bottom: 1rem; }

  .masonry { column-gap: 1.5rem; }
  .masonry > * { margin-bottom: 2.9rem; }
  .work-card figcaption { padding-top: 0.65rem; gap: 0.75rem; }
  .work-card .t { font-size: 1.2rem; }

  .filter-nav { gap: 0.9rem 1.4rem; margin-bottom: 2.2rem; }

  .prose-head { margin-bottom: 2.25rem; }

  .work-below { margin-top: 1.8rem; flex-direction: column; align-items: flex-start; }
  .work-nav { width: 100%; justify-content: space-between; gap: 1.2rem; }

  .letter-inner { padding: 2.75rem 0; gap: 2rem; }

  .contact-hero { padding: 3.25rem 0 4rem; }
  .contact-cols { margin-top: 2.75rem; padding-top: 2.5rem; gap: 2.25rem; }

  .site-footer { padding: 3rem 0 5rem; }

  .site-footer .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.9rem;
  }

  .site-footer nav ul { flex-direction: column; gap: 1.1rem; }
  .site-footer nav a { font-size: 0.8125rem; }
  .site-footer .social { margin-left: 0; }
  .site-footer .fine { align-self: stretch; padding-top: 1.2rem; }
}

/* --------------------------------------------- reveal */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* --------------------------------------------- 404 */

.error-page { padding: clamp(5rem, 16vh, 10rem) 0; text-align: center; }
.error-page img { width: 120px; margin: 0 auto 2rem; transform: rotate(-6deg); }
.error-page h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); }
.error-page p { color: var(--linen-dim); }
.error-page .row { display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------- skip link */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--ground);
  padding: 0.7rem 1.2rem;
  z-index: 200;
}

.skip-link:focus { left: 0; }
