/* ==========================================================================
   Kommet.cz — homepage redesign
   An evolution of the existing look: navy constellation sky, white content
   sheet, photo-led article tiles, Open Sans body. New: a serif display voice
   (star-atlas lettering), a comet-teal accent taken from the photos, and the
   live sky panel promoted to the hero.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  /* Brand navy, sampled from the constellation background (average #071829). */
  --navy-950: #04101d;
  --navy-900: #071829;
  --navy-800: #0b2036;
  --navy-700: #123252;
  --navy-600: #014066;          /* the site's existing hover navy */

  /* Comet teal: the accent, taken from the green-teal comae in the photos. */
  --teal-300: #7fe0e3;
  --teal-400: #37c6cb;          /* on dark surfaces */
  --teal-700: #0b6e73;          /* on light surfaces, 5.6:1 on white */

  /* Paper */
  --paper: #ffffff;
  --paper-2: #f3f6f9;
  --line: #dbe3ec;
  --line-strong: #c3cfdc;

  /* Ink: navy-tinted, never neutral gray */
  --ink: #0e1a2b;
  --ink-2: #3f5064;
  --ink-3: #5a6c80;

  /* Text on navy */
  --on-dark: #f4f7fb;
  --on-dark-2: rgba(226, 235, 245, .78);
  --on-dark-3: rgba(226, 235, 245, .6);
  --on-dark-line: rgba(226, 235, 245, .16);

  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;

  --shadow-card: 0 1px 2px rgba(7, 24, 41, .06), 0 12px 32px -12px rgba(7, 24, 41, .22);
  --shadow-float: 0 2px 6px rgba(0, 0, 0, .22), 0 28px 60px -20px rgba(0, 0, 0, .6);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font: 400 1rem/1.6 var(--font-body);
  color: var(--ink);
  background: var(--navy-900) url("assets/constellations.png") center top / cover no-repeat;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 900px) and (hover: hover) {
  body { background-attachment: fixed; }
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--teal-700);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
a:hover { text-decoration-thickness: 2px; }

::selection { background: var(--teal-400); color: var(--navy-900); }

:focus-visible {
  outline: 2px solid var(--teal-700);
  outline-offset: 3px;
  border-radius: 2px;
}
.sky :focus-visible,
.site-footer :focus-visible,
.join :focus-visible,
.feature__link:focus-visible { outline-color: var(--teal-300); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -.01em;
  text-wrap: balance;
}
p { margin: 0; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.nowrap { white-space: nowrap; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--teal-400);
  color: var(--navy-900);
  font-weight: 700;
  border-radius: var(--radius-s);
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* --- Shared pieces -------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: .9375rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s, color .2s, border-color .2s;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button svg { width: 18px; height: 18px; flex: none; }

.button--accent {
  background: var(--teal-400);
  color: var(--navy-900);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 16px -6px rgba(0, 0, 0, .45);
}
.button--accent:hover {
  background: var(--teal-300);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .3), 0 10px 22px -8px rgba(0, 0, 0, .5);
}

.button--ghost {
  color: var(--on-dark);
  border-color: rgba(226, 235, 245, .35);
  background: transparent;
}
.button--ghost:hover {
  border-color: var(--on-dark);
  background: rgba(255, 255, 255, .06);
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: .9375rem;
  color: var(--teal-700);
  text-decoration: none;
  white-space: nowrap;
}
.more svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.more:hover { text-decoration: underline; }
.more:hover svg { transform: translateX(3px); }
.more--light { color: var(--teal-300); }

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: .8125rem;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.meta > * + *::before {
  content: "·";
  margin-right: 10px;
  color: var(--line-strong);
}
.meta__cat { color: var(--teal-700); font-weight: 700; }
.meta--dark { color: var(--on-dark-3); }
.meta--dark .meta__cat { color: var(--teal-300); }
.meta--dark > * + *::before { color: var(--on-dark-3); }

