@import url('https://fonts.googleapis.com/css2?family=Halant:wght@600&family=Inclusive+Sans:wght@400;700&family=Inter:wght@400;500;600;700&family=Poppins:wght@500&family=Roboto:wght@400;500;600;700&display=swap');

:root {
  --color-lavender: #ece2f8;
  --color-lilac-surface: #faf5ff;
  --color-purple: #664095;
  --color-purple-dark: #583583;
  --color-purple-soft: #8a63b6;
  --color-orange: #f26233;
  --color-orange-dark: #df4d27;
  --color-festive-orange-start: #f25022;
  --color-festive-orange-end: #ff8215;
  --color-festive-gold: #ffed00;
  --color-ink: #08070a;
  --color-muted: rgba(0, 0, 0, 0.58);
  --color-muted-light: rgba(0, 0, 0, 0.42);
  --color-white: #ffffff;
  --color-border: rgba(102, 64, 149, 0.24);
  --font-display: 'Inclusive Sans', 'Roboto', sans-serif;
  --font-body: 'Roboto', 'Inclusive Sans', sans-serif;
  --font-ui: 'Inter', 'Roboto', sans-serif;
  --font-accent: 'Halant', Georgia, serif;
  --container-max: 1440px;
  --gutter: clamp(20px, 5.15vw, 74px);
  --radius-sm: 10px;
  --radius-card: 20px;
  --radius-panel: 22px;
  --radius-modal: 16px;
  --shadow-button: 0 4px 4px rgba(0, 0, 0, 0.25);
  --shadow-card: -1px 3px 5px rgba(0, 0, 0, 0.31);
  --shadow-form: 0 9px 15px 1px rgba(102, 64, 149, 0.53);
  --focus-ring: 0 0 0 3px rgba(242, 98, 51, 0.34);
  --section-space: clamp(64px, 7vw, 108px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--color-ink);
  background: var(--color-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body:has(.lead-dialog[open]) {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  color: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
.carousel-track:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

p,
h1,
h2,
h3,
ul,
figure {
  margin: 0;
}

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

.page-shell,
.section-shell {
  width: min(100%, var(--container-max));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-section {
  position: relative;
  overflow: hidden;
}

.accent-text {
  color: var(--color-orange);
}

.accent-purple {
  color: var(--color-purple);
}

.soft-text {
  color: rgba(255, 255, 255, 0.8);
}

.eyebrow {
  color: rgba(0, 0, 0, 0.74);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-heading {
  position: relative;
  z-index: 1;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.05vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-heading > p:not(.eyebrow),
.section-heading p:last-child {
  margin-top: 12px;
  color: var(--color-muted);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.55;
}

.section-heading--center {
  text-align: center;
}

.section-heading--light h2,
.section-heading--light > p:not(.eyebrow),
.section-heading--light p:last-child {
  color: var(--color-white);
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.18);
}

.button:active {
  transform: translateY(0);
}

.button--purple {
  color: var(--color-white);
  background: var(--color-purple);
  box-shadow: var(--shadow-button);
}

.button--purple:hover {
  background: var(--color-purple-dark);
}

.button--orange {
  color: var(--color-white);
  background: var(--color-orange);
  box-shadow: var(--shadow-button);
}

.button--orange:hover {
  background: var(--color-orange-dark);
}

.button--black {
  color: var(--color-white);
  background: var(--color-ink);
  box-shadow: var(--shadow-button);
}

.button--outline {
  color: var(--color-purple);
  background: transparent;
  border: 2px solid var(--color-purple);
}

.button--outline:hover {
  color: var(--color-white);
  background: var(--color-purple);
}

.button--serif {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-weight: 600;
}

.button-arrow {
  display: inline-block;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 0.75;
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 721px;
  background-color: var(--color-lilac-surface);
  background-image: linear-gradient(90deg, rgba(250, 245, 255, 0.94) 0%, rgba(250, 245, 255, 0.64) 46%, rgba(250, 245, 255, 0.9) 100%), repeating-linear-gradient(90deg, transparent 0 89px, rgba(102, 64, 149, 0.08) 90px 91px), repeating-linear-gradient(0deg, transparent 0 89px, rgba(102, 64, 149, 0.08) 90px 91px);
}

.hero-section::after {
  position: absolute;
  right: -170px;
  bottom: -300px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(102, 64, 149, 0.09);
  filter: blur(80px);
  content: '';
  pointer-events: none;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
  padding-top: 90px;
  padding-bottom: 78px;
}

.hero-copy {
  min-width: 0;
  padding-top: 2px;
}

.hero-title-wrap {
  position: relative;
  max-width: 860px;
}

.hero-title-pill {
  position: absolute;
  top: 0;
  left: -25px;
  width: min(496px, 62%);
  height: 82px;
  border-radius: 92px;
  background: rgba(43, 14, 82, 0.45);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.14);
}

.hero-title {
  position: relative;
  z-index: 1;
  max-width: 840px;
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 4.2vw, 3.55rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.22;
}

.hero-title strong {
  font-weight: 700;
}

.hero-cursor {
  position: absolute;
  top: 56px;
  left: min(445px, 53%);
  z-index: 2;
  width: clamp(45px, 5vw, 83px);
  height: clamp(45px, 5vw, 83px);
  object-fit: contain;
  transform: rotate(-3deg);
}

.hero-description {
  max-width: 730px;
  margin-top: 30px;
  color: var(--color-muted);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.4;
}

.benefit-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}

.benefit-pills li,
.certification-benefits li {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 1px solid rgba(102, 64, 149, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 4px 7px rgba(102, 64, 149, 0.28);
  color: var(--color-purple);
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 500;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 43px;
}

.hero-actions .button {
  min-width: 325px;
}

.advisor-link {
  display: flex;
  min-height: 84px;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--color-white);
  background: linear-gradient(90deg, #DE5528 0%, #FFA600 50%, #C9471D 100%);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.11);
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.advisor-link:hover {
  transform: translateY(-2px);
  background: linear-gradient(90deg, #DE5528 0%, #FFA600 50%, #C9471D 100%);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.18);
}

.advisor-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-white);
}

.advisor-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(46%) sepia(87%) saturate(1372%) hue-rotate(338deg) brightness(97%) contrast(94%);
}

.advisor-copy {
  display: grid;
  gap: 3px;
}

.advisor-copy small {
  font-family: 'Inclusive Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  text-transform: uppercase;
}

.advisor-copy strong {
  font-family: 'Inclusive Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
}

.lead-form {
  color: var(--color-ink);
}

.lead-form--inline {
  display: grid;
  gap: 13px;
  min-width: 0;
  padding: 25px 54px 32px;
  border-radius: var(--radius-modal);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-form);
}

.lead-form h2 {
  margin-bottom: 11px;
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 700;
  text-align: center;
}

.form-field {
  min-width: 0;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  line-height: 1.2;
}

.form-field label span {
  color: #c40000;
}

.form-field input,
.form-field select {
  width: 100%;
  min-height: 33px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--color-ink);
  background: rgba(236, 226, 248, 0.95);
  font-family: var(--font-body);
  font-size: 0.72rem;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.form-field input::placeholder,
.form-field select:invalid {
  color: rgba(0, 0, 0, 0.34);
}

.form-field input:hover,
.form-field select:hover {
  background: #e6d8f5;
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--color-purple);
  background: var(--color-white);
  box-shadow: 0 0 0 2px rgba(102, 64, 149, 0.16);
  outline: none;
}

.form-field input[aria-invalid='true'],
.form-field select[aria-invalid='true'] {
  border-color: #b42318;
  box-shadow: 0 0 0 2px rgba(180, 35, 24, 0.12);
}

.phone-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 33px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(236, 226, 248, 0.95);
}

