/* ==========================================================================
   MCC Robotics — mccrobotics.com
   Design system: royal-blue silk over monochrome robotics photography,
   expanded uppercase display type, telemetry-style mono labels.
   ========================================================================== */

:root {
  /* Color */
  --ink: #04070f;
  --navy: #071226;
  --royal: #0b4da2;
  --azure: #2e7fe0;
  --sky: #8fc0ff;
  --paper: #f3f6fb;
  --white: #ffffff;
  --text: #223047;
  --text-soft: #51617c;
  --text-inverse: #eaf1fb;
  --text-inverse-soft: #a7b8d4;
  --line: rgba(9, 30, 66, 0.14);
  --line-dark: rgba(143, 192, 255, 0.16);

  /* Type */
  --font-display: "Archivo", "Arial Black", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;

  /* Telemetry-label scale — one size/tracking pair per label role */
  --label-size: 0.7rem;
  --label-track: 0.18em;
  --label-size-lg: 0.72rem;
  --label-track-lg: 0.22em;
  --pill-track: 0.14em;

  /* Rhythm */
  --container: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --radius: 14px;
}

/* ---------- Reset ---------- */

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}

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

h1, h2, h3, h4, p, ul, figure {
  margin: 0;
}

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--azure);
  outline-offset: 3px;
  border-radius: 2px;
}

[id] {
  scroll-margin-top: 88px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 100;
  background: var(--royal);
  color: var(--white);
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 1rem;
}

::selection {
  background: var(--royal);
  color: var(--white);
}

/* ---------- Utilities ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.display {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.96;
  letter-spacing: -0.01em;
}

.tag {
  font-family: var(--font-mono);
  font-size: var(--label-size-lg);
  font-weight: 500;
  letter-spacing: var(--label-track-lg);
  text-transform: uppercase;
  color: var(--royal);
}

.tag--light {
  color: var(--sky);
}

.section {
  padding-top: var(--section);
  padding-bottom: var(--section);
}

.section--flush {
  padding-top: 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-head .tag {
  display: block;
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  color: var(--ink);
}

.section-head p {
  margin-top: 1.1rem;
  font-size: 1.06rem;
  color: var(--text-soft);
  max-width: 60ch;
}

.dark {
  background: var(--navy);
  color: var(--text-inverse);
}

.dark .section-head h2 {
  color: var(--white);
}

.dark .section-head p {
  color: var(--text-inverse-soft);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--royal);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--azure);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.btn--dark-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn--dark-ghost:hover {
  border-color: var(--royal);
  color: var(--royal);
}

.btn .arrow {
  transition: transform 0.2s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  /* Protects nav legibility over the bright hero photo before first scroll */
  background: linear-gradient(to bottom, rgba(4, 7, 15, 0.62), rgba(4, 7, 15, 0));
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.site-header.is-scrolled {
  background: rgba(4, 7, 15, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(143, 192, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--white);
  /* Fixed logo-mark-then-wordmark order regardless of page direction —
     a logotype reads the same way in both languages. */
  direction: ltr;
}

.brand svg,
.brand img {
  height: 34px;
  width: auto;
  flex: none;
}

/* Use the official transparent MCC mark by itself in the compact header.
   The longer brand treatment remains available in the footer. */
.site-header .brand {
  gap: 0;
}

.site-header .brand img {
  height: 42px;
}

.site-header .brand-name {
  display: none;
}

.brand-name {
  font-family: var(--font-mono);
  font-size: var(--label-size-lg);
  letter-spacing: var(--label-track-lg);
  text-transform: uppercase;
  color: var(--text-inverse-soft);
}

/* The brand name is a proper noun kept in Latin script — exempt it from
   the global RTL mono/tracking reset so it doesn't reflow or re-track. */
html[dir="rtl"] .brand-name {
  font-family: var(--font-mono) !important;
  letter-spacing: var(--label-track-lg) !important;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-inverse);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a:not(.btn):hover {
  color: var(--sky);
}

.site-nav .btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 60; /* stays tappable above the open mobile nav panel */
  background: none;
  border: 0;
  padding: 0.4rem;
  color: var(--white);
}

.nav-toggle svg {
  display: block;
}

.nav-toggle .i-close {
  display: none;
}

body.nav-open .nav-toggle .i-menu {
  display: none;
}

body.nav-open .nav-toggle .i-close {
  display: block;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -3;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 35%;
  filter: grayscale(1) contrast(1.06) brightness(0.6);
}

