/* fabrizioballiano.net â€” site stylesheet
   Design tokens derived from the original Astra / Elementor footprint
   and seed 307770701. Prefix f538 = brand initial + seed base36. */

@font-face {
  font-family: "Rubik";
  src: url("../fonts/rubik-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --f538-ink: #071827;
  --f538-ink-soft: #0d2b46;
  --f538-blue: #1579e6;
  --f538-blue-deep: #0366d0;
  --f538-blue-link: #0b63c8;
  --f538-gold: #f7b500;
  --f538-gold-deep: #855800;
  --f538-gold-soft: #ffe6a1;
  --f538-teal: #144659;
  --f538-teal-deep: #0d3342;
  --f538-paper: #ffffff;
  --f538-mist: #f4f7fc;
  --f538-line: #dce5f0;
  --f538-text: #3f4c57;
  --f538-muted: #5d6b77;
  --f538-radius: 16px;
  --f538-radius-sm: 4px;
  --f538-pill: 999px;
  --f538-section: 7rem;
  --f538-header-h: 92px;
  --f538-shell: 1180px;
  --f538-font-body: "Rubik", "Segoe UI", Arial, sans-serif;
  --f538-font-title: "Poppins", "Segoe UI", Arial, sans-serif;
  --f538-shadow: 0 30px 70px -38px rgba(7, 24, 39, 0.45);
  --f538-shadow-soft: 0 20px 50px -36px rgba(7, 24, 39, 0.4);
  --f538-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body.f538-body {
  margin: 0;
  font-family: var(--f538-font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--f538-text);
  background: var(--f538-paper);
  overflow-x: clip;
}

body.f538-body.f538-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--f538-font-title);
  font-weight: 600;
  line-height: 1.14;
  color: var(--f538-ink);
  letter-spacing: -0.012em;
}

p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

[hidden] {
  display: none !important;
}

strong {
  font-weight: 600;
  color: var(--f538-ink);
}

a {
  color: var(--f538-blue-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--f538-gold-deep);
}

::selection {
  background: var(--f538-gold);
  color: var(--f538-ink);
}

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

.f538-skip {
  position: fixed;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 120;
  padding: 0.8rem 1.2rem;
  border-radius: var(--f538-pill);
  background: var(--f538-gold);
  color: var(--f538-ink);
  font-family: var(--f538-font-title);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.2s var(--f538-ease);
}

.f538-skip:focus {
  transform: translateY(0);
}

.f538-shell {
  width: min(100% - 2.5rem, var(--f538-shell));
  margin-inline: auto;
}

.f538-shell--wide {
  width: min(100% - 2.5rem, 1300px);
}

.f538-section {
  position: relative;
  padding-block: var(--f538-section);
}

.f538-section--mist {
  background: var(--f538-mist);
}

.f538-section--paper {
  background: var(--f538-paper);
}

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

.f538-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  font-family: var(--f538-font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--f538-gold-deep);
}

.f538-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--f538-gold);
}

.f538-eyebrow--plain::before {
  display: none;
}

.f538-eyebrow--light {
  color: var(--f538-gold);
}

.f538-lede {
  margin-top: 1.1rem;
  max-width: 44rem;
  font-size: clamp(1.02rem, 1.3vw, 1.14rem);
  color: var(--f538-text);
}

.f538-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3.2rem;
  flex-wrap: wrap;
}

.f538-section__head h2 {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 3.6vw, 3rem);
  max-width: 48rem;
}

.f538-section__head p {
  max-width: 35rem;
  margin-top: 0.9rem;
  color: var(--f538-muted);
}

.f538-dots {
  overflow: hidden;
}

.f538-dots::after {
  content: "";
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  width: 198px;
  height: 198px;
  background: url("../img/dots-pattern.png") center / 22px 22px no-repeat;
  opacity: 0.55;
  pointer-events: none;
}

/* Header */

.f538-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  color: #fff;
  transition: background-color 0.3s var(--f538-ease), box-shadow 0.3s var(--f538-ease), color 0.3s var(--f538-ease);
}

.f538-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: var(--f538-header-h);
  transition: min-height 0.3s var(--f538-ease);
}

.f538-header.is-stuck,
.f538-header.is-open {
  color: var(--f538-ink);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 40px -34px rgba(7, 24, 39, 0.55);
  backdrop-filter: blur(14px);
}

.f538-header.is-stuck .f538-header__bar,
.f538-header.is-open .f538-header__bar {
  min-height: 72px;
}

.f538-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: inherit;
  text-decoration: none;
  flex: 0 0 auto;
}

.f538-brand:hover {
  color: inherit;
}

.f538-brand__mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.22));
  transition: width 0.3s var(--f538-ease), height 0.3s var(--f538-ease);
}

.f538-header.is-stuck .f538-brand__mark,
.f538-header.is-open .f538-brand__mark {
  width: 40px;
  height: 40px;
}

.f538-brand__words {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
  font-family: var(--f538-font-title);
  font-weight: 600;
}

.f538-brand__top {
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  color: var(--f538-gold);
}

.f538-brand__bottom {
  font-size: 0.71rem;
  letter-spacing: 0.22em;
  color: #fff;
  transition: color 0.3s var(--f538-ease);
}

.f538-header.is-stuck .f538-brand__bottom,
.f538-header.is-open .f538-brand__bottom {
  color: var(--f538-ink);
}

.f538-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  margin-left: auto;
}

.f538-nav__link {
  position: relative;
  padding: 0.6rem 0;
  color: inherit;
  font-size: 0.96rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--f538-ease);
}

.f538-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.18rem;
  height: 2px;
  background: var(--f538-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s var(--f538-ease);
}

.f538-nav__link:hover,
.f538-nav__link[aria-current="page"] {
  color: var(--f538-gold);
}

