:root {
  --c360-blue: #1945b3;
  --c360-pink: #ed044c;
  --c360-yellow: #ffd400;
  --c360-green: #84be18;
  --c360-ink: #12151c;
  --c360-white: #fff;
  --c360-soft: #f7f7f7;
  --c360-field: #f3f6fa;
  --c360-max: 1528px;
  --c360-edge: clamp(24px, 5.8vw, 100px);
  --c360-border: 2px solid var(--c360-ink);
  --c360-shadow: 5px 6px 0 #000;
  --c360-radius: 22px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  color: var(--c360-ink);
  background: var(--c360-white);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: #fff;
  color: var(--c360-ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--c360-yellow);
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

#main-content,
.site-main {
  overflow: clip;
}

.container,
.section-inner {
  width: min(calc(100% - (2 * var(--c360-edge))), var(--c360-max));
  margin-inline: auto;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  border: var(--c360-border);
  border-radius: 999px;
  background: var(--c360-white);
  box-shadow: 4px 5px 0 #000;
  color: var(--c360-pink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.section-title {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: clamp(48px, 4.15vw, 72px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.section-copy {
  color: var(--c360-blue);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.35;
}

.button,
.btn,
.wpcf7-submit {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  border: var(--c360-border);
  border-radius: 999px;
  box-shadow: 4px 5px 0 #000;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.button:hover,
.btn:hover,
.wpcf7-submit:hover {
  transform: translate(1px, 2px);
  box-shadow: 3px 3px 0 #000;
  filter: saturate(1.08);
}

.button:active,
.btn:active,
.wpcf7-submit:active {
  transform: translate(4px, 5px);
  box-shadow: 0 0 0 #000;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 18px 0 10px;
  background: transparent;
  pointer-events: none;
}

body.admin-bar .site-header {
  top: 32px;
}

.nav-shell {
  pointer-events: auto;
  width: min(calc(100% - 92px), 1636px);
  min-height: 94px;
  margin-inline: auto;
  padding: 12px 34px 12px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border: var(--c360-border);
  border-radius: 52px;
  background: var(--c360-white);
  box-shadow: 5px 6px 0 #000;
}

.site-logo,
.custom-logo-link {
  flex: 0 0 auto;
}

.site-logo {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(25px, 2.15vw, 37px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.075em;
}

.site-logo-conecta { color: var(--c360-blue); }
.site-logo-360 { color: var(--c360-pink); }
.site-logo-dot {
  width: 10px;
  height: 10px;
  margin: 0 0 23px 5px;
  border-radius: 50%;
  background: var(--c360-yellow);
}

.site-logo img,
.custom-logo {
  width: 211px;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 1.35vw, 27px);
  margin-left: auto;
  font-size: 16px;
  font-weight: 700;
  list-style: none;
  margin-block: 0;
  padding-left: 0;
}

.primary-navigation {
  margin-left: auto;
}

.nav-links a {
  white-space: nowrap;
  transition: color 150ms ease;
}

.nav-links a:not(.button):not(.btn):not(.nav-cta):hover {
  color: var(--c360-pink);
}

.nav-links a:not(.button):not(.btn):not(.nav-cta).is-active {
  position: relative;
  color: var(--c360-pink);
}

.nav-links a:not(.button):not(.btn):not(.nav-cta).is-active::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--c360-pink);
  content: "";
}

.nav-links .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 229px;
  min-height: 60px;
  padding-inline: 28px;
  border: var(--c360-border);
  border-radius: 999px;
  background: var(--c360-pink);
  box-shadow: 4px 5px 0 #000;
  color: var(--c360-white);
}

.nav-links .nav-cta-access {
  min-width: 139px;
  background: var(--c360-green);
  color: var(--c360-ink);
}

.nav-links .nav-cta:hover {
  color: var(--c360-white);
  font-weight: 800;
  transform: translateY(-2px);
  box-shadow: 5px 7px 0 #000;
  filter: saturate(1.08);
}

.nav-links .nav-cta-access:hover {
  color: var(--c360-ink);
}

.nav-toggle > span[aria-hidden="true"] {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--c360-ink);
  transition: transform 180ms ease, opacity 140ms ease;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 10px;
  border: var(--c360-border);
  border-radius: 50%;
  background: var(--c360-yellow);
  box-shadow: 3px 4px 0 #000;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  z-index: 3;
  min-height: 0;
  padding: 18px 0 30px;
  background: var(--c360-soft);
}

.hero-grid {
  width: min(calc(100% - (2 * var(--c360-edge))), 1559px);
  min-height: 0;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(28px, 2.55vw, 44px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: start;
  padding-top: 12px;
}

.hero-copy .eyebrow,
.hero-copy .section-kicker {
  margin-bottom: 34px;
}

.hero-title-image {
  width: min(100%, 820px);
}

.hero-title-official {
  width: min(100%, 819px);
}

.hero-title-official .hero-title-image {
  width: 100%;
  aspect-ratio: 1638 / 704;
  object-fit: contain;
}

.hero-copy h1 {
  max-width: 820px;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: clamp(58px, 5vw, 88px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.06em;
}

.hero-copy h1 strong,
.hero-copy h1 .title-accent {
  color: var(--c360-pink);
}

.hero-copy h1 > span { display: inline-block; }

.hero-learning-line { white-space: nowrap; }

.hero-competencies {
  position: relative;
  color: var(--c360-pink);
}

.hero-competencies::before {
  display: inline-block;
  width: .92em;
  margin-right: .08em;
  aspect-ratio: 1;
  background: url("../images/branding/isotipo.png") center / contain no-repeat;
  content: "";
  vertical-align: -.08em;
}

.hero-purpose {
  position: relative;
  z-index: 0;
  color: var(--c360-pink);
}

.hero-purpose::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: -.08em;
  left: 0;
  height: .08em;
  border-radius: 50%;
  background: var(--c360-green);
  content: "";
  transform: rotate(-1deg);
}

.title-ring {
  position: relative;
  z-index: 0;
  isolation: isolate;
  color: inherit !important;
}

.title-ring::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -8% -9% -10%;
  border: 3px solid var(--c360-green);
  border-radius: 50%;
  transform: rotate(3deg);
}

.hero-copy p {
  max-width: 670px;
  margin-top: 30px;
  color: var(--c360-ink);
  font-size: 17px;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 34px;
}

.hero-actions .button:first-child,
.hero-actions .btn:first-child {
  min-width: 250px;
  background: var(--c360-blue);
  color: var(--c360-white);
}

.hero-actions .button:last-child,
.hero-actions .btn:last-child {
  min-width: 264px;
  background: var(--c360-pink);
  color: var(--c360-white);
}

/* The new Figma contains a single blue hero action. */
.hero-actions .button-primary {
  min-width: 250px;
  background: var(--c360-blue) !important;
  color: var(--c360-white) !important;
}

.hero-actions .button-secondary {
  min-width: 264px;
  background: var(--c360-pink);
  color: var(--c360-white);
}

.hero-visual {
  position: relative;
  align-self: start;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-visual > img {
  width: min(100%, 756px);
  max-height: 756px;
  aspect-ratio: 1512 / 1508;
  object-fit: contain;
  object-position: center bottom;
}

.brand-ribbon {
  position: relative;
  z-index: 6;
  width: 100%;
  min-height: 0;
  /*
   * Keep the diagonal overlapping the hero, but cap that overlap on wide
   * screens. A pure vw value climbed past 120px at desktop widths and the
   * ribbon's opaque canvas covered the speech-bubble tail in the hero art.
   */
  margin: clamp(-92px, -6.35vw, -48px) 0 0;
  display: block;
  overflow: hidden;
  transform: none;
  /*
   * The upper half overlaps the hero. It must stay transparent so the lower
   * edge of the hero artwork (especially the speech-bubble tail) remains
   * visible. The yellow polygon and the blue lower field still provide the
   * exact Figma transition.
   */
  background: linear-gradient(to bottom, transparent 0 50%, var(--c360-blue) 50% 100%);
  color: var(--c360-blue);
  height: auto;
  aspect-ratio: 3456 / 435;
  font-size: 0;
}

.brand-ribbon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c360-yellow);
  clip-path: polygon(0 46.21%, 100% 4.37%, 100% 53.33%, 0 95.17%);
}

.brand-ribbon-marquee {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: -2%;
  width: 104%;
  overflow: hidden;
  transform: translateY(-50%) rotate(-3.016deg);
}

.brand-ribbon-track {
  display: flex;
  width: max-content;
  align-items: center;
  will-change: transform;
  animation: ribbon-scroll 14s linear infinite;
}

.brand-ribbon-group {
  display: flex;
  flex: none;
  align-items: center;
  gap: clamp(28px, 2.35vw, 41px);
  padding-right: clamp(28px, 2.35vw, 41px);
}

.brand-ribbon-group img {
  width: auto;
  height: auto;
  flex: none;
  object-fit: contain;
}

.brand-ribbon-group .ribbon-item-1 { width: 18.5764vw; }
.brand-ribbon-group .ribbon-item-2 { width: 2.9803vw; }
.brand-ribbon-group .ribbon-item-3 { width: 17.7951vw; }
.brand-ribbon-group .ribbon-item-4 { width: 8.9699vw; }

.brand-ribbon-label {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--c360-blue);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(14px, 1.5vw, 26px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  width: auto !important;
  min-width: 8.9699vw;
  padding-inline: 1vw;
}

.brand-ribbon-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--c360-pink);
}

