/* Paul Keilhau — dark, cinematic. No build step, no dependencies. */

:root {
  --bg:        #0b0b0c;
  --bg-2:      #121214;
  --fg:        #f2f0ed;
  --muted:     #8e8c88;
  --line:      rgba(242, 240, 237, 0.14);
  --accent:    #f0e8d2;   /* warm off-white — the quiet highlight */
  --accent-dim:#b9ae93;   /* same tone, stepped back */
  --tone:      #789e96;   /* the one colour on the page */
  --max:       1240px;
  --gut:       clamp(1.25rem, 5vw, 4.5rem);
  --sans:      "Helvetica Neue", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; }

::selection { background: var(--accent); color: #0b0b0c; }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #0b0b0c;
  font-weight: 600;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- top bar ---------- */

.bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--gut) calc(1.1rem - 2px);
  padding-top: calc(1.1rem + env(safe-area-inset-top, 0px));
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.bar.is-stuck {
  background: rgba(11, 11, 12, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.bar__name {
  white-space: nowrap;
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
}

.bar__nav {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.25rem);
}
.bar__nav a {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}
.bar__nav a:hover { color: var(--fg); }

@media (max-width: 620px) {
  .bar { padding-left: 1.1rem; padding-right: 1.1rem; }
  .bar__nav { gap: 0.85rem; }
  .bar__nav a { font-size: 0.625rem; letter-spacing: 0.1em; }
  .bar__name { font-size: 0.6875rem; letter-spacing: 0.1em; }
}
@media (max-width: 400px) {
  .bar__name { letter-spacing: 0.06em; }
  .bar__nav { gap: 0.7rem; }
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--gut) clamp(3.5rem, 9vh, 7rem);
  padding-bottom: calc(clamp(3.5rem, 9vh, 7rem) + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}

.hero__img { position: absolute; inset: 0; }
.hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 22%;
  filter: grayscale(0.35) contrast(1.05) brightness(0.72);
  transform: scale(1.02);
}
@media (max-width: 860px) {
  .hero__img img { object-position: 64% 16%; }
  .hero__img::after {
    background:
      linear-gradient(to top, var(--bg) 6%, rgba(11,11,12,0.88) 38%, rgba(11,11,12,0.3) 72%, rgba(11,11,12,0.5) 100%);
  }
}

.hero__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 4%, rgba(11,11,12,0.82) 32%, rgba(11,11,12,0.25) 68%, rgba(11,11,12,0.55) 100%),
    linear-gradient(to right, rgba(11,11,12,0.78) 0%, rgba(11,11,12,0.18) 55%, rgba(11,11,12,0.45) 100%);
}

.hero__body { position: relative; max-width: 46rem; }

.eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::after {
  content: "";
  display: inline-block;
  width: 2.25rem;
  height: 1px;
  margin-left: 0.9rem;
  vertical-align: 0.25em;
  background: var(--accent-dim);
}

