:root {
  --indigo: #575edb;
  --blue: #5572f2;
  --ink: #1a1e30;
  --sky: #dff1ff;
  --brand-sky: #acdaff;
  --violet: #40376e;
  --vivid-violet: #5e17eb;
  --pink: #ff5ec2;
  --yellow: #feda3b;
  --cream: #fff7d9;
  --white: #ffffff;

  --display: "Archivo Black", "Poppins", sans-serif;
  --heading: "Poppins", sans-serif;
  --body: "Fira Sans", sans-serif;

  --max: 1180px;
  --radius-xl: 42px;
  --shadow: 0 28px 70px rgba(26, 30, 48, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body);
  font-size: 1.06rem;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

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

:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

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

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--white);
}

.site-header.is-scrolled {
  position: fixed;
  background: rgba(64, 55, 110, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(26, 30, 48, 0.12);
}

.nav-shell {
  width: min(calc(100% - 40px), var(--max));
  min-height: 84px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  width: 54px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  font-family: var(--heading);
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.menu-toggle {
  display: none;
}

/* Shared */
.section {
  position: relative;
  padding: clamp(5.5rem, 10vw, 9rem) 1.25rem;
}

.section--sky {
  background: var(--sky);
}

.section--cream {
  background: var(--cream);
}

.content-grid,
.section-heading,
.work-grid,
.resource-grid,
.eight-bit__inner,
.now__title,
.now__items {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.kicker,
.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--violet);
  font-family: var(--heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.kicker--yellow {
  color: var(--yellow);
}

.section-title {
  margin: 0;
  color: var(--violet);
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.section-title--giant {
  font-size: clamp(4rem, 9vw, 8.2rem);
}

.section-title--light {
  color: var(--white);
}

.section-intro {
  max-width: 700px;
  margin: 1.25rem 0 0;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.lead {
  margin: 1.3rem 0;
  color: var(--violet);
  font-family: var(--heading);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 600;
  line-height: 1.45;
}

.lead--light {
  color: var(--white);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.78rem 1.3rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--heading);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button--yellow {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(254, 218, 59, 0.24);
}

.button--ghost {
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.text-link {
  display: inline-flex;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--violet);
  font-family: var(--heading);
  font-weight: 800;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.section-flower {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.section-flower--right {
  right: -28px;
  bottom: -12px;
  width: clamp(140px, 18vw, 270px);
}

.section-flower--left {
  left: -70px;
  top: 40px;
  width: clamp(150px, 17vw, 255px);
  transform: rotate(-12deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(920px, 100svh);
  padding: clamp(8rem, 12vw, 10rem) 1.25rem 5rem;
  overflow: hidden;
  background: var(--indigo);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 52px;
  background: var(--sky);
  clip-path: polygon(0 70%, 18% 32%, 42% 67%, 68% 24%, 100% 68%, 100% 100%, 0 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
}

.hero .eyebrow {
  color: var(--white);
  font-size: clamp(0.78rem, 1.5vw, 1rem);
}

.hero .eyebrow span {
  color: var(--yellow);
}

.display-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.5rem, 9.5vw, 8.8rem);
  line-height: 0.82;
  letter-spacing: -0.07em;
}

.display-title span {
  display: block;
}

.hero__tagline {
  margin: 1.5rem 0 0;
  color: var(--yellow);
  font-family: var(--heading);
  font-size: clamp(1.7rem, 3vw, 2.9rem);
  font-weight: 800;
  line-height: 1.12;
}

.hero__intro {
  max-width: 610px;
  margin: 1.2rem 0 0 10rem;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.hero__portrait {
  display: flex;
  justify-content: center;
}

.portrait-shape {
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.portrait-shape::after {
  display: none;
}

.portrait-shape img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.flower {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.flower--hero-left {
  width: clamp(220px, 25vw, 390px);
  left: max(-150px, -8vw);
  right: auto;
  bottom: -55px;
  transform: rotate(-18deg);
  z-index: 1;
}

.flower--hero-right-top {
  width: clamp(180px, 19vw, 290px);
  right: -34px;
  top: 112px;
  transform: rotate(248deg);
  z-index: 3;
}

.flower--hero-right {
  width: clamp(120px, 14vw, 205px);
  right: 12px;
  bottom: 34px;
  transform: rotate(10deg);
  z-index: 3;
}

.flower--hero-soft {
  width: clamp(100px, 11vw, 165px);
  right: 280px;
  bottom: 28px;
  opacity: 0.92;
  z-index: 3;
}

/* About */
.content-grid--about {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}

.about-preview__image img {
  width: 100%;
  border-radius: 38% 62% 54% 46% / 48% 42% 58% 52%;
  box-shadow: var(--shadow);
}

.about-preview__copy p:not(.kicker):not(.lead) {
  max-width: 650px;
}

.about-preview {
  position: relative;
  z-index: 6;
}

.about-preview::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -34px;
  height: 44px;
  background: var(--sky);
  z-index: 0;
}

.about-preview > * {
  position: relative;
  z-index: 1;
}


/* Work */
.work {
  overflow: hidden;
}

.work__flower {
  left: auto;
  right: -70px;
  top: 40px;
  width: clamp(150px, 17vw, 255px);
  transform: rotate(12deg);
}

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

.work-grid {
  position: relative;
  z-index: 1;
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 2px solid rgba(64,55,110,0.18);
}

.work-item {
  position: relative;
  min-height: 290px;
  padding: 2.2rem clamp(1rem, 3vw, 3rem) 2.4rem 0;
  border-bottom: 2px solid rgba(64,55,110,0.18);
}

.work-item:nth-child(odd) {
  border-right: 2px solid rgba(64,55,110,0.18);
}

.work-item:nth-child(even) {
  padding-left: clamp(1rem, 3vw, 3rem);
}

.work-number {
  color: var(--pink);
  font-family: var(--display);
  font-size: 0.9rem;
}

.work-item h3 {
  max-width: 460px;
  margin: 0.75rem 0;
  color: var(--violet);
  font-family: var(--heading);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.work-item p {
  max-width: 500px;
}

.work-item a {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--violet);
  font-family: var(--heading);
  font-weight: 800;
  text-underline-offset: 4px;
}

.work-item--toggle {
  cursor: pointer;
}

.work-accordion-control {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.work-accordion-control:focus-visible ~ .work-grid .work-item--toggle {
  outline: 4px solid var(--yellow);
  outline-offset: 6px;
}

.work-toggle-link--close {
  display: none !important;
}

.work-accordion {
  display: none;
}

.work-accordion-control:checked ~ .work-accordion {
  display: block;
}

.work-accordion-control:checked ~ .work-grid .work-toggle-link--open {
  display: none !important;
}

.work-accordion-control:checked ~ .work-grid .work-toggle-link--close {
  display: inline-block !important;
}

.work-item--toggle:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 6px;
}


.work-accordion {
  width: min(100%, var(--max));
  margin: 1.25rem auto 0;
}

.work-accordion__inner {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 2px solid rgba(64,55,110,0.18);
  border-radius: 30px;
  background: rgba(255,255,255,0.65);
}

.work-accordion__title {
  margin: 0;
  color: var(--violet);
  font-family: var(--heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.work-accordion__intro {
  max-width: 780px;
  margin: 0.9rem 0 1.5rem;
}

.work-article-list {
  display: grid;
  gap: 0;
}

.work-article-list__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid rgba(64,55,110,0.18);
}

.work-article-list__item:first-child {
  border-top: 0;
}

.work-article-list__item h4 {
  margin: 0.2rem 0 0;
  color: var(--violet);
  font-family: var(--heading);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.3;
}

.work-article-list__item a {
  color: var(--violet);
  font-family: var(--heading);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Values */
.values {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 11vw, 9rem) 1.25rem;
  background: var(--pink);
  color: var(--ink);
}

.values__inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.values__word {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 10vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.values__word:nth-child(2) {
  margin-left: 7vw;
  color: var(--white);
}

.values__word:nth-child(3) {
  margin-left: 17vw;
  color: var(--yellow);
}

.values__caption {
  max-width: 560px;
  margin: 2.5rem 0 0 auto;
  font-family: var(--heading);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
}

.values__flower {
  position: absolute;
  pointer-events: none;
}

.values__flower--one {
  width: clamp(150px, 18vw, 260px);
  left: -45px;
  bottom: -40px;
}

.values__flower--two {
  width: clamp(160px, 20vw, 300px);
  right: -40px;
  top: 20px;
  transform: rotate(8deg);
}

/* Resources */
.resources {
  overflow: hidden;
}

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

.section-heading--center .section-intro {
  margin-inline: auto;
}

.resource-grid {
  position: relative;
  z-index: 2;
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.resource-card {
  position: relative;
  min-height: 240px;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  border: 2px solid rgba(64,55,110,0.12);
  border-radius: 30px;
  background: rgba(255,255,255,0.76);
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(26,30,48,0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.resource-card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  border-color: var(--pink);
  box-shadow: 0 22px 48px rgba(26,30,48,0.11);
}

.resource-card:nth-child(even):hover {
  transform: translateY(-6px) rotate(0.4deg);
}

.resource-card--wide {
  grid-column: 1 / -1;
}

.resource-card__mark {
  color: var(--pink);
  font-family: var(--display);
  font-size: 0.85rem;
}

.resource-card h3 {
  margin: 1.4rem 0 0.7rem;
  color: var(--violet);
  font-family: var(--heading);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.resource-card p {
  max-width: 620px;
  margin-bottom: 0;
}

.resource-card__arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.8rem;
  color: var(--violet);
  font-size: 1.5rem;
}

.resources__flower {
  position: absolute;
  width: clamp(180px, 21vw, 340px);
  right: -65px;
  bottom: -45px;
  pointer-events: none;
}

/* 8-Bit */
.eight-bit {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 10vw, 9rem) 1.25rem;
  background: var(--violet);
  color: var(--white);
}

.eight-bit__inner {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.eight-bit__mini {
  margin: 0 0 1rem;
  color: var(--pink);
  font-family: var(--heading);
  font-weight: 800;
}

.eight-bit__copy p:not(.kicker):not(.eight-bit__mini):not(.lead) {
  max-width: 620px;
}

.eight-bit__visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.pixel-card {
  position: relative;
  z-index: 2;
  width: min(100%, 390px);
  aspect-ratio: 0.92;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  border: 8px solid var(--yellow);
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0/18px 18px,
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0/18px 18px,
    var(--ink);
  transform: rotate(2deg);
  box-shadow: 18px 20px 0 var(--pink);
}

.pixel-card__eyebrow {
  color: var(--brand-sky);
  font-family: var(--heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.pixel-card__title {
  margin: 1rem 0 1.5rem;
  color: var(--yellow);
  font-family: var(--display);
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 0.9;
}

.pixel-card__button {
  align-self: flex-start;
  padding: 0.55rem 0.7rem;
  background: var(--pink);
  color: var(--ink);
  font-family: var(--heading);
  font-size: 0.78rem;
  font-weight: 800;
}

.eight-bit__flower {
  position: absolute;
  width: clamp(180px, 24vw, 330px);
  right: -40px;
  bottom: -70px;
  z-index: 1;
  transform: rotate(12deg);
}

/* Now */
.now {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 5rem;
}

.now__title,
.now__items {
  width: 100%;
}

.now__items {
  display: grid;
  gap: 1.25rem;
}

.now-item {
  padding: 1.8rem 0;
  border-top: 2px solid rgba(64,55,110,0.18);
}

.now-item:last-child {
  border-bottom: 2px solid rgba(64,55,110,0.18);
}

.now-item__label {
  color: var(--pink);
  font-family: var(--heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.now-item h3 {
  margin: 0.5rem 0 0;
  color: var(--violet);
  font-family: var(--heading);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.35;
}

/* Contact */
.contact-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 11vw, 10rem) 1.25rem;
  background: var(--indigo);
  color: var(--white);
  text-align: center;
}

.contact-cta__inner {
  position: relative;
  z-index: 2;
  width: min(100%, 850px);
  margin-inline: auto;
}

.contact-cta__title {
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(4rem, 10vw, 8.7rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.contact-cta__inner p:not(.kicker) {
  max-width: 700px;
  margin: 1.6rem auto 2rem;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.contact-cta__flower {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.contact-cta__flower--left {
  width: clamp(180px, 24vw, 350px);
  left: -95px;
  bottom: -85px;
  transform: rotate(-10deg);
}

.contact-cta__flower--right {
  width: clamp(170px, 20vw, 300px);
  right: -50px;
  top: 30px;
  transform: rotate(15deg);
}

/* Footer */
.site-footer {
  padding: 2.8rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: center;
  background: var(--white);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--heading);
  font-weight: 800;
}

.site-footer__brand img {
  width: 44px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a {
  color: var(--violet);
  font-family: var(--heading);
  font-size: 0.85rem;
  font-weight: 600;
}

.site-footer__copyright {
  margin: 0;
  font-size: 0.82rem;
}

/* Motion */
.hero-enter {
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn 720ms cubic-bezier(.2,.8,.2,1) forwards;
}

.hero-delay-1 { animation-delay: 120ms; }
.hero-delay-2 { animation-delay: 260ms; }
.hero-delay-3 { animation-delay: 420ms; }
.hero-delay-4 { animation-delay: 620ms; }

.flower-enter {
  opacity: 0;
  animation: flowerIn 900ms cubic-bezier(.18,.85,.3,1.05) forwards;
}

.flower-delay-3 { animation-delay: 480ms; }
.flower-delay-4 { animation-delay: 680ms; }
.flower-delay-5 { animation-delay: 860ms; }
.flower-delay-6 { animation-delay: 1040ms; }

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

@keyframes flowerIn {
  0% { opacity: 0; scale: .78; translate: 0 26px; }
  100% { opacity: 1; scale: 1; translate: 0 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1);
}

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

.decorative.is-visible {
  animation: softFloat 7s ease-in-out infinite alternate;
}

@keyframes softFloat {
  from { translate: 0 0; rotate: -1deg; }
  to { translate: 0 -8px; rotate: 1deg; }
}

/* Responsive */
@media (max-width: 900px) {
  .work-article-list__item {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: fixed;
    inset: 78px 18px auto;
    display: none;
    padding: 1.2rem;
    border-radius: 24px;
    background: var(--white);
    color: var(--violet);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 0;
  }

  .site-nav a {
    padding: 0.85rem 0.7rem;
    border-bottom: 1px solid rgba(64,55,110,0.12);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    border: 0;
    background: transparent;
    color: var(--white);
    font-family: var(--heading);
    font-weight: 700;
  }

  .menu-toggle__icon,
  .menu-toggle__icon::before,
  .menu-toggle__icon::after {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
  }

  .menu-toggle__icon {
    position: relative;
  }

  .menu-toggle__icon::before,
  .menu-toggle__icon::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .menu-toggle__icon::before { top: -7px; }
  .menu-toggle__icon::after { top: 7px; }

  .hero {
    padding-top: 8.3rem;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    z-index: 3;
  }

  .hero__portrait {
    margin-top: 1rem;
  }

  .portrait-shape {
    width: min(88vw, 500px);
  }

  .flower--hero-soft {
    right: 4vw;
  }

  .content-grid--about,
  .eight-bit__inner,
  .now {
    grid-template-columns: 1fr;
  }

  .about-preview__image {
    max-width: 620px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-item,
  .work-item:nth-child(odd),
  .work-item:nth-child(even) {
    padding-inline: 0;
    border-right: 0;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-card--wide {
    grid-column: auto;
  }

  .values__word:nth-child(2) {
    margin-left: 3vw;
  }

  .values__word:nth-child(3) {
    margin-left: 7vw;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 1rem;
  }

  .nav-shell {
    width: min(calc(100% - 26px), var(--max));
    min-height: 72px;
  }

  .brand {
    width: 46px;
  }

  .hero {
    padding-inline: 1rem;
  }

  .display-title {
    font-size: clamp(4rem, 22vw, 6rem);
  }

  .hero__tagline br {
    display: none;
  }

  .hero__intro {
    margin-left: 0;
  }

  .button-row {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .flower--hero-left {
    left: -120px;
    right: auto;
    bottom: 80px;
    width: 260px;
    opacity: 0.84;
    z-index: 1;
  }

  .flower--hero-right-top {
    right: -34px;
    top: 145px;
    width: 170px;
    transform: rotate(248deg);
    z-index: 3;
  }

  .flower--hero-right {
    right: 0;
    bottom: 26px;
    width: 130px;
    z-index: 3;
  }

  .flower--hero-soft {
    display: block;
    right: 128px;
    bottom: 22px;
    width: 92px;
    z-index: 3;
  }

  .section {
    padding-inline: 1rem;
  }

  .section-title--giant {
    font-size: clamp(3.3rem, 18vw, 5.3rem);
  }

  .values__word {
    font-size: clamp(3.5rem, 19vw, 5.5rem);
  }

  .contact-cta__title {
    font-size: clamp(4rem, 20vw, 6rem);
  }

  .contact-cta__flower--right {
    opacity: 0.68;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero-enter,
  .flower-enter,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* About page */
.site-header--inner {
  position: absolute;
}

.about-page-body .site-header {
  color: var(--violet);
}

.about-page-body .site-header.is-scrolled {
  background: rgba(223, 241, 255, 0.96);
  color: var(--violet);
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(8.5rem, 15vw, 12rem) 1.25rem clamp(5rem, 9vw, 7.5rem);
  background: var(--indigo);
  color: var(--white);
}

.about-hero__inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.about-hero__copy {
  max-width: 900px;
}

.about-hero .eyebrow {
  color: var(--yellow);
}

.about-hero__title {
  max-width: 900px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.4rem, 11vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.about-hero__quote {
  margin: 1.8rem 0 0;
  color: var(--yellow);
  font-family: var(--heading);
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  font-weight: 800;
}

.about-hero__flower {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.about-hero__flower--left {
  width: clamp(190px, 22vw, 340px);
  left: -95px;
  bottom: -70px;
  transform: rotate(-16deg);
}

.about-hero__flower--right {
  width: clamp(180px, 21vw, 310px);
  right: -70px;
  top: 80px;
  transform: rotate(245deg);
}

.about-story {
  position: relative;
  min-height: 100vh;
  padding: clamp(9rem, 14vw, 12rem) 1.25rem clamp(5.5rem, 10vw, 9rem);
}

.about-story__heading {
  margin: 0 0 clamp(2rem, 4vw, 3.25rem);
}

.about-story__heading .kicker {
  margin-bottom: 0.75rem;
}

.about-story__heading h1 {
  max-width: 760px;
  margin: 0;
  color: var(--violet);
  font-family: var(--display);
  font-size: clamp(3.4rem, 7vw, 6.7rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.about-story__inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(270px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.about-story__visual {
  position: sticky;
  top: 120px;
}

.about-story__photo-wrap {
  overflow: hidden;
  border-radius: 38% 62% 52% 48% / 44% 42% 58% 56%;
  box-shadow: var(--shadow);
}

.about-story__photo-wrap img {
  width: 100%;
  height: auto;
}

.about-story__accent {
  width: min(62%, 220px);
  margin: -50px -20px 0 auto;
  position: relative;
  z-index: 2;
}

.about-story__content {
  max-width: 760px;
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.78;
}

.about-story__content p {
  margin: 0 0 1.65rem;
}

.about-story__content > p:first-of-type {
  color: var(--ink);
  font-family: var(--body);
  font-size: inherit;
  font-weight: 400;
}

.about-values {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 11vw, 9rem) 1.25rem;
  background: var(--pink);
}

.about-values__inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.about-values__inner h2 {
  max-width: 960px;
  margin: 0 0 2rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(3.8rem, 9vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.about-values__flower {
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: clamp(170px, 22vw, 320px);
}

@media (max-width: 900px) {
  .about-story__inner {
    grid-template-columns: 1fr;
  }

  .about-story__visual {
    position: relative;
    top: auto;
    max-width: 560px;
  }
}

@media (max-width: 560px) {
  .about-hero__title {
    font-size: clamp(4rem, 21vw, 6rem);
  }

  .about-hero__flower--right {
    right: -90px;
    top: 125px;
    width: 210px;
  }

  .about-story__accent {
    width: 160px;
    margin-top: -35px;
  }
}


/* Articles & Writing page */
.articles-page-body .site-header {
  color: var(--violet);
}

.articles-page-body .site-header.is-scrolled {
  color: var(--white);
}

.articles-page {
  background: var(--sky);
}

.articles-shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.articles-intro {
  padding: 10.5rem 1.25rem 5rem;
}

.articles-intro h1 {
  max-width: 900px;
  margin: 0;
  color: var(--violet);
  font-family: var(--display);
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: .92;
  letter-spacing: -.055em;
}

.articles-intro__copy {
  max-width: 680px;
  margin: 1.4rem 0 0;
  font-family: var(--heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
}

.featured-writing,
.article-archive {
  padding: clamp(5rem, 9vw, 8rem) 1.25rem;
}

.featured-writing__heading h2 {
  margin: 0;
  color: var(--violet);
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.featured-article-card {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  min-height: 430px;
  overflow: hidden;
  border: 2px solid rgba(64,55,110,.12);
  border-radius: 36px;
  background: var(--white);
  box-shadow: 0 22px 54px rgba(26,30,48,.10);
}

.featured-article-card__art {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  padding: 2rem;
  background: var(--pink);
}

.featured-article-card__label {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: .55rem .75rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--heading);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.featured-article-card__big-word {
  position: absolute;
  left: 1.5rem;
  bottom: 1rem;
  z-index: 1;
  color: rgba(255,255,255,.92);
  font-family: var(--display);
  font-size: clamp(4.4rem, 10vw, 8rem);
  line-height: .8;
  letter-spacing: -.07em;
}

.featured-article-card__art img {
  position: absolute;
  width: min(72%, 310px);
  right: -38px;
  top: 54px;
  transform: rotate(18deg);
}

.featured-article-card__content {
  align-self: center;
  padding: clamp(2rem, 5vw, 4rem);
}

.article-meta {
  margin: 0 0 .7rem;
  color: var(--violet);
  font-family: var(--heading);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.featured-article-card h3 {
  max-width: 700px;
  margin: 0;
  color: var(--violet);
  font-family: var(--heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.article-teaser {
  max-width: 650px;
  margin: 1.1rem 0 1.6rem;
  font-size: 1.12rem;
}

.button--violet {
  background: var(--violet);
  color: var(--white);
}

.external-note {
  margin: .75rem 0 0;
  color: rgba(26,30,48,.72);
  font-size: .82rem;
}

.article-archive {
  border-top: 1px solid rgba(64,55,110,.08);
}

.article-list {
  margin-top: 2.4rem;
  border-top: 2px solid rgba(64,55,110,.18);
}

.article-list__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 1.55rem 0;
  border-bottom: 2px solid rgba(64,55,110,.18);
}

.article-list__item h3 {
  margin: 0;
  color: var(--violet);
  font-family: var(--heading);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  line-height: 1.25;
}

.article-list__item .article-meta {
  margin-bottom: .35rem;
}

.article-list__item > a {
  color: var(--violet);
  font-family: var(--heading);
  font-weight: 800;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

@media (max-width: 780px) {
  .featured-article-card {
    grid-template-columns: 1fr;
  }

  .featured-article-card__art {
    min-height: 300px;
  }

  .article-list__item {
    grid-template-columns: 1fr;
    gap: .5rem;
  }
}

.work-toggle-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--violet);
  font-family: var(--heading);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* Rev 42: compact inline Articles & Writing accordion */
.work-item--articles {
  padding: 0;
  overflow: hidden;
}

.work-item--articles > summary {
  display: block;
  padding: clamp(1.4rem, 3vw, 2rem);
  cursor: pointer;
  list-style: none;
}

.work-item--articles > summary::-webkit-details-marker {
  display: none;
}

.work-item--articles > summary::marker {
  display: none;
  content: "";
}

.work-item--articles[open] .work-toggle-link--open {
  display: none !important;
}

.work-item--articles:not([open]) .work-toggle-link--close {
  display: none !important;
}

.work-item--articles[open] .work-toggle-link--close {
  display: inline-block !important;
}

.work-item--articles > summary:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: -4px;
}

.article-inline-list {
  display: grid;
  margin: 0 clamp(1.4rem, 3vw, 2rem) clamp(1.2rem, 2.5vw, 1.7rem);
  border-top: 1px solid rgba(64,55,110,0.18);
}

.work-item .article-inline-list a {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
  margin: 0;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(64,55,110,0.12);
  color: var(--violet);
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.28;
  text-decoration: none;
}

.work-item .article-inline-list a:hover,
.work-item .article-inline-list a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-inline-list small {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.62;
}

@media (max-width: 620px) {
  .work-item .article-inline-list a {
    align-items: flex-start;
    font-size: 0.88rem;
  }
}


/* Rev 43: non-linked book entry matching compact inline accordion */
.book-inline-item {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(64,55,110,0.12);
  color: var(--violet);
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.28;
}

.book-inline-item em {
  font-weight: 500;
  opacity: 0.78;
}

.book-inline-item small {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.62;
}

@media (max-width: 620px) {
  .book-inline-item {
    align-items: flex-start;
    font-size: 0.88rem;
  }
}


/* Rev 44: compact textbook detail rows */
.book-detail-list {
  display: grid;
  margin: 0 clamp(1.4rem, 3vw, 2rem) clamp(1.2rem, 2.5vw, 1.7rem);
  border-top: 1px solid rgba(64,55,110,0.18);
}

.book-detail-item {
  padding: 0.7rem 0 0.75rem;
  border-bottom: 1px solid rgba(64,55,110,0.12);
}

.book-detail-title {
  display: inline-block;
  margin: 0 0 0.22rem;
  color: var(--violet);
  font-family: var(--body);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

a.book-detail-title:hover,
a.book-detail-title:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.book-detail-item p {
  margin: 0.08rem 0;
  color: var(--ink);
  font-size: 0.76rem;
  line-height: 1.35;
  opacity: 0.78;
}

.book-detail-item .book-detail-note {
  margin-top: 0.22rem;
  font-weight: 650;
  opacity: 0.9;
}

@media (max-width: 620px) {
  .book-detail-title {
    font-size: 0.9rem;
  }

  .book-detail-item p {
    font-size: 0.74rem;
  }
}


/* Rev 45: in-progress book entry */
.book-detail-item--coming-soon {
  padding-top: 0.9rem;
}

.book-detail-status {
  display: inline-block;
  margin-bottom: 0.3rem;
  font-family: var(--heading);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--violet);
}


/* Rev 49: compact presentation list inside My Work accordion */
.presentation-detail-list {
  display: grid;
  margin: 0 clamp(1.4rem, 3vw, 2rem) clamp(1.2rem, 2.5vw, 1.7rem);
  border-top: 1px solid rgba(64,55,110,0.18);
}

.presentation-detail-item {
  padding: 0.62rem 0 0.68rem;
  border-bottom: 1px solid rgba(64,55,110,0.12);
}

.presentation-detail-title {
  display: inline-block;
  margin: 0 0 0.18rem;
  color: var(--violet);
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.28;
  text-decoration: none;
}

a.presentation-detail-title:hover,
a.presentation-detail-title:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.presentation-detail-item p {
  margin: 0.04rem 0;
  color: var(--ink);
  font-size: 0.73rem;
  line-height: 1.35;
  opacity: 0.76;
}

@media (max-width: 620px) {
  .presentation-detail-title {
    font-size: 0.88rem;
  }

  .presentation-detail-item p {
    font-size: 0.72rem;
  }
}


/* Rev 53: full-width horizontal resource tiles */
.resource-grid--stacked {
  grid-template-columns: 1fr;
}

.resource-card--horizontal {
  min-height: 150px;
}

.resource-card--horizontal h3 {
  max-width: calc(100% - 4rem);
  margin-top: 1.05rem;
}

@media (max-width: 620px) {
  .resource-card--horizontal {
    min-height: 135px;
  }
}


/* Rev 54: Resources accordion + syllabus previews */
.resources .section-intro strong {
  color: var(--violet);
  font-weight: 800;
}

.resource-card--accordion {
  display: block;
  padding: 0;
}

.resource-card--accordion > summary {
  position: relative;
  display: block;
  min-height: 150px;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  cursor: pointer;
  list-style: none;
}

.resource-card--accordion > summary::-webkit-details-marker {
  display: none;
}

.resource-card--accordion > summary::marker {
  content: "";
}

.resource-card--accordion > summary h3 {
  max-width: calc(100% - 4rem);
  margin-top: 1.05rem;
}

.resource-card--accordion .resource-card__arrow--open {
  display: none;
}

.resource-card--accordion[open] .resource-card__arrow--closed {
  display: none;
}

.resource-card--accordion[open] .resource-card__arrow--open {
  display: block;
}

.resource-card--accordion[open] {
  transform: none;
}

.resource-card--accordion[open]:hover {
  transform: none;
}

.resource-accordion__content {
  padding: 0 clamp(1.6rem, 3vw, 2.3rem) clamp(1.6rem, 3vw, 2.3rem);
}

.syllabus-link-list {
  display: grid;
  border-top: 1px solid rgba(64,55,110,0.16);
}

.syllabus-link-list a {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(64,55,110,0.12);
  color: var(--violet);
  font-family: var(--body);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.syllabus-link-list a:hover,
.syllabus-link-list a:focus-visible {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.syllabus-preview-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
  align-items: end;
}

.syllabus-preview-strip a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  box-shadow: 0 7px 20px rgba(26,30,48,0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.syllabus-preview-strip a:hover,
.syllabus-preview-strip a:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(26,30,48,0.18);
}

.syllabus-preview-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 0.76;
  object-fit: cover;
  object-position: top;
}

@media (max-width: 760px) {
  .syllabus-preview-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .resource-card--accordion > summary {
    min-height: 135px;
  }

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


/* Rev 56: two-column syllabus accordion layout */
.syllabus-columns {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.syllabus-column h4 {
  margin: 0 0 0.5rem;
  color: var(--violet);
  font-family: var(--heading);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.2;
}

@media (max-width: 760px) {
  .syllabus-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}


/* Rev 57: AI for Instructors two-column accordion */
.ai-resource-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding-top: 0.2rem;
}

.ai-resource-column h4 {
  margin: 0 0 0.45rem;
  color: var(--violet);
  font-family: var(--heading);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.2;
}

.ai-resource-column p {
  margin: 0;
  max-width: 40rem;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.5;
  opacity: 0.84;
}

@media (max-width: 760px) {
  .ai-resource-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}


/* Rev 59: AI prompt resource list */
.ai-resource-list {
  display: grid;
  margin-top: 1rem;
  border-top: 1px solid rgba(64,55,110,0.16);
}

.ai-resource-item {
  padding: 0.72rem 0 0.78rem;
  border-bottom: 1px solid rgba(64,55,110,0.12);
}

.ai-resource-title {
  display: inline-block;
  margin-bottom: 0.22rem;
  color: var(--violet);
  font-family: var(--body);
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
}

.ai-resource-title:hover,
.ai-resource-title:focus-visible,
.ai-resource-item p a:hover,
.ai-resource-item p a:focus-visible {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ai-resource-item p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.42;
  opacity: 0.8;
}

.ai-resource-item p a {
  color: var(--violet);
  font-weight: 650;
  text-decoration: none;
}


/* Rev 60: AI policy resources + nested course policy accordion */
.nested-policy {
  margin: 0;
}

.nested-policy > summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.nested-policy > summary::-webkit-details-marker {
  display: none;
}

.nested-policy > summary::marker {
  content: "";
}

.nested-policy > summary .ai-resource-title {
  margin-bottom: 0;
}

.nested-policy__toggle {
  flex: 0 0 auto;
  color: var(--violet);
  font-family: var(--heading);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}

.nested-policy[open] .nested-policy__toggle {
  transform: rotate(45deg);
}

.nested-policy__description {
  margin-top: 0.22rem !important;
}

.nested-policy__content {
  margin-top: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(64,55,110,0.12);
}

.nested-policy__content h5 {
  margin: 0 0 0.65rem;
  color: var(--violet);
  font-family: var(--heading);
  font-size: 1rem;
  line-height: 1.2;
}

.nested-policy__content p {
  margin: 0.65rem 0;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.5;
  opacity: 0.9;
}

.nested-policy__content ul {
  margin: 0.45rem 0 0.7rem 1.1rem;
  padding: 0;
}

.nested-policy__content li {
  margin: 0.28rem 0;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.42;
}


/* Rev 63: Correspondence accordion */
.correspondence-list {
  display: grid;
  border-top: 1px solid rgba(64,55,110,0.16);
}

.correspondence-item {
  padding: 0.75rem 0 0.82rem;
  border-bottom: 1px solid rgba(64,55,110,0.12);
}

.correspondence-title {
  display: inline-block;
  margin-bottom: 0.22rem;
  color: var(--violet);
  font-family: var(--body);
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
}

.correspondence-title:hover,
.correspondence-title:focus-visible {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.correspondence-item p {
  margin: 0;
  color: var(--ink);
  font-size: 0.8rem;
  line-height: 1.45;
  opacity: 0.82;
}


/* Rev 65: let Correspondence descriptions use the available width */
.correspondence-item p {
  width: 100%;
  max-width: none;
}


/* Rev 66: Financial & Managerial Accounting project accordions */
.project-resource-list {
  display: grid;
  border-top: 1px solid rgba(64,55,110,0.16);
}

.project-resource-item {
  padding: 0.76rem 0 0.84rem;
  border-bottom: 1px solid rgba(64,55,110,0.12);
}

.project-resource-title {
  display: inline-block;
  margin-bottom: 0.22rem;
  color: var(--violet);
  font-family: var(--body);
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
}

.project-resource-title:hover,
.project-resource-title:focus-visible {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.project-resource-item p {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: 0.8rem;
  line-height: 1.45;
  opacity: 0.82;
}


/* Rev 67: Game Templates accordion */
.game-template-list {
  display: grid;
  border-top: 1px solid rgba(64,55,110,0.16);
}

.game-template-item {
  padding: 0.76rem 0 0.84rem;
  border-bottom: 1px solid rgba(64,55,110,0.12);
}

.game-template-title {
  display: inline-block;
  margin-bottom: 0.22rem;
  color: var(--violet);
  font-family: var(--body);
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
}

.game-template-title:hover,
.game-template-title:focus-visible {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.game-template-item p {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: 0.8rem;
  line-height: 1.45;
  opacity: 0.82;
}


/* Rev 68: Class Activities accordion */
.class-activity-list {
  display: grid;
  border-top: 1px solid rgba(64,55,110,0.16);
}

.class-activity-item {
  padding: 0.76rem 0 0.84rem;
  border-bottom: 1px solid rgba(64,55,110,0.12);
}

.class-activity-title {
  display: inline-block;
  margin-bottom: 0.22rem;
  color: var(--violet);
  font-family: var(--body);
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
}

.class-activity-title:hover,
.class-activity-title:focus-visible,
.class-activity-links a:hover,
.class-activity-links a:focus-visible {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.class-activity-item p {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: 0.8rem;
  line-height: 1.45;
  opacity: 0.82;
}

.class-activity-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-top: 0.45rem;
  font-size: 0.77rem;
}

.class-activity-links a {
  color: var(--violet);
  font-weight: 700;
  text-decoration: none;
}

.class-activity-links span {
  opacity: 0.45;
}


/* Rev 69: Student Resources accordion */
.student-resource-list {
  display: grid;
  border-top: 1px solid rgba(64,55,110,0.16);
}

.student-resource-item {
  padding: 0.76rem 0 0.84rem;
  border-bottom: 1px solid rgba(64,55,110,0.12);
}

.student-resource-title {
  display: inline-block;
  margin-bottom: 0.22rem;
  color: var(--violet);
  font-family: var(--body);
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
}

.student-resource-title:hover,
.student-resource-title:focus-visible {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.student-resource-item p {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: 0.8rem;
  line-height: 1.45;
  opacity: 0.82;
}


/* Rev 73: refine 8-Bit Accounting section */
.eight-bit-card,
.eightbit-card,
.arcade-card,
.eight-bit-graphic,
.eightbit-graphic {
  overflow: hidden;
}

.eight-bit-card h3,
.eightbit-card h3,
.arcade-card h3,
.eight-bit-graphic h3,
.eightbit-graphic h3,
.eight-bit-card .title,
.eightbit-card .title,
.arcade-card .title,
.eight-bit-graphic .title,
.eightbit-graphic .title {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

/* Keep oversized arcade lettering bold while ensuring ACCOUNTING stays inside its card. */
@media (min-width: 760px) {
  .eight-bit-card h3,
  .eightbit-card h3,
  .arcade-card h3,
  .eight-bit-graphic h3,
  .eightbit-graphic h3,
  .eight-bit-card .title,
  .eightbit-card .title,
  .arcade-card .title,
  .eight-bit-graphic .title,
  .eightbit-graphic .title {
    font-size: clamp(2rem, 4.2vw, 4.2rem);
    line-height: 0.95;
  }
}


/* Rev 74: make the 8-Bit arcade card itself clickable */
.pixel-card--link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.pixel-card--link:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 5px;
}




/* Rev 76: mini arcade game cards */
.pixel-card--link:hover,
.pixel-card--link:focus-visible {
  transform: none;
}

.eight-bit__games {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 1.15rem 0 1.35rem;
  max-width: 34rem;
}

.mini-arcade-game {
  min-width: 0;
}

.mini-arcade-game__title {
  min-height: 2.4rem;
  margin-bottom: 0.45rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

.mini-arcade-game__cabinet {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 0.55rem;
  min-height: 10rem;
  padding: 0.72rem;
  border: 3px solid var(--yellow);
  border-radius: 12px 12px 18px 18px;
  background: rgba(26, 30, 48, 0.96);
  color: #fff;
  text-decoration: none;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.06);
}

.mini-arcade-game__cabinet:hover,
.mini-arcade-game__cabinet:focus-visible {
  border-color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.1);
}

.mini-arcade-game__cabinet:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.mini-arcade-game__screen {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.2rem;
  min-height: 4.4rem;
  padding: 0.45rem;
  border: 2px solid rgba(255,255,255,0.75);
  border-radius: 6px;
  background: rgba(94,23,235,0.24);
  text-align: center;
}

.mini-arcade-game__screen-label {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mini-arcade-game__pixel {
  font-size: 1.35rem;
  line-height: 1;
  color: var(--yellow);
}

.mini-arcade-game__controls {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 1.35rem;
  min-height: 2rem;
}

.mini-arcade-game__joystick {
  position: relative;
  width: 0.34rem;
  height: 1.05rem;
  border-radius: 999px;
  background: #fff;
}

.mini-arcade-game__joystick::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.38rem;
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--pink);
}

.mini-arcade-game__button {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 1rem 0 0 var(--pink);
}

.mini-arcade-game__start {
  justify-self: center;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

@media (max-width: 560px) {
  .eight-bit__games {
    grid-template-columns: 1fr;
    max-width: 18rem;
  }

  .mini-arcade-game__title {
    min-height: 0;
  }
}


/* Rev 77: center mini arcade titles and use screenshot inside first screen */
.mini-arcade-game__title {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mini-arcade-game__screen {
  overflow: hidden;
  padding: 0;
  background: rgba(94,23,235,0.18);
}

.mini-arcade-game__screenshot {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 4.4rem;
  object-fit: cover;
  object-position: center;
}


/* Rev 79: use real screenshots for both mini arcade games */
.mini-arcade-game__screen {
  min-height: 5rem;
}

.mini-arcade-game__screenshot {
  background: #0a1334;
  object-fit: cover;
  object-position: center top;
}


/* Rev 81: equal-size mini arcades + gold clickable titles */
.eight-bit__games {
  align-items: start;
}

.mini-arcade-game {
  display: flex;
  flex-direction: column;
}

.mini-arcade-game__title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  margin-bottom: 0.5rem;
  color: var(--yellow);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.mini-arcade-game__title:hover,
.mini-arcade-game__title:focus-visible {
  color: #fff0a8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mini-arcade-game__cabinet {
  width: 100%;
  min-height: 10.75rem;
  height: 10.75rem;
}

.mini-arcade-game__screen {
  min-height: 5.1rem;
  height: 5.1rem;
}

.mini-arcade-game__screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* Rev 82: simplified 8-Bit game preview cards */
.eight-bit__games--previews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 38rem;
  margin: 1.2rem 0 1.4rem;
}

.game-preview-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid rgba(254, 218, 59, 0.34);
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
}

.game-preview-card__title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  margin-bottom: 0.65rem;
  color: var(--yellow);
  font-family: var(--heading);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.game-preview-card__title:hover,
.game-preview-card__title:focus-visible,
.game-preview-card__play:hover,
.game-preview-card__play:focus-visible {
  color: #fff0a8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.game-preview-card__image-link {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #08102d;
  text-decoration: none;
}

.game-preview-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.game-preview-card__play {
  align-self: center;
  margin-top: 0.7rem;
  color: var(--white);
  font-family: var(--heading);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 620px) {
  .eight-bit__games--previews {
    grid-template-columns: 1fr;
    max-width: 22rem;
  }
}


/* Rev 85: 8-Bit Accounting easter-egg spaceship */
.eight-bit {
  --ship-x: 0px;
  --laser-length: 100px;
}

.pixel-card {
  transition: transform 280ms ease, box-shadow 280ms ease, filter 280ms ease;
}

.eight-bit.is-8bit-hit .pixel-card {
  transform: rotate(2deg) scale(1.02);
  filter: brightness(1.08) drop-shadow(0 0 12px rgba(254, 218, 59, 0.5));
}

.eight-bit::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background:
    radial-gradient(circle at 12% 14%, rgba(255,255,255,.95) 0 1.4px, transparent 1.6px),
    radial-gradient(circle at 24% 30%, rgba(255,255,255,.85) 0 1px, transparent 1.2px),
    radial-gradient(circle at 38% 9%, rgba(255,255,255,.78) 0 1.1px, transparent 1.3px),
    radial-gradient(circle at 58% 22%, rgba(255,255,255,.85) 0 1px, transparent 1.2px),
    radial-gradient(circle at 72% 12%, rgba(255,255,255,.88) 0 1.4px, transparent 1.6px),
    radial-gradient(circle at 84% 32%, rgba(255,255,255,.8) 0 1px, transparent 1.2px),
    radial-gradient(circle at 90% 16%, rgba(255,255,255,.95) 0 1.3px, transparent 1.5px),
    radial-gradient(circle at 66% 40%, rgba(255,255,255,.7) 0 1px, transparent 1.2px);
}

.eight-bit::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 54px;
  height: 4px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.45), rgba(255,255,255,0.05));
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    0 -2px 0 rgba(94, 23, 235, 0.45),
    0 2px 0 rgba(255, 94, 194, 0.55),
    0 0 12px rgba(58, 192, 255, 0.38);
}

.eight-bit-easter-egg {
  position: absolute;
  right: 26px;
  bottom: 38px;
  z-index: 6;
  width: 96px;
  height: 56px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateX(0);
  transition: transform var(--ship-travel-duration, 1050ms) cubic-bezier(.2,.8,.2,1);
}

.eight-bit-easter-egg:hover .eight-bit-easter-egg__ship,
.eight-bit-easter-egg:focus-visible .eight-bit-easter-egg__ship {
  transform: translateY(-2px);
}

.eight-bit.is-ship-animating .eight-bit-easter-egg {
  transform: translateX(var(--ship-x));
}

.eight-bit-easter-egg::before {
  content: "";
  position: absolute;
  left: -28px;
  right: -8px;
  bottom: 0;
  height: 18px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(58,192,255,0.22) 0%, rgba(58,192,255,0.06) 55%, transparent 72%);
}

.eight-bit-easter-egg::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 5px;
  height: var(--laser-length);
  transform: translateX(-50%) scaleY(0);
  transform-origin: bottom center;
  opacity: 0;
  border-radius: 999px;
  background: linear-gradient(to top, #3ac0ff 0%, #ffffff 42%, #feda3b 70%, #ff5ec2 100%);
  box-shadow:
    0 0 12px rgba(58, 192, 255, 0.95),
    0 0 20px rgba(255, 255, 255, 0.9),
    0 0 28px rgba(254, 218, 59, 0.72);
  pointer-events: none;
}

.eight-bit.is-ship-blasting .eight-bit-easter-egg::after {
  opacity: 1;
  transform: translateX(-50%) scaleY(1);
  transition: transform 180ms ease-out, opacity 110ms ease-out;
}

.eight-bit-easter-egg__ship {
  position: absolute;
  right: 0;
  bottom: 6px;
  width: 78px;
  height: 28px;
  background: transparent;
  transition: transform 180ms ease;
  filter: drop-shadow(0 0 10px rgba(58, 192, 255, 0.55));
}

.eight-bit.is-ship-blasting .eight-bit-easter-egg__ship {
  animation: ship-bob 260ms ease-in-out 2 alternate;
}

.eight-bit-easter-egg__ship::before {
  content: "";
  position: absolute;
  inset: 8px 12px 4px 12px;
  border-radius: 4px 4px 7px 7px;
  background:
    linear-gradient(#ffffff 0 0) center 42% / 28px 10px no-repeat,
    linear-gradient(#ff5ec2 0 0) left 10px bottom 5px / 18px 6px no-repeat,
    linear-gradient(#ff5ec2 0 0) right 10px bottom 5px / 18px 6px no-repeat,
    linear-gradient(#ffffff 0 0) left 16px bottom / 10px 5px no-repeat,
    linear-gradient(#ffffff 0 0) right 16px bottom / 10px 5px no-repeat,
    linear-gradient(#feda3b 0 0) center bottom / 8px 9px no-repeat;
}

.eight-bit-easter-egg__cockpit {
  position: absolute;
  left: 29px;
  top: 4px;
  width: 20px;
  height: 13px;
  border-radius: 4px 4px 2px 2px;
  background: #62dbff;
  box-shadow:
    0 0 0 2px #ffffff inset,
    0 0 8px rgba(98, 219, 255, 0.7);
}

.eight-bit-easter-egg__thruster {
  position: absolute;
  left: 35px;
  bottom: 0;
  width: 10px;
  height: 12px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(180deg, #feda3b 0%, #f7a600 100%);
  box-shadow: 0 0 8px rgba(254, 218, 59, 0.85);
}

.eight-bit.is-ship-blasting .eight-bit-easter-egg__thruster {
  height: 14px;
}

@keyframes ship-bob {
  from { transform: translateY(0); }
  to { transform: translateY(-2px); }
}


@media (min-width: 761px) {
  .eight-bit {
    --ship-travel-duration: 800ms;
  }
}

@media (max-width: 760px) {
  .eight-bit::after {
    bottom: 48px;
  }

  .eight-bit-easter-egg {
    right: 16px;
    bottom: 30px;
    width: 80px;
    height: 48px;
  }

  .eight-bit-easter-egg__ship {
    width: 66px;
    height: 24px;
  }

  .eight-bit-easter-egg__ship::before {
    inset: 7px 10px 4px 10px;
    background:
      linear-gradient(#ffffff 0 0) center 42% / 24px 8px no-repeat,
      linear-gradient(#ff5ec2 0 0) left 8px bottom 5px / 16px 5px no-repeat,
      linear-gradient(#ff5ec2 0 0) right 8px bottom 5px / 16px 5px no-repeat,
      linear-gradient(#ffffff 0 0) left 14px bottom / 8px 4px no-repeat,
      linear-gradient(#ffffff 0 0) right 14px bottom / 8px 4px no-repeat,
      linear-gradient(#feda3b 0 0) center bottom / 7px 8px no-repeat;
    }

  .eight-bit-easter-egg__cockpit {
    left: 24px;
    top: 3px;
    width: 18px;
    height: 11px;
  }

  .eight-bit-easter-egg__thruster {
    left: 29px;
    width: 9px;
    height: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eight-bit-easter-egg,
  .eight-bit-easter-egg__ship,
  .pixel-card {
    transition: none;
  }
}


/* Rev 86: My Recommendations resource accordion */
.recommendations-intro {
  margin: 0 0 3rem;
  color: var(--violet);
  font-size: 0.95rem;
  line-height: 1.5;
}

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

.recommendations-group h4 {
  margin: 0 0 0.65rem;
  color: var(--pink);
  font-family: var(--heading);
  font-size: 1rem;
  font-weight: 800;
}

.recommendations-list {
  display: grid;
  border-top: 1px solid rgba(64,55,110,0.16);
}

.recommendation-item {
  padding: 0.7rem 0 0.78rem;
  border-bottom: 1px solid rgba(64,55,110,0.12);
}

.recommendation-title {
  display: inline-block;
  margin-bottom: 0.18rem;
  color: var(--violet);
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
}

.recommendation-title:hover,
.recommendation-title:focus-visible {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.recommendation-item p {
  margin: 0;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.45;
  opacity: 0.82;
}

@media (max-width: 760px) {
  .recommendations-grid {
    grid-template-columns: 1fr;
  }
}


/* Rev 95: Contact section redesign */
.contact-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 8vw, 7rem) 1.25rem;
  background: var(--indigo);
  color: var(--white);
}

.contact-cta__inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.contact-cta__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-cta__flower-graphic {
  width: min(100%, 290px);
  height: auto;
  display: block;
}

.contact-cta__content {
  text-align: left;
}

.contact-cta__title {
  margin: 0.25rem 0 1rem;
}

.contact-cta__intro {
  max-width: 620px;
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.92);
}

.contact-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-cta__link {
  color: var(--yellow);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}

.contact-cta__link:hover,
.contact-cta__link:focus-visible {
  color: var(--white);
  border-color: var(--yellow);
}

.contact-form {
  max-width: 700px;
}

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

.contact-form__field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.contact-form__field label {
  color: var(--white);
  font-family: var(--heading);
  font-weight: 700;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 0.95rem 1rem;
  font: inherit;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: 3px solid rgba(254, 218, 59, 0.35);
  outline-offset: 1px;
  border-color: var(--yellow);
  background: rgba(255, 255, 255, 0.12);
}

.contact-form .button {
  margin-top: 0.25rem;
}

@media (max-width: 900px) {
  .contact-cta__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-cta__content {
    text-align: center;
  }

  .contact-cta__links {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .contact-cta__flower-graphic {
    width: min(100%, 362px);
  }
}


/* Rev 96: refined Contact section florals and real contact info */
.contact-cta__top-flower {
  position: absolute;
  top: -8px;
  right: -10px;
  width: min(25vw, 194px);
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.contact-cta__inner {
  position: relative;
  z-index: 2;
}

.contact-cta__flower-graphic {
  width: min(100%, 552px);
  height: auto;
  display: block;
}

.contact-cta__intro {
  max-width: 650px;
}

.contact-cta__links {
  align-items: center;
}

.contact-cta__link {
  word-break: break-word;
}

@media (max-width: 900px) {
  .contact-cta__top-flower {
    width: min(34vw, 146px);
    top: 6px;
    right: 4px;
  }
}

@media (max-width: 640px) {
  .contact-cta__top-flower {
    width: 97px;
    top: 10px;
    right: 0;
  }
}


/* Rev 97: Direct contact details below form */
.contact-cta__content {
  text-align: center;
}

.contact-cta__intro,
.contact-form {
  margin-left: auto;
  margin-right: auto;
}

.contact-form .button {
  display: inline-flex;
}

.contact-cta__contact-row {
  width: min(100%, 700px);
  margin: 2.4rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  text-align: center;
}

.contact-cta__contact-item {
  min-width: 0;
}

.contact-cta__contact-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--white);
  font-family: var(--heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-cta__contact-row .contact-cta__link {
  display: inline-block;
  color: var(--yellow);
  font-size: 0.95rem;
  line-height: 1.35;
}

@media (max-width: 640px) {
  .contact-cta__contact-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}


/* Rev 101: dedicated tablet + mobile polish
   Desktop layout remains unchanged above these breakpoints. */

@media (max-width: 1024px) and (min-width: 901px) {
  .site-nav {
    gap: 1.05rem;
  }

  .site-nav a {
    font-size: 0.86rem;
  }

  .nav-shell {
    gap: 1.25rem;
  }

  .hero__inner {
    gap: 2rem;
  }

  .contact-cta__inner {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 2.5rem;
  }

  .contact-cta__flower-graphic {
    width: min(100%, 430px);
  }
}

@media (max-width: 900px) {
  .hero__copy,
  .hero__portrait,
  .about-preview__copy,
  .eight-bit__copy {
    width: min(100%, 680px);
    margin-left: auto;
    margin-right: auto;
  }

  .about-preview__image {
    margin-left: auto;
    margin-right: auto;
  }

  .eight-bit__inner {
    gap: 3rem;
  }

  .eight-bit__games--previews {
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
  }

  .pixel-card {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-cta__media {
    order: 1;
  }

  .contact-cta__content {
    order: 2;
  }

  .contact-cta__flower-graphic {
    width: min(72vw, 390px);
  }

  .about-story {
    min-height: auto;
  }

  .about-story__visual {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 760px) {
  .section {
    padding-top: clamp(4.5rem, 13vw, 6rem);
    padding-bottom: clamp(4.5rem, 13vw, 6rem);
  }

  .section-heading {
    margin-bottom: 0;
  }

  .section-title--giant {
    overflow-wrap: anywhere;
  }

  .work-grid {
    margin-top: 2.5rem;
  }

  .work-item {
    min-height: 0;
    padding-top: 1.7rem;
    padding-bottom: 1.8rem;
  }

  .work-item h3 {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
  }

  .resource-grid {
    margin-top: 2.5rem;
  }

  .resource-card--horizontal,
  .resource-card--accordion > summary {
    min-height: 0;
  }

  .resource-card__summary {
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
  }

  .resource-card--horizontal h3 {
    max-width: calc(100% - 3rem);
    margin-top: 0.7rem;
  }

  .resource-accordion__content {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: 1.5rem;
  }

  .recommendations-intro {
    margin-bottom: 2.2rem;
  }

  .eight-bit {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .eight-bit__games--previews {
    max-width: 24rem;
  }

  .pixel-card {
    width: min(88vw, 350px);
    padding: 1.55rem;
    border-width: 6px;
    box-shadow: 12px 14px 0 var(--pink);
  }

  .pixel-card__title {
    font-size: clamp(2.5rem, 12vw, 3.7rem);
  }

  .values {
    overflow: hidden;
  }

  .values__word {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .now-item {
    padding: 1.5rem 0;
  }

  .now-item h3 {
    font-size: clamp(1.25rem, 5.4vw, 1.7rem);
  }

  .contact-cta {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .contact-cta__flower-graphic {
    width: min(76vw, 360px);
  }

  .contact-form,
  .contact-cta__intro,
  .contact-cta__contact-row {
    width: 100%;
  }

  .contact-form__field input,
  .contact-form__field textarea {
    min-height: 48px;
  }

  .about-hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .about-story {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 7.5rem;
  }

  .about-story__heading h1 {
    font-size: clamp(3rem, 13vw, 5rem);
  }

  .about-values {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .about-values__inner h2 {
    font-size: clamp(3.3rem, 15vw, 5.5rem);
  }
}

@media (max-width: 560px) {
  .site-nav {
    inset: 72px 12px auto;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
  }

  .site-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .hero {
    padding-top: 7.6rem;
  }

  .portrait-shape {
    width: min(94vw, 460px);
  }

  .section-title--giant {
    font-size: clamp(3rem, 16vw, 4.7rem);
    line-height: 0.94;
  }

  .resource-card__mark,
  .work-number {
    font-size: 0.72rem;
  }

  .resource-card--horizontal h3 {
    font-size: clamp(1.25rem, 6vw, 1.7rem);
  }

  .syllabus-preview-strip {
    gap: 0.55rem;
  }

  .eight-bit__games--previews {
    width: 100%;
    max-width: none;
  }

  .game-preview-card {
    width: min(100%, 24rem);
    margin-left: auto;
    margin-right: auto;
  }

  .values__word:nth-child(2),
  .values__word:nth-child(3) {
    margin-left: 0;
  }

  .contact-cta__title {
    font-size: clamp(3.5rem, 18vw, 5.2rem);
  }

  .contact-cta__top-flower {
    width: 88px;
  }

  .contact-cta__flower-graphic {
    width: min(82vw, 330px);
  }

  .contact-cta__contact-row .contact-cta__link {
    font-size: 0.9rem;
    overflow-wrap: anywhere;
  }

  .about-hero__flower--right {
    width: 170px;
    right: -90px;
  }

  .about-story__content {
    font-size: 1rem;
    line-height: 1.68;
  }
}

@media (max-width: 400px) {
  .nav-shell {
    width: min(calc(100% - 20px), var(--max));
  }

  .menu-toggle__label {
    font-size: 0.9rem;
  }

  .display-title {
    font-size: clamp(3.55rem, 21vw, 5rem);
  }

  .button {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section-title--giant {
    font-size: clamp(2.8rem, 15vw, 4rem);
  }

  .resource-accordion__content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .contact-cta__contact-row .contact-cta__link {
    font-size: 0.84rem;
  }
}


/* Mobile polish fixes — rev102 */
@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 7.2rem 1rem 3.6rem;
  }

  .hero__inner {
    gap: 1.5rem;
  }

  .hero__copy {
    position: relative;
    z-index: 3;
  }

  .eyebrow {
    max-width: 220px;
    font-size: 0.7rem;
    line-height: 1.45;
    letter-spacing: 0.11em;
  }

  .display-title {
    font-size: clamp(3rem, 18vw, 4.45rem);
    line-height: 0.88;
  }

  .hero__tagline {
    margin-top: 1rem;
    font-size: clamp(1.2rem, 7.8vw, 1.95rem);
    line-height: 1.08;
  }

  .hero__intro {
    max-width: 100%;
    margin-top: 1rem;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .button-row {
    margin-top: 1.45rem;
    gap: 0.75rem;
  }

  .button-row .button {
    width: 100%;
    justify-content: center;
  }

  .portrait-shape {
    width: min(92vw, 390px);
  }

  .flower--hero-left {
    width: 155px;
    left: -58px;
    bottom: -8px;
    opacity: 0.84;
  }

  .flower--hero-right-top {
    width: 118px;
    right: -22px;
    top: 142px;
    transform: rotate(236deg);
  }

  .flower--hero-right {
    width: 94px;
    right: -8px;
    bottom: 18px;
  }

  .flower--hero-soft {
    display: none;
  }

  .values {
    padding: 4rem 1rem 3.75rem;
  }

  .values__word {
    font-size: clamp(2.7rem, 13.2vw, 3.75rem);
    line-height: 0.94;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .values__caption {
    margin-top: 1.75rem;
    font-size: 1rem;
  }

  .values__flower--one {
    width: 96px;
    left: -18px;
    bottom: -10px;
  }

  .values__flower--two {
    width: 100px;
    right: -12px;
    top: 18px;
  }

  .eight-bit {
    padding: 4.5rem 1rem 4.4rem;
  }

  .pixel-card {
    width: min(84vw, 300px);
    padding: 1.35rem;
    border-width: 5px;
    box-shadow: 9px 11px 0 var(--pink);
  }

  .pixel-card__title {
    font-size: clamp(2rem, 10.2vw, 3.05rem);
    line-height: 0.9;
  }

  .pixel-card__button {
    font-size: 0.9rem;
    padding: 0.72rem 1rem;
  }

  .eight-bit__flower {
    width: 155px;
    right: -44px;
    bottom: -48px;
  }

  .eight-bit-easter-egg {
    right: 10px;
    bottom: 22px;
    width: 82px;
  }

  .contact-cta {
    padding: 4.5rem 1rem 4rem;
  }

  .contact-cta__top-flower {
    display: none;
  }

  .contact-cta__inner {
    gap: 1.3rem;
  }

  .contact-cta__flower-graphic {
    width: min(68vw, 245px);
  }

  .contact-cta__title {
    font-size: clamp(2.85rem, 13.5vw, 4.5rem);
    line-height: 0.96;
    margin-top: 0.15rem;
  }

  .contact-cta__intro {
    margin-bottom: 1.2rem;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .contact-form__grid {
    gap: 0.9rem;
  }

  .contact-cta__contact-row {
    margin-top: 1.8rem;
    padding-top: 1.1rem;
    gap: 0.95rem;
  }

  .contact-cta__contact-item {
    gap: 0.25rem;
  }

  .contact-cta__contact-row .contact-cta__link {
    font-size: 0.84rem;
    overflow-wrap: anywhere;
  }

  .recommendations-intro {
    margin-bottom: 0;
  }

  .recommendations-grid {
    margin-top: 1.05rem;
  }
}

@media (max-width: 420px) {
  .display-title {
    font-size: clamp(2.85rem, 17vw, 4rem);
  }

  .hero__tagline {
    font-size: clamp(1.05rem, 7vw, 1.75rem);
  }

  .values__word {
    font-size: clamp(2.45rem, 12.5vw, 3.25rem);
  }

  .pixel-card {
    width: min(86vw, 286px);
  }

  .pixel-card__title {
    font-size: clamp(1.85rem, 9.5vw, 2.6rem);
  }

  .contact-cta__flower-graphic {
    width: min(64vw, 220px);
  }

  .contact-cta__title {
    font-size: clamp(2.65rem, 12.5vw, 4rem);
  }
}


/* Rev103 incremental mobile + desktop polish */
@media (min-width: 761px) {
  .recommendations-grid {
    padding-top: 0.9rem;
  }
}

@media (max-width: 640px) {
  .hero__tagline {
    line-height: 1.12;
  }

  .values__flower--one {
    width: 82px;
    left: -28px;
    bottom: -22px;
    opacity: 0.92;
  }

  .values__caption {
    position: relative;
    z-index: 2;
    padding-left: 0.15rem;
  }

  .eight-bit__visual {
    min-height: 360px;
  }

  .pixel-card {
    width: min(79vw, 276px);
    padding: 1.15rem;
    transform: rotate(1deg);
    box-shadow: 8px 10px 0 var(--pink);
  }

  .pixel-card__title {
    font-size: clamp(1.72rem, 8.8vw, 2.38rem);
    margin: 0.85rem 0 1.2rem;
  }
}

@media (max-width: 420px) {
  .pixel-card {
    width: min(77vw, 266px);
  }

  .pixel-card__title {
    font-size: clamp(1.58rem, 8.2vw, 2.15rem);
  }
}


/* Rev106: Netlify form success page + honeypot */
.contact-form__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.thank-you-page-body {
  min-height: 100vh;
  margin: 0;
  background: var(--periwinkle);
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.thank-you-page__card {
  width: min(100%, 720px);
  padding: clamp(2rem, 6vw, 4rem);
  border-radius: 32px;
  background: var(--cream);
  text-align: center;
  box-shadow: 16px 18px 0 var(--pink);
}

.thank-you-page__logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.4rem;
}

.thank-you-page h1 {
  margin: 0.25rem 0 1rem;
  color: var(--violet);
  font-family: var(--display);
  font-size: clamp(3.5rem, 12vw, 7rem);
  line-height: 0.95;
}

.thank-you-page p:not(.kicker) {
  max-width: 520px;
  margin: 0 auto 1.8rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.6;
}

@media (max-width: 560px) {
  .thank-you-page__card {
    border-radius: 24px;
    box-shadow: 9px 10px 0 var(--pink);
  }
}


/* Rev108 accessibility and final cleanup */
@media (max-width: 760px) {
  .site-nav a,
  .menu-toggle,
  .contact-form .button {
    min-height: 44px;
  }
}

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

/* Rev 110: mobile About text before portrait */
@media (max-width: 760px) {
  .content-grid--about {
    display: flex;
    flex-direction: column;
  }

  .about-preview__copy {
    order: 1;
  }

  .about-preview__image {
    order: 2;
  }
}