@keyframes ribbon-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-25%, 0, 0); }
}

/* Profile */
.profile {
  position: relative;
  z-index: 2;
  min-height: 960px;
  padding: 90px 0 52px;
  background: var(--c360-blue);
  color: var(--c360-white);
  text-align: center;
}

.profile .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-heading-official {
  width: min(100%, 1333px);
  aspect-ratio: 2666 / 572;
  object-fit: contain;
}

.profile > .section-inner > .eyebrow { margin-bottom: 42px; }

.profile-answer {
  margin-top: 30px;
  color: var(--c360-white);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(26px, 2vw, 34px);
  font-weight: 600;
  line-height: 1.05;
}

.profile-answer strong { color: var(--c360-yellow); }

.profile-body-official {
  width: min(100%, 854px);
  margin-top: 99px;
  aspect-ratio: 1708 / 236;
  object-fit: contain;
}

.profile-mobile-copy,
.pillars-mobile-copy { display: none; }

.profile .section-kicker,
.profile .eyebrow {
  color: var(--c360-blue);
}

.profile .section-title,
.profile h2 {
  max-width: 1500px;
  margin-top: 86px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(48px, 3.95vw, 68px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.profile .section-title::before,
.profile h2::before {
  content: "\2193";
  display: block;
  height: 0;
  color: var(--c360-green);
  font-size: 58px;
  font-weight: 400;
  transform: translateY(-70px);
}

.profile mark,
.profile em {
  display: inline-block;
  padding: 2px 16px 7px;
  border: var(--c360-border);
  border-radius: 8px;
  background: var(--c360-yellow);
  box-shadow: 4px 5px 0 #000;
  color: var(--c360-ink);
  font-style: normal;
}

.profile blockquote,
.profile .profile-copy,
.profile .section-intro {
  max-width: 940px;
  margin-top: 42px;
  font-size: 16px;
  line-height: 1.35;
}

.profile cite,
.profile .profile-source,
.profile .source-pill {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  margin-top: 24px;
  padding: 8px 28px;
  border: var(--c360-border);
  border-radius: 999px;
  background: var(--c360-white);
  box-shadow: 4px 5px 0 #000;
  color: var(--c360-pink);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.profile-cards {
  width: min(100%, 1136px);
  margin-top: 33px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
}

.profile-card,
.profile-cards > * {
  min-width: 0;
}

.profile-card img,
.profile-cards > * > img,
.profile-cards > img {
  width: 100%;
  aspect-ratio: 496 / 556;
  object-fit: contain;
}

/* Pillars */
.pillars {
  position: relative;
  min-height: 973px;
  padding: 40px 0 80px;
  background: var(--c360-soft);
}

.pillars-ring {
  position: absolute;
  z-index: 0;
  height: auto;
  pointer-events: none;
}

.pillars-ring-right { top: 42px; right: 0; width: 191px; }
.pillars-ring-left { bottom: 0; left: 0; width: 84px; }

.pillars .section-inner { position: relative; z-index: 1; }

.pillars-header,
.pillars-heading {
  position: relative;
  min-height: 237px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--c360-pink);
}

.pillars-heading-official {
  min-height: 313px;
  align-items: flex-start;
  padding: 0;
  border-bottom: 0;
}

.pillars-editable-heading {
  width: min(70%, 900px);
  align-self: flex-start;
}

.pillars-heading-art {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: auto;
  aspect-ratio: 3060 / 625;
  object-fit: contain;
}

.pillars-laptop {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: min(48%, 409px);
  max-height: 270px;
}

.pillars-laptop-frame {
  position: relative;
  z-index: 3;
  display: block;
  width: 88%;
  height: auto;
  margin-inline: auto;
}

.pillars-laptop-shape {
  position: absolute;
  z-index: 1;
  display: block;
}

.pillars-laptop-shape-pink {
  top: 13%;
  left: 1%;
  width: 27%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--c360-pink);
}

.pillars-laptop-shape-green {
  top: 2%;
  right: 2%;
  width: 36%;
  aspect-ratio: 1;
  border-radius: 14px;
  background: var(--c360-green);
  transform: rotate(31deg);
}

.pillars-laptop-shape-yellow {
  right: 0;
  bottom: 3%;
  left: 0;
  height: 31%;
  border-radius: 999px;
  background: var(--c360-yellow);
}

.pillars-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}

