/* ==========================================================================
   Dameko Canez Dean - Redesign Mockup
   Design system: deep teal ink + logo teal accent + warm ivory neutrals
   Type: Cormorant Garamond (display) / Manrope (body)
   ========================================================================== */

:root {
  --ink: #12262b;
  --ink-2: #1f3a40;
  --teal: #1a8f86;
  --teal-bright: #3ecfbf;
  --teal-soft: #e3f4f2;
  --gold: #c9a961;
  --sand: #f3eee5;
  --ivory: #fbf9f5;
  --white: #ffffff;
  --muted: #5b6b6e;
  --line: rgba(18, 38, 43, 0.1);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -30px rgba(18, 38, 43, 0.35);
  --shadow-sm: 0 10px 30px -18px rgba(18, 38, 43, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
  color: var(--ink);
}
h1 { font-size: clamp(2.75rem, 6.5vw, 5rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.65; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--teal);
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 28px; height: 1px; background: var(--teal); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container.narrow { max-width: 820px; }
.container.wide { max-width: 1360px; }

.section { padding-block: var(--section); position: relative; }
.section.tight { padding-block: calc(var(--section) * .6); }
.section.sand { background: var(--sand); }
.section.dark { background: var(--ink); color: rgba(255,255,255,.8); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark .eyebrow { color: var(--teal-bright); }
.section.dark .eyebrow::before, .section.dark .eyebrow::after { background: var(--teal-bright); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 1000;
}
.skip-link:focus { top: 1rem; }

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--teal); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--ink); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--teal-bright); color: var(--ink); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

.text-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; color: var(--ink); font-size: .95rem;
}
.text-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.text-link:hover { color: var(--teal); }
.text-link:hover svg { transform: translateX(4px); }

