/* ==========================================================================
   Ink Nero — styles
   Black & white only. Greys are reserved for grain and secondary text.
   Type: Archivo (variable width + weight). Condensed heavy caps for display,
   normal width for reading.
   ========================================================================== */

:root {
  --black: #000;
  --white: #fff;
  --paper-2: #efefef;          /* grain plate behind textured sections */
  --grey-text: #5a5a5a;        /* 7:1 on white */
  --grey-text-inv: #a8a8a8;    /* 8.6:1 on black */

  /* semantic tokens (flipped inside .invert) */
  --bg: var(--white);
  --fg: var(--black);
  --muted: var(--grey-text);
  --line: rgba(0, 0, 0, 0.22);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  /* type scale (≈ 1.25 minor third for text, then display jumps) */
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: clamp(2rem, 4vw, 3rem);
  --step-4: clamp(2.75rem, 7vw, 5.5rem);
  --step-5: clamp(4.5rem, 20vw, 21rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 7rem;

  --gutter: clamp(1rem, 3vw, 2.5rem);
  --max: 1440px;
  --header-h: 72px;

  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur: 220ms;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.1 -0.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.invert {
  --bg: var(--black);
  --fg: var(--white);
  --muted: var(--grey-text-inv);
  --line: rgba(255, 255, 255, 0.26);
  background: var(--bg);
  color: var(--fg);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--fg);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
}
.skip-link:focus { top: 8px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- shared display type ---------- */
.section-title,
.hero__title,
.camps__title,
.service__name,
.artist__name,
.statement__big {
  font-stretch: 62%;
  font-weight: 850;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.01em;
}

.section-title { font-size: var(--step-4); }

.section-note {
  max-width: 34ch;
  color: var(--muted);
  font-size: var(--step-1);
  line-height: 1.4;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--line);
}

/* ---------- construction frame: outline + corner handles ---------- */
.frame {
  position: relative;
  outline: 1px solid var(--fg);
}
.frame::after {
  content: "";
  position: absolute;
  inset: -4px;
  pointer-events: none;
  background:
    linear-gradient(var(--fg), var(--fg)) left top / 7px 7px no-repeat,
    linear-gradient(var(--fg), var(--fg)) right top / 7px 7px no-repeat,
    linear-gradient(var(--fg), var(--fg)) left bottom / 7px 7px no-repeat,
    linear-gradient(var(--fg), var(--fg)) right bottom / 7px 7px no-repeat;
}

/* ---------- grain plate ---------- */
.grain {
  position: relative;
  isolation: isolate;
  background-color: var(--paper-2);
}
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--grain);
  opacity: 0.22;
  mix-blend-mode: multiply;
}

/* ---------- photos: black & white, colour returns on interaction ---------- */
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  transition: filter 450ms var(--ease-out);
}
.hero__photo:hover img,
.artist:hover img,
.artist:focus-within img {
  filter: grayscale(0) contrast(1);
}

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: var(--bg);
  font: inherit;
  font-weight: 700;
  font-stretch: 87.5%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
  touch-action: manipulation;
}
.btn:hover { background: var(--bg); color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn--small { min-height: 40px; padding: 0.5rem 1rem; }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { opacity: 0.6; cursor: progress; }

.link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 700;
  font-stretch: 87.5%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--black);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  max-width: var(--max);
  height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand img { width: 58px; height: 58px; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
}
.site-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  font-stretch: 87.5%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.site-nav a:not(.btn):hover,
.site-nav a[aria-current="true"] { text-decoration: underline; }

.nav-toggle {
  display: none;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.75rem;
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--black);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-2) var(--gutter) var(--space-4);
  }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border: 0; padding-top: var(--space-3); }
  .site-nav a:not(.btn) { width: 100%; min-height: 56px; font-size: var(--step-1); }
  .site-nav .btn { width: 100%; min-height: 48px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { border-bottom: 1px solid var(--black); }

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto auto auto;
  column-gap: var(--space-3);
  padding-block: var(--space-4) 0;
  /* visible construction columns */
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: calc((100% - 2 * var(--gutter)) / 4) 100%;
  background-position: var(--gutter) 0;
  background-repeat: repeat-x;
}

