/* ============================================================
   IEEE MTT-S Sup'Com — visual system
   No framework, no build step. See DESIGN.md for the reasoning.
   ============================================================ */

:root {
  color-scheme: dark;

  --void:       #080E21;
  --surface:    #161E35;
  --surface-2:  #232D47;

  /* Sky: the hue is sampled from the chapter's own MTTS letters in
     images/agg.jpg (#A8D8E8, oklch h=220). Daylight had washed the
     chroma out, so the hue is kept and the chroma lifted to 0.123.
     12.06:1 on the void. THE interaction colour. */
  --sky:        #59DDFF;
  --sky-soft:   #91EEFF;

  /* Violet: identity, not interaction. Gradients, bands, the spectrum. */
  --violet:     #9964E5;
  --violet-hi:  #BD8EFF;   /* when violet has to carry text: 7.74:1 */
  /* Two ends for the sky-to-violet gradient, because the ground differs.
     --violet-lift is for an OPAQUE fill, where only the void sitting on
     it matters: 6.71:1, full chroma, not clipped.
     --violet-soft is for text over the HERO PHOTOGRAPH, where measured
     against the brightest pixel under the right of the headline the
     plain violet manages 2.06 and violet-hi only 3.29. This one makes
     4.43, clear of the 3:1 floor large text gets. */
  --violet-lift: #B280F9;
  --violet-soft: #D2B0FF;

  /* Band fills. White on either is over 8.5:1; neither can carry text
     itself, exactly like green-deep on the IAS site. */
  --blue-deep:   #264A8E;
  --violet-deep: #593888;

  --ink:        #EDF0F9;
  --ink-soft:   #ABB1C0;
  --ink-faint:  #7C8393;

  --line:       rgba(89, 221, 255, 0.14);
  --line-firm:  rgba(89, 221, 255, 0.30);
  --glow:       rgba(89, 221, 255, 0.28);

  --display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --body:    "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --shell: min(1180px, 92vw);
  --r-sm: 10px;
  --r:    14px;
  --r-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* height:auto matters: with max-width alone, any rule that pins a height
   lets the width shrink to the container independently and the aspect
   ratio is destroyed. Rules that genuinely want both axes set
   (object-fit wells) are more specific and still win. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 600; line-height: 1.07;
  margin: 0; letter-spacing: -0.022em;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--sky); color: var(--void); }

:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

.shell { width: var(--shell); margin-inline: auto; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--sky); color: var(--void); padding: 12px 20px; font-weight: 500;
}
.skip:focus { left: 0; }

/* ---------- navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  padding: 15px 0;
  transition: padding 0.4s var(--ease), background 0.4s, box-shadow 0.4s;
}
.nav .shell { display: flex; align-items: center; gap: 24px; }
.nav.stuck {
  padding: 8px 0;
  background: rgba(8, 14, 33, 0.88);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 var(--line), 0 18px 44px -34px rgba(0, 0, 0, 0.9);
}

/* The lockup already carries the chapter's name, so it only needs enough
   height for SUP'COM STUDENT BRANCH CHAPTER to stay legible. */
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; transition: height 0.4s var(--ease); }
.nav.stuck .brand img { height: 38px; }

.menu { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.menu a {
  position: relative; padding: 9px 14px; border-radius: 99px;
  font-size: 0.89rem; font-weight: 500; color: var(--ink-soft);
  transition: color 0.3s, background 0.3s;
}
.menu a:hover { color: var(--sky); background: rgba(89, 221, 255, 0.08); }
.menu a.on { color: var(--sky); }
.menu a.on::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--sky);
}

.burger { display: none; flex: none; padding: 8px; border-radius: 10px; }
.burger i { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); margin: 4px 0; transition: 0.3s var(--ease); }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- shared furniture ---------- */
.sec { padding: 104px 0; }

.eyebrow {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--sky); font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--sky), var(--violet));
}

