@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* AIC-IIIT Kottayam — site styles
   Colours come from the AIC IIITK infinity logo: sun yellow + sky blue on deep ink. */

:root {
  --ink: #0F2236;
  --ink-2: #1A3350;
  --paper: #FFFFFF;
  --surface: #FFFFFF;
  --wash-sky: #E7F4FC;
  --wash-sun: #FFF4D2;
  --band-ink: #0F2236;
  --sun: #F4B400;
  --sun-soft: #FFF3CC;
  --sky: #1D9BD8;
  --sky-deep: #0E6FA3;
  --sky-soft: #E2F3FC;
  --text: #13243A;
  --muted: #4E6077;
  --line: #D6E1EC;
  --shadow: 0 1px 2px rgba(15, 34, 54, .06), 0 8px 24px -12px rgba(15, 34, 54, .18);

  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Public Sans", "Segoe UI", system-ui, sans-serif;

  --wrap: 1280px;
  --gut: clamp(20px, 4vw, 40px);
  --r-lg: 28px;
  --r-md: 16px;
  --r-sm: 10px;
  color-scheme: light;
}

[data-theme="dark"] {
  --paper: #0B1828;
  --surface: #12243A;
  --wash-sky: #0F2339;
  --wash-sun: #17212F;
  --band-ink: #060F1B;
  --text: #E7EEF6;
  --muted: #9FB2C7;
  --line: #233A55;
  --sun-soft: #3A3115;
  --sky-soft: #10304A;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-deep); text-underline-offset: .18em; }
[data-theme="dark"] a { color: #6CC4F0; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.125rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.prose { max-width: 68ch; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--sun); color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head p { margin: 0; max-width: 46ch; color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.35em; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg) !important; font: 600 1rem/1 var(--f-body);
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--sun { --bg: var(--sun); --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--text); border-color: currentColor; }
.btn--light { --bg: #fff; --fg: var(--ink); }
[data-theme="dark"] .btn:not(.btn--sun):not(.btn--ghost):not(.btn--light) { --bg: #E7EEF6; --fg: var(--ink); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 76px; }
.brand, [data-theme="dark"] .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); margin-right: auto; padding-right: 16px; }
.brand img { height: 40px; width: auto; }
.brand .logo-dark { display: none; }
[data-theme="dark"] .brand .logo-dark { display: block; }
[data-theme="dark"] .brand .logo-light { display: none; }
.brand span { font: 700 1.08rem/1.1 var(--f-display); letter-spacing: -.01em; white-space: nowrap; }
.brand small { display: block; font: 500 .74rem/1.3 var(--f-body); color: var(--muted); letter-spacing: 0; }
@media (min-width: 1241px) and (max-width: 1480px) { .brand small { display: none; } .nav a { padding: 8px 9px; font-size: .94rem; } .header-apply { padding: .7em 1em; } }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .96rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--surface); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
[data-theme="dark"] .nav a[aria-current="page"] { background: #E7EEF6; color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }
.menu-toggle { display: none; }
.header-apply { padding: .7em 1.1em; }

@media (max-width: 1240px) {
  .menu-toggle { display: grid; }
  .header-apply { display: none; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px var(--gut) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
    max-height: calc(100dvh - 76px); overflow: auto;
  }
  .nav a { font-size: 1.15rem; padding: 12px 14px; }
  .nav .btn { display: inline-flex; justify-content: center; margin-top: 8px; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
}
@media (min-width: 1241px) { .nav .nav-apply { display: none; } }

/* Hero: the AIC logo on deep navy in both themes */
.hero { position: relative; padding: clamp(56px, 8vw, 112px) 0; overflow: hidden; background: var(--band-ink); color: #EAF1F8; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.7rem); margin-bottom: .35em; color: #fff; }
@media (min-width: 861px) { .hero h1 .line { white-space: nowrap; } }
.hero h1 .line { display: block; }
.hero .lede { color: #BCCBDB; margin: .4em 0 1.6em; }
.hero .btn--ghost { --fg: #fff; }
.hero-note { margin-top: 32px; font-size: .95rem; color: #9FB2C7; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-note img { height: 46px; width: auto; background: #fff; border-radius: 8px; padding: 4px 8px; }
.hero-logo { position: relative; margin: 0; display: grid; place-items: center; aspect-ratio: 1; }
.hero-logo::before { content: ""; position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(244, 180, 0, .20), transparent 70%) 22% 45% / 70% 70% no-repeat,
              radial-gradient(closest-side, rgba(29, 155, 216, .26), transparent 70%) 80% 45% / 70% 70% no-repeat; }
.hero-logo::after { content: ""; position: absolute; inset: 4%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); }
.hero-logo img { position: relative; width: 82%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .hero-logo img { opacity: 0; transform: scale(.94); animation: logoin 1s cubic-bezier(.2, .7, .2, 1) .25s forwards; }
  .hero h1 .line { opacity: 0; transform: translateY(18px); animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
  .hero h1 .line:nth-child(2) { animation-delay: .12s; }
}
@keyframes logoin { to { opacity: 1; transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-logo { max-width: 340px; width: 75%; order: -1; aspect-ratio: auto; padding: 8% 0; }
}

/* Section bands: each part of a page sits on its own colour */
.band--sky { background: var(--wash-sky); }
.band--sun { background: var(--wash-sun); }
.band--ink { background: var(--band-ink); color: #EAF1F8; }
.band--ink h2, .band--ink h3 { color: #fff; }
.band--ink .section-head p, .band--ink .muted { color: #B7C7D8; }
.band--ink a:not(.btn) { color: #8ED3F5; }
.band--ink .btn--ghost { --fg: #fff; }
.band--sky .tile:not(.tile--hero), .band--sun .tile:not(.tile--hero) { border-color: transparent; box-shadow: var(--shadow); }
.section-head h2 { position: relative; padding-top: 18px; }
.section-head h2::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 5px; border-radius: 5px; background: var(--sky); }
.band--sun .section-head h2::before, .band--ink .section-head h2::before { background: var(--sun); }

/* Audience split */
.paths { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.path { border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; min-height: 380px; }
.path h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: .4em; }
.path ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.path li { padding-left: 28px; position: relative; }
.path li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-radius: 8px; border: 2.5px solid currentColor; opacity: .7; }
.path .btn-row { margin-top: auto; }
.path--founders { background: var(--ink); color: #EAF1F8; }
.path--founders p { color: #B7C7D8; }
.path--interns { background: var(--sky); color: #fff; }
.path--interns p { color: #EAF6FD; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } .path { min-height: 0; } }

/* Photo band */
.photo-band { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 9; background: var(--ink); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }
.photo-band figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px clamp(20px, 4vw, 40px) 22px; color: #fff; background: linear-gradient(transparent, rgba(8, 20, 34, .82)); font-size: .98rem; }
@media (max-width: 700px) { .photo-band { aspect-ratio: 4 / 3; } }

/* Offer bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; grid-column: span 2; }
.tile h3 { font-size: 1.22rem; margin-bottom: .45em; }
.tile p { margin: 0; color: var(--muted); font-size: .98rem; }
.tile--wide { grid-column: span 3; }
.tile--hero { grid-column: span 3; grid-row: span 2; background: var(--sun); border-color: var(--sun); color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; border-radius: var(--r-lg); padding: 34px; }
.tile--hero p { color: #3B3420; font-size: 1.05rem; }
.tile--hero .big { font: 800 clamp(4rem, 9vw, 7rem)/.9 var(--f-display); letter-spacing: -.05em; margin: 0 0 8px; }
.tile--hero h3 { font-size: 1.7rem; }
.tile--sky { background: var(--sky-soft); border-color: transparent; }
.tile a:not(.btn) { font-weight: 600; }
.band--sky .tile-icon { background: var(--wash-sky); }
.tile-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-soft); color: var(--sky-deep); margin-bottom: 18px; }
[data-theme="dark"] .tile-icon { color: #6CC4F0; }
.tile--sky .tile-icon { background: var(--surface); }
.tile-icon svg { width: 22px; height: 22px; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile, .tile--wide { grid-column: span 1; } .tile--hero { grid-column: span 2; grid-row: auto; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile--hero { grid-column: auto; } }

/* Cohort timeline */
.cohorts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid currentColor; }
.cohort { padding: 22px 22px 0 0; position: relative; }
.cohort::before { content: ""; position: absolute; top: -9px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--band-bg, var(--paper)); border: 3px solid currentColor; }
.band--ink .cohort::before { background: var(--band-ink); }
.band--ink .cohort p { color: #B7C7D8; }
.cohort.is-current::before { background: var(--sun); border-color: var(--sun); box-shadow: 0 0 0 5px color-mix(in srgb, var(--sun) 30%, transparent); }
.cohort h3 { font-size: 1.5rem; margin: 6px 0 4px; }
.cohort .count { font: 800 2.6rem/1 var(--f-display); letter-spacing: -.04em; }
.cohort p { color: var(--muted); font-size: .95rem; margin: 6px 0 0; }
.cohort a { text-decoration: none; color: inherit; }
.cohort a:hover h3 { text-decoration: underline; }
@media (max-width: 760px) { .cohorts { grid-template-columns: 1fr 1fr; row-gap: 36px; } }

/* Logo marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); margin-top: 56px; }
.marquee-track { display: flex; gap: 18px; width: max-content; }
@media (prefers-reduced-motion: no-preference) { .marquee-track { animation: scroll 60s linear infinite; } .marquee:hover .marquee-track { animation-play-state: paused; } }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } }
@keyframes scroll { to { transform: translateX(-50%); } }
.logo-chip { width: 168px; height: 92px; flex: none; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 14px 18px; }
.logo-chip img { max-height: 62px; max-width: 100%; width: auto; object-fit: contain; }

/* Startups */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 8px 14px; font: 500 .95rem var(--f-body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
[data-theme="dark"] .chip[aria-pressed="true"] { background: #E7EEF6; color: var(--ink); border-color: #E7EEF6; }
.chip .n { opacity: .6; margin-left: 4px; font-variant-numeric: tabular-nums; }
.search { position: relative; }
.search input { width: min(320px, 80vw); padding: 11px 16px 11px 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 1rem var(--f-body); }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.result-count { color: var(--muted); font-size: .95rem; margin: -12px 0 20px; }
.startup-group + .startup-group { margin-top: 56px; }
.startup-group h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); display: flex; align-items: baseline; gap: 12px; }
.startup-group h2 small { font: 500 1rem var(--f-body); color: var(--muted); letter-spacing: 0; }
.startup-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.startup { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; display: flex; gap: 14px; align-items: center; min-height: 92px; }
.startup .mark { width: 58px; height: 58px; flex: none; border-radius: 14px; display: grid; place-items: center; font: 700 1.15rem var(--f-display); color: var(--ink); overflow: hidden; }
.startup .mark.has-logo { background: #fff; border: 1px solid var(--line); padding: 6px; }
.startup .mark img { max-width: 100%; max-height: 100%; object-fit: contain; }
.startup h3 { font-size: 1.04rem; margin: 0 0 3px; line-height: 1.25; }
.startup p { margin: 0; font-size: .74rem; color: var(--muted); line-height: 1.35; overflow-wrap: anywhere; }
.startup a { color: inherit; }
.empty { padding: 40px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--r-md); color: var(--muted); }

/* Mentors */
.mentor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; align-items: start; }
.mentor { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.mentor-top { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.avatar { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 700 1.05rem var(--f-display); color: var(--ink); }
.mentor h3 { font-size: 1.12rem; margin: 0; }
.mentor .role { font-size: .88rem; color: var(--muted); margin: 2px 0 0; line-height: 1.4; }
.mentor .expertise { display: inline-block; margin: 0; font-size: .88rem; font-weight: 600; padding: 5px 12px; border-radius: 10px; line-height: 1.35; background: var(--wash-sky); color: var(--text); }
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tags li { font-size: .82rem; padding: 4px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }

/* Page header */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); background: var(--wash-sky); margin-bottom: clamp(36px, 5vw, 64px); }
.page-head h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 16ch; }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: inherit; }

/* Generic layouts */
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.split > :first-child h2 { position: sticky; top: 110px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split > :first-child h2 { position: static; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); }
.panel--ink { background: var(--ink); color: #EAF1F8; border-color: var(--ink); }
.panel--ink p, .panel--ink .muted { color: #B7C7D8; }
.panel--ink a:not(.btn) { color: #8ED3F5; }
.panel--sun { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.panel--sun a:not(.btn) { color: var(--ink); }
.statement { font: 600 clamp(1.4rem, 2.6vw, 2.1rem)/1.3 var(--f-display); letter-spacing: -.015em; max-width: 34ch; margin: 0; }
.mission { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 32px; }
.mission li { padding: 20px 0; border-top: 1px solid var(--line); }
.mission strong { display: block; font: 700 1.15rem/1.3 var(--f-display); margin-bottom: 4px; }
.mission span { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.checklist li { padding: 16px 0 16px 40px; border-top: 1px solid var(--line); position: relative; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 18px; height: 10px; border-left: 3px solid var(--sky); border-bottom: 3px solid var(--sky); transform: rotate(-45deg); }
.checklist strong { font-weight: 650; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sun); color: var(--ink); font: 700 1rem var(--f-display); margin-bottom: 14px; }
.steps strong { display: block; font: 700 1.1rem var(--f-display); margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: .97rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 28px 0; }
.fact { border-radius: var(--r-md); padding: 22px; background: var(--sky-soft); }
.fact b { display: block; font: 800 2rem/1.1 var(--f-display); letter-spacing: -.03em; margin-bottom: 6px; }
.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r-md); background: var(--sun-soft); border: 1px solid color-mix(in srgb, var(--sun) 50%, transparent); margin: 24px 0; }
.notice svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: #9A6B00; }
[data-theme="dark"] .notice svg { color: var(--sun); }
.notice p { margin: 0; }

/* Team */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
@media (min-width: 900px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.portrait { aspect-ratio: 4 / 5; background: var(--wash-sky); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.portrait--initials { display: grid; place-items: center; font: 800 3rem var(--f-display); color: var(--ink); }
.person-body { padding: 22px 24px 26px; }
.person h3 { font-size: 1.3rem; margin-bottom: 4px; }
.person p { margin: 0 0 14px; color: var(--muted); font-size: .98rem; }
.person-contact { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.person-contact a { font-size: .95rem; overflow-wrap: anywhere; }

/* News */
.news-list { display: grid; gap: 14px; }
.news { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(22px, 3vw, 32px); display: grid; grid-template-columns: 150px 1fr; gap: 8px 32px; }
.news-meta { font-size: .92rem; color: var(--muted); }
.news-meta .type { display: inline-block; font-weight: 600; color: var(--text); background: var(--sun-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.news h3 { margin-bottom: .35em; }
.news p { color: var(--muted); max-width: 70ch; }
.news .deadline { font-weight: 600; color: var(--text); }
.news-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
@media (max-width: 680px) { .news { grid-template-columns: 1fr; } }

/* Gallery */
.masonry { columns: 3 300px; column-gap: 14px; }
.shot { break-inside: avoid; margin: 0 0 14px; border-radius: var(--r-md); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.shot button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.shot button:focus-visible { outline: 3px solid var(--sky); outline-offset: -3px; }
.shot img { width: 100%; transition: transform .4s ease; }
.shot button:hover img { transform: scale(1.03); }
.shot figcaption { padding: 12px 16px; font-size: .92rem; color: var(--muted); }
.gallery-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.gallery-strip a { border-radius: var(--r-md); overflow: hidden; display: block; background: var(--ink); }
.gallery-strip a:first-child { grid-row: span 2; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-strip a:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .gallery-strip { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 140px 140px; } .gallery-strip a:first-child { grid-column: span 2; grid-row: auto; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 94vh; }
.lightbox::backdrop { background: rgba(6, 14, 26, .9); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox p { color: #E7EEF6; text-align: center; margin: 12px 0 0; }
.lightbox-bar { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.lightbox .icon-btn { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .2); }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; max-width: 16ch; margin: 0 0 .3em; }
.cta-band p { color: #B7C7D8; margin: 0; max-width: 46ch; }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band svg.deco { position: absolute; right: -60px; bottom: -80px; width: 380px; opacity: .14; pointer-events: none; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; }
.contact-card h3 { font-size: 1.15rem; }
.contact-card a { display: block; font-size: 1.05rem; margin: 4px 0; overflow-wrap: anywhere; }
.contact-card address { font-style: normal; }
[data-phones] a { display: block; }
.contact-person { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.contact-person:first-child { border-top: 0; padding-top: 0; }
.contact-person strong { font-family: var(--f-display); font-size: 1.1rem; }
.contact-person span { color: var(--muted); font-size: .93rem; }
.contact-person a { margin: 2px 0 0 !important; }
.social-list { display: grid; gap: 8px; }
.social-list a { display: flex !important; align-items: center; gap: 12px; text-decoration: none; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); color: var(--text); font-size: 1rem !important; }
.social-list a:hover { background: var(--wash-sky); }
.social-list svg { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* Footer */
.site-footer { background: var(--ink); color: #B7C7D8; padding: 72px 0 32px; margin-top: clamp(64px, 9vw, 120px); font-size: .97rem; }
[data-theme="dark"] .site-footer { background: #07111D; }
.site-footer a:not(.btn) { color: #E7EEF6; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h2 { font: 700 1rem var(--f-display); color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand > img { width: 120px; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.supported { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.supported img { height: 52px; width: auto; background: #fff; padding: 6px 10px; border-radius: 10px; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #2C4664; }
.socials a:hover { background: #1A3350; text-decoration: none; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-base { border-top: 1px solid #22384F; margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .site-footer, .cta-band { display: none; } }

main:has(> section:last-child:is(.band--sky, .band--sun, .band--ink)) + .site-footer { margin-top: 0; }
.tile--hero a:not(.btn), [data-theme="dark"] .tile--hero a:not(.btn) { color: var(--ink); }
.hero-backers { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 32px; }
.hero-backers .hero-note { margin: 0; line-height: 1.35; flex-wrap: nowrap; }
.hero-backers .hero-note img { flex: none; }
.hero-backers strong { color: #EAF1F8; font-weight: 600; }
