/* ===================================================================
   rocket — design system v3
   direction: swiss editorial / industrial print
   fonts: DM Serif Display + Figtree + DM Mono
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Mono:wght@300;400;500&family=Figtree:wght@300;400;500;600&display=swap');

/* ─── tokens ─────────────────────────────────────────────────────── */
:root {
  --bg:      #111110;
  --ink:     #f0ede8;
  --surface: #1a1917;
  --surface-strong: #201e1b;
  --surface-soft: rgba(255,255,255,0.03);
  --rule:    #2c2a27;
  --muted:   #9b9692;
  --faint:   #6b6762;
  --red:     #e8321a;
  --serif:   'DM Serif Display', Georgia, serif;
  --body:    'Figtree', system-ui, sans-serif;
  --mono:    'DM Mono', 'Courier New', monospace;
  --snap:    cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 70px rgba(0,0,0,0.28);
  --shadow-soft: 0 12px 34px rgba(0,0,0,0.20);
  --radius: 24px;
  --radius-sm: 18px;
}

/* ─── reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(circle at top right, rgba(232,50,26,0.15), transparent 32%),
    radial-gradient(circle at bottom left, rgba(255,255,255,0.04), transparent 26%),
    linear-gradient(135deg, #0f0f0e 0%, #151412 100%);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  text-transform: lowercase;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.12;
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), transparent 45%, rgba(0,0,0,0.18));
  pointer-events: none;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--body); cursor: pointer; border: none; background: none; text-transform: lowercase; }

/* ─── nav ───────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: 64px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  background: rgba(17,17,16,0.52);
  backdrop-filter: blur(16px) saturate(140%);
}

#navbar.scrolled {
  background: rgba(17,17,16,0.94);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: rgba(255,255,255,0.06);
  box-shadow: 0 8px 30px rgba(0,0,0,0.24);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.dot-formation {
  display: grid;
  grid-template-columns: repeat(2, 7px);
  gap: 4px;
  position: relative;
  top: 1px;
}

.dot-formation .dot {
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  display: block;
}

.dot-formation .dot:nth-child(1) { grid-column: 1 / 3; justify-self: left; margin-bottom: -2px; }
.dot-formation .dot:nth-child(2) { grid-column: 2 / 3; justify-self: center; margin-bottom: -2px; }
.dot-formation .dot:nth-child(3) { grid-column: 1; }

.logo-text {
  font-family: var(--body);
  font-weight: 1300;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.red-text {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--red);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--ink); }

/* ─── hero ──────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: 112px 48px 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.028), transparent 38%, rgba(255,255,255,0.015));
  pointer-events: none;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.4rem, 8vw, 7.5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
  position: relative;
  z-index: 1;
  min-height: 2.1em;
  text-shadow: 0 10px 30px rgba(0,0,0,0.24);
  max-width: 980px;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 900;
  color: var(--muted);
  letter-spacing: 0.14em;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--red), transparent);
}

.hero-sub {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.8;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.red-text-hero { color: var(--red); font-style: italic; }

.underscore {
  color: var(--red);
  animation: blink 0.8s step-end infinite;
  font-style: normal;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ─── section label ─────────────────────────────────────────────── */
.section-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 900;
  color: var(--faint);
  letter-spacing: 0.16em;
  margin-bottom: 32px;
  text-transform: uppercase;
}

/* ─── footer ────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
}

/* ─── contact button & form ─────────────────────────────────────── */
.contact-btn {
  position: fixed;
  bottom: 28px; right: 28px;
  background: linear-gradient(180deg, var(--ink), #d8d2c7);
  color: var(--bg);
  padding: 12px 22px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0.1em;
  z-index: 800;
  transition: transform 0.2s var(--snap), box-shadow 0.2s ease, background 0.2s ease;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.contact-btn:hover {
  background: linear-gradient(180deg, var(--red), #b82310);
  color: #fff;
  transform: translateY(-2px);
}

.contact-form-wrapper {
  position: fixed;
  bottom: -700px;
  right: 28px;
  width: 340px;
  background: linear-gradient(180deg, rgba(31,30,28,0.98), rgba(21,20,19,0.96));
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 2px solid var(--red);
  padding: 32px;
  z-index: 799;
  transition: bottom 0.5s var(--snap);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
}

.contact-form-wrapper.open { bottom: 78px; }

.contact-form-wrapper h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 1000;
  color: var(--ink);
  margin-bottom: 4px;
}

/* ─── inputs ─────────────────────────────────────────────────────── */
input, textarea, select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  padding: 10px 0;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  outline: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease;
}

input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus, select:focus { border-bottom-color: var(--red); }
textarea { height: 80px; resize: none; padding-top: 10px; }

select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 14px) calc(50% - 2px), calc(100% - 8px) calc(50% - 2px);
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
  cursor: pointer;
}

