@font-face {
  font-family: "GM Sans";
  src: url("../wp-content/themes/twentytwentyfour/assets/fonts/inter/Inter-VariableFont_slntwght.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "GM Serif";
  src: url("../wp-content/themes/twentytwentyfour/assets/fonts/cardo/cardo_normal_400.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "GM Serif";
  src: url("../wp-content/themes/twentytwentyfour/assets/fonts/cardo/cardo_normal_700.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #f6f9ff;
  --bg-strong: #e7eeff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --ink: #121935;
  --ink-muted: #5a6683;
  --line: rgba(18, 25, 53, 0.1);
  --line-strong: rgba(18, 25, 53, 0.18);
  --brand: #4154f1;
  --brand-deep: #2e44d7;
  --brand-soft: rgba(65, 84, 241, 0.12);
  --accent: #d8613c;
  --accent-soft: rgba(216, 97, 60, 0.14);
  --ink-inverse: #edf2ff;
  --panel-dark: #1e2c6f;
  --panel-dark-strong: #142155;
  --panel-dark-line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 60px rgba(25, 41, 103, 0.14);
  --shadow-soft: 0 16px 34px rgba(25, 41, 103, 0.1);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "GM Sans", sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(65, 84, 241, 0.18), transparent 30%),
    radial-gradient(circle at right 18%, rgba(216, 97, 60, 0.13), transparent 24%),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 22%, #f3f7ff 100%);
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--panel-dark);
  color: var(--ink-inverse);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.site-shell {
  position: relative;
  overflow-x: hidden;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
}

.site-shell::before {
  width: 28rem;
  height: 28rem;
  top: 7rem;
  right: -10rem;
  background: radial-gradient(circle, rgba(65, 84, 241, 0.16), rgba(65, 84, 241, 0));
}

.site-shell::after {
  width: 20rem;
  height: 20rem;
  left: -6rem;
  top: 48rem;
  background: radial-gradient(circle, rgba(216, 97, 60, 0.12), rgba(216, 97, 60, 0));
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(246, 249, 255, 0.82);
  border-bottom: 1px solid rgba(18, 25, 53, 0.08);
}

.site-header__row,
.site-footer__row,
.cta,
.hero__actions,
.site-nav,
.hero-card__band,
.testimonial-carousel__toolbar,
.testimonial-carousel__controls,
.site-footer__meta {
  display: flex;
  align-items: center;
}

.site-header__row {
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  min-width: 0;
}

.brand__mark {
  width: 2.55rem;
  height: 2.55rem;
  flex: none;
  padding: 0;
}

.brand__mark img,
.site-footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand__text strong {
  font-size: 1.04rem;
  line-height: 1.1;
}

.brand__text span {
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.site-nav {
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.button,
.carousel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    background-color 120ms ease,
    border-color 120ms ease,
    color 120ms ease;
}

.button:hover,
.button:focus-visible,
.carousel-button:hover,
.carousel-button:focus-visible {
  transform: translateY(-1px);
}

.button--small {
  min-height: 42px;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
}

.button--primary {
  color: var(--ink-inverse);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 16px 28px rgba(65, 84, 241, 0.2);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: linear-gradient(135deg, #4d5ff4 0%, #3148d7 100%);
}

.button--secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
  border-color: var(--line-strong);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.88);
}

.hero,
.section {
  padding: 5.5rem 0;
}

.hero {
  padding-top: 4.75rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 2.25rem;
  align-items: start;
}

.hero__content h1,
.section-heading h2,
.hero-card h2,
.cta h2,
.testimonial-slide__quote {
  margin: 0;
  font-family: "GM Serif", serif;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__content h1 {
  max-width: 8ch;
  font-size: clamp(3rem, 7vw, 5.75rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede {
  max-width: 40rem;
  margin: 1.4rem 0 0;
  font-size: 1.16rem;
  color: var(--ink);
}

.hero__supporting,
.section-heading p,
.hero__note,
.site-footer p,
.site-footer__meta,
.panel p,
.stat span,
.site-footer__links a,
.hero-card__band span,
.testimonial-carousel__label {
  color: var(--ink-muted);
}

.hero__supporting {
  max-width: 42rem;
  margin: 1rem 0 0;
}

.hero__actions {
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero__note {
  margin-top: 1.1rem;
  font-size: 0.95rem;
}

.hero__visual {
  min-width: 0;
}

.hero-media {
  overflow: hidden;
  border: 1px solid rgba(65, 84, 241, 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(231, 238, 255, 0.92));
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-card,
.panel,
.quote-card,
.timeline__item,
.stats,
.cta,
.site-footer,
.testimonial-carousel {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.hero-card,
.panel,
.quote-card,
.timeline__item,
.cta,
.testimonial-carousel {
  border-radius: var(--radius);
}

.hero-card {
  padding: 1.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(238, 243, 255, 0.96));
}

.hero-card--overlay {
  position: relative;
  z-index: 1;
  width: min(25rem, calc(100% - 2rem));
  margin: -4.5rem 1rem 0 auto;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-card h2 {
  margin-top: 0.15rem;
  font-size: 1.9rem;
}

.plain-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  margin-top: 0.8rem;
  padding-left: 1.2rem;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--brand);
}

.hero-card__band {
  gap: 0.4rem;
  align-items: flex-start;
  flex-direction: column;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.hero-card__band strong {
  color: var(--ink);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(65, 84, 241, 0.12);
}

.stat {
  padding: 1.55rem 1.25rem 1.6rem;
  background: rgba(255, 255, 255, 0.86);
}

.stat strong {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--brand-deep);
}

.stat span {
  display: block;
  margin-top: 0.7rem;
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.section-heading p {
  margin-top: 0.9rem;
}

.section--ink {
  color: var(--ink-inverse);
  background:
    radial-gradient(circle at top right, rgba(216, 97, 60, 0.16), transparent 28%),
    radial-gradient(circle at left 25%, rgba(113, 132, 255, 0.18), transparent 24%),
    linear-gradient(180deg, var(--panel-dark) 0%, var(--panel-dark-strong) 100%);
}

.section-heading--light p,
.section-heading--light .eyebrow,
.panel--dark p,
.panel--dark h3 {
  color: inherit;
}

.section-heading--light .eyebrow {
  color: #ffb597;
}

.grid {
  display: grid;
  gap: 1.15rem;
}

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

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

.panel {
  padding: 1.4rem;
  background: var(--surface);
  backdrop-filter: blur(10px);
}

.panel h3,
.timeline__item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.panel--dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--panel-dark-line);
  box-shadow: none;
}

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

.timeline__item {
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.68);
}

.timeline__step {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.88rem;
  font-weight: 700;
}

.testimonial-carousel {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--panel-dark-line);
}

.testimonial-carousel__toolbar {
  justify-content: space-between;
  gap: 1rem;
}

.testimonial-carousel__label {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(237, 242, 255, 0.75);
}

.testimonial-carousel__controls {
  gap: 0.65rem;
}

.carousel-button {
  min-height: 40px;
  padding: 0.7rem 1rem;
  color: var(--ink-inverse);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--panel-dark-line);
  box-shadow: none;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.testimonial-carousel__viewport {
  overflow: hidden;
  margin-top: 0.85rem;
}

.testimonial-carousel__track {
  display: flex;
  transition: transform 320ms ease;
  will-change: transform;
}

.testimonial-slide {
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
  min-height: 17rem;
  padding: 1rem 0.4rem 0.35rem;
}

.testimonial-slide__quote {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.14;
  max-width: 28ch;
}

.testimonial-slide__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  align-items: baseline;
  padding-top: 1rem;
  border-top: 1px solid var(--panel-dark-line);
}

.testimonial-slide__footer strong {
  color: #ffffff;
  font-size: 1rem;
}

.testimonial-slide__footer span {
  color: rgba(237, 242, 255, 0.74);
}

.testimonial-carousel__meta {
  justify-content: flex-end;
  margin-top: 0.9rem;
  color: rgba(237, 242, 255, 0.7);
  font-size: 0.94rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.section--cta {
  padding-top: 2rem;
}

.cta {
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.8rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(231, 238, 255, 0.92) 100%);
}

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

.cta p {
  max-width: 42rem;
  margin-bottom: 0;
}

.cta__actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer {
  margin-top: 2.5rem;
  padding: 2rem 0 1.2rem;
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: none;
  background: rgba(255, 255, 255, 0.78);
}

.site-footer__row {
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}

.site-footer__logo {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 0 0.7rem;
  padding: 0.25rem;
  border-radius: 0.95rem;
  background: rgba(65, 84, 241, 0.08);
  border: 1px solid rgba(65, 84, 241, 0.14);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.2rem;
  justify-content: flex-end;
}

.site-footer__links a {
  text-decoration: none;
}

.site-footer__title {
  display: block;
  margin-bottom: 0.15rem;
  font-weight: 700;
}

.site-footer__meta {
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__content,
  .hero-media,
  .hero-card,
  .stats,
  .panel,
  .timeline__item,
  .testimonial-carousel,
  .cta {
    animation: rise-in 420ms ease both;
  }

  .hero-media {
    animation-delay: 40ms;
  }

  .hero-card {
    animation-delay: 90ms;
  }

  .stats {
    animation-delay: 150ms;
  }
}

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

  .testimonial-carousel__track {
    transition: none;
  }
}

@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__visual {
    max-width: 44rem;
    width: 100%;
    margin-left: auto;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }

  .hero-card--overlay {
    margin-top: -3.75rem;
  }

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

@media (max-width: 820px) {
  .hero,
  .section {
    padding: 4.5rem 0;
  }

  .hero {
    padding-top: 3.25rem;
  }

  .site-header__row {
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
    min-height: auto;
    padding: 0.8rem 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 0.95rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

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

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

  .cta,
  .site-footer__row,
  .site-footer__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta__actions,
  .site-footer__links {
    justify-content: flex-start;
  }

  .testimonial-slide {
    min-height: 15.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .hero,
  .section {
    padding: 3.6rem 0;
  }

  .hero {
    padding-top: 2.7rem;
  }

  .hero__content h1 {
    font-size: clamp(2.55rem, 12vw, 4.15rem);
  }

  .lede {
    font-size: 1.05rem;
  }

  .hero__actions,
  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .button,
  .cta__actions .button {
    width: 100%;
  }

  .site-header__row > .button--small {
    width: auto;
  }

  .hero-card--overlay {
    width: calc(100% - 1rem);
    margin: 1rem auto 0;
  }

  .hero-media {
    border-radius: 22px;
  }

  .hero-media img {
    aspect-ratio: 1 / 1;
  }

  .grid--three,
  .grid--four,
  .timeline,
  .stats {
    grid-template-columns: 1fr;
  }

  .testimonial-carousel {
    padding: 1rem;
  }

  .testimonial-carousel__toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonial-slide__quote {
    font-size: clamp(1.35rem, 7vw, 1.95rem);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
