/* ==========================================================================
   KPLAN Law Group — styles.css
   Palette: navy #15192C · gold #CD8B1A · white · warm gray #F6F4F0
   Type: Cormorant Garamond (headlines) · Source Sans 3 (body)
   ========================================================================== */

:root {
  --navy: #15192c;
  --navy-soft: #3d4257;
  --gold: #cd8b1a;
  --gold-deep: #a86f11;
  --white: #ffffff;
  --gray: #f6f4f0;
  --rule: #e6e2da;
  --text: #2a2e3f;
  --muted: #6b6f7e;

  --serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --measure: 66ch;
  --container: 1160px;
  --gutter: 1.25rem;
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --track: 0.22em;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

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

a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--gold-deep);
}

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

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

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Type ---------- */

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0 0 1.1em;
  max-width: var(--measure);
}

ul {
  padding-left: 1.2rem;
}

.role,
.meta,
.breadcrumb,
.footer-heading,
.bio-facts h3,
.service-side h3,
.contact-side h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.75rem;
}

.meta,
.breadcrumb {
  color: var(--muted);
}

.breadcrumb a {
  text-decoration: none;
  color: var(--gold-deep);
}

/* ---------- Layout ---------- */

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.container.narrow {
  max-width: 760px;
}

.section {
  padding-block: var(--section);
}

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

.section-head {
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gold);
}

.section-head h2 {
  margin-bottom: 0.25rem;
}

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

.section-foot {
  margin-top: 2.5rem;
}

.page-head {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--rule);
}

.page-head h1 {
  margin-bottom: 0.35em;
}

.page-lede {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.4;
  color: var(--navy-soft);
  max-width: 52ch;
}

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin-top: 1.5rem;
}

.jump-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
}

.jump-nav a:hover {
  border-bottom-color: var(--gold);
  color: var(--navy);
}

/* ---------- Buttons & links ---------- */

.button {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}

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

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

.button-gold:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--white);
}

.button-small {
  padding: 0.6rem 1.1rem;
  font-size: 0.75rem;
  white-space: nowrap;
}

.link-arrow {
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}

.link-arrow::after {
  content: "\2192";
  margin-left: 0.4em;
  color: var(--gold);
  transition: margin-left 0.18s ease;
}

.link-arrow:hover::after {
  margin-left: 0.7em;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--white);
  border-bottom: none;
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.85rem;
  flex-wrap: wrap;
}

.brand {
  flex-shrink: 0;
}

.brand img {
  width: clamp(150px, 38vw, 210px);
  height: auto;
}

.phone-mobile {
  margin-left: auto;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--rule);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: none;
  width: 100%;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  margin-top: 0.85rem;
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li a {
  display: block;
  padding: 0.65rem 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 1px solid transparent;
}

.site-nav li a:hover,
.site-nav li a[aria-current="page"] {
  color: var(--gold-deep);
}

.nav-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 0 0.5rem;
}

.nav-contact .phone {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
  letter-spacing: 0.04em;
}

@media (min-width: 1024px) {
  .header-inner {
    flex-wrap: nowrap;
  }

  .nav-toggle,
  .phone-mobile {
    display: none;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: auto;
    padding: 0;
    margin: 0;
    border: 0;
  }

  .site-nav ul {
    display: flex;
    gap: 1.25rem;
  }

  .site-nav li a {
    font-size: 0.74rem;
  }

  .nav-contact .button-small {
    display: none;
  }

  .site-nav li a {
    padding: 0.25rem 0;
  }

  .site-nav li a[aria-current="page"] {
    border-bottom-color: var(--gold);
  }

  .nav-contact {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 0;
    padding-left: 1.5rem;
    border-left: 1px solid var(--rule);
  }

  .nav-contact .phone {
    font-size: 1.05rem;
  }
}

@media (min-width: 1200px) {
  .nav-contact .button-small {
    display: inline-block;
  }

  .site-nav ul {
    gap: 1.5rem;
  }

  .site-nav li a {
    font-size: 0.78rem;
  }
}

/* ---------- Hero — full-bleed photo ---------- */

.hero-photo {
  position: relative;
  overflow: hidden;
  height: 92vh;
  display: flex;
  align-items: flex-end;
  border-bottom: 3px solid var(--gold);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(15, 18, 35, 0.88) 0%,
    rgba(15, 18, 35, 0.55) 45%,
    rgba(15, 18, 35, 0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  padding-top: clamp(6rem, 12vw, 10rem);
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid rgba(205, 139, 26, 0.6);
  display: inline-block;
}

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.hero-practices {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
}

.hero-link-arrow {
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.06em;
  transition: color 0.18s ease;
}

.hero-link-arrow:hover {
  color: var(--gold);
}

/* two-col firm intro below hero */
.hero-lede-band {
  background: var(--white);
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--rule);
}