.phone-field input {
  min-width: 0;
  border: 0;
  border-left: 1px solid #bdbdbd;
  border-radius: 0;
  background: transparent;
}

.phone-field input:focus {
  box-shadow: none;
  background: transparent;
}

.phone-prefix {
  display: inline-flex;
  min-width: 58px;
  align-items: center;
  gap: 5px;
  padding: 0 7px;
  color: var(--color-ink);
  font-size: 0.72rem;
  white-space: nowrap;
}

.phone-prefix img {
  width: 14px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 7px;
  height: 7px;
  border-right: 1px solid rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  content: '';
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.select-wrap select {
  appearance: none;
  padding-right: 30px;
}

.field-error {
  min-height: 0;
  margin-top: 3px;
  color: #b42318;
  font-size: 0.66rem;
  line-height: 1.3;
}

.field-error:empty {
  display: none;
}

.button--submit {
  width: 100%;
  min-height: 44px;
  margin-top: 13px;
  font-size: 0.88rem;
}

.button--submit[disabled] {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.form-status {
  min-height: 17px;
  color: var(--color-purple);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: center;
}

.form-status[data-state='error'] {
  color: #b42318;
}

.form-status[data-state='success'] {
  color: #157347;
}

/* Video */
.video-section {
  min-height: 928px;
  padding-top: 30px;
  background: var(--color-lavender);
}

.video-shell {
  min-height: 847px;
  padding-top: 36px;
  padding-bottom: 47px;
  border-radius: 0 0 64px 64px;
  background: var(--color-lilac-surface);
}

.video-shell .section-heading h2 {
  font-size: clamp(2rem, 3.2vw, 2.55rem);
  line-height: 1.12;
}

.video-shell .section-heading > p {
  margin-top: 15px;
}

.video-player-stage {
  --video-rangoli-size: clamp(180px, 26vw, 280px);
  --video-rangoli-overlap: clamp(24px, 4vw, 40px);
  position: relative;
  width: min(100%, 810px);
  aspect-ratio: 782 / 475;
  margin: 46px auto 0;
}

.video-rangoli {
  position: absolute;
  top: 50%;
  z-index: 0;
  width: var(--video-rangoli-size);
  height: auto;
  pointer-events: none;
  opacity: 0.22;
  transform: translateY(-50%);
}

.video-rangoli--left {
  right: calc(100% - var(--video-rangoli-overlap));
}

.video-rangoli--right {
  left: calc(100% - var(--video-rangoli-overlap));
}

.video-player {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 13px solid var(--color-lavender);
  border-radius: 29px;
  background: var(--color-ink);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.17);
}

.video-poster,
.video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-poster {
  object-position: center 45%;
}

.video-overlay {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0) 43%);
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.46);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, background-color 180ms ease;
}

.video-play:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translate(-50%, -50%) scale(1.06);
}

.video-play img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.video-controls {
  position: absolute;
  right: 26px;
  bottom: 27px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--color-white);
}

.video-control-play {
  color: var(--color-purple);
  font-size: 2rem;
  line-height: 1;
}

.video-progress {
  flex: 1;
  height: 7px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
}

.video-progress span {
  display: block;
  width: 42%;
  height: 100%;
  background: rgba(178, 153, 218, 0.9);
}

.video-control-icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.video-more {
  font-size: 1.2rem;
  letter-spacing: 0.12em;
}

.video-note {
  position: absolute;
  right: 18px;
  bottom: 8px;
  left: 18px;
  display: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.65rem;
  text-align: center;
}

.video-player.is-playing .video-note {
  display: block;
}

.video-player.is-playing .video-play {
  opacity: 0.6;
}

.video-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-player.is-playing .video-poster,
.video-player.is-playing .video-overlay,
.video-player.is-playing .video-controls {
  visibility: hidden;
}

.video-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
  margin-top: 40px;
}

.video-actions .button {
  min-width: 318px;
  border-radius: 12px;
  text-transform: uppercase;
}

.question-mark {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 50%;
  background: rgba(236, 226, 248, 0.7);
  color: var(--color-white);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: none;
}

/* Dimensions */
.dimensions-section {
  min-height: 813px;
  padding-top: 42px;
  padding-bottom: 70px;
  background: var(--color-lavender);
}

.dimensions-section::before {
  position: absolute;
  right: 1.45%;
  bottom: 0;
  left: 1.45%;
  height: 430px;
  border-radius: 27px 0 0 27px;
  background: linear-gradient(105deg, rgba(102, 64, 149, 0.94), rgba(89, 48, 134, 0.88));
  content: '';
}

.dimensions-section::after {
  position: absolute;
  right: 1.45%;
  bottom: 0;
  left: 1.45%;
  height: 430px;
  background: url('public/assets/section-deer-mark.svg') center 48% / 520px auto no-repeat;
  opacity: 0.12;
  content: '';
  pointer-events: none;
}

.dimensions-shell {
  position: relative;
  z-index: 1;
}

.dimensions-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 35px;
}

.dimensions-intro .section-heading h2 {
  font-size: clamp(2.35rem, 3.5vw, 3.15rem);
}

.dimensions-intro .section-heading > p {
  max-width: 630px;
  font-size: 1.25rem;
}

.app-marks {
  display: flex;
  align-items: flex-start;
  gap: clamp(15px, 2.2vw, 35px);
  padding-top: 13px;
}

.app-marks img {
  width: clamp(70px, 8vw, 134px);
  height: clamp(70px, 8vw, 134px);
  object-fit: contain;
  filter: drop-shadow(-1px 3px 5px rgba(0, 0, 0, 0.31));
}

.app-marks img:nth-child(2) {
  margin-top: -23px;
}

.app-marks img:nth-child(3) {
  margin-top: 5px;
}

.app-marks img:nth-child(4) {
  margin-top: -17px;
}

.carousel {
  position: relative;
  min-width: 0;
}

.carousel-track {
  display: flex;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track > * {
  scroll-snap-align: start;
}

.software-carousel {
  margin-top: 47px;
}

.software-track {
  gap: 40px;
  overflow-x: hidden;
}

.software-card {
  position: relative;
  flex: 0 0 clamp(250px, 24.4vw, 351px);
  height: 316px;
  overflow: hidden;
  border: 9px solid var(--color-white);
  border-radius: 20px;
  background: var(--color-white);
  box-shadow: var(--shadow-button);
  transition: transform 180ms ease;
}

.software-card:hover {
  transform: translateY(-5px);
}

.software-card > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.software-card-title {
  position: absolute;
  right: 13px;
  bottom: 58px;
  left: 13px;
  display: block;
  padding: 12px 7px;
  border-radius: 10px;
  color: var(--color-white);
  background: rgba(35, 35, 35, 0.65);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
}

.software-badge {
  position: absolute;
  right: 7px;
  bottom: 15px;
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(-1px 3px 5px rgba(0, 0, 0, 0.31));
}

.card-chevron {
  position: absolute;
  bottom: 9px;
  left: 50%;
  color: var(--color-ink);
  font-size: 1.7rem;
  line-height: 1;
  transform: translateX(-50%);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.carousel-control {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: var(--color-white);
  background: rgba(102, 64, 149, 0.75);
  font-size: 1.1rem;
  transition: background-color 180ms ease, transform 180ms ease;
}

.carousel-control:hover:not(:disabled) {
  background: var(--color-orange);
  transform: translateY(-2px);
}

.carousel-control:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  background: var(--color-ink);
}

.carousel-dot[aria-current='true'] {
  background: var(--color-orange);
}

.software-carousel .carousel-controls {
  justify-content: flex-end;
  color: var(--color-white);
}

.software-carousel .carousel-control {
  display: none;
}

/* Testimonials */
.testimonials-section {
  background: var(--color-white);
}

.testimonial-stage {
  position: relative;
  min-height: 740px;
  padding-top: 275px;
  padding-bottom: 88px;
}

.testimonial-copy {
  max-width: 650px;
  margin-inline: auto;
}

.testimonial-copy .eyebrow {
  margin-bottom: 10px;
}

.testimonial-copy h2 {
  font-size: clamp(2rem, 3.05vw, 2.5rem);
  line-height: 1.12;
}

.testimonial-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin-inline: auto;
}

