:root {
  color-scheme: dark;
  --ink: #f4f4f4;
  --muted: #b7b7b7;
  --paper: #0d0d0d;
  --border: #303030;
  --blue: #fcee0a;
  --navy: #0d0d0d;
  --display: "Segoe UI", Arial, sans-serif;
  font: 17px/1.6 "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: var(--blue); }
:focus-visible { outline: 3px solid #fcee0a; outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -6rem; z-index: 2; padding: .5rem 1rem; background: #151515; }
.skip-link:focus { top: 1rem; }
.site-header, .site-footer { background: var(--navy); color: white; text-align: center; padding: 1rem 1.25rem; }
.brand {
  display: inline-block;
  color: inherit;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: .17em;
  text-decoration: none;
  text-transform: uppercase;
}
.brand small { display: block; margin-top: .25rem; font-size: .62rem; letter-spacing: .18em; }
.site-header nav, .site-footer nav, .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.35rem; }
.site-header nav { margin-top: .6rem; }
.site-header nav a, .site-footer nav a {
  color: inherit;
  font-size: .73rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .25rem 0;
}
nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.site-footer p { margin: .65rem 0 0; font-size: .8rem; color: #e2edf5; }
.hero, .sub-hero {
  color: white;
  text-align: center;
  display: grid;
  align-content: center;
  padding: 2.5rem 1.25rem;
  background: linear-gradient(0deg, #061b31c9, #061b3188), var(--cover) center / cover var(--navy);
}
.hero { --cover: url("/assets/hyland-waterfront.jpg"); min-height: clamp(320px, 31vw, 455px); }
.sub-hero { --cover: url("/assets/hyland-waterfront.jpg"); min-height: 265px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; }
h1 { margin: 0; font-size: clamp(2.45rem, 5.25vw, 4.4rem); text-wrap: balance; }
.hero p, .sub-hero p { max-width: 39rem; margin: 1rem auto 0; color: #f3f7fa; text-wrap: pretty; }
.section { padding: clamp(2.65rem, 5vw, 4.5rem) 1.25rem; }
.centered { text-align: center; }
.centered > p { max-width: 36rem; margin: 0 auto 1.25rem; color: var(--muted); }
.centered > h2, .sub-section-title { margin: 0 0 1.15rem; font-size: clamp(2rem, 4vw, 2.8rem); }
.centered > h2::after { content: ""; display: block; width: 2.8rem; height: 2px; background: var(--border); margin: 1rem auto 0; }
.white, .roadmap-area { background: #151515; }
.button {
  display: inline-block;
  padding: .65rem 1.25rem;
  border: 1px solid var(--blue);
  background: transparent;
  color: var(--blue);
  font: 700 .75rem/1.5 "Segoe UI", Arial, sans-serif;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.button:hover { background: #e6eef2; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: #09283b; }
.actions { gap: .7rem; }
.status { max-width: 36rem; margin: 1.5rem auto 0; border-top: 1px solid var(--border); padding-top: 1rem; }
.status p { margin: .2rem 0 0; color: var(--muted); }
.container, .wrap, .cards, .news-grid { width: min(100%, 64rem); margin-inline: auto; }
.cards, .news-grid, .roadmap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.news-grid { margin-bottom: 1.5rem; }
.cards article, .news-card, .news-empty, .roadmap-card, .rule-block, .form-panel, .info-banner {
  background: #151515;
  border: 1px solid var(--border);
  padding: clamp(1rem, 3vw, 1.6rem);
}
.news-card { text-align: left; overflow-wrap: anywhere; }
.news-card p { white-space: pre-wrap; }
.news-empty { grid-column: 1 / -1; text-align: center; }
.cards h3, .news-card h3, .roadmap h3 { margin: .35rem 0 .6rem; font-size: 1.5rem; }
.cards p, .roadmap p, .rule-block p { margin: 0; color: var(--muted); }
.content-grid, .apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: clamp(1.5rem, 4vw, 3rem); }
.sidebar a { display: block; margin: .4rem 0; }
.sidebar-callout { margin-top: 1.2rem; }
.rule-block, .info-banner { margin-bottom: 1rem; }
.rule-block h2, .apply-aside h2 { font-size: 1.7rem; margin: .45rem 0 .75rem; }
.section-kicker, .rule-header > span, .form-panel-head, .form-footnote, .sidebar-label, .roadmap-top, .admin-meta {
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .06em;
  color: var(--muted);
}
.form-panel-head, .roadmap-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
form label { display: block; margin: 1rem 0; font-size: .8rem; font-weight: 650; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row label { margin-bottom: 0; }
input:not([type="checkbox"]), select, textarea {
  display: block;
  width: 100%;
  margin-top: .35rem;
  padding: .62rem;
  border: 1px solid #555;
  border-radius: 0;
  background: #151515;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
}
textarea { resize: vertical; }
.checkbox-row { display: flex; align-items: flex-start; gap: .45rem; }
.checkbox-row input { margin-top: .32rem; }
.honeypot, [hidden] { display: none; }
.form-feedback { margin: .75rem 0; color: #ff9292; }
.form-footnote { margin-top: .6rem; }
.check-list { padding-left: 1.2rem; }
.privacy-note { border-top: 1px solid var(--border); padding-top: .8rem; }
@media (max-width: 680px) {
  .content-grid, .apply-grid, .form-row { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .site-header nav { column-gap: 1rem; }
}

.site-header {
  min-height: 65px;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: .55rem 1.4rem;
  border-bottom: 1px solid #242424;
  text-align: left;
}
.brand { display: inline-flex; flex: none; }
.brand img { filter: sepia(1) saturate(5) hue-rotate(352deg); }
.site-header nav { margin: 0; justify-content: flex-start; gap: .2rem 1.65rem; }
.site-header nav a, .site-footer nav a, .header-discord {
  color: var(--muted);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}
.site-header a:hover, .site-footer a:hover { color: var(--blue); }
.header-discord { margin-left: auto; white-space: nowrap; text-decoration: none; }
.hero, .sub-hero {
  background: linear-gradient(180deg, #08080848, #08080877 47%, #0d0d0d 100%), var(--cover) center / cover var(--navy);
}
.hero {
  --cover: url("/assets/hyland-waterfront.jpg");
  align-content: start;
  padding-top: clamp(4.4rem, 8vw, 6.15rem);
  min-height: clamp(550px, calc(100svh - 65px), 760px);
}
h1 { font-size: clamp(2.35rem, 5vw, 3.8rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.06; }
h2, h3 { font-weight: 650; letter-spacing: -.025em; }
.hero h1 strong, .hero p strong { color: var(--blue); }
.hero p { margin-top: 1.5rem; color: #ddd; font-size: clamp(1rem, 1.7vw, 1.22rem); font-weight: 550; }
.phase-badge {
  justify-self: center;
  margin-top: 1.55rem;
  border: 1px solid #ffffff14;
  border-radius: 2rem;
  background: #242424e8;
  padding: .25rem 1.15rem;
  font-size: .95rem;
  font-weight: 650;
}
.button:hover { background: #2c2a0d; }
.button-primary { color: #111; }
.button-primary:hover { background: #fff773; }
.site-footer { border-top: 1px solid var(--border); }
@media (max-width: 680px) {
  .site-header { gap: .5rem 1rem; padding: .55rem 1rem; flex-wrap: wrap; }
  .site-header nav { order: 1; width: 100%; gap: .1rem 1rem; }
  .site-header nav a, .header-discord { font-size: .86rem; }
  .hero { padding-top: 4.3rem; min-height: min(620px, calc(100svh - 110px)); }
  .desktop-break { display: none; }
}

/* Daily patch-note archive */
.news-grid { grid-template-columns: minmax(0, 1fr); }
.news-card.daily-update { padding: 0; }
.daily-update summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.6rem);
  cursor: pointer;
  list-style: none;
}
.daily-update summary::-webkit-details-marker { display: none; }
.daily-update summary:focus-visible { outline: 2px solid var(--blue); outline-offset: -4px; }
.daily-update summary h3 { margin: .35rem 0; }
.daily-update-count { color: var(--muted); font-size: .85rem; }
.daily-update-toggle { color: var(--muted); font-size: 2rem; line-height: 1; transition: transform .2s ease; }
.daily-update[open] .daily-update-toggle { transform: rotate(45deg); }
.daily-update-entry { padding: 1.2rem clamp(1rem, 3vw, 1.6rem); border-top: 1px solid var(--border); }
.daily-update-entry h4 { margin: 0 0 .45rem; font-size: 1.05rem; }
.daily-update-entry p { margin: 0; color: var(--muted); line-height: 1.6; }
.daily-update-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; color: var(--muted); line-height: 1.6; }
.daily-update-list strong { display: block; margin-bottom: .2rem; color: var(--ink); font-size: .8rem; letter-spacing: .06em; }
@media (prefers-reduced-motion: reduce) { .daily-update-toggle { transition: none; } }