.silk {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  mix-blend-mode: screen;
  opacity: 0.85;
}

.hero-shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(4, 7, 15, 0.96) 0%, rgba(4, 7, 15, 0.7) 38%, rgba(4, 7, 15, 0.55) 70%, rgba(4, 7, 15, 0.8) 100%),
    linear-gradient(to right, rgba(4, 7, 15, 0.75) 0%, rgba(4, 7, 15, 0.32) 55%);
}

.hero-inner {
  padding-top: 7.5rem;
  padding-bottom: 4.5rem;
}

.hero-eyebrow {
  display: block;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 8.2vw, 7rem);
  max-width: 15ch;
  color: var(--white);
}

.hero h1 .accent {
  color: var(--sky);
}

.hero-sub {
  margin-top: 1.6rem;
  max-width: 54ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: #d3e0f2; /* brighter than --text-inverse-soft: sits over a photo, not flat navy */
}

.hero-concept-note {
  margin-top: 0.8rem;
  max-width: 54ch;
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: #d3e0f2;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1.4rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: rgba(234, 241, 251, 0.55);
}

.fx-toggle[hidden] {
  display: none;
}

.fx-toggle {
  position: absolute;
  top: 5.2rem;
  right: clamp(1.25rem, 4vw, 2.5rem);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: rgba(234, 241, 251, 0.78);
  background: rgba(4, 7, 15, 0.45);
  border: 1px solid rgba(143, 192, 255, 0.28);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.fx-toggle:hover {
  color: var(--white);
  border-color: var(--sky);
}

/* ---------- Stats ---------- */

.stats {
  background: var(--ink);
  color: var(--white);
  border-top: 1px solid var(--line-dark);
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.stat {
  padding: 2.2rem 1.5rem;
  border-left: 1px solid var(--line-dark);
}

.stat:first-child {
  border-left: 0;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1;
  color: var(--white);
}

.stat span {
  display: block;
  margin-top: 0.65rem;
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--text-inverse-soft);
}

/* Lead-stat variant: the first figure reads as the headline number, not
   just one of an equal set — used on the institutions page to front the
   PSUT camp enrollment. */
.stats--lead .container {
  grid-template-columns: 1.6fr repeat(3, 1fr);
}

.stat--lead b {
  font-size: clamp(2.3rem, 5.5vw, 3.6rem);
  color: var(--sky);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.about-grid h2 {
  margin-top: 1rem;
  font-size: clamp(2rem, 4.8vw, 3.3rem);
  color: var(--ink);
}

.about-copy p {
  color: var(--text-soft);
  font-size: 1.06rem;
}

.about-copy p + p {
  margin-top: 1.1rem;
}

.about-points {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: grid;
  gap: 0;
}

.about-points li {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: baseline;
}

.about-points .k {
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: var(--label-track);
  color: var(--royal);
}

.about-points b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.about-points span {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* ---------- Featured course ---------- */

.featured {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.featured::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background:
    radial-gradient(60% 80% at 85% 15%, rgba(46, 127, 224, 0.28), transparent 65%),
    radial-gradient(50% 70% at 10% 90%, rgba(11, 77, 162, 0.35), transparent 60%);
}

.featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.featured-card h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--white);
  margin-top: 0.9rem;
}

.featured-desc {
  margin-top: 1.3rem;
  color: var(--text-inverse-soft);
  font-size: 1.05rem;
  max-width: 52ch;
}

.featured-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
  padding: 0;
  list-style: none;
}

.featured-facts li {
  font-family: var(--font-mono);
  font-size: var(--label-size-lg);
  letter-spacing: var(--pill-track);
  text-transform: uppercase;
  color: var(--sky);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
}

.featured-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.telemetry {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(4, 7, 15, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1.6rem;
  font-family: var(--font-mono);
}

.telemetry-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--label-size);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--text-inverse-soft);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-dark);
}

.telemetry-head .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35d07f;
  box-shadow: 0 0 10px rgba(53, 208, 127, 0.8);
  display: inline-block;
  margin-right: 0.5rem;
}

.telemetry ol {
  list-style: none;
  counter-reset: mod;
  margin: 0;
  padding: 0.4rem 0 0;
}

.telemetry ol li {
  counter-increment: mod;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px dashed rgba(143, 192, 255, 0.14);
  font-size: 0.85rem;
  color: var(--text-inverse);
}

