/* fonts.css is loaded separately via wp_enqueue_style */

/* ── Variables & color schemes ── */
:root {
  --ink: #0a0a0a;
  --ink-2: #1f1f1f;
  --mute: #6b6b6b;
  --rule: #dcdcdc;
  --paper: #ffffff;
  --paper-2: #f3faf3;
  --paper-3: #e6f7e6;

  --blue-900: #0d1b35;
  --blue-700: #1c2b4a;
  --blue-500: #2d4a78;
  --blue-400: #4a78b8;
  --blue-100: #dde5ef;

  --green-900: #0d4a0d;
  --green-700: #178817;
  --green-500: #27F527;
  --green-300: #7be67b;
  --green-100: #e6fce6;

  --accent: var(--green-700);
  --accent-dark: var(--green-900);
  --accent-2: var(--green-500);
  --navy: var(--green-900);
  --display: "Secular One", "Heebo", "Arial Hebrew", Arial, sans-serif;
  --sans: "Heebo", "Arial Hebrew", Arial, sans-serif;
  --serif: "Frank Ruhl Libre", Georgia, serif;
  --container: 1180px;
  --gap: clamp(56px, 8vw, 120px);
}

body[data-scheme="classic"] {
  --accent: #b48a3c;
  --accent-dark: #7d5e23;
  --accent-2: #b48a3c;
  --paper-2: #f7f5f1;
  --paper-3: #efe9dd;
}
body[data-scheme="emerald"] {
  --accent: #1ea51e;
  --accent-dark: #147314;
  --accent-2: #27F527;
}
body[data-scheme="azure"] {
  --accent: #2784F5;
  --accent-dark: #175db3;
  --accent-2: #2784F5;
  --paper-2: #f3f6fa;
  --paper-3: #e3ecf6;
}
body[data-scheme="duo"] {
  --accent: #1c2b4a;
  --accent-dark: #0d1b35;
  --accent-2: #1f8a3d;
}
body[data-scheme="duo"] .emph { color: var(--accent-2); }
body[data-scheme="duo"] nav.primary a::after {
  background: linear-gradient(to left, var(--accent) 0%, var(--accent) 50%, var(--accent-2) 50%, var(--accent-2) 100%);
  height: 2px;
}
body[data-scheme="money"] {
  --accent: #1f8a3d;
  --accent-dark: #125a2f;
  --accent-2: #27F527;
  --paper-2: #f4f7f2;
  --paper-3: #e9f1ea;
}

/* ── Base reset ── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body { font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: #0a0a0a; color: #fff; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; letter-spacing: 0; line-height: 1.15; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ── Utility bar ── */
.util { border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--mute); background: #fafbfd; }
.util .row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; padding: 10px 0; align-items: center; }
.util-zone { display: flex; align-items: center; gap: 14px; }
.util-zone.right { justify-content: flex-start; }
.util-zone.center { justify-content: center; color: var(--ink-2); font-size: 13.5px; text-align: center; gap: 12px; flex-wrap: wrap; }
.util-zone.center strong { color: var(--accent-dark); font-family: var(--display); font-weight: 400; }
.util-sep { color: var(--rule); font-size: 14px; }
.util-zone.left { justify-content: flex-end; }
.util-link { display: inline-flex; align-items: center; gap: 6px; color: var(--mute); transition: color .2s; }
.util-link:hover { color: var(--accent-dark); }
.util-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-family: var(--display); font-size: 16px; letter-spacing: .02em; transition: color .2s; }
.util-phone:hover { color: var(--accent-dark); }
.util-phone svg { width: 14px; height: 14px; color: var(--accent-dark); }
.util-lang { font-family: var(--display); font-size: 13px; }

