﻿/* ============================================================
   THE GIFT OF KNOWLEDGE FOUNDATION — style.css
   Design System: Institutional. Deliberate. Quietly Powerful.
   Fonts: Bebas Neue (headings) + Montserrat (body)
   Colors: Deep Blue #0A2A43 / White / Gray #6B7280 / Light #F5F7FA
   "Restraint creates authority."
============================================================ */

/* -- CUSTOM PROPERTIES -- */
:root {
  --deep-blue:   #0A2A43;
  --white:       #FFFFFF;
  --gray:        #6B7280;
  --light-bg:    #F5F7FA;
  --border:      #E5E7EB;
  --font-heading:'Bebas Neue', sans-serif;
  --font-body:   'Montserrat', sans-serif;
  --max-w:       1160px;
  --section-pad: 100px;
  --transition:  0.3s ease;
}

/* -- RESET & BASE -- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--deep-blue);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: opacity var(--transition); }
a:hover { opacity: 0.75; }

::selection {
  background: var(--deep-blue);
  color: var(--white);
}

/* -- TYPOGRAPHY -- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 400;
  line-height: 1.1;
  color: var(--deep-blue);
}

h1 { font-size: clamp(3.5rem, 7vw, 6rem); letter-spacing: 0.05em; }
h2 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); }
h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h4 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }

p {
  font-size: 1rem;
  line-height: 1.75;
  color: #4B5563;
  font-weight: 400;
}

.lead-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray);
  max-width: 640px;
}

.label-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #374151;
  margin-bottom: 1rem;
  display: block;
}

.label-text:has(+ .divider) {
  font-size: 1.6rem;
}

.section-heading {
  margin-bottom: 1.5rem;
}

/* -- CONTAINERS -- */
.container {
  max-width: var(--max-w);
  padding-left: 2rem;
  padding-right: 2rem;
}

/* -- CAPTION LINK (sub-section arrows) -- */
.gok-caption-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep-blue);
  border-bottom: 1.5px solid var(--deep-blue);
  padding-bottom: 2px;
  transition: gap var(--transition), opacity var(--transition);
}

.gok-caption-link:hover {
  gap: 10px;
  opacity: 1;
  color: var(--deep-blue);
}

.sec-dark .gok-caption-link {
  color: rgba(255,255,255,0.75);
  border-bottom-color: rgba(255,255,255,0.4);
}

.sec-dark .gok-caption-link:hover {
  color: var(--white);
}

/* -- BUTTONS -- */
.btn-gok {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-gok-primary {
  background: var(--deep-blue);
  color: var(--white);
}
.btn-gok-primary:hover {
  background: #0d3456;
  color: var(--white);
  opacity: 1;
}

.btn-gok-outline {
  background: transparent;
  color: var(--deep-blue);
  border: 1.5px solid var(--deep-blue);
}
.btn-gok-outline:hover {
  background: var(--deep-blue);
  color: var(--white);
  opacity: 1;
}

.btn-gok-white {
  background: var(--white);
  color: var(--deep-blue);
}
.btn-gok-white:hover {
  background: #f0f2f5;
  color: var(--deep-blue);
  opacity: 1;
}

/* -- NAVBAR -- */
#mainNav {
  padding: 2px 0;
  transition: all 0.4s ease;
  background: #fff;
  border-bottom: 1px solid transparent;
}

#mainNav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  padding: 2px 0;
  border-bottom: 1px solid var(--border);
}

.nav-logo-img {
  height: 62px;
  width: auto;
  transition: height 0.3s ease;
  margin: 6px 0;
}

#mainNav.scrolled .nav-logo-img {
  height: 56px;
}

#mainNav .navbar-nav .nav-link {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--deep-blue);
  padding: 8px 16px;
  transition: opacity var(--transition);
}

#mainNav .navbar-nav .nav-link:hover {
  opacity: 0.6;
}

#mainNav .navbar-nav .nav-link.active {
  font-weight: 700;
}

.navbar-toggler {
  border: none;
  padding: 4px 0;
  box-shadow: none !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230A2A43' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* -- HERO -- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 var(--section-pad);
  background: var(--white);
  position: relative;
}

.hero-content {
  max-width: 720px;
}

