/* Lincs WGFL refresh: brand colours taken from the existing site (#92278f, #ce4b9b, #462e8e, #0072bc) */
:root {
  --purple: #92278f;
  --pink: #ce4b9b;
  --indigo: #462e8e;
  --blue: #0072bc;
  --ink: #1d1530;
  --muted: #5d5870;
  --line: #e7e3ef;
  --bg: #ffffff;
  --tint: #f7f4fb;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(70, 46, 142, .25);
  --grad: linear-gradient(135deg, var(--indigo) 0%, var(--purple) 55%, var(--pink) 100%);
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); }
h1, h2, h3 { font-family: "Outfit", "Inter", sans-serif; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

.eyebrow { font-family: "Outfit", sans-serif; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--pink); margin-bottom: .75rem; }
.eyebrow a { color: inherit; }
.eyebrow.light { color: #ffd3ec; }
.lead { font-size: 1.2rem; color: rgba(255,255,255,.9); max-width: 38em; }
.lead.dark { color: var(--ink); font-size: 1.35rem; line-height: 1.5; }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.4em; border-radius: 999px; font-weight: 600; text-decoration: none;
  background: var(--grad); color: #fff; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-light { background: #fff; color: var(--indigo); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: transparent; color: var(--purple); border-color: var(--purple); }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: "Outfit", sans-serif; font-size: 1.2rem; }
.brand-text small { color: var(--muted); font-size: .8rem; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav a { display: block; padding: .55em .9em; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.site-nav a:hover { background: var(--tint); color: var(--purple); }
.site-nav a[aria-current="page"] { background: var(--tint); color: var(--purple); font-weight: 600; }
.site-nav .ext { font-size: .8em; opacity: .6; }
.icon-btn { display: inline-flex !important; padding: .55em !important; color: var(--indigo) !important; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 16px 16px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: .8em 1em; font-size: 1.05rem; }
  .icon-btn { align-self: flex-start; }
}

/* Hero */
.hero { background: linear-gradient(135deg, rgba(70,46,142,.93) 0%, rgba(146,39,143,.88) 55%, rgba(206,75,155,.85) 100%), var(--hero-img, none) center 30% / cover no-repeat, var(--indigo); color: #fff; padding: clamp(48px, 8vw, 96px) 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 65%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; }
.hero h1 { color: #fff; }
.hero-art img { width: min(100%, 380px); margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.3)); }
.accreditations {
  list-style: none; margin: 48px 0 0; padding: 18px 24px; display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; gap: 24px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); position: relative;
}
.accreditations img { max-height: 64px; width: auto; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { width: 160px; margin: 0; }
  .accreditations img { max-height: 46px; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--grad); color: #fff; padding: clamp(40px, 7vw, 80px) 0; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero .eyebrow { color: #ffd3ec; }
.page-hero .lead { margin-top: 1rem; margin-bottom: 0; }

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-tint { background: var(--tint); }
.section-head { margin-bottom: 28px; }

/* News */
.news-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.news-card { display: grid; grid-template-columns: 220px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.news-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.news-body { padding: 24px; }
.news-body time { color: var(--muted); font-size: .9rem; }
.news-body h3 a { color: var(--ink); text-decoration: none; }
.news-body h3 a:hover { color: var(--purple); }
.quick-cards { display: grid; gap: 14px; }
.quick-card {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center;
  padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.quick-card strong { font-family: "Outfit", sans-serif; font-size: 1.1rem; }
.quick-card span:not([aria-hidden]) { grid-column: 1; color: var(--muted); font-size: .93rem; }
.quick-card > [aria-hidden] { grid-column: 2; grid-row: 1 / span 2; color: var(--purple); font-size: 1.3rem; }
.quick-card:hover { border-color: var(--purple); transform: translateY(-2px); box-shadow: var(--shadow); }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .news-card { grid-template-columns: 1fr; }
  .news-img img { aspect-ratio: 4/3; object-position: top; }
}

/* Sponsor + contact */
.sponsor { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.sponsor-card { margin: 0; background: #fff; padding: 20px 28px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.sponsor-card img { width: 160px; margin: 0 auto 8px; }
.sponsor-card figcaption { font-family: "Outfit", sans-serif; font-weight: 700; color: var(--indigo); }
.contact-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.contact-cta > div:first-child { max-width: 620px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.stat-row { display: flex; gap: 16px; margin: 28px 0; flex-wrap: wrap; }
.stat { background: var(--tint); border-radius: var(--radius); padding: 16px 22px; min-width: 140px; }
.stat strong { display: block; font-family: "Outfit", sans-serif; font-size: 1.8rem; color: var(--purple); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9rem; }
.about-photo { border-radius: var(--radius); width: 100%; max-width: 400px; box-shadow: var(--shadow); }
.about-values { margin: 0; }
.about-values img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

/* Document lists */
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.doc {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.doc:hover { border-color: var(--purple); box-shadow: var(--shadow); transform: translateY(-1px); }
.doc-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--purple); display: grid; place-items: center; }
.doc-feature .doc-icon { background: var(--grad); color: #fff; }
.doc-text strong { display: block; font-family: "Outfit", sans-serif; font-size: 1.1rem; font-weight: 600; }
.doc-text small { color: var(--muted); font-size: .88rem; }
.doc-action { color: var(--purple); font-weight: 600; white-space: nowrap; font-size: .95rem; }
@media (max-width: 560px) {
  .doc { grid-template-columns: auto 1fr; }
  .doc-action { grid-column: 2; }
}

/* Post */
.post-body { font-size: 1.15rem; }
.post-img { border-radius: var(--radius); box-shadow: var(--shadow); max-width: 420px; width: 100%; margin: 0 0 32px; }

/* Footer */
.site-footer { background: #1a1230; color: rgba(255,255,255,.78); padding: 64px 0 0; font-size: .97rem; }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffb6df; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid img { width: 72px; margin-bottom: 16px; }
.footer-post { display: block; font-weight: 500; }
.footer-post time { display: block; color: rgba(255,255,255,.55); font-size: .85rem; font-weight: 400; margin-top: 2px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list a { display: inline-flex; align-items: center; gap: 10px; word-break: break-word; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 20px; padding-bottom: 24px; font-size: .88rem; }
.footer-base p { margin: 0; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Home quick cards in a row (news section removed for now) */
.quick-cards-row { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .quick-cards-row { grid-template-columns: 1fr; } }

/* Latest news: Facebook Page Plugin */
.news-layout { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 48px; align-items: start; }
.news-intro { position: sticky; top: 100px; }
.news-intro .btn svg { flex: none; }
.fb-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; overflow: hidden; }
.fb-embed { width: 100%; min-height: 200px; display: flex; justify-content: center; background: var(--tint); border-radius: 12px; overflow: hidden; }
.fb-embed iframe { border: 0; display: block; max-width: 100%; }
.fb-fallback { font-size: .85rem; color: var(--muted); margin: 10px 4px 2px; }
@media (max-width: 900px) {
  .news-layout { grid-template-columns: 1fr; gap: 24px; }
  .news-intro { position: static; }
  .fb-card { max-width: 520px; width: 100%; }
}