.f538-header.is-stuck .f538-nav__link:hover,
.f538-header.is-stuck .f538-nav__link[aria-current="page"],
.f538-header.is-open .f538-nav__link:hover,
.f538-header.is-open .f538-nav__link[aria-current="page"] {
  color: var(--f538-ink);
}

.f538-nav__link:hover::after,
.f538-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.f538-header__cta {
  flex: 0 0 auto;
  margin-left: 0.4rem;
}

.f538-burger {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.f538-header.is-stuck .f538-burger,
.f538-header.is-open .f538-burger {
  border-color: var(--f538-line);
}

.f538-burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--f538-ease), opacity 0.2s var(--f538-ease), top 0.25s var(--f538-ease);
}

.f538-burger span:nth-child(1) {
  top: 16px;
}

.f538-burger span:nth-child(2) {
  top: 22px;
}

.f538-burger span:nth-child(3) {
  top: 28px;
}

.f538-burger[aria-expanded="true"] span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.f538-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.f538-burger[aria-expanded="true"] span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.f538-menu {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: calc(var(--f538-header-h) + 1rem) 1.5rem 2.5rem;
  background: var(--f538-paper);
  transform: translateY(-102%);
  visibility: hidden;
  transition: transform 0.36s var(--f538-ease), visibility 0.36s;
  overflow-y: auto;
}

.f538-menu.is-open {
  transform: translateY(0);
  visibility: visible;
}

.f538-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid var(--f538-line);
  color: var(--f538-ink);
  font-family: var(--f538-font-title);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
}

.f538-menu__link[aria-current="page"] {
  color: var(--f538-gold-deep);
}

.f538-menu__cta {
  margin-top: 1.6rem;
}

.f538-menu__note {
  margin-top: auto;
  padding-top: 2rem;
  color: var(--f538-muted);
  font-size: 0.9rem;
}

/* Buttons */

.f538-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.9rem 1.65rem;
  border: 2px solid transparent;
  border-radius: var(--f538-pill);
  font-family: var(--f538-font-title);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.22s var(--f538-ease), color 0.22s var(--f538-ease), border-color 0.22s var(--f538-ease), transform 0.22s var(--f538-ease), box-shadow 0.22s var(--f538-ease);
}

.f538-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.22s var(--f538-ease);
}

.f538-btn:hover svg {
  transform: translateX(3px);
}

.f538-btn--gold {
  background: var(--f538-gold);
  border-color: var(--f538-gold);
  color: var(--f538-ink);
}

.f538-btn--gold:hover {
  background: var(--f538-ink);
  border-color: var(--f538-ink);
  color: #fff;
}

.f538-btn--white {
  background: #fff;
  border-color: #fff;
  color: var(--f538-ink);
}

.f538-btn--white:hover {
  background: var(--f538-gold);
  border-color: var(--f538-gold);
  color: var(--f538-ink);
}

.f538-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.f538-btn--ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--f538-ink);
}

.f538-btn--ink {
  background: var(--f538-ink);
  border-color: var(--f538-ink);
  color: #fff;
}

.f538-btn--ink:hover {
  background: var(--f538-gold);
  border-color: var(--f538-gold);
  color: var(--f538-ink);
}

.f538-btn--small {
  min-height: 42px;
  padding: 0.72rem 1.25rem;
  font-size: 0.86rem;
}

.f538-btn--large {
  min-height: 56px;
  padding: 1.05rem 2rem;
  font-size: 1rem;
}

.f538-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

/* Hero */

.f538-hero {
  position: relative;
  color: #fff;
  background-color: #0c3559;
  background-image: linear-gradient(100deg, rgba(5, 22, 40, 0.94) 0%, rgba(5, 35, 66, 0.74) 38%, rgba(5, 35, 66, 0.18) 72%, rgba(5, 35, 66, 0) 100%), url("../img/waves-hero.svg");
  background-position: center, center bottom;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  overflow: hidden;
}

.f538-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 22, 40, 0.34) 0%, rgba(5, 22, 40, 0) 45%);
  pointer-events: none;
}

.f538-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 2rem;
  min-height: 760px;
  padding-top: calc(var(--f538-header-h) + 4.2rem);
  padding-bottom: 6rem;
}

.f538-hero__copy {
  max-width: 650px;
}

.f538-hero .f538-eyebrow {
  color: var(--f538-gold);
}

.f538-hero h1 {
  margin-top: 1.05rem;
  font-size: clamp(2.65rem, 5.3vw, 4.4rem);
  line-height: 1.03;
  color: #fff;
}

.f538-hero__lede {
  margin-top: 1.35rem;
  max-width: 36rem;
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.9);
}

.f538-hero .f538-actions {
  margin-top: 2.1rem;
}

.f538-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.6rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  max-width: 36rem;
}

.f538-proof__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.f538-proof__value {
  font-family: var(--f538-font-title);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
}

.f538-proof__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.f538-hero__media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 540px;
}

.f538-hero__ring {
  position: absolute;
  top: 8%;
  left: 50%;
  width: min(76%, 420px);
  aspect-ratio: 1;
  border: 1px dashed rgba(247, 181, 0, 0.62);
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.f538-hero__ring::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.f538-hero__student {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  height: auto;
  filter: drop-shadow(0 34px 50px rgba(3, 18, 33, 0.38));
  animation: f538-float 9s ease-in-out infinite;
}

.f538-hero__chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1rem;
  border-radius: var(--f538-pill);
  background: #fff;
  color: var(--f538-ink);
  font-family: var(--f538-font-title);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 18px 40px -22px rgba(4, 20, 36, 0.55);
}

.f538-hero__chip svg {
  width: 18px;
  height: 18px;
  color: var(--f538-gold-deep);
}

.f538-hero__chip--top {
  top: 16%;
  right: 0;
}