/* Header ---------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding-block: .85rem;
  background: rgba(251, 249, 245, 0);
}
.site-header.scrolled {
  background: rgba(251, 249, 245, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: .5rem;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; color: var(--ink); }
/* Logo: the PNG has a lot of transparent padding, so the frame crops and scales it up */
.logo { display: block; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; flex: none; transition: width .35s var(--ease), height .35s var(--ease); }
.logo img { width: 100%; height: 100%; object-fit: cover; object-position: 49% 50%; transform: scale(1.5); }
.site-header .logo { background: #fff; box-shadow: 0 6px 20px -10px rgba(18,38,43,.35); }
.site-header.scrolled .logo { width: 68px; height: 68px; }
.logo-lg { width: 150px; height: 150px; background: #fff; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; white-space: nowrap; }
.nav a { font-size: .88rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); position: relative; padding-block: .3rem; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--teal); }
.nav .btn { padding: .7rem 1.2rem; font-size: .82rem; white-space: nowrap; }
.nav a.btn-primary { color: #fff; }
.nav a.btn-primary:hover { color: #fff; }
.nav .btn::after { display: none; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line);
  background: #fff; cursor: pointer; place-items: center; position: relative; z-index: 130;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: absolute; left: 12px; transition: transform .35s var(--ease), opacity .3s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1280px) {
  .nav { gap: 1.2rem; }
  .nav ul { gap: 1.15rem; }
  .nav a { font-size: .82rem; }
  .nav .btn { padding: .65rem 1rem; font-size: .78rem; }
}
@media (max-width: 1080px) {
  .nav .btn { display: none; }
}
@media (max-width: 900px) {
  .site-header .logo, .site-header.scrolled .logo { width: 72px; height: 72px; }
  .logo-lg { width: 120px; height: 120px; }
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: 0; z-index: 120;
    background: var(--ink); color: #fff;
    flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 6rem var(--gutter) 3rem;
    transform: translateX(100%); transition: transform .45s var(--ease);
    overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav ul { flex-direction: column; gap: .2rem; width: 100%; }
  .nav a { color: #fff; font-family: var(--font-display); font-size: 2rem; font-weight: 600; letter-spacing: 0; display: block; padding: .45rem 0; opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
  .nav.open a { opacity: 1; transform: none; }
  .nav.open li:nth-child(1) a { transition-delay: .08s } .nav.open li:nth-child(2) a { transition-delay: .12s }
  .nav.open li:nth-child(3) a { transition-delay: .16s } .nav.open li:nth-child(4) a { transition-delay: .2s }
  .nav.open li:nth-child(5) a { transition-delay: .24s } .nav.open li:nth-child(6) a { transition-delay: .28s }
  .nav.open li:nth-child(7) a { transition-delay: .32s } .nav.open li:nth-child(8) a { transition-delay: .36s }
  .nav a[aria-current="page"] { color: var(--teal-bright); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1.5rem; font-family: var(--font-body); font-size: .95rem; background: var(--teal-bright); color: var(--ink); padding: 1rem 1.6rem; opacity: 1; transform: none; }
  .nav-social { display: flex; gap: 1rem; margin-top: 2.5rem; }
  .nav-social a { font-family: var(--font-body); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; opacity: .7 !important; transform: none !important; }
  body.nav-locked { overflow: hidden; }
}
@media (min-width: 901px) { .nav-social { display: none; } }

/* Hero (home) ------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f6f1e8 0%, var(--ivory) 100%);
  padding-top: clamp(8rem, 14vw, 10.5rem);
}
.hero::before {
  content: ""; position: absolute; right: -10vw; top: 5%; width: 62vw; max-width: 900px; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(62,207,191,.28), rgba(62,207,191,0) 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.hero-copy { padding-bottom: clamp(3rem, 8vw, 7rem); position: relative; z-index: 2; }
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--teal); }
.hero .lead { max-width: 540px; margin-bottom: 2rem; }
.hero-roles { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin: 0 0 2.2rem; padding: 0; list-style: none; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.hero-roles li::before { content: "•"; color: var(--teal); margin-right: .8rem; }
.hero-roles li:first-child::before { display: none; }

.hero-figure { position: relative; align-self: end; }
.hero-figure::before {
  content: ""; position: absolute; inset: auto 8% 0 8%; height: 86%;
  border-radius: 300px 300px 0 0; background: linear-gradient(180deg, var(--ink-2), var(--ink)); z-index: 0;
}
.hero-figure::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 0; height: 1px; background: var(--line);
}
.hero-figure img {
  position: relative; z-index: 1; width: min(100%, 520px); margin-inline: auto;
  filter: drop-shadow(0 30px 40px rgba(18,38,43,.35));
}
.hero-badge {
  position: absolute; z-index: 2; left: 0; bottom: 18%;
  background: #fff; border-radius: 16px; padding: 1rem 1.2rem; box-shadow: var(--shadow);
  max-width: 230px; font-size: .85rem; line-height: 1.5;
}
.hero-badge strong { display: block; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.1; margin-bottom: .2rem; }
.hero-badge .muted { font-size: .78rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .eyebrow::before { display: none; }
  .page-hero .eyebrow::before { display: none; }
  .hero-copy { padding-bottom: 0; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-roles { justify-content: center; }
  .btn-row { justify-content: center; }
  .hero-figure { margin-top: 3rem; }
  .hero-figure img { width: min(78%, 420px); }
  .hero-badge { left: 0; bottom: 8%; max-width: 200px; text-align: left; }
}
@media (max-width: 560px) {
  .hero-badge { display: none; }
  .hero-figure img { width: 88%; }
}

/* Scripture / quote block --------------------------------------------- */
.verse {
  text-align: center; max-width: 900px; margin-inline: auto;
}
.verse blockquote { margin: 0; }
.verse p.quote {
  font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.3; font-weight: 500; font-style: italic; color: var(--ink);
}
.verse cite { display: block; margin-top: 1.4rem; font-style: normal; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--teal); }
.verse .mark { font-family: var(--font-display); font-size: 6rem; line-height: .6; color: var(--gold); opacity: .7; display: block; margin-bottom: 1rem; }

.pull-quote {
  border-left: 3px solid var(--gold); padding: .5rem 0 .5rem 1.6rem; margin: 2rem 0;
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-style: italic; line-height: 1.35; color: var(--ink-2);
}
.pull-quote cite { display: block; font-family: var(--font-body); font-style: normal; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--teal); margin-top: .8rem; }

