/* ============================================================
   NIGHTOWL CONSULTING PHILIPPINES — PH CAREERS SITE
   styles.css — Shared across all pages
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* ── CSS Variables ── */
:root {
  --red:        #99130E;
  --red-dark:   #60070F;
  --red-bright: #d50000;
  --red-mid:    #86100B;
  --black:      #0A0101;
  --gray:       #6A6968;
  --gray-light: #F4F4F4;
  --mint:       #FBFFF1;
  --green:      #006B0B;
  --orange:     #FF7D00;
  --white:      #ffffff;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --font-ui:   'Segoe UI', system-ui, sans-serif;

  --nav-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius: 12px;
  --radius-pill: 50px;
  --shadow: 0 4px 24px rgba(10,1,1,0.10);
  --shadow-lg: 0 12px 48px rgba(10,1,1,0.16);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 20px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  color: var(--black);
}

h1 { font-size: clamp(2rem, 5vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.75rem); }

p, li, blockquote {
  font-family: var(--font-body);
  line-height: 1.75;
}

.btn,
.faq-q-text,
.comp-col-title,
.section-eyebrow {
  font-family: var(--font-head) !important;
  font-weight: 800 !important;
}

.accent { color: var(--red); }
.section-eyebrow {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.5px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
              transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(153,19,14,0.35);
}
.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 10px 32px rgba(153,19,14,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--red);
}

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

.btn-outline-red {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline-red:hover {
  background: var(--red);
  color: var(--white);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  background: var(--white);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 40px;
  border-bottom: 1px solid rgba(10,1,1,0.07);
  transition: box-shadow 0.3s var(--ease), height 0.3s var(--ease);
}
#navbar.scrolled {
  box-shadow: 0 4px 24px rgba(10,1,1,0.10);
  height: 58px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-owl { height: 36px; width: auto; transition: height 0.3s var(--ease); }
.nav-logo-img { height: 30px; width: auto; transition: height 0.3s var(--ease); }
#navbar.scrolled .nav-owl { height: 28px; }
#navbar.scrolled .nav-logo-img { height: 27px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--black);
  padding: 8px 14px;
  border-radius: 8px;
  position: relative;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--red); background: rgba(153,19,14,0.08); }
.nav-links a.active { color: var(--red); }
.nav-apply { flex-shrink: 0; padding: 10px 22px; font-size: 14px; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  margin-right: 8px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--black); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  transform: translateY(-110%);
  transition: transform 0.4s var(--ease);
  z-index: 8999;
  padding: clamp(14px, 3vw, 20px) clamp(16px, 4vw, 24px) clamp(20px, 4vw, 32px);
  border-bottom: 1px solid var(--gray-light);
  box-shadow: 0 12px 32px rgba(10,1,1,0.12);
}
.nav-drawer.open { transform: translateY(0); }
.nav-drawer a {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(13px, 4.2vw, 17px);
  color: var(--black);
  padding: clamp(9px, 2.5vw, 14px) 0;
  border-bottom: 1px solid var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav-drawer a:last-of-type { border-bottom: none; }
.nav-drawer a.active { color: var(--red); }
.nav-drawer .drawer-apply {
  margin-top: clamp(12px, 3vw, 20px);
  display: block;
  text-align: center;
  background: var(--red-bright);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(12px, 3.8vw, 18px);
  letter-spacing: 0.5px;
  padding: clamp(10px, 2.5vw, 14px);
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

/* ============================================================
   PAGE WRAPPER
   ============================================================ */
main { padding-top: var(--nav-h); }
section { padding: 80px 60px; }

.container { max-width: 1200px; margin: 0 auto; width: 100%; }

/* ============================================================
   HERO CAROUSEL (homepage)
   ============================================================ */
.hero-carousel {
  position: relative;
  height: calc(100vh - var(--nav-h));
  min-height: 560px;
  overflow: hidden;
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease); }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,1,1,0.35) 0%,
    rgba(10,1,1,0.60) 40%,
    rgba(10,1,1,0.82) 100%
  );
  z-index: 2;
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.rolling-wrapper {
  display: block;
  overflow: hidden;
  width: 100%;
  height: 1.3em;
  position: relative;
  text-align: center;
}
.rolling-text {
  display: block;
  color: #A30E0B;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: inherit;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  white-space: nowrap;
  text-align: center;
}
.rolling-text.exit { opacity: 0; transform: translateY(-100%); }
.rolling-text.enter { opacity: 0; transform: translateY(100%); transition: none; }
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(15px, 2.2vw, 19px);
  color: rgba(255,255,255,0.90);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-dots {
  position: absolute;
  top: 28px; right: 36px;
  z-index: 4;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.hero-dot.active { background: var(--white); transform: scale(1.25); }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: background 0.2s, opacity 0.3s;
  color: var(--white);
}
.hero-carousel:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: rgba(255,255,255,0.32); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

/* ============================================================
   VALUE PROPS (home section 2)
   ============================================================ */
.value-section {
  background: var(--gray-light);
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}
.value-section .container { max-width: none; }
.value-section h2 { text-transform: uppercase; font-size: clamp(22px, 3.5vw, 36px); margin-bottom: 12px; padding: 0 60px; }
.value-section .value-sub { font-family: var(--font-body); color: var(--gray); font-size: 16px; max-width: 600px; margin: 0 auto 48px; padding: 0 60px; }
.value-section .value-bottom { padding: 0 60px; }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin: 0 40px 40px; }
.value-card { position: relative; aspect-ratio: 16/6; height: auto; border-radius: 12px; overflow: hidden; cursor: default; }
.value-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.value-card:hover img { transform: scale(1.05); }
.value-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,1,1,0.72) 0%, rgba(10,1,1,0.30) 60%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.value-card-label { font-family: var(--font-body); font-size: clamp(16px,3vw,40px); font-weight: 600; color: var(--white); text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.25; text-align: center; }
.value-bottom { margin-top: 12px; }
.value-bottom p { font-family: var(--font-body); font-style: normal; font-size: 21px; color: var(--black); margin-bottom: 28px; }
.value-bottom .btn { text-transform: uppercase; font-size: 19px; font-weight: 500 !important; letter-spacing: 1.5px; padding: 16px 48px; }

/* ============================================================
   SUCCESS STORIES CAROUSEL (home section 3)
   ============================================================ */
.stories-section { background: var(--white); text-align: center; overflow: hidden; }
.stories-section h2 { font-size: clamp(28px, 4.375vw, 45px); margin-bottom: 48px; }
.real-thin { font-family: 'Segoe UI', system-ui, sans-serif; font-weight: 500; }
.stories-section h2 strong { font-family: 'Segoe UI', system-ui, sans-serif; font-weight: 800; }
.stories-track-wrap { position: relative; overflow: hidden; }
.stories-track { display: flex; gap: 24px; transition: transform 0.5s var(--ease); padding-bottom: 8px; }
.story-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--white);
  border: 1px solid rgba(10,1,1,0.09);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: justify;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s, transform 0.48s cubic-bezier(0.16,1,0.3,1), border-color 0.3s, opacity 0.3s;
  display: flex;
  flex-direction: column;
  opacity: 0.55;
}
.story-card.center-card { opacity: 1; border-color: var(--red); box-shadow: 0 8px 32px rgba(153,19,14,0.18); }
.story-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.story-quote { font-family: var(--font-body); font-size: 18px; line-height: 1.75; color: var(--black); margin-bottom: 24px; font-style: normal; text-align: justify; position: relative; padding-top: 8px; flex: 1; }
.story-quote::before { content: '\201C'; font-size: 60px; color: var(--red); font-family: Georgia, serif; line-height: 1; display: block; margin-bottom: -8px; }
.story-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--gray-light); padding-top: 16px; background: transparent; }
.story-footer-info { flex: 1; min-width: 0; background: transparent; }
.story-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--gray-light); flex-shrink: 0; order: 2; }
.story-avatar-placeholder { width: 56px; height: 56px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; order: 2; font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--white); }
.story-name { font-family: var(--font-head); font-size: 16px; font-weight: 800; color: var(--black); }
.story-role { font-family: var(--font-body); font-size: 13px; color: var(--gray); margin-top: 3px; }