.hero h1 {
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero .lead-text {
  margin-bottom: 2.5rem;
}

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

/* -- PAGE HEADER (inner pages) -- */
.page-header {
  padding: 160px 0 80px;
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header .lead-text {
  max-width: 600px;
}

/* -- SECTIONS -- */
.sec {
  padding: var(--section-pad) 0;
}

.sec-light {
  background: var(--light-bg);
}

.sec-dark {
  background: var(--deep-blue);
  color: var(--white);
}

.sec-dark h2,
.sec-dark h3,
.sec-dark h4,
.sec-dark h5 {
  color: var(--white);
}

.sec-dark p {
  color: rgba(255,255,255,0.7);
}

.sec-dark .label-text {
  color: rgba(255,255,255,0.5);
}

.sec-border {
  border-top: 1px solid var(--border);
}

/* -- DIVIDER -- */
.divider {
  width: 48px;
  height: 2px;
  background: var(--deep-blue);
  margin: 1.5rem 0;
}

.sec-dark .divider {
  background: rgba(255,255,255,0.3);
}

/* -- INFO CARD -- */
.info-card {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color var(--transition);
  height: 100%;
}

.info-card:hover {
  border-color: var(--deep-blue);
}

.info-card .card-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.info-card h4 {
  margin-bottom: 1rem;
}

.info-card p {
  font-size: 0.9375rem;
}

.info-card-dark {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}

.info-card-dark:hover {
  border-color: rgba(255,255,255,0.3);
}

.info-card-dark .card-num {
  color: rgba(255,255,255,0.15);
}

.info-card-dark h4 {
  color: var(--white);
}

.info-card-dark p {
  color: rgba(255,255,255,0.6);
}

/* -- STAT BLOCK -- */
.stat-block {
  text-align: left;
}

.stat-block .stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--deep-blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-block .stat-label {
  font-size: 0.875rem;
  color: var(--gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sec-dark .stat-block .stat-number {
  color: var(--white);
}

.sec-dark .stat-block .stat-label {
  color: rgba(255,255,255,0.5);
}

/* -- STEPS / PROCESS -- */
.step-item {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.step-item:last-child {
  border-bottom: none;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
}

.step-content h4 {
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* -- QUOTE BLOCK -- */
.quote-block {
  padding: var(--section-pad) 0;
  background: var(--deep-blue);
}

.quote-block blockquote {
  max-width: 800px;
  margin: 0;
}

.quote-block blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: var(--white);
}

.quote-block footer {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* -- CONTACT FORM -- */
.form-gok .form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--deep-blue);
  margin-bottom: 0.5rem;
}

.form-gok .form-control,
.form-gok .form-select {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--deep-blue);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-gok .form-control:focus,
.form-gok .form-select:focus {
  border-color: var(--deep-blue);
  box-shadow: none;
  outline: none;
}

.form-gok textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* -- ENGAGE PATHWAYS -- */
.pathway-card {
  padding: 48px 36px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  transition: border-color var(--transition);
  height: 100%;
}

.pathway-card:hover {
  border-color: var(--deep-blue);
}

.pathway-card h4 {
  margin-bottom: 1rem;
}

.pathway-card p {
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.pathway-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.pathway-card ul li {
  font-size: 0.9375rem;
  color: var(--gray);
  padding: 6px 0;
  border-bottom: 1px solid var(--light-bg);
  padding-left: 16px;
  position: relative;
}

.pathway-card ul li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--border);
}

/* -- CTA SECTION -- */
.sec-cta {
  padding: var(--section-pad) 0;
  background: var(--deep-blue);
  text-align: center;
}

.sec-cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.sec-cta p {
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.sec-cta .label-text {
  display: block;
  margin-bottom: 1.5rem;
}

/* -- FOOTER -- */
#footer {
  background: #0f1923;
  color: rgba(255,255,255,0.6);
  padding: 80px 0 0;
      margin-top: -30px;
}

.footer-brand-wrap .footer-logo-img {
  height: 54px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.25rem;
}

.footer-about {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 300px;
}

.footer-h {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}

.footer-ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-ul li {
  margin-bottom: 0.625rem;
}

.footer-ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-ul li a:hover {
  color: var(--white);
  opacity: 1;
}

.footer-contact-ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-ul li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.625rem;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.2);
  margin-top: 2rem;
}

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  margin-top: 60px;
}

.footer-bar p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

.footer-bar a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

.footer-bar a:hover {
  color: rgba(255,255,255,0.7);
  opacity: 1;
}

