:root {
  --black: #0a0a0a;
  --gray: #1a1a1a;
  --white: #f5f2ee;
  --cream: #f0ebe3;
  --muted: #b8b8b8;
  --muted-soft: #a9a9a9;
  --accent: #c8ff00;
  --accent2: #ff4d00;
  --surface1: #111111;
  --border: rgba(245, 242, 238, 0.12);
  --border-strong: rgba(245, 242, 238, 0.24);
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  color: var(--white);
  background: var(--black);
  font-size: 16px;
  line-height: 1.6;
}

img,
svg,
canvas,
video,
iframe {
  max-width: 100%;
}

img,
video {
  height: auto;
}

p,
li,
h1,
h2,
h3,
h4,
a,
button,
span {
  overflow-wrap: break-word;
}

main,
footer {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
h4,
.logo,
.stat-num,
.studio-card-num,
.event-date .day {
  font-family: "Syne", ui-sans-serif, system-ui, sans-serif;
}

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

button,
input,
select,
textarea {
  font: inherit;
  min-width: 0;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  padding: 0.9rem clamp(1rem, 3vw, 3rem);
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.9);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.logo {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  color: var(--white);
  font-size: clamp(0.95rem, 1.8vw, 1.28rem);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: clamp(0.55rem, 1vw, 1rem);
  min-width: 0;
  overflow: visible;
  list-style: none;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  display: block;
  padding: 0.58rem clamp(0.5rem, 0.72vw, 0.86rem);
  color: var(--muted);
  border-radius: 999px;
  font-size: clamp(0.72rem, 0.76vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: var(--white);
  background: rgba(245, 242, 238, 0.07);
}

.nav-links a.is-active {
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(200, 255, 0, 0.18);
}

.nav-more-menu {
  position: relative;
  flex: 0 0 auto;
}

.nav-menu-button,
.mobile-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  color: var(--accent);
  border: 1px solid rgba(200, 255, 0, 0.34);
  border-radius: 50%;
  background: rgba(200, 255, 0, 0.08);
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.nav-menu-button span,
.mobile-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav-menu-button:hover,
.nav-menu-button:focus-visible,
.nav-menu-button[aria-expanded="true"],
.mobile-toggle:hover,
.mobile-toggle:focus-visible,
.mobile-toggle[aria-expanded="true"] {
  border-color: var(--accent);
  background: rgba(200, 255, 0, 0.14);
  transform: translateY(-1px);
}

.nav-menu-panel {
  position: absolute;
  top: calc(100% + 0.9rem);
  right: 0;
  z-index: 120;
  display: none;
  width: min(260px, calc(100vw - 2rem));
  padding: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: rgba(17, 17, 17, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.nav-more-menu.is-open .nav-menu-panel {
  display: grid;
}

.nav-menu-panel a {
  padding: 0.72rem 0.85rem;
  color: rgba(245, 242, 238, 0.78);
  border-radius: 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-menu-panel a:hover,
.nav-menu-panel a:focus-visible,
.nav-menu-panel a.is-active {
  color: var(--white);
  background: rgba(200, 255, 0, 0.1);
}

.nav-menu-panel a.is-active {
  color: var(--accent);
}

.nav-secondary-link {
  display: none;
}

.secondary-nav {
  position: fixed;
  inset: 73px 0 auto;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 1vw, 0.85rem);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.55rem clamp(1.25rem, 3vw, 3rem);
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.76);
  backdrop-filter: blur(16px);
  scrollbar-width: none;
}

.secondary-nav::-webkit-scrollbar {
  display: none;
}

.secondary-nav a {
  flex: 0 0 auto;
  color: rgba(245, 242, 238, 0.72);
  font-size: clamp(0.68rem, 0.72vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s;
}

.secondary-nav a:hover,
.secondary-nav a:focus-visible {
  color: var(--accent);
}

.nav-actions {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: clamp(0.3rem, 0.65vw, 0.65rem);
  min-width: max-content;
}

.nav-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0.5rem clamp(0.65rem, 1vw, 1.4rem);
  color: var(--black);
  border-radius: 2rem;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(200, 255, 0, 0.24), 0 12px 28px rgba(200, 255, 0, 0.18);
  font-size: clamp(0.74rem, 0.78vw, 1rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.nav-cta-pitch {
  color: var(--black);
  border: 1px solid #ff7a3d;
  background: #ff7a3d;
  box-shadow: 0 0 0 1px rgba(255, 122, 61, 0.28), 0 12px 28px rgba(255, 77, 0, 0.24);
}

.nav-cta-pitch:hover,
.nav-cta-pitch:focus-visible {
  border-color: #ff9a6c;
  background: #ff9a6c;
}

.mobile-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 8rem clamp(1.5rem, 5vw, 4rem) 4rem;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(200, 255, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 255, 0, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero::after {
  position: absolute;
  right: -18vw;
  bottom: -20vw;
  z-index: 0;
  width: 56vw;
  height: 56vw;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 255, 0, 0.12), transparent 62%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.4rem 1rem;
  color: var(--accent);
  border: 1px solid rgba(200, 255, 0, 0.3);
  border-radius: 2rem;
  background: rgba(200, 255, 0, 0.1);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.hero-title {
  max-width: 900px;
  margin-bottom: 2rem;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.line-accent {
  color: var(--accent);
}

.line-outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--white);
}

.hero-sub {
  max-width: 550px;
  margin-bottom: 3rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 2rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s, border-color 0.2s, background 0.2s;
}

.btn-primary {
  color: var(--black);
  border: 0;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(200, 255, 0, 0.24), 0 16px 36px rgba(200, 255, 0, 0.18);
  font-weight: 700;
}

.btn-primary.light {
  color: var(--black);
  background: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.page-email-action {
  margin-top: 2rem;
}

.btn-email-highlight {
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 34px rgba(245, 184, 64, 0.28);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.apply-button {
  margin-top: 2rem;
  background: #18c964;
}

.btn-primary:disabled {
  cursor: wait;
  opacity: 0.7;
}

.btn-primary:disabled:hover {
  transform: none;
}

.btn-outline {
  color: var(--white);
  border: 1px solid rgba(245, 242, 238, 0.25);
  background: transparent;
  font-weight: 500;
}

.btn-outline:hover {
  border-color: rgba(245, 242, 238, 0.5);
  background: rgba(245, 242, 238, 0.05);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.stat-num {
  color: var(--white);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-num span {
  color: var(--accent);
}

.stat-label {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

section {
  padding: 6rem clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
}

.section-alt {
  background: var(--surface1);
}

.section-tag {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-title {
  max-width: 670px;
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-desc {
  max-width: 540px;
  margin-bottom: 3rem;
  color: var(--muted);
  line-height: 1.7;
}

.center {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  overflow: hidden;
  margin-top: 3rem;
  border: 2px solid var(--border);
  border-radius: 1.2rem;
}

.studio-card {
  padding: 2.5rem;
  background: var(--gray);
  transition: background 0.2s;
}

.studio-card:hover {
  background: #242424;
}

.studio-card-num {
  margin-bottom: 1rem;
  color: var(--border-strong);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.studio-card .tag {
  display: inline-block;
  margin-bottom: 1.2rem;
  padding: 0.25rem 0.7rem;
  color: var(--accent);
  border: 1px solid rgba(200, 255, 0, 0.2);
  border-radius: 1rem;
  background: rgba(200, 255, 0, 0.1);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-card h3,
.login-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.studio-card p,
.login-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.login-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.login-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 255, 0, 0.3);
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
  margin-top: 3rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.event-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.8rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--gray);
  transition: background 0.15s;
}

.event-item:last-child {
  border-bottom: 0;
}

.event-item:hover {
  background: #242424;
}

.event-date {
  text-align: center;
}

.event-date .day {
  color: var(--accent);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.event-date .month {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-info h4 {
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.event-info .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.event-badge {
  padding: 0.3rem 0.8rem;
  border: 1px solid;
  border-radius: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-online {
  color: var(--accent);
  border-color: rgba(200, 255, 0, 0.3);
  background: rgba(200, 255, 0, 0.08);
}

.badge-inperson {
  color: var(--accent2);
  border-color: rgba(255, 77, 0, 0.3);
  background: rgba(255, 77, 0, 0.08);
}

.badge-hybrid {
  color: var(--white);
  border-color: rgba(245, 242, 238, 0.2);
  background: rgba(245, 242, 238, 0.05);
}

#apply {
  position: relative;
  overflow: hidden;
}

.apply-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, rgba(200, 255, 0, 0.08), transparent 65%);
}

.apply-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.apply-form {
  margin-top: 3rem;
  padding: 2.5rem;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  background: var(--gray);
}

.studio-apply-link {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.25rem;
  padding: 0.85rem 1.15rem 0.85rem 0.9rem;
  color: var(--black);
  border: 1px solid rgba(200, 255, 0, 0.55);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 18px 55px rgba(200, 255, 0, 0.14);
  font-weight: 800;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.studio-apply-link:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 242, 238, 0.38);
  box-shadow: 0 24px 70px rgba(200, 255, 0, 0.2);
}

.studio-apply-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  border-radius: 50%;
  background: var(--black);
}

.studio-apply-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.progress-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.step {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--border);
}

.step.active {
  background: var(--accent);
}

.step.done {
  background: rgba(200, 255, 0, 0.4);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-full {
  grid-column: 1 / -1;
}

.form-group input,
.form-group select,
.form-group textarea,
.login-form input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  color: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  outline: none;
  background: var(--black);
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.login-form input:focus {
  border-color: rgba(200, 255, 0, 0.4);
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.login-form input::placeholder {
  color: var(--muted-soft);
}

.form-group select option {
  background: var(--gray);
}

.create-account-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(245, 242, 238, 0.04);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.create-account-link:hover {
  transform: translateY(-1px);
  border-color: rgba(200, 255, 0, 0.42);
  background: rgba(200, 255, 0, 0.08);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 1.2rem 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.85rem;
}

.form-check input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.step-label {
  color: var(--muted);
  font-size: 0.78rem;
}

.step-label strong {
  color: var(--white);
}

.form-status {
  min-height: 24px;
  margin-top: 1rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}

#login {
  background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
}

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

.login-card {
  position: relative;
  overflow: hidden;
  padding: 3rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  background: var(--gray);
  transition: transform 0.2s, border-color 0.2s;
}

.role-icon {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
  border: 1px solid rgba(200, 255, 0, 0.2);
  border-radius: 50%;
  background: rgba(200, 255, 0, 0.1);
  font-family: "Syne", ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

footer {
  border-top: 1px solid #111111;
}

.site-footer {
  background-color: #000000;
  color: #a4a4a4;
  padding: 80px 4% 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-column:not(:first-child):not(:last-child) {
  border-left: 1px solid #1a1a1a;
  padding-left: 30px;
}

.footer-logo {
  margin: 0 0 15px;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.footer-logo span {
  color: var(--accent);
}

.copyright-top {
  margin-bottom: 25px;
  color: var(--muted-soft);
  font-size: 0.85rem;
}

.brand-description {
  max-width: 280px;
  color: #a4a4a4;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-column h3 {
  margin: 0 0 25px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  position: relative;
  margin-bottom: 16px;
  padding-left: 15px;
}

.footer-links li::before {
  content: "\2022";
  position: absolute;
  top: -1px;
  left: 0;
  color: var(--muted-soft);
}

.footer-links a {
  color: #e5e5e5;
  font-size: 0.9rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.cta-column {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border: 1px solid var(--accent);
  border-radius: 50px;
  background: transparent;
  box-shadow: 0 0 10px rgba(200, 255, 0, 0.05);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.footer-cta-btn:hover,
.footer-cta-btn:focus-visible {
  background: var(--accent);
  box-shadow: 0 0 20px rgba(200, 255, 0, 0.2);
  color: #000000;
}

.arrow-icon {
  font-size: 1.1rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #111111;
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted-soft);
  white-space: nowrap;
}

.footer-bottom-links a {
  color: var(--muted-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover,
.footer-bottom-links a:focus-visible {
  color: #ffffff;
}

.legal-page .content-hero {
  min-height: 52vh;
}

.legal-shell {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  max-width: 1180px;
}

.legal-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 24px;
}

.legal-sidebar span,
.legal-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-sidebar strong,
.legal-sidebar a {
  color: #ffffff;
  font-size: 0.94rem;
  line-height: 1.4;
  text-decoration: none;
}

.legal-sidebar nav {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
}

.legal-sidebar nav a {
  color: #d8d8d8;
}

.legal-sidebar a:hover,
.legal-sidebar a:focus-visible {
  color: var(--accent);
}

.legal-document {
  color: #d5d5d5;
}

.legal-document header {
  margin-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 30px;
}

.legal-document section {
  padding: 0;
}

.legal-document section + section {
  margin-top: 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 46px;
}

.legal-document h2 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.legal-document h3 {
  margin: 36px 0 12px;
  color: #ffffff;
  font-size: 1.3rem;
  line-height: 1.25;
}

.legal-document h4 {
  margin: 26px 0 10px;
  color: #f2f2f2;
  font-size: 1rem;
  line-height: 1.3;
}

.legal-document p,
.legal-document li {
  color: #c8c8c8;
  font-size: 1rem;
  line-height: 1.78;
}

.legal-document p {
  margin: 0 0 16px;
}

.legal-document ul {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-document li::marker {
  color: var(--accent);
}

.legal-document a {
  color: var(--accent);
  text-decoration: none;
}

.legal-document a:hover,
.legal-document a:focus-visible {
  text-decoration: underline;
}

.legal-confirmation {
  margin-top: 34px !important;
  border-left: 3px solid var(--accent);
  background: rgba(200, 255, 0, 0.05);
  padding: 18px 20px;
  color: #ffffff !important;
}

@media (max-width: 992px) {
  .site-footer {
    padding: 64px 5% 28px;
  }

  .footer-container {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 34px 28px;
  }

  .footer-column:not(:first-child):not(:last-child) {
    border-left: 0;
    padding-left: 0;
  }

  .brand-info {
    grid-column: 1 / -1;
  }

  .brand-description {
    max-width: 520px;
  }

  .cta-column {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .legal-shell {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-sidebar {
    position: static;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge,
.hero-title,
.hero-sub,
.hero-actions,
.hero-stats {
  animation: fadeUp 0.7s ease both;
}

.hero-badge {
  animation-delay: 0.1s;
}

.hero-title {
  animation-delay: 0.2s;
}

.hero-sub {
  animation-delay: 0.3s;
}

.hero-actions {
  animation-delay: 0.4s;
}

.hero-stats {
  animation-delay: 0.5s;
}

.pt-1 {
  color: var(--accent);
  background: linear-gradient(135deg, #1a2a1a, #0f1f0f);
}

.pt-2 {
  color: var(--accent2);
  background: linear-gradient(135deg, #2a1a1a, #1f0f0f);
}

.pt-3 {
  color: #7e8fff;
  background: linear-gradient(135deg, #1a1a2a, #0f0f1f);
}

.pt-4 {
  color: #ffd700;
  background: linear-gradient(135deg, #2a2a1a, #1f1f0f);
}

.pt-5 {
  color: #00e5ff;
  background: linear-gradient(135deg, #1a2a2a, #0f1f1f);
}

.pt-6 {
  color: #ff88ff;
  background: linear-gradient(135deg, #2a1a2a, #1f0f1f);
}

.admin-page {
  min-height: 100vh;
  background: var(--black);
}

.admin-gate {
  width: min(480px, calc(100% - 40px));
  margin: 0 auto;
  padding: 7rem 0 4rem;
}

.admin-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0;
  color: var(--white);
}

.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(46px, 8vw, 108px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 2rem;
  color: var(--black);
  border: 0;
  border-radius: 2rem;
  background: var(--accent);
  font-weight: 700;
}

.admin-warning,
.admin-toolbar,
.application-card,
.empty-state {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(26, 26, 26, 0.82);
}

.admin-warning {
  margin-bottom: 18px;
  padding: 18px 20px;
  color: rgba(245, 242, 238, 0.76);
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px;
}

.admin-toolbar span {
  color: rgba(245, 242, 238, 0.72);
  font-weight: 850;
}

.applications-list {
  display: grid;
  gap: 14px;
}

.application-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 26px;
  padding: 24px;
}

.application-card span {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.application-card h2,
.empty-state h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 46px);
}

.application-card a {
  color: rgba(245, 242, 238, 0.72);
  font-weight: 850;
}

.application-card p,
.empty-state p {
  margin: 0;
  color: rgba(245, 242, 238, 0.72);
  line-height: 1.7;
}

.application-details {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: rgba(245, 242, 238, 0.72);
  font-size: 0.9rem;
}

.application-details strong {
  color: var(--white);
}

.empty-state {
  padding: 36px;
  text-align: center;
}

.login-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 10%, rgba(200, 255, 0, 0.12), transparent 24%),
    var(--black);
}

.login-page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 9rem 0 4rem;
}

.login-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: 72vh;
}

.login-hero h1 {
  max-width: 760px;
  margin-bottom: 1.3rem;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.login-hero p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
}

.portal-login-card,
.portal-preview {
  padding: 2.2rem;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  background: rgba(26, 26, 26, 0.92);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.28);
}

.create-account-page {
  background:
    radial-gradient(circle at 78% 10%, rgba(24, 201, 100, 0.22), transparent 24%),
    radial-gradient(circle at 16% 84%, rgba(200, 255, 0, 0.11), transparent 28%),
    var(--black);
}

.create-account-page .hero-badge {
  color: #18c964;
  border-color: rgba(24, 201, 100, 0.32);
  background: rgba(24, 201, 100, 0.1);
}

.account-create-card {
  border-color: rgba(24, 201, 100, 0.3);
  background:
    linear-gradient(180deg, rgba(24, 201, 100, 0.1), rgba(26, 26, 26, 0.92) 42%),
    rgba(26, 26, 26, 0.92);
  box-shadow: 0 24px 90px rgba(24, 201, 100, 0.14);
}

.account-create-card .btn-primary {
  background: #18c964;
}

.account-create-card .form-group input:focus,
.account-create-card .form-group select:focus {
  border-color: rgba(24, 201, 100, 0.72);
}

.account-create-card .create-account-link:hover {
  border-color: rgba(24, 201, 100, 0.5);
  background: rgba(24, 201, 100, 0.1);
}

.demo-credentials {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}

.demo-credentials strong {
  color: var(--white);
}

.portal-preview {
  margin-top: 2rem;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.portal-grid article {
  min-height: 180px;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--gray);
}

.portal-grid span {
  display: block;
  margin-bottom: 1.8rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portal-grid p {
  color: var(--muted);
}

.studio-page-hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  overflow: hidden;
  padding-top: 8rem;
}

.studio-page-copy {
  position: relative;
  z-index: 1;
}

.studio-page-copy h1 {
  max-width: 860px;
  margin-bottom: 1.6rem;
  font-size: clamp(3.4rem, 8vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.studio-page-copy p {
  max-width: 650px;
  margin-bottom: 2.4rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.content-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 9rem;
}

.content-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.content-hero-copy h1 {
  margin-bottom: 1.6rem;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.content-hero-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
}

.content-highlight-list {
  margin: 0;
  padding-left: 1.4rem;
  color: var(--white);
  font-size: 1.15rem;
  line-height: 1.7;
  list-style-type: square;
}

.content-section-copy {
  max-width: 780px;
}

.content-section-copy h3 {
  margin-bottom: 1.6rem;
  color: var(--cream);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.65;
}

.work-openings {
  margin-top: 2rem;
}

.work-openings h2 {
  margin-bottom: 0.7rem;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 3rem;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  background: var(--border);
}

.profile-card,
.service-grid article {
  min-height: 260px;
  padding: 2rem;
  background: var(--gray);
}

.profile-card span,
.service-grid span {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-card h3,
.service-grid h3 {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.profile-card p,
.service-grid p,
.about-split p {
  color: var(--muted);
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  max-width: 980px;
  margin-top: 2.4rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.studio-signal-card {
  position: relative;
  z-index: 1;
  padding: 2rem;
  border: 1px solid rgba(200, 255, 0, 0.24);
  border-radius: 1.2rem;
  background: rgba(200, 255, 0, 0.08);
}

.studio-signal-card span {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.studio-signal-card strong {
  display: block;
  margin-bottom: 1rem;
  font-family: "Syne", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.studio-signal-card p {
  color: var(--muted);
}

.studio-detail-grid,
.qualification-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 3rem;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  background: var(--border);
}

.studio-detail-grid article,
.qualification-grid div {
  min-height: 280px;
  padding: 2rem;
  background: var(--gray);
}

.studio-detail-grid span {
  display: block;
  margin-bottom: 3rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
}

.studio-detail-grid p,
.qualification-grid p {
  color: var(--muted);
}

.qualification-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 960px) {
  .profile-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.nav-action-link {
  display: none;
}

@media (max-width: 1180px) {
  body.nav-open {
    overflow: hidden;
  }

  .site-nav {
    grid-template-columns: auto auto;
    padding: 0.85rem clamp(1rem, 3vw, 1.5rem);
  }

  .logo {
    order: 1;
  }

  .nav-actions {
    justify-self: end;
    margin-left: auto;
  }

  .mobile-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: auto;
    bottom: auto;
    left: clamp(0.75rem, 3vw, 1rem);
    z-index: 130;
    order: 3;
    grid-column: 1 / -1;
    justify-self: stretch;
    display: none;
    width: calc(100vw - 1.5rem);
    max-width: calc(100vw - 1.5rem);
    height: calc(100vh - 64px - 2.25rem);
    height: calc(100dvh - 64px - 2.25rem);
    max-height: none;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.7rem;
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    background: rgba(17, 17, 17, 0.98);
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 0.72rem;
    font-size: 0.82rem;
  }

  .nav-more-menu {
    display: none;
  }

  .nav-secondary-link {
    display: list-item;
  }

  .nav-action-link a {
    color: var(--white);
    background: rgba(255, 77, 0, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 77, 0, 0.48);
  }

  .nav-menu-button {
    width: 100%;
    height: 44px;
    flex-direction: row;
    border-radius: 0.9rem;
  }

  .nav-menu-panel {
    position: static;
    width: 100%;
    margin-top: 0.65rem;
    box-shadow: none;
  }
}

@media (max-width: 480px) {
  .site-nav {
    gap: 0.75rem;
    padding-inline: 0.75rem;
  }

  .logo {
    font-size: clamp(0.72rem, 3.4vw, 0.86rem);
  }

  .hero-title {
    font-size: clamp(2.5rem, 11.5vw, 3rem);
    line-height: 1.02;
  }
}

@media (max-width: 768px) {
  .secondary-nav {
    inset: 74px 0 auto;
    justify-content: flex-start;
    padding: 0.55rem 1rem;
  }

  section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero {
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  .hero-content {
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.82);
  }

  .content-hero {
    min-height: auto;
    align-items: flex-start;
    overflow: visible;
    padding-top: 7rem;
    padding-bottom: 4rem;
  }

  .content-hero-copy {
    width: 100%;
  }

  .content-hero-copy h1 {
    font-size: clamp(2.45rem, 13vw, 4.25rem);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .content-section-copy h3 {
    font-size: 1rem;
    line-height: 1.6;
  }

  .content-highlight-list {
    font-size: 1rem;
  }

  .studio-grid,
  .studio-page-hero,
  .studio-detail-grid,
  .qualification-grid,
  .profile-grid,
  .service-grid,
  .about-split,
  .login-grid,
  .form-grid,
  .login-hero,
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 2rem;
  }

  .event-item {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    padding: 1.4rem;
  }

  .event-badge {
    display: none;
  }

  .form-actions,
  .admin-header,
  .admin-toolbar,
  .application-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer {
    padding: 48px 1.25rem 24px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-bottom: 34px;
  }

  .footer-column h3 {
    margin-bottom: 14px;
  }

  .footer-links li {
    margin-bottom: 12px;
  }

  .brand-description {
    max-width: 100%;
  }

  .cta-column {
    justify-content: stretch;
  }

  .footer-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .footer-bottom {
    justify-content: flex-start;
    padding-top: 22px;
  }

  .footer-bottom-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 18px;
    white-space: normal;
  }
}

.admin-secret-dot {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: rgba(245, 242, 238, 0.42);
  cursor: pointer;
  opacity: 0.55;
  padding: 0;
  z-index: 30;
}

.admin-secret-dot:hover,
.admin-secret-dot:focus-visible {
  opacity: 1;
  outline: 2px solid rgba(200, 255, 0, 0.5);
  outline-offset: 5px;
}

.observation-page {
  background:
    radial-gradient(circle at 20% 0%, rgba(200, 255, 0, 0.08), transparent 28rem),
    #0b0e10;
}

.observation-shell {
  width: min(1180px, calc(100% - 2rem));
}

.observation-dashboard {
  width: 100%;
}

.observation-header {
  margin-bottom: 1.5rem;
}

.observation-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.observation-range {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.observation-range button {
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(245, 242, 238, 0.05);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  padding: 0.5rem 0.85rem;
}

.observation-range button:hover,
.observation-range button:focus-visible,
.observation-range button.is-active {
  border-color: rgba(200, 255, 0, 0.58);
  background: rgba(200, 255, 0, 0.12);
  color: var(--white);
}

.observation-card,
.observation-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(245, 242, 238, 0.045);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}

.observation-card {
  min-height: 128px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.observation-card span,
.panel-heading span,
.rank-row small {
  color: var(--muted);
  font-size: 0.78rem;
}

.observation-card strong {
  color: var(--white);
  font-family: var(--display-font);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.observation-charts,
.observation-lists {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}



.observation-panel {
  padding: 1rem;
  min-width: 0;
}

.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-heading h2 {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.2;
}

.line-chart {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(245, 242, 238, 0.06);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(245, 242, 238, 0.045), rgba(245, 242, 238, 0.018)),
    rgba(0, 0, 0, 0.18);
}

.line-chart-total {
  position: absolute;
  top: 0.9rem;
  left: 1rem;
  z-index: 1;
  display: grid;
  gap: 0.1rem;
}

.line-chart-total strong {
  color: var(--white);
  font-family: var(--display-font);
  font-size: 1.65rem;
  line-height: 1;
}

.line-chart-total span {
  color: var(--muted);
  font-size: 0.72rem;
}

.line-chart svg {
  width: 100%;
  height: 250px;
  display: block;
  padding: 0.5rem;
}

.chart-grid line {
  stroke: rgba(245, 242, 238, 0.08);
  stroke-width: 1;
}

.line-stroke {
  fill: none;
  stroke: #c8ff00;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  filter: drop-shadow(0 0 10px rgba(200, 255, 0, 0.22));
}

.line-dot {
  fill: #0b0e10;
  stroke: #53d1b6;
  stroke-width: 2.5;
}

.chart-labels text {
  fill: rgba(245, 242, 238, 0.54);
  font-size: 0.58rem;
}

.rank-list {
  display: grid;
  gap: 0.7rem;
}

.rank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem;
  border-radius: 8px;
  background: rgba(245, 242, 238, 0.055);
  color: var(--white);
}

.rank-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.rank-row small {
  display: block;
  margin-top: 0.2rem;
}

.rank-row strong {
  color: var(--accent);
  white-space: nowrap;
}

.empty-line {
  color: var(--muted);
}

@media (max-width: 980px) {
  .observation-grid,
  .observation-charts,
  .observation-lists {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .observation-grid,
  .observation-charts,
  .observation-lists {
    grid-template-columns: 1fr;
  }
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.landing-grid.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-link-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(245, 242, 238, 0.06), rgba(245, 242, 238, 0.02));
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.section-link-card:hover,
.section-link-card:focus-visible {
  border-color: rgba(200, 255, 0, 0.48);
  background: rgba(200, 255, 0, 0.07);
  transform: translateY(-3px);
}

.section-link-card span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-link-card h3 {
  color: var(--white);
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  line-height: 1.05;
}

.section-link-card p {
  color: var(--muted);
}

@media (max-width: 960px) {
  .landing-grid,
  .landing-grid.two-column,
  .landing-grid.three-column {
    grid-template-columns: 1fr;
  }

  .section-link-card {
    min-height: 220px;
  }
}

.landing-sections {
  padding-top: clamp(4rem, 8vw, 7rem);
}

.landing-grid-home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-grid-home .section-link-card {
  min-height: 230px;
}

@media (max-width: 1120px) {
  .landing-grid-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-actions {
    gap: 0.45rem;
  }

  .nav-cta {
    min-height: 36px;
    padding: 0.45rem 0.8rem;
    font-size: 0.78rem;
  }

  .nav-cta-pitch {
    max-width: 116px;
    text-align: center;
    white-space: normal;
  }

  .landing-grid-home {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav-actions {
    gap: 0.32rem;
  }

  .nav-actions > .nav-cta {
    display: none;
  }

  .nav-action-link {
    display: block;
  }

  .nav-cta {
    min-height: 34px;
    padding-inline: 0.55rem;
    font-size: 0.68rem;
  }

  .nav-cta-pitch {
    max-width: 82px;
    line-height: 1.05;
  }

  .mobile-toggle {
    width: 36px;
    height: 36px;
  }

  .mobile-toggle span,
  .nav-menu-button span {
    width: 16px;
  }
}

@media (max-width: 360px) {
  .logo {
    font-size: 0.58rem;
  }

  .nav-cta {
    padding-inline: 0.45rem;
    font-size: 0.62rem;
  }

  .nav-cta-pitch {
    max-width: 72px;
  }
}

/* TEMP: Hide login & create-account entry points site-wide. Remove this block to restore. */
a.nav-cta[href="login.html"],
a[href="create-account.html"],
a.create-account-link[href="login.html"],
a.button.button-admin[href="login.html"] {
  display: none !important;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 84px;
  }

  body {
    font-size: 15px;
  }

  img,
  svg,
  canvas,
  video,
  iframe {
    max-width: 100%;
  }

  .hero,
  .content-hero,
  .studio-page-hero,
  .login-page-shell,
  .admin-page,
  .observation-shell {
    width: 100%;
  }

  .hero,
  .content-hero,
  .studio-page-hero {
    min-height: auto;
    padding-inline: clamp(1rem, 5vw, 1.5rem);
  }

  .hero {
    justify-content: flex-start;
    padding-top: 7.5rem;
  }

  .hero-badge {
    max-width: 100%;
    align-items: flex-start;
    white-space: normal;
  }

  .hero-actions,
  .form-actions,
  .admin-toolbar,
  .footer-bottom,
  .observation-range {
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline,
  .form-actions .btn-primary,
  .form-actions .btn-outline,
  .page-email-action,
  .btn-email-highlight,
  .studio-apply-link {
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline,
  .btn-email-highlight,
  .studio-apply-link {
    min-height: 46px;
    padding-inline: 1rem;
    text-align: center;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 3rem;
    gap: 1.25rem;
  }

  .studio-card,
  .login-card,
  .profile-card,
  .service-grid article,
  .studio-detail-grid article,
  .qualification-grid div,
  .portal-grid article,
  .section-link-card,
  .application-card,
  .empty-state,
  .portal-login-card,
  .portal-preview,
  .studio-signal-card,
  .apply-form {
    padding: clamp(1.15rem, 5vw, 1.6rem);
  }

  .profile-card,
  .service-grid article,
  .studio-detail-grid article,
  .qualification-grid div,
  .portal-grid article,
  .section-link-card,
  .landing-grid-home .section-link-card {
    min-height: auto;
  }

  .studio-card-num,
  .studio-signal-card strong,
  .stat-num,
  .event-date .day {
    letter-spacing: 0;
  }

  .login-page-shell {
    padding: 7rem 1rem 3rem;
  }

  .login-hero,
  .studio-page-hero {
    gap: 1.5rem;
  }

  .login-hero h1,
  .studio-page-copy h1 {
    font-size: clamp(2.6rem, 13vw, 4.25rem);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .portal-preview {
    margin-top: 1rem;
  }

  .admin-toolbar,
  .admin-header {
    display: grid;
    grid-template-columns: 1fr;
  }

  .application-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .observation-card,
  .observation-panel,
  .rank-row {
    min-width: 0;
  }

  .panel-heading,
  .rank-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .rank-row strong {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .site-nav {
    min-height: 64px;
  }

  .nav-links {
    top: calc(100% + 0.5rem);
    height: calc(100dvh - 78px);
  }

  main {
    overflow: hidden;
  }

  section,
  .partners-section {
    padding-inline: clamp(1rem, 5vw, 1.25rem) !important;
  }

  .section-title,
  .partners-heading,
  .application-card h2,
  .empty-state h2 {
    font-size: clamp(1.8rem, 9vw, 2.7rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .section-desc,
  .content-hero-copy p,
  .studio-page-copy p,
  .login-hero p,
  .partners-subtext {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .content-hero-copy h3,
  section > h3,
  .content-section-copy h3 {
    font-size: 1rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }

  .studio-grid,
  .events-list,
  .profile-grid,
  .service-grid,
  .studio-detail-grid,
  .qualification-grid,
  .landing-grid,
  .landing-grid.two-column,
  .landing-grid.three-column,
  .landing-grid-home {
    border-radius: 8px;
  }

  .event-item {
    align-items: flex-start;
  }

  .event-info .meta {
    gap: 0.35rem 0.9rem;
    line-height: 1.4;
  }

  .apply-form,
  .portal-login-card,
  .portal-preview {
    border-radius: 8px;
  }

  input,
  select,
  textarea {
    min-width: 0;
  }

  .form-check {
    line-height: 1.45;
  }

  .footer-column:not(:first-child):not(:last-child) {
    border-left: 0;
    padding-left: 0;
  }

  .partners-flex-container {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 1rem !important;
  }

  .partner-card {
    width: 100%;
    max-width: none !important;
    min-width: 0 !important;
    padding: 1.5rem !important;
  }

  .partner-logo-wrapper {
    max-width: min(240px, 78vw) !important;
  }
}

@media (max-width: 560px) {
  .site-nav {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .logo {
    min-width: 0;
    white-space: normal;
    line-height: 1;
  }

  .hero {
    padding-top: 6.8rem;
  }

  .hero-title,
  .content-hero-copy h1,
  .studio-page-copy h1,
  .login-hero h1 {
    font-size: clamp(2.35rem, 12.5vw, 3.25rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-badge,
  .section-badge {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .event-item {
    grid-template-columns: 1fr;
  }

  .event-date {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    text-align: left;
  }

  .event-date .month {
    margin-top: 0;
  }

  .observation-range button,
  .footer-bottom-links a,
  .footer-bottom-links span {
    width: 100%;
  }

  .line-chart,
  .line-chart svg {
    min-height: 220px;
    height: 220px;
  }

  .admin-secret-dot {
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 390px) {
  .site-nav {
    padding-inline: 0.65rem;
  }

  section,
  .hero,
  .content-hero,
  .studio-page-hero {
    padding-inline: 0.9rem !important;
  }

  .studio-card,
  .login-card,
  .profile-card,
  .service-grid article,
  .studio-detail-grid article,
  .qualification-grid div,
  .section-link-card,
  .application-card,
  .portal-login-card,
  .portal-preview,
  .apply-form {
    padding: 1rem;
  }

  .btn-primary,
  .btn-outline,
  .studio-apply-link,
  .footer-cta-btn {
    padding-inline: 0.85rem;
  }
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(5rem, 12vw, 8rem) clamp(1rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 255, 0, 0.12), transparent 28rem),
    var(--black);
}

.error-shell {
  width: min(720px, 100%);
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.82);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.error-shell h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 10vw, 5.8rem);
  line-height: 0.95;
}

.error-shell p:not(.section-tag) {
  max-width: 520px;
  margin: 0 auto 2rem;
  color: var(--muted);
}
