
:root {
  --bg: #080808;
  --surface: #111111;
  --text: #f2f2f2;
  --muted: #858585;
  --line: rgba(255,255,255,0.13);
  --nav-bg: rgba(8,8,8,0.72);
  --accent: #ffffff;
  --font-main: "Space Grotesk", sans-serif;
  --font-tech: "Michroma", sans-serif;
}

[data-theme="light"] {
  --bg: #f3f3f0;
  --surface: #e8e8e4;
  --text: #101010;
  --muted: #777777;
  --line: rgba(0,0,0,0.15);
  --nav-bg: rgba(243,243,240,0.78);
  --accent: #111111;
}

[data-theme="retro"] {
  --bg: #171612;
  --surface: #242117;
  --text: #e8dfc8;
  --muted: #a79d83;
  --line: rgba(232,223,200,0.18);
  --nav-bg: rgba(23,22,18,0.8);
  --accent: #e8dfc8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--text);
  color: var(--bg);
}

/* =========================================
   CUSTOM CURSOR
========================================= */

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--text);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid var(--muted);
  transition:
    width 0.25s ease,
    height 0.25s ease,
    border-color 0.25s ease;
}

.cursor-ring.active {
  width: 55px;
  height: 55px;
  border-color: var(--text);
}

/* =========================================
   BACKGROUND EFFECTS
========================================= */

.background-effects {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-circle {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0.35;
  will-change: transform;
}

.circle-one {
  width: 220px;
  height: 220px;
  top: 18%;
  left: -150px;
}

.circle-two {
  width: 130px;
  height: 130px;
  top: 55%;
  right: -65px;
}

.circle-three {
  width: 70px;
  height: 70px;
  top: 82%;
  left: 20%;
}

.orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0.16;
}

.orbit-one {
  width: 400px;
  height: 400px;
  top: 25%;
  right: -280px;
}

.orbit-two {
  width: 550px;
  height: 550px;
  top: 65%;
  left: -420px;
}

/* =========================================
   NAVBAR
========================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 78px;
  padding: 0 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
  transition:
    transform 0.4s ease,
    background 0.4s ease;
}

.navbar.hide {
  transform: translateY(-100%);
}

.logo,
.footer-logo {
  font-family: var(--font-tech);
  font-size: 17px;
  letter-spacing: 3px;
  font-weight: 400;
}

.logo span,
.footer-logo span {
  opacity: 0.5;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-links a {
  font-size: 12px;
  color: var(--muted);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.theme-wrapper {
  position: relative;
}

.theme-button {
  background: transparent;
  border: 0;
  font-size: 24px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}

.theme-icon {
  display: inline-block;
  animation: sunRotate 3.5s linear infinite;
}

@keyframes sunRotate {
  to {
    transform: rotate(360deg);
  }
}

.theme-menu {
  position: absolute;
  top: 48px;
  right: 0;
  min-width: 115px;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  display: none;
  flex-direction: column;
  gap: 4px;
}

.theme-menu.show {
  display: flex;
}

.theme-menu button {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 9px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
}

.theme-menu button:hover {
  background: var(--line);
}

/* Hamburger */

.menu-toggle {
  width: 28px;
  height: 25px;
  background: none;
  border: none;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s ease;
}

.menu-toggle.active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

#favicon{
  border-radius: 500px;
}

/* Fullscreen menu */

.fullscreen-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 900;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10%;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease;
}

.fullscreen-menu.active {
  opacity: 1;
  visibility: visible;
}

.fullscreen-menu nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.fullscreen-menu nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(32px, 7vw, 75px);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  transition: opacity 0.3s ease;
}

.fullscreen-menu nav a:hover {
  opacity: 0.5;
}

.fullscreen-menu nav span {
  font-size: 12px;
  color: var(--muted);
}

.fullscreen-menu > p {
  position: absolute;
  bottom: 35px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
}

/* =========================================
   GENERAL SECTIONS
========================================= */

main,
.footer {
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  padding-left: 10%;
  padding-right: 10%;
}

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-content {
  width: 100%;
  position: relative;
  z-index: 2;
  padding-top: 55px;
}

.hero-eyebrow,
.section-number {
  font-family: var(--font-tech);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
}

.hero-title {
  font-family: var(--font-tech);
  font-size: clamp(55px, 12vw, 150px);
  letter-spacing: -5px;
  font-weight: 400;
  line-height: 1.2;
  margin-top: 28px;
}

.hero-title span {
  opacity: 0.45;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 620px;
  margin-top: 35px;
}

.hero-bottom p {
  color: var(--muted);
  font-size: 14px;
}