.pillars .section-title,
.pillars h2 {
  position: relative;
  isolation: isolate;
  max-width: 900px;
  margin-top: 0;
  font-size: clamp(50px, 3.7vw, 64px);
}

.pillars h2 > span:not(.title-ring) {
  color: var(--c360-pink);
}

.pillars .title-ring::after {
  z-index: -1;
  inset: -18% -11% -22%;
  border: 0;
  border-radius: 0;
  background: var(--pillars-title-ring) center / 100% 100% no-repeat;
  transform: none;
}

.pillars .title-ring {
  z-index: auto;
  display: inline-block;
  isolation: auto;
}

.pillars .title-ring-text {
  position: relative;
  z-index: 1;
}

.pillars .section-copy {
  max-width: 700px;
  margin-top: 30px;
}

.pillars-decoration {
  position: absolute;
  top: -60px;
  right: 0;
  width: min(48%, 818px);
}

.pillars-heading > img {
  width: min(48%, 409px);
  max-height: 270px;
  object-fit: contain;
  object-position: right bottom;
}

.pillars-heading > img.pillars-heading-art {
  width: 100%;
  max-height: none;
  object-position: left top;
}

.pillars-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 70px;
}

.pillar-card,
.pillars-grid > article {
  min-height: 183px;
  padding: 26px 30px 22px;
  border: var(--c360-border);
  border-radius: 18px;
  background: var(--c360-white);
  box-shadow: 4px 5px 0 #000;
}

.pillar-card-header,
.pillar-card-heading {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  column-gap: 18px;
  padding-bottom: 19px;
  border-bottom: 2px solid var(--c360-ink);
  text-align: left;
}

.pillar-number,
.pillar-card-heading > span {
  display: flex;
  width: 64px;
  height: 50px;
  align-items: center;
  justify-content: flex-end;
  color: var(--c360-blue);
  font-size: 50px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: left;
  transform-origin: left center;
  white-space: nowrap;
}

.pillar-number-image {
  display: block;
  width: auto;
  height: 37px;
  object-fit: contain;
}

.pillar-number-04 .pillar-number-image {
  display: none;
}