.f538-hero__chip--bottom {
  bottom: 9%;
  left: 0;
}

.f538-hero--inner .f538-hero__inner {
  display: block;
  min-height: 0;
  padding-top: calc(var(--f538-header-h) + 5.2rem);
  padding-bottom: 7.5rem;
  text-align: center;
}

.f538-hero--inner h1 {
  margin-top: 0.85rem;
  font-size: clamp(2.7rem, 5.4vw, 4.1rem);
}

.f538-hero__sub {
  max-width: 43rem;
  margin: 1.05rem auto 0;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  color: rgba(255, 255, 255, 0.88);
}

.f538-hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.8rem;
}

.f538-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--f538-pill);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.94);
}

.f538-hero__meta svg {
  width: 15px;
  height: 15px;
  color: var(--f538-gold);
}

.f538-hero--contact .f538-hero__inner {
  padding-bottom: 9.5rem;
}

.f538-breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.f538-breadcrumb a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.f538-breadcrumb a:hover {
  color: var(--f538-gold);
}

.f538-breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

/* Camp */

.f538-camp {
  background: var(--f538-mist);
  overflow: hidden;
}

.f538-camp__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

.f538-camp__media {
  position: relative;
  max-width: 430px;
  margin-inline: auto;
}

.f538-camp__media::before {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  border: 2px solid var(--f538-gold);
  border-radius: var(--f538-radius);
}

.f538-camp__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: var(--f538-radius);
}

.f538-camp h2 {
  margin-top: 0.8rem;
  font-size: clamp(2rem, 3.5vw, 3rem);
  max-width: 39rem;
}

.f538-camp p {
  margin-top: 1.15rem;
  max-width: 43rem;
  color: var(--f538-text);
}

.f538-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.f538-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--f538-line);
  border-radius: var(--f538-radius-sm);
  background: #fff;
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--f538-ink-soft);
}

.f538-camp .f538-actions {
  margin-top: 2rem;
}

/* Track index */

.f538-tracks__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.f538-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  min-height: 190px;
  padding: 1.65rem;
  border: 1px solid var(--f538-line);
  border-left: 3px solid transparent;
  border-radius: var(--f538-radius);
  background: #fff;
  color: var(--f538-ink);
  text-decoration: none;
  transition: transform 0.24s var(--f538-ease), border-color 0.24s var(--f538-ease), box-shadow 0.24s var(--f538-ease);
}

.f538-track:hover {
  color: var(--f538-ink);
  border-color: var(--f538-line);
  border-left-color: var(--f538-gold);
  transform: translateY(-4px);
  box-shadow: var(--f538-shadow-soft);
}

.f538-track__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.f538-track__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--f538-radius);
  background: linear-gradient(140deg, var(--f538-gold-soft), var(--f538-gold));
  color: var(--f538-ink);
}

.f538-track__icon svg {
  width: 27px;
  height: 27px;
}

.f538-track__num {
  font-family: var(--f538-font-title);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--f538-muted);
}

.f538-track h3 {
  font-size: 1.42rem;
}

.f538-track__go {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--f538-blue-link);
}

.f538-track__go svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--f538-ease);
}

.f538-track:hover .f538-track__go svg {
  transform: translateX(3px);
}

/* Featured course */

.f538-featured {
  background: var(--f538-paper);
}

.f538-featured__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.f538-featured__media {
  position: relative;
}

.f538-featured__media img {
  width: 100%;
  height: auto;
  border-radius: var(--f538-radius);
  box-shadow: var(--f538-shadow);
}

.f538-featured__stamp {
  position: absolute;
  left: 1.4rem;
  bottom: -1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1.05rem;
  border-radius: var(--f538-pill);
  background: var(--f538-gold);
  color: var(--f538-ink);
  font-family: var(--f538-font-title);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px -20px rgba(7, 24, 39, 0.5);
}

.f538-featured__stamp svg {
  width: 16px;
  height: 16px;
}

.f538-featured h2 {
  margin-top: 0.8rem;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

.f538-featured p {
  margin-top: 1.1rem;
  color: var(--f538-text);
}

.f538-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.5rem;
  margin-top: 1.7rem;
}

.f538-checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.f538-checklist svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--f538-blue);
}

.f538-featured .f538-actions {
  margin-top: 2rem;
}

/* Lessons */

.f538-lessons {
  background: var(--f538-mist);
}

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

.f538-lesson {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--f538-line);
  border-left: 3px solid var(--f538-gold);
  border-radius: var(--f538-radius);
  background: #fff;
  transition: transform 0.24s var(--f538-ease), box-shadow 0.24s var(--f538-ease);
}

.f538-lesson:hover {
  transform: translateY(-4px);
  box-shadow: var(--f538-shadow-soft);
}

.f538-lesson img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.f538-lesson__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
  padding: 1.5rem 1.5rem 1.6rem;
}

.f538-lesson__tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--f538-gold-deep);
}

.f538-lesson h3 {
  font-size: 1.18rem;
  line-height: 1.32;
}

.f538-lesson h3 a {
  color: var(--f538-ink);
  text-decoration: none;
}

.f538-lesson h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.f538-lesson h3 a:hover {
  color: var(--f538-blue-link);
}

.f538-lesson p {
  font-size: 0.93rem;
  color: var(--f538-muted);
}

.f538-lesson__foot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--f538-blue-link);
}

.f538-lesson__foot svg {
  width: 15px;
  height: 15px;
}

/* Testimonials */

.f538-voices {
  background: var(--f538-paper);
}

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

.f538-quote {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 1.9rem;
  border: 1px solid var(--f538-line);
  border-left: 3px solid var(--f538-gold);
  border-radius: var(--f538-radius);
  background: #fff;
  box-shadow: var(--f538-shadow-soft);
}

.f538-quote:nth-child(even) {
  transform: translateY(2rem);
}

