/* Final art direction — trustworthy editorial design with playful dance energy. */
:root {
  --brand-navy: #0a2748;
  --brand-blue: #1268e8;
  --brand-cyan: #1bc9d4;
  --brand-pink: #f05287;
  --brand-orange: #ff9c32;
  --brand-ice: #f3f7fb;
  --brand-line: #dce6f0;
}

body {
  color: #172d45;
  background: #fff;
}

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

/* Header / identity */
header {
  height: 102px;
  border-bottom: 1px solid rgba(214, 226, 238, .9);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 35px rgba(13, 43, 75, .035);
}

.headerInner {
  max-width: 1480px;
  padding: 0 36px;
}

.brand {
  gap: 15px;
  letter-spacing: 0;
}

.brand > i {
  width: 60px;
  height: 52px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: 9px 9px 9px 2px;
  background: var(--brand-navy);
  box-shadow: 0 9px 24px rgba(10, 39, 72, .16);
  transform: none;
}

.brand > i span {
  display: grid;
  place-items: center;
  color: #fff;
  font: 900 15px/1 Arial, sans-serif;
}

.brand > i span:nth-child(2) { background: var(--brand-blue); }
.brand > i span:nth-child(3) { background: var(--brand-pink); }

.brand > span {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 10px;
  color: var(--brand-navy);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -.07em;
}

.brand > span > b { font-weight: 950; }

.brand em {
  margin: 0;
  padding: 6px 8px 5px;
  border-radius: 4px;
  color: #fff;
  background: var(--brand-blue);
  font-size: 12px;
  letter-spacing: .08em;
  vertical-align: 0;
}

.brand small {
  grid-column: 1 / -1;
  margin-top: 8px;
  color: #71849a;
  font-size: 7px;
  letter-spacing: .28em;
}

nav { gap: 16px; }

nav > a:not(.outline) {
  min-height: 44px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  color: #294761;
  background: #f3f7fb;
}

.navSearchIcon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-blue);
  font-size: 16px;
}

.outline {
  min-height: 44px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  border: 1px solid var(--brand-navy);
  border-radius: 999px;
  color: var(--brand-navy);
}

/* Hero canvas */
.hero.hero {
  padding: 16px 20px 0;
  overflow: hidden !important;
  background: #fff;
}

.hero .heroInner {
  width: 100%;
  max-width: 1540px;
  height: min(790px, calc(100svh - 118px));
  min-height: 700px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(215, 228, 240, .85);
  border-radius: 18px 6px 18px 6px;
  background: #eef4fa;
  box-shadow: 0 18px 60px rgba(13, 45, 81, .09);
}

.heroRail {
  z-index: 9;
  width: 72px;
  padding: 32px 0 102px;
  background: rgba(7, 32, 61, .96);
  border: 0;
}

.heroRail::after { background: linear-gradient(var(--brand-cyan), var(--brand-blue)); }
.heroRail > span { font-size: 31px; }

/* Prominent, understandable mode switch */
.heroModeSwitch {
  top: 26px;
  left: auto;
  right: 28px;
  width: 330px;
  max-width: calc(100% - 130px);
  padding: 6px;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 14px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 40px rgba(10, 39, 72, .14);
  backdrop-filter: blur(18px);
  transform: none;
}

.heroModeSwitch button {
  height: 52px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border-radius: 9px;
  color: #667d92;
  text-align: left;
}

.heroModeSwitch button > i {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #678096;
  background: #edf3f8;
  font-style: normal;
  font-size: 14px;
}

.heroModeSwitch button > span {
  margin: 0;
  display: block;
  font: inherit;
  opacity: 1;
}

.heroModeSwitch b,
.heroModeSwitch small { display: block; }
.heroModeSwitch b { font-size: 11px; letter-spacing: .03em; }
.heroModeSwitch small { margin-top: 3px; font-size: 7px; font-weight: 750; opacity: .68; }

.heroModeSwitch button[aria-selected="true"] {
  color: #fff;
  background: var(--brand-navy);
  box-shadow: 0 8px 22px rgba(10, 39, 72, .2);
}

.heroModeSwitch button[aria-selected="true"] > i {
  color: var(--brand-navy);
  background: #fff;
}

/* Main visual */
.heroVisualMode .heroArt { opacity: 1; }

.hero .heroPhoto img {
  object-position: 57% 48%;
  transform: scale(1.01);
  filter: saturate(.98) contrast(1.02);
}