.scroll-link {
  font-size: 10px;
  letter-spacing: 2px;
}

.scroll-link span {
  display: inline-block;
  margin-left: 12px;
  transition: transform 0.3s ease;
}

.scroll-link:hover span {
  transform: translateY(5px);
}

.hero-index {
  position: absolute;
  right: 7%;
  bottom: 45px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
}

/* Bat silhouette */

.bat-background {
  position: absolute;
  width: min(85vw, 900px);
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.055;
  will-change: transform;
}

.bat-background svg {
  display: block;
  width: 100%;
  fill: var(--text);
}

/* =========================================
   CONTENT SECTIONS
========================================= */

.content-section {
  min-height: 75vh;
  padding-top: 150px;
  padding-bottom: 150px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.section-heading h2 {
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 400;
  letter-spacing: -3px;
  line-height: 1.1;
  margin-top: 30px;
}

.about-content {
  padding-top: 55px;
  max-width: 440px;
}

.about-content p {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
}

.about-content .muted-text {
  margin-top: 25px;
  font-size: 14px;
  color: var(--muted);
}

/* =========================================
   PROJECTS
========================================= */

.project-list {
  grid-column: 1 / -1;
  margin-top: 35px;
}

.project-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 5px;
  border-top: 1px solid var(--line);
  transition: padding 0.3s ease;
}

.project-item:last-child {
  border-bottom: 1px solid var(--line);
}

.project-item:hover {
  padding-left: 18px;
}

.project-number {
  font-size: 10px;
  color: var(--muted);
}

.project-item h3 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 400;
  margin-top: 10px;
}

.project-item p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
}

.project-arrow {
  font-size: 25px;
  transition: transform 0.3s ease;
}

.project-item:hover .project-arrow {
  transform: translate(5px, -5px);
}

/* =========================================
   INTERESTS
========================================= */

.interest-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 30px;
}

.interest-card {
  background: var(--bg);
  padding: 35px;
  min-height: 180px;
  transition: background 0.3s ease;
}

.interest-card:hover {
  background: var(--surface);
}

.interest-card span {
  font-size: 10px;
  color: var(--muted);
}

.interest-card h3 {
  font-size: 22px;
  font-weight: 400;
  margin-top: 30px;
}

.interest-card p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}

/* =========================================
   CONTACT
========================================= */

.contact-section {
  min-height: 75vh;
  padding-top: 140px;
  padding-bottom: 140px;
  border-top: 1px solid var(--line);
}

.contact-content {
  margin-top: 65px;
}

.contact-content h2 {
  font-size: clamp(40px, 8vw, 95px);
  font-weight: 400;
  letter-spacing: -4px;
}

.contact-content h2 span {
  opacity: 0.45;
}

.contact-content p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 20px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid var(--text);
  padding-bottom: 12px;
  margin-top: 40px;
  font-size: 11px;
  letter-spacing: 2px;
}

.contact-link span {
  transition: transform 0.3s ease;
}

.contact-link:hover span {
  transform: translate(5px, -5px);
}

/* =========================================
   FOOTER
========================================= */

.footer {
  min-height: 100px;
  padding: 30px 7%;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-logo {
  font-size: 13px;
}

.footer p,
.back-top {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1px;
}

.back-top:hover {
  color: var(--text);
}

/* =========================================
   BACK TO TOP
========================================= */

.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 50%;
  font-size: 17px;
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--text);
  color: var(--bg);
}

