/* ================================================================
   BLENDR BRANDING & DESIGN — main.css
   ================================================================ */

/* ----------------------------------------------------------------
   1. FONTS
   ---------------------------------------------------------------- */
@font-face {
  font-family: 'Magallanes';
  src: url('../fonts/Magallanes Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Magallanes';
  src: url('../fonts/Magallanes Thin Italic.otf') format('opentype');
  font-weight: 100;
  font-style: italic;
}
@font-face {
  font-family: 'Magallanes';
  src: url('../fonts/Magallanes Ultra Light.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: 'Magallanes';
  src: url('../fonts/Magallanes Ultra Light Italic.otf') format('opentype');
  font-weight: 200;
  font-style: italic;
}
@font-face {
  font-family: 'Magallanes';
  src: url('../fonts/Magallanes Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Magallanes';
  src: url('../fonts/Magallanes Light Italic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: 'Magallanes';
  src: url('../fonts/Magallanes Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Magallanes';
  src: url('../fonts/Magallanes Regular Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'Magallanes';
  src: url('../fonts/Magallanes Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Magallanes';
  src: url('../fonts/Magallanes Medium Italic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: 'Magallanes';
  src: url('../fonts/Magallanes Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Magallanes';
  src: url('../fonts/Magallanes Bold Italic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
}
@font-face {
  font-family: 'Magallanes';
  src: url('../fonts/Magallanes ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Magallanes';
  src: url('../fonts/Magallanes ExtraBold Italic.otf') format('opentype');
  font-weight: 800;
  font-style: italic;
}
@font-face {
  font-family: 'Magallanes';
  src: url('../fonts/Magallanes Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'Magallanes';
  src: url('../fonts/Magallanes Black Italic.otf') format('opentype');
  font-weight: 900;
  font-style: italic;
}

/* Google Fonts imported in HTML */

/* ----------------------------------------------------------------
   2. CSS VARIABLES
   ---------------------------------------------------------------- */
:root {
  --color-dark:       #101F21;
  --color-dark-2:     #1D1E20;
  --color-teal:       #3D6F74;
  --color-teal-light: #B5DFEA;
  --color-teal-pale:  #E9FAFF;
  --color-orange:     #FFFFFF;
  --color-white:      #FFFFFF;
  --color-text:       #333333;
  --color-muted:      #707070;

  --font-heading: 'Magallanes', 'Nunito Sans', sans-serif;
  --font-body:    'Nunito Sans', 'Roboto', sans-serif;

  --transition: 0.35s ease;
  --radius: 4px;
  --max-width: 1200px;
  --header-height: 96px;
}

/* ----------------------------------------------------------------
   3. RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: rgba(255,255,255,0.85);
  background: var(--color-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ----------------------------------------------------------------
   4. TYPOGRAPHY
   ---------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2.8rem, 6vw, 5.5rem); text-transform: uppercase; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); text-transform: uppercase; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------
   5. UTILITIES
   ---------------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad {
  padding: 100px 0;
}

.section-pad-sm {
  padding: 60px 0;
}

.text-center { text-align: center; }
.text-white  { color: var(--color-white); }
.text-dark   { color: var(--color-dark); }
.text-teal   { color: var(--color-teal); }
.text-orange { color: var(--color-orange); }
.text-muted  { color: var(--color-muted); }

.bg-dark     { background-color: var(--color-dark); }
.bg-teal     { background-color: var(--color-teal); }
.bg-pale     { background-color: var(--color-teal-pale); }
.bg-white    { background-color: var(--color-white); }

/* ----------------------------------------------------------------
   6. ANIMATION UTILITIES
   ---------------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ----------------------------------------------------------------
   7. BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-orange);
  color: var(--color-dark);
  border-color: var(--color-orange);
}
.btn-primary:hover {
  background: transparent;
  color: var(--color-orange);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-outline-light:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}
.btn-outline-dark:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

/* ----------------------------------------------------------------
   8. HEADER & NAVIGATION
   ---------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: var(--color-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
  width: 100%;
  padding: 0 clamp(2rem, 5vw, 5rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  height: 56px;
  width: auto;
  transition: opacity var(--transition);
}

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

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

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-teal-light);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--color-teal-light); }

.nav-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.nav-social a {
  color: var(--color-white);
  font-size: 1rem;
  opacity: 0.8;
  transition: opacity var(--transition), color var(--transition);
}
.nav-social a:hover { opacity: 1; color: var(--color-orange); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-dark);
  padding: 2rem;
  z-index: 999;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--color-teal-light); }
.mobile-social {
  display: flex;
  gap: 1.5rem;
  padding-top: 0.5rem;
}
.mobile-social a { color: var(--color-white); font-size: 1.2rem; opacity: 0.8; }
.mobile-social a:hover { opacity: 1; color: var(--color-orange); }

/* ----------------------------------------------------------------
   9. HERO SECTIONS
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.06);
  transition: transform 10s ease;
  will-change: transform;
}
.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(13,36,38,0.62) 0%,
    rgba(13,36,38,0.42) 45%,
    rgba(13,36,38,0.72) 100%);
}

/* Hero content: stacked headline */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}

/* "CREATE" — huge outline, animates in from left */
.hero-create {
  display: block;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(4.5rem, 13vw, 15rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.9);
  line-height: 0.92;
  /* start hidden — animation triggered once hero-ready is set */
  opacity: 0;
  transform: translateX(-70px);
}
body.hero-ready .hero-create {
  animation: heroFromLeft 2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* "Your Brand" — solid white, overlaps bottom ~10% of CREATE */
.hero-tagline {
  display: block;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.4rem, 7vw, 8rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  line-height: 0.92;
  margin-top: -0.50em;
  position: relative;
  z-index: 2;
  /* start hidden — animation triggered once hero-ready is set */
  opacity: 0;
  transform: translateX(70px);
}
body.hero-ready .hero-tagline {
  animation: heroFromRight 2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0;
}
body.hero-ready .hero-scroll {
  animation: bounce 2s infinite 1.8s;
  opacity: 1;
  transition: opacity 0.5s ease 1.5s;
}
.hero-scroll::before {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  animation: scrollLine 2s infinite;
}

/* Inner page hero (shorter) */
.hero-inner {
  height: 60vh;
  min-height: 400px;
  padding-top: var(--header-height);
}

/* Inner page title — same outline style as CREATE */
.hero-inner .hero-content h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(4.5rem, 13vw, 14rem);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.9);
  line-height: 0.92;
  margin-bottom: 0;
  animation: heroFromLeft 2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* Inner page subtitle — comes from opposite side */
.hero-inner .hero-content .hero-sub {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 1.2rem;
  animation: heroFromRight 2s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

/* Animations */
@keyframes heroFromLeft {
  from { opacity: 0; transform: translateX(-70px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes heroFromRight {
  from { opacity: 0; transform: translateX(70px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}
@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; }
}

/* ----------------------------------------------------------------
   10. ABOUT SECTION
   ---------------------------------------------------------------- */
.about-section {
  background: #112a2e;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.about-section::before {
  content: '';
  position: absolute;
  width: 65%;
  height: 90%;
  background: rgba(45,95,102,0.18);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  top: -20%;
  right: -10%;
  pointer-events: none;
  z-index: 0;
}
.about-section .container { position: relative; z-index: 1; }

.about-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-teal-light);
  margin-bottom: 1rem;
}

.about-section h2 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.about-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
}

.about-visual {
  position: relative;
}
.about-visual img {
  width: 100%;
  border-radius: 2px;
}
.about-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  border: 2px solid rgba(181,223,234,0.25);
  border-radius: 2px;
  z-index: -1;
}

/* ----------------------------------------------------------------
   11. PARTNER BRANDS
   ---------------------------------------------------------------- */
.brands-section {
  background: var(--color-dark);
  padding: 80px 0;
  overflow: hidden;
}

.brands-section h2 {
  color: var(--color-white);
  text-align: center;
  margin-bottom: 3rem;
}

.brands-track-wrapper {
  overflow: hidden;
  position: relative;
}
.brands-track-wrapper::before,
.brands-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
}
.brands-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--color-dark), transparent);
}
.brands-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--color-dark), transparent);
}

.brands-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scrollBrands 30s linear infinite;
}
.brands-track:hover { animation-play-state: paused; }

.brand-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 80px;
}
.brand-item img {
  max-width: 140px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity var(--transition), filter var(--transition);
}
.brand-item:hover img {
  opacity: 1;
  filter: brightness(0) invert(1);
}

@keyframes scrollBrands {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ----------------------------------------------------------------
   12. LATEST WORK / CAROUSEL
   ---------------------------------------------------------------- */
.work-section {
  background: #0d2426;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.work-section::after {
  content: '';
  position: absolute;
  width: 70%;
  height: 80%;
  background: rgba(30,75,82,0.2);
  border-radius: 30% 70% 60% 40% / 50% 40% 60% 50%;
  bottom: -25%;
  left: -8%;
  pointer-events: none;
  z-index: 0;
}
.work-section .container,
.work-section .carousel-wrapper,
.work-section .work-cta { position: relative; z-index: 1; }

.work-section h2 {
  color: var(--color-white);
  text-align: center;
  margin-bottom: 0.5rem;
}
.work-section .section-sub {
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 3.5rem;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 1.5rem;
}

.carousel-slide {
  flex: 0 0 calc(33.333% - 1rem);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  cursor: pointer;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.carousel-slide:hover img { transform: scale(1.05); }
.carousel-slide .slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16,31,33,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.carousel-slide:hover .slide-overlay { opacity: 1; }
.slide-overlay span {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background var(--transition), transform 0.2s;
}
.carousel-btn:hover {
  background: var(--color-teal);
  transform: scale(1.1);
}
.carousel-dots {
  display: flex;
  gap: 0.5rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-teal-light);
  transition: background var(--transition), transform var(--transition);
}
.carousel-dot.active {
  background: var(--color-white);
  transform: scale(1.3);
}

.work-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ----------------------------------------------------------------
   13. TESTIMONIALS
   ---------------------------------------------------------------- */
.testimonials-section {
  background: var(--color-dark);
  padding: 100px 0;
  overflow: hidden;
}
.testimonials-section h2 {
  color: var(--color-white);
  text-align: center;
  margin-bottom: 3.5rem;
}

.testimonials-slider {
  position: relative;
}
.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.testimonial-card {
  flex: 0 0 100%;
  padding: 0 10%;
  text-align: center;
}
.testimonial-card .quote-icon {
  font-size: 4rem;
  line-height: 1;
  color: var(--color-teal);
  font-family: Georgia, serif;
  margin-bottom: 1rem;
  display: block;
}
.testimonial-card blockquote {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.testimonial-card cite {
  font-style: normal;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-orange);
}
.testimonial-card cite span {
  display: block;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.testimonials-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
}
.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.t-dot.active {
  background: var(--color-orange);
  transform: scale(1.3);
}

/* ----------------------------------------------------------------
   14. CONTACT CTA SECTION
   ---------------------------------------------------------------- */
.cta-section {
  background: #091e20;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 50%;
  height: 120%;
  background: rgba(45,95,102,0.15);
  border-radius: 50% 50% 40% 60% / 50% 60% 40% 50%;
  top: -10%;
  right: -5%;
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}
.cta-section p {
  max-width: 580px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

/* ----------------------------------------------------------------
   15. FOOTER
   ---------------------------------------------------------------- */
.site-footer {
  background: #0c1f22;
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}
.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.footer-social a:hover {
  background: var(--color-orange);
  color: var(--color-dark);
  border-color: var(--color-orange);
}

.footer-col h5 {
  color: var(--color-white);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--color-orange); }

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1rem;
}
.footer-contact-item span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal-light);
  font-weight: 600;
}
.footer-contact-item a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-contact-item a:hover { color: var(--color-white); }

