/* ==========================================================================
   Kim Young Development — Design Tokens
   ========================================================================== */
:root {
  --navy: #16233b;
  --navy-deep: #0d1626;
  --navy-soft: #eef2f8;
  --cream: #f8f4ed;
  --sand: #efe6d9;
  --white: #ffffff;
  --text: #23303f;
  --muted: #61708a;
  --line: #e2e8f1;

  --gold: #c8863d;
  --gold-dark: #a86a28;
  --gold-soft: #f7ead6;

  --teal: #0f8b8d;
  --teal-dark: #0c6c6e;

  --crimson: #c0392b;
  --crimson-dark: #9c2d20;

  --green: #2f8f4e;
  --green-dark: #256f3d;

  --plum: #6c4a9c;
  --plum-dark: #543a7a;

  --shadow: 0 20px 48px rgba(13, 22, 38, 0.10);
  --shadow-sm: 0 8px 22px rgba(13, 22, 38, 0.07);
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Fraunces', 'Inter', serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }

/* ==========================================================================
   Top strip — SDG color band
   ========================================================================== */
.top-strip {
  height: 7px;
  background: linear-gradient(90deg,
    #e5243b 0 5.88%, #dda63a 5.88% 11.76%, #4c9f38 11.76% 17.64%,
    #c5192d 17.64% 23.52%, #ff3a21 23.52% 29.4%, #26bde2 29.4% 35.28%,
    #fcc30b 35.28% 41.16%, #a21942 41.16% 47.04%, #fd6925 47.04% 52.92%,
    #dd1367 52.92% 58.8%, #fd9d24 58.8% 64.68%, #bf8b2e 64.68% 70.56%,
    #3f7e44 70.56% 76.44%, #0a97d9 76.44% 82.32%, #56c02b 82.32% 88.2%,
    #00689d 88.2% 94.08%, #19486a 94.08% 100%);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  min-height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 1.02rem; color: var(--navy); letter-spacing: 0.01em;
  flex-shrink: 0;
}
.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy);
  font-size: 1.1rem;
}
.nav-menu { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.nav-menu a { color: var(--muted); font-weight: 600; font-size: 0.96rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav-menu a.active, .nav-menu a:hover { color: var(--navy); border-bottom-color: var(--gold); }
.nav-cta { flex-shrink: 0; padding: 10px 18px !important; font-size: 0.92rem !important; }

/* ==========================================================================
   Buttons — colored, consistent
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  border: 2px solid transparent; transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn i { font-size: 0.92em; }

.btn-gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: #fff; box-shadow: 0 10px 24px rgba(200, 134, 61, 0.32); }
.btn-navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; box-shadow: 0 10px 24px rgba(22, 35, 59, 0.28); }
.btn-teal { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); color: #fff; box-shadow: 0 10px 24px rgba(15, 139, 141, 0.3); }
.btn-crimson { background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-dark) 100%); color: #fff; box-shadow: 0 10px 24px rgba(192, 57, 43, 0.3); }
.btn-green { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; box-shadow: 0 10px 24px rgba(47, 143, 78, 0.3); }
.btn-plum { background: linear-gradient(135deg, var(--plum) 0%, var(--plum-dark) 100%); color: #fff; box-shadow: 0 10px 24px rgba(108, 74, 156, 0.3); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { background: linear-gradient(180deg, #f9fafc 0%, #fff 100%); padding: 46px 0 30px; }
.hero-grid, .page-hero-grid, .services-hero-grid, .contact-grid, .split-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, 480px); gap: 44px; align-items: center;
}
.eyebrow { margin: 0 0 10px; color: var(--gold-dark); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; }
.hero h1, .page-hero h1 { margin: 0; color: var(--navy); line-height: 1.08; font-weight: 600; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.lead { font-size: 1.08rem; color: var(--muted); margin-top: 18px; }
.hero-support-copy { margin-top: 14px; max-width: 68ch; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero-card, .image-card, .panel, .quote-card, .cta-band, .form-card, .info-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.hero-card img, .image-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-plain, .service-image-plain { border-radius: var(--radius-lg); overflow: hidden; }

/* ==========================================================================
   Metrics
   ========================================================================== */
.metrics { padding: 8px 0 20px; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric {
  text-align: center; padding: 20px 14px; border-radius: var(--radius); background: #fff;
  box-shadow: var(--shadow-sm); border-top: 4px solid var(--line);
}
.metric strong { display: block; color: var(--navy); font-size: 1.85rem; font-family: 'Fraunces', serif; }
.metric span { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.metric-1 { border-top-color: var(--gold); }
.metric-2 { border-top-color: var(--teal); }
.metric-3 { border-top-color: var(--green); }
.metric-4 { border-top-color: var(--plum); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 60px 0; }
.section-light { background: var(--cream); }
.intro-section { padding-top: 22px; }
.intro-heading { margin-bottom: 16px; }
.intro-copy { max-width: 900px; }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; color: var(--navy); line-height: 1.15; font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 600; }
.section-heading p, .text-muted, .panel p, .card p, .form-note, .footer p { color: var(--muted); }

/* ==========================================================================
   Cards
   ========================================================================== */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.14rem; font-weight: 600; }
.card p { flex-grow: 1; margin: 0 0 4px; }
.card .actions { margin-top: 18px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { background: var(--gold-soft); color: var(--gold-dark); border: 1px solid #ecd5b8; border-radius: 999px; padding: 7px 12px; font-size: 0.83rem; font-weight: 700; }

/* ==========================================================================
   Quote
   ========================================================================== */
.quote-card {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; padding: 40px 36px; position: relative;
}
.quote-icon { color: var(--gold); font-size: 1.6rem; opacity: 0.9; margin-bottom: 12px; display: block; }
.quote-card blockquote { margin: 0; font-size: 1.28rem; line-height: 1.7; font-family: 'Fraunces', serif; font-weight: 500; }
.quote-card cite { display: block; margin-top: 18px; color: rgba(255, 255, 255, 0.78); font-style: normal; font-weight: 600; }

/* ==========================================================================
   SDGs
   ========================================================================== */
.sdg-header-grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; align-items: center; margin-bottom: 30px; }
.sdg-heading { margin-bottom: 0; }
.sdg-wheel-wrap { display: flex; justify-content: center; align-items: center; }
.sdg-ring {
  width: 190px; height: 190px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: conic-gradient(
    #e5243b 0 5.88%, #dda63a 5.88% 11.76%, #4c9f38 11.76% 17.64%,
    #c5192d 17.64% 23.52%, #ff3a21 23.52% 29.4%, #26bde2 29.4% 35.28%,
    #fcc30b 35.28% 41.16%, #a21942 41.16% 47.04%, #fd6925 47.04% 52.92%,
    #dd1367 52.92% 58.8%, #fd9d24 58.8% 64.68%, #bf8b2e 64.68% 70.56%,
    #3f7e44 70.56% 76.44%, #0a97d9 76.44% 82.32%, #56c02b 82.32% 88.2%,
    #00689d 88.2% 94.08%, #19486a 94.08% 100%
  );
  box-shadow: var(--shadow);
  position: relative;
}
.sdg-ring::before {
  content: ""; position: absolute; inset: 24px; border-radius: 50%; background: #fff;
}
.sdg-ring span, .sdg-ring small { position: relative; z-index: 1; }
.sdg-ring span { font-family: 'Fraunces', serif; font-size: 2.3rem; font-weight: 700; color: var(--navy); }
.sdg-ring small { color: var(--muted); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; }

.sdg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sdg-pill {
  padding: 16px 14px; border-radius: 14px; border: 0; color: #fff; min-height: 92px;
  display: flex; flex-direction: column; gap: 6px; justify-content: center;
  box-shadow: 0 8px 20px rgba(19, 34, 58, 0.1); line-height: 1.25;
}
.sdg-num { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.3rem; opacity: 0.92; }
.sdg-label { font-weight: 700; font-size: 0.88rem; }
.sdg-1 { background: #E5243B; }
.sdg-2 { background: #DDA63A; }
.sdg-3 { background: #4C9F38; }
.sdg-4 { background: #C5192D; }
.sdg-5 { background: #FF3A21; }
.sdg-6 { background: #26BDE2; }
.sdg-7 { background: #FCC30B; color: #1d2530; }
.sdg-8 { background: #A21942; }
.sdg-9 { background: #FD6925; }
.sdg-10 { background: #DD1367; }
.sdg-11 { background: #FD9D24; color: #1d2530; }
.sdg-12 { background: #BF8B2E; }
.sdg-13 { background: #3F7E44; }
.sdg-14 { background: #0A97D9; }
.sdg-15 { background: #56C02B; color: #1d2530; }
.sdg-16 { background: #00689D; }
.sdg-17 { background: #19486A; }

/* ==========================================================================
   Lists / Info cards
   ========================================================================== */
.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); display: flex; align-items: flex-start; gap: 10px; }
.list-clean li:last-child { border-bottom: 0; }
.list-clean i { color: var(--gold); margin-top: 4px; flex-shrink: 0; }
.info-card, .form-card { padding: 30px; }
.info-card h3 { margin: 0 0 16px; color: var(--navy); font-weight: 600; }
.form-card h2 { margin: 0 0 4px; color: var(--navy); }

/* ==========================================================================
   Services hero panel
   ========================================================================== */
.services-hero-panel { background: linear-gradient(160deg, #0d6f78 0%, #0a5459 100%); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.services-hero-grid { grid-template-columns: minmax(0, 1fr) 460px; gap: 0; align-items: stretch; }
.services-copy { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.services-copy h1 { margin: 0; color: #fff; font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 600; }
.services-copy p { color: rgba(255, 255, 255, 0.9); }
.services-copy .eyebrow { color: #ffd18a; }
.service-image-plain { border-radius: 0; }
.service-image-plain img { height: 100%; }

/* ==========================================================================
   Process
   ========================================================================== */
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.process-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.process-step strong {
  display: inline-flex; color: #fff; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  font-size: 0.82rem; padding: 5px 10px; border-radius: 999px; margin-bottom: 12px; font-weight: 800;
}
.process-step h4 { margin: 0 0 8px; color: var(--navy); font-size: 1.05rem; }
.process-step div { color: var(--muted); }
.process-note { margin-top: 24px; padding: 26px; }
.process-note p { margin: 0; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0; color: var(--navy); font-size: 1.5rem; font-weight: 600; }

/* ==========================================================================
   Contact form
   ========================================================================== */
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.contact-form label { display: block; font-weight: 600; color: var(--navy); font-size: 0.94rem; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; margin-top: 7px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; background: #fdfdfd;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 134, 61, 0.15);
}
.contact-form .full { grid-column: 1 / -1; }
.contact-form button { border: none; }
.form-note { margin-top: 16px; }
.form-success {
  margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: #eef8f0; color: var(--green-dark);
  border: 1px solid #cdebd4; font-weight: 600;
}
.form-success i { margin-right: 8px; }

/* ==========================================================================
   About page specifics
   ========================================================================== */
.about-page-hero { padding-top: 26px; }
.about-copy-stack { display: grid; gap: 22px; align-content: start; }
.about-support-image img { width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; }
.about-hero-grid { align-items: stretch; }
.about-hero-stack { display: grid; gap: 18px; height: 100%; grid-template-rows: auto 1fr; }
.about-portrait-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.about-hero-stack .info-card { height: 100%; }

/* ==========================================================================
   Who I Work With page specifics
   ========================================================================== */
.who-hero-grid { align-items: start; }
.who-hero-grid .info-card { margin-top: 4px; }
.partners-photo-section { padding-top: 24px; }
.partners-photo-heading { max-width: 900px; }
.partners-photo-card { overflow: hidden; }
.partners-photo-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.collab-card h3 { min-height: 2.4em; }

/* Legal / Governance card */
.legal-card {
  display: grid; grid-template-columns: 96px 1fr; gap: 26px; align-items: flex-start;
  background: linear-gradient(160deg, #fff 0%, var(--gold-soft) 140%);
  border: 1px solid #ecd5b8; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm);
}
.legal-avatar {
  width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: 0 10px 24px rgba(22, 35, 59, 0.28);
}
.legal-content h3 { margin: 0 0 4px; color: var(--navy); font-size: 1.3rem; }
.legal-content h3 a { display: inline-flex; align-items: center; gap: 10px; border-bottom: 2px solid transparent; }
.legal-content h3 a:hover { border-bottom-color: var(--gold); }
.legal-linkedin-icon { color: #0a66c2; font-size: 1.1rem; }
.legal-role { color: var(--gold-dark); font-weight: 700; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.82rem; }
.legal-content .actions { margin-top: 18px; }

/* Legal card variant: LinkedIn link placed under the name instead of inline */
.legal-content .legal-name { margin: 0; color: var(--navy); font-size: 1.3rem; font-weight: 600; }
.legal-content .legal-linkedin-link {
  display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 4px; font-weight: 600;
  color: #0a66c2; border-bottom: 2px solid transparent; font-size: 0.95rem;
}
.legal-content .legal-linkedin-link:hover { border-bottom-color: #0a66c2; }

/* Where our clients stay */
.stay-section { background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); }
.stay-grid { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 40px; align-items: center; }
.stay-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.stay-content .eyebrow { color: var(--teal-dark); }
.stay-content h2 { margin: 0 0 14px; color: var(--navy); font-size: clamp(1.7rem, 3vw, 2.3rem); }

/* ==========================================================================
   Speaking page
   ========================================================================== */
.topic-list { display: grid; gap: 14px; max-width: 760px; }
.topic-item {
  display: flex; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-sm); font-weight: 600; color: var(--navy);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { border-top: 1px solid var(--line); background: #fff; padding: 40px 0 0; }
.footer-wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; padding-bottom: 30px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { color: var(--navy); display: block; font-size: 1.02rem; }
.footer-brand p { margin: 2px 0 0; color: var(--muted); font-size: 0.88rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.footer-links a:hover { color: var(--navy); }
.footer-contact p { margin: 0 0 10px; font-size: 0.92rem; display: flex; align-items: center; gap: 8px; }
.footer-contact i { color: var(--gold); }
.footer-contact a { font-weight: 600; }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0; }
.footer-bottom p { margin: 0; color: var(--muted); font-size: 0.85rem; text-align: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .sdg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .hero-grid, .page-hero-grid, .services-hero-grid, .contact-grid, .split-grid,
  .card-grid, .metrics-grid, .process-grid, .sdg-header-grid, .stay-grid {
    grid-template-columns: 1fr;
  }
  .sdg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-hero-grid { gap: 0; }
  .service-image-plain img { aspect-ratio: 16/9; }
  .legal-card { grid-template-columns: 1fr; text-align: left; }
  .legal-avatar { margin-bottom: 6px; }
  .footer-wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-wrap { min-height: auto; padding: 14px 0; flex-wrap: wrap; }
  .nav-cta { order: 3; width: 100%; margin-top: 10px; }
  .nav-menu { width: 100%; display: none; flex-direction: column; gap: 4px; padding-top: 10px; order: 4; }
  .nav-menu.open { display: flex; }
  .nav-menu a { display: block; padding: 10px 0; }
  .contact-form { grid-template-columns: 1fr; }
  .cta-band, .footer-wrap, .actions { flex-direction: column; align-items: flex-start; }
  .footer-wrap { display: flex; }
  .btn { width: 100%; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .sdg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
