/* Injury law firm template
   Palette: limestone, brick, slate and a signal red. */

:root {
  --paper: #f3eee5;
  --paper-2: #e8e0d1;
  --paper-3: #ddd2bf;
  --ink: #1a1c20;
  --ink-soft: #4a4c52;
  --rule: #cbbfaa;
  --brick: #9a2a1c;
  --brick-dark: #7c1f14;
  --signal: #d7261e;
  --slate: #1f2a33;
  --slate-2: #2a3843;
  --slate-ink: #e9e3d8;
  --slate-soft: #b9b4aa;

  --f-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-sign: "League Gothic", "Oswald", "Arial Narrow", Impact, sans-serif;
  --f-body: "Public Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 3px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brick); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brick-dark); }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  font-weight: 600;
}
.skip:focus { top: 44px; color: #fff; }

/* ---------- template bar ---------- */
.template-bar {
  background: var(--ink);
  color: #d9d4ca;
  font-size: .78rem;
  line-height: 1.35;
  letter-spacing: .01em;
  text-align: center;
  padding: 7px 16px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 238, 229, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
  min-height: 44px;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; color: var(--slate); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: .84rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.brand-sub {
  font-size: .64rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 5px;
  padding-top: 4px;
  border-top: 1px solid var(--ink);
  align-self: flex-start;
}

.site-nav { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 12px 18px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 22px; font-size: 1.05rem; }

.btn-call { background: var(--brick); color: #fff; }
.btn-call:hover { background: var(--brick-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-dark { background: var(--slate); color: #fff; }
.btn-dark:hover { background: var(--ink); color: #fff; }
.btn-light { background: var(--paper); color: var(--slate); }
.btn-light:hover { background: #fff; color: var(--slate); }

.header-call { padding: 10px 14px; min-height: 44px; }
.header-call .call-long { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 36px 0 48px;
  overflow: hidden;
}
.hero::before {
  /* faint limestone coursing, like the stone bands on an old office building */
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(to bottom, transparent 0 63px, rgba(154, 42, 28, .07) 63px 64px);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 36px; }

.kicker {
  font-family: var(--f-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brick);
  margin: 0 0 14px;
}
.kicker-light { color: #f0a79f; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
.nowrap { white-space: nowrap; }

.hero h1 {
  font-size: clamp(2.5rem, min(9.5vw, 11vh), 4.9rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: .98;
  text-wrap: wrap;
}
.hero h1 em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--brick);
  font-size: .62em;
  line-height: 1.08;
  margin-top: .32em;
  letter-spacing: -.01em;
}
.lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin: 22px 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { flex: 1 1 240px; }
.hero-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 20px 0 0;
  font-size: .95rem;
  color: var(--ink-soft);
}
.hero-note a { font-weight: 600; white-space: nowrap; display: inline-block; padding: 10px 0; margin: -10px 0; }

.hero-photo { margin: 0; position: relative; }
.photo-frame {
  position: relative;
  margin-right: 14px;
}
.photo-frame::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  background: var(--brick);
  z-index: 0;
}
.photo-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(.92) contrast(1.03);
}
.plate {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: 100%;
  margin: -26px 0 0 18px;
  background: var(--slate);
  color: var(--slate-ink);
  padding: 10px 16px 10px 14px;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5);
}
.plate-num {
  font-family: var(--f-sign);
  font-size: 2.6rem;
  line-height: .9;
  letter-spacing: .02em;
  color: #fff;
}
.plate-text {
  font-size: .78rem;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-left: 1px solid rgba(255, 255, 255, .25);
  padding-left: 14px;
}

/* ---------- ledger ---------- */
.ledger {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.ledger-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.ledger-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  column-gap: 16px;
  align-items: baseline;
  align-content: start;
}
.ledger-list li:last-child { border-bottom: 0; }
.ledger-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  grid-row: span 2;
}
.ledger-list strong {
  font-family: var(--f-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.ledger-list p { margin: 6px 0 0; font-size: .95rem; color: var(--ink-soft); }

/* ---------- section heads ---------- */
.section-head { max-width: 40rem; margin-bottom: 36px; }
.section-head h2, .about h2, .contact h2, .advice h2 {
  font-size: clamp(2rem, 6.5vw, 3.2rem);
}
.section-intro { color: var(--ink-soft); margin: 16px 0 0; font-size: 1.08rem; }

/* ---------- practice index ---------- */
.practice { padding: 72px 0 80px; }
.index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border-top: 2px solid var(--ink);
}
.index li {
  position: relative;
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  gap: 12px;
  padding: 20px 0 20px;
  border-bottom: 1px solid var(--rule);
}
.index li::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px; width: 0;
  background: var(--brick);
  transition: width .45s var(--ease);
}
.index li:hover::after { width: 100%; }
.sec {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--brick);
  padding-top: 5px;
  white-space: nowrap;
}
.index h3 { font-size: 1.45rem; line-height: 1.15; }
.index p { margin: 6px 0 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- billboard ---------- */
.billboard {
  background: var(--ink);
  color: var(--slate-ink);
  padding: 56px 0 60px;
  position: relative;
  overflow: hidden;
}
.billboard::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 6px;
  background: var(--signal);
}
.billboard-inner { text-align: left; }
.billboard-kicker {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin: 0 0 8px;
}
.billboard-number {
  display: inline-flex;
  flex-wrap: wrap;
  font-family: var(--f-sign);
  font-size: clamp(4.6rem, 21vw, 11rem);
  line-height: .86;
  letter-spacing: .005em;
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
}
.billboard-number .accent { color: var(--signal); }
.billboard-number:hover { color: #fff; }
.billboard-number:hover .accent { color: #ff4a3d; }
.billboard-sub {
  margin: 18px 0 0;
  font-size: 1.05rem;
  color: var(--slate-soft);
}
.billboard-sub a { color: #fff; font-weight: 600; white-space: nowrap; }

/* ---------- advice ---------- */
.advice {
  background: var(--slate);
  color: var(--slate-ink);
  padding: 72px 0 80px;
}
.advice h2 { color: #fff; }
.advice-grid { display: grid; gap: 36px; }
.advice-head p:not(.kicker) { color: var(--slate-soft); margin: 18px 0 0; max-width: 32em; }
.rules {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
.rules li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  align-items: baseline;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.rules li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.rule-num {
  font-family: var(--f-sign);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--signal);
}
.rule-text {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  line-height: 1.15;
  color: #fff;
  text-wrap: balance;
}
.advice-foot p { margin: 0 0 22px; max-width: 34em; }
.advice-foot strong { color: #fff; }

/* ---------- about ---------- */
.about { padding: 80px 0; }
.about-grid { display: grid; gap: 40px; }
.about-photo { margin: 0; }
.about-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(.9);
}
.about-photo figcaption {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--brick);
  padding: 2px 0 2px 12px;
  margin-top: 14px;
}
.about-copy > p:not(.kicker) { color: var(--ink-soft); margin: 18px 0 0; max-width: 34em; }

.attorney {
  margin-top: 36px;
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}
.attorney header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-bottom: 14px;
}
.attorney h3 { font-size: 1.7rem; }
.attorney header p {
  margin: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brick);
}
.attorney dl { margin: 0; display: grid; }
.attorney dl div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
}
.attorney dt {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 4px;
}
.attorney dd { margin: 0; font-size: .98rem; }

/* ---------- contact ---------- */
.contact {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  padding: 72px 0 80px;
}
.contact-grid { display: grid; gap: 44px; }
.contact-lead { color: var(--ink-soft); margin: 16px 0 28px; max-width: 34em; }
.inline-phone { font-weight: 700; white-space: nowrap; }

.consult-form { display: grid; gap: 18px; }
.field-row { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fbf8f2;
  border: 1.5px solid #a89c87;
  border-radius: var(--radius);
  padding: 12px 13px;
  width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brick);
  box-shadow: 0 0 0 3px rgba(154, 42, 28, .22);
}
.field input[aria-invalid="true"] { border-color: var(--signal); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-or { color: var(--ink-soft); }
.form-or a { font-weight: 600; white-space: nowrap; }
.form-status {
  margin: 0;
  padding: 14px 16px;
  background: var(--slate);
  color: #fff;
  border-left: 4px solid var(--signal);
  font-size: .98rem;
}
.form-status a { color: #fff; font-weight: 700; }

.visit {
  background: var(--paper);
  border: 1px solid var(--rule);
  align-self: start;
}
.visit-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.visit-body { padding: 24px 22px 26px; }
.visit h3 { font-size: 1.6rem; margin-bottom: 12px; }
.visit address { font-style: normal; font-size: 1.02rem; line-height: 1.5; }
.addr-bldg { display: block; font-weight: 600; }
.visit-list { margin: 22px 0 0; }
.visit-list div { padding: 11px 0; border-top: 1px solid var(--rule); }
.visit-list dt {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.visit-list dd { margin: 3px 0 0; overflow-wrap: anywhere; }
.visit-list a { font-weight: 600; }

/* ---------- faq ---------- */
.faq { padding: 72px 0 84px; }
.faq-grid { display: grid; gap: 8px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.25;
  text-wrap: balance;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  background:
    linear-gradient(var(--brick), var(--brick)) center / 14px 2px no-repeat,
    linear-gradient(var(--brick), var(--brick)) center / 2px 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -4px 0 22px; color: var(--ink-soft); max-width: 40em; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c9c3b8;
  padding: 48px 0 24px;
  font-size: .95rem;
}
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 6px; }
.footer-grid { display: grid; gap: 26px; }
.footer-name {
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px !important;
}
.footer-legal p { color: #a8a298; font-size: .94rem; max-width: 30em; }
.footer-credit {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .82rem;
  color: #9d978d;
}

/* ---------- mobile call bar ---------- */
/* The footer carries the room for the bar, so its dark band runs behind it and the credit stays readable. */
.site-footer { padding-bottom: calc(24px + 60px + env(safe-area-inset-bottom)); }

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--ink);
  box-shadow: 0 -6px 20px -8px rgba(0, 0, 0, .4);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 60px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: #fff;
}
.mobile-bar svg { width: 20px; height: 20px; }
.mobile-bar-call { background: var(--brick); }
.mobile-bar-call:hover { background: var(--brick-dark); color: #fff; }
.mobile-bar-msg:hover { color: #fff; background: var(--slate-2); }

/* ---------- reveal motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise .8s var(--ease) forwards;
}
.js .reveal:nth-child(1) { animation-delay: .05s; }
.js .reveal:nth-child(2) { animation-delay: .14s; }
.js .reveal:nth-child(3) { animation-delay: .24s; }
.js .reveal:nth-child(4) { animation-delay: .34s; }
.js .reveal:nth-child(5) { animation-delay: .44s; }
.js .hero-photo.reveal { animation-delay: .3s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.fade-in.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .fade-in { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .index li::after { transition: none; }
}

/* ---------- phones: bigger tap areas on standalone links ---------- */
@media (max-width: 959px) {
  .inline-phone, .form-or a, .billboard-sub a, .visit-list dd a, .faq details p a {
    display: inline-block;
    padding: 12px 0;
    margin: -12px 0;
  }
  .footer-contact p { margin: 0; }
  .footer-contact a { display: inline-block; padding: 11px 0; }
}

/* ---------- wider screens ---------- */
@media (min-width: 560px) {
  .brand-name { font-size: .98rem; letter-spacing: .2em; }
  .header-call .call-long { display: inline; }
  .header-call .call-short { display: none; }
  .field-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  .ledger-list { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .ledger-list li { grid-template-columns: 1fr; padding: 26px 0; }
  .ledger-list li:nth-last-child(2) { border-bottom: 0; }
  .ledger-label { grid-row: auto; margin-bottom: 6px; }
  .index { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (min-width: 960px) {
  .site-footer { padding-bottom: 24px; }
  .mobile-bar { display: none; }
  .site-nav {
    display: flex;
    gap: 26px;
    margin-right: 10px;
  }
  .site-nav a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: .95rem;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: border-color .2s var(--ease);
  }
  .site-nav a:hover { border-bottom-color: var(--brick); color: var(--ink); }

  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
  .photo-frame { margin-right: 22px; }
  .photo-frame::before { inset: 22px -22px -22px 22px; }
  .plate { margin: -34px 0 0 -26px; }

  .ledger-list { grid-template-columns: repeat(4, 1fr); column-gap: 0; }
  .ledger-list li {
    padding: 34px 28px 36px;
    border-bottom: 0;
    border-left: 1px solid var(--rule);
  }
  .ledger-list li:first-child { border-left: 0; padding-left: 0; }

  .practice { padding: 104px 0 112px; }
  .practice .section-head { display: grid; grid-template-columns: 1fr 1fr; max-width: none; column-gap: 48px; align-items: end; }
  .practice .section-head .kicker { grid-column: 1 / -1; }
  .practice .section-intro { margin: 0; }
  .index { grid-template-columns: 1fr 1fr 1fr; }

  .billboard { padding: 80px 0 86px; }

  .advice { padding: 104px 0 112px; }
  .advice-grid { grid-template-columns: 1fr 1.15fr; column-gap: 72px; row-gap: 36px; }
  .advice-head { grid-row: span 2; }

  .about { padding: 112px 0; }
  .about-grid { grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: start; }
  .about-photo { position: sticky; top: 100px; }

  .contact { padding: 104px 0 112px; }
  .contact-grid { grid-template-columns: 1.2fr .8fr; gap: 64px; }

  .faq { padding: 104px 0 112px; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }

  .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; gap: 40px; }
}

/* ---------- short laptop screens: keep the hero and its buttons on the first screen ---------- */
@media (min-width: 960px) and (max-height: 820px) {
  .hero { padding: 44px 0 64px; }
  .lead { margin: 18px 0 24px; }
  .hero-note { margin-top: 16px; }
  .hero-grid { gap: 48px; }
}

/* ---------- Footer legal line ---------- */
/* Keep "Powered by Open·Civ" together; the Open·Civ link gets a 44px+ tap area without moving the text */
.oc-nw { white-space: nowrap; }
.site-footer .oc-legal a { display: inline-block; padding-block: 14px; margin-block: -14px; }
