/* rocktech.ai (alternate) — the rocktech.solutions design system applied to the
   rewritten rocktech.ai content. Everything above the "rocktech.ai extensions" banner is the rocktech.solutions
   stylesheet unchanged except the hero photo; the banner section
   adds the multi-page components, built only from the same tokens. */

:root {
  --navy: #20203f;
  --navy-2: #20213d;
  --blue: #0c62ff;
  --blue-deep: #004ee1;
  --blue-light: #6fa3ff;
  --blue-pale: #f2f7ff;
  --blue-hover: #1358d6;
  --yellow: #f7d56f;
  --grey: #979797;
  --grey-text: #4c5458;
  --grey-text-2: #808c91;
  --border: #e6e9f1;
  --line-soft: #c9dcff;
  --neutral: #f0f2f3;
  --white: #fff;

  /* Crest facets, clockwise from the top (rocktech-pfp-diamond-crest.svg) */
  --facet-green: #39984a;
  --facet-green-deep: #2e7c3d;
  --facet-gold: #fdd17c;
  --facet-amber: #f49e19;
  --facet-red: #e05535;
  --facet-slate: #a2a0a4;
  --facet-purple: #7e6390;
  --facet-blue: #1076b2;
  --facet-stops:
    var(--facet-green) 0 12.5%, var(--facet-green-deep) 0 25%,
    var(--facet-gold) 0 37.5%, var(--facet-amber) 0 50%,
    var(--facet-red) 0 62.5%, var(--facet-slate) 0 75%,
    var(--facet-purple) 0 87.5%, var(--facet-blue) 0 100%;

  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Poppins", Arial, sans-serif;

  --shadow-card: 0 2px 7px #14142b17;
  --shadow-card-hover: 0 8px 30px #0000001a;
  --shadow-image: 0 7px 14px rgba(32, 32, 63, .10), 0 26px 26px rgba(32, 32, 63, .09), 0 59px 36px rgba(32, 32, 63, .07);
  --ease-card: cubic-bezier(.25, .46, .45, .94);

  --nav-height: 80px;
  --container-wide: 1400px;
  --container: 1000px;
  --section-padding: 100px;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/space-grotesk-400.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/space-grotesk-500.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/space-grotesk-600.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-700.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500.woff2") format("woff2");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

section { scroll-margin-top: calc(var(--nav-height) + 16px); }

/* ---------- Headings (Webflow-class scale from HC) ---------- */

.h1, h1 { font-family: var(--font-heading); font-weight: 600; font-size: 3em; line-height: 1.25em; color: var(--navy); }
.h2, h2 { font-family: var(--font-heading); font-weight: 600; font-size: 2.4em; line-height: 1.25em; color: var(--navy); }
.h3, h3 { font-family: var(--font-heading); font-weight: 600; font-size: 1.8em; line-height: 1.4em; color: var(--navy); }
.h4, h4 { font-family: var(--font-heading); font-weight: 600; font-size: 1.5em; line-height: 1.25em; color: var(--navy); }
.h5, .eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1em;
  line-height: 1.5em;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue);
}
.h6 { font-family: var(--font-heading); font-weight: 500; font-size: 1em; line-height: 1.25em; letter-spacing: .5px; color: var(--grey-text-2); }

.paragraph { font-family: var(--font-body); font-weight: 400; font-size: 1.05rem; line-height: 1.9; color: var(--navy); }
.paragraph-white, .paragraph.white { color: rgba(255, 255, 255, .92); }

/* ---------- Layout ---------- */

.container { max-width: var(--container); margin: 0 auto; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 40px; }

.section { padding: var(--section-padding) 40px; }
.section-blue-bg { background: var(--blue-pale); }

.section-sub { font-size: 1.1rem; color: var(--grey-text-2); max-width: 720px; margin-top: 12px; }

.section-intro { max-width: 860px; margin-top: 28px; display: grid; gap: 20px; }