/* Pillars (home) ------------------------------------------------------ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pillar {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 380px; border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate;
  box-shadow: var(--shadow-sm);
}
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.pillar::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,38,43,.05) 20%, rgba(18,38,43,.9) 100%); }
.pillar:hover img { transform: scale(1.06); }
.pillar-body { padding: 1.8rem; }
.pillar-body .eyebrow { color: var(--teal-bright); margin-bottom: .5rem; }
.pillar-body .eyebrow::before { background: var(--teal-bright); }
.pillar h3 { color: #fff; margin-bottom: .4rem; }
.pillar p { font-size: .95rem; color: rgba(255,255,255,.78); margin-bottom: 1rem; }
.pillar .text-link { color: #fff; }
.pillar .text-link:hover { color: var(--teal-bright); }
.pillar.tall { grid-row: span 2; min-height: 100%; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } .pillar { min-height: 320px; } }
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } .pillar { min-height: 280px; } }

/* Stats ---------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--ivory); padding: 2rem 1.6rem; }
.feature .stats { grid-template-columns: 1fr 1fr; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--ink); }
.stat span { font-size: .85rem; color: var(--muted); letter-spacing: .05em; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Two-column feature ------------------------------------------------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.feature.rev > :first-child { order: 2; }
.feature-media { position: relative; }
.feature-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.feature-media.portrait img { aspect-ratio: 3 / 4; }
.feature-media.landscape img { aspect-ratio: 4 / 3; }
.feature-media .frame { position: absolute; inset: -14px -14px 14px 14px; border: 1px solid rgba(26,143,134,.35); border-radius: var(--radius); z-index: -1; }
.feature-media.rev .frame { inset: 14px 14px -14px -14px; }
.feature-copy h2 { margin-bottom: 1rem; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature.rev > :first-child { order: 0; }
  .feature-media .frame { display: none; }
}

/* Inner page hero ----------------------------------------------------- */
.page-hero {
  position: relative; padding-top: clamp(8rem, 16vw, 12rem); padding-bottom: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, #f4efe6 0%, var(--ivory) 100%);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; right: -15vw; top: -30vw; width: 60vw; max-width: 760px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(62,207,191,.22), rgba(62,207,191,0) 65%); pointer-events: none;
}
.page-hero h1 { max-width: 14ch; margin-bottom: 1rem; }
.page-hero .lead { max-width: 640px; }
.crumbs { list-style: none; display: flex; gap: .6rem; padding: 0; margin: 0 0 1.4rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .6rem; opacity: .5; }
.crumbs a { color: var(--teal); }
.page-hero.split .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.page-hero.split .hero-figure img { width: min(100%, 440px); }
@media (max-width: 860px) {
  .page-hero.split .container { grid-template-columns: 1fr; }
  .page-hero.split .hero-figure { margin-top: 2rem; }
  .page-hero.split .hero-figure img { width: min(75%, 380px); }
}

