/* Fantasy theme: illustrated scenery, luminous glass and saturated accents. */
:root {
  --ink: #101044;
  --muted: #303462;
  --purple: #6b16f1;
  --line: #ffffffa8;
  --fantasy-sky: url('../assets/fantasy/sky-world.jpg');
  --fantasy-story: url('../assets/fantasy/creative-world.jpg');
}
body {
  background: #b3bcff;
  color: var(--ink);
}
p { color: var(--muted); }
h1, h2, h3 { font-family: 'Trebuchet MS', 'Segoe UI', sans-serif; }
h2 { font-weight: 800; letter-spacing: -1.8px; }
h2 > span {
  color: #4e806c;
  background: linear-gradient(100deg, #6a00e8, #635baf 50%, #53856c);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  max-width: 1440px;
  height: 95px;
  padding-inline: 6%;
  background: transparent;
}
.brand { color: #080c3b; }
.brand-mark {
  color: #ff9d19;
  text-shadow: 0 2px 0 #f35548, 0 -2px 0 #fffbd6, 0 0 12px #fff;
}
.brand b > span { color: #ff6345; }
.header nav {
  padding: 17px 26px;
  gap: 30px;
  border: 2px solid #ffffffcf;
  border-radius: 40px;
  background: linear-gradient(160deg, #ffffffed, #edf4ff8c);
  box-shadow: inset 0 0 12px #fff, 0 4px 14px #3f41e52b;
  backdrop-filter: blur(12px);
}
.header nav a { font-size: 11px; font-weight: 800; color: #0c1240; }
.header nav a > span { color: #a051eb; margin-left: 6px; }
.header nav a:first-child > span { color: #ff8562; }
.header nav a:nth-child(3) > span { color: #ffcc62; }
.header nav a:hover { color: #6713e7; }
.button, .nav-cta {
  border-radius: 24px;
  border: 2px solid #ffffffd6;
  box-shadow: inset 0 2px 5px #ffffffd4, inset 0 -3px 6px #2c16b91a, 0 5px 15px #6453c73b;
}
.button.primary, .nav-cta {
  color: white;
  background: linear-gradient(120deg, #3c3bff, #4900d7 62%, #ab1ef1);
  box-shadow: inset 0 2px 4px #ffffffbd, inset -3px 0 6px #ff71f7, 0 0 0 2px #c1a5ff40, 0 5px 16px #6540dc65;
}
.button.primary:hover, .nav-cta:hover {
  background: linear-gradient(120deg, #5d5aff, #611bdf 62%, #c23afa);
  box-shadow: inset 0 2px 4px #fff9, 0 0 20px #ac75ffb3;
}
.hero {
  background: var(--fantasy-sky) center / cover no-repeat, #c8d9ff;
  border: 0;
  border-radius: 0 0 18px 18px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 5%, #f8efff8c 18%, #f7edff55 40%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  min-height: 710px;
  padding-top: 140px;
  padding-bottom: 80px;
  gap: 50px;
  grid-template-columns: .95fr 1.12fr;
}
.hero-copy { position: relative; padding-left: 105px; }
.eyebrow, .eyebrow.badge {
  width: fit-content;
  background: #ffffffb8;
  border: 1px solid #ffffffed;
  border-radius: 30px;
  color: #181249;
  padding: 7px 11px;
  font-size: 8px;
  letter-spacing: .7px;
  box-shadow: 0 2px 7px #7960c918, inset 0 1px 2px white;
}
.eyebrow.badge { gap: 6px; }
.badge i { background: #cc9d36; width: 4px; height: 4px; }
.hero h1 { font-size: 60px; letter-spacing: -3px; line-height: 1.02; }
.imagine-word {
  background: linear-gradient(90deg, #4000e3, #a21cf3);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rainbow-word {
  background-image: linear-gradient(90deg, #ef1280 3%, #f28c25 38%, #5ca878 67%, #7a23ef);
}
.hero-spark { color: #ffb011; text-shadow: 0 1px 1px #fff; font-size: 40px; }
.hero-copy > p { color: #25234f; font-size: 13px; max-width: 405px; text-shadow: 0 1px 6px #fff; }
.hero-actions { gap: 15px; }
.hero .button { font-size: 12px; }
.link-button {
  padding: 16px 21px;
  border: 2px solid #ffffffe0;
  border-radius: 26px;
  background: #ffffff87;
  box-shadow: inset 0 1px 9px white, 0 5px 10px #8f6bd22b;
  backdrop-filter: blur(10px);
}
.hero-footnote, .hero-bottom { display: none; }
.hero-visual { padding: 25px 0; }
.orbit, .floating-tag, .visual-star, .visual-caption, .window-bar { display: none; }
.hero-window {
  padding: 0;
  border: 5px solid #fff5ff;
  border-radius: 23px;
  background: #dbbaff;
  transform: rotate(-2deg);
  box-shadow: 0 0 0 3px #dea5fa70, 0 0 24px #f8d0ff, 0 16px 45px #4526c982, inset 0 0 12px white;
}
.hero-window::before {
  content: '';
  position: absolute;
  inset: -24px -23px;
  border: 2px solid #f3c2ffb0;
  border-radius: 50%;
  transform: rotate(-9deg);
  box-shadow: 0 -7px 9px #f5b8ff77, 0 9px 16px #9c58fd85;
  pointer-events: none;
}
.hero-carousel .carousel-stage { border-radius: 16px; }
.hero-carousel .carousel-footer {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -53px;
  padding: 0;
  color: #181249;
}
.hero-carousel .carousel-title { padding: 7px 10px; border-radius: 20px; background: #ffffffb8; font-size: 9px; }
.carousel-arrow {
  border: 1px solid #fff;
  background: #ffffffa8;
  box-shadow: inset 0 1px 6px white, 0 3px 8px #7366ba44;
  color: #4e1bbc;
}
.carousel-arrow:hover { background: white; }
.hero-carousel .carousel-arrow { width: 30px; height: 30px; }
.hero-carousel .carousel-counter { color: #3c2467; background: #ffffffa8; border-radius: 10px; padding: 4px; }
.hero-carousel .carousel-dots { bottom: -76px; }
.carousel-dot:before { background: #ffffffc9; box-shadow: 0 1px 4px #6341b744; }
.carousel-dot[aria-pressed=true]:before { background: #8b2deb; }
.ticker { display: none; }
.section { max-width: 1280px; padding: 75px 6%; }
.intro {
  max-width: none;
  background: var(--fantasy-story) center / cover no-repeat, #dce0ff;
  border: 3px solid #ffffffba;
  border-radius: 18px;
  box-shadow: inset 0 0 15px #fff;
  padding-inline: max(8%, calc((100% - 1080px) / 2));
}
.section-heading > p { color: #242953; text-shadow: 0 1px 4px white; }
.world-grid { gap: 25px; }
.world-card {
  border: 2px solid #fffffff2;
  border-radius: 26px;
  background: linear-gradient(130deg, #fff2dce6, #ffe9cce0);
  box-shadow: inset 0 0 15px #fff7e6, 0 6px 18px #8059bc3b;
  backdrop-filter: blur(14px);
}
.theater-world { background: linear-gradient(135deg, #efe4ffd9, #d9ccffe6); box-shadow: inset 0 0 15px #fff, 0 6px 18px #8059bc3b; }
.world-card h3 { color: #0a103c; }
.world-card p, .theater-world p { color: #252b51; }
.world-card-top { color: #15163d; }
.world-icon {
  display: grid;
  place-items: center;
  background: linear-gradient(130deg, #fff5a1, #ffc75b);
  color: #f69500;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #fff9d1;
  box-shadow: 0 4px 8px #e998392b, inset 0 1px 5px #fff9;
}
.theater-world .world-icon { background: linear-gradient(140deg, #dfb8ff, #925cff); color: white; border-color: #eacaff; }
.world-arrow { color: #f69200; }
.theater-world .world-arrow { color: #8b23ed; }
.chips span { color: #222749; border-color: #efa63d; background: #fff3e0a1; box-shadow: 0 2px 4px #d0a06924; }
.theater-world .chips span { color: #2b1a5c; border-color: #b390eb; background: #e7dbff91; }
.world-link { border: 0; color: #0a103c; gap: 27px; }
.world-decoration { color: #f6bc5b; opacity: .3; }
.theater-world .world-decoration { color: #9b72d4; opacity: .4; }
.gallery-section {
  color: var(--ink);
  background: var(--fantasy-sky) center / cover no-repeat, #b9cbff;
  border: 3px solid #ffffffb5;
  border-radius: 18px;
  box-shadow: inset 0 0 15px white;
}
.gallery-section::before { display: none; }
.gallery-section .eyebrow { color: #151541; }
.gallery-section .section-heading > p { color: #303358; }
.showcase-carousel .carousel-stage {
  padding: 0;
  border: 6px solid #fff;
  border-radius: 25px;
  background: #bde4ff;
  box-shadow: 0 0 0 2px #ffffff70, 0 0 23px #fff, 0 10px 30px #6d37d562;
}
.carousel-slide img { background: #d1ecff; }
.showcase-carousel .carousel-slide img { max-height: 570px; background: #d1ecff; }
.showcase-carousel .carousel-footer {
  margin-top: 18px;
  padding: 17px 22px;
  border: 1px solid #fff;
  border-radius: 17px;
  background: #ffffffb8;
  box-shadow: inset 0 0 10px white, 0 4px 15px #8e69c627;
  backdrop-filter: blur(15px);
}
.carousel-kicker { color: #6846a0; }
.carousel-description { color: #414361; }
.showcase-carousel .carousel-counter { color: #6e4b98; }
.showcase-carousel .carousel-arrow { color: #6835b1; border-color: white; background: #ffffffe0; }
.showcase-carousel .carousel-arrow:hover { background: #e5d9ff; }
.carousel-thumbnails { padding-inline: 4px; scrollbar-color: #a57de0 transparent; }
.carousel-thumbnail { opacity: .7; border-radius: 11px; }
.carousel-thumbnail[aria-pressed=true] { border-color: #fff; background: #ac69ff75; box-shadow: 0 0 9px #e3c5ff; }
.gallery-hint, .gallery-hint > span:first-child { color: #39355a; text-shadow: 0 1px 3px white; }
.experience {
  max-width: none;
  background: var(--fantasy-story) center 65% / cover no-repeat, #d8d5ff;
  border: 3px solid #ffffffa8;
  border-radius: 18px;
  box-shadow: inset 0 0 18px white;
  padding-inline: max(8%, calc((100% - 1080px) / 2));
  gap: 60px;
}
.experience-list {
  background: #ffffffe0;
  border: 2px solid #ffffffec;
  padding: 12px 25px;
  border-radius: 25px;
  box-shadow: inset 0 0 15px #fff, 0 5px 18px #8d6bc72b;
  backdrop-filter: blur(16px);
}
.experience-list article { padding: 18px 0; border-color: #d6c2f5; }
.experience-list article:first-child { padding-top: 8px; }
.experience-list article:last-child { border: 0; padding-bottom: 8px; }
.experience-icon { border: 1px solid #fff; border-radius: 18px; box-shadow: inset 0 1px 7px white, 0 3px 8px #ba8bb538; }
.experience-icon.pink { background: #ffd4d5; color: #fe2536; }
.experience-icon.yellow { background: #ffe5a1; color: #ff9900; }
.experience-icon.lavender { background: #e9d4ff; color: #8e2cf9; }
.experience-number { color: #2d2752; }
.team-section {
  background: url('../assets/fantasy/team-world.jpg') center bottom / cover no-repeat, #dfccff;
  border: 3px solid #ffffffb5;
  border-radius: 18px;
  box-shadow: inset 0 0 20px white;
}
.team-section .section { display: grid; grid-template-columns: .85fr 1.5fr; gap: 35px; align-items: center; max-width: 1400px; }
.team-section .section-heading { display: block; margin: 0; }
.team-section .section-heading > p { margin-top: 22px; max-width: 300px; }
.team-section h2 { font-size: 37px; }
.team-grid { gap: 15px; align-items: stretch; }
.team-card { border: 2px solid #ffffffe0; border-radius: 26px; background: linear-gradient(135deg, #f4dbffe8, #edcbffdc); box-shadow: inset 0 0 13px white, 0 7px 15px #a757d747; backdrop-filter: blur(10px); text-align: center; }
.team-card:nth-child(2) { background: linear-gradient(135deg, #ffe6c8f0, #ffe7bce0); box-shadow: inset 0 0 13px white, 0 7px 15px #e7af7547; }
.team-card:nth-child(3) { background: linear-gradient(135deg, #d6f0e4e8, #c8e4dce0); box-shadow: inset 0 0 13px white, 0 7px 15px #698eae47; }
.team-art, .member-one, .member-two, .member-three { background: transparent; height: 125px; }
.avatar { width: 82px; height: 82px; border: 3px solid white; background: linear-gradient(140deg, #fff7ffb3, #d3a9ff88); box-shadow: inset 0 0 15px #ffffffdd, 0 5px 7px #9e5bce47; font-size: 35px; color: #5d04d7; }
.member-two .avatar { color: #ff750a; background: linear-gradient(140deg, #fff7ebc9, #ffd7817a); box-shadow: inset 0 0 15px white, 0 5px 7px #df995447; }
.member-three .avatar { color: #348b72; background: linear-gradient(140deg, #f2fff6c9, #b8dbcc6b); box-shadow: inset 0 0 15px white, 0 5px 7px #7bafa147; }
.team-art i { font-size: 75px; right: 9px; top: 5px; opacity: .25; }
.team-art::before, .member-index, .team-dot { display: none; }
.team-info { padding: 0 12px 23px; }
.team-info h3 { font-size: 16px; letter-spacing: -.6px; margin-bottom: 12px; }
.team-info > span { color: #2c315b; font-size: 9px; }
.project-section {
  max-width: none;
  background: var(--fantasy-sky) center / cover no-repeat, #c6c9ff;
  padding-inline: max(8%, calc((100% - 1080px) / 2));
  border: 3px solid #ffffffb5;
  border-radius: 18px;
}
.project-card {
  border: 2px solid #fff;
  background: #ffffffe0;
  box-shadow: inset 0 0 15px white, 0 7px 23px #a074cd45;
  backdrop-filter: blur(14px);
}
.project-card h2 > span { color: #7100dc; }
.project-status { border-color: #d9c9ed; }
.project-status > span, .project-card .release-note { color: #514b72; }
.project-symbol > span { color: #ffbf3e; text-shadow: 3px 6px 0 #f08e26, 0 -2px 0 #fff0b8, 0 0 10px #ffdd6c; }
.project-symbol b { color: #6425ad; }
.project-symbol i { color: #ad58ff; }
.save-section {
  max-width: none;
  margin: 0;
  padding: 40px max(8%, calc((100% - 1080px) / 2));
  background: #ede2ff;
  border: 2px solid #fff;
  border-radius: 18px;
}
.save-icon { background: #e1c9ff; color: #7819df; box-shadow: inset 0 1px 7px white, 0 4px 6px #9f75c42b; }
.save-section .button { color: white; background: linear-gradient(120deg, #3824fc, #7700dc 70%, #b828f5); white-space: nowrap; box-shadow: inset 0 2px 5px #fff8, 0 0 13px #aa7fff; }
footer {
  max-width: none;
  position: relative;
  min-height: 260px;
  padding-inline: 8%;
  padding-bottom: 80px;
  background: linear-gradient(#ffffffa8, #f7e8ff55), var(--fantasy-sky) center bottom / cover no-repeat;
  border: 3px solid #fff9;
  border-radius: 18px;
  box-shadow: inset 0 0 18px white;
}
footer p, footer > span { color: #20204a; font-weight: 600; }
.back-top { border: 2px solid white; background: #ffffff9c; box-shadow: inset 0 1px 8px white, 0 3px 8px #8150bb44; color: #6f25bd; }
dialog { border: 2px solid white; background: #f9f3ffed; box-shadow: 0 0 35px #bf88ff85; }
dialog::backdrop { background: #302362aa; backdrop-filter: blur(12px); }
.close-button, .lightbox-controls button { background: #eee0ff; border: 1px solid white; color: #5e24a4; }
#toast { background: #5b15c5; border: 1px solid #e0c2ff; box-shadow: 0 0 20px #b781f958; }
@media (min-width: 1500px) { .hero-inner { min-height: 760px; } .hero h1 { font-size: 69px; } }
@media (max-width: 1100px) {
  .header { padding-inline: 5%; }
  .header nav { gap: 20px; padding: 14px 20px; }
  .header nav a { font-size: 9px; }
  .hero-inner { gap: 30px; min-height: 650px; }
  .hero h1 { font-size: 52px; }
  .hero-copy { padding-left: 65px; }
  .hero-copy > p { font-size: 12px; }
  .hero .button, .link-button { font-size: 10px; padding: 14px 17px; }
  .team-section .section { gap: 25px; grid-template-columns: .8fr 1.5fr; }
  .team-section h2 { font-size: 32px; }
  .team-info h3 { font-size: 14px; }
  .team-info > span { font-size: 8px; }
  .team-art { height: 110px; }
  .avatar { width: 70px; height: 70px; font-size: 30px; }
}
@media (max-width: 800px) {
  .header { position: relative; height: 85px; background: linear-gradient(100deg, #e8dcffb8, #b9dcffb8); border-bottom: 1px solid white; }
  .header nav { gap: 18px; }
  .hero-inner { padding-top: 40px; padding-bottom: 100px; grid-template-columns: 1fr; max-width: 680px; gap: 25px; }
  .hero { background-position: 52% center; }
  .hero-copy { padding-left: 0; }
  .hero h1 { font-size: 61px; }
  .hero h1 br:nth-of-type(2) { display: block; }
  .hero-visual { margin: 10px 10px 0; padding-block: 10px; }
  .hero-window { transform: rotate(-1deg); }
  .hero-carousel .carousel-footer { bottom: -50px; }
  .intro, .experience, .project-section { padding-inline: 30px; }
  .experience { gap: 30px; }
  .team-section .section { display: block; }
  .team-section .section-heading { margin-bottom: 30px; }
  .team-section .section-heading > p { max-width: 460px; }
  .team-section h2 { font-size: 39px; }
  .team-art { height: 140px; }
  .avatar { width: 90px; height: 90px; font-size: 38px; }
  .team-info h3 { font-size: 18px; }
  .save-section { padding: 35px 30px; }
  .save-section .button { margin-left: 75px; }
  footer { padding-inline: 30px; min-height: 240px; }
}
@media (max-width: 560px) {
  .header { height: 76px; padding-inline: 22px; }
  .header nav { position: absolute; border-radius: 20px; padding: 24px; background: #f7f1fff5; }
  .header nav a { font-size: 13px; }
  .menu-toggle { width: 39px; height: 36px; border: 1px solid white; border-radius: 12px; background: #ffffffa3; box-shadow: inset 0 1px 5px white, 0 3px 10px #7954bb30; }
  .hero { background-position: 55% center; }
  .hero-inner { padding: 35px 24px 105px; gap: 15px; }
  .hero-copy { padding: 0 0 5px; }
  .hero h1 { font-size: 49px; letter-spacing: -2.6px; }
  .hero-copy > p { max-width: 335px; font-size: 12px; }
  .hero-spark { font-size: 35px; }
  .hero .badge { font-size: 6px; }
  .hero-actions { gap: 10px; }
  .hero .button, .link-button { padding: 13px 14px; font-size: 10px; }
  .hero-visual { margin: 15px 2px 0; padding: 0; }
  .hero-window { border-width: 4px; border-radius: 15px; }
  .hero-carousel .carousel-stage { border-radius: 10px; }
  .hero-window::before { inset: -12px; border-width: 1px; }
  .hero-carousel .carousel-title { padding: 6px 8px; font-size: 7px; max-width: 170px; }
  .hero-carousel .carousel-footer { left: 0; right: 0; bottom: -45px; }
  .hero-carousel .carousel-dots { bottom: -70px; }
  .hero-carousel .carousel-counter { font-size: 7px; }
  .hero-carousel .carousel-arrow { width: 27px; height: 27px; }
  .intro, .experience, .project-section { padding-inline: 23px; }
  .eyebrow { font-size: 6px; padding: 6px 9px; }
  .world-card { border-radius: 23px; }
  .world-card h3 { font-size: 29px; }
  .world-card-top { font-size: 7px; }
  .world-icon { width: 38px; height: 38px; font-size: 26px; }
  .gallery-section { border-width: 2px; }
  .showcase-carousel .carousel-stage { border-width: 4px; border-radius: 14px; }
  .showcase-carousel .carousel-footer { margin-top: 12px; padding: 17px 14px; border-radius: 15px; }
  .showcase-carousel .carousel-title { font-size: 20px; }
  .carousel-description { font-size: 11px; }
  .experience-list { padding: 14px 17px; border-radius: 20px; }
  .experience-list article { gap: 12px; }
  .experience-list h3 { font-size: 14px; }
  .experience-list p { font-size: 10px; }
  .experience-number { display: none; }
  .experience-icon { width: 39px; height: 39px; font-size: 22px; border-radius: 13px; }
  .team-section h2 { font-size: 32px; }
  .team-grid { gap: 17px; }
  .team-card { display: grid; grid-template-columns: 100px 1fr; border-radius: 21px; text-align: left; }
  .team-art { height: 145px; min-height: 145px; }
  .avatar { width: 65px; height: 65px; font-size: 28px; }
  .team-art i { right: -15px; font-size: 60px; }
  .team-info { padding: 20px 14px 20px 7px; }
  .team-info h3 { font-size: 19px; margin-bottom: 10px; }
  .team-info > span { font-size: 9px; }
  .project-section { padding: 40px 16px; }
  .project-card { padding-inline: 22px; border-radius: 22px; }
  .project-card h2 { font-size: 32px; }
  .project-card .eyebrow { font-size: 5px; }
  .save-section { padding: 30px 23px; }
  .save-section .button { margin-left: 53px; }
  footer { padding: 30px 23px 90px; min-height: 250px; }
  footer .brand { flex-basis: 100%; }
  footer p { font-size: 9px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 43px; }
  .hero .button, .link-button { font-size: 9px; padding-inline: 11px; }
  .team-card { grid-template-columns: 80px 1fr; }
  .team-info h3 { font-size: 17px; }
  .avatar { width: 56px; height: 56px; font-size: 25px; }
}


@media (max-width: 800px) {
  .hero::before {
    background: linear-gradient(180deg, #f9f1ffb8 0%, #f9f1ff99 48%, #f9f1ff30 72%, transparent 100%);
  }
}