.f538-quote__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--f538-mist);
  color: var(--f538-gold-deep);
}

.f538-quote__mark svg {
  width: 20px;
  height: 20px;
}

.f538-quote blockquote {
  font-size: 0.99rem;
  line-height: 1.72;
  color: var(--f538-text);
}

.f538-quote__foot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.f538-quote__foot img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.f538-quote__role {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--f538-muted);
}

/* CTA band */

.f538-cta {
  position: relative;
  padding-block: 7rem;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background-color: var(--f538-blue-deep);
  background-image: linear-gradient(100deg, rgba(4, 28, 54, 0.92) 0%, rgba(4, 38, 74, 0.78) 55%, rgba(4, 38, 74, 0.38) 100%), url("../img/waves-cta.svg");
  background-position: center, center bottom;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
}

.f538-cta h2 {
  margin: 0.8rem auto 0;
  max-width: 44rem;
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  color: #fff;
}

.f538-cta p {
  max-width: 38rem;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.84);
}

.f538-cta .f538-eyebrow {
  color: var(--f538-gold);
}

.f538-cta .f538-actions {
  justify-content: center;
  margin-top: 2rem;
}

/* Course catalogue */

.f538-statement {
  position: relative;
  padding-block: 4.5rem 3.5rem;
  text-align: center;
}

.f538-statement__rule {
  display: block;
  width: 64px;
  height: 3px;
  margin: 0 auto 1.6rem;
  border-radius: 2px;
  background: var(--f538-gold);
}

.f538-statement h2 {
  max-width: 56rem;
  margin-inline: auto;
  font-family: var(--f538-font-title);
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  font-weight: 600;
  line-height: 1.16;
  color: #176b72;
}

.f538-statement p {
  max-width: 39rem;
  margin: 1.1rem auto 0;
  color: var(--f538-muted);
}

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

.f538-courses__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.f538-course {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--f538-line);
  border-radius: var(--f538-radius);
  background: #fff;
  box-shadow: var(--f538-shadow-soft);
  scroll-margin-top: 110px;
  transition: transform 0.24s var(--f538-ease), box-shadow 0.24s var(--f538-ease);
}

.f538-course:hover {
  transform: translateY(-5px);
  box-shadow: var(--f538-shadow);
}

.f538-course__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--f538-ink-soft);
}

.f538-course__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--f538-ease);
}

.f538-course:hover .f538-course__media img {
  transform: scale(1.035);
}

.f538-course__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 30, 48, 0.06) 0%, rgba(6, 30, 48, 0.62) 100%);
}

.f538-course__icon {
  position: absolute;
  z-index: 2;
  left: 1.1rem;
  bottom: 1.1rem;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--f538-radius);
  background: var(--f538-gold);
  color: var(--f538-ink);
}

.f538-course__icon svg {
  width: 26px;
  height: 26px;
}

.f538-course__num {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  font-family: var(--f538-font-title);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.f538-course__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
  padding: 1.5rem 1.5rem 1.4rem;
}

.f538-course h3 {
  font-size: 1.4rem;
}

.f538-course p {
  font-size: 0.92rem;
  line-height: 1.66;
  color: var(--f538-muted);
}

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

.f538-course__start {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--f538-blue-link);
  text-decoration: none;
}

.f538-course__start svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--f538-ease);
}

.f538-course__start:hover svg {
  transform: translateX(3px);
}

.f538-course__ref {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--f538-muted);
  text-decoration: none;
}

.f538-course__ref:hover {
  color: var(--f538-gold-deep);
}

.f538-course__ref svg {
  width: 13px;
  height: 13px;
}

.f538-external-note {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--f538-muted);
}

/* Focus meters */

.f538-focus {
  position: relative;
  overflow: hidden;
  padding: clamp(2.4rem, 5vw, 4.2rem);
  border-radius: var(--f538-radius);
  color: #fff;
  background-color: var(--f538-teal);
  background-image: linear-gradient(120deg, rgba(13, 51, 66, 0.96) 0%, rgba(20, 70, 89, 0.9) 100%), url("../img/dots-pattern.png");
  background-size: cover, 240px 240px;
  background-position: center, top right;
  background-repeat: no-repeat, no-repeat;
}

.f538-focus__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.f538-focus h2 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  color: #fff;
}

.f538-focus p {
  margin-top: 1rem;
  max-width: 27rem;
  color: rgba(255, 255, 255, 0.76);
}

.f538-meters {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.f538-meter__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.f538-meter__label {
  font-family: var(--f538-font-title);
  font-size: 0.93rem;
  font-weight: 600;
  color: #fff;
}

.f538-meter__value {
  font-size: 0.82rem;
  color: var(--f538-gold-soft);
}

.f538-meter__track {
  position: relative;
  height: 14px;
  overflow: hidden;
  border-radius: var(--f538-pill);
  background: rgba(255, 255, 255, 0.14);
}

.f538-meter__fill {
  width: calc(var(--f538-val) * 1%);
  height: 100%;
  border-radius: var(--f538-pill);
  background-color: var(--f538-gold);
  background-image: repeating-linear-gradient(90deg, transparent 0 11px, var(--f538-teal) 11px 15px);
  transition: width 1.15s var(--f538-ease);
}

.f538-meter--blue .f538-meter__fill {
  background-color: #63a9ff;
}

.f538-meter--sky .f538-meter__fill {
  background-color: #a8d4ff;
}

.f538-meter--mint .f538-meter__fill {
  background-color: #97d9c8;
}

.f538-js .f538-meter__fill {
  width: 0;
}

.f538-js .f538-meter.is-live .f538-meter__fill {
  width: calc(var(--f538-val) * 1%);
}

/* Access banner */

.f538-access {
  position: relative;
  overflow: hidden;
  margin-block: 0 var(--f538-section);
  border-radius: var(--f538-radius);
  color: #fff;
  background-color: var(--f538-teal);
  background-image: linear-gradient(100deg, rgba(7, 38, 52, 0.95) 0%, rgba(12, 55, 70, 0.82) 55%, rgba(12, 55, 70, 0.45) 100%), url("../img/access-banner.jpg");
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  box-shadow: var(--f538-shadow);
}

.f538-access__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 2.5rem;
  padding: clamp(2.5rem, 5vw, 4.5rem);
}

