html[data-theme="her"],
html[data-regulars-mode="her"] {
  --ink: #24132e;
  --plum: #3a1d44;
  --plum-deep: #3a1d44;
  --night: #24132e;
  --cream: #fff4de;
  --gold: #f0ac4c;
  --gold-1: #f6c46b;
  --gold2: #c99632;
  --gold-deep: #c99632;
  --mut: rgba(255, 244, 222, 0.70);
  --text-mute: rgba(255, 244, 222, 0.70);
  --line: rgba(240, 172, 76, 0.30);
  --hairline: rgba(240, 172, 76, 0.30);
  --night-line: rgba(255, 244, 222, 0.16);
  --gold-glow: rgba(240, 172, 76, 0.24);
  --gold-glow-2: rgba(240, 172, 76, 0.38);
}

html[data-theme="him"],
html[data-regulars-mode="him"] {
  --ink: #07050d;
  --plum: #170b20;
  --plum-deep: #170b20;
  --night: #07050d;
  --cream: #f8ead4;
  --gold: #f1bd5b;
  --gold-1: #f6c46b;
  --gold2: #aa7828;
  --gold-deep: #aa7828;
  --mut: rgba(248, 234, 212, 0.60);
  --text-mute: rgba(248, 234, 212, 0.60);
  --line: rgba(241, 189, 91, 0.18);
  --hairline: rgba(241, 189, 91, 0.18);
  --night-line: rgba(248, 234, 212, 0.12);
  --gold-glow: rgba(241, 189, 91, 0.18);
  --gold-glow-2: rgba(241, 189, 91, 0.30);
}

html[data-theme] body,
html[data-regulars-mode] body,
html[data-theme] .site-nav,
html[data-regulars-mode] .site-nav {
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

html[data-theme="her"] .site-nav,
html[data-regulars-mode="her"] .site-nav {
  background: rgba(36, 19, 46, 0.88);
  border-bottom-color: rgba(255, 244, 222, 0.13);
}

html[data-theme="him"] .site-nav,
html[data-regulars-mode="him"] .site-nav {
  background: rgba(7, 5, 13, 0.90);
  border-bottom-color: rgba(248, 234, 212, 0.10);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 7, 18, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 244, 222, 0.10);
  font-family: Inter Tight, Inter, system-ui, sans-serif;
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.nav-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-nav .nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream, #fff4de);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.site-nav .nav-logo img,
.site-nav .nav-pin {
  width: 36px;
  height: auto;
  display: block;
}
.nav-links,
.nav-cta {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  color: rgba(255, 244, 222, 0.68);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background .16s ease, color .16s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--cream, #fff4de);
  background: rgba(255, 244, 222, 0.07);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  font-family: Inter Tight, Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold, #f0ac4c);
  color: #241c0c;
}
.btn-ghost {
  color: var(--cream, #fff4de);
  border: 1px solid var(--line, rgba(240, 172, 76, 0.22));
}

.footer.colophon {
  --font-display: Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --night: #0a0712;
  --plum-deep: #2e1737;
  --cream: #fff4de;
  --gold: #f0ac4c;
  --gold-1: #f6c46b;
  --gold-deep: #c99632;
  --text-mute: rgba(255, 244, 222, 0.62);
  --hairline: rgba(240, 172, 76, 0.22);
  --gold-glow: rgba(240, 172, 76, 0.22);
  --gold-glow-2: rgba(240, 172, 76, 0.36);
  --night-line: rgba(255, 244, 222, 0.12);
  position: relative;
  overflow: hidden;
  border-top: none;
  background: var(--night);
  color: var(--cream);
  padding: 0 0 44px;
}
.footer.colophon *,
.footer.colophon *::before,
.footer.colophon *::after {
  box-sizing: border-box;
}
.footer.colophon::before {
  content: "";
  position: absolute;
  bottom: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: min(880px, 90%);
  height: 440px;
  background: radial-gradient(closest-side, var(--gold-glow), transparent);
  filter: blur(28px);
  pointer-events: none;
}
.colophon-wrap {
  position: relative;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}
.colophon-open {
  padding-top: 64px;
  text-align: center;
}
.colophon-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-glow-2), transparent);
}
.colophon-medallion {
  position: relative;
  width: 74px;
  height: 74px;
  margin: -37px auto 0;
  border: 1.5px solid var(--gold-deep);
  border-radius: 50%;
  background: var(--night);
  display: flex;
  align-items: center;
  justify-content: center;
}
.colophon-medallion::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
}
.colophon-medallion span {
  /* The pin and circle share the designer's outlined R, independent of fonts. */
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  font-size: 0;
  color: var(--gold);
  background-color: currentColor;
  -webkit-mask: url('/brand/regulars-r-master.svg') center / contain no-repeat;
  mask: url('/brand/regulars-r-master.svg') center / contain no-repeat;
  transform: translateX(1px);
}
.colophon-plaque {
  margin-top: 18px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--gold-1);
  text-transform: uppercase;
}
.colophon-masthead {
  text-align: center;
  margin-top: 14px;
}
.colophon-masthead h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.06;
  color: var(--cream);
}
.colophon-masthead h2 em {
  font-style: italic;
  color: var(--gold);
}
.colophon-masthead p {
  margin: 14px auto 0;
  max-width: 52ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-mute);
}
.colophon-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.colophon-pill {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid var(--gold-glow-2);
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.colophon-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.colophon-pill.p {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--plum-deep);
  font-weight: 700;
}
.colophon-ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px;
  margin-top: 64px;
  padding-top: 44px;
  border-top: 1px solid var(--hairline);
}
.colophon-ledger h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold-1);
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 6px;
}
.colophon-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 13px;
  text-decoration: none;
}
.colophon-row .name {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--cream);
}
.colophon-row .dots {
  flex: 1;
  border-bottom: 1px dotted var(--hairline);
  transform: translateY(-4px);
  min-width: 14px;
}
.colophon-row .go {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold-deep);
}
.colophon-row.quiet .name {
  color: var(--text-mute);
  font-size: 14px;
  font-style: italic;
}
.colophon-letter {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 56px;
  padding: 26px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.colophon-letter .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold-1);
  text-transform: uppercase;
  white-space: nowrap;
}
.colophon-letter .desc {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--text-mute);
  white-space: nowrap;
}
.colophon-letter .dots {
  flex: 1;
  border-bottom: 1px dotted var(--hairline);
  transform: translateY(-4px);
  min-width: 30px;
}
.colophon-letter input {
  background: none;
  border: none;
  outline: none;
  border-bottom: 1px dashed var(--gold-glow-2);
  border-radius: 0;
  color: var(--cream);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  padding: 4px 6px;
  width: 230px;
}
.colophon-letter input:focus {
  border-bottom-color: var(--gold);
  box-shadow: none;
}
.colophon-letter button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  padding: 4px 2px;
}
.colophon-letter-ok {
  margin-top: 26px;
  padding: 26px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
}
.footer.colophon .colophon-settings {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}
.footer.colophon .footer-mode-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0;
}
.marketing-theme-switch,
.marketing-language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 38px;
  padding: 3px;
  border: 1px solid var(--night-line, rgba(255, 244, 222, 0.12));
  border-radius: 999px;
  background: rgba(255, 244, 222, 0.05);
}
.marketing-theme-switch button,
.marketing-language-switch button {
  height: 30px;
  min-width: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-mute, rgba(255, 244, 222, 0.62));
  font: 700 12px/1 system-ui, sans-serif;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.marketing-theme-switch button.is-active,
