:root {
  --statute-ink: #17100c;
  --statute-brown: #4b2418;
  --statute-rust: #a84327;
  --statute-rust-dark: #792c1b;
  --statute-gold: #d9a441;
  --statute-cream: #f4eadb;
  --statute-paper: #fffaf2;
  --statute-white: #fff;
  --statute-muted: #74675f;
  --statute-line: rgba(75, 36, 24, .13);
  --statute-heading: "Barlow Condensed", sans-serif;
  --statute-body: "Inter", sans-serif;
  --statute-accent: "Roboto Slab", serif;
}

.gw-page {
  background: var(--statute-paper);
}

.gw-page main {
  color: var(--statute-ink);
  background: var(--statute-paper);
  font-family: var(--statute-body);
  overflow: clip;
}

.gw-page main .container {
  width: min(calc(100% - 40px), 1558px);
  margin-inline: auto;
}

.gw-page main h1,
.gw-page main h2,
.gw-page main h3,
.gw-page main p {
  margin-top: 0;
}

.gw-page main h1,
.gw-page main h2,
.gw-page main h3 {
  font-family: var(--statute-heading);
  letter-spacing: -.035em;
}

.gw-page main p,
.gw-page main li,
.gw-page main a,
.gw-page main button,
.gw-page main span {
  font-size: 1rem;
}

.gw-page main a {
  color: inherit;
}

.statute-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--statute-rust);
  font-family: var(--statute-heading);
  font-size: 1.08rem !important;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.statute-eyebrow::before {
  width: 36px;
  height: 3px;
  flex: 0 0 36px;
  background: currentColor;
  content: "";
}

.statute-hero {
  position: relative;
  padding: clamp(70px, 8vw, 120px) 0;
  overflow: hidden;
  color: var(--statute-white);
  background:
    radial-gradient(circle at 88% 20%, rgba(217, 164, 65, .2), transparent 25%),
    linear-gradient(135deg, #17100c 0%, #412319 100%);
}

.statute-hero::after {
  position: absolute;
  right: -120px;
  bottom: -280px;
  width: 580px;
  height: 580px;
  border: 95px solid rgba(255, 255, 255, .035);
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.statute-hero__inner {
  position: relative;
  z-index: 1;
}

.statute-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 55px;
  color: rgba(255, 255, 255, .64);
}

.statute-breadcrumb a {
  text-decoration: none;
}

.statute-breadcrumb a:hover,
.statute-breadcrumb a:focus-visible {
  color: var(--statute-gold);
}

.statute-breadcrumb span[aria-current="page"] {
  color: var(--statute-white);
}

.statute-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(410px, .8fr);
  align-items: end;
  gap: clamp(50px, 9vw, 145px);
}

.statute-hero .statute-eyebrow {
  color: var(--statute-gold);
}

.statute-hero h1 {
  max-width: 850px;
  margin-bottom: 26px;
  font-size: clamp(4.2rem, 8.4vw, 8.7rem);
  font-weight: 900;
  line-height: .8;
  text-transform: uppercase;
}

.statute-hero h1 > span {
  display: block;
  color: var(--statute-gold);
  font-family: var(--statute-accent);
  font-size: .72em;
  font-weight: 800;
  letter-spacing: -.055em;
  text-transform: none;
}

.statute-hero__grid > div:first-child > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .74);
  font-size: 1.08rem;
  line-height: 1.75;
}

.statute-hero__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  backdrop-filter: blur(10px);
}

.statute-hero__summary > div {
  min-width: 0;
  padding: 25px 17px;
  text-align: center;
}

.statute-hero__summary > div + div {
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.statute-hero__summary strong,
.statute-hero__summary span {
  display: block;
}

.statute-hero__summary strong {
  color: var(--statute-gold);
  font-family: var(--statute-heading);
  font-size: clamp(2.1rem, 3.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: .95;
}

.statute-hero__summary span {
  margin-top: 8px;
  color: rgba(255, 255, 255, .68);
  font-family: var(--statute-heading);
  font-weight: 700;
  line-height: 1.2;
}

.statute-content {
  padding: clamp(75px, 9vw, 140px) 0;
  background:
    radial-gradient(circle at 5% 4%, rgba(217, 164, 65, .11), transparent 18%),
    var(--statute-paper);
}

.statute-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  align-items: start;
  gap: clamp(35px, 5vw, 80px);
}

.statute-sidebar {
  position: sticky;
  top: 130px;
}

.statute-index-toggle {
  display: none;
}

.statute-index {
  max-height: calc(100vh - 290px);
  padding: 25px 18px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--statute-white);
  border: 1px solid var(--statute-line);
  border-radius: 21px;
  box-shadow: 0 18px 48px rgba(58, 34, 21, .08);
  scrollbar-color: var(--statute-gold) transparent;
  scrollbar-width: thin;
}

