:root {
  /* Matches the colours used on Oakwood's main website. */
  --green: #46704f;
  --green-deep: #24553a;
  --green-darkest: #183c2b;
  --coral: #efb9b5;
  --text: #3d453f;
  --muted: #58645b;
  --surface: #fffefa;
  --tint: #edf6ec;
  --border: #dbe6d9;
}

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

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 1rem/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible { outline: 3px solid #ad5048; outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.2; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.4rem); letter-spacing: -.03em; }
h2 { color: var(--green-deep); font-size: clamp(1.7rem, 3.5vw, 2.45rem); }
h3 { margin-bottom: .45rem; color: var(--green-deep); font-size: 1.45rem; }

.container { width: min(100% - 2.5rem, 1100px); margin-inline: auto; }
.eyebrow {
  margin-bottom: .75rem;
  color: var(--green);
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: var(--surface); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 100px;
}
.brand { display: inline-flex; flex-direction: column; color: var(--green-deep); line-height: 1.12; text-decoration: none; }
.brand__name { font: 400 1.95rem/1.12 Georgia, "Times New Roman", serif; letter-spacing: -.04em; }
.brand__sub { margin-top: .25rem; font-size: .75rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.back-link { color: var(--green-deep); font-size: .95rem; font-weight: 650; text-underline-offset: .35em; }
.back-link:hover { text-decoration-color: var(--coral); }

/* Introduction */
.hero {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
  background: linear-gradient(135deg, var(--tint) 0%, #f6faf5 65%, #fff 100%);
}
.hero h1 { max-width: 850px; margin-bottom: 1.25rem; color: var(--green-deep); }
.hero__intro { max-width: 700px; margin-bottom: 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); }

/* Report archive */
.reports { padding-block: clamp(3.25rem, 7vw, 6rem); }
.report-group + .report-group { margin-top: clamp(3rem, 6vw, 4.5rem); }
.report-group__heading { margin-bottom: 1.4rem; }
.report-group__heading h2 { margin-bottom: .5rem; }
.report-group__heading p { margin-bottom: 0; color: var(--muted); }
.report-list { display: grid; gap: 1rem; }
.report-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-left: 5px solid var(--green-deep);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 30px rgb(36 48 39 / 4%);
}
.report-card__content { min-width: 0; }
.report-card__type {
  display: inline-block;
  margin-bottom: .65rem;
  color: var(--green);
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.report-card p { margin-bottom: 0; color: var(--muted); font-size: .95rem; }
.report-card__link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .75rem 1.2rem;
  border-radius: 6px;
  background: var(--green-deep);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease;
}
.report-card__link:hover { background: var(--green-darkest); }
.reports__note { margin: 2.5rem 0 0; color: var(--muted); font-size: .95rem; }
.reports__note a { color: var(--green-deep); text-underline-offset: .2em; }

/* Return link and footer */
.return-panel { padding-block: 2.5rem; background: var(--tint); }
.return-panel__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.return-panel p { margin-bottom: 0; }
.return-panel strong { color: var(--green-deep); }
.return-panel a { color: var(--green-deep); font-weight: 700; text-underline-offset: .3em; }
.site-footer { padding-block: 1.65rem; background: var(--green-darkest); color: #fff; }
.site-footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .9rem; }
.site-footer p { margin-bottom: 0; }

@media (max-width: 680px) {
  .site-header__inner { align-items: flex-start; flex-direction: column; gap: .5rem; padding-block: 1.25rem; }
  .brand__name { font-size: 1.6rem; }
  .brand__sub { font-size: .63rem; }
  .report-card { align-items: flex-start; flex-direction: column; }
  .report-card__link { align-self: stretch; }
  .return-panel__inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .report-card__link { transition: none; }
}