/* --- Sky: header + hero --------------------------------------------------- */
.sky {
  position: relative;
  z-index: 2;
  color: var(--on-dark);
  isolation: isolate;
}
/* Dim the constellations under the type so the stars stay a texture, not noise. */
.sky::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 24, 41, .86) 0%, rgba(7, 24, 41, .6) 55%, rgba(7, 24, 41, .38) 100%);
}

.site-header {
  position: relative;
  padding-block: 18px;
  border-bottom: 1px solid var(--on-dark-line);
}
.site-header__row {
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { display: inline-flex; flex: none; }
.brand img { height: 40px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex: 1;
  min-width: 0;
}
.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2px;
}
.site-nav__list a {
  position: relative;
  display: block;
  padding: 8px 10px;
  color: var(--on-dark-2);
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  border-radius: var(--radius-s);
  white-space: nowrap;
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 3px;
  height: 2px;
  background: var(--teal-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.site-nav__list a:hover { color: var(--on-dark); }
.site-nav__list a:hover::after { transform: scaleX(1); }

.site-nav__tools {
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-nav__login {
  display: none;                /* desktop: lives in the footer and the mobile menu */
  color: var(--on-dark-2);
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav__login:hover { color: var(--on-dark); text-decoration: underline; }

.search { position: relative; display: flex; }
.search input {
  width: 150px;
  height: 38px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--on-dark-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--on-dark);
  font: inherit;
  font-size: .9rem;
  caret-color: var(--teal-300);
  transition: width .35s var(--ease-out), background-color .2s, border-color .2s;
}
.search input::placeholder { color: var(--on-dark-3); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search input:focus {
  width: 230px;
  outline: none;
  background: rgba(255, 255, 255, .1);
  border-color: var(--teal-400);
}
.search button {
  position: absolute;
  right: 4px; top: 4px;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--on-dark-2);
  cursor: pointer;
}
.search button svg { width: 18px; height: 18px; }
.search button:hover { color: var(--on-dark); background: rgba(255, 255, 255, .1); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 12px;
  border: 1px solid var(--on-dark-line);
  border-radius: 999px;
  background: transparent;
  color: var(--on-dark);
  font: inherit;
  font-weight: 600;
  font-size: .9375rem;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 80px) 48px; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.hero__copy {
  max-width: 36rem;
  padding-top: clamp(0px, 2vw, 24px);
}
.hero h1 {
  font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: #fff;
}
.hero__lede {
  margin-top: 24px;
  max-width: 32rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--on-dark-2);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* Sky card: the live-data panel. Hangs over the edge of the white sheet. */
.sky-card {
  position: relative;
  z-index: 2;
  margin-bottom: -72px;
  padding: 22px 26px 20px;
  background: linear-gradient(180deg, rgba(13, 34, 58, .96), rgba(7, 24, 41, .98));
  border: 1px solid rgba(127, 224, 227, .22);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-float);
}
.sky-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--on-dark-line);
}
.sky-card__head h2 { font-size: 1.375rem; color: #fff; }
.sky-card__night {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--teal-300);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.sky-card__moon {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--on-dark-line);
}
.moon {
  width: 52px; height: 52px;
  flex: none;
}
.moon__disc { fill: #132a44; stroke: rgba(226, 235, 245, .28); stroke-width: .75; }
.moon__lit { fill: #f4f7fb; }
.sky-card__label { font-size: .8125rem; font-weight: 600; color: var(--on-dark-3); }
.sky-card__value { font-size: 1.0625rem; font-weight: 600; color: #fff; }
.sky-card__note {
  font-size: .8125rem;
  color: var(--on-dark-2);
  font-variant-numeric: tabular-nums;
}

.sky-card__group { padding: 14px 0 6px; }
.sky-card__group + .sky-card__group { border-top: 1px solid var(--on-dark-line); }
.sky-card__group h3 {
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--on-dark-3);
}
.sky-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.sky-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: baseline;
  font-size: .9375rem;
  font-variant-numeric: tabular-nums;
}
.sky-list__name { color: #fff; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.sky-list__where { color: var(--on-dark-3); font-size: .8125rem; white-space: nowrap; }
.sky-list__mag { color: var(--teal-300); font-weight: 700; text-align: right; min-width: 5.5ch; white-space: nowrap; }

.sky-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--on-dark-line);
}
.sky-card__source { font-size: .75rem; color: var(--on-dark-3); }

