:root {
  --bg: #090909;
  --bone: #f2f0e9;
  --muted: #8f8e89;
  --line: #252525;
  --blue: #315cff;
  --pad: clamp(24px, 5vw, 76px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--bone);
  font-family: Arial, Helvetica, sans-serif;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Navigation ------------------------------------------------------------ */
.nav {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  background: linear-gradient(to bottom, rgba(9, 9, 9, 0.92), transparent);
}

.brand {
  color: var(--bone);
  font-size: 19px;
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.045em;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
}

.navlinks a { opacity: 0.72; transition: opacity 0.18s ease; }
.navlinks a:hover { opacity: 1; }
.nav-cta {
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  opacity: 1;
}

.back {
  position: absolute;
  z-index: 5;
  top: 96px;
  left: var(--pad);
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--bone);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.back:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.3);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 9, 9, 0.46);
  color: var(--bone);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  z-index: 31;
}

.menu-toggle span {
  width: 15px;
  height: 1px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.18s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 29;
  pointer-events: none;
  overflow: hidden;
}
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  backdrop-filter: blur(3px);
  transition: opacity 0.28s ease;
}
.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 380px);
  height: 100%;
  padding: 96px 28px 32px;
  overflow: auto;
  border-left: 1px solid var(--line);
  background: #0b0b0b;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 0.72, 0.18, 1);
}
.mobile-menu.open { pointer-events: auto; }
.mobile-menu.open .mobile-menu-backdrop { opacity: 1; }
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-inner { display: flex; flex-direction: column; min-height: 100%; }
.mobile-menu-inner > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--bone);
  font-size: clamp(25px, 7vw, 34px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.mobile-menu-inner > a::after { content: "↗︎"; font-size: 13px; opacity: 0.5; }
.mobile-menu-inner .nav-cta {
  justify-content: center;
  margin-top: 24px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
}

/* Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.text-hero {
  background:
    radial-gradient(circle at 74% 34%, rgba(49, 92, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #121212, #070707);
}

.ghost {
  position: absolute;
  top: 16%;
  right: -0.04em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(130px, 27vw, 430px);
  font-weight: 800;
  line-height: 0.7;
  letter-spacing: -0.09em;
  text-transform: uppercase;
}

.hero-content {
  position: absolute;
  z-index: 2;
  right: var(--pad);
  bottom: 38px;
  left: var(--pad);
}

.hero-kicker,
.eyebrow {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero-kicker { margin-bottom: 18px; color: #d3d2cd; }
.hero h1 {
  margin: 0;
  font-size: clamp(92px, 14.8vw, 224px);
  font-weight: 800;
  line-height: 0.76;
  letter-spacing: -0.082em;
  text-transform: uppercase;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  color: #cac9c4;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-meta span + span::before { content: "·"; margin-right: 14px; color: #666; }

/* Career ---------------------------------------------------------------- */
.section { padding: clamp(90px, 10vw, 150px) var(--pad); }
.career-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(48px, 8vw, 130px);
}
.section-title {
  margin: 15px 0 0;
  font-size: clamp(55px, 7.5vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}
.career-copy p {
  margin: 0;
  color: #b8b7b1;
  font-size: 17px;
  line-height: 1.78;
  text-align: justify;
  text-justify: inter-word;
}
.career-copy p + p { margin-top: 22px; }
.career-copy strong { color: var(--bone); }
.org-link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(242, 240, 233, 0.45);
}
.org-link:hover { color: var(--blue); text-decoration-color: var(--blue); }
.represented-since {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.business-email {
  display: inline-block;
  margin-top: 30px;
  font-size: clamp(18px, 2vw, 27px);
  letter-spacing: -0.02em;
}
.business-email:hover { color: var(--blue); }

.profile-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0 24px;
}
.profile-socials a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: transparent;
  color: #d3d2cd;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.profile-socials a:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background: #151515;
  color: var(--bone);
}
.profile-socials svg { width: 17px; height: 17px; }
.profile-socials img { width: 18px; height: 18px; object-fit: contain; }