.statute-index > p {
  margin: 0 8px 15px;
  color: var(--statute-muted);
  font-family: var(--statute-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.statute-index ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.statute-index li + li {
  border-top: 1px solid var(--statute-line);
}

.statute-index a {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px 8px;
  color: #4f443e;
  font-family: var(--statute-heading);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.statute-index a > span {
  color: var(--statute-rust);
  font-family: var(--statute-accent);
  font-weight: 800;
}

.statute-index a:hover,
.statute-index a:focus-visible,
.statute-index a.is-active {
  color: var(--statute-rust-dark);
  background: rgba(217, 164, 65, .13);
  border-radius: 9px;
  transform: translateX(3px);
}

.statute-index a:focus-visible {
  outline: 3px solid var(--statute-gold);
  outline-offset: 2px;
}

.statute-sidebar__actions {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.statute-button {
  position: relative;
  display: inline-flex;
  min-height: 55px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  color: var(--statute-white);
  background: var(--statute-rust);
  border: 2px solid var(--statute-rust);
  border-radius: 11px;
  box-shadow: 0 12px 28px rgba(121, 44, 27, .18);
  cursor: pointer;
  font-family: var(--statute-heading);
  font-size: 1.05rem !important;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s ease;
}

.statute-button::after {
  position: absolute;
  inset: 4px;
  border: 1px solid currentColor;
  border-radius: 7px;
  opacity: .3;
  pointer-events: none;
  content: "";
}

.statute-button:hover,
.statute-button:focus-visible {
  color: var(--statute-ink);
  background: var(--statute-gold);
  border-color: var(--statute-gold);
  transform: translateY(-3px);
}

.statute-back {
  color: var(--statute-brown) !important;
  font-family: var(--statute-heading);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.statute-back:hover,
.statute-back:focus-visible {
  color: var(--statute-rust) !important;
}

.statute-document {
  min-width: 0;
  overflow: hidden;
  background: var(--statute-white);
  border: 1px solid var(--statute-line);
  border-radius: 28px;
  box-shadow: 0 25px 70px rgba(58, 34, 21, .09);
}

.statute-document__header {
  padding: clamp(35px, 5.5vw, 75px);
  background:
    linear-gradient(135deg, rgba(217, 164, 65, .12), transparent 55%),
    var(--statute-cream);
  border-bottom: 1px solid var(--statute-line);
}

.statute-document__header h2 {
  max-width: 930px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 5vw, 5.8rem);
  font-weight: 900;
  line-height: .9;
  text-transform: uppercase;
}

.statute-document__header > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--statute-muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.statute-article {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  padding: clamp(38px, 5vw, 70px);
  scroll-margin-top: 150px;
}

.statute-article + .statute-article {
  border-top: 1px solid var(--statute-line);
}

.statute-article:nth-of-type(even) {
  background: rgba(245, 236, 222, .38);
}

.statute-article__number {
  position: sticky;
  top: 145px;
  align-self: start;
  color: var(--statute-muted);
  font-family: var(--statute-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.statute-article__number strong {
  display: block;
  margin-top: 2px;
  color: var(--statute-rust);
  font-family: var(--statute-accent);
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .9;
}

.statute-article__body {
  max-width: 970px;
}

.statute-article__body h2 {
  margin-bottom: 25px;
  color: var(--statute-brown);
  font-size: clamp(2.5rem, 4vw, 4.4rem);
  font-weight: 900;
  line-height: .92;
  text-transform: uppercase;
}

.statute-article__body h3 {
  margin: 36px 0 14px;
  color: var(--statute-rust-dark);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.1;
}

.statute-article__body p,
.statute-article__body li {
  color: #514740;
  line-height: 1.82;
}

.statute-article__body p {
  margin-bottom: 18px;
}

.statute-article__body p:last-child {
  margin-bottom: 0;
}

.statute-article__body ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 25px;
  padding: 0;
  list-style: none;
}

.statute-article__body li {
  position: relative;
  padding: 13px 16px 13px 43px;
  background: rgba(245, 236, 222, .58);
  border: 1px solid rgba(75, 36, 24, .08);
  border-radius: 12px;
}

.statute-article__body li::before {
  position: absolute;
  top: 18px;
  left: 17px;
  width: 9px;
  height: 9px;
  background: var(--statute-gold);
  border: 2px solid var(--statute-rust);
  border-radius: 50%;
  content: "";
}

.statute-document__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 35px;
  padding: clamp(38px, 5vw, 65px);
  color: var(--statute-white);
  background: var(--statute-ink);
}

.statute-document__footer .statute-eyebrow {
  margin-bottom: 10px;
  color: var(--statute-gold);
}

.statute-document__footer h2 {
  margin-bottom: 7px;
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  font-weight: 900;
  line-height: .9;
  text-transform: uppercase;
}

.statute-document__footer div > p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .68);
}

.statute-button--primary {
  color: var(--statute-white) !important;
}

.statute-js [data-statute-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1);
}

.statute-js [data-statute-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  .statute-hero__grid {
    grid-template-columns: 1fr;
  }

  .statute-hero__summary {
    max-width: 650px;
  }

  .statute-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 30px;
  }

  .statute-article {
    grid-template-columns: 82px minmax(0, 1fr);
  }
}

