/* Teen Culture Takeover.
   Palette and type follow the Mayor's Office "Summer in NYC" site: orange as the
   dominant ground, a bright blue for display type and actions, blue-cast darks,
   IBM Plex Serif against Instrument Sans, modest radii with pill buttons.
   Colour values are their published tokens, not eyeballed from a screenshot. */

:root{
  /* ground */
  --orange:#FE9901;        /* orange-500 - primary background */
  --orange-deep:#C67910;   /* orange-600 - rules and hovers on orange */
  --orange-pale:#FFF5E8;   /* orange-50  - soft content surface */

  /* accent */
  --blue:#2439C9;          /* blue-400 - the bright one */
  --blue-deep:#1601AE;     /* blue-500 - hover / depth */
  --blue-ink:#04004B;      /* blue-700 - body text on orange */
  --blue-night:#010029;    /* blue-800 - footer, utility bar */

  --ember:#F1140C;
  --leaf:#036D01;
  --white:#fff;

  --rule:#E4DCCB;
  --muted:#4A5270;
  --focus:#04004B;

  --maxw:1160px;

  --sans:"Instrument Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --display:"IBM Plex Serif",Georgia,Cambria,"Times New Roman",serif;

  --r-sm:6px;
  --r-md:12px;
  --r-lg:16px;
  --r-pill:9999px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--orange);color:var(--blue-ink);
  font-family:var(--sans);font-size:17px;line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}

/* focus visibility */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{
  outline:3px solid var(--focus);outline-offset:2px;border-radius:var(--r-sm);
}
/* dark navy vanishes on the dark bands; switch the ring to orange there */
.utility a:focus-visible,.masthead a:focus-visible,footer a:focus-visible,.stats a:focus-visible{
  outline-color:var(--orange);
}
.skip{position:absolute;left:-9999px;top:0;background:var(--white);color:var(--blue-ink);padding:12px 18px;z-index:100}
.skip:focus{left:12px;top:12px}

