/* ==========================================================================
   郎学科技 · 官网设计系统
   base → layout → header → controls → footer → forms → motion
   ========================================================================== */

:root {
  --ink: #0b0e15;
  --ink-2: #111722;
  --ink-3: #1a2230;
  --paper: #f4f1ea;
  --paper-2: #ece8df;
  --paper-3: #e3ded2;
  --white: #ffffff;
  --orange: #ff5a1f;
  --orange-bright: #ff7a45;
  --orange-deep: #b93704;
  --orange-soft: rgba(255, 90, 31, 0.1);
  --text: #0b0e15;
  --muted: #59616d;
  --muted-2: #5f6772;
  --muted-dark: rgba(255, 255, 255, 0.62);
  --muted-light: #a8aeb7;
  --line: rgba(11, 14, 21, 0.13);
  --line-strong: rgba(11, 14, 21, 0.24);
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-dark-strong: rgba(255, 255, 255, 0.24);
  --shell: 1320px;
  --gutter: clamp(20px, 4.5vw, 62px);
  --header-h: 76px;
  --radius: 4px;
  --radius-lg: 10px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-en: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", "SF Mono", "JetBrains Mono", "Roboto Mono", "Courier New", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
p,
blockquote,
figure,
ol,
ul,
dl,
dd,
dt {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--orange);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

main:focus {
  outline: none;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 10px 16px;
  border-radius: 3px;
  background: var(--orange);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-170%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section {
  position: relative;
  padding: clamp(84px, 9vw, 142px) 0;
}

.section--tight {
  padding: clamp(64px, 7vw, 100px) 0;
}

.section--paper {
  background: var(--paper);
}

.section--paper-2 {
  background: var(--paper-2);
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
}

.section--orange {
  background: var(--orange);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.display {
  max-width: 960px;
  color: var(--ink);
  font-size: clamp(40px, 5.4vw, 78px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.06;
  text-wrap: balance;
}

.display--sm {
  font-size: clamp(34px, 4vw, 56px);
}

.display--light {
  color: var(--paper);
}

.display em {
  font-style: normal;
  color: var(--orange-deep);
}

.cta-band .display em,
.section--dark .display em {
  color: var(--orange);
}

.display .mark {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.display .mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -0.06em;
  bottom: 0.06em;
  left: -0.06em;
  height: 0.3em;
  background: var(--orange);
  opacity: 0.28;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--orange);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.56);
}

.eyebrow--dark {
  color: rgba(11, 14, 21, 0.82);
}

.eyebrow--plain::before {
  display: none;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(32px, 5vw, 90px);
  align-items: end;
  margin-top: 26px;
}

.section-head .display {
  max-width: 760px;
}

.section-intro {
  max-width: 480px;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.85;
}

.section-intro--light {
  color: rgba(255, 255, 255, 0.6);
}

.section-intro strong {
  color: var(--ink);
  font-weight: 600;
}

.section-intro--light strong {
  color: var(--paper);
}

.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.section-top--dark {
  border-color: var(--line-dark);
}

.section-top__note {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-align: right;
}

.section-top--dark .section-top__note {
  color: rgba(255, 255, 255, 0.54);
}

.section-number {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
}

.section-number b {
  color: var(--orange-deep);
  font-weight: 500;
}

.section-top--dark .section-number {
  color: var(--muted-dark);
}

.section-top--dark .section-number b {
  color: var(--orange);
}

.mono {
  font-family: var(--font-mono);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease, gap 0.25s var(--ease);
}

.text-link:hover {
  gap: 15px;
  border-color: var(--orange);
  color: var(--orange-deep);
}

.text-link .icon {
  font-size: 15px;
}

.text-link--light {
  border-color: rgba(255, 255, 255, 0.26);
  color: var(--paper);
}

.text-link--light:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(11, 14, 21, 0.86);
  color: var(--paper);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(9, 12, 18, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand__mark {
  width: 30px;
  height: auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
}

.brand__cn {
  color: var(--paper);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand__en {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--paper);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.btn-header {
  display: inline-flex;
  height: 38px;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border-radius: 2px;
  background: var(--orange);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-header:hover {
  background: var(--orange-bright);
  transform: translateY(-1px);
}

.btn-header .icon {
  font-size: 14px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  color: var(--paper);
}

.nav-toggle .icon {
  font-size: 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;
}

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.12s linear;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  padding: calc(var(--header-h) + 32px) var(--gutter) 32px;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__eyebrow {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-dark);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: clamp(24px, 6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.mobile-nav a[aria-current="page"] {
  color: var(--orange);
}

.mobile-nav a span {
  width: 28px;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.mobile-nav a .icon {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.35);
  font-size: 18px;
}

.mobile-menu__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 34px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.mobile-menu__foot a {
  color: var(--orange);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s var(--ease);
}

.btn .icon {
  font-size: 16px;
  transition: transform 0.25s var(--ease);
}

.btn:hover .icon {
  transform: translate(2px, -2px);
}

.btn--primary {
  background: var(--orange);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--orange-bright);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: var(--ink-3);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn--outline {
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn--sm {
  min-height: 40px;
  padding: 0 15px;
  font-size: 12px;
}

.btn--block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(64px, 7vw, 96px);
  background: var(--ink);
  color: var(--paper);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0 18%, rgba(255, 255, 255, 0.1) 18% 100%);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.25fr 0.65fr 0.65fr 0.9fr;
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: 58px;
}

.footer-brand__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.footer-brand__logo img {
  width: 30px;
}

.footer-brand__logo span {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.footer-brand__slogan {
  max-width: 300px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 15px;
  line-height: 1.8;
}

.footer-brand__slogan strong {
  color: var(--paper);
  font-weight: 500;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-top: 5px;
}

.footer-col__title {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p {
  width: fit-content;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.7;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-col--contact p {
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange) !important;
  font-weight: 500;
}

.footer-contact-link .icon {
  font-size: 13px;
}

.footer-word {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 22px;
  border-top: 1px solid var(--line-dark);
}

.footer-word__line {
  display: block;
  width: min(100%, 860px);
  height: auto;
  color: rgba(255, 255, 255, 0.09);
}

.footer-word__meta {
  padding-bottom: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-align: right;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.footer-bottom p a {
  color: rgba(255, 255, 255, 0.66);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
}

.footer-bottom p a:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--orange);
}

.footer-bottom .icon {
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   Floating / utilities
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 300;
  max-width: min(360px, calc(100vw - 40px));
  padding: 13px 18px;
  border-left: 3px solid var(--orange);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  font-size: 13px;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.divider {
  height: 1px;
  background: var(--line);
}

.divider--dark {
  background: var(--line-dark);
}

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

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-card {
  padding: clamp(24px, 3.5vw, 44px);
  border: 1px solid var(--line);
  background: var(--white);
}

.form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
}

.form-eyebrow {
  color: var(--orange-deep);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
}

.form-title {
  margin-top: 7px;
  color: var(--ink);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.form-intro {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 13px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field > span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

.field > span em {
  color: var(--orange-deep);
  font-style: normal;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13.5px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange);
  background: var(--white);
  outline: none;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #c62828;
}

.select-icon {
  position: absolute;
  right: 13px;
  bottom: 15px;
  color: var(--muted);
  font-size: 15px;
  pointer-events: none;
}

.field--full {
  margin-bottom: 18px;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.form-note {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.6;
}

.form-status {
  min-height: 20px;
  margin-top: 12px;
  color: var(--orange-deep);
  font-size: 12px;
}

.form-status.is-success {
  color: #1b6b3a;
}

.form-status.is-error {
  color: #b42318;
}

/* --------------------------------------------------------------------------
   Reveal / motion
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.js .reveal[style*="--delay"] {
  transition-delay: var(--delay);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.42; transform: scale(0.78); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 126px) 0;
  background: var(--ink);
  color: var(--paper);
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}

.cta-band::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.2), transparent 68%);
  transform: translateY(-50%);
  pointer-events: none;
}

.cta-band__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.5fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
}

.cta-band .display {
  max-width: 850px;
  color: var(--paper);
  font-size: clamp(42px, 6.5vw, 92px);
}

.cta-band__side {
  padding-bottom: 8px;
}

.cta-band__side p {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13.5px;
  line-height: 1.8;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.cta-band__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 34px;
  padding-top: 17px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.36);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.09em;
}

.cta-band__meta a {
  color: rgba(255, 255, 255, 0.58);
}

.cta-band__meta a:hover {
  color: var(--orange);
}

/* CTA responsive (shared across pages) */
@media (max-width: 960px) {
  .cta-band__grid {
    grid-template-columns: 1fr;
  }

  .cta-band__side {
    padding-bottom: 0;
  }
}

@media (max-width: 640px) {
  .cta-band {
    padding: 70px 0;
  }

  .cta-band__meta {
    margin-top: 26px;
  }

  .cta-band__actions .btn {
    flex: 1 1 auto;
  }
}

/* --------------------------------------------------------------------------
   Responsive shell
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 18px;
  }

  .desktop-nav a {
    font-size: 12px;
  }

  .footer-top {
    grid-template-columns: 1.1fr 0.6fr 0.6fr 0.8fr;
    gap: 28px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 68px;
  }

  .desktop-nav,
  .header-actions .btn-header {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-intro {
    max-width: 620px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-word__line {
    font-size: clamp(48px, 12vw, 100px);
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
  }

  body {
    font-size: 15px;
  }

  .header-inner {
    gap: 12px;
  }

  .brand__mark {
    width: 27px;
  }

  .brand__cn {
    font-size: 16px;
  }

  .section-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .section-top__note {
    text-align: left;
  }

  .display {
    font-size: clamp(34px, 10vw, 48px);
    letter-spacing: -0.045em;
  }

  .btn {
    min-height: 48px;
    padding: 0 18px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
    padding-bottom: 42px;
  }

  .footer-col--contact {
    grid-column: 1 / -1;
  }

  .footer-word {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-word__line {
    width: 100%;
  }

  .footer-word__meta {
    text-align: left;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 9px;
  }

  .toast {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
  }
}

/* --------------------------------------------------------------------------
   Core team
   -------------------------------------------------------------------------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(34px, 4vw, 52px);
}

.team-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 48px rgba(11, 14, 21, 0.09);
}

.team-card__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-3);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.88) contrast(1.03);
  transition: transform 0.7s var(--ease), filter 0.4s ease;
}

.team-card:hover .team-card__photo img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.02);
}

.team-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 64%, rgba(11, 14, 21, 0.3));
  pointer-events: none;
}

.team-card__index {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 13px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(11, 14, 21, 0.5);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  backdrop-filter: blur(6px);
}

.team-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px 22px 22px;
}

.team-card__name {
  color: var(--ink);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.team-card__role {
  margin-top: 4px;
  color: var(--orange-deep);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.team-card__line {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.team-card__list {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.team-card__list li {
  position: relative;
  padding-left: 13px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
}

.team-card__list li + li {
  margin-top: 5px;
}

.team-card__list li::before {
  content: "";
  position: absolute;
  top: 0.76em;
  left: 0;
  width: 4px;
  height: 1px;
  background: var(--orange);
}

.team-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 16px;
}

.team-card__tags span {
  padding: 3px 6px;
  border: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.02em;
}

.team-card--compact .team-card__body {
  padding: 18px 18px 19px;
}

.team-card--compact .team-card__line {
  margin-top: 9px;
}

.team-card--compact .team-card__tags {
  padding-top: 13px;
}

/* Education team band */

.team-band {
  padding: clamp(62px, 7vw, 96px) 0;
  background: var(--ink);
  color: var(--paper);
}

.team-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.team-band__head .display {
  max-width: 430px;
  color: var(--paper);
  font-size: clamp(34px, 4.2vw, 54px);
}

.team-band__head p {
  max-width: 390px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.85;
}

.team-band__head .text-link {
  margin-top: 22px;
}

.team-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.team-mini {
  min-width: 0;
}

.team-mini__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink-2);
}

.team-mini__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(0.78) contrast(1.03);
  transition: transform 0.6s var(--ease), filter 0.4s ease;
}

.team-mini:hover .team-mini__photo img {
  transform: scale(1.035);
  filter: saturate(0.95) contrast(1.02);
}

.team-mini__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(11, 14, 21, 0.55));
}

.team-mini__body {
  padding-top: 11px;
  border-top: 1px solid var(--line-dark);
  margin-top: 10px;
}

.team-mini h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.team-mini p {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.03em;
  line-height: 1.55;
}

/* Qualification strip on home */

.credential-strip {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1.25fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 32px;
  padding: 21px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.credential-strip__label {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.credential-strip__label b {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.credential-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
}

.credential-strip li {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}

.credential-strip li::before {
  content: "+";
  margin-right: 6px;
  color: var(--orange-deep);
  font-family: var(--font-mono);
}

.credential-strip .text-link {
  flex: none;
  font-size: 11px;
}

/* --------------------------------------------------------------------------
   Certificates
   -------------------------------------------------------------------------- */

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(32px, 4vw, 48px);
}

.cert-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: left;
  transition: transform 0.3s var(--ease), border-color 0.25s ease, box-shadow 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(11, 14, 21, 0.08);
}

.cert-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-3);
}

.cert-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s var(--ease);
}