.footer-newsletter {
  margin-top: 1.5rem;
}
.footer-newsletter p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}
.newsletter-form {
  display: flex;
  gap: 0;
}
.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  color: var(--color-white);
  font-size: 0.85rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input:focus { border-color: var(--color-teal); }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form button {
  padding: 10px 18px;
  background: var(--color-orange);
  color: var(--color-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--color-teal-light); }

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* ----------------------------------------------------------------
   16. SERVICES PAGE
   ---------------------------------------------------------------- */
.what-we-do {
  background: #112a2e;
  padding: 100px 0;
}
.what-we-do .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.what-we-do h2 { color: var(--color-white); margin-bottom: 1.5rem; }
.what-we-do p { font-size: 1.05rem; line-height: 1.8; color: rgba(255,255,255,0.65); }

/* Marquee */
.services-marquee {
  background: var(--color-dark);
  padding: 40px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marqueeScroll 20s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2.5rem;
}
.marquee-item span {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.3);
  transition: color var(--transition), -webkit-text-stroke var(--transition);
  white-space: nowrap;
}
.marquee-item span:hover {
  color: var(--color-orange);
  -webkit-text-stroke: 0px transparent;
}
.marquee-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-teal);
  flex-shrink: 0;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Service cards */
.services-grid-section {
  background: #0d2426;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.services-grid-section::before {
  content: '';
  position: absolute;
  width: 75%;
  height: 90%;
  background: rgba(30,70,78,0.22);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  top: -20%;
  right: -15%;
  pointer-events: none;
  z-index: 0;
}
.services-grid-section::after {
  content: '';
  position: absolute;
  width: 55%;
  height: 70%;
  background: rgba(15,45,50,0.3);
  border-radius: 60% 40% 30% 70% / 60% 70% 30% 40%;
  bottom: -15%;
  left: -8%;
  pointer-events: none;
  z-index: 0;
}
.services-grid-section .container { position: relative; z-index: 1; }
.services-grid-section h2 {
  text-align: left;
  color: var(--color-white);
  margin-bottom: 4rem;
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.service-card {
  background: transparent;
  padding: 2.5rem 2rem 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  transition: border-color var(--transition), transform var(--transition);
}
.service-card:hover {
  border-color: rgba(181,223,234,0.3);
  transform: translateY(-4px);
}
.service-card .service-icon {
  display: none;
}
.service-card h3 {
  color: var(--color-white);
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.service-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
}

/* ----------------------------------------------------------------
   17. PORTFOLIO PAGE
   ---------------------------------------------------------------- */
.portfolio-section {
  background: var(--color-dark);
  padding: 80px 0 100px;
}

/* Filter bar */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}
.filter-btn {
  padding: 8px 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  color: rgba(255,255,255,0.45);
  background: transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}