.testimonial-copy .button {
  min-width: 378px;
  margin-top: 35px;
}

.testimonial-portraits {
  position: absolute;
  top: 32px;
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: 240px 240px;
  align-items: start;
  gap: 40px 31px;
}

.testimonial-portraits--left {
  left: 30px;
}

.testimonial-portraits--right {
  right: 30px;
}

.testimonial-portraits--right .portrait--small {
  grid-column: 1;
}

.testimonial-portraits--right .portrait--large {
  grid-column: 2;
}

.portrait {
  width: 100%;
  object-fit: cover;
  border-radius: 9px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.portrait--large {
  width: 218px;
  height: 346px;
}

.portrait--medium {
  width: 181px;
  height: 236px;
  align-self: end;
}

.portrait--small {
  width: 150px;
  height: 262px;
}

.portrait--tiny {
  width: 125px;
  height: 174px;
  align-self: end;
}

/* Projects */
.projects-section {
  padding-top: 20px;
  padding-bottom: 111px;
  background: var(--color-white);
}

.projects-heading h2 {
  font-size: clamp(2.25rem, 3.3vw, 2.6rem);
  line-height: 1.12;
}

.project-carousel {
  margin-top: 44px;
}

.project-track {
  gap: 34px;
  overflow-x: hidden;
}

.project-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 319 / 440;
  overflow: hidden;
  border-radius: 10px;
  background: var(--color-lavender);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.18);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-card span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 14px 8px 19px;
  color: var(--color-white);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.02));
  font-family: var(--font-ui);
  font-size: clamp(0.9rem, 1.25vw, 1.25rem);
  text-align: center;
}

.project-carousel .carousel-controls {
  justify-content: flex-end;
  margin-top: 33px;
}

.project-carousel .carousel-control {
  display: none;
}

/* Difference */
.difference-section {
  margin-inline: 1.65%;
  border-radius: 25px 0 0 25px;
  background: var(--color-lavender);
}

.difference-shell {
  padding-top: 43px;
  padding-bottom: 64px;
}

.difference-shell .section-heading h2 {
  font-size: clamp(2.15rem, 3.15vw, 2.55rem);
}

.difference-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  gap: 50px;
  margin-top: 42px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
}

.difference-grid::-webkit-scrollbar {
  display: none;
}

.difference-grid.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

.difference-item {
  display: grid;
  flex: 0 0 calc(50% - 25px);
  min-width: 75%;
  grid-template-columns: 96px minmax(0, 1fr);
  min-height: 102px;
  align-items: center;
  gap: 17px;
  scroll-snap-align: start;
}

.difference-icon {
  display: grid;
  min-height: 102px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.16);
}

.difference-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(35%) sepia(18%) saturate(1642%) hue-rotate(228deg) brightness(91%) contrast(92%);
}

.difference-item > div:last-child {
  min-height: 102px;
  padding: 19px 33px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.42);
}

.difference-item h3 {
  color: var(--color-purple);
  font-family: var(--font-ui);
  font-size: clamp(1.35rem, 1.85vw, 1.65rem);
  font-weight: 700;
}

.difference-item p {
  margin-top: 3px;
  color: rgba(0, 0, 0, 0.79);
  font-family: var(--font-ui);
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  line-height: 1.3;
}

/* Learning space */
.space-section {
  min-height: 753px;
  padding-top: 37px;
  padding-bottom: 66px;
  background: var(--color-lavender);
}

.space-section .section-heading h2 {
  font-size: clamp(2.25rem, 3.15vw, 2.55rem);
}

.space-gallery {
  margin-top: 44px;
}

.space-track {
  align-items: flex-end;
  gap: 15px;
  overflow-x: hidden;
}

.space-image {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25);
}

.space-image--short {
  height: 440px;
}

.space-image--tall {
  height: 519px;
}

.space-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.space-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 35px;
  color: var(--color-white);
  font-size: 1.2rem;
}

.space-progress {
  display: block;
  width: 196px;
  height: 6px;
  background: rgba(242, 98, 51, 0.24);
}

.space-progress span {
  display: block;
  width: 45%;
  height: 100%;
  background: var(--color-orange);
}

.space-numbers strong {
  color: var(--color-orange);
}

/* Success spotlight */
.success-section {
  padding-top: 20px;
  padding-bottom: 35px;
  background: var(--color-lavender);
}

.success-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 411px;
  gap: 40px;
  min-height: 712px;
  padding-top: 42px;
  padding-bottom: 65px;
  border-radius: 22px;
  background: var(--color-white);
}

.success-copy {
  min-width: 0;
}

.success-copy .section-heading h2 {
  font-size: clamp(2.1rem, 3.2vw, 2.65rem);
  line-height: 1.03;
}

.success-copy .section-heading > p {
  max-width: 730px;
  color: var(--color-ink);
}

.spotlight-thumbs {
  display: flex;
  gap: 27px;
  margin-top: 69px;
}

.spotlight-thumb {
  width: calc((100% - 81px) / 4);
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.22);
  transition: box-shadow 300ms ease;
}