select option { background: #1f1e1c; color: var(--ink); }
select:invalid { color: var(--faint); }

/* registration form inputs — same dark context */
.registration-form input,
.registration-form textarea,
.registration-form select {
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  padding: 16px 0;
}

.registration-form input::placeholder,
.registration-form textarea::placeholder { color: var(--faint); }

.registration-form input:focus,
.registration-form textarea:focus,
.registration-form select:focus { border-bottom-color: var(--red); }

.registration-form select {
  background-color: transparent;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 14px) calc(50% - 2px), calc(100% - 8px) calc(50% - 2px);
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.registration-form select option { background: var(--bg); color: var(--ink); }
.registration-form select:invalid { color: var(--faint); }

/* ─── buttons ───────────────────────────────────────────────────── */
.send-btn, button[type="submit"] {
  background: linear-gradient(180deg, var(--ink), #d6cec0);
  color: var(--bg);
  border: none;
  padding: 13px 24px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 1500;
  letter-spacing: 0.1em;
  width: 100%;
  cursor: pointer;
  transition: transform 0.2s var(--snap), box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  margin-top: 6px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

.send-btn:hover, button[type="submit"]:hover {
  background: linear-gradient(180deg, var(--red), #b82310);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(232,50,26,0.2);
}
.send-btn:disabled, button[type="submit"]:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

.registration-form .send-btn,
.registration-form button[type="submit"] {
  background: var(--ink);
  color: var(--bg);
  margin-top: 32px;
}

.registration-form .send-btn:hover,
.registration-form button[type="submit"]:hover { background: var(--red); color: #fff; }

/* form status */
.form-status {
  min-height: 1rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 2px;
}

.form-status.success { color: #4db87a; }
.form-status.error   { color: #e07070; }
.form-status.pending { color: var(--ink); }

.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }


/* ======================================================
   INDEX
   ====================================================== */
body.page-index .hero h1 {
  font-size: clamp(4rem, 10vw, 9rem);
  min-height: 2.1em;
}

body.page-index .red-word { color: var(--red); font-style: italic; }

body.page-index .hero-meta {
  margin-top: 32px;
  position: relative;
  z-index: 1;
}

body.page-index .hero-meta p {
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 380px;
  line-height: 1.7;
}

/* intro strip */
body.page-index .intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--rule);
}

body.page-index .intro-strip-item {
  padding: 28px 48px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.page-index .intro-strip-item:last-child { border-right: none; }

body.page-index .strip-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 900;
  color: var(--faint);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.page-index .strip-value {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 1000;
  color: var(--ink);
}

/* sectors */
body.page-index .sectors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--rule);
}

body.page-index .sector-box {
  padding: 64px 48px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--snap), background 0.25s ease, box-shadow 0.25s ease;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

body.page-index .sector-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  pointer-events: none;
}

body.page-index .sector-box:last-child { border-right: none; }
body.page-index .sector-box:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.042), rgba(255,255,255,0.012));
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

body.page-index .sector-num {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 900;
  color: var(--faint);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.page-index .sector-box h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 1000;
  line-height: 1.1;
  transition: color 0.2s ease;
}

body.page-index .sector-box:hover h2 { color: var(--red); }

body.page-index .sector-box p {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.7;
  max-width: 320px;
  margin-top: 4px;
}

body.page-index .sector-cta {
  margin-top: auto;
  padding-top: 40px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 1000;
  color: var(--muted);
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

body.page-index .sector-box:hover .sector-cta { color: var(--red); }


/* ======================================================
   ABOUT
   ====================================================== */
body.page-about main { padding: 96px 48px 80px; }

body.page-about .hero { min-height: 68vh; justify-content: center; }

body.page-about .hero h1 {
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  min-height: auto;
}

body.page-about .hero h1 em { font-style: italic; color: var(--red); }

body.page-about .about-intro {
  max-width: 600px;
  margin-bottom: 72px;
}

body.page-about .about-intro p {
  font-size: 1rem;
  font-weight: 900;
  color: var(--muted);
  line-height: 1.8;
}

body.page-about .about-intro p + p { margin-top: 18px; }

body.page-about .about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

body.page-about .about-card {
  padding: 40px 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

body.page-about .card-num {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 900;
  color: var(--faint);
  letter-spacing: 0.16em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

body.page-about .about-card h2 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 1000;
  margin-bottom: 16px;
}

body.page-about .about-card p {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.8;
}


/* ======================================================
   EDUCATION
   ====================================================== */
body.page-education main { padding: 96px 48px 80px; }

body.page-education .mission-block { margin-bottom: 80px; }

body.page-education .mission-text {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 1000;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  max-width: 740px;
  margin-bottom: 80px;
}

body.page-education h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 1000;
  margin-bottom: 36px;
}

body.page-education .curriculum-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

body.page-education .card {
  padding: 40px 36px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--snap), background 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.01));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

