/* =========================================================
   styles.css
   Shared visual system for the five-page GTC website.
   ========================================================= */

/* ---------- Font ---------- */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

/* ---------- Design tokens ---------- */

:root {
  --navy-950: #08091d;
  --navy-900: #0e1030;
  --navy-850: #151742;
  --navy-800: #1c1e53;
  --indigo-700: #3230a8;
  --indigo-600: #3e3bc5;
  --indigo-500: #514ee0;

  --amber-500: #ffab24;
  --amber-400: #ffbb47;
  --amber-100: #fff0cf;

  --paper: #f3f5fb;
  --white: #ffffff;
  --ink: #171936;
  --muted: #696d86;
  --line: rgba(23, 25, 54, 0.1);

  --success: #2d8f62;

  --container: 1180px;
  --header-height: 82px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 12px 28px rgba(8, 9, 29, 0.08);
  --shadow-md: 0 20px 55px rgba(8, 9, 29, 0.14);

  --transition: 180ms ease;
}

/* ---------- Reset ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.045em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Accessibility ---------- */

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--amber-500);
  color: var(--navy-950);
  font-weight: 800;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid var(--amber-500);
  outline-offset: 4px;
}

/* ---------- Shared layout ---------- */

.page {
  overflow: hidden;
}

.shell {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 104px 0;
}

.section--compact {
  padding: 72px 0;
}

.section--light {
  background: var(--paper);
}

.section--white {
  background: var(--white);
}

.section--dark {
  background: var(--navy-950);
  color: var(--white);
}

.section--navy {
  background: var(--navy-850);
  color: var(--white);
}

.section--indigo {
  background: var(--indigo-700);
  color: var(--white);
}

.center {
  text-align: center;
}

.stack {
  display: grid;
  gap: 24px;
}

.grid-2,
.grid-3,
.grid-4,
.grid-5,
.grid-6 {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.grid-6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 5vw, 4rem);
}

.section-heading p {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
}

.section--dark .section-heading p,
.section--navy .section-heading p,
.section--indigo .section-heading p {
  color: rgba(255, 255, 255, 0.62);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--amber-500);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.highlight {
  color: var(--amber-500);
}

.muted {
  color: var(--muted);
}

/* ---------- Buttons ---------- */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--amber-500);
  color: var(--navy-950);
}

.button--primary:hover {
  background: var(--amber-400);
}

.button--outline {
  border-color: rgba(255, 255, 255, 0.24);
  background: transparent;
  color: var(--white);
}

.button--outline:hover {
  border-color: var(--white);
}

.button--dark-outline {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.text-link {
  color: var(--amber-500);
  font-size: 0.8rem;
  font-weight: 800;
}

.text-link::after {
  margin-left: 6px;
  content: "→";
}

/* ---------- Header and navigation ---------- */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition:
    background var(--transition),
    border-color var(--transition),
    backdrop-filter var(--transition);
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(8, 9, 29, 0.9);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border-radius: 7px;
  background: var(--amber-500);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  width: 13px;
  height: 7px;
  border-top: 4px solid var(--indigo-700);
  border-right: 4px solid var(--indigo-700);
  content: "";
  transform: rotate(0deg);
}

.brand-mark::before {
  top: 8px;
  left: 7px;
}

.brand-mark::after {
  right: 5px;
  bottom: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
  transition: color var(--transition);
}

.site-nav a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--amber-500);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: transform var(--transition);
}

/* ---------- Heroes ---------- */

.hero {
  position: relative;
  display: grid;
  min-height: 670px;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 80px) 0 96px;
  background:
    radial-gradient(circle at 86% 26%, rgba(71, 64, 224, 0.42), transparent 34%),
    linear-gradient(125deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}

.hero--home {
  min-height: 790px;
  background-image:
    linear-gradient(
      90deg,
      rgba(8, 9, 29, 0.97) 0%,
      rgba(8, 9, 29, 0.88) 48%,
      rgba(8, 9, 29, 0.58) 100%
    ),
    url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=2000&q=85");
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  right: -10%;
  bottom: -40%;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: rgba(67, 62, 201, 0.2);
  filter: blur(5px);
  content: "";
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 770px;
}

