/* LAVS Foundation — lavsfoundation.org */

:root {
  --ink:    #1A1A1A;
  --muted:  #5C5C5C;
  --faint:  #8A8A85;
  --rule:   #E3E3E0;
  --plate:  #E8E7E4;
  --accent: #8C1D2C;
  --accent-dark: #6E1623;
  --bg:     #FFFFFF;

  --serif: Newsreader, Georgia, "Times New Roman", serif;
  --sans:  Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: 24px;
  --max: 1312px;
}

@media (min-width: 760px)  { :root { --gutter: 40px; } }
@media (min-width: 1100px) { :root { --gutter: 64px; } }

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 12px 18px; z-index: 100;
}
.skip:focus { left: 0; color: #fff; }

/* ---------- header ---------- */

.masthead { border-bottom: 1px solid var(--rule); }

.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 18px 0;
}

.wordmark {
  font-family: var(--serif); font-weight: 500; font-size: 25px;
  letter-spacing: 0.13em; line-height: 1; white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 15px; font-weight: 600; }
.nav a[aria-current="page"] { color: var(--accent); }

.masthead__actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-block; font-family: var(--sans);
  font-size: 14px; font-weight: 600; line-height: 1;
  padding: 13px 20px; border: 1px solid var(--ink); background: none;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--ink); color: #fff; }

.btn--solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

.btn--lg { font-size: 15px; padding: 15px 26px; }

.navtoggle { display: none; }

@media (max-width: 1023px) {
  .nav, .masthead__actions .btn--ghost-desktop { display: none; }
  .navtoggle {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--sans); font-size: 14px; font-weight: 600;
    background: none; border: 1px solid var(--ink); padding: 12px 16px; cursor: pointer;
  }
  .navtoggle__bars { display: block; width: 16px; height: 10px; position: relative; }
  .navtoggle__bars::before,
  .navtoggle__bars::after {
    content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink);
  }
  .navtoggle__bars::before { top: 0; }
  .navtoggle__bars::after  { bottom: 0; }

  .nav--open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    padding: 4px 0 20px;
  }
  .nav--open a {
    display: block; width: 100%; padding: 15px 0;
    border-top: 1px solid var(--rule); font-size: 17px;
  }
}

/* ---------- hero ---------- */

.hero { background: var(--plate); overflow: hidden; }
.hero img { width: 100%; height: clamp(190px, 33vw, 470px); object-fit: cover; }

.lede {
  display: flex; gap: 40px; align-items: flex-end;
  justify-content: space-between; padding-top: 44px;
}
.lede__text { max-width: 760px; }

h1 {
  margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 5.4vw, 55px); line-height: 1.14;
  letter-spacing: -0.005em;
}

.lede__aside { flex-shrink: 0; max-width: 400px; }
.lede__aside p { margin: 0 0 20px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.lede__cta { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 1023px) {
  .lede { flex-direction: column; align-items: stretch; gap: 26px; padding-top: 36px; }
  .lede__aside { max-width: none; }
}

.motto {
  font-family: var(--serif); font-size: clamp(14px, 2.2vw, 19px);
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent);
  padding-top: 32px;
}

/* ---------- utility strip ---------- */

.facts {
  display: grid; gap: 28px 36px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--rule);
}
@media (max-width: 1023px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px)  { .facts { grid-template-columns: 1fr; gap: 22px; } }

