﻿/* Kingdom Creed Global — brand: deep sapphire navy + brushed silver (from the Kingdom Creed Global logo) */
:root {
  --navy-900: #061331;   /* deepest navy, logo edges */
  --navy-800: #0b2257;   /* logo background navy */
  --navy-700: #17397c;   /* sapphire highlight */
  --glow: rgba(70,150,255,.22);  /* the small bright-blue glint under the name */
  --silver-500: #a2adbf; /* brushed silver ring */
  --silver-300: #d9dfe9; /* polished silver (text/accents on navy) */
  --silver-100: #edf0f6;
  --silver-50: #f9fafc;
  --cream: #f3f5f9;      /* cool off-white page background */
  --paper: #ffffff;
  --ink: #0a1634;
  --muted: #5b6479;
  --line: #dde2eb;
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
section[id] { scroll-margin-top: 20px; }
:focus-visible { outline: 2px solid var(--navy-700); outline-offset: 3px; border-radius: 6px; }

.page { max-width: 1180px; margin: 0 auto; padding: 16px 16px 24px; }
.accent { color: var(--navy-700); }
.muted { color: var(--muted); }

/* ---------- Panels ---------- */
/* Dark navy panel (values, vision) */
.panel {
  position: relative;
  color: #fff;
  border-radius: var(--radius);
  background:
    radial-gradient(900px 420px at 85% -10%, var(--glow), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  overflow: hidden;
}
/* Light silver panel (hero, footer) */
.panel-light {
  color: var(--ink);
  background:
    radial-gradient(800px 420px at 12% -10%, rgba(255,255,255,.85), transparent 60%),
    linear-gradient(155deg, var(--silver-50) 0%, var(--silver-100) 45%, var(--silver-300) 100%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: var(--silver-100);
  font-weight: 700;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 20px rgba(16,27,61,.28);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(16,27,61,.4); }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ---------- Nav ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; line-height: 1.2; letter-spacing: .02em; color: var(--navy-900); }
/* Round logo, then the name with a slim royal-blue rule on its left */
.brand img { width: 58px; height: 58px; flex-shrink: 0; }
.brand-text { font-size: 17px; font-weight: 800; line-height: 1.15; letter-spacing: .01em; }
.brand-text span { padding: 4px 0 4px 12px; border-left: 3px solid var(--navy-700); }
@media (max-width: 760px) { .brand img { width: 46px; height: 46px; } .brand-text { font-size: 15px; } }
.menu { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 600; }
.menu a:not(.btn) { color: rgba(15,24,48,.62); transition: color .2s; }
.menu a:not(.btn):hover, .menu a.active { color: var(--navy-900); }
.nav-toggle { display: none; background: none; border: 0; padding: 12px 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-900); margin: 6px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { padding: 22px 36px 0; }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: end; margin-top: 56px; }
.eyebrow { color: var(--navy-700); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
/* Headline scales with its column so each of the three lines stays on one line */
.hero-copy { container-type: inline-size; }
h1 { font-size: clamp(20px, 7.4cqw, 60px); line-height: 1.14; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; margin-bottom: 28px; color: var(--navy-900); }
.h1-line { display: block; white-space: nowrap; }
.hero-lead { color: rgba(15,24,48,.8); font-size: 18px; line-height: 1.55; max-width: 400px; justify-self: end; align-self: center; }

/* Three frosted cards: number, what it is, and a link to that section */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.stats a {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; height: 100%;
  padding: 18px 22px 17px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(255,255,255,.62));
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 10px 30px rgba(11,34,87,.08), inset 0 1px 0 #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
.stats a::before { /* sapphire accent that runs across the top on hover */
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 48px;
  background: linear-gradient(90deg, var(--navy-700), #4f86e0); border-radius: 0 0 3px 0;
  transition: width .35s ease;
}
.stats a:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(11,34,87,.16); }
.stats a:hover::before { width: 100%; }
/* Number written as a word ("One"), large sapphire gradient, with the title under a short rule */
.stats strong {
  font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.02em;
  background: linear-gradient(120deg, #4f86e0, var(--navy-700) 45%, var(--navy-900));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 2px;
}
.stat-text { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; position: relative; }
.stat-text::before { content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 2px; border-radius: 2px; background: rgba(30,63,138,.28); }
.stat-text b { font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-900); }

/* Navy band closing the hero: badge, approach line, link to Purpose */
.hero-stage {
  position: relative;
  margin: 44px -36px 0;
  padding: 30px 36px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  color: #fff;
  background:
    radial-gradient(500px 220px at 0% 50%, var(--glow), transparent 70%),
    linear-gradient(120deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius) var(--radius) 0 0;
}
.hero-stage-kicker { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--silver-300); margin-bottom: 8px; }
.hero-stage-line { font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.hero-stage-line span { display: block; color: var(--silver-300); }
.stage-link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border: 1.5px solid rgba(211,219,232,.6); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--silver-100); white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.stage-link:hover { background: var(--silver-300); border-color: var(--silver-300); color: var(--navy-900); }
.stage-link span { transition: transform .2s; }
.stage-link:hover span { transform: translateX(3px); }

/* Silver badge so it stands out on the blue band */
.badge {
  position: relative; flex: none;
  width: 124px; height: 124px; border-radius: 50%;
  background: linear-gradient(135deg, var(--silver-100), var(--silver-300) 55%, var(--silver-500));
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.3);
}
.badge > svg:first-child { position: absolute; inset: 0; animation: spin 26s linear infinite; }
.badge text { font-size: 15.5px; font-weight: 700; letter-spacing: .04em; fill: var(--navy-900); text-transform: uppercase; }
.badge .crown { width: 40px; fill: var(--navy-900); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Values strip ---------- */
.strip { overflow: hidden; padding: 26px 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.strip-track { display: flex; gap: 56px; width: max-content; animation: slide 28s linear infinite; }
.strip span { font-weight: 700; font-size: 18px; color: #8a94a8; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.strip span::after { content: "♛"; color: var(--navy-700); font-size: 16px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Shared section bits ---------- */
.tag { font-size: 14px; color: var(--muted); font-weight: 500; }
.tag.on-dark { color: var(--silver-300); }
.section-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; margin-bottom: 32px; }
.section-head h2, .contact h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
.section-head p { color: var(--muted); font-size: 15px; }
.section-head.on-dark p { color: rgba(255,255,255,.72); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 2.6fr; gap: 32px; padding: 56px 20px 72px; }
.about-side { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 24px; }
.statement { font-size: clamp(22px, 3vw, 36px); line-height: 1.3; font-weight: 500; letter-spacing: -.01em; }
.statement strong { color: var(--navy-700); font-weight: 800; }

/* ---------- Purpose ---------- */
.purpose { padding: 0 20px 72px; }
.purpose-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; min-height: 220px; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(15,24,48,.1); }
.card .num { font-size: 13px; font-weight: 700; color: var(--navy-700); margin-bottom: auto; padding-bottom: 28px; }
.card h3 { font-size: 20px; line-height: 1.2; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); }
.card-dark { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); border-color: transparent; color: #fff; }
.card-dark .num { color: var(--silver-300); }
.card-dark p { color: rgba(255,255,255,.75); }
.card-silver { background: linear-gradient(145deg, var(--silver-50), var(--silver-300)); border-color: transparent; }
.card-silver p { color: #3a4560; }

/* ---------- Values ---------- */
.values { padding: 44px 36px; }
.values-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.values-list li { border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 20px; background: rgba(255,255,255,.05); transition: border-color .25s, background .25s; }
.values-list li:hover { border-color: var(--silver-300); background: rgba(211,219,232,.1); }
.values-list span { color: var(--silver-300); font-size: 13px; font-weight: 700; }
.values-list h3 { font-size: 17px; margin: 36px 0 6px; }
.values-list p { font-size: 13px; color: rgba(255,255,255,.7); }

/* ---------- Leadership team ---------- */
.team { padding: 72px 20px 0; }
/* Founder: one wide landscape panel — photo on the left, details on navy to the right */
.founder { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--navy-900); box-shadow: 0 18px 40px rgba(15,24,48,.12); }
.founder-photo { background: #f1f1f1; overflow: hidden; aspect-ratio: 3 / 4; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.founder-info {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 48px clamp(28px, 5vw, 72px); color: #fff;
  background:
    radial-gradient(600px 360px at 100% 0%, var(--glow), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
}
.founder-role { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--silver-300); }
.founder-info h3 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -.01em; margin-top: 12px; }
.founder-rule { display: block; width: 140px; height: 3px; margin: 24px 0; border-radius: 3px; background: linear-gradient(90deg, var(--silver-300), var(--silver-500)); }
.founder-org { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.75); margin-bottom: 28px; }
.btn-light { background: linear-gradient(135deg, var(--silver-100), var(--silver-300)); color: var(--navy-900); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.btn-light:hover { box-shadow: 0 10px 26px rgba(0,0,0,.35); }

/* ---------- What we do ---------- */
.work { padding: 72px 20px; }
.work-list { display: grid; gap: 10px; }
.acc { background: var(--silver-100); border-radius: 14px; transition: background .25s, color .25s; }
.acc summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 22px; font-weight: 500; color: var(--navy-700); transition: transform .25s; }
.acc[open] { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; }
.acc[open] summary::after { transform: rotate(45deg); color: var(--silver-300); }
.acc p { padding: 0 22px 20px; font-size: 14px; color: rgba(255,255,255,.75); max-width: 640px; }

