/* =========================================
   FONT
========================================= */

@font-face {
  font-family: "AbeatbyKai";
  src: url("../fonts/ABEAKRG.TTF") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* =========================================
   GLOBAL
========================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: #F8DF09;
  color: #111;
  font-family: "AbeatbyKai", cursive;

}

body.modal-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
}

img,
video {
  max-width: 100%;
}

/* =========================================
   PAGE BACKGROUND
========================================= */

.about-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 30px 20px 100px;

  background-color: #F8DF09;

  background-image:
    radial-gradient(circle at 20% 20%,
      rgba(255, 255, 255, 0.2) 0,
      transparent 25%),
    radial-gradient(circle at 80% 40%,
      rgba(255, 255, 255, 0.16) 0,
      transparent 30%);
}

.about-page::before,
.about-page::after {
  content: "";
  position: fixed;
  z-index: 0;
  width: 280px;
  height: 280px;
  border: 3px solid rgba(17, 17, 17, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.about-page::before {
  top: -120px;
  left: -100px;
}

.about-page::after {
  right: -100px;
  bottom: -120px;
}

/* =========================================
   HOME BUTTON
========================================= */

.back-home {
  position: relative;
  z-index: 5;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;
  padding: 10px 20px;

  background: #fff;
  color: #111;

  border: 3px solid #111;
  border-radius: 50px;

  box-shadow: 5px 5px 0 #111;

  font-weight: 800;
  text-decoration: none;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.back-home:hover {
  transform: translateY(-2px);
  box-shadow: 7px 7px 0 #111;
}

/* =========================================
   HERO
========================================= */

.testimonial-hero {
  position: relative;
  z-index: 2;

  width: min(1050px, 100%);
  margin: 70px auto 90px;

  text-align: center;
}

.testimonial-label {
  display: inline-block;

  margin-bottom: 22px;
  padding: 9px 18px;

  background: #111;
  color: #fff;

  border-radius: 50px;

  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.testimonial-hero h1 {
  margin-bottom: 24px;

  font-family: "AbeatbyKai", cursive;

  font-size: clamp(2.8rem, 7vw, 6.5rem);
  line-height: 0.95;
}

.testimonial-hero p {
  max-width: 680px;
  margin: 0 auto;

  font-size: 1.1rem;
  line-height: 1.75;
}

/* =========================================
   COMMON SECTION
========================================= */

.video-gallery-section,
.written-testimonial-section,
.testimonial-cta {
  position: relative;
  z-index: 2;

  width: min(1180px, 100%);
  margin: 0 auto 110px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading>span {
  display: inline-block;

  margin-bottom: 12px;
  padding: 8px 15px;

  background: #111;
  color: #fff;

  border-radius: 50px;

  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 15px;

  font-family: "AbeatbyKai", cursive;

  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
}

.section-heading p {
  font-size: 1rem;
  line-height: 1.7;
}

/* =========================================
   SQUARE VIDEO GRID
========================================= */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.video-card {
  overflow: hidden;

  border: 3px solid #111;
  border-radius: 22px;

  box-shadow: 8px 8px 0 #111;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.video-card:nth-child(odd) {
  transform: rotate(-0.7deg);
}

.video-card:nth-child(even) {
  transform: rotate(0.7deg);
}

.video-card:hover {
  transform: translateY(-7px) rotate(0);
  box-shadow: 13px 13px 0 #111;
}

/* Brand card colours */

.card-yellow {
  background: #F8DF09;
  color: #111;
}

.card-orange {
  background: #DF4D13;
  color: #111;
}

.card-blue {
  background: #3E51D1;
  color: #fff;
}

.card-green {
  background: #3DB548;
  color: #111;
}

.card-red {
  background: #C90008;
  color: #fff;
}

/* Square thumbnail */

.video-thumbnail {
  position: relative;

  display: block;
  overflow: hidden;

  width: 100%;
  aspect-ratio: 1 / 1;

  background: #111;

  cursor: pointer;
}

.video-thumbnail img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.45s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.06);
}

.thumbnail-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(to top,
      rgba(0, 0, 0, 0.42),
      rgba(0, 0, 0, 0.05) 55%,
      rgba(0, 0, 0, 0.1));

  transition: background 0.3s ease;
}

.video-thumbnail:hover .thumbnail-overlay {
  background: rgba(0, 0, 0, 0.22);
}

/* Play button */

.grid-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;

  display: grid;
  place-items: center;

  width: 68px;
  height: 68px;

  padding-left: 4px;

  background: #F8DF09;
  color: #111;

  border: 3px solid #111;
  border-radius: 50%;

  box-shadow: 5px 5px 0 #111;

  font-size: 1.45rem;

  transform: translate(-50%, -50%);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.video-thumbnail:hover .grid-play-btn {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 3px 3px 0 #111;
}

.video-duration {
  position: absolute;
  right: 12px;
  bottom: 12px;

  padding: 6px 9px;

  background: rgba(0, 0, 0, 0.8);
  color: #fff;

  border-radius: 8px;

  font-size: 0.72rem;
  font-weight: 800;
}

/* Video card information */

.video-card-content {
  min-height: 145px;
  padding: 22px;
}

.video-category {
  display: inline-block;

  margin-bottom: 9px;
  padding: 6px 10px;

  background: #fff;
  color: #111;

  border: 2px solid #111;
  border-radius: 50px;

  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.video-card-content h3 {
  margin-bottom: 7px;

  font-family: "AbeatbyKai", cursive;

  font-size: 1.55rem;
  line-height: 1.1;
}

.video-card-content p {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}

/* =========================================
   WRITTEN TESTIMONIALS
========================================= */

.written-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.written-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 360px;
  padding: 34px 28px;

  border: 3px solid #111;
  border-radius: 24px;

  box-shadow: 8px 8px 0 #111;
}

.quote-mark {
  position: absolute;
  top: 4px;
  right: 20px;

  font-family: "AbeatbyKai", cursive;

  font-size: 7rem;
  line-height: 1;

  opacity: 0.18;
}

.stars {
  position: relative;
  z-index: 2;

  margin-bottom: 22px;

  font-size: 1rem;
  letter-spacing: 4px;
}

.written-card>p {
  position: relative;
  z-index: 2;

  margin-bottom: 30px;

  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.7;
}

.written-client {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-top: auto;
}

.client-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;

  width: 56px;
  height: 56px;

  background: #fff;
  color: #111;

  border: 3px solid #111;
  border-radius: 50%;

  font-weight: 900;
}

.written-client h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.written-client span {
  font-size: 0.82rem;
  font-weight: 600;
}

/* =========================================
   CTA
========================================= */

.testimonial-cta {
  padding: 70px 35px;

  background: #C90008;
  color: #fff;

  border: 3px solid #111;
  border-radius: 32px;

  box-shadow: 12px 12px 0 #111;

  text-align: center;
}

.testimonial-cta>span {
  display: inline-block;
  margin-bottom: 14px;

  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-cta h2 {
  max-width: 800px;
  margin: 0 auto 32px;

  font-family: "AbeatbyKai", cursive;

  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1;
}

.testimonial-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  padding: 13px 26px;

  background: #F8DF09;
  color: #111;

  border: 3px solid #111;
  border-radius: 50px;

  box-shadow: 6px 6px 0 #111;

  font-weight: 900;
  text-decoration: none;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.testimonial-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 9px 9px 0 #111;
}

/* =========================================
   VIDEO MODAL
========================================= */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: grid;
  place-items: center;

  padding: 24px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.video-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.modal-container {
  position: relative;
  z-index: 2;

  width: min(900px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;

  padding: 18px;

  background: #F8DF09;

  border: 3px solid #111;
  border-radius: 26px;

  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.8);

  transform: translateY(25px) scale(0.96);
  transition: transform 0.3s ease;
}

.video-modal.show .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;

  display: grid;
  place-items: center;

  width: 44px;
  height: 44px;

  background: #fff;
  color: #111;

  border: 3px solid #111;
  border-radius: 50%;

  box-shadow: 4px 4px 0 #111;

  font-size: 1.8rem;
  line-height: 1;

  cursor: pointer;
}