/* -- UTILITIES -- */
.mb-sec { margin-bottom: var(--section-pad); }
.mt-sec { margin-top: var(--section-pad); }
.text-gray { color: var(--gray); }
.bg-light-custom { background: var(--light-bg); }
.max-w-640 { max-width: 640px; }
.max-w-800 { max-width: 800px; }
.gap-row { row-gap: 32px; }

/* -- FADE-IN ANIMATION (minimal) -- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -- RESPONSIVE -- */
@media (max-width: 991.98px) {
  :root {
    --section-pad: 72px;
  }

  .hero {
    padding: 120px 0 72px;
    min-height: auto;
  }

  .page-header {
    padding: 120px 0 56px;
  }

  #mainNav .navbar-collapse {
    background: var(--white);
    padding: 24px;
    margin-top: 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
  }

  #mainNav .navbar-nav .nav-link {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-bg);
  }
}

@media (max-width: 767.98px) {
  :root {
    --section-pad: 56px;
  }

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

  .hero-actions .btn-gok {
    width: 100%;
    text-align: center;
  }

  .step-item {
    flex-direction: column;
    gap: 12px;
  }

  .info-card {
    padding: 32px 24px;
  }

  .pathway-card {
    padding: 36px 24px;
  }

  .nav-logo-img { height: 82px; }
  .footer-brand-wrap .footer-logo-img { height: 94px; }
  .home-hero { min-height: auto; padding: 120px 0 80px; }
}

@media (max-width: 575.98px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.5rem; }
}

/* ================================================================
   PAGE-SPECIFIC STYLES — Unique visual identity per page
================================================================ */

/* === HOME PAGE ================================================ */
.home-hero {
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.home-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 50%;
}

.home-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 900px;
  height: 900px;
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 50%;
}

.home-hero .container {
  position: relative;
  z-index: 2;
}

.home-hero-content {
  max-width: 700px;
  padding: 110px 0 20px;
     
}

@media (max-width: 600px) {
  .home-hero-content {
      height: 55vh !important;
      padding: 100px 0 120px;
}
}

.home-hero .label-text {
  color: #374151;
}

.home-hero h1 {
  color: var(--deep-blue);
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 1;
  margin-bottom: 2rem;
  letter-spacing: 0.06em;
}

.home-hero .lead-text {
  color: #4B5563;
  margin-bottom: 3rem;
}

.home-hero .hero-actions .btn-gok-primary {
  background: var(--white);
  color: var(--deep-blue);
}

.home-hero .hero-actions .btn-gok-primary:hover {
  background: #e8eaed;
}

.home-hero .hero-actions .btn-gok-outline {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

.home-hero .hero-actions .btn-gok-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.home-hero-watermark {
  position: absolute;
  right: -2%;
  bottom: 5%;
  font-family: var(--font-heading);
  font-size: clamp(12rem, 22vw, 28rem);
  color: rgba(10,42,67,0.04);
  line-height: 0.85;
  letter-spacing: 0.02em;
  pointer-events: none;
  z-index: 1;
  text-transform: uppercase;
}

.home-hero-accent {
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--deep-blue);
  opacity: 0.15;
}

