/* ==========================================================================
   Kathryn Meyer Law PC — static rebuild of kathrynmeyerlaw.com (Oak design)
   ========================================================================== */

:root {
  --olive: #393A36;        /* Palette 1 — page base, hero + footer surface */
  --dark: #242424;         /* Dark — nav, content cards */
  --teal: #244A4A;         /* Palette 2 */
  --bronze: #61513A;       /* Palette 3 */
  --text: #FFFFFF;
  --text-soft: #E1E1E0;
  --text-dim: rgba(225, 225, 224, 0.72);
  --divider: rgba(225, 225, 224, 0.2);
  --btn-bg: rgba(255, 255, 255, 0.16);
  --btn-bg-hover: rgba(255, 255, 255, 0.26);
  --footer: #222222;
  --radius-card: 96px;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --container: 1452px;
  --gutter: clamp(20px, 3.4vw, 48px);
  --ease: cubic-bezier(0.44, 0, 0.41, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--olive);
  color: var(--text-soft);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- typography helpers ---------- */

.serif { font-family: var(--serif); }

h1, h2, h3, .h-serif {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--text-soft);
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.display-1 { /* page hero headline */
  font-size: clamp(44px, 7.4vw, 92px);
  font-weight: 300;
  letter-spacing: -0.012em;
  line-height: 1.06;
}

.bigword { /* giant Services / Process / Reviews word */
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(88px, 18.5vw, 216px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--text-soft);
  white-space: nowrap;
}

.serif-link {
  font-family: var(--serif);
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  color: var(--text);
  transition: opacity 0.25s var(--ease);
}
.serif-link:hover { opacity: 0.6; }

.eyebrow {
  font-size: 14px;
  color: var(--text-dim);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: var(--btn-bg);
  padding: 14px 26px;
  cursor: pointer;
  border: none;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: var(--btn-bg-hover); }
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateY(2px); }
.btn.btn-arrow-right:hover svg { transform: translate(3px, 0); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--divider);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); }

.btn-wide {
  width: 100%;
  justify-content: center;
}

/* ---------- header ---------- */

.site-header {
  background: var(--dark);
  position: relative;
  z-index: 20;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand img { width: 52px; height: auto; }

.topbar-info {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--text-soft);
}
.topbar-info .addr { font-family: var(--sans); }
.topbar-info .serif-link { font-size: 15px; }

.topbar-rule {
  border: none;
  border-top: 1px solid var(--divider);
  margin: 0;
}
.site-header .topbar-rule { max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; width: calc(100% - var(--gutter) * 2); }

.navrow { padding-top: 0; padding-bottom: 0; }