.modal-video-frame {
  overflow: hidden;

  background: #000;

  border: 3px solid #111;
  border-radius: 18px;
}

.modal-video-frame video {
  display: block;

  width: 100%;
  max-height: 70vh;

  background: #000;
}

.modal-video-info {
  padding: 22px 10px 8px;
  text-align: center;
}

.modal-video-info h2 {
  margin-bottom: 6px;

  font-family: "AbeatbyKai", cursive;
  font-size: 2rem;
}

.modal-video-info p {
  font-weight: 700;
}

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

@media (max-width: 950px) {

  .video-grid,
  .written-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {

  .about-page {
    padding: 22px 15px 75px;
  }

  .testimonial-hero {
    margin: 60px auto 70px;
  }

  .testimonial-hero h1 {
    font-size: clamp(2.7rem, 15vw, 4.5rem);
  }

  .video-gallery-section,
  .written-testimonial-section,
  .testimonial-cta {
    margin-bottom: 80px;
  }

  .video-grid,
  .written-grid {
    grid-template-columns: 1fr;
  }

  .video-card,
  .video-card:nth-child(odd),
  .video-card:nth-child(even) {
    width: min(100%, 360px);
    margin: 0 auto;

    transform: none;
  }

  .written-card {
    min-height: auto;
  }

  .testimonial-cta {
    padding: 55px 22px;

    border-radius: 24px;
    box-shadow: 8px 8px 0 #111;
  }

  .modal-container {
    padding: 10px;
    border-radius: 19px;
  }

  .modal-close {
    top: 5px;
    right: 5px;

    width: 39px;
    height: 39px;

    font-size: 1.5rem;
  }

  .modal-video-info h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 400px) {

  .grid-play-btn {
    width: 58px;
    height: 58px;

    font-size: 1.2rem;
  }

  .video-card-content {
    min-height: 130px;
    padding: 18px;
  }
}

/* Shared inner-page navigation and consistent typography */
body {
  /* font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; */
  font-family: "AbeatbyKai", cursive;
  font-size: 16px;
  line-height: 1.6
}

h1,
h2,
h3,
.about-label,
.testimonial-label,
.section-heading>span,
.video-category {
  /* font-family: "AbeatbyKai", system-ui, sans-serif */
  font-family: "AbeatbyKai", cursive;
}

.inner-header {
  position: relative;
  z-index: 100;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.inner-logo img {
  display: block;
  width: 92px;
  height: auto
}

.inner-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.inner-header nav a {
  padding: 8px 12px;
  border: 2px solid #111;
  border-radius: 999px;
  color: #111;
  text-decoration: none;
  font-weight: 800;
  font-size: .82rem;
  box-shadow: 3px 3px 0 #111
}

.inner-header nav a:nth-child(1) {
  background: #F8DF09
}

.inner-header nav a:nth-child(2) {
  background: #DF4D13
}

.inner-header nav a:nth-child(3) {
  background: #3E51D1;
  color: #fff
}

.inner-header nav a:nth-child(4) {
  background: #3DB548
}

.inner-header nav a:nth-child(5) {
  background: #C90008;
  color: #fff
}

.inner-header nav a:hover {
  transform: translateY(-2px)
}

img {
  height: auto
}

.map-card p,
.testimonial-hero p,
.section-heading p,
.video-card-content p,
.written-card p {
  /* font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif */
  font-family: "AbeatbyKai", cursive;
}

@media(max-width:720px) {
  .inner-header {
    align-items: flex-start
  }

  .inner-header nav {
    justify-content: flex-end
  }

  .inner-header nav a {
    font-size: .7rem;
    padding: 6px 9px
  }

  .inner-logo img {
    width: 72px
  }

  .about-page {
    padding-left: 16px;
    padding-right: 16px
  }

  .about-hero h1,
  .testimonial-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.8rem)
  }
}

