/*
Theme Name: Grifon Unified
Theme URI: https://kagrifon.ru/
Author: BITFORSPRO
Description: Единая премиальная тема КАМ «Грифон» для сайта и цифровой экосистемы.
Version: 1.2.3
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: grifon-unified
*/

:root {
  --gr-ink: #102f3a;
  --gr-ink-2: #173f49;
  --gr-gold: #b88b2d;
  --gr-gold-soft: #d5b970;
  --gr-paper: #f5f3ec;
  --gr-paper-2: #ebe8de;
  --gr-white: #fffdf8;
  --gr-text: #21373e;
  --gr-muted: #607176;
  --gr-line: rgba(16, 47, 58, .18);
  --gr-success: #28745c;
  --gr-danger: #a33b35;
  --gr-radius-sm: 10px;
  --gr-radius: 18px;
  --gr-radius-lg: 30px;
  --gr-shadow: 0 18px 60px rgba(16, 47, 58, .12);
  --gr-wrap: 1180px;
  --gr-serif: Georgia, 'Times New Roman', serif;
  --gr-sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --bg: var(--gr-paper);
  --bg2: var(--gr-paper);
  --surface: var(--gr-white);
  --text: var(--gr-ink);
  --text2: var(--gr-muted);
  --muted: var(--gr-muted);
  --gold: var(--gr-gold);
  --accent: var(--gr-gold);
  --line: var(--gr-line);
}

.gr-maintenance {
  position: sticky;
  z-index: 10000;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  width: 100%;
  min-height: 48px;
  padding: 10px max(20px, env(safe-area-inset-right)) 10px max(20px, env(safe-area-inset-left));
  color: #fffdf8;
  background: #8b2f2a;
  box-shadow: 0 8px 24px rgba(16, 47, 58, .18);
  font: 500 14px/1.35 var(--gr-sans);
  text-align: center;
}
.gr-maintenance[hidden] { display: none !important; }
.gr-maintenance strong { font-weight: 800; }
.gr-maintenance span { opacity: .94; }

@media (max-width: 640px) {
  .gr-maintenance { flex-direction: column; gap: 2px; min-height: 58px; font-size: 13px; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--gr-text);
  background:
    radial-gradient(circle at 78% 9%, rgba(184,139,45,.09), transparent 25rem),
    linear-gradient(180deg, var(--gr-paper) 0%, #f9f8f4 70%, var(--gr-paper-2) 100%);
  font: 400 17px/1.65 var(--gr-sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gr-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gr-gold); }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--gr-gold); outline-offset: 3px; }
