@font-face {
  font-family: "Clash Display";
  src: url("fonts/ClashDisplay-Regular.woff2") format("woff2");
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: black;
  overflow-x: hidden;
  position: relative;
}

/* LOCK SCROLL DURING INTRO */
body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 60px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  z-index: 9999;

  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.8s ease;
}

.navbar.show {
  opacity: 1;
  transform: translateY(0);
}

.logo {
  height: 55px;
  width: auto;
}

.cta-btn {
  text-decoration: none;
  color: white;
  font-family: "Clash Display", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 1px;

  padding: 14px 24px;
  border: 1px solid rgba(208,178,142,0.7);
  border-radius: 999px;

  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);

  transition: all 0.35s ease;
}

.cta-btn:hover {
  background: #d0b28e;
  color: black;
  transform: translateY(-2px);
}

/* HERO */
.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  z-index: 1;
  overflow: hidden;

  background-image: url("assets/BG.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  backface-visibility: hidden;
  transform: translateZ(0);

}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 5;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  padding: 20px;
}

.hero-text,
.hero-subtext {
  position: absolute;
  opacity: 0;
}

.hero-text {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2rem, 5vw, 5rem);
  color: white;
  line-height: 1.2;
}

.hero-subtext {
  font-family: "Clash Display", sans-serif;
  font-size: clamp(0.8rem, 1.5vw, 1.3rem);
  color: #d0b28e;
  letter-spacing: 2px;
  line-height: 1.7;
}

/* SCROLL WORLD */
.scroll-world {
  position: relative;
  z-index: 20;
  margin-top: 100vh;
}

/* WHY TRANSITION */

.why-overlay,
.why-text {
  pointer-events: none;
  touch-action: none;
}

.why-transition {
  position: relative;
  height: 190vh;
  overflow: visible;
  pointer-events: none;
}

.why-overlay {
  position: fixed;
  inset: 0;
  background: black;
  opacity: 0;
  z-index: 15;
  pointer-events: none;
  backface-visibility: hidden;
  will-change: opacity;
}

.why-text {
  position: fixed;
  top: 50%;
  left: 50%;
  max-width: 100vw;

  transform: translate(-50%, -50%) scale(5.5);

  font-family: "DM Serif Display", serif;
  font-size: clamp(3.5rem, 12vw, 12rem);
  white-space: nowrap;
  color: white;

  opacity: 0;
  z-index: 100;
  pointer-events: none;
  will-change: transform, opacity;
  backface-visibility: hidden;

  overflow: hidden;
  contain: layout paint;
}

/* INTRO ANIMATIONS */
.fade-in-up {
  animation: fadeInUp 1.2s ease forwards;
}

.fade-out-up {
  animation: fadeOutUp 0.9s ease forwards;
}

.why-us {
  min-height: 100vh;
  background: black;
  position: relative;
  z-index: 30;
  padding: 120px 8%;
  color: white;
}

/* Founders */
.founders-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 100px;
}

.founder-card {
  text-align: center;
}

.founder-card img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(208,178,142,0.3);
  margin-bottom: 20px;
}

.founder-card h3 {
  font-family: "DM Serif Display", serif;
  font-size: 2rem;
  margin-bottom: 8px;
}

.founder-card p {
  color: #d0b28e;
  font-family: "Clash Display", sans-serif;
}

/* Middle section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 120px;
}

.about-block h2 {
  font-family: "DM Serif Display", serif;
  font-size: 3rem;
  margin-bottom: 30px;
}

.about-block p {
  font-family: "Clash Display", sans-serif;
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
  margin-bottom: 20px;
}

/* Pillars */
.pillars {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillars span {
  font-family: "Clash Display", sans-serif;
  font-size: clamp(1.3rem, 3vw, 3rem);
  letter-spacing: 3px;
  color: #d0b28e;
}

/* Mobile */
@media (max-width: 900px) {
  .founders-section,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 40px;
  }

  .about-block h2 {
    font-size: 2.2rem;
  }
}