.hero__title {
  margin: 0;
  font-size: clamp(3rem, 12.5vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-transform: uppercase;
}
.hero__title span { display: block; color: var(--muted); }

.hero__lead {
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 0.95rem + 0.6vw, 1.5rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.disciplines {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.75rem;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.disciplines li { position: relative; }
.disciplines li + li::before {
  content: "";
  position: absolute;
  left: -0.95rem;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-dim);
  transform: translateY(-50%);
}

.hero__scroll {
  position: absolute;
  right: var(--gut);
  bottom: clamp(3.5rem, 9vh, 7rem);
  width: 1px;
  height: 4.5rem;
  background: var(--line);
  overflow: hidden;
}
.hero__scroll span {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 45%;
  background: var(--accent);
  animation: trickle 2.6s var(--ease) infinite;
}
@keyframes trickle {
  0%   { transform: translateY(-110%); }
  100% { transform: translateY(240%); }
}
@media (max-width: 640px) {
  .disciplines { gap: 0.4rem 1.25rem; }
  .disciplines li + li::before { display: none; }
  .disciplines li { padding-right: 1.25rem; border-right: 1px solid var(--line); }
  .disciplines li:last-child { padding-right: 0; border-right: 0; }
}

@media (max-width: 720px) { .hero__scroll { display: none; } }

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

.section {
  padding: clamp(5rem, 13vh, 10rem) var(--gut);
  max-width: var(--max);
  margin: 0 auto;
}

.section__head {
  display: grid;
  gap: 0.75rem;
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}
.section__head h2 {
  margin: 0;
  font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
}
.section__head:last-child,
.section__head h2:only-child { border-bottom-width: 1px; }
.section__head p {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--fg);
}

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

.work {
  padding-bottom: clamp(4rem, 10vh, 8rem);
  margin-bottom: clamp(4rem, 10vh, 8rem);
  border-bottom: 1px solid var(--line);
}
.work:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

.work__head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: clamp(1rem, 3vw, 2.5rem);
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}
.work__num {
  grid-row: 1 / span 2;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding-top: 0.4em;
}
.work__title {
  margin: 0;
  font-size: clamp(1.875rem, 1.3rem + 2.6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.work__meta {
  grid-column: 2;
  margin: 0.85rem 0 0;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.work__media { margin-bottom: clamp(1.75rem, 4vw, 3rem); }

/* Shot upright — a tall frame rather than black bars in a wide one,
   centred, with the black to either side left as it is */
.work__media--portrait { display: flex; justify-content: center; }
.work__media--portrait .facade { aspect-ratio: 9 / 16; }
.work__media--portrait .embed { aspect-ratio: 9 / 16; }
.work__media--portrait .facade,
.work__media--portrait .embed { width: 100%; max-width: 24rem; }

.work__media--portrait .facade__play {
  width: clamp(3rem, 6vw, 4rem);
  height: clamp(3rem, 6vw, 4rem);
}



.work__body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}
.work__body > p {
  margin: 0;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-width: 38ch;
}
@media (max-width: 760px) {
  .work__body { grid-template-columns: 1fr; }
}

.credits { margin: 0; display: grid; gap: 0.9rem; }
.credits > div {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  gap: 0.25rem 1.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.credits dt {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}
.credits dd { margin: 0; font-size: 0.9375rem; line-height: 1.5; }

.credits__date dt { color: #6e6c69; }
.credits__date dd { color: #8e8c88; font-size: 0.875rem; }
@media (max-width: 480px) {
  .credits > div { grid-template-columns: 1fr; }
}

.work--nomedia .work__head { margin-bottom: clamp(1.25rem, 3vw, 2rem); }

/* Work continues after the Listen section — no second heading needed */
.section--work-continued { padding-top: 0; }

/* ---------- video facade ---------- */

.facade {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--bg-2);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.45) brightness(0.78);
  transition: filter 0.55s var(--ease), transform 0.85s var(--ease);
}
.facade:hover img,
.facade:focus-visible img {
  filter: grayscale(0) brightness(0.95);
  transform: scale(1.02);
}

.facade__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(3.75rem, 8vw, 5.5rem);
  height: clamp(3.75rem, 8vw, 5.5rem);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(242, 240, 237, 0.55);
  border-radius: 50%;
  background: rgba(11, 11, 12, 0.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.45s var(--ease);
}
.facade__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.5rem 0 0.5rem 0.85rem;
  border-color: transparent transparent transparent var(--fg);
  transition: border-left-color 0.35s var(--ease);
}
.facade:hover .facade__play,
.facade:focus-visible .facade__play {
  background: var(--accent);
  border-color: var(--accent);
  transform: translate(-50%, -50%) scale(1.06);
}
.facade:hover .facade__play::after,
.facade:focus-visible .facade__play::after { border-left-color: #0b0b0c; }

.facade__label {
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
}

.embed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.embed iframe,
.embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }

/* ---------- listen ---------- */

.listen {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 760px) { .listen { grid-template-columns: 1fr; } }

.listen__player iframe { display: block; border-radius: 2px; }

.listen__links { list-style: none; margin: 0; padding: 0; display: grid; }
.listen__links li { border-top: 1px solid var(--line); }
.listen__links li:last-child { border-bottom: 1px solid var(--line); }
.listen__links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  text-decoration: none;
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease), padding-left 0.35s var(--ease);
}
.listen__links a:hover { color: var(--accent); padding-left: 0.5rem; }

/* ---------- about ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

.about__text p { margin: 0 0 1.4em; max-width: 42ch; }
.about__text .lead {
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.about__text p:not(.lead) { color: #c9c6c1; }

.about__media { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); }
.about__figure { margin: 0; }
/* Matched to the hero portrait: the studio light is far pinker, so it
   needs a heavier hand to arrive at the same muted grey. */