/* =========================================
   SCROLL REVEAL
========================================= */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 850px) {
  .navbar {
    padding: 0 6%;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .section {
    padding-left: 7%;
    padding-right: 7%;
  }

  .content-section {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 110px;
    padding-bottom: 110px;
  }

  .about-content {
    padding-top: 15px;
  }

  .hero-title {
    letter-spacing: -3px;
  }

  .bat-background {
    width: 105vw;
  }
}

@media (max-width: 550px) {
  .navbar {
    height: 68px;
  }

  .logo {
    font-size: 14px;
  }

  .nav-actions {
    gap: 15px;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-title {
    font-size: clamp(45px, 13vw, 75px);
    letter-spacing: -2px;
  }

  .hero-bottom {
    align-items: flex-start;
    gap: 25px;
    flex-direction: column;
  }

  .hero-bottom p {
    font-size: 12px;
  }

  .hero-index {
    bottom: 30px;
  }

  .section-heading h2 {
    font-size: 43px;
    letter-spacing: -2px;
  }

  .interest-grid {
    grid-template-columns: 1fr;
  }

  .interest-card {
    min-height: 150px;
  }

  .contact-content h2 {
    letter-spacing: -2px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 7%;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* Reduced motion accessibility */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* =========================================
   EKLYPS — INTERACTIVE PROJECT SECTION
========================================= */

#projects {
  padding-top: 6rem;
  padding-bottom: 6rem;
  gap: 2rem;
}

/* Project list spacing */

#projects .project-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  grid-column: 1 / -1;
}

/* Project cards */

.project-trigger {
  width: 100%;
  min-height: 125px;
  padding: 1.5rem 1.75rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: left;
  font-family: var(--font-main);
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;

  transition:
    transform 0.4s cubic-bezier(.2,.8,.2,1),
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.project-trigger:hover {
  transform: translateY(-5px);
  background: var(--bg);
  border-color: var(--muted);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.project-trigger:active {
  transform: scale(0.985);
}

.project-info h3 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  margin-top: 10px;
  transition: letter-spacing 0.3s ease;
}

.project-trigger:hover h3 {
  letter-spacing: 1px;
}

.project-info p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}

.project-number {
  font-family: var(--font-tech);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.project-arrow {
  font-size: 24px;
  transition: transform 0.35s ease;
}

.project-trigger:hover .project-arrow {
  transform: translate(5px, -5px);
}

/* Keyboard focus */

.project-trigger:focus-visible,
.dialog-button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

/* =========================================
   PROJECT POPUP OVERLAY
========================================= */

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;

  display: flex;
  justify-content: center;
  align-items: flex-start;

  padding: 2rem 1.25rem;

  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    backdrop-filter 0.35s ease;
}

.project-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Popup box */

.project-dialog {
  width: min(100%, 440px);
  margin-top: 5vh;

  padding: 1.5rem;
  background: var(--surface);
  color: var(--text);

  border: 1px solid var(--line);
  border-radius: 16px;

  box-shadow: 0 25px 80px rgba(0,0,0,0.25);

  transform: translateY(-25px) scale(0.96);
  opacity: 0;

  transition:
    transform 0.5s cubic-bezier(.16,1,.3,1),
    opacity 0.4s ease;
}

.project-modal.active .project-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Popup header */

.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.dialog-label {
  font-family: var(--font-tech);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}

.dialog-indicator {
  width: 7px;
  height: 7px;
  background: var(--text);
  border-radius: 50%;
  animation: indicatorPulse 1.8s ease-in-out infinite;
}

@keyframes indicatorPulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Popup message */

.dialog-content {
  padding: 2rem 0;
}

.dialog-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;

  display: grid;
  place-items: center;

  font-family: var(--font-tech);
  font-size: 15px;
  margin-bottom: 1.3rem;
}

.dialog-content h3 {
  font-size: clamp(21px, 4vw, 27px);
  font-weight: 500;
  letter-spacing: -0.7px;
}

.dialog-content p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 0.8rem;
}

/* Okay button */

.dialog-button {
  width: 100%;
  padding: 14px 17px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: var(--text);
  color: var(--bg);

  border: none;
  border-radius: 8px;

  font-size: 12px;
  font-weight: 600;
  cursor: pointer;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.dialog-button:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.dialog-button:active {
  transform: scale(0.98);
}

.dialog-button span {
  font-size: 17px;
}

/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 600px) {

  #projects {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  #projects .project-list {
    gap: 0.85rem;
  }

  .project-trigger {
    min-height: 110px;
    padding: 1.25rem;
    border-radius: 10px;
  }

  .project-info h3 {
    font-size: 23px;
  }

  .project-modal {
    padding: 1.25rem;
  }

  .project-dialog {
    width: 100%;
    margin-top: 4vh;
    padding: 1.25rem;
    border-radius: 13px;
  }

  .dialog-content {
    padding: 1.7rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-trigger,
  .project-dialog,
  .project-modal,
  .dialog-button {
    transition: none;
  }

  .dialog-indicator {
    animation: none;
  }
}

/* =========================================
   EKLYPS V3 — ABOUT FLOWER
========================================= */

#about {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Background flower */

.about-flower {
  position: absolute;
  width: min(75vw, 760px);
  aspect-ratio: 1;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
  opacity: 0.075;
  pointer-events: none;
  will-change: transform;
}

.about-flower svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: var(--text);
  stroke-width: 1;
}

.flower-rotor {
  transform-origin: 300px 300px;
}

.flower-petals ellipse {
  fill: var(--muted);
  fill-opacity: 0.12;
  stroke: var(--text);
  stroke-opacity: 0.7;
  stroke-width: 1.1;
}

.flower-lines {
  stroke-width: 1.5;
  stroke-opacity: 0.6;
}

/* Keep About content above the flower */