.cert-card:hover .cert-card__image img {
  transform: scale(1.025);
}

.cert-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  padding: 15px 17px 17px;
}

.cert-card__label {
  color: var(--orange-deep);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
}

.cert-card strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.45;
}

.cert-card__meta {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Media lightbox
   -------------------------------------------------------------------------- */

.media-dialog {
  width: min(1120px, calc(100vw - 40px));
  max-width: none;
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.38);
}

.media-dialog::backdrop {
  background: rgba(5, 7, 11, 0.8);
  backdrop-filter: blur(7px);
}

.media-dialog__inner {
  position: relative;
  display: flex;
  max-height: 92vh;
  flex-direction: column;
}

.media-dialog__close {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}

.media-dialog__close:hover {
  background: var(--ink);
  color: var(--paper);
}

.media-dialog__close .icon {
  font-size: 16px;
}

.media-dialog__stage {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 3vw, 34px);
  overflow: auto;
  background: #0b0e15;
}

.media-dialog__stage img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 68vh;
  object-fit: contain;
}

.media-dialog__caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 3vw, 30px) 20px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.media-dialog__caption h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.media-dialog__caption p {
  max-width: 640px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.media-dialog__caption span {
  flex: none;
  padding-top: 4px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-align: right;
}

/* --------------------------------------------------------------------------
   Team / certificates responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .team-card__body {
    padding: 17px 17px 18px;
  }

  .team-card__name {
    font-size: 21px;
  }

  .credential-strip {
    grid-template-columns: 1fr auto;
  }

  .credential-strip ul {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

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

  .team-card {
    display: grid;
    grid-template-columns: 160px 1fr;
  }

  .team-card__photo {
    height: 100%;
    aspect-ratio: auto;
  }

  .team-card__body {
    padding: 20px 22px;
  }

  .team-card__name {
    font-size: 23px;
  }

  .team-card__tags {
    margin-top: 12px;
  }

  .team-band__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .team-mini-grid {
    max-width: 620px;
  }

  .cert-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .team-card {
    display: flex;
    flex-direction: column;
  }

  .team-card__photo {
    aspect-ratio: 4 / 5;
    height: auto;
  }

  .team-card__body {
    padding: 18px;
  }

  .team-card__name {
    font-size: 22px;
  }

  .team-mini-grid {
    gap: 7px;
  }

  .team-mini h3 {
    font-size: 13px;
  }

  .team-mini p {
    font-size: 6.5px;
  }

  .team-band__head .display {
    font-size: clamp(32px, 9vw, 42px);
  }

  .credential-strip {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .credential-strip ul {
    grid-column: auto;
    grid-row: auto;
    gap: 6px 14px;
  }

  .credential-strip .text-link {
    justify-self: start;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .media-dialog {
    width: calc(100vw - 20px);
    max-height: 94vh;
  }

  .media-dialog__inner {
    max-height: 94vh;
  }

  .media-dialog__stage {
    padding: 12px;
  }

  .media-dialog__stage img {
    max-height: 58vh;
  }

  .media-dialog__caption {
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px 16px;
  }

  .media-dialog__caption span {
    padding-top: 0;
    text-align: left;
  }
}

.section--dark .form-note {
  color: var(--muted-dark);
}


.page-section--dark .form-note {
  color: var(--muted-dark);
}

/* --------------------------------------------------------------------------
   Newsroom
   -------------------------------------------------------------------------- */

.news-wire__body {
  display: block;
  min-height: 0;
  padding: 0;
}

.news-wire__item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.2s ease;
}