.current-org {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.current-org .label {
  opacity: 0.7;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.current-org a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.18s ease;
}
.current-org a:hover { color: var(--blue); }
.current-org img { width: 44px; height: 44px; object-fit: contain; }

.ewc-minimal {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ewc-main {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 0 18px;
  transition: opacity 0.2s ease;
}
.ewc-main:hover { opacity: 0.72; }
.ewc-kicker { color: var(--muted); font-size: 8px; letter-spacing: 0.15em; text-transform: uppercase; }
.ewc-event,
.ewc-result { font-size: clamp(20px, 2.2vw, 31px); font-weight: 500; letter-spacing: -0.04em; }
.ewc-result { white-space: nowrap; }
.ewc-note { margin: 0; padding: 0 0 18px 134px; color: var(--muted); font-size: 11px; line-height: 1.55; }

/* Story ----------------------------------------------------------------- */
.story { padding: 12px; background: #efede5; color: #111; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; }
.story-photo { position: relative; overflow: hidden; }
.story-photo-placeholder {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(49, 92, 255, 0.22), transparent 34%), #111;
}
.story-photo-placeholder-label {
  color: #efede5;
  font-size: clamp(72px, 12vw, 180px);
  font-weight: 800;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}
.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(50px, 7vw, 105px);
}
.story-copy .eyebrow { color: #6d6b67; }
.story-title {
  margin: 12px 0 38px;
  font-size: clamp(55px, 6.8vw, 102px);
  line-height: 0.88;
  letter-spacing: -0.068em;
  text-transform: uppercase;
}
.story-copy p {
  margin: 0;
  color: #3b3a36;
  font-size: 16px;
  line-height: 1.75;
  text-align: justify;
  text-justify: inter-word;
}
.story-copy p + p { margin-top: 20px; }
.story-copy strong { color: #111; }
.story-copy .fnatic-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.18s ease;
}
.story-copy .fnatic-link:hover,
.story-copy .fnatic-link:hover strong { color: var(--blue); }
.quote-placeholder {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.16);
}
.quote-placeholder span { color: #797772; font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase; }
.quote-placeholder p { margin-top: 11px; color: #6f6d68; font-size: 14px; text-align: left; }

/* Footer ---------------------------------------------------------------- */
.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px var(--pad);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-tailors-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(153, 154, 150, 0.55);
}
.footer-tailors-link:hover { color: var(--bone); text-decoration-color: currentColor; }

/* Accessibility / responsive ------------------------------------------- */
.profile-socials a:focus-visible,
.nav a:focus-visible,
.back:focus-visible,
.ewc-main:focus-visible,
.business-email:focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .navlinks { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu { display: block; }
  .career-grid,
  .story-grid { grid-template-columns: 1fr; }
  .story-photo { min-height: 560px; }
  .ewc-main { grid-template-columns: 1fr auto; gap: 10px; }
  .ewc-kicker { grid-column: 1 / -1; }
  .ewc-note { padding-left: 0; }
}

@media (max-width: 700px) {
  .profile-socials { margin: 14px 0 20px; }
  .profile-socials a { width: 40px; height: 40px; }
  .current-org { align-items: flex-start; }
  .current-org img { width: 40px; height: 40px; }
}

@media (max-width: 650px) {
  .hero { min-height: 620px; }
  .hero h1 { font-size: 22vw; }
  .section { padding: 78px var(--pad) 82px; }
  .story { padding: 8px; }
  .story-photo { min-height: 460px; }
  .story-copy { padding: 58px 28px; }
  .footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .navlinks a,
  .back,
  .menu-toggle span,
  .mobile-menu-backdrop,
  .mobile-menu-panel,
  .profile-socials a,
  .current-org a,
  .ewc-main,
  .story-copy .fnatic-link { transition: none; }
}