/* Cards ---------------------------------------------------------------- */
.card {
  background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Timeline (About) ----------------------------------------------------- */
.story { display: grid; grid-template-columns: 260px 1fr; gap: clamp(2rem, 5vw, 5rem); }
.story-nav { position: sticky; top: 110px; align-self: start; }
.story-nav ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.story-nav a { display: block; padding: .55rem 0 .55rem 1.2rem; font-size: .9rem; font-weight: 600; color: var(--muted); margin-left: -1px; border-left: 2px solid transparent; }
.story-nav a:hover, .story-nav a.active { color: var(--ink); border-color: var(--teal); }
.story-nav .card { margin-top: 2rem; padding: 1.4rem; }
.chapter { padding-bottom: clamp(3rem, 6vw, 5rem); scroll-margin-top: 110px; }
.chapter + .chapter { border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 5rem); }
.chapter-num { font-family: var(--font-display); font-size: 4rem; line-height: 1; color: var(--teal-soft); font-weight: 700; margin-bottom: -1.4rem; }
.chapter h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.chapter-grid { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }
.chapter-grid figure { margin: 0; position: sticky; top: 120px; }
.chapter-grid figure img { border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.chapter-grid figcaption { font-size: .8rem; color: var(--muted); margin-top: .6rem; letter-spacing: .04em; }
.milestones { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .9rem; }
.milestones li { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding: 1rem 1.2rem; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.milestones strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--teal); line-height: 1.2; }
.milestones span { font-size: .95rem; }
.companies-list { columns: 2; column-gap: 2rem; padding-left: 1.2rem; margin: 1rem 0 0; }
.companies-list li { break-inside: avoid; padding: .2rem 0; }
@media (max-width: 1000px) { .story { grid-template-columns: 1fr; } .story-nav { position: static; } .story-nav ul { display: flex; flex-wrap: wrap; gap: .3rem .9rem; border: 0; } .story-nav a { padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; } .story-nav a.active { background: var(--ink); color: #fff; border-color: var(--ink); } .story-nav .card { display: none; } }
@media (max-width: 760px) { .chapter-grid { grid-template-columns: 1fr; } .chapter-grid figure { position: static; max-width: 360px; } .companies-list { columns: 1; } .milestones li { grid-template-columns: 1fr; gap: .2rem; } }

/* Gallery -------------------------------------------------------------- */
.gallery { display: grid; gap: 1rem; }
.gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery a { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); box-shadow: var(--shadow-sm); }
.gallery a img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .8s var(--ease); }
.gallery.portrait a img { aspect-ratio: 3/4; }
.gallery.square a img { aspect-ratio: 1; }
.gallery a::after {
  content: "+"; position: absolute; right: .8rem; bottom: .8rem; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.4rem; font-weight: 300;
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease);
}
.gallery a:hover img { transform: scale(1.05); }
.gallery a:hover::after { opacity: 1; transform: none; }
@media (max-width: 900px) { .gallery.cols-4 { grid-template-columns: repeat(2, 1fr); } .gallery.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery.cols-3, .gallery.cols-4 { grid-template-columns: 1fr 1fr; gap: .6rem; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,22,25,.94); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1200px); max-height: 86vh; object-fit: contain; border-radius: 8px; box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.lightbox figcaption { position: absolute; left: 0; right: 0; bottom: 1.4rem; text-align: center; color: rgba(255,255,255,.75); font-size: .85rem; letter-spacing: .04em; padding-inline: 4rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.3rem; display: grid; place-items: center; transition: background .25s; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox .lb-close { top: 1.2rem; right: 1.2rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 1rem; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 3.6rem; transform: none; } }

/* Sponsorship blocks (Philanthropy) ---------------------------------- */
.cause { display: grid; grid-template-columns: 380px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-block: clamp(2.5rem, 5vw, 4rem); }
.cause + .cause { border-top: 1px solid var(--line); }
.cause-copy { position: sticky; top: 120px; }
.cause-copy .tag { display: inline-block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--teal); background: var(--teal-soft); border-radius: 999px; padding: .35rem .85rem; margin-bottom: 1rem; }
.cause-copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
@media (max-width: 900px) { .cause { grid-template-columns: 1fr; } .cause-copy { position: static; } }

/* Sectors (Entrepreneurship) ---------------------------------------- */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.sector { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: .9rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.sector:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(26,143,134,.4); }
.sector .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; }
.sector .icon svg { width: 22px; height: 22px; }
.sector h3 { font-size: 1.35rem; margin: 0; }
.sector .num { font-size: .72rem; letter-spacing: .2em; color: var(--muted); font-weight: 700; }
@media (max-width: 960px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sectors { grid-template-columns: 1fr 1fr; gap: .7rem; } .sector { padding: 1.2rem 1rem; } .sector h3 { font-size: 1.1rem; } }

.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.logo-card { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.4rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .9rem; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.logo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--ink); }
.logo-card .logo-box { width: 100%; aspect-ratio: 4/3; display: grid; place-items: center; background: var(--ivory); border-radius: 10px; padding: .8rem; }
.logo-card .logo-box img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.logo-card strong { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.15; overflow-wrap: anywhere; }
.logo-card span { font-size: .78rem; color: var(--muted); letter-spacing: .04em; display: inline-flex; align-items: center; gap: .35rem; max-width: 100%; word-break: break-all; }
.logo-card span svg { width: 13px; height: 13px; }
@media (max-width: 960px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .logo-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; } .logo-card { padding: 1rem; } }