.pillar-number-04::before {
  width: 61.32px;
  height: 37px;
  background: currentColor;
  content: "";
  -webkit-mask: var(--pillar-number-04) center / 100% 100% no-repeat;
  mask: var(--pillar-number-04) center / 100% 100% no-repeat;
}

.pillar-pink .pillar-card-heading > span { color: var(--c360-pink); }
.pillar-yellow .pillar-card-heading > span { color: var(--c360-yellow); }
.pillar-green .pillar-card-heading > span { color: var(--c360-green); }

.pillar-card h3,
.pillars-grid article h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  line-height: 1.02;
  text-align: left;
}

.pillar-card p,
.pillars-grid article p {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.25;
  text-align: center;
}

.pillars-answer {
  width: max-content;
  margin: 0 0 34px;
  background: var(--c360-white);
  color: var(--c360-pink);
}

.pillars-answer strong { color: var(--c360-pink); }

/* Experience */
.experience {
  min-height: 0;
  padding: 80px 0 38px;
  background: var(--c360-white);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(36px, 2.55vw, 44px);
}

.experience .section-title,
.experience h2 {
  max-width: 760px;
  margin-top: 35px;
  font-size: clamp(48px, 3.9vw, 68px);
  line-height: 1.02;
}

.experience .section-title strong,
.experience h2 strong,
.experience h2 > span:not(.experience-star) {
  color: var(--c360-pink);
}

.experience .experience-star {
  color: var(--c360-green);
  font-weight: 400;
}

.experience h2 mark {
  display: inline-block;
  padding: 0 12px 5px;
  border: var(--c360-border);
  border-radius: 7px;
  background: var(--c360-blue);
  box-shadow: 4px 5px 0 #000;
  color: #fff;
}

.subject-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(8, minmax(48px, auto));
  grid-auto-flow: column;
  gap: 16px 38px;
  padding-left: 0;
  list-style: none;
}

.subject-item,
.subject-grid > * {
  min-height: 48px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  border: var(--c360-border);
  border-radius: 12px;
  background: var(--c360-white);
  box-shadow: 3px 4px 0 #000;
  overflow: hidden;
  font-size: 13px;
}

.subject-number,
.subject-grid > li > span {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c360-yellow);
  color: var(--c360-ink);
  font-size: 17px;
  font-weight: 700;
}

.subject-grid > li {
  column-gap: 16px;
  padding-right: 14px;
  text-align: left;
}

.subject-grid > li:nth-child(2),
.subject-grid > li:nth-child(6),
.subject-grid > li:nth-child(10),
.subject-grid > li:nth-child(14) { --subject-color: var(--c360-pink); }
.subject-grid > li:nth-child(3),
.subject-grid > li:nth-child(7),
.subject-grid > li:nth-child(11),
.subject-grid > li:nth-child(15) { --subject-color: var(--c360-green); }
.subject-grid > li:nth-child(4),
.subject-grid > li:nth-child(8),
.subject-grid > li:nth-child(12) { --subject-color: var(--c360-blue); }
.subject-grid > li > span {
  background: var(--subject-color, var(--c360-yellow));
  color: #fff;
}
.subject-grid > li:nth-child(1) > span,
.subject-grid > li:nth-child(5) > span,
.subject-grid > li:nth-child(9) > span,
.subject-grid > li:nth-child(13) > span { color: var(--c360-ink); }