#about .section-heading,
#about .about-content {
  position: relative;
  z-index: 2;
}

/* =========================================
   NAVIGATION — CLEANER TYPOGRAPHY
========================================= */

.nav-links {
  gap: 42px;
}

.nav-links a {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.2px;
  padding: 8px 0;
  transition: color 0.3s ease;
}

/* Minimal underline animation */

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.35s cubic-bezier(.2,.8,.2,1);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--text);
}

/* =========================================
   THEME DROPDOWN — SMOOTH
========================================= */

.theme-menu {
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;

  transition:
    opacity 0.25s ease,
    transform 0.3s cubic-bezier(.2,.8,.2,1),
    visibility 0.25s ease;

  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.theme-menu.show {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.theme-menu button {
  font-size: 13px;
  padding: 11px 12px;
  transition:
    background 0.25s ease,
    padding-left 0.25s ease;
}

.theme-menu button:hover {
  padding-left: 17px;
}

/* Theme icon subtle interaction */

.theme-button {
  transition: transform 0.3s ease;
}

.theme-button:hover {
  transform: rotate(-12deg) scale(1.08);
}

/* =========================================
   MOBILE MENU — DROPDOWN ANIMATION
========================================= */

/* Override the old fullscreen menu layout */

.fullscreen-menu {
  inset: 68px 0 auto;
  height: auto;
  max-height: 0;
  overflow: hidden;

  padding: 0 7%;

  justify-content: flex-start;

  background: var(--nav-bg);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  border-bottom: 1px solid transparent;

  transform: translateY(-12px);

  transition:
    max-height 0.55s cubic-bezier(.2,.8,.2,1),
    padding 0.4s ease,
    transform 0.4s ease,
    opacity 0.35s ease,
    border-color 0.35s ease,
    visibility 0.35s ease;

  opacity: 0;
  visibility: hidden;
}

.fullscreen-menu.active {
  max-height: calc(100dvh - 68px);
  padding: 22px 7% 28px;

  opacity: 1;
  visibility: visible;

  transform: translateY(0);
  border-color: var(--line);
}

.fullscreen-menu nav {
  gap: 0;
}

.fullscreen-menu nav a {
  font-size: clamp(19px, 5vw, 25px);
  font-weight: 400;
  letter-spacing: -0.5px;

  padding: 15px 2px;

  opacity: 0;
  transform: translateY(-10px);

  transition:
    opacity 0.35s ease,
    transform 0.4s cubic-bezier(.2,.8,.2,1),
    color 0.25s ease;
}

.fullscreen-menu.active nav a {
  opacity: 1;
  transform: translateY(0);
}

.fullscreen-menu.active nav a:nth-child(1) {
  transition-delay: 0.08s;
}

.fullscreen-menu.active nav a:nth-child(2) {
  transition-delay: 0.13s;
}

.fullscreen-menu.active nav a:nth-child(3) {
  transition-delay: 0.18s;
}

.fullscreen-menu.active nav a:nth-child(4) {
  transition-delay: 0.23s;
}

.fullscreen-menu.active nav a:nth-child(5) {
  transition-delay: 0.28s;
}

.fullscreen-menu nav a span {
  font-family: var(--font-tech);
  font-size: 9px;
}

.fullscreen-menu > p {
  position: static;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 2px;
}

/* Hamburger interaction */

.menu-toggle {
  transition: opacity 0.3s ease;
}

.menu-toggle:hover {
  opacity: 0.65;
}

.menu-toggle span {
  transform-origin: center;
}



/* =========================================
   EKLYPS — ABOUT FLOWER BACKGROUND
========================================= */

#about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Futuristic flower — half outside left edge */
#about .about-flower {
  position: absolute;
  width: min(75vw, 780px);
  aspect-ratio: 1;

  left: 0;
  top: 50%;

  transform: translate(-50%, -50%);
  z-index: 0;

  opacity: 0.12;
  pointer-events: none;
  will-change: transform;
}

/* SVG */
#about .about-flower svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.2;
}

/* Rotating structure */
#about .flower-rotor {
  transform-origin: 300px 300px;
}

/* Petals */
#about .flower-petals ellipse {
  fill: var(--muted);
  fill-opacity: 0.16;
  stroke: var(--text);
  stroke-opacity: 0.65;
  stroke-width: 1.3;
}

/* Technical details */
#about .flower-lines {
  stroke: var(--text);
  stroke-width: 1.5;
  stroke-opacity: 0.55;
}

/* Text stays above flower */
#about .section-heading,
#about .about-content {
  position: relative;
  z-index: 2;
}

