:root {
  --ink: #14261c;
  --ink-2: #0e1c14;
  --ink-3: #23402f;
  --paper: #f5efe1;
  --paper-2: #ece3cd;
  --sage: #e3e8d3;
  --brass: #b99a5f;
  --brass-2: #9c7f48;
  --accent: #b4552d;
  --accent-2: #96431f;
  --muted: #5d6b60;
  --muted-2: #8a948c;
  --line: rgba(20, 38, 28, 0.16);
  --line-soft: rgba(245, 239, 225, 0.18);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Sora", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-2);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 100;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 26, 19, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 1px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-size: 0.85rem;
  padding: 8px 14px;
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: rgba(247, 242, 231, 0.82);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--paper);
}

.nav a.is-active {
  color: var(--brass);
  border-bottom-color: var(--brass);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink-3) 100%);
  color: var(--paper);
  padding: 86px 0 130px;
}

.hero-compass {
  position: absolute;
  right: -140px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  opacity: 0.5;
  pointer-events: none;
}

.needle-swing {
  transform-origin: 200px 200px;
  animation: needle 12s ease-in-out infinite alternate;
}

@keyframes needle {
  from {
    transform: rotate(-14deg);
  }
  to {
    transform: rotate(9deg);
  }
}

.hero-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
}

.hero-skyline svg {
  width: 100%;
  height: 74px;
  display: block;
}

.hero-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-kicker {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}

.hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.4vw, 3.1rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero p {
  margin: 0 0 26px;
  font-size: 1.04rem;
  color: rgba(247, 242, 231, 0.85);
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.12s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-2);
  color: #fff;
}

.btn-ghost {
  border: 1px solid rgba(247, 242, 231, 0.4);
  color: var(--paper);
}

.btn-ghost:hover {
  border-color: var(--brass);
  color: var(--brass);
}

/* ---------- sections ---------- */
.section {
  padding: 64px 0;
}

.section.tinted {
  background: var(--paper-2);
}

.section-head {
  max-width: 620px;
  margin: 0 auto 34px;
  text-align: center;
}

.kicker {
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-2);
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.2;
  font-weight: 600;
}

.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: 10px;
  padding: 22px 20px 18px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(16, 35, 26, 0.1);
  color: var(--ink);
}

.card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-2);
}

.card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.25;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1 1 auto;
}

.card-more {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent);
}

/* ---------- practical grid ---------- */
.practical {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.practical-item {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
}

.practical-item h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.practical-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- article ---------- */
.article {
  max-width: 700px;
  margin: 0 auto;
  padding: 56px 20px 72px;
}

.article-kicker {
  margin: 0 0 10px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-2);
}

.article h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.4vw, 2.5rem);
  line-height: 1.16;
  font-weight: 600;
}

.article .lede {
  margin: 0 0 28px;
  font-size: 1.08rem;
  color: var(--muted);
}

.article h2 {
  margin: 34px 0 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.article p {
  margin: 0 0 16px;
}

.article ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.article li {
  margin-bottom: 8px;
}

.article .back {
  display: inline-block;
  margin-top: 34px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.note-box {
  margin: 22px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--brass);
  background: var(--paper-2);
  border-radius: 0 8px 8px 0;
  font-size: 0.94rem;
}

/* ---------- page head (list pages) ---------- */
.page-head {
  background: var(--ink-2);
  color: var(--paper);
  padding: 58px 0 50px;
  text-align: center;
}

.page-head h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.6vw, 2.6rem);
  font-weight: 600;
}

.page-head p {
  margin: 12px auto 0;
  max-width: 36em;
  color: rgba(247, 242, 231, 0.82);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink-2);
  color: rgba(247, 242, 231, 0.8);
  padding: 54px 0 34px;
  border-top: 1px solid var(--line-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}

.footer-grid h4 {
  margin: 0 0 12px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 8px;
}

.footer-grid a {
  color: rgba(247, 242, 231, 0.82);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-grid a:hover {
  color: var(--paper);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 10px;
}

.footer-brand .brand-sub {
  color: var(--brass);
}

.footer-grid p {
  font-size: 0.9rem;
  max-width: 30em;
  margin: 0;
  color: rgba(247, 242, 231, 0.66);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(247, 242, 231, 0.55);
}

.footer-bottom a {
  color: rgba(247, 242, 231, 0.7);
  text-decoration: none;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .practical {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-compass {
    right: -220px;
    width: 420px;
    height: 420px;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    background: var(--ink-2);
    padding: 12px 20px 18px;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav.is-open {
    display: flex;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 0 110px;
  }

  .hero-compass {
    opacity: 0.3;
    right: -160px;
    width: 340px;
    height: 340px;
  }
}

/* ---------- regions ---------- */
.regions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.region {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 22px 18px;
}

.region-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brass-2);
  letter-spacing: 0.08em;
}

.region h3 {
  margin: 6px 0 8px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.region p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.region ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.region li {
  font-size: 0.86rem;
  padding: 4px 0;
  color: var(--ink);
}

.region li::before {
  content: "— ";
  color: var(--brass);
}

/* ---------- faq ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq details {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.98rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--brass-2);
  flex: 0 0 auto;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- strip note (editorial aside) ---------- */
.strip {
  background: var(--sage);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 0 auto;
  max-width: 760px;
  font-size: 0.94rem;
}

.strip strong {
  color: var(--ink);
}

@media (max-width: 860px) {
  .regions {
    grid-template-columns: 1fr;
  }
}