.marketing-language-switch button.is-active {
  background: var(--gold, #f0ac4c);
  color: var(--night, #0a0712);
}
.marketing-theme-switch button:not(.is-active):hover,
.marketing-language-switch button:not(.is-active):hover {
  color: var(--cream, #fff4de);
  background: rgba(255, 244, 222, 0.08);
}

@media (max-width: 860px) {
  .container { width: min(100% - 28px, 720px); }
  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
    gap: 10px;
  }
  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .nav-cta {
    width: 100%;
    justify-content: space-between;
  }
  .nav-link {
    white-space: nowrap;
    padding: 7px 9px;
  }
}

@media (max-width: 480px) {
  .btn { padding: 0 14px; }
}

.colophon-close {
  text-align: center;
  margin-top: 44px;
}
.colophon-close .motto {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--gold-1);
  text-transform: uppercase;
  line-height: 2.1;
}
.colophon-close .fine {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.8px;
  color: var(--text-mute);
  text-transform: uppercase;
  line-height: 2;
}
.colophon-close .fine a {
  color: var(--text-mute);
  text-decoration: none;
}
.colophon-close .fine .sep {
  color: var(--gold-deep);
  padding: 0 7px;
}
@media (max-width: 920px) {
  .colophon-ledger {
    grid-template-columns: 1fr 1fr;
    gap: 8px 32px;
  }
  .colophon-letter {
    flex-wrap: wrap;
  }
  .colophon-letter .desc,
  .colophon-letter .dots {
    display: none;
  }
  .colophon-letter input {
    flex: 1;
    width: auto;
  }
}
@media (max-width: 560px) {
  .colophon-wrap {
    width: min(100% - 28px, 1160px);
  }
  .colophon-ledger {
    grid-template-columns: 1fr;
  }
  .colophon-close .motto {
    letter-spacing: 2.5px;
  }
}