.f538-access h2 {
  margin-top: 0.85rem;
  max-width: 42rem;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  color: #fff;
}

.f538-access p {
  margin-top: 0.9rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.78);
}

.f538-access__actions {
  display: flex;
  justify-content: flex-end;
}

.f538-access .f538-eyebrow {
  color: var(--f538-gold);
}

/* Reference shelf */

.f538-shelf {
  background: var(--f538-mist);
}

.f538-shelf__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem 2.5rem;
}

.f538-shelf__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--f538-line);
  text-decoration: none;
  color: var(--f538-ink);
}

.f538-shelf__item:hover {
  color: var(--f538-blue-link);
}

.f538-shelf__item svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 0.22rem;
  color: var(--f538-gold-deep);
}

.f538-shelf__name {
  display: block;
  font-weight: 500;
  line-height: 1.4;
}

.f538-shelf__host {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: var(--f538-muted);
}

/* Contact */

.f538-contact-slot {
  position: relative;
  z-index: 2;
  margin-top: -7.5rem;
  padding-bottom: var(--f538-section);
}

.f538-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--f538-line);
  border-radius: var(--f538-radius);
  background: #fff;
  box-shadow: 0 60px 120px -70px rgba(4, 22, 40, 0.6);
}

.f538-contact-info {
  padding: clamp(2rem, 4vw, 3.2rem);
  border-right: 1px solid var(--f538-line);
  background: var(--f538-mist);
}

.f538-contact-info h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
}

.f538-contact-info > p {
  margin-top: 0.7rem;
  color: var(--f538-muted);
  font-size: 0.96rem;
}

.f538-info {
  display: flex;
  flex-direction: column;
  margin-top: 1.7rem;
}

.f538-info__item {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--f538-line);
}

.f538-info__item:last-child {
  border-bottom: 0;
}

.f538-info__icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: var(--f538-radius);
  background: #fff;
  color: var(--f538-blue);
  box-shadow: 0 10px 24px -20px rgba(7, 24, 39, 0.4);
}

.f538-info__icon svg {
  width: 21px;
  height: 21px;
}

.f538-info__label {
  font-family: var(--f538-font-title);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--f538-gold-deep);
}

.f538-info__text {
  margin-top: 0.25rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--f538-ink-soft);
}

.f538-info__text a {
  color: var(--f538-ink-soft);
  text-decoration: none;
}

.f538-info__text a:hover {
  color: var(--f538-blue-link);
}

.f538-form-wrap {
  padding: clamp(2rem, 4vw, 3.2rem);
}

.f538-form-wrap h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
}

.f538-form-wrap > p {
  margin-top: 0.6rem;
  color: var(--f538-muted);
  font-size: 0.94rem;
}

.f538-form {
  margin-top: 1.6rem;
}

.f538-form .field {
  margin-bottom: 1.15rem;
}

.f538-form .label {
  margin-bottom: 0.4rem;
  font-family: var(--f538-font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--f538-ink-soft);
}

.f538-form .label .f538-req {
  color: var(--f538-gold-deep);
}

.f538-form .input,
.f538-form .textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border: 1px solid #c9d5e3;
  border-radius: 8px;
  background: #fff;
  color: var(--f538-ink);
  font-family: var(--f538-font-body);
  font-size: 0.98rem;
  box-shadow: none;
  transition: border-color 0.2s var(--f538-ease), box-shadow 0.2s var(--f538-ease);
}

.f538-form .textarea {
  min-height: 132px;
  resize: vertical;
}

.f538-form .input::placeholder,
.f538-form .textarea::placeholder {
  color: #8c9aa8;
}

.f538-form .input:focus,
.f538-form .textarea:focus {
  border-color: var(--f538-blue);
  box-shadow: 0 0 0 3px rgba(21, 121, 230, 0.16);
  outline: none;
}

.f538-form .input[aria-invalid="true"],
.f538-form .textarea[aria-invalid="true"] {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}

.f538-error {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: #9f1d16;
}

.f538-form__note {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--f538-muted);
}

.f538-form__success {
  margin-top: 1.2rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid #b9e0c8;
  border-left: 4px solid #2f8f57;
  border-radius: 8px;
  background: #f2fbf5;
}

.f538-form__success h3 {
  font-size: 1.02rem;
  color: #1f6b41;
}

.f538-form__success p {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: #315c45;
}

.f538-form__success a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.55rem;
  font-weight: 600;
  color: #1f6b41;
}

.f538-form__success svg {
  width: 15px;
  height: 15px;
}

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

.f538-find__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.f538-find h2 {
  margin-top: 0.7rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.f538-find__address {
  margin-top: 1.2rem;
  padding: 1.5rem;
  border: 1px solid var(--f538-line);
  border-left: 3px solid var(--f538-gold);
  border-radius: var(--f538-radius);
  background: #fff;
  box-shadow: var(--f538-shadow-soft);
}

.f538-find__address p {
  color: var(--f538-text);
}

.f538-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.f538-map-link svg {
  width: 16px;
  height: 16px;
}

.f538-shelf--compact {
  background: transparent;
}

.f538-shelf--compact .f538-shelf__grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.f538-shelf--compact .f538-shelf__item:first-child {
  padding-top: 0.2rem;
}

/* Footer */

.f538-footer {
  position: relative;
  overflow: hidden;
  padding-top: 4.6rem;
  border-top: 3px solid var(--f538-gold);
  background-color: var(--f538-ink);
  background-image: url("../img/dots-pattern.png");
  background-size: 230px 230px;
  background-position: right -40px bottom -40px;
  background-repeat: no-repeat;
  color: #b7c6d5;
}

.f538-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 24, 39, 0.96) 0%, rgba(7, 24, 39, 0.99) 100%);
  pointer-events: none;
}