.hero__meta {
  grid-column: 1 / 7;
  grid-row: 1;
  display: flex;
  gap: var(--space-4);
  font-weight: 700;
  font-stretch: 87.5%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero__title {
  grid-column: 1 / 10;
  grid-row: 2;
  align-self: end;
  font-size: var(--step-5);
  font-weight: 900;
  line-height: 0.8;
  margin-top: var(--space-4);
}
.hero__word { display: block; }
.hero__word + .hero__word { padding-left: 0.45em; }

.hero__photo {
  grid-column: 9 / 13;
  grid-row: 1 / 4;
  align-self: start;
  aspect-ratio: 2 / 3;
  margin-top: var(--space-2);
}
.hero__photo figcaption {
  position: absolute;
  left: 0;
  bottom: -2rem;
  font-size: var(--step--1);
  font-weight: 700;
  font-stretch: 87.5%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero__copy {
  grid-column: 1 / 7;
  grid-row: 3;
  padding-block: var(--space-5) var(--space-5);
}
.hero__headline {
  max-width: 18ch;
  margin-bottom: var(--space-3);
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 850;
  font-stretch: 62%;
  line-height: 0.95;
  text-transform: uppercase;
}
.hero__lede {
  max-width: 46ch;
  font-size: var(--step-1);
  line-height: 1.45;
  font-weight: 450;
  margin-bottom: var(--space-4);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
}

.disciplines {
  grid-column: 1 / -1;
  grid-row: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0;
  margin-top: var(--space-5);
  padding-block: var(--space-3);
  border-top: 1px solid var(--black);
  font-size: var(--step-1);
  font-weight: 800;
  font-stretch: 75%;
  text-transform: uppercase;
  line-height: 1.2;
}
.disciplines li:not(:last-child)::after {
  content: "—";
  padding-inline: 0.6em;
  font-weight: 400;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    background-size: calc((100% - 2 * var(--gutter)) / 2) 100%;
  }
  .hero__meta { grid-column: 1 / -1; }
  .hero__title { grid-column: 1 / -1; grid-row: 2; font-size: clamp(5rem, 31vw, 15rem); }
  .hero__photo { grid-column: 2 / -1; grid-row: 3; margin-top: var(--space-5); }
  .hero__copy { grid-column: 1 / -1; grid-row: 4; padding-top: var(--space-6); }
  .disciplines { grid-row: 5; margin-top: 0; }
}

/* ==========================================================================
   Statement
   ========================================================================== */
.statement { border-bottom: 1px solid var(--black); }
.statement__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5) var(--space-3);
  padding-block: var(--space-7);
}
.statement__big {
  grid-column: 1 / 12;
  font-size: clamp(2.75rem, 7.5vw, 7.25rem);
  line-height: 0.92;
  font-weight: 800;
  text-wrap: balance;
}
.statement__cols {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}
.statement__cols p { max-width: 42ch; }
.statement__quote {
  grid-column: 5 / 13;
  padding-top: var(--space-4);
  border-top: 1px solid var(--black);
}
.statement__quote blockquote { margin: 0; }
.statement__quote blockquote p {
  font-size: var(--step-3);
  font-weight: 800;
  font-stretch: 75%;
  line-height: 1.05;
  text-wrap: balance;
}
.statement__quote figcaption {
  margin-top: var(--space-2);
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 900px) {
  .statement__big, .statement__cols, .statement__quote { grid-column: 1 / -1; }
  .statement__cols { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Roster
   ========================================================================== */
.roster { padding-block: var(--space-7); border-bottom: 1px solid var(--black); }

.roster__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5) var(--space-4);
}
/* offset columns for an asymmetric collage feel */
.roster__list > li:nth-child(3n + 2) { margin-top: var(--space-6); }
.roster__list > li:nth-child(3n + 3) { margin-top: calc(var(--space-6) * 2); }

