/* ============================================
   GATE 26 — BRAND STYLESHEET
   Colors: Navy #1a2535 | Teal #005f6b | Sand #b8b09a | Cream #fdf6e9 | Amber #f5a94e
   Fonts: Amiri (headlines) | Lexend (body)
   ============================================ */

:root {
  --navy:   #1a2535;
  --teal:   #005f6b;
  --sand:   #b8b09a;
  --cream:  #fdf6e9;
  --amber:  #f5a94e;
  --white:  #ffffff;
  --off-white: #f5f0e8;
  --text-dark: #1a2535;
  --text-mid: #4a5568;
  --text-light: rgba(255,255,255,0.85);

  --font-head: 'Amiri', Georgia, serif;
  --font-body: 'Lexend', sans-serif;

  --max-w: 1280px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ============================================
   NAVIGATION — single row, 3-col grid
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 40px;
}

.nav-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nav-left a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  border: none;
  outline: none;
  background: none;
  padding: 6px 14px;
  transition: color 0.2s;
  display: inline-block;
}

.nav-left a:hover { color: var(--amber); }
.nav-left a.active { color: var(--white); }

.nav-logo {
  display: block;
  text-align: center;
  padding: 0 20px;
  text-decoration: none;
  transition: opacity 0.2s;
  line-height: 0;
}

.nav-logo img {
  height: 30px;
  width: auto;
  display: inline-block;
  mix-blend-mode: screen;
}

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

.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-cta {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--amber);
  text-decoration: none;
  border: none;
  outline: none;
  background: none;
  padding: 6px 14px;
  transition: color 0.2s;
  display: inline-block;
}

.nav-cta:hover { color: var(--white); }

.nav-creator {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 6px 14px;
  transition: color 0.2s;
  display: inline-block;
  margin-right: 4px;
}

.nav-creator:hover { color: var(--amber); }

/* Hamburger — hidden on desktop */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 8px;
  z-index: 1100;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile slide-down menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  padding: 16px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 14px 32px;
  transition: color 0.2s, background 0.2s;
  border: none;
  outline: none;
}

.mobile-menu a:hover { color: var(--amber); background: rgba(255,255,255,0.04); }
.mobile-menu a.active { color: var(--white); }

.mobile-menu .mobile-cta {
  color: var(--amber);
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 8px;
  padding-top: 22px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: none;
  pointer-events: none;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Targets both manually written iframes and the YT API-generated one */
.hero-video,
.hero-video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;   /* 16:9 ratio from width */
  min-height: 100%;
  min-width: 177.78vh; /* 16:9 ratio from height */
  border: none;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,37,53,0.82) 0%,
    rgba(0,95,107,0.4) 60%,
    rgba(26,37,53,0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px;
  max-width: 820px;
  margin-left: 0;
  opacity: 0;
  transform: translateY(32px);
  animation: fadeUp 1s var(--ease) 0.3s forwards;
}

.hero-tag {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: normal;
  color: var(--amber);
}

.hero-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 1.2s forwards;
}

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

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

/* ============================================
   MARQUEE STRIP
   ============================================ */
.belief-strip {
  background: var(--amber);
  padding: 18px 0;
  overflow: hidden;
}

.marquee {
  display: flex;
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.marquee-inner span {
  font-family: var(--font-head);
  font-style: normal;
  font-size: 1.05rem;
  color: var(--navy);
  flex-shrink: 0;
}

.marquee-inner .dot {
  color: var(--navy);
  font-style: normal;
  opacity: 0.4;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 34px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}

.btn-primary:hover {
  background: transparent;
  color: var(--amber);
  border-color: var(--amber);
  transform: translateY(-2px);
}

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

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-outline-light {
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  margin-top: 48px;
}

.btn-outline-light:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn-outline {
  border: 1px solid var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--cream);
}

.link-arrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--teal);
  transition: color 0.2s, letter-spacing 0.2s;
}

.link-arrow:hover {
  color: var(--amber);
  letter-spacing: 0.14em;
}

.link-arrow.light { color: var(--amber); }
.link-arrow.light:hover { color: var(--white); }

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

