/* ═══════════════════════════════════════════════════
   MUSTAQBAL — Production CSS
   Responsive: 320px → 2560px
   ═══════════════════════════════════════════════════ */
@font-face {
  font-family: 'Saans'; /* Custom font family */
  src: url('/assets/fonts/Saans-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'jh'; /* Custom font family */
  src: url('/assets/fonts/jh-medium.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
/* ── CUSTOM PROPERTIES ── */
:root {
  --warm-brown: #3d3228;
  --dark-brown: #696059;
  --light-sand: #f5f0ea;
  --cream: #ede8e0;
  --gold: #c9a96e;
  --gold-light: #e8d5a8;
  --white: #ffffff;
  --text-dark: #2a2118;
  --text-mid: #5a4e42;

  /* Spacing scale */
  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 1.5vw, 1rem);
  --space-md: clamp(1rem, 2vw, 1.5rem);
  --space-lg: clamp(2rem, 4vw, 4rem);
  --space-xl: clamp(3rem, 6vw, 6rem);
  --space-2xl: clamp(4rem, 8vw, 8rem);

  /* Section padding */
  --section-pad-x: clamp(1.25rem, 6vw, 8rem);
  --section-pad-y: clamp(4rem, 8vw, 8rem);

  /* Nav */
  --nav-h: 5rem;

  /* Transition */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'saans', Georgia, serif;
  background: var(--light-sand);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}

/* ── FONT FACES ── */
@font-face {
  font-family: 'saans';
  src: url('assets/fonts/Saans-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'jh';
  src: url('assets/fonts/jh-medium.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── SKIP LINK (Accessibility) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--dark-brown);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 9999;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ════════════════════════════════════════
  Video
   ════════════════════════════════════════ */

   .video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* makes it behave like a background image */
}

.content {
  position: relative;
  z-index: 1;
}

/* ════════════════════════════════════════
   NAV
   ════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--section-pad-x);
  height: var(--nav-h);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), height 0.3s var(--ease);
}

#navbar.scrolled {
  background: rgba(61, 50, 40, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: 4rem;
}

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.nav-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  width: clamp(140px, 18vw, 320px);
  height: auto;
  transition: opacity 0.3s;
}

.nav-logo img:hover {
  opacity: 0.85;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: clamp(0.65rem, 1vw, 0.78rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
  white-space: nowrap;
  padding: 0.25rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

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

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

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  border-radius: 4px;
  z-index: 201;
  padding: 0;
  transition: border-color 0.3s;
}

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

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

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

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

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

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100dvh;
  background: var(--dark-brown);
  z-index: 300;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  transition: right 0.4s var(--ease-out);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu ul li:last-child {
  border-bottom: none;
}

.mobile-menu ul a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1.25rem 0;
  transition: color 0.3s, padding-left 0.3s;
}

.mobile-menu ul a:hover {
  color: var(--gold);
  padding-left: 0.5rem;
}

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, color 0.3s;
}

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

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 250;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

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

.video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 ratio */
  min-height: 100vh;
  min-width: 177.78vh; /* 16:9 ratio */
  transform: translate(-50%, -50%) scale(1.06);
  pointer-events: none;
  border: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 22, 14, 0.45) 0%,
    rgba(61, 50, 40, 0.25) 50%,
    rgba(30, 22, 14, 0.58) 100%
  );
  z-index: 1;
}

.hero-waves {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: url("/assets/images/Asset 3mustaqbal1.png");
  background-repeat: no-repeat;
  background-position: bottom left;
  opacity: 0.2;
  background-size: 800px 400px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 var(--section-pad-x) clamp(3rem, 8vh, 6rem);
  max-width: 90vw;
}

.hero-tag {
  display: inline-block;
  font-size: clamp(0.55rem, 1.2vw, 0.65rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  margin-bottom: clamp(1rem, 3vh, 2rem);
  opacity: 0;
  animation: fadeUp 1s 0.3s forwards;
}

.hero-h1 {
  font-family: 'saans', serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
  color: var(--white);
  opacity: 0;
  animation: fadeUp 1s 0.6s forwards;
  margin-bottom: clamp(1.25rem, 3vh, 1.8rem);
}

.hero-h1 span {
  color: var(--gold-light);
}

.hero-cta {
  opacity: 0;
  animation: fadeUp 1s 1.2s forwards;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--dark-brown);
  text-decoration: none;
  padding: clamp(0.7rem, 1.5vw, 0.85rem) clamp(1.5rem, 3vw, 2.5rem);
  font-size: clamp(0.65rem, 1.2vw, 0.75rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-block;
  color: var(--white);
  text-decoration: none;
  padding: clamp(0.7rem, 1.5vw, 0.85rem) clamp(1.5rem, 3vw, 2.5rem);
  font-size: clamp(0.65rem, 1.2vw, 0.75rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}

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

.btn-ghost:active {
  transform: translateY(0);
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: clamp(1.5rem, 4vw, 4rem);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  animation: fadeIn 1s 2s forwards;
}

.scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  animation: scrollPulse 2s infinite;
}

/* ════════════════════════════════════════
   WHAT IS MUSTAQBAL
   ════════════════════════════════════════ */
#what {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.what-image {
  position: relative;
  overflow: hidden;
}

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

.what-image:hover img {
  transform: scale(1.04);
}

.what-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(122, 107, 90, 0.3), transparent);
  pointer-events: none;
}

