:root {
  --firm: #970011;
  --firm-dark: #74000d;
  --ink: #252a31;
  --muted: #66717f;
  --line: #e1e5ea;
  --soft: #f6f7f9;
}

body {
  color: var(--ink);
  scroll-behavior: smooth;
}

.icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

#header {
  min-height: 86px;
}

#header .logo {
  padding-top: 12px;
}

#header .container {
  max-width: 1320px;
}

#header .nav-menu {
  width: 100%;
}

#header .nav-menu > ul {
  display: flex;
  justify-content: center;
  gap: 8px 18px;
}

#header .nav-menu a {
  max-width: 190px;
  white-space: normal;
  line-height: 1.35;
  text-align: center;
}

.access-notice {
  padding: 0;
  border-top: 1px solid #eef0f3;
  border-bottom: 1px solid #eadde0;
  background: #fff7f8;
  overflow: visible;
}

.access-notice .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.access-notice__text {
  color: #4b5562;
  font-size: 15px;
  line-height: 1.55;
}

.access-notice__text strong {
  color: var(--firm);
}

.access-notice__actions {
  display: flex;
  flex: 0 0 230px;
  flex-direction: column;
  gap: 10px;
}

.access-notice__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(151, 0, 17, .25);
  border-radius: 4px;
  color: var(--firm);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
}

.access-notice__actions a:hover {
  color: #fff;
  background: var(--firm);
  border-color: var(--firm);
  text-decoration: none;
}

#hero .carousel-item {
  background-size: cover;
  background-position: center;
}

#hero .carousel-item::before {
  background-color: rgba(30, 35, 40, .46);
}

#hero .carousel-indicators {
  display: none;
}

.schedule-overview {
  padding-top: 54px;
}

.schedule-intro {
  max-width: 840px;
  margin: -18px 0 34px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.schedule-block {
  margin: 28px 0;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--firm);
  box-shadow: 0 10px 28px rgba(63, 73, 83, .08);
}

.schedule-block h3 {
  margin-bottom: 18px;
  color: #556270;
  font-size: 24px;
  font-weight: 700;
}

.schedule-block table {
  margin-bottom: 0;
  background: #fff;
}

.schedule-block h5 {
  margin: 22px 0 14px;
  color: var(--firm);
  font-weight: 700;
}

.classic-hero {
  min-height: 470px;
  display: flex;
  align-items: center;
  margin-top: 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(24, 29, 35, .9), rgba(24, 29, 35, .76), rgba(24, 29, 35, .4)),
    url("/assets/images/author_photo.jpg") center right / cover;
}

.classic-hero h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 58px;
  font-weight: 800;
  letter-spacing: 0;
}

.classic-hero .eyebrow,
.section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #f0c5cb;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.classic-hero .lead {
  max-width: 720px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .92);
  font-size: 23px;
  line-height: 1.45;
}

.actions,
.action-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--firm);
  border-radius: 4px;
  color: var(--firm);
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  color: var(--firm);
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--firm);
  border-color: var(--firm);
}

.button.secondary {
  color: var(--firm);
  background: #fff;
}

.button.light {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .45);
}

.button.ghost {
  background: transparent;
}

.button.small {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 13px;
}

.highlight-band {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 1140px;
  margin: -44px auto 34px;
  padding: 0 15px;
}

.highlight {
  display: flex;
  gap: 14px;
  min-height: 118px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .08);
}

.highlight .icon {
  width: 26px;
  height: 26px;
  color: #1f6f68;
}

.highlight strong,
.highlight span {
  display: block;
}

.highlight strong {
  margin-bottom: 6px;
  font-size: 17px;
}

.highlight span {
  color: var(--muted);
  font-size: 14px;
}

.section-grid,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1140px;
  margin: 34px auto;
  padding: 0 15px;
}