.f538-footer__inner {
  position: relative;
  z-index: 1;
}

.f538-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 3rem;
  padding-bottom: 3.4rem;
}

.f538-footer .f538-brand {
  color: #fff;
}

.f538-footer .f538-brand__bottom {
  color: #fff;
}

.f538-footer__desc {
  max-width: 32rem;
  margin-top: 1.15rem;
  font-size: 0.94rem;
  line-height: 1.7;
  color: #a9b9c9;
}

.f538-footer h2 {
  margin-bottom: 1.1rem;
  font-family: var(--f538-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}

.f538-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.f538-footer__links a {
  color: #c8d5e2;
  font-size: 0.94rem;
  text-decoration: none;
}

.f538-footer__links a:hover {
  color: var(--f538-gold);
}

.f538-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.92rem;
}

.f538-footer__contact li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.f538-footer__contact svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 0.24rem;
  color: var(--f538-gold);
}

.f538-footer__contact a {
  color: #c8d5e2;
  text-decoration: none;
}

.f538-footer__contact a:hover {
  color: var(--f538-gold);
}

.f538-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  color: #93a6b9;
}

.f538-footer__bottom p {
  margin: 0;
}

.f538-footer__bottom a {
  color: #d5e0ea;
  text-decoration: none;
}

.f538-footer__bottom a:hover {
  color: var(--f538-gold);
}

.f538-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
}

.f538-top svg {
  width: 15px;
  height: 15px;
}

/* 404 */

.f538-404 {
  min-height: 70vh;
}

.f538-404__inner {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--f538-header-h) + 5rem);
  padding-bottom: 6rem;
  text-align: center;
}

.f538-404__code {
  font-family: var(--f538-font-title);
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px var(--f538-gold);
  text-stroke: 2px var(--f538-gold);
  opacity: 0.92;
}

.f538-404 h1 {
  margin-top: 1.6rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.f538-404 p {
  max-width: 38rem;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.82);
}

.f538-404 .f538-actions {
  justify-content: center;
  margin-top: 2rem;
}

/* Reveal + motion */

.f538-js [data-f538-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s var(--f538-ease), transform 0.7s var(--f538-ease);
  transition-delay: var(--f538-delay, 0s);
}

.f538-js [data-f538-reveal].is-inview {
  opacity: 1;
  transform: none;
}

@keyframes f538-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .f538-js [data-f538-reveal] {
    opacity: 1;
    transform: none;
  }
  .f538-quote:nth-child(even) {
    transform: none;
  }
}

/* Responsive */

@media (max-width: 1100px) {
  :root {
    --f538-section: 5.5rem;
  }

  .f538-hero__inner {
    min-height: 700px;
  }

  .f538-hero__chip--top {
    right: 0;
  }

  .f538-header__cta {
    display: none;
  }

  .f538-nav {
    gap: 1.6rem;
  }
}

@media (max-width: 1023px) {
  .f538-nav {
    display: none;
  }

  .f538-burger {
    display: inline-block;
  }

  .f538-header__bar {
    min-height: 80px;
  }

  .f538-hero__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: 0;
    padding-top: calc(var(--f538-header-h) + 3.4rem);
    padding-bottom: 4.5rem;
  }

  .f538-hero__copy {
    max-width: 46rem;
  }

  .f538-hero__media {
    min-height: 0;
    margin-top: 1rem;
  }

  .f538-hero__student {
    width: min(78%, 390px);
  }

  .f538-hero__ring {
    width: min(58%, 330px);
    top: -2%;
  }

  .f538-hero__chip--top {
    top: 4%;
    right: 6%;
  }

  .f538-hero__chip--bottom {
    bottom: 4%;
    left: 8%;
  }

  .f538-hero--inner .f538-hero__inner {
    padding-top: calc(var(--f538-header-h) + 4rem);
    padding-bottom: 6.5rem;
  }

  .f538-camp__grid,
  .f538-featured__grid,
  .f538-focus__grid,
  .f538-find__grid,
  .f538-access__inner {
    grid-template-columns: 1fr;
  }

  .f538-camp__media {
    max-width: 390px;
    margin-inline: 0;
  }

  .f538-tracks__grid,
  .f538-courses__grid,
  .f538-shelf__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .f538-access__actions {
    justify-content: flex-start;
  }

  .f538-contact-card {
    grid-template-columns: 1fr;
  }

  .f538-contact-info {
    border-right: 0;
    border-bottom: 1px solid var(--f538-line);
  }

  .f538-contact-slot {
    margin-top: -5.5rem;
  }

  .f538-footer__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  }

  .f538-footer__grid > :last-child {
    grid-column: 1 / -1;
  }

  .f538-quote:nth-child(even) {
    transform: translateY(0);
  }

  .f538-voices__grid {
    padding-bottom: 0;
  }
}

