/* ============================================================
   Ones — "Noir" design (dark editorial)
   Design tokens from the Ones Entertainment Design Guide
   ============================================================ */

:root {
  --ones-black: #1d1d1b;
  --ones-blue: #b3ebf2;
  --ones-green: #a8dcab;
  --ones-pink: #ffc5d3;
  --ones-yellow: #ffee8c;

  --bg: #141413;
  --surface: #1d1d1b;
  --surface-raised: #232322;
  --outline: rgba(255, 255, 255, 0.13);
  --text: #f4f4f1;
  --text-muted: rgba(244, 244, 241, 0.62);

  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 28px;
  --radius-pill: 999px;

  --font-body: "Inter", "Inter Variable", system-ui, sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.5vw, 2rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
}
.wordmark strong { font-weight: 700; }
.wordmark span { font-weight: 200; }

.swirl { height: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.75rem;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--filled { background: #ffffff; color: var(--ones-black); }
.btn--tonal-blue { background: var(--ones-blue); color: var(--ones-black); }
.btn--tonal-yellow { background: var(--ones-yellow); color: var(--ones-black); }
.btn--outlined { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }

/* ============================================================
   Chooser
   ============================================================ */

.chooser {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.chooser__header {
  display: flex;
  justify-content: center;
  padding: 3rem 1.5rem 1.5rem;
}
.chooser__header .swirl { width: 64px; }

.chooser__intro {
  text-align: center;
  padding: 0 1.5rem 2.5rem;
  margin: 0;
  color: var(--text-muted);
  font-weight: 300;
  font-size: 1.05rem;
}

.chooser__panels {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: min(1150px, calc(100% - 3rem));
  margin: 0 auto;
  padding-bottom: 2rem;
}

.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 4.5rem 2rem;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius-l);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.panel:hover { transform: translateY(-4px); }
.panel--entertainment:hover { border-color: var(--ones-yellow); }
.panel--technologies:hover { border-color: var(--ones-blue); }

.panel--entertainment .wordmark span { color: var(--ones-yellow); }
.panel--technologies .wordmark span { color: var(--ones-blue); }

.panel__glow {
  position: absolute;
  inset: auto -20% -50% -20%;
  height: 80%;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.panel--entertainment .panel__glow { background: var(--ones-yellow); }
.panel--technologies .panel__glow { background: var(--ones-blue); }
.panel:hover .panel__glow { opacity: 0.3; }

.panel .swirl { width: clamp(90px, 12vw, 140px); }

.panel__tagline {
  max-width: 30ch;
  margin: 0;
  text-align: center;
  color: var(--text-muted);
  font-weight: 300;
}

.panel__cta {
  margin-top: 0.5rem;
  padding: 0.6rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.panel--entertainment .panel__cta { color: var(--ones-yellow); }
.panel--technologies .panel__cta { color: var(--ones-blue); }

.chooser__extra {
  display: flex;
  justify-content: center;
  padding: 0 1.5rem 1.5rem;
}

.chooser__login {
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.15s ease;
}
.chooser__login:hover { color: var(--text); }
.chooser__login-arrow {
  flex: none;
  transition: transform 0.2s ease;
}
.chooser__login:hover .chooser__login-arrow { transform: translateX(3px); }

.chooser__footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.chooser__footer a { color: inherit; }

@media (max-width: 720px) {
  .chooser__panels { grid-template-columns: 1fr; }
}

/* ============================================================
   Division pages
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(20, 20, 19, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--outline);
}
.site-header .wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.15rem;
}
.site-header .swirl { width: 34px; }
.site-header nav { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-link {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-link:hover { color: var(--text); background: var(--surface-raised); }
.nav-link--tonal-blue { background: var(--ones-blue); color: var(--ones-black); }
.nav-link--tonal-blue:hover { background: var(--ones-blue); color: var(--ones-black); }
.nav-link--tonal-yellow { background: var(--ones-yellow); color: var(--ones-black); }
.nav-link--tonal-yellow:hover { background: var(--ones-yellow); color: var(--ones-black); }

.page--entertainment { --hero-accent: var(--ones-yellow); }
.page--technologies { --hero-accent: var(--ones-blue); }

.hero {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 7vw, 5.5rem);
  text-align: center;
}
.page--entertainment .hero {
  background:
    linear-gradient(rgba(15, 15, 14, 0.72), rgba(15, 15, 14, 0.9)),
    url("../img/bg-stage.jpg") center 30% / cover no-repeat;
}
.page--technologies .hero {
  background:
    linear-gradient(rgba(15, 15, 14, 0.78), rgba(15, 15, 14, 0.9)),
    url("../img/bg-crowd.jpg") center 40% / cover no-repeat;
}
.hero__kicker {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hero-accent, var(--ones-blue));
}
.hero h1 {
  margin: 0 auto 1.25rem;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.hero h1 mark {
  background: none;
  color: var(--hero-accent, var(--ones-blue));
  padding: 0;
}
.hero p {
  margin: 0 auto;
  max-width: 58ch;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.5rem;
}

.section { padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem); }
.section--dim { background: var(--surface); }
.section--photo {
  background:
    linear-gradient(rgba(15, 15, 14, 0.82), rgba(15, 15, 14, 0.88)),
    url("../img/bg-crowd.jpg") center / cover no-repeat;
}
.section--photo-stage {
  background:
    linear-gradient(rgba(15, 15, 14, 0.82), rgba(15, 15, 14, 0.88)),
    url("../img/bg-stage.jpg") center 30% / cover no-repeat;
}
.section__inner { max-width: 1100px; margin: 0 auto; }
.section__inner--narrow { max-width: 720px; }

.section h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.section__lead {
  margin: 0 0 2.25rem;
  max-width: 62ch;
  font-weight: 300;
  color: var(--text-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  border-radius: var(--radius-l);
  background: var(--surface-raised);
  border: 1px solid var(--outline);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.3); }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-s);
  color: var(--ones-black);
}
.card__icon svg { width: 26px; height: 26px; }
.card__icon--blue { background: var(--ones-blue); }
.card__icon--yellow { background: var(--ones-yellow); }
.card h3 { margin: 0; font-size: 1.2rem; font-weight: 600; }
.card p { margin: 0; font-size: 0.97rem; color: var(--text-muted); }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.check-list .check {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--ones-green);
  color: var(--ones-black);
}
.check-list .check svg { width: 13px; height: 13px; }

.crosslink {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-l);
  background: #f4f4f1;
  color: var(--ones-black);
}
.crosslink p { margin: 0.35rem 0 0; font-weight: 300; color: rgba(29, 29, 27, 0.65); }

.partner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.partner-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  border-radius: var(--radius-l);
  background: rgba(28, 28, 27, 0.78);
  border: 1px solid var(--outline);
}
.partner-card__body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}
.partner-card__body p { flex: 1 1 320px; }
.partner-card__banner {
  flex: 0 1 260px;
  min-width: 180px;
  max-width: 280px;
  height: auto;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 0.5rem 0;
}
.logo-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  padding: 0.9rem 1.4rem;
  border-radius: 18px;
  background: #ffffff;
}
.logo-chip img {
  max-height: 68px;
  max-width: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.partner-card__label {
  align-self: flex-start;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--ones-yellow);
  color: var(--ones-black);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.partner-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}
.partner-card p { margin: 0; font-weight: 300; color: var(--text-muted); }

.contact-card {
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-l);
  background: var(--surface-raised);
  border: 1px solid var(--outline);
}
.contact-card p { margin: 0.5rem auto 1.75rem; max-width: 48ch; font-weight: 300; color: var(--text-muted); }
.contact-details {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.75rem;
  font-style: normal;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.contact-details a { color: inherit; text-decoration: none; }
.contact-details a:hover { color: var(--text); text-decoration: underline; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Legal */
.legal-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
}
.legal-title span { font-weight: 200; color: var(--text-muted); }
.legal-list { margin: 0; display: grid; gap: 1.1rem; }
.legal-list > div {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: 0.5rem 1.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--outline);
}
.legal-list dt { font-weight: 600; }
.legal-list dd { margin: 0; color: var(--text-muted); }
@media (max-width: 560px) { .legal-list > div { grid-template-columns: 1fr; } }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--outline);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 300;
}
.site-footer .wordmark { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1rem; color: var(--text); }
.site-footer .swirl { width: 28px; }
.site-footer nav { display: flex; gap: 1.25rem; }
.site-footer a { text-decoration: none; color: var(--text-muted); }
.site-footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  .site-header { gap: 0.6rem; padding: 0.7rem 1rem; }
  .site-header .wordmark { font-size: 0.98rem; gap: 0.45rem; }
  .site-header .swirl { width: 26px; }

  .nav-toggle { display: flex; }
  .site-header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.75rem 1rem 1rem;
    background: rgba(20, 20, 19, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--outline);
  }
  .site-header.nav-open nav { display: flex; }
  .site-header nav .nav-link { text-align: center; padding: 0.7rem 1.1rem; }
}