.hero h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
}

.hero--inner h1 {
  max-width: 950px;
  font-size: clamp(3rem, 7vw, 5.9rem);
}

.hero__intro {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.hero__stats {
  position: relative;
  z-index: 2;
  display: grid;
  margin-top: 70px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  padding: 22px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--amber-500);
  font-size: 2rem;
  line-height: 1;
}

.stat span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.72rem;
}

.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(8, 9, 29, 0.15);
  border-bottom: 1px solid rgba(8, 9, 29, 0.15);
  background: var(--amber-500);
  color: var(--navy-950);
}

.ticker__track {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: ticker 28s linear infinite;
}

.ticker__item {
  flex: none;
  padding: 12px 28px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ticker__item::after {
  margin-left: 38px;
  content: "↗";
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Statement ---------- */

.statement {
  max-width: 970px;
  margin: auto;
  text-align: center;
}

.statement h2 {
  font-size: clamp(2rem, 4.7vw, 4rem);
}

.statement p {
  max-width: 680px;
  margin: 28px auto 0;
  color: var(--muted);
}

/* ---------- Generic cards ---------- */

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.service-card {
  min-height: 220px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.service-card:hover {
  border-color: rgba(255, 171, 36, 0.4);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-5px);
}

.service-card__number {
  color: var(--amber-500);
  font-size: 0.7rem;
  font-weight: 800;
}

.service-card h3 {
  margin: 14px 0;
  font-size: 1.25rem;
}

.service-card p {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.86rem;
}

/* ---------- Image and text splits ---------- */

.split {
  display: grid;
  align-items: center;
  gap: clamp(40px, 8vw, 90px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split--reverse .split__media {
  order: 2;
}

.split__content h2 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.split__content p {
  color: var(--muted);
}

.image-frame {
  position: relative;
}

.image-frame img {
  width: 100%;
  min-height: 430px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.image-badge {
  position: absolute;
  right: -20px;
  bottom: -20px;
  min-width: 138px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--indigo-700);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.image-badge strong {
  display: block;
  color: var(--amber-500);
  font-size: 2rem;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.check-list li::before {
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-500);
  content: "";
}

/* ---------- Industries ---------- */

.industry-card {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background:
    linear-gradient(to top, rgba(8, 9, 29, 0.94), rgba(8, 9, 29, 0.1)),
    var(--industry-image) center / cover;
  color: var(--white);
}

.industry-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(52, 48, 174, 0.2), transparent);
  content: "";
}

.industry-card > * {
  position: relative;
}

.industry-card small {
  color: var(--amber-500);
  font-weight: 800;
}

.industry-card h3 {
  margin: 8px 0 0;
  font-size: 1.05rem;
}

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  align-items: center;
  gap: 80px;
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.58);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
}

.form-card {
  padding: 34px;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  margin-bottom: 24px;
  font-size: 1.35rem;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-control {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  outline: 0;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--indigo-600);
  box-shadow: 0 0 0 3px rgba(62, 59, 197, 0.12);
}

.form-message {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--success);
  font-size: 0.84rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 66px 0 32px;
  background: #050611;
  color: var(--white);
}

.footer-grid {
  display: grid;
  gap: 60px;
  grid-template-columns: 1.7fr 0.8fr 0.8fr;
}

.footer-brand p {
  max-width: 280px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
}

.footer-title {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-contact {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.72rem;
}

/* ---------- Services page ---------- */

.feature-service {
  display: grid;
  min-height: 570px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-service__media {
  position: relative;
  min-height: 540px;
  background:
    linear-gradient(to top, rgba(8, 9, 29, 0.85), transparent 60%),
    url("https://images.unsplash.com/photo-1553413077-190dd305871c?auto=format&fit=crop&w=1200&q=85")
      center / cover;
}

.feature-service__label {
  position: absolute;
  right: 40px;
  bottom: 38px;
  left: 40px;
  color: var(--white);
}

.feature-service__label span {
  color: var(--amber-500);
  font-size: 0.72rem;
  font-weight: 800;
}

.feature-service__label h2 {
  margin: 8px 0 0;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
}

.feature-service__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 8vw, 100px);
  background: var(--indigo-700);
  color: var(--white);
}