/* ---------- Navbar ---------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--blue-pale);
  transition: box-shadow .3s ease;
}
.navbar.is-scrolled { box-shadow: 0 2px 14px rgba(32, 32, 63, .08); }

.nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 40px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-logo { display: block; height: 48px; width: auto; }
.brand-footer { gap: 16px; }
.brand-footer .brand-crest { width: 64px; height: 64px; }
.brand-footer .brand-logo { height: 56px; }

.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--navy);
  text-decoration: none;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--blue); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.hero {
  position: relative;
  /* 75% of the original full-viewport hero (was 100vh - nav, capped at 900px) */
  min-height: calc((100vh - var(--nav-height)) * .75);
  max-height: 675px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: 72px 40px 64px;
}

.hero-bg { position: absolute; inset: 0; background: linear-gradient(155deg, #171730 0%, var(--navy) 45%, #0d1e4a 100%); }

/* Background photo with the greyscale + brand-blue multiply tint baked in (hero-tinted.webp),
   so the browser composites a plain image instead of a filter and a blend layer. */
.hero-photo {
  position: absolute; inset: 0;
  background: url("../img/hero-tinted.webp") center / cover no-repeat;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(111, 163, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 163, 255, .055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
}

.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); }
.hero-glow-a { width: 640px; height: 640px; left: -180px; top: -160px; background: radial-gradient(circle, rgba(12, 98, 255, .34) 0%, transparent 65%); }
.hero-glow-b { width: 760px; height: 760px; right: -220px; bottom: -280px; background: radial-gradient(circle, rgba(0, 78, 225, .30) 0%, transparent 65%); }

.hero-fade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 23, 48, .82) 0%, rgba(32, 32, 63, .55) 45%, rgba(32, 32, 63, .15) 100%); }

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.hero-content { text-align: left; }

.hero-logo { display: flex; justify-content: center; }
.hero-logo img {
  width: 100%;
  max-width: 460px;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(5, 10, 40, .55));
}

/* 8-facet strip in crest order: hero base and footer top */
.facet-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  z-index: 2;
  background: linear-gradient(90deg, var(--facet-stops));
}
.facet-bar-top { top: 0; bottom: auto; }

.hero-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 3.6em;
  line-height: 1.15em;
  color: var(--white);
  max-width: 14em;
}

.hero-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .88);
  max-width: 34em;
  margin-top: 24px;
}

.hero-trust {
  margin-top: 48px;
  font-size: .8rem;
  letter-spacing: .5px;
  color: var(--blue-light);
}

/* ---------- Buttons (HC .button spec) ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 8px 22px;
  border-radius: 5px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 25px;
  text-decoration: none;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.button:hover { background: var(--blue-hover); color: var(--white); }

.button-small { min-height: 40px; padding: 6px 16px; font-size: 13.5px; }

.button-white { background: transparent; border-color: rgba(255, 255, 255, .85); color: var(--white); }
.button-white:hover { background: var(--white); color: var(--navy); }

.button-bg-white { background: var(--white); color: var(--blue); }
.button-bg-white:hover { background: var(--blue-pale); color: var(--blue-hover); }

.button-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.button-outline:hover { background: var(--navy); color: var(--white); }

.button-wrapper { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

/* ---------- Cards ---------- */

.grid { display: grid; margin-top: 60px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 40px; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease-card), box-shadow .3s var(--ease-card);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }

/* Crest above each section heading */
.section-crest { display: block; width: 56px; height: 56px; margin-bottom: 22px; filter: drop-shadow(0 6px 12px rgba(32, 32, 63, .18)); }
.section-blue-bg .card { background: var(--white); }

.card-icon { width: 34px; height: 34px; stroke: var(--blue); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }

.card-text { font-size: .92rem; line-height: 1.85; color: var(--grey-text); margin-top: 12px; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1em;
  color: var(--blue);
  text-decoration: none;
}
.arrow-link .arrow { transition: transform .25s var(--ease-card); }
.arrow-link:hover .arrow { transform: translateX(5px); }
.arrow-link:hover { color: var(--blue-hover); }

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

.cta-band {
  background: linear-gradient(180deg, var(--blue-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding-top: 110px;
  padding-bottom: 110px;
}

.cta-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: center; }

.cta-title { color: var(--white); }

.cta-heading { color: var(--white); margin-top: 36px; }

.cta-copy .paragraph { margin-top: 20px; }

.cta-media img {
  border-radius: 14px;
  box-shadow: var(--shadow-image);
  border: 1px solid rgba(255, 255, 255, .14);
  aspect-ratio: 864 / 1184;
  object-fit: cover;
  width: 100%;
  max-height: 620px;
}

/* ---------- Learn promo ---------- */

.learn-section { background: var(--white); }

.learn-card {
  display: flex;
  max-width: 980px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .3s var(--ease-card), box-shadow .3s var(--ease-card);
}
.learn-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }

.learn-accent { flex: 0 0 8px; background: linear-gradient(180deg, var(--facet-stops)); }

.learn-body { padding: 56px 60px; }
.learn-body .h3 { margin-bottom: 16px; }
.learn-body .button { margin-top: 32px; }

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

.footer { position: relative; background: var(--blue-pale); border-top: 1px solid #e4ebf3; padding: 80px 40px 40px; }

.footer-content {
  display: grid;
  grid-template-columns: 1.6fr .8fr .8fr;
  gap: 70px;
  padding: 0;
}

.footer-tagline { margin-top: 20px; font-size: .95rem; line-height: 1.8; color: var(--grey-text-2); max-width: 34em; }

.footer-heading { font-family: var(--font-heading); font-weight: 600; font-size: 1rem; color: var(--navy); margin-bottom: 18px; }

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-link { font-size: 12px; line-height: 1.6; color: var(--navy); text-decoration: none; }
.footer-link:hover { color: rgba(26, 27, 31, .75); }

.footer-bottom { margin-top: 60px; padding: 24px 40px 0; border-top: 1px solid #e4ebf3; }
.footer-legal { font-size: 12px; color: var(--grey-text-2); }

/* ---------- Reveal motion (data-w-id equivalent) ---------- */

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s var(--ease-card); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .card, .learn-card { transition: none; }
}

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

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .cta-grid { grid-template-columns: 1fr; gap: 56px; }
  .cta-media img { max-width: 440px; }
}

@media (max-width: 768px) {
  :root { --section-padding: 60px; }

  .h1, h1 { font-size: 38px; line-height: 44px; }
  .h2, h2 { font-size: 32px; line-height: 36px; }
  .h3, h3 { font-size: 24px; line-height: 30px; }
  .h4, h4 { font-size: 18px; line-height: 24px; }

  .hero-title { font-size: 38px; line-height: 44px; }
  .section-crest { width: 44px; height: 44px; margin-bottom: 18px; }
  .brand-logo { height: 40px; }
  .brand-footer .brand-crest { width: 52px; height: 52px; }
  .brand-footer .brand-logo { height: 46px; }
  .hero-sub { font-size: 1.05rem; }

  .section, .hero { padding-left: 24px; padding-right: 24px; }
  .hero { padding-top: 56px; padding-bottom: 56px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-logo { display: none; } /* the nav logo is directly above */
  .hero-fade { background: rgba(23, 23, 48, .7); }
  .container-wide, .nav-inner, .footer { padding-left: 24px; padding-right: 24px; }

  .grid { margin-top: 40px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: var(--white);
    border-bottom: 2px solid var(--blue-pale);
    box-shadow: 0 12px 30px rgba(32, 32, 63, .1);
    padding: 24px;
  }
  .nav-menu.is-open { display: flex; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 18px; }
  .nav-cta { margin-top: 12px; }

  .footer-content { grid-template-columns: 1fr; gap: 40px; }
  .learn-body { padding: 40px 32px; }
  .learn-accent { flex-basis: 6px; }
  .button-wrapper { margin-top: 32px; }
}

/* =====================================================================
   rocktech.ai extensions
   Multi-page components for the rocktech.ai content. Only the tokens
   defined in :root above are used; no new colours or fonts.
   ===================================================================== */

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--blue); color: var(--white); padding: 8px 16px; border-radius: 5px; font-weight: 500; text-decoration: none; }
.skip:focus { left: 16px; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- Navbar: current page ---------- */
.nav-links a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); padding-bottom: 4px; }