/* Home - Marquee */
.home-marquee {
  padding: 28px 0;
  background: var(--light-bg);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.home-marquee-track {
  display: flex;
  gap: 80px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.home-marquee-item {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 80px;
}

.home-marquee-item::after {
  content: '\2022';
  color: var(--border);
}

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

/* Home - Inline Stats */
.home-stats-strip {
  padding: 80px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.home-stat-inline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.home-stat-inline:last-child {
  border-bottom: none;
}

.home-stat-inline .big-num {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--deep-blue);
  line-height: 1;
  flex-shrink: 0;
  min-width: 180px;
}

.home-stat-inline .stat-desc {
  font-size: 1.0625rem;
  color: var(--text);
  line-height: 1.6;
}

.home-stat-inline .stat-marker {
  width: 4px;
  height: 100%;
  min-height: 24px;
  background: var(--deep-blue);
  flex-shrink: 0;
}

/* Home - Model List */
.gok-model-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gok-model-list li {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 14px;
}

.gok-model-list li:last-child {
  border-bottom: none;
}

.gok-model-list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

/* Home - Model Diagram */
.home-model-visual {
  padding: 120px 0;
  background: var(--deep-blue);
  position: relative;
  overflow: hidden;
}

.home-model-visual::before {
  content: 'MODEL';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 20vw;
  color: rgba(255,255,255,0.02);
  letter-spacing: 0.1em;
  pointer-events: none;
}

.model-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
  z-index: 2;
}

.model-flow-step {
  flex: 1;
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.model-flow-step:last-child {
  border-right: none;
}

.model-flow-step .flow-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  margin-bottom: 1rem;
}

.model-flow-step h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.model-flow-step p {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  line-height: 1.6;
}

.model-flow-arrow {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-right: 1px solid rgba(255,255,255,0.2);
  transform: translateY(-50%) rotate(45deg);
  z-index: 3;
}

/* Home - Academy Showcase */
.home-academy-showcase {
  padding: 0;
  position: relative;
}

.home-academy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.home-academy-left {
  background: var(--light-bg);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-academy-right {
  background: var(--deep-blue);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-academy-right h3,
.home-academy-right h4 {
  color: var(--white);
}

.home-academy-right p {
  color: rgba(255,255,255,0.6);
}

.academy-focus-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 16px;
}

.academy-focus-item:last-child {
  border-bottom: none;
}

.academy-focus-item .focus-marker {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  flex-shrink: 0;
}

.academy-focus-item span {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* Home - Engage Cards */
.home-engage-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.home-engage-card {
  padding: 56px 40px;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}

.home-engage-card:last-child {
  border-right: none;
}

.home-engage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--deep-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.home-engage-card:hover::before {
  transform: scaleX(1);
}

.home-engage-card:hover {
  background: var(--light-bg);
}

.home-engage-card .card-num {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.home-engage-card h4 {
  margin-bottom: 0.75rem;
}

.home-engage-card p {
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

/* === ABOUT PAGE ================================================ */
/* Inner-page hero heading structure:
   .page-hero-org  = small "The Gift of Knowledge Foundation" on top
   h1              = large page title (Who We Are, What We Do, etc.)  */
.page-hero-org {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #374151;
  display: block;
  margin-bottom: 0.75rem;
}

.model-hero .page-hero-org,
.inst-hero .page-hero-org,
.impact-hero .page-hero-org,
.engage-hero .page-hero-org {
  color: rgba(255,255,255,0.5);
}

.about-hero {
  padding: 180px 0 100px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.about-hero h1 {
  font-size: clamp(4.5rem, 9vw, 9rem);
  line-height: 0.95;
  margin-bottom: 2rem;
}

.about-hero-meta {
  display: flex;
  gap: 48px;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.about-hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-hero-meta-item .meta-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
}

.about-hero-meta-item .meta-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--deep-blue);
}

/* About - Split Mission/Vision */
.about-mv-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.about-mv-mission {
  background: var(--deep-blue);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-mv-vision {
  background: var(--light-bg);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-mv-mission .label-text { color: rgba(255,255,255,0.35); }
.about-mv-mission h2 { color: var(--white); margin-bottom: 1.5rem; }
.about-mv-mission p { color: rgba(255,255,255,0.6); }

/* About - Principle Banner */
.about-principle {
  padding: 100px 0;
  background: var(--deep-blue);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-principle::before {
  content: '\201C';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
  font-size: 20rem;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}

.about-principle h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.5rem);
  max-width: 900px;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
}

.about-principle p {
  color: rgba(255,255,255,0.4);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.about-principle p.principle-body {
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* About - Timeline */
.about-timeline {
  position: relative;
  padding-left: 60px;
}

.about-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.about-timeline-item {
  position: relative;
  padding: 0 0 56px;
}

.about-timeline-item:last-child {
  padding-bottom: 0;
}

.about-timeline-item::before {
  content: '';
  position: absolute;
  left: -45px;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--deep-blue);
  border-radius: 50%;
}

.about-timeline-item h4 {
  margin-bottom: 0.5rem;
}

.about-timeline-item p {
  font-size: 0.9375rem;
}

/* About - Governance Grid */
.about-gov-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
}

.about-gov-cell {
  background: var(--white);
  padding: 48px 40px;
}

.about-gov-cell h4 {
  margin-bottom: 0.75rem;
}

.about-gov-cell p {
  font-size: 0.9375rem;
}

/* About - Focus List */
.gok-focus-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gok-focus-list li {
  font-size: 1rem;
  color: var(--text);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}

.gok-focus-list li:last-child {
  border-bottom: none;
}

.gok-focus-list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--deep-blue);
  flex-shrink: 0;
}

/* Focus list inside pillar cards — tighter spacing */
.model-pillar-card .gok-focus-list li {
  padding: 10px 0;
  font-size: 0.875rem;
  color: var(--gray);
}

.model-pillar-card .gok-focus-list li::before {
  width: 6px;
  height: 6px;
}

/* About - Scope Items */
.about-scope-row {
  width: 100%;
}

.about-scope-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-scope-item:last-child {
  border-bottom: none;
}

.about-scope-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  min-width: 160px;
  flex-shrink: 0;
}

.about-scope-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.04em;
}

/* === MODEL PAGE ================================================ */
.model-hero {
  padding: 160px 0 100px;
  background: var(--deep-blue);
  position: relative;
  overflow: hidden;
}

.model-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,0.025) 59px, rgba(255,255,255,0.025) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,0.025) 59px, rgba(255,255,255,0.025) 60px);
  pointer-events: none;
}