@media (max-width: 767px) {
  :root {
    --f538-section: 4.25rem;
  }

  body.f538-body {
    font-size: 1rem;
  }

  .f538-shell,
  .f538-shell--wide {
    width: min(100% - 2rem, var(--f538-shell));
  }

  .f538-brand__mark {
    width: 42px;
    height: 42px;
  }

  .f538-hero {
    background-image: linear-gradient(180deg, rgba(5, 22, 40, 0.93) 0%, rgba(5, 35, 66, 0.72) 55%, rgba(5, 35, 66, 0.48) 100%), url("../img/waves-hero.svg");
    background-position: center, 58% bottom;
  }

  .f538-hero__inner {
    padding-top: calc(var(--f538-header-h) + 2.6rem);
    padding-bottom: 3.5rem;
  }

  .f538-hero h1 {
    font-size: clamp(2.2rem, 9.4vw, 3rem);
  }

  .f538-hero__lede {
    font-size: 1rem;
  }

  .f538-hero__media {
    margin-top: 0.5rem;
  }

  .f538-hero__student {
    width: min(74%, 300px);
  }

  .f538-hero__chip {
    font-size: 0.66rem;
    padding: 0.6rem 0.8rem;
  }

  .f538-hero__chip--top {
    top: 0;
    right: 0;
  }

  .f538-hero__chip--bottom {
    left: 0;
    bottom: 2%;
  }

  .f538-hero__ring {
    width: min(66%, 260px);
    top: 0;
  }

  .f538-proof {
    gap: 1.1rem 1.8rem;
    margin-top: 2.2rem;
  }

  .f538-proof__value {
    font-size: 1.1rem;
  }

  .f538-hero--inner .f538-hero__inner {
    padding-top: calc(var(--f538-header-h) + 3.2rem);
    padding-bottom: 5rem;
  }

  .f538-hero--contact .f538-hero__inner {
    padding-bottom: 7.5rem;
  }

  .f538-tracks__grid,
  .f538-lessons__grid,
  .f538-courses__grid,
  .f538-shelf__grid,
  .f538-voices__grid {
    grid-template-columns: 1fr;
  }

  .f538-checklist {
    grid-template-columns: 1fr;
  }

  .f538-section__head {
    margin-bottom: 2.2rem;
  }

  .f538-camp__media::before {
    inset: 16px -14px -16px 16px;
  }

  .f538-featured__stamp {
    left: 1rem;
  }

  .f538-contact-slot {
    margin-top: -4.5rem;
  }

  .f538-footer__grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .f538-footer__grid > :last-child {
    grid-column: auto;
  }

  .f538-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .f538-dots::after {
    top: 1rem;
    right: 0;
    width: 140px;
    height: 140px;
    opacity: 0.35;
  }

  .f538-access {
    border-radius: 12px;
  }

  .f538-cta {
    padding-block: 5rem;
  }
}

@media (max-width: 420px) {
  .f538-hero__chip--top {
    right: 0;
  }

  .f538-hero__chip--bottom {
    left: 0;
  }

  .f538-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .f538-actions .f538-btn {
    width: 100%;
  }
}
.f538-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.f538-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.f538-icon--solid {
  fill: currentColor;
  stroke: none;
}

.f538-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.f538-btn--outline {
  background: transparent;
  border-color: var(--f538-ink);
  color: var(--f538-ink);
}

.f538-btn--outline:hover {
  background: var(--f538-ink);
  border-color: var(--f538-ink);
  color: #fff;
}
.f538-hero--inner .f538-actions {
  justify-content: center;
  margin-top: 1.8rem;
}

.f538-course--jquery .f538-course__media img {
  object-position: center 24%;
}
/* Catalog first homepage layout */
.f538-hero--home .f538-hero__inner {
  min-height: 620px;
  padding-top: calc(var(--f538-header-h) + 3rem);
  padding-bottom: 4rem;
}

.f538-hero__media {
  min-height: 430px;
}

.f538-hero__student {
  width: min(100%, 450px);
}

.f538-hero__ring {
  width: min(70%, 360px);
}

 .f538-hero--home h1 {
  font-size: clamp(2.45rem, 4.7vw, 3.9rem);
}

.f538-proof {
  margin-top: 2.2rem;
}

.f538-tracks {
  padding-top: 4.5rem;
  background: var(--f538-mist);
}

.f538-track {
  min-height: 252px;
}

.f538-track p {
  margin-top: -0.4rem;
  font-size: 0.91rem;
  line-height: 1.58;
  color: var(--f538-muted);
}

@media (max-width: 1023px) {
  .f538-hero--home .f538-hero__inner {
    min-height: 0;
    padding-top: calc(var(--f538-header-h) + 3rem);
    padding-bottom: 3.5rem;
  }

  .f538-hero__student {
    width: min(72%, 330px);
  }

  .f538-hero__media {
    margin-top: 0.5rem;
  }

  .f538-tracks {
    padding-top: 3.5rem;
  }
}

@media (max-width: 767px) {
  .f538-hero--home .f538-hero__inner {
    padding-top: calc(var(--f538-header-h) + 2.4rem);
    padding-bottom: 2.5rem;
  }

  .f538-hero__student {
    width: min(62%, 260px);
  }

  .f538-hero__ring {
    width: min(58%, 230px);
  }

  .f538-tracks {
    padding-top: 3rem;
  }

  .f538-track {
    min-height: 0;
  }
}

.f538-tracks__foot {
  display: flex;
  justify-content: center;
  margin-top: 2.4rem;
}

.f538-track {
  gap: 0.9rem;
}

.f538-lessons {
  background: var(--f538-paper);
}

.f538-voices {
  background: var(--f538-mist);
}

.f538-voices__grid {
  padding-bottom: 2rem;
}
/* Header contrast over the bright wave artwork */
.f538-header {
  isolation: isolate;
}

.f538-header:not(.is-stuck):not(.is-open)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 20, 36, 0.62) 0%, rgba(4, 20, 36, 0.3) 62%, rgba(4, 20, 36, 0) 100%);
  pointer-events: none;
}

.f538-brand__top {
  color: #ffe6a1;
}

.f538-header.is-stuck .f538-brand__top,
.f538-header.is-open .f538-brand__top {
  color: #855800;
}

