:root {
  color-scheme: light;
  --paper: #efe9da;
  --paper-deep: #e3dac8;
  --ink: #171a19;
  --muted: #555951;
  --line: #bcb4a4;
  --red: #9e2925;
  --blue-black: #202a2d;
  --white: #fffdf7;
  font-family: Arial, Helvetica, sans-serif;
  background: #d5cebf;
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, transparent 0 49.85%, rgb(47 47 39 / 3%) 50%, transparent 50.15%),
    #d5cebf;
}

a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
input:focus-visible,
button:focus-visible {
  outline: 3px solid #1d5964;
  outline-offset: 3px;
}

.page-shell {
  width: min(100% - 2rem, 1180px);
  min-height: min(850px, calc(100svh - 2rem));
  margin: 1rem auto;
  padding: 0 clamp(1.25rem, 5vw, 4.5rem);
  background: var(--paper);
  border: 1px solid #aaa290;
  box-shadow: 0 8px 30px rgb(36 34 28 / 8%);
  display: flex;
  flex-direction: column;
}

.masthead {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--ink);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.wordmark-seal {
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  font-weight: 700;
  transform: rotate(-8deg);
}

.wordmark-type {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.35;
}

.wordmark-type b {
  display: block;
  color: var(--red);
  font-size: 0.68rem;
  letter-spacing: 0.23em;
}

.masthead-note,
.eyebrow,
.board-topline,
.board-kicker,
.board-stamp,
.site-footer {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.masthead-note {
  margin: 0;
  color: var(--muted);
}

.status-light {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--red);
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(3rem, 8vw, 6.5rem) 0;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.notice-number {
  color: var(--red);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.05rem;
  font-family: "Arial Narrow", "Franklin Gothic Medium", Arial, sans-serif;
  font-size: clamp(3.4rem, 7.7vw, 6.6rem);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.87;
}

h1 em {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: -0.075em;
}

.tagline {
  margin-bottom: 1.1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-style: italic;
}

.intro {
  max-width: 37rem;
  margin-bottom: 2rem;
  color: #363a36;
  font-size: 1rem;
  line-height: 1.65;
}

.signup-form {
  max-width: 570px;
}

.field-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.signup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid var(--ink);
  background: var(--white);
}

.signup-row input {
  width: 100%;
  min-width: 0;
  min-height: 3.35rem;
  padding: 0.8rem 0.95rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
}

.signup-row input:focus-visible {
  position: relative;
  z-index: 1;
}

.signup-row button {
  min-height: 3.35rem;
  padding: 0.8rem 1rem;
  border: 0;
  border-left: 1px solid var(--ink);
  border-radius: 0;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.signup-row button:hover {
  background: #7e201d;
}

.signup-row button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.signup-row button span {
  margin-left: 0.5rem;
  font-size: 1rem;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1rem;
  color: #353934;
  font-size: 0.8rem;
  line-height: 1.45;
}

.consent-row input {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin: 0.1rem 0 0;
  accent-color: var(--red);
}

.privacy-note,
.form-status {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.form-status {
  min-height: 1.2rem;
  color: var(--ink);
  font-weight: 700;
}

.website-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.notice-board {
  position: relative;
  min-height: 420px;
  padding: 1.3rem clamp(1.25rem, 3vw, 2.25rem) 1.5rem;
  overflow: hidden;
  background: var(--blue-black);
  color: var(--paper);
  border: 1px solid #12191b;
  border-top: 6px solid var(--red);
}

.notice-board::after {
  position: absolute;
  right: -2.8rem;
  bottom: 3.6rem;
  width: 11rem;
  height: 11rem;
  border: 1px solid rgb(239 233 218 / 11%);
  border-radius: 50%;
  content: "";
}

.board-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgb(239 233 218 / 25%);
  color: #d7d0c0;
  font-size: 0.57rem;
}

.seal {
  width: 6.8rem;
  height: 6.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  margin: 1.6rem auto 1.15rem;
  border: 1px solid #c8b897;
  border-radius: 50%;
  color: #e4d3b0;
  outline: 1px solid #c8b897;
  outline-offset: 4px;
  transform: rotate(-7deg);
}

.seal-small {
  font-size: 0.47rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.seal-large {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.board-kicker {
  margin: 0 0 0.6rem;
  color: #d7d0c0;
  text-align: center;
  font-size: 0.58rem;
}

.notice-board h2 {
  margin-bottom: 1rem;
  color: var(--white);
  font-family: "Arial Narrow", "Franklin Gothic Medium", Arial, sans-serif;
  font-size: clamp(2.55rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.88;
  text-align: center;
}

.board-rule {
  width: 3rem;
  height: 2px;
  margin: 1.2rem auto;
  background: var(--red);
}

.station-details {
  margin: 0;
}

.station-details div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgb(239 233 218 / 17%);
  font-size: 0.72rem;
}

.station-details dt {
  color: #d7d0c0;
}

.station-details dd {
  margin: 0;
  color: var(--white);
  font-weight: 700;
  text-align: right;
}

.board-stamp {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 1rem 0 0 auto;
  padding: 0.45rem 0.6rem;
  border: 1px solid #cf766f;
  color: #e6aaa5;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  transform: rotate(-4deg);
}

.site-footer {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.58rem;
}

.simple-page {
  max-width: 680px;
  flex: 1;
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.simple-page h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 8vw, 5.4rem);
}

.simple-page p {
  color: #363a36;
  font-size: 1rem;
  line-height: 1.7;
}

.simple-page .eyebrow {
  color: var(--red);
}

.simple-page .return-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 1rem, 600px);
    min-height: calc(100svh - 1rem);
    margin: 0.5rem auto;
    padding: 0 1.25rem;
  }

  .masthead {
    min-height: 72px;
  }

  .masthead-note {
    max-width: 9rem;
    font-size: 0.55rem;
    line-height: 1.4;
    text-align: right;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    padding: 3.5rem 0;
  }

  h1 {
    font-size: clamp(3.5rem, 15vw, 5.6rem);
  }

  .notice-board {
    min-height: 0;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    padding: 1.2rem 1.5rem 1.4rem;
  }

  .seal {
    width: 5.7rem;
    height: 5.7rem;
    margin-top: 1.4rem;
  }

  .notice-board h2 {
    font-size: 3.1rem;
  }

  .site-footer {
    min-height: 52px;
    font-size: 0.52rem;
  }
}

@media (max-width: 430px) {
  .signup-row {
    grid-template-columns: 1fr;
  }

  .signup-row button {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .wordmark-type {
    font-size: 0.68rem;
  }

  .wordmark-type b {
    font-size: 0.6rem;
  }
}