.hero.heroVisualMode .heroPhoto::after {
  background:
    linear-gradient(90deg, #f7fafc 0%, rgba(247, 250, 252, .96) 24%, rgba(247, 250, 252, .64) 43%, rgba(7, 28, 53, .02) 67%),
    linear-gradient(0deg, rgba(8, 33, 62, .24), transparent 38%);
}

.hero .colorShape { z-index: 3; mix-blend-mode: screen; }
.hero .shapePink { right: -85px; top: 17%; opacity: .72; }
.hero .shapeOrange { right: 9%; bottom: -85px; opacity: .72; }
.hero .shapeCyan { left: 52%; top: -75px; opacity: .68; }

.hero .heroCopy {
  z-index: 7;
  left: clamp(112px, 9vw, 155px);
  top: 49%;
  width: min(670px, 49vw);
  padding: 0;
  color: var(--brand-navy);
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  transform: translateY(-48%);
}

.hero .heroKicker {
  margin: 0 0 25px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #476680;
  font-size: 9px;
  letter-spacing: .15em;
}

.hero .heroKicker::before { display: none; }

.hero .heroKicker i {
  padding: 7px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--brand-blue);
  font-style: normal;
  letter-spacing: .04em;
}

.heroDisplay {
  color: var(--brand-navy);
  -webkit-text-stroke: 0;
  font-size: clamp(66px, 7.1vw, 112px);
  line-height: .79;
  letter-spacing: -.08em;
  text-shadow: 0 2px 0 #fff;
}

.heroDisplay em {
  color: transparent;
  -webkit-text-stroke: 1.8px var(--brand-blue);
}

.hero.hero h1 {
  margin: 31px 0 13px;
  color: var(--brand-navy);
  font-size: clamp(29px, 2.4vw, 40px);
  line-height: 1.32;
  text-shadow: none;
}

.hero.hero h1 em { color: var(--brand-blue); }

.hero .heroCopy > p {
  color: #49637a;
  font-size: 13px;
  line-height: 1.9;
}

.hero .heroCtas { gap: 13px; }

.hero .heroCtas button,
.hero .heroCtas a {
  min-height: 54px;
  padding: 0 20px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 900;
}