.section {
  padding: 100px 0;
}

.section-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.section-label.light { color: var(--amber); }

h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 40px;
}

h2 em {
  font-style: normal;
  color: var(--teal);
}

h2.light { color: var(--white); }
h2.light em { color: var(--amber); }

.section-headline.light { color: var(--white); }
.section-headline.light em { color: var(--amber); }

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem-section {
  background: var(--off-white);
}

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

.problem-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.problem-text .link-arrow { margin-top: 12px; display: inline-block; }

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

.problem-image-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.problem-stat {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--navy);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
  line-height: 1.4;
  font-weight: 300;
}

/* ============================================
   DARK SERVICES SECTION
   ============================================ */
.dark-section {
  background: var(--navy);
  padding-bottom: 60px;
}

.dark-section .container {
  margin-bottom: 60px;
}

.services-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 0 48px;
  scrollbar-width: none;
  margin-bottom: 48px;
  justify-content: center;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.services-scroll::-webkit-scrollbar { display: none; }

.service-card {
  flex: 0 0 280px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0 0 36px 0;
  transition: none;
  cursor: default;
  scroll-snap-align: start;
}

.service-card:hover {
  background: rgba(255,255,255,0.04);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 28px;
  filter: brightness(0.85);
  transition: none;
  display: block;
}

.service-card:hover img { filter: brightness(0.85); }

.service-card .service-num {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--amber);
  padding: 0 28px;
  margin-bottom: 12px;
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  padding: 0 28px;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  padding: 0 28px;
  margin-bottom: 24px;
  font-weight: 300;
}

.service-card .link-arrow {
  padding: 0 28px;
  display: block;
}

/* ============================================
   STATEMENT SECTION (FULLSCREEN)
   ============================================ */
.statement-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.statement-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.statement-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,95,107,0.7);
}

.statement-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 0 48px;
  text-align: center;
}

.statement-text {
  font-family: var(--font-head);
  font-style: normal;
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--white);
  line-height: 1.3;
}

/* ============================================
   CREAM / PILLARS SECTION
   ============================================ */
.cream-section {
  background: var(--cream);
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 80px;
  margin-bottom: 52px;
}

.pillar {
  border-top: 1px solid var(--sand);
  padding-top: 28px;
}

.pillar-icon {
  width: 36px;
  height: 36px;
  color: var(--amber);
  margin-bottom: 16px;
}

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

.pillar h4 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.pillar p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-mid);
  font-weight: 300;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners-section {
  background: var(--off-white);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--sand);
  margin-bottom: 48px;
  border: 1px solid var(--sand);
}

.partner-item {
  background: var(--off-white);
  padding: 28px 24px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--navy);
  transition: none;
}

.partner-item:hover {
  background: var(--off-white);
  color: var(--navy);
}

/* ============================================
   SPLIT CTA SECTION
   ============================================ */
.cta-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-content {
  background: var(--navy);
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.cta-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  font-weight: 300;
}

.cta-email {
  margin-top: 24px;
}

.cta-email a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--sand);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--sand);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.cta-email a:hover { color: var(--amber); border-color: var(--amber); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #111922;
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.footer-logo img {
  height: 36px;
  width: auto;
  mix-blend-mode: screen;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  font-weight: 300;
}

.footer-brand a {
  font-size: 0.82rem;
  color: var(--amber);
  transition: opacity 0.2s;
}

.footer-brand a:hover { opacity: 0.7; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  justify-items: start;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  font-weight: 300;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}

/* ============================================
   PAGE HERO (interior pages)
   ============================================ */
.page-hero {
  padding-top: var(--nav-h);
  min-height: 65vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,37,53,0.9) 0%, rgba(26,37,53,0.4) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px;
  max-width: 960px;
  width: 100%;
}

.page-hero-content .section-label { color: var(--amber); }

.page-hero-content h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 24px;
  margin-top: 20px;
}

.page-hero-content h1 em { color: var(--amber); font-style: normal; }

.page-hero-content p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  max-width: 580px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.story-section {
  background: var(--cream);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.story-text h3 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.story-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 20px;
  font-weight: 300;
}