.telemetry ol li:last-child {
  border-bottom: 0;
}

.telemetry ol li::before {
  content: "0" counter(mod);
  font-size: 0.7rem;
  color: var(--azure);
}

.telemetry ol li span {
  font-size: 0.7rem;
  color: var(--text-inverse-soft);
}

/* ---------- Programs ---------- */

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.program-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 77, 162, 0.4);
  box-shadow: 0 18px 44px -22px rgba(7, 28, 68, 0.35);
}

.program-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(11, 77, 162, 0.08);
  color: var(--royal);
}

.program-icon svg {
  width: 26px;
  height: 26px;
}

/* Card-level sub-display face — one shared declaration */
.program-card h3,
.partner-card h3,
.course-card h3 {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0;
}

.program-card h3 {
  font-size: 1.35rem;
  color: var(--ink);
}

.program-card > p {
  color: var(--text-soft);
  font-size: 0.96rem;
}

.program-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.program-count {
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--text-soft);
}

.program-card .more {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--royal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.program-card .more:hover {
  text-decoration: underline;
}

/* ---------- Online-courses teaser ---------- */

.online-teaser {
  margin-top: 1.4rem;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.online-teaser-copy .tag {
  display: block;
  margin-bottom: 0.5rem;
}

.online-teaser-copy h3 {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 1.2rem;
  color: var(--ink);
}

.online-teaser-copy p {
  margin-top: 0.4rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  max-width: 46ch;
}

/* ---------- Workshops strip ---------- */

.workshops {
  border-top: 1px solid var(--line);
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.workshops .section-head {
  margin-bottom: 1.8rem;
}

.workshops .section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
}

.workshop-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.workshop-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  background: var(--white);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.workshop-chip:hover {
  border-color: var(--royal);
  transform: translateY(-2px);
}

.workshop-chip .hrs {
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: var(--pill-track);
  color: var(--royal);
}

/* ---------- Partners ---------- */

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.partner-card {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 108px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.4rem;
  background: #fff;
  border-radius: 14px;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.partner-card .tag {
  display: block;
  margin-bottom: 0.9rem;
}

.partner-card h3 {
  font-size: 1.25rem;
  color: var(--white);
}

.partner-card p {
  margin-top: 0.7rem;
  color: var(--text-inverse-soft);
  font-size: 0.96rem;
}

/* ---------- Product teaser ---------- */

.product {
  border-top: 1px solid var(--line-dark);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.product-grid h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  color: var(--white);
  margin-top: 0.9rem;
}

.product-grid .lead {
  margin-top: 1.2rem;
  color: var(--text-inverse-soft);
  font-size: 1.05rem;
  max-width: 50ch;
}

.product-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-dark);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.product-media::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(160deg, rgba(11, 77, 162, 0.35), transparent 55%);
  mix-blend-mode: screen;
}

.product-media .lab {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(234, 241, 251, 0.8);
  background: rgba(4, 7, 15, 0.6);
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 5rem);
}

.contact h2 {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  color: var(--ink);
  margin-top: 0.9rem;
}

.contact .lead {
  margin-top: 1.2rem;
  color: var(--text-soft);
  font-size: 1.06rem;
  max-width: 50ch;
}

.contact-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}

.contact-list li:first-child {
  border-top: 0;
}

.contact-list .k {
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--text-soft);
}

.contact-list a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--royal);
  text-decoration: underline;
}

.founders {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.founder {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  background: var(--white);
}

.founder b {
  display: block;
  color: var(--ink);
}

.founder span {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 0.3rem;
}

.founder a {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--royal);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.founder a:hover {
  text-decoration: underline;
}

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

.site-footer {
  background: var(--ink);
  color: var(--text-inverse-soft);
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line-dark);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.footer-nav a {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text-inverse-soft);
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
}

/* ---------- Catalog page ---------- */

.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  padding-top: 9.5rem;
  padding-bottom: 4rem;
}

.page-hero .silk {
  opacity: 0.5;
  z-index: -2;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(to top, var(--ink) 0%, rgba(4, 7, 15, 0.25) 60%);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  color: var(--white);
  margin-top: 1.2rem;
}

.page-hero p {
  margin-top: 1.3rem;
  max-width: 58ch;
  color: var(--text-inverse-soft);
  font-size: 1.05rem;
}

.catalog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.2rem;
}