.spotlight-thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.spotlight-thumb:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.spotlight-thumb[aria-pressed='true'] {
  outline: 3px solid var(--color-orange, #f26233);
  outline-offset: 3px;
}

.spotlight-thumb:focus-visible {
  outline: 3px solid #664095;
  outline-offset: 3px;
}

.success-copy .button {
  min-width: 411px;
  margin-top: 103px;
  border-radius: 14px;
  font-size: 1.35rem;
}

.success-featured {
  display: grid;
  min-width: 0;
  min-height: 100%;
  place-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(236, 226, 248, 0.32);
}

.success-featured img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  transition: opacity 280ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.success-featured img.is-leaving {
  opacity: 0;
  transform: translateX(-14px);
}

.success-featured img.is-in {
  opacity: 0;
  transform: translateX(20px);
}

/* Career paths */
.career-paths-section {
  min-height: 451px;
  padding-top: 49px;
  padding-bottom: 51px;
  color: var(--color-white);
  background: var(--color-purple);
}

/* Subtle festive backdrop; purple base stays dominant. Paints below the
   rangoli art and the hanging decorations, above the purple fill. */
.career-paths-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('public/assets/Layer_1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
}

@media (max-width: 767px) {
  .career-paths-section::before {
    background-position: center top;
  }
}

.career-paths-section > .section-shell {
  position: relative;
  z-index: 1;
}

.career-path-hanging-rangoli {
  position: absolute;
  top: 0;
  z-index: 0;
  width: clamp(56px, 8vw, 82px);
  height: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.career-path-hanging-rangoli--left {
  left: 0;
}

.career-path-hanging-rangoli--right {
  right: 0;
  transform: scaleX(-1);
}

.career-path-rangoli-bg {
  position: absolute;
  top: clamp(-190px, -15vw, -100px);
  z-index: 0;
  width: clamp(220px, 27vw, 360px);
  height: auto;
  max-width: none;
  opacity: 0.13;
  pointer-events: none;
  user-select: none;
}

.career-path-rangoli-bg--left {
  left: clamp(-92px, -6.7vw, -52px);
}

.career-path-rangoli-bg--right {
  right: clamp(-92px, -6.7vw, -52px);
  transform: scaleX(-1);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .career-path-rangoli-bg {
    top: clamp(-140px, -14vw, -100px);
    width: clamp(180px, 26vw, 260px);
  }

  .career-path-rangoli-bg--left {
    left: clamp(-70px, -7vw, -40px);
  }

  .career-path-rangoli-bg--right {
    right: clamp(-70px, -7vw, -40px);
  }
}

@media (max-width: 767px) {
  .career-path-rangoli-bg {
    top: clamp(-80px, -16vw, -52px);
    width: clamp(120px, 34vw, 180px);
  }

  .career-path-rangoli-bg--left {
    left: clamp(-48px, -12vw, -24px);
  }

  .career-path-rangoli-bg--right {
    right: clamp(-48px, -12vw, -24px);
  }
}

.career-paths-section .section-heading h2 {
  color: var(--color-white);
  font-size: clamp(2.3rem, 3.15vw, 2.55rem);
}

.career-paths-section .section-heading p {
  color: rgba(255, 255, 255, 0.81);
}

.career-path-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  margin-top: 58px;
  padding: 51px 34px 35px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
}

.career-path-rail::before {
  position: absolute;
  top: 0;
  right: 7px;
  left: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.64);
  content: '';
}

.career-path-item {
  position: relative;
  min-width: 0;
  text-align: center;
}

.career-icon {
  position: absolute;
  top: -96px;
  left: 50%;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(-50%);
}

.career-icon img {
  width: 47px;
  height: 47px;
  object-fit: contain;
}

.career-path-item h3 {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
}

.career-path-item p {
  max-width: 220px;
  margin: 4px auto 0;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  line-height: 1.5;
}

/* Certification */
.certification-section {
  min-height: 1001px;
  padding-top: 104px;
  padding-bottom: 90px;
  background: var(--color-white);
}

.certification-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 321px;
  gap: clamp(40px, 10vw, 150px);
  align-items: start;
}

.certification-eyebrow {
  color: var(--color-purple);
  font-family: var(--font-ui);
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  font-weight: 700;
}

.certification-copy .section-heading {
  margin-top: 24px;
}

.certification-copy .section-heading h2.certification-title {
  color: var(--color-orange);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 5vw, 4.2rem);
  line-height: 1;
}

.certification-copy .section-heading h3 {
  margin-top: 9px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.certification-copy .section-heading > p {
  max-width: 760px;
  margin-top: 14px;
}

.certification-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.certification-benefits li {
  min-width: 180px;
  min-height: 57px;
  flex: 0 0 auto;
  padding: 8px 20px;
  color: var(--color-ink);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
}

.certificate-art {
  position: relative;
  z-index: 1;
  margin-top: -17px;
  border-radius: 11px;
  box-shadow: -10px -4px 6.6px rgba(0, 0, 0, 0.25);
}

.certificate-art img {
  width: 321px;
  height: 436px;
  object-fit: cover;
  border-radius: 11px;
}

/* FAQ */
.faq-section {
  position: relative;
  min-height: 627px;
  padding-top: 25px;
  padding-bottom: 34px;
  background: var(--color-lavender);
}

.faq-shell > .section-heading h2 {
  font-size: clamp(2.2rem, 3.2vw, 2.55rem);
}

.faq-shell > .section-heading > p {
  margin-top: 9px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 728px) minmax(300px, 1fr);
  gap: clamp(30px, 7vw, 110px);
  align-items: center;
  margin-top: 31px;
}

.faq-accordion {
  padding: 28px 19px 29px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.23);
}

.faq-item + .faq-item {
  margin-top: 10px;
}

.faq-trigger {
  display: flex;
  width: 100%;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 24px;
  border-radius: 12px;
  color: var(--color-ink);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.faq-trigger:hover {
  color: var(--color-purple);
}

.faq-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
}

.faq-icon svg {
  display: block;
  width: 26px;
  height: 26px;
}

/* Diya is unlit by default; the open state lights only the flame and halo. */
.faq-diya-glow,
.faq-diya-flame,
.faq-diya-flame-core {
  opacity: 0;
  transition: opacity 260ms ease;
}

.faq-item.is-open .faq-diya-glow,
.faq-item.is-open .faq-diya-flame,
.faq-item.is-open .faq-diya-flame-core {
  opacity: 1;
}

.faq-item.is-open .faq-diya-glow {
  animation: faq-diya-flicker 2.6s ease-in-out infinite;
}

@keyframes faq-diya-flicker {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item.is-open .faq-diya-glow {
    animation: none;
    opacity: 0.85;
  }
}

.faq-answer {
  padding: 21px 28px 16px;
  border-radius: 0 0 12px 12px;
  color: var(--color-white);
  background: var(--color-purple);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.35;
}

.faq-item.is-open .faq-trigger {
  position: relative;
  z-index: 1;
}

.faq-illustration {
  align-self: end;
  justify-self: center;
}

.faq-illustration img {
  width: min(100%, 452px);
  height: auto;
  max-height: 465px;
  object-fit: contain;
}

/* Decorative images stay behind the FAQ shell and never intercept input. */
.faq-shell {
  position: relative;
  z-index: 1;
}

