/* ==========================================================================
   Deep Play — static site styles
   Brand: dark cinematic / hot pink / violet / thin Exo headlines
   ========================================================================== */

/* ---------- Reset & tokens ------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; }

button { font: inherit; cursor: pointer; }

:root {
  /* Brand colors carried over from the original Webflow site */
  --black:        #000;
  --near-black:   #0a0a0c;
  --dark:         #1b1b1b;
  --dark-2:       #161618;
  --pink:         #fc0a7e;       /* primary CTA */
  --pink-soft:    #ff3b96;
  --magenta:      #b32e6e;
  --violet:       #6e2ed8;
  --violet-deep:  #602bb6;
  --slate-blue:   #955df1;
  --grey:         #6b6b6b;
  --grey-2:       #a8a8a8;
  --white:        #fff;

  /* Type */
  --font-display: 'Exo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body:    'Gothic A1', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Spacing tokens */
  --space-xs: .5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 96px;

  /* Effects */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---------- Skip link ----------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pink);
  color: var(--white);
  padding: .75rem 1rem;
  font-weight: 600;
  z-index: 10000;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Typography ---------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 200;
  letter-spacing: -.01em;
  line-height: 1.15;
}

p { font-family: var(--font-body); }

.eyebrow {
  display: inline-block;
  color: var(--grey-2);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--white);
  background: var(--pink);
  border: none;
  border-radius: 4px;
  padding: 18px 36px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .35s var(--ease),
              box-shadow .35s var(--ease),
              background-color .35s var(--ease);
  box-shadow: 0 4px 24px -8px rgba(252, 10, 126, .55);
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  background: var(--pink-soft);
  box-shadow: 0 12px 40px -10px rgba(252, 10, 126, .8);
  outline: none;
}
.btn:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: none;
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .8);
  box-shadow: none;
}

.btn-pill {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  color: rgba(255, 255, 255, .85);
  padding: 10px 22px;
  font-size: 13px;
  letter-spacing: .06em;
  border-radius: 999px;
  text-transform: lowercase;
}
.btn-pill:hover {
  background: rgba(252, 10, 126, .12);
  border-color: var(--pink);
  color: var(--white);
  transform: none;
  box-shadow: none;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ---------- Navigation ---------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 max(2rem, 5vw);
  transition: background-color .4s var(--ease), backdrop-filter .4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(8, 8, 10, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.4rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.brand img { height: 44px; width: auto; }
.brand .brand-text { /* shown if no logo image */ }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  padding: .5rem 0;
  position: relative;
  transition: color .25s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-link:hover,
.nav-link[aria-current="page"] { color: var(--white); }
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  position: relative;
  z-index: 1100;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: var(--white);
  transition: transform .4s var(--ease), opacity .25s var(--ease), top .4s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 10, .96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform .5s var(--ease),
                opacity .4s var(--ease),
                visibility .4s var(--ease);
  }
  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-menu .nav-link { font-size: 1.5rem; font-weight: 200; }
}

/* ---------- Hero (full-bleed) -------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--nav-height) max(2rem, 6vw) 0;
  overflow: hidden;
  isolation: isolate;
  /* Default fallback so it looks rich without an image */
  background:
    radial-gradient(ellipse at 30% 20%, rgba(110, 46, 216, .35) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(252, 10, 126, .28) 0%, transparent 50%),
    linear-gradient(150deg, var(--black) 0%, #0c0613 50%, var(--black) 100%);
}

/* Optional image overlay — hero will look correct without it. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(0,0,0,.85), rgba(96, 43, 182, .35) 60%, rgba(0,0,0,.55));
}

/* Per-page hero images: drop a file with the given name into /images/ */
.hero-home    .hero-bg { background-image: url("../images/hero-home.jpg"); }
.hero-focus   .hero-bg { background-image: url("../images/hero-focus.jpg"); }
.hero-facils  .hero-bg { background-image: url("../images/hero-facilitators.jpg"); }
.hero-rd      .hero-bg { background-image: url("../images/hero-rd.jpg"); }
.hero-started .hero-bg { background-image: url("../images/hero-getstarted.jpg"); }
.hero-contact .hero-bg { background-image: url("../images/hero-contact.jpg"); }