/* Tablet */
@media (max-width: 850px) {
  #about .about-flower {
    width: 100vw;
    opacity: 0.11;
  }
}

/* Mobile */
@media (max-width: 550px) {
  #about .about-flower {
    width: 125vw;
    opacity: 0.19;
  }
}

/* Slow continuous flower rotation */
#about .flower-rotor {
  animation: flowerSpin 45s linear infinite;
}

@keyframes flowerSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(2360deg);
  }
}

/* Scroll-controlled film reel */
.film-reel {
  display: block;
  transform-origin: center center;
  will-change: transform;
  opacity: 0.7;
}


/* =========================================
   FILM REEL — RESPONSIVE SIZING
========================================= */

/* Large screens */
#interests .film-reel {
  display: block;
  width: clamp(220px, 27vw, 390px);
  max-width: 100%;
  height: auto;
  margin: 0 auto;

  transform-origin: center center;
  will-change: transform;
}

/* Tablets */
@media (max-width: 850px) {
  #interests .film-reel {
    width: min(65vw, 300px);
  }
}

/* Mobile */
@media (max-width: 550px) {
  #interests .film-reel {
    width: min(68vw, 250px);
  }
}


/* =========================================
   FAVOURITE FILMS
========================================= */

.favourites-section {
  padding-top: 130px;
  padding-bottom: 130px;
}

.favourites-content {
  padding-top: 55px;
}

.favourites-intro {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 35px;
}

.movie-list {
  display: flex;
  flex-direction: column;
}

.movie-item {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 22px 5px;
  border-top: 1px solid var(--line);
  transition: padding 0.3s ease;
}

.movie-item:last-child {
  border-bottom: 1px solid var(--line);
}

.movie-item:hover {
  padding-left: 13px;
}

.movie-item > span {
  font-family: var(--font-tech);
  font-size: 9px;
  color: var(--muted);
}

.movie-item h3 {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400;
  transition: opacity 0.3s ease;
}

.movie-item:hover h3 {
  opacity: 0.65;
}

.movie-item small {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

@media (max-width: 850px) {
  .favourites-section {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .favourites-content {
    padding-top: 10px;
  }
}

@media (max-width: 550px) {
  .favourites-section {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .movie-item {
    grid-template-columns: 28px 1fr;
    gap: 10px;
  }

  .movie-item small {
    grid-column: 2;
    text-align: left;
    margin-top: -5px;
  }
}


/* HIDE DEFAULT MOUSE CURSOR */
@media (hover: hover) and (pointer: fine) {
  *,
  *::before,
  *::after {
    cursor: none !important;
  }

  input,
  textarea {
    cursor: text !important;
  }
}


/* REMOVE DEFAULT BLUE TAP HIGHLIGHT */
* {
  -webkit-tap-highlight-color: transparent;
}

/* REMOVE DEFAULT FOCUS BACKGROUND */
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

/* KEEP CLEAN CUSTOM KEYBOARD FOCUS */
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* CUSTOM FOCUS INDICATOR */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 1px solid var(--muted);
  outline-offset: 4px;
}

/* =========================================
   HERO — EXPLORE MICRO INTERACTION
========================================= */

.hero .scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin-top: 22px;
  padding: 10px 0;

  font-size: 11px;
  letter-spacing: 2px;

  position: relative;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

/* Subtle underline */
.hero .scroll-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;

  width: 0;
  height: 1px;
  background: var(--text);

  transition: width 0.4s cubic-bezier(.2,.8,.2,1);
}

/* Arrow */
.hero .scroll-link span {
  display: inline-block;
  transition: transform 0.35s ease;
}

/* Hover */
.hero .scroll-link:hover {
  transform: translateY(-3px);
}

.hero .scroll-link:hover::after {
  width: 100%;
}

.hero .scroll-link:hover span {
  transform: translate(4px, 4px);
}

/* Gentle idle movement */
@media (prefers-reduced-motion: no-preference) {
  .hero .scroll-link span {
    animation: exploreFloat 2.5s ease-in-out infinite;
  }
}

@keyframes exploreFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

/* Press interaction */
.hero .scroll-link:active {
  transform: scale(0.96);
}

/* =========================================
   EKLYPS — CONCLUSION SECTION
========================================= */

#conclusion {
  --conclusion-bg: var(--text);
  --conclusion-text: var(--bg);
  --conclusion-muted: var(--muted);

  position: relative;
  isolation: isolate;

  margin: 0 1.25rem 1.25rem;
  padding: 120px 9% 100px;

  min-height: 540px;

  background: var(--conclusion-bg);
  color: var(--conclusion-text);

  border-radius: 5px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: background 0.4s ease, color 0.4s ease;
}