@media (max-width: 920px) {
  .statute-layout {
    grid-template-columns: 1fr;
  }

  .statute-sidebar {
    position: relative;
    top: auto;
    z-index: 5;
  }

  .statute-index-toggle {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    color: var(--statute-white);
    background: var(--statute-brown);
    border: 0;
    border-radius: 13px;
    cursor: pointer;
    font-family: var(--statute-heading);
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
  }

  .statute-index-toggle > span:last-child {
    font-size: 1.5rem;
    transition: transform .2s ease;
  }

  .statute-index-toggle[aria-expanded="true"] > span:last-child {
    transform: rotate(45deg);
  }

  .statute-index {
    display: none;
    max-height: 55vh;
    margin-top: 8px;
  }

  .statute-index.is-open {
    display: block;
  }

  .statute-sidebar__actions {
    grid-template-columns: minmax(0, 280px) auto;
    align-items: center;
  }

  .statute-back {
    text-align: left;
  }
}

@media (max-width: 700px) {
  .gw-page main .container {
    width: min(calc(100% - 30px), 1558px);
  }

  .statute-hero {
    /* padding: 65px 0 72px; */
  }

  .statute-breadcrumb {
    margin-bottom: 42px;
  }

  .statute-hero h1 {
    /* font-size: clamp(4rem, 21vw, 6rem); */
  }

  .statute-hero__summary {
    grid-template-columns: 1fr;
  }

  .statute-hero__summary > div {
    display: grid;
    grid-template-columns: 95px minmax(0, 1fr);
    align-items: center;
    padding: 17px 22px;
    text-align: left;
  }

  .statute-hero__summary > div + div {
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-left: 0;
  }

  .statute-hero__summary span {
    margin-top: 0;
  }

  .statute-content {
    padding: 70px 0;
  }

  .statute-sidebar__actions {
    grid-template-columns: 1fr;
  }

  .statute-back {
    text-align: center;
  }

  .statute-document {
    border-radius: 22px;
  }

  .statute-document__header {
    padding: 36px 22px;
  }

  .statute-document__header h2 {
    font-size: clamp(2.8rem, 13vw, 4.1rem);
  }

  .statute-article {
    display: block;
    padding: 40px 22px;
    scroll-margin-top: 105px;
  }

  .statute-article__number {
    position: static;
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
  }

  .statute-article__number strong {
    display: inline;
    font-size: 2.7rem;
  }

  .statute-article__body h2 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .statute-article__body h3 {
    font-size: 1.65rem;
  }

  .statute-article__body li {
    padding: 14px 14px 14px 40px;
  }

  .statute-document__footer {
    grid-template-columns: 1fr;
  }

  .statute-document__footer .statute-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .gw-page main .container {
    width: min(calc(100% - 24px), 1558px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gw-page main *,
  .gw-page main *::before,
  .gw-page main *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .statute-js [data-statute-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .gw-page .topbar,
  .gw-page .site-header,
  .gw-page .statute-hero,
  .gw-page .statute-sidebar,
  .gw-page .site-footer,
  .gw-page .back-to-top,
  .statute-document__footer {
    display: none !important;
  }

  .gw-page,
  .gw-page main,
  .statute-content {
    background: #fff !important;
  }

  .statute-content {
    padding: 0;
  }

  .gw-page main .container,
  .statute-layout {
    display: block;
    width: 100%;
    max-width: none;
  }

  .statute-document {
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .statute-document__header {
    padding: 0 0 28px;
    background: #fff;
  }

  .statute-document__header h2 {
    font-size: 30pt;
  }

  .statute-article {
    display: block;
    padding: 28px 0;
    break-inside: auto;
  }

  .statute-article__number {
    position: static;
  }

  .statute-article__number strong {
    display: inline;
    font-size: 20pt;
  }

  .statute-article__body h2 {
    font-size: 24pt;
    break-after: avoid;
  }

  .statute-article__body h3,
  .statute-article__body li {
    break-inside: avoid;
  }

  .statute-article__body p,
  .statute-article__body li {
    color: #111;
    font-size: 10.5pt;
    line-height: 1.55;
  }
}