/* Portfolio grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--color-dark);
}
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.4s ease;
}
.portfolio-card:hover img {
  transform: scale(1.06);
  opacity: 0.7;
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16,31,33,0.9) 0%, rgba(16,31,33,0.2) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.portfolio-card:hover .portfolio-card-overlay { opacity: 1; }
.portfolio-card-overlay h3 {
  font-size: 0.95rem;
  color: var(--color-white);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.portfolio-card-overlay .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.portfolio-card-overlay .card-tags span {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal-light);
  font-family: var(--font-heading);
  font-weight: 700;
}
.portfolio-card-overlay .card-tags span:not(:last-child)::after {
  content: ' |';
  opacity: 0.5;
}

.portfolio-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.portfolio-card.hidden {
  display: none;
}

/* ----------------------------------------------------------------
   18. CONTACT PAGE
   ---------------------------------------------------------------- */
.contact-section {
  background: var(--color-dark);
  padding: 100px 0;
}
.contact-section h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}
.contact-section .contact-intro {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin-bottom: 4rem;
}

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

/* Location cards */
.contact-locations {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.location-card {
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-teal);
  background: rgba(255,255,255,0.03);
}
.location-card h5 {
  color: var(--color-teal-light);
  margin-bottom: 0.75rem;
}
.location-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}
.location-card .contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.location-card .contact-links a {
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition);
}
.location-card .contact-links a:hover { color: var(--color-teal-light); }
.location-card .contact-links a .link-icon { font-size: 0.9rem; }

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-weight: 700;
  color: rgba(255,255,255,0.65);
}
.form-group label .req { color: var(--color-teal); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--color-white);
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-teal-light);
  background: rgba(255,255,255,0.09);
}
.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--color-teal);
  cursor: pointer;
}