.news-wire__item:last-child {
  border-bottom: 0;
}

.news-wire__item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.news-wire__date {
  padding-top: 2px;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
}

.news-wire__text strong {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.55;
}

.news-wire__text span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.04em;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.news-card {
  min-height: 268px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.3s var(--ease), border-color 0.25s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(11, 14, 21, 0.08);
}

.news-card--lead {
  grid-column: span 2;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.news-card--lead:hover {
  border-color: var(--ink-3);
  box-shadow: 0 22px 54px rgba(11, 14, 21, 0.18);
}

.news-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 22px 22px 19px;
}

.news-card--lead .news-card__link {
  padding: clamp(24px, 3vw, 32px);
}

.news-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 6px;
  border: 1px solid var(--line);
  color: var(--orange-deep);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.04em;
}

.news-card--lead .news-tag {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--orange);
}

.news-tag--top {
  border-color: var(--orange) !important;
  background: var(--orange);
  color: var(--ink) !important;
}

.news-date {
  margin-left: auto;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.news-card--lead .news-date {
  color: rgba(255, 255, 255, 0.56);
}

.news-card__title {
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.42;
}

.news-card--lead .news-card__title {
  max-width: 700px;
  color: var(--paper);
  font-size: clamp(27px, 2.8vw, 38px);
  letter-spacing: -0.035em;
  line-height: 1.24;
}

.news-card__summary {
  flex: 1;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.78;
}

.news-card--lead .news-card__summary {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13.5px;
  line-height: 1.82;
}

.news-card__take {
  margin-top: 17px;
  padding-top: 12px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.7;
}

.news-card__take b {
  display: block;
  margin-bottom: 4px;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.news-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.02em;
}

.news-card--lead .news-card__foot {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.62);
}