.hero-lede-inner {
  display: grid;
  gap: 2rem 5rem;
  align-items: start;
}

.hero-lede-statement {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  margin: 0;
}

.hero-lede-body {
  font-size: 1.05rem;
  color: var(--navy-soft);
  line-height: 1.65;
  margin: 0;
  max-width: 52ch;
}

.hero-lede-body .link-arrow {
  display: inline-block;
  margin-top: 1.25rem;
}

@media (min-width: 860px) {
  .hero-lede-inner {
    grid-template-columns: 5fr 7fr;
  }
}

/* ---------- Placeholders ---------- */

.ph {
  background: var(--gray);
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
}

.ph span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 1rem;
}

.ph::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--rule);
  pointer-events: none;
}

.ph-wide {
  aspect-ratio: 16 / 10;
}

.ph-tall {
  aspect-ratio: 4 / 5;
}

.ph-portrait {
  aspect-ratio: 3 / 4;
}

.ph-map {
  aspect-ratio: 4 / 3;
  margin-top: 1.5rem;
}

/* ---------- Service group cards (home) ---------- */

.group-grid {
  display: grid;
  gap: 2.5rem 3rem;
}

.group-card {
  border-top: 1px solid var(--gold);
  padding-top: 1.25rem;
}

.group-card h3 {
  margin-bottom: 0.5rem;
}

.group-card h3 a {
  text-decoration: none;
}

.group-card > p {
  color: var(--muted);
  font-size: 0.98rem;
}

.group-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.group-list li {
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--rule);
}

.group-list li:last-child {
  border-bottom: 0;
}

.group-list a {
  text-decoration: none;
  font-weight: 500;
}

.group-list a:hover {
  color: var(--gold-deep);
}

@media (min-width: 640px) {
  .group-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .group-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Split sections ---------- */

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.split-top {
  align-items: start;
}

.split-copy h2 {
  margin-bottom: 0.75em;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 5fr 7fr;
    gap: 4.5rem;
  }

  .split-reverse {
    grid-template-columns: 7fr 5fr;
  }

  .split-reverse .split-media {
    order: 2;
  }
}

/* ---------- Values ---------- */

.values-strip {
  background: var(--navy);
  color: var(--white);
  padding-block: 1.75rem;
}

.values-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 0;
}

.values-strip li {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0 1.25rem;
  position: relative;
}

.values-strip li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  background: var(--gold);
  border-radius: 50%;
}

.values-grid {
  display: grid;
  gap: 2rem 3rem;
}

.value-item {
  border-top: 1px solid var(--gold);
  padding-top: 1rem;
}

.value-item h3 {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 1.15rem;
}

.value-item p {
  font-size: 0.98rem;
  margin: 0;
}

@media (min-width: 700px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ---------- Insights ---------- */

.insight-grid {
  display: grid;
  gap: 2.5rem 3rem;
}

.insight-card {
  border-top: 1px solid var(--gold);
  padding-top: 1.25rem;
}

.insight-card h3 {
  font-size: 1.5rem;
  margin: 0.25rem 0 0.5rem;
}

.insight-card h3 a {
  text-decoration: none;
}

.insight-card h3 a:hover {
  color: var(--gold-deep);
}

.insight-card p:last-child {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0;
}

@media (min-width: 720px) {
  .insight-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.article-lede {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--navy-soft);
  margin-bottom: 2rem;
}

.article .ph {
  margin-bottom: 2.5rem;
}

.article-hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 2.5rem;
  border: 1px solid var(--rule);
}

.article h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
}

.article blockquote {
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--navy);
}

.article hr,
.legal hr {
  border: 0;
  border-top: 1px solid var(--gold);
  margin: 2.5rem 0;
}

.disclaimer-note {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Professionals ---------- */

.profile-grid {
  display: grid;
  gap: 3rem;
}

.profile-card h2 {
  font-size: 1.85rem;
  margin: 1.25rem 0 0.35rem;
}

.profile-card h2 a {
  text-decoration: none;
}

.profile-card .role {
  margin-bottom: 0.5rem;
}

.profile-photo {
  display: block;
  max-width: 420px;
}

@media (min-width: 720px) {
  .profile-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}

.bio-grid {
  display: grid;
  gap: 2rem;
}

/* Mobile: explicit row order */
.bio-photo-wrap {
  grid-row: 1;
}

.bio-main {
  grid-row: 2;
}

.bio-facts {
  grid-row: 3;
  border-top: 1px solid var(--gold);
  padding-top: 1.5rem;
}

.bio-side .ph {
  max-width: 420px;
}

.bio-facts {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gold);
  max-width: 420px;
}

