/* Laboratory of Solar Thermal Application: site styles */

:root {
  /* Palette: night sky, concentrated sunlight, mirror steel */
  --ink: #0B1F33;
  --ink-2: #12304F;
  --ink-deep: #07131F;
  --sun: #F5A524;
  --sun-bright: #FFB940;
  --sun-deep: #9A5B00;
  --mirror: #EEF2F6;
  --paper: #FFFFFF;
  --line: #D8E0E8;

  --text: #1B2B3A;
  --muted: #4A5B6C;
  --text-on-dark: #E8EEF4;
  --muted-on-dark: #A9B8C7;

  --focus: var(--ink);

  --font: "Archivo", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --radius: 14px;
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  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: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.15; color: var(--ink); font-stretch: 112%; }
p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero, .section-dark, .site-footer { --focus: var(--sun); }

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; --focus: var(--sun); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container.narrow { max-width: 900px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: none;
  padding-inline: clamp(16px, 3vw, 48px);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  min-height: 48px;
}
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-small { font-size: .78rem; font-weight: 500; color: var(--muted); }
.brand-name { font-size: 1.02rem; font-weight: 800; font-stretch: 108%; letter-spacing: .005em; }

.site-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 4px;
}
.site-nav a {
  display: block;
  padding: 10px 12px;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  border-radius: 8px;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.site-nav a:hover { background: var(--mirror); }
.site-nav a[aria-current="true"] {
  color: var(--sun-deep);
  box-shadow: inset 0 -2px 0 var(--sun);
  border-radius: 0;
}

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(11, 31, 51, .12);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px 16px 16px; gap: 0; }
  .site-nav a { padding: 14px 12px; font-size: 1.05rem; }
  .site-nav a[aria-current="true"] { box-shadow: inset 3px 0 0 var(--sun); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--sun); color: var(--ink); }
.btn-primary:hover { background: var(--sun-bright); }

.btn-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  color: var(--text-on-dark);
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(245, 165, 36, .6);
  transition: color .2s var(--ease);
}
.btn-link:hover { color: var(--sun); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(60% 70% at 72% 40%, rgba(245, 165, 36, .16), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--text-on-dark);
  padding: clamp(48px, 7vw, 88px) 0 clamp(96px, 10vw, 150px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.hero-kicker {
  font-size: .95rem;
  color: var(--muted-on-dark);
  margin-bottom: 18px;
  max-width: 34ch;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 1.1rem + 2.4vw, 3.1rem);
  font-weight: 760;
  font-stretch: 110%;
  line-height: 1.06;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.h1-pre {
  display: block;
  margin-bottom: 8px;
  font-size: .5em;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--text-on-dark);
}
.hero-lede {
  margin-top: 20px;
  font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem);
  color: var(--sun);
  max-width: 30ch;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.hero-art { margin: 0; }
.hero-art img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 165, 36, .35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
/* The hero ends in a parabola: the section itself is shaped like a dish */
.hero-curve {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: clamp(40px, 6vw, 90px);
  color: var(--mirror);
}

@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.section-mirror { background: var(--mirror); }
.section-dark { background: var(--ink); color: var(--text-on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2, .partners-title {
  font-size: clamp(1.85rem, 1.2rem + 2vw, 2.6rem);
  font-weight: 760;
  font-stretch: 116%;
  letter-spacing: -.01em;
}
.section-intro { margin-top: 16px; font-size: 1.1rem; color: var(--muted); max-width: 68ch; }
.section-dark .section-intro { color: var(--muted-on-dark); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.about-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.about-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.about-card-body { padding: 28px; }
.about-card h3 { font-size: 1.4rem; font-weight: 720; margin-bottom: 10px; }
.about-card p { color: var(--text); }

/* Research facilities: one cover photo on the Vision card opens the full gallery */
.vision-cover {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  overflow: hidden;
}
.vision-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .3s var(--ease);
}
.vision-cover:hover img { transform: scale(1.04); }
.vision-cover-badge {
  position: absolute;
  left: 14px; bottom: 14px;
  padding: 7px 14px;
  background: rgba(11, 31, 51, .88);
  color: #fff;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
}
.vision-cover:hover .vision-cover-badge { background: var(--ink); }
.vision-note { margin-top: 8px; font-size: .92rem; color: var(--muted); }

/* Lightbox */
.lightbox {
  width: min(1100px, calc(100vw - 24px));
  max-height: 92vh;
  padding: 0;
  border: none;
  border-radius: 16px;
  background: var(--ink);
  color: var(--text-on-dark);
  overflow: visible;
}
.lightbox::backdrop { background: rgba(7, 19, 31, .78); }
.lightbox .dialog-close {
  background: var(--ink);
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
  z-index: 2;
}
.lightbox .dialog-close:hover { border-color: var(--sun); }
.lb-figure { margin: 0; padding: 16px; }
.lb-figure img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 68vh;
  width: auto; height: auto;
  border-radius: 8px;
  background: var(--ink-deep);
}
.lb-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 20px;
  padding: 14px 4px 4px;
}
.lb-caption { font-weight: 600; color: #fff; }
.lb-count { font-size: .9rem; color: var(--muted-on-dark); font-variant-numeric: tabular-nums; }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(11, 31, 51, .9);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: #fff;
}
.lb-nav:hover { border-color: var(--sun); background: var(--ink); }
.lb-nav svg { width: 22px; height: 22px; }
.lb-prev { left: -20px; }
.lb-next { right: -20px; }

@media (max-width: 767px) {
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-figure img { max-height: 56vh; }
}

.journal-note {
  margin-top: 24px;
  max-width: 820px;
  padding: 18px 22px;
  background: var(--paper);
  border-left: 4px solid var(--sun);
  border-radius: 0 10px 10px 0;
  color: var(--text);
}

@media (max-width: 767px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-card-body { padding: 22px; }
}

/* ---------- Research ---------- */
.research-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.research-card {
  padding: 26px;
  background: var(--mirror);
  border-radius: var(--radius);
}
.research-card h3 { font-size: 1.15rem; font-weight: 720; margin-bottom: 10px; }
.research-card p { color: var(--muted); font-size: 1rem; }

.projects { margin-top: clamp(48px, 6vw, 72px); max-width: 980px; }
.projects-title { font-size: 1.3rem; font-weight: 720; margin-bottom: 12px; }
.projects-title + .project-list { margin-bottom: 40px; }
.project-list { list-style: none; margin: 0; padding: 0; }
.project-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 24px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.project-name { color: var(--text); }
.project-meta {
  font-size: .92rem;
  color: var(--sun-deep);
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1023px) { .research-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .research-grid { grid-template-columns: 1fr; }
  .project-list li { grid-template-columns: 1fr; }
  .project-meta { white-space: normal; }
}

/* ---------- Team ---------- */
/* One scrolling row of portraits; the full profile opens in a dialog */
.team-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 4px 4px 18px;
  scrollbar-color: rgba(11, 31, 51, .35) transparent;
}
.member-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 0;
  text-align: left;
  background: var(--ink);
  color: var(--text-on-dark);
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.member-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(11, 31, 51, .18);
}

