:root {
  --green: #185820;
  --green-2: #1f6b30;
  --deep: #0d2916;
  --ink: #142016;
  --red: #9d2a1f;
  --gold: #e6b325;
  --gold-2: #f3cc4a;
  --cream: #f4efe4;
  --paper: #fffdf8;
  --line: #e3d9c6;
  --muted: #3e5244;
  --header: 76px;
  --sans: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --shadow: 0 16px 40px rgba(13, 41, 22, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green);
}

a:hover {
  color: var(--red);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 50;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1080px, calc(100% - 32px));
  margin-inline: auto;
}

.role-bar {
  background: var(--deep);
  color: #f4efe4;
  font-size: 0.92rem;
}

.role-bar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.role-bar p {
  margin: 0;
}

.role-bar a {
  color: var(--gold-2);
  font-weight: 700;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 4px solid var(--green);
}

.header-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  height: 64px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 560;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px 18px;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 2px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--green);
}

.nav-main {
  border: 2px solid var(--green);
  border-radius: 999px;
  padding: 8px 14px !important;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  border: 2px solid var(--green);
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
  color: var(--green);
  cursor: pointer;
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green);
  position: relative;
  content: "";
}

.menu-bars::before {
  position: absolute;
  top: -6px;
}

.menu-bars::after {
  position: absolute;
  top: 6px;
}

.hero {
  background:
    radial-gradient(circle at 8% 10%, rgba(230, 179, 37, 0.2), transparent 26%),
    var(--cream);
  padding: 48px 0 36px;
}

.hero-grid,
.place-grid,
.card-grid,
.footer-grid,
.doc {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: center;
}

.kicker {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.2;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.lead,
.deck {
  font-size: 1.12rem;
  color: var(--muted);
}

.hero-actions,
.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.btn-green {
  background: var(--green);
  color: #fff;
}

.btn-green:hover {
  background: var(--deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--deep);
  border: 2px solid var(--deep);
}

.btn-ghost:hover {
  background: var(--deep);
  color: #fff;
}

.hero-photo {
  margin: 0;
}

.hero-photo img,
.figure img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.hero-photo img {
  aspect-ratio: 1;
  max-height: 420px;
}

.hero-photo figcaption,
.figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 48px 0;
}

.section-cream {
  background: var(--cream);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 22px;
}

.section-head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.places {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.place,
.term,
.next-step,
.address-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 16px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}

.card:hover {
  border-color: var(--green);
  color: inherit;
}

.index-no {
  margin: 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.card p,
.place p,
.term p,
.address-card p {
  margin: 0;
  color: var(--muted);
}

.card strong {
  color: var(--green);
  font-size: 0.92rem;
}

.place h3,
.term h3,
.address-card h3 {
  margin-bottom: 6px;
}

.place a,
.term a {
  font-weight: 700;
}

.doc {
  grid-template-columns: minmax(0, 42rem) minmax(220px, 16rem);
  align-items: start;
  padding-top: 28px;
  padding-bottom: 56px;
}

.doc > article,
.doc > aside {
  min-width: 0;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.crumb a {
  color: var(--muted);
}

article p,
article li {
  max-width: 42rem;
}

article ul,
article ol {
  padding-left: 1.2rem;
}

.figure {
  margin: 18px 0 8px;
}

.figure img {
  max-height: 460px;
}

.table-scroll {
  width: min(100%, 42rem);
  max-width: 100%;
  overflow-x: auto;
  margin: 12px 0 18px;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.98rem;
}

th,
td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
}

th {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
}

.note {
  width: min(100%, 42rem);
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 12px 14px;
  margin: 16px 0;
}

.related {
  margin-top: 28px;
  padding-top: 8px;
}

.related ul {
  margin: 0;
}

.next-step {
  position: sticky;
  top: 96px;
}

.next-step p {
  color: var(--muted);
}

.next-step .btn {
  width: 100%;
  margin-top: 8px;
}

.updated {
  color: var(--muted);
  font-size: 0.9rem;
}

.term-list {
  display: grid;
  gap: 12px;
}

.site-footer {
  background: var(--deep);
  color: #d9c99a;
  padding: 28px 0 96px;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.6fr);
}

.site-footer a {
  color: var(--gold-2);
  font-weight: 700;
}

.footer-name {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.3rem;
}

.footer-note {
  margin: 18px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(244, 239, 228, 0.16);
  font-size: 0.92rem;
}

.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1faa59;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  min-height: 52px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.wa-float:hover {
  background: #178a48;
  color: #fff;
}

.wa-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.missing {
  padding: 64px 0 80px;
}

@media (max-width: 860px) {
  .hero-grid,
  .doc,
  .footer-grid,
  .card-grid,
  .card-grid.places {
    grid-template-columns: 1fr;
  }

  .next-step {
    position: static;
  }

  .brand-text {
    display: none;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(var(--header) - 8px);
    background: #fffdf8;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a,
  .nav-main {
    padding: 12px !important;
    border-radius: 10px;
  }

  .role-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0;
  }

  .brand img {
    height: 56px;
  }

  .table-scroll table {
    min-width: 36rem;
  }

  .table-scroll th[scope="row"] {
    white-space: nowrap;
  }
}
