/*
Great Plains Military Law, PLLC
Static site stylesheet.
Edit colors, spacing, and page layout here.

Prairie placeholder image source:
U.S. Fish & Wildlife Service, "Sunrise Over Rynearson Pool 1"
Photo credit: Katie Goodwin/USFWS
Media Usage Rights/License: Public Domain
Source page: https://www.fws.gov/media/sunrise-over-rynearson-pool-1
Image file: assets/prairie-header.jpg
Replace assets/prairie-header.jpg with your own prairie image when ready.
*/

:root {
  --navy: #10233f;
  --navy-dark: #081526;
  --slate: #2f3a46;
  --charcoal: #202428;
  --muted-gold: #b39252;
  --muted-gold-dark: #8a6f3d;
  --cream: #f7f5ef;
  --white: #ffffff;
  --line: #d9d6cc;
  --text: #202428;
  --text-muted: #596270;
  --danger-soft: #f4eee8;
  --max-width: 1140px;
  --radius: 10px;
  --shadow: 0 12px 30px rgba(8, 21, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0;
}

.site-header {
  background: var(--navy-dark);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.brand-main {
  font-weight: 700;
  font-size: 1.08rem;
  text-transform: uppercase;
}

.brand-sub {
  color: #d7c496;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-top: 0.16rem;
}

.header-phone-label {
  color: var(--muted-gold);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
}

.header-phone {
  color: var(--white);
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.38rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  white-space: nowrap;
}

.header-phone:hover {
  border-color: var(--muted-gold);
  color: #f0d89b;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--white);
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
}

.primary-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.primary-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.42rem 0.2rem;
  border-bottom: 2px solid transparent;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--white);
  border-bottom-color: var(--muted-gold);
}

.hero,
.page-hero {
  position: relative;
  min-height: 520px;
  background-image: linear-gradient(90deg, rgba(8, 21, 38, 0.88), rgba(8, 21, 38, 0.58), rgba(8, 21, 38, 0.22)), url("assets/prairie-header.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--white);
}

.page-hero {
  min-height: 320px;
  background-image: linear-gradient(90deg, rgba(8, 21, 38, 0.86), rgba(8, 21, 38, 0.52), rgba(8, 21, 38, 0.18)), url("assets/prairie-header.jpg");
}

.hero-content,
.page-hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.5rem 1rem;
  width: 100%;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 2rem;
  align-items: center;
}

.page-hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.headshot-panel {
  justify-self: end;
  width: 100%;
  max-width: 250px;
  background: rgba(8, 21, 38, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  padding: 0.85rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(2px);
}

.headshot-frame {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px dashed rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
}

.headshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.headshot-placeholder {
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
}

.headshot-panel p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
  margin: 0.65rem 0 0;
}