/* ---------- Hero: page variant, accent, media, chips ---------- */
.hero { min-height: 0; max-height: none; padding-top: 96px; padding-bottom: 96px; }
.hero-page { padding-top: 88px; padding-bottom: 88px; }
.hero .eyebrow { display: block; color: var(--blue-light); margin-bottom: 18px; }
.hero-title .accent { font-style: normal; color: var(--blue-light); }
.hero-title { max-width: 15em; }
.hero-page .hero-title { font-size: 3.1em; }
.hero-centered .hero-inner { grid-template-columns: 1fr; max-width: 880px; text-align: center; }
.hero-centered .hero-content { text-align: center; }
.hero-centered .hero-title, .hero-centered .hero-sub { margin-left: auto; margin-right: auto; }
.hero-centered .button-wrapper { justify-content: center; }
.hero .arrow-link { color: var(--white); padding-top: 0; margin-top: 0; }
.hero .arrow-link:hover { color: var(--blue-light); }

.hero-note { display: flex; align-items: center; gap: 18px; margin-top: 44px; max-width: 34em; }
.hero-note b { font-family: var(--font-heading); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--white); }
.hero-note span { font-size: .85rem; line-height: 1.7; color: var(--blue-light); }

.hero-media { position: relative; margin: 0; }
.hero-media .frame, .media-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-image);
  border: 1px solid var(--border);
  background: var(--navy);
}
.hero-media .frame { border-color: rgba(255, 255, 255, .14); }
.hero-media img, .media-frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-tall { aspect-ratio: 4 / 5; }
.frame-wide { aspect-ratio: 16 / 10; }
.frame-square { aspect-ratio: 1 / 1; }
.frame-contain { background: var(--blue-pale); padding: 18px; }
.frame-contain img { object-fit: contain; }

.chip {
  position: absolute;
  z-index: 2;
  background: var(--white);
  color: var(--navy);
  border-radius: 10px;
  border-top: 3px solid var(--blue);
  padding: 12px 16px;
  box-shadow: var(--shadow-card-hover);
  max-width: 230px;
  line-height: 1.35;
}
.chip small { display: block; font-family: var(--font-heading); font-weight: 600; font-size: .68rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.chip strong { font-family: var(--font-heading); font-weight: 600; font-size: 1rem; color: var(--navy); }
.chip .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--facet-green); margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 0 3px rgba(57, 152, 74, .2); }
.chip-tl { top: 22px; left: -22px; }
.chip-br { bottom: 26px; right: -22px; }
.chip-bl { bottom: 26px; left: -22px; }
.chip-tr { top: 22px; right: -22px; }

/* ---------- Stat strip (under the hero facet bar) ---------- */
.stat-strip { background: var(--white); border-bottom: 1px solid var(--border); padding: 0 40px; }
.stat-strip ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--container-wide); margin: 0 auto; padding: 0 40px; }
.stat-strip li { padding: 28px 24px; border-left: 1px solid var(--border); display: flex; flex-direction: column; gap: 2px; }
.stat-strip li:first-child { border-left: 0; padding-left: 0; }
.stat-strip b { font-family: var(--font-heading); font-weight: 600; font-size: 1.5rem; color: var(--navy); }
.stat-strip span { font-family: var(--font-heading); font-weight: 500; font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey-text-2); }