/* ---------- Vision ---------- */
.vision { padding: 44px 36px 56px; }
.vision blockquote { margin: 28px 0 0; font-size: clamp(20px, 2.8vw, 32px); line-height: 1.35; font-weight: 500; max-width: 900px; position: relative; padding-left: 56px; }
.vision .q { position: absolute; left: 0; top: -14px; font-size: 84px; line-height: 1; color: var(--silver-300); font-family: Georgia, serif; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; padding: 72px 20px; align-items: start; }
.contact h2 { margin: 12px 0 16px; }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list span { color: var(--muted); }
.contact-list a, .contact-list b { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--navy-700); text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { padding: 28px 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; font-weight: 600; }
.footer nav a, .footer p { color: rgba(15,24,48,.7); }
.footer nav a:hover { color: var(--navy-900); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .purpose-grid { grid-template-columns: repeat(2, 1fr); }
  .values-list { grid-template-columns: repeat(2, 1fr); }
  .values-list h3 { margin-top: 20px; }
}
@media (max-width: 760px) {
  .hero { padding: 16px 20px 0; }
  .nav-toggle { display: block; }
  .menu { display: none; position: absolute; top: 84px; left: 12px; right: 12px; z-index: 5; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: var(--silver-50); border: 1px solid rgba(16,27,61,.2); border-radius: 16px; box-shadow: 0 16px 32px rgba(16,27,61,.18); }
  .menu.open { display: flex; }
  .menu a { padding: 12px; }
  .menu .btn { text-align: center; margin-top: 8px; }
  .hero-grid, .section-head, .about, .contact { grid-template-columns: 1fr; gap: 20px; }
  .hero-grid { margin-top: 36px; }
  .hero-lead { justify-self: start; }
  .stats { grid-template-columns: 1fr; gap: 10px; margin-top: 32px; }
  .stats a { padding: 15px 18px 14px; gap: 6px; }
  .stats strong { font-size: 28px; }
  .stat-text { padding-top: 8px; }
  .stat-text b { font-size: 11px; }
  .hero-stage { margin: 36px -20px 0; padding: 28px 20px 32px; grid-template-columns: auto 1fr; gap: 18px 20px; }
  .stage-link { grid-column: 1 / -1; justify-self: start; }
  .badge { width: 92px; height: 92px; }
  .badge .crown { width: 30px; }
  .about { padding: 40px 8px 56px; }
  .about-side { flex-direction: row; align-items: center; }
  .purpose, .work, .contact, .team { padding-left: 8px; padding-right: 8px; }
  .contact-list li { flex-direction: column; gap: 2px; padding: 14px 0; }
  .contact-list a, .contact-list b { text-align: left; }
  .founder { grid-template-columns: 1fr; }
  .founder-photo { aspect-ratio: 4 / 5; }
  .founder-info { padding: 32px 24px 36px; }
  .values, .vision, .footer { padding-left: 20px; padding-right: 20px; }
  .vision blockquote { padding-left: 0; padding-top: 44px; }
  .vision .q { top: -18px; }
}
@media (max-width: 480px) {
  .purpose-grid, .values-list { grid-template-columns: 1fr; }
  .card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .badge > svg:first-child, .strip-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
