/* ===== The Improf: styles ===== */
:root {
  --navy: #012552;
  --navy-deep: #011B3D;
  --navy-card: #0B3466;
  --navy-tint: #E8EDF5;
  --pink: #B5177E;          /* text + buttons (accessible) */
  --pink-bright: #FE66C4;   /* logo pink, accents on navy */
  --pink-tint: #FFEAF6;
  --pink-soft: #FFF6FB;
  --pink-line: #F4C3E1;
  --body: #3A4350;
  --muted: #4A5462;
  --line: #B8C2CF;
  --chip: #F1F3F8;
  --white: #FFFFFF;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --text: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --radius-lg: 24px;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--navy); }
a:hover { color: var(--pink); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-xl { display: flex; flex-direction: column; gap: 56px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px; align-items: center; }
.split-top { align-items: start; }

.kicker { font-weight: 700; font-size: 16px; color: var(--pink); }
.kicker-light { color: var(--pink-bright); }
.lead { font-size: 18px; line-height: 1.65; color: var(--body); max-width: 62ch; }
.h-big { font-weight: 800; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.03; letter-spacing: -0.025em; }
.h-sub { font-weight: 800; font-size: clamp(24px, 2.6vw, 30px); }

.photo { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.photo-square { aspect-ratio: 1 / 1; object-position: center top; }
.photo-portrait { aspect-ratio: 4 / 5; object-position: center top; max-width: 460px; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 17px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
}
.btn-youth { background: var(--pink); color: #fff; }
.btn-youth:hover { background: #96106A; color: #fff; }
.btn-corp { background: var(--navy); color: #fff; }
.btn-corp:hover { background: #0A3A78; color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid #E4E7EB; background: #fff; padding-top: env(safe-area-inset-top); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; }
.brand-tag { font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-weight: 600; font-size: 15px; }
.site-nav > a { text-decoration: none; padding: 10px 0; }
.switch { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #F1F3F5; }
.switch-btn { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; background: transparent; color: var(--muted); }
.switch-btn[data-pick="youth"][aria-pressed="true"] { background: var(--pink); color: #fff; }
.switch-btn[data-pick="corporate"][aria-pressed="true"] { background: var(--navy); color: #fff; }

/* ---------- Hero + chooser ---------- */
.hero { padding-top: clamp(44px, 7vw, 80px); padding-bottom: clamp(48px, 6vw, 72px); }
.hero h1 { margin-top: 14px; max-width: 18ch; font-weight: 800; font-size: clamp(36px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -0.03em; }
.hero-aside { margin-top: 22px; font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); color: var(--pink); }
.chooser-head { margin-top: clamp(48px, 6vw, 72px); display: flex; flex-direction: column; gap: 4px; }
.chooser-note { font-size: 17px; color: var(--muted); }
.chooser-head h2 { font-weight: 800; font-size: clamp(26px, 3.2vw, 38px); }
.chooser { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.pick {
  text-align: left; font: inherit; color: var(--navy); cursor: pointer;
  padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-lg); border: 3px solid transparent;
  display: flex; flex-direction: column; gap: 16px; min-height: 280px;
  transition: transform .18s ease, border-color .18s ease;
}
.pick:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .pick, .pick:hover { transition: none; transform: none; } }
.pick-youth { background: var(--pink-tint); --accent: var(--pink); }
.pick-corp { background: var(--navy-tint); --accent: var(--navy); }
.pick[aria-pressed="true"] { border-color: var(--accent); }
.pick-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pick-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent); }
.pick-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pick-tag { font-weight: 700; font-size: 14px; color: var(--accent); }
.pick-title { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3vw, 36px); line-height: 1.05; letter-spacing: -0.02em; }
.pick-body { font-size: 17px; line-height: 1.5; color: var(--body); }
.pick-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); }
.pick-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Audience sections ---------- */
.audience { padding: clamp(56px, 7vw, 88px) 0; scroll-margin-top: 0; }
.audience h2 { font-weight: 800; font-size: clamp(32px, 4.2vw, 50px); line-height: 1.05; }
.audience-youth { background: var(--pink-tint); }
.audience-corp { background: var(--navy-tint); }
.audience-corp .kicker { color: var(--navy); }
.audience.is-entering { animation: enter .45s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .audience.is-entering { animation: none; } }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.card { background: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-weight: 700; font-size: 24px; }
.card p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.card .card-detail { font-weight: 600; font-size: 15px; color: var(--pink); }
.card-detail:empty { display: none; }

.wide-photo { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.wide-photo .photo { aspect-ratio: 16 / 9; object-position: center 35%; }
.wide-photo figcaption { font-size: 15px; color: var(--muted); }

.location { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 20px 26px; border-radius: var(--radius); border: 2px solid var(--pink-line); background: var(--pink-soft); font-size: 16px; }
.location svg { width: 26px; height: 26px; flex-shrink: 0; fill: none; stroke: var(--pink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps li > span:last-child { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.steps strong { font-size: 18px; color: var(--navy); }
.step-num { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 800; font-size: 18px; }

.orgs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 14px; }
.orgs li { min-height: 64px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; text-align: center; padding: 8px; }

/* ---------- Carousel ---------- */
.carousel { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.audience-youth .carousel { --accent: var(--pink); }
.audience-corp .carousel { --accent: var(--navy); }
.carousel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.carousel-title { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--accent); }
.carousel-pos { font-size: 15px; font-weight: 600; color: var(--muted); }
.quote { margin: 0; display: flex; flex-direction: column; gap: 18px; min-height: 240px; }
.quote svg { width: 40px; height: 32px; fill: var(--accent); }
.quote blockquote { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; max-width: 46ch; }
.quote figcaption { margin-top: auto; font-size: 16px; color: var(--muted); }
.quote figcaption strong { color: var(--navy); }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dots { display: flex; flex-wrap: wrap; }
.dot { width: 36px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.dot span { display: block; width: 8px; height: 8px; border-radius: 999px; background: var(--line); transition: width .2s ease; }
.dot[aria-current="true"] span { width: 24px; background: var(--accent); }
.arrows { display: flex; gap: 10px; }
.arrow { width: 48px; height: 48px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--navy); background: #fff; color: var(--navy); }
.arrow-next { border-color: var(--accent); background: var(--accent); color: #fff; }
.arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Why improv ---------- */
.why { padding-top: clamp(64px, 8vw, 96px); padding-bottom: clamp(64px, 8vw, 96px); }
.why-photo { margin-top: 12px; }
.groups { display: flex; flex-direction: column; gap: 32px; }
.group h3 { font-family: var(--text); font-weight: 700; font-size: 17px; letter-spacing: 0; color: var(--pink); margin-bottom: 12px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--chip); font-weight: 600; font-size: 16px; }
/* Each audience sees its most relevant list first */
.g-soft { order: 1; } .g-team { order: 2; } .g-personal { order: 3; }
body.view-youth .g-personal { order: 0; }
body.view-corporate .g-team { order: 0; }

/* ---------- About ---------- */
.about { background: var(--navy); color: #fff; padding: clamp(64px, 8vw, 96px) 0; }
.about h2 { font-weight: 800; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; }
.about .lead { color: #DCE2E8; }
.about-photo { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.about-photo .photo { aspect-ratio: 5 / 6; object-position: center top; max-width: 480px; }
.about-photo figcaption { font-size: 13px; color: #C9D1DA; }
.about-fun { font-family: var(--display); font-weight: 700; font-size: 22px; }
.stats { margin: 8px 0 0; padding-top: 24px; border-top: 1px solid #2A4A75; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.stats div { display: flex; flex-direction: column; gap: 4px; }
.stats dt { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--pink-bright); }
.stats dd { margin: 0; font-size: 15px; color: #DCE2E8; }
.about .h-sub { color: #fff; }
.journey { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px; counter-reset: j; }
.journey li { position: relative; background: var(--navy-card); border-radius: var(--radius); padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 10px; border-top: 4px dashed var(--pink-bright); }
.journey-label { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--pink-bright); }
.journey p { font-size: 17px; line-height: 1.5; color: #fff; }

/* ---------- Contact ---------- */
.contact { background: var(--pink-soft); padding: clamp(64px, 8vw, 96px) 0; scroll-margin-top: 0; }
.contact-place { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--body); }
.contact-place strong { color: var(--navy); }
.form { background: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 34px); border: 1px solid #F1D3E5; display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--navy); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--pink); outline-offset: 1px; border-color: var(--pink); }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #DCE2E8; padding: 56px 0 calc(48px + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.footer-inner > img { width: 200px; }
.footer-logo { width: 180px; height: auto; border-radius: 16px; }
.footer-info { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer-line { font-weight: 600; color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a { color: #DCE2E8; }
.footer-links a:hover { color: var(--pink-bright); }
.footer-copy { font-size: 14px; color: #A9B6C6; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-nav { width: 100%; gap: 4px 22px; }
  .switch { width: 100%; }
  .switch-btn { flex: 1; min-height: 44px; font-size: 15px; }
  .stack-xl { gap: 44px; }
}