.content-section,
.form-panel,
.auth-card,
.file-list,
.action-panel {
  max-width: 1140px;
  margin: 28px auto;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.content-section p,
.form-panel p,
.auth-card p {
  color: var(--muted);
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
  gap: 34px;
}

.auth-shell {
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: 48px 15px;
  background: var(--soft);
}

.auth-card {
  width: min(100%, 480px);
  margin: 0;
}

.auth-notice {
  margin: 22px 0 24px;
  padding: 18px;
  border: 1px solid #eadde0;
  border-left: 4px solid var(--firm);
  border-radius: 4px;
  background: #fff7f8;
}

.auth-notice strong {
  display: block;
  margin-bottom: 8px;
  color: var(--firm);
  font-size: 16px;
}

.auth-card .auth-notice p {
  margin: 0 0 14px;
  color: #4b5562;
  line-height: 1.55;
}

.auth-notice__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-notice__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(151, 0, 17, .25);
  border-radius: 4px;
  color: var(--firm);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
}

.auth-notice__actions a:hover {
  color: #fff;
  background: var(--firm);
  border-color: var(--firm);
  text-decoration: none;
}

label {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 700;
}

.spam-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-box {
  display: flex;
  justify-content: center;
  margin: 18px 0;
}

input,
textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(151, 0, 17, .12);
  border-color: var(--firm);
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: center;
}

.checkbox input {
  width: auto;
  margin: 0;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: end;
  max-width: 1140px;
  margin: 40px auto 22px;
  padding: 0 15px;
}

.dashboard-hero h1 {
  color: var(--firm);
  font-size: 44px;
  font-weight: 800;
}

.dashboard-hero p {
  color: var(--muted);
  font-size: 18px;
}

.status-card {
  min-height: 168px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.status-card .icon {
  width: 32px;
  height: 32px;
  color: #1f6f68;
}

.status-card strong {
  font-size: 22px;
}

.status-card span {
  color: var(--muted);
}

.file-list {
  list-style: none;
}

.file-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.file-list li:last-child {
  border-bottom: 0;
}

.file-list span {
  overflow-wrap: anywhere;
}

.pill {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f4ead0;
  color: #74520d;
  font-weight: 700;
  font-size: 12px;
}

.pill.ok {
  background: #dcefeb;
  color: #16544f;
}

.lead-list {
  padding-left: 18px;
}

.lead-list li + li {
  margin-top: 16px;
}

.muted {
  color: var(--muted);
}

.flash,
.error {
  max-width: 1140px;
  margin: 18px auto;
  padding: 12px 16px;
  border-radius: 4px;
}

.flash {
  background: #e8f4f2;
  color: #164b46;
}

.error {
  background: #fff0f1;
  color: var(--firm-dark);
}

.inline-form {
  display: inline-flex;
}

.table-wrap {
  overflow-x: auto;
}

.thank-you-section {
  padding: 54px 0 70px;
  background: #f8f9fa;
}

.thank-you-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 48px;
  text-align: center;
  background: #fff;
  border-top: 4px solid var(--firm);
  box-shadow: 0 10px 30px rgba(63, 73, 83, .12);
}

.thank-you-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--firm);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.thank-you-card h2 {
  margin: 0 0 14px;
  color: #3f4953;
  font-size: 34px;
  font-weight: 700;
}

.thank-you-card p {
  max-width: 560px;
  margin: 0 auto 26px;
  color: #66717f;
  font-size: 18px;
  line-height: 1.6;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .access-notice .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .classic-hero {
    min-height: 460px;
  }

  .classic-hero h2 {
    font-size: 44px;
  }

  .highlight-band,
  .section-grid,
  .admin-grid,
  .split-panel,
  .dashboard-hero {
    grid-template-columns: 1fr;
  }

  .highlight-band {
    margin-top: 18px;
  }

  .file-list li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .access-notice__actions {
    width: 100%;
  }

  .access-notice__actions a {
    width: 100%;
    justify-content: center;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .classic-hero h2 {
    font-size: 36px;
  }

  .classic-hero .lead {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .thank-you-card {
    padding: 32px 22px;
  }

  .thank-you-card h2 {
    font-size: 28px;
  }
}