/* Slow drifting "polysensory" atmospheric layer — pure CSS */
.hero::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(149, 93, 241, .14) 0%, transparent 35%),
    radial-gradient(circle at 80% 60%, rgba(252, 10, 126, .12) 0%, transparent 35%),
    radial-gradient(circle at 50% 90%, rgba(110, 46, 216, .15) 0%, transparent 40%);
  animation: drift 22s var(--ease) infinite alternate;
  pointer-events: none;
}

@keyframes drift {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1); }
  100% { transform: translate3d(2%, 1%, 0) scale(1.05); }
}

.hero-content {
  position: relative;
  max-width: 980px;
  width: 100%;
}
.hero-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn .9s var(--ease) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: .15s; }
.hero-content > *:nth-child(2) { animation-delay: .35s; }
.hero-content > *:nth-child(3) { animation-delay: .55s; }
.hero-content > *:nth-child(4) { animation-delay: .75s; }

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

.hero-title {
  font-size: clamp(3rem, 11vw, 9rem);
  font-weight: 100;
  letter-spacing: -.02em;
  line-height: .95;
  margin-bottom: 1rem;
}
.hero-title.degree {
  /* For the iconic "360°" home headline */
  font-size: clamp(5rem, 18vw, 14rem);
  letter-spacing: -.04em;
}

.hero-sub {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(1.2rem, 2.4vw, 1.85rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, .92);
  max-width: 32ch;
  margin-bottom: 2.5rem;
}

.hero-arrow {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  border-right: 1px solid rgba(255, 255, 255, .55);
  border-bottom: 1px solid rgba(255, 255, 255, .55);
  transform: rotate(45deg);
  animation: arrow 2.4s var(--ease) infinite;
  z-index: 5;
}
@keyframes arrow {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: .55; }
  50%      { transform: rotate(45deg) translate(6px, 6px); opacity: 1; }
}

/* ---------- Sections ----------------------------------------------------- */
section,
.section {
  padding: clamp(4rem, 10vw, 8rem) max(2rem, 6vw);
}

.section-dark {
  background: var(--dark-2);
  color: var(--white);
}

.section-light {
  background: #f7f5f3;
  color: var(--black);
}
.section-light h1, .section-light h2, .section-light h3 { color: var(--black); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h1,
.section-header h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}
.section-header p {
  max-width: 60ch;
  margin: 0 auto;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .75);
}
.section-light .section-header p { color: rgba(0, 0, 0, .68); }

/* ---------- Feature pairs (image + text, alternating) -------------------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto clamp(4rem, 10vw, 7rem);
}
.feature.reverse { direction: rtl; }
.feature.reverse > * { direction: ltr; }

.feature-text { max-width: 480px; }
.feature-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 200;
  margin-bottom: 1.25rem;
  color: var(--white);
}
.section-light .feature-text h2 { color: var(--black); }
.feature-text p {
  color: rgba(255, 255, 255, .75);
  font-size: 1.05rem;
  line-height: 1.7;
}
.section-light .feature-text p { color: rgba(0, 0, 0, .72); }

.feature-img {
  border-radius: 6px;
  overflow: hidden;
  /* Gradient placeholder so the page looks complete before images are added */
  background:
    linear-gradient(135deg, rgba(252, 10, 126, .22), rgba(110, 46, 216, .35)),
    var(--dark);
  aspect-ratio: 4 / 5;
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-img:empty::after {
  content: "image";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
}

@media (max-width: 820px) {
  .feature {
    grid-template-columns: 1fr;
  }
  .feature.reverse { direction: ltr; }
  .feature-img { aspect-ratio: 4 / 3; max-width: 480px; margin: 0 auto; }
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.5rem;
}

/* ---------- CTA section -------------------------------------------------- */
.cta {
  position: relative;
  text-align: center;
  padding: clamp(5rem, 12vw, 9rem) max(2rem, 6vw);
  background:
    linear-gradient(135deg, rgba(0, 0, 0, .55), rgba(96, 43, 182, .55)),
    radial-gradient(ellipse at 50% 0%, rgba(252, 10, 126, .35), transparent 60%),
    var(--dark);
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../images/cta-bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: .35;
  mix-blend-mode: luminosity;
}
.cta > * { position: relative; z-index: 1; }
.cta h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 200;
  margin-bottom: 2rem;
  color: var(--white);
}