/* ---------- utility bar ---------- */
.utility{background:var(--blue-night);color:#B9C3E8;font-size:13px}
.utility .wrap{display:flex;gap:20px;align-items:center;justify-content:space-between;min-height:40px;flex-wrap:wrap}
.utility a{color:#B9C3E8;text-decoration:none}
.utility a:hover{color:var(--orange)}
.utility nav{display:flex;gap:20px;flex-wrap:wrap}

/* ---------- masthead ---------- */
/* Bright blue band. The TDF wordmark is white artwork, so it needs a dark ground. */
.masthead{background:var(--blue);border-bottom:1px solid rgba(255,255,255,.18)}
.masthead .wrap{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:92px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:16px;text-decoration:none}
.brand img{height:46px;width:auto}
.brand .sub{
  font-size:12px;line-height:1.35;color:#C5CCF2;max-width:190px;letter-spacing:.02em;
  padding-left:16px;border-left:1px solid rgba(255,255,255,.3);
}
.mainnav{display:flex;gap:26px;flex-wrap:wrap;font-size:15px;font-weight:600}
.mainnav a{text-decoration:none;padding:6px 0;border-bottom:2px solid transparent;color:#EDF0FF}
.mainnav a:hover{border-bottom-color:var(--orange);color:var(--orange)}
.mainnav a[aria-current]{border-bottom-color:var(--orange);color:var(--white)}

/* ---------- hero ---------- */
.hero{background:var(--orange);color:var(--blue-ink);position:relative;overflow:hidden}
.hero .wrap{position:relative;padding:80px 24px 90px}
.eyebrow{
  display:inline-block;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--white);background:var(--blue);padding:8px 16px;border-radius:var(--r-pill);margin-bottom:26px;
  transform:rotate(-1.5deg);
}
.hero h1{
  font-family:var(--display);
  margin:0 0 20px;font-size:clamp(52px,10vw,116px);line-height:.94;
  letter-spacing:-.02em;font-weight:700;max-width:14ch;color:var(--blue);
}
.hero h1 em{font-style:italic;color:var(--white)}
.hero p{font-size:clamp(17px,2.1vw,21px);color:var(--blue-ink);max-width:56ch;margin:0 0 34px}
.cta-row{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.btn{
  display:inline-block;font-weight:700;font-size:16px;text-decoration:none;cursor:pointer;
  padding:15px 30px;border-radius:var(--r-pill);border:2px solid transparent;
  transition:transform .12s ease,background .12s ease;
}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--blue);color:var(--white)}
.btn-primary:hover{background:var(--blue-deep)}
.btn-ghost{border-color:var(--blue);color:var(--blue)}
.btn-ghost:hover{background:var(--blue);color:var(--white)}
.hero .fineprint{margin:26px 0 0;font-size:14px;color:#6B4A12}

/* ---------- stat strip ---------- */
.stats{background:var(--blue);color:var(--white)}
.stats .wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:0}
.stat{padding:34px 24px;border-left:1px solid rgba(255,255,255,.25)}
.stat:first-child{border-left:0;padding-left:24px}
/* Sized for short phrases, not bare numerals - "7 Broadway Hits" has to fit. */
.stat .n{
  font-family:var(--display);
  font-size:clamp(24px,3.2vw,36px);font-weight:700;line-height:1.1;letter-spacing:-.02em;
  color:var(--orange);text-wrap:balance;
}
.stat .l{font-size:15px;font-weight:600;margin-top:10px;color:#C5CCF2;max-width:30ch}

/* ---------- generic section ---------- */
section{padding:80px 0}
.section-head{max-width:62ch;margin-bottom:44px}
.kicker{
  font-size:13px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;
  color:var(--blue);margin:0 0 12px;
}
h2{
  font-family:var(--display);
  font-size:clamp(30px,4.6vw,46px);line-height:1.1;letter-spacing:-.015em;margin:0 0 16px;font-weight:700;
  color:var(--blue);
}
h3{font-size:20px;margin:0 0 10px;letter-spacing:-.01em;font-weight:700}
.lede{font-size:19px;color:var(--muted);margin:0}
p{margin:0 0 16px}

/* ---------- steps (white cards on the orange ground) ---------- */
#about{background:var(--orange)}
#about .kicker{color:var(--blue)}
#about .lede{color:var(--blue-ink)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.step{background:var(--white);border:0;border-radius:var(--r-lg);padding:30px 28px 32px}
.step .num{
  width:48px;height:48px;border-radius:50%;
  display:grid;place-items:center;font-weight:700;font-size:20px;margin-bottom:18px;
  font-family:var(--display);
  background:var(--blue);color:var(--white);
}
/* rotate the accent so the row is not three identical badges */
.step:nth-child(2) .num{background:var(--orange);color:var(--blue-ink)}
.step:nth-child(3) .num{background:var(--blue-night);color:var(--orange)}
.step h3{color:var(--blue)}
.step p{color:var(--muted);font-size:16px;margin:0}

/* ---------- shows ---------- */
.shows{background:var(--white)}
.grid-shows{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.card{
  border:1px solid var(--rule);border-radius:var(--r-lg);overflow:hidden;
  background:var(--orange-pale);display:flex;flex-direction:column;
}
.card .art{aspect-ratio:3/2;background:linear-gradient(135deg,var(--blue),var(--blue-night));position:relative;display:grid;place-items:center}
.card .art span{color:rgba(255,255,255,.34);font-size:13px;letter-spacing:.18em;text-transform:uppercase;font-weight:700}
.card:nth-child(3n+2) .art{background:linear-gradient(135deg,var(--orange),#8A5A00)}
.card:nth-child(3n) .art{background:linear-gradient(135deg,var(--blue-deep),var(--blue-night))}
.card .body{padding:22px 22px 26px;flex:1;display:flex;flex-direction:column}
.tag{
  display:inline-block;align-self:flex-start;font-size:12px;font-weight:700;letter-spacing:.09em;
  text-transform:uppercase;background:var(--blue);color:var(--white);
  padding:5px 11px;border-radius:var(--r-pill);margin-bottom:14px;
}
.card:nth-child(3n+2) .tag{background:var(--orange);color:var(--blue-ink)}
.card:nth-child(3n) .tag{background:var(--blue-night);color:var(--orange)}
.card h3{font-family:var(--display);font-size:21px;font-weight:700;color:var(--blue)}
.card p{color:var(--muted);font-size:15px;margin:0 0 16px}
.card .meta{margin-top:auto;font-size:14px;font-weight:600;color:var(--blue-ink);padding-top:14px;border-top:1px solid var(--rule)}

/* ---------- form ---------- */
.register{background:var(--orange-pale)}
.formwrap{
  background:var(--white);border:1px solid var(--rule);border-radius:var(--r-lg);
  padding:44px;max-width:860px;margin:0 auto;
}
fieldset{border:0;padding:0;margin:0 0 34px}
legend{
  font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--blue);padding:0;margin-bottom:18px;
}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.field{display:flex;flex-direction:column}
.field.full{grid-column:1 / -1}
label{font-size:14px;font-weight:700;margin-bottom:7px}
.hint{font-size:13px;color:var(--muted);font-weight:400;margin-top:6px}
/* public / private path chooser */
.path-choice{
  border:1px solid var(--rule);border-radius:var(--r-md);
  background:var(--orange-pale);padding:18px 20px 8px;margin:0;
}
.path-legend{
  font-size:15px;font-weight:700;letter-spacing:0;text-transform:none;
  color:var(--blue-ink);margin:0;padding:0 0 12px;float:left;width:100%;
}
.radio-row{
  display:flex;align-items:center;gap:12px;cursor:pointer;
  padding:11px 14px;margin-bottom:10px;border-radius:var(--r-sm);
  background:var(--white);border:1px solid var(--rule);
  font-size:16px;font-weight:600;
}
.radio-row:hover{border-color:var(--blue)}
.radio-row input[type="radio"]{
  width:20px;height:20px;flex:0 0 auto;margin:0;accent-color:var(--blue);cursor:pointer;
}
.radio-row:has(input:checked){border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}
input,select{
  font-family:inherit;font-size:16px;padding:13px 14px;border:1px solid #C3BCAC;
  border-radius:var(--r-sm);background:var(--white);color:var(--blue-ink);width:100%;
}
input:hover,select:hover{border-color:var(--blue)}
select:disabled{background:#F5F0E7;color:#8A8578;cursor:not-allowed;border-color:#DED6C8}
select:disabled:hover{border-color:#DED6C8}
/* .field is display:flex, which would beat the default [hidden] rule */
.field[hidden]{display:none}
.req{color:var(--ember);font-weight:700}
.form-foot{border-top:1px solid var(--rule);padding-top:26px;display:flex;flex-direction:column;gap:20px;align-items:flex-start}
.form-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.form-foot .btn-primary{background:var(--blue);color:var(--white)}
.form-foot .btn-primary:hover{background:var(--blue-deep)}
.form-foot .btn-primary:disabled{background:#8A90AB;cursor:not-allowed}
.form-foot small{color:var(--muted);font-size:14px;max-width:42ch}

/* error banner */
.form-error{
  background:#FFECE5;border:1px solid #FFC3B2;border-left:4px solid var(--ember);
  color:#7A1C15;padding:14px 16px;border-radius:var(--r-md);margin:0;font-size:15px;
  font-weight:600;width:100%;
}
.form-error[hidden]{display:none}

/* confirmation panel */
.confirmation{text-align:center}
.confirmation[hidden]{display:none}
.confirm-badge{
  width:68px;height:68px;border-radius:50%;background:#D1E1CC;color:var(--leaf);
  display:grid;place-items:center;font-size:34px;font-weight:700;margin:0 auto 22px;
}
.confirmation h3{font-family:var(--display);font-size:30px;font-weight:700;margin-bottom:12px;color:var(--blue)}
.confirmation p{color:var(--muted);max-width:52ch;margin:0 auto 18px}
.ref-box{
  background:var(--orange-pale);border:2px dashed var(--orange);border-radius:var(--r-md);
  padding:24px;margin:26px auto 18px;max-width:420px;
}
.ref-box span{display:block;font-size:13px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--blue);margin-bottom:10px}
.ref-box strong{font-family:var(--display);font-size:32px;letter-spacing:.05em;font-variant-numeric:tabular-nums;color:var(--blue-ink)}

/* ---------- faq ---------- */
.faq{background:var(--white);border-top:1px solid var(--rule)}
details{border-bottom:1px solid var(--rule);padding:22px 0}
summary{font-weight:700;font-size:18px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px;align-items:center;color:var(--blue-ink)}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-size:28px;font-weight:400;color:var(--blue);line-height:1}
details[open] summary::after{content:"\2013"}
details p{margin:14px 0 0;color:var(--muted);max-width:72ch}

/* ---------- footer ---------- */
footer{background:var(--blue-night);color:#A9B3DC;padding:64px 0 40px;font-size:15px}
.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;margin-bottom:44px}
footer h4{color:var(--orange);font-size:14px;letter-spacing:.12em;text-transform:uppercase;margin:0 0 16px;font-weight:700}
footer ul{list-style:none;margin:0;padding:0}
footer li{margin-bottom:10px}
footer a{text-decoration:none}
footer a:hover{color:var(--orange)}
.foot-brand img{height:38px;width:auto;margin-bottom:18px}
.foot-brand p{max-width:38ch;color:#8B95C4;font-size:14px}
.legal{border-top:1px solid rgba(255,255,255,.16);padding-top:26px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:13px;color:#7E88B8}

/* ---------- mockup banner ---------- */
.mockup-flag{
  background:var(--ember);color:#fff;text-align:center;font-size:13px;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;padding:8px 16px;
}

@media (max-width:900px){
  .grid-shows,.steps{grid-template-columns:1fr 1fr}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:680px){
  section{padding:56px 0}
  .hero .wrap{padding:56px 24px 62px}
  .stats .wrap{grid-template-columns:1fr}
  .stat{border-left:0;border-top:1px solid rgba(255,255,255,.25)}
  .stat:first-child{border-top:0}
  .grid-shows,.steps,.field-grid,.foot-grid{grid-template-columns:1fr}
  .formwrap{padding:28px 22px}
  .mainnav{gap:16px;font-size:14px}
}