/* ── WhatsApp FAB ── */
.wa-fab {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  z-index: 88;
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  background: #fff; color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 8px 22px -8px rgba(0,0,0,.25);
  transition: transform .25s, background .25s, color .25s;
}
.wa-fab:hover { background: var(--ink); color: #fff; transform: translateY(-2px) scale(1.04); }
.wa-fab svg { width: 28px; height: 28px; }
.wa-btn { display: none; }
body.tweaks-on .wa-fab { opacity: .4; pointer-events: none; }

/* ── Header ── */
header.site {
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--rule);
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  position: sticky; top: 0; z-index: 80;
  transition: padding .25s ease, box-shadow .25s ease, background .25s ease;
}
header.site.scrolled { padding: 10px 0; box-shadow: 0 8px 24px -18px rgba(0,0,0,.18); }
header.site.scrolled .brand .brand-logo { height: 52px; }
header.site.scrolled .gov-mark { transform: scale(.88); transform-origin: left center; }
header.site .row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }

.brand { justify-self: start; text-decoration: none; display: inline-flex; align-items: center; transition: transform .25s ease; }
.brand .brand-logo { height: 68px; width: auto; display: block; object-fit: contain; max-width: 300px; transition: height .25s ease; }

.gov-mark { justify-self: end; display: inline-flex; align-items: center; gap: 0; color: var(--mute); text-decoration: none; transition: transform .25s ease; border-inline-start: 1px solid var(--rule); padding-inline-start: 14px; }
.gov-mark .gov-mark-text { font-family: var(--display); font-size: 11px; line-height: 1.45; text-align: start; color: var(--ink-2); }
.gov-mark .gov-mark-text b { display: block; font-weight: 400; font-size: 13.5px; color: var(--ink); letter-spacing: .01em; }
.gov-mark .gov-mark-text span { display: block; color: var(--mute); }
.gov-mark .gov-mark-text .lic { font-family: var(--sans); font-size: 10.5px; color: var(--mute); font-variant-numeric: tabular-nums; letter-spacing: .04em; margin-top: 1px; }
.gov-mark:hover .gov-mark-text b { color: var(--accent-dark); }

nav.primary { justify-self: center; }
nav.primary ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
nav.primary a { position: relative; padding: 6px 0; color: var(--ink-2); transition: color .2s; }
nav.primary a:hover { color: var(--ink); }
nav.primary a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
nav.primary a:hover::after { transform: scaleX(1); }
nav.primary a.active { color: var(--ink); }
nav.primary a.active::after { transform: scaleX(1); background: var(--accent-dark); }

/* ── Hamburger ── */
.hamburger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--ink); justify-self: start; margin-inline-start: -6px; }
.hamburger svg { width: 24px; height: 24px; display: block; }
.hamburger .bar { stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; transform-box: fill-box; transform-origin: center; transition: transform .3s ease, opacity .2s; }
body.nav-open .hamburger .bar.t { transform: translateY(5px) rotate(45deg); }
body.nav-open .hamburger .bar.m { opacity: 0; }
body.nav-open .hamburger .bar.b { transform: translateY(-5px) rotate(-45deg); }
body.nav-open { overflow: hidden; }

.nav-scrim { position: fixed; inset: 0; background: rgba(10,10,10,.4); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 60; }
body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }

/* ── Hero ── */
.hero { padding: var(--gap) 0 calc(var(--gap) * .8); }
.hero .grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px,6vw,90px); align-items: center; }
.eyebrow { font-size: 11px; letter-spacing: .3em; color: var(--mute); margin-bottom: 22px; display: flex; align-items: center; gap: 12px; text-transform: uppercase; font-weight: 500; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--accent-dark); }
.hero h1 { font-size: clamp(40px,5.6vw,68px); line-height: 1.08; margin: 0 0 28px; letter-spacing: -.005em; }
.hero h1 .emph { color: var(--accent); font-weight: 500; letter-spacing: -.005em; }
.hero p.lede { font-family: var(--sans); font-size: 18px; line-height: 1.7; color: #2b2b2b; max-width: 520px; margin: 0 0 36px; text-wrap: pretty; }
.hero .cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; font-family: var(--display); font-size: 15px; letter-spacing: .01em; border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; transition: .2s; }
.btn:hover { background: #fff; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn svg { width: 14px; height: 14px; }

.hero .portrait-wrap { position: relative; }
.hero .portrait { position: relative; width: 100%; aspect-ratio: 4/5; overflow: hidden; }
.hero .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; display: block; }
.hero .portrait-wrap::before { content: ""; position: absolute; inset: -14px -14px auto auto; width: 60%; height: 60%; border: 1px solid var(--rule); z-index: -1; }
.hero .portrait-cap { position: absolute; bottom: -38px; inset-inline-start: 0; font-size: 12px; color: var(--mute); letter-spacing: .08em; font-family: var(--display); }

