:root {
  --ink: #0c0c0d;
  --charcoal: #171719;
  --amber: #d89a42;
  --amber-bright: #e6ae5b;
  --red: #9e352d;
  --ivory: #f2eee7;
  --muted: #aaa7a2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: Arial, Helvetica, sans-serif;
}

main {
  overflow: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background-color: var(--ink);
  background-image: url("../images/john-mcafee-live.webp");
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 73% 30%, rgb(244 170 64 / 0.34), transparent 29%),
    linear-gradient(180deg, transparent 58%, rgb(126 25 19 / 0.32) 100%),
    rgb(190 91 24 / 0.58);
  mix-blend-mode: color;
  pointer-events: none;
}

.heroShade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(7 7 8 / 0.99) 0%, rgb(8 8 9 / 0.94) 30%, rgb(8 8 9 / 0.56) 54%, rgb(8 8 9 / 0.1) 78%),
    linear-gradient(180deg, rgb(5 5 5 / 0.45) 0%, transparent 28%, rgb(5 5 6 / 0.45) 100%);
}

.siteHeader {
  z-index: 3;
  min-height: 88px;
  padding: 0 clamp(24px, 4.2vw, 68px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(242 238 231 / 0.18);
  background: linear-gradient(180deg, rgb(7 7 8 / 0.54), transparent);
}

.wordmark,
.eyebrow,
.heroHighlights p {
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.wordmark {
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(18px, 1.65vw, 27px);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.desktopNav {
  display: flex;
  align-items: center;
  gap: clamp(26px, 3.4vw, 56px);
  font-size: 16px;
}

.desktopNav a {
  position: relative;
  padding: 31px 0 28px;
  color: rgb(242 238 231 / 0.86);
  transition: color 160ms ease;
}

.desktopNav a::after {
  position: absolute;
  right: 50%;
  bottom: 18px;
  left: 50%;
  height: 3px;
  content: "";
  background: var(--amber);
  transition: right 180ms ease, left 180ms ease;
}

.desktopNav a:hover,
.desktopNav a:focus-visible {
  color: white;
}

.desktopNav a:hover::after,
.desktopNav a:focus-visible::after,
.desktopNav a.active::after {
  right: 0;
  left: 0;
}

.heroContent {
  align-self: center;
  z-index: 1;
  width: min(830px, 58vw);
  padding: clamp(52px, 9vh, 110px) 0 clamp(55px, 8vh, 96px) clamp(28px, 5.25vw, 86px);
  animation: hero-in 650ms ease-out both;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--amber);
  font-size: clamp(12px, 1.02vw, 16px);
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  max-width: 830px;
  color: var(--ivory);
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(72px, 9.25vw, 150px);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.82;
  text-transform: uppercase;
  text-shadow: 0 4px 40px rgb(0 0 0 / 0.45);
}

.heroRoles {
  margin: 30px 0 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 31px);
  letter-spacing: 0.035em;
}

.heroRoles i {
  width: 5px;
  height: 5px;
  display: inline-block;
  border-radius: 50%;
  background: var(--amber);
}

.heroActions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  min-height: 58px;
  padding: 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-size: 18px;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--amber-bright);
  outline-offset: 4px;
}

.buttonPrimary {
  background: var(--amber);
  color: #111;
}

.buttonPrimary:hover {
  background: var(--amber-bright);
}

.buttonSecondary {
  border-color: var(--red);
  color: #e76155;
}

.buttonSecondary:hover {
  background: var(--red);
  color: white;
}

.photoCredit {
  position: absolute;
  right: 22px;
  bottom: 94px;
  z-index: 2;
  margin: 0;
  padding: 5px 8px;
  background: rgb(0 0 0 / 0.44);
  color: rgb(255 255 255 / 0.76);
  font-size: 11px;
}

.heroHighlights {
  z-index: 2;
  min-height: 86px;
  margin: 0 clamp(28px, 5.25vw, 86px) 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  border-top: 1px solid rgb(242 238 231 / 0.18);
  background: rgb(9 9 10 / 0.52);
  backdrop-filter: blur(5px);
}

.heroHighlights > div {
  padding: 16px clamp(16px, 2.4vw, 38px);
  display: flex;
  align-items: center;
  gap: 22px;
}

.heroHighlights > div + div {
  border-left: 1px solid rgb(242 238 231 / 0.2);
}

