:root {
  --maroon: #6f1724;
  --maroon-dark: #4c0d17;
  --navy: #142c4d;
  --ink: #252525;
  --muted: #65615d;
  --paper: #fffdf9;
  --warm: #f5efe6;
  --line: #ded4c8;
  --gold: #b98b30;
  --shadow: 0 18px 50px rgba(55, 36, 28, 0.1);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(111, 23, 36, 0.06), transparent 28rem),
    linear-gradient(180deg, #fbf8f3 0%, #f4eee5 100%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.7;
}

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

a:hover { color: var(--maroon); }

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: rgba(76, 13, 23, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 24px rgba(41, 10, 15, 0.16);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  gap: 24px;
}

.nav-brand {
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 0 13px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.84rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.page-hero {
  padding: clamp(46px, 7vw, 80px) 16px clamp(34px, 5vw, 56px);
  text-align: center;
}

.hero-inner,
.content {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.logo {
  width: min(540px, 92%);
  margin: 0 auto 30px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--maroon);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0 auto 16px;
  color: var(--maroon-dark);
  font-size: clamp(2rem, 5vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.intro {
  max-width: 730px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

main { padding: 0 16px 72px; }

.card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.card-body { padding: clamp(28px, 5vw, 54px); }

h2 {
  margin: 0 0 18px;
  color: var(--maroon-dark);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.22;
}

h3 {
  margin: 30px 0 10px;
  color: var(--maroon-dark);
  font-size: 1.08rem;
}

p { margin: 0 0 20px; }
p:last-child { margin-bottom: 0; }

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
}

.profile-photo {
  position: relative;
  min-height: 100%;
  background: #d6cec4;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
}

.profile-caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(30, 20, 17, 0.76);
  border-radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  line-height: 1.35;
  text-align: center;
}

.facts {
  display: grid;
  margin: 24px 0 30px;
  gap: 14px;
}

.fact {
  padding: 16px 18px;
  background: var(--warm);
  border-left: 4px solid var(--maroon);
  border-radius: 0 8px 8px 0;
}

.fact strong {
  display: block;
  color: var(--maroon);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fact p { margin: 3px 0 0; }

.check-list,
.policy-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 0 0 16px;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  top: 0.05em;
  left: 0;
  color: var(--maroon);
  content: "◆";
  font-size: 0.72em;
}

.policy-list {
  display: grid;
  gap: 16px;
}

.policy-item {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) 1fr;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  gap: 24px;
}

.policy-link {
  align-self: start;
  color: var(--maroon);
  font-size: 1.05rem;
  font-weight: 700;
}

.policy-item p { margin: 0; }

.notice {
  margin-top: 22px;
  padding: 20px 22px;
  color: #4f4842;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  line-height: 1.65;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 28px;
  gap: 10px;
}

.button {
  display: inline-block;
  padding: 11px 16px;
  color: #fff;
  background: var(--maroon);
  border-radius: 7px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  color: #fff;
  background: var(--maroon-dark);
}

.button.secondary {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
}

.button.secondary:hover {
  color: var(--maroon);
  background: var(--warm);
}

.redirect-shell {
  display: grid;
  min-height: 100vh;
  padding: 28px 16px;
  place-items: center;
}

.redirect-card {
  width: min(680px, 100%);
  padding: clamp(30px, 6vw, 58px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
}

.redirect-card .logo { margin-bottom: 36px; }
.redirect-card h1 { font-size: clamp(1.8rem, 5vw, 3rem); }

.site-footer {
  color: #514b45;
  background: #e9e1d7;
  border-top: 1px solid #d6cabd;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0;
  gap: 36px;
}

.footer-heading {
  margin: 0 0 7px;
  color: var(--maroon-dark);
  font-size: 1rem;
}

.footer-copy,
.legal {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  line-height: 1.65;
}

.footer-copy + .footer-copy { margin-top: 7px; }

.legal-wrap {
  background: #ded3c6;
  border-top: 1px solid #cfc1b3;
}

.legal {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
}

@media (max-width: 920px) {
  .nav {
    display: block;
    width: 100%;
    padding-top: 10px;
  }

  .nav-brand {
    display: block;
    padding: 0 16px 8px;
  }

  .nav-links {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .nav-links a { min-height: 48px; }
  .profile-grid { grid-template-columns: minmax(0, 1fr) 250px; }
}

@media (max-width: 700px) {
  body { font-size: 17px; }

  .profile-grid,
  .footer-inner { grid-template-columns: 1fr; }

  .profile-grid .card-body { order: 2; }
  .profile-photo { order: 1; min-height: 0; }

  .profile-photo img {
    height: min(110vw, 560px);
    min-height: 0;
    object-position: center 18%;
  }

  .policy-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .nav-links a {
    padding: 0 11px;
    font-size: 0.78rem;
  }

  .card-body,
  .redirect-card { padding: 26px 22px; }
  .policy-item { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