.faq-festive-decorations {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.faq-festive-decoration {
  position: absolute;
  display: block;
  height: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.faq-festive-decoration--lamps {
  top: 0;
  right: clamp(6px, 1.3vw, 18px);
  width: clamp(58px, 8vw, 92px);
}

.faq-festive-decoration--rangoli {
  top: 31%;
  right: clamp(-170px, -13vw, -96px);
  width: clamp(200px, 26vw, 340px);
  opacity: 0.38;
}

.faq-festive-decoration--cracker {
  right: clamp(-18px, -1vw, -8px);
  bottom: 0;
  width: clamp(138px, 16vw, 210px);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .faq-festive-decoration--lamps {
    width: clamp(54px, 8vw, 76px);
  }

  .faq-festive-decoration--rangoli {
    top: 30%;
    right: clamp(-120px, -12vw, -80px);
    width: clamp(180px, 27vw, 240px);
  }

  .faq-festive-decoration--cracker {
    width: clamp(125px, 17vw, 170px);
  }
}

@media (max-width: 767px) {
  .faq-festive-decoration--lamps {
    right: 5px;
    width: clamp(42px, 14vw, 60px);
  }

  .faq-festive-decoration--rangoli {
    top: 27%;
    right: clamp(-92px, -23vw, -72px);
    width: clamp(145px, 42vw, 190px);
    opacity: 0.3;
  }

  .faq-festive-decoration--cracker {
    right: -6px;
    bottom: 5px;
    width: clamp(108px, 31vw, 132px);
  }
}

/* Final CTA */
.final-cta-section {
  min-height: 502px;
  padding-top: 70px;
  padding-bottom: 64px;
  color: var(--color-white);
  background: var(--color-purple);
}

/* Decorative artwork layer; sits behind the shell (z-index 1) and app marks. */
.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.final-cta-shell {
  position: relative;
  z-index: 1;
}

.final-kicker {
  color: var(--color-lavender) !important;
  font-family: var(--font-display) !important;
  font-size: clamp(2rem, 3.2vw, 2.5rem) !important;
  line-height: 1.1 !important;
}

.final-cta-shell .section-heading h2 {
  margin-top: 7px;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 4.2vw, 3.4rem);
  line-height: 1.08;
}

.final-cta-shell .section-heading > p:last-child {
  margin-top: 14px;
  color: var(--color-white);
}

.reassurance-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.reassurance-list li {
  min-width: 185px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  color: var(--color-white);
  font-family: var(--font-ui);
  font-size: 1rem;
  text-align: center;
}

.final-cta-shell > .button {
  display: flex;
  width: fit-content;
  min-width: 325px;
  margin: 44px auto 0;
  border-radius: 61px;
}

.final-app-mark {
  position: absolute;
  z-index: 0;
}

.final-app-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(-1px 3px 5px rgba(0, 0, 0, 0.31));
}

.final-app-mark--ps {
  bottom: 26px;
  left: 3%;
  width: 134px;
  height: 134px;
  transform: rotate(-10deg);
}

.final-app-mark--ai {
  top: 20px;
  left: 13%;
  width: 130px;
  height: 130px;
  transform: rotate(9deg);
}

.final-app-mark--pr {
  right: 13%;
  top: 50%;
  width: 119px;
  height: 119px;
  transform: translateY(-50%) rotate(-8deg);
}

.final-app-mark--ae {
  top: 11px;
  right: 4%;
  width: 123px;
  height: 123px;
  transform: rotate(8deg);
}

/* Lead dialog */
.lead-dialog {
  width: min(calc(100% - 32px), 520px);
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-modal);
  color: var(--color-ink);
  background: transparent;
  box-shadow: none;
}

.lead-dialog::backdrop {
  background: rgba(49, 28, 73, 0.56);
  backdrop-filter: blur(4px);
}

.dialog-card {
  position: relative;
  max-height: min(760px, calc(100vh - 32px));
  overflow-y: auto;
  padding: 34px clamp(24px, 7vw, 48px) 36px;
  border-radius: var(--radius-modal);
  background: var(--color-white);
  box-shadow: 0 20px 50px rgba(40, 22, 63, 0.35);
}

.dialog-close {
  position: absolute;
  top: 13px;
  right: 17px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-purple);
  background: rgba(236, 226, 248, 0.75);
  font-size: 1.7rem;
  line-height: 1;
  transition: background-color 180ms ease, transform 180ms ease;
}

.dialog-close:hover {
  background: var(--color-lavender);
  transform: rotate(90deg);
}

.dialog-card h2 {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 2.45rem);
  line-height: 1.1;
  text-align: center;
}

.lead-form--modal {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  max-width: min(360px, calc(100vw - 40px));
  padding: 13px 17px;
  border-radius: 10px;
  color: var(--color-white);
  background: var(--color-purple-dark);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast[data-state='error'] {
  background: #9f2c24;
}

.thank-you-dialog .dialog-card {
  z-index: 1;
  padding: 38px clamp(24px, 7vw, 48px) 40px;
  text-align: center;
}

.thank-you-confetti {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.thank-you-confetti-piece {
  position: absolute;
  top: -8vh;
  left: var(--start-x);
  width: var(--piece-width);
  height: var(--piece-height);
  border-radius: 2px;
  background: var(--piece-color);
  opacity: 0;
  transform: translate3d(0, 0, 0) rotate(0deg);
  animation: thank-you-paper-fall var(--fall-duration) cubic-bezier(.2, .65, .3, 1) var(--fall-delay) forwards;
}

@keyframes thank-you-paper-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -24px, 0) rotate(0deg);
  }
  8% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift-x), 112vh, 0) rotate(var(--rotation));
  }
}

@media (prefers-reduced-motion: reduce) {
  .thank-you-confetti-piece { animation: none; }
}

.thank-you-icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  place-items: center;
}

.thank-you-icon svg {
  width: 100%;
  height: 100%;
}

.thank-you-dialog h2 {
  margin-top: 0;
  color: var(--color-purple);
}

.thank-you-subtitle {
  margin-top: 10px;
  color: var(--color-muted);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  line-height: 1.5;
}

.thank-you-contact {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.thank-you-contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--color-lavender);
  text-align: left;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.thank-you-contact-row:hover {
  background: #e0d1f1;
  transform: translateY(-1px);
}

.thank-you-contact-row:active {
  transform: translateY(0);
}

.thank-you-contact-icon {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-white);
  background: var(--color-purple);
}

.thank-you-contact-icon svg {
  width: 20px;
  height: 20px;
}

.thank-you-contact-text {
  display: grid;
  gap: 2px;
}