.conclusion-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  margin: auto;
}

/* Label */

.conclusion-label {
  font-family: var(--font-tech);
  font-size: 10px;
  letter-spacing: 2px;
  opacity: 0.55;
}

/* Main heading */

.conclusion-inner h2 {
  font-size: clamp(48px, 8vw, 105px);
  font-weight: 400;
  letter-spacing: -5px;
  line-height: 1.05;
  margin-top: 45px;
}

.conclusion-inner h2 span {
  opacity: 0.42;
}

/* Description */

.conclusion-inner p {
  max-width: 390px;
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.65;
  margin-top: 28px;
}

/* Link */

.conclusion-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;

  margin-top: 40px;
  padding-bottom: 10px;

  border-bottom: 1px solid currentColor;

  font-size: 10px;
  letter-spacing: 2px;

  transition: gap 0.35s ease, opacity 0.35s ease;
}

.conclusion-link span {
  font-size: 17px;
  transition: transform 0.35s ease;
}

.conclusion-link:hover {
  gap: 32px;
  opacity: 0.65;
}

.conclusion-link:hover span {
  transform: translate(4px, -4px);
}

/* Moving bottom line */

.conclusion-line {
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.16;
  margin-top: 85px;
  transform: scaleX(0.15);
  transform-origin: left;
  transition: transform 1s cubic-bezier(.2,.8,.2,1);
}

#conclusion.is-visible .conclusion-line {
  transform: scaleX(1);
}

/* =========================================
   FOUR SCROLL-ROTATING SCREWS
========================================= */

.conclusion-screw {
  position: absolute;
  z-index: 1;

  width: 48px;
  height: 48px;

  color: var(--conclusion-text);

  pointer-events: none;
  will-change: transform;
}

.conclusion-screw svg {
  display: block;
  width: 100%;
  height: 100%;
}

.screw-top-left {
  top: 25px;
  left: 25px;
}

.screw-top-right {
  top: 25px;
  right: 25px;
}

.screw-bottom-left {
  bottom: 25px;
  left: 25px;
}

.screw-bottom-right {
  bottom: 25px;
  right: 25px;
}

/* Reveal animation */

.conclusion-inner > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

#conclusion.is-visible .conclusion-inner > * {
  opacity: 1;
  transform: translateY(0);
}

#conclusion.is-visible .conclusion-label {
  transition-delay: 0.1s;
}

#conclusion.is-visible h2 {
  transition-delay: 0.2s;
}

#conclusion.is-visible p {
  transition-delay: 0.3s;
}

#conclusion.is-visible .conclusion-link {
  transition-delay: 0.4s;
}

#conclusion.is-visible .conclusion-line {
  transition-delay: 0.5s;
}

/* Responsive */

@media (max-width: 850px) {
  #conclusion {
    padding: 100px 7%;
    min-height: 480px;
  }

  .conclusion-screw {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 550px) {
  #conclusion {
    margin: 0 0.8rem 0.8rem;
    padding: 100px 8% 75px;
    min-height: 440px;
  }

  .conclusion-inner h2 {
    font-size: clamp(43px, 11vw, 65px);
    letter-spacing: -2.5px;
  }

  .conclusion-inner p {
    font-size: 13px;
  }

  .conclusion-screw {
    width: 29px;
    height: 29px;
  }

  .screw-top-left {
    top: 17px;
    left: 17px;
  }

  .screw-top-right {
    top: 17px;
    right: 17px;
  }

  .screw-bottom-left {
    bottom: 17px;
    left: 17px;
  }

  .screw-bottom-right {
    bottom: 17px;
    right: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .conclusion-inner > *,
  .conclusion-line {
    transition: none;
    transform: none;
  }
}

/* CONCLUSION — LARGER DESCRIPTION */
#conclusion .conclusion-inner p {
  font-size: clamp(16px, 1.5vw, 21px) !important;
  line-height: 1.8 !important;
  max-width: 550px !important;
}


/* =========================================
   EKLYPS — CONTACT METHODS
========================================= */

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 45px;
}

.contact-method {
  position: relative;
  min-height: 190px;
  padding: 35px 30px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: var(--text);
  text-decoration: none;

  overflow: hidden;
  transition:
    background 0.4s ease,
    padding 0.4s ease;
}

.contact-method + .contact-method {
  border-left: 1px solid var(--line);
}

/* Contact text */

.contact-method-label {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 24px;
}

.contact-method h3 {
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 400;
  letter-spacing: -1px;
  transition: transform 0.4s ease;
}

.contact-method p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 9px;
}

/* Arrow */

