/* PMC main-site proportions, applied to the competition's existing visual world. */
:root{--pmc-control-radius:10px;--pmc-control-height:40px;--pmc-section-heading:30px;--pmc-body-size:18px}
body{font-size:16px;line-height:1.5}
h1,h2,h3{text-wrap:balance}
.heading-1{font-size:48px;line-height:1.1;letter-spacing:-.025em;font-weight:500}
.heading-2,.folder-card .heading-2{font-size:var(--pmc-section-heading);line-height:1.2;letter-spacing:-.025em;font-weight:500}
.body-xl,.body-lg{font-size:var(--pmc-body-size);line-height:1.5;letter-spacing:0}
.folder-card .body-xl p{line-height:1.5}
.involvement-copy{font-size:18px;line-height:1.5;letter-spacing:0}
.folder-card h2.body-lg{font-size:20px;line-height:1.3;letter-spacing:-.025em;font-weight:500}
.folder-card:has(.partner-selectors)>div>p{font-size:18px;line-height:1.3;letter-spacing:0;font-weight:500}
.competition-stats-grid h3{font-size:36px;line-height:1.1}
.competition-stats-grid h3 .body-sm{font-size:12px;line-height:1.4;letter-spacing:0}
#home-hero .hero-copy h1{font-size:48px;line-height:1.1;letter-spacing:-.025em}
#home-hero .hero-copy>p{max-width:480px;font-size:18px;line-height:1.5;letter-spacing:0}
#home-hero .hero-content{max-width:calc(100% - 40px)}
[data-slot="button"],nav .nav-apply{min-height:var(--pmc-control-height);border-radius:var(--pmc-control-radius);font-size:16px;line-height:1.2;font-weight:500;letter-spacing:0;text-transform:none;transition:background-color 150ms ease-out,color 150ms ease-out}
[data-slot="button"]:focus-visible,a:focus-visible,button:focus-visible{outline:2px solid var(--brand-primary);outline-offset:4px}
.competition-closing h2{max-width:560px;font-size:48px;line-height:1.1;letter-spacing:-.025em;font-weight:500}
.competition-closing p{font-size:18px;line-height:1.5;letter-spacing:0;color:var(--muted-foreground)}
/* Authentic PMC media uses the main site's quiet grayscale-to-color treatment. */
.competition-feature .homecoming-bg{border-radius:12px}
@media(min-width:1421px){
  .competition-feature .homecoming-bg{
    background-size:calc(40% - 96px) auto;
    background-position:right 48px bottom 40px;
  }
}
.competition-media{width:100%;margin:0;padding:0;min-width:0}
.competition-media img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center;border-radius:10px;filter:grayscale(1);transition:filter 350ms cubic-bezier(0,0,.2,1)}
.competition-media figcaption{margin-top:12px;padding-inline:12px;font-size:12px;line-height:1.5;color:var(--muted-foreground)}
@media(hover:hover){.competition-media:hover img{filter:grayscale(0)}}
/* Match PMC's small component family without changing folder silhouettes. */
.partner-selectors button{min-height:36px;font-size:12px;border-radius:6px;letter-spacing:0}
footer{width:min(1168px,100%);font-size:14px;line-height:1.5}
footer .nav-logo{display:block;width:48px;height:23px}
@media(max-width:767px){
  .heading-1,#home-hero .hero-copy h1{font-size:32px}
  .heading-2,.folder-card .heading-2{font-size:28px}
  .body-xl,.body-lg,.involvement-copy{font-size:16px;line-height:1.5}
  .competition-closing h2{font-size:36px}
  .competition-closing p{font-size:16px}
  .competition-stats-grid h3{font-size:32px}
  .partner-selectors button{font-size:clamp(9px,2.8vw,12px)}
  .competition-media img{aspect-ratio:3/2}
}
@media(prefers-reduced-motion:reduce){
  .competition-media img{filter:none;transition:none}
  [data-slot="button"],nav .nav-apply{transition:none}
}

.partner-route-logo{display:block;width:120px;max-width:100%;height:80px;object-fit:contain}
.partner-route-logo-white{filter:brightness(0) invert(1)}
@media(max-width:767px){.partner-route-logo{width:72px;height:60px}}

