@font-face {
  font-family: Montserrat;
  src: url("/assets/montserrat.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/open-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #181818;
  --muted: #525252;
  --paper: #f7f7f7;
  --dark: #222;
  --card: #262626;
  --light: #fff;
  --accent: #c94645;
  --accent-dark: #a73231;
  --line: #dedede;
  --width: 74rem;
  --gutter: clamp(1rem, 4vw, 2.25rem);
  --wide-gutter: max(var(--gutter), (100% - var(--width)) / 2 + var(--gutter));
  --display: Montserrat, Arial, sans-serif;
  --body: "Open Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.65;
}
a { color: inherit; text-underline-offset: .23em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
p { color: var(--muted); max-width: 65ch; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
}
h1 {
  margin-bottom: 1.1rem;
  font-size: clamp(3rem, 8.4vw, 6.5rem);
  letter-spacing: -.035em;
  text-transform: uppercase;
}
h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  letter-spacing: -.025em;
}
.section h2::after {
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: .85rem;
  background: var(--accent);
  content: "";
}
h3 { margin-bottom: .5rem; font-size: 1.1rem; }

header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  min-height: 5rem;
  padding: .45rem var(--wide-gutter);
  background: var(--dark);
  color: var(--light);
}
.logo { display: block; flex: none; }
.logo img { width: auto; height: 3.75rem; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem clamp(.8rem, 2vw, 1.85rem); }
nav a {
  padding-block: .45rem;
  font-family: var(--display);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
}
nav a:hover, nav [aria-current="page"] { color: #f19391; }
.skip {
  position: absolute;
  z-index: 6;
  top: -6rem;
  left: 1rem;
  padding: .7rem 1rem;
  background: var(--light);
}
.skip:focus { top: 1rem; }

.hero {
  position: relative;
  display: grid;
  min-height: clamp(27rem, 50vw, 40rem);
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  isolation: isolate;
  background: #171717;
  color: var(--light);
  text-align: center;
}
.hero-copy {
  z-index: 1;
  max-width: 57rem;
  padding: clamp(3rem, 9vw, 7rem) var(--gutter);
}
.hero-copy p:not(.eyebrow) {
  max-width: 37rem;
  margin: 0 auto 1.6rem;
  color: #f2f2f2;
  font-size: clamp(1rem, 2vw, 1.25rem);
}
.eyebrow {
  margin: 0 auto 1rem;
  color: var(--light);
  font-family: var(--display);
  font-size: clamp(.95rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-video-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #262626;
}
.hero-video-poster, .hero-video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-video-poster { object-fit: cover; }
.hero-video-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #000b, #0006 75%, #0005);
  content: "";
  pointer-events: none;
}
.hero-video { min-height: clamp(35rem, 79vh, 52rem); }
.hero-video-frame { container-type: size; pointer-events: none; }
.hero-video-frame iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100cqw, calc(100cqh * 16 / 9));
  height: max(100cqh, calc(100cqw * 9 / 16));
  border: 0;
  transform: translate(-50%, -50%);
}
.hero-video-toggle {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: var(--gutter);
  border: 1px solid #fffc;
  padding: .45rem .75rem;
  background: #171717e8;
  color: var(--light);
  font: 600 .9rem var(--body);
  cursor: pointer;
}
.hero-video-toggle:enabled:hover { background: #333; }
.hero-video-toggle:disabled { cursor: wait; }

.button {
  display: inline-block;
  border: 1px solid var(--accent-dark);
  padding: .68rem 1.2rem;
  background: var(--accent-dark);
  color: var(--light);
  font: 700 .875rem/1.5 var(--display);
  letter-spacing: .03em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.button:hover { background: #832624; border-color: #832624; }
.hero .button { border-color: var(--light); background: transparent; }
.hero .button:hover { background: var(--light); color: var(--ink); }
.text-link { font-weight: 700; text-decoration-color: var(--accent); }
.text-link:hover { color: var(--accent-dark); }

.section {
  max-width: var(--width);
  margin: auto;
  padding: clamp(3rem, 6.5vw, 5.5rem) var(--gutter);
  border-bottom: 1px solid var(--line);
}
.section[id] { scroll-margin-top: 6rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  color: var(--light);
}
.card-content { padding: clamp(1rem, 2.5vw, 1.75rem); }
.card h3 { text-transform: uppercase; }
.card p { color: #ddd; }
.card p:last-child { margin-bottom: 0; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; background: #393939; }
.card img.contain { object-fit: contain; }
.formations { text-align: center; }
.formations h2::after { margin-inline: auto; }
.formation-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; }
.formation-grid .card-content { display: flex; flex: 1; flex-direction: column; align-items: center; }
.formation-grid .button { margin-top: auto; }
.formation-grid .card img { object-position: 50% 36%; }
.formation-grid .card img.contain { object-position: center; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); }
.gallery-section h2 { text-align: center; }
.gallery-section h2::after { margin-inline: auto; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.45rem, 1.3vw, 1rem);
  margin-top: 2rem;
}
.gallery a { display: block; overflow: hidden; background: var(--card); }
.gallery img {
  aspect-ratio: 1;
  object-fit: cover;
  transition: opacity .2s ease;
}
.gallery a:hover img { opacity: .83; }
.gallery a:focus-visible { outline-offset: 2px; }
@media (max-width: 620px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .gallery img { transition: none; }
}

.listening { text-align: center; }
.listening h2::after, .listening p { margin-inline: auto; }
.soundcloud-player {
  display: block;
  width: 100%;
  max-width: 54rem;
  margin: 1.65rem auto 0;
  border: 0;
  background: #fff;
}
.soundcloud-link { margin-top: 1rem; margin-bottom: 0; }

.references h2 { text-align: center; }
.references h2::after { margin-inline: auto; }
.references-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: start;
}
.references-layout img { margin-bottom: 1.25rem; }
.references-layout h3 { text-transform: uppercase; }
.references-groups { display: grid; gap: 1.25rem; }
.references-groups h3 { border-bottom: 2px solid var(--accent); padding-bottom: .55rem; }
.references-groups ul { margin: 0; padding-left: 1.25rem; columns: 2 13rem; color: var(--muted); }
.references-groups li { break-inside: avoid; }
.references-groups li::marker { color: var(--accent-dark); }

.contact-section { max-width: none; padding-inline: var(--wide-gutter); background: var(--dark); color: var(--light); }
.contact-section .text-link:hover, footer .text-link:hover { color: #f19391; }
form { display: grid; gap: 1rem; }
label { display: grid; gap: .3rem; }
input, textarea {
  width: 100%;
  border: 1px solid #aaa;
  border-radius: 0;
  padding: .65rem .75rem;
  background: #171717;
  color: var(--light);
  font: inherit;
}
textarea { resize: vertical; }
form .button { justify-self: start; }
address { font-style: normal; }
footer { background: #131313; color: var(--light); }
.footer-inner {
  display: flex;
  max-width: var(--width);
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.15rem 2rem;
  margin: auto;
  padding: 2rem var(--gutter);
}
.footer-inner p { margin: 0; color: #ddd; }
main .section:last-child { border-bottom: 0; }

@media (max-width: 900px) {
  .formation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  header { position: relative; flex-wrap: wrap; justify-content: space-between; gap: .1rem 1rem; padding-block: .6rem; }
  .logo img { height: 3.5rem; }
  nav { justify-content: center; }
  nav a { padding-block: .35rem; }
  .hero-video { min-height: 0; gap: 0; }
  .hero-video-media { position: relative; width: 100%; aspect-ratio: 16 / 9; }
  .hero-video-media::after { background: linear-gradient(0deg, #0006, transparent 40%); }
  .hero-video .hero-copy { padding: 2rem var(--gutter) 2.5rem; }
  .hero-video-toggle { right: .75rem; bottom: .75rem; }
  .section[id] { scroll-margin-top: 1rem; }
  .split, .references-layout, .grid:not(.formation-grid) { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .formation-grid { grid-template-columns: 1fr; gap: .85rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


.menu-toggle {
  display: none;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  padding: .6rem .8rem;
  border: 1px solid #aaa;
  background: transparent;
  color: #fff;
  font: 700 .9rem var(--display);
  cursor: pointer;
}
.menu-icon {
  width: 1.1rem;
  height: .85rem;
  border-block: 2px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}
@media (max-width: 620px) {
  .menu-toggle:not([hidden]) { display: inline-flex; }
  header nav { flex-basis: 100%; flex-direction: column; align-items: stretch; padding-top: .6rem; }
  header nav a { display: block; padding: .65rem .4rem; border-top: 1px solid #444; }
  header nav[hidden] { display: none; }
}
