/* Shared stylesheet for the hand-maintained pages: accessibility.html and
   privacy.html. Kept as a real file rather than inlined in both so the two
   never drift apart, and so it is covered by style-src 'self' without needing
   'unsafe-inline' to be relied on for anything structural.
   The palette and type are lifted from the main page so these do not read as
   a different site. */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: rgba(242, 232, 216, .82);
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background-color: #121213;
  background-image:
    radial-gradient(90% 40% at 50% -6%, rgba(183, 36, 40, .09) 0%, transparent 60%),
    linear-gradient(180deg, #1B1B1C 0%, #151516 46%, #0E0E10 100%);
  background-attachment: fixed;
}

/* Off-canvas until focused, not display:none — hiding it outright would take
   it out of the tab order and defeat the point. */
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: #B72428; color: #F6EDDD;
  padding: 13px 22px; border-radius: 3px;
  font-size: 14px; text-decoration: none;
  transition: top .18s ease;
}
.skip:focus { top: 12px; }

header {
  border-bottom: 1px solid rgba(237, 228, 211, .1);
  padding: 18px clamp(20px, 5vw, 40px);
}
.home {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: #F2E8D8;
}
.home img { width: 30px; height: 30px; border-radius: 50%; }
.home span {
  font-weight: 500; font-size: 16px; letter-spacing: 0.32em;
}

main {
  flex: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 76px) clamp(20px, 5vw, 40px) 80px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.kicker {
  margin: 0;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: #D9C6A0;
}

h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(32px, 6vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #F6F1E6;
  margin: 0;
  text-wrap: balance;
}

h2 {
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  color: #F2E8D8;
  margin: 26px 0 0;
  text-wrap: balance;
}

.lede {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(19px, 2.6vw, 22px);
  line-height: 1.5;
  color: rgba(242, 232, 216, .88);
  margin: 0;
}

p { margin: 0; }

ul {
  margin: 0;
  padding-left: 1.15em;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
li::marker { color: #D9C6A0; }

strong { color: #F2E8D8; font-weight: 500; }

a { color: #E08A8C; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #F2E8D8; }
a:focus-visible, :focus-visible { outline: 2px solid #CB595C; outline-offset: 3px; }

.contact { margin: 8px 0; }
.contact a {
  display: inline-block;
  font-size: 16px; letter-spacing: 0.04em;
  color: #F6F1E6; text-decoration: none;
  border: 1px solid rgba(246, 241, 230, .45);
  padding: 14px 30px; border-radius: 3px;
  transition: background .3s ease, border-color .3s ease;
}
.contact a:hover { background: rgba(246, 241, 230, .1); border-color: #F6F1E6; }

.small { font-size: 13.5px; line-height: 1.65; color: rgba(242, 232, 216, .55); }

footer {
  border-top: 1px solid rgba(237, 228, 211, .1);
  padding: 26px clamp(20px, 5vw, 40px) 40px;
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  justify-content: space-between; align-items: baseline;
  font-size: 12.5px; color: rgba(242, 232, 216, .55);
}
footer span:last-child { display: flex; flex-wrap: wrap; gap: 6px 20px; }
/* Standalone nav links, not inline in a sentence, so the 2.5.8 inline
   exception does not cover them: pad them out to a 24px target. */
footer a { color: rgba(242, 232, 216, .72); display: inline-block; padding: 4px 0; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