.form-terms {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.form-terms input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-teal);
}
.form-terms a { color: var(--color-teal); text-decoration: underline; }

.form-success {
  display: none;
  background: rgba(61, 111, 116, 0.1);
  border: 1px solid var(--color-teal);
  color: var(--color-teal);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

/* ----------------------------------------------------------------
   19. PORTFOLIO SUBPAGE
   ---------------------------------------------------------------- */
.project-hero {
  background: var(--color-dark);
  padding: 140px 0 80px;
}
.project-hero .container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}
.project-logo {
  width: auto;
  max-width: 300px;
  max-height: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  display: block;
}
.project-meta h1 {
  color: var(--color-white);
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}
.project-meta .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.project-tag {
  padding: 4px 12px;
  background: rgba(181,223,234,0.15);
  border: 1px solid rgba(181,223,234,0.3);
  border-radius: 100px;
  font-size: 0.7rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal-light);
}
.project-date {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
}

.project-gallery {
  background: var(--color-dark);
  padding: 60px 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after {
  content: '⤢';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: var(--color-white);
  font-size: 2rem;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}
.gallery-item:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.project-details {
  background: #112a2e;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.project-details::before {
  content: '';
  position: absolute;
  width: 60%;
  height: 80%;
  background: rgba(35,80,88,0.18);
  border-radius: 50% 50% 40% 60% / 50% 60% 40% 50%;
  top: -15%;
  right: -10%;
  pointer-events: none;
}
.project-details .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.detail-block h3 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  color: var(--color-white);
  font-weight: 900;
  text-transform: none;
}
.detail-block p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.65);
}