.nav-links {
  display: flex;
  align-items: center;
}
.nav-links a {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  padding: 20px 8px;
  transition: color 0.25s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #FFFFFF; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- sections / cards ---------- */

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

.card {
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  position: relative;
  overflow: hidden;
}

/* Non-stacked article/detail pages: the article card tucks under its hero. */
main > .article-body {
  margin-top: calc(var(--radius-card) * -1);
  position: relative;
}

/* ---------- sticky "card" section stacking (home, about, services) ----------
   Each section pins to the top of the viewport and the next section rises up
   over it as you scroll, giving the live site's stacked-card scroll effect.
   Desktop/tablet only; mobile stays in normal flow to avoid clipping. */
@media (min-width: 811px) {
  main.stacked { position: relative; }
  main.stacked > section {
    position: sticky;
    top: 0;
    min-height: 100vh;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    overflow: clip;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  /* grid/photo sections: cap at one viewport so their photos crop rather
     than pushing the panel taller than the screen */
  main.stacked > .about-band,
  main.stacked > .cta-band,
  main.stacked > .about-quote { display: grid; height: 100vh; grid-template-rows: minmax(0, 1fr); }

  /* compress the two text-heavy home panels so their full content
     (including the button/CTA at the bottom) fits within one viewport.
     Keep the process brackets/stagger consistent — only trim surrounding
     padding and the stagger amount so it fits. */
  main.stacked > .process .process-steps { padding-top: clamp(24px, 3vw, 48px); }
  main.stacked > .process .step:nth-child(1) { margin-top: 150px; }
  main.stacked > .process .step:nth-child(2) { margin-top: 75px; }
  main.stacked > .process .bigword-row { padding-top: clamp(24px, 3vw, 48px); padding-bottom: clamp(20px, 3vw, 40px); }
  main.stacked > .blog-section .post-card .thumb { aspect-ratio: auto; height: 40vh; max-height: 440px; }
  main.stacked > .blog-section > .container > h2 { padding-top: clamp(28px, 3vw, 56px); }
  main.stacked > .blog-section .post-grid { padding-top: clamp(28px, 3vw, 48px); }
  main.stacked > .blog-section .blog-cta-row { padding: clamp(28px, 3vw, 44px) 0; }
  main.stacked > section:nth-of-type(1)  { z-index: 1; }
  main.stacked > section:nth-of-type(2)  { z-index: 2; }
  main.stacked > section:nth-of-type(3)  { z-index: 3; }
  main.stacked > section:nth-of-type(4)  { z-index: 4; }
  main.stacked > section:nth-of-type(5)  { z-index: 5; }
  main.stacked > section:nth-of-type(6)  { z-index: 6; }
  main.stacked > section:nth-of-type(7)  { z-index: 7; }
  main.stacked > section:nth-of-type(8)  { z-index: 8; }
  main.stacked > section:nth-of-type(9)  { z-index: 9; }
  main.stacked > section:nth-of-type(10) { z-index: 10; }
  /* ensure every stacked panel is opaque so it fully covers the one below */
  main.stacked > .cta-band { background: var(--bronze); }
  main.stacked > .about-quote { background: var(--dark); }
}

.surface-olive { background: var(--olive); }
.surface-dark { background: var(--dark); }
.surface-teal { background: var(--teal); }
.surface-bronze { background: var(--bronze); }

/* ---------- hero ---------- */

.hero {
  background: var(--olive);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }

.hero-media {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* home hero: full circle, horizontally centered, blended dark into the
   olive background (matches the live site's overlay blend) */
.hero-media.center-blend {
  inset: 0;
  width: auto;
  border-radius: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-media.center-blend img {
  height: min(80%, 560px);
  width: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  mix-blend-mode: overlay;
  filter: brightness(0.6);
  opacity: 0.92;
}

/* about hero: full circle, centered, full colour (no blend) — sits behind
   the copy (container is z-index:2), matching the live about page */
.hero-media.center-plain {
  inset: 0;
  width: auto;
  border-radius: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-media.center-plain img {
  width: clamp(320px, 35vw, 515px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

.hero-inner {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 9vw, 120px);
}

.hero-body {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 2.3vw, 27px);
  line-height: 1.45;
  max-width: 700px;
  color: var(--text-soft);
}

/* ---------- reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

.rise {  /* on-load hero text */
  opacity: 0;
  transform: translateY(30px);
  filter: blur(1px);
  animation: rise 1.1s var(--ease) forwards;
  animation-delay: var(--d, 0.2s);
}
@keyframes rise {
  to { opacity: 1; transform: none; filter: blur(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .rise { opacity: 1; transform: none; filter: none; animation: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- home: services section ---------- */

.home-services {
  background: var(--dark);
}
.home-services .top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  padding-top: clamp(64px, 9vw, 120px);
}
.home-services .intro {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  max-width: 560px;
}
.svc-list { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-self: end; }
.svc-list .arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
}
.svc-list .arrow-link svg { transition: transform 0.3s var(--ease); }
.svc-list .arrow-link:hover svg { transform: translateX(4px); }
.svc-list .serif-link { margin-top: 10px; font-size: 15px; }

.bigword-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-top: clamp(48px, 7vw, 110px);
  padding-bottom: clamp(36px, 5vw, 64px);
}
.bigword-row .btn { flex: none; margin-bottom: clamp(8px, 2vw, 28px); }

/* ---------- home: process ---------- */

.process {
  background: var(--olive);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  padding-top: clamp(48px, 7vw, 96px);
}
.step { padding: 0; }
/* the L-shaped bracket sits above each step's text, matching the live site */
.step::before {
  content: "";
  display: block;
  width: 100%;
  height: clamp(96px, 13vh, 140px);
  border-top: 1px solid var(--divider);
  border-left: 1px solid var(--divider);
  border-top-left-radius: 56px;
  margin-bottom: clamp(26px, 3vw, 40px);
}
.step:nth-child(1) { margin-top: 200px; }
.step:nth-child(2) { margin-top: 100px; }
.step:nth-child(3) { margin-top: 0; }
.step h6 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}
.step p { font-size: 14px; color: var(--text-dim); max-width: 380px; }

/* ---------- home: about band ---------- */

.about-band {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  overflow: hidden;
  background: var(--teal);
  position: relative;
}
.about-band .panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 72px);
  min-height: 640px;
}
.about-band .panel .logo { width: 72px; opacity: 0.95; }
.about-band .quote {
  font-family: var(--serif);
  font-size: clamp(24px, 2.9vw, 34px);
  line-height: 1.35;
  color: var(--text-soft);
  max-width: 620px;
  text-align: left;
  align-self: center;
}
.about-band .photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- home + blog page: blog cards ---------- */

.blog-section {
  background: var(--dark);
}
.blog-section > .container > h2 {
  font-size: clamp(40px, 5.5vw, 64px);
  padding-top: clamp(56px, 8vw, 96px);
}
.post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 12vw, 156px);
  padding-top: clamp(40px, 6vw, 72px);
}
.post-card { display: block; }
.post-card .thumb {
  aspect-ratio: 1 / 1.03;
  overflow: hidden;
  position: relative;
}
.post-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.72);
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
}
.post-card:hover .thumb img { transform: scale(1.04); filter: grayscale(1) brightness(0.85); }
.post-card h3 {
  font-size: clamp(20px, 2.1vw, 25px);
  line-height: 1.25;
  margin-top: 22px;
  font-weight: 400;
}
.post-card .sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.3;
  color: var(--text-dim);
  margin-top: 6px;
}
.post-card .meta {
  display: flex;
  justify-content: space-between;
  max-width: 300px;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 20px;
}
.blog-cta-row { display: flex; justify-content: center; padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }

/* home: raised right card */
.post-grid.stagger .post-card:nth-child(2) { margin-top: -0px; }

/* ---------- home: contact CTA band ---------- */

.cta-band {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  overflow: hidden;
}
.cta-band .photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.cta-band .panel {
  background: var(--bronze);
  padding: clamp(48px, 7vw, 96px) clamp(28px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}
.cta-band .panel p {
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.35;
  color: var(--text-soft);
  max-width: 640px;
}
.cta-band .btn-outline { align-self: flex-start; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--footer);
}
.footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 48px;
  padding-top: clamp(64px, 9vw, 110px);
}
.footer-cta h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.12;
  max-width: 560px;
}
.footer-cta h2 em { font-style: italic; font-weight: 300; }
.footer-info { display: flex; flex-direction: column; gap: 18px; font-size: 14px; padding-top: 10px; }
.footer-info .serif-link { align-self: flex-start; font-size: 15px; }
.footer-info .btn-outline { margin-top: 18px; }

.footer-nav {
  display: flex;
  margin-top: clamp(72px, 12vw, 150px);
}
.footer-nav a {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  padding: 18px 8px;
  transition: color 0.25s var(--ease);
}
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 36px;
}
.footer-bottom img { width: 64px; }
.footer-bottom .copyright { font-size: 13px; color: var(--text-dim); }

/* ---------- inner heroes (about, careers, legal, detail pages) ---------- */

.hero-split { /* headline left, round media right */
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-circle {
  width: clamp(200px, 27vw, 390px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  justify-self: end;
}
.hero-circle img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- services page ---------- */

.svc-section {
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  position: relative;
}
.svc-section .container { padding-top: clamp(56px, 8vw, 100px); padding-bottom: clamp(56px, 8vw, 110px); }
.svc-section h2 {
  font-style: italic;
  font-weight: 300;
  font-size: clamp(36px, 5.3vw, 62px);
  padding-bottom: 28px;
}
.svc-section .rule { border: none; border-top: 1px solid var(--divider); }
.svc-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 8vw, 120px);
  padding-top: 40px;
}
.svc-stat { padding-top: clamp(24px, 8vw, 120px); }
.svc-stat .stat-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(21px, 2.3vw, 27px);
  line-height: 1.35;
  color: var(--text-soft);
  max-width: 420px;
}
.svc-stat .stat-note { font-size: 12px; color: var(--text-dim); margin-top: 16px; max-width: 380px; }
.svc-stat .btn { margin-top: 28px; }
.svc-info h4 {
  font-family: var(--sans);
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
  max-width: 460px;
}
.svc-info p { font-size: 14px; color: var(--text-dim); margin-top: 18px; max-width: 460px; }
.svc-info .serif-link { display: inline-block; margin-top: 22px; font-size: 15px; }