/* ---------- Section heads ---------- */
.section-head { max-width: 860px; }
.section-head .eyebrow { display: block; margin-bottom: 8px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head.center .section-crest { margin-left: auto; margin-right: auto; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }
.section-white { background: var(--white); }
.lead { font-size: 1.15rem; line-height: 1.85; color: var(--grey-text); margin-top: 16px; }
.muted { font-size: .95rem; line-height: 1.85; color: var(--grey-text-2); margin-top: 16px; }

/* ---------- Grids ---------- */
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
.card .h4 + .card-text { margin-top: 12px; }

/* Numbered cards */
.num-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 10px;
  background: var(--blue-pale); color: var(--blue);
  font-family: var(--font-heading); font-weight: 600; font-size: 1.3rem;
  margin-bottom: 20px;
}
.section-blue-bg .num-tile { background: var(--blue); color: var(--white); }

/* Card with tag and thumbnail (start here) */
.card-lead { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow-card); }
.card-tag {
  position: absolute; top: -12px; left: 30px;
  background: var(--blue); color: var(--white);
  font-family: var(--font-heading); font-weight: 600; font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 12px; border-radius: 20px;
}
.card-thumb { border-radius: 8px; overflow: hidden; background: var(--blue-pale); margin-bottom: 20px; aspect-ratio: 501 / 282; }
.card-thumb img { width: 100%; height: 100%; object-fit: contain; }
.card .arrow-link { font-size: .95em; }

/* 48-unit icons drawn for rocktech.ai */
svg.card-icon[viewBox="0 0 48 48"] { stroke-width: 2.4; }

/* ---------- Split (media + copy) ---------- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-reverse .split-media { order: 2; }
.split-copy .button-wrapper { margin-top: 32px; }
.split-copy .arrow-link, .copy-block .arrow-link { padding-top: 28px; }

/* Tick list */
.ticks { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 36px; font-size: .98rem; line-height: 1.75; color: var(--navy); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c62ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section-blue-bg .ticks li::before { background-color: var(--white); }

/* ---------- Two column ---------- */
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }

/* ---------- Steps (timeline) ---------- */
.steps { list-style: none; display: grid; gap: 0; counter-reset: none; }
.steps li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding-bottom: 40px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--line-soft); }
.steps li:last-child::before { display: none; }
.step-ring {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  font-family: var(--font-heading); font-weight: 600; font-size: 1.3rem;
  box-shadow: 0 0 0 6px var(--blue-pale);
}
.steps h3 { font-size: 1.35em; margin-top: 12px; }
.steps p { font-size: .95rem; line-height: 1.85; color: var(--grey-text); margin-top: 10px; }
.steps .result {
  margin-top: 16px; padding: 12px 16px; border-radius: 8px;
  background: var(--blue-pale); border-left: 3px solid var(--blue); color: var(--navy);
}
.section-blue-bg .steps .result { background: var(--white); }
.steps .result b { display: block; font-family: var(--font-heading); font-weight: 600; font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); }

/* ---------- Quote band ---------- */
.quote-band { text-align: center; }
.quote-band .section-crest { margin-left: auto; margin-right: auto; }
.quote p { font-family: var(--font-heading); font-weight: 600; font-size: 2.6em; line-height: 1.25; color: var(--white); max-width: 22em; margin: 0 auto; }
.quote em { font-style: normal; color: var(--blue-light); }
.quote cite { display: block; margin-top: 28px; font-style: normal; font-family: var(--font-heading); font-weight: 600; font-size: .9rem; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-light); }

/* ---------- CTA band, centred variant ---------- */
.cta-center { text-align: center; max-width: 820px; margin: 0 auto; }
.cta-center .section-crest { margin-left: auto; margin-right: auto; }
.cta-center .button-wrapper { justify-content: center; }
.cta-band .eyebrow { display: block; color: var(--blue-light); margin-bottom: 8px; }
.cta-band .lead { color: rgba(255, 255, 255, .88); }
.cta-band .h2 { color: var(--white); }