.subject-item:nth-child(4n+2) .subject-number,
.subject-item:nth-child(4n+3) .subject-number { background: var(--c360-pink); color: #fff; }
.subject-item:nth-child(4n+4) .subject-number { background: var(--c360-blue); color: #fff; }
.subject-item:nth-child(4n+1):not(:first-child) .subject-number { background: var(--c360-green); color: #fff; }

.subject-name {
  padding: 8px 14px;
}

.experience-collage {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.experience-collage.experience-collage-new {
  min-height: 0;
  width: min(100%, 742px);
  aspect-ratio: 1 / 1;
  justify-self: center;
  isolation: isolate;
}

.experience-collage-new > img {
  position: absolute;
  max-height: none;
  object-fit: contain;
}

.experience-collage-new .experience-shape { z-index: 1; width: 32%; }
.experience-collage-new .experience-icon-yellow { z-index: 1; width: 32%; left: 2%; top: 0; }
.experience-collage-new .experience-shape-green { left: 0; top: 34%; }
.experience-collage-new .experience-shape-yellow { left: 34%; top: 34%; }
.experience-collage-new .experience-shape-pink { right: 0; top: 34%; }
.experience-collage-new .experience-shape-blue { right: 0; top: 0; }
.experience-collage-new .experience-shape-green,
.experience-collage-new .experience-shape-yellow,
.experience-collage-new .experience-shape-pink,
.experience-collage-new .experience-shape-white,
.experience-collage-new .experience-shape-blue {
  z-index: 3;
  mix-blend-mode: multiply;
}
.experience-collage-new .experience-shape-white {
  width: 66%;
  right: 0;
  bottom: 0;
}
.experience-collage-new .experience-student-new { z-index: 2; width: 80%; right: 4%; bottom: 0; }
.experience-collage-new .experience-bubble { z-index: 4; width: 28%; }
.experience-bubble-pink { left: 8%; top: 42%; }
.experience-bubble-blue { right: -6%; top: 8%; }
.experience-bubble-green { right: 4%; top: 58%; }
.experience-bubble-yellow { left: 2%; bottom: 9%; }

.experience-collage > img {
  width: min(100%, 710px);
  max-height: 800px;
  object-fit: contain;
}

.experience-main-photo {
  position: absolute;
  z-index: 2;
  left: 3%;
  bottom: 6%;
  width: 63%;
}

.experience-main-photo > img,
.experience-classroom-photo > img {
  width: 100%;
  border: var(--c360-border);
  border-radius: 20px;
  object-fit: cover;
}

.experience-main-photo > img { aspect-ratio: 828 / 992; }
.experience-classroom-photo > img { aspect-ratio: 1 / 1; }

.experience-main-photo::after,
.experience-classroom-photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 26px;
}

.experience-main-photo::after {
  width: 180px;
  height: 190px;
  right: -90px;
  bottom: -55px;
  background: var(--c360-blue);
}

.experience-classroom-photo {
  position: absolute;
  z-index: 3;
  top: 7%;
  right: 2%;
  width: 49%;
}

.experience-classroom-photo::before {
  width: 180px;
  height: 180px;
  left: -80px;
  top: -60px;
  border-radius: 50%;
  background: var(--c360-yellow);
}

.speech {
  position: absolute;
  z-index: 5;
  max-width: 220px;
  padding: 18px 22px;
  border: var(--c360-border);
  border-radius: 12px;
  box-shadow: 4px 5px 0 #000;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.16;
  text-align: center;
}

.experience .speech::after,
.plans-book .speech::after {
  content: "";
  position: absolute;
  bottom: -13px;
  left: 50%;
  width: 22px;
  height: 22px;
  border-right: var(--c360-border);
  border-bottom: var(--c360-border);
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
}

.speech-pink { top: -13%; right: -9%; background: var(--c360-pink); color: #fff; }
.speech-green { right: -31%; bottom: 27%; background: var(--c360-green); color: #fff; }
.speech-yellow { left: -22%; bottom: -8%; background: var(--c360-yellow); color: var(--c360-ink); }
.speech-blue { top: -12%; right: -14%; background: var(--c360-blue); color: #fff; }

/* Technology */
.technology {
  position: relative;
  z-index: 2;
  min-height: 0;
  padding: 70px 0 58px;
  overflow: visible;
  background: var(--c360-soft);
  text-align: center;
}

.technology::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 920px;
  height: 920px;
  top: 0;
  left: 50%;
  border-radius: 50%;
  background: #f0f0f0;
  transform: translateX(-50%);
}

.technology-rings {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

.technology-heading-official {
  width: min(100%, 930px);
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.technology-heading-official > img:first-child {
  width: min(calc(100% - 95px), 821px);
}

.technology-heading-official .technology-arrow {
  width: 75px;
  flex: 0 0 75px;
}

.technology-callout-official {
  position: relative;
  width: min(100%, 375px);
  margin: 46px auto 0;
}

.technology-callout-official img {
  display: block;
  width: 100%;
}

.technology-callout-official span {
  position: absolute;
  inset: 0 0 auto;
  height: 64%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: var(--c360-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.technology .section-inner {
  position: relative;
  z-index: 1;
}

.technology .section-title,
.technology h2 {
  max-width: 1050px;
  margin: 52px auto 0;
  font-size: clamp(52px, 3.7vw, 64px);
}

.technology .section-title strong,
.technology h2 strong,
.technology h2 > span {
  color: var(--c360-pink);
}

.technology .section-copy {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--c360-ink);
}

.technology-callout {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-width: 400px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  margin-top: 74px;
  padding: 12px 30px;
  border: var(--c360-border);
  border-radius: 10px;
  background: var(--c360-yellow);
  box-shadow: 4px 5px 0 #000;
  font-size: 20px;
  font-weight: 700;
}

.technology-callout::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: calc(50% - 14px);
  width: 28px;
  height: 28px;
  border-right: var(--c360-border);
  border-bottom: var(--c360-border);
  background: var(--c360-yellow);
  transform: rotate(45deg);
}

.technology-cards {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.1vw, 50px);
}

.benefit-bar-official {
  width: min(100%, 1250px);
  margin: 52px auto 0;
}

.benefit-bar-official img { width: 100%; }

.technology-card,
.technology-cards > * {
  min-width: 0;
}

.technology-card {
  margin: 0;
  overflow: hidden;
  border: var(--c360-border);
  border-radius: 18px;
  background: var(--c360-white);
  box-shadow: 4px 5px 0 #000;
}

.technology-card img,
.technology-cards > * > img,
.technology-cards > img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  border-bottom: var(--c360-border);
}

.technology-card figcaption {
  min-height: clamp(78px, 6.3vw, 102px);
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c360-white);
  font-size: clamp(18px, 1.45vw, 25px);
  font-weight: 700;
  line-height: 0.98;
  text-align: center;
  text-wrap: balance;
}

.technology-card--green figcaption {
  background: var(--c360-green);
}

.technology-card--blue figcaption {
  background: var(--c360-blue);
}

.technology-card--pink figcaption {
  background: var(--c360-pink);
}

.benefit-bar {
  width: min(100%, 1328px);
  min-height: 132px;
  margin: 62px auto 0;
  padding: 24px 56px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 50px;
  border: var(--c360-border);
  border-radius: 20px;
  background: #dedee0;
  box-shadow: 4px 5px 0 #000;
  text-align: left;
}

.benefit-item,
.benefit-bar > * {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
}

.benefit-item img,
.benefit-icon {
  width: 58px;
  flex: 0 0 58px;
}

.benefit-icon {
  position: relative;
  height: 58px;
  border: var(--c360-border);
  border-radius: 9px;
  background: var(--c360-yellow);
  box-shadow: 3px 4px 0 #000;
}

.benefit-notification::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 14px;
  width: 20px;
  height: 22px;
  border: 3px solid var(--c360-ink);
  border-bottom: 0;
  border-radius: 12px 12px 3px 3px;
}

.benefit-video::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 14px;
  width: 29px;
  height: 22px;
  border-radius: 3px;
  background: var(--c360-ink);
}

.benefit-video::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 20px;
  border-left: 8px solid var(--c360-yellow);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* Plans */
.plans {
  position: relative;
  z-index: 1;
  min-height: 0;
  padding: 60px 0;
  background: var(--c360-white);
}

.plans-title-official {
  position: relative;
  width: min(100%, 749px);
  margin-top: 42px;
}

.plans-title-official > img:first-child { width: 100%; }
.plans-title-ring {
  position: absolute;
  z-index: 2;
  width: 42.1%;
  left: 16.3%;
  top: 35%;
}

.plans-header,
.plans-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  gap: 60px;
}

.plans .section-title,
.plans h2 {
  max-width: 810px;
  margin-top: 42px;
  font-size: clamp(46px, 3.6vw, 64px);
  line-height: 1.04;
}

.plans .section-title strong,
.plans h2 strong,
.plans-title-accent {
  color: var(--c360-pink);
}

.plans-title-line {
  display: block;
  white-space: nowrap;
}

.plans-title-ring-word {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.plans-title-ring-word::after {
  position: absolute;
  z-index: -1;
  inset: -18% -10% -22%;
  background: var(--plans-editable-title-ring) center / 100% 100% no-repeat;
  content: "";
  pointer-events: none;
}

.plans-intro-visual img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.plans-book {
  position: relative;
  isolation: isolate;
  padding-top: 55px;
}

.plans-book > .plans-book-image {
  position: relative;
  z-index: 2;
  width: 100%;
  max-height: 235px;
  aspect-ratio: 1065 / 233;
  object-fit: contain;
  border-bottom: 2px solid var(--c360-blue);
}

.plans-book > .plans-book-decoration {
  position: absolute;
  z-index: 1;
  height: auto;
  pointer-events: none;
}

.plans-book-decoration-blue {
  top: 42px;
  left: 11%;
  width: 18%;
}

.plans-book-decoration-pink {
  top: -28px;
  right: -1%;
  width: 18%;
}

.plans-book > p:last-child {
  margin-top: 28px;
  color: var(--c360-ink);
  font-size: 16px;
  line-height: 1.35;
}

.plans-book .speech {
  z-index: 3;
  top: 0;
  right: 4%;
  max-width: none;
  background: #fff;
  color: var(--c360-ink);
  white-space: nowrap;
}

.plans-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 74px;
}

.plan-card,
.plans-grid > * {
  position: relative;
  min-width: 0;
  min-height: clamp(235px, 18vw, 290px);
}

.plan-card-panel {
  position: absolute;
  inset: 4% 0 4% 7%;
  border: 2px solid var(--c360-ink);
  border-radius: 24px;
  background: #244db8;
  box-shadow: 4px 5px 0 #000;
}

.plan-book .plan-card-panel {
  background: var(--c360-yellow);
}

.plan-card-photo {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: -11%;
  width: 34%;
  height: auto;
  transform: translateY(-50%);
}

.plan-card-copy {
  position: absolute;
  inset: 11% 5% 10% 27%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.plan-book .plan-card-copy {
  color: var(--c360-ink);
}

.plan-card-kicker {
  margin: 0 0 7px;
  font-size: clamp(11px, .75vw, 14px);
  font-weight: 700;
  line-height: 1.1;
}

.plan-card-copy h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(18px, 1.45vw, 26px);
  font-weight: 700;
  line-height: 1.02;
}

.plan-card-features {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 13px 0 0;
  border-top: 1.5px solid currentColor;
  list-style: none;
}

.plan-card-features li {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  font-size: clamp(11px, .82vw, 15px);
  line-height: 1.2;
}

.plan-card-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 5px;
  background: var(--c360-yellow);
  color: var(--c360-ink);
}

