:root {
  --primary: #111;
  --accent: #c7a17a;
  --light: #f5f5f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: "HolidayFree";
  src: url("/wp-content/themes/trey-stone/assets/fonts/HolidayFree.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* typing animation */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* cursor blink */
@keyframes blink {
  50% { border-color: transparent; }
}


@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0.6;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes drawText {
  0% {
    stroke-dashoffset: 2000;
    opacity: 0.2;
  }

  60% {
    opacity: 1;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

body {
  font-family: "Inter", sans-serif;
  overflow-x: clip;
}

.hamburger {
  display: none;
}

.container {
  max-width: 1230px;
  margin: 0 auto;
  align-items: center; 
  justify-content: space-between;
  gap: 60px;
}

/* NAVBAR */
.nav {
  position: absolute;
  width: 100%;
  z-index: 10;
  padding: 20px 50px;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* MENU */
.menu a {
  color: white;
  margin-left: 30px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  opacity: 0.9;
  transition: 0.3s;
}

.menu .navCta {
    border: 1px solid #F3F3F3;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 5px;
    text-transform: uppercase;
}

.menu .navCta a {
  margin-left: 0;
}

.menu .navCta:hover {
  background-color: #ffffff;
  border-radius: 5px;
  transition: all 0.2s ease;
  color: #000;
}

.menu .navCta:hover a {
  color: #000;
}

.menu a:hover {
  opacity: 1;
}

header .header-social img {
  width: 18px;
  height: 18px;
}

header .header-social {
  gap: 14px;
}

/*contact Popup*/
/* Overlay */
/*.contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  z-index: 1000;
}

.contact-overlay.active {
  opacity: 1;
  visibility: visible;
}*/

/* Panel */
/* .contact-panel {
  position: absolute;
  right: 0;
  top: 0;
  max-width: 100%;
  height: 100%;
  background: #efefef;
  padding: 60px;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-overlay.active .contact-panel {
  transform: translateX(0);
  background-color: #fff;
}


.contact-panel .close-btn {
  position: absolute;
  top: 50px;
  right: 50px;
  width: 50px;
  height: 50px;
  border: 1px solid #aaa;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.contact-panel .close-btn span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25px;
  height: 1px;
  background: #333;
}

.contact-panel .close-btn:hover {
  background: #000;
}

.contact-panel .close-btn:hover span {
  background: #fff;
}

.contact-panel .close-btn span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.contact-panel .close-btn span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.contact-content {
  display: grid;
  gap: 10px;
}


.contact-panel .intro {
  font-size: 18px;
  color: #111315;
  max-width: 350px;
  line-height: 1.6;
  font-weight: 400;
}

.contact-panel .title {
  font-size: 64px;
  margin: 20px 0;
  color: #111;
}

.contact-panel .subtext {
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0%;
    margin-bottom: 20px;
}


.contact-panel .field {
  margin-bottom: 30px;
}

.contact-panel .field label {
  font-size: 16px;
    letter-spacing: 10%;
    color: #333;
    line-height: 130%;
    display: block;
    margin-bottom: 30px;
    font-weight: 500;
}

.contact-panel .field input,
.contact-panel .field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #828384;
  background: transparent;
  padding: 10px 0;
  font-size: 20px;
  outline: none;
  font-weight: 300;
  line-height: 120%;
  opacity: 50%;
}

.contact-panel .field textarea {
  height: 100px;
  resize: none;
}


.contact-panel .field textarea:focus {
  border-bottom: 1px solid #000;
}


.contact-panel .form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
}

.contact-panel .recaptcha {
  font-size: 16px;
  color: #000;
  margin-right: 20px;
}

.contact-panel {
  overflow-y: auto;

  
  scrollbar-width: none;
  -ms-overflow-style: none; 
}

.contact-panel::-webkit-scrollbar {
  display: none;
} */

/* Changed  overlay style starts */


.contact-overlay{
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
}

.contact-overlay.active{
    opacity: 1;
    visibility: visible;
}

.contact-modal{
    position: relative;
    width: 708px;
    max-width: 100%;
    background: #fff;
    padding: 140px 80px 100px 80px;
    max-height: 90vh;
    overflow-y: auto;
    display: none;
}

.contact-modal.active{
    display: block;
}


.close-contact{
    position: absolute;
    top: 38px;
    right: 38px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid #111315;
    background: transparent;
    cursor: pointer;
    transition: 0.35s ease;
}

.close-contact span{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 1px;
    background: #111315;
    transition: 0.35s ease;
}

.close-contact span:first-child{
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-contact span:last-child{
    transform: translate(-50%, -50%) rotate(-45deg);
}

.close-contact:hover{
    background: #000;
    border-color: #000;
}

.close-contact:hover span{
    background: #fff;
    opacity: 0.7;
}

.contact-script{
    font-size: 75px;
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 80px;
    font-family: 'HolidayFree';
    color: #111315;
}

.contact-desc{
    max-width: 440px;
    font-size: 18px;
    line-height: 150%;
    color: #111315;
    margin-bottom: 60px;
}

.radio-title{
    font-size: 16px;
    font-weight: 500;
    line-height: 130%; 
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: #111315;
    margin-bottom: 30px;
}


.radio-wrap{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 18px;
    color: #111315;
    cursor: pointer;
}

.radio-wrap input{
    width: 18px;
    height: 18px;
    border: 1px solid #828384;
    accent-color: #828384;
}


.contact-btn{
    color: #111315;
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 35px;
    height: 52px;
    padding: 0 15px;
    border: 1px solid #828384;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    border-radius: 5px;
    letter-spacing: 1.6px;
    line-height: 130%;
    cursor: pointer;
    display: none;
    transition: 0.3s ease;
}

.contact-btn:hover{
    background: #111315;
    color: #fff;
}

.contact-btn.show{
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


.decline-text{
    max-width: 440px;
    font-size: 18px;
    line-height: 150%;
    color: #111315;
}


/* =========================
   Responsive of only ovelay part
========================= */

@media(max-width:768px){

    .contact-modal{
        width: calc(100% - 30px);
        padding:110px 24px 45px;
        max-height: calc(100dvh - 30px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .contact-script{
        font-size: 62px;
        line-height: 0.9;
        margin-bottom: 24px;
        padding-right: 120px;
    }

    .contact-desc{
        font-size: 16px;
        line-height: 1.7;
    }

    .radio-title{
        font-size: 12px;
        letter-spacing: 4px;
        line-height: 1.5;
    }

    .close-contact{
        width: 50px;
        height: 50px;
        top: 10px;
        right: 15px;
    }

    .close-contact span{
        width: 24px;
    }

    .contact-btn{
        width: 100%;
        height: 56px;
        font-size: 13px;
        letter-spacing: 2px;
    }

    .decline-text{
        font-size: 16px;
        line-height: 1.7;
        padding-right: 40px;
    }

}

@media (max-height: 800px){

    .contact-modal{

        padding: 90px 60px 50px;
    }
    .close-contact{
          top: 25px;
          right: 25px;
          width: 65px;
          height: 65px;
    }

    .contact-script{

        font-size: 68px;

        margin-bottom: 30px;
    }

    .contact-desc{

        font-size: 16px;

        margin-bottom: 35px;
    }

    .radio-title{

        margin-bottom: 22px;
    }


}
@media (max-height: 800px) and (max-width: 767px){

    .contact-modal{

        padding: 90px 24px 45px;
    }
}

/* Overlay style ends here */

/* Button */
.send-btn {
  border: 1px solid #111315;
  background: transparent;
  padding: 20px;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 10%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.send-btn:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}


/* HERO */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* VIDEO */
.bg-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;   
  object-position: center 10%;
  background: #000;     
}

.hero .bg-video.desktop {
  display: block;
}

.hero .bg-video.mobile {
  display: none;
}

/* OVERLAY */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
 /* text-align: center;*/
  padding: 20px;
  margin-top: 120px;
  gap: 9px;
}

.hero h1 {
  font-size: 80px;
  font-weight: 200;
  letter-spacing: -1px;
  animation:
    fadeUp 1s ease forwards,
    blink 1s step-end infinite;
}

.script-text {
  font-family: "HolidayFree";
  font-size: 65px;
  margin: 10px 0;
  line-height: 1.15;
  font-weight: 400;
  display: inline-block;
  letter-spacing: 1px;
  white-space: pre-wrap;
  /*overflow: hidden;
  white-space: nowrap;
  width: 0;*/
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawText 6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero p {
  font-size: 27px;
  font-weight: 200;
  line-height: 150%;
  margin-top: 15px;
  letter-spacing: 0%;
  animation:
    fadeUp 1s ease forwards,
    blink 1s step-end infinite;
}


/* =========================
   Discplined SECTION
========================= */
  .disciplined-section {
    padding: 80px 20px;
  }

  .disciplined-section .top-line {
    height: 1px;
    background: #828384;
    margin-bottom: 40px;
  }

  .disciplined-section .content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
  }

  .disciplined-section .left {
    min-width: 250px;
  }

  .disciplined-section .title {
    font-size: 50px;
    font-weight: 200;
    color: #828384;
    margin: 0;
    margin-bottom: 20px;
  }

  .disciplined-section .script-text {
    font-size: 50px;
    line-height: 1;
  }

  .disciplined-section .item {
    max-width: 220px;
    font-size: 28px;
    font-weight: 300;
    color: #111315;
    line-height: 120%;
    /*margin-top: 50px;*/
  }

    /* initial hidden state */
  .disciplined-section .title,
  .disciplined-section .item {
    /*opacity: 0;*/
  }

  /* title animation */
  .disciplined-section.in-view .title {
    animation: fadeUp 1s ease forwards, blink 1s step-end infinite;
  }

  /* items animation */
  .disciplined-section.in-view .item {
    animation: fadeUp 1s ease forwards, blink 1s step-end infinite;
  }

  /* stagger effect (nice touch) */
  .disciplined-section.in-view .item:nth-child(2) {
    animation-delay: 0.2s;
  }
  .disciplined-section.in-view .item:nth-child(3) {
    animation-delay: 0.4s;
  }
  .disciplined-section.in-view .item:nth-child(4) {
    animation-delay: 0.6s;
  }

  .disciplined-wrapper h6 {
    font-size: 16px;
    line-height: 1.5;
    color: #eee;
    border-left: 1px solid #FFFFFF;
    padding-left: 60px;
    text-transform: uppercase;
    font-weight: 500;
    padding-top: 20px;
  }


/* =========================
   video SECTION
========================= */
.videoSec {
      position: relative;
      display: flex;
      height: 100vh;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      background: #111315;
      z-index: 2;
    }

  .spacer {
    background: #000;
    margin-bottom: 80px;
  }

 .video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;  
    background: #000;  
    height: 100vh;
    position: relative;
    overflow: hidden;
  }

  .video-wrapper img.video-poster, .videoSec video {
    /*width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(0.4);
    transform-origin: center;
    will-change: transform;*/
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* image on top */
  .video-poster {
    z-index: 2;
    opacity: 1;
    transition: opacity 0.8s ease;
  }

  /* hide poster when video ready */
  /*.video-wrapper.video-ready .video-poster {
    opacity: 0;
    pointer-events: none;
  }*/

  /* video below */
  .animatedVideo {
    z-index: 1;
  }

  /* fade image out */
  .video-wrapper.playing .video-poster {
    opacity: 0;
  }


  video.expand {
    transform: scale(1);
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    height: 100vh;
  }

  .videoSec .overlay {
    position: absolute;
    inset: 0;
    /*background: none;*/
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .videoSec .content {
    position: relative;
    z-index: 2;
    opacity: 1;
    transform: none;
    max-width: 1230px;
    display: flex;
    align-items: center;
    gap: 20px;
    top: 100px;
  }

  .videoSec .overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    /*opacity: 0;*/
    transition: 0.6s ease;
    z-index: 1;
  }

  /* show background AFTER expand */
  .videoSec.expand .overlay::before {
    opacity: 1;
  }

  .videoSec .play-btn {
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 30px;
  }

  .videoSec .play-btn .play-btn-txt {
    font-size: 10px;
    color: #fff;
    letter-spacing: 2px;
  }

  .videoSec .play-btn img {
    width: 80px;
    height: 80px;
  }

  .videoSec .text {
    font-size: 36px;
    line-height: 120%;
    color: #eee;
    border-left: 1px solid #FFFFFF;
    padding-left: 60px;
    font-weight: 300;  
    max-width: 810px;
  }

  .videoSec .spacer {
    height: 200vh;
    background: #222;
  }

  .video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 9999;
  }

  .video-modal.active {
    opacity: 1;
    visibility: visible;
  }

  .video-modal-content {
    width: min(900px, 90%);
    position: relative;
    transform: scale(0.9);
    transition: 0.3s ease;
  }

  .video-modal.active .video-modal-content {
    transform: scale(1);
  }

  .video-modal video {
    width: 100%;
    border-radius: 10px;
  }

  .video-wrapper video {
    display: block;
  }

  .video-wrapper img {
    display: none;
  }

  .close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
  }


/* =========================
   Experince SECTION
========================= */
.number-section {
  position: relative;
}

/* 🔥 fixed lock */
/*.number-section.locked {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  background: #fff;
}*/

.number-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px 1fr;
    align-items: center;
    padding: 0 20px 80px 20px;
    position: relative;
    min-height: 100vh;
  }

  .number-section .left, .number-section .right {
    display: flex;
    flex-direction: column;
  }

  .number-section .item {
    color: #999;
    transition: 0.3s;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0%;
    z-index: 30;
  }

  .number-section .left .item,
  .number-section .right .item {
    border-top: 1px solid rgba(0,0,0,0.1);
  }

 .number-section .left .item {
   padding: 30px 60px 60px 0px;
    min-height: 200px;
    display: flex;
    justify-content: flex-start;
    align-items: start;
 }

 .number-section .right .item {
   padding: 30px 0px 60px 60px;
 }

/* remove first row border */
.number-section .left .item:first-child,
.number-section .right .item:first-child {
  border-top: none;
}

  .number-section .item.active {
    color: #111;
  }

  .number-section .image-box {
    width: 100%;
    aspect-ratio: 2 / 3;
    /*max-height: 600px;*/ /* optional cap for large screens */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    isolation: isolate;
  }

  .number-section .script-text {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "HolidayFree";
    font-size: 90px;
    color: #111315;
    z-index: 10;
    display: flex;
    justify-content: center;
  }

  .number-section .script-text:active {
    width: fit-content !important;
  }

  .number-section .image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    inset: 0;
    opacity: 0;
    will-change: transform, opacity, clip-path;
  }

  .number-section .image-box img.active {
    opacity: 1;
     transform: translateY(0) scale(1);
      z-index: 3;
  }

 /* incoming image slides over */
  .number-section .image-box img.enter {
    opacity: 1;
    transform: translateY(100%) scale(1.08);
    z-index: 4;
  }

  /* OUTGOING (moves slower → depth illusion) */
  .number-section .image-box img.exit {
     transform: translateY(-15%) scale(0.95);
      z-index: 2;
      opacity: 0.4;
  }

  /* animate upward */
  .number-section .image-box img.animate {
    transform: translateY(0) scale(1);
    /*opacity: 1;*/
  }

  .number-section .big-text {
    font-size: 110px;
    font-weight: 300;
    line-height: 110.00000000000001%;
    letter-spacing: -3%;
  }

  .number-section .label {
    font-size: 16px;
    letter-spacing: 10%;
    color: #777;
    line-height: 130%;
    font-weight: 500;
  }

  .number-section .top-line {
    height: 1px;
    background: #82838480;
    /*margin: 80px 0 10px 0;*/
  }



/* =========================
   focus and consistent SECTION
========================= */

    .focusAndConsistent-section {
      background-color: #fff;
      padding: 0 20px;
    }

    .focusAndConsistent-wrapper {
      padding: 0 0 80px 0;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 100px;
      align-items: start;
    }

    .focusAndConsistent-wrapper .right {
      margin-top: 60px;
      max-width: 520px;
    }

    .focusAndConsistent-wrapper .left {
      min-width: 600px;
    }

    .focusAndConsistent-section .right p {
      font-size: 18px;
      line-height: 150%;
      font-weight: 300;
      color: #111315;
      margin-bottom: 20px;
    }

    .focusAndConsistent-section .left h6 {
      display: block;
      font-size: 16px;
      letter-spacing: 10%;
      line-height: 130%;
      font-weight: 500;
      text-transform: uppercase;
      color: #111315;
      margin-bottom: 40px;
    }

    .focusAndConsistent-section .left h3 {
      font-size: 50px;
      font-weight: 400;
      line-height: 110.00000000000001%;
      letter-spacing: -3%;
      color: #111315;
    }

/* =========================
   Begin A SECTION
========================= */

.beginA-wrapper {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
}

/* Left side (image) */
.beginA-wrapper .left,
.beginA-wrapper .right {
  flex: 1;
  width: 50%;
}

/* Right side (content) */
.beginA-section .right {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111315;
  transition: background 0.6s ease, color 0.6s ease;
  min-height: 100vh;
  box-sizing: border-box;
}

.beginA-section .right .content {
  padding: 80px;
}

/* Small text */
.beginA-section p {
  /* font-size: 14px; */
  font-size: 18px;
  color: #fff;
  line-height: 1.6;
  padding-bottom: 15px;
}

/* Heading */
.beginA-section h1 {
  font-size: 48px;
  font-weight: 300;
  color: #fff;
  margin-bottom: 150px;
}


/* Script style word */
.beginA-section .script-text {
  font-family: "HolidayFree";
  font-weight: 400;
  font-size: 65px;
  line-height: 120%;
  color: #fff;
  margin-bottom: 40px;
}

.beginA-section .left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Button */
.beginA-section .btn {
  position: relative;
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid #fff;
  background: transparent;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
      border: 1px solid #F3F3F3;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 5px;
    text-transform: uppercase;
}

.beginA-section .desc-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0%;
  color: #828384;
  padding-bottom: 0;
  text-decoration: none;
}

.beginA-section .btn-wrapper {
  display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-top: 150px;
    flex-wrap: wrap;
}

/* Dots (ellipses) */
.beginA-section .btn::before,
.beginA-section .btn::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
  display: none;
}

.beginA-section .btn::before {
  left: 12px;
}

.beginA-section .btn::after {
  right: 12px;
}

.beginA-section .btn:hover::before,
.beginA-section .btn:hover::after {
  background: #fff;
}


.beginA-section .right:has(.btn:hover) .btn {
  border-color: #fff;
  transition: all 0.4s ease;
  background: #fff;
  color: #000;
}

.beginA-section .right:has(.btn:hover) .btn::before, .beginA-section .right:has(.btn:hover) .btn::after {
  background: #000;
}

.beginA-section .right:has(.btn:hover) .subtitle {
  color: #fff;
}

/* =========================
  Footer SECTION
========================= */

.footer {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 80px 0;
  padding-bottom: 30px;
  background-color: #000000;
}

/* Logo */
.footer .logo {
  margin-bottom: 40px;
  flex: 0 1 auto;
  text-align: center;
}

/* Heading */
.footer h1 {
  font-size: 80px;
  font-weight: 200;
  letter-spacing: -1px;
  line-height: 1.3;
  flex: 0 1 auto;
      text-align: center;
}

/* wrapper controls centering */
.script-wrapper {
  display: inline-block;
  overflow: hidden;
}

.script-wrapper {
  display: contents;
  width: fit-content;
}


/* Copyright */
.copyright {
  font-size: 18px;
  color: #aaa;
  flex: 0 1 auto;
  text-align: center;
  margin: 60px 0 30px 0;
}

/* Social */
.social {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  flex: 0 1 auto;
  text-align: center;
  margin-bottom: 30px;
}

/* Icon links */
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

/* Image icons */
.social img {
  width: 25px;
  height: 25px;
  display: block;
  object-fit: contain;
}

/* Divider */
.divider {
  width: 90%;
  height: 1px;
  background: #333;
  margin: 0 auto;
}

/* ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================
   RESPONSIVE BREAKPOINTS
========================= */

/* Tablet */
@media (max-width: 1024px) {

  .container {
    gap: 40px;
    padding: 0 24px;
  }

   .nav {
    padding: 20px 30px;
  }

  .menu {
    gap: 20px;
  }

  .menu a {
    font-size: 16px;
  }

  .menu .navCta {
    padding: 10px 20px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: 65px;
  }

  .disciplined-section {
    padding: 60px 0;
  }

  .disciplined-section .content {
    gap: 30px;
  }

  .disciplined-section .title,
  .disciplined-section .script-text {
    font-size: 32px;
    padding: 0;
  }

  .disciplined-section .item {
    font-size:25px;
    /*margin-top: 40px;*/
  }

  .disciplined-section .left {
    min-width: 200px;
  }

  .videoSec video {
    max-width: 100%;
  }
/*  
  .video-wrapper, .videoSec {
    height: auto;
  }*/

  .videoSec .content {
    max-width: 600px;
    gap: 15px;
  }

  .videoSec .text {
    font-size: 25px;
  }

  .videoSec .play-btn img {
    width: 80px;
    height: 80px;
  }

  .focusAndConsistent-wrapper {
    padding: 60px 0;
    gap: 100px;
    display: block;
  }

  .focusAndConsistent-wrapper .left {
      min-width: unset;
    }

    .focusAndConsistent-wrapper .right {
      max-width: fit-content;
      margin-top: 20px;
    }

  .focusAndConsistent-section .left h3 {
    font-size: 40px;
    padding-bottom: 20px;
  }

  .focusAndConsistent-section .right p {
    font-size: 17px;
  }

  .focusAndConsistent-section .left h6 {
    margin-bottom: 40px;
  }

  .number-wrapper {
    /*grid-template-columns: 1fr 320px 1fr;
    gap: 20px;*/
  }

  /*.number-section .image-box {
    height: 420px;
  }*/

  .number-section .script-text {
    font-size: 70px;
  }

  .number-section .big-text {
    font-size: 90px;
  }

  .number-section .item {
    font-size: 16px;
  }

  .number-section .left .item {
    padding: 25px 30px 40px 0;
    min-height: unset;
    font-size: 18px;
  }

  .number-section .right .item {
    padding: 25px 0 40px 30px;
    text-align: center;
  }

  .beginA-wrapper .left, .beginA-wrapper .right {
    width: 100%;
    min-height: auto;
  }

  .beginA-wrapper {
    min-height: auto;
    display: block;
  }

  .beginA-section .right .content {
    padding: 60px;
  }

  .beginA-section .script-text {
    font-size: 50px;
  }

  .beginA-section p {
    font-size: 18px;
  }

  .beginA-section .btn-wrapper {
    margin-top: 80px;
    gap: 15px;
    flex-wrap: wrap;
  }

  .footer {
    padding: 70px 20px 30px;
    gap: 18px;
  }

  .footer h1 {
    font-size: 50px;
  }

  .footer .copyright {
    font-size: 16px;
  }

  .social {
    gap: 14px;
  }

  .social img {
    width: 22px;
    height: 22px;
  }

   .contact-panel {
    padding: 120px 50px;
  }

  .contact-panel .title {
    font-size: 52px;
  }

  .contact-panel .intro {
    font-size: 16px;
  }

  .contact-panel .field input,
  .contact-panel .field textarea {
    font-size: 22px;
  }

  .contact-panel .form-footer {
    gap: 20px;
    flex-wrap: wrap;
  }

  .video-modal-content {
    width: min(750px, 92%);
  }

  .close-btn {
    top: -35px;
    font-size: 28px;
  }

  .hero h1 {
    text-align: center;
  }

  .script-text {
    font-size: 55px;
    padding: 10px 0;
  }

  .hero p {
    font-size: 25px;
    text-align: center;
  }

  .hero-content {
    margin-top: 80px;
    padding: 20px 40px;
  }
}
/* Mobile */
@media (max-width: 768px) {

  .container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 30px;
    padding: 0 20px;
  }

  .nav {
    padding: 15px 20px;
  }

  /* show hamburger */
  /*.hamburger {
    display: block;
  }*/

  /* hide menu initially */
  .menu {
    position: relative;
    right: 0;
    background: none;
    padding: 10px;
    height: auto;
    width: auto;
  }

  /* active menu */
  .menu.active {
    right: 0;
  }

  .menu a {
    font-size: 20px;
  }

  .menu .navCta {
    font-size: 13px;
    padding: 10px 12px;
  }


  header .header-social img {
    width: 11px;
    height: 11px;
  }

  header .header-social {
    gap: 9px;
  }

  header .logo {
    width: 50%;
  }

  .script-text {
    font-size: 36px;
  }

  .hero p {
    font-size: 12px;
  }


  .hero .bg-video.desktop {
    display: none;
  }

  .hero .bg-video.mobile {
    display: block;
  }


  .disciplined-section {
    padding: 50px 0;
  }

  .disciplined-section .content {
    flex-direction: column;
    gap: 0;
    text-align: center;
    align-items: center;
  }

  .disciplined-section .left {
    min-width: 100%;
  }

  .disciplined-section .title {
    font-size: 34px;
    margin-bottom: 10px;
  }

  .disciplined-section .script-text {
    font-size: 34px;
  }

  .disciplined-section .item {
    max-width: 100%;
    font-size: 18px;
    margin-top: 20px;
  }

  .videoSec {
    height: auto;
    display: block;
  }

  .video-wrapper {
     width: 100% !important;
    height: 60vh !important;
    border-radius: 12px !important;
  }

  .videoSec video {
    transform: scale(1) !important;
  }

  video.expand {
    transform: scale(1);
  }

  /* overlay stacks vertically */
  .video-wrapper img,
  .video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* DARK OVERLAY */
  .video-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.01);
    z-index: 2;
  }

  /* CONTENT ABOVE OVERLAY */
  .videoSec .overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .videoSec .overlay::before {
    background: rgba(0, 0, 0, 0.01);
  }

  .videoSec .content {
    position: relative;
    z-index: 6;
    flex-direction: column;
    text-align: center;
    max-width: 90%;
    top: unset;
  }

  .videoSec .text {
    color: #fff;
    border-top: 1px solid rgba(255,255,255,0.5);
    padding-top: 20px;
    border-left: none;
    padding-left: 0;
    font-size: 16px;
    line-height: 1.5;
  }

  .videoSec .play-btn {
    margin-right: 0;
  }

  .videoSec .play-btn img {
    width: 60px;
    height: 60px;
  }


  .number-wrapper {
    grid-template-columns: 1fr;
    gap: 0px;
    /*text-align: center;*/
    align-items: unset;
  }

  /* script text moves above image */
  .number-section .script-text {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    font-size: 50px;
    margin-top: 40px;
  }

  .disciplined-wrapper h6 {
    padding-left: 0;
  }

  /*.number-section .image-box {
    height: 250px;
  }
*/
  .number-section .left,
  .number-section .right {
    align-items: center;
  }

  .number-section .left .item,
  .number-section .right .item {
    padding: 20px 0;
    min-height: auto;
    border-top: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    color: #111;
  }

  .number-section .item {
    font-size: 15px;
    text-align: center;
  }

  .number-section .big-text {
    font-size: 70px;
  }

  .number-section .right {
        display: none;
    }

  .number-section .label {
    font-size: 14px;
  }