/* ---------- Tabs ---------- */
.tablist { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 48px; }
.tab {
  font-family: var(--font-body); font-weight: 500; font-size: 15px;
  padding: 9px 22px; border-radius: 5px; border: 1px solid var(--border);
  background: var(--white); color: var(--navy); cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.tab:hover { border-color: var(--blue); color: var(--blue); }
.tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.tabpanel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  margin-top: 36px; padding: 36px; background: var(--white);
  border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-card);
}
.tabpanel[hidden] { display: none; }
.tabpanel .h3 { margin-bottom: 8px; }
.tabpanel p { font-size: .98rem; line-height: 1.85; color: var(--grey-text); margin-top: 12px; }

/* ---------- Consult promo (learn-card with facet accent) ---------- */
.consult { margin-top: 72px; }
.consult .learn-body { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 48px; width: 100%; }
.consult .learn-body p { font-family: var(--font-heading); font-weight: 600; font-size: 1.35rem; line-height: 1.4; color: var(--navy); }
.consult .learn-body .button { margin-top: 0; flex-shrink: 0; }
.section-standalone .consult { margin-top: 0; }

/* ---------- Offers (services / courses) ---------- */
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-top: 72px; }
.offer + .offer { padding-top: 72px; border-top: 1px solid var(--border); }
.offer-flip .offer-media { order: 2; }
.offer .eyebrow { display: block; margin-bottom: 6px; }
.one-liner { font-size: 1.1rem; line-height: 1.7; color: var(--grey-text-2); margin-top: 10px; }
.offer p.body { font-size: .98rem; line-height: 1.85; color: var(--grey-text); margin-top: 16px; }
.offer .button { margin-top: 32px; }
.offer .arrow-link { padding-top: 28px; }

/* Pair of cards */
.pair { margin-top: 56px; }
.pair .card p { font-size: .95rem; line-height: 1.85; color: var(--grey-text); margin-top: 12px; }

/* ---------- Cohort ---------- */
.day-list { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.day-list li { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: baseline; padding: 16px 20px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-card); }
.day-list b { font-family: var(--font-heading); font-weight: 600; color: var(--blue); font-size: 1.05rem; }
.day-list span { font-size: .95rem; line-height: 1.7; color: var(--navy); }