.contact-method-arrow {
  font-size: 25px;
  opacity: 0.55;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

/* Hover */

.contact-method:hover {
  background: var(--surface);
  padding-left: 38px;
}

.contact-method:hover h3 {
  transform: translateX(4px);
}

.contact-method:hover .contact-method-arrow {
  opacity: 1;
  transform: translate(5px, -5px);
}

/* Automatic subtle animation */

@media (prefers-reduced-motion: no-preference) {
  .contact-method {
    animation: contactFloat 5s ease-in-out infinite;
  }

  .contact-method:nth-child(2) {
    animation-delay: 0.8s;
  }
}

@keyframes contactFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* Mobile */

@media (max-width: 600px) {
  .contact-methods {
    grid-template-columns: 1fr;
  }

  .contact-method {
    min-height: 155px;
    padding: 28px 20px;
  }

  .contact-method + .contact-method {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .contact-method:hover {
    padding-left: 26px;
  }
}

/* Reduced motion accessibility */

@media (prefers-reduced-motion: reduce) {
  .contact-method {
    animation: none;
    transition: none;
  }
}


.chatgpt-credit-logo {
  width: 15px;
  height: 15px;
  display: inline-block;
  color: var(--text);
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.graphics-credit:hover .chatgpt-credit-logo {
  transform: rotate(20deg);
}

/* =========================================
   EKLYPS — INTRO EXPERIENCE
========================================= */

#site-intro,
#offline-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;

  background: var(--bg);
  color: var(--text);

  display: flex;
  align-items: center;
  justify-content: center;

  transition:
    opacity .7s cubic-bezier(.22,1,.36,1),
    visibility .7s ease;
}

#site-intro {
  opacity: 1;
  visibility: visible;
}

#site-intro.intro-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-content {
  width: min(90%, 420px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* GEOMETRIC EMBLEM */

.intro-emblem {
  width: 150px;
  height: 150px;
  margin-bottom: 35px;
  display: grid;
  place-items: center;
}

.intro-geometry {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--text);
  stroke-width: .8;
  opacity: .75;

  animation: geometryReveal 1.2s ease both;
}

.geometry-petals {
  transform-origin: 100px 100px;
  animation: geometryRotate 24s linear infinite;
}

.geometry-dots {
  fill: var(--text);
  stroke: none;
}

/* BRAND */

.intro-brand {
  font-family: var(--font-tech);
  font-size: clamp(27px, 5vw, 38px);
  letter-spacing: 9px;
  font-weight: 500;

  animation: introText .9s .15s both;
}

.intro-brand span {
  color: var(--muted);
}

/* MESSAGE */

.intro-message {
  margin-top: 17px;
  font-family: var(--font-body, inherit);
  font-size: 20px;
  letter-spacing: .5px;
  color: var(--muted);

  animation: introText .9s .25s both;
}

/* PROGRESS */

.intro-progress {
  width: 150px;
  height: 1px;
  margin-top: 32px;
  background: var(--line);
  overflow: hidden;
}

.intro-progress-bar {
  width: 35%;
  height: 100%;
  background: var(--text);

  animation: progressTravel 1.5s ease-in-out infinite;
}

.intro-status {
  margin-top: 14px;
  font-family: var(--font-tech);
  font-size: 8px;
  letter-spacing: 2.5px;
  color: var(--muted);
}

/* BOTTOM DETAILS */

.intro-bottom {
  position: absolute;
  bottom: 27px;
  left: 30px;
  right: 30px;

  display: flex;
  justify-content: space-between;

  font-family: var(--font-tech);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--muted);
}

/* INTRO ANIMATIONS */

@keyframes geometryRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes geometryReveal {
  from {
    opacity: 0;
    transform: scale(.75) rotate(-25deg);
  }
  to {
    opacity: .75;
    transform: scale(1) rotate(0);
  }
}

@keyframes introText {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes progressTravel {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(400%);
  }
}


/* =========================================
   OFFLINE SCREEN
========================================= */

#offline-screen {
  z-index: 100000;
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#offline-screen.offline-visible {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.offline-content {
  width: min(90%, 400px);
  text-align: center;
  animation: introText .6s ease both;
}

.offline-symbol {
  width: 45px;
  height: 45px;
  margin: 0 auto 25px;
  color: var(--muted);
}

.offline-symbol svg {
  width: 100%;
  height: 100%;
}

.offline-content h2 {
  font-family: var(--font-tech);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 400;
  letter-spacing: -1px;
}

.offline-content h2 span {
  color: var(--muted);
}

.offline-content p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 13px;
}