.catalog-nav a {
  font-family: var(--font-mono);
  font-size: var(--label-size-lg);
  letter-spacing: var(--pill-track);
  text-transform: uppercase;
  color: var(--sky);
  text-decoration: none;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.catalog-nav a:hover {
  background: var(--royal);
  color: var(--white);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: start;
}

/* A track with a single course spans the grid at a readable measure
   instead of leaving the right half of the page empty. */
.catalog-grid > .course-card:only-child {
  grid-column: 1 / -1;
  max-width: 760px;
}

.course-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.course-card .meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.course-card .hours {
  font-family: var(--font-mono);
  font-size: var(--label-size-lg);
  letter-spacing: var(--pill-track);
  color: var(--white);
  background: var(--royal);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  white-space: nowrap;
}

.course-card h3 {
  font-size: 1.3rem;
  color: var(--ink);
}

.course-card > p {
  color: var(--text-soft);
  font-size: 0.96rem;
}

.course-card details {
  border-top: 1px solid var(--line);
  padding-top: 0.4rem;
}

.course-card summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--royal);
}

.course-card summary::-webkit-details-marker {
  display: none;
}

.course-card summary .chev {
  transition: transform 0.25s ease;
  flex: none;
}

.course-card details[open] summary .chev {
  transform: rotate(180deg);
}

.module-list {
  list-style: none;
  margin: 0;
  padding: 0.2rem 0 0.6rem;
}

.module-list li {
  padding: 0.55rem 0 0.55rem 2.1rem;
  position: relative;
  font-size: 0.92rem;
  color: var(--text);
  border-top: 1px dashed var(--line);
}

.module-list li::before {
  content: attr(data-n);
  position: absolute;
  left: 0;
  top: 0.62rem;
  font-family: var(--font-mono);
  font-size: var(--label-size);
  color: var(--royal);
}

.module-list li span {
  display: block;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.course-card .card-cta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding-top: 0.4rem;
}

.course-card .btn {
  padding: 0.7rem 1.3rem;
  font-size: 0.88rem;
}

/* ---------- Centered CTA banner (courses page footer CTA) ---------- */

.cta-banner {
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  color: var(--white);
  margin-top: 1rem;
}

.cta-banner .featured-cta {
  justify-content: center;
}

/* ---------- Robot product page ---------- */

.hero--robot .hero-media img {
  object-position: 60% center;
}

/* The #story section stays on the light paper background, so its text
   must use ink/soft tones rather than the dark-teaser defaults. */
#story .product-grid h2 {
  color: var(--ink);
}

#story .product-grid .lead {
  color: var(--text-soft);
}

/* Capabilities grid */
.caps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.cap-card {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.cap-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 192, 255, 0.4);
}

.cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(46, 127, 224, 0.16);
  color: var(--sky);
}

.cap-icon svg {
  width: 24px;
  height: 24px;
}

.cap-card h3 {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 750;
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--white);
}

.cap-card p {
  color: var(--text-inverse-soft);
  font-size: 0.96rem;
}

/* Roadmap */
.roadmap {
  list-style: none;
  counter-reset: phase;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.roadmap-step {
  position: relative;
  border-top: 2px solid var(--line-dark);
  padding-top: 1.3rem;
}

.roadmap-step.is-active {
  border-top-color: var(--azure);
}

.roadmap-step::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--line-dark);
}

.roadmap-step.is-active::before {
  background: var(--azure);
  border-color: var(--azure);
  box-shadow: 0 0 12px rgba(46, 127, 224, 0.7);
}

.roadmap-k {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.6rem;
}

.roadmap-step b {
  display: block;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 750;
  text-transform: uppercase;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.roadmap-step p {
  color: var(--text-inverse-soft);
  font-size: 0.92rem;
}

/* Waitlist */
.waitlist-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.waitlist-points {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.waitlist-points li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.9rem;
  border-top: 1px solid var(--line-dark);
  color: var(--text-inverse);
  font-size: 0.98rem;
}

.waitlist-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--azure);
  box-shadow: 0 0 10px rgba(46, 127, 224, 0.6);
}

.waitlist-form {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(4, 7, 15, 0.5);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  display: grid;
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--text-inverse-soft);
}

.field label .opt {
  text-transform: none;
  letter-spacing: 0;
  color: rgba(167, 184, 212, 0.65);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  transition: box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(46, 127, 224, 0.55);
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23223047' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
}

.waitlist-form .btn {
  justify-content: center;
  margin-top: 0.3rem;
}

