/* ============================================
   SORTO — Luxury Hair Stylist & Barber
   Dark Editorial Aesthetic
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark2: #1a1a1a;
  --dark3: #222222;
  --gold: #c9a96e;
  --gold-light: #dfc08a;
  --gold-dark: #a8854d;
  --white: #f5f0eb;
  --white-soft: #e8e2db;
  --gray: #888888;
  --gray-light: #aaaaaa;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.section {
  padding: 120px 0;
  position: relative;
}

/* --- Loader --- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
}

.loader-text {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 1em;
  color: var(--gold);
  display: block;
  margin-bottom: 2rem;
  animation: loaderFade 1.5s var(--ease-out) forwards;
}

.loader-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto;
  animation: loaderLine 1.5s var(--ease-out) forwards;
  transform-origin: left;
}

@keyframes loaderFade {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes loaderLine {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 5%;
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  color: var(--gold);
  transition: opacity 0.3s;
}

.nav-logo:hover {
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-soft);
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gold);
  color: var(--black) !important;
  padding: 0.7rem 1.8rem;
  font-weight: 600;
  transition: all 0.3s var(--ease-out);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--gold-light);
  color: var(--black) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.4s var(--ease-out);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.4) 0%,
    rgba(10, 10, 10, 0.2) 40%,
    rgba(10, 10, 10, 0.6) 80%,
    rgba(10, 10, 10, 1) 100%
  );
}

/* Fallback gradient when no video */
.hero-video-wrap {
  background: linear-gradient(135deg, #1a1512 0%, #0d0b09 40%, #111 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
}

.hero-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.hero-title .reveal-word {
  display: inline-block;
  margin: 0 0.15em;
  opacity: 0;
  transform: translateY(60px);
  animation: wordReveal 1s var(--ease-out) forwards;
}

.hero-title .reveal-word:nth-child(1) { animation-delay: 0.8s; }
.hero-title .reveal-word:nth-child(2) { animation-delay: 1s; }
.hero-title .reveal-word:nth-child(3) { animation-delay: 1.2s; }

@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s var(--ease-in-out) infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.4s var(--ease-out);
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(201, 169, 110, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.2rem 3rem;
  font-size: 0.8rem;
}

/* --- Marquee --- */
.marquee {
  padding: 1.5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  background: var(--dark);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  padding: 0 1rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Section Headers --- */
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 3rem;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header .section-tag {
  padding-left: 0;
}

.section-header .section-tag::before {
  display: none;
}

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--gold);
  opacity: 0.3;
  z-index: -1;
}

.about-text {
  margin: 2rem 0;
}

.about-text p {
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-weight: 300;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 0.5rem;
}

/* --- Services --- */
.services {
  background: var(--dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--dark2);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.5s var(--ease-out);
  position: relative;
}

.service-card:hover {
  border-color: rgba(201, 169, 110, 0.2);
  transform: translateY(-5px);
}

.service-number {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--gold);
  z-index: 2;
  opacity: 0.6;
}

.service-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--dark2) 100%);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  padding: 1.5rem 2rem 0.5rem;
}

.service-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.7;
  padding: 0 2rem 1rem;
  font-weight: 300;
}

.service-book {
  display: inline-block;
  margin: 0 2rem 2rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  transition: all 0.3s var(--ease-out);
}

.service-book:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

/* --- Gallery / The Work --- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  max-width: 1400px;
  margin: 0 auto;
}

.work-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.work-item img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s var(--ease-out), filter 0.7s;
  display: block;
}

.work-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.1);
}

.work-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.15);
  transition: opacity 0.5s;
  pointer-events: none;
}

.work-item:hover::after {
  opacity: 0;
}

.work-tall {
  grid-row: span 2;
}

.work-tall img {
  min-height: 100%;
}

.work-wide {
  grid-column: span 2;
}

.gallery-cta {
  text-align: center;
  margin-top: 4rem;
}

/* --- Showcase Video --- */
.showcase-video {
  padding: 0;
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
}

.showcase-video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.showcase-vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.5);
}

.showcase-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  gap: 1rem;
}

.showcase-content .section-tag {
  padding-left: 0;
}

.showcase-content .section-tag::before {
  display: none;
}

/* --- Transformations --- */
.transformations {
  background: var(--dark);
}

.ba-feature {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.transform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.transform-embed {
  min-height: 580px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--dark2);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.transform-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 580px;
  border: none;
}

/* Legacy ba-grid kept for reference */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ba-card {
  text-align: center;
}