#retry-network {
  margin-top: 32px;
  padding: 13px 22px;

  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);

  font-family: var(--font-tech);
  font-size: 10px;
  letter-spacing: 2px;

  cursor: pointer;
  transition:
    background .3s ease,
    color .3s ease,
    border-color .3s ease;
}

#retry-network span {
  margin-left: 10px;
}

#retry-network:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
  .intro-geometry,
  .geometry-petals,
  .intro-progress-bar {
    animation: none !important;
  }

  #site-intro,
  #offline-screen,
  .intro-content,
  .offline-content {
    transition: none !important;
    animation: none !important;
  }
}


/* MOBILE */

@media (max-width: 550px) {
  .intro-emblem {
    width: 125px;
    height: 125px;
  }

  .intro-bottom {
    left: 18px;
    right: 18px;
    font-size: 7px;
  }
}



/* =========================================
   EKLYPS — FLOATING PAGE RATING
========================================= */

.page-rating {
  position: fixed;
  z-index: 9990;

  top: 24px;
  left: 50%;

  width: min(430px, calc(100% - 32px));
  padding: 25px 28px 23px;

  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translate(-50%, -18px) scale(.97);

  transition:
    opacity .5s cubic-bezier(.2,.8,.2,1),
    transform .6s cubic-bezier(.2,.8,.2,1),
    visibility .5s;

  box-shadow: none;
}

.page-rating.rating-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

/* CLOSE */

.rating-close {
  position: absolute;
  top: 12px;
  right: 15px;

  border: none;
  background: transparent;
  color: var(--muted);

  font-size: 23px;
  font-weight: 300;

  cursor: pointer;
  transition: color .25s ease, transform .3s ease;
}

.rating-close:hover {
  color: var(--text);
  transform: rotate(90deg);
}

/* CONTENT */

.rating-content {
  text-align: center;
}

.rating-label {
  display: block;
  margin-bottom: 13px;

  color: var(--muted);
  font-family: var(--font-tech);
  font-size: 9px;
  letter-spacing: 2.5px;
}

.rating-content h3,
.rating-thanks h3 {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -.5px;
}

.rating-content p,
.rating-thanks p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

/* THUMBS */

.rating-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}

.rating-button {
  position: relative;
  width: 52px;
  height: 46px;

  display: grid;
  place-items: center;

  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);

  cursor: pointer;
  overflow: hidden;

  transition:
    color .3s ease,
    background .3s ease,
    border-color .3s ease,
    transform .3s cubic-bezier(.2,.8,.2,1);
}

.rating-button svg {
  width: 19px;
  height: 19px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}

.rating-button:hover {
  color: var(--text);
  border-color: var(--text);
  transform: translateY(-4px);
}

.rating-button:hover svg {
  transform: scale(1.15);
}

.rating-button:active {
  transform: scale(.88);
}

/* CLICK ANIMATION */

.rating-button.selected {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  animation: ratingPop .55s cubic-bezier(.2,1.5,.5,1);
}

.rating-button.selected svg {
  animation: thumbCelebrate .65s ease;
}

@keyframes ratingPop {
  0% { transform: scale(.85); }
  45% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

@keyframes thumbCelebrate {
  0% { transform: rotate(0) scale(1); }
  35% { transform: rotate(-18deg) scale(1.35); }
  70% { transform: rotate(10deg) scale(1.1); }
  100% { transform: rotate(0) scale(1); }
}

/* THANK YOU */

.rating-thanks {
  display: none;
  text-align: center;
}

.rating-thanks.show {
  display: block;
  animation: thanksReveal .55s cubic-bezier(.2,.8,.2,1) both;
}

.rating-thanks.show ~ .rating-content {
  display: none;
}

.thanks-symbol {
  display: block;
  margin-bottom: 10px;
  font-size: 23px;
  color: var(--muted);
  animation: thanksSpin .8s ease;
}

@keyframes thanksReveal {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes thanksSpin {
  from { transform: rotate(-90deg) scale(.5); }
  to { transform: rotate(0) scale(1); }
}

/* MOBILE */

@media (max-width: 550px) {
  .page-rating {
    top: 14px;
    padding: 24px 20px 20px;
  }

  .rating-content h3 {
    font-size: 18px;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  .page-rating,
  .rating-button,
  .rating-button svg,
  .rating-close {
    transition: none !important;
    animation: none !important;
  }
}
@media (max-width: 600px) {
  .page-rating {
    width: calc(100% - 24px);
    padding: 30px 26px 28px;
  }

  .page-rating h3 {
    font-size: 21px;
  }

  .page-rating p {
    font-size: 14px;
  }

  .rating-button {
    width: 48px;
    height: 48px;
  }
}