@media(max-width:480px) {
  .inner-header {
    display: grid;
    justify-items: center
  }

  .inner-header nav {
    justify-content: center
  }

  .inner-header nav a {
    font-size: .68rem
  }

  .map-card {
    padding: 20px !important
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important
  }

  .video-card-content {
    padding: 14px !important;
    min-height: 120px !important
  }

  .video-card-content h3 {
    font-size: 1.05rem !important
  }

  .video-card-content p {
    font-size: .75rem !important
  }

  .grid-play-btn {
    width: 48px !important;
    height: 48px !important;
    font-size: 1rem !important
  }

  .video-duration {
    font-size: .6rem !important
  }
}

.premium-footer {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 100px 20px 70px;

  background: linear-gradient(180deg,
      #3DB548 0%,
      #F8DF09 25%,
      #DF4D13 55%,
      #C90008 75%,
      #3E51D1 100%);
}

.footer-card {
  max-width: 1100px;
  margin: auto;
  padding: 60px 40px;
  border-radius: 40px;

  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 25px 70px rgba(0, 0, 0, .22);
}

.footer-logo {
  width: 120px;
  margin-bottom: 20px;
  animation: footerFloat 4s ease-in-out infinite;
}

.footer-brand-name {
  font-family: "AbeatbyKai", cursive;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1;
  color: #F5F5F5;
  margin-bottom: 12px;

  text-shadow:
    4px 4px 0 rgba(0, 0, 0, .35),
    0 8px 25px rgba(0, 0, 0, .28);

  animation: footerFloat 4s ease-in-out infinite;
}

.footer-tagline {
  font-family: "AbeatbyKai", cursive;
  color: #F5F5F5;
  letter-spacing: 4px;
  font-size: 1rem;
}

.footer-divider {
  width: 230px;
  height: 8px;
  border-radius: 999px;
  margin: 28px auto;

  background: linear-gradient(90deg,
      #3DB548,
      #F8DF09,
      #DF4D13,
      #C90008,
      #3E51D1);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.footer-links a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  color: #F8DF09;
}

.footer-links span {
  color: rgba(255, 255, 255, .7);
}

.footer-address {
  max-width: 760px;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, .95);
  line-height: 1.8;
  font-weight: 600;
}

.footer-copy {
  color: rgba(255, 255, 255, .8);
  font-size: .95rem;
}

@keyframes footerFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media(max-width:768px) {
  .footer-card {
    padding: 45px 22px;
    border-radius: 30px;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  .footer-links span {
    display: none;
  }

  .footer-tagline {
    letter-spacing: 2px;
  }
}

/* Mobile-only top social icons — intentionally isolated from all other page styles. */
.inner-mobile-social { display: none; }
@media (max-width: 720px) {
  .inner-mobile-social {
    position: relative;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 12px auto 18px;
  }
  .inner-mobile-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 2px solid #111;
    border-radius: 50%;
    color: #fff;
    box-shadow: 3px 3px 0 #111;
    text-decoration: none;
  }
  .inner-mobile-social a:nth-child(1) { background: #DF4D13; }
  .inner-mobile-social a:nth-child(2) { background: #3E51D1; }
  .inner-mobile-social a:nth-child(3) { background: #3DB548; }
  .inner-mobile-social svg { width: 18px; height: 18px; fill: currentColor; }
}


/* ==================================================
   DESKTOP ONLY - SLIGHT TYPOGRAPHY REDUCTION
   Matches the subtle reduction used on sean-style.css.
   Mobile view remains unchanged.
================================================== */
@media only screen and (min-width: 769px) {

  .testimonial-hero h1 {
    font-size: clamp(2.7rem, 6.7vw, 6.2rem) !important;
  }

  .testimonial-hero p {
    font-size: 1.05rem !important;
  }

  .testimonial-label {
    font-size: 0.79rem !important;
  }

  .section-heading > span {
    font-size: 0.73rem !important;
  }

  .section-heading h2 {
    font-size: clamp(2.1rem, 4.8vw, 4rem) !important;
  }

  .section-heading p {
    font-size: 0.97rem !important;
  }

  .video-category {
    font-size: 0.65rem !important;
  }

  .video-card-content h3 {
    font-size: 1.48rem !important;
  }

  .video-card-content p {
    font-size: 0.85rem !important;
  }

  .written-card > p {
    font-size: 1rem !important;
  }

  .written-client h3 {
    font-size: 0.97rem !important;
  }

  .written-client span {
    font-size: 0.79rem !important;
  }

  .testimonial-cta > span {
    font-size: 0.77rem !important;
  }

  .testimonial-cta h2 {
    font-size: clamp(2.1rem, 4.8vw, 4.3rem) !important;
  }

  .testimonial-cta-btn {
    font-size: 0.97rem !important;
  }

  .modal-video-info h2 {
    font-size: 1.92rem !important;
  }

  .modal-video-info p {
    font-size: 0.97rem !important;
  }

  .inner-header nav a {
    font-size: 0.79rem !important;
  }

  .footer-brand-name {
    font-size: clamp(2.9rem, 7.7vw, 6.7rem) !important;
  }

  .footer-tagline {
    font-size: 0.97rem !important;
  }

  .footer-address,
  .footer-copy,
  .footer-links a {
    font-size: 0.97rem !important;
  }
}