/* One visual treatment and hit area for all footer social links. */
.footer-socials{gap:12px}
.footer-socials a{display:grid;place-items:center;width:40px;height:40px;color:rgba(255,255,255,.65);border-radius:6px;transition:color 150ms ease}
.footer-socials a:hover{color:#fff}
.footer-socials svg{display:block;width:24px;height:24px}
@media(prefers-reduced-motion:reduce){.footer-socials a{transition:none}}

/* Apply feedback stays stationary: a clean color transition. */
:is(.pmc-navigation .nav-apply,a[data-slot="button"][href*="forms.gle/"]){
  transition:background-color 220ms ease,color 220ms ease,border-color 220ms ease;
}
/* Override the original theme's nav :hover a:hover opacity jump. */
.pmc-navigation a.nav-apply,.pmc-navigation a.nav-apply:hover{opacity:1}
.pmc-navigation a.nav-apply{
  transition:background-color 360ms cubic-bezier(.45,0,.55,1),color 360ms cubic-bezier(.45,0,.55,1),border-color 360ms cubic-bezier(.45,0,.55,1);
}
@media(hover:hover) and (pointer:fine){
  :is(.pmc-navigation .nav-apply,a[data-slot="button"][href*="forms.gle/"]):hover{
    background-color:#f5f5f5;
    border-color:#f5f5f5;
    color:#1a1a1a;
  }
}
:is(.pmc-navigation .nav-apply,a[data-slot="button"][href*="forms.gle/"]):active{
  background-color:#d9efed;
  border-color:#d9efed;
}
@media(prefers-reduced-motion:reduce){
  :is(.pmc-navigation .nav-apply,a[data-slot="button"][href*="forms.gle/"]){transition:none}
}

/* Compensate for the font's lower visual baseline inside the fixed-height bar. */
.partner-selectors button{display:inline-flex;align-items:center;justify-content:center;padding-block:0 2px;line-height:1}

/* PMC's layered teal photo wash and organic full-color reveal. */
.competition-media{position:relative;isolation:isolate;overflow:hidden;border-radius:10px;background:linear-gradient(135deg,color-mix(in oklab,#41c9c1 38%,#f8fafc),color-mix(in oklab,#41c9c1 28%,#0055ff))}
.competition-media img.competition-photo-base{position:relative;z-index:0;opacity:.6;filter:grayscale(1) contrast(1.04) brightness(1.02);mix-blend-mode:luminosity;transition:none}
.competition-media img.competition-photo-color{position:absolute;inset:0;width:100%;height:100%;z-index:1;opacity:.24;filter:saturate(.9) contrast(.98);transition:none}
.competition-media canvas{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none}
.competition-media::after{content:"";position:absolute;inset:0;z-index:3;opacity:.12;pointer-events:none;background:radial-gradient(circle at 18% 10%,rgb(255 255 255 / .45),transparent 34%),linear-gradient(135deg,rgb(65 201 193 / .28),rgb(0 85 255 / .16));mix-blend-mode:soft-light;transition:opacity 1s cubic-bezier(.19,1,.22,1)}
@media(hover:hover) and (pointer:fine){.competition-media.is-color-revealing::after{opacity:.04}}
@media(prefers-reduced-motion:reduce){.competition-media::after{transition:none}.competition-media canvas{display:none}}

.involvement-copy .contact-email-link{color:var(--brand-primary);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}

.involvement-logo{display:flex;justify-content:center;align-items:center;height:91.28px}
.involvement-logo img{display:block;width:132px;height:auto;max-width:100%}

/* Let the kickoff heading use the full copy column. */
.competition-feature-heading{max-width:none;text-wrap:wrap}
@media(min-width:1280px){.competition-feature-heading{white-space:nowrap}}

/* Interactive controls use the expected pointer cursor. */
button:not(:disabled),[role="button"]:not([aria-disabled="true"]),a[data-slot="button"]{cursor:pointer}

footer .footer-copyright{color:rgba(255,255,255,.65)}

html{scroll-behavior:smooth}
#about,#partners,#get-involved{scroll-margin-top:96px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Mobile hero follows its content rather than spreading across the viewport. */
@media(max-width:767px){
  #home-hero{min-height:0;margin-bottom:40px}
  #home-hero>div{flex-direction:column;align-items:center;justify-content:flex-start;padding-top:120px}
  #home-hero .hero-content{position:relative;top:auto;padding-top:0;margin-top:0;transform:none;width:calc(100% - 48px);max-width:380px}
  #home-hero .hero-copy{gap:16px}
  #home-hero .hero-copy h1{font-size:36px;line-height:1.08;max-width:320px}
  #home-hero .hero-copy>p{font-size:16px;line-height:1.5;max-width:330px}
  #home-hero .hero-actions{margin-top:28px;padding-inline:0;max-width:none;width:auto}
  #home-hero .hero-actions a{width:auto;min-width:160px;min-height:44px;padding-inline:28px}
  #home-hero .skyline-viewport{top:0;margin-top:32px;width:100%}
  #home-hero [data-skyline] svg{display:block;width:1800px;max-width:none;height:auto}
}

/* Partner clicks do not retain the original utility focus rings. */
.partner-selectors button:focus{box-shadow:none}
.partner-selectors button:focus:not(:focus-visible){outline:none}
.partner-selectors button:focus-visible{outline:1px solid var(--brand-primary);outline-offset:2px}

@media(max-width:767px){
  .competition-feature{text-align:center}
  .competition-feature .body-lg>a[data-slot="button"]{display:table;margin-inline:auto}
}

@media(max-width:767px){
  .pmc-navigation .nav-apply{position:absolute;left:50%;transform:translateX(-50%)}
}