.thank-you-contact-text small {
  color: var(--color-muted);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.thank-you-contact-text strong {
  color: var(--color-ink);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.thank-you-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 26px;
  text-decoration: none;
}

.thank-you-whatsapp svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.thank-you-note {
  margin-top: 20px;
  color: var(--color-muted);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  line-height: 1.5;
}

.thank-you-dialog .button--purple {
  width: 100%;
  margin-top: 24px;
}

/* Responsive layout */
@media (max-width: 1199px) {
  :root {
    --gutter: clamp(24px, 4vw, 52px);
  }

  .hero-shell {
    gap: 42px;
  }

  .hero-actions .button {
    min-width: 285px;
  }

  .lead-form--inline {
    padding-inline: 31px;
  }

  .software-track,
  .project-track,
  .space-track {
    gap: 24px;
  }

  .testimonial-portraits--left {
    left: 16px;
  }

  .testimonial-portraits--right {
    right: 16px;
  }

  .portrait--large {
    width: 174px;
    height: 276px;
  }

  .portrait--medium {
    width: 150px;
    height: 200px;
  }

  .portrait--small {
    width: 126px;
    height: 222px;
  }

  .portrait--tiny {
    width: 108px;
    height: 150px;
  }

  .success-card {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .success-copy .button {
    min-width: min(100%, 360px);
  }

  .spotlight-thumbs {
    gap: 15px;
  }

  .career-path-rail {
    padding-inline: 15px;
  }
}

@media (max-width: 1023px) {
  .career-path-hanging-rangoli {
    width: clamp(46px, 7.5vw, 72px);
  }

  .video-player-stage {
    --video-rangoli-size: clamp(140px, 28vw, 220px);
    --video-rangoli-overlap: clamp(18px, 3vw, 32px);
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 27px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.1rem);
  }

  .hero-cursor {
    left: 50%;
  }

  .benefit-pills li {
    min-height: 48px;
    font-size: 0.9rem;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .button {
    min-width: 280px;
  }

  .advisor-link {
    min-height: 72px;
  }

  .advisor-copy strong {
    font-size: 1.05rem;
  }

  .video-section {
    min-height: auto;
  }

  .video-shell {
    min-height: auto;
    padding-bottom: 64px;
  }

  .dimensions-intro {
    display: block;
  }

  .app-marks {
    justify-content: flex-end;
    margin-top: -75px;
  }

  .software-card {
    flex-basis: calc((100% - 48px) / 3);
  }

  .testimonial-stage {
    display: flex;
    min-height: auto;
    flex-direction: column;
    padding-top: 42px;
    padding-bottom: 60px;
  }

  .testimonial-portraits {
    position: static;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 12px;
    order: 1;
    margin-bottom: 34px;
  }

  .testimonial-portraits .portrait,
  .testimonial-portraits--right .portrait {
    grid-column: auto !important;
    width: 100%;
    height: clamp(150px, 21vw, 240px);
    align-self: stretch;
  }

  .testimonial-copy {
    order: 2;
    max-width: 650px;
  }

  .testimonial-portraits--right {
    order: 3;
    margin-top: 30px;
    margin-bottom: 0;
  }

  .difference-grid {
    gap: 20px;
  }

  .difference-item {
    flex: 0 0 calc(50% - 25px);
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .difference-item > div:last-child {
    padding-inline: 20px;
  }

  .difference-icon {
    min-height: 96px;
  }

  .space-image--short {
    height: 340px;
  }

  .space-image--tall {
    height: 405px;
  }

  .success-card {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
  }

  .spotlight-thumbs {
    margin-top: 45px;
  }

  .success-copy .button {
    margin-top: 60px;
  }

  .certification-section {
    min-height: auto;
  }

  .certification-shell {
    gap: 45px;
  }

  .faq-layout {
    gap: 35px;
  }
}

@media (max-width: 767px) {
  .video-player-stage {
    --video-rangoli-size: clamp(100px, 34vw, 150px);
    --video-rangoli-overlap: clamp(12px, 3vw, 22px);
  }

  :root {
    --gutter: 22px;
    --section-space: 64px;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-shell {
    display: flex;
    flex-direction: column;
    gap: 43px;
    padding-top: 54px;
    padding-bottom: 64px;
  }

  .hero-title-pill {
    left: -11px;
    width: min(360px, 87%);
    height: 57px;
  }

  .hero-title {
    font-size: clamp(2rem, 9.5vw, 3rem);
    line-height: 1.18;
  }

  .hero-cursor {
    top: 34px;
    left: 55%;
    width: 48px;
    height: 48px;
  }

  .hero-description {
    margin-top: 21px;
    font-size: 1rem;
  }

  .benefit-pills {
    gap: 9px;
    margin-top: 28px;
  }

  .benefit-pills li {
    flex: 1 1 calc(50% - 9px);
    min-height: 48px;
    padding-inline: 8px;
    font-size: 0.83rem;
    text-align: center;
    white-space: normal;
  }

  .hero-actions {
    display: grid;
    gap: 12px;
    margin-top: 28px;
  }

  .hero-actions .button,
  .advisor-link {
    width: 100%;
    min-width: 0;
  }

  .advisor-link {
    min-height: 66px;
    justify-content: center;
  }

  .lead-form--inline {
    width: 100%;
    padding: 25px 22px 28px;
  }

  .video-section {
    padding-top: 0;
  }

  .video-shell {
    padding-top: 59px;
    border-radius: 0 0 40px 40px;
  }

  .video-shell .section-heading h2 {
    font-size: clamp(1.85rem, 8.5vw, 2.5rem);
  }

  .video-player-stage {
    margin-top: 32px;
  }

  .video-player {
    border-width: 8px;
    border-radius: 22px;
  }

  .video-controls {
    right: 12px;
    bottom: 14px;
    left: 15px;
    gap: 8px;
  }

  .video-control-play {
    font-size: 1.45rem;
  }

  .video-progress {
    height: 5px;
  }

  .video-control-icon {
    width: 20px;
    height: 20px;
  }

  .video-actions {
    display: grid;
    gap: 12px;
    margin-top: 26px;
  }

  .video-actions .button {
    width: 100%;
    min-width: 0;
  }

  .dimensions-section {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 54px;
  }

  .dimensions-section::before,
  .dimensions-section::after {
    bottom: 0;
    height: 330px;
  }

  .dimensions-intro .section-heading h2 {
    font-size: clamp(2.1rem, 9vw, 3.15rem);
  }

  .dimensions-intro .section-heading > p {
    font-size: 1.05rem;
  }

  .app-marks {
    justify-content: space-between;
    margin-top: 17px;
    padding-top: 0;
  }

  .app-marks img {
    width: 67px;
    height: 67px;
  }

  .app-marks img:nth-child(2),
  .app-marks img:nth-child(3),
  .app-marks img:nth-child(4) {
    margin-top: 0;
  }

  .software-carousel {
    margin-top: 34px;
  }

  .software-track,
  .project-track,
  .space-track {
    overflow-x: auto;
  }

  .software-track {
    gap: 15px;
    padding-bottom: 6px;
  }

  .software-card {
    flex-basis: min(82vw, 330px);
    height: min(84vw, 316px);
  }

  .software-carousel .carousel-controls,
  .project-carousel .carousel-controls {
    justify-content: center;
  }

  .software-carousel .carousel-control,
  .project-carousel .carousel-control {
    display: grid;
  }

  .testimonial-stage {
    display: flex;
    min-height: auto;
    flex-direction: column;
    padding-top: 40px;
    padding-bottom: 67px;
  }

  .testimonial-portraits {
    position: static;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 8px;
    order: 1;
    margin-bottom: 36px;
  }

  .testimonial-portraits--right {
    order: 3;
    margin-top: 34px;
    margin-bottom: 0;
  }

  .testimonial-copy {
    order: 2;
  }

  .testimonial-portraits .portrait,
  .testimonial-portraits--right .portrait {
    width: 100%;
    height: clamp(100px, 31vw, 180px);
    align-self: stretch;
    border-radius: 7px;
  }

  .testimonial-copy h2 {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .testimonial-copy .button {
    width: 100%;
    min-width: 0;
    margin-top: 25px;
  }

  .projects-section {
    padding-top: 25px;
    padding-bottom: 75px;
  }

  .projects-heading h2 {
    font-size: clamp(2rem, 8.5vw, 2.6rem);
  }

  .project-carousel {
    margin-top: 30px;
  }

  .project-track {
    gap: 16px;
  }

  .project-card {
    flex: 0 0 min(79vw, 319px);
  }

  .difference-section {
    margin-inline: 0;
    border-radius: 28px 0 0 28px;
  }

  .difference-shell {
    padding-top: 44px;
    padding-bottom: 49px;
  }

  .difference-grid {
    display: flex;
    flex-direction: column;
    overflow: visible;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    gap: 15px;
    margin-top: 28px;
    cursor: default;
  }

  .difference-item {
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
    min-height: auto;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 16px;
    background: rgba(102, 64, 149, 0.52);
    align-items: center;
  }

  .difference-icon {
    min-height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.28);
  }

  .difference-icon img {
    width: 38px;
    height: 38px;
  }

  .difference-item > div:last-child {
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .difference-item h3 {
    color: var(--color-white);
    font-size: 1.18rem;
  }

  .difference-item p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.88rem;
  }

  .space-section {
    min-height: auto;
    padding-top: 53px;
    padding-bottom: 62px;
  }

  .space-section .section-heading h2 {
    font-size: clamp(2rem, 8.5vw, 2.55rem);
  }

  .space-gallery {
    margin-top: 30px;
  }

  .space-track {
    gap: 12px;
  }

  .space-image,
  .space-image--short,
  .space-image--tall {
    flex: 0 0 min(76vw, 300px);
    height: min(105vw, 440px);
  }

  .space-pagination {
    justify-content: center;
    margin-top: 21px;
  }

  .success-section {
    padding-top: 0;
    padding-bottom: 0;
  }

  .success-card {
    display: flex;
    flex-direction: column;
    gap: 38px;
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 45px;
    border-radius: 24px;
  }

  .success-card .success-copy {
    display: contents;
  }

  .success-card .section-heading {
    order: 1;
    text-align: center;
  }

  .success-copy .section-heading h2 {
    font-size: clamp(2rem, 8.2vw, 2.65rem);
  }

  .success-card .section-heading > p {
    margin-inline: auto;
  }

  .success-featured {
    order: 2;
    width: calc(100% - 40px);
    max-width: 330px;
    margin-inline: auto;
    box-shadow: 0 18px 40px rgba(36, 25, 50, 0.14);
  }

  .spotlight-thumbs {
    order: 3;
    justify-content: center;
    gap: 10px;
    margin-top: 34px;
  }

  .spotlight-thumb {
    flex: 0 0 auto;
    width: clamp(55px, 17vw, 68px);
  }

  .success-copy .button {
    order: 4;
    width: 100%;
    min-width: 0;
    margin-top: 34px;
    font-size: 1.1rem;
  }

  .career-paths-section {
    min-height: auto;
    padding-top: 52px;
    padding-bottom: 62px;
  }

  .career-path-hanging-rangoli {
    width: clamp(28px, 9vw, 46px);
  }

  .career-path-rail {
    position: relative;
    grid-template-columns: 1fr;
    gap: 58px;
    margin-top: 44px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .career-path-rail::before {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.64);
    transform: translateX(-50%);
  }

  .career-path-item {
    position: relative;
    z-index: 1;
    min-height: auto;
    padding: 60px 20px 32px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 30px rgba(36, 25, 50, 0.3);
    text-align: center;
  }

  .career-icon {
    position: absolute;
    top: -41px;
    left: 50%;
    z-index: 1;
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    transform: translateX(-50%);
  }

  .career-path-item h3,
  .career-path-item p {
    max-width: none;
    margin: 0;
  }

  .career-path-item h3 {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .career-path-item p {
    margin-top: 6px;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .certification-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .certification-shell {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }

  .certification-copy .section-heading h2.certification-title {
    font-size: clamp(3rem, 16vw, 4.2rem);
  }

  .certification-copy .section-heading h3 {
    font-size: 1.65rem;
  }

  .certification-benefits {
    gap: 9px;
    margin-top: 29px;
  }

  .certification-benefits li {
    min-width: 0;
    flex: 1 1 calc(50% - 9px);
    padding-inline: 10px;
    font-size: 0.88rem;
  }

  .certificate-art {
    align-self: center;
    margin-top: 0;
  }

  .faq-section {
    min-height: auto;
    padding-top: 49px;
    padding-bottom: 55px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 28px;
  }

  .faq-accordion {
    padding: 17px 12px 18px;
  }

  .faq-trigger {
    min-height: 57px;
    padding: 13px 16px;
    font-size: 0.88rem;
  }

  .faq-answer {
    padding: 17px 16px 15px;
    font-size: 0.86rem;
  }

  .faq-illustration {
    display: none;
  }

  .final-cta-section {
    min-height: auto;
    padding-top: 63px;
    padding-bottom: 60px;
  }

  .final-cta-shell .section-heading h2 {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }

  .final-kicker {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
  }

  .final-cta-shell .section-heading > p:last-child {
    max-width: 540px;
    margin-inline: auto;
    font-size: 1.02rem;
    line-height: 1.6;
  }

  .reassurance-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }

  .reassurance-list li {
    min-width: 0;
    border-radius: 10px;
  }

  .final-cta-shell > .button {
    width: 100%;
    min-width: 0;
    margin-top: 30px;
  }

  .final-app-mark {
    opacity: 0.8;
  }

  .final-app-mark--ps {
    bottom: 8px;
    left: 8px;
    width: clamp(36px, 11vw, 48px);
    height: clamp(36px, 11vw, 48px);
  }

  .final-app-mark--ai {
    top: 8px;
    left: 8px;
    width: clamp(36px, 11vw, 48px);
    height: clamp(36px, 11vw, 48px);
  }

  .final-app-mark--pr {
    right: 8px;
    bottom: 8px;
    width: clamp(36px, 11vw, 48px);
    height: clamp(36px, 11vw, 48px);
    transform: rotate(-8deg);
  }

  .final-app-mark--ae {
    top: 8px;
    right: 8px;
    width: clamp(36px, 11vw, 48px);
    height: clamp(36px, 11vw, 48px);
    transform: rotate(8deg);
  }
}

@media (max-width: 389px) {
  :root {
    --gutter: 16px;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .hero-title-pill {
    height: 49px;
  }

  .hero-cursor {
    top: 29px;
    width: 42px;
    height: 42px;
  }

  .benefit-pills li {
    font-size: 0.77rem;
  }

  .advisor-copy strong {
    font-size: 0.95rem;
  }

  .video-actions .button {
    padding-inline: 14px;
    font-size: 0.85rem;
  }

  .question-mark {
    width: 30px;
    height: 30px;
    font-size: 1.4rem;
  }

  .app-marks img {
    width: 58px;
    height: 58px;
  }

  .difference-item h3 {
    font-size: 1.05rem;
  }

  .difference-item p {
    font-size: 0.78rem;
  }

  .certificate-art img {
    width: min(100%, 290px);
    height: auto;
  }

  .faq-trigger {
    padding-inline: 12px;
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* --- Festive serial-bulb string around the video section ----------------- */
/* Replaces the four corner lamp images that used to sit at tl/tr/bl/br.
   The section is already the positioning container: .video-section carries
   .page-section, which sets position:relative + overflow:hidden (style.css:116),
   so no duplicate position/overflow is needed and no page overflow is possible.
   Every part is CSS-generated — no image asset is introduced.

   The four wires are stretched by JS (initializeSectionBulbBorder in
   script.js) to trace the exact perimeter, so the string is continuous and
   follows the section at any width. Bulbs are appended into the same layer and
   positioned by JS, so the spacing is even on all four sides. The static
   --bulb-inset fallback below applies before the first measure, which keeps the
   first paint inside the section instead of briefly overflowing the top edge.

   z-index:0 places the string above the section fill and above the .video-shell
   card background — that is deliberate, so the bulbs stay clearly readable
   against the pale lilac/white — but still below every piece of real content.
   .section-heading and .video-player already carry position:relative +
   z-index:1 and .video-player-stage is position:relative, all of which sit
   above this layer in paint order. .video-actions and the CTA buttons are
   static, so they are lifted by the rule at the end of this block. */
.video-shell .video-actions {
  position: relative;
  z-index: 1;
}
.section-bulb-border {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  --bulb-inset: 18px;
  --bulb-size: 7px;
  --bulb-gap: 34px;
  --wire-thickness: 1.5px;
  --wire-color: rgba(176, 124, 22, 0.5);
  --wire-core: rgba(255, 233, 176, 0.72);
  --bulb-hi: #fffbe8;
  --bulb-core: #ffd24d;
  --bulb-glow: rgba(255, 168, 32, 0.62);
  --bulb-peak: 1;
}

/* Wire runs. JS measures the frame and assigns top/left/width/height in px;
   the percentages below are the pre-measure fallback. --wire-thickness is a
   hairline so the string reads as a fine cable rather than a ribbon. */
.section-bulb-border__wire {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(var(--wire-dir, 180deg), var(--wire-color) 0%, var(--wire-core) 50%, var(--wire-color) 100%);
  box-shadow: 0 0 5px rgba(255, 176, 56, 0.28);
}
.section-bulb-border__wire--top {
  --wire-dir: 180deg;
  top: var(--bulb-inset);
  left: var(--bulb-inset);
  right: var(--bulb-inset);
  height: var(--wire-thickness);
}
.section-bulb-border__wire--bottom {
  --wire-dir: 0deg;
  bottom: var(--bulb-inset);
  left: var(--bulb-inset);
  right: var(--bulb-inset);
  height: var(--wire-thickness);
}
.section-bulb-border__wire--left {
  --wire-dir: 90deg;
  top: var(--bulb-inset);
  bottom: var(--bulb-inset);
  left: var(--bulb-inset);
  width: var(--wire-thickness);
}
.section-bulb-border__wire--right {
  --wire-dir: 270deg;
  top: var(--bulb-inset);
  bottom: var(--bulb-inset);
  right: var(--bulb-inset);
  width: var(--wire-thickness);
}

/* One bulb. Only filter/opacity animate, so the bulb never moves or resizes. */
.section-bulb {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--bulb-size);
  height: var(--bulb-size);
  border-radius: 50%;
  pointer-events: none;
  /* JS writes the centre coordinates, so every bulb is pulled back by half its
     own size. This is a static offset, not animation, so the twinkle below can
     animate filter/opacity only. */
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 50% 50%, var(--bulb-hi) 0%, var(--bulb-core) 42%, #e8a11f 76%, #b9741a 100%);
  box-shadow:
    0 0 4px 1px var(--bulb-glow),
    0 0 10px 3px rgba(255, 168, 32, 0.34),
    inset 0 0 3px rgba(255, 255, 255, 0.55);
  animation: sectionBulbTwinkle var(--bulb-duration, 3s) ease-in-out infinite;
  animation-delay: var(--bulb-delay, 0s);
  will-change: filter, opacity;
}
.section-bulb[hidden] { display: none; }

@keyframes sectionBulbTwinkle {
  0%, 100% {
    opacity: var(--bulb-dim, 0.72);
    filter: brightness(0.88) drop-shadow(0 0 2px rgba(255, 168, 32, 0.34));
  }
  50% {
    opacity: var(--bulb-peak, 1);
    filter: brightness(1.16) drop-shadow(0 0 7px rgba(255, 176, 48, 0.78));
  }
}

@media (max-width: 1023px) {
  .section-bulb-border {
    --bulb-inset: 14px;
    --bulb-size: 6px;
    --bulb-gap: 30px;
  }
}
@media (max-width: 767px) {
  .section-bulb-border {
    --bulb-inset: 10px;
    --bulb-size: 5px;
    --bulb-gap: 24px;
  }
  .section-bulb-border__wire { --wire-thickness: 1.25px; }
}
@media (prefers-reduced-motion: reduce) {
  .section-bulb {
    animation: none !important;
  }
}

/* --- Two traditional hanging bells: success section --------------------- */
/* The section is already the positioning container: .success-section carries
   .page-section, which sets position:relative + overflow:hidden (style.css:116),
   so no duplicate position/overflow rules are needed here.
   Every part is CSS-generated, so no image asset is introduced. Each bell is
   sized from a single pair of custom properties, so one declaration rescales the
   thread, the dome, the lip and the clapper together.
   z-index:0 keeps both bells above the lavender fill and the white card while
   .section-heading (position:relative; z-index:1) still paints over them, so the
   heading can never be covered. Vertical placement is chosen to stay clear of the
   card's content box at every breakpoint.
   Only the wrapper rotates around its hanging point; the thread and bell body are
   rigid children, so nothing slides or bounces. */
@keyframes sectionBellSway {
  0%, 100% { transform: rotate(-1.4deg); }
  50%      { transform: rotate(1.4deg); }
}
.section-bell {
  position: absolute;
  top: 0;
  z-index: 0;
  width: var(--bell-w);
  height: var(--bell-h);
  pointer-events: none;
  transform-origin: 50% 0;
  animation: sectionBellSway 5.4s ease-in-out infinite;
  /* Single scale pair drives the whole bell. */
  --bell-w: 20px;
  --bell-h: 50px;
  /* Brass palette: highlight, body, shadow. */
  --bell-gold-hi: #f7e2a6;
  --bell-gold: #d9a740;
  --bell-gold-lo: #96670f;
  --bell-shadow: rgba(64, 42, 4, 0.3);
}
.section-bell--left { left: 24px; }
.section-bell--right { right: 24px; animation-duration: 5.9s; }

/* Hanging thread with a small loop at the very top. */
.section-bell__cord {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 34%;
  margin-left: -0.5px;
  background: linear-gradient(180deg, rgba(150, 102, 15, 0.85) 0%, rgba(150, 102, 15, 0.5) 100%);
}
.section-bell__cord::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border: 1px solid rgba(150, 102, 15, 0.7);
  border-radius: 50%;
}

/* Bell dome. The asymmetric border-radius gives the shoulder a rounded top and
   keeps the bottom tight, which reads as a cast bell rather than a dome. */
.section-bell__body {
  position: absolute;
  top: 30%;
  bottom: 12%;
  left: 0;
  right: 0;
  border-radius: 46% 46% 12% 12% / 62% 62% 38% 38%;
  background: linear-gradient(96deg, var(--bell-gold-lo) 0%, var(--bell-gold) 24%, var(--bell-gold-hi) 42%, var(--bell-gold) 58%, var(--bell-gold-lo) 100%);
  box-shadow: inset 0 -2px 3px rgba(120, 80, 10, 0.42), 0 2px 4px var(--bell-shadow);
}
/* Soft vertical sheen down the left shoulder. */
.section-bell__body::before {
  content: '';
  position: absolute;
  left: 17%;
  top: 13%;
  width: 21%;
  height: 52%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
}
/* Flared lip along the bottom of the bell. */
.section-bell__body::after {
  content: '';
  position: absolute;
  left: -7%;
  right: -7%;
  bottom: 0;
  height: 17%;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--bell-gold-hi) 0%, var(--bell-gold) 46%, var(--bell-gold-lo) 100%);
  box-shadow: 0 1px 2px var(--bell-shadow);
}
/* Clapper peeking out below the lip is what makes the shape read as a bell. */
.section-bell__clapper {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 24%;
  height: 16%;
  margin-left: -12%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 32%, var(--bell-gold-hi) 0%, var(--bell-gold-lo) 74%);
  box-shadow: 0 1px 2px var(--bell-shadow);
}

@media (max-width: 1023px) {
  .section-bell {
    --bell-w: 17px;
    --bell-h: 44px;
  }
  .section-bell--left { left: 18px; }
  .section-bell--right { right: 18px; }
}
@media (max-width: 767px) {
  .section-bell {
    --bell-w: 14px;
    --bell-h: 34px;
  }
  .section-bell--left { left: 12px; }
  .section-bell--right { right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .section-bell {
    animation: none !important;
  }
}