/* --- Sheet: the white content area ---------------------------------------- */
.sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 1320px);
  margin-inline: auto;
  background: var(--paper);
  border-radius: var(--radius-l) var(--radius-l) 0 0;
}

.section { padding-block: clamp(48px, 7vw, 80px); }
.section--first { padding-top: calc(72px + clamp(40px, 6vw, 64px)); }
.section--tinted {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.section h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); }

/* Feature: the lead story keeps the dark photo-tile DNA, as a split panel */
.feature { margin-bottom: 36px; }
.feature__link {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 400px;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: var(--navy-900);
  color: var(--on-dark);
  text-decoration: none;
  box-shadow: var(--shadow-card);
}
.feature__media { position: relative; overflow: hidden; background: var(--navy-950); }
.feature__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, var(--navy-900) 100%);
}
.feature__link:hover img { transform: scale(1.03); }
.feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(24px, 3.5vw, 44px);
}
.feature__title {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem);
  line-height: 1.15;
  color: #fff;
}
.feature__excerpt { color: var(--on-dark-2); line-height: 1.6; }
.feature__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-weight: 700;
  color: var(--teal-300);
}
.feature__cta svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.feature__link:hover .feature__cta svg { transform: translateX(3px); }

/* Article cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}
.card__link { display: block; color: inherit; text-decoration: none; }
.card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: var(--navy-800);
  box-shadow: var(--shadow-card);
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.card__link:hover img { transform: scale(1.04); }
.card__title {
  margin-top: 14px;
  font-size: 1.1875rem;
  line-height: 1.3;
  color: var(--ink);
  transition: color .2s;
}
.card__link:hover .card__title { color: var(--teal-700); }
.card .meta { margin-top: 8px; }

/* --- News / event / membership ------------------------------------------- */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr);
  gap: clamp(32px, 5vw, 72px);
}
/* No news: the event and the membership card share the two columns. */
.duo--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.duo--even .side { display: contents; }
.news h2, .event h2, .join h2 { font-size: 1.375rem; margin-bottom: 18px; }

.news__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.news__list li { border-bottom: 1px solid var(--line); }
.news__list a {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 15px 0;
  color: var(--ink);
  text-decoration: none;
}
.news__list time {
  font-size: .8125rem;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.news__list span { font-weight: 600; transition: color .2s; }
.news__list a:hover span { color: var(--teal-700); }

.side { display: grid; gap: 32px; align-content: start; }

.event__card {
  display: flex;
  gap: 18px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: border-color .2s, transform .3s var(--ease-out);
}
.event__card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.event__date {
  flex: none;
  width: 60px;
  padding: 8px 0 9px;
  text-align: center;
  line-height: 1;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-s);
}
.event__day {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
}
.event__mon {
  display: block;
  margin-top: 5px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--teal-300);
}
.event__card h3 { font-size: 1.125rem; }
.event__card p {
  margin-top: 6px;
  font-size: .875rem;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.event__none { color: var(--ink-2); }
.event > .more { margin-top: 14px; }

.join {
  position: relative;
  overflow: hidden;
  padding: 26px 26px 28px;
  background: var(--navy-900);
  color: var(--on-dark);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
}
.join::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/constellations.png") center / 900px auto;
  opacity: .22;
}
.join > * { position: relative; }
.join h2 { color: #fff; margin-bottom: 10px; }
.join p { font-size: .9375rem; color: var(--on-dark-2); }
.join .button { margin-top: 20px; }

/* --- About ---------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.about__intro p {
  margin-top: 16px;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
}
.about__partners { font-size: .9375rem; }
.about__list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}
.about__list > div {
  padding-top: 14px;
  border-top: 2px solid var(--navy-900);
}
.about__list dt {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.3;
}
.about__list dd {
  margin: 8px 0 0;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--ink-2);
}

/* --- Footer --------------------------------------------------------------- */
.site-footer {
  position: relative;
  isolation: isolate;
  padding: clamp(48px, 7vw, 80px) 0 32px;
  color: var(--on-dark);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 24, 41, .7), rgba(7, 24, 41, .88));
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}
.site-footer__brand img { height: 36px; width: auto; }
.site-footer__brand .site-footer__contact { margin-top: 10px; }
.site-footer__contact a { color: var(--teal-300); }
.site-footer__brand p {
  margin-top: 16px;
  max-width: 28rem;
  font-size: .9375rem;
  color: var(--on-dark-2);
}
.site-footer h2 {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--on-dark-3);
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.social {
  display: flex !important;
  gap: 18px;
  margin-top: 20px !important;
}
.social a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.social svg { width: 18px; height: 18px; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--on-dark-line);
  font-size: .8125rem;
  color: var(--on-dark-3);
}
.site-footer__visits {
  margin: 8px 0 0;
  font-size: .8125rem;
  color: var(--on-dark-3);
}