/* ── Story card footer: compact layout for narrow cards (≤1024px) ──
   Stack: avatar left + name/role/link right in a clean row.
   Avatar shrinks to 40px, name font reduces to prevent wrapping.
── */
@media (max-width: 1024px) {
  .story-footer {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0 10px;
    align-items: center;
  }
  .story-avatar,
  .story-avatar-placeholder {
    width: 40px;
    height: 40px;
    font-size: 15px;
    order: 0;
    grid-row: 1 / 3;
    grid-column: 1;
  }
  .story-footer-info {
    grid-column: 2;
    grid-row: 1 / 3;
    min-width: 0;
  }
  .story-name { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .story-role { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .story-read-link { font-size: 10px; margin-top: 4px; }
}

/* ── Story card footer: on full-width single-card mobile (≤390px) ──
   Card is near 100% wide so we have room — show full name, no truncation.
── */
@media (max-width: 390px) {
  .story-footer {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .story-avatar,
  .story-avatar-placeholder {
    width: 44px;
    height: 44px;
    font-size: 16px;
    order: 0;
    flex-shrink: 0;
  }
  .story-footer-info { flex: 1; min-width: 0; }
  .story-name { font-size: 13px; white-space: normal; overflow: visible; text-overflow: unset; font-weight: 800; }
  .story-role { font-size: 11px; white-space: normal; overflow: visible; text-overflow: unset; }
  .story-read-link { font-size: 11px; margin-top: 6px; }
}
.stories-section .btn-outline-red,
.stories-section .btn-primary { text-transform: uppercase; font-size: 19px; font-weight: 500 !important; letter-spacing: 1.5px; padding: 16px 48px; }
.stories-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; }
.stories-arrow { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(153,19,14,0.35); display: flex; align-items: center; justify-content: center; cursor: pointer; color: rgba(153,19,14,0.4); transition: background 0.2s, color 0.2s, border-color 0.2s; flex-shrink: 0; }
.stories-arrow:hover { border-color: var(--red); color: var(--red); background: rgba(153,19,14,0.06); }
.stories-dots { display: flex; gap: 8px; }
.stories-dot { width: 32px; height: 4px; border-radius: 2px; background: var(--gray-light); cursor: pointer; transition: background 0.3s, width 0.3s; }
.stories-dot.active { background: var(--red); width: 48px; }

/* ============================================================
   CTA BANNER (home section 4)
   ============================================================ */
.cta-banner { background: var(--red-dark); text-align: center; padding: 80px 60px; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -80px; right: -80px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,0.04); pointer-events: none; }
.cta-banner::after { content: ''; position: absolute; bottom: -60px; left: -60px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,0.03); pointer-events: none; }
.cta-banner h3 { font-family: var(--font-head); font-size: clamp(28px,5vw,50px); font-weight: 900; color: var(--white); text-transform: uppercase; letter-spacing: -0.3px; margin-bottom: 14px; position: relative; z-index: 1; }
.cta-banner h3 .accent { color: var(--orange); }
.cta-banner p { font-family: var(--font-body); color: rgba(255,255,255,0.82); font-size: 20px; max-width: 520px; margin: 0 auto 36px; position: relative; z-index: 1; }
.cta-banner .btn { position: relative; z-index: 1; }
.cta-banner .btn-primary { background: var(--red-bright); box-shadow: 0 6px 20px rgba(213,0,0,0.35); }
.cta-banner .btn-primary:hover { background: var(--red-dark); }

/* ============================================================
   FOOTER (dark)
   ============================================================ */
footer { background: var(--black); color: rgba(255,255,255,0.7); padding: 64px 0 0; zoom: 0.9; }
.footer-grid { display: grid; grid-template-columns: 1fr 0.5fr auto; gap: 48px; padding-bottom: 40px; }
.footer-logo { display: inline-block; margin-bottom: 16px; }
.footer-logo img,
.footer-logo-img { max-width: 180px; height: auto; width: auto; display: block; margin-bottom: 16px; filter: invert(1) grayscale(1) brightness(2); mix-blend-mode: screen; }
.footer-tagline { font-family: var(--font-body); font-size: 0.875rem; color: rgba(255,255,255,0.6); max-width: 340px; line-height: 1.6; margin-bottom: 24px; }
.footer-col-links h4 { font-family: var(--font-head); font-weight: 800; font-size: 0.7rem; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-col-links a { font-family: var(--font-body); font-size: 0.9375rem; color: rgba(255,255,255,0.85); text-decoration: none; display: block; margin-bottom: 10px; transition: color 0.2s; }
.footer-col-links a:hover { color: var(--red); }
.footer-col-links address { font-style: normal; font-family: var(--font-ui); font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.8; margin-top: 6px; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 0 0 24px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0 32px; font-family: var(--font-ui); font-size: 0.8125rem; color: rgba(255,255,255,0.4); }
.footer-social { display: flex; gap: 8px; align-items: center; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.2); border-radius: 6px; color: rgba(255,255,255,0.7); text-decoration: none; transition: all 0.2s; }
.footer-social a svg { width: 18px; height: 18px; fill: currentColor; }
.footer-social a:hover { border-color: var(--red); color: var(--red); background: rgba(153,19,14,0.08); transform: none; }
.footer-nmls {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 16px;
  line-height: 1.5;
}

/* ============================================================
   OUR STORY PAGE
   ============================================================ */
.ourstory-hero { padding: 72px 60px; background: #E8E8E8; }
.story-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "heading heading" "text img" "full full";
  row-gap: 20px;
  column-gap: 64px;
  align-items: start;
}
.story-hero-inner > h1 { grid-area: heading; text-transform: uppercase; color: var(--black); }
.ourstory-hero h1 { font-size: clamp(40px,6.25vw,65px); font-weight: 900; margin-bottom: 0; color: var(--black); }
.story-hero-text { grid-area: text; }
.story-hero-text p { font-family: var(--font-body); font-size: 19px; line-height: 1.85; color: var(--black); margin-bottom: 20px; text-align: justify; }
.story-hero-text p:last-child { margin-bottom: 0; }
.story-hero-img { grid-area: img; border-radius: var(--radius); overflow: hidden; align-self: stretch; }
.story-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.story-hero-full { grid-area: full; }
.story-hero-full p { font-family: var(--font-body); font-size: 19px; line-height: 1.85; color: var(--black); margin-bottom: 20px; text-align: justify; }
.story-hero-full p:last-child { margin-bottom: 0; }

/* Video block */
.video-block { background: #E8E8E8; padding: 0; }
.video-container { position: relative; max-width: 1100px; margin: 0 auto; aspect-ratio: 16/9; background: transparent; overflow: hidden; }
.video-container img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.video-container video { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: var(--radius); }
.video-play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 2; }
.video-play-btn span { width: 72px; height: 72px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 28px rgba(153,19,14,0.5); transition: transform 0.2s, box-shadow 0.2s; }
.video-play-btn span:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(153,19,14,0.6); }
.video-play-btn svg { margin-left: 4px; }
.video-caption { text-align: center; padding: 12px 24px 32px; font-family: var(--font-ui); font-size: 15px; color: var(--gray); background: var(--black); }