/* Leaders (Politics) ------------------------------------------------- */
.leaders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.leader { background: #fff; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.leader:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.leader a { display: block; overflow: hidden; }
.leader img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.leader:hover img { transform: scale(1.04); }
.leader-body { padding: 1.1rem 1.2rem 1.3rem; }
.leader-body strong { display: block; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.15; margin-bottom: .3rem; }
.leader-body span { font-size: .82rem; color: var(--muted); line-height: 1.45; display: block; }
@media (max-width: 960px) { .leaders { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .leaders { grid-template-columns: repeat(2, 1fr); gap: .8rem; } .leader-body { padding: .9rem; } .leader-body strong { font-size: 1.1rem; } }

/* Speaking ------------------------------------------------------------- */
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.qa .card h3 { font-size: 1.5rem; }
.qa .card h3 span { color: var(--teal); }
.questions { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.questions li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.3; }
.questions li span { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--teal); color: var(--teal); display: grid; place-items: center; font-family: var(--font-body); font-size: .8rem; font-weight: 700; }
.prose { max-width: 720px; }
.prose p { margin-bottom: 1.3em; }
@media (max-width: 760px) { .qa { grid-template-columns: 1fr; } }

/* Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-info address { font-style: normal; line-height: 1.8; }
.info-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.info-list li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start; }
.info-list .icon { width: 48px; height: 48px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; }
.info-list .icon svg { width: 20px; height: 20px; }
.info-list strong { display: block; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.info-list a { color: var(--ink); font-weight: 600; }
.info-list a:hover { color: var(--teal); }
.form { background: #fff; border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field label abbr { color: var(--teal); text-decoration: none; }
.field input, .field textarea { font: inherit; padding: .9rem 1rem; border-radius: 10px; border: 1.5px solid var(--line); background: var(--ivory); color: var(--ink); transition: border-color .25s, box-shadow .25s; width: 100%; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(26,143,134,.15); background: #fff; }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 1rem; }
.form-success { display: none; padding: 1rem 1.2rem; border-radius: 10px; background: var(--teal-soft); color: var(--teal); font-weight: 600; margin-top: 1rem; }
.form-success.show { display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

.social-row { display: flex; gap: .7rem; flex-wrap: wrap; }
.social-row a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); background: #fff; transition: background .25s, color .25s, transform .3s var(--ease); }
.social-row a:hover { background: var(--teal); color: #fff; transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; }

/* CTA band ------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(2.5rem, 6vw, 5rem); display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; width: 520px; aspect-ratio: 1; border-radius: 50%; right: -160px; top: -200px; background: radial-gradient(circle, rgba(62,207,191,.45), rgba(62,207,191,0) 65%); z-index: -1; }
.cta-band h2 { color: #fff; margin-bottom: .6rem; }
.cta-band p { color: rgba(255,255,255,.7); max-width: 520px; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* Footer --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-top: clamp(4rem, 8vw, 6rem); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: -200px; bottom: -300px; width: 640px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(62,207,191,.18), rgba(62,207,191,0) 65%); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .logo { margin-bottom: 1.4rem; }
.footer-brand .tagline { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; color: #fff; line-height: 1.3; margin-bottom: 1rem; }
.footer-brand p { font-size: .92rem; max-width: 380px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.2rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer ul a { color: rgba(255,255,255,.72); font-size: .95rem; }
.site-footer ul a:hover { color: var(--teal-bright); }
.site-footer address { font-style: normal; font-size: .95rem; line-height: 1.8; }
.site-footer address a { color: #fff; }
.site-footer address a:hover { color: var(--teal-bright); }
.site-footer .social-row { margin-top: 1.4rem; }
.site-footer .social-row a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.site-footer .social-row a:hover { background: var(--teal-bright); color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.7); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Reveal animations --------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s } .reveal.d2 { transition-delay: .2s } .reveal.d3 { transition-delay: .3s } .reveal.d4 { transition-delay: .4s }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation: none !important; transition-duration: .01ms !important; }
}

/* Utilities ------------------------------------------------------------ */
.mt-1 { margin-top: 1rem } .mt-2 { margin-top: 2rem } .mt-3 { margin-top: 3rem }
.mb-0 { margin-bottom: 0 }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; }