.plan-book .plan-card-icon {
  background: var(--c360-blue);
  color: #fff;
}

.plan-card-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.plans-banner {
  position: relative;
  z-index: 4;
  width: min(calc(100% - 48px), 1250px);
  min-height: 180px;
  margin: 18px auto -150px;
}

.plans-banner-panel {
  position: absolute;
  inset: 28px 0 22px;
  z-index: 1;
  display: flex;
  align-items: center;
  border: var(--c360-border);
  border-radius: 22px;
  background: var(--c360-pink);
  box-shadow: 4px 5px 0 #000;
  color: #fff;
}

.plans-banner-copy {
  display: grid;
  gap: 2px;
  width: 80%;
  margin: 0;
  padding: 24px 48px;
  line-height: 1.08;
}

.plans-banner-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(18px, 1.5vw, 24px);
}

.plans-banner-copy span {
  font-size: clamp(12px, .95vw, 16px);
  font-weight: 700;
}

.plans-banner-shape {
  position: absolute;
  z-index: 2;
  display: block;
}

.plans-banner-shape-blue {
  top: 0;
  right: 14%;
  width: 62px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--c360-blue);
}

.plans-banner-shape-green {
  right: 2%;
  bottom: 0;
  width: 72px;
  height: 76px;
  border-radius: 17px;
  background: var(--c360-green);
}