.fact { display: flex; gap: 12px; }
.fact svg { flex-shrink: 0; margin-top: 2px; }
.fact__t { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.fact__d { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- sections ---------- */

.section { padding-top: clamp(56px, 7vw, 76px); }

.section__head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 20px; margin-bottom: 24px;
}

h2 {
  margin: 0;
  font-size: clamp(24px, 3.6vw, 30px); font-weight: 700;
  letter-spacing: -0.012em; line-height: 1.2;
}

.more { font-size: 15px; font-weight: 600; white-space: nowrap; }

/* ---------- programme cards ---------- */

.cards {
  display: grid; gap: 30px 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1023px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px)  { .cards { grid-template-columns: 1fr; } }

.card__plate {
  aspect-ratio: 4 / 3; background: var(--plate);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.card__plate span {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.card__t { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.card__t em { font-style: normal; font-weight: 400; color: var(--accent); }
.card__d { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------- purpose ---------- */

.purpose {
  display: flex; gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(60px, 8vw, 82px);
  padding: clamp(38px, 5vw, 54px) 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.purpose h2 { width: 290px; flex-shrink: 0; }
.purpose p {
  margin: 0; max-width: 820px;
  font-family: var(--serif); font-size: clamp(19px, 2.6vw, 25px); line-height: 1.66;
}
@media (max-width: 899px) {
  .purpose { flex-direction: column; gap: 20px; }
  .purpose h2 { width: auto; }
}

/* ---------- events ---------- */

.events { display: flex; flex-direction: column; }

.event {
  display: flex; gap: 38px; align-items: baseline;
  padding: 24px 0; border-top: 1px solid var(--rule);
}
.event:last-child { border-bottom: 1px solid var(--rule); }
.event__when { width: 200px; flex-shrink: 0; }
.event__date {
  font-size: 14px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
}
.event__time { font-size: 13px; color: var(--muted); margin-top: 3px; }
.event__t { font-size: clamp(18px, 2.4vw, 20px); font-weight: 700; margin-bottom: 5px; }
.event__d { font-size: 14px; line-height: 1.6; color: var(--muted); }

@media (max-width: 759px) {
  .event { flex-direction: column; gap: 10px; }
  .event__when { width: auto; }
  .event__time { display: inline; margin-left: 10px; }
}

/* ---------- about page ---------- */

.pagehead { display: flex; gap: clamp(28px, 5vw, 72px); padding-top: clamp(48px, 6vw, 76px); }
.pagehead h1 { width: 290px; flex-shrink: 0; }
.pagehead p {
  margin: 0; max-width: 760px;
  font-family: var(--serif); font-size: clamp(19px, 2.6vw, 25px); line-height: 1.66;
}
@media (max-width: 899px) {
  .pagehead { flex-direction: column; gap: 18px; }
  .pagehead h1 { width: auto; }
}

.split {
  display: flex; gap: clamp(28px, 5vw, 72px);
  padding: clamp(38px, 5vw, 54px) 0; border-top: 1px solid var(--rule);
}
.split > h2 { width: 290px; flex-shrink: 0; }
.split__body { max-width: 760px; width: 100%; }
@media (max-width: 899px) {
  .split { flex-direction: column; gap: 22px; }
  .split > h2 { width: auto; }
}

.lead { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(18px, 2.3vw, 22px); line-height: 1.75; }
.note { margin: 0; font-size: 16px; line-height: 1.85; color: var(--muted); }

.stack { display: flex; flex-direction: column; gap: 26px; }
.stack__t { font-size: 19px; font-weight: 700; margin-bottom: 7px; }
.stack__t em { font-style: normal; font-weight: 400; color: var(--accent); }
.stack__d { font-size: 16px; line-height: 1.8; color: var(--muted); }

/* board */

.person {
  display: flex; gap: 28px; padding: 30px 0; border-top: 1px solid var(--rule);
}
.person:first-child { border-top: 0; padding-top: 0; }
.person:last-child { border-bottom: 1px solid var(--rule); }
.person__photo {
  width: 118px; height: 148px; flex-shrink: 0; background: var(--plate);
  display: flex; align-items: center; justify-content: center;
}
.person__photo span {
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.person__name { font-size: 20px; font-weight: 700; }
.person__role {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin: 5px 0 11px;
}
.person__bio { font-size: 15px; line-height: 1.8; color: var(--muted); }

@media (max-width: 599px) {
  .person { gap: 18px; }
  .person__photo { width: 84px; height: 106px; }
}

/* filings table */

.rows { display: flex; flex-direction: column; }
.row {
  display: flex; gap: 30px; padding: 16px 0; border-top: 1px solid var(--rule);
}
.row:last-child { border-bottom: 1px solid var(--rule); }
.row__k { width: 300px; flex-shrink: 0; font-size: 15px; color: var(--muted); }
.row__v { font-size: 15px; font-weight: 600; }
@media (max-width: 759px) {
  .row { flex-direction: column; gap: 4px; }
  .row__k { width: auto; }
}

.filebtns { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- footer ---------- */

.foot {
  margin-top: clamp(64px, 9vw, 96px);
  background: var(--ink); color: #fff;
}
.foot__inner {
  display: flex; justify-content: space-between; gap: 40px;
  padding: 48px 0;
}
.foot a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot a:hover { color: #fff; opacity: 0.75; }

.foot__mark {
  font-family: var(--serif); font-size: 25px; font-weight: 500;
  letter-spacing: 0.13em; margin-bottom: 14px;
}
.foot__motto { font-size: 13px; line-height: 1.8; color: #B8B8B4; }
.foot__contact { font-size: 14px; line-height: 1.95; color: #D8D8D4; }
.foot__legal { font-size: 13px; line-height: 1.95; color: #B8B8B4; max-width: 320px; }

@media (max-width: 899px) {
  .foot__inner { flex-direction: column; gap: 30px; }
  .foot__legal { max-width: none; }
}
