/* Sruthi V — site styles.
   Converted from the Webstudio-published homepage; values preserved verbatim
   so the page renders identically to the original.
   Breakpoints: 991px (tablet), 767px (mobile), 320px (tiny). */

/* ---------- fonts ---------- */

@font-face {
  font-family: "The Seasons";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/TheSeasons.ttf) format("truetype");
}

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../assets/fonts/InterVariable.woff2) format("woff2");
}

/* ---------- tokens ---------- */

:root {
  --font-display: "The Seasons", sans-serif;
  --font-body: "Inter Variable", sans-serif;

  --color-ink: rgba(45, 45, 45, 1);     /* body text */
  --color-muted: #6b7280;               /* nav links, footer heading, socials */
  --color-cream: #f8f4d9;               /* hero title */
  --color-btn: #c7b7b7cf;               /* pill buttons */
  --color-btn-hover: #c7b7b780;

  --section-gap: 25px;                  /* gap inside feature sections */
  --section-height: 480px;              /* fixed feature-section height on desktop */
  --btn-width: clamp(7.5rem, 10vw, 10rem);
  --btn-height: clamp(1.5rem, 3vw, 2rem);
}

/* ---------- base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  display: grid;
  min-height: 100%;
  /* On the root so rem units resolve to 17px everywhere */
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.5;
  color: var(--color-ink);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

/* Icon wrapper used in the nav, footer socials, and menu toggle */
.icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
}

/* ---------- navigation ---------- */

.site-nav {
  position: fixed;
  z-index: 10;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 4.5rem;
  padding-right: 5%;
  padding-left: 5%;
  background-color: #fff;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.nav-logo {
  display: inline-block;
  color: var(--color-muted);
  font-size: 14px;
  text-decoration: none;
}

.nav-wordmark {
  margin-top: 0.67em;
  margin-bottom: 0.67em;
  font-family: var(--font-display);
  font-size: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
}

.nav-link {
  display: inline-block;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.5rem;
  text-decoration: none;
}

.nav-link[aria-current="page"] {
  border-bottom: 1px solid currentColor;
}

/* Mobile menu toggle — hidden on desktop */
.menu-toggle-wrap {
  display: none;
  justify-content: center;
}

.menu-toggle {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle .icon {
  width: 100%;
  height: 100%;
  color: #d1d1d1b5;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
}

.hero-frame {
  padding-right: 5%;
  padding-left: 5%;
}

.hero-content {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
}

.hero-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  max-height: 60rem;
}

.hero-copy {
  flex-grow: 1;
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.hero-title-box {
  margin-top: 3rem;
}

.hero-title {
  margin: 20px 0;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-cream);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #fff;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);   /* the hero photo is soft-focused by design */
}

/* ---------- feature sections (Performances / Bio) ---------- */

/* Spacer between the hero and the first section — only on small screens */
.section-spacer {
  margin-top: 0;
}

.divider-gap {
  margin-top: 50px;
  margin-bottom: 50px;
}

.feature {
  /* inline-flex, not flex: the sections sit in a line box, and baseline
     alignment is what produces the original spacing below the Bio section
     (whose photo overflows the fixed 480px height). */
  display: inline-flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: nowrap;
  gap: var(--section-gap);
  height: var(--section-height);
  margin-right: 30px;
  margin-left: 30px;
}

.feature--performances {
  flex-direction: row-reverse;
}

.feature--bio {
  flex-direction: row;
  /* Sets the display face for the Bio heading AND the `5ch` unit that
     positions .bio-photo — don't move this onto the heading alone. */
  font-family: var(--font-display);
}

.feature h1 {
  font-family: var(--font-display);
}

.video-frame {
  position: relative;
  width: 200%;   /* flex-shrinks down; large basis is what makes the video column wide */
  aspect-ratio: 640 / 360;
}

.video-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 20px;
}

.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.performances-copy {
  margin-left: 5ch;
}

.bio-photo {
  order: -1;
  width: 30%;
  margin-left: 5ch;   /* resolves against The Seasons (inherited from .feature--bio) */
  object-position: 50% 50%;
}

.bio-copy {
  margin-left: 20px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  width: var(--btn-width);
  height: var(--btn-height);
  border: 1px solid #fff;
  border-radius: 20px;
  background-color: var(--color-btn);
  color: #fff;
  line-height: 1.75;
  text-align: center;
  text-decoration: none;
}

.btn:hover {
  background-color: var(--color-btn-hover);
}

/* ---------- footer ---------- */

.site-footer {
  color: #fff;
  background-color: #000;
}

.footer-frame {
  padding-right: 5%;
  padding-left: 5%;
  background-color: #fff;
}

.footer-content {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
}

.footer-pad {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: 0.5fr 1fr 0.5fr;
  grid-template-rows: auto;
  align-items: start;
  column-gap: 4vw;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  grid-column: 2;
}

.footer-logo {
  margin-bottom: 2rem;
}

.footer-logo a {
  display: inline-block;
  color: inherit;
}

.footer-heading {
  margin-bottom: 1.5rem;
  color: var(--color-muted);
  font-family: var(--font-display);
  font-size: 2em;
}

.social-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: start;
  justify-items: start;
  column-gap: 0.75rem;
  color: var(--color-muted);
}

.social-link {
  display: inline-block;
  color: inherit;
  font-size: 14px;
  text-decoration: none;
}

/* ---------- scroll-fade animation ---------- */

/* Visible by default (no-JS safety); js/main.js adds .js-anim to <html>
   and toggles .visible via an IntersectionObserver. */
.scroll-fade {
  opacity: 1;
  transform: none;
}

.js-anim .scroll-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.js-anim .scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-anim .scroll-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- tablet (<= 991px) ---------- */

@media (max-width: 991px) {
  .hero-copy {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .hero-title-box {
    margin-top: 2.5rem;
  }

  .hero-title {
    font-size: 4rem;
  }

  .footer-pad {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .footer-columns {
    row-gap: 4rem;
  }
}

/* ---------- mobile (<= 767px) ---------- */

@media (max-width: 767px) {
  .site-nav {
    min-height: 4rem;
  }

  .hero-copy {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero-title-box {
    margin-top: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .nav-list {
    display: none;
  }

  /* Open state driven by js/main.js: full-width dropdown under the fixed nav */
  .nav-list.open {
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1rem 5%;
    background-color: #fff;
  }

  .nav-link {
    font-size: 1.5rem;
  }

  .menu-toggle-wrap {
    display: flex;
  }

  .section-spacer {
    margin-top: 50px;
  }

  .feature {
    height: auto;
    max-width: 100%;
  }

  .feature--performances {
    display: block;
    max-width: 430px;
  }

  .feature--bio {
    display: inline-block;
  }

  .video-frame {
    max-width: 100%;
  }

  .performances-copy {
    margin-left: 0;
  }

  .bio-photo {
    width: 100%;
    margin-left: 0;
  }

  .btn {
    margin-top: 5px;
    line-height: 25px;
  }

  .footer-pad {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .footer-columns {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    row-gap: 3rem;
  }

  .footer-logo {
    margin-bottom: 1.5rem;
  }

  .footer-heading {
    margin-bottom: 1.25rem;
  }
}

/* ---------- tiny screens (<= 320px) ---------- */

@media (max-width: 320px) {
  .feature {
    padding-left: 10px;
  }

  .feature--bio {
    margin-top: 50px;
    margin-right: 10px;
    margin-left: 0;
  }

  .video-frame {
    width: 100%;
  }

  .btn {
    height: auto;
  }
}