.what-text {
  background: var(--cream);
  padding: clamp(3rem, 8vw, 7rem) clamp(1.5rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-label {
  font-size: clamp(0.55rem, 1vw, 0.6rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.what-text h2 {
  font-family: 'saans', serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 3.5vw, 3.2rem);
  color: var(--warm-brown);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.what-text p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

/* ════════════════════════════════════════
   IMAGE STRIP
   ════════════════════════════════════════ */
.image-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  height: clamp(200px, 40vw, 55vh);
}

.strip-item {
  overflow: hidden;
  position: relative;
}

.strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.strip-item:hover img {
  transform: scale(1.06);
}

.strip-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(61, 50, 40, 0.15);
  transition: background 0.4s var(--ease);
  pointer-events: none;
}

.strip-item:hover::after {
  background: rgba(61, 50, 40, 0.05);
}

/* ════════════════════════════════════════
   THE PROMISE
   ════════════════════════════════════════ */
#promise {
  background: var(--cream);
  padding: var(--section-pad-y) var(--section-pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#promise::before {
  content: 'مستقبل';
  position: absolute;
  font-family: 'jh', serif;
  font-size: clamp(10rem, 25vw, 30rem);
  color: rgba(122, 107, 90, 0.04);
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
  user-select: none;
}

#promise > * {
  position: relative;
  z-index: 1;
}

#promise .section-label {
  justify-content: center;
}

#promise .section-label::before {
  display: none;
}

#promise h2 {
  font-family: 'saans', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  color: var(--warm-brown);
  margin-bottom: 60px;
  line-height: 1.2;
}

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

.pillar {
  background: var(--warm-brown);
  padding: clamp(2rem, 4vw, 4rem) clamp(1.25rem, 2.5vw, 2.5rem);
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease);
  text-align: left;
}

.pillar:hover {
  background: var(--dark-brown);
}

.pillar.reveal.visible{
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;

}

.pillar-number {
  font-family: 'saans', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  color: rgba(201, 169, 110, 0.12);
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.pillar h3 {
  font-family: 'saans', serif;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--gold);
  margin-bottom: 1rem;
}

.pillar p {
  font-size: clamp(0.8rem, 1.2vw, 0.85rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
}

.promise-footer {
  margin-top: 60px;
}

.promise-intro {
  max-width: 600px;
  margin: auto;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ════════════════════════════════════════
   CEO QUOTE
   ════════════════════════════════════════ */
#quote {
  background-image: url('/assets/images/Mustaqbal_Banner.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  min-height: clamp(400px, 60vh, 80vh);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--section-pad-x);
}

#quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 22, 14, 0.55);
  pointer-events: none;
}

.quote-inner {
  max-width: 1100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  z-index: 1;
}

.quote-logo {
  flex-shrink: 0;
}

.quote-logo img {
  width: clamp(120px, 15vw, 250px);
  height: auto;
  margin-right: clamp(1.5rem, 3vw, 3rem);
}

.vertical-line {
  width: 1px;
  height: clamp(80px, 12vh, 160px);
  background: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  margin-right: clamp(1.5rem, 3vw, 3rem);
}

.quote-outer {
  flex: 1;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-text {
  font-family: 'saans', serif;
  font-style: normal;
  font-weight: 300;
  font-size: clamp(0.85rem, 1.8vw, 1.2rem);
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  border: none;
  padding: 0;
}

.quote-name {
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  letter-spacing: 0;
  color: var(--gold);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.quote-title {
  font-size: clamp(0.65rem, 1vw, 0.75rem);
  color: rgba(255, 255, 255, 0.4);
}

/* ════════════════════════════════════════
   FUTURE INITIATIVES
   ════════════════════════════════════════ */
#future {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--light-sand);
}

.future-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

#future h2 {
  font-family: 'saans', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  color: var(--warm-brown);
  line-height: 1.15;
}

.future-desc {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: clamp(1rem, 3vw, 2rem);
}

.future-desc p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.future-desc strong {
  font-weight: 600;
  color: var(--dark-brown);
}

/* ════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════ */
#contact {
  background: var(--warm-brown);
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative;
  overflow: hidden;
}

#contact::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background-image: url('/assets/images/Asset 2pattern.png');
  background-size: cover;
  pointer-events: none;
}

.contact-inner {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

#contact .section-label {
  color: var(--gold-light);
}

