:root {
  color-scheme: light;
  --ink: #18201c;
  --muted: #5a665f;
  --paper: #f7f5ef;
  --white: #ffffff;
  --line: #ded8cb;
  --green: #174b3f;
  --green-2: #0c352d;
  --gold: #c9963e;
  --rust: #9f4f35;
  --blue: #2b5d7d;
  --shadow: 0 22px 70px rgba(24, 32, 28, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-solid {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 14px 36px rgba(24, 32, 28, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 4px;
  color: currentColor;
  opacity: 0.78;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  opacity: 0.86;
}

.nav a:hover {
  opacity: 1;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-weight: 800;
}

.header-call svg,
.button svg,
.quick-info svg,
.service-card svg,
.check-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.feature-image {
  background-position: center;
  background-size: cover;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Liberal%2C%20KS%2C%20Chamber%20of%20Commerce%20IMG%205990.JPG");
  transform: scale(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 22, 18, 0.82) 0%, rgba(10, 22, 18, 0.52) 48%, rgba(10, 22, 18, 0.22) 100%),
    linear-gradient(0deg, rgba(10, 22, 18, 0.64) 0%, rgba(10, 22, 18, 0.06) 60%);
}

.hero-content {
  position: relative;
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: 145px 0 13vh;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 5.25vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 900;
}

.button-primary {
  background: var(--gold);
  color: #20170a;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: var(--white);
}

.button-light {
  background: var(--white);
  color: var(--green-2);
}

.quick-info {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1120px, calc(100% - 36px));
  margin: -52px auto 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-info article {
  display: flex;
  gap: 16px;
  min-height: 132px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.quick-info article:last-child {
  border-right: 0;
}

.quick-info svg {
  width: 28px;
  height: 28px;
  color: var(--rust);
}

.quick-info span,
.quick-info small {
  display: block;
  color: var(--muted);
}

.quick-info strong {
  display: block;
  margin: 5px 0;
  font-size: 1.05rem;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.intro p,
.feature-copy p,
.contact-copy p,
.service-card p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card svg {
  width: 32px;
  height: 32px;
  margin-bottom: 28px;
  color: var(--blue);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  min-height: 520px;
  background: var(--green-2);
  color: var(--white);
}

.feature-image {
  min-height: 460px;
  background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Seward%20County%2C%20KS%2C%20Courthouse%20IMG%205985.JPG");
}

.feature-copy {
  align-self: center;
  padding: clamp(42px, 6vw, 84px);
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.check-list svg {
  color: var(--gold);
}

.contact {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 34px;
  align-items: stretch;
}

.contact-copy {
  padding: 44px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-copy .sms-disclosure {
  margin: 24px 0 0;
  font-size: 0.78rem;
  line-height: 1.55;
}

.sms-disclosure a,
.policy-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-wrap {
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong,
.site-footer a {
  color: var(--ink);
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
}

.legal-page {
  background: var(--white);
}

.site-header.legal-header {
  position: static;
}

.policy-shell {
  width: min(820px, calc(100% - 36px));
  margin: 0 auto;
  padding: 84px 0 72px;
}

.policy-content h1 {
  margin-bottom: 12px;
  color: var(--green-2);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
}

.policy-content h2 {
  margin: 30px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}

.policy-content p,
.policy-content li,
.policy-content address {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.policy-content li + li {
  margin-top: 8px;
}

.policy-content address {
  font-style: normal;
}

.policy-content .policy-date {
  margin-bottom: 30px;
  color: var(--rust);
  font-weight: 800;
}

.contact-page-content address {
  margin: 36px 0 28px;
}

.button-map {
  border: 1px solid var(--green);
  color: var(--green);
}

.sms-notice {
  margin-top: 38px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.sms-notice h2 {
  margin-top: 0;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .quick-info,
  .intro,
  .service-grid,
  .feature-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .quick-info article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-info article:last-child {
    border-bottom: 0;
  }

  .feature-band {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand small,
  .header-call span {
    display: none;
  }

  .header-call {
    width: 44px;
    padding: 0;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding-bottom: 11vh;
  }

  .button {
    width: 100%;
  }

  .quick-info {
    margin-top: 0;
    width: 100%;
    border-radius: 0;
  }

  .section {
    padding: 52px 0;
  }

  .service-card {
    min-height: 0;
  }

  .service-card svg {
    margin-bottom: 28px;
  }

  .feature-copy,
  .contact-copy {
    padding: 32px 18px;
    border-radius: 0;
  }

  .contact {
    width: 100%;
  }

  .map-wrap {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .site-footer {
    display: block;
  }

  .site-footer > a,
  .site-footer > div + a {
    display: inline-block;
    margin-top: 12px;
  }

  .footer-links {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .policy-shell {
    padding: 64px 0 56px;
  }
}

@media print {
  .legal-page {
    font-size: 9pt;
  }

  .legal-header,
  .legal-page .site-footer {
    display: none;
  }

  .policy-shell {
    width: auto;
    padding: 0;
  }

  .policy-content h1 {
    font-size: 24pt;
  }

  .policy-content h2 {
    margin: 12pt 0 3pt;
    font-size: 12pt;
    break-after: avoid;
  }

  .policy-content p,
  .policy-content li,
  .policy-content address {
    margin-bottom: 6pt;
    font-size: 9pt;
    line-height: 1.3;
  }

  .policy-content .policy-date {
    margin-bottom: 12pt;
  }
}