/* What Makes Us section */
.makes-us { background: var(--white); text-align: center; }
.makes-us h2 { font-size: clamp(28px,4.375vw,45px); margin-bottom: 10px; }
.makes-us .section-sub { font-family: var(--font-body); font-size: 20px; color: var(--gray); margin-bottom: 56px; }
.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 100%; margin: 0 auto 56px; }
.mv-block h3 { font-size: 23px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; color: var(--gray); }
.mv-block h3 .accent { color: var(--black); }
.mv-block p { font-family: var(--font-body); font-size: 20px; line-height: 1.8; color: var(--black); }
.mv-block p strong { color: var(--red); }
.values-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; max-width: 100%; margin: 0 auto; }
.value-tile { border-radius: var(--radius); padding: 28px 32px 36px; text-align: justify; position: relative; overflow: hidden; min-height: 240px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.value-tile.red { background: var(--red); color: var(--white); }
.value-tile.white { background: var(--white); border: 2px solid rgba(10,1,1,0.12); color: var(--black); }
.value-tile-bg { position: absolute; inset: 0; background-size: cover; background-position: center top; background-repeat: no-repeat; opacity: 0.18; z-index: 0; border-radius: inherit; }
.value-tile.red h4 { color: var(--white); }
.value-tile h4 { font-family: var(--font-head); font-size: 23px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; position: relative; z-index: 1; margin-bottom: 10px; text-align: center; }
.value-tile p { font-family: var(--font-body); font-size: 18px; line-height: 1.7; position: relative; z-index: 1; opacity: 0.9; text-align: center; }

/* Gallery */
.gallery-section { background: var(--gray-light); text-align: center; }
.gallery-section h2 { font-size: clamp(28px,4.375vw,45px); color: var(--red); margin-bottom: 40px; text-transform: uppercase; letter-spacing: 1px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; max-width: 1100px; margin: 0 auto; }
.gallery-item { border-radius: 8px; overflow: hidden; aspect-ratio: 1; cursor: pointer; position: relative; }
.gallery-grid .gallery-item:first-child { grid-column: 1/-1; aspect-ratio: 16/5; }
.gallery-grid .gallery-item:first-child img { object-position: top center; }
.gallery-category { margin-top: 40px; }
.gallery-category:first-of-type { margin-top: 0; }
.gallery-category-label { font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--red); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--red); display: inline-block; }

/* Gallery showcase */
.gallery-showcase { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; height: 450px; }
.gallery-showcase-featured { border-radius: var(--radius); overflow: hidden; height: 100%; cursor: pointer; position: relative; }
.gallery-showcase-featured img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.25s ease; }
.gallery-showcase-nav { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; opacity: 0; transition: opacity 0.25s; pointer-events: none; }
.gallery-showcase-featured:hover .gallery-showcase-nav { opacity: 1; pointer-events: auto; }
.gallery-nav-btn { pointer-events: auto; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.65); border: none; color: var(--red); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.15s, transform 0.15s; box-shadow: 0 2px 6px rgba(0,0,0,0.15); flex-shrink: 0; opacity: 0.75; }
.gallery-nav-btn:hover { background: rgba(255,255,255,0.9); transform: scale(1.08); opacity: 1; }
.gallery-showcase-grid { display: grid; grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(3,1fr); gap: 6px; height: 100%; }
.gallery-thumb { border-radius: 6px; overflow: hidden; cursor: pointer; position: relative; min-height: 0; opacity: 0.45; transition: opacity 0.25s; }
.gallery-thumb.active { opacity: 1; }
.gallery-thumb:hover { opacity: 0.75; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s var(--ease); }
.gallery-thumb:hover img { transform: scale(1.04); }
.gallery-thumb::after { content: ''; position: absolute; inset: 0; border: 3px solid transparent; border-radius: 6px; transition: border-color 0.2s; pointer-events: none; }
.gallery-thumb.active::after { border-color: var(--red); }