.plans-banner-device {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 1.5%;
  width: min(19%, 235px);
  height: auto;
  transform: translateY(-50%);
}

/* Contact */
.contact {
  min-height: 916px;
  padding: 136px 0 96px;
  background: var(--c360-blue);
  color: var(--c360-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 819px) minmax(500px, 641px);
  align-items: center;
  justify-content: space-between;
  gap: 68px;
}

.contact-copy h2 {
  max-width: 830px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(62px, 5.35vw, 92px);
  font-weight: 700;
  line-height: .94;
  letter-spacing: -.055em;
}

.contact-copy > img {
  width: min(100%, 820px);
  aspect-ratio: 1626 / 704;
  object-fit: contain;
}

.contact-copy h2 strong,
.contact-copy h2 span {
  color: var(--c360-yellow);
}

.contact-copy p {
  max-width: 700px;
  margin-top: 62px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.contact-actions { margin-top: 34px; }

.contact-brochure {
  border-color: var(--c360-ink);
  background: var(--c360-pink);
  color: var(--c360-white);
}

.contact-brochure.is-placeholder {
  cursor: default;
  opacity: .78;
}

.contact-form {
  min-width: 0;
  min-height: 658px;
  padding: 46px 48px 42px;
  border: var(--c360-border);
  border-radius: 22px;
  background: var(--c360-white);
  box-shadow: 14px 16px 0 #000;
  color: var(--c360-ink);
}

.contact-form h2,
.contact-form h3,
.contact-form-title {
  margin-bottom: 30px;
  color: var(--c360-pink);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(18px, 5vw, 34px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.025em;
  text-align: left;
}

.contact-form-title-line {
  display: block;
  white-space: nowrap;
}

.contact-form .form-grid,
.contact-form-grid,
.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.contact-form-preview {
  display: grid;
  gap: 22px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.contact-form .form-field,
.contact-form-grid > p,
.contact-form form > p {
  margin: 0;
}

.contact-form__field {
  min-width: 0;
}

.contact-form__field--wide {
  grid-column: 1 / -1;
}

.contact-form__actions {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.contact-form .form-field--full,
.contact-form .full,
.contact-form-grid > p:first-child,
.contact-form-grid > p:nth-child(2),
.contact-form-grid > p:last-child {
  grid-column: 1 / -1;
}

.contact-form label {
  display: block;
  color: var(--c360-blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.contact-form label > input,
.contact-form label > select,
.contact-form label > textarea {
  display: block;
  margin-top: 7px;
}

.contact-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 7px;
}

.contact-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 38px;
  padding: 7px 12px;
  border: 1.5px solid var(--c360-ink);
  border-radius: 4px;
  background: var(--c360-field);
  color: var(--c360-ink);
  font-size: 11.5px;
  line-height: 1.25;
  outline: 0;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.contact-form textarea {
  min-height: 92px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--c360-pink);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(230, 0, 70, .14);
}

.contact-form ::placeholder {
  color: rgba(17, 20, 27, .68);
  opacity: 1;
}

.contact-form .wpcf7-not-valid {
  border-color: var(--c360-pink) !important;
  background: #fff2f6 !important;
}

.contact-form .wpcf7-not-valid-tip {
  margin-top: 5px;
  color: var(--c360-pink);
  font-size: 12px;
  font-weight: 700;
}

.contact-form .submit-row,
.contact-form form > p:last-of-type {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form .wpcf7-submit {
  min-width: 340px;
  min-height: 54px;
  border: var(--c360-border);
  background: var(--c360-yellow);
  color: var(--c360-ink);
}

.contact-submit {
  min-width: 340px;
  margin: 10px auto 0;
  background: var(--c360-yellow);
  color: var(--c360-ink);
}

.contact-submit:disabled {
  cursor: not-allowed;
  opacity: .72;
}

.contact-form-note {
  margin-top: 20px;
  color: #5d6470;
  font-size: 12px;
  text-align: right;
}

.contact-form .wpcf7-spinner {
  margin: 0 0 0 14px;
  background: var(--c360-blue);
}

.contact-form .contact-form__actions .wpcf7-spinner {
  position: absolute;
  top: calc(50% + 5px);
  right: 9px;
  margin: 0;
  transform: translateY(-50%);
}

.contact-form .wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 12px 16px !important;
  border: 2px solid var(--c360-blue) !important;
  border-radius: 8px;
  color: var(--c360-ink);
  font-size: 13px;
  font-weight: 700;
}

.contact-form form.sent .wpcf7-response-output {
  border-color: var(--c360-green) !important;
  background: #f3fae7;
}

.contact-form form.invalid .wpcf7-response-output,
.contact-form form.failed .wpcf7-response-output,
.contact-form form.unaccepted .wpcf7-response-output {
  border-color: var(--c360-pink) !important;
  background: #fff2f6;
}

/* Footer */
.site-footer {
  min-height: 0;
  padding: 0;
  display: block;
  background: var(--c360-pink);
  color: var(--c360-white);
}

.footer-art-shell {
  position: relative;
  width: 100%;
}

.footer-art {
  display: block;
  width: 100%;
  height: auto;
}

.footer-brand-update {
  position: absolute;
  z-index: 1;
  inset: 0 50% 0 0;
  background: var(--c360-pink);
}

.footer-brand-lockup {
  position: absolute;
  top: 13%;
  left: 11.8%;
  display: block;
  width: 44%;
  height: auto;
}

.footer-brand-santillana {
  position: absolute;
  top: 17%;
  left: 59%;
  display: block;
}

.footer-brand-santillana img {
  display: block;
  width: clamp(105px, 10vw, 318px);
  height: auto;
}

.footer-brand-santillana:focus-visible,
.footer-mobile-santillana:focus-visible {
  outline: 3px solid var(--c360-yellow);
  outline-offset: 4px;
}

.footer-hotspot {
  position: absolute;
  z-index: 2;
  display: block;
  border-radius: 8px;
}

.footer-hotspot:focus-visible {
  outline: 3px solid var(--c360-yellow);
  outline-offset: 4px;
}

.footer-hotspot-instagram { left: 51.5%; top: 17%; width: 4%; height: 22%; }
.footer-hotspot-linkedin { left: 55.7%; top: 17%; width: 4%; height: 22%; }
.footer-hotspot-facebook { left: 59.8%; top: 17%; width: 4%; height: 22%; }
.footer-hotspot-phone { left: 51%; top: 45%; width: 22%; height: 18%; }

.footer-mobile { display: none; }

.site-footer {
  border-top: 10px solid var(--c360-blue);
}

/* Purposeful section entrances. Hidden states only apply after JS opts in. */
html.motion-enabled [data-reveal] {
  --reveal-delay: 0ms;
  --reveal-duration: 820ms;
  --reveal-slide: clamp(72px, 7vw, 112px);
  opacity: 0;
  translate: 0 58px;
  scale: 1;
  will-change: opacity, translate, scale;
  transition:
    opacity var(--reveal-duration) cubic-bezier(.22, 1, .36, 1) var(--reveal-delay),
    translate var(--reveal-duration) cubic-bezier(.22, 1, .36, 1) var(--reveal-delay),
    scale var(--reveal-duration) cubic-bezier(.22, 1, .36, 1) var(--reveal-delay),
    transform 260ms cubic-bezier(.22, 1, .36, 1),
    filter 260ms ease;
}

html.motion-enabled [data-reveal="from-left"] {
  translate: calc(-1 * var(--reveal-slide)) 0;
}

html.motion-enabled [data-reveal="from-right"] {
  translate: var(--reveal-slide) 0;
  scale: .985;
}

html.motion-enabled [data-reveal="from-top"] {
  translate: 0 -42px;
}

html.motion-enabled [data-reveal="scale"] {
  translate: 0 0;
  scale: .975;
}

html.motion-enabled [data-reveal="fade"] {
  translate: 0 0;
}

html.motion-enabled [data-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

/* Repeated elements leave without replaying their entrance stagger. */
html.motion-enabled [data-reveal][data-reveal-repeat="true"]:not(.is-visible) {
  transition-delay: 0ms;
}

html.motion-enabled .experience-collage-new.is-visible .experience-bubble {
  animation: bubble-arrive 720ms cubic-bezier(.34, 1.56, .64, 1) both;
}

html.motion-enabled .experience-collage-new.is-visible .experience-bubble-blue { animation-delay: 260ms; }
html.motion-enabled .experience-collage-new.is-visible .experience-bubble-pink { animation-delay: 380ms; }
html.motion-enabled .experience-collage-new.is-visible .experience-bubble-green { animation-delay: 500ms; }
html.motion-enabled .experience-collage-new.is-visible .experience-bubble-yellow { animation-delay: 620ms; }

@keyframes bubble-arrive {
  from { opacity: 0; translate: 0 18px; scale: .82; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}

@media (hover: hover) {
  .profile-card,
  .pillar-card,
  .technology-card,
  .plans-grid > * {
    transition: transform 260ms cubic-bezier(.22, 1, .36, 1), filter 260ms ease;
  }

  .profile-card:hover,
  .technology-card:hover,
  .plans-grid > *:hover { transform: translateY(-9px) rotate(-.35deg); filter: saturate(1.06); }
  .pillar-card:hover { transform: translateY(-7px); }
  .experience-bubble { transition: transform 220ms ease; }
  .experience-bubble:hover { transform: translateY(-7px) scale(1.025); }
  .nav-links > li > a:not(.nav-cta) { position: relative; }
  .nav-links > li > a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -7px;
    height: 2px;
    background: var(--c360-pink);
    transition: right 200ms ease;
  }
  .nav-links > li > a:not(.nav-cta):hover::after { right: 0; }
}

@media (max-width: 768px) {
  html.motion-enabled [data-reveal],
  html.motion-enabled [data-reveal="from-left"],
  html.motion-enabled [data-reveal="from-right"],
  html.motion-enabled [data-reveal="from-top"] {
    translate: 0 22px;
  }

  html.motion-enabled [data-reveal="scale"] {
    translate: 0 0;
    scale: .985;
  }

  html.motion-enabled [data-reveal="fade"] {
    translate: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