.project-services {
  background: var(--color-dark);
  padding: 60px 0;
}
.project-services h3 {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  letter-spacing: 0;
  margin-bottom: 1.5rem;
  color: var(--color-teal-light);
  text-transform: none;
  font-weight: 700;
}
.services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.services-tags .stag {
  padding: 8px 18px;
  background: rgba(181,223,234,0.07);
  border: 1px solid rgba(181,223,234,0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal-light);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  animation: lbIn 0.3s ease;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
@keyframes lbIn {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.breadcrumb a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-heading);
  font-weight: 700;
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--color-teal-light); }
.breadcrumb .sep {
  color: rgba(255,255,255,0.25);
  font-size: 0.7rem;
}
.breadcrumb .current {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-orange);
  font-family: var(--font-heading);
  font-weight: 700;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal-light);
  transition: gap var(--transition), color var(--transition);
  margin-top: 2rem;
}
.back-link:hover { color: var(--color-white); gap: 0.75rem; }

/* ----------------------------------------------------------------
   20. SCROLL-TO-TOP
   ---------------------------------------------------------------- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--color-teal);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  cursor: pointer;
  z-index: 800;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--color-orange); }

/* ----------------------------------------------------------------
   21. SEO TEXT BLOCK
   ---------------------------------------------------------------- */