/* INITIAL HIDDEN STATES */
.reveal-left,
.reveal-right,
.reveal-up,
.reveal-pillar {
  opacity: 0;
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left {
  transform: translateX(-100px);
}

.reveal-right {
  transform: translateX(100px);
}

.reveal-up {
  transform: translateY(80px);
}

.reveal-pillar {
  transform: translateY(40px);
}

/* ACTIVE STATE */
.reveal-left.active,
.reveal-right.active,
.reveal-up.active,
.reveal-pillar.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* Delays */
.delay-1 {
  transition-delay: 0.25s;
}

.delay-2 {
  transition-delay: 0.5s;
}

.services-section {
  min-height: 100vh;
  background: #050505;
  color: white;
  padding: 140px 8%;
}

.services-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 90px;
}

.services-header h2 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(3rem, 7vw, 6rem);
  margin-bottom: 20px;
}

.services-header p {
  font-family: "Clash Display", sans-serif;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 120px;
}

.service-card {
  padding: 40px 32px;
  border: 1px solid rgba(208,178,142,0.2);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
  min-height: 320px;
  transition: all 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(208,178,142,0.5);
}

.service-card h3 {
  font-family: "DM Serif Display", serif;
  font-size: 2rem;
  margin-bottom: 24px;
}

.service-card p {
  font-family: "Clash Display", sans-serif;
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
}

.featured {
  background: rgba(208,178,142,0.06);
}

.scope-section {
  text-align: center;
}

.scope-section h2 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 60px;
}

.scope-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.scope-pill {
  padding: 16px 26px;
  border-radius: 999px;
  border: 1px solid rgba(208,178,142,0.35);
  font-family: "Clash Display", sans-serif;
  color: #d0b28e;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.scope-pill:hover {
  background: rgba(208,178,142,0.12);
}


.workflow-section {
  min-height: 100vh;
  background: #050505;
  color: white;
  padding: 140px 6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.workflow-heading {
  text-align: center;
  margin-bottom: 100px;
}

.workflow-heading h2 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(3rem, 6vw, 6rem);
  margin-bottom: 20px;
}

.workflow-heading p {
  font-family: "Clash Display", sans-serif;
  color: rgba(255,255,255,0.75);
  letter-spacing: 1px;
}

.timeline-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  align-items: start;
}

.timeline-line {
  position: absolute;
  top: 18px;
  left: 10%;
  width: 80%;
  height: 1px;
  background: rgba(208,178,142,0.3);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.4s ease;
}

.timeline-line.active {
  transform: scaleX(1);
}

.timeline-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.node {
  width: 36px;
  height: 36px;
  margin: 0 auto 30px;
  border-radius: 50%;

  background: rgba(208,178,142,0.15);
  border: 1px solid rgba(208,178,142,0.3);

  transform: scale(0.7);
  opacity: 0.4;

  transition: all 0.5s ease;
}

.node.active {
  background: #d0b28e;
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 25px rgba(208,178,142,0.45);
}

.timeline-step h3 {
  font-family: "DM Serif Display", serif;
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.timeline-step p {
  font-family: "Clash Display", sans-serif;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  font-size: 0.95rem;
}

.services-section,
.workflow-section {
  position: relative;
  z-index: 30;
}

.footer-section {
  min-height: 85vh;
  background: black;
  color: white;
  padding: 120px 8% 80px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 80px;

  position: relative;
  z-index: 30;
}

.footer-section h2 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 40px;
}

/* Resource Buttons */
.resource-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.resource-card {
  padding: 40px;
  text-decoration: none;
  color: white;

  border: 1px solid rgba(208,178,142,0.25);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);

  transition: all 0.4s ease;
}

.resource-card:hover {
  border-color: rgba(208,178,142,0.7);
  transform: translateY(-6px);
}

.resource-card span {
  display: block;
  font-family: "DM Serif Display", serif;
  font-size: 2rem;
  margin-bottom: 14px;
}

.resource-card small {
  font-family: "Clash Display", sans-serif;
  color: #d0b28e;
}

/* Contact */
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-family: "Clash Display", sans-serif;
  transition: all 0.3s ease;
}

.contact-links a:hover {
  color: #d0b28e;
}

/* Bottom */
.footer-bottom p {
  font-family: "Clash Display", sans-serif;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}

.footer-actions {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-actions a {
  text-decoration: none;
  color: #d0b28e;
  font-family: "Clash Display", sans-serif;
  position: relative;
}

.footer-actions a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: #d0b28e;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.footer-actions a:hover::after {
  transform: scaleX(1);
}