.kicker {
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e0c98b;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.founder-badge {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.45rem 0.75rem;
  border-left: 4px solid var(--muted-gold);
  background: #f3efe4;
  color: var(--navy-dark);
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: 0.35rem;
}

.founder-photo-slot {
  width: min(240px, 100%);
  margin: 0.45rem 0 1.25rem;
  padding: 0.75rem;
  background: #f7f5ef;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(8, 21, 38, 0.08);
}

.founder-photo-frame {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  border: 1px dashed #9c9688;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f2f0e9);
  color: var(--text-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.founder-photo-slot img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}

.callout-photo-slot {
  margin-top: 1rem;
  width: min(220px, 100%);
}

.callout .founder-photo-frame {
  background: linear-gradient(180deg, #ffffff, #f2f0e9);
}

.founder-photo-caption {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.86rem;
  line-height: 1.35;
}

.practice-option {
  position: relative;
}

.option-text {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.info-dot {
  display: inline-grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.practice-tip {
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  max-width: 560px;
  bottom: calc(100% + 0.55rem);
  z-index: 20;
  display: block;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: var(--navy-dark);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(8, 21, 38, 0.24);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  line-height: 1.35;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
  pointer-events: none;
}

.practice-tip::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 100%;
  border-width: 7px 7px 0 7px;
  border-style: solid;
  border-color: var(--navy-dark) transparent transparent transparent;
}

.practice-option:hover .practice-tip,
.practice-option:focus-within .practice-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .practice-tip {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0.45rem;
    border-radius: 8px;
    background: #edf0f4;
    color: var(--text);
    box-shadow: none;
  }

  .practice-tip::after {
    display: none;
  }
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 1rem;
  color: inherit;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  max-width: 860px;
  letter-spacing: -0.03em;
}

.hero h1,
.hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  font-style: normal;
  text-transform: none;
  max-width: 860px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  color: var(--navy);
}

h3 {
  font-size: 1.35rem;
  color: var(--navy);
}

.lede,
.hero-subtitle {
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  max-width: 760px;
  color: rgba(255, 255, 255, 0.93);
  margin: 0 0 1.55rem;
}

.hero-actions,
.section-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  padding: 0.86rem 1rem;
  min-height: 44px;
  border-radius: 6px;
  transition: 0.16s ease-in-out;
  cursor: pointer;
}

.button-primary {
  background: var(--muted-gold);
  color: var(--navy-dark);
  border-color: var(--muted-gold);
}

.button-primary:hover {
  background: #c4a461;
  border-color: #c4a461;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.button-navy:hover {
  background: var(--navy-dark);
}

main {
  background: var(--cream);
}

.section {
  padding: 4.2rem 1rem;
}

.section-white {
  background: var(--white);
}

.section-tight-top {
  padding-top: 0;
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-navy p {
  color: rgba(255, 255, 255, 0.86);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  max-width: 820px;
  margin-bottom: 2rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.06rem;
}

.section-navy .section-header p {
  color: rgba(255, 255, 255, 0.84);
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.practice-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.15rem;
}

.practice-card {
  grid-column: span 2;
}

.practice-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.practice-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 1px 0 rgba(8, 21, 38, 0.04);
}

.card h3 {
  margin-bottom: 0.55rem;
}

.card p {
  color: var(--text-muted);
  margin: 0;
}

.practice-card {
  min-height: 218px;
  position: relative;
  overflow: hidden;
}

.practice-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  background: var(--muted-gold);
  margin-bottom: 1rem;
}

.callout {
  border-left: 4px solid var(--muted-gold);
  background: var(--white);
  padding: 1.2rem 1.35rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}

.callout p {
  margin: 0;
}

.practice-note {
  margin-top: 1.4rem;
}

.practice-note p + p {
  margin-top: 0.65rem;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.list-plain {
  margin: 0;
  padding-left: 1.15rem;
}

.list-plain li {
  margin-bottom: 0.45rem;
}

.bio-section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.bio-section:first-of-type {
  padding-top: 0;
}

.bio-section:last-of-type {
  border-bottom: 0;
}

.sidebar-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 92px;
}

.sidebar-box h2,
.sidebar-box h3 {
  color: var(--white);
}

.sidebar-box p,
.sidebar-box li {
  color: rgba(255, 255, 255, 0.86);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 2rem;
  align-items: start;
}

.contact-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.contact-panel h2,
.contact-panel h3 {
  color: var(--white);
}