.waitlist-form .btn:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.turnstile-check {
  display: grid;
  gap: 0.45rem;
  min-height: 4.8rem;
}

.turnstile-status {
  min-height: 1.25em;
  font-size: 0.85rem;
  color: var(--text-inverse-soft);
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-inverse-soft);
}

.form-alt {
  font-size: 0.9rem;
  color: var(--text-inverse-soft);
}

.form-note a,
.form-alt a {
  color: var(--sky);
  font-weight: 600;
}

.legal .form-note {
  color: var(--text-soft);
}

.legal .form-note a {
  color: var(--royal);
}

/* FAQ */
.faq {
  max-width: 820px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .chev {
  flex: none;
  color: var(--royal);
  transition: transform 0.25s ease;
}

.faq-item[open] summary .chev {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 0 1.35rem;
}

.faq-body p {
  color: var(--text-soft);
  max-width: 68ch;
}

/* ---------- Reveal animation ---------- */

/* Content is hidden only after JS arms the observer that reveals it
   (html.reveal-armed) — no-JS and failed-JS visitors see the full page. */
.reveal-armed .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

@media (max-width: 960px) {
  .about-grid,
  .featured-card,
  .contact-grid,
  .product-grid,
  .waitlist-grid {
    grid-template-columns: 1fr;
  }

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

  .stat:nth-child(3) {
    border-left: 0;
  }

  .stat {
    border-top: 1px solid var(--line-dark);
  }

  .stat:nth-child(-n+2) {
    border-top: 0;
  }

  .programs-grid,
  .catalog-grid,
  .partners-grid,
  .caps-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .site-header .container {
    gap: 0.65rem;
  }

  .brand-name {
    display: none;
  }

  .site-header .brand img {
    height: 36px;
  }

  .lang-toggle {
    padding-inline: 0.7rem;
  }

  .hero-inner {
    padding-bottom: 3rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.35rem, 12vw, 3.2rem);
  }

  .hero-eyebrow,
  .hero-concept-note {
    letter-spacing: 0.12em;
  }

  .hero-cta {
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }
}

/* The institution-first labels need more horizontal room than the old menu.
   Switch to the drawer before the desktop header becomes crowded. */
@media (max-width: 1080px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(320px, 82vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    padding: 2rem;
    background: rgba(4, 7, 15, 0.97);
    transform: translateX(100%);
    /* visibility removes the closed panel's links from the tab order;
       the 0.3s delay keeps the slide-out animation visible */
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
  }

  body.nav-open .site-nav {
    transform: translateX(0);
    visibility: visible;
    transition-delay: 0s;
  }

  body.nav-open {
    overflow: hidden;
  }

  .site-nav a:not(.btn) {
    font-size: 1.15rem;
  }
}

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

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@media (max-width: 480px) {
  .stats .container {
    grid-template-columns: 1fr;
  }

  .stat {
    border-left: 0;
    padding: 1.6rem 0.2rem;
  }

  /* Restore the divider the 2-column rule suppressed on the 2nd stat */
  .stat:nth-child(2) {
    border-top: 1px solid var(--line-dark);
  }
}

/* ---------- Reduced motion ---------- */

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

  .reveal-armed .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .program-card,
  .workshop-chip,
  .cap-card,
  .site-nav {
    transition: none;
  }
}

/* ==========================================================================
   Language toggle + Arabic (RTL) support
   ========================================================================== */

/* ---------- Language toggle button (lives in the header bar) ---------- */