/* ── Credentials strip ── */
.creds { border-block: 1px solid var(--rule); padding: 36px 0; background: var(--paper-2); }
.creds .row { display: grid; grid-template-columns: auto repeat(4,1fr); gap: 36px; align-items: center; }
.creds .row .label { font-size: 11px; color: var(--mute); letter-spacing: .22em; line-height: 1.5; max-width: 140px; text-transform: uppercase; font-weight: 500; }
.cred { display: flex; align-items: center; gap: 14px; color: #2a2a2a; }
.cred .ico { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; background: #fff; border: 1px solid var(--rule); border-radius: 50%; color: var(--ink); }
.cred .ico svg { width: 26px; height: 26px; }
.cred .t { font-size: 13px; line-height: 1.3; }
.cred .t b { font-family: var(--display); font-weight: 400; display: block; font-size: 15px; color: var(--ink); }
.cred .t span { font-size: 11px; color: var(--mute); letter-spacing: .06em; }

/* ── Section heading ── */
.sec { padding: var(--gap) 0; }
.sec.alt { background: var(--paper-2); }
#process { background: var(--paper-3); }
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: end; margin-bottom: 60px; }
.sec-head .kicker { font-size: 11px; letter-spacing: .3em; color: var(--mute); writing-mode: vertical-rl; transform: rotate(180deg); align-self: start; padding-top: 6px; text-transform: uppercase; font-weight: 500; }
.sec-head h2 { font-size: clamp(32px,4vw,52px); margin: 0; max-width: 780px; }
.sec-head h2 .emph { color: var(--accent); font-weight: 500; }
.sec-head .sub { font-size: 14px; color: var(--mute); max-width: 380px; line-height: 1.7; margin-top: 14px; }

/* ── Services ── */
.services { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.svc { background: var(--paper); padding: 32px; position: relative; transition: background .25s; }
.svc:hover { background: #f3f6fa; }
.svc:hover .icon { color: var(--accent-dark); }
.svc .num { font-family: var(--sans); font-weight: 300; font-size: 14px; color: var(--accent); margin-bottom: 24px; display: block; letter-spacing: .02em; }
.svc .icon { width: 46px; height: 46px; margin-bottom: 22px; color: var(--ink); }
.svc h3 { font-size: 22px; margin: 0 0 12px; line-height: 1.25; }
.svc p { font-size: 14.5px; line-height: 1.75; color: #3a3a3a; margin: 0; }
.svc .more { font-size: 12px; letter-spacing: .16em; color: var(--ink); margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; opacity: .7; transition: opacity .2s; text-transform: uppercase; font-weight: 500; }
.svc:hover .more { opacity: 1; }

/* ── Process / steps ── */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); counter-reset: step; }
.step { background: var(--paper); padding: 36px 30px 32px; position: relative; display: flex; flex-direction: column; gap: 14px; transition: background .25s; }
.step:hover { background: var(--paper-2); }
.step-num { font-family: var(--display); font-size: 42px; color: var(--accent); line-height: 1; letter-spacing: -.01em; opacity: .18; position: absolute; top: 18px; inset-inline-start: 24px; transition: opacity .25s; }
.step:hover .step-num { opacity: .32; }
.step-body { margin-top: 36px; }
.step-ico { width: 46px; height: 46px; display: grid; place-items: center; color: var(--accent-dark); background: var(--paper-3); border-radius: 50%; margin-bottom: 18px; }
.step-ico svg { width: 24px; height: 24px; }
.step h3 { font-size: 20px; margin: 0 0 8px; line-height: 1.3; }
.step p { font-size: 14.5px; line-height: 1.75; color: #3a3a3a; margin: 0; text-wrap: pretty; }

/* ── Cases ── */
.cases { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); }
.case { background: transparent; padding: 40px 32px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.case .idx { font-family: var(--display); font-size: 32px; color: var(--accent); line-height: 1; min-width: 54px; border-inline-end: 1px solid var(--rule); padding-inline-end: 24px; letter-spacing: -.01em; }
.case h4 { font-size: 22px; margin: 0 0 6px; line-height: 1.3; }
.case .tag { font-size: 11px; letter-spacing: .18em; color: var(--mute); margin-bottom: 14px; display: block; text-transform: uppercase; font-weight: 500; }
.case p { font-size: 14.5px; line-height: 1.85; color: #2c2c2c; margin: 0; }
.case .result { margin-top: 14px; font-family: var(--sans); font-weight: 300; font-size: 14px; color: #2a2a2a; border-top: 1px solid var(--rule); padding-top: 12px; }
.case .result b { color: var(--accent-dark); font-family: var(--display); font-weight: 400; }

/* ── FAQ ── */
.qa-list { max-width: 880px; margin: 0 auto; }
details.qa { border-block: 1px solid var(--rule); padding: 0; margin: -1px 0 0; }
details.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 28px 4px; }
details.qa summary::-webkit-details-marker { display: none; }
.qa-icon { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 16px; flex-shrink: 0; }
.qa-icon.q { background: var(--ink); color: #fff; border-radius: 50%; }
.qa-icon.a { border: 1px solid var(--ink); color: var(--ink); background: transparent; border-radius: 3px; }
details.qa summary .qtext { font-family: var(--display); font-size: 20px; line-height: 1.4; color: var(--ink); }
.chev { width: 14px; height: 14px; color: var(--mute); transition: transform .35s; }
details.qa[open] .chev { transform: rotate(180deg); }
.qa-answer { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 0 4px 32px; align-items: start; }
.qa-answer .atext { font-size: 15.5px; line-height: 1.95; color: #262626; max-width: 680px; text-wrap: pretty; }

/* ── Reviews ── */
.reviews { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.review { padding: 36px 30px; background: var(--paper); border: 1px solid var(--rule); display: flex; flex-direction: column; gap: 18px; }
.stars { display: flex; gap: 3px; color: var(--accent-2); }
.stars svg { width: 14px; height: 14px; fill: currentColor; }
.review blockquote { font-family: var(--display); font-size: 17.5px; line-height: 1.65; margin: 0; color: #1a1a1a; text-wrap: pretty; flex: 1; }
.review blockquote::before { content: "״"; font-family: var(--display); font-size: 34px; color: var(--accent); line-height: 0; vertical-align: -12px; margin-inline-end: 4px; }
.review .who { display: flex; justify-content: space-between; align-items: end; border-top: 1px solid var(--rule); padding-top: 18px; }
.review .who .name { font-family: var(--display); font-size: 15px; color: var(--ink); }
.review .who .src { font-size: 11px; color: var(--mute); letter-spacing: .16em; text-transform: uppercase; }
.review .who .matter { font-size: 12px; color: var(--mute); margin-top: 3px; }

/* ── Reviews carousel (Swiper) ── */
.reviewsSwiper { padding: 8px 4px 56px; overflow: hidden; }
.reviewsSwiper .swiper-wrapper { align-items: stretch; }
.reviewsSwiper .swiper-slide { height: auto; display: flex; }
.reviewsSwiper .swiper-slide .review { flex: 1; }
.reviewsSwiper .swiper-pagination { bottom: 8px; }
.reviewsSwiper .swiper-pagination-bullet { background: var(--ink); opacity: .2; width: 7px; height: 7px; transition: opacity .25s, width .25s; }
.reviewsSwiper .swiper-pagination-bullet-active { background: var(--accent-dark); opacity: 1; width: 24px; border-radius: 4px; }

/* ── Brand block ── */
.brand-block { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; line-height: 1; text-align: center; }
.brand-block .b-title { font-family: var(--display); font-size: 22px; letter-spacing: .005em; color: var(--blue-700); line-height: 1.05; }
.brand-block .b-rule { display: block; width: 60px; height: 2px; background: #b48a3c; position: relative; }
.brand-block .b-rule::before,
.brand-block .b-rule::after { content: ""; position: absolute; top: 50%; width: 5px; height: 5px; border: 1.5px solid currentColor; color: #b48a3c; background: #fff; border-radius: 50%; transform: translateY(-50%); }
.brand-block .b-rule::before { left: -6px; }
.brand-block .b-rule::after { right: -6px; }
.brand-block .b-sub { font-family: var(--display); font-size: 12px; letter-spacing: .04em; color: var(--blue-500); }
.brand-block.tone-green .b-title { color: #27F527; }
.brand-block.tone-green .b-rule { background: #27F527; }
.brand-block.tone-green .b-rule::before,
.brand-block.tone-green .b-rule::after { background: #000; color: #27F527; }
.brand-block.tone-green .b-sub { color: #9be89b; }
.brand-block.lg .b-title { font-size: 34px; }
.brand-block.lg .b-rule { width: 96px; height: 2px; }
.brand-block.lg .b-sub { font-size: 14px; }
.brand-block.sm .b-title { font-size: 17px; }
.brand-block.sm .b-rule { width: 44px; }
.brand-block.sm .b-sub { font-size: 10.5px; letter-spacing: .06em; }

/* ── Contact / CTA band ── */
.cta-band { padding: var(--gap) 0; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta-band .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: start; position: relative; }
.cta-band h2 { font-size: clamp(34px,4.4vw,58px); margin: 0 0 24px; color: #fff; }
.cta-band h2 .emph { color: var(--green-300); font-weight: 500; }
.cta-band p { font-size: 15px; line-height: 1.8; color: #cfcfcf; max-width: 460px; margin: 0 0 32px; }
.cta-band .contact-list { font-size: 14px; line-height: 2; color: #e6e6e6; }
.cta-band .contact-list .lbl { display: inline-block; width: 80px; color: #9c9c9c; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.cta-band .contact-list a:hover { color: #9bbcec; }

.form { background: #fff; color: var(--ink); padding: 36px 32px; }
.form h3 { font-size: 24px; margin: 0 0 22px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 11px; letter-spacing: .18em; color: var(--mute); text-transform: uppercase; font-weight: 500; }
.field input, .field textarea, .field select { font-family: var(--sans); font-size: 16px; border: 0; border-bottom: 1px solid var(--rule); padding: 10px 0; background: transparent; color: var(--ink); width: 100%; outline: none; transition: border-color .2s; }
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--ink); }
.field textarea { height: 80px; min-height: 80px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; margin-top: 8px; }
/* CF7 wraps field content in <p> — neutralise it so .field flex layout works */
.field > p { display: contents; }
/* CF7 wraps each input in a <span> — make it block so it fills the column */
.wpcf7-form-control-wrap { display: block; width: 100%; }
/* Submit: CF7 renders <input type="submit"> — match .btn appearance exactly */
.wpcf7-submit.btn { display: block; font-family: var(--display); font-size: 15px; letter-spacing: .01em; padding: 14px 26px; border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; transition: .2s; width: 100%; margin-top: 8px; text-align: center; }
.wpcf7-submit.btn:hover { background: #fff; color: var(--ink); }
.field .wpcf7-not-valid-tip { color: #c0392b; font-size: 12px; margin-top: 4px; display: block; letter-spacing: 0; text-transform: none; font-weight: 400; }
.wpcf7-response-output { margin: 16px 0 0 !important; padding: 10px 14px !important; font-size: 13px !important; border-radius: 0 !important; border-width: 1px !important; }
.wpcf7-mail-sent-ok.wpcf7-response-output { border-color: #2ecc71 !important; background: #f0fdf4 !important; color: #166534 !important; }
.wpcf7-validation-errors.wpcf7-response-output,
.wpcf7-mail-sent-ng.wpcf7-response-output,
.wpcf7-spam-blocked.wpcf7-response-output { border-color: #e74c3c !important; background: #fef2f2 !important; color: #991b1b !important; }

/* ── Inner pages ── */
.page-content { padding: 60px 0 80px; }
.page-title { font-size: clamp(28px,4vw,44px); margin: 0 0 36px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.page-prose { max-width: 780px; font-size: 16px; line-height: 1.85; color: var(--ink); }
.page-prose h2 { font-size: clamp(20px,2.5vw,28px); margin: 40px 0 14px; }
.page-prose h3 { font-size: 18px; margin: 32px 0 10px; }
.page-prose p { margin: 0 0 18px; }
.page-prose ul, .page-prose ol { padding-inline-start: 24px; margin: 0 0 18px; }
.page-prose li { margin-bottom: 6px; }
.page-prose a { color: var(--accent-dark); text-decoration: underline; }

/* ── Footer ── */
footer.site { padding: 48px 0 24px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--mute); }
footer.site .top { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
footer.site .links { display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--sans); justify-self: end; }
footer.site .links a { color: var(--ink-2); transition: color .2s; }
footer.site .links a:hover { color: var(--accent-dark); }
footer.site .brand-block { justify-self: center; }
footer.site .brand-foot { justify-self: center; display: inline-block; line-height: 0; transition: opacity .2s; }
footer.site .brand-foot:hover { opacity: .75; }
footer.site .brand-foot img { height: 88px; width: auto; display: block; object-fit: contain; max-width: 340px; }
footer.site .socials { display: flex; gap: 12px; justify-self: start; }
footer.site .socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 50%; color: var(--ink-2); transition: .25s; background: #fff; }
footer.site .socials a:hover { background: var(--accent-dark); color: #fff; border-color: var(--accent-dark); transform: translateY(-2px); }
footer.site .socials svg { width: 16px; height: 16px; fill: currentColor; }
.copy { margin-top: 20px; display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .14em; color: #a3a3a3; flex-wrap: wrap; gap: 12px; text-transform: uppercase; }
.copy .legal { display: flex; gap: 18px; flex-wrap: wrap; }
.copy .legal a { transition: color .2s; }
.copy .legal a:hover { color: var(--ink-2); }
.copy .credit { color: #7d7d7d; }
.copy .credit a { color: #5e5e5e; transition: color .2s; border-bottom: 1px solid transparent; }
.copy .credit a:hover { color: var(--accent-dark); border-bottom-color: var(--accent); }

/* ── Utility icon ── */
.ic { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* ── Tweaks panel ── */
.tweaks { position: fixed; bottom: 24px; inset-inline-end: 24px; width: 320px; max-height: calc(100vh - 48px); overflow-y: auto; background: #fff; border: 1px solid #1a1a1a; box-shadow: 0 24px 50px -20px rgba(0,0,0,.35), 0 4px 12px -2px rgba(0,0,0,.18); z-index: 9999; font-family: var(--sans); display: none; animation: tw-in .25s ease; }
.tweaks.open { display: block; }
@keyframes tw-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tweaks-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--rule); cursor: move; user-select: none; }
.tweaks-head h4 { font-family: var(--display); font-size: 14px; margin: 0; letter-spacing: .04em; color: var(--ink); }
.tweaks-head .x { cursor: pointer; background: none; border: 0; padding: 4px; line-height: 0; color: var(--mute); }
.tweaks-head .x:hover { color: var(--ink); }
.tweaks-body { padding: 16px 18px 18px; }
.tweaks-body .grp-title { font-size: 10px; letter-spacing: .22em; color: var(--mute); text-transform: uppercase; margin: 0 0 10px; font-weight: 500; }
.scheme-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.scheme { cursor: pointer; border: 1px solid var(--rule); padding: 10px; text-align: start; background: #fff; transition: .15s; font-family: var(--sans); }
.scheme:hover { border-color: var(--ink-2); }
.scheme.on { border-color: var(--ink); background: #fafaf7; }
.scheme .swatch { display: flex; gap: 4px; margin-bottom: 8px; height: 22px; }
.scheme .swatch span { flex: 1; display: block; border-radius: 2px; }
.scheme .name { font-family: var(--display); font-size: 13px; color: var(--ink); line-height: 1.1; margin-bottom: 2px; }
.scheme .hint { font-size: 10px; color: var(--mute); letter-spacing: .04em; }
.tw-links { display: flex; flex-direction: column; gap: 10px; }
.tw-field { display: flex; flex-direction: column; gap: 4px; }
.tw-field span { font-size: 11px; color: var(--mute); letter-spacing: .08em; }
.tw-field input { font-family: var(--sans); font-size: 13px; border: 1px solid var(--rule); padding: 7px 9px; background: #fff; color: var(--ink); outline: none; border-radius: 3px; transition: border-color .15s; }
.tw-field input:focus { border-color: var(--accent); }

/* ── Responsive ── */
@media (max-width: 960px) {
  .util-zone.right { display: none; }
  .util-zone.center { display: none; }
  .util-zone.left { justify-content: flex-end; width: 100%; }
  .util .row { grid-template-columns: 1fr; gap: 0; padding: 6px 0; }

  body.nav-open .wa-fab { opacity: 0; pointer-events: none; }
  .wa-fab { width: 48px; height: 48px; bottom: 18px; inset-inline-start: 18px; }
  .wa-fab svg { width: 24px; height: 24px; }

  header.site { padding: 12px 0; z-index: 100; }
  header.site.scrolled { padding: 8px 0; }
  body.nav-open header.site { position: fixed; top: 0; inset-inline: 0; background: #fff; }
  header.site .row { grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
  .hamburger { grid-column: 1; justify-self: start; }
  .brand { grid-column: 3; justify-self: end; }
  .gov-mark { display: none; }
  .hamburger { display: inline-flex; position: relative; z-index: 95; }

  nav.primary {
    position: fixed; inset: 0;
    height: 100vh; height: 100dvh;
    width: 100%;
    background: #fff;
    padding: 96px 28px 40px;
    transform: translateY(-100%);
    transition: transform .4s cubic-bezier(.4,0,.2,1);
    z-index: 90;
    overflow-y: auto;
    justify-self: initial;
  }
  header.site.scrolled nav.primary { padding-top: 80px; }
  body.nav-open nav.primary { transform: translateY(0); }
  nav.primary ul { flex-direction: column; align-items: stretch; gap: 0; font-size: 20px; }
  nav.primary li { width: 100%; border-bottom: 1px solid var(--rule); }
  nav.primary li:last-child { border-bottom: 0; }
  nav.primary a { display: block; padding: 22px 0; width: 100%; font-family: var(--display); color: var(--ink); }
  nav.primary a::after { display: none; }
  nav.primary a.active { color: var(--accent-dark); }
  .nav-scrim { display: none; }

  .hero .grid { grid-template-columns: 1fr; gap: 64px; }
  .hero .portrait-wrap { max-width: 440px; margin-inline: auto; }
  .creds .row { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .creds .row .label { grid-column: 1/-1; writing-mode: initial; max-width: none; }
  .services { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .cta-band .grid { grid-template-columns: 1fr; gap: 36px; }
  .sec-head { grid-template-columns: 1fr; gap: 18px; }
  .sec-head .kicker { writing-mode: initial; transform: none; }

  footer.site { padding: 36px 0 20px; }
  footer.site .top { grid-template-columns: 1fr; gap: 24px; justify-items: center; text-align: center; padding-bottom: 22px; }
  footer.site .brand-foot { order: 1; justify-self: center; }
  footer.site .brand-foot img { height: 72px; max-width: 280px; }
  footer.site .links { order: 2; justify-self: center; justify-content: center; gap: 16px 20px; font-size: 14px; }
  footer.site .socials { order: 3; justify-self: center; }
  .copy { flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-top: 18px; font-size: 10.5px; letter-spacing: .1em; }
  .copy .legal { justify-content: center; gap: 14px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .hero .cta { flex-wrap: nowrap; gap: 10px; }
  .hero .cta .btn { flex: 1; justify-content: center; padding: 14px 12px; font-size: 14px; min-width: 0; white-space: nowrap; }
  .hero .cta .btn svg { flex-shrink: 0; width: 12px; height: 12px; }
  .case { grid-template-columns: 1fr; gap: 14px; }
  .case .idx { border: 0; padding: 0; }
  details.qa summary .qtext { font-size: 17px; }
  .brand .brand-logo { height: 48px; max-width: 200px; }
}

@media (max-width: 480px) {
  footer.site .brand-foot img { height: 62px; max-width: 240px; }
  footer.site .links { font-size: 13px; gap: 12px 16px; }
  footer.site .links a { padding: 4px 2px; }
}