.artist {
  display: grid;
  align-content: start;
  gap: var(--space-2);
}
.artist__num {
  font-weight: 700;
  font-stretch: 87.5%;
}
.artist__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: var(--space-2);
}
.artist__photo--empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
  font-stretch: 87.5%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.artist__name {
  font-size: var(--step-3);
  line-height: 0.9;
}
.artist__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}
.artist__tags span {
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--fg);
  font-size: var(--step--1);
  font-weight: 600;
}
.artist__bio {
  display: grid;
  gap: var(--space-2);
  padding-top: var(--space-1);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.artist__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-3);
  padding-top: var(--space-1);
  border-top: 1px solid var(--line);
}
.artist__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--step--1);
  font-weight: 700;
  font-stretch: 87.5%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.artist__cta {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--fg);
  font-size: var(--step--1);
  font-weight: 700;
  font-stretch: 87.5%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.artist__cta:hover { background: var(--fg); color: var(--bg); }

@media (max-width: 900px) {
  .roster__list { grid-template-columns: 1fr 1fr; }
  .roster__list > li:nth-child(n) { margin-top: 0; }
  .roster__list > li:nth-child(2n) { margin-top: var(--space-6); }
}
@media (max-width: 560px) {
  .roster__list { grid-template-columns: 1fr; }
  .roster__list > li:nth-child(2n) { margin-top: 0; }
}

/* ==========================================================================
   Services (inverted)
   ========================================================================== */
.services { padding-block: var(--space-7); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5) var(--space-3);
}
.services__aside {
  grid-column: 1 / 5;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + var(--space-4));
  display: grid;
  gap: var(--space-3);
}
.services__photo { aspect-ratio: 2 / 3; max-width: 320px; margin-top: var(--space-3); }

.services__aside .section-title { font-size: clamp(2.5rem, 5vw, 4.5rem); text-wrap: balance; }

.services__list { grid-column: 6 / 13; border-bottom: 1px solid var(--line); }
.service { border-top: 1px solid var(--line); }
.service > summary {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 2.75rem;
  align-items: start;
  gap: var(--space-2) var(--space-4);
  padding-block: var(--space-4);
  cursor: pointer;
  list-style: none;
}
.service > summary::-webkit-details-marker { display: none; }
.service__name { font-size: var(--step-3); }
.service__line { color: var(--muted); max-width: 36ch; }
/* plus / minus that rotates into a minus when open */
.service__toggle {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--fg);
}
.service__toggle::before,
.service__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--fg);
  transform: translate(-50%, -50%);
  transition: transform var(--dur) var(--ease-out);
}
.service__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.service[open] .service__toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.service > summary:hover .service__name { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.12em; }
.service > summary:focus-visible { outline-offset: -3px; }

.service__body {
  display: grid;
  gap: var(--space-2);
  max-width: 62ch;
  padding-bottom: var(--space-5);
  color: var(--muted);
}
.service__tagline {
  color: var(--fg);
  font-size: var(--step-2);
  font-weight: 700;
  line-height: 1.25;
}
.service__body a { color: var(--fg); font-weight: 700; }
.service__points,
.service__work {
  display: grid;
  gap: 0;
  margin-top: var(--space-1);
  border-top: 1px solid var(--line);
}
.service__points li,
.service__work li {
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
}
.service__subhead {
  margin-top: var(--space-3);
  color: var(--fg);
  font-size: var(--step-1);
  font-weight: 800;
  font-stretch: 75%;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .services__aside { grid-column: 1 / -1; position: static; }
  .services__photo { display: none; }
  .services__list { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .service > summary { grid-template-columns: minmax(0, 1fr) 2.75rem; }
  .service__line { grid-column: 1 / 2; grid-row: 2; }
}

/* ==========================================================================
   Music camps
   ========================================================================== */
.camps { padding-block: var(--space-7); border-bottom: 1px solid var(--black); }
.camps__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5) var(--space-3);
}
.camps__title {
  grid-column: 1 / 8;
  font-size: clamp(4rem, 13vw, 12rem);
  line-height: 0.8;
  font-weight: 900;
}
.camps__intro {
  grid-column: 8 / 13;
  align-self: end;
  display: grid;
  gap: var(--space-2);
}
.camps__lede { font-size: var(--step-2); font-weight: 600; line-height: 1.3; }