.story-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.beliefs-section {
  background: var(--navy);
}

.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 60px;
}

.belief-card {
  border-top: 2px solid var(--teal);
  padding-top: 28px;
}

.belief-card h4 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 14px;
}

.belief-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-intro {
  background: var(--off-white);
}

.services-list {
  padding: 0;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.service-block:nth-child(even) { direction: rtl; }
.service-block:nth-child(even) > * { direction: ltr; }

.service-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-block-text {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-block:nth-child(odd) .service-block-text { background: var(--cream); }
.service-block:nth-child(even) .service-block-text { background: var(--navy); }
.service-block:nth-child(even) .service-block-text h3 { color: var(--white); }
.service-block:nth-child(even) .service-block-text p { color: rgba(255,255,255,0.65); }
.service-block:nth-child(even) .service-block-text .section-label { color: var(--amber); }
.service-block:nth-child(even) .service-block-text ul li { color: rgba(255,255,255,0.7); }
.service-block:nth-child(even) .service-block-text ul li::before { color: var(--amber); }

.service-block-text h3 {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.15;
}

.service-block-text p {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 24px;
  font-weight: 300;
}

.service-block-text ul {
  list-style: none;
  margin-bottom: 32px;
}

.service-block-text ul li {
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-weight: 300;
}

.service-block-text ul li::before {
  content: '→ ';
  color: var(--teal);
}

/* ============================================
   WORK / CASE STUDIES
   ============================================ */
.work-intro { background: var(--off-white); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--sand);
}

.work-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
}

.work-card-full {
  grid-column: span 2;
  aspect-ratio: 21/9;
}

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

.work-card:hover img { transform: scale(1.04); }

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,37,53,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  transition: background 0.3s;
}

.work-card:hover .work-card-overlay {
  background: linear-gradient(to top, rgba(26,37,53,0.92) 0%, rgba(0,95,107,0.3) 100%);
}

.work-card-tag {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}

.work-card-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  background: var(--cream);
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: stretch;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.contact-image {
  position: relative;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form-side {
  background: var(--cream);
  padding: 100px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-side h2 { margin-bottom: 12px; }
.contact-form-side > p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 48px;
  font-weight: 300;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--sand);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-email-note {
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--text-mid);
  font-weight: 300;
}

.form-email-note a { color: var(--teal); }

/* ============================================
   JOURNAL PAGE
   ============================================ */
.journal-intro { background: var(--off-white); }

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--sand);
}

.journal-card {
  background: var(--cream);
  cursor: pointer;
  transition: background 0.2s;
}

.journal-card:hover { background: var(--off-white); }
.journal-card-full { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; }

.journal-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.journal-card-full .journal-card-image { aspect-ratio: auto; }

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

.journal-card:hover img { transform: scale(1.03); }

.journal-card-body {
  padding: 36px;
}

.journal-card-full .journal-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
}

.journal-cat {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.journal-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 12px;
}

.journal-card-full h3 { font-size: 2rem; }

.journal-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 16px;
  font-weight: 300;
}

.journal-date {
  font-size: 0.72rem;
  color: var(--sand);
  letter-spacing: 0.1em;
}

/* ============================================
   PARTNERS PAGE
   ============================================ */
.partners-intro { background: var(--off-white); }

.partners-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--sand);
  border: 1px solid var(--sand);
  margin-top: 60px;
}

.partner-block {
  background: var(--cream);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.2s;
  cursor: default;
}

.partner-block:hover { background: var(--navy); }

.partner-block-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  transition: color 0.2s;
}

.partner-block:hover .partner-block-name { color: var(--white); }

.partner-block-type {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--sand);
  font-weight: 300;
}

