:root {
  --ink: #120c0e;
  --mat: #8c2b42;
  --mat-deep: #6b1f31;
  --paper: #f5f0ee;
  --white: #ffffff;
  --muted: #5e5254;
  --line: #120c0e;
  --hairline: #d9cdca;
  --focus: #8c2b42;
  --measure: 66ch;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Archivo", Arial, Helvetica, sans-serif;
  font-size: 17px; line-height: 1.6; font-synthesis-weight: none;
}
h1, h2, h3 {
  font-family: "Archivo Black", "Archivo", Arial, sans-serif;
  font-weight: 400; line-height: 1.04; letter-spacing: -0.015em; margin: 0;
}
p { margin: 0 0 1.1rem; max-width: var(--measure); }
a { color: var(--mat-deep); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 3px;
}
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.masthead { background: var(--ink); color: var(--paper); border-bottom: 6px solid var(--mat); }
.masthead .wrap {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 10px 30px; padding-top: 20px; padding-bottom: 20px;
}
.wordmark {
  font-family: "Archivo Black", Arial, sans-serif; font-size: 19px;
  letter-spacing: -0.02em; color: var(--paper); text-decoration: none; margin-right: auto;
}
.wordmark span { color: var(--mat); }
.nav { display: flex; gap: 26px; flex-wrap: wrap; }
.nav a {
  color: var(--paper); text-decoration: none; font-size: 15px;
  padding-bottom: 3px; border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--mat); }
.nav a[aria-current="page"] { border-bottom-color: var(--paper); }
.hero { background: var(--ink); color: var(--paper); padding: 78px 0 0; }
.hero h1 { font-size: clamp(2.5rem, 7.2vw, 4.6rem); max-width: 15ch; color: var(--white); }
.hero .lede {
  font-size: clamp(1.05rem, 2.1vw, 1.25rem); color: #dccfd2;
  max-width: 52ch; margin-top: 26px;
}
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 70px; }
.spec { background: var(--mat); color: var(--white); }
.spec dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.spec div {
  padding: 26px 26px 30px;
  border-right: 1px solid rgba(255,255,255,0.22);
  border-bottom: 1px solid rgba(255,255,255,0.22);
}
.spec dt { font-size: 13px; letter-spacing: 0.01em; color: #f0d6dc; margin-bottom: 7px; }
.spec dd { margin: 0; font-family: "Archivo Black", Arial, sans-serif; font-size: 20px; line-height: 1.25; }
.band { padding: 68px 0; }
.band-paper { background: var(--paper); }
.band-white { background: var(--white); }
.rule { border: 0; border-top: 3px solid var(--line); margin: 0 0 30px; }
.hairline { border: 0; border-top: 1px solid var(--hairline); margin: 34px 0; }
.band h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); max-width: 22ch; margin-bottom: 22px; }
.band h3 { font-size: 1.12rem; margin-bottom: 8px; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px; }
.stack > * + * { margin-top: 30px; }
.note { color: var(--muted); font-size: 15.5px; }
.btn {
  display: inline-block; font-family: "Archivo Black", Arial, sans-serif;
  font-size: 15px; text-decoration: none; padding: 15px 26px;
  border: 2px solid transparent; cursor: pointer; background: var(--mat); color: var(--white);
}
.btn:hover { background: var(--mat-deep); }
.btn-quiet { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-quiet:hover { background: rgba(255,255,255,0.1); }
.statutes { margin: 0; padding: 0; list-style: none; }
.statutes li {
  padding: 22px 0; border-top: 1px solid var(--hairline);
  display: grid; grid-template-columns: 170px 1fr; gap: 8px 26px;
}
.statutes li:last-child { border-bottom: 1px solid var(--hairline); }
.statutes .cite { font-family: "Archivo Black", Arial, sans-serif; font-size: 15px; }
.statutes p { margin: 0; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 52px 1fr;
  gap: 20px; padding: 24px 0; border-top: 1px solid var(--hairline);
}
.steps li:last-child { border-bottom: 1px solid var(--hairline); }
.steps li::before {
  content: counter(step); font-family: "Archivo Black", Arial, sans-serif;
  font-size: 26px; color: var(--mat); line-height: 1;
}
.steps p { margin: 0; }
.notice {
  background: var(--white); border-left: 6px solid var(--mat);
  border-top: 1px solid var(--hairline); border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline); padding: 22px 26px; margin-bottom: 38px;
}
.notice h3 { margin-bottom: 6px; }
.notice p:last-child { margin-bottom: 0; }
.form { max-width: 640px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 15px; margin-bottom: 6px; }
.field .help { display: block; color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 16px; padding: 12px 13px;
  background: var(--white); color: var(--ink); border: 1px solid var(--ink); border-radius: 0;
}
.field textarea { min-height: 110px; resize: vertical; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 22px; }
.consent {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
  border-top: 3px solid var(--line); padding-top: 24px; margin: 34px 0 26px;
}
.consent input { width: 20px; height: 20px; margin-top: 3px; }
.consent label { font-size: 15.5px; }
.form-status {
  margin-top: 22px; padding: 16px 18px; border: 1px solid var(--ink);
  background: var(--white); display: none;
}
.form-status[data-state="shown"] { display: block; }
.form-status p:last-child { margin-bottom: 0; }
.foot { background: var(--ink); color: #c4b5b9; padding: 46px 0; font-size: 15px; }
.foot a { color: var(--paper); }
.foot p { max-width: var(--measure); }
.foot strong { color: var(--paper); }
@media (max-width: 620px) {
  .statutes li, .steps li { grid-template-columns: 1fr; }
  .hero { padding-top: 52px; }
  .band { padding: 48px 0; }
}

/* Yin-yang: hero emblem on the home page, small mark in every other footer */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: center; }
.hero .wrap > * { grid-column: 1; }
.hero .wrap > .yy-hero { grid-column: 2; grid-row: 1 / span 3; width: clamp(180px, 24vw, 280px); height: auto; margin-bottom: 70px; }
.yy-mark { display: flex; align-items: center; gap: 18px; margin: 0 0 26px; }
.yy-mark::before, .yy-mark::after { content: ""; flex: 1; border-top: 1px solid #3a2a2f; }
.yy-mark svg { width: 44px; height: 44px; flex: none; }
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .wrap > .yy-hero { grid-column: 1; grid-row: auto; order: -1; width: 132px; margin: 0 0 26px; }
}

/* Member Portal: sign-in to KATA for handouts and records */
.nav a.nav-portal { border: 1.5px solid #8c2b42; background: #8c2b42; color: #ffffff; padding: 4px 12px; border-radius: 2px; }
.nav a.nav-portal:hover { background: #6b1f31; border-color: #6b1f31; }