.camps__steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--black);
}
.camps__steps li {
  display: grid;
  align-content: start;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-3) var(--space-3) 0;
}
.camps__steps li + li { padding-left: var(--space-3); border-left: 1px solid var(--line); }
.camps__step-num {
  font-size: var(--step-3);
  font-weight: 900;
  font-stretch: 62%;
  line-height: 1;
}
.camps__steps h3 {
  font-size: var(--step-1);
  font-weight: 800;
  font-stretch: 75%;
  text-transform: uppercase;
}
.camps__steps p { color: var(--muted); }

.camps__details {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: center;
  background: var(--white);
  margin-top: var(--space-2);
}
.camps__details > div { padding: var(--space-3); }
.camps__details > div + div { border-left: 1px solid var(--line); }
.camps__details dt {
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--muted);
}
.camps__details dd { font-size: var(--step-1); font-weight: 700; }

@media (max-width: 900px) {
  .camps__title, .camps__intro { grid-column: 1 / -1; }
  .camps__steps { grid-template-columns: 1fr 1fr; }
  .camps__steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .camps__steps li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .camps__details { grid-template-columns: 1fr; }
  .camps__details > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .camps__cta .btn { width: 100%; }
}
@media (max-width: 560px) {
  .camps__steps { grid-template-columns: 1fr; }
  .camps__steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ==========================================================================
   Partners (inverted)
   ========================================================================== */
/* Partners (inverted): worked-with logo wall */
.reach { padding-block: var(--space-7); }

.partners__wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.partners__wall > li {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  padding: var(--space-4);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partners__slot {
  color: var(--muted);
  font-size: var(--step--1);
  font-weight: 600;
}
.partners__wall img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
  /* any logo colour → white */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.partners__wall img { max-width: 80%; max-height: 96px; }
/* logos on a solid white background (no transparency): flip to white-on-black */
.partners__wall img.is-flat {
  filter: grayscale(1) invert(1);
  mix-blend-mode: screen;
  opacity: 1;
}

/* white logo on a solid black background: drop the colour, let the black blend away */
.partners__wall img.is-dark {
  max-width: 55%;
  filter: grayscale(1) brightness(1.3);
  mix-blend-mode: screen;
  opacity: 1;
}

@media (max-width: 760px) {
  .partners__wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners__wall > li { padding: var(--space-3); }
  .partners__wall img { max-height: 64px; }
}

/* ==========================================================================
   What's next
   ========================================================================== */
.next { border-bottom: 1px solid var(--black); }
.next__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-4) var(--space-3);
  padding-block: var(--space-6);
}
.next .section-title { grid-column: 1 / 7; font-size: clamp(3rem, 9vw, 8rem); }
.next__copy {
  grid-column: 7 / 13;
  align-self: end;
  display: grid;
  justify-items: start;
  gap: var(--space-3);
}
.next__copy p { max-width: 50ch; }
@media (max-width: 900px) {
  .next .section-title, .next__copy { grid-column: 1 / -1; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { padding-block: var(--space-7); }
.contact__details {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-4);
  font-weight: 700;
  font-stretch: 87.5%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5) var(--space-3);
}
.contact__aside {
  grid-column: 1 / 6;
  display: grid;
  align-content: start;
  gap: var(--space-3);
}
.contact__email {
  font-size: var(--step-2);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.contact__photo { aspect-ratio: 4 / 5; max-width: 340px; margin-top: var(--space-3); }

.form {
  grid-column: 7 / 13;
  display: grid;
  gap: var(--space-4);
}

.field { display: grid; gap: 0.4rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label,
.field legend {
  font-weight: 700;
  font-stretch: 87.5%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0;
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--black);
  border-radius: 0;
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-size: 1rem;
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #000 50%), linear-gradient(135deg, #000 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }

.field [aria-invalid="true"] { border-width: 3px; }
.field__error {
  font-size: var(--step--1);
  font-weight: 700;
}
.field__error:empty { display: none; }
.field__error::before { content: "✕ "; }
.field__hint { font-size: var(--step--1); color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.chip { position: relative; cursor: pointer; }
.chip input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--black);
  font-weight: 600;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
  user-select: none;
}
.chip:hover span { background: var(--paper-2); }
.chip input:checked + span { background: var(--black); color: var(--white); }
.chip input:checked + span::before { content: "✓"; margin-right: 0.45em; }
.chip input:focus-visible + span { outline: 3px solid var(--black); outline-offset: 2px; }

.form__summary {
  padding: var(--space-3);
  border: 3px solid var(--black);
}
.form__summary h3 { font-size: var(--step-1); font-weight: 800; margin-bottom: var(--space-1); }
.form__summary ul { list-style: square; padding-left: 1.25rem; }
.form__summary a { font-weight: 600; }

.form__required { font-size: var(--step--1); color: var(--muted); }
/* spam trap: off-screen rather than display:none, which some bots skip */
.form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__status { font-weight: 700; min-height: 1.5em; }

@media (max-width: 900px) {
  .contact__aside, .form { grid-column: 1 / -1; }
  .contact__photo { display: none; }
}

/* ==========================================================================
   Footer (inverted)
   ========================================================================== */
.site-footer { padding-block: var(--space-6) var(--space-4); }
.footer__grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-4) var(--space-5);
  align-items: start;
}
.footer__logo {
  width: 150px;
  height: 150px;
  /* logo file is black on white: inverting gives white on black */
  filter: invert(1);
}
.footer__main { display: grid; gap: var(--space-3); }
.footer__line {
  max-width: 24ch;
  font-size: var(--step-3);
  font-weight: 850;
  font-stretch: 62%;
  line-height: 0.95;
  text-transform: uppercase;
}
.footer__nav ul { display: flex; flex-wrap: wrap; gap: 0 var(--space-4); }
.footer__social { display: grid; gap: 0.25rem; }
.footer__nav a,
.footer__social a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-weight: 700;
  font-stretch: 87.5%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.footer__nav a:hover,
