* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.lobster-regular {
  font-family: "Lobster", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lora {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
/* FONTS */
/* bai jamjuree */
@font-face {
  font-family: "Bai Jamjuree";
  src: url("/assets/fonts/Bai_Jamjuree/BaiJamjuree-Light.ttf") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bai Jamjuree";
  src: url("/assets/fonts/Bai_Jamjuree/BaiJamjuree-Regular.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bai Jamjuree";
  src: url("/assets/fonts/Bai_Jamjuree/BaiJamjuree-Medium.woff2")
    format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bai Jamjuree";
  src: url("/assets/fonts/Bai_Jamjuree/BaiJamjuree-SemiBold.woff2")
    format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bai Jamjuree";
  src: url("/assets/fonts/Bai_Jamjuree/BaiJamjuree-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Instrument Sans */
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/Instrument_Sans/InstrumentSans-VariableFont_wdth\,wght.woff2")
    format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/Instrument_Sans/InstrumentSans-VariableFont_wdth\,wght.woff2")
    format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Instrument Serif */
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/Instrument_Serif/InstrumentSerif-Regular.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Pinyon Script */
.pinyon-script-regular {
  font-family: "Pinyon Script", cursive;
  font-weight: 400;
  font-style: normal;
}

body {
  margin: 0 auto;
  overflow-x: hidden;
  background-color: black;
}

:root {
  --card-b2: #684626;
  --card-bg: #2b2622;
  --primary-color: white;
  --opacity-color: rgba(255, 255, 255, 0.69);
  --stack-card-bg: rgba(255, 255, 255, 0.397);
  --heading-color: #fffed6;
  --sub-color: #f6f2c2;
  --hook-color: #4f3823;
  --black-color: black;

  /* 1400 - 1025 */
  --fontsize-30: clamp(1.5625rem, 0.7083rem + 1.3333vw, 1.875rem); /* 30-25*/
  --fontsize-35: clamp(1.5625rem, -0.1458rem + 2.6667vw, 2.1875rem); /*35-25*/
  --fontsize-18: clamp(1rem, 0.6583rem + 0.5333vw, 1.125rem); /*18-16*/
  --fontsize-16: clamp(0.875rem, 0.5333rem + 0.5333vw, 1rem); /*16-14*/
  --fontsize-20: clamp(1.125rem, 0.7833rem + 0.5333vw, 1.25rem); /* 20-18 */
  --fontsize-45: clamp(
    2.1875rem,
    0.4792rem + 2.6667vw,
    2.8125rem
  ); /* 45 - 35 */
  --fontsize-40: clamp(2.1875rem, 1.3333rem + 1.3333vw, 2.5rem); /* 40 -35 */
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}
.header-left {
  padding-top: 0.7rem;
}

.logo {
  font-family: "Instrument Serif";
  font-weight: 400;
  font-size: var(--fontsize-30);
  padding: 1rem 0.5rem;
  color: var(--primary-color);
  opacity: 0.8;
  align-self: flex-end;
}
.header-center {
  padding: 1.2rem;
  background-color: var(--card-bg);
  opacity: 0.6;
  margin-right: -40px;
  text-align: center;
}
.header-center p {
  font-size: var(--fontsize-18);
  font-family: "Instrument Sans", sans-serif;
  font-weight: 400;
  color: var(--heading-color);
}
.header-right {
  padding-top: 1.6rem;
  text-align: end;
}

/* NAV DROPDOWN */
.dropbtn:hover,
.dropbtn:focus {
  background-color: rgba(255, 255, 255, 0.242);
}
.dropbtn {
  background-color: var(--primary-color);
  color: var(--black-color);
  opacity: 0.9;
  padding: 0.9rem;
  font-size: var(--fontsize-16);
  font-family: "Instrument Sans", sans-serif;
  font-weight: 600;
  border-radius: 30px;
  border: none;
  cursor: pointer;
}
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  position: absolute;
  display: none;
  right: 0;
  margin-top: 0.4rem;
  min-width: 15vw;
  overflow: auto;

  gap: 10px;

  box-shadow: 0px 8px 16px 0px rgba(29, 29, 29, 0.2);
  border-radius: 20px;
  z-index: 1;
}
.dropdown-content a {
  text-align: start;
  text-decoration: none;
  background-color: var(--primary-color);
  padding: 1rem;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
}
.isOpen {
  display: flex;
  flex-direction: column;
}
.page-label {
  font-size: var(--fontsize-20);
  font-family: "Instrument Sans", sans-serif;
  font-weight: 600;
  color: var(--black-color);
}
.page-meta {
  color: var(--hook-color);
  opacity: 0.5;
  font-size: var(--fontsize-16);
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 500;
  letter-spacing: -1px;
  margin-top: 0.3rem;
}

/* MAIN */
.about-hero {
  text-align: center;
  color: var(--primary-color);
  margin-top: 13rem;
}
.about-hero h1 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: normal;
  font-size: var(--fontsize-45);
  margin-bottom: 2rem;
}
.about-hero small {
  font-family: "Pinyon Script", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: var(--fontsize-20);
  opacity: 0.7;
}
.scroll-indicator {
  margin-top: 9rem;
  color: var(--primary-color);
  text-align: center;
  opacity: 0.3;
  margin-bottom: 4rem;
}
.scroll-indicator img {
  width: 2vw;
  animation: scrollBounce 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  60% {
    transform: translateY(10px);
  }
  80% {
    transform: translateY(6px);
  }
}

.scroll-indicator p {
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 500;
  letter-spacing: -1px;
  font-size: var(--fontsize-16);
  margin-top: 0.5rem;
}
.media {
  margin-top: 4rem;
  width: 95%;

  text-align: center;

  margin: 0 auto;
}
.media video {
  width: 100%;

  background-size: cover;
}
.core-line {
  color: var(--primary-color);
  font-size: var(--fontsize-40);
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  text-transform: capitalize;
  max-width: 70vw;
  padding-top: 14rem;
  margin: 0 auto;
  line-height: 42px;
}
.content {
  margin-top: 15rem;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
}
.studio-frame {
  max-width: 45%;
  color: var(--primary-color);
}
.studio-head {
  display: flex;
  justify-content: space-between;
}
.studio-head h3 {
  font-size: var(--fontsize-30);
  font-family: "Instrument Sans", sans-serif;
  font-weight: 500;
}
.studio-head p {
  font-size: var(--fontsize-20);
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: normal;
  opacity: 0.6;
}
.studio-desc {
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 300;
  line-height: 25px;
  font-size: var(--fontsize-20);
  margin-top: 1rem;
  text-align: justify;
}
.process {
  margin-top: 2rem;
  opacity: 0.6;
  color: var(--primary-color);
  max-width: 90%;
}
.process h3 {
  font-size: var(--fontsize-18);
  font-family: "Instrument Sans", sans-serif;
  font-weight: 500;
}
.process p {
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 300;
  font-size: var(--fontsize-18);
  margin-top: 1rem;
  text-align: justify;
}

.capabilities {
  max-width: 70%;
}
.service {
  margin-top: 2rem;
  margin-bottom: 4rem;
  color: var(--primary-color);
  display: flex;
  justify-content: space-between;
}

.service-list h3 {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 500;
  font-size: var(--fontsize-16);
}
.service-list p {
  opacity: 0.6;
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 300;
  padding-top: 0.2rem;
}
.side-note {
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 300;
  color: var(--primary-color);
}

.philosophy {
  max-width: 40%;
}
.philo-head {
  display: flex;
  justify-content: space-between;
  color: var(--primary-color);
}
.philo-head h3 {
  font-size: var(--fontsize-30);
  font-family: "Instrument Sans", sans-serif;
  font-weight: 500;
}
.philo-head p {
  font-size: var(--fontsize-20);
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: normal;
  opacity: 0.6;
}
/* ---------- ACCORDION ---------- */
.accordion {
  margin-top: 2rem;
  border-top: 1px solid #d6ccc2;
  border-bottom: 1px solid #d6ccc2;
}

.accordion-item {
  border-bottom: 1px solid #d6ccc2;
  padding: 1.5rem 0;
}
.accordion-toggle {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 500;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s ease;
  color: var(--opacity-color);
}

.accordion-toggle:hover {
  color: var(--primary-color);
}

.accordion-toggle svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary-color);
  transition: transform 0.3s ease;
}
.accordion-toggle.active {
  color: var(--primary-color);
}
.accordion-toggle.active svg {
  transform: rotate(180deg);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.4s ease;
  color: var(--primary-color);
  font-size: var(--fontsize-16);
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 300;
  margin-top: 0.5rem;
}

.accordion-content.open {
  max-height: 500px;
  opacity: 1;
}

.accordion-content p {
  margin: 0;
}
.based {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 400;
  font-size: 1vw;
  text-transform: uppercase;
  margin-top: 4rem;
  color: var(--primary-color);
}
.tagline {
  color: var(--primary-color);
  font-size: var(--fontsize-18);
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  margin-top: 10rem;
  opacity: 0.8;
}
.site-footer {
  position: relative;
  margin-top: 10rem;
  width: 100%;
  padding: 0 1rem;
  color: var(--primary-color);
  overflow: hidden;
}
.footer-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.footer-content {
  position: relative;
  z-index: 1;
}

.footer-title {
  font-size: var(--fontsize-40);
  font-family: "Instrument Sans", sans-serif;
  font-weight: 700;
  font-style: normal;
  line-height: 40px;
  text-align: center;
}
.footer-cta {
  margin-top: 3rem;
  padding-top: 1.6rem;
  text-align: center;
}

.hover-link {
  cursor: pointer;
  background-color: var(--primary-color);
  font-size: var(--fontsize-16);
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 500;
  letter-spacing: -1px;
  color: var(--black-color);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.1s ease-in;
  display: inline-block;
  text-transform: uppercase;
  width: fit-content;
}

.hover-link span {
  padding: 0.8rem;
  display: block;
  transition: transform 0.4s ease;
}

.hover-link span:nth-child(1) {
  transform: translateY(0%); /* default position */
}

.hover-link span:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(100%); /* hidden below */
}