.contact-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.contact-icons a {
  position: relative;

  width: 64px;
  height: 64px;
  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;

  text-decoration: none;
  overflow: hidden;

  color: #d0b28e;

  /* Glass */
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.09),
    rgba(255,255,255,0.02)
  );

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(208,178,142,0.25);

  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.15),
    0 8px 24px rgba(0,0,0,0.35);

  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease,
    background 0.45s ease;
}

/* Premium light reflection */
.contact-icons a::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 80%;
  height: 200%;

  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,0.18),
    transparent
  );

  transform: rotate(25deg);
  opacity: 0;
  transition: all 0.7s ease;
}

.contact-icons a i {
  position: relative;
  z-index: 2;
  font-size: 1.35rem;
  transition:
    transform 0.4s ease,
    color 0.4s ease;
}

/* Hover */
.contact-icons a:hover {
  transform: translateY(-8px) scale(1.08);

  border-color: rgba(208,178,142,0.65);

  background: linear-gradient(
    135deg,
    rgba(208,178,142,0.18),
    rgba(255,255,255,0.03)
  );

  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.2),
    0 0 25px rgba(208,178,142,0.16),
    0 18px 50px rgba(0,0,0,0.4);
}

.contact-icons a:hover::before {
  left: 130%;
  opacity: 1;
}

.contact-icons a:hover i {
  color: #f4dcc0;
  transform: scale(1.08);
}

/* Click */
.contact-icons a:active {
  transform: translateY(-2px) scale(1.03);
}

.sensory-rooms-section {
  position: relative;
  min-height: 100vh;
  padding: 140px 8%;
  background: #050505;

  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  overflow: hidden;
}

.sensory-bg-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(208,178,142,0.16),
    transparent 65%
  );

  filter: blur(80px);
  animation: floatGlow 8s ease-in-out infinite;
  will-change: transform;
}

@keyframes floatGlow {
  0%,100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-30px);
  }
}

.sensory-container {
  position: relative;
  z-index: 2;
  width: min(1200px, 100%);
  padding: 80px 70px;
  border-radius: 36px;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.015)
  );

  backdrop-filter: blur(22px);

  border: 1px solid rgba(208,178,142,0.22);

  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.08),
    0 40px 80px rgba(0,0,0,0.35);

  text-align: center;
}

.sensory-label {
  color: #d0b28e;
  font-family: "Clash Display";
  letter-spacing: 5px;
  margin-bottom: 20px;
}

.sensory-container h2 {
  color: white;
  font-family: "DM Serif Display";
  font-size: clamp(4rem, 9vw, 8rem);
}

.sensory-container h3 {
  margin-top: 20px;
  color: #d0b28e;
  font-family: "Clash Display";
  font-weight: 400;
  letter-spacing: 2px;
  font-size: clamp(1rem, 2vw, 1.4rem);
}

.sensory-description {
  margin: 28px auto 0;
  max-width: 900px;
  color: rgba(255,255,255,0.75);
  font-family: "Clash Display";
  line-height: 1.9;
}

.sensory-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 60px;
}

.feature-pill {
  padding: 16px 24px;
  border-radius: 999px;
  border: 1px solid rgba(208,178,142,0.25);
  color: #d0b28e;
  font-family: "Clash Display";
  background: rgba(255,255,255,0.03);
  transition: all 0.4s ease;
}

.feature-pill:hover {
  transform: translateY(-4px);
  background: rgba(208,178,142,0.1);
}

.coming-soon {
  margin-top: 70px;
  font-family: "DM Serif Display";
  font-size: clamp(2rem, 5vw, 4rem);
  color: #d0b28e;
  animation: pulseGlow 2.6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%,100% {
    opacity: 0.55;
    text-shadow: none;
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 28px rgba(208,178,142,0.45);
  }
}

/* section always visible */
.sensory-rooms-section {
  opacity: 1;
  transform: none;
}

/* animate only inner card */
.sensory-container {
  opacity: 0;
  transform: translateY(80px);
  transition:
    opacity 1.2s cubic-bezier(0.22,1,0.36,1),
    transform 1.2s cubic-bezier(0.22,1,0.36,1);
}