body.page-education .card:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.042), rgba(255,255,255,0.012));
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

body.page-education .card-tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 900;
  color: var(--faint);
  letter-spacing: 0.16em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

body.page-education .card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 1000;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

body.page-education .card:hover h3 { color: var(--red); }

body.page-education .card p {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.7;
  max-width: 300px;
}

body.page-education .card .price {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 1000;
  color: var(--ink);
  margin-top: 28px;
  display: block;
}

body.page-education .card .arrow {
  position: absolute;
  right: 28px; bottom: 28px;
  font-size: 0.9rem;
  color: var(--faint);
  transition: color 0.2s ease, transform 0.2s var(--snap);
}

body.page-education .card:hover .arrow { color: var(--red); transform: translate(3px,-3px); }


/* ======================================================
   CLOUD
   ====================================================== */
body.page-cloud main { padding: 96px 48px 80px; }

body.page-cloud .mission-text {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 1000;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  max-width: 680px;
  margin-bottom: 80px;
}

body.page-cloud .cloud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  margin-bottom: 56px;
}

body.page-cloud .cloud-cell {
  padding: 40px 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

body.page-cloud .cell-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 900;
  color: var(--faint);
  letter-spacing: 0.16em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

body.page-cloud .cloud-cell h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 1000;
  margin-bottom: 14px;
}

body.page-cloud .cloud-cell p {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.7;
}

body.page-cloud .coming-banner {
  padding: 20px 28px;
  border: 1px solid var(--rule);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--muted);
  letter-spacing: 0.06em;
}

body.page-cloud .coming-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--faint);
  flex-shrink: 0;
}


/* ======================================================
   COURSE PAGES
   ====================================================== */
body[class*="page-course"] main { padding: 80px 48px 80px; }
body[class*="page-course"] .hero {
  min-height: 100vh;
  padding-top: 120px;
}

#details {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 80px;
  margin-bottom: 0;
  align-items: start;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 80px;
}

.content-block h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 1000;
  margin-bottom: 20px;
  line-height: 1.1;
}

.content-block > p {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 900;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 480px;
}

.content-block h3 {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 900;
  color: var(--faint);
  letter-spacing: 0.16em;
  margin-bottom: 0;
  margin-top: 40px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  text-transform: uppercase;
}

.content-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  max-width: 480px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0;
}

.content-block ul li {
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--muted);
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 14px;
}

.content-block ul li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.price-tag {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 400;
  color: var(--ink);
  display: block;
  margin-top: 48px;
}

/* sidebar */
.course-sidebar {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}

.sidebar-card {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.sidebar-card .sidebar-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 900;
  color: var(--faint);
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.sidebar-card .sidebar-value {
  font-size: 0.93rem;
  font-weight: 1500;
  color: var(--ink);
}

.brochure-note {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 900;
  color: var(--faint);
  letter-spacing: 0.12em;
  display: block;
  margin-top: 28px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.seats-note {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 1000;
  color: var(--red);
  display: block;
  margin-bottom: 18px;
}

.resource-links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}

.resource-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.resource-link::after {
  content: '↗';
  color: var(--faint);
  transition: color 0.2s ease, transform 0.2s var(--snap);
  font-size: 0.8rem;
}

.resource-link:hover { color: var(--red); }
.resource-link:hover::after { color: var(--red); transform: translate(2px,-2px); }

/* registration */
#registration { padding-top: 72px; }

.registration-panel { max-width: 600px; }

.registration-panel h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 1000;
  margin-bottom: 36px;
}