.sec-head { max-width: 660px; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
/* :not(.eyebrow) is load-bearing: this rule is (0,1,1) and .eyebrow is
   (0,1,0), so without it every eyebrow inside a .sec-head would lose its
   colour and its size to this one. */
.sec-head p:not(.eyebrow) { margin-top: 18px; color: var(--ink-soft); font-size: 1.04rem; }

/* Both buttons carry the sky-to-violet gradient.

   The outlined one gets it as a real 1px BORDER, via the two-layer
   padding-box/border-box trick, after the masked pseudo-element ring
   rendered unevenly: at dpr 1 the button's top edge landed on y=400.47
   and its bottom on y=453.00, so the top run smeared across two device
   rows while the bottom stayed crisp - which is exactly the "thicker
   top and bottom" it looked like. Two changes remove the cause:
     - integer metrics. line-height 20 + padding 15*2 + border 1*2 = 52
       exactly, so the box no longer lands on half pixels of its own
       making, and the browser snaps a real border as it always does.
     - an opaque padding-box layer, which the trick requires. There IS
       one here after all: the buttons sit low in the hero where the
       scrim is 0.93 opaque and the worst pixel under them is
       rgb(16,22,40), within a hair of the void, so filling with the
       void is invisible against its surroundings.
   border-image would also clip a gradient to the border, but it
   ignores border-radius and these are pills. */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 27px; line-height: 20px;
  border: 1px solid transparent; border-radius: 99px;
  font-weight: 500; font-size: 0.93rem;
  color: var(--sky);
  background:
    linear-gradient(var(--void), var(--void)) padding-box,
    linear-gradient(100deg, var(--sky), var(--violet-lift)) border-box;
  transition: color 0.35s, background 0.35s, transform 0.35s var(--ease), box-shadow 0.35s;
}
/* The label runs the gradient too. It needs its own element: the button
   already uses its background for the border trick, and one element
   cannot clip a background to its text and paint a border with it. */
.btn .grad {
  background-image: linear-gradient(100deg, var(--sky), var(--violet-lift));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.btn:hover {
  color: var(--void); transform: translateY(-2px);
  background:
    linear-gradient(100deg, var(--sky), var(--violet-lift)) padding-box,
    linear-gradient(100deg, var(--sky), var(--violet-lift)) border-box;
}
.btn:hover .grad { -webkit-text-fill-color: var(--void); }
/* ink on the fill is the VOID, never white. The violet end is the lift
   value, where the void measures 6.71:1; the plain violet would be 4.85
   and too close to the line for 15px text. */
.btn.solid {
  color: var(--void); box-shadow: 0 14px 34px -16px var(--glow);
  background:
    linear-gradient(100deg, var(--sky), var(--violet-lift)) padding-box,
    linear-gradient(100deg, var(--sky), var(--violet-lift)) border-box;
}
.btn.solid:hover {
  background:
    linear-gradient(100deg, var(--sky-soft), var(--violet-soft)) padding-box,
    linear-gradient(100deg, var(--sky-soft), var(--violet-soft)) border-box;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 34%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* Solved against the real photograph, not estimated. The first draft
     of this scrim left the headline at 2.65:1 over the brightest pixel
     in its box - below even the 3:1 floor that large text gets - and
     the sub-heading at 3.58:1 wherever a wave stroke crossed under it.
     These stops bring them to 7.2 and 8.1 while the middle band of the
     photograph keeps 63% of its luminance, so the crowd is still a
     crowd. Re-measure after any change to the stops or the crop. */
  background:
    linear-gradient(to bottom,
      rgba(8,14,33,0.88) 0%,
      rgba(8,14,33,0.44) 24%,
      rgba(8,14,33,0.52) 42%,
      rgba(8,14,33,0.93) 62%,
      rgba(8,14,33,0.99) 100%);
}
.hero-inner { padding: 150px 0 88px; width: 100%; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--sky);
  /* 0.52 of the void, not a 0.1 cyan wash: over the brightest pixel the
     chip can land on, cyan-on-wash measured 3.38:1 and cyan-on-this
     measures about 7.2. The cyan stays in the border. */
  background: rgba(8, 14, 33, 0.52); border: 1px solid var(--line-firm);
  padding: 7px 16px; border-radius: 99px; backdrop-filter: blur(8px);
  margin-bottom: 24px;
}
.hero h1 {
  font-weight: 700; font-size: clamp(2.6rem, 7.2vw, 6.2rem);
  letter-spacing: -0.032em; max-width: 15ch;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.6);
}
/* The headline's accent words run sky to violet. The fallback colour is
   solid sky; only inside @supports does the fill go transparent, so a
   browser without background-clip:text shows readable text rather than
   none at all. */