.news-card__foot span:last-child {
  color: var(--orange-deep);
  white-space: nowrap;
}

.news-card--lead .news-card__foot span:last-child {
  color: var(--orange);
}

.news-card.is-hidden {
  display: none;
}

/* Homepage news preview */

.news-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.news-mini {
  display: flex;
  min-height: 218px;
  flex-direction: column;
  padding: 21px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.3s var(--ease), border-color 0.25s ease, box-shadow 0.3s ease;
}

.news-mini:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(11, 14, 21, 0.08);
}

.news-mini__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--orange-deep);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
}

.news-mini__top time {
  color: var(--muted-2);
}

.news-mini h3 {
  margin-top: 30px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.news-mini p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.news-mini__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 7.5px;
}

.news-mini__foot span:last-child {
  color: var(--orange-deep);
}

.news-preview__foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

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

  .news-card--lead {
    grid-column: span 2;
  }
}

@media (max-width: 960px) {
  .news-preview__grid {
    grid-template-columns: 1fr;
  }

  .news-mini {
    min-height: 0;
  }

  .news-mini h3 {
    margin-top: 20px;
  }
}

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

  .news-card--lead {
    grid-column: span 1;
  }

  .news-card {
    min-height: 0;
  }

  .news-card--lead .news-card__link {
    padding: 22px 19px;
  }

  .news-card__link {
    padding: 19px;
  }

  .news-card--lead .news-card__title {
    font-size: 25px;
  }

  .news-date {
    margin-left: 0;
  }
}