.ba-slider {
  position: relative;
  overflow: hidden;
  cursor: ew-resize;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.ba-slider img {
  width: 100%;
  height: auto;
  display: block;
}

.ba-slider .ba-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-after {
  clip-path: inset(0 0 0 50%);
}

.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--gold);
  z-index: 3;
  transform: translateX(-50%);
}

.ba-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.ba-handle span::before {
  content: '◄ ►';
  font-size: 0.5rem;
  color: var(--black);
  letter-spacing: 2px;
}

.ba-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gray-light);
  margin-top: 1.5rem;
  font-style: italic;
}

/* --- Testimonials --- */
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 2rem;
  transition: border-color 0.4s;
}

.testimonial-card:hover {
  border-color: rgba(201, 169, 110, 0.2);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: var(--white-soft);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* --- TikTok Section --- */
.section-sub {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 300;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

.tiktok-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tiktok-embed-wrap {
  aspect-ratio: 9/16;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--dark2);
}

.tiktok-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Instagram Section --- */
.ig-embed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.ig-embed-wrap {
  min-height: 480px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--dark2);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ig-embed-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: none;
}

/* --- Contact --- */
.contact {
  background: var(--dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-details {
  margin: 3rem 0;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.contact-item p,
.contact-item a {
  color: var(--gray-light);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
}

.contact-item a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--gold);
}

.contact-map {
  height: 500px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-map iframe {
  filter: invert(0.9) hue-rotate(180deg) saturate(0.3) brightness(0.6);
}

/* --- Footer --- */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  color: var(--gold);
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 300;
  margin-top: 0.3rem;
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gray);
  transition: color 0.3s;
}

.footer-social a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.7rem;
  color: var(--gray);
  letter-spacing: 0.1em;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 2;
}

.lightbox-close:hover {
  color: var(--gold);
}

.lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  transform: scale(0.9);
  transition: transform 0.4s var(--ease-out);
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Placeholder images (gray boxes until real images are added) --- */
img[src^="assets/"] {
  background: var(--dark3);
  min-height: 200px;
}

.hero-video {
  background: var(--dark);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .transform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ba-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ba-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.5s var(--ease-out);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1rem;
    letter-spacing: 0.2em;
  }

  .nav-cta {
    margin-top: 1rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-accent {
    display: none;
  }

  .about-stats {
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-tall {
    grid-row: span 1;
  }

  .work-wide {
    grid-column: span 1;
  }

  .gallery-item-tall {
    grid-row: span 1;
  }

  .gallery-item-wide {
    grid-column: span 1;
  }

  .transform-grid {
    grid-template-columns: 1fr;
  }

  .ba-grid {
    grid-template-columns: 1fr;
  }

  .ba-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .testimonials-track {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map {
    height: 300px;
  }

  .tiktok-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ig-embed-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(2.8rem, 12vw, 5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {

  .tiktok-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ig-embed-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ============================================
   360° Spin Viewer
   ============================================ */

.spin-section {
  background: var(--dark);
}

.spin-viewer {
  max-width: 680px;
  margin: 0 auto;
}

.spin-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  background: var(--dark2);
}

.spin-canvas:active {
  cursor: grabbing;
}

.spin-frame {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  will-change: opacity;
}

/* Hint overlay */
.spin-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.spin-overlay.hidden {
  opacity: 0;
}

.spin-hint {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: spinHintPulse 2s ease-in-out infinite;
}

.spin-hint-icon {
  width: 2.5rem;
  height: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
}

.spin-hint-icon svg {
  width: 100%;
  height: 100%;
}

@keyframes spinHintPulse {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.96); }
}

/* Loader */
.spin-loader {
  position: absolute;
  inset: 0;
  background: var(--dark2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  transition: opacity 0.4s ease;
  z-index: 2;
}

.spin-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.spin-loader-ring {
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--dark3);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spinnerRing 0.8s linear infinite;
}

@keyframes spinnerRing {
  to { transform: rotate(360deg); }
}

/* Controls */
.spin-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding: 0 0.25rem;
}

.spin-btn {
  background: none;
  border: 1px solid var(--dark3);
  color: var(--gray);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spin-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.spin-dots {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  max-width: calc(100% - 7rem);
}

.spin-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dark3);
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.spin-dot.active {
  background: var(--gold);
  transform: scale(1.4);
}

/* Responsive */
@media (max-width: 768px) {
  .spin-viewer {
    max-width: 100%;
  }

  .spin-dots {
    gap: 4px;
  }

  .spin-dot {
    width: 4px;
    height: 4px;
  }
}