.hero h1 em { font-style: normal; color: var(--sky); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 em {
    background-image: linear-gradient(100deg, var(--sky) 6%, var(--violet-soft) 94%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.hero-sub {
  margin-top: 24px; max-width: 54ch; font-size: 1.07rem; color: var(--ink-soft);
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.75);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-faint); z-index: 2;
}
.scroll-cue i { width: 1px; height: 38px; background: linear-gradient(var(--sky), transparent); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: scaleY(0.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 68px; align-items: start; }
.about-grid h2 { font-size: clamp(2rem, 4.2vw, 3rem); max-width: 12ch; }
.about-body p { color: var(--ink-soft); font-size: 1.07rem; }
.about-body p + p { margin-top: 18px; }
.about-body strong { color: var(--ink); font-weight: 500; }

/* ============================================================
   THEME BAND ("What we cover") — one photograph and a few lines,
   the second half of About. The image is darkened from the left, where
   the text sits; the Milky Way and the dishes stay clear on the right.
   ============================================================ */
.theme {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(86vh, 800px); display: flex; align-items: center;
}
.theme-bg { position: absolute; inset: 0; z-index: -2; }
.theme-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; }
/* colour grade: the photograph's own green and orange airglow is recoloured
   into the site's blue and violet. Blend mode "color" keeps every star and
   dish at its own brightness and only changes the hue. */
.theme-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, #264A8E 0%, #3B4FA0 45%, #593888 100%);
  mix-blend-mode: color; opacity: 0.7;
}
/* darkened from the left for the text, and fading into the navy above and
   below so the photo flows out of About and into the board */