@media (max-width: 1024px) { .gallery-showcase { height: 360px; } }
@media (max-width: 768px) {
  .gallery-showcase { grid-template-columns: 1fr; height: auto; }
  .gallery-showcase-featured { height: 260px; }
  .gallery-showcase-grid { height: 260px; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .gallery-showcase-grid { height: 200px; grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(3,1fr); }
}

/* Gallery carousel */
.gallery-carousel { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 2px; }
.gallery-carousel::-webkit-scrollbar { display: none; }
.gallery-carousel .gallery-item { flex: 0 0 calc(25% - 6px); scroll-snap-align: start; aspect-ratio: 1; min-width: 160px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay { position: absolute; inset: 0; background: rgba(96,7,15,0.0); transition: background 0.3s; display: flex; align-items: center; justify-content: center; }
.gallery-item:hover .gallery-item-overlay { background: rgba(96,7,15,0.35); }
.gallery-item-overlay svg { color: var(--white); opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover .gallery-item-overlay svg { opacity: 1; }

/* Giving Back: centered photo carousel (star image + centered thumbnail strip, scales to any number of photos) */
.gb-carousel { max-width: 1100px; margin: 0 auto; }
.gb-carousel-featured { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; }
.gb-carousel-featured img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; transition: opacity 0.25s ease; }
.gb-carousel-nav { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; pointer-events: none; }
.gb-carousel-nav .gallery-nav-btn { pointer-events: auto; }
.gb-carousel-strip { display: grid; gap: 10px; margin-top: 14px; }
.gb-thumb { border-radius: 8px; overflow: hidden; cursor: pointer; position: relative; aspect-ratio: 1; opacity: 0.45; transition: opacity 0.25s, transform 0.25s; }
.gb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gb-thumb::after { content: ''; position: absolute; inset: 0; border: 3px solid transparent; border-radius: 8px; transition: border-color 0.2s; pointer-events: none; }
.gb-thumb:hover { opacity: 0.75; }
.gb-thumb.active { opacity: 1; transform: scale(1.06); z-index: 1; }
.gb-thumb.active::after { border-color: var(--red); }

@media (max-width: 1024px) { .gb-carousel-strip { gap: 8px; } }
@media (max-width: 480px) {
  .gb-carousel-strip { gap: 6px; }
  .gb-carousel-nav { padding: 0 10px; }
  .gb-carousel-nav .gallery-nav-btn { width: 30px; height: 30px; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 99999; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.lightbox-close { position: absolute; top: 24px; right: 32px; font-size: 45px; color: white; cursor: pointer; line-height: 1; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.4); color: white; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.28); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }

/* ============================================================
   WHY JOIN US PAGE
   ============================================================ */
.wju-intro { background: var(--white); padding: 64px 60px 48px; text-align: center; }
.wju-intro h1 { font-size: clamp(40px,6.25vw,65px); text-transform: uppercase; margin-bottom: 20px; }
.wju-intro p { font-family: var(--font-body); font-size: 20px; color: var(--gray); max-width: 680px; margin: 0 auto; line-height: 1.8; }

/* Comparison table */
.comparison-section { background: var(--gray-light); padding: 72px 60px; }
.comparison-section .container { max-width: 1100px; }
.comparison-title { font-family: var(--font-head); font-size: clamp(20px,3.125vw,28px); font-weight: 800; text-align: center; margin-bottom: 40px; text-transform: uppercase; letter-spacing: 1px; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.comp-col { background: var(--white); border-radius: var(--radius); padding: 32px 28px; border: 1px solid rgba(10,1,1,0.09); }
.comp-col.featured { background: #1f1f1f; color: var(--white); border-color: #1f1f1f; position: relative; transform: scale(1.02); box-shadow: 0 16px 48px rgba(0,0,0,0.20); }
.comp-col-title { font-family: var(--font-head); font-size: 19px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; color: var(--black); }
.comp-col.featured .comp-col-title { color: var(--white); }
.comp-col.featured .comp-col-title span { color: var(--red); }
.comp-star { display: inline-block; background: var(--red); color: var(--white); font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: 1px; padding: 3px 10px; border-radius: 20px; margin-bottom: 20px; text-transform: uppercase; }
.comp-divider { height: 1px; background: rgba(10,1,1,0.08); margin: 16px 0; }
.comp-col.featured .comp-divider { background: rgba(255,255,255,0.12); }
.comp-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-family: var(--font-body); font-size: 17px; line-height: 1.55; color: var(--gray); }
.comp-col.featured .comp-item { color: rgba(255,255,255,0.82); }
.comp-item svg { flex-shrink: 0; margin-top: 2px; }

/* NightOwl Advantage */
.advantage-section { background: var(--white); padding: 72px 60px; }
.advantage-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.advantage-img { border-radius: var(--radius); overflow: hidden; height: auto; min-height: 320px; max-height: 500px; align-self: stretch; }
.advantage-img img { width: 100%; height: 100%; object-fit: cover; }
.advantage-content h2 { font-size: clamp(28px,4.375vw,43px); margin-bottom: 28px; }
.advantage-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.advantage-item { display: flex; gap: 14px; align-items: flex-start; }
.advantage-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(153,19,14,0.10); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--red); }
.advantage-item-text strong { font-family: var(--font-head); font-size: 18px; font-weight: 700; display: block; }
.advantage-item-text span { font-family: var(--font-ui); font-size: 16px; color: var(--gray); }

/* What It's Like */
.like-section { background: var(--gray-light); padding: 72px 60px; }
.like-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.like-content h2 { font-size: clamp(28px,4.375vw,43px); margin-bottom: 20px; }
.like-content > p { font-family: var(--font-body); font-size: 19px; line-height: 1.8; color: var(--black); margin-bottom: 24px; }
.like-expect { margin-bottom: 20px; }
.like-expect h4 { font-family: var(--font-head); font-size: 16px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.like-expect ul li { font-family: var(--font-body); font-size: 19px; padding: 6px 0; padding-left: 20px; position: relative; color: var(--black); }
.like-expect ul li::before { content: '→'; position: absolute; left: 0; color: var(--red); font-size: 16px; }
.like-closing { font-family: var(--font-body); font-style: italic; font-weight: 700; font-size: 19px; color: var(--red-dark); border-left: 3px solid var(--red); padding-left: 16px; margin-top: 20px; line-height: 1.6; }
.like-photos { display: grid; grid-template-rows: repeat(2,1fr); gap: 10px; height: 550px; }
.like-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }

/* Your Role section */
.role-section { background: var(--red-dark); padding: 80px 60px; color: var(--white); }
.role-inner { max-width: 1100px; margin: 0 auto; }
.role-section h2 { font-size: clamp(35px,6.25vw,60px); font-weight: 900; color: var(--white); text-transform: uppercase; line-height: 1.1; margin-bottom: 8px; }
.role-intro { font-family: var(--font-body); font-size: 19px; color: rgba(255,255,255,0.8); max-width: 560px; margin-bottom: 40px; line-height: 1.75; }
.role-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 40px; }
.role-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: background 0.2s, transform 0.2s; }
.role-card:hover { background: rgba(255,255,255,0.13); transform: translateY(-4px); }
.role-card-img { height: 140px; overflow: hidden; }
.role-card-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.role-card-label { padding: 16px 18px; font-family: var(--font-head); font-size: 16px; font-weight: 800; color: var(--white); text-transform: uppercase; letter-spacing: 0.5px; }
.role-arrange { background: rgba(255,255,255,0.06); border-radius: var(--radius); padding: 28px; margin-top: 8px; margin-bottom: 28px; }
.role-arrange h3 { font-family: var(--font-head); font-size: 18px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.role-arrange p { font-family: var(--font-body); font-size: 18px; color: rgba(255,255,255,0.85); line-height: 1.75; }
.role-section .btn-primary { background: var(--red-bright); box-shadow: 0 6px 20px rgba(213,0,0,0.35); }
.role-section .btn-primary:hover { background: var(--red-dark); }

/* Remote Work section */
.remote-section { background: var(--white); padding: 80px 60px; text-align: center; }
.remote-section h2 { font-size: clamp(28px,4.375vw,45px); margin-bottom: 14px; }
.remote-section .section-sub { font-family: var(--font-body); font-size: 20px; color: var(--gray); max-width: 640px; margin: 0 auto 56px; line-height: 1.8; }
.remote-expect-title { font-family: var(--font-head); font-size: 15px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 28px; }
.remote-expect-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; max-width: 900px; margin: 0 auto 60px; }
.remote-expect-item { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.remote-expect-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--gray-light); display: flex; align-items: center; justify-content: center; color: var(--red); }
.remote-expect-item p { font-family: var(--font-head); font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--black); }
.home-setup-title { font-family: var(--font-head); font-size: 20px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 28px; }
.home-setup-title .accent { font-style: italic; text-transform: lowercase; letter-spacing: 0; }
.setup-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; max-width: 900px; margin: 0 auto 40px; }
.setup-item { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.setup-item-img { width: 100%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.setup-item-img img { width: 100%; height: 100%; object-fit: cover; }
.setup-item p { font-family: var(--font-head); font-size: 15px; font-weight: 700; text-transform: capitalize; letter-spacing: 0.5px; color: var(--black); line-height: 1.4; }
.remote-closing { font-family: var(--font-body); font-style: italic; font-size: 19px; color: var(--gray); max-width: 620px; margin: 0 auto; line-height: 1.8; }

/* How We Hire */
.how-hire { background: var(--gray-light); padding: 80px 60px; text-align: center; }
.how-hire h2 { font-size: clamp(28px,4.375vw,45px); margin-bottom: 48px; text-transform: uppercase; letter-spacing: 0.5px; }
.hire-steps { display: flex; gap: 0; align-items: center; max-width: 1100px; margin: 0 auto 48px; overflow-x: auto; padding-bottom: 8px; }
.hire-step { flex: 1; min-width: 160px; display: flex; flex-direction: column; align-items: center; gap: 12px; position: relative; }
.hire-step-img { width: 100%; max-width: 160px; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hire-step-img img { width: 100%; height: 100%; object-fit: cover; }
.hire-arrow { flex: 0 0 32px; color: var(--red); display: flex; align-items: center; justify-content: center; align-self: center; }
.hire-step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: var(--white); font-family: var(--font-head); font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: -4px; }
.hire-video-wrap { position: relative; width: 100%; aspect-ratio: 16/9; background: var(--black); border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.hire-video-wrap img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.hire-video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.hire-video-play span { width: 60px; height: 60px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; transition: transform 0.2s; }
.hire-video-play span:hover { transform: scale(1.12); }

/* ============================================================
   FAQs PAGE
   ============================================================ */
.faq-hero { background: var(--white); padding: 64px 60px 40px; text-align: center; }
.faq-hero h1 { font-size: clamp(40px,6.25vw,65px); font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.faq-hero p { font-family: var(--font-body); font-size: 20px; color: var(--gray); margin-top: 14px; max-width: 560px; margin-left: auto; margin-right: auto; }
.faq-section { background: var(--gray-light); padding: 56px 60px 80px; }
.faq-inner { max-width: 840px; margin: 0 auto; }
.faq-group { margin-bottom: 48px; }
.faq-group-title { font-family: var(--font-head); font-size: 16px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--red); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--red); display: inline-block; }
.faq-item { background: var(--white); border-radius: var(--radius); margin-bottom: 8px; overflow: hidden; border: 1px solid rgba(10,1,1,0.07); transition: box-shadow 0.2s; }
.faq-item.open { box-shadow: var(--shadow); border-color: rgba(153,19,14,0.2); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; user-select: none; }
.faq-q-text { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--black); line-height: 1.4; }
.faq-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--red); display: flex; align-items: center; justify-content: center; color: var(--red); transition: transform 0.3s var(--ease), background 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--red); color: var(--white); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), padding 0.4s var(--ease); padding: 0 24px; }
.faq-item.open .faq-a { max-height: 600px; padding: 0 24px 20px; }
.faq-a-inner { font-family: var(--font-body); font-size: 18px; line-height: 1.85; color: var(--gray); border-top: 1px solid var(--gray-light); padding-top: 16px; }
.faq-a-inner ul { margin: 10px 0 10px 16px; }
.faq-a-inner ul li { list-style: disc; margin-bottom: 6px; font-size: 18px; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
*, *::before, *::after, html, body,
a, button, input, select, textarea, label,
[role="button"], [tabindex], [onclick], [style*="cursor"] { cursor: none !important; }
#cursor-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 2147483647; }
.fp { position: fixed; pointer-events: none; z-index: 2147483646; width: var(--fw,5px); height: var(--fh,5px); border-radius: 50%; background: var(--fc,rgba(153,19,14,0.85)); transform-origin: 50% 50%; margin-left: calc(var(--fw,-5px)/-2); margin-top: calc(var(--fh,-5px)/-2); animation: fpFly var(--dur,0.55s) cubic-bezier(0.2,0.8,0.4,1) forwards; }
@keyframes fpFly { 0% { opacity:1; transform:rotate(var(--a)) scale(1) translateY(0); } 100% { opacity:0; transform:rotate(var(--a)) scale(0.1) translateY(var(--d)); } }
.fp-ring { position: fixed; border-radius: 50%; border: 2px solid rgba(153,19,14,0.6); pointer-events: none; z-index: 2147483645; animation: fpRing var(--rd,0.5s) ease-out forwards; }
@keyframes fpRing { 0% { transform:translate(-50%,-50%) scale(0); opacity:1; } 100% { transform:translate(-50%,-50%) scale(2); opacity:0; } }
@media (hover: none) { *, *::before, *::after, html, body { cursor: auto !important; } #cursor-canvas { display: none !important; } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal, .reveal-left, .reveal-right { opacity: 0; transform: translateY(6px); transition: opacity 0.28s ease, transform 0.28s ease; }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.04s; }
.delay-2 { transition-delay: 0.08s; }
.delay-3 { transition-delay: 0.12s; }
.delay-4 { transition-delay: 0.16s; }
.delay-5 { transition-delay: 0.20s; }
.delay-6 { transition-delay: 0.24s; }
@media (max-width: 768px) {
  .reveal, .reveal-left, .reveal-right { transform: none; transition: opacity 0.2s ease; }
  .delay-1, .delay-2, .delay-3, .delay-4, .delay-5, .delay-6 { transition-delay: 0s; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   RESPONSIVE — LAPTOP L (max 1440px)
   ============================================================ */
@media (max-width: 1440px) {
  .advantage-inner { align-items: center; }
  .advantage-img { height: 420px; min-height: unset; align-self: center; } /* LAPTOP L ≤1440px — adjust height here */
}

/* ============================================================
   RESPONSIVE — LAPTOP (max 1280px)
   ============================================================ */
@media (max-width: 1280px) {
  section { padding: 72px 48px; }
  .ourstory-hero { padding: 64px 48px; }
  .comparison-section { padding: 64px 48px; }
  .advantage-section { padding: 64px 48px; }
  .advantage-inner { align-items: center; }
  .advantage-img { height: 420px; min-height: unset; align-self: center; } /* LAPTOP ≤1280px — adjust height here */
  .like-section { padding: 64px 48px; }
  .role-section { padding: 72px 48px; }
  .remote-section { padding: 72px 48px; }
  .how-hire { padding: 72px 48px; }
  .cta-banner { padding: 72px 48px; }
  .gb-intro-section { padding: 72px 48px; }
  .gb-cta-section { padding: 72px 48px; }
  .wju-intro { padding: 56px 48px 40px; }
  .faq-hero { padding: 56px 48px 36px; }
  .faq-section { padding: 48px 48px 72px; }
  .value-grid { margin: 0 20px 40px; }
}

/* ============================================================
   RESPONSIVE — TABLET / LAPTOP 1024px
   ============================================================ */
@media (max-width: 1024px) {
  section { padding: 44px 28px; }
  .ourstory-hero { padding: 40px 28px; }
  .comparison-section { padding: 40px 28px; }
  .advantage-section { padding: 40px 28px; }
  .like-section { padding: 40px 28px; }
  .role-section { padding: 44px 28px; }
  .remote-section { padding: 44px 28px; }
  .how-hire { padding: 44px 28px; }
  .cta-banner { padding: 44px 28px; }
  .wju-intro { padding: 36px 28px 28px; }
  .faq-hero { padding: 36px 28px 22px; }
  .faq-section { padding: 36px 28px 52px; }
  .gb-intro-section { padding: 44px 28px; }
  .gb-cta-section { padding: 44px 28px; }

  #navbar { padding: 0 24px; }
  .nav-links a { font-size: 14px; padding: 6px 10px; }
  .nav-apply { font-size: 13px; padding: 8px 16px; }

  .wju-intro h1, .ourstory-hero h1, .faq-hero h1, .blog-hero h1 { font-size: clamp(26px,3.8vw,44px); }
  h2 { font-size: clamp(18px,2.5vw,30px) !important; }
  .story-hero-text p, .story-hero-full p,
  .like-content > p, .like-expect ul li, .like-closing,
  .wju-intro p, .role-intro, .role-arrange p,
  .remote-section .section-sub, .remote-closing,
  .advantage-item-text span, .mv-block p { font-size: 15px; }
  .comp-item { font-size: 14px; }
  .faq-q-text { font-size: 15px; }
  .cta-banner h3 { font-size: clamp(22px,3.5vw,36px); }
  .cta-banner p { font-size: 15px; }
  .value-tile h4 { font-size: 18px; }
  .value-tile p { font-size: 14px; }

  .footer-grid { grid-template-columns: 1fr 0.5fr auto; gap: 32px; padding: 0 0 40px; max-width: 100%; }
  footer { padding: 44px 28px 0 !important; }
  .container { padding: 0 28px; }

  .story-hero-inner { grid-template-columns: 1fr; grid-template-areas: "heading" "text" "img" "below" "full"; gap: 24px; }
  .story-hero-img { height: 280px; min-height: unset; }
  .advantage-img { height: 360px; min-height: unset; align-self: center; } /* LAPTOP 1024px — adjust height here */
  .advantage-inner { gap: 36px; align-items: center; }
  .like-inner { gap: 36px; }

  .comp-col.featured { transform: none; }
  .remote-expect-grid { grid-template-columns: repeat(2,1fr); }
  .setup-grid { grid-template-columns: repeat(2,1fr); }
  .hire-steps { gap: 0; }
  .value-grid { margin: 0 16px 32px; }

  .stories-section .btn-outline-red,
  .stories-section .btn-primary { font-size: 13px; padding: 10px 20px; letter-spacing: 1px; }

  .footer-tagline { font-size: 0.72rem; }
  .footer-col-links h4 { font-size: 0.58rem; }
  .footer-col-links a { font-size: 0.78rem; }
  .footer-col-links address { font-size: 0.72rem; }
  .footer-bottom { font-size: 0.7rem; padding: 14px 0 24px; }

  .story-hero-inner { text-align: center; }
  .story-hero-text p, .story-hero-full p { text-align: justify; }
  .hero-sub { font-size: clamp(14px,2.8vw,18px); }
  .value-bottom p { font-size: 16px; }
  .story-quote::before { font-size: 40px; }
  .story-hero-img img { object-position: top center; }
  .advantage-item-text strong { font-size: 14px; }
  .advantage-item-text span { font-size: 13px; }
  .faq-a-inner { font-size: 14px; }
  .faq-a-inner ul li { font-size: 14px; }
  .story-card { padding: 20px 16px; }
  .story-quote { font-size: 14px; }
  .story-quote::before { font-size: 44px; }
  .story-name { font-size: 14px; }
  .story-role { font-size: 11px; }

  .role-section h2 { font-size: clamp(20px,4vw,32px); white-space: normal; text-align: center; width: 100%; }
  .role-inner { text-align: center; }
  .role-intro { text-align: center; margin-left: auto; margin-right: auto; }
  .role-arrange h3 { font-size: 15px; letter-spacing: 1px; }
  .value-grid { margin: 0 28px 32px !important; }

  /* ── Carousel: Laptop 1024px ──
     Section has no side padding on stories-section (padding-left:0).
     Container is 1024px. 3 cards + 2×20px gaps + 2×28px padding = 3x + 96 = 1024 → x = 309px.
     Show 3 cards like desktop but at reduced size.
  ── */
  .stories-section { overflow: hidden; padding-left: 0; padding-right: 0; }
  .stories-track-wrap { overflow: hidden; }
  .stories-track { padding-left: 28px; padding-right: 28px; gap: 20px; }
  .story-card { flex: 0 0 calc((1024px - 56px - 40px) / 3); min-height: 320px; }
  .stories-nav { padding: 0 28px; }

  /* Story page font sizes unified at ≤1024px */
  .story-body p { font-size: 14px !important; line-height: 1.8; }
  .story-pullquote p { font-size: 16px !important; }
  .story-hero h1 { font-size: clamp(1.5rem,4vw,2.5rem); }
  .story-hero-role { font-size: 13px; }
  .story-hero-quote { font-size: clamp(13px,1.6vw,16px); }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  #navbar { padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; order: -1; margin-left: 0; margin-right: 8px; }

  section { padding: 44px 20px; }
  .ourstory-hero { padding: 36px 20px; }
  .comparison-section { padding: 40px 20px; }
  .advantage-section { padding: 40px 20px; }
  .like-section { padding: 40px 20px; }
  .role-section { padding: 44px 20px; }
  .remote-section { padding: 44px 20px; }
  .how-hire { padding: 44px 20px; }
  .cta-banner { padding: 52px 20px; }
  .wju-intro { padding: 36px 20px 28px; }
  .faq-hero { padding: 36px 20px 20px; }
  .faq-section { padding: 36px 20px 52px; }
  .gb-intro-section { padding: 44px 20px; }
  .gb-cta-section { padding: 52px 20px; }

  .hero-h1 { font-size: clamp(28px,8vw,42px); }
  .hero-btns { gap: 12px; }
  .hero-arrow { display: none; }

  .value-grid { grid-template-columns: 1fr; margin: 0 20px 32px !important; gap: 20px; }
  .value-section { padding-left: 0; padding-right: 0; }
  .value-section h2 { padding: 0 20px; }
  .value-section .value-sub { padding: 0 20px; font-size: 15px; }
  .value-section .value-bottom { padding: 0 20px; }
  .value-bottom p { font-size: 17px; }
  .value-bottom .btn { font-size: 15px; padding: 13px 28px; }
  .stories-section .btn-outline-red,
  .stories-section .btn-primary { font-size: 15px; padding: 13px 28px; }

  /* ── Carousel: Tablet 768px ──
     Like laptop: center card full + half-card peeking each side.
     Card = 65%. Left peek = right peek = (100% - 65%) / 2 = 17.5%.
     This mirrors the laptop 3-card feel but on a narrower screen.
  ── */
  .stories-section { overflow: hidden; padding-left: 0; padding-right: 0; }
  .stories-track-wrap { overflow: hidden; }
  .stories-track { padding-left: 17.5%; padding-right: 17.5%; gap: 16px; }
  .story-card { flex: 0 0 65%; min-height: 320px; }
  .stories-nav { padding: 0 20px; }

  footer { padding: 40px 20px 0; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-logo { display: block; margin: 0 auto 16px; }
  .footer-logo img, .footer-logo-img { margin: 0 auto 16px; }
  .footer-tagline { margin: 0 auto 24px; text-align: center; }
  .footer-col-links h4 { text-align: center; }
  .footer-col-links a { text-align: center; }
  .footer-col-links address { text-align: center; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; align-items: center; }
  .footer-social { justify-content: center; }
  .cta-banner h3 { font-size: clamp(22px,5.5vw,36px); }
  .cta-banner p { font-size: 16px; }

  .comparison-grid { grid-template-columns: 1fr; }
  .comp-item { font-size: 15px; }
  .comp-col { padding: 24px 20px; }
  .comp-col.featured { transform: none; }

  .values-grid { grid-template-columns: 1fr; }
  .value-tile { min-height: 200px; padding: 24px 20px 28px; }
  .mv-block p { font-size: 17px; }
  .makes-us .section-sub { font-size: 17px; }

  .role-inner { grid-template-columns: 1fr !important; gap: 24px !important; }
  .role-grid { grid-template-columns: repeat(2,1fr); }
  .role-intro { font-size: 16px; }
  .role-arrange p { font-size: 16px; }
  .role-section h2 { font-size: clamp(28px,7vw,44px); }

  .remote-expect-grid { grid-template-columns: repeat(2,1fr); }
  .setup-grid { grid-template-columns: repeat(2,1fr); }
  .remote-closing { font-size: 16px; }
  .remote-section .section-sub { font-size: 16px; }

  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid .gallery-item:first-child { grid-column: 1/-1; aspect-ratio: 16/6; }
  .gallery-carousel .gallery-item { flex: 0 0 calc(50% - 4px); }

  .hire-steps { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .hire-arrow { display: none; }
  .hire-step { flex: 0 0 42%; }

  .like-content > p { font-size: 16px; }
  .like-expect ul li { font-size: 16px; }
  .like-closing { font-size: 16px; }
  .like-inner { gap: 28px; }
  .story-hero-text p, .story-hero-full p { font-size: 16px; }
  .advantage-content { order: 1; }
  .advantage-item-text strong { font-size: 16px; }
  .advantage-item-text span { font-size: 14px; }
  .wju-intro p { font-size: 16px; }
  .gb-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .value-card { aspect-ratio: 16/9; }
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }

  .nav-brand { order: 0; margin: 0; }
  .nav-apply { order: 1; margin-left: auto; }

  .advantage-inner { display: flex !important; flex-direction: column !important; }
  .advantage-img { order: -1 !important; height: 240px; width: 100%; }
  .advantage-content { order: 0 !important; }

  .comparison-section { text-align: center; }
  .comparison-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .comp-item { text-align: left; }

  .story-photos img { height: 220px; }
  .faq-cta-btns .btn { min-width: 160px; max-width: 220px; padding: 13px 24px; }

  .story-lead,
  .story-lead.photo-left { display: flex !important; flex-direction: column !important; }
  .story-lead .story-photo-primary,
  .story-lead.photo-left .story-photo-primary { order: -1 !important; width: 100%; }
  .story-photo-primary img { width: 100%; display: block; }

  /* Story font sizes at mobile — match ≤1024px scale */
  .story-body p { font-size: 14px !important; line-height: 1.8; }
  .story-pullquote p { font-size: 16px !important; }
  .story-hero h1 { font-size: clamp(1.5rem,4vw,2.5rem); }
  .story-hero-role { font-size: 13px; }
  .story-hero-quote { font-size: clamp(13px,2vw,16px); }
}

/* ============================================================
   RESPONSIVE — MOBILE SMALL (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .gallery-carousel .gallery-item { flex: 0 0 calc(75% - 4px); }
  body { transform: scale(0.9); transform-origin: top center; }

  footer { zoom: 1; }
  footer .footer-grid { gap: 20px; }
  footer .footer-bottom { padding: 16px 0 24px; }
  footer .footer-col-links a[href^="mailto:"],
  footer .footer-col-links address {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
    display: block;
    max-width: 100%;
    line-height: 1.6;
  }

  .faq-cta-btn { width: 320px; display: inline-flex; justify-content: center; }
  .faq-cta-btn:first-child { margin-right: 0; }

  section { padding: 36px 16px; }
  .ourstory-hero { padding: 32px 16px; }
  .comparison-section { padding: 32px 16px; }
  .advantage-section { padding: 32px 16px; }
  .like-section { padding: 32px 16px; }
  .role-section { padding: 36px 16px; }
  .remote-section { padding: 36px 16px; }
  .how-hire { padding: 36px 16px; }
  .cta-banner { padding: 44px 16px; }
  .wju-intro { padding: 28px 16px 20px; }
  .faq-hero { padding: 28px 16px 16px; }
  .faq-section { padding: 28px 16px 44px; }

  .wju-intro h1, .ourstory-hero h1, .faq-hero h1 { font-size: clamp(28px,7vw,44px); }
  .wju-intro p, .story-hero-text p, .story-hero-full p { font-size: 15px; line-height: 1.75; }
  .value-bottom p { font-size: 15px; }
  .story-quote { font-size: 13px; }
  .story-quote::before { font-size: 36px; }
  .advantage-item-text strong { font-size: 13px; }
  .advantage-item-text span { font-size: 12px; }
  .like-content > p, .like-expect ul li, .like-closing { font-size: 15px; }
  .faq-a-inner { font-size: 14px; }
  .faq-a-inner ul li { font-size: 14px; }

  #navbar { padding-left: 18px; padding-right: 18px; }
  .nav-brand { margin-left: 0; padding-left: 8px; }
  .nav-hamburger { margin-left: 0; margin-right: 0; }

  .story-hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "heading" "img" "text" "full";
  }
  .story-hero-img { height: 220px; }

  .advantage-inner { grid-template-columns: 1fr; }
  .advantage-img { height: 240px; order: 2; }
  .advantage-content { order: 1; }
  .advantage-list { order: 3; }

  .like-inner { grid-template-columns: 1fr; }
  .like-photos { order: -1; height: 240px; }

  .role-grid { grid-template-columns: 1fr; }
  .setup-grid { grid-template-columns: repeat(2,1fr); }
  .remote-expect-grid { grid-template-columns: 1fr 1fr; }
  .hire-step { flex: 0 0 80%; }

  .story-hero-inner { gap: 20px; }
  .value-tile { padding: 20px 16px 24px; min-height: 180px; }
  .like-photos { height: auto; grid-template-rows: repeat(2,200px); }
  .advantage-img { height: 220px; }
  .mission-vision { gap: 20px; }
  .mv-block h3 { font-size: 18px; }

  .rolling-text { white-space: normal; line-height: 1.2; }
  .rolling-wrapper { height: auto; min-height: 2.4em; }

  .cta-banner .hero-btns, .cta-banner .btn-wrap { flex-direction: column; align-items: center; width: 100%; }
  .cta-banner .btn { width: 100%; max-width: 320px; }

  .role-card-img { height: 180px; }
  .gallery-showcase-featured { height: 200px; }
  .gallery-showcase-grid { height: 160px; }
  html, body { overflow-x: hidden; max-width: 100vw; }

  /* ── Carousel: Mobile L 425px ──
     Center card = 80% wide. 10% peek each side shows adjacent cards.
  ── */
  .stories-section { overflow: hidden; padding-left: 0; padding-right: 0; }
  .stories-track { padding-left: 10%; padding-right: 10%; gap: 12px; }
  .story-card { flex: 0 0 80%; min-height: 280px; padding: 20px 18px; }
  .stories-nav { padding: 0 16px; }
}

/* ============================================================
   RESPONSIVE — MOBILE M (max 390px)
   ============================================================ */
@media (max-width: 390px) {
  /* Single card per view, centered with small margin each side */
  .stories-section { overflow: hidden; padding-left: 0; padding-right: 0; }
  .stories-track { padding-left: 16px; padding-right: 16px; gap: 16px; }
  .story-card { flex: 0 0 calc(100% - 32px); min-height: 260px; padding: 18px 16px; }
  .role-grid { grid-template-columns: 1fr !important; }
  .role-card-img { height: 160px !important; }
}

/* ============================================================
   RESPONSIVE — MOBILE S (max 360px)
   ============================================================ */
@media (max-width: 360px) {
  /* Single card per view, full width minus small margin */
  .stories-section { overflow: hidden; padding-left: 0; padding-right: 0; }
  .stories-track { padding-left: 16px; padding-right: 16px; gap: 16px; }
  .story-card { flex: 0 0 calc(100% - 32px); min-height: 240px; padding: 16px 14px; }

  .footer-col-links a[href^="mailto:"] {
    font-size: 0.65rem !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
    white-space: normal !important;
    display: block !important;
    max-width: 100% !important;
  }
  .faq-hero p { font-size: 0.75rem; }
  .faq-hero p a[href^="mailto:"] {
    font-size: 0.75rem;
    word-break: break-all;
    overflow-wrap: anywhere;
    display: inline-block;
    max-width: 100%;
  }
}

/* ============================================================
   FAQ — CTA buttons (all breakpoints)
   ============================================================ */
.faq-cta-btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.faq-cta-btns .btn,
.faq-cta-btn {
  display: inline-flex;
  width: auto;
  min-width: 160px;
  max-width: 240px;
  text-align: center;
  justify-content: center;
}

/* ============================================================
   STORY PORTRAIT CROPS BY BREAKPOINT
   Base ratio: Mobile S 320px → height 300px (ratio 0.9375)
   Mobile M 375px → 375/320 × 300 = 352px
   Mobile L 425px → 425/320 × 300 = 398px
   ============================================================ */
@media (max-width: 360px) {
  .story-photo-primary img { height: 300px; object-position: center 80%; }
  .story-photo-michelle { object-position: center 20% !important; }
}
@media (min-width: 361px) and (max-width: 390px) {
  .story-photo-primary img { height: 352px; object-position: center 75%; }
  .story-photo-michelle { object-position: center 15% !important; }
}
@media (min-width: 391px) and (max-width: 480px) {
  .story-photo-primary img { height: 398px; object-position: center 80%; }
  .story-photo-michelle { object-position: center 10% !important; }
}

/* ============================================================
   TABLET SMALL (600px–768px) — Story lead layout
   Proportional to laptop: 260px photo / ~780px inner = 33%
   At tablet ~680px inner → 200px photo column
   ============================================================ */
@media (min-width: 600px) and (max-width: 768px) {
  .story-lead,
  .story-lead.photo-left {
    display: grid !important;
    grid-template-columns: 1fr 200px !important;
    gap: 28px !important;
    align-items: start !important;
    margin-bottom: 20px;
  }
  .story-lead.photo-left {
    grid-template-columns: 200px 1fr !important;
  }
  .story-lead .story-photo-primary,
  .story-lead.photo-left .story-photo-primary {
    order: 0 !important;
    height: 260px !important;
    width: 200px !important;
    flex-shrink: 0;
  }
  .story-lead.photo-left .story-photo-primary { order: -1 !important; }
  .story-photo-primary img {
    width: 100% !important;
    height: 260px !important;
    object-fit: cover;
    object-position: center 30%;
  }
  .story-photo-michelle { object-position: center 20% !important; }
  .story-body p { font-size: 14px !important; line-height: 1.8; }
  .story-pullquote p { font-size: 16px !important; }
  .story-photos { grid-template-columns: repeat(2,1fr); }
  .story-photos.one-col { grid-template-columns: 1fr !important; }
  .story-photos img { height: 180px; }
}

/* ============================================================
   SUCCESS STORY PAGES
   ============================================================ */
.story-card { position: relative; }
.story-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 14px;
  transition: gap 0.2s;
  position: relative;
  z-index: 1;
}
.story-read-link:hover { gap: 10px; }
.story-card:has(.story-read-link) { cursor: pointer; }

/* Story Hero */
.story-hero {
  background: var(--black);
  padding: 56px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.story-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 60%, rgba(153,19,14,0.2) 0%, transparent 55%); pointer-events: none; }
.story-hero .container { position: relative; z-index: 1; }
.story-hero-nav { text-align: justify; margin-bottom: 32px; }
.story-back { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.45); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; transition: color 0.2s, gap 0.2s; }
.story-back:hover { color: rgba(255,255,255,0.75); gap: 12px; }
.story-back svg { flex-shrink: 0; }
.story-tag { display: inline-block; background: var(--red-bright); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 5px 16px; border-radius: var(--radius-pill); margin-bottom: 20px; }
.story-hero h1 { color: var(--white); font-size: clamp(2rem,5vw,3rem); font-weight: 900; margin-bottom: 10px; }
.story-hero-role { color: rgba(255,255,255,0.5); font-size: 15px; font-weight: 500; margin-bottom: 40px; letter-spacing: 0.5px; }
.story-hero-quote { max-width: 660px; margin: 0 auto; color: rgba(255,255,255,0.82); font-size: clamp(15px,1.8vw,18px); font-style: italic; line-height: 1.75; position: relative; padding: 0 36px; }
.story-hero-quote::before { content: '\201C'; position: absolute; left: 0; top: -12px; font-size: 60px; color: var(--red-bright); font-family: Georgia, serif; line-height: 1; }

/* Story Article */
.story-section { background: var(--white); padding: 80px 24px; }
.story-inner { max-width: 780px; margin: 0 auto; }
.story-lead { display: grid; grid-template-columns: 1fr 260px; gap: 48px; align-items: stretch; margin-bottom: 20px; }
.story-lead.photo-left { grid-template-columns: 260px 1fr; }
.story-lead.photo-left .story-photo-primary { order: -1; }
.story-photo-primary { border-radius: var(--radius); overflow: hidden; height: 100%; }
.story-photo-primary img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.story-body p { font-size: 16px; line-height: 1.85; color: #252525; margin-bottom: 20px; text-align: justify; }
.story-body p:last-child { margin-bottom: 0; }
.story-pullquote { border-left: 4px solid var(--red); margin: 20px 0; padding: 18px 28px; background: var(--gray-light); border-radius: 0 var(--radius) var(--radius) 0; }
.story-pullquote p { font-size: 16px !important; font-weight: 600; color: var(--black) !important; font-style: italic; line-height: 1.6 !important; margin-bottom: 0 !important; }
.story-photos { display: grid; gap: 16px; margin-top: 20px; grid-template-columns: repeat(2,1fr); }
.story-photos.one-col { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
.story-photos img { width: 100%; height: 320px; border-radius: var(--radius); object-fit: cover; }
.story-para-photo { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; margin-bottom: 20px; }
.story-para-photo.photo-left { grid-template-columns: auto 1fr; }
.story-para-photo.photo-left .story-inline-photo { order: -1; }
.story-para-photo .story-inline-photo { margin: 0; max-width: none; }
.story-para-photo .story-inline-photo img { object-fit: cover; object-position: top center; border-radius: var(--radius); display: block; }
.story-inline-photo { margin: 40px auto; max-width: 480px; border-radius: var(--radius); overflow: hidden; }
.story-inline-photo img { width: 100%; display: block; border-radius: var(--radius); }

@media (max-width: 768px) {
  .story-hero { padding: 80px 20px 56px; }
  .story-lead, .story-lead.photo-left { grid-template-columns: 1fr; }
  .story-lead .story-photo-primary, .story-lead.photo-left .story-photo-primary { order: 0; }
  .story-photo-primary img { height: 320px; }
  .story-section { padding: 56px 20px; }
  .story-photos { grid-template-columns: 1fr; }
  .story-photos.one-col { max-width: 100%; }
  .story-para-photo, .story-para-photo.photo-left { grid-template-columns: 1fr; }
  .story-para-photo .story-inline-photo, .story-para-photo.photo-left .story-inline-photo { order: 1; margin: 0 0 24px; }
  .story-para-photo .story-inline-photo img { width: 100% !important; height: 220px !important; }
}

/* ============================================================
   GIVING BACK PAGE
   ============================================================ */
.gb-intro-section { background: var(--white); padding: 80px 60px; }
.gb-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: stretch; max-width: 1100px; margin: 0 auto; }
.gb-intro-text p { font-size: clamp(15px,1.2vw,17px); color: var(--black); line-height: 1.85; margin-bottom: 20px; text-align: justify; }
.gb-intro-text p:last-child { margin-bottom: 0; }
.gb-intro-img { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); min-height: 320px; }
.gb-intro-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gb-cta-section { background: var(--red-dark); padding: 80px 60px; text-align: center; }
.gb-cta-inner h2 { color: var(--white); font-size: clamp(24px,3.5vw,42px); margin-bottom: 16px; }
.gb-cta-inner h2 .accent { color: rgba(255,255,255,0.85); }
.gb-cta-inner p { color: rgba(255,255,255,0.8); font-size: clamp(15px,1.3vw,18px); max-width: 540px; margin: 0 auto 36px; line-height: 1.75; }
.gb-cta-inner .btn-primary { background: var(--white); color: var(--red-bright); box-shadow: 0 6px 24px rgba(0,0,0,0.15); }
.gb-cta-inner .btn-primary:hover { background: var(--gray-light); box-shadow: 0 10px 32px rgba(0,0,0,0.2); }

/* Blog Hero */
.blog-hero { background: var(--black); padding: 110px 24px 88px; text-align: center; position: relative; overflow: hidden; }
.blog-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 40%, rgba(153,19,14,0.22) 0%, transparent 60%), radial-gradient(ellipse at 20% 80%, rgba(153,19,14,0.10) 0%, transparent 50%); pointer-events: none; }
.blog-hero .container { position: relative; z-index: 1; }
.blog-hero h1 { color: var(--white); font-size: clamp(40px,6.25vw,65px); font-weight: 900; letter-spacing: -0.5px; line-height: 1.15; margin: 16px 0 20px; }
.blog-hero p { color: rgba(255,255,255,0.6); font-size: clamp(14px,1.6vw,17px); max-width: 480px; margin: 0 auto; line-height: 1.75; }