.footer__social a:hover { text-decoration: underline; }
.footer__legal {
  grid-column: 1 / -1;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--step--1);
}

@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__logo { width: 120px; height: 120px; }
}

/* ==========================================================================
   Motion — one orchestrated hero entrance. Only runs when JS adds .motion
   (which it skips under prefers-reduced-motion).
   ========================================================================== */
.motion .hero__word {
  clip-path: inset(0 0 100% 0);
  transform: translateY(0.25em);
}
.motion .hero__photo img { clip-path: inset(100% 0 0 0); }
.motion .hero__photo { outline-color: transparent; }
.motion .hero__photo::after { opacity: 0; }
.motion .disciplines li { opacity: 0; }

.motion.is-loaded .hero__word {
  clip-path: inset(0 0 0 0);
  transform: none;
  transition: clip-path 900ms var(--ease-out), transform 900ms var(--ease-out);
}
.motion.is-loaded .hero__word + .hero__word { transition-delay: 120ms; }
.motion.is-loaded .hero__photo img {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1000ms var(--ease-out) 250ms, filter 450ms var(--ease-out);
}
.motion.is-loaded .hero__photo {
  outline-color: var(--fg);
  transition: outline-color 300ms linear 900ms;
}
.motion.is-loaded .hero__photo::after { opacity: 1; transition: opacity 300ms linear 900ms; }
.motion.is-loaded .disciplines li {
  opacity: 1;
  transition: opacity 400ms linear;
  transition-delay: calc(700ms + var(--i, 0) * 60ms);
}

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