/* --- Motion: one authored entrance, nothing else ------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > *, .sky-card {
    animation: rise .9s var(--ease-out) both;
  }
  .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .sky-card { animation-delay: .22s; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
}

/* --- Responsive ----------------------------------------------------------- */
/* Between 1101 and 1300px the search collapses to an icon that expands on focus */
@media (min-width: 1101px) and (max-width: 1300px) {
  .search input { width: 40px; padding: 0; color: transparent; cursor: pointer; }
  .search input::placeholder { color: transparent; }
  .search:not(:focus-within) button { pointer-events: none; }
  .search:focus-within input { width: 200px; padding: 0 38px 0 14px; color: var(--on-dark); cursor: text; }
  .search:focus-within input::placeholder { color: var(--on-dark-3); }
}

@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero { padding-bottom: clamp(40px, 6vw, 64px); }
  .sky-card { margin-bottom: 0; max-width: 560px; }
  .section--first { padding-top: clamp(40px, 6vw, 64px); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .feature__link { grid-template-columns: 1fr; min-height: 0; }
  .feature__media { aspect-ratio: 16 / 9; }
  .feature__media::after { background: linear-gradient(180deg, transparent 55%, var(--navy-900) 100%); }
  .feature__body { padding-top: 8px; }
}

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .site-nav__login { display: inline; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    z-index: 20;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--navy-900);
    border-bottom: 1px solid var(--on-dark-line);
    box-shadow: var(--shadow-float);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a {
    padding: 13px 4px;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--on-dark-line);
    border-radius: 0;
  }
  .site-nav__list a::after { display: none; }
  .site-nav__tools { flex-wrap: wrap; gap: 12px 16px; padding-top: 18px; }
  .search { flex: 1 1 100%; }
  .search input, .search input:focus { width: 100%; }
}

@media (max-width: 640px) {
  .hero__lede { font-size: 1.0625rem; }
  .sky-card { padding: 18px 18px 16px; }
  .sky-card__head { flex-direction: column; gap: 2px; }
  /* One flowing row per object: name, place, then the value pushed right */
  .sky-list li { display: flex; flex-wrap: wrap; gap: 2px 10px; }
  .sky-list__mag { margin-left: auto; }

  .cards { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .card { border-bottom: 1px solid var(--line); }
  .card__link {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 4px 14px;
    align-items: start;
    padding: 14px 0;
  }
  .card__media {
    grid-row: 1 / span 2;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-s);
    box-shadow: none;
  }
  .card__title { margin-top: 0; font-size: 1.0625rem; }
  .card .meta { margin-top: 0; }

  .news__list a { grid-template-columns: 1fr; gap: 4px; }
  .about__list { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__bottom { flex-direction: column; }
}