.f538-footer .f538-brand__top {
  color: var(--f538-gold);
}

.f538-nav__link:hover,
.f538-nav__link[aria-current="page"] {
  color: #ffffff;
}

.f538-header.is-stuck .f538-nav__link:hover,
.f538-header.is-stuck .f538-nav__link[aria-current="page"],
.f538-header.is-open .f538-nav__link:hover,
.f538-header.is-open .f538-nav__link[aria-current="page"] {
  color: var(--f538-ink);
}
/* Align the header lockup with the content shell */
.f538-header__bar {
  width: min(100% - 2.5rem, var(--f538-shell));
  margin-inline: auto;
}

@media (max-width: 767px) {
  .f538-header__bar {
    width: min(100% - 2rem, var(--f538-shell));
  }
}
/* Compact, catalog first home hero */
.f538-hero--home .f538-hero__inner {
  min-height: 560px;
  padding-top: calc(var(--f538-header-h) + 2.2rem);
  padding-bottom: 3.2rem;
}

.f538-hero--home h1 {
  margin-top: 0.85rem;
  font-size: clamp(2.35rem, 4.3vw, 3.5rem);
}

.f538-hero--home .f538-hero__lede {
  margin-top: 1.1rem;
}

.f538-hero--home .f538-actions {
  margin-top: 1.7rem;
}

.f538-hero--home .f538-hero__media {
  min-height: 390px;
}

.f538-hero--home .f538-hero__student {
  width: min(100%, 420px);
}

.f538-hero--home .f538-hero__ring {
  width: min(64%, 330px);
  top: 3%;
}

.f538-hero--home .f538-hero__chip--top {
  top: 8%;
}

@media (max-width: 1023px) {
  .f538-hero--home .f538-hero__inner {
    padding-top: calc(var(--f538-header-h) + 2.4rem);
    padding-bottom: 2.8rem;
  }

  .f538-hero--home .f538-hero__student {
    width: min(64%, 300px);
  }

  .f538-hero--home .f538-hero__media {
    display: none;
  }
}

@media (max-width: 767px) {
  .f538-hero--home .f538-hero__inner {
    padding-top: calc(var(--f538-header-h) + 2rem);
    padding-bottom: 2.4rem;
  }

  .f538-hero--home .f538-hero__media {
    display: none;
  }

  .f538-hero--home h1 {
    font-size: clamp(2.15rem, 9.2vw, 2.8rem);
  }
}
/* Comfortable tap targets on small screens */
.f538-course__start,
.f538-course__ref {
  min-height: 36px;
}

.f538-info__text a {
  display: inline-block;
  padding-block: 0.18rem;
}

.f538-top {
  min-height: 36px;
}

@media (max-width: 767px) {
  .f538-footer__links a {
    display: flex;
    align-items: center;
    min-height: 40px;
  }

  .f538-footer__contact li {
    padding-block: 0.2rem;
  }

  .f538-course__start,
  .f538-course__ref {
    min-height: 42px;
  }

  .f538-map-link,
  .f538-top {
    min-height: 42px;
  }
}
/* Workday tenant access resource page */
.f538-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.f538-guide-card {
  padding: 1.7rem;
  border: 1px solid var(--f538-line);
  border-radius: var(--f538-radius);
  background: #fff;
  box-shadow: var(--f538-shadow-soft);
}

.f538-guide-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--f538-radius);
  background: linear-gradient(140deg, var(--f538-gold-soft), var(--f538-gold));
  color: var(--f538-ink);
}

.f538-guide-card__icon svg {
  width: 26px;
  height: 26px;
}

.f538-guide-card h3 {
  margin-top: 1.1rem;
  font-size: 1.22rem;
}

.f538-guide-card p {
  margin-top: 0.55rem;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--f538-muted);
}

.f538-guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2.2rem;
  max-width: 62rem;
}

.f538-guide-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--f538-text);
}

.f538-guide-list svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 0.2rem;
  color: var(--f538-blue);
}

.f538-steps {
  counter-reset: f538step;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.f538-step {
  position: relative;
  padding: 1.6rem 1.6rem 1.6rem 4.5rem;
  border: 1px solid var(--f538-line);
  border-radius: var(--f538-radius);
  background: #fff;
  box-shadow: var(--f538-shadow-soft);
}

.f538-step::before {
  counter-increment: f538step;
  content: counter(f538step, decimal-leading-zero);
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--f538-gold);
  color: var(--f538-ink);
  font-family: var(--f538-font-title);
  font-size: 0.8rem;
  font-weight: 600;
}

.f538-step h3 {
  font-size: 1.1rem;
}

.f538-step p {
  margin-top: 0.4rem;
  font-size: 0.93rem;
  line-height: 1.62;
  color: var(--f538-muted);
}

.f538-guide-help {
  margin-top: 1.8rem;
  font-size: 0.95rem;
  color: var(--f538-muted);
}

.f538-guide-help a {
  font-weight: 600;
}

.f538-security-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.f538-security-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.96rem;
}

.f538-security-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.f538-security-list svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 0.25rem;
  color: var(--f538-gold);
}

.f538-notice {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid #efd38d;
  border-left: 4px solid var(--f538-gold);
  border-radius: 8px;
  background: #fffaf0;
}

.f538-notice svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 0.1rem;
  color: var(--f538-gold-deep);
}

.f538-notice p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #564413;
}

.f538-notice strong {
  color: #3d2f0c;
}

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

@media (max-width: 767px) {
  .f538-guide-grid,
  .f538-steps,
  .f538-guide-list,
  .f538-shelf__grid--two {
    grid-template-columns: 1fr;
  }

  .f538-step {
    padding: 1.5rem 1.4rem 1.5rem 4rem;
  }

  .f538-notice {
    flex-direction: column;
    gap: 0.6rem;
  }
}