.news-wire .schematic__top,
.news-wire .schematic__foot {
  color: rgba(255, 255, 255, 0.58);
}

/* --------------------------------------------------------------------------
   News archive list (99 items)
   -------------------------------------------------------------------------- */

.news-list {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.news-row {
  display: grid;
  grid-template-columns: 94px 1fr 20px;
  gap: 22px;
  align-items: start;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, padding 0.2s ease;
}

.news-row:hover {
  padding-right: 10px;
  padding-left: 10px;
  background: rgba(11, 14, 21, 0.025);
}

.news-row__date {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 2px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.news-row__date span {
  color: var(--orange-deep);
  font-size: 6.8px;
  letter-spacing: 0.06em;
}

.news-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 5px;
  color: var(--orange-deep);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.04em;
}

.news-row__source {
  color: var(--muted-2);
}

.news-row h3 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.42;
  transition: color 0.2s ease;
}

.news-row p {
  max-width: 900px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.72;
}

.news-row__arrow {
  padding-top: 4px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 16px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.news-row:hover h3 {
  color: var(--orange-deep);
}

.news-row:hover .news-row__arrow {
  color: var(--orange);
  transform: translate(2px, -2px);
}

.news-row--lead {
  margin: 0;
  padding: 25px 22px;
  border-color: var(--ink);
  background: var(--ink);
}

.news-row--lead:hover {
  padding-right: 22px;
  padding-left: 22px;
  background: var(--ink-2);
}

.news-row--lead .news-row__date {
  color: rgba(255, 255, 255, 0.6);
}

.news-row--lead .news-row__date span {
  color: var(--orange);
}

.news-row--lead .news-row__meta {
  color: var(--orange);
}

.news-row--lead .news-row__source {
  color: rgba(255, 255, 255, 0.55);
}

.news-row--lead h3 {
  max-width: 800px;
  color: var(--paper);
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.28;
}

.news-row--lead:hover h3 {
  color: var(--paper);
}

.news-row--lead p {
  max-width: 850px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.78;
}

.news-row--lead .news-row__arrow {
  color: var(--orange);
}

.news-row.is-hidden,
.news-row.is-archived {
  display: none;
}

.news-load-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.news-load-more[hidden] {
  display: none;
}

@media (max-width: 700px) {
  .news-row {
    grid-template-columns: 1fr 18px;
    gap: 7px 12px;
    padding: 17px 0;
  }

  .news-row__date {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 8px;
    align-items: center;
  }

  .news-row h3 {
    font-size: 18px;
  }

  .news-row p {
    font-size: 11.5px;
  }

  .news-row--lead {
    padding: 21px 17px;
  }

  .news-row--lead:hover {
    padding-right: 17px;
    padding-left: 17px;
  }

  .news-row--lead h3 {
    font-size: 24px;
  }

  .news-row--lead p {
    font-size: 12px;
  }
}

/* Four-group faculty layouts */

.team-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.team-grid--about {
  grid-template-columns: repeat(2, 1fr);
}

.team-mini-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1180px) {
  .team-grid--four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1180px) {
  .team-mini-grid--four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .team-grid--four,
  .team-grid--about {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .team-mini-grid--four {
    grid-template-columns: 1fr;
  }
}

/* Five faculty directions */

.team-grid--five {
  grid-template-columns: repeat(5, 1fr);
}

.team-grid--about-five {
  grid-template-columns: repeat(3, 1fr);
}

.team-mini-grid--five {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1180px) {
  .team-grid--five {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid--about-five {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-mini-grid--five {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .team-grid--five,
  .team-grid--about-five {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .team-mini-grid--five {
    grid-template-columns: 1fr 1fr;
  }
}
