/* =========================================================
   Grant LLP — home page stylesheet
   Restrained white base; geometry borrowed from the shield mark:
   tilted shield silhouettes, sweeping ribbon bands, angled cuts.
   ========================================================= */

:root {
  --white: #ffffff;
  --paper: #f5f7f4;
  --paper-2: #eef2ee;
  --ink: #121614;
  --ink-2: #2b312d;
  --muted: #5d665f;
  --line: #d9dfd9;

  --green: #0d6b34;        /* primary brand green */
  --green-bright: #15a54a; /* highlight band */
  --green-deep: #062d17;   /* darkest band / footer */
  --green-tint: #e7f2ea;
  --teal: #1287c2;         /* the blue sliver */
  --teal-bright: #1ab7d6;

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", Tahoma, Verdana, system-ui, sans-serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);

  /* Tilted shield polygon: angled shoulders, slight cant, pointed base */
  --shield: polygon(6% 9%, 95% 2%, 100% 56%, 50% 100%, 12% 78%, 0% 58%);
  --shield-soft: polygon(4% 0%, 100% 0%, 100% 64%, 60% 100%, 46% 100%, 0% 70%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-deep); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.1; margin: 0 0 .6em; font-weight: 600; }
p { margin: 0 0 1.1em; }
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
main, .footer { overflow-x: clip; }
.section--practice, .section--attorneys { overflow: hidden; }