.model-hero .container { position: relative; z-index: 2; }
.model-hero .label-text { color: rgba(255,255,255,0.35); }
.model-hero h1 { font-size: clamp(4.5rem, 9vw, 9rem); line-height: 0.95; color: var(--white); margin-bottom: 1.5rem; }
.model-hero .lead-text { color: rgba(255,255,255,0.55); }

/* Model - Contrast Blocks */
.model-contrast {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.model-contrast-problem {
  background: #fafafa;
  padding: 80px 60px;
  border-right: 3px solid #dc2626;
}

.model-contrast-problem .label-text { color: #dc2626; }

.model-contrast-solution {
  background: var(--deep-blue);
  padding: 80px 60px;
  border-left: none;
}

.model-contrast-solution .label-text { color: rgba(255,255,255,0.4); }
.model-contrast-solution h2 { color: var(--white); }
.model-contrast-solution p { color: rgba(255,255,255,0.6); }

/* Model - Process Timeline */
.model-process {
  position: relative;
  counter-reset: process-counter;
}

.model-process-line {
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--deep-blue), var(--border));
}

.model-process-step {
  display: flex;
  gap: 40px;
  padding: 40px 0;
  position: relative;
}

.model-process-dot {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--deep-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  position: relative;
  z-index: 2;
}

.model-process-content {
  padding-top: 12px;
  flex: 1;
}

.model-process-content h3 {
  margin-bottom: 0.5rem;
}

.model-process-content p {
  font-size: 0.9375rem;
  max-width: 520px;
}

/* Model - Pillars with accent tops */
.model-pillar-card {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--deep-blue);
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.model-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10,42,67,0.08);
}

.model-pillar-card .pillar-num {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: rgba(10,42,67,0.06);
  line-height: 1;
  margin-bottom: 1rem;
}

/* === INSTITUTIONS PAGE ======================================== */
.inst-hero {
  padding: 160px 0 100px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.inst-hero h1 { font-size: clamp(4.5rem, 9vw, 9rem); line-height: 0.95; }

.inst-hero-counter {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
}

.inst-hero-counter .counter-big {
  font-family: var(--font-heading);
  font-size: clamp(8rem, 16vw, 14rem);
  color: rgba(10,42,67,0.04);
  line-height: 0.85;
}

.inst-hero-counter .counter-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

/* Institutions - Academy Feature */
.inst-academy-feature {
  padding: 0;
  background: var(--deep-blue);
}

.inst-academy-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  min-height: 600px;
}