/* reviews */
.reviews .container { padding-top: clamp(64px, 9vw, 110px); padding-bottom: 0; }
.review-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.42;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-soft);
}
.review-attrib { text-align: center; font-size: 13px; font-weight: 600; color: var(--text); margin-top: 28px; }
.review-disclaimer { text-align: center; font-size: 12px; color: var(--text-dim); margin-top: 10px; }
.review-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.review-dots button {
  width: 6px; height: 6px; border-radius: 50%;
  border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.3s var(--ease);
}
.review-dots button.active { background: #fff; }
.reviews .bigword-row { padding-top: clamp(40px, 6vw, 80px); }

/* ---------- article pages (blog posts, service details, legal) ---------- */

.article-hero .hero-inner { padding-bottom: clamp(140px, 16vw, 232px); }
.article-hero .meta-row { display: flex; gap: 48px; font-size: 13px; color: var(--text-dim); margin-bottom: clamp(32px, 5vw, 56px); }
.article-hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.12; max-width: 640px; }
.article-hero .sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 30px);
  color: var(--text-dim);
  margin-top: 10px;
  max-width: 560px;
}
.article-hero .btn { margin-top: clamp(32px, 5vw, 56px); }

.article-body {
  background: var(--dark);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.article-body .container {
  max-width: 1140px;
  padding-top: clamp(56px, 8vw, 100px);
  padding-bottom: clamp(56px, 8vw, 100px);
}
.article h1, .article h2 {
  font-size: clamp(30px, 3.9vw, 47px);
  font-weight: 300;
  line-height: 1.15;
  margin: 48px 0 22px;
}
.article > h1:first-child, .article > h2:first-child { margin-top: 0; }
.article h3 {
  font-size: clamp(24px, 3vw, 35px);
  font-weight: 300;
  margin: 44px 0 18px;
}
.article p { font-size: 14px; line-height: 1.65; color: var(--text-dim); margin-bottom: 16px; max-width: 1080px; }
.article strong { color: var(--text-soft); font-weight: 600; }
.article em { font-style: italic; }
.article ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.article ul li { font-size: 14px; line-height: 1.65; color: var(--text-dim); margin-bottom: 8px; }
.article table {
  border-collapse: collapse;
  width: 100%;
  max-width: 760px;
  margin: 24px 0;
  font-size: 14px;
}
.article th, .article td {
  border: 1px solid var(--divider);
  padding: 10px 14px;
  text-align: left;
  color: var(--text-dim);
}
.article th { color: var(--text-soft); font-weight: 600; }
.article-back { display: flex; justify-content: center; padding-top: clamp(40px, 6vw, 64px); }

/* service detail hero */
.detail-hero .hero-inner { padding-top: clamp(64px, 9vw, 96px); padding-bottom: clamp(88px, 12vw, 140px); }
.detail-hero .eyebrow { margin-bottom: 18px; }
.detail-hero h1 { font-size: clamp(32px, 3.9vw, 46px); }
.detail-hero .tagline {
  font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.42;
  color: var(--text-soft);
  margin-top: 22px;
  max-width: 1080px;
}

/* ---------- tax health checkup / offer pages ---------- */

.checkup-body { background: var(--dark); }
.checkup-body .container {
  max-width: 1000px;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 100px);
}
.checkup-lead {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.42;
  color: var(--text-soft);
  max-width: 760px;
}

.included {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  margin-top: clamp(44px, 6vw, 72px);
}
.included .col h4 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--divider);
}
.included ul { list-style: none; padding: 0; margin: 0; }
.included li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.included li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bronze);
}
.included.single { grid-template-columns: 1fr; }
.included.single li { max-width: 760px; }