.gr-wrap { width: min(calc(100% - 40px), var(--gr-wrap)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.gr-skip { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 18px; background: var(--gr-white); }
.gr-skip:focus { top: 16px; }

.gr-utility { background: var(--gr-ink); color: rgba(255,255,255,.82); font-size: 14px; }
.gr-utility .gr-wrap { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gr-utility a { color: #fff; text-decoration: none; }
.gr-utility__contacts { display: flex; gap: 22px; }

.gr-header { position: sticky; top: 0; z-index: 80; background: rgba(245,243,236,.96); border-bottom: 1px solid var(--gr-line); backdrop-filter: blur(16px); }
.gr-header__row { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.gr-brand { display: inline-flex; align-items: center; gap: 13px; color: var(--gr-ink); text-decoration: none; }
.gr-brand img { width: 47px; height: 52px; object-fit: contain; }
.gr-brand__name { display: block; font: 500 26px/1 var(--gr-serif); letter-spacing: .08em; }
.gr-brand__sub { display: block; margin-top: 6px; color: var(--gr-muted); font-size: 11px; line-height: 1; letter-spacing: .2em; text-transform: uppercase; }
.gr-nav { display: flex; align-items: center; gap: 24px; }
.gr-nav a { color: var(--gr-ink); font-size: 15px; font-weight: 650; text-decoration: none; }
.gr-nav a:last-child { padding: 10px 16px; border: 1px solid var(--gr-ink); border-radius: 999px; }
.gr-menu-button { display: none; width: 48px; height: 48px; padding: 0; border: 1px solid var(--gr-line); border-radius: 50%; color: var(--gr-ink); background: transparent; }
.gr-menu-button span, .gr-menu-button::before, .gr-menu-button::after { content: ''; display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; }

.gr-main { min-height: 60vh; }
.gr-hero { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 150px) 0 clamp(64px, 8vw, 120px); border-bottom: 1px solid var(--gr-line); }
.gr-hero::after { content: ''; position: absolute; width: min(44vw, 580px); aspect-ratio: 1; right: 5vw; top: 50%; translate: 0 -50%; background: url('assets/griffon.png') center/contain no-repeat; opacity: .085; pointer-events: none; }
.gr-hero__content { position: relative; z-index: 1; max-width: 900px; }
.gr-eyebrow { margin: 0 0 18px; color: var(--gr-gold); font-size: 13px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
h1, h2, h3 { color: var(--gr-ink); font-family: var(--gr-serif); font-weight: 500; line-height: 1.08; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(48px, 8vw, 104px); letter-spacing: -.04em; }
h2 { margin: 0 0 24px; font-size: clamp(36px, 5vw, 66px); letter-spacing: -.03em; }
h3 { font-size: clamp(24px, 3vw, 34px); }
.gr-lead { max-width: 820px; margin: 30px 0 0; color: var(--gr-muted); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.5; }
.gr-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.gr-button, .btn, button[type='submit'], input[type='submit'] { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 23px; border: 1px solid var(--gr-ink); border-radius: var(--gr-radius-sm); color: #fff; background: var(--gr-ink); font-weight: 700; text-decoration: none; cursor: pointer; }
.gr-button:hover, .btn:hover { color: var(--gr-ink); background: transparent; }
.gr-button--ghost, .btn-secondary { color: var(--gr-ink); background: transparent; }
.gr-button--ghost:hover, .btn-secondary:hover { color: #fff; background: var(--gr-ink); }

.gr-content { padding: clamp(52px, 7vw, 100px) 0; }
.gr-article { max-width: 940px; margin-inline: auto; }
.gr-article > :first-child { margin-top: 0; }
.gr-article p, .gr-article li { color: var(--gr-text); }
.gr-article section, .section { padding: clamp(44px, 6vw, 86px) 0; }
.gr-article .wrap, .section .wrap { width: 100%; max-width: none; }
.gr-article .grid-2, .gr-article .info-grid, .gr-article .card-grid, .gr-article .practice-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.gr-article article, .gr-article .card, .gr-article .info-item, .gr-article .practice-card, .gr-article .contact-option, .gr-article details { padding: 26px; border: 1px solid var(--gr-line); border-radius: var(--gr-radius); background: rgba(255,253,248,.72); box-shadow: 0 8px 30px rgba(16,47,58,.05); }
.gr-article article h3, .gr-article .card h3 { margin-top: 0; font-size: 27px; }
.gr-article input, .gr-article textarea, .gr-article select { width: 100%; min-height: 52px; padding: 12px 15px; border: 1px solid rgba(16,47,58,.35); border-radius: var(--gr-radius-sm); color: var(--gr-ink); background: var(--gr-white); }
.gr-article textarea { min-height: 150px; resize: vertical; }
.gr-article table { width: 100%; border-collapse: collapse; background: var(--gr-white); }
.gr-article th, .gr-article td { padding: 14px; border: 1px solid var(--gr-line); text-align: left; }
.gr-article details { margin: 14px 0; }
.gr-article summary { color: var(--gr-ink); font-weight: 700; cursor: pointer; }
.gr-article .catalog-tools { display: grid; gap: 18px; margin-bottom: 30px; }
.gr-article .search-label { display: grid; gap: 8px; color: var(--gr-ink); font-weight: 700; }
.gr-article .filter-row { display: flex; flex-wrap: wrap; gap: 10px; }
.gr-article .filter-btn { min-height: 44px; padding: 9px 15px; border: 1px solid var(--gr-line); border-radius: 999px; color: var(--gr-ink); background: var(--gr-white); cursor: pointer; }
.gr-article .filter-btn[aria-pressed='true'] { border-color: var(--gr-ink); color: #fff; background: var(--gr-ink); }
.gr-article [data-service-card], .gr-article [data-advocate-name] { transition: transform .18s ease, box-shadow .18s ease; }
.gr-article [data-service-card]:hover, .gr-article [data-advocate-name]:hover { transform: translateY(-2px); box-shadow: var(--gr-shadow); }
.gr-article [hidden] { display: none !important; }
.gr-article .container { width: 100%; max-width: none; margin-inline: auto; }
.gr-article .section-title { margin-bottom: 24px; }
.gr-article .section-tag, .gr-article .card-category { margin-bottom: 10px; color: var(--gr-gold); font-size: 12px; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; }
.gr-article .team-grid, .gr-article .advocates-list, .gr-article .service-grid, .gr-article .directory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }

.gr-footer { padding: 64px 0 26px; color: rgba(255,255,255,.78); background: var(--gr-ink); }
.gr-footer a { color: #fff; }
.gr-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 42px; }
.gr-footer .gr-brand { color: #fff; }
.gr-footer .gr-brand__sub { color: rgba(255,255,255,.58); }
.gr-footer h2 { color: #fff; font: 700 14px/1.2 var(--gr-sans); letter-spacing: .16em; text-transform: uppercase; }
.gr-footer ul { margin: 0; padding: 0; list-style: none; }
.gr-footer li { margin: 10px 0; }
.gr-footer__bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); font-size: 13px; }
.gr-mobile-actions { display: none; }

/* Editorial system 1.1: one composition for the public site and application. */
em { color: var(--gr-gold); font-weight: inherit; }
.gr-hero--home { min-height: min(760px, 82vh); display: flex; align-items: center; }
.gr-hero--home .gr-hero__content { max-width: 1050px; }
.gr-hero--home h1 { font-size: clamp(58px, 8.5vw, 118px); }
.gr-hero--inner { padding-block: clamp(78px, 9vw, 130px); }
.gr-home-section { padding: clamp(74px, 9vw, 138px) 0; border-bottom: 1px solid var(--gr-line); }
.gr-home-section--soft { background: rgba(235,232,222,.62); }
.gr-intro-grid, .gr-office-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr); gap: clamp(48px,8vw,130px); align-items: start; }
.gr-prose { padding-top: 44px; font-size: 20px; }
.gr-prose p { margin-top: 0; }
.gr-text-link { display: inline-block; margin-top: 18px; color: var(--gr-ink); font-weight: 750; text-decoration: none; border-bottom: 1px solid var(--gr-gold); }
.gr-section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.gr-practice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--gr-line); border-left: 1px solid var(--gr-line); }
.gr-practice-grid > a { min-height: 285px; padding: 34px; color: var(--gr-ink); text-decoration: none; border-right: 1px solid var(--gr-line); border-bottom: 1px solid var(--gr-line); transition: background .2s ease, transform .2s ease; }
.gr-practice-grid > a:hover { color: #fff; background: var(--gr-ink); transform: translateY(-3px); }
.gr-practice-grid span { color: var(--gr-gold); font-size: 13px; letter-spacing: .18em; }
.gr-practice-grid h3 { margin: 55px 0 14px; font-size: 31px; }
.gr-practice-grid a:hover h3, .gr-practice-grid a:hover p { color: #fff; }
.gr-practice-grid p { margin: 0; color: var(--gr-muted); }
.gr-process { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px,9vw,145px); }
.gr-process ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--gr-line); }
.gr-process li { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--gr-line); }
.gr-process li > span { color: var(--gr-gold); font-weight: 800; }
.gr-process h3 { margin: 0 0 8px; font-size: 29px; }
.gr-process p { margin: 0; color: var(--gr-muted); }
.gr-digital-section { color: #fff; background: var(--gr-ink); }
.gr-digital-section h2, .gr-digital-section p { color: #fff; }
.gr-digital-section .gr-button { color: var(--gr-ink); background: var(--gr-gold-soft); border-color: var(--gr-gold-soft); }
.gr-digital-section .gr-button--ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,.5); }
.gr-digital-grid { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(50px,9vw,140px); align-items: center; }
.gr-digital-card { min-height: 390px; padding: 46px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(213,185,112,.7); background: radial-gradient(circle at 80% 18%,rgba(213,185,112,.25),transparent 44%),rgba(255,255,255,.03); }
.gr-digital-card span, .gr-digital-card small { color: var(--gr-gold-soft); letter-spacing: .17em; text-transform: uppercase; }
.gr-digital-card strong { font: 500 clamp(33px,4vw,54px)/1.08 var(--gr-serif); }
.gr-contact-panel { display: grid; grid-template-columns: 1fr auto; gap: 12px 30px; padding: 35px; border-left: 3px solid var(--gr-gold); background: var(--gr-white); box-shadow: var(--gr-shadow); }
.gr-contact-panel a { font: 500 clamp(24px,3vw,35px)/1.2 var(--gr-serif); text-decoration: none; }
.gr-contact-panel span { color: var(--gr-muted); align-self: center; }
.gr-final-cta { padding: clamp(85px,11vw,160px) 0; text-align: center; background: var(--gr-paper); }
.gr-final-cta .gr-actions { justify-content: center; }
.gr-final-cta p:not(.gr-eyebrow) { font-size: 20px; }
.gr-leaders { display: grid; grid-template-columns: .65fr 1fr 1fr; gap: 38px; align-items: stretch; }
.gr-leaders article { padding: 38px; border: 1px solid var(--gr-line); background: var(--gr-white); }
.gr-leaders article h2 { font-size: clamp(34px,4vw,50px); }
.gr-leader-mark { display: grid; place-items: center; min-height: 340px; background: var(--gr-ink); }
.gr-leader-mark img { width: 70%; filter: sepia(1) saturate(.45) brightness(1.3); opacity: .78; }
.gr-team-search { display: grid; gap: 8px; min-width: min(100%,320px); color: var(--gr-muted); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.gr-team-search input { min-height: 52px; padding: 12px 16px; border: 1px solid var(--gr-line); background: var(--gr-white); }
.gr-team-directory { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; background: var(--gr-line); border: 1px solid var(--gr-line); }
.gr-person { min-height: 96px; padding: 22px; display: flex; align-items: center; gap: 16px; background: var(--gr-white); }
.gr-person > span { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 50%; color: var(--gr-gold-soft); background: var(--gr-ink); font-size: 12px; }
.gr-person strong { color: var(--gr-ink); font-size: 15px; }
.gr-contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px,8vw,120px); align-items: start; }
.gr-contact-list article { padding: 28px 0; border-bottom: 1px solid var(--gr-line); }
.gr-contact-list article:first-child { border-top: 1px solid var(--gr-line); }
.gr-contact-list span { display: block; margin-bottom: 8px; color: var(--gr-gold); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.gr-contact-list a { display: inline-block; font: 500 clamp(27px,3vw,40px)/1.15 var(--gr-serif); text-decoration: none; }
.gr-contact-list p { margin: 10px 0 0; color: var(--gr-muted); }
.gr-address-card { padding: clamp(34px,5vw,62px); background: var(--gr-ink); }
.gr-address-card h2, .gr-address-card p { color: #fff; }
.gr-address-card .gr-button { color: var(--gr-ink); background: var(--gr-gold-soft); border-color: var(--gr-gold-soft); }
.gr-address-card .gr-button--ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,.5); }
.gr-article .contact-section { display: none; }