.partner-block:hover .partner-block-type { color: var(--amber); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .problem-grid,
  .story-grid,
  .cta-section,
  .contact-split,
  .service-block { grid-template-columns: 1fr; }

  .service-block:nth-child(even) { direction: ltr; }

  .cta-image { display: none; }
  .contact-form-side { padding: 80px 48px; }

  .pillars-grid { grid-template-columns: 1fr; }
  .beliefs-grid { grid-template-columns: 1fr 1fr; }

  .work-card-full { grid-column: span 2; }

  .journal-card-full {
    grid-column: span 3;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .nav {
    padding: 0 20px;
    /* Mobile: logo left, burger right — 2 col */
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-logo {
    order: 1;
    padding: 0;
  }

  .nav-logo img { height: 22px; }

  .nav-left {
    display: none;
    order: 0;
  }

  .nav-right {
    order: 2;
    justify-content: flex-end;
  }

  .nav-cta { display: none; }
  .nav-creator { display: none; }
  .nav-burger { display: flex; }

  .container { padding: 0 24px; }
  .hero-content { padding: 0 24px; margin-left: 0; }

  .section { padding: 72px 0; }

  .services-scroll { padding: 0 24px; justify-content: flex-start; }
  .service-card { flex: 0 0 260px; }

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

  .work-grid { grid-template-columns: 1fr; }
  .work-card-full { grid-column: span 1; aspect-ratio: 16/10; }

  .journal-grid { grid-template-columns: 1fr; }
  .journal-card-full { grid-column: span 1; }

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

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 20px 24px; }

  h2 { font-size: 2rem; }
  .hero-headline { font-size: 2.6rem; }

  .statement-text { font-size: 1.4rem; }

  .contact-image { display: none; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-form-side { padding: 60px 24px; }

  .service-block-text { padding: 48px 32px; }
}

/* Partners grid without keylines */
.partners-grid.partners-grid-no-line {
  background: transparent;
  border: none;
  gap: 0;
}

.partners-grid.partners-grid-no-line .partner-item {
  border: none;
  border-bottom: 1px solid transparent;
}

.partners-grid.partners-grid-no-line .partner-item:hover {
  background: transparent;
  color: var(--navy);
}

/* Partners full grid — no keylines */
.partners-full-grid.partners-no-line {
  gap: 0;
  background: transparent;
  border: none;
}

.partners-full-grid.partners-no-line .partner-block {
  border: none;
}

/* ============================================
   PARTNERS LOGO GRID
   ============================================ */
.partners-logo-grid .partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 28px;
  height: 140px;
  gap: 0;
  cursor: default;
}

.partners-logo-grid .partner-item:hover {
  background: transparent !important;
  color: inherit;
}

/* Fixed-size logo container — every logo lives inside the same box */
.partner-logo-wrap {
  width: 160px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.partner-logo {
  /* Fill the container, preserve aspect ratio, never overflow */
  max-width: 160px;
  max-height: 60px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Consistent visual weight — all logos desaturated at same opacity */
  filter: grayscale(100%) opacity(0.5);
  transition: filter 0.3s var(--ease);
}



/* Caption below logo — hidden visually, kept for accessibility */
.partner-name {
  font-family: var(--font-body);
  font-size: 0;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* Text-only fallback for any partners without logos */
.partner-item.partner-text-only {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-mid);
  letter-spacing: 0.04em;
}

@media (max-width: 1024px) {
  .partner-logo-wrap {
    width: 130px;
    height: 50px;
  }
  .partner-logo {
    max-width: 130px;
    max-height: 50px;
  }
}

@media (max-width: 768px) {
  .partners-logo-grid .partner-item {
    height: 110px;
    padding: 20px 16px;
  }
  .partner-logo-wrap {
    width: 110px;
    height: 44px;
  }
  .partner-logo {
    max-width: 110px;
    max-height: 44px;
  }
}

/* ── Per-logo size corrections ── */
.partner-item:has([src*="visit_panama"]) .partner-logo,
.partner-item:has([src*="red_sea"]) .partner-logo {
  max-width: 100%;
  max-height: 100%;
  transform: scale(1.35);
}


.partner-item:has([src*="red_sea"]) .partner-logo {
  max-width: 100%;
  max-height: 100%;
  transform: scale(2.5);
}

.partner-item:has([src*="mastercard"]) .partner-logo {
  max-width: 100%;
  max-height: 100%;
  transform: scale(1.75);
}


.partner-item:has([src*="uber"]) .partner-logo {
  max-width: 100%;
  max-height: 100%;
  transform: scale(0.75);
}

/* ============================================
   CREATORS PAGE
   ============================================ */

/* Hero — image version (creators uses img not video) */
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Marquee bar (amber strip) */
.marquee-bar {
  background: var(--amber);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}
.marquee-bar .marquee-inner {
  display: inline-block;
  animation: marqueescroll 30s linear infinite;
}
.marquee-bar .marquee-inner span {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--navy);
  margin-right: 36px;
}
@keyframes marqueescroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Section utility */
.sec { padding: 96px 0; }
.sec-off { background: var(--off-white); }
.sec-navy { background: var(--navy); }
.sec-label-light { color: var(--amber); }
.sec-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 660px;
  margin-bottom: 56px;
  font-weight: 300;
}