.lang-toggle {
  margin-inline-start: auto;   /* pushes it to the end of the bar, beside the nav / menu button */
  align-self: center;
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: var(--pill-track);
  text-transform: uppercase;
  color: var(--text-inverse);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(143, 192, 255, 0.32);
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.lang-toggle:hover {
  color: var(--sky);
  border-color: var(--sky);
}

/* When the button shows Arabic ("العربية"), render it in the Arabic face. */
.lang-toggle[lang="ar"] {
  font-family: "IBM Plex Sans Arabic", var(--font-mono);
  letter-spacing: normal;
  font-size: 0.82rem;
}

/* ---------- Arabic typography ---------- */

/* Base Arabic face for the whole document when in RTL. */
html[dir="rtl"] body,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea,
html[dir="rtl"] option {
  font-family: "IBM Plex Sans Arabic", "Segoe UI", "Tahoma", sans-serif;
}

/* Every classed element normally forces a Latin display/mono face; in Arabic
   make them all inherit the Arabic body font instead (the SVG logo has no
   class, so its M/C² lettering is left untouched). */
html[dir="rtl"] [class] {
  font-family: inherit;
}

/* Letter-spacing breaks Arabic's cursive joining — remove it everywhere. */
html[dir="rtl"] * {
  letter-spacing: normal !important;
}

/* The display face is ultra-condensed with tight leading for Latin caps;
   Arabic needs normal width and more line-height for its ascenders/marks. */
html[dir="rtl"] .display,
html[dir="rtl"] .hero h1,
html[dir="rtl"] .page-hero h1 {
  font-stretch: normal;
  font-weight: 800;
  line-height: 1.28;
}

html[dir="rtl"] .stat b {
  font-stretch: normal;
  line-height: 1.15;
}

/* ---------- Mirror the few physical-direction details ---------- */

html[dir="rtl"] .module-list li {
  padding-left: 0;
  padding-right: 2.1rem;
}
html[dir="rtl"] .module-list li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .waitlist-points li {
  padding-left: 0;
  padding-right: 1.9rem;
}
html[dir="rtl"] .waitlist-points li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .skip-link {
  left: auto;
  right: 1rem;
}

html[dir="rtl"] .fx-toggle {
  right: auto;
  left: clamp(1.25rem, 4vw, 2.5rem);
}

html[dir="rtl"] .field select {
  background-position: left 0.9rem center;
  padding-right: 0.95rem;
  padding-left: 2.4rem;
}

/* Directional arrow glyphs (→) should point the other way in RTL —
   applies to every .arrow (button CTAs, .more links), not just .btn. */
html[dir="rtl"] .arrow {
  display: inline-block;
  transform: scaleX(-1);
}
html[dir="rtl"] .btn:hover .arrow {
  transform: scaleX(-1) translateX(4px);
}

/* Stat dividers sit on the opposite edge. */
html[dir="rtl"] .stat {
  border-left: 0;
  border-right: 1px solid var(--line-dark);
}
html[dir="rtl"] .stat:first-child {
  border-right: 0;
}

@media (max-width: 960px) {
  html[dir="rtl"] .stat:nth-child(3) {
    border-right: 0;
  }
}
@media (max-width: 480px) {
  html[dir="rtl"] .stat {
    border-right: 0;
  }
}

/* Mobile drawer slides in from the left in RTL. */
@media (max-width: 1080px) {
  html[dir="rtl"] .site-nav {
    right: auto;
    left: 0;
    transform: translateX(-100%);
  }
  html[dir="rtl"] body.nav-open .site-nav {
    transform: translateX(0);
  }
}

/* ==========================================================================
   Legal pages (privacy, refund)
   ========================================================================== */

.legal {
  max-width: 780px;
}

.legal .updated {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--text-soft);
}

.legal .intro {
  margin-top: 1.4rem;
  font-size: 1.06rem;
  color: var(--text);
}

.legal h2 {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 1.3rem;
  color: var(--ink);
  margin-top: 2.6rem;
  margin-bottom: 0.5rem;
}

.legal p {
  color: var(--text-soft);
  margin-top: 0.85rem;
}

.legal p a {
  color: var(--royal);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.legal p a:hover {
  text-decoration: underline;
}

.legal ul {
  margin-top: 0.9rem;
  padding-inline-start: 1.2rem;
  color: var(--text-soft);
}
.legal li {
  margin-top: 0.5rem;
}

/* ==========================================================================
   Photowall (Gallery + Recognition) — masonry columns, mixed aspect ratios
   ========================================================================== */

.photowall {
  columns: 3;
  column-gap: 1.1rem;
}

.photowall-item {
  display: block;
  break-inside: avoid;
  margin: 0 0 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.photowall-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.photowall-item:hover img {
  transform: scale(1.045);
}

.photowall-item figcaption {
  padding: 0.6rem 0.9rem 0.75rem;
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--text-soft);
}

@media (max-width: 960px) {
  .photowall {
    columns: 2;
  }
}

@media (max-width: 620px) {
  .photowall {
    columns: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photowall-item img {
    transition: none;
  }
}

/* ---------- Testimonials ---------- */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}

.testimonial-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-card .quote-mark {
  color: var(--royal);
  opacity: 0.55;
}

.testimonial-card .quote-mark svg {
  width: 26px;
  height: 26px;
  display: block;
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text);
}

.testimonial-card figcaption {
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--text-soft);
}