@media (max-width: 900px) {
  body { font-size: 16px; }
  .gr-utility__location { display: none; }
  .gr-utility .gr-wrap { justify-content: center; }
  .gr-utility__contacts a:first-child { display: none; }
  .gr-header__row { min-height: 74px; }
  .gr-brand__name { font-size: 22px; }
  .gr-brand__sub { font-size: 9px; }
  .gr-nav { display: none; position: absolute; inset: 74px 0 auto; padding: 20px; flex-direction: column; align-items: stretch; background: var(--gr-paper); border-bottom: 1px solid var(--gr-line); box-shadow: var(--gr-shadow); }
  .gr-nav.is-open { display: flex; }
  .gr-nav a { padding: 12px; }
  .gr-menu-button { display: block; }
  .gr-hero { padding-top: 68px; }
  .gr-hero::after { width: 90vw; right: -30vw; opacity: .06; }
  h1 { font-size: clamp(44px, 14vw, 72px); }
  .gr-article .grid-2, .gr-article .info-grid, .gr-article .card-grid, .gr-article .practice-grid { grid-template-columns: 1fr; }
  .gr-article article, .gr-article .card, .gr-article .info-item, .gr-article .practice-card, .gr-article .contact-option, .gr-article details { padding: 20px; }
  .gr-article .team-grid, .gr-article .advocates-list, .gr-article .service-grid, .gr-article .directory-grid { grid-template-columns: 1fr; }
  .gr-footer__grid { grid-template-columns: 1fr; }
  .gr-mobile-actions { position: sticky; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; background: rgba(245,243,236,.97); border-top: 1px solid var(--gr-line); }
  .gr-mobile-actions a { min-height: 48px; }
  .gr-hero--home { min-height: 660px; }
  .gr-hero--home h1 { font-size: clamp(50px,15vw,72px); }
  .gr-intro-grid, .gr-office-grid, .gr-process, .gr-digital-grid, .gr-contact-layout { grid-template-columns: 1fr; }
  .gr-prose { padding-top: 0; }
  .gr-section-head { align-items: start; flex-direction: column; }
  .gr-practice-grid { grid-template-columns: 1fr; }
  .gr-practice-grid > a { min-height: 220px; }
  .gr-practice-grid h3 { margin-top: 34px; }
  .gr-leaders { grid-template-columns: 1fr; }
  .gr-leader-mark { min-height: 260px; }
  .gr-team-directory { grid-template-columns: 1fr; }
  .gr-contact-panel { grid-template-columns: 1fr; }
}