.hero .heroCtas button {
  min-width: 174px;
  background: linear-gradient(120deg, #0757ce, #1687ef);
  box-shadow: 0 13px 28px rgba(18, 104, 232, .24);
}

.hero .heroCtas a:last-child {
  color: var(--brand-navy);
  border: 1px solid #b8c8d8;
  background: rgba(255, 255, 255, .62);
}

.heroInfoBar {
  left: 72px;
  min-height: 82px;
  color: #233e58;
  background: rgba(255, 255, 255, .94);
  border-top: 1px solid rgba(213, 226, 238, .88);
}

.heroInfoBar .heroTrust span { border-color: #d9e4ee; }

.heroInfoBar > button {
  color: var(--brand-blue);
  font-size: 10px;
}

.heroInfoBar > button b {
  color: #fff;
  border: 0;
  background: var(--brand-blue);
}

/* Search mode: same brand, calmer task-focused surface */
.hero.heroSearchMode .heroInner {
  height: auto;
  min-height: 735px;
  background:
    radial-gradient(circle at 93% 14%, rgba(240, 82, 135, .22) 0 10%, transparent 10.4%),
    radial-gradient(circle at 72% 106%, rgba(255, 156, 50, .25) 0 17%, transparent 17.4%),
    radial-gradient(circle at 38% -12%, rgba(27, 201, 212, .19) 0 18%, transparent 18.4%),
    linear-gradient(125deg, #f8fbfe 0%, #edf5fc 51%, #e5f1fb 100%);
}

.heroSearchMode .heroArt { opacity: .045; }
.hero.heroSearchMode .heroPhoto::after { background: rgba(228, 240, 251, .58); }
.heroSearchMode .colorShape { opacity: .18; }

.heroSearchPane {
  width: min(1300px, calc(100% - 170px));
  min-height: 735px;
  padding: 128px 24px 82px 55px;
  grid-template-columns: minmax(290px, .78fr) minmax(570px, 1.22fr);
  gap: clamp(42px, 6vw, 90px);
}

.heroSearchIntro { color: var(--brand-navy); }

.heroSearchIntro > span {
  margin-bottom: 19px;
  color: var(--brand-blue);
  font-size: 9px;
}

.heroSearchIntro h1 {
  margin: 0 0 20px !important;
  color: var(--brand-navy) !important;
  font-size: clamp(38px, 4vw, 58px) !important;
  line-height: 1.18 !important;
  letter-spacing: -.065em !important;
  text-shadow: none !important;
}

.heroSearchIntro p {
  color: #506a82;
  font-size: 12px;
}

.searchAssurance {
  margin-top: 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.searchAssurance span {
  padding: 8px 10px;
  border: 1px solid rgba(18, 104, 232, .14);
  border-radius: 999px;
  color: #345f88;
  background: rgba(255, 255, 255, .64);
  font-size: 8px;
  font-weight: 850;
}

.searchAssurance span::before {
  content: "✓";
  margin-right: 5px;
  color: var(--brand-blue);
}

.heroSearchCard {
  padding: 33px;
  border: 1px solid rgba(208, 222, 236, .9);
  border-top: 0;
  border-radius: 18px 6px 18px 6px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 28px 75px rgba(18, 63, 105, .15);
}

.heroSearchCard::before {
  content: "";
  height: 5px;
  display: block;
  margin: -33px -33px 28px;
  border-radius: 18px 6px 0 0;
  background: linear-gradient(90deg, var(--brand-blue) 0 48%, var(--brand-cyan) 48% 66%, var(--brand-orange) 66% 82%, var(--brand-pink) 82%);
}

.heroSearchCardHead > span {
  border-radius: 5px;
  background: var(--brand-navy);
}

.heroSearchCardHead b { color: var(--brand-navy); font-size: 17px; }
.heroSearchCardHead small { font-size: 9px; }

.heroSearchCard label > span:first-child {
  color: #36536e;
  font-size: 9px;
  letter-spacing: .04em;
}

.heroSearchCard select {
  height: 56px;
  border: 1px solid #d4e0eb;
  border-radius: 8px;
  background-color: #f8fafc;
  font-size: 11px;
}

.heroSearchCard select:focus {
  border-color: var(--brand-blue);
  outline: 3px solid rgba(18, 104, 232, .11);
}

.heroSearchSubmit {
  height: 58px;
  border-radius: 8px;
  background: linear-gradient(115deg, #0758cf, #1689ef);
  box-shadow: 0 12px 25px rgba(18, 104, 232, .23);
  transition: transform .2s ease, box-shadow .2s ease;
}

.heroSearchSubmit:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(18, 104, 232, .29); }
.heroAdvancedToggle { padding-top: 15px; color: #426582; }
.heroAdvancedFields { border-radius: 8px; background: #f2f7fc; }
.heroQuickSearch button { border-radius: 999px; }

/* Whole-page visual rhythm */
.siteAbout { padding-top: 104px; background: linear-gradient(#fff, #fbfdff); }
.siteAboutInner { max-width: 1260px; border-radius: 22px 7px 22px 7px; background: #f5f8fc; }
.siteAboutIntro { border-left-color: var(--brand-blue); }
.siteAboutPoints article { background: transparent; }

.pageSection { max-width: 1260px; }
.sectionTitle > span { color: var(--brand-blue); }
.sectionTitle h2 { font-size: clamp(30px, 3.2vw, 42px); }

.genreCard {
  border-color: #dfe8f1;
  border-radius: 18px 7px 18px 7px;
  box-shadow: 0 8px 25px rgba(18, 49, 83, .045);
}

.genreCard:hover { border-color: #aac9eb; box-shadow: 0 16px 34px rgba(18, 49, 83, .1); }
.showGenres { border-radius: 999px; }
.featureFinder { border: 0; border-radius: 18px 6px 18px 6px; background: #f1f6fc; }
.featureFinderButtons button { border-radius: 10px; }

.pickupSection { background: var(--brand-navy); }
.studioSection { background: #f2f6fa; }
.studioCard { border-radius: 18px 7px 18px 7px; }
.cardActionRow { display:flex;align-items:center;gap:9px;border-top:1px solid #edf1f5;padding-top:12px; }
.cardActionRow .cardLink { flex:1;border:0;padding:0; }
.cardTrialLink { flex:none;padding:9px 10px;border-radius:7px;color:#fff;background:linear-gradient(115deg,#0758cf,#1689ef);font-size:8px;font-weight:900;box-shadow:0 7px 16px rgba(18,104,232,.18) }
.mobileSearchCta { border-radius: 999px; }

@media (max-width: 1100px) {
  .brand > span { font-size: 24px; }
  .hero .heroCopy { left: 102px; width: 55vw; }
  .heroDisplay { font-size: clamp(62px, 8.2vw, 91px); }
  .heroSearchPane { width: calc(100% - 105px); padding-left: 38px; gap: 32px; }
}

/* Tablet portrait needs extra vertical room between the CTA row and info bar. */
@media (min-width: 761px) and (max-width: 1100px) {
  .hero.heroVisualMode .heroInner {
    height: 900px;
    min-height: 900px;
  }

  .hero.heroVisualMode .heroCopy {
    top: 47%;
  }

  .hero.heroVisualMode .heroCtas {
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
  }
}

@media (max-width: 760px) {
  header { height: 78px; }
  .headerInner { padding: 0 14px; }
  .brand { gap: 9px; }
  .brand > i { width: 45px; height: 42px; border-radius: 7px 7px 7px 2px; }
  .brand > i span { font-size: 11px; }
  .brand > span { column-gap: 6px; font-size: 18px; }
  .brand em { padding: 4px 5px; font-size: 8px; }
  .brand small { margin-top: 5px; font-size: 5px; letter-spacing: .19em; }
  nav { gap: 6px; }
  nav > a:not(.outline) { display: none; }
  .outline { min-height: 37px; padding: 0 10px; font-size: 9px; }

  .hero.hero { padding: 7px 7px 0; }
  .hero .heroInner { border-radius: 13px 4px 13px 4px; }
  .heroRail { display: none; }

  .heroModeSwitch {
    top: 12px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    padding: 4px;
    border-radius: 12px;
  }

  .heroModeSwitch button { height: 44px; justify-content: center; padding: 0 8px; }
  .heroModeSwitch button > i { width: 24px; height: 24px; font-size: 12px; }
  .heroModeSwitch b { font-size: 10px; }
  .heroModeSwitch small { font-size: 6px; }

  .hero.heroVisualMode .heroInner { height: 700px; min-height: 700px; }
  .heroVisualMode .heroArt { inset: 0 0 auto; height: 318px; }
  .hero .heroPhoto img { object-position: 61% center; }
  .hero.heroVisualMode .heroPhoto::after {
    background: linear-gradient(0deg, #f7fafc 0%, rgba(247, 250, 252, .08) 45%), linear-gradient(90deg, rgba(7, 31, 58, .2), transparent 70%);
  }

  .hero .shapePink { right: -115px; top: 10%; }
  .hero .shapeOrange { right: -60px; bottom: 20px; }
  .hero .shapeCyan { left: -100px; top: 120px; }

  .hero .heroCopy {
    left: 0;
    right: 0;
    top: 284px;
    width: 100%;
    padding: 24px 19px 30px;
    background: linear-gradient(#f7fafc 80%, rgba(247, 250, 252, .94));
    transform: none;
  }

  .hero .heroKicker { margin-bottom: 13px; font-size: 7px; }
  .hero .heroKicker i { padding: 6px 8px; }
  .heroDisplay { font-size: clamp(44px, 14vw, 58px); line-height: .82; }
  .hero.hero h1 { margin: 18px 0 9px; font-size: 24px; line-height: 1.28; }
  .hero .heroCopy > p { font-size: 10px; line-height: 1.75; }
  .hero .heroCtas { margin-top: 16px; gap: 8px; }
  .hero .heroCtas button, .hero .heroCtas a { min-height: 44px; padding: 0 12px; font-size: 9px; }
  .hero .heroCtas button { min-width: 136px; }

  .heroInfoBar { display:none; }

  .hero.heroSearchMode .heroInner { height: auto; min-height: 960px; }
  .heroSearchPane {
    width: 100%;
    min-height: 960px;
    padding: 83px 12px 30px;
    display: block;
  }
  .heroSearchIntro { padding: 0 10px; }
  .heroSearchIntro > span { margin-bottom: 9px; font-size: 7px; }
  .heroSearchIntro h1 { margin-bottom: 10px !important; font-size: 31px !important; }
  .heroSearchIntro p { font-size: 10px; line-height: 1.75; }
  .searchAssurance { margin-top: 13px; gap: 5px; }
  .searchAssurance span { padding: 6px 8px; font-size: 7px; }
  .heroSearchCard { margin-top: 20px; padding: 19px 14px 16px; border-radius: 14px 5px 14px 5px; }
  .heroSearchCard::before { margin: -19px -14px 17px; border-radius: 14px 5px 0 0; }
  .heroSearchCardHead { margin-bottom: 14px; padding-bottom: 13px; }
  .heroSearchCardHead b { font-size: 14px; }
  .heroSearchFields, .heroAdvancedFields { grid-template-columns: 1fr; gap: 8px; }
  .heroSearchCard select { height: 48px; }
  .heroSearchSubmit { height: 52px; margin-top: 12px; }
  .heroQuickSearch { margin-top: 11px; }

  .siteAbout { padding-top: 64px; }
  .siteAboutInner { border-radius: 16px 5px 16px 5px; }
  .sectionTitle h2 { font-size: 29px; }
  .featureFinder { border-radius: 14px 5px 14px 5px; }
}

@media (max-width: 390px) {
  .brand > span { font-size: 16px; }
  .brand > i { width: 42px; }
  .outline { padding: 0 8px; font-size: 8px; }
  .heroDisplay { font-size: 47px; }
  .hero.hero h1 { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