.feature-service__panel .number {
  color: rgba(255, 255, 255, 0.08);
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 800;
  line-height: 0.75;
}

.feature-service__panel h2 {
  margin: 20px 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.feature-service__panel p {
  color: rgba(255, 255, 255, 0.64);
}

.feature-service__panel .check-list li {
  color: rgba(255, 255, 255, 0.72);
}

.overview-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.overview-card small {
  color: var(--amber-500);
  font-size: 0.7rem;
  font-weight: 800;
}

.overview-card h3 {
  margin: 10px 0 14px;
  font-size: 1.35rem;
}

.overview-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

.overview-card .check-list {
  margin-top: 22px;
}

.overview-card .check-list li {
  padding: 11px 0 11px 18px;
  border-bottom: 1px solid var(--line);
}

.overview-card .check-list li:last-child {
  border-bottom: 0;
}

/* ---------- About page ---------- */

.story-copy {
  max-width: 670px;
}

.mission {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.mission blockquote {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.commitment-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.commitment-card--featured {
  background: var(--amber-500);
}

.commitment-icon {
  display: grid;
  width: 88px;
  height: 88px;
  margin-bottom: 44px;
  place-items: center;
  color: var(--amber-500);
  font-size: 3.2rem;
  line-height: 1;
}

.commitment-card--featured .commitment-icon {
  color: var(--navy-800);
}

.commitment-card h3 {
  font-size: 0.95rem;
}

.commitment-card p {
  color: var(--muted);
  font-size: 0.78rem;
}

.commitment-card--featured p {
  color: rgba(8, 9, 29, 0.64);
}

.leader-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.leader-card__image {
  height: 220px;
  background:
    linear-gradient(140deg, rgba(81, 78, 224, 0.85), rgba(8, 9, 29, 0.9)),
    url("https://images.unsplash.com/photo-1560250097-0b93528c311a?auto=format&fit=crop&w=700&q=80")
      center / cover;
}

.leader-card__copy {
  padding: 22px;
}

.leader-card__copy h3 {
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.leader-card__copy p {
  margin-bottom: 0;
  color: var(--amber-500);
  font-size: 0.7rem;
}

/* ---------- Industries page ---------- */

.approach-band {
  padding: 62px 0;
  background: var(--navy-950);
  color: var(--white);
  text-align: center;
}

.approach-band p {
  max-width: 760px;
  margin: auto;
  color: rgba(255, 255, 255, 0.52);
}

.industry-detail {
  padding: 104px 0;
  background: var(--white);
}

.industry-detail:nth-child(even) {
  background: var(--paper);
}

.industry-detail__grid {
  display: grid;
  align-items: center;
  gap: 74px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.industry-detail:nth-child(even) .industry-detail__copy {
  order: 2;
}

.industry-detail__copy h2 {
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.success-box {
  margin-top: 30px;
  padding: 24px;
  border-radius: var(--radius-sm);
  background: var(--indigo-700);
  color: var(--white);
}

.success-box small {
  color: var(--amber-500);
  font-weight: 800;
}

.success-box h3 {
  margin: 8px 0 10px;
  font-size: 1rem;
}

.success-box p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
}

.industry-detail__image img {
  width: 100%;
  min-height: 390px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.standard-card {
  min-height: 290px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
}

.standard-icon {
  display: grid;
  height: 180px;
  place-items: center;
  color: var(--amber-500);
  font-size: 5rem;
}

.standard-card h3 {
  font-size: 0.9rem;
}

/* ---------- Resources page ---------- */

.resource-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
}

.filter-chip[aria-pressed="true"] {
  border-color: var(--indigo-700);
  color: var(--indigo-700);
}

.featured-article {
  display: grid;
  align-items: center;
  gap: 54px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--navy-850);
  color: var(--white);
  grid-template-columns: 1fr 1.15fr;
}

.featured-article__image {
  min-height: 340px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(52, 48, 174, 0.86), rgba(8, 9, 29, 0.8)),
    url("https://images.unsplash.com/photo-1494412519320-aa613dfb7738?auto=format&fit=crop&w=1000&q=85")
      center / cover;
}

.featured-article small,
.resource-card small,
.download-card small {
  color: var(--amber-500);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-article h2 {
  margin: 12px 0 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.featured-article p {
  color: rgba(255, 255, 255, 0.56);
}

.resource-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.resource-card[hidden] {
  display: none;
}

.resource-card__image {
  height: 175px;
  background:
    linear-gradient(135deg, rgba(52, 48, 174, 0.92), rgba(8, 9, 29, 0.87)),
    var(--card-image) center / cover;
}

.resource-card__copy {
  padding: 24px;
}

.resource-card h3 {
  margin: 10px 0;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.resource-card p {
  color: var(--muted);
  font-size: 0.78rem;
}

.resource-meta {
  display: flex;
  gap: 14px;
  color: #9a9daf;
  font-size: 0.68rem;
}

.download-card {
  display: grid;
  min-height: 145px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  grid-template-columns: auto 1fr;
  gap: 18px;
}

.download-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.download-card h3 {
  margin: 6px 0;
  font-size: 0.9rem;
}

.download-card p {
  color: var(--muted);
  font-size: 0.75rem;
}

.subscribe-layout {
  display: grid;
  align-items: center;
  gap: 70px;
  grid-template-columns: 1fr 1fr;
}

.subscribe-layout h2 {
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.subscribe-layout p {
  color: rgba(255, 255, 255, 0.62);
}

.subscribe-form {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr auto;
}

.subscribe-form input {
  min-width: 0;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.subscribe-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Call-to-action band ---------- */

.cta-band {
  text-align: center;
}

.cta-band h2 {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.cta-band p {
  max-width: 650px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.58);
}

.cta-band .button-row {
  justify-content: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 1050px) {
  .grid-4,
  .grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

@media (max-width: 840px) {
  :root {
    --header-height: 72px;
  }

  .shell {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 78px 0;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    background: rgba(8, 9, 29, 0.98);
    opacity: 0;
    transition:
      max-height 300ms ease,
      padding 300ms ease,
      opacity 300ms ease;
  }

  body.nav-open .site-nav {
    max-height: 540px;
    padding: 28px 20px 34px;
    opacity: 1;
  }

  .site-nav a {
    padding: 8px 0;
    font-size: 1rem;
  }

  .site-nav .button {
    margin-top: 8px;
  }

  .nav-toggle {
    display: block;
  }

  body.nav-open .nav-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 70px);
  }

  .hero--home {
    min-height: 760px;
  }

  .grid-2,
  .grid-3,
  .grid-6,
  .split,
  .contact-layout,
  .feature-service,
  .industry-detail__grid,
  .featured-article,
  .subscribe-layout {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split--reverse .split__media,
  .industry-detail:nth-child(even) .industry-detail__copy {
    order: initial;
  }

  .contact-layout {
    gap: 50px;
  }

  .feature-service__panel {
    padding: 60px 32px;
  }

  .featured-article {
    padding: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .subscribe-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .hero h1,
  .hero--inner h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .hero__stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding-inline: 12px;
  }

  .grid-4,
  .grid-5 {
    grid-template-columns: 1fr;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .image-frame img {
    min-height: 310px;
  }

  .image-badge {
    right: 14px;
    bottom: 14px;
  }

  .resource-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-article {
    padding: 22px;
  }

  .featured-article__image {
    min-height: 230px;
  }

  .form-card {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    gap: 8px;
    flex-direction: column;
  }
}