/* ---------- small pieces ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--green);
  margin: 0 0 1.25rem;
}
.eyebrow__rule { display: inline-block; width: 2.25rem; height: 2px; background: currentColor; }
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--green-bright); }

.section__title { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.01em; max-width: 18ch; }
.section__head { text-align: center; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section__head .section__title { margin-inline: auto; }
.section__head--left { text-align: left; }
.section__head--left .section__title { margin-inline: 0; }
.lead { font-size: 1.25rem; line-height: 1.5; color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .03em;
  padding: .9rem 1.6rem; border: 1.5px solid transparent; border-radius: 2px;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  /* angled corner echoing the shield's clipped shoulder */
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn--block { width: 100%; justify-content: center; }
.btn__arrow { transition: transform .2s; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.text-link { font-weight: 600; font-size: .95rem; letter-spacing: .02em; border-bottom: 1.5px solid var(--green-tint); padding-bottom: 2px; }
.text-link:hover { border-color: var(--green); }

.placeholder-img {
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(13,107,52,.06) 14px 15px),
    linear-gradient(160deg, #e3ece5, #d4e2d8);
  display: grid; place-items: center;
}
.placeholder-label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); opacity: .7; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; }
.topbar { background: var(--green-deep); color: #cfe3d5; font-size: .82rem; letter-spacing: .04em; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 2.25rem; gap: 1rem; }
.topbar__phone { color: #fff; font-weight: 600; }
.topbar__phone:hover { color: var(--teal-bright); }
.site-header.is-scrolled .topbar { display: none; }

.nav { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 5.25rem; transition: min-height .2s; }
.site-header.is-scrolled .nav__inner { min-height: 4.25rem; }
/* Brand lockup: the shield mark serves as the "G" in Grant, as in the logo */
.brand { display: flex; align-items: flex-end; gap: 0; color: var(--ink); }
.brand__mark { height: 3.1rem; width: auto; transition: height .2s; }
.brand__word {
  font-family: var(--sans); font-weight: 600; font-size: 1.95rem; letter-spacing: .01em; line-height: 1;
  color: var(--ink); margin-left: -.12rem; padding-bottom: .5rem; position: relative; z-index: 1;
}
.brand__suffix { font-family: var(--sans); font-weight: 600; font-size: .72rem; letter-spacing: .22em; color: var(--green); margin-left: .55rem; padding-bottom: .6rem; line-height: 1; }
.site-header.is-scrolled .brand__mark { height: 2.6rem; }
.site-header.is-scrolled .brand__word { font-size: 1.65rem; padding-bottom: .4rem; }
.brand--light .brand__word { color: #fff; }
.brand--light .brand__suffix { color: var(--green-bright); }
.brand--light .brand__mark { height: 3.6rem; }
.brand--light .brand__mark, .theme-bold .brand__mark { filter: drop-shadow(0 0 5px rgba(255,255,255,.45)) drop-shadow(0 0 1px rgba(255,255,255,.6)); }
.brand--light .brand__word { font-size: 2.25rem; }

.nav__menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2rem; }
.nav__menu a:not(.btn) { color: var(--ink); font-weight: 500; font-size: .95rem; letter-spacing: .02em; position: relative; padding-block: .35rem; }
.nav__menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--green) 80%, var(--teal) 80%);
  transition: right .25s;
}
.nav__menu a:not(.btn):hover::after { right: 0; }
.nav__toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--white); }
.hero__ribbons { position: absolute; inset: 0; pointer-events: none; }
.hero__ribbons svg { width: 100%; height: 100%; display: block; }
.hero__inner {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center; padding-block: clamp(3.5rem, 8vw, 7rem);
}
.hero__title { font-size: clamp(2.6rem, 5.2vw, 4.4rem); font-weight: 600; letter-spacing: -.015em; max-width: 14ch; margin-bottom: 1.25rem; }
.hero__title em { font-style: italic; font-weight: 500; color: var(--green); }
.hero__lede { font-size: 1.2rem; line-height: 1.55; max-width: 52ch; color: var(--ink-2); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__figure { margin: 0; position: relative; }
.shield-frame { position: relative; isolation: isolate; aspect-ratio: 5 / 5.6; width: min(100%, 460px); margin-left: auto; }
.shield-frame__img { position: absolute; inset: 0; clip-path: var(--shield); }
.shield-frame__edge {
  position: absolute; inset: -14px -14px 0 14px; clip-path: var(--shield); z-index: -1;
  background: linear-gradient(150deg, var(--green-bright), var(--green) 45%, var(--green-deep));
  opacity: .9;
}
.shield-frame__sliver {
  /* slim teal band along the right edge, like the blue band on the mark */
  position: absolute; top: 0; right: 0; width: 7%; height: 62%;
  background: linear-gradient(180deg, var(--teal) 0%, var(--teal-bright) 70%, rgba(26,183,214,0) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
}

/* ---------- credibility strip ---------- */
.strip {
  background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), 60% 100%, 0 calc(100% - 4px));
  padding-bottom: 22px;
}
.strip__inner { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 2rem; align-items: center; padding-block: 1.75rem; }
.strip__item { display: flex; align-items: center; gap: .9rem; padding-left: 1.5rem; border-left: 1px solid var(--line); }
.strip__item:first-child { padding-left: 0; border-left: 0; }
.strip__num { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--green); line-height: 1; }
.strip__label { font-size: .95rem; font-weight: 500; letter-spacing: .02em; color: var(--ink-2); }

/* ---------- civil litigation split ---------- */
.split { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split__aside { position: sticky; top: 7rem; }
.checklist { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 2rem; }
.checklist li { position: relative; padding-left: 1.75rem; font-weight: 500; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35rem; width: 14px; height: 15px;
  background: var(--green); clip-path: var(--shield-soft);
}

/* ---------- practice panels ---------- */
.section--practice { background: var(--paper); position: relative; }
.section--practice::before {
  /* faint oversized shield outline in the background */
  content: ""; position: absolute; right: -6%; bottom: -12%; width: 40vw; max-width: 600px; aspect-ratio: 5/5.6;
  background: linear-gradient(150deg, rgba(13,107,52,.09), rgba(13,107,52,0) 75%);
  clip-path: var(--shield); pointer-events: none;
}
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; position: relative; }
.panel {
  display: flex; flex-direction: column; gap: .35rem; padding: 2.5rem 2.5rem 2.25rem; background: #fff; color: var(--ink-2);
  border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.panel::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--green) 0 78%, var(--teal) 78% 100%);
}
.panel--alt::before { background: linear-gradient(90deg, var(--green-deep) 0 78%, var(--teal) 78% 100%); }
.panel:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(6,45,23,.35); border-color: transparent; color: var(--ink-2); }
.panel__mark { width: 52px; height: 52px; color: var(--green); margin-bottom: 1rem; }
.panel--alt .panel__mark { color: var(--green-deep); }
.panel__title { font-size: 1.9rem; margin: 0; }
.panel__sub { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; font-weight: 600; }
.panel__text { flex: 1; }
.panel__link { font-weight: 600; color: var(--green); margin-top: .5rem; }
.panel:hover .panel__link { color: var(--green-deep); }