#contact .section-label::before {
  background: var(--gold-light);
}

#contact h2 {
  font-family: 'saans', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

#contact p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--gold-light);
  text-decoration: none;
  font-size: clamp(1rem, 2vw, 1.1rem);
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(201, 169, 110, 0.3);
  padding-bottom: 0.5rem;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
  word-break: break-all;
}

.contact-email:hover {
  color: var(--white);
  border-color: var(--white);
}

.contact-email svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
footer {
  background: var(--text-dark);
  padding: clamp(1.5rem, 3vw, 3rem) var(--section-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: clamp(0.65rem, 1vw, 0.7rem);
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.1em;
}

.footer-ar {
  font-family: 'jh', sans-serif;
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* ════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(0.7); }
}

/* ── REVEAL ON SCROLL ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 1024px)
   ════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-links {
    gap: 1.5rem;
  }

  #what {
    grid-template-columns: 1fr 1fr;
    min-height: 60vh;
  }

  .pillars {
    max-width: 100%;
  }

  .future-top {
    gap: 2.5rem;
  }

  .quote-text {
    font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  }
}

/* ════════════════════════════════════════
   RESPONSIVE — Small Tablet (≤ 900px)
   ════════════════════════════════════════ */
@media (max-width: 900px) {
  :root {
    --nav-h: 4rem;
  }

  /* Nav: hide links, show toggle */
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .nav-logo {
    position: relative;
    left: auto;
    transform: none;
  }

  #navbar {
    /* justify-content: space-between; */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Hero */
  .hero-content {
    max-width: 100%;
  }

  .hero-h1 {
    font-size: clamp(1.8rem, 6vw, 3rem);
  }

  /* What */
  #what {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .what-image {
    height: clamp(250px, 50vw, 400px);
  }

  /* Image strip */
  .image-strip {
    grid-template-columns: 1fr;
    height: auto;
  }

  .strip-item {
    height: clamp(200px, 50vw, 350px);
  }

  /* Pillars */
  .pillars {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Quote */
  .quote-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .quote-logo {
    margin-right: 0;
  }

  .quote-logo img {
    margin: 0 auto;
  }

  .vertical-line {
    width: clamp(60px, 20vw, 120px);
    height: 1px;
    margin: 0;
  }

  .quote-outer {
    max-width: 100%;
    align-items: center;
  }

  .quote-name {
    justify-content: center;
  }

  /* Future */
  .future-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Footer */
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }
}

/* ════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 600px)
   ════════════════════════════════════════ */
@media (max-width: 600px) {
  :root {
    --nav-h: 3.5rem;
  }

  /* Nav */
  #navbar {
    padding: 0 1.25rem;
  }

  .nav-logo img {
    width: 300px;
  }

  /* Hero */
  #hero {
    min-height: 100svh;
  }

  .hero-content {
    padding: 0 1.25rem clamp(2.5rem, 8vh, 4rem);
  }

  .hero-h1 {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    text-align: center;
    padding: 0.9rem 1.5rem;
  }

  .scroll-hint {
    display: none;
  }

  /* What */
  .what-text {
    padding: 2.5rem 1.25rem;
  }

  /* Promise */
  #promise {
    padding: var(--section-pad-y) 1.25rem;
  }

  #promise h2 br {
    display: none;
  }

  /* Quote */
  #quote {
    padding: 3rem 1.25rem;
    min-height: auto;
  }

  /* Future / Contact */
  #future,
  #contact {
    padding: var(--section-pad-y) 1.25rem;
  }

  /* Footer */
  footer {
    padding: 2rem 1.25rem;
  }
}

/* ════════════════════════════════════════
   RESPONSIVE — Extra Small (≤ 400px)
   ════════════════════════════════════════ */
@media (max-width: 400px) {
  .hero-h1 {
    font-size: 1.5rem;
  }

  .hero-tag {
    font-size: 0.5rem;
    letter-spacing: 0.2em;
  }

  .what-image {
    height: 200px;
  }
}

/* ════════════════════════════════════════
   RESPONSIVE — Wide / 4K (≥ 1800px)
   ════════════════════════════════════════ */
@media (min-width: 1800px) {
  :root {
    --section-pad-x: 12rem;
  }

  .hero-h1 {
    font-size: 3rem;
  }

  .quote-text {
    font-size: 1.2rem;
  }

  .future-top,
  .image-strip {
    max-width: 2200px;
    margin: 0 auto;
  }
}

/* ════════════════════════════════════════
   PRINT STYLES
   ════════════════════════════════════════ */
@media print {
  #navbar,
  .mobile-menu,
  .mobile-overlay,
  .scroll-hint,
  .video-wrap {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  #hero {
    height: auto;
    padding: 2rem;
    background: #3d3228;
  }

  .hero-overlay,
  .hero-waves {
    display: none;
  }

  .hero-content {
    position: static;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.75rem;
    color: #666;
  }
}