.highlightMark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--amber);
  border-radius: 50%;
  color: var(--amber);
  font-size: 24px;
}

.heroHighlights > div:nth-child(2) .highlightMark {
  border-color: var(--red);
  color: #df5549;
  font-size: 12px;
}

.heroHighlights p {
  margin: 0;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(12px, 1.3vw, 19px);
  font-weight: 700;
}

.mobileMenu {
  display: none;
}

.sectionShell {
  padding: clamp(92px, 12vw, 170px) clamp(28px, 7vw, 112px);
}

.sectionHeading {
  max-width: 1060px;
}

.sectionNumber,
.panelLabel,
.cardKicker {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.sectionHeading h2,
.projectCopy h2,
.contactInner h2 {
  margin: 20px 0 0;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(48px, 6.5vw, 98px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.aboutSection {
  background: var(--ivory);
  color: #161616;
}

.aboutGrid {
  margin-top: clamp(52px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: start;
}

.aboutCopy {
  max-width: 760px;
  color: #56514c;
  font-size: 18px;
  line-height: 1.8;
}

.aboutCopy .lead {
  margin-top: 0;
  color: #181715;
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 600;
  line-height: 1.4;
}

.careerPanel {
  padding: 34px;
  border-top: 4px solid var(--amber);
  background: #191817;
  color: var(--ivory);
  box-shadow: 18px 18px 0 #d8c9ae;
}

.careerPanel ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.careerPanel li {
  padding: 18px 0;
  display: flex;
  gap: 18px;
  border-top: 1px solid rgb(242 238 231 / 0.14);
  font-size: 16px;
  font-weight: 700;
}

.careerPanel li span {
  color: var(--amber);
  font-size: 11px;
}

.musicSection {
  background:
    linear-gradient(145deg, rgb(158 53 45 / 0.1), transparent 40%),
    var(--ink);
}

.sectionHeadingRow {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 56px;
  align-items: end;
}

.sectionIntro {
  width: min(100%, 390px);
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.musicCards {
  margin-top: clamp(56px, 7vw, 92px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #383432;
  border-left: 1px solid #383432;
}

.musicCard {
  min-height: 380px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #383432;
  border-bottom: 1px solid #383432;
  background: rgb(255 255 255 / 0.018);
  transition: background-color 180ms ease, transform 180ms ease;
}

.musicCard:hover {
  z-index: 1;
  background: #1c1918;
  transform: translateY(-5px);
}

.cardIndex {
  color: #706a66;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.musicCard h3 {
  margin: 10px 0 16px;
  color: var(--ivory);
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(31px, 3.1vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1;
  text-transform: uppercase;
}

.musicCard p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.cardArrow {
  align-self: flex-end;
  color: var(--amber);
  font-size: 28px;
}

.projectSection {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(56px, 9vw, 140px);
  align-items: center;
  background: #211c19;
}

.projectVisual {
  aspect-ratio: 0.9;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgb(216 154 66 / 0.48);
  background:
    linear-gradient(145deg, transparent 30%, rgb(158 53 45 / 0.35)),
    repeating-linear-gradient(115deg, transparent 0 21px, rgb(255 255 255 / 0.025) 22px 23px),
    #100f0e;
  box-shadow: 24px 24px 0 rgb(216 154 66 / 0.16);
}

.projectVisual span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.projectVisual strong {
  margin-top: 12px;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(68px, 8vw, 126px);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.projectVisual p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 20px;
  text-transform: uppercase;
}

.projectCopy h2 {
  max-width: 760px;
  font-size: clamp(44px, 5vw, 78px);
}

.projectCopy > p:not(.sectionNumber) {
  max-width: 650px;
  margin: 30px 0;
  color: #beb5ae;
  font-size: 18px;
  line-height: 1.75;
}

.textLink {
  padding-bottom: 8px;
  display: inline-flex;
  gap: 14px;
  border-bottom: 2px solid var(--amber);
  font-weight: 800;
}

.textLink span {
  color: var(--amber);
}

.contactSection {
  padding: clamp(105px, 14vw, 200px) 28px;
  position: relative;
  background:
    radial-gradient(circle at 70% 30%, rgb(216 154 66 / 0.18), transparent 34%),
    linear-gradient(120deg, #080808 0%, #151110 100%);
  text-align: center;
}

.contactSection::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 68px;
  content: "";
  background: var(--amber);
}

.contactInner {
  max-width: 900px;
  margin: 0 auto;
}

.contactInner p:not(.sectionNumber) {
  max-width: 630px;
  margin: 28px auto 38px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.siteFooter {
  padding: 50px clamp(28px, 7vw, 112px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 40px;
  align-items: center;
  border-top: 1px solid #2d2927;
  background: #080808;
}

.siteFooter > p {
  margin: 0;
  grid-column: 1;
  color: #77726e;
  font-size: 13px;
}

.footerLinks {
  grid-row: 1 / span 2;
  grid-column: 2;
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.footerLinks a:hover {
  color: var(--amber);
}

.siteFooter small {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #201e1d;
  color: #5f5b58;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .desktopNav {
    display: none;
  }

  .mobileMenu {
    position: relative;
    display: block;
  }

  .mobileMenu summary {
    width: 46px;
    height: 42px;
    display: grid;
    align-content: center;
    gap: 6px;
    cursor: pointer;
    list-style: none;
  }

  .mobileMenu summary::-webkit-details-marker {
    display: none;
  }

  .mobileMenu summary span {
    width: 28px;
    height: 2px;
    margin-left: auto;
    display: block;
    background: var(--ivory);
  }

  .mobileMenu nav {
    position: absolute;
    top: 48px;
    right: 0;
    width: 210px;
    padding: 10px;
    display: grid;
    border: 1px solid rgb(242 238 231 / 0.18);
    background: rgb(12 12 13 / 0.97);
    box-shadow: 0 18px 45px rgb(0 0 0 / 0.45);
  }

  .mobileMenu nav a {
    padding: 13px 14px;
    border-bottom: 1px solid rgb(242 238 231 / 0.1);
  }

  .heroContent {
    width: min(700px, 83vw);
  }

  .heroShade {
    background:
      linear-gradient(90deg, rgb(7 7 8 / 0.97), rgb(8 8 9 / 0.7) 68%, rgb(8 8 9 / 0.34)),
      linear-gradient(180deg, rgb(5 5 5 / 0.36), transparent 35%, rgb(5 5 6 / 0.62));
  }

  .aboutGrid,
  .projectSection {
    grid-template-columns: 1fr;
  }

  .careerPanel,
  .projectVisual {
    max-width: 620px;
  }

  .musicCards {
    grid-template-columns: 1fr;
  }

  .musicCard {
    min-height: 285px;
  }

  .sectionHeadingRow {
    display: block;
  }

  .sectionIntro {
    margin-top: 28px;
  }
}

@media (max-width: 640px) {
  .siteHeader {
    min-height: 72px;
  }

  .hero {
    background-position: 57% center;
  }

  .heroShade {
    background:
      linear-gradient(90deg, rgb(7 7 8 / 0.95), rgb(8 8 9 / 0.64)),
      linear-gradient(180deg, rgb(5 5 5 / 0.42), transparent 30%, rgb(5 5 6 / 0.78));
  }

  .heroContent {
    width: 100%;
    padding-right: 26px;
  }

  .hero h1 {
    font-size: clamp(58px, 19vw, 88px);
  }

  .heroRoles {
    max-width: 430px;
    font-size: 17px;
  }

  .heroActions {
    width: min(100%, 360px);
    display: grid;
  }

  .button {
    width: 100%;
  }

  .heroHighlights {
    min-height: auto;
    margin: 0 20px 18px;
    grid-template-columns: 1fr;
  }

  .heroHighlights > div {
    min-height: 62px;
    padding: 10px 14px;
  }

  .heroHighlights > div + div {
    border-top: 1px solid rgb(242 238 231 / 0.14);
    border-left: 0;
  }

  .highlightMark {
    width: 34px;
    height: 34px;
    font-size: 19px;
  }

  .photoCredit {
    right: 16px;
    bottom: 218px;
  }

  .sectionShell {
    padding-right: 24px;
    padding-left: 24px;
  }

  .careerPanel {
    padding: 26px 22px;
    box-shadow: 10px 10px 0 #d8c9ae;
  }

  .musicCard {
    min-height: 270px;
    padding: 26px;
  }

  .projectVisual {
    padding: 28px;
  }

  .siteFooter {
    grid-template-columns: 1fr;
  }

  .footerLinks,
  .siteFooter > p,
  .siteFooter small {
    grid-row: auto;
    grid-column: 1;
  }

  .footerLinks {
    flex-wrap: wrap;
    gap: 16px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