.bio-facts h3 {
  margin-top: 1.5rem;
}

.bio-facts h3:first-child {
  margin-top: 0;
}

.bio-facts ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.98rem;
}

.bio-facts li {
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--rule);
}

.bio-main h1 {
  margin-bottom: 0.2em;
}

.bio-main .role {
  margin-bottom: 1.5rem;
}

@media (min-width: 860px) {
  .bio-grid {
    grid-template-columns: 4fr 8fr;
    gap: 4.5rem;
    align-items: start;
  }

  /* Desktop: photo top-left, bio right spanning both rows, facts bottom-left */
  .bio-photo-wrap {
    grid-column: 1;
    grid-row: 1;
  }

  .bio-main {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .bio-facts {
    grid-column: 1;
    grid-row: 2;
  }
}

/* ---------- Services ---------- */

.service-group {
  border-bottom: 1px solid var(--rule);
}

.service-group:last-of-type {
  border-bottom: 0;
}

.service-group-grid {
  display: grid;
  gap: 2rem;
}

.service-group-head h2 {
  margin-bottom: 0.5em;
}

.service-group-head p {
  color: var(--muted);
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--gold);
}

.service-list li {
  border-bottom: 1px solid var(--rule);
}

.service-list a {
  display: block;
  padding: 1.1rem 0;
  text-decoration: none;
}

.service-list a span {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--navy);
  line-height: 1.2;
}

.service-list a small {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.2rem;
}

.service-list a:hover span {
  color: var(--gold-deep);
}

@media (min-width: 860px) {
  .service-group-grid {
    grid-template-columns: 4fr 8fr;
    gap: 4.5rem;
  }
}

.service-grid {
  display: grid;
  gap: 3rem;
}

.service-copy h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  max-width: var(--measure);
}

.check-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.service-side h3 {
  margin-top: 2rem;
}

.side-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-links li {
  border-bottom: 1px solid var(--rule);
}

.side-links a {
  display: block;
  padding: 0.5rem 0;
  text-decoration: none;
  font-weight: 500;
}

@media (min-width: 900px) {
  .service-grid {
    grid-template-columns: 8fr 4fr;
    gap: 5rem;
    align-items: start;
  }
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  gap: 3rem;
}

.field {
  margin-bottom: 1.25rem;
}

.field-row {
  display: grid;
  gap: 0 1.25rem;
}

@media (min-width: 560px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--white);
  border: 1px solid #c9c5bc;
  border-radius: 0;
  padding: 0.7rem 0.85rem;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  outline: 2px solid var(--gold);
  outline-offset: 0;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #b3261e;
}

.field-error {
  color: #b3261e;
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.form-status {
  font-weight: 600;
  min-height: 1.5em;
}

.contact-side h2 {
  font-size: 1.75rem;
}

.contact-side h3 {
  margin-top: 1.75rem;
}

address {
  font-style: normal;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 7fr 5fr;
    gap: 5rem;
    align-items: start;
  }
}

/* ---------- Legal pages ---------- */

.legal h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--gray);
  border-top: 1px solid var(--gold);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.cta-title {
  margin-bottom: 0.3em;
}

.cta-text {
  margin: 0;
  color: var(--navy-soft);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding-top: 3.5rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand img {
  width: 220px;
}

.footer-tagline {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.footer-links li {
  padding: 0.2rem 0;
}

.footer-links a,
.footer-legal a {
  text-decoration: none;
}

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

.footer-small {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding: 1.25rem 0 2rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 0.8fr 1.2fr;
  }
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* ---------- Print ---------- */

@media print {
  .site-header,
  .cta-band,
  .site-footer,
  .nav-toggle,
  .phone-mobile {
    display: none;
  }
}

/* ---------- Insights language filter ---------- */

.lang-switch {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.lang-switch button {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.lang-switch button:hover {
  border-color: var(--gold);
  color: var(--navy);
}

.lang-switch button[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.insight-empty {
  padding: 2rem 0;
  color: var(--muted);
  font-style: italic;
}

/* ---------- Scroll fade-in ---------- */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 0.1s;
}
.fade-in-delay-2 {
  transition-delay: 0.2s;
}
.fade-in-delay-3 {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Required field marker ---------- */

.required-mark {
  color: #c0392b;
  margin-left: 0.2em;
  font-weight: 700;
}