.theme::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--void) 0%, rgba(8,14,33,0) 22%, rgba(8,14,33,0) 76%, var(--void) 100%),
    linear-gradient(90deg, rgba(8,14,33,0.92) 0%, rgba(8,14,33,0.76) 34%, rgba(8,14,33,0.26) 62%, rgba(8,14,33,0.05) 100%);
}
.theme-copy { max-width: 520px; padding: 110px 0; }
.theme-copy h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); text-shadow: 0 2px 30px rgba(0,0,0,0.5); }
.theme-copy > p:not(.eyebrow) { margin-top: 18px; color: rgba(237, 240, 249, 0.86); font-size: 1.06rem; text-shadow: 0 1px 16px rgba(0,0,0,0.6); }
.theme-bands { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.theme-bands li { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 2px solid var(--sky); }
.theme-bands li:nth-child(2) { border-color: #6EC7FF; }
.theme-bands li:nth-child(3) { border-color: #97ACFF; }
.theme-bands li:nth-child(4) { border-color: #BD8EFF; }
.theme-bands b { font-weight: 500; color: #fff; font-size: 0.95rem; }
.theme-bands span { font-family: var(--mono); font-size: 0.7rem; color: rgba(237, 240, 249, 0.7); }

/* ---------- one sky, top to bottom ----------
   The sections used to each have their own background (flat, dots, a
   grid, a bright band) and read as separate pages. Now they share ONE
   texture, the faint 44px grid the contact band also uses, and ONE
   vocabulary of light: sky and violet glows that alternate sides down
   the page so the eye is carried from one section to the next. Every
   texture is masked to fade out before a section's edge, so there are
   no seams, and no section has a border line. Static: nothing moves. */
#about, #board, #events { position: relative; isolation: isolate; overflow: hidden; }
#about::before, #board::before, #events::before,
#about::after,  #board::after,  #events::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
#about::after, #board::after, #events::after, .contact::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(75% 70% at 50% 50%, #000 10%, transparent 80%);
          mask-image: radial-gradient(75% 70% at 50% 50%, #000 10%, transparent 80%);
}
/* one glow per section, strictly alternating side AND colour: About
   violet right, Board sky left, What we run violet right, Contact sky
   left. Two glows of one colour on the same side of a section boundary
   read as a single lumpy blot, so never put them next to each other. */
/* every glow fades out (at 70% of its radius) before its section's top or
   bottom edge, or it is cut off there and shows as a hard step */
#about::before {
  background: radial-gradient(45% 64% at 96% 50%, rgba(153, 100, 229, 0.18), transparent 70%);
}
#board::before {
  background: radial-gradient(44% 56% at 2% 46%, rgba(89, 221, 255, 0.16), transparent 70%);
}
#events::before {
  background: radial-gradient(46% 56% at 98% 50%, rgba(153, 100, 229, 0.18), transparent 70%);
}

/* ---------- board ----------
   Full-bleed 4:5 cards at the size the sibling chapter sites use:
   three on the first row, the remaining two centred on the second.
   Flex rather than grid - justify-content does the centring on its own,
   where a grid needs an explicit column for the fourth and fifth card
   and another pair of them at every breakpoint.
   The portraits in images/board/ are pre-cut to 4:5 at 760x950 with the
   framing chosen per photo, so the CSS needs no per-member crop. The
   bigger card costs the two weak sources a 4.3x and 4.8x enlargement
   rather than 2.9x; see DESIGN.md section 0 before enlarging further. */
.board-row {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;
}
.member { flex: 0 1 calc((100% - 2 * 20px) / 3); }
.member {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--r); background: var(--surface-2);
  border: 1px solid var(--line); isolation: isolate;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.member:hover { transform: translateY(-5px); border-color: var(--line-firm); box-shadow: 0 24px 50px -30px var(--glow); }
.member > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.8s var(--ease);
}
.member:hover > img { transform: scale(1.05); }
/* Deep enough, and tall enough, to carry the name over a white shirt.
   Measured against the real pixels of all five photographs, not
   estimated: the name lands between 8.93 and 11.50:1, the role between
   5.93 and 6.61:1. Re-measure if the stops or the portraits change. */
.member-body {
  position: absolute; inset: auto 0 0 0; padding: 64px 15px 15px;
  background: linear-gradient(to top,
    rgba(8,14,33,0.97) 34%, rgba(8,14,33,0.80) 58%, transparent 100%);
}
.member h3 { font-size: 0.97rem; }
.member-body p {
  margin-top: 5px; font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet-hi);
}
.member-social { display: flex; gap: 7px; margin-top: 12px; }
.member-social a {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-firm); color: var(--ink);
  background: rgba(8, 14, 33, 0.45);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.member-social a:hover { background: var(--sky); color: var(--void); transform: translateY(-2px); }
.member-social svg { width: 12px; height: 12px; fill: currentColor; }

/* ---------- events ----------
   One event. A single card that says so, rather than a grid with three
   empty cells in it. */
.ev-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.ev {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease), border-color 0.45s;
}
.ev:hover { transform: translateY(-5px); border-color: var(--line-firm); }
.ev-body { padding: 24px 28px 28px; }
.ev-body h3 { font-size: 1.24rem; line-height: 1.25; }
.ev-body h3 a { transition: color 0.3s; }
.ev:hover .ev-body h3 a { color: var(--sky); }
.ev-desc { margin-top: 10px; color: var(--ink-soft); font-size: 0.95rem; }
.ev .meta { margin-top: 14px; font-family: var(--mono); font-size: 0.72rem; color: var(--ink-faint); }
.ev-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.ev-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.ev:hover .ev-img img { transform: scale(1.05); }
/* "More to come": the photo fills the card under the same blue-violet tint
   as before, the words at the bottom left over the road, with the shade
   heaviest under them; the dishes fill the frame above. */
