:root {
  --red: #e8203a;
  --yellow: #fce96a;
  --blue: #1d4f9c;
  --grad: linear-gradient(100deg, #e8203a, #f7931e 28%, #f9d648 50%, #25b8a6 74%, #1d4f9c);
  --ink: #0b0b12;
  --ink-2: #181823;
  --paper: #faf8f4;
  --text: #1a1a24;
  --muted: #6b6b7b;
  --line: rgba(0, 0, 0, 0.1);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 76px; }
body { margin: 0; font-family: "Montserrat", system-ui, sans-serif; color: var(--text); background: var(--paper); line-height: 1.55; overflow-x: hidden; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.08; }
h2 { font-size: clamp(30px, 4.4vw, 54px); font-weight: 800; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.kicker { margin: 0 0 14px; color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.lead { margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.center { max-width: 760px; margin-inline: auto; text-align: center; }
.btn { display: inline-block; padding: 11px 22px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font: 700 15px "Montserrat", sans-serif; text-decoration: none; cursor: pointer; transition: transform 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-line { background: transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55); }
.btn:disabled { opacity: 0.6; cursor: wait; }

.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo img { height: 42px; width: auto; }
.nav nav { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: 15px; }
.nav nav a:not(.btn) { text-decoration: none; }

.hero { position: relative; display: flex; align-items: center; min-height: min(760px, calc(100vh - 68px)); padding: 70px 0; background: var(--ink); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 11, 18, 0.94) 25%, rgba(11, 11, 18, 0.45)); }
.hero-inner { position: relative; z-index: 2; }
.hero .kicker { color: var(--yellow); }
.hero h1 { max-width: 860px; font-size: clamp(42px, 7.4vw, 88px); font-weight: 900; }
.hero em { font-style: normal; color: var(--yellow); }
.sub { max-width: 620px; margin: 24px 0 32px; color: #dddde6; font-size: clamp(16px, 1.6vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 44px 0 0; padding: 0; list-style: none; color: #c9c9d4; font-size: 14px; }
.facts b { display: block; color: #fff; font-size: 34px; font-weight: 800; line-height: 1.1; }

.ticker { overflow: hidden; padding: 15px 0; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; }
.ticker-track { will-change: transform; display: flex; width: max-content; gap: 34px; animation: slide 40s linear infinite; }
.ticker-track span { white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: start; }
.photos { position: relative; padding-bottom: 70px; }
.photos img { width: 84%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.photos img + img { position: absolute; right: 0; bottom: 0; width: 58%; border: 7px solid var(--paper); }
.why-list { display: grid; gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.why-list li { padding-left: 18px; border-left: 3px solid var(--red); }
.why-list b, .why-list span { display: block; }
.why-list span { color: var(--muted); font-size: 15px; }

.band { padding: clamp(56px, 8vw, 100px) 0; background: #fbe64f; }
.band .kicker { color: var(--ink); }
.band-head { max-width: 760px; }
.band img { width: 100%; margin: 20px 0; border-radius: 14px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; }
.cats span { padding: 7px 13px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }

.map-section { background: #fff; }
.map { margin: 26px auto 0; }

.dark { background: var(--ink); color: #fff; }
.dark .kicker { color: var(--yellow); }
.dark .lead { color: #c9c9d4; }
.sticky { position: sticky; top: 96px; }
.note { display: inline-block; margin: 26px 0 0; padding: 14px 18px; background: var(--yellow); color: var(--ink); border-radius: 4px; transform: rotate(-1.5deg); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; counter-increment: s; padding: 0 0 34px 76px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--grad); background-size: 700% 100%; color: var(--ink); font-weight: 800; }
.steps li:nth-child(2)::before { background-position: 16% 0; }
.steps li:nth-child(3)::before { background-position: 33% 0; }
.steps li:nth-child(4)::before { background-position: 50% 0; }
.steps li:nth-child(5)::before { background-position: 66% 0; }
.steps li:nth-child(6)::before { background-position: 83% 0; }
.steps li:nth-child(7)::before { background-position: 100% 0; color: #fff; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 24px; top: 56px; bottom: 6px; width: 2px; background: rgba(255, 255, 255, 0.18); }
.steps h3 { padding-top: 3px; font-size: 21px; }
.steps p { margin: 6px 0 0; color: #c9c9d4; }

.register .split { grid-template-columns: 2fr 3fr; }
.ready { margin: 14px 0 26px; padding-left: 20px; font-weight: 600; }
.register .sticky img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; }
.form-card { padding: clamp(20px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.4); }
input, select { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); font: 500 15px "Montserrat", sans-serif; }
input[type="file"] { padding: 9px; font-size: 13px; }
input:focus-visible, select:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; align-content: start; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hint { color: var(--muted); font-size: 13px; }
.msg { min-height: 22px; font-weight: 600; font-size: 14px; color: var(--red); }
.msg.ok { color: #0d7c6e; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; }

.footer { background: var(--ink); color: #b9b9c6; font-size: 14px; }
.foot-line { height: 4px; background: var(--grad); }
.foot-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: clamp(44px, 6vw, 72px) 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.foot-cta h2 { max-width: 680px; color: #fff; font-size: clamp(26px, 3.6vw, 42px); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1.3fr 1fr 1.1fr; gap: 36px; padding: 48px 0; }
.foot-grid > * { min-width: 0; }
.footer h3 { margin-bottom: 14px; color: var(--yellow); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.footer p { margin: 0 0 14px; line-height: 1.7; overflow-wrap: anywhere; }
.footer a { color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: var(--yellow); }
.foot-logo { display: inline-block; margin-bottom: 14px; padding: 8px 12px; background: #fff; border-radius: 12px; }
.foot-logo img { height: 42px; width: auto; }
.foot-cities { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.foot-cities li { padding: 4px 10px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; font-size: 12px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.35s, transform 0.35s; }
.reveal.in { opacity: 1; transform: none; }

/* Team directory */
.login { display: grid; place-items: center; min-height: 100vh; padding: 16px; background: linear-gradient(rgba(11, 11, 18, 0.72), rgba(11, 11, 18, 0.88)), url("assets/story-concert.jpg") center / cover; }
.login form { display: grid; gap: 16px; width: min(400px, 100%); padding: 32px; background: #fff; border-radius: 22px; box-shadow: 0 40px 80px -30px #000; animation: pop 0.3s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.97); } }
.login-sub { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.pass { position: relative; display: block; }
.pass input { padding-right: 48px; }
.pass button { position: absolute; top: 3px; right: 3px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.pass button:hover { color: var(--text); }
.login img { height: 48px; width: auto; }
.login h1 { font-size: 28px; font-weight: 800; }
.login .btn { width: 100%; }
.dhero { padding: 20px 0 76px; background: linear-gradient(110deg, #123a5c, var(--ink) 45%, #3a1540); color: #fff; }
.dhero .kicker { color: var(--yellow); }
.dhero h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 900; }
.dbar-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
dialog.wide { display: none; width: min(780px, 100%); padding: 24px 24px 0; }
dialog.wide[open] { display: flex; flex-direction: column; }
dialog.wide h2 { margin: 0 44px 14px 0; font-size: 24px; }
dialog.wide iframe { flex: 1; width: 100%; border: 0; }
.embed body { background: #fff; }
.embed .nav, .embed .footer, .embed main > :not(#register), .embed #register .sticky { display: none; }
.embed #register { padding: 0 0 24px; }
.embed #register .split { display: block; }
.embed .wrap { width: 100%; }
.embed .form-card { margin: 0; padding: 2px; border: 0; box-shadow: none; }
.dbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 44px; }
.dlogo { padding: 6px 10px; background: #fff; border-radius: 10px; }
.dlogo img { height: 36px; width: auto; }
.dstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 30px; }
.dstats div { padding: 16px 18px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px; color: #c9c9d4; font-size: 13px; }
.dstats b { display: block; color: #fff; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; }
.dmain { position: relative; margin-top: -40px; padding-bottom: 70px; }
.toolbar { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto; gap: 10px; padding: 12px; background: #fff; border-radius: 18px; box-shadow: 0 22px 44px -28px rgba(0, 0, 0, 0.5); }
.toolbar > * { min-width: 0; }
.views { display: flex; padding: 3px; background: var(--paper); border-radius: 10px; }
.views button { padding: 0 16px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: 700 14px "Montserrat", sans-serif; cursor: pointer; }
.views .on { background: var(--ink); color: #fff; }
.countbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 14px 2px; }
.countbar .act { background: #fff; color: var(--text); font-family: inherit; cursor: pointer; }
.countbar .acts { margin: 0; }
.count { margin: 0; color: var(--muted); font-size: 14px; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.vcard { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; cursor: pointer; overflow-wrap: anywhere; transition: transform 0.2s; content-visibility: auto; contain-intrinsic-size: auto 240px; }
.vcard:hover, .vcard:focus-visible { transform: translateY(-4px); border-color: rgba(0, 0, 0, 0.3); outline: none; }
.vtop { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vtop h3 { font-size: 17px; letter-spacing: -0.01em; line-height: 1.25; }
.vtop p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.avatar { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; font-weight: 800; font-size: 15px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills span { padding: 4px 10px; background: #f3f0e8; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pills .more { background: var(--ink); color: #fff; }
.pills .more { cursor: default; }
.tip { position: fixed; z-index: 30; display: grid; gap: 6px; max-width: 280px; padding: 12px 14px; background: var(--ink); color: #fff; border-radius: 12px; font-size: 13px; font-weight: 600; box-shadow: 0 16px 32px -14px rgba(0, 0, 0, 0.6); pointer-events: none; }
.vcity { margin: 0; color: var(--muted); font-size: 13px; }
.vcontact { margin: -6px 0 0; font-size: 14px; font-weight: 600; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.act { padding: 7px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; }
.act:hover { background: var(--ink); color: #fff; }
.vtable { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 14px; }
th { padding: 14px 16px; background: var(--ink); color: #fff; font-size: 12px; letter-spacing: 0.04em; text-align: left; text-transform: uppercase; white-space: nowrap; }
td { padding: 11px 16px; border-top: 1px solid var(--line); }
td .pills { flex-wrap: nowrap; align-items: center; }
td .pills span { white-space: nowrap; }
tbody tr { cursor: pointer; }
tbody tr:hover { background: var(--paper); }
.tcompany { display: flex; align-items: center; gap: 10px; }
.tcompany .avatar { width: 36px; height: 36px; border-radius: 10px; font-size: 12px; }
.tcompany button { padding: 0; border: 0; background: none; color: var(--text); font: 700 14px "Montserrat", sans-serif; text-align: left; cursor: pointer; }
dialog { width: min(480px, 100%); max-width: 100%; height: 100%; max-height: 100%; margin: 0 0 0 auto; padding: 28px; border: 0; overflow-wrap: anywhere; overflow-y: auto; }
dialog[open] { animation: drawer 0.25s ease-out; }
@keyframes drawer { from { transform: translateX(40px); opacity: 0; } }
dialog::backdrop { background: rgba(11, 11, 18, 0.65); }
.drawer-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--paper); font-size: 22px; cursor: pointer; }
.drawer-head { display: flex; align-items: center; gap: 14px; margin: 18px 40px 18px 0; }
.drawer-head h2 { font-size: 24px; }
.drawer-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.drawer-head .avatar { width: 58px; height: 58px; font-size: 18px; }
dialog h3 { margin: 24px 0 10px; color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
dialog dl { display: grid; grid-template-columns: 120px 1fr; gap: 9px 12px; margin: 0; font-size: 14px; }
dialog dt { color: var(--muted); }
dialog dd { margin: 0; font-weight: 600; }
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.doc { display: flex; justify-content: space-between; gap: 8px; padding: 13px 14px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; font: 500 13px "Montserrat", sans-serif; cursor: pointer; }
.doc span { color: var(--yellow); }

@media (max-width: 860px) {
  .split, .register .split { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .sticky { position: static; }
  .nav nav a:not(.btn) { display: none; }
}
@media (max-width: 960px) {
  .toolbar { grid-template-columns: 1fr 1fr; }
  .toolbar #q, .views { grid-column: 1 / -1; }
  .views button { flex: 1; padding: 10px; }
}
@media (max-width: 560px) {
  .two, .foot-grid { grid-template-columns: 1fr; }
  .foot-cta .btn { width: 100%; text-align: center; }
  .dstats { grid-template-columns: 1fr 1fr; }
  .vgrid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
.form-step { display: flex; align-items: center; gap: 10px; margin: 30px 0 16px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 17px; letter-spacing: -0.01em; }
.form-step:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.form-step span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); font-size: 13px; }
.picker { position: relative; }
.picker-title { margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags:not(:empty) { margin-bottom: 8px; }
.tag { padding: 6px 11px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 12px "Montserrat", sans-serif; cursor: pointer; }
.picker-list { position: absolute; z-index: 5; left: 0; right: 0; max-height: 230px; margin-top: 4px; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.45); }
.picker-list button { display: block; width: 100%; padding: 11px 14px; border: 0; background: none; color: var(--text); font: 500 14px "Montserrat", sans-serif; text-align: left; cursor: pointer; }
.picker-list button:hover { background: var(--paper); }
.picker-list .add { color: var(--red); font-weight: 700; }
.files { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.file { position: relative; padding: 18px 14px; border: 1.5px dashed rgba(0, 0, 0, 0.25); border-radius: 14px; text-align: center; cursor: pointer; overflow-wrap: anywhere; }
.file:hover, .file:focus-within { border-color: var(--blue); }
.file.has-file { border-style: solid; border-color: #0d7c6e; background: #effaf7; }
.file small { color: var(--muted); font-weight: 500; }
.file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
@media (max-width: 560px) { .files { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }

/* Device fine-tuning */
img, input, select, button { max-width: 100%; }
.two > *, .split > *, .files > * { min-width: 0; }
.tag { max-width: 100%; overflow-wrap: anywhere; text-align: left; }
@media (min-width: 1800px) {
  .wrap { width: min(1560px, 100% - 120px); }
  body { font-size: 18px; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .split, .register .split { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .register .sticky img { display: none; }
  .photos { max-width: 640px; }
}
@media (max-width: 860px) {
  .register .sticky img { display: none; }
  .photos { max-width: 560px; }
  .hero::before { background: rgba(11, 11, 18, 0.78); }
}
@media (max-width: 560px) {
  .band img { min-height: 190px; object-fit: cover; }
  .steps li { padding-left: 62px; }
  .form-card { margin-inline: -4px; padding: 18px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  input, select { font-size: 16px; } /* stops iOS zooming on focus */
}
@media (max-width: 360px) {
  .logo img { height: 34px; }
  .nav .btn { padding: 9px 15px; font-size: 14px; }
  .facts { gap: 12px 24px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 0; padding: 40px 0; }
  .nav { position: static; }
  .sticky { position: static; }
  .picker-list { max-height: 150px; }
}
@media (hover: none) {
  .btn:hover, .card:hover { transform: none; box-shadow: none; }
}
