:root {
  --brand-blue: #0101ff;
  --ink: #000000;
  --line: #d9d9d9;
  --bg: #f7f5f0;
  --paper: #efece3;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "EB Garamond", Garamond, Georgia, serif;
  line-height: 1.75;
  font-size: 18px;
}

a { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Header / brand mark ---------- */
header.site-header {
  background: var(--bg);
}

.header-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 20px 0 4px;
}

.header-rule {
  height: 3px;
  background: #000000;
  width: 100%;
}

.header-bottom {
  padding: 3px 0 10px;
}

.brand-mark a { display: block; text-decoration: none; }

.brand-word,
.brand-sub {
  display: flex;
  justify-content: space-between;
  width: 230px;
  font-family: "Playfair Display SC", "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-variant: small-caps;
  line-height: 1;
}

.brand-word {
  font-size: 30px;
  color: var(--brand-blue);
}

.brand-sub {
  font-size: 14px;
  color: var(--ink);
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
nav.main-nav a {
  font-family: "EB Garamond", Garamond, serif;
  font-variant: small-caps;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: 0.5px;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--brand-blue);
  text-decoration: underline;
}

/* ---------- Hero banner ---------- */
.hero {
  position: relative;
  height: 380px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.hero.hero-tall { height: 460px; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  padding-bottom: 40px;
}
.hero-title {
  font-family: "EB Garamond", Garamond, serif;
  font-variant: small-caps;
  color: #ffffff;
  font-size: 44px;
  margin: 0 0 8px;
}
.hero-kicker {
  color: #f1f1f1;
  font-style: italic;
  font-size: 20px;
  margin: 0;
  max-width: 620px;
}

/* ---------- Main content ---------- */
main { padding-bottom: 70px; }

.section-pad { padding-top: 50px; }
.section-pad::after { content: ""; display: table; clear: both; }

.lede { font-size: 21px; font-style: italic; color: var(--brand-blue); margin-bottom: 26px; }

p { color: var(--ink); }

.divisions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin: 50px 0 10px;
}
.division-card {
  border-top: 2px solid var(--brand-blue);
  padding-top: 22px;
}
.division-card .thumb {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  margin-bottom: 18px;
  filter: grayscale(15%);
}
.division-card h3 {
  font-family: "EB Garamond", Garamond, serif;
  font-variant: small-caps;
  color: var(--brand-blue);
  font-size: 26px;
  margin: 0 0 10px;
}
.division-card p { margin-top: 0; }
.division-card a.more {
  font-weight: 600;
  font-variant: small-caps;
  border-bottom: 1px solid var(--brand-blue);
  padding-bottom: 2px;
}

.activity-box {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 34px 40px;
  margin: 36px 0;
}
.activity-box h4 {
  font-family: "EB Garamond", Garamond, serif;
  font-variant: small-caps;
  color: var(--brand-blue);
  font-size: 21px;
  margin-top: 0;
}
.activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.activity-list li {
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.activity-list li:last-child { border-bottom: none; }
.activity-list li::before {
  content: "\2014";
  color: var(--brand-blue);
  position: absolute;
  left: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
  margin-top: 10px;
}
.two-col img {
  width: 100%;
  display: block;
  filter: grayscale(15%);
}
.figure-caption {
  font-size: 15px;
  font-style: italic;
  color: #444;
  margin-top: 10px;
  border-left: 2px solid var(--brand-blue);
  padding-left: 14px;
}

.float-fig {
  float: right;
  width: 40%;
  margin: 6px 0 24px 44px;
}
.float-fig img {
  width: 100%;
  display: block;
  filter: grayscale(15%);
}

p.disclaimer { margin-top: 0; }
p.disclaimer br { line-height: 1; }

blockquote.pull {
  font-family: "EB Garamond", Garamond, serif;
  font-style: italic;
  font-size: 23px;
  color: var(--brand-blue);
  border-left: 3px solid var(--brand-blue);
  margin: 40px 0;
  padding: 4px 0 4px 26px;
}

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--brand-blue);
  padding: 34px 0 44px;
  color: #333;
  font-size: 15px;
}
footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
footer.site-footer .wrap > div {
  font-size: 15px;
  line-height: 1.6;
}
footer.site-footer a { color: #333; }
footer.site-footer a:hover { color: var(--brand-blue); }
footer.site-footer .foot-brand {
  font-family: "Playfair Display SC", "Playfair Display", Georgia, serif;
  font-variant: small-caps;
  font-weight: 700;
  color: var(--brand-blue);
  font-size: 16px;
  margin-bottom: 6px;
}

/* ---------- Legal page ---------- */
.legal h1.page-title-plain {
  font-family: "EB Garamond", Garamond, serif;
  font-variant: small-caps;
  color: var(--brand-blue);
  font-size: 34px;
  margin: 46px 0 24px;
}
.legal h2 {
  font-family: "EB Garamond", Garamond, serif;
  font-variant: small-caps;
  color: var(--brand-blue);
  font-size: 20px;
  margin-top: 36px;
}
.legal p { font-size: 16px; }
.legal .lede { font-size: 21px; }
.lede + h2 { margin-top: 12px; }

@media (max-width: 780px) {
  .divisions, .two-col { grid-template-columns: 1fr; }
  header.site-header .wrap { flex-direction: column; align-items: flex-start; }
  .hero-title { font-size: 32px; }
  .activity-box { padding: 26px; }
  .float-fig { float: none; width: 100%; margin: 0 0 26px; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
}