.seo-section {
  background: var(--color-dark);
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.seo-section p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.2);
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* ----------------------------------------------------------------
   22. PAGE TRANSITIONS
   ---------------------------------------------------------------- */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--color-dark);
  z-index: 9998;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
  pointer-events: none;
}
.page-transition.entering {
  transform: scaleY(1);
  transform-origin: bottom;
}
.page-transition.leaving {
  transform: scaleY(0);
  transform-origin: top;
}

/* ----------------------------------------------------------------
   23. RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .about-section .container,
  .what-we-do .container { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .footer-brand { grid-column: 1 / -1; }
  .project-details .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .carousel-slide { flex: 0 0 calc(50% - 0.75rem); }
}

@media (max-width: 768px) {
  :root { --header-height: 80px; }

  .site-nav .nav-links,
  .site-nav .nav-social { display: none; }
  .nav-toggle { display: flex; }

  .hero-content h1 { letter-spacing: 0.1em; }
  .testimonial-card { padding: 0 2rem; }

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

  .carousel-slide { flex: 0 0 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .project-hero .container { grid-template-columns: 1fr; gap: 1.5rem; }
  .gallery-grid { grid-template-columns: 1fr; }

  .section-pad { padding: 70px 0; }
  h2 { font-size: clamp(2rem, 7vw, 3.5rem); }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .portfolio-filters { gap: 0.4rem; }
  .filter-btn { font-size: 0.65rem; padding: 6px 14px; }
}

/* ----------------------------------------------------------------
   24. MIXED-WEIGHT HEADINGS
   ---------------------------------------------------------------- */
/* Wrapper: disables uppercase so the mixed case reads correctly */
.h-mixed {
  text-transform: none;
  letter-spacing: 0;
}

/* Global span utilities — work inside any heading */
.h-bold {
  font-weight: 900;
  color: var(--color-white);
}
.h-script {
  font-weight: 300;
  font-style: italic;
  color: var(--color-teal-light);
}
.h-script-orange {
  font-weight: 300;
  font-style: italic;
  color: var(--color-teal-light);
}

/* "we design" — thin + black weight */
.h-we {
  display: flex;
  flex-direction: column;
  text-align: left;
  letter-spacing: 0;
  line-height: 0.92;
  text-transform: none;
  font-size: clamp(3.5rem, 9vw, 9rem);
}
.h-we .we {
  font-weight: 300;
  font-style: italic;
  font-size: 0.62em;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.07em;
  margin-bottom: -0.15em;
}
.h-we .design {
  font-weight: 900;
  color: var(--color-teal-light);
  letter-spacing: 0.02em;
  display: inline-block; /* required for transform animations */
}

/* ── Verb cycle keyframes ─────────────────────────────────────── */
@keyframes vExitToTop    { to { opacity: 0; transform: translateY(-28px); } }
@keyframes vExitToBottom { to { opacity: 0; transform: translateY(28px);  } }
@keyframes vExitToLeft   { to { opacity: 0; transform: translateX(-40px); } }
@keyframes vExitToRight  { to { opacity: 0; transform: translateX(40px);  } }
@keyframes vExitBloom    { to { opacity: 0; transform: scale(1.08) translateY(-12px); } }
@keyframes vExitShrink   { to { opacity: 0; transform: scale(0.88); } }

@keyframes vEnterFromBottom { from { opacity: 0; transform: translateY(28px);  } }
@keyframes vEnterFromTop    { from { opacity: 0; transform: translateY(-28px); } }
@keyframes vEnterFromRight  { from { opacity: 0; transform: translateX(40px);  } }
@keyframes vEnterFromLeft   { from { opacity: 0; transform: translateX(-40px); } }
@keyframes vEnterBloom      { from { opacity: 0; transform: scale(0.88); } }
@keyframes vEnterFade       { from { opacity: 0; transform: scale(1.06) translateY(10px); } }