/*
 * Mobile-first editorial composition 1.2.
 * The markup stays shared across phone, tablet and desktop; only the
 * composition changes.  Phones and tablets use a strict central axis,
 * matching the centred griffon watermark used throughout the ecosystem.
 */
@media (max-width: 1024px) {
  .gr-wrap { width: min(calc(100% - 48px), 760px); }

  .gr-utility .gr-wrap {
    min-height: 40px;
    justify-content: center;
    text-align: center;
  }
  .gr-utility__location,
  .gr-utility__contacts a:first-child { display: none; }
  .gr-utility__contacts { justify-content: center; }

  .gr-header__row {
    min-height: 82px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    gap: 12px;
  }
  .gr-brand {
    grid-column: 2;
    justify-self: center;
    justify-content: center;
    min-width: 0;
    text-align: left;
  }
  .gr-brand img {
    width: 43px;
    height: 48px;
    filter: sepia(1) saturate(.55) brightness(.56);
    opacity: .72;
  }
  .gr-menu-button { grid-column: 3; justify-self: end; }
  .gr-nav { inset: 82px 0 auto; text-align: center; }

  .gr-hero,
  .gr-hero--inner,
  .gr-hero--home {
    min-height: auto;
    padding: clamp(64px, 10vw, 96px) 0 clamp(68px, 11vw, 104px);
    text-align: center;
  }
  .gr-hero::after {
    width: min(72vw, 560px);
    right: auto;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    opacity: .105;
    filter: sepia(1) saturate(.55) brightness(.52);
  }
  .gr-hero__content,
  .gr-hero--home .gr-hero__content {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
  }
  .gr-hero .gr-eyebrow {
    max-width: 42rem;
    margin-inline: auto;
  }
  .gr-hero h1,
  .gr-hero--home h1 {
    max-width: 10em;
    margin-inline: auto;
    font-size: clamp(58px, 10.5vw, 88px);
    line-height: .98;
  }
  .gr-hero .gr-lead {
    max-width: 650px;
    margin: 30px auto 0;
    font-size: clamp(19px, 2.7vw, 24px);
  }
  .gr-hero .gr-actions {
    width: min(100%, 580px);
    margin: 36px auto 0;
    justify-content: center;
  }
  .gr-hero .gr-button { flex: 1 1 240px; }

  .gr-home-section .gr-eyebrow,
  .gr-home-section h2,
  .gr-final-cta .gr-eyebrow,
  .gr-final-cta h2 { text-align: center; }
  .gr-intro-grid,
  .gr-office-grid,
  .gr-process,
  .gr-digital-grid,
  .gr-contact-layout { gap: 42px; }
  .gr-intro-grid > *,
  .gr-office-grid > *,
  .gr-digital-grid > * { margin-inline: auto; }
  .gr-intro-grid .gr-prose,
  .gr-office-grid > div:first-child,
  .gr-digital-grid > div:first-child { max-width: 680px; text-align: center; }
  .gr-actions { justify-content: center; }

  .gr-mobile-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    background: rgba(245,243,236,.96);
    backdrop-filter: blur(18px);
  }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .gr-wrap { width: min(calc(100% - 36px), 520px); }

  .gr-utility { font-size: 12px; }
  .gr-utility .gr-wrap { min-height: 38px; }
  .gr-utility__contacts { width: 100%; }
  .gr-utility__contacts a:last-child { width: 100%; }

  .gr-header__row {
    min-height: 78px;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 8px;
  }
  .gr-brand { gap: 9px; }
  .gr-brand img { width: 36px; height: 41px; }
  .gr-brand__name { font-size: 21px; letter-spacing: .07em; }
  .gr-brand__sub {
    max-width: 190px;
    margin-top: 5px;
    font-size: 8px;
    letter-spacing: .16em;
    white-space: nowrap;
  }
  .gr-menu-button { width: 46px; height: 46px; }
  .gr-nav { inset: 78px 0 auto; }

  .gr-hero,
  .gr-hero--inner,
  .gr-hero--home {
    padding: 54px 0 64px;
  }
  .gr-hero::after {
    width: min(92vw, 430px);
    top: 46%;
    opacity: .095;
  }
  .gr-eyebrow {
    margin-bottom: 18px;
    font-size: 11px;
    line-height: 1.55;
    letter-spacing: .2em;
  }
  .gr-hero h1,
  .gr-hero--home h1 {
    max-width: 8.2em;
    font-size: clamp(46px, 13vw, 62px);
    line-height: .98;
    letter-spacing: -.035em;
  }
  .gr-hero .gr-lead {
    max-width: 34rem;
    margin-top: 26px;
    font-size: clamp(17px, 4.7vw, 20px);
    line-height: 1.55;
  }
  .gr-hero .gr-actions {
    width: min(100%, 390px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
  }
  .gr-hero .gr-button {
    width: 100%;
    min-height: 54px;
    padding-inline: 18px;
  }

  .gr-home-section { padding: 68px 0; }
  .gr-home-section h2,
  .gr-final-cta h2 { font-size: clamp(38px, 11vw, 50px); }
  .gr-prose,
  .gr-final-cta p:not(.gr-eyebrow) { font-size: 17px; }
  .gr-section-head { align-items: center; text-align: center; }
  .gr-section-head .gr-text-link { margin-inline: auto; }
  .gr-practice-grid > a { min-height: 190px; padding: 28px; }
  .gr-practice-grid h3 { margin-top: 28px; font-size: 28px; }
  .gr-process { text-align: center; }
  .gr-process li { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; }
  .gr-digital-card { min-height: 310px; padding: 30px; text-align: center; }
  .gr-contact-panel { padding: 28px 22px; text-align: center; }
  .gr-contact-panel a { font-size: clamp(24px, 7vw, 31px); }
  .gr-footer { padding-bottom: 92px; text-align: center; }
  .gr-footer .gr-brand { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