/* quarter-by-quarter breakdown (quarterly page) */
.quarters { margin-top: clamp(40px, 6vw, 64px); }
.quarters .lead-note {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 32px;
}
.quarter {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--divider);
}
.quarters .quarter:last-of-type { border-bottom: 1px solid var(--divider); }
.quarter .q-label {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--text-soft);
}
.quarter p { font-size: 15px; line-height: 1.55; color: var(--text-dim); }

/* pricing card */
.pricing {
  margin-top: clamp(48px, 7vw, 80px);
  border: 1px solid var(--divider);
  border-radius: 24px;
  background: var(--teal);
  padding: clamp(32px, 5vw, 52px);
  max-width: 560px;
}
.price-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 100px;
  padding: 7px 16px;
}
.pricing h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--text-soft);
  margin-top: 22px;
}
.price-figures {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}
.price-amount {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 72px);
  line-height: 1;
  color: var(--text);
}
.price-cadence { font-size: 15px; color: var(--text-dim); }
.price-regular {
  font-size: 15px;
  color: var(--text-dim);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.price-note {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 18px;
}
.pricing .btn { margin-top: 26px; }

.other-offer {
  font-size: 15px;
  color: var(--text-dim);
  margin-top: clamp(40px, 6vw, 64px);
}
.other-offer .serif-link { font-size: 15px; }

/* blog post hero with round thumb */
.post-hero .hero-split { align-items: start; }

/* ---------- contact page ---------- */

.contact-hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  overflow: hidden;
}
.contact-hero .panel {
  background: var(--teal);
  padding: clamp(44px, 6vw, 80px) clamp(28px, 4.5vw, 64px);
  display: flex;
  flex-direction: column;
  min-height: 580px;
}
.contact-hero h1 { font-size: clamp(34px, 3.9vw, 46px); max-width: 380px; }
.contact-hero .info { display: flex; flex-direction: column; gap: 12px; font-size: 14px; margin-top: 28px; }
.contact-hero .info .serif-link { align-self: flex-start; }
.contact-hero .panel .btn { margin-top: auto; align-self: flex-start; }
.contact-hero .photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }

.contact-main {
  background: var(--dark);
}
.contact-main .container { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(64px, 9vw, 110px); }
.contact-intro {
  font-family: var(--serif);
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.4;
  max-width: 720px;
}

.contact-form { max-width: 720px; margin: clamp(48px, 7vw, 80px) auto 0; }
.contact-form .field { margin-bottom: 34px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--divider);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px 2px;
  outline: none;
  transition: border-color 0.3s var(--ease);
}
.contact-form textarea {
  width: 100%;
  min-height: 140px;
  background: transparent;
  border: 1px solid var(--divider);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  padding: 14px;
  outline: none;
  resize: vertical;
  transition: border-color 0.3s var(--ease);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(255, 255, 255, 0.6); }
.contact-form ::placeholder { color: var(--text-dim); }
.form-status { font-size: 13px; color: var(--text-dim); margin-top: 14px; min-height: 18px; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-form button[type="submit"][disabled] { opacity: 0.6; cursor: default; }

/* FAQ accordion */
.faq { max-width: 900px; margin: clamp(56px, 8vw, 88px) auto 0; }
.faq h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 28px; }
.faq-item { border-top: 1px solid var(--divider); }
.faq-item:last-child { border-bottom: 1px solid var(--divider); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 22px 2px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
}
.faq-q .icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq-q .icon::before, .faq-q .icon::after {
  content: "";
  position: absolute;
  background: var(--text-soft);
  transition: transform 0.35s var(--ease);
}
.faq-q .icon::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq-q .icon::after { left: 6px; top: 0; width: 2px; height: 14px; }
.faq-item.open .faq-q .icon::after { transform: scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-a p { font-size: 14px; color: var(--text-dim); padding: 0 2px 24px; max-width: 780px; }

/* ---------- careers ---------- */

.novacancies {
  background: var(--dark);
  text-align: center;
}
.novacancies .container { padding-top: clamp(120px, 18vw, 220px); padding-bottom: clamp(120px, 18vw, 220px); }
.novacancies h6 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 2.1vw, 24px);
  color: var(--text-soft);
}

