@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/instrument-serif.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #11110f;
  --surface: #181816;
  --paper: #f4f0e7;
  --muted: #b9b5aa;
  --line: #393831;
  --accent: #ffc600;
  --display: 'Instrument Serif', Georgia, serif;
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--paper);
  background: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
[id] { scroll-margin-top: 1.25rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { color: var(--ink); background: var(--accent); }

.icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  padding: .7rem 1rem;
  background: var(--accent);
  color: var(--ink);
}

.wrap { width: min(100% - clamp(2rem, 10vw, 10rem), 81rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem 2rem;
  padding-block: 1rem;
}
.header-inner { min-height: 4.65rem; }
.brand { font-weight: 700; }
.header-inner .brand { font-size: 1.4rem; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem clamp(.8rem, 3vw, 2.8rem); }
nav a { display: inline-flex; align-items: center; gap: .2rem; padding-block: .25rem; font-size: .9rem; }
nav a:hover, .brand:hover { color: var(--accent); }
.nav-contact { color: var(--accent); text-decoration: underline; text-underline-offset: .24em; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2.4rem, 6.25vw, 6.25rem);
}
h1, h2 { font-family: var(--display); font-weight: 400; }
h1 { font-size: clamp(4.1rem, 8.2vw, 8rem); letter-spacing: -.035em; line-height: .85; }
h2 { font-size: clamp(2.75rem, 5.1vw, 5rem); line-height: .97; letter-spacing: -.018em; }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.42rem); font-weight: 650; line-height: 1.2; }
.hero-profile { display: flex; align-items: center; gap: .85rem; margin-top: 1.7rem; }
.hero-profile img { width: 3.45rem; height: 3.45rem; object-fit: cover; }
.hero-profile p { font-size: 1rem; font-weight: 650; line-height: 1.4; }
.hero-profile span { color: var(--muted); font-weight: 400; }
.hero-description { max-width: 28ch; margin-top: 1.25rem; color: var(--muted); font-size: 1.04rem; line-height: 1.55; }
.hero-copy .text-link { margin-top: .75rem; }
.event-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1276 / 718;
  background: var(--ink);
}
.event-video figcaption {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem 1rem;
  padding-top: .85rem;
}
.event-video h2 { font: 650 clamp(1rem, 1.7vw, 1.45rem)/1.2 'Segoe UI', system-ui, sans-serif; letter-spacing: normal; }
.event-video p, .project-type { margin-top: .25rem; color: var(--muted); font-size: .86rem; }
.event-video .text-link { padding-top: 0; }

.section { border-top: 1px solid var(--line); padding-block: clamp(2.65rem, 5.3vw, 5.25rem); }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  margin-bottom: clamp(1.3rem, 2.5vw, 2.35rem);
}
.section-description { max-width: 45ch; margin: -1rem 0 1.5rem; color: var(--muted); line-height: 1.55; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  width: fit-content;
  padding-block: .3rem;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .24em;
  font: 650 .9rem/1.35 'Segoe UI', system-ui, sans-serif;
}
.text-link:hover { color: var(--paper); }

.selected-reels, .carousel-track {
  --carousel-columns: 3;
  --carousel-gap: clamp(1rem, 2.65vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(var(--carousel-columns), minmax(0, 1fr));
  align-items: start;
  gap: var(--carousel-gap);
}
.carousel-controls:not([hidden]) { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; }
.carousel-controls button { padding-inline: 0; border: 0; background: none; cursor: pointer; }
[data-carousel-ready] .carousel-viewport { overflow: clip; touch-action: pan-y pinch-zoom; }
[data-carousel-ready] .carousel-track {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% + var(--carousel-gap)) / var(--carousel-columns) - var(--carousel-gap));
}
.carousel-track a:focus-visible, .selected-reels a:focus-visible { outline-offset: -4px; }
.project { min-width: 0; display: flex; flex-direction: column; align-items: stretch; }
.project h3 { order: 1; margin-top: .75rem; }
.project-type { order: 2; }
.project-flag { display: inline-block; width: 1em; height: 1em; vertical-align: -.13em; }
.project-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface);
}
.project-image img { width: 100%; height: 100%; object-fit: cover; }
.the-hook img { object-position: center 24%; }
.project-play {
  position: absolute;
  right: var(--reel-control-inset);
  bottom: var(--reel-control-inset);
  display: grid;
  place-items: center;
  width: var(--reel-control-size);
  height: var(--reel-control-size);
  color: var(--accent);
  background: var(--ink);
}
.project-image:hover .project-play { color: var(--ink); background: var(--accent); }
.frame-label {
  position: absolute;
  bottom: var(--reel-control-inset);
  left: var(--reel-control-inset);
  padding: .35rem .5rem;
  color: var(--paper);
  background: var(--ink);
  font-size: .75rem;
}