.inst-academy-info {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.inst-academy-info .label-text { color: rgba(255,255,255,0.3); }
.inst-academy-info h2 { color: var(--white); margin-bottom: 1.5rem; }
.inst-academy-info p { color: rgba(255,255,255,0.6); }

.inst-academy-details {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.inst-focus-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.inst-focus-bar:last-child {
  border-bottom: none;
}

.inst-focus-bar .bar-indicator {
  width: 40px;
  height: 3px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

.inst-focus-bar h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.inst-focus-bar p {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Institutions - Academy role list */
.gok-inst-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.gok-inst-list li {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.gok-inst-list li:last-child {
  border-bottom: none;
}

.gok-inst-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

/* Institutions - Roadmap */
.inst-roadmap {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
}

.inst-roadmap-item {
  flex: 1;
  padding: 48px 32px;
  border-right: 1px solid var(--border);
  position: relative;
}

.inst-roadmap-item:last-child {
  border-right: none;
}

.inst-roadmap-item .roadmap-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 2px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.inst-roadmap-item .roadmap-status.active {
  background: var(--deep-blue);
  color: var(--white);
}

.inst-roadmap-item .roadmap-status.upcoming {
  background: var(--light-bg);
  color: var(--gray);
}

/* === IMPACT PAGE ============================================== */
.impact-hero {
  padding: 160px 0 80px;
  background: var(--deep-blue);
  position: relative;
  overflow: hidden;
}

.impact-hero .container { position: relative; z-index: 2; }
.impact-hero .label-text { color: rgba(255,255,255,0.35); }
.impact-hero h1 { font-size: clamp(4.5rem, 9vw, 9rem); line-height: 0.95; color: var(--white); }
.impact-hero .lead-text { color: rgba(255,255,255,0.55); }

.impact-hero-number {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: clamp(10rem, 20vw, 22rem);
  color: rgba(255,255,255,0.04);
  line-height: 0.85;
  pointer-events: none;
}

/* Impact - Metric Bars */
.impact-metric {
  display: grid;
  grid-template-columns: 200px 1fr 120px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  gap: 32px;
}

.impact-metric:last-child { border-bottom: none; }

.impact-metric .metric-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--deep-blue);
}

.impact-metric .metric-bar {
  height: 6px;
  background: var(--light-bg);
  border-radius: 3px;
  overflow: hidden;
}

.impact-metric .metric-bar-fill {
  height: 100%;
  background: var(--deep-blue);
  border-radius: 3px;
  transition: width 1.2s ease;
}

.impact-metric .metric-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--deep-blue);
  text-align: right;
}

/* Impact - Big Numbers Row */
.impact-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.impact-number-cell {
  padding: 56px 32px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.impact-number-cell:last-child { border-right: none; }

.impact-number-cell .num {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4.5rem);
  color: var(--deep-blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.impact-number-cell .lbl {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

/* === ENGAGE PAGE ============================================== */
.engage-hero {
  padding: 160px 0 100px;
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.engage-hero h1 {
  font-size: clamp(4.5rem, 9vw, 9rem);
  line-height: 0.95;
}

/* Engage - Pathway Columns */
.engage-paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.engage-path-col {
  padding: 56px 40px;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background var(--transition);
}

.engage-path-col:last-child { border-right: none; }

.engage-path-col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.engage-path-col:nth-child(1)::before { background: var(--deep-blue); }
.engage-path-col:nth-child(2)::before { background: var(--gray); }
.engage-path-col:nth-child(3)::before { background: #374151; }

.engage-path-col:hover { background: var(--light-bg); }

.engage-path-col .path-num {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: rgba(10,42,67,0.05);
  line-height: 1;
  margin-bottom: 1rem;
}

.engage-path-col h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.engage-path-col .path-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.engage-path-col .path-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--gray);
}

.engage-path-col .path-email {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--deep-blue);
  display: inline-block;
  margin-top: 1rem;
  letter-spacing: 0.02em;
}

/* Engage - Detail Sections (alternating) */
.engage-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.engage-detail:nth-child(even) {
  background: var(--light-bg);
}

.engage-detail-number {
  font-family: var(--font-heading);
  font-size: 8rem;
  color: rgba(10,42,67,0.04);
  line-height: 1;
  position: absolute;
  right: 0;
  top: -20px;
}

/* === CONTACT PAGE ============================================= */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.contact-info-panel {
  background: var(--deep-blue);
  padding: 160px 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-panel .label-text { color: rgba(255,255,255,0.35); }
.contact-info-panel .page-hero-org { color: rgba(255,255,255,0.45); }
.contact-info-panel h1 { color: var(--white); margin-bottom: 1.5rem; font-size: clamp(2.5rem, 4vw, 4rem); }
.contact-info-panel .lead-text { color: rgba(255,255,255,0.5); margin-bottom: 3rem; }

.contact-channel {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-channel:last-child { border-bottom: none; }

.contact-channel .ch-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}

.contact-channel .ch-value {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.contact-channel .ch-value a {
  color: rgba(255,255,255,0.8);
}

.contact-channel .ch-value a:hover {
  color: var(--white);
  opacity: 1;
}

.contact-form-panel {
  background: var(--white);
  padding: 160px 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* === RESPONSIVE - PAGE SPECIFIC =============================== */
@media (max-width: 991.98px) {
  .home-hero-watermark { display: none; }
  .home-academy-inner,
  .about-mv-split,
  .model-contrast,
  .inst-academy-inner,
  .contact-split { grid-template-columns: 1fr; }
  
  .model-flow {
    flex-direction: column;
  }
  
  .model-flow-step {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
  }
  
  .model-flow-arrow { display: none; }
  
  .home-engage-cards,
  .engage-paths-grid,
  .impact-numbers { grid-template-columns: 1fr 1fr; }
  
  .inst-hero-counter,
  .impact-hero-number { display: none; }
  
  .inst-roadmap { flex-direction: column; }
  .inst-roadmap-item { border-right: none; border-bottom: 1px solid var(--border); }
  
  .about-hero h1,
  .model-hero h1,
  .inst-hero h1,
  .impact-hero h1,
  .engage-hero h1 { font-size: clamp(3.5rem, 7vw, 7rem); }
  
  .contact-info-panel,
  .contact-form-panel { padding: 80px 32px; }
  
  .home-academy-left,
  .home-academy-right,
  .about-mv-mission,
  .about-mv-vision,
  .inst-academy-info,
  .inst-academy-details,
  .model-contrast-problem,
  .model-contrast-solution { padding: 56px 32px; }

  .impact-metric {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .impact-metric .metric-bar { display: none; }
}

@media (max-width: 767.98px) {
  .home-engage-cards,
  .engage-paths-grid,
  .impact-numbers { grid-template-columns: 1fr; }
  
  .about-gov-grid { grid-template-columns: 1fr; }
  
  .about-hero-meta { flex-direction: column; gap: 16px; }
  
  .home-stat-inline {
    flex-direction: column;
    gap: 4px;
  }
  
  .home-stat-inline .big-num {
    min-width: auto;
  }

  .about-scope-item {
    flex-direction: column;
    gap: 6px;
  }

  .about-scope-label {
    min-width: auto;
  }

  .about-principle h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  }

  .sec-cta h2 {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
  }
}

/* ================================================================
   FULL-BLEED IMAGE BREAKS — Cinematic reveal effect
   Used across pages to break text monotony
================================================================ */
.page-img-break {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.page-img-break img.page-img-reveal {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) contrast(1.05);
  transition: filter 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1.08);
}

.page-img-break.visible img.page-img-reveal {
  filter: grayscale(30%) contrast(1.1);
  transform: scale(1);
}

/* Geometric overlay — diagonal slice accent */
.page-img-break::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    160deg,
    rgba(10, 42, 67, 0.65) 0%,
    rgba(10, 42, 67, 0.15) 50%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Subtle top/bottom fade for seamless section blending */
.page-img-break::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, var(--white), transparent);
  z-index: 3;
  pointer-events: none;
}

.sec-light + .page-img-break::after {
  background: linear-gradient(to top, var(--light-bg), transparent);
}

/* Image break inside dark contexts */
.page-img-break-dark::after {
  background: linear-gradient(to top, var(--deep-blue), transparent) !important;
}

/* Side-by-side image + content layout */
.page-img-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  overflow: hidden;
}

.page-img-side-img {
  position: relative;
  overflow: hidden;
}

.page-img-side-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  transition: filter 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1.08);
}