.hover-link:hover span:nth-child(1) {
  transform: translateY(-100%); /* slide up and disappear */
}

.hover-link:hover span:nth-child(2) {
  transform: translateY(0%); /* new text slides up */
}
.footer-cta a:hover {
  background: none;
  color: var(--primary-color);
  border: 0.5px solid var(--primary-color);
}
.footer-cta a:focus {
  background: none;
  color: var(--primary-color);
  border: 0.5px solid var(--primary-color);
}
.footer-base {
  margin-top: 10rem;
  text-align: center;
}
.footer-base a {
  text-decoration: none;
  font-size: var(--fontsize-18);
  font-family: "Instrument Sans";
  font-weight: 500;
  font-style: normal;
  color: var(--primary-color);
}
.footer-base p {
  font-size: var(--fontsize-20);
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: normal;
}
.print {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  font-size: 14px;
  color: var(--primary-color);
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 500;
  opacity: 0.8;
  padding-bottom: 1rem;
}
.footer-name {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
}
.print .social-links {
  display: flex;
  align-items: center;
}
.print a {
  text-decoration: none;
  font-size: 1.2vw;
  color: var(--primary-color);
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 500;
  opacity: 0.8;
}
.social-links img {
  width: 1.5vw;
}
.social-links span {
  display: none;
}

footer .social-links {
  display: flex;
  align-items: center;
}

.social-links {
  position: relative;
  transition: 0.3s all ease-in-out;
}
.social-links::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background: white;
  transition: width 0.6s ease;
}
.social-links:hover::after {
  width: 100%;
}
.social-links img {
  width: 1.5vw;
}
.social-links span {
  display: none;
}
.social-links h4 {
  font-weight: 400;
}

@media (max-width: 1024px) {
  :root {
    /* 1024 - 577 */
    --fontsize-40: clamp(
      1.5625rem,
      0.7557rem + 2.2371vw,
      2.1875rem
    ); /* 35 - 25 */
  }
  .dropdown-content {
    min-width: 30vw;
  }
  .studio-frame {
    max-width: 47%;
  }
  .philosophy {
    max-width: 43%;
  }
  .process {
    max-width: 95%;
  }
  .capabilities {
    max-width: 95%;
  }
  .print a {
    font-size: 1.5vw;
  }

  .social-links img {
    width: 2.5vw;
  }
}
@media (max-width: 768px) {
  :root {
    /* 768 - 390 */
    --fontsize-30: clamp(1.25rem, 0.9276rem + 1.3228vw, 1.5625rem); /* 25-20*/
    --fontsize-35: clamp(1.25rem, 0.9276rem + 1.3228vw, 1.5625rem); /*35-25*/
    --fontsize-18: clamp(0.75rem, 0.4921rem + 1.0582vw, 1rem); /*16-12*/
    --fontsize-16: clamp(0.75rem, 0.621rem + 0.5291vw, 0.875rem); /*14-12*/
    --fontsize-20: clamp(0.875rem, 0.6171rem + 1.0582vw, 1.125rem); /* 18-14 */
    --fontsize-45: clamp(
      1.25rem,
      0.2827rem + 3.9683vw,
      2.1875rem
    ); /* 35 - 20 */
    --fontsize-40: clamp(
      1.25rem,
      0.9276rem + 1.3228vw,
      1.5625rem
    ); /* 25 - 20 */
  }
  .dropdown-content {
    min-width: 40vw;
  }
  .content {
    display: flex;
    flex-direction: column;
  }
  .scroll-indicator img {
    width: 3vw;
  }
  .studio-frame {
    max-width: 100%;
  }
  .philosophy {
    max-width: 100%;
    margin-top: 3rem;
  }
  .process {
    max-width: 90%;
  }
  .capabilities {
    max-width: 90%;
  }
  .based {
    font-size: 2vw;
  }
  .print a {
    font-size: 2vw;
  }
  .social-links h4 {
    display: none;
  }
  .social-links span {
    display: block;
  }

  .social-links img {
    width: 2.5vw;
  }
  .footer-title {
    line-height: 30px;
  }

  footer p {
    font-size: 10px;
  }
}
@media (max-width: 576px) {
  .scroll-indicator img {
    width: 4.5vw;
  }
  .media {
    margin-top: 3rem;
  }
  .core-line {
    line-height: 33px;
    max-width: 75vw;
  }
  .process p {
    line-height: 15px;
  }
  .philosophy {
    margin-top: 4rem;
  }
  .based {
    font-size: 2.5vw;
  }
  .footer-logo img {
    width: 2.5vw;
  }
  footer p {
    font-size: 2vw;
  }
  .footer-name {
    gap: 0.2rem;
  }
  .print a {
    font-size: 3vw;
  }
  .footer-title {
    line-height: 25px;
  }
  .social-links img {
    width: 3.5vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
