:root {
  color-scheme: dark;
  --bg: #0f0b08;
  --panel: #17110d;
  --panel-raised: #1d1510;
  --line: rgba(231, 180, 124, 0.18);
  --line-strong: rgba(231, 180, 124, 0.34);
  --text: #f3eadf;
  --muted: #bda999;
  --orange: #e78831;
  --gold: #d5aa58;
  --blue: #55a7cf;
  --teal: #5eb9b2;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(231, 136, 49, 0.13), transparent 38rem),
    linear-gradient(180deg, #17100b 0%, var(--bg) 45%, #0b0806 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(90deg, transparent 0 49%, rgba(255,255,255,.018) 50% 51%, transparent 52%),
    linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 72px 100%, 100% 5px;
}

a { color: inherit; }

.site-header,
.site-footer,
main {
  width: min(1440px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(231, 136, 49, 0.55);
  border-radius: 12px;
  color: var(--orange);
  font-size: 21px;
  background: rgba(231, 136, 49, 0.07);
  box-shadow: inset 0 0 22px rgba(231, 136, 49, 0.06);
}

.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 1.08rem; letter-spacing: 0.13em; }
.brand-copy small { margin-top: 7px; color: var(--muted); letter-spacing: 0.27em; }

.header-link {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  text-decoration: none;
  color: #dfcbbb;
  transition: border-color .2s ease, background .2s ease;
}

.header-link:hover,
.header-link:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255,255,255,.025);
}

main { padding: 92px 0 68px; }

.intro {
  max-width: 900px;
  margin-bottom: 54px;
}

.eyebrow,
.board-label {
  margin: 0;
  color: var(--orange);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1 {
  margin: 16px 0 18px;
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: .92;
  letter-spacing: -.055em;
  font-weight: 500;
}

.intro-copy {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.72;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.board-card {
  --accent: var(--orange);
  position: relative;
  min-height: 510px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(155deg, rgba(255,255,255,.028), transparent 40%),
    var(--panel);
  box-shadow: var(--shadow);
}

.board-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -120px;
  bottom: -120px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(70px);
  opacity: .09;
  pointer-events: none;
}

.board-card--noticeboard { --accent: var(--blue); }
.board-card--billboard { --accent: var(--gold); border-color: rgba(213,170,88,.46); }
.board-card--springboard { --accent: var(--orange); }
.board-card--skateboard { --accent: var(--teal); }

.board-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.board-number {
  color: rgba(243,234,223,.42);
  font-family: Georgia, serif;
  font-size: 1.15rem;
}

.status {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status--live {
  color: #f5d68d;
  border-color: rgba(213,170,88,.4);
  background: rgba(213,170,88,.08);
}

.status--planned { color: #9f9187; }

.board-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 48px 0 30px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 17px;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 2.1rem;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  box-shadow: inset 0 0 30px color-mix(in srgb, var(--accent) 8%, transparent);
}

.board-label { color: var(--accent); }

.board-card h2 {
  margin: 14px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  line-height: 1.12;
  font-weight: 500;
}

.board-copy {
  margin: 0 0 32px;
  color: var(--muted);
  line-height: 1.65;
}

.board-action {
  position: relative;
  z-index: 1;
  margin-top: auto;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 9px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .04em;
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  transition: transform .2s ease, background .2s ease;
}

.board-action[href]:hover,
.board-action[href]:focus-visible {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--accent) 13%, transparent);
}

.board-action--disabled {
  color: #776d66;
  border-color: rgba(255,255,255,.08);
  background: rgba(255,255,255,.015);
  cursor: default;
}

.working-note {
  margin-top: 28px;
  padding: 30px 32px;
  display: grid;
  grid-template-columns: minmax(250px, .7fr) 1.3fr;
  gap: 36px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.018);
}

.working-note h2 {
  margin: 10px 0 0;
  font-family: Georgia, serif;
  font-size: clamp(1.6rem, 2.5vw, 2.45rem);
  font-weight: 500;
}

.working-note > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: #9f9187;
  font-size: .9rem;
}

.site-footer a { text-decoration: none; }
.site-footer a:last-child { justify-self: end; }
.site-footer a:hover,
.site-footer a:focus-visible { color: var(--text); }

@media (max-width: 1120px) {
  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board-card { min-height: 470px; }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer,
  main { width: min(100% - 28px, 1440px); }

  .site-header { min-height: 78px; }
  .brand-copy small { display: none; }
  .header-link { padding: 10px 12px; font-size: .85rem; }
  main { padding-top: 64px; }
  .board-grid { grid-template-columns: 1fr; }
  .board-card { min-height: 440px; }
  .working-note { grid-template-columns: 1fr; gap: 20px; padding: 25px; }
  .site-footer { grid-template-columns: 1fr 1fr; padding: 24px 0; }
  .site-footer span { display: none; }
}

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