.registration-form {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.batch-note {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 900;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 20px;
}

.policy-note {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 900;
  color: var(--faint);
  line-height: 1.7;
  margin-top: 8px;
}

.batch-disclaimer {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 900;
  color: var(--faint);
  line-height: 1.7;
  margin-top: 4px;
}


/* ======================================================
   RESOURCE PAGES
   ====================================================== */
body[class*="page-resource"] { padding: 60px 24px; }

body[class*="page-resource"] .wrap {
  max-width: 680px;
  margin: 0 auto;
  border-top: 2px solid var(--red);
  padding-top: 36px;
}

body[class*="page-resource"] h1 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 1000;
  margin-bottom: 24px;
}

body[class*="page-resource"] p {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.8;
  margin-bottom: 14px;
}

body[class*="page-resource"] a {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 900;
  display: inline-block;
  margin-top: 16px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

body[class*="page-resource"] a:hover { color: var(--red); border-color: var(--red); }


/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1024px) {
  #navbar, #navbar.scrolled { padding: 0 32px; }
  .hero { padding: 90px 32px 60px; }
  .site-footer { padding: 20px 32px; }
  body.page-about main,
  body.page-education main,
  body.page-cloud main,
  body[class*="page-course"] main { padding: 80px 32px; }
  body[class*="page-course"] .hero { padding-top: 100px; }
  body.page-index .sectors { grid-template-columns: 1fr; }
  body.page-index .sector-box { border-right: none; border-bottom: 1px solid var(--rule); }
  body.page-about .about-grid { grid-template-columns: 1fr 1fr; }
  body.page-education .curriculum-grid { grid-template-columns: 1fr; }
  body.page-cloud .cloud-grid { grid-template-columns: 1fr 1fr; }
  #details { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrapper { width: calc(100% - 56px); right: 28px; }
  .nav-links { gap: 20px; }
}

@media (max-width: 768px) {
  #navbar, #navbar.scrolled { padding: 0 20px; height: 54px; }
  .hero { padding: 80px 20px 56px; }
  .hero h1 { font-size: clamp(2.6rem, 9vw, 5rem); }
  .site-footer { padding: 18px 20px; flex-direction: column; gap: 6px; text-align: center; }

  /* nav — hide text labels on very small, keep brand */
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 0.64rem; letter-spacing: 0.04em; }

  body.page-about main,
  body.page-education main,
  body.page-cloud main,
  body[class*="page-course"] main { padding: 64px 20px; }
  body[class*="page-course"] .hero { padding-top: 90px; }
  body.page-about .about-grid { grid-template-columns: 1fr; }
  body.page-cloud .cloud-grid { grid-template-columns: 1fr; }

  /* contact form — full width */
  .contact-btn { bottom: 16px; right: 16px; padding: 10px 16px; font-size: 0.66rem; }
  .contact-form-wrapper {
    width: 100%;
    right: 0;
    bottom: -700px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 24px 20px;
  }
  .contact-form-wrapper.open { bottom: 0; }

  /* course detail — stack fully */
  #details { gap: 36px; }
  .content-block h2 { font-size: 2rem; }
  .price-tag { font-size: 1.8rem; }

  /* education grid — single col */
  body.page-education .curriculum-grid { grid-template-columns: 1fr; }
  body.page-education .card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  #navbar, #navbar.scrolled { padding: 0 16px; }
  .logo-text { font-size: 0.88rem; }
  .red-text  { font-size: 0.68rem; }
  .hero { padding: 74px 16px 44px; }
  .hero h1 { font-size: clamp(2.2rem, 11vw, 4rem); }
  .hero-sub { font-size: 0.88rem; }
  body.page-index .hero h1 { font-size: clamp(2.4rem, 12vw, 4.5rem); }

  body.page-about main,
  body.page-education main,
  body.page-cloud main,
  body[class*="page-course"] main { padding: 48px 16px; }
  body[class*="page-course"] .hero { padding-top: 74px; }

  body.page-index .sector-box { padding: 40px 20px; }
  body.page-index .sector-box h2 { font-size: 1.6rem; }

  body.page-about .about-card { padding: 28px 20px; }
  body.page-cloud .cloud-cell { padding: 28px 20px; }

  .content-block h2 { font-size: 1.7rem; }
  .price-tag { font-size: 1.6rem; }
  .registration-panel { padding: 24px 16px; }
  .registration-panel h3 { font-size: 1.3rem; }

  /* nav links — tightest spacing */
  .nav-links { gap: 10px; }
  .nav-links a { font-size: 0.6rem; letter-spacing: 0.02em; }

  .site-footer { font-size: 0.58rem; }
}