/* GCCAI — gccaing.com
   Brand rules: white background always; pink for large type and highlights;
   violet for links, labels and buttons; ink for text; lavender for light panels only.
   Georgia for headings, Franklin Gothic (Libre Franklin online) for body. */

:root {
  --pink: #FF3B87;
  --violet: #733DCF;
  --violet-dark: #5A2DAA;
  --ink: #1E1432;
  --ink-soft: #4A4060;
  --lavender: #EEE8F8;
  --line: #E4DDF1;
  --white: #FFFFFF;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Franklin Gothic Book", "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--violet-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.18; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.section { padding: 56px 20px; }
.wrap.section { padding-left: 20px; padding-right: 20px; }
.section-title { margin-bottom: 28px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 100; }

.eyebrow {
  font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--violet); margin-bottom: .6em;
}
.eyebrow a { text-decoration: none; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 46em; }
.hl { color: var(--pink); }
.meta { font-size: .9rem; color: var(--ink-soft); }
.status {
  display: inline-block; font-size: .85rem; font-weight: 600; color: var(--violet);
  background: var(--lavender); border-radius: 999px; padding: 4px 14px;
}

/* Buttons */
.btn {
  display: inline-block; background: var(--violet); color: var(--white); text-decoration: none;
  font-weight: 600; padding: 13px 22px; border-radius: 999px; border: 2px solid var(--violet);
  line-height: 1.2; transition: background .15s;
}
.btn:hover { background: var(--violet-dark); border-color: var(--violet-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--violet); }
.btn-outline:hover { background: var(--lavender); color: var(--violet-dark); }
.btn-small { padding: 9px 16px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow { font-weight: 600; text-decoration: none; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: .98rem; line-height: 1.15; display: block; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { border-bottom-color: var(--pink); color: var(--ink); }
.menu-toggle {
  display: none; background: var(--white); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font: 600 .95rem var(--sans); color: var(--ink); cursor: pointer;
}

@media (max-width: 940px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 24px; gap: 12px;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { text-align: center; }
}

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 40px; }
.hero h1 { margin-bottom: .4em; }
.hero .lede { margin-bottom: 1.6em; }
.hero-img { border-radius: var(--radius); overflow: hidden; }
.hero-img img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.hero figcaption, .hero-figure figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: 8px; }
.tagline-rule { display: flex; align-items: center; gap: 12px; font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); margin-bottom: 20px; }
.tagline-rule::before { content: ""; width: 36px; height: 3px; background: var(--pink); border-radius: 2px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; } }

.page-head { padding-top: 56px; padding-bottom: 12px; }
.hero-figure { margin: 24px auto 8px; }
.hero-figure img { width: 100%; border-radius: var(--radius); max-height: 560px; object-fit: cover; }

/* Grids and cards */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.02); }
.card-img { overflow: hidden; display: block; }
.card-ph { background: var(--lavender); aspect-ratio: 16 / 10; display: grid; place-items: center; }
.card-ph img { width: 72px !important; aspect-ratio: 1 / 1 !important; object-fit: contain !important; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { color: var(--violet); }
.card-body p:last-child, .card-body .arrow { margin-top: auto; margin-bottom: 0; }
.post-card .card-body { border-top: 3px solid var(--pink); }

/* Panels (lavender is a panel, never the page) */
.panel { background: var(--lavender); border-radius: var(--radius); padding: 40px; }
.newsletter, .cta-panel { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.newsletter-action, .cta-panel .btn-row { justify-self: end; }
.newsletter h2, .cta-panel h2 { margin-bottom: .3em; }
.newsletter p:last-child, .cta-panel p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .panel { padding: 28px 22px; }
  .newsletter, .cta-panel { grid-template-columns: 1fr; }
  .newsletter-action, .cta-panel .btn-row { justify-self: start; }
}

/* Why section */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.why div { border-top: 3px solid var(--pink); padding-top: 18px; }
.why .big { font-family: var(--serif); font-size: 2.6rem; color: var(--pink); line-height: 1; margin-bottom: 10px; font-weight: 700; }
.why .src { font-size: .82rem; color: var(--ink-soft); }
@media (max-width: 760px) { .why { grid-template-columns: 1fr; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; }
.stats div { border-left: 3px solid var(--pink); padding-left: 16px; }
.stats dd { font-family: var(--serif); font-size: 2.5rem; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.1; order: -1; }
.stats div { display: flex; flex-direction: column; }
.stats dt { font-size: .95rem; color: var(--ink-soft); }
.stats-note { font-size: .85rem; color: var(--ink-soft); margin-top: 16px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Split content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }

/* Prose (blog posts, cause pages) */
.prose { padding-top: 16px; padding-bottom: 32px; }
.prose > * { max-width: 720px; }
.prose h2 { margin-top: 1.8em; font-size: 1.65rem; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--pink); font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.prose h2#sources, .prose h2#sources ~ * { font-size: .92rem; }
.prose h2#sources { font-size: 1.1rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--violet); }
.prose h2#sources ~ ul li { color: var(--ink-soft); }
.prose .note { background: var(--lavender); border-radius: 10px; padding: 16px 20px; font-size: .95rem; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--pink); }
.timeline .yr { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; display: block; }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.values div { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.values h3 { color: var(--pink); margin-bottom: .3em; }
.values p { margin: 0; font-size: .97rem; }
@media (max-width: 860px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.roles div { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.roles h3 { font-size: 1.1rem; }
.roles p { margin: 0; font-size: .96rem; color: var(--ink-soft); }
@media (max-width: 860px) { .roles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .roles { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { columns: 3 300px; column-gap: 20px; }
.gallery figure { margin: 0 0 22px; break-inside: avoid; }
.gallery-item { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; border-radius: var(--radius); overflow: hidden; }
.gallery-item img { width: 100%; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.02); }
.gallery figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: 8px; }

.lightbox { border: 0; padding: 0; background: var(--white); max-width: min(1100px, 94vw); border-radius: var(--radius); }
.lightbox::backdrop { background: rgba(30, 20, 50, .82); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; }
.lightbox-caption { padding: 12px 20px 16px; margin: 0; font-size: .95rem; }
.lightbox-close { position: absolute; top: 8px; right: 10px; background: var(--white); border: 0; font-size: 1.8rem; line-height: 1; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; color: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-grid div { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-grid h2 { font-size: 1.15rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 48px; background: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-name { font-family: var(--serif); font-weight: 700; margin: 12px 0 4px; }
.footer-tag { color: var(--pink); font-weight: 600; font-size: .95rem; }
.footer-h { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin-bottom: 8px; font-size: .95rem; }
.plain a { color: var(--ink); text-decoration: none; }
.plain a:hover { color: var(--violet); text-decoration: underline; }
.footer-base { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; padding-bottom: 32px; font-size: .85rem; color: var(--ink-soft); }
.footer-base p { margin-bottom: .4em; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.partner { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; min-height: 110px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px; text-decoration: none; color: var(--ink); background: var(--white); }
a.partner:hover { border-color: var(--violet); }
.partner img { max-height: 56px; width: auto; object-fit: contain; }
.partner-name { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.partner-role { font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 860px) { .partners { grid-template-columns: repeat(2, 1fr); } }