/* Blog Listing */
.blog-listing-section { background: var(--gray-light); padding: 64px 24px 96px; }
.blog-controls { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.blog-search-wrap { position: relative; flex: 1; min-width: 200px; }
.blog-search-wrap svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gray); pointer-events: none; }
.blog-search-wrap input { width: 100%; padding: 13px 16px 13px 46px; border: 1.5px solid rgba(10,1,1,0.12); border-radius: var(--radius-pill); font-family: var(--font-body); font-size: 15px; color: var(--black); background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; outline: none; box-sizing: border-box; }
.blog-search-wrap input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(153,19,14,0.1); }
.blog-search-wrap input::placeholder { color: rgba(106,105,104,0.65); }
.blog-sort-wrap { display: flex; align-items: center; gap: 10px; white-space: nowrap; flex-shrink: 0; }
.blog-sort-wrap label { font-size: 12px; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 1.2px; }
.blog-sort-wrap select { padding: 12px 42px 12px 18px; border: 1.5px solid rgba(10,1,1,0.12); border-radius: var(--radius-pill); font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--black); background-color: var(--white); -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236A6968' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; outline: none; transition: border-color 0.2s; }
.blog-sort-wrap select:focus { border-color: var(--red); }
.blog-count { font-size: 13px; font-weight: 600; color: var(--gray); letter-spacing: 0.4px; margin-bottom: 28px; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img-wrap { position: relative; display: block; overflow: hidden; height: 230px; flex-shrink: 0; }
.blog-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; transition: transform 0.5s var(--ease); }
.blog-card:hover .blog-card-img-wrap img { transform: scale(1.05); }
.blog-card-badge { position: absolute; top: 14px; left: 14px; background: var(--red); color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 4px 14px; border-radius: var(--radius-pill); pointer-events: none; }
.blog-card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-card-date { font-size: 11px; font-weight: 700; color: var(--gray); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.blog-card-name { font-size: 19px; font-weight: 800; color: var(--black); margin-bottom: 4px; line-height: 1.25; }
.blog-card-name a { color: inherit; text-decoration: none; transition: color 0.2s; }
.blog-card-name a:hover { color: var(--red); }
.blog-card-role { font-size: 13px; font-weight: 500; color: var(--gray); margin-bottom: 16px; letter-spacing: 0.2px; }
.blog-card-excerpt { font-size: 14px; line-height: 1.78; color: #3d3d3d; font-style: italic; border-left: 3px solid var(--red); padding-left: 14px; margin: 0 0 20px; }
.blog-card-excerpt::before { content: none; }
.blog-card-body .story-read-link { margin-top: auto; }
.blog-empty { text-align: center; padding: 72px 24px; display: none; }
.blog-empty p { font-size: 17px; color: var(--gray); margin-bottom: 8px; line-height: 1.6; }
.blog-empty .blog-empty-hint { font-size: 14px; color: rgba(106,105,104,0.65); }

@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) {
  .blog-hero { padding: 80px 20px 64px; }
  .gb-intro-section { padding: 56px 20px; }
  .gb-intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .gb-cta-section { padding: 64px 20px; }
  .blog-listing-section { padding: 48px 20px 72px; }
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .blog-controls { flex-direction: column; align-items: stretch; }
  .blog-search-wrap { min-width: unset; }
  .blog-sort-wrap { justify-content: space-between; }
}