.page-img-side.visible .page-img-side-img img {
  filter: grayscale(30%) contrast(1.1);
  transform: scale(1);
}

.page-img-side-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 42, 67, 0.2);
  z-index: 2;
  pointer-events: none;
}

.page-img-side-content {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Inset image — smaller, with shadow frame effect */
.page-img-inset {
  position: relative;
  margin: 0 auto;
  max-width: 920px;
  padding: 0 2rem;
}

.page-img-inset img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  transition: filter 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 24px 80px rgba(10, 42, 67, 0.12);
}

.page-img-inset.visible img {
  filter: grayscale(30%) contrast(1.1);
}

/* Founder quote styling */
.founder-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.85);
  margin: 2rem 0;
  padding-left: 20px;
  border-left: 3px solid rgba(255, 255, 255, 0.25);
}

/* Responsive - image components */
@media (max-width: 991.98px) {
  .page-img-side {
    grid-template-columns: 1fr;
  }
  .page-img-side-img {
    height: 320px;
  }
  .page-img-side-content {
    padding: 56px 32px;
  }
  .page-img-break {
    height: 320px;
  }
}

@media (max-width: 767.98px) {
  .page-img-break {
    height: 240px;
  }
  .page-img-side-img {
    height: 240px;
  }
  .page-img-inset img {
    height: 220px;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