/* ----------------------------------------------------------------
   25. HERO RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  .hero-create { font-size: clamp(3.5rem, 16vw, 7rem); }
  .hero-tagline { font-size: clamp(1.8rem, 9vw, 4rem); }
}

/* ----------------------------------------------------------------
   26. BTN LIGHT VARIANT (for dark sections that need outline-light)
   ---------------------------------------------------------------- */
.btn-outline-dark {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-dark:hover {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}

/* ----------------------------------------------------------------
   27. PORTFOLIO SECTION — portfolio page heading
   ---------------------------------------------------------------- */
.portfolio-section h2 {
  color: var(--color-white);
  text-align: center;
  margin-bottom: 1rem;
}

/* ----------------------------------------------------------------
   28. PROJECT HERO — updated case study layout
   ---------------------------------------------------------------- */
.project-hero {
  background: var(--color-dark);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.project-hero::after {
  content: '';
  position: absolute;
  width: 55%;
  height: 100%;
  background: rgba(30,75,82,0.15);
  border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
  top: -10%;
  right: -10%;
  pointer-events: none;
  z-index: 0;
}
.project-hero .container { position: relative; z-index: 1; }

/* ----------------------------------------------------------------
   29. FORM SUCCESS — dark variant
   ---------------------------------------------------------------- */
.form-success {
  background: rgba(61,111,116,0.12);
  border-color: rgba(181,223,234,0.3);
  color: var(--color-teal-light);
}


/* ================================================================
   30. INTRO SCREEN
   ================================================================ */

#intro-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

#intro-bg {
  position: absolute;
  inset: 0;
  background: #0d2a2e;
}

#intro-logo-wrap {
  position: relative;
  z-index: 1;
  width: min(540px, 78vw);
}

#intro-logo-wrap svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Logo path colors — white to match the header logo on dark bg */
#intro-logo-wrap .stroke-path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#intro-logo-wrap .fill-path {
  fill: #ffffff;
  stroke: none;
  opacity: 0;
}
#intro-logo-wrap .tag-path {
  fill: #ffffff;
  stroke: none;
  opacity: 0;
}

/* While intro is active: hide page content */
body.intro-active .site-header,
body.intro-active main,
body.intro-active .site-footer,
body.intro-active .scroll-top {
  opacity: 0;
  pointer-events: none;
}

/* Snap page content visible (transitions handled by existing animations) */
body:not(.intro-active) .site-header,
body:not(.intro-active) main,
body:not(.intro-active) .site-footer {
  opacity: 1;
  transition: opacity 0.4s ease;
}


/* ================================================================
   31. LEGAL PAGES (Terms & Conditions / Privacy Policy)
   ================================================================ */

.legal-section {
  background: var(--color-dark);
  padding: 80px 0 120px;
}

.legal-content {
  max-width: 780px;
}

.legal-updated {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal-light);
  margin-bottom: 3rem;
}

.legal-block {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(181,223,234,0.1);
}
.legal-block:last-child {
  border-bottom: none;
}

.legal-block h2 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--color-white);
  text-transform: none;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.legal-block h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal-light);
  margin: 1.5rem 0 0.75rem;
}

.legal-block p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
}

.legal-block ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1rem 0;
}
.legal-block ul li {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  padding-left: 1.2rem;
  position: relative;
}
.legal-block ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-teal-light);
  font-size: 0.75rem;
  top: 0.15em;
}

.legal-block address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.65);
}

.legal-link {
  color: var(--color-teal-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-link:hover { color: var(--color-white); }

/* Footer legal links row */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
}
.footer-bottom p { margin: 0; }
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
}
.footer-legal-links a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-legal-links a:hover { color: var(--color-teal-light); }
.footer-legal-links .sep { color: rgba(255,255,255,0.25); font-weight: 300; }
