/* HOMEPAGE: hero, discipline galleries, about and contact. */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.05);
  transform: scale(1.03);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 14, 0.55) 0%, rgba(11, 12, 14, 0.15) 40%, rgba(11, 12, 14, 0.95) 100%);
}

.hero-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid rgba(237, 234, 227, 0.5);
  background: rgba(11, 12, 14, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.hero-play:hover {
  border-color: var(--accent);
  transform: translate(-50%, -50%) scale(1.06);
}

.hero-play svg {
  width: 20px;
  height: 20px;
  fill: var(--paper);
  margin-left: 3px;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 32px 56px;
}

.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

h1.hero-title {
  font-size: clamp(52px, 12vw, 148px);
  line-height: 0.88;
  margin-bottom: 20px;
}

.hero-roles {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(12px, 1.6vw, 15px);
  letter-spacing: 0.1em;
  color: var(--paper);
  opacity: 0.85;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 8px;
}

.hero-roles span:not(:last-child)::after {
  content: "/";
  margin-left: 18px;
  color: var(--graphite);
}

.hero-loc {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--graphite);
  margin-top: 14px;
}

/* ---------- SECTION SHELL ---------- */
section.disc {
  position: relative;
  padding: 80px 0 60px;
  border-top: 1px solid var(--line);
}

@media (min-width:760px) {
  section.disc {
    padding: 140px 0 120px;
  }

}

.disc-head {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 56px;
}

.disc-gallery {
  position: relative;
  z-index: 2;
}

.disc-slate {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.disc-title {
  font-size: clamp(38px, 6vw, 72px);
}

.disc-desc {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--paper);
  opacity: 0.78;
}

.disc-gallery {
  --gallery-pad: clamp(24px, 8vw, 110px);
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gallery-pad);
  padding: 0 var(--gallery-pad) 16px;
  margin-left: 64px;
  width: calc(100% - 64px);
  background: transparent;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.disc-gallery::-webkit-scrollbar {
  display: none;
}

.disc-gallery figure {
  background: #000;
  aspect-ratio: 3/2;
  overflow: hidden;
  position: relative;
  cursor: grab;
  margin: 0;
  flex: 0 0 min(76vw, 1080px);
  scroll-snap-align: center;
}

.disc-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(.16, 1, .3, 1), filter 0.5s ease;
  filter: saturate(0.94);
}

.disc-gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 0px var(--accent);
  transition: box-shadow 0.35s ease;
}

.disc-gallery figure:hover img {
  transform: scale(1.09);
  filter: saturate(1.05);
}

.disc-gallery figure:hover::after {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.disc-gallery figure:hover .gallery-expand {
  opacity: 1;
  transform: translate(0, 0);
}

.gallery-expand {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(11, 12, 14, 0.7);
  border: 1px solid rgba(237, 234, 227, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.gallery-expand svg {
  width: 14px;
  height: 14px;
  stroke: var(--paper);
}

.disc-gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--paper);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
  opacity: 0.9;
}

@media (max-width:900px) {
  .disc-gallery {
    margin-left: 40px;
    width: calc(100% - 40px);
  }

}

@media (max-width:640px) {
  .disc-gallery {
    --gallery-pad: clamp(16px, 9vw, 64px);
    gap: 14px;
    margin-left: 26px;
    width: calc(100% - 26px);
    padding-bottom: 14px
  }

  .disc-gallery figure {
    flex-basis: 82vw
  }

}

/* ---------- ABOUT / SPEC SHEET ---------- */
.about {
  padding: 70px 0;
  border-top: 1px solid var(--line);
}

@media (min-width:760px) {
  .about {
    padding: 120px 0;
  }

}

.about .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

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

}

.about-copy h2 {
  font-size: clamp(30px, 4.5vw, 44px);
  margin-bottom: 22px;
}

.about-copy p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--paper);
  opacity: 0.8;
  max-width: 480px;
}

.spec-sheet {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.04em;
}

.spec-row span:first-child {
  color: var(--graphite);
}

.spec-row span:last-child {
  color: var(--paper);
  text-align: right;
}

/* ---------- EQUIPMENT TEASER ---------- */
.equip-teaser {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.equip-teaser h2 {
  font-size: clamp(30px, 5vw, 52px);
  max-width: 520px;
}

/* Give the equipment teaser copy extra breathing room from the left rail on taller / narrower desktop viewports. */
@media (min-width:760px) and (max-width:1200px) {

  /* Give every major text field the same breathing room used by the equipment teaser. */
  section.disc>.wrap,
  .about>.wrap,
  .equip-teaser .wrap,
  .contact>.wrap {
    padding-left: clamp(52px, 6vw, 76px);
    padding-right: clamp(40px, 5vw, 64px);
  }

  .disc-head {
    max-width: 650px;
  }

  .disc-title,
  .about-copy h2,
  .equip-teaser h2,
  .contact-title {
    line-height: 1.06;
  }

  .equip-teaser h2 {
    max-width: 560px;
  }

}

.equip-teaser-cta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--bg);
  background: var(--accent);
  padding: 16px 28px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.equip-teaser-cta:hover {
  opacity: 0.85;
}

/* ---------- CONTACT ---------- */
.contact {
  padding: 80px 0 60px;
  border-top: 1px solid var(--line);
  text-align: center;
}

@media (min-width:760px) {
  .contact {
    padding: 140px 0 90px;
  }

}

.contact-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 24px;
}

.contact-title {
  font-size: clamp(40px, 9vw, 110px);
  line-height: 0.95;
  margin-bottom: 44px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.contact-email {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(20px, 3vw, 30px);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

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

.contact-phone,
.contact-loc {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--graphite);
  text-decoration: none;
}

.contact-social {
  display: flex;
  gap: 20px;
  margin-top: 6px;
}

.contact-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--graphite);
  border: 1px solid var(--line);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.contact-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-social svg {
  width: 16px;
  height: 16px;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--graphite);
  transition: color 0.25s ease;
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-social svg {
  width: 15px;
  height: 15px;
}