.number-section .image-box{
    width: 100%;
    height: 250px;
    min-height: 250px;
    overflow: hidden;
    position: relative;
    margin-top: 20px;
}

.number-section .image-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center 70%;
}

  .beginA-wrapper {
    flex-direction: column;
    min-height: auto;
  }

  /* make both full width */
  .beginA-wrapper .left,
  .beginA-wrapper .right {
    width: 100%;
    flex: unset;
  }

  .beginA-section .left img {
    height: 100%;
    object-fit: cover;
    object-position: top;
  }

  .beginA-section .right {
    min-height: auto;
  }

  .beginA-section .right .content {
    padding: 40px 25px;
    text-align: center;
  }

  .beginA-section .script-text {
    font-size: 40px;
    margin-bottom: 20px;
  }

  .beginA-section p {
    font-size: 14px;
    line-height: 1.6;
  }

  .beginA-section .btn-wrapper {
    flex-direction: column;
    margin-top: 40px;
    gap: 12px;
  }

  .footer {
    padding: 60px 20px 25px;
    gap: 16px;
  }

  .footer .logo {
    margin-bottom: 25px;
  }

  .footer h1 {
    font-size: 42px;
    line-height: 1.2;
  }

  .footer h4 {
    text-align: center;
  }

  .footer .script-text {
    font-size: 32px;
  }

  .copyright {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .social {
    gap: 12px;
    margin-bottom: 20px;
  }

  .social img {
    width: 20px;
    height: 20px;
  }

  .divider {
    width: 100%;
  }

  .contact-panel {
    padding: 100px 25px 80px;
    width: 100%;
  }

  .contact-panel .close-btn {
    top: 25px;
    right: 25px;
    width: 42px;
    height: 42px;
  }

  .contact-panel .title {
    font-size: 40px;
    margin: 10px 0;
  }

  .contact-panel .intro {
    font-size: 14px;
    max-width: 100%;
  }

  .contact-panel .subtext {
    font-size: 16px;
  }

  .contact-panel .field label {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .contact-panel .field input,
  .contact-panel .field textarea {
    font-size: 18px;
  }

  .contact-panel .field {
    margin-bottom: 20px;
  }

  .contact-panel .form-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .send-btn {
    width: 100%;
    text-align: center;
    padding: 16px;
  }

  .video-modal {
    padding: 20px;
  }

  .video-modal-content {
    width: 100%;
    transform: scale(0.95);
  }

  .video-modal.active .video-modal-content {
    transform: scale(1);
  }

  .video-modal video {
    border-radius: 8px;
  }

  .close-btn {
    top: -45px;
    right: 10px;
    font-size: 32px;
  }

  .hero {
    height: 100vh;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .script-text {
    font-size: 34px;
    padding: 5px;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.5;
  }

  /*.hero-content {
    margin-top: 0;
    padding: 20px;
    gap: 12px;
    height: auto;
  }*/

  /*.overlay {
    height: auto;
  }*/

  .video-wrapper video {
    display: none;
  }

  .video-wrapper img {
    display: block;
  }

}

/* Small Mobile */
@media (max-width: 480px) {

  .container {
    gap: 20px;
    padding: 0 16px;
  }

  .logo img {
    max-width: 70%;
    height: auto;
  }

  .menu {
    position: relative;
    right: 0;
    background: none;
    padding: 10px;
    height: auto;
    width: auto;
  }

  .menu a {
    font-size: 18px;
  }

   .footer {
    padding: 50px 15px 30px;
  }

  .footer .logo {
    margin-bottom: 20px;
  }

  .script-text {
    margin-bottom: 20px;
  }

  .social {
    gap: 12px;
  }

  .disciplined-section {
    padding: 40px 0;
  }

  .disciplined-section .title,
  .disciplined-section .script-text {
    font-size: 34px;
  }

  .disciplined-section .item {
    font-size: 16px;
    line-height: 1.5;
  }

  .spacer {
    margin-bottom: 40px;
  }

  .videoSec video {
    /*max-width: 100%;
    transform: unset;*/
  }

  .videoSec .text {
    font-size: 14px;
    line-height: 1.4;
  }

  .videoSec .play-btn img {
    width: 50px;
    height: 50px;
  }

  .videoSec .play-btn .play-btn-txt {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .disciplined-wrapper h6 {
    padding-left: 0;
  }

  .focusAndConsistent-wrapper {
    padding: 40px 0;
    gap: 25px;
    display: block;
  }

  .focusAndConsistent-section .left h3 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .focusAndConsistent-section .left h6 {
    font-size: 13px;
    letter-spacing: 0.08em;
  }

  .focusAndConsistent-section .right p {
    font-size: 15px;
  }

  .number-wrapper {
    min-height: unset !important;
    gap: 0;
  }

   /*.number-section .image-box {
    height: 250px;
  }*/

  .number-section .script-text {
    font-size: 34px;
    line-height: normal;
    padding: 0;
  }

  .number-section .item {
    font-size: 14px;
    line-height: 1.4;
  }

  .number-section .big-text {
    font-size: 55px;
  }

  .number-section .right {
    display: none;
  }

  .beginA-section .beginA-wrapper {
    flex-direction: column;
  }

  .beginA-section .left {
    width: 100%;
    height: auto;  
  }

  .beginA-section .script-text {
    font-size: 32px;
  }

  .beginA-section .left img {
    width: 100%;
    height: auto;          /* prevents stretching */
    display: block;
    object-fit: cover;     /* keeps crop clean if needed */
  }

  .beginA-section .right {
    width: 100%;
  }

  .beginA-section p {
    font-size: 13px;
  }

  .beginA-section .btn {
    width: 100%;
    text-align: center;
  }

  .beginA-section .desc-text {
    font-size: 14px;
  }

   .footer h1 {
    font-size: 26px;
  }

  .footer .script-text {
    font-size: 26px;
  }

  .social {
    gap: 10px;
  }

  .social img {
    width: 18px;
    height: 18px;
  }

  .copyright {
    font-size: 13px;
  }

  .contact-panel {
    padding: 90px 20px 60px;
  }

  .contact-panel .title {
    font-size: 32px;
  }

  .contact-panel .field input,
  .contact-panel .field textarea {
    font-size: 16px;
  }

  .contact-panel .send-btn {
    font-size: 14px;
    padding: 14px;
  }

  .video-modal-content {
    width: 100%;
  }

  .close-btn {
    top: -50px;
    font-size: 34px;
  }

  .hero h1 {
    font-size: 26px;
    letter-spacing: -0.5px;
  }

  .script-text {
    font-size: 26px;
  }

  .hero .script-text {
    line-height: 0%;
    margin: 0;
  }

  .hero {
    height: auto;
  }

  .hero p {
    font-size: 14px;
  }

  .hero-content {
     padding: 150px 20px;
  }

  .hero-content {
    margin-top: 0;
    padding: 20px;
    gap: 12px;
    min-height: 500px;
    position: relative;
    top: 60px;
  }

  .bg-video {
    height: 500px;
  }

  .disciplined-wrapper h6 {
    font-size: 12px;
    border-left: none;
  }
}

/* =========================
   TABLET / iPad Pro FIX
========================= */
@media (min-width: 768px) and (max-width: 1200px) {
    .number-section .script-text {
       grid-area: title;
     position: relative;
      transform: none;
      margin: 40px 0 10px;
      left: 0;
      top: 0;
    }

    /* Image first */
    .number-section .image-box {
      grid-area: image;
      width: 100%;
      height: 400px;
      max-height: 40vh;
      overflow: hidden;
      /*min-height: 400px;*/
      /*margin-bottom: 30px;*/
    }
    .number-section .image-box img{
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 65%;
    }


    .number-wrapper > .left,
      .number-wrapper > .right {
        display: inline-flex;
        vertical-align: top;
        /*margin-top: 40px;*/
      }

    /* Wrap them in a row (hack using parent) */
    .number-section .left {
      grid-area: left;
    }

    .number-section .right {
      grid-area: right;
        text-align: right;
    }

    /* Clear float */
    .number-wrapper::after {
      content: "";
      display: block;
      clear: both;
    }

    /* Items spacing */
    .number-section .left .item,
    .number-section .right .item {
      padding: 20px;
      height: 160px;
      text-align: center;
    }
    .number-section .left .item{
      text-align: left;
    }

    /* Alignment */
    .number-section .right {
      text-align: right;
    }

    .number-section .left .item {
      align-items: center;
    }

     .number-section .left,
    .number-section .right {
      float: none !important;
      width: 100%;
      display: block;
  }
  .number-section .big-text {
        font-size: 60px;
    }

    .number-wrapper {
       display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-areas:
        "title title"
        "image image"
        "left right";
      gap: 30px;
      max-height: none;
    }

    .number-wrapper .script-text { grid-area: title; }
    .number-wrapper .image-box { grid-area: image; }
    .number-wrapper.left { grid-area: left; }
    .number-wrapper .right { grid-area: right; }

}

@media (max-width: 950px) and (orientation: landscape){

    .number-wrapper{
        min-height: auto;
        gap: 20px;
    }

    .number-section .image-box{
        width: 100%;
        height: 400px;
        min-height: 400px;
        max-height: 400px;
        overflow: hidden;
        border-radius: 10px;
        position: relative;
    }

    .number-section .image-box img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        inset: 0;
        object-position: 20% 70%;
    }

    .number-section .script-text{
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 20px 0;
        font-size: 42px;
        text-align: center;
    }

    .number-section .left,
    .number-section .right{
        width: 100%;
    }

    .number-section .left .item,
    .number-section .right .item{
        min-height: auto;
        padding: 20px 0;
    }

}