.more { position: relative; min-height: 360px; justify-content: flex-end; isolation: isolate; }
.more > img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: 30% 35%;
  transition: transform 0.8s var(--ease);
}
.more:hover > img { transform: scale(1.04); }
.more::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(110deg, rgba(38, 74, 142, 0.35), rgba(89, 56, 136, 0.35)),
    linear-gradient(0deg, rgba(8,14,33,0.96) 10%, rgba(8,14,33,0.62) 38%, rgba(8,14,33,0.08) 66%);
}
.more-copy { padding: 28px 30px 30px; max-width: 360px; }
.more-copy h3 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.more-copy p { margin-top: 8px; color: rgba(237, 240, 249, 0.85); font-size: 1rem; }

.ev-propose {
  display: inline-block; margin-top: 16px; color: var(--sky); font-weight: 500; font-size: 0.95rem;
  text-decoration: underline; text-decoration-color: rgba(89, 221, 255, 0.35); text-underline-offset: 4px;
  transition: text-decoration-color 0.3s;
}
.ev-propose:hover { text-decoration-color: var(--sky); }

/* ---------- contact ----------
   The one place the two hues meet across a large surface. Measured:
   white on either end is over 8.5:1 and the arc keeps its chroma, so a
   plain two-stop gradient is correct here. */
/* The blue-to-violet band, now with depth: a sky glow from the top left,
   a violet glow at the bottom right, and a fine grid fading out to the
   edges. Both band fills carry white text at over 8.5:1; the glows are
   faint enough not to change that. */