/* ---------- approach ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.feature { padding: 2rem 1.75rem 1.5rem 0; border-right: 1px solid var(--line); margin-right: 1.75rem; }
.feature:last-child { border-right: 0; margin-right: 0; }
.feature__index { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--green); letter-spacing: .05em; display: inline-block; margin-bottom: 1.25rem; position: relative; }
.feature__index::after { content: ""; position: absolute; left: 0; bottom: -.4rem; width: 2rem; height: 2px; background: linear-gradient(90deg, var(--green) 75%, var(--teal) 75%); }
.feature__title { font-size: 1.45rem; margin-bottom: .5rem; }
.feature p { font-size: .98rem; color: var(--muted); margin: 0; }

/* ---------- attorneys ---------- */
.section--attorneys { background: #fff; }
.attorneys { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.attorney { display: grid; grid-template-columns: 200px 1fr; gap: 1.75rem; align-items: start; }
.attorney__photo { position: relative; isolation: isolate; }
.shield-mask { aspect-ratio: 5/5.6; clip-path: var(--shield); }
.attorney__photo::before {
  content: ""; position: absolute; inset: 10px -10px -10px 10px; clip-path: var(--shield); z-index: -1;
  background: linear-gradient(150deg, var(--green-bright), var(--green-deep));
  opacity: .85;
}
.attorney__name { font-size: 1.9rem; margin-bottom: .2rem; }
.attorney__role { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); font-weight: 600; margin-bottom: 1rem; }
.attorney__bio { color: var(--muted); font-size: 1rem; }

/* ---------- contact ---------- */
.section--contact {
  position: relative; overflow: hidden; color: #d6e5db;
  background: linear-gradient(160deg, #0a3a1e 0%, var(--green-deep) 55%, #041c0f 100%);
  clip-path: polygon(0 26px, 55% 0, 100% 34px, 100% 100%, 0 100%);
  padding-top: calc(var(--section) + 20px);
}
.contact__ribbons { position: absolute; inset: 0; pointer-events: none; }
.contact__ribbons svg { width: 100%; height: 100%; display: block; }
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.section--contact .section__title { color: #fff; }
.contact__text p { color: #c3d6c9; font-size: 1.08rem; }
.contact__details { margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.contact__details div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact__details dt { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green-bright); font-weight: 600; padding-top: .2rem; }
.contact__details dd { margin: 0; color: #fff; font-size: 1.05rem; }
.contact__details a { color: #fff; }
.contact__details a:hover { color: var(--teal-bright); }

.contact__form { background: #fff; padding: 2.25rem; color: var(--ink-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); position: relative; }
.contact__form::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--green) 0 78%, var(--teal) 78% 100%); }
.field { display: grid; gap: .35rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 2px;
  background: var(--paper); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); background: #fff; }
.form__note { font-size: .82rem; color: var(--muted); line-height: 1.45; }

/* ---------- footer ---------- */
.footer { background: #041c0f; color: #9fb8a7; font-size: .95rem; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
.footer .brand { display: inline-flex; }
.footer__tag { margin-top: 1rem; color: #cfe3d5; line-height: 1.5; }
.footer h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer a { color: #cfe3d5; }
.footer a:hover { color: var(--teal-bright); }
.footer address { font-style: normal; line-height: 1.7; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.08); padding-block: 1.25rem; font-size: .8rem; color: #7f977f; }
.footer__legal p { margin: 0; line-height: 1.5; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .features { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(2) { border-right: 0; margin-right: 0; }
  .feature { border-bottom: 1px solid var(--line); }
  .feature:nth-child(n+3) { border-bottom: 0; }
  .attorneys { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.25rem; display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu li a:not(.btn) { display: block; padding: .85rem 0; border-bottom: 1px solid var(--paper-2); }
  .nav__menu li:last-child { padding-top: 1rem; }
  .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); }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__figure { order: -1; }
  .shield-frame { width: min(70%, 340px); margin-left: 0; }
  .hero__ribbons { opacity: .45; }
  .strip__inner { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .strip__item { border-left: 0; padding-left: 0; }
  .split { grid-template-columns: 1fr; }
  .split__aside { position: static; }
  .panels { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .topbar__inner { justify-content: center; text-align: center; }
  .topbar__item:first-child { display: none; }
  .brand__mark { height: 2.6rem; }
  .brand__word { font-size: 1.65rem; padding-bottom: .4rem; }
  .checklist { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .feature { border-right: 0; margin-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); }
  .feature:nth-child(n+3) { border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
  .attorney { grid-template-columns: 1fr; }
  .attorney__photo { width: 200px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact__form { padding: 1.5rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .strip__inner { grid-template-columns: 1fr; }
}

/* =========================================================
   Theme "plus": same white base, more of the brand geometry
   Applied when <body class="theme-plus">
   ========================================================= */

/* Section titles get a short green/teal rule beneath */
.theme-plus .section__title { position: relative; padding-bottom: 1rem; }
.theme-plus .section__title::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 3.5rem; height: 3px;
  background: linear-gradient(90deg, var(--green) 70%, var(--teal) 70%);
}
.theme-plus .section__head:not(.section__head--left) .section__title::after { left: 50%; transform: translateX(-50%); }
.theme-plus .eyebrow__rule { background: linear-gradient(90deg, var(--green) 70%, var(--teal) 70%); }

/* Hero: soft green wash on the right and a large faint shield behind the photo */
.theme-plus .hero { background: linear-gradient(100deg, #fff 0 52%, #eef5f0 100%); }
.theme-plus .hero__ribbons { opacity: 1; }
.theme-plus .hero__ribbons svg path:nth-child(1) { stroke-width: 56; }
.theme-plus .hero__figure::before {
  content: ""; position: absolute; inset: -12% -8% -8% -14%; clip-path: var(--shield);
  background: linear-gradient(160deg, rgba(13,107,52,.10), rgba(18,135,194,.08) 60%, rgba(13,107,52,0));
  z-index: 0;
}
.theme-plus .hero__figure { position: relative; }
.theme-plus .shield-frame { z-index: 1; }
.theme-plus .hero__title em { background: linear-gradient(120deg, var(--green), #0f8f52 70%, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Credibility strip becomes a deep green brand band with ribbon lines */
.theme-plus .strip {
  background: linear-gradient(100deg, var(--green-deep), #0a3f22 60%, #0d5a30);
  border: 0; color: #fff; position: relative; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 62% 100%, 0 calc(100% - 6px));
  padding-bottom: 26px;
}
.theme-plus .strip::before, .theme-plus .strip::after {
  content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.12); pointer-events: none;
}
.theme-plus .strip::before { width: 900px; height: 900px; right: -300px; top: -700px; border-color: rgba(26,183,214,.25); }
.theme-plus .strip::after { width: 1200px; height: 1200px; right: -500px; top: -1000px; }
.theme-plus .strip__item { border-left-color: rgba(255,255,255,.18); }
.theme-plus .strip__num { color: var(--green-bright); }
.theme-plus .strip__label { color: #e7f1ea; }

/* Civil litigation: sweeping band behind the sticky title */
.theme-plus .section--litigation { position: relative; overflow: hidden; }
.theme-plus .section--litigation::before {
  content: ""; position: absolute; left: -12%; bottom: -30%; width: 46vw; max-width: 640px; aspect-ratio: 5/5.6;
  clip-path: var(--shield); pointer-events: none;
  background: linear-gradient(160deg, rgba(13,107,52,.07), rgba(13,107,52,0) 70%);
}
.theme-plus .checklist li::before { background: linear-gradient(160deg, var(--green-bright), var(--green-deep)); }

/* Practice panels: clipped shoulder like the shield, shield-shaped icon badges */
.theme-plus .section--practice { background: linear-gradient(180deg, var(--paper), #fff); }
.theme-plus .section--practice::before { background: linear-gradient(150deg, rgba(13,107,52,.13), rgba(18,135,194,.06) 55%, rgba(13,107,52,0) 80%); }
.theme-plus .panel { clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); border-color: #d2ddd5; }
.theme-plus .panel::before { height: 5px; }
.theme-plus .panel__mark {
  width: 60px; height: 60px; padding: 12px; color: #fff;
  background: linear-gradient(160deg, var(--green-bright), var(--green) 55%, var(--green-deep)); clip-path: var(--shield-soft);
}
.theme-plus .panel--alt .panel__mark { background: linear-gradient(160deg, #0f8f52, var(--green-deep) 60%, #041c0f); }
.theme-plus .panel__mark svg path:first-child { display: none; }
.theme-plus .panel::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 220px; aspect-ratio: 5/5.6; clip-path: var(--shield);
  background: linear-gradient(160deg, rgba(13,107,52,.08), rgba(13,107,52,0) 70%); transition: transform .3s;
}
.theme-plus .panel:hover::after { transform: translate(-10px, -10px); }

/* Approach: numbers on small shield badges, green tint band behind */
.theme-plus .section--approach { background: linear-gradient(180deg, #fff, var(--paper) 100%); }
.theme-plus .feature__index {
  color: #fff; font-size: 1rem; width: 2.4rem; height: 2.6rem; display: grid; place-items: center; padding-bottom: .2rem;
  background: linear-gradient(160deg, var(--green-bright), var(--green-deep)); clip-path: var(--shield-soft);
}
.theme-plus .feature__index::after { display: none; }
.theme-plus .features { border-top-color: transparent; background: linear-gradient(90deg, var(--green) 0 70%, var(--teal) 70% 100%) top / 100% 2px no-repeat; }

/* Attorneys: pale green field with ribbon strokes, teal sliver on the shields */
.theme-plus .section--attorneys { background: #f3f8f4; position: relative; }
.theme-plus .section--attorneys .attorneys-ribbons { position: absolute; inset: 0; pointer-events: none; opacity: .9; }
.theme-plus .section--attorneys .attorneys-ribbons svg { width: 100%; height: 100%; display: block; }
.theme-plus .section--attorneys .container { position: relative; }
.theme-plus .shield-mask { position: relative; }
.theme-plus .shield-mask::after {
  content: ""; position: absolute; top: 0; right: 0; width: 7%; height: 60%;
  background: linear-gradient(180deg, var(--teal), var(--teal-bright) 70%, rgba(26,183,214,0));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
}

/* Buttons: teal end-cap accent on the primary button */
.theme-plus .btn--primary { background: linear-gradient(90deg, var(--green) 0 88%, var(--teal) 88%); }
.theme-plus .btn--primary:hover { background: linear-gradient(90deg, var(--green-deep) 0 88%, var(--teal) 88%); }
.theme-plus .btn--block { background: linear-gradient(90deg, var(--green) 0 96%, var(--teal) 96%); }

@media (max-width: 960px) {
  .theme-plus .hero { background: linear-gradient(180deg, #fff 0 40%, #eef5f0 100%); }
  .theme-plus .hero__ribbons { opacity: .45; }
}

/* =========================================================
   Theme "bold": the logo colors drive the page
   Applied when <body class="theme-plus theme-bold">
   ========================================================= */

/* Header on deep green */
.theme-bold .site-header { background: var(--green-deep); }
.theme-bold .topbar { background: #041c0f; }
.theme-bold .nav { background: rgba(6,45,23,.96); border-bottom: 1px solid rgba(255,255,255,.10); }
.theme-bold .nav__menu a:not(.btn) { color: #fff; }
.theme-bold .nav__menu a:not(.btn)::after { background: linear-gradient(90deg, var(--green-bright) 80%, var(--teal-bright) 80%); }
.theme-bold .brand__word { color: #fff; }
.theme-bold .brand__suffix { color: var(--green-bright); }
.theme-bold .nav__toggle span { background: #fff; }
.theme-bold .btn--primary { background: linear-gradient(90deg, var(--green-bright) 0 88%, var(--teal-bright) 88%); color: #041c0f; }
.theme-bold .btn--primary:hover { background: linear-gradient(90deg, #1fc95c 0 88%, var(--teal-bright) 88%); color: #041c0f; }
.theme-bold .btn--block { background: linear-gradient(90deg, var(--green) 0 96%, var(--teal) 96%); color: #fff; }
.theme-bold .btn--block:hover { background: linear-gradient(90deg, var(--green-deep) 0 96%, var(--teal) 96%); }

/* Hero: full deep-green field with bright ribbons */
.theme-bold .hero { background: radial-gradient(120% 90% at 100% 0%, #0d6b34 0%, #073b1e 45%, #041c0f 100%); color: #d6e5db; }
.theme-bold .hero__title { color: #fff; }
.theme-bold .hero__title em { background: linear-gradient(120deg, var(--green-bright), #4fd67e 55%, var(--teal-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.theme-bold .hero__lede { color: #c3d6c9; }
.theme-bold .eyebrow { color: var(--green-bright); }
.theme-bold .eyebrow__rule { background: linear-gradient(90deg, var(--green-bright) 70%, var(--teal-bright) 70%); }
.theme-bold .btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.theme-bold .btn--ghost:hover { background: #fff; color: var(--green-deep); }
.theme-bold .hero__ribbons { opacity: 1; }
.theme-bold .hero__figure::before { background: linear-gradient(160deg, rgba(21,165,74,.28), rgba(26,183,214,.18) 60%, rgba(21,165,74,0)); }
.theme-bold .shield-frame__edge { background: linear-gradient(150deg, var(--green-bright), var(--teal-bright) 60%, var(--teal)); opacity: 1; }
.theme-bold .hero .placeholder-img {
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.05) 14px 15px), linear-gradient(160deg, #0f5a2e, #062d17);
}
.theme-bold .hero .placeholder-label { color: #9fd8b3; opacity: .8; }

/* Credibility strip: bright green band */
.theme-bold .strip { background: linear-gradient(100deg, var(--green) 0%, #11894a 60%, var(--green-bright) 100%); }
.theme-bold .strip__num { color: #fff; }
.theme-bold .strip__label { color: #fff; }
.theme-bold .strip::before { border-color: rgba(255,255,255,.22); }
.theme-bold .strip::after { border-color: rgba(255,255,255,.14); }

/* Civil litigation stays white, with a bolder shield wash and bright bullets */
.theme-bold .section--litigation::before { background: linear-gradient(160deg, rgba(21,165,74,.16), rgba(26,183,214,.08) 60%, rgba(13,107,52,0) 85%); }
.theme-bold .checklist li::before { background: linear-gradient(160deg, var(--green-bright), var(--green)); }

/* Practice: deep green field with white cards */
.theme-bold .section--practice { background: radial-gradient(90% 80% at 0% 100%, #0b4a26 0%, #062d17 55%, #041c0f 100%); }
.theme-bold .section--practice::before { background: linear-gradient(150deg, rgba(21,165,74,.35), rgba(26,183,214,.15) 55%, rgba(21,165,74,0) 80%); }
.theme-bold .section--practice .section__title { color: #fff; }
.theme-bold .section--practice .section__title::after { background: linear-gradient(90deg, var(--green-bright) 70%, var(--teal-bright) 70%); }
.theme-bold .panel { border: 0; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.theme-bold .panel::before { background: linear-gradient(90deg, var(--green-bright) 0 78%, var(--teal-bright) 78% 100%); }
.theme-bold .panel--alt::before { background: linear-gradient(90deg, var(--green) 0 78%, var(--teal) 78% 100%); }
.theme-bold .panel__mark { background: linear-gradient(160deg, var(--green-bright), var(--green) 60%, var(--green-deep)); }
.theme-bold .panel--alt .panel__mark { background: linear-gradient(160deg, var(--teal-bright), var(--teal) 60%, #0b3f5c); }

/* Approach: white with a green-bright field fading in */
.theme-bold .section--approach { background: linear-gradient(180deg, #fff 0%, #e7f2ea 100%); }
.theme-bold .feature__index { background: linear-gradient(160deg, var(--green-bright), var(--green)); }
.theme-bold .features { background: linear-gradient(90deg, var(--green-bright) 0 70%, var(--teal-bright) 70% 100%) top / 100% 3px no-repeat; }

/* Attorneys: pale green field, stronger ribbons */
.theme-bold .section--attorneys { background: linear-gradient(180deg, #e7f2ea 0%, #f3f8f4 100%); }
.theme-bold .section--attorneys .attorneys-ribbons { opacity: 1; }
.theme-bold .section--attorneys .attorneys-ribbons svg path:nth-child(1) { stroke: var(--green-bright); stroke-opacity: .28; stroke-width: 40; }
.theme-bold .section--attorneys .attorneys-ribbons svg path:nth-child(2) { stroke: var(--teal-bright); stroke-opacity: .35; stroke-width: 14; }
.theme-bold .attorney__photo::before { background: linear-gradient(150deg, var(--green-bright), var(--teal) 100%); opacity: 1; }

/* Contact: green sweeping into teal */
.theme-bold .section--contact { background: linear-gradient(115deg, #041c0f 0%, #073b1e 45%, #0b4a5c 100%); }
.theme-bold .section--contact .section__title::after { background: linear-gradient(90deg, var(--green-bright) 70%, var(--teal-bright) 70%); }
.theme-bold .contact__form::before { background: linear-gradient(90deg, var(--green-bright) 0 78%, var(--teal-bright) 78% 100%); }
.theme-bold .contact__details dt { color: var(--green-bright); }

/* Footer picks up a teal edge */
.theme-bold .footer { border-top: 4px solid; border-image: linear-gradient(90deg, var(--green-bright) 0 70%, var(--teal-bright) 70% 100%) 1; }

@media (max-width: 960px) {
  .theme-bold .nav__menu { background: var(--green-deep); border-bottom-color: rgba(255,255,255,.1); }
  .theme-bold .nav__menu li a:not(.btn) { border-bottom-color: rgba(255,255,255,.08); }
  .theme-bold .hero { background: radial-gradient(120% 70% at 100% 0%, #0d6b34 0%, #073b1e 45%, #041c0f 100%); }
  .theme-bold .hero__ribbons { opacity: .6; }
}

/* =========================================================
   Inner pages and shared components (added with the PI,
   insurance defense, and jurisdiction pages)
   ========================================================= */
.hero--page .hero__title { font-size: clamp(2.3rem, 4.4vw, 3.7rem); max-width: 16ch; }
.hero--page .hero__inner { padding-block: clamp(3rem, 6vw, 5.5rem); }
.shield-frame__img { overflow: hidden; }
.shield-frame__img img, .shield-mask img { width: 100%; height: 100%; object-fit: cover; display: block; }
.strip__plus { font-size: .6em; vertical-align: top; color: var(--teal); }
.theme-bold .strip__plus { color: #dff7ea; }
.checklist--single { grid-template-columns: 1fr; }
.split__note { margin-top: 1.5rem; font-size: .92rem; color: var(--muted); border-left: 3px solid var(--green-tint); padding-left: 1rem; }

/* Card grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid var(--line); padding: 1.75rem 1.75rem 1.6rem; position: relative;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--green) 0 78%, var(--teal) 78% 100%); }
.card h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.card p { font-size: .97rem; color: var(--muted); margin: 0; }
.theme-bold .card { border: 0; box-shadow: 0 20px 40px -30px rgba(6,45,23,.35); }

/* Partners block */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.partner { display: flex; gap: 1.4rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); padding: 2rem; color: var(--ink-2); }
.partner__mark { flex: 0 0 64px; aspect-ratio: 5/5.6; clip-path: var(--shield); background: linear-gradient(160deg, var(--green-bright), var(--green) 55%, var(--green-deep)); }
.partner__mark--alt { background: linear-gradient(160deg, var(--teal-bright), var(--teal) 60%, #0b3f5c); }
.partner h3 { font-size: 1.5rem; margin-bottom: .15rem; }
.partner__role { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); font-weight: 600; margin-bottom: .75rem; }
.partner p:last-child { margin: 0; font-size: .98rem; }
.theme-bold .partner { border: 0; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.theme-bold .section--practice { color: #c3d6c9; }
.theme-bold .section--practice .eyebrow { color: var(--green-bright); }

/* Jurisdictions */
.section--states { background: #fff; }
.states { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.state-card {
  display: flex; flex-direction: column; gap: .3rem; padding: 1.75rem; background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); position: relative;
  transition: transform .25s, box-shadow .25s;
}
.state-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--green) 0 78%, var(--teal) 78% 100%); }
.state-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(6,45,23,.35); color: var(--ink-2); }
.state-card__abbr { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--green); }
.state-card__name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.state-card__meta { font-size: .85rem; color: var(--muted); flex: 1; }
.state-card__link { font-weight: 600; font-size: .92rem; color: var(--green); margin-top: .75rem; }
.states__note { margin: 1.5rem 0 0; font-size: .92rem; color: var(--muted); }
.theme-bold .section--states { background: linear-gradient(180deg, #fff, #e7f2ea); }
.theme-bold .state-card__abbr { background: linear-gradient(120deg, var(--green), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Quick contact (email-first, no backend) */
.quick-contact { background: #fff; padding: 2.25rem; color: var(--ink-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); position: relative; }
.quick-contact::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--green) 0 78%, var(--teal) 78% 100%); }
.quick-contact__title { font-size: 1.7rem; margin-bottom: .3rem; }
.quick-contact__sub { font-size: .95rem; color: var(--muted); margin-bottom: 1.4rem; }
.quick-contact__or { display: flex; align-items: center; gap: 1rem; margin: 1.4rem 0 1.2rem; color: var(--muted); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.quick-contact__or::before, .quick-contact__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.quick-form .btn--ghost { justify-content: center; }
.copy-btn {
  font: inherit; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; padding: .2rem .55rem; margin-left: .6rem; cursor: pointer; border-radius: 2px; vertical-align: middle;
}
.copy-btn:hover { border-color: var(--teal-bright); color: var(--teal-bright); }

.footer__inner--5 { grid-template-columns: 1.3fr 1fr 1fr .9fr 1.2fr; }

@media (max-width: 1024px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .states { grid-template-columns: 1fr 1fr; }
  .footer__inner--5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .partners { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .states { grid-template-columns: 1fr; }
  .partner { flex-direction: column; }
  .footer__inner--5 { grid-template-columns: 1fr; }
}
