:root {
  color-scheme: light;
  --page: #f4f7fb;
  --page-alt: #e9eff7;
  --card: #e9eff7;
  --ink: #1c2430;
  --muted: #5d6878;
  --line: #e2e8f0;
  --dark: #101827;
  --dark-blue: #132033;
  --blue: #2f6bff;
  --deep-blue: #173e8f;
  --container: 1100px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow-sm: 0 14px 36px rgba(16, 24, 39, 0.07);
  --shadow-md: 0 24px 60px rgba(16, 24, 39, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

body.dialog-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(47, 107, 255, 0.45);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: white;
  color: var(--ink);
  opacity: 0;
  transform: translateY(-160%);
  visibility: hidden;
}

.skip-link:focus {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 32px 0;
}

.section-alt {
  background: var(--page-alt);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.1;
  overflow-wrap: normal;
  word-break: normal;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  color: #f8fbff;
  font-size: clamp(2.35rem, 4.3vw, 3.75rem);
  font-weight: 520;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 560;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 620;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #9bb9ff;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 20px;
}

.section-intro > p:last-child,
.track-heading p,
.about-copy,
.direction-card p,
.team-card p {
  color: var(--muted);
}

.section-intro-row {
  display: grid;
  gap: 12px;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  color: #f8fbff;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(244, 247, 251, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.8;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  background: currentColor;
  content: "";
}

.brand-mark::before {
  top: 9px;
  left: -4px;
  width: 26px;
  height: 1px;
}

.brand-mark::after {
  top: -4px;
  left: 9px;
  width: 1px;
  height: 26px;
}

.menu-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  place-content: center;
  gap: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span[aria-hidden] {
  width: 19px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] span[aria-hidden]:first-of-type {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span[aria-hidden]:last-of-type {
  transform: translateY(-4px) rotate(-45deg);
}

.site-nav {
  position: absolute;
  top: calc(100% + 1px);
  right: 16px;
  left: 16px;
  display: none;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.site-nav.is-open {
  display: grid;
}

.site-nav a {
  padding: 12px;
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 250px;
  align-items: end;
  isolation: isolate;
  overflow: clip;
  padding: 36px 0 14px;
  background: var(--dark);
  color: #f8fbff;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 76% 32%, rgba(47, 107, 255, 0.19), transparent 29%),
    radial-gradient(circle at 16% 4%, rgba(116, 153, 255, 0.08), transparent 26%),
    linear-gradient(145deg, var(--dark), var(--dark-blue));
  content: "";
}

.hero-layout {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 760px;
}

.hero-name {
  margin: 0 0 18px;
  color: #8fb0ff;
  font-size: 0.82rem;
  font-weight: 720;
  letter-spacing: 0.32em;
}

.hero-slogan {
  margin: 0 0 14px;
  color: #a9c3ff;
  font-size: clamp(1.25rem, 2.8vw, 1.85rem);
  font-weight: 430;
}

.hero-note {
  max-width: 640px;
  margin: 0;
  color: #aeb9cb;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 670;
  text-decoration: none;
  transition:
    transform 150ms cubic-bezier(0.23, 1, 0.32, 1),
    color 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease;
}

.button:active {
  transform: scale(0.97);
}

.button-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 14px 34px rgba(47, 107, 255, 0.25);
}

.button-primary:hover {
  background: #255ce0;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: white;
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
}

.hero-art {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: max(7vw, calc((100vw - 1000px) / 2));
  width: clamp(260px, 24vw, 320px);
  height: min(350px, calc(100% - 36px));
  overflow: hidden;
  pointer-events: none;
  opacity: 0.72;
  transform: translateY(-46%);
  mix-blend-mode: screen;
}

.hero-logo-motif {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-1.5%);
  filter: invert(1) hue-rotate(180deg) saturate(1.18) contrast(1.08);
}

.projects-section {
  overflow: hidden;
  background: var(--page);
}

.project-track {
  width: 100%;
  overflow-x: auto;
  padding: 4px max(16px, calc((100vw - var(--container)) / 2)) 18px;
  scroll-behavior: auto;
  scroll-snap-type: none;
  scrollbar-width: thin;
  scrollbar-color: #aebbd0 transparent;
  overscroll-behavior-inline: contain;
}

.project-track:hover .project-rail,
.project-track:focus-within .project-rail {
  animation-play-state: paused;
}

.project-rail {
  display: flex;
  width: max-content;
  gap: 18px;
}

.project-card {
  display: flex;
  width: clamp(260px, 76vw, 280px);
  min-height: 220px;
  flex: 0 0 auto;
  flex-direction: column;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.project-card-soft {
  background: #f8faff;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: #cbd7eb;
  box-shadow: var(--shadow-md);
}

.project-type {
  margin: 0 0 auto;
  color: var(--deep-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3 {
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.project-card > p:not(.project-type) {
  margin: 0;
  color: var(--muted);
}

.project-more {
  align-self: flex-start;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-weight: 680;
  text-decoration: none;
}

.track-heading {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  margin-bottom: 14px;
}

.track-heading h2 {
  margin-bottom: 8px;
}

.track-heading h2:only-child {
  margin-bottom: 0;
}

.track-heading p {
  max-width: 620px;
  margin: 0;
}

.direction-grid {
  display: grid;
  gap: 16px;
}

.direction-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(47, 107, 255, 0.11);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
}

.direction-card > span {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.direction-card h3 {
  margin-bottom: 8px;
}

.direction-card p,
.team-card p {
  margin-top: 0;
  margin-bottom: 0;
}

.about-layout {
  display: grid;
  gap: 26px;
}

.about-copy {
  max-width: 700px;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
}

.about-copy p:first-child {
  margin-top: 0;
}

.team {
  padding-top: 32px;
  padding-bottom: 32px;
}

.team-grid {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 16px;
}

.team-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
}

.team-initial {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 50%;
  background: var(--page-alt);
  color: var(--deep-blue);
  font-weight: 740;
}

.team-card h3 {
  margin-bottom: 6px;
}

.team-card--profile {
  display: flex;
  flex-direction: column;
}

.team-avatar {
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: 10px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  background: var(--page-alt);
}

.team-card .team-role {
  color: var(--deep-blue);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.team-card .team-bio {
  margin-top: 9px;
  font-size: 0.84rem;
  line-height: 1.42;
}

@media (min-width: 700px) {
  .team-card--profile {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 11px;
    align-content: start;
  }

  .team-card--profile .team-avatar {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .team-card--profile h3 {
    align-self: end;
  }

  .team-card--profile .team-role {
    align-self: start;
  }

  .team-card--profile .team-bio {
    grid-column: 1 / -1;
  }
}

.contact {
  padding: 12px 0;
  background: #081224;
  color: #f7f9fe;
}

.contact h2 {
  color: #f7f9fe;
}

.contact .eyebrow {
  margin-bottom: 4px;
  font-size: 0.6rem;
}

.contact p {
  max-width: 680px;
  margin: 0;
  color: #aeb9cb;
  font-size: 0.90625rem;
  line-height: 1.35;
}

.contact-layout {
  display: grid;
  gap: 24px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 12px;
}

.contact-actions .button {
  height: 36px;
  min-height: 36px;
  padding: 5px 10px;
  white-space: nowrap;
}

.button-light {
  background: #f7f9fe;
  color: var(--dark);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
  color: white;
  font: inherit;
  cursor: pointer;
}

.button-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
}

[aria-disabled="true"] {
  cursor: default;
  opacity: 0.66;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #081224;
  color: #9aa8bc;
}

.footer-inner {
  display: grid;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.footer-inner > div:first-child {
  display: grid;
  gap: 2px;
}

.footer-inner strong {
  color: white;
  letter-spacing: 0.12em;
}

.footer-contacts {
  display: flex;
  gap: 18px;
}

.footer-contacts a,
.footer-contact-button {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-contacts a:hover,
.footer-contact-button:hover {
  color: #f7f9fe;
}

.footer-inner p {
  margin: 0;
}

.project-dialog {
  width: min(calc(100% - 24px), 640px);
  max-height: min(88svh, 720px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
  color: var(--ink);
  box-shadow: 0 36px 100px rgba(16, 24, 39, 0.28);
}

.project-dialog::backdrop {
  background: rgba(16, 24, 39, 0.48);
  backdrop-filter: blur(3px);
}

.dialog-inner {
  position: relative;
  padding: 30px 24px 36px;
}

.dialog-close {
  display: grid;
  width: 44px;
  height: 44px;
  margin: 0 0 24px auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--page);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.55rem;
}

.dialog-inner > p:not(.eyebrow) {
  color: var(--muted);
}

.project-dialog.project-dialog-article {
  width: min(calc(100% - 24px), 780px);
  max-height: min(92svh, 840px);
}

.project-dialog-article .dialog-inner {
  padding: 24px 28px 30px;
}

.project-dialog-article .dialog-close {
  margin-bottom: 10px;
}

.project-dialog-article #dialog-kind {
  margin-bottom: 6px;
}

.project-dialog-article #dialog-title {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 3vw, 2rem);
  line-height: 1.12;
}

.dialog-copy-article {
  max-width: 68ch;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.46;
}

.dialog-copy-article section + section {
  margin-top: 20px;
}

.dialog-copy-article h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.22rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.dialog-copy-article p {
  margin: 0;
  color: var(--ink);
}

.dialog-copy-article p + p {
  margin-top: 8px;
}

.project-dialog-article .dialog-author {
  margin-top: 14px;
}

@media (max-width: 699px) {
  .project-dialog-article .dialog-inner {
    padding: 20px 18px 24px;
  }

  .project-dialog-article #dialog-title {
    font-size: 1.55rem;
  }

  .dialog-copy-article {
    font-size: 0.95rem;
    line-height: 1.44;
  }

  .dialog-copy-article section + section {
    margin-top: 17px;
  }

  .dialog-copy-article h3 {
    font-size: 1.12rem;
  }
}

@media (min-width: 700px) {
  .container {
    width: min(calc(100% - 64px), var(--container));
  }

  h1 {
    font-size: clamp(2.35rem, 4vw, 3.25rem);
  }

  h2 {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
  }

  .menu-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    position: static;
    display: flex;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
  }

  .site-nav a {
    padding: 10px 11px;
    font-size: 0.9rem;
  }

  .hero-art {
    opacity: 0.74;
  }

  .section-intro-row {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    align-items: end;
    gap: 36px;
    max-width: none;
  }

  .project-track {
    width: min(calc(100% - 64px), var(--container));
    margin-inline: auto;
    padding-inline: 0;
  }

  .project-rail {
    gap: 16px;
  }

  .project-card {
    width: 256px;
    min-height: 204px;
    height: 204px;
    padding: 16px;
  }

  .direction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout {
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    gap: 38px;
    align-items: start;
  }

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

  .contact-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    align-items: center;
    gap: 36px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }

  .dialog-inner {
    padding: 42px 42px 48px;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .container {
    width: min(calc(100% - 56px), 940px);
  }

  .header-inner {
    gap: 14px;
  }

  .brand {
    gap: 8px;
    font-size: 0.82rem;
  }

  .brand-mark {
    width: 18px;
    height: 18px;
  }

  .brand-mark::before {
    top: 8px;
    left: -3px;
    width: 22px;
  }

  .brand-mark::after {
    top: -3px;
    left: 8px;
    height: 22px;
  }

  .site-nav a {
    padding: 8px 7px;
    font-size: 0.82rem;
  }

  h1 {
    max-width: 680px;
    font-size: clamp(2.875rem, 4.5vw, 3.25rem);
  }

  h2 {
    font-size: clamp(2rem, 3.1vw, 2.375rem);
  }

  .hero-art {
    width: clamp(260px, 27vw, 310px);
  }

  .section-intro-row {
    gap: 24px;
  }

  .project-track {
    width: min(calc(100% - 56px), 940px);
    padding-inline: 0;
  }

  .project-rail {
    gap: 14px;
  }

  .project-card {
    width: 250px;
    min-height: 202px;
    height: 202px;
    padding: 15px;
  }

  .direction-card,
  .team-card {
    padding: 15px;
  }

  .about-layout {
    gap: 32px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.8fr);
    gap: 24px;
  }
}

@media (min-width: 1200px) {
  .site-nav a {
    padding-inline: 17px;
  }

  .direction-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 700px) and (max-height: 800px) {
  .section {
    padding: 32px 0;
  }

  .hero {
    min-height: 250px;
    padding: 36px 0 14px;
  }

  h1 {
    font-size: clamp(2.625rem, 4vw, 3.25rem);
  }

  h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
  }
}

@media (max-width: 699px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 26px 0;
  }

  .header-inner {
    min-height: 48px;
  }

  h1 {
    margin-bottom: 14px;
    font-size: clamp(1.875rem, 8vw, 2.125rem);
  }

  h2 {
    margin-bottom: 12px;
    font-size: clamp(1.625rem, 6.8vw, 1.75rem);
  }

  .hero {
    min-height: 330px;
    align-items: center;
    padding: 50px 0 16px;
  }

  .hero-art {
    top: 52%;
    right: -42px;
    width: 230px;
    height: 300px;
    opacity: 0.22;
  }

  .hero-name {
    margin-bottom: 6px;
  }

  .hero-slogan {
    margin-bottom: 6px;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 12px;
  }

  .hero-actions .button {
    min-height: 44px;
    padding-inline: 12px;
    font-size: 0.95rem;
  }

  .project-track {
    width: calc(100% - 32px);
    margin-inline: auto;
    padding: 4px 0 14px;
    scroll-snap-type: x mandatory;
  }

  .project-rail {
    gap: 12px;
  }

  .project-card {
    width: min(78vw, 280px);
    min-height: 205px;
    height: 205px;
    padding: 15px;
  }

  .project-card h3 {
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 1.18rem;
  }

  .project-more {
    margin-top: 10px;
  }

  .track-heading {
    margin-top: 16px;
    margin-bottom: 12px;
  }

  .direction-grid,
  .team-grid {
    gap: 10px;
  }

  .direction-card,
  .team-card {
    padding: 14px;
  }

  .direction-card > span {
    margin-bottom: 10px;
  }

  .team-initial {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
  }

  .about {
    padding-bottom: 26px;
  }

  .team {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .contact {
    padding: 12px 0;
  }

  .contact-actions .button {
    flex: 1 1 140px;
  }
}

@media (min-width: 390px) and (max-width: 699px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

/* =========================================================
   COMPACT LAYOUT PASS — Atom review, 2026-09-29
   Purpose: reduce physical scale and vertical density without
   changing the visual concept or content structure.
   ========================================================= */

@media (min-width: 700px) {
  body {
    font-size: 15px;
  }

  .container,
  .project-track {
    width: min(calc(100% - 120px), 1000px);
  }

  .section {
    padding: 32px 0;
  }

  .header-inner {
    min-height: 34px;
  }

  .brand {
    gap: 7px;
    font-size: 0.84rem;
  }

  .site-nav a {
    padding: 4px 0;
    font-size: 0.75rem;
  }

  .hero {
    min-height: 250px;
    padding: 36px 0 14px;
  }

  h1 {
    max-width: 620px;
    margin-bottom: 14px;
    font-size: clamp(2.15rem, 3.2vw, 2.6rem);
  }

  h2 {
    margin-bottom: 11px;
    font-size: clamp(1.65rem, 2.2vw, 1.875rem);
  }

  h3 {
    margin-bottom: 7px;
    font-size: 1.08rem;
  }

  .eyebrow {
    margin-bottom: 9px;
    font-size: 0.68rem;
  }

  .hero-name {
    margin-bottom: 5px;
    font-size: 0.66rem;
  }

  .hero-slogan {
    margin-bottom: 6px;
    font-size: 1.3rem;
  }

  .hero-note {
    max-width: 600px;
    font-size: 0.96rem;
    line-height: 1.4;
  }

  .hero-actions {
    gap: 9px;
    margin-top: 11px;
  }

  .button {
    min-height: 36px;
    padding: 6px 14px;
    font-size: 0.86rem;
  }

  .hero-art {
    width: clamp(260px, 26vw, 300px);
  }

  .section-intro {
    margin-bottom: 14px;
  }

  .section-intro-row {
    gap: 24px;
  }

  .project-rail {
    gap: 12px;
  }

  .project-card {
    width: 220px;
    min-height: 168px;
    height: 168px;
    padding: 13px;
    border-radius: 18px;
  }

  .project-type {
    font-size: 0.66rem;
  }

  .project-card h3 {
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 1.05rem;
  }

  .project-card > p:not(.project-type) {
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .project-more {
    margin-top: 6px;
    font-size: 0.9rem;
  }

  .track-heading {
    margin-top: 14px;
    margin-bottom: 14px;
  }

  .track-heading h2 {
    margin-bottom: 5px;
  }

  .direction-grid {
    gap: 12px;
  }

  .direction-card {
    padding: 13px;
    border-radius: 16px;
  }

  .direction-card > span {
    margin-bottom: 8px;
    font-size: 0.66rem;
  }

  .direction-card p,
  .team-card p,
  .about-copy {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .about-layout {
    gap: 28px;
  }

  .team {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .team-grid {
    gap: 12px;
  }

  .team-card {
    padding: 13px;
    border-radius: 16px;
  }

  .team-initial {
    width: 28px;
    height: 28px;
    margin-bottom: 7px;
    font-size: 0.82rem;
  }

  .contact {
    padding: 12px 0;
  }

  .contact-layout {
    gap: 24px;
  }

  .footer-inner {
    gap: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .container,
  .project-track {
    width: min(calc(100% - 144px), 860px);
  }

  .hero-art {
    width: clamp(250px, 26vw, 290px);
  }

  .direction-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .contact-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  }
}

@media (min-width: 1200px) {
  .container,
  .project-track {
    width: min(calc(100% - 160px), 1000px);
  }
}

@media (min-width: 700px) and (max-height: 800px) {
  .section {
    padding: 32px 0;
  }

  .hero {
    min-height: 250px;
    padding: 36px 0 14px;
  }

  h1 {
    font-size: clamp(2.05rem, 3.1vw, 2.45rem);
  }

  h2 {
    font-size: clamp(1.6rem, 2.1vw, 1.85rem);
  }
}

@media (max-width: 699px) {
  body {
    font-size: 15px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .section {
    padding: 26px 0;
  }

  .header-inner {
    min-height: 48px;
  }

  h1 {
    margin-bottom: 11px;
    font-size: clamp(1.75rem, 7vw, 1.95rem);
  }

  h2 {
    margin-bottom: 9px;
    font-size: clamp(1.4rem, 5.7vw, 1.55rem);
  }

  h3 {
    font-size: 1rem;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 0.66rem;
  }

  .hero {
    min-height: 330px;
    align-items: center;
    padding: 50px 0 16px;
  }

  .hero-art {
    top: 52%;
    right: -42px;
    width: 230px;
    height: 300px;
    opacity: 0.22;
  }

  .hero-name {
    margin-bottom: 6px;
    font-size: 0.66rem;
  }

  .hero-slogan {
    margin-bottom: 6px;
    font-size: 1.16rem;
  }

  .hero-note {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 12px;
  }

  .hero-actions .button {
    height: 40px;
    min-height: 40px;
    padding-block: 7px;
    padding-inline: 11px;
    font-size: 0.9rem;
  }

  .project-track {
    width: calc(100% - 36px);
    padding-bottom: 10px;
  }

  .project-rail {
    gap: 10px;
  }

  .project-card {
    width: min(68vw, 224px);
    min-height: 166px;
    height: 166px;
    padding: 12px;
    border-radius: 16px;
  }

  .project-type {
    font-size: 0.64rem;
  }

  .project-card h3 {
    margin-top: 9px;
    margin-bottom: 4px;
    font-size: 1rem;
  }

  .project-card > p:not(.project-type) {
    font-size: 0.86rem;
    line-height: 1.4;
  }

  .project-more {
    margin-top: 5px;
    font-size: 0.86rem;
  }

  .track-heading {
    margin-top: 16px;
    margin-bottom: 12px;
  }

  .direction-grid,
  .team-grid {
    gap: 9px;
  }

  .direction-card,
  .team-card {
    padding: 11px;
    border-radius: 14px;
  }

  .direction-card > span {
    margin-bottom: 7px;
    font-size: 0.64rem;
  }

  .direction-card p,
  .team-card p,
  .about-copy {
    font-size: 0.86rem;
    line-height: 1.42;
  }

  .team-initial {
    width: 26px;
    height: 26px;
    margin-bottom: 6px;
    font-size: 0.78rem;
  }

  .about {
    padding-bottom: 26px;
  }

  .team {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .contact {
    padding: 12px 0;
  }

  .footer-inner {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

@media (min-width: 360px) and (max-width: 699px) {
  .direction-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Final scaffold refinements: header, rails, contact and footer. */
.project-track {
  padding-inline: 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x pan-y;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}

.project-track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.contact-layout > div:first-child > p:last-child {
  margin-bottom: 0;
}

.contact h2 {
  margin-bottom: 4px;
  font-size: 1.65625rem;
  line-height: 1.1;
}

.contact-actions {
  justify-content: flex-end;
  gap: 8px;
}

.footer-inner > div:first-child {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.footer-inner > div:first-child strong::after,
.footer-contacts > * + *::before,
.footer-inner > p::before {
  content: " · ";
  color: #66758c;
  font-weight: 400;
}

.footer-contacts {
  gap: 0;
  white-space: nowrap;
}

@media (min-width: 700px) {
  .project-track {
    padding-right: 60px;
  }

  .header-inner {
    min-height: 34px;
  }

  .brand {
    gap: 7px;
  }

  .brand-mark {
    width: 18px;
    height: 18px;
  }

  .brand-mark::before {
    top: 8px;
    left: -3px;
    width: 22px;
  }

  .brand-mark::after {
    top: -3px;
    left: 8px;
    height: 22px;
  }

  .site-nav,
  .site-nav.is-open {
    gap: 26px;
  }

  .site-nav a {
    padding: 4px 0;
    font-size: 0.75rem;
  }

  .contact {
    padding: 12px 0;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
  }

  .contact-actions {
    max-width: 360px;
  }

  .footer-inner {
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

@media (max-width: 699px) {
  .project-track {
    padding-inline: 10px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10px, #000 calc(100% - 10px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 10px, #000 calc(100% - 10px), transparent);
  }

  .contact-actions {
    flex-wrap: nowrap;
  }

  .contact {
    padding: 12px 0;
  }

  .footer-inner {
    grid-template-columns: auto 1fr auto;
    min-height: 0;
    align-items: center;
    gap: 8px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 0.74rem;
  }

  .footer-contacts {
    justify-self: end;
  }
}

@media (max-width: 340px) {
  .contact-actions {
    flex-wrap: wrap;
  }
}

/* Compact header wordmark: sign + current studio name only. */
.brand-wordmark {
  font-size: 0.84rem;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0.16em;
}

.hero-name {
  display: flex;
  align-items: baseline;
  gap: 10px;
  letter-spacing: 0;
}

.hero-name > span {
  font-size: 0.94rem;
  letter-spacing: 0.2em;
}

.hero-name > small {
  font-size: 0.58rem;
  font-weight: 680;
  letter-spacing: 0.22em;
  opacity: 0.72;
}

@media (min-width: 700px) {
  .brand-mark {
    width: 18px;
    height: 18px;
  }

  .brand-mark::before {
    top: 8px;
    left: -1px;
    width: 20px;
  }

  .brand-mark::after {
    top: -1px;
    left: 8px;
    height: 20px;
  }
}

@media (max-width: 699px) {
  .brand {
    gap: 7px;
  }

  .brand-mark {
    width: 20px;
    height: 20px;
  }

  .brand-mark::before {
    top: 9px;
    left: -1px;
    width: 22px;
  }

  .brand-mark::after {
    top: -1px;
    left: 9px;
    height: 22px;
  }

  .brand-wordmark {
    font-size: 0.8rem;
  }

  .hero-name {
    gap: 8px;
  }

  .hero-name > span {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }

  .hero-name > small {
    font-size: 0.54rem;
  }
}

/* First verified portfolio project. Other project cards keep their existing geometry. */
.project-card-featured {
  min-height: 205px;
  height: 205px;
}

.project-featured-head {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.project-cover {
  display: block;
  width: 70px;
  height: auto;
  aspect-ratio: 480 / 667;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(16, 24, 39, 0.12);
}

.project-card-featured .project-type {
  margin: 0 0 5px;
  font-size: 0.59rem;
  line-height: 1.25;
  letter-spacing: 0.05em;
}

.project-card-featured h3 {
  margin: 0 0 5px;
  font-size: 0.94rem;
  line-height: 1.16;
}

.project-status {
  margin: 0;
  color: var(--deep-blue);
  font-size: 0.66rem;
  font-weight: 680;
  line-height: 1.2;
}

.project-card-featured > .project-description {
  margin-top: 5px;
  font-size: 0.7rem;
  line-height: 1.27;
}

.project-card-featured > .project-more {
  margin-top: auto;
  font-size: 0.84rem;
}

.dialog-author {
  margin-top: 18px;
  color: var(--ink) !important;
  font-weight: 680;
}

.project-cover-infokiosk {
  width: 70px;
  aspect-ratio: 480 / 667;
  object-fit: contain;
}

.project-card-infokiosk .project-featured-head {
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
}

.project-card.project-card-infokiosk > .project-description {
  margin-top: 4px;
  font-size: 0.68rem;
  line-height: 1.18;
}

.project-card-infokiosk > .project-more {
  font-size: 0.82rem;
}

/* Hero hierarchy: one brand title, one descriptor, slogan and supporting copy. */
.hero-copy {
  max-width: 620px;
}

.hero #hero-title {
  max-width: none;
  margin: 0 0 18px;
  color: #f8fbff;
  font-size: clamp(2.8rem, 3.8vw, 3.2rem);
  font-weight: 710;
  line-height: 1.04;
  letter-spacing: 0.035em;
}

.hero .hero-slogan {
  margin: 0 0 10px;
  color: #9dbaff;
  font-size: clamp(1.25rem, 1.7vw, 1.45rem);
  font-weight: 520;
  line-height: 1.35;
}

.hero .hero-note {
  max-width: 570px;
  margin: 0;
  color: #aeb9cb;
  font-size: 1rem;
  line-height: 1.5;
}

.hero .hero-actions {
  margin-top: 18px;
}

@media (max-width: 699px) {
  .hero #hero-title {
    margin-bottom: 14px;
    font-size: 2.15rem;
    line-height: 1.05;
    letter-spacing: 0.025em;
  }

  .hero .hero-slogan {
    margin-bottom: 9px;
    font-size: 1.16rem;
  }

  .hero .hero-note {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .hero .hero-actions {
    margin-top: 16px;
  }
}

/* Unified Hero background with a soft readability overlay. */
.hero {
  background-color: var(--dark);
  background-image: url("../assets/hero/hero-stelline-blue.webp");
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero::before {
  z-index: 0;
  background: linear-gradient(90deg, rgba(8, 18, 36, 0.96) 0%, rgba(8, 18, 36, 0.88) 30%, rgba(8, 18, 36, 0.54) 51%, rgba(8, 18, 36, 0.16) 72%, rgba(8, 18, 36, 0.02) 100%);
}

@media (max-width: 699px) {
  .hero {
    background-image: url("../assets/hero/hero-stelline-blue-mobile.webp");
    background-position: center right;
    background-size: cover;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(8, 18, 36, 0.94) 0%, rgba(8, 18, 36, 0.78) 70%, rgba(8, 18, 36, 0.58) 100%),
      linear-gradient(180deg, rgba(8, 18, 36, 0.2), rgba(8, 18, 36, 0.5));
  }
}

/* Compact, independent controls for both project rails. */
.project-heading {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.project-heading > div:first-child {
  min-width: 0;
}

.project-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 2px;
}

.project-filters {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.project-filter {
  min-height: 30px;
  padding: 5px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 680;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.project-filter:hover {
  color: var(--deep-blue);
}

.project-filter.is-active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.2);
}

.project-arrow {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(47, 107, 255, 0.32);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 244, 255, 0.88));
  color: #397cff;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 5px 16px rgba(23, 62, 143, 0.12),
    0 0 14px rgba(47, 107, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.project-arrow svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-track-arrow:not(:disabled):hover {
  border-color: rgba(47, 107, 255, 0.6);
  background: linear-gradient(145deg, #fff, rgba(224, 237, 255, 0.96));
  color: #1f63ef;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.84),
    0 7px 20px rgba(23, 62, 143, 0.18),
    0 0 24px rgba(47, 107, 255, 0.32);
  transform: translateY(-50%) scale(1.06);
}

.project-track-arrow:not(:disabled):active {
  border-color: rgba(47, 107, 255, 0.72);
  background: #e7f0ff;
  color: var(--deep-blue);
  box-shadow:
    inset 0 2px 5px rgba(23, 62, 143, 0.14),
    0 0 14px rgba(47, 107, 255, 0.24);
  transform: translateY(-50%) scale(0.98);
}

.project-arrow:disabled {
  border-color: rgba(102, 112, 133, 0.2);
  background: rgba(244, 247, 251, 0.72);
  color: #9aa7ba;
  box-shadow: none;
  opacity: 0.46;
  cursor: not-allowed;
}

.project-track-shell {
  position: relative;
  width: min(calc(100% - 16px), calc(var(--container) + 96px));
  margin-inline: auto;
}

.project-track-arrow {
  position: absolute;
  z-index: 2;
  top: calc(50% - 12px);
  transform: translateY(-50%);
}

.project-track-arrow-left {
  left: 0;
}

.project-track-arrow-right {
  right: 0;
}

@media (min-width: 1200px) {
  .project-track-shell {
    width: min(calc(100% - 48px), 1120px);
  }

  .project-track-shell .project-track {
    width: min(calc(100% - 120px), 1000px);
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .project-track-shell {
    width: min(calc(100% - 32px), 980px);
  }

  .project-track-shell .project-track {
    width: calc(100% - 120px);
  }
}

@media (max-width: 899px) {
  .project-track-arrow {
    display: none;
  }
}

/* ASEF portfolio card keeps the established card footprint. */
.project-card-asef .project-featured-head {
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 8px;
}

.project-cover-asef {
  width: 84px;
  height: 58px;
  aspect-ratio: 3 / 2;
  padding: 3px;
  object-fit: contain;
}

.project-card-asef h3 {
  font-size: 0.86rem;
  line-height: 1.12;
}

.project-card-asef .project-status {
  font-size: 0.57rem;
  line-height: 1.13;
}

.project-card.project-card-asef > .project-description {
  margin-top: 4px;
  font-size: 0.63rem;
  line-height: 1.17;
}

/* «Сияние Нум-Торума» uses a landscape cover without changing card geometry. */
.project-card-num-torum .project-featured-head {
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 8px;
}

.project-cover-num-torum {
  width: 84px;
  height: 63px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-card-num-torum h3 {
  font-size: 0.86rem;
  line-height: 1.12;
}

.project-card-num-torum .project-status {
  font-size: 0.57rem;
  line-height: 1.13;
}

.project-card.project-card-num-torum > .project-description {
  margin-top: 4px;
  font-size: 0.61rem;
  line-height: 1.16;
}

/* «НаучАрт» keeps the established card height with a compact portrait poster. */
.project-card-nauchart .project-featured-head {
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 8px;
}

.project-cover-nauchart {
  width: 60px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.project-card.project-card-nauchart > .project-description {
  margin-top: 4px;
  font-size: 0.67rem;
  line-height: 1.2;
}

/* Anatomik uses a wide interface preview within the existing work-card footprint. */
.project-card-anatomik .project-featured-head {
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 8px;
}

.project-cover-anatomik {
  width: 84px;
  height: 56px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.project-card.project-card-anatomik > .project-description {
  margin-top: 4px;
  font-size: 0.58rem;
  line-height: 1.14;
}

/* «Волков» uses a wide key visual without changing the work-card geometry. */
.project-card-volkov .project-featured-head {
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 8px;
}

.project-cover-volkov {
  width: 84px;
  height: 56px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.project-card.project-card-volkov > .project-description {
  margin-top: 4px;
  font-size: 0.6rem;
  line-height: 1.16;
}

/* «Человек в чёрном» uses a compact portrait preview within the existing work-card footprint. */
.project-card-man-in-black .project-featured-head {
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 8px;
}

.project-cover-man-in-black {
  width: 60px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.project-card.project-card-man-in-black > .project-description {
  margin-top: 4px;
  font-size: 0.58rem;
  line-height: 1.14;
}

/* WorkKey uses its wide product visual within the existing work-card footprint. */
.project-card-workkey .project-featured-head {
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 8px;
}

.project-cover-workkey {
  width: 84px;
  height: 56px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.project-card.project-card-workkey > .project-description {
  margin-top: 4px;
  font-size: 0.58rem;
  line-height: 1.14;
}

.footer-contact-button {
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.footer-contact-button:focus-visible {
  outline: 2px solid rgba(157, 186, 255, 0.7);
  outline-offset: 3px;
  border-radius: 3px;
}

.copy-toast {
  position: fixed;
  z-index: 50;
  right: 20px;
  bottom: 20px;
  padding: 10px 14px;
  border: 1px solid rgba(157, 186, 255, 0.34);
  border-radius: 999px;
  background: rgba(16, 24, 39, 0.94);
  color: #f8fbff;
  box-shadow: 0 10px 28px rgba(5, 14, 30, 0.28), 0 0 18px rgba(47, 107, 255, 0.2);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.copy-toast[hidden] {
  display: none;
}

@media (max-width: 699px) {
  .footer-contacts {
    font-size: 0.82rem;
  }

  .footer-contacts a,
  .footer-contact-button {
    color: #c8d3e2;
  }

  .copy-toast {
    right: 50%;
    bottom: 14px;
    transform: translateX(50%);
    white-space: nowrap;
  }
}

.project-filter:focus-visible,
.project-arrow:focus-visible {
  outline: 2px solid rgba(47, 107, 255, 0.55);
  outline-offset: 2px;
}

.project-card[hidden] {
  display: none;
}

@media (max-width: 699px) {
  .project-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .project-controls {
    width: 100%;
    justify-content: flex-start;
  }

  .project-filter {
    padding-inline: 8px;
    font-size: 0.7rem;
  }

  .project-track-arrow {
    display: none;
  }
}

/* Keep real project cards aligned after copy updates. */
.project-card.project-card-featured .project-featured-head {
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 8px;
}

.project-card.project-card-featured .project-cover {
  width: 76px;
  height: 72px;
  aspect-ratio: auto;
  object-fit: contain;
}

.project-card.project-card-featured .project-type {
  font-size: 0.58rem;
  line-height: 1.2;
}

.project-card.project-card-featured h3 {
  font-size: 0.9rem;
  line-height: 1.15;
}

.project-card.project-card-featured .project-status {
  font-size: 0.61rem;
  line-height: 1.15;
}

.project-card.project-card-featured > .project-description {
  margin-top: 5px;
  font-size: 0.66rem;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.project-card.project-card-featured > .project-more {
  line-height: 1.2;
}

/* Final STELLINE header, Hero and footer geometry. */
.brand-wordmark {
  font-size: 0.65625rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.hero .hero-name {
  display: block;
  margin: 0 0 4px;
  color: #b9c9e8;
  font-size: 0.625rem;
  font-weight: 720;
  line-height: 1.2;
  letter-spacing: 0.2em;
}

.hero #hero-title {
  margin-bottom: 4px;
  font-size: 2.375rem;
  white-space: nowrap;
}

.hero-title-main,
.hero-title-suffix {
  display: inline-block;
  white-space: nowrap;
}

.hero-title-suffix {
  font-size: 0.65em;
  font-weight: 560;
  letter-spacing: 0.06em;
}

.hero .hero-slogan {
  margin-bottom: 4px;
  font-size: 1.21875rem;
  line-height: 1.25;
}

.hero .hero-note {
  max-width: 600px;
  font-size: 0.9375rem;
  line-height: 1.35;
}

.hero .hero-note span {
  display: block;
}

.hero .hero-actions {
  margin-top: 8px;
}

.footer-inner.footer-inner-stelline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  min-height: 0;
  gap: 20px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.footer-inner.footer-inner-stelline > div.footer-signature {
  display: grid;
  gap: 2px;
  white-space: normal;
}

.footer-inner.footer-inner-stelline > div.footer-signature strong::after {
  content: none;
}

.footer-signature strong {
  color: #f8fbff;
  font-size: 0.78125rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.07em;
}

.footer-signature p {
  color: #c8d3e2;
  font-size: 0.71875rem;
  line-height: 1.2;
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 2px;
  color: #8594aa;
  font-size: 0.71875rem;
  line-height: 1.2;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-links a {
  color: inherit;
  padding-block: 0;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: #f7f9fe;
}

.footer-links a:focus-visible {
  outline: 2px solid rgba(157, 186, 255, 0.7);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (max-width: 699px) {
  .brand-wordmark {
    font-size: 0.65625rem;
    letter-spacing: 0.06em;
  }

  .hero .hero-name {
    margin-bottom: 6px;
    font-size: 0.66rem;
    letter-spacing: 0.16em;
  }

  .hero #hero-title {
    margin-bottom: 6px;
    font-size: 1.5rem;
    white-space: normal;
  }

  .hero .hero-slogan {
    margin-bottom: 6px;
  }

  .hero .hero-note span {
    display: inline;
  }

  .hero .hero-actions {
    margin-top: 12px;
  }

  .footer-inner.footer-inner-stelline {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .footer-meta {
    justify-items: start;
    gap: 4px;
  }
}

/* Keep the approved Hero composition bounded on ultrawide displays. */
@media (min-width: 2200px) {
  .hero {
    background-position: right center;
    background-size: auto 100%;
    background-repeat: no-repeat;
  }

  .hero .hero-layout {
    width: min(calc(100% - 128px), 1560px);
  }
}