.contact {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    linear-gradient(180deg, var(--void) 0%, rgba(8,14,33,0) 160px),
    linear-gradient(0deg, var(--void) 0%, rgba(8,14,33,0) 140px),
    radial-gradient(55% 70% at 0% 30%, rgba(89, 221, 255, 0.16), transparent 70%),
    radial-gradient(50% 70% at 100% 100%, rgba(189, 142, 255, 0.20), transparent 70%),
    linear-gradient(112deg, #1A3266, #3F2868);
}
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center; }
.contact h2 { font-size: clamp(2rem, 4.2vw, 3rem); color: #fff; }
.contact .eyebrow { color: #CFE8FF; }
.contact .eyebrow::before { background: linear-gradient(90deg, #CFE8FF, #E3D2FF); }
.contact-lede { margin-top: 16px; max-width: 42ch; color: rgba(255,255,255,0.84); font-size: 1.04rem; }

.contact-cards { margin-top: 30px; display: grid; gap: 12px; list-style: none; padding: 0; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px; border-radius: var(--r);
  background: rgba(8, 14, 33, 0.24); border: 1px solid rgba(255,255,255,0.13);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.contact-card:hover { background: rgba(8, 14, 33, 0.34); border-color: rgba(207, 232, 255, 0.38); transform: translateX(4px); }
.contact-ico {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(207, 232, 255, 0.14); border: 1px solid rgba(207, 232, 255, 0.3); color: #CFE8FF;
}
.contact-ico svg { width: 19px; height: 19px; fill: currentColor; }
.contact-txt { min-width: 0; }
.contact-txt b {
  display: block; font-family: var(--mono); font-size: 0.64rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.64); font-weight: 500; margin-bottom: 3px;
}
.contact-txt > span { display: block; color: #fff; font-size: 0.98rem; line-height: 1.45; }
.contact-txt i { font-style: normal; color: rgba(255,255,255,0.45); margin: 0 4px; }
.contact-txt a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.35); text-underline-offset: 3px; transition: text-decoration-color 0.3s; }
.contact-txt a:hover { text-decoration-color: #fff; }
.contact-txt a.mail { overflow-wrap: anywhere; }

/* the form on frosted glass over the band */
.contact-form {
  padding: 32px; border-radius: 24px;
  background: rgba(8, 14, 33, 0.36); border: 1px solid rgba(255,255,255,0.15);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.08);
}
.form-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 24px; }
.form-head h3 { font-family: var(--display); font-size: 1.3rem; color: #fff; }
.form-tag {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #CFE8FF; padding: 5px 11px; border-radius: 99px; border: 1px solid rgba(207, 232, 255, 0.38);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-family: var(--mono); font-size: 0.64rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.72); margin-bottom: 7px;
}
.field input, .field textarea {
  width: 100%; font: inherit; color: #fff;
  background: rgba(0, 0, 0, 0.26); border: 1px solid rgba(255,255,255,0.17);
  border-radius: var(--r-sm); padding: 13px 15px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: rgba(255,255,255,0.3); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--sky); background: rgba(0, 0, 0, 0.34);
  box-shadow: 0 0 0 4px rgba(89, 221, 255, 0.18);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.4); }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.form-note { font-size: 0.82rem; color: rgba(255,255,255,0.72); flex: 1 1 200px; }
.form-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.btn.onband { background: #fff; color: var(--blue-deep); border-color: #fff; }
.btn.onband:hover { background: var(--sky); color: var(--void); border-color: var(--sky); }
.btn.onband svg { width: 15px; height: 15px; fill: currentColor; transition: transform 0.35s var(--ease); }
.btn.onband:hover svg { transform: translateX(3px); }

/* ---------- footer ---------- */
.foot { background: var(--void); padding: 68px 0 28px; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; }
.foot-brand img { width: min(300px, 100%); height: auto; margin-bottom: 20px; }
.foot-brand p { color: var(--ink-soft); font-size: 0.94rem; max-width: 38ch; }
.foot h4 { font-size: 0.72rem; font-family: var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; font-weight: 500; }
.foot li + li { margin-top: 9px; }
.foot li a { font-size: 0.94rem; color: var(--ink-soft); transition: color 0.3s; }
.foot li a:hover { color: var(--sky); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-firm); color: var(--ink);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.socials a:hover { background: var(--sky); color: var(--void); transform: translateY(-3px); }
.socials svg { width: 15px; height: 15px; fill: currentColor; }
.foot-base {
  margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 0.84rem; color: var(--ink-faint);
}

/* ---------- motion ---------- */
.rise { opacity: 0; transform: translateY(12px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.rise.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .member { flex-basis: calc((100% - 20px) / 2); }
}

@media (max-width: 900px) {
  .sec, .spectrum { padding: 72px 0; }
  .about-grid, .contact-grid, .ev-wrap { grid-template-columns: 1fr; gap: 32px; }
  /* The cue sat 46x12 px on top of the second hero button once the CTA
     row wrapped. It is decoration, and it is redundant on a touch
     screen, so it goes rather than the hero growing to make room. */
  .scroll-cue { display: none; }
  .about-grid h2 { max-width: none; }
  .hero-inner { padding: 126px 0 74px; }

  .burger { display: block; }
  .menu {
    position: absolute; top: calc(100% + 8px); left: 4vw; right: 4vw;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px;
    background: rgba(8, 14, 33, 0.97); backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid var(--line); border-radius: 18px;
    box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.95);
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.3s var(--ease), transform 0.35s var(--ease), visibility 0.3s;
  }
  .menu.open { opacity: 1; visibility: visible; transform: none; }
  .menu a { padding: 13px 16px; font-size: 1rem; }
  .menu a.on::after { display: none; }
  .nav .shell { position: relative; }
}

@media (max-width: 640px) {
  .board-row { gap: 16px; }
  .member { flex-basis: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .contact-card { padding: 12px 14px; gap: 13px; }
  .contact-ico { width: 38px; height: 38px; }
  .foot-top { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { max-width: 100%; }
  /* on a phone the photo sits behind the text top to bottom, so it is
     darkened evenly rather than from the left */
  .theme { min-height: 0; }
  .theme::before { background: linear-gradient(180deg, var(--void) 0%, rgba(8,14,33,0.72) 18%, rgba(8,14,33,0.80) 82%, var(--void) 100%); }
  .theme-bg img { object-position: 58% 60%; }
  .theme-copy { padding: 84px 0; }
}

/* ---------- motion off ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; }
}