.check-grid { list-style: none; }
.check-grid li { padding: 24px 24px 24px 64px; }
.check-grid li::before {
  content: ""; position: absolute; left: 22px; top: 24px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.check-grid b { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; color: var(--navy); }
.check-grid span { display: block; font-size: .88rem; line-height: 1.7; color: var(--grey-text); margin-top: 4px; }

/* ---------- Comparison table ---------- */
.compare-wrap { margin-top: 48px; overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-card); background: var(--white); }
.compare { width: 100%; min-width: 860px; border-collapse: collapse; font-size: .9rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); line-height: 1.6; }
.compare thead th { background: var(--navy); color: var(--white); font-family: var(--font-heading); font-weight: 600; font-size: .95rem; }
.compare tbody th { font-family: var(--font-heading); font-weight: 600; color: var(--navy); white-space: nowrap; }
.compare td { color: var(--grey-text); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tr.feature th, .compare tr.feature td { background: var(--blue-pale); }
.compare td.yes { color: var(--blue); font-weight: 500; }
.compare td.yes::before { content: "\2713\00a0"; }
.compare a { color: var(--blue); font-weight: 500; text-decoration: none; }
.compare a:hover { text-decoration: underline; }

/* ---------- Disclosure / link card ---------- */
.disclosure { font-size: .82rem; line-height: 1.7; color: var(--grey-text-2); border-left: 3px solid var(--blue); padding: 4px 0 4px 14px; max-width: 44em; margin-top: 28px; text-align: left; }
.hero .disclosure { color: rgba(255, 255, 255, .78); border-left-color: var(--blue-light); margin-left: auto; margin-right: auto; }
.disclosure-center { margin-left: auto; margin-right: auto; }

.link-card { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 14px 18px; background: var(--white); border-radius: 10px; box-shadow: var(--shadow-card); text-decoration: none; max-width: 320px; transition: transform .3s var(--ease-card), box-shadow .3s var(--ease-card); }
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.link-card img { width: 34px; height: 34px; }
.link-card b { display: block; font-family: var(--font-heading); font-weight: 600; color: var(--navy); }
.link-card span { font-size: .82rem; color: var(--blue); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; margin-top: 56px; align-items: stretch; }
.contact-panel .h3 { margin-bottom: 6px; }
.contact-panel p { font-size: .98rem; line-height: 1.85; color: var(--grey-text); margin-top: 12px; }
.contact-panel .button { margin-top: 28px; align-self: flex-start; }
.contact-info dl { display: grid; gap: 22px; }
.contact-info dt { font-family: var(--font-heading); font-weight: 600; font-size: .75rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey-text-2); }
.contact-info dd { margin-top: 4px; }
.contact-info a { font-family: var(--font-heading); font-weight: 500; font-size: 1.1rem; color: var(--blue); text-decoration: none; }
.contact-info a:hover { color: var(--blue-hover); text-decoration: underline; }

/* ---------- Footer: four columns + legal ---------- */
.footer-content { grid-template-columns: 1.4fr .8fr .8fr .8fr .8fr; gap: 56px; }
.footer-tagline a { color: var(--blue); text-decoration: none; font-weight: 500; }
.footer-tagline a:hover { text-decoration: underline; }
.footer-legal + .footer-legal { margin-top: 8px; }

/* ---------- Responsive (extensions) ---------- */
@media (max-width: 1180px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: var(--nav-height); left: 0; right: 0;
    display: none; flex-direction: column; align-items: flex-start; gap: 8px;
    background: var(--white); border-bottom: 2px solid var(--blue-pale);
    box-shadow: 0 12px 30px rgba(32, 32, 63, .1); padding: 24px 40px;
  }
  .nav-menu.is-open { display: flex; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 18px; }
  .nav-cta { margin-top: 12px; }
}