/* ---------- about page ---------- */

.about-quote {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.about-quote .photo img { width: 100%; height: 100%; object-fit: cover; }
.about-quote .panel {
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  text-align: center;
  padding: clamp(48px, 7vw, 88px) clamp(28px, 5vw, 72px);
  min-height: 620px;
}
.about-quote .panel .logo { width: 64px; }
.about-quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
  color: var(--text-soft);
  max-width: 420px;
}
.about-quote .attrib h5 { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--text); }
.about-quote .attrib p { font-size: 12px; color: var(--text-dim); margin-top: 4px; }

.attorney {
  background: var(--bronze);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.attorney .container { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(64px, 9vw, 110px); }
.attorney h2 { font-style: italic; font-size: clamp(38px, 5vw, 58px); }
.attorney .license { font-size: 14px; color: var(--text-soft); margin-top: 18px; }
.bio-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 44px;
  margin-top: clamp(40px, 6vw, 64px);
  align-items: start;
}
.bio-card .photo img { filter: grayscale(1); aspect-ratio: 0.82; object-fit: cover; width: 100%; }
.bio-card h4 { font-size: clamp(24px, 2.6vw, 31px); font-weight: 400; }
.bio-card .role { font-size: 13px; font-weight: 600; color: var(--text); margin-top: 20px; }
.bio-card .email { font-size: 13px; font-weight: 600; color: var(--text); margin-top: 4px; }
.bio-card .bio { font-size: 13px; line-height: 1.7; color: var(--text-soft); margin-top: 20px; max-width: 640px; border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); padding: 14px 0; }
.attorney .btn { margin-top: clamp(36px, 5vw, 56px); }

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  :root { --radius-card: 64px; }
  .home-services .top { grid-template-columns: 1fr; }
  .svc-list { justify-self: start; }
  .process-steps { gap: 28px; }
  .step:nth-child(1), .step:nth-child(2) { margin-top: 0; padding-top: 110px; }
  .footer-cta { grid-template-columns: 1fr; }
  .bio-card { grid-template-columns: 200px 1fr; }
}

@media (max-width: 810px) {
  :root { --radius-card: 40px; }
  .topbar-info { display: none; }
  .nav-toggle { display: block; }
  .navrow { display: none; }
  .nav-open .navrow {
    display: block;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--dark);
    border-top: 1px solid var(--divider);
    box-shadow: 0 30px 40px rgba(0, 0, 0, 0.35);
  }
  .nav-open .nav-links { flex-direction: column; align-items: stretch; padding: 12px 0 20px; }
  .nav-open .nav-links a { text-align: left; padding: 14px var(--gutter); }
  .site-header .topbar-rule { display: none; }

  .hero-split { grid-template-columns: 1fr; }
  .hero-circle { justify-self: start; }
  .hero > .hero-media { display: none; } /* decorative circles on home/blog/services heroes */
  .process-steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(1) { padding-top: 64px; margin-top: 0; border-top-left-radius: 40px; }
  .about-band { grid-template-columns: 1fr; }
  .about-band .panel { min-height: 0; gap: 40px; }
  .about-band .photo { min-height: 420px; }
  .post-grid { grid-template-columns: 1fr; gap: 48px; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .photo { min-height: 320px; }
  .svc-cols { grid-template-columns: 1fr; }
  .svc-stat { padding-top: 8px; }
  .included { grid-template-columns: 1fr; }
  .quarter { grid-template-columns: 1fr; gap: 6px; }
  .contact-hero { grid-template-columns: 1fr; }
  .contact-hero .panel { min-height: 0; gap: 32px; }
  .contact-hero .panel .btn { margin-top: 8px; }
  .contact-hero .photo { min-height: 300px; }
  .contact-form .row { grid-template-columns: 1fr; gap: 0; }
  .about-quote { grid-template-columns: 1fr; }
  .about-quote .photo { min-height: 380px; }
  .about-quote .panel { min-height: 0; }
  .bio-card { grid-template-columns: 1fr; }
  .bio-card .photo { max-width: 300px; }
  .footer-nav { flex-wrap: wrap; }
  .footer-nav a { flex: 1 1 40%; }
  .bigword { white-space: normal; }
}