/* Traits grid — 5 col */
.traits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: var(--sand);
  border: 1px solid var(--sand);
}
.trait-card {
  background: var(--cream);
  padding: 36px 32px;
}
.trait-icon {
  width: 40px;
  height: 40px;
  color: var(--amber);
  margin-bottom: 20px;
}
.trait-icon svg { width: 100%; height: 100%; }
.trait-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.15;
}
.trait-card p {
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--text-mid);
  font-weight: 300;
}

/* Why grid */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 80px;
  margin-top: 56px;
}
.why-item { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; }
.why-num {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 10px;
}
.why-item h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 10px;
}
.why-item p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.58);
  font-weight: 300;
}

/* Steps row */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border: 1px solid var(--sand);
}
.step { padding: 40px 36px; border-right: 1px solid var(--sand); }
.step:last-child { border-right: none; }
.step-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.35;
}
.step h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.step p { font-size: 0.9rem; line-height: 1.72; color: var(--text-mid); font-weight: 300; }

/* Apply form section */
.form-section { background: var(--navy); }
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.form-intro h2 { color: var(--white); margin-bottom: 16px; }
.form-intro p { font-size: 1rem; line-height: 1.8; color: rgba(255,255,255,0.58); font-weight: 300; }
.form-intro .form-email-note { margin-top: 28px; font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.form-intro .form-email-note a { color: var(--amber); }
.form-body { display: flex; flex-direction: column; gap: 24px; }
.form-section .form-group { display: flex; flex-direction: column; gap: 8px; }
.form-section .form-group label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.req { color: var(--amber); }
.form-section .form-group input,
.form-section .form-group select,
.form-section .form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-section .form-group input:focus,
.form-section .form-group select:focus,
.form-section .form-group textarea:focus { border-color: var(--amber); }
.form-section .form-group input::placeholder,
.form-section .form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-section .form-group select option { background: var(--navy); color: var(--white); }
.form-section .form-group textarea { resize: vertical; min-height: 100px; }
.form-section .form-group.has-error input,
.form-section .form-group.has-error select,
.form-section .form-group.has-error textarea { border-color: #c83232; }
.field-err { display: none; font-size: 0.72rem; color: #c83232; }
.form-section .form-group.has-error .field-err { display: block; }
.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--amber);
  color: var(--navy);
  border: 1px solid var(--amber);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-top: 8px;
}
.form-submit:hover { background: transparent; color: var(--amber); }
.form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(0,95,107,0.18);
  border: 1px solid rgba(0,95,107,0.5);
  font-size: 0.88rem;
  color: #7ecfdb;
  margin-top: 12px;
}
.form-error-msg {
  display: none;
  padding: 16px 20px;
  background: rgba(200,50,50,0.1);
  border: 1px solid rgba(200,50,50,0.35);
  font-size: 0.88rem;
  color: #e08888;
  margin-top: 12px;
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* btn-ghost for creators */
.btn-ghost {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
  text-decoration: none;
}
.btn-ghost:hover { border-color: var(--white); }

/* Creators responsive */
@media (max-width: 1024px) {
  .traits-grid { grid-template-columns: repeat(3, 1fr); }
  .form-wrap { grid-template-columns: 1fr; gap: 48px; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .sec { padding: 56px 0; }
  .traits-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--sand); }
  .step:last-child { border-bottom: none; }
}
