@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;550;600;650&display=swap');

:root {
  --ink: #222c3b;
  --muted: #616a76;
  --accent: #aa3636;
  --line: #e8eaed;
  --soft: #f5f6f8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: #fff; color: var(--ink); font: 15px/1.7 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
a, button, input { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: #f1d8d8; }
h1, h2, h3, p { margin: 0; }
.container { width: min(1080px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -80px; background: var(--ink); color: white; padding: 12px 20px; z-index: 100; border-radius: 24px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; background: #ffffffed; backdrop-filter: blur(16px); }
.header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 600; line-height: 1.4; }
.brand-sub { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.brand-mark { width: 37px; fill: none; stroke: var(--ink); stroke-width: 1.3; }
.brand-mark circle { fill: var(--accent); stroke: none; }
nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
nav a { padding: 8px 0; color: var(--muted); transition: color .2s; }
nav a:hover, nav a[aria-current='location'] { color: var(--accent); }
nav .nav-join { color: var(--ink); font-weight: 500; }
.nav-join span { padding-left: 5px; }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-block: 68px 76px; }
.eyebrow { color: var(--muted); font-size: 12px; }
h1 { font-size: clamp(35px, 3.5vw, 44px); font-weight: 550; line-height: 1.17; letter-spacing: -1.8px; margin: 22px 0 20px; }
.hero-description { color: var(--muted); max-width: 420px; line-height: 1.85; font-size: 15px; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; border-radius: 999px; padding: 12px 21px; min-height: 46px; font-size: 13px; font-weight: 500; transition: background .2s, box-shadow .2s; }
.primary { background: var(--accent); color: white; }
.primary:hover { background: #902b2b; box-shadow: 0 4px 15px #aa36361a; }
.button span { font-size: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; line-height: 1.6; }
.text-link:hover { color: var(--accent); }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translate(2px, -2px); }
.meeting-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 34px; }
.meeting-note svg { width: 17px; height: 20px; margin-top: 3px; fill: none; stroke: #7b8491; stroke-width: 1.5; }
.meeting-note strong { display: block; font-size: 12px; font-weight: 500; }
.meeting-note a { display: block; font-size: 11px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #cbd0d5; }
.meeting-note a:hover { color: var(--accent); }
.experiment { min-width: 0; padding-top: 14px; }
.experiment-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 0 10px 5px; font-size: 12px; font-weight: 500; }
.live-label { display: flex; align-items: center; gap: 7px; color: #6d7872; font-size: 8px; letter-spacing: .6px; font-weight: 400; }
.live-label > span { width: 5px; height: 5px; background: #6b8a77; border-radius: 50%; animation: pulse 3s infinite; }
#trajectory { width: 100%; display: block; overflow: visible; }
.axis { fill: none; stroke: #c2c8cd; stroke-width: 1; }
.graph-label { font: 10px 'Inter', sans-serif; fill: #747e88; }
.angle-label { font: 12px 'Inter', sans-serif; fill: var(--accent); }
.equation-note { font: italic 17px Georgia, serif; fill: #71808d; }
.experiment-controls { display: flex; align-items: center; gap: 18px; margin-top: 15px; padding: 15px 20px; border-radius: 50px; background: var(--soft); }
.experiment-controls label { white-space: nowrap; font-size: 12px; color: var(--muted); }
.experiment-controls input { width: 100%; min-width: 0; height: 4px; accent-color: var(--accent); cursor: pointer; }
.experiment-controls output { min-width: 30px; font-size: 12px; font-variant-numeric: tabular-nums; }
.experiment-footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 12px; font-size: 10px; color: var(--muted); padding-inline: 5px; }
.experiment-footer strong { font-weight: 500; color: var(--ink); margin-left: 5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.study-layout { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); column-gap: 84px; padding-block: 58px 65px; border-top: 1px solid var(--line); }
h2 { font-size: 25px; font-weight: 550; letter-spacing: -.7px; line-height: 1.3; }
.section-heading > p { color: var(--muted); font-size: 13px; margin-top: 10px; }
.competition-list { margin-top: 9px; }
.competition { padding-block: 26px; border-bottom: 1px solid var(--line); }
.competition-title { display: flex; gap: 15px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
h3 { font-size: 16px; font-weight: 550; letter-spacing: -.3px; line-height: 1.5; }
.competition p { color: var(--muted); font-size: 13px; line-height: 1.85; margin-top: 10px; max-width: 565px; }
.status { color: #975b28; font-size: 10px; line-height: 1.6; }
.status:before { content: ''; display: inline-block; width: 5px; height: 5px; background: #b87d41; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.provider { color: #737d87; font-size: 10px; }
.competition .text-link { margin-top: 12px; font-size: 12px; }
.competition-note { color: var(--muted); font-size: 11px; line-height: 1.8; padding-top: 19px; }
.competition-note strong { color: var(--ink); font-weight: 500; }
.competition-note a { text-decoration: underline; text-underline-offset: 3px; }
.resources-section h2 { font-size: 22px; }
.resource-list { margin-top: 15px; }
.resource { display: flex; flex-direction: row-reverse; gap: 19px; align-items: flex-start; justify-content: space-between; padding-block: 22px; border-bottom: 1px solid var(--line); }
.resource h3 { font-size: 13px; line-height: 1.6; transition: color .2s; }
.resource p { color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 7px; }
.resource-symbol { font-size: 17px; color: #6e7782; flex: none; transition: transform .2s; }
.resource:hover h3 { color: var(--accent); }
.resource:hover .resource-symbol { transform: translate(2px,-2px); color: var(--accent); }
.member-note { padding-top: 28px; }
.member-note h3 { font-size: 13px; }
.member-note p { font-size: 12px; color: var(--muted); line-height: 1.85; margin: 8px 0 13px; }
.member-note .text-link { font-size: 12px; }
.officers-section { padding-block: 54px 64px; border-top: 1px solid var(--line); }
.officer-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 25px; margin-top: 31px; }
.portrait { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: #f0f2f4; color: #70808e; font-size: 20px; font-weight: 400; letter-spacing: -.5px; }
.officer:nth-child(2) .portrait { background: #f3f0ed; color: #8b7c6a; }
.officer:nth-child(3) .portrait { background: #eef2f0; color: #6b8176; }
.officer:nth-child(4) .portrait { background: #f5eeee; color: #917272; }
.officer h3 { font-size: 13px; margin-top: 14px; letter-spacing: -.2px; }
.officer p { font-size: 11px; color: var(--muted); margin-top: 4px; }
.join-section { background: #f6f7f9; }
.join-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px; padding-block: 49px 52px; align-items: center; }
.join-inner p { font-size: 13px; color: var(--muted); margin: 14px 0 24px; max-width: 440px; line-height: 1.85; }
.contact-details > span:first-child { display: block; font-size: 12px; color: var(--muted); }
.contact-details > a { display: block; font-size: 16px; font-weight: 500; letter-spacing: -.4px; margin-block: 7px 10px; overflow-wrap: anywhere; }
.contact-details > a:hover { color: var(--accent); }
.contact-details button { border: 0; background: #e9ecf0; color: #56616f; font-size: 11px; padding: 7px 13px; border-radius: 20px; transition: background .2s; }
.contact-details button:hover { background: #dfe4ea; }
#copy-status { display: block; color: #426450; font-size: 11px; min-height: 20px; margin-top: 5px; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 26px; font-size: 11px; }
.footer p > span { color: var(--muted); margin-left: 14px; }
.footer-right { display: flex; align-items: center; gap: 24px; color: var(--muted); }
.footer button { border: none; background: none; color: inherit; font-size: 10px; padding: 8px 0; }
.motion-icon { margin-right: 5px; }
.footer a:hover { color: var(--accent); }
.js-ready .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .6s; }
.js-ready .reveal.visible { opacity: 1; transform: none; }
.motion-paused * { animation: none !important; }
.motion-paused .reveal { opacity: 1; transform: none; transition: none; }
.motion-paused, .motion-paused * { scroll-behavior: auto; }
@keyframes pulse { 50% { opacity: .35; } }
@media(max-width:1000px) {
  .container { width: calc(100% - 64px); }
  .hero { gap: 35px; }
  .study-layout { column-gap: 46px; }
  .hero-actions { gap: 19px; }
  .hero-actions .text-link { font-size: 12px; }
  .join-inner { gap: 50px; }
  .experiment-footer { font-size: 9px; gap: 10px; }
}
@media(max-width:760px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 78px; }
  .brand { font-size: 13px; }
  .brand-sub { font-size: 11px; }
  .brand-mark { width: 33px; }
  .menu-toggle { display: flex; align-items: center; gap: 13px; padding: 8px 15px; border: 0; border-radius: 25px; background: var(--soft); color: var(--ink); font-size: 12px; }
  .menu-toggle span { font-size: 17px; }
  .menu-toggle[aria-expanded='true'] span { transform: rotate(45deg); }
  nav { display: none; position: absolute; left: 0; right: 0; top: 78px; padding: 12px 26px 23px; border-bottom: 1px solid var(--line); background: #fff; }
  nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  nav a { padding: 10px 0; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-block: 42px 44px; }
  .hero-description { max-width: 460px; font-size: 14px; }
  .hero-copy .eyebrow { font-size: 11px; }
  h1 { font-size: 39px; margin-block: 20px; }
  .hero-actions { gap: 24px; margin-top: 24px; }
  .meeting-note { margin-top: 27px; }
  .experiment { max-width: 520px; width: 100%; margin: 0 auto; padding-top: 8px; }
  .experiment-heading { font-size: 11px; }
  .experiment-controls { margin-top: 9px; padding: 13px 17px; gap: 13px; }
  .experiment-controls label { font-size: 11px; }
  .experiment-footer { font-size: 10px; }
  .study-layout { grid-template-columns: 1fr; padding-block: 42px; gap: 40px; }
  h2 { font-size: 24px; }
  .section-heading > p { font-size: 12px; }
  .competition { padding-block: 24px; }
  .competition-title { gap: 7px; }
  .competition p { font-size: 13px; }
  .competition-title h3 { font-size: 16px; }
  .resources-section { padding-top: 35px; border-top: 1px solid var(--line); }
  .resources-section h2 { font-size: 24px; }
  .resource { padding-block: 20px; }
  .member-note { padding-top: 25px; }
  .officers-section { padding-block: 40px 44px; }
  .officer-grid { grid-template-columns: 1fr 1fr; gap: 29px 20px; }
  .officer h3 { font-size: 13px; }
  .join-inner { grid-template-columns: 1fr; gap: 28px; padding-block: 40px 35px; }
  .contact-details { padding-top: 25px; border-top: 1px solid #e3e6eb; }
  .contact-details > a { font-size: 16px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 10px; padding-block: 22px; }
  .footer p > span { margin-left: 9px; }
  .footer-right { width: 100%; justify-content: space-between; gap: 12px; }
}
@media(max-width:370px) {
  h1 { font-size: 35px; }
  .hero-actions { gap: 18px; }
  .button { padding-inline: 18px; font-size: 12px; }
  .hero-actions .text-link { font-size: 11px; }
  .experiment-footer { font-size: 9px; }
  .status { font-size: 9px; }
}
@media(prefers-reduced-motion:reduce) {
  html, * { scroll-behavior: auto !important; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .js-ready .reveal { opacity: 1; transform: none; }
}

/* A small, working physics lab adds color and motion between the club sections. */
nav a[aria-current='page'] { color: var(--accent); }
.hero .experiment { background: radial-gradient(ellipse at 60% 40%, #faf5ed 0%, transparent 70%); }
.hero h1 { position: relative; }
.physics-lab { background: #f6f8f5; padding-block: 43px 25px; border-top: 1px solid #e6ece5; border-bottom: 1px solid #e6ece5; }
.lab-intro { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.lab-intro h2 { font-size: 23px; margin-top: 8px; }
.lab-intro > p { font-size: 12px; color: var(--muted); max-width: 290px; }
.lab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-top: 32px; }
.lab-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lab-title h3 { font-size: 16px; }
.lab-index { font: 9px/1.5 ui-monospace, monospace; letter-spacing: .5px; color: #647b72; }
.lab-experiment > p { font-size: 12px; color: var(--muted); margin-top: 6px; }
.lab-experiment svg { width: 100%; display: block; max-height: 250px; }
.lab-equation { fill: #4a786f; font: italic 20px Georgia, serif; }
.lab-experiment:nth-child(2) .lab-equation { fill: #9d663b; }
.lab-experiment .experiment-controls { margin-top: 0; background: #e8eeE8; padding: 12px 17px; }
.lab-experiment .experiment-controls output { min-width: 40px; text-align: right; }
.lab-experiment input { accent-color: #397b70; }
.lab-experiment:nth-child(2) input { accent-color: var(--accent); }
.lab-readout { display: flex; justify-content: space-between; font-size: 11px; padding: 12px 8px 2px; color: var(--muted); }
.lab-readout strong { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.lab-experiment > .model-note { font-size: 10px; line-height: 1.7; padding-inline: 8px; }
.lab-bottom { display: flex; align-items: center; gap: 24px; border-top: 1px solid #dee6dd; margin-top: 30px; padding-top: 20px; }
.lab-bottom > span { font: italic 18px Georgia, serif; color: #54766b; }
.lab-bottom .text-link { margin-left: auto; font-size: 11px; }
.inline-motion { background: none; border: none; color: #54695e; font-size: 10px; padding: 7px 0; }
.section-heading .eyebrow { font-size: 9px; letter-spacing: 1px; margin: 0 0 12px; }
.resources-section .section-heading h2 { line-height: 1.35; }
.study-layout { border-top: none; }
@media(max-width:760px) {
 .lab-intro { display: block; }
 .lab-intro h2 { font-size: 22px; max-width: 280px; }
 .lab-intro > p { margin-top: 13px; max-width: 400px; }
 .lab-grid { grid-template-columns: 1fr; gap: 30px; }
 .lab-experiment + .lab-experiment { border-top: 1px solid #dee6dd; padding-top: 28px; }
 .lab-bottom { flex-wrap: wrap; gap: 9px 20px; }
 .lab-bottom .text-link { margin-left: 0; flex-basis: 100%; }
 .lab-bottom > span { font-size: 17px; }
 .lab-index { font-size: 8px; }
 .lab-experiment .experiment-controls { gap: 10px; padding-inline: 14px; }
 .physics-lab { padding-top: 35px; }
}