.about__figure img { filter: grayscale(0.25) brightness(0.95) contrast(1.02); }
/* Stage light — redder still, so it needs more grey again to sit
   quietly beside the studio photograph instead of shouting past it. */
.about__figure--live img { filter: grayscale(0.35) brightness(0.96) contrast(1.02); }
.about__figure figcaption {
  margin-top: 0.9rem;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.section--contact { padding-bottom: clamp(4rem, 9vh, 7rem); }

.cform {
  display: grid;
  gap: 1.5rem;
  max-width: 34rem;
  margin: 0;
}
.cform__row { display: grid; gap: 0.5rem; margin: 0; }
.cform label {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.cform input,
.cform textarea {
  width: 100%;
  padding: 0.75rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  font: inherit;
  border-radius: 0;
  transition: border-color 0.3s var(--ease);
}
.cform textarea { resize: vertical; min-height: 7rem; line-height: 1.6; }
.cform input:focus,
.cform textarea:focus { outline: none; border-bottom-color: var(--accent); }

.cform__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin: 0.5rem 0 0;
}
.cform button {
  padding: 0.85rem 2.25rem;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.cform button:hover { background: var(--accent); color: #0b0b0c; }
.cform__hint {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6e6c69;
}
.cform__done {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.contact__or {
  margin: 2.25rem 0 0;
  font-size: 0.9375rem;
  color: var(--muted);
}
.contact__mail {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact__mail:hover { color: var(--accent); border-bottom-color: var(--accent); }

.contact__meta {
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.5rem clamp(1.5rem, 4vw, 3rem);
}
.contact__meta > div { padding-top: 1rem; border-top: 1px solid var(--line); }
.contact__meta dt {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.contact__meta dd { margin: 0; }
.contact__meta a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color 0.25s var(--ease), color 0.25s var(--ease); }
.contact__meta a:hover { color: var(--accent); border-bottom-color: var(--accent); }

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

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  padding: 2rem var(--gut);
  padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  max-width: var(--max);
  margin: 0 auto;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot p { margin: 0; }
.foot__links { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; padding: 0; }
.foot__links a { text-decoration: none; transition: color 0.25s var(--ease); }
.foot__links a:hover { color: var(--fg); }

/* ---------- entrance ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }


/* ---------- more work (collapsed) ---------- */

.section--more { padding-top: 0; padding-bottom: 0; }

.more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.more__summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.more__summary::-webkit-details-marker { display: none; }

.more__label {
  font-size: 0.75rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--fg);
  transition: color 0.3s var(--ease);
}
.more__count {
  flex: 1;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6e6c69;
}
.more__sign {
  position: relative;
  width: 0.85rem;
  height: 0.85rem;
  flex: none;
}
.more__sign::before,
.more__sign::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1px;
  background: var(--tone);
  transition: transform 0.35s var(--ease);
}
.more__sign::after { transform: rotate(90deg); }
.more[open] .more__sign::after { transform: rotate(0deg); }

.more__summary:hover .more__label { color: var(--tone); }
.more__summary:focus-visible { outline: 2px solid var(--tone); outline-offset: 4px; }

.more__list {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  padding: 0.5rem 0 2.5rem;
}

.mini {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.25rem);
  align-items: start;
}
@media (max-width: 620px) {
  .mini { grid-template-columns: 1fr; gap: 0.9rem; }
}

.mini__thumb { aspect-ratio: 16 / 9; }
.mini .facade__play {
  width: 2.5rem;
  height: 2.5rem;
}
.mini .facade__play::after {
  border-width: 0.3rem 0 0.3rem 0.5rem;
}

.mini__text { padding-top: 0.15rem; }
.mini__title {
  margin: 0;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.mini__meta {
  margin: 0.5rem 0 0;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.mini__credit {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: #a9a6a1;
}

/* the quiet colour, used sparingly elsewhere */
.work__num { color: var(--tone); }
.cform input:focus,
.cform textarea:focus { border-bottom-color: var(--tone); }
.listen__links a:hover { color: var(--tone); }
.contact__meta a:hover { color: var(--tone); border-bottom-color: var(--tone); }
.contact__mail:hover { color: var(--tone); border-bottom-color: var(--tone); }

/* brand marks in front of the listening links */
.listen__name { display: inline-flex; align-items: center; gap: 0.7rem; }
.listen__name .ico {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
  flex: none;
}