/* ---------- Cards / grids ----------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  transition: transform .4s var(--ease),
              border-color .4s var(--ease),
              background-color .4s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(252, 10, 126, .55);
  background: rgba(252, 10, 126, .04);
}
.card h3 {
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: .75rem;
}
.card p {
  color: rgba(255, 255, 255, .72);
  font-size: .98rem;
  line-height: 1.65;
}
.section-light .card {
  background: var(--white);
  border-color: rgba(0, 0, 0, .08);
  box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .25);
}
.section-light .card p { color: rgba(0, 0, 0, .68); }
.section-light .card h3 { color: var(--black); }

/* ---------- Pricing rows ------------------------------------------------- */
.pricing {
  max-width: var(--max-width);
  margin: 0 auto;
}
.pricing-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-img {
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(135deg, rgba(252, 10, 126, .25), rgba(110, 46, 216, .35)),
    var(--dark);
  border-radius: 6px;
  overflow: hidden;
}
.pricing-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.pricing-content h3 {
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 1.25rem;
}
.pricing-content ul {
  list-style: none;
  padding: 0;
}
.pricing-content li {
  padding: .5rem 0 .5rem 1.5rem;
  position: relative;
  font-size: 1rem;
  color: rgba(0, 0, 0, .76);
  border-bottom: 1px dashed rgba(0, 0, 0, .08);
}
.pricing-content li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--pink);
  font-weight: 600;
}

@media (max-width: 700px) {
  .pricing-row { grid-template-columns: 1fr; }
  .pricing-img { max-width: 280px; }
}

/* ---------- Forms -------------------------------------------------------- */
.form {
  max-width: 700px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}

.form label,
.form .label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  margin-bottom: .5rem;
}
.section-light .form label,
.section-light .form .label { color: rgba(0, 0, 0, .65); }

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea {
  width: 100%;
  font: inherit;
  font-family: var(--font-body);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--white);
  padding: 14px 16px;
  border-radius: 4px;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.section-light .form input,
.section-light .form textarea {
  background: var(--white);
  border-color: rgba(0, 0, 0, .15);
  color: var(--black);
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--pink);
  background: rgba(252, 10, 126, .04);
}
.form textarea { min-height: 140px; resize: vertical; }

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .5rem 1rem;
  margin-top: .75rem;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .35rem 0;
  cursor: pointer;
  font-size: .95rem;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, .85);
}
.section-light .checkbox { color: rgba(0, 0, 0, .8); }
.checkbox input { accent-color: var(--pink); width: 1.05rem; height: 1.05rem; }

.form-message {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin-top: 1.5rem;
  text-align: center;
}
.form-message.success {
  display: block;
  background: rgba(252, 10, 126, .12);
  border: 1px solid var(--pink);
  color: var(--white);
}
.section-light .form-message.success { color: var(--black); }
.form-message.error {
  display: block;
  background: rgba(255, 70, 70, .1);
  border: 1px solid #ff4646;
}

.form-actions { margin-top: 2rem; }

/* ---------- Two-up callouts --------------------------------------------- */
.callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto 3rem;
}
.callout {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .82);
}
.section-light .callout { color: rgba(0, 0, 0, .76); }
@media (max-width: 700px) {
  .callouts { grid-template-columns: 1fr; }
}

/* ---------- Event rows --------------------------------------------------- */
.event {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 6px;
}
.event-img {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, rgba(252, 10, 126, .25), rgba(110, 46, 216, .35));
  border-radius: 4px;
  overflow: hidden;
}
.event-img img { width: 100%; height: 100%; object-fit: cover; }
.event h3 { font-size: 1.3rem; font-weight: 300; margin-bottom: .25rem; }
.event-meta { color: rgba(255, 255, 255, .55); font-size: .9rem; margin-bottom: 1rem; }
@media (max-width: 600px) {
  .event { grid-template-columns: 1fr; }
}

/* ---------- Footer ------------------------------------------------------- */
.footer {
  background: var(--dark);
  padding: 3.5rem max(2rem, 6vw);
  text-align: center;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.footer .brand img { height: 40px; }
.footer .brand-text {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: .15em;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--white);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
}
.footer-link {
  color: var(--grey);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .04em;
  transition: color .25s var(--ease);
}
.footer-link:hover { color: var(--white); }

.footer-credit {
  font-size: 11px;
  color: rgba(107, 107, 107, .7);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: .5rem;
}

/* ---------- Scroll reveal (used by JS) ----------------------------------
   We only hide the elements once JS has marked the document, so that if
   the script fails to load, the content is still shown by default. */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Reduce motion ----------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .hero::before { animation: none; }
  .hero-arrow { animation: none; }
  .hero-content > * {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