.contact-panel a {
  color: var(--white);
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

.contact-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-label {
  display: block;
  color: #d7c496;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.18rem;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

form {
  font-family: Arial, Helvetica, sans-serif;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

label,
legend {
  font-weight: 700;
  color: var(--charcoal);
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c9c6bd;
  border-radius: 6px;
  padding: 0.75rem 0.8rem;
  min-height: 44px;
  font: inherit;
  background: var(--white);
  color: var(--text);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(179, 146, 82, 0.25);
  border-color: var(--muted-gold-dark);
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  margin: 0;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1rem;
  margin-top: 0.7rem;
}

.checkbox-row {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-weight: 400;
}

.checkbox-row input {
  width: auto;
  min-height: 0;
  margin-top: 0.22rem;
}

.required-note,
.form-note {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.disclaimer-box {
  background: var(--danger-soft);
  border: 1px solid #e2d3c5;
  border-radius: var(--radius);
  padding: 1rem;
  font-size: 0.95rem;
}

.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 2.4rem 1rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr 1.4fr;
}

.footer-brand {
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-disclaimer {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner-legal {
  grid-template-columns: 0.8fr 1.7fr;
}

.legal-disclaimer p {
  margin: 0 0 0.75rem;
}

.legal-disclaimer p:last-child {
  margin-bottom: 0;
}

.small {
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 1020px) {
  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-card,
  .practice-card:nth-child(4),
  .practice-card:nth-child(5) {
    grid-column: auto;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header-phone-label {
    font-size: 0.88rem;
  }

  .header-phone {
    font-size: 0.9rem;
    padding: 0.36rem 0.55rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy-dark);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem 1rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

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

  .primary-nav a {
    width: 100%;
    padding: 0.75rem 0;
  }

  .hero,
  .page-hero {
    min-height: 440px;
    background-image: linear-gradient(90deg, rgba(8, 21, 38, 0.86), rgba(8, 21, 38, 0.64)), url("assets/prairie-header.jpg");
  }

  .page-hero {
    min-height: 280px;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .headshot-panel {
    justify-self: start;
    max-width: 210px;
  }

  .section {
    padding: 3rem 1rem;
  }

  .grid-2,
  .grid-3,
  .practice-grid,
  .split,
  .contact-layout,
  .footer-inner,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .practice-card,
  .practice-card:nth-child(4),
  .practice-card:nth-child(5) {
    grid-column: auto;
    min-height: auto;
  }

  .core-service-list {
    font-size: 0.98rem;
    line-height: 1.48;
  }

  .card,
  .form-card,
  .contact-panel,
  .sidebar-box {
    padding: 1.15rem;
  }

  .hero-actions .button,
  .section-actions .button {
    width: 100%;
  }

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

  .sidebar-box {
    position: static;
  }
}


/* v5 cleanup */
.compact-header { margin-bottom: 1.25rem; }
.about-clean-layout { grid-template-columns: 1.3fr 0.7fr; }
.sidebar-lean h2 { margin-top: 0; }
.sidebar-subhead { margin-top: 1.5rem !important; }
.sidebar-lean .list-plain { margin-bottom: 1.1rem; }

.social-links,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
}

.social-links a,
.footer-social a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(179, 146, 82, 0.6);
  padding-bottom: 0.06rem;
}

.social-links a:hover,
.footer-social a:hover {
  color: var(--muted-gold);
}

.social-block {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-social {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.86);
}

.footer-social span {
  color: #d7c496;
  font-weight: 700;
}

.contact-social {
  color: var(--white);
}

/* Core service bullet lists and compact client trigger section. */
.core-service-list {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.core-service-list li {
  margin-bottom: 0.42rem;
}

.contact-trigger-box {
  margin-top: 1.35rem;
  padding: 1.3rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--muted-gold);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(8, 21, 38, 0.04);
}

.contact-trigger-box h3 {
  margin-bottom: 0.85rem;
}

.trigger-list {
  columns: 2;
  column-gap: 2rem;
  margin: 0;
  padding-left: 1.05rem;
  color: var(--text-muted);
}

.trigger-list li {
  break-inside: avoid;
  margin-bottom: 0.55rem;
}

@media (max-width: 820px) {
  .trigger-list {
    columns: 1;
  }
}

.header-contact {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.direct-call-note {
  margin: 0.85rem 0 1.1rem;
  padding: 0.8rem 0.95rem;
  border-left: 4px solid var(--muted-gold);
  background: #f8f2e5;
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .header-contact {
    order: 3;
    margin-left: 0;
    align-items: flex-start;
  }
}


@media (max-width: 520px) {
  .nav-wrap {
    align-items: flex-start;
    gap: 0.7rem;
  }

  .brand-main {
    font-size: 0.96rem;
  }

  .brand-sub {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .header-contact {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .header-phone {
    padding: 0.34rem 0.5rem;
  }

  .hero,
  .page-hero {
    min-height: 390px;
  }

  .hero-content,
  .page-hero-content {
    padding: 3.2rem 1rem;
  }

  .section {
    padding: 2.6rem 1rem;
  }

  .not-found-card {
    padding: 1.45rem;
  }
}

/* Hidden honeypot field for contact-form spam prevention. */
.honeypot-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


.footer-links {
  margin-top: 0.6rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
}

.footer-links a {
  color: #f0d89b;
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 216, 155, 0.45);
}

.footer-links a:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.narrow-content {
  max-width: 850px;
}

.legal-page h2 {
  margin-top: 2rem;
  margin-bottom: 0.45rem;
  color: var(--navy);
}

.legal-page p {
  margin-top: 0;
}

.not-found-section {
  min-height: 58vh;
  display: flex;
  align-items: center;
}

.not-found-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.4rem;
}

/* v30 sidebar refinement: preserve normal heading style with clearer hierarchy */
.sidebar-lean h2,
.sidebar-lean .sidebar-subhead {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.48rem;
  line-height: 1.18;
  letter-spacing: normal;
  text-transform: none;
  margin-bottom: 0.72rem;
}

.sidebar-lean li {
  font-size: 0.98rem;
  line-height: 1.5;
}


/* August 7, 2026 homepage slideshow update */
.photo-slideshow {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #f7f5ef;
  border: 1px solid var(--line);
}

.slideshow-slide {
  display: none;
  margin: 0;
}

.slideshow-slide.is-active {
  display: block;
}

.slideshow-slide img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}

.slideshow-slide figcaption {
  padding: 0.65rem 0.7rem;
  background: rgba(8, 21, 38, 0.92);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  line-height: 1.35;
}

.slideshow-control {
  position: absolute;
  top: calc(50% - 1.4rem);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 21, 38, 0.72);
  color: var(--white);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0;
}

.slideshow-control:hover,
.slideshow-control:focus {
  background: rgba(8, 21, 38, 0.9);
}

.slideshow-prev { left: 0.55rem; }
.slideshow-next { right: 0.55rem; }

.slideshow-dots {
  position: absolute;
  left: 50%;
  bottom: 2.85rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
}

.slideshow-dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
  cursor: pointer;
}

.slideshow-dot.is-active {
  background: var(--muted-gold);
  border-color: var(--muted-gold);
}

@media (prefers-reduced-motion: reduce) {
  .slideshow-slide,
  .slideshow-control,
  .slideshow-dot {
    transition: none !important;
  }
}


/* August 7, 2026 prelaunch functional refinements */
.field-note {
  margin: 0.2rem 0 0;
  color: var(--text-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.84rem;
  line-height: 1.4;
}

.field-invalid {
  border-color: #8b2f2f;
}

.professional-referral-note {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.5;
}

.professional-referral-note a {
  color: var(--white);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.confirmation-section {
  min-height: 58vh;
  display: flex;
  align-items: center;
}

@media (max-width: 520px) {
  .button-row .button {
    width: 100%;
  }
}

/* Mobile intake and header refinements from prelaunch responsive review. */
@media (max-width: 720px) {
  .practice-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.45rem;
    row-gap: 0;
    align-items: start;
  }

  .practice-option > input {
    grid-column: 1;
    grid-row: 1;
  }

  .practice-option > .option-text {
    grid-column: 2;
    grid-row: 1;
  }

  .practice-option > .practice-tip {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    margin: 0.45rem 0 0;
  }
}

@media (max-width: 520px) {
  .nav-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.55rem 0.75rem;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .nav-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .header-contact {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .primary-nav {
    grid-column: 1 / -1;
  }
}