.client-galleries, .credentials { margin-top: clamp(1.65rem, 3.75vw, 3.25rem); }
.client-gallery, .client-gallery-link { border-top: 1px solid var(--line); }
.client-gallery summary, .client-gallery-link { padding-block: .9rem; font-weight: 650; cursor: pointer; }
.client-gallery summary::marker { color: var(--accent); }
.client-gallery summary:hover, .client-gallery-link:hover { color: var(--accent); }
.client-gallery .carousel { padding-bottom: 1.5rem; }
.client-gallery-link { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }

.about-band { background: var(--surface); }
.about-grid, .service-grid, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr);
  gap: clamp(1.35rem, 5vw, 5rem);
  align-items: start;
}
.about-copy { max-width: 52ch; color: var(--muted); line-height: 1.65; }
.about-copy .text-link { margin-top: .65rem; }
.experience-card a { display: block; background: var(--paper); }
.experience-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.experience-card figcaption { margin-top: .65rem; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.service-list { list-style: none; margin: 0; padding: 0; }
.service-list li { padding-block: .9rem; border-top: 1px solid var(--line); }
.service-list p { margin-top: .35rem; color: var(--muted); line-height: 1.55; }
.service-list a { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }

.contact { border-top: 1px solid var(--line); background: var(--surface); }
.contact-grid { padding-block: clamp(2.65rem, 5.3vw, 5.25rem); }
.contact-intro p { max-width: 32ch; margin-top: 1rem; color: var(--muted); line-height: 1.55; }
.contact-direct { margin-top: 1rem; }
.contact-detail { font-size: .95rem; text-decoration: underline; text-underline-offset: .2em; }
.contact-form { display: grid; max-width: 36rem; }
.contact-form[hidden] { display: none; }
.contact-form label { margin-bottom: .35rem; font-size: .9rem; font-weight: 650; }
.contact-form label span { font-weight: 400; }
.contact-form input, .contact-form textarea {
  width: 100%;
  margin-bottom: .9rem;
  border: 1px solid #79766e;
  border-radius: 0;
  padding: .65rem .75rem;
  color: var(--paper);
  background: transparent;
  font: inherit;
}
.contact-form textarea { resize: vertical; }
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: .6rem;
  border: 1px solid var(--accent);
  padding: .6rem .9rem;
  color: var(--ink);
  background: var(--accent);
  font: 650 .9rem/1.4 'Segoe UI', system-ui, sans-serif;
  cursor: pointer;
}
.contact-button:not(:disabled):hover { color: var(--accent); background: transparent; }
.contact-button:disabled { opacity: .75; cursor: wait; }
.contact-error { font-size: .88rem; font-weight: 650; }
.contact-error:not(:empty), .contact-confirmation p { margin-top: .65rem; }
.site-footer { min-height: 4.65rem; }
.site-footer .brand { font-size: .9rem; }

.reel-slot {
  /* Fit the 4:5 video, profile header, and action icons above the like count. */
  --instagram-frame-height: calc(125cqw + 138px);
  --reel-control-inset: .6rem;
  --reel-control-size: 2.15rem;
  position: relative;
  container-type: inline-size;
}
.reel-slot:has(> .reel-player) > .reel-cover { display: none; }
.introduction-video { max-width: 24rem; }
.introduction-video .reel-player { margin-top: .5rem; }
.reel-player-bar {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  padding: var(--reel-control-inset);
  background: var(--surface);
}
.reel-player-bar > * {
  display: grid;
  place-items: center;
  width: var(--reel-control-size);
  height: var(--reel-control-size);
  padding: 0;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  cursor: pointer;
}
.reel-player-bar > :hover { color: var(--ink); background: var(--accent); }
.reel-player-bar > :focus-visible { outline-offset: -4px; outline-color: currentColor; }
.reel-player iframe {
  display: block;
  width: 100%;
  height: var(--instagram-frame-height);
  border: 0;
  background: #fff;
}

@media (max-width: 900px) {
  .hero { gap: 1.7rem; }
}

@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; }
  .hero, .about-grid, .service-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 1.65rem; }
  h1 { font-size: clamp(3.55rem, 12vw, 5.5rem); word-spacing: .07em; }
  h1 br { display: none; }
  .hero-profile { margin-top: .9rem; }
  .hero-description { max-width: 38ch; margin-top: .8rem; }
  .hero-copy .text-link { margin-top: .45rem; }
  .carousel-track { --carousel-columns: 2; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .header-inner { gap: .4rem 1rem; }
  .header-inner .brand { font-size: 1.2rem; }
  .header-inner nav a { font-size: .82rem; }
  .selected-reels { --carousel-columns: 2; }
  .carousel-track { --carousel-columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