@media (max-width: 1100px) {
  .split-grid, .two-col, .offer, .tabpanel, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .split-reverse .split-media, .offer-flip .offer-media { order: 0; }
  .hero-media { max-width: 560px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 48px; }
  .consult .learn-body { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .hero-page .hero-title { font-size: 34px; line-height: 40px; }
  .hero-media { display: block; }
  .chip-tl { left: 10px; top: 10px; }
  .chip-br { right: 10px; bottom: 10px; }
  .chip-bl { left: 10px; bottom: 10px; }
  .chip-tr { right: 10px; top: 10px; }
  .chip { max-width: 190px; }
  .stat-strip { padding: 0 24px; }
  .stat-strip ul { grid-template-columns: repeat(2, 1fr); padding: 0; }
  .stat-strip li { padding: 20px 16px; border-left: 0; border-top: 1px solid var(--border); }
  .stat-strip li:nth-child(-n+2) { border-top: 0; }
  .stat-strip li:nth-child(odd) { padding-left: 0; }
  .grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .quote p { font-size: 28px; line-height: 36px; }
  .tabpanel { padding: 24px; }
  .tablist { justify-content: flex-start; }
  .nav-menu { padding: 24px; }
  .footer-content { grid-template-columns: 1fr; gap: 40px; }
  .consult .learn-body { padding: 32px 28px; }
  .offer, .offer + .offer { margin-top: 48px; padding-top: 48px; }
  .offer:first-of-type { padding-top: 0; }
  .steps li { grid-template-columns: 44px 1fr; gap: 16px; }
  .step-ring { width: 44px; height: 44px; font-size: 1.1rem; }
  .steps li::before { left: 21px; top: 44px; }
}

/* Crest in front of the copyright line, linking to rocktech.solutions */
.footer-copy { display: flex; align-items: center; gap: 10px; }
.footer-crest { display: inline-flex; flex: none; border-radius: 50%; transition: transform .2s ease; }
.footer-crest:hover, .footer-crest:focus-visible { transform: scale(1.08); }
.footer-crest img { display: block; width: 28px; height: 28px; }

/* "Who we are" on the blue band: light links, and the white consult card keeps its dark text */
.cta-band .arrow-link { color: var(--white); }
.cta-band .arrow-link:hover { color: var(--blue-light); }
.cta-band .learn-card { color: var(--navy); }
.band-who .consult { margin-top: 56px; }

/* Cohort dates on the courses page */
.dates-head { margin-top: 32px; }
.date-list li { grid-template-columns: 128px 1fr; }
.date-list li.past { opacity: .7; }
.date-list li.next { border-color: var(--blue); box-shadow: 0 0 0 2px var(--line-soft), var(--shadow-card); }

/* AI Aggregator cohort (courses page) */
.agg-lead { max-width: 760px; margin: 20px auto 32px; text-align: center; font-size: 1.05rem; line-height: 1.8; color: var(--grey-text); }
.aff { margin-top: 14px; font-size: .9rem; }
.aff a { font-weight: 600; color: var(--blue); word-break: break-all; }
.aff span { font-size: .78rem; color: var(--grey-text-2); white-space: nowrap; }
.agg-note { max-width: 760px; margin: 28px auto; text-align: center; font-size: .98rem; line-height: 1.8; color: var(--grey-text); }
#aggregator .learn-card { max-width: 860px; margin: 8px auto 0; }

.center-buttons { justify-content: center; margin-top: 40px; }

.frame-43 { aspect-ratio: 4 / 3; }

.how-media { margin-top: 32px; }

/* Contact: Book a call card beside the photo, contact details in a row below */
.contact-grid.with-photo { grid-template-columns: 1fr 1fr; grid-template-areas: "call photo" "info info"; }
.contact-grid.with-photo .contact-panel { grid-area: call; }
.contact-grid.with-photo .contact-photo { grid-area: photo; align-self: stretch; }
.contact-grid.with-photo .contact-photo img { height: 100%; object-fit: cover; }
.contact-grid.with-photo .contact-info { grid-area: info; }
.contact-grid.with-photo .contact-info dl { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) {
  .contact-grid.with-photo { grid-template-columns: 1fr; grid-template-areas: "call" "photo" "info"; }
  .contact-grid.with-photo .contact-photo { aspect-ratio: 7 / 3; }
  .contact-grid.with-photo .contact-info dl { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) { .contact-grid.with-photo .contact-info dl { grid-template-columns: 1fr; } }

/* Contact: consultation line and contact links in one spanning card */
.contact-grid.with-photo .contact-info.consult { margin-top: 0; max-width: none; width: 100%; }
.contact-info.consult .learn-body { display: block; padding: 36px 44px; flex: 1; }
.contact-info.consult .learn-body p { font-size: 1.2rem; }
.contact-info .consult-row { display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--border); }
.contact-info .consult-row p { margin: 0; font-family: var(--font-heading); font-weight: 600; font-size: 1.2rem; line-height: 1.4; color: var(--navy); }
.contact-info .consult-row .button { margin-top: 0; flex: none; }
@media (max-width: 767px) {
  .contact-info.consult .learn-body { padding: 28px 24px; }
  .contact-info .consult-row { flex-direction: column; align-items: flex-start; }
}

/* A tab panel without an image: text across the full width */
.tabpanel.no-media { grid-template-columns: 1fr; }
.tabpanel.no-media > div { max-width: 760px; }