/* Square portrait so the face fills the card, fading into the panel below it */
.member-media { display: block; position: relative; overflow: hidden; }
.member-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  background: var(--ink-2);
  transition: transform .3s var(--ease);
}
.member-card:hover .member-media img { transform: scale(1.05); }
.member-media::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 64px;
  pointer-events: none;
  background: linear-gradient(to top, var(--ink), rgba(11, 31, 51, 0));
}

.member-body { display: block; padding: 6px 20px 20px; }
.member-name { display: block; font-size: 1.15rem; font-weight: 740; color: #fff; }
.member-role {
  display: block;
  margin-top: 6px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--sun);
}
.member-more {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .9rem;
  color: var(--muted-on-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(245, 165, 36, .5);
}
.member-card:hover .member-more { color: var(--sun); }

.rail-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.rail-btn {
  width: 48px; height: 48px;
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), opacity .2s var(--ease);
}
.rail-btn svg { width: 22px; height: 22px; }
.rail-btn:hover { border-color: var(--ink); }
.rail-btn[disabled] { opacity: .35; cursor: default; }
.rail-hint { font-size: .92rem; color: var(--muted); }

/* Profile dialog */
.member-dialog {
  width: min(780px, calc(100vw - 32px));
  max-height: min(88vh, 900px);
  padding: 0;
  border: none;
  border-radius: 18px;
  background: var(--paper);
  color: var(--text);
  overflow: auto;
}
.member-dialog::backdrop { background: rgba(7, 19, 31, .62); }
.dialog-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
}
.dialog-close:hover { border-color: var(--ink); }
.dialog-close svg { width: 20px; height: 20px; }
.dialog-head {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 28px 28px 20px;
  background: var(--mirror);
}
.dialog-head img {
  width: 150px; height: 150px;
  flex: none;
  border-radius: 12px;
  object-fit: cover;
  object-position: center top;
}
.dialog-head h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); font-weight: 760; }
.dialog-role { margin-top: 8px; font-weight: 600; color: var(--sun-deep); }
.dialog-body { padding: 24px 28px 28px; }

.member-link { margin-top: 20px; }
.member-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  background: var(--mirror);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.member-link a:hover { border-color: var(--ink); background: #E3EAF1; }

.member-facts { margin: 0; }
.member-facts dt {
  font-size: .85rem;
  font-weight: 700;
  color: var(--sun-deep);
}
.member-facts dd { margin: 2px 0 18px; }
.member-facts dd:last-child { margin-bottom: 0; }

@media (max-width: 599px) {
  .member-card { flex-basis: 268px; }
  .dialog-head { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 20px 18px; }
  .dialog-head img { width: 120px; height: 120px; }
  .dialog-body { padding: 20px; }
  .rail-hint { font-size: .85rem; }
}

/* ---------- Our activity gallery ---------- */
.gallery-slide {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
}
.gallery-slide[hidden] { display: none; }
.gallery-slide.is-entering { animation: fade-in .28s var(--ease); }
.gallery-frame {
  aspect-ratio: 4 / 3;
  background: var(--ink-deep);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-frame img { width: 100%; height: 100%; object-fit: contain; }
.gallery-meta { font-size: .95rem; font-weight: 600; color: var(--sun); margin-bottom: 10px; }
.gallery-slide h3 { font-size: clamp(1.35rem, 1.05rem + 1vw, 1.8rem); font-weight: 740; margin-bottom: 14px; text-wrap: balance; }
.gallery-slide figcaption p:last-child { color: var(--muted-on-dark); }

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.gallery-btn {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: #fff;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.gallery-btn:hover { background: rgba(255, 255, 255, .08); border-color: var(--sun); }
.gallery-btn svg { width: 22px; height: 22px; }
.gallery-count { color: var(--muted-on-dark); font-variant-numeric: tabular-nums; min-width: 6ch; text-align: center; }

.gallery-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 104px;
  gap: 10px;
  margin-top: 20px;
  padding-bottom: 8px;
  overflow-x: auto;
  scrollbar-color: rgba(255, 255, 255, .25) transparent;
}
.gallery-thumb {
  position: relative;
  height: 70px;
  padding: 0;
  background: var(--ink-deep);
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  opacity: .55;
  transition: opacity .2s var(--ease), border-color .2s var(--ease);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: .85; }
.gallery-thumb[aria-current="true"] { opacity: 1; border-color: var(--sun); }

@media (max-width: 899px) {
  .gallery-slide { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- Publications ---------- */
.pub-list { margin: 0; padding-left: 1.4em; }
.pub-list li { padding-left: .4em; margin-bottom: 22px; }
.pub-list li::marker { color: var(--sun-deep); font-weight: 700; }
.pub-title { font-weight: 650; color: var(--ink); }
.pub-ref { margin-top: 4px; color: var(--muted); font-size: .98rem; }
.pub-ref a { color: var(--sun-deep); text-underline-offset: 3px; overflow-wrap: anywhere; }
.pub-ref a:hover { color: var(--ink); }

/* ---------- Partners ---------- */
.partners-title { margin-bottom: 24px; }
.partner-logos {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.partner-logos a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 124px;
  padding: 20px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.partner-logos a:hover {
  border-color: #AFC0D0;
  box-shadow: 0 10px 24px rgba(11, 31, 51, .08);
  transform: translateY(-2px);
}
.partner-logos img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 76px;
  object-fit: contain;
}

@media (max-width: 1023px) { .partner-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .partner-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .partner-logos a { height: 100px; padding: 14px 16px; }
  .partner-logos img { max-height: 60px; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact .btn { margin-top: 28px; }
.contact-list { margin: 0; display: grid; gap: 20px; }
.contact-list dt { font-size: .9rem; font-weight: 700; color: var(--sun); }
.contact-list dd { margin: 4px 0 0; color: var(--text-on-dark); }
.contact-list a { color: #fff; text-underline-offset: 4px; text-decoration-color: rgba(245, 165, 36, .6); }
.contact-list a:hover { color: var(--sun); }

@media (max-width: 767px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-deep);
  color: var(--muted-on-dark);
  font-size: .92rem;
  padding: 24px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  align-items: center;
}
.site-footer a { color: var(--text-on-dark); text-underline-offset: 4px; }
.site-footer a:hover { color: var(--sun); }

@media (max-width: 479px) {
  .container { padding-inline: 16px; }
  .brand-name { font-size: .92rem; }
  .brand-mark { width: 38px; height: 38px; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