.sensory-container.active {
  opacity: 1;
  transform: translateY(0);
}

.feature-pill {
  opacity: 0;
  transform: translateY(25px) scale(0.95);
}

.feature-pill.pill-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-left,
.reveal-right,
.reveal-up,
.reveal-pillar,
.sensory-container {
  transition:
    opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOutUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-30px);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar {
    padding: 16px 14px;
    gap: 12px;
  }

  .logo {
    height: 34px;
    max-width: 45vw;
    object-fit: contain;
  }

  .cta-btn {
    padding: 9px 14px;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .hero-subtext {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .separator {
    display: none;
  }
  .hero-content {
    padding: 14px 24px;
  }

  .hero-text {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.25;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

    .contact-icons {
    gap: 14px;
  }

  .contact-icons a {
    width: 54px;
    height: 54px;
  }

  .contact-icons a i {
    font-size: 1.1rem;
  }

  .why-text {
    font-size: clamp(2.5rem, 12vw, 4rem);
    white-space: normal;
    width: 90%;
    text-align: center;
    overflow: hidden;
  }

  .why-us {
    padding: 90px 7%;
  }

  .pillars {
    gap: 12px;
    max-width: 340px;
    margin: 0 auto;
  }

  .pillars span {
    display: block;
    font-size: clamp(0.95rem, 4.8vw, 1.35rem);
    line-height: 1.35;
    letter-spacing: 1.4px;
    text-wrap: balance;
  }

  .sensory-rooms-section {
    min-height: auto;
    padding: 88px 5%;
    align-items: flex-start;
  }

  .sensory-container {
    width: 100%;
    padding: 42px 22px;
    border-radius: 22px;
  }

  .sensory-label {
    margin-bottom: 14px;
    font-size: 0.72rem;
    letter-spacing: 3px;
  }

  .sensory-container h2 {
    font-size: clamp(2.15rem, 12vw, 3.4rem);
    line-height: 1;
  }

  .sensory-container h3 {
    margin-top: 16px;
    font-size: clamp(0.82rem, 3.5vw, 1rem);
    line-height: 1.55;
    letter-spacing: 1px;
  }

  .sensory-description {
    margin-top: 18px;
    font-size: 0.9rem;
    line-height: 1.75;
  }

  .sensory-features {
    gap: 10px;
    margin-top: 34px;
  }

  .feature-pill {
    padding: 10px 14px;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .coming-soon {
    margin-top: 42px;
    font-size: clamp(1.65rem, 9vw, 2.4rem);
  }

  .sensory-bg-glow {
    width: 280px;
    height: 280px;
    filter: blur(50px);
  }

  .reveal-left {
    transform: translateX(-30px);
  }

  .reveal-right {
    transform: translateX(30px);
  }

  .reveal-up {
    transform: translateY(40px);
  }
}

@media (max-width: 420px) {
  .cta-btn {
    padding: 8px 12px;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
  }

  .pillars {
    max-width: 300px;
    gap: 10px;
  }

  .pillars span {
    font-size: clamp(0.88rem, 4.4vw, 1.12rem);
    letter-spacing: 1px;
  }

  .sensory-container {
    padding: 36px 18px;
    border-radius: 18px;
  }

  .sensory-container h2 {
    font-size: clamp(1.85rem, 11vw, 2.7rem);
  }

  .sensory-description {
    font-size: 0.84rem;
  }

  .logo {
    height: 30px;
  }
}

@media (max-width: 1024px) {
  .timeline-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .timeline-line {
    display: none;
  }

  .timeline-step {
    text-align: left;
    padding-left: 60px;
  }

  .node {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }
}

@media (max-width: 900px) {
  .resource-links {
    grid-template-columns: 1fr;
  }

  .contact-links {
    flex-direction: column;
    gap: 18px;
  }

  .footer-actions {
    flex-direction: column;
    gap: 16px;
  }

  .resource-card {
    padding: 28px;
  }

  .resource-card span {
    font-size: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  body.no-scroll {
    overflow: auto;
  }

  .navbar,
  .hero-text,
  .hero-subtext,
  .reveal-left,
  .reveal-right,
  .reveal-up,
  .reveal-pillar,
  .sensory-container,
  .feature-pill {
    opacity: 1;
    transform: none;
  }
}
