/* Hale & Ortega: tokens, reset, shared chrome (utility bar, header, footer), buttons, motion. */
:root {
  --navy: #14233A;
  --navy-deep: #0D1828;
  --paper: #F6F3EE;
  --stone: #EDE8DF;
  --line: #E4DFD6;
  --line-soft: #EAE5DC;
  --chip-line: #CFC8BB;
  --brass: #B08A4A;          /* decorative rules, stars, underline */
  --brass-btn: #8F6E38;      /* darker brass so white button text meets WCAG AA */
  --brass-btn-hover: #7D5F2C;
  --brass-text: #7D5F2C;     /* eyebrows on paper and stone */
  --gold: #E2BE7E;
  --ink: #14233A;
  --ink-2: #46536A;
  --muted: #5A6577;
  --on-navy: #B9C2D0;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Public Sans', system-ui, sans-serif;
  --gutter: clamp(20px, 4.4vw, 56px);
  --section-y: clamp(64px, 8vw, 112px);
  --header-h: 83px;
  --ease-out: cubic-bezier(.2, .7, .1, 1);
}
@media (max-width: 1079px) { :root { --header-h: 81px; } }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body { color: var(--ink); font-family: var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .8; }
button, input, select, textarea { font-family: inherit; }
button { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.on-navy :focus-visible, .footer :focus-visible { outline-color: var(--gold); }
[hidden] { display: none !important; }
.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 4px; }
.skip-link:focus { top: 12px; }

/* Attorney portrait crops */
.pos-hale { object-position: 50% 20%; }
.pos-ortega { object-position: 50% 22%; }
.pos-webb, .pos-sorensen { object-position: 50% 25%; }

/* Type helpers */
.eyebrow { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-text); font-weight: 700; }
.eyebrow--gold { color: var(--gold); }
.h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4vw, 54px); line-height: 1.05; }
.serif { font-family: var(--serif); }
.link-rule { font-weight: 600; font-size: 15px; border-bottom: 1.5px solid var(--navy); padding-bottom: 3px; }

/* Buttons */
.btn-brass { display: inline-block; background: var(--brass-btn); color: #fff; padding: 13px 22px; font-weight: 600; font-size: 15px; border-radius: 4px; white-space: nowrap; border: 0; cursor: pointer; text-align: center; }
.btn-brass:hover { opacity: 1; background: var(--brass-btn-hover); }

/* Utility bar */
.utility { background: var(--navy); color: #D9DEE6; font-size: 13px; }
.utility__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.utility__right { display: flex; gap: 24px; margin-left: auto; white-space: nowrap; }
.utility__phone { color: var(--gold); font-weight: 600; }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 20px; }
.brand { flex: none; display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.brand__mark { width: 40px; height: 40px; background: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1; color: var(--gold); padding-bottom: 3px; }
.brand__words { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 24px; }
.brand__tag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav a[aria-current="page"] { border-bottom: 1.5px solid var(--brass); }
.menu-btn { display: none; border: 1.5px solid var(--navy); background: none; border-radius: 4px; padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--navy); cursor: pointer; }
.mobile-menu { display: flex; flex-direction: column; padding: 4px 20px 24px; font-family: var(--serif); font-weight: 600; font-size: 24px; border-top: 1px solid var(--line); }
.mobile-menu a { padding: 10px 0; }
.mobile-menu .btn-brass { margin-top: 12px; padding: 16px; font: 600 16px var(--sans); }

@media (max-width: 1079px) {
  .utility__address, .nav, .header__cta { display: none; }
  .menu-btn { display: block; }
}
@media (min-width: 1080px) { .mobile-menu { display: none !important; } }

/* Footer */
.footer { background: var(--navy-deep); color: #93A0B4; }
.footer__inner { padding-top: clamp(48px, 6vw, 72px); padding-bottom: 28px; display: flex; flex-direction: column; gap: 44px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; align-items: flex-start; }
.footer__col h2 { margin: 0; font-size: 14px; color: var(--paper); font-weight: 600; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__logo { display: flex; align-items: center; gap: 12px; }
.footer__mark { width: 34px; height: 34px; background: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1; color: var(--navy); padding-bottom: 3px; }
.footer__name { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--paper); }
.footer__blurb { font-size: 14px; line-height: 1.6; }
.footer__legal { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(147, 160, 180, .2); font-size: 12px; line-height: 1.6; color: #8592A8; }
.footer__legal p { margin: 0; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.footer__links { display: flex; gap: 20px; }

/* Motion (disabled under prefers-reduced-motion) */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { transform: translateY(105%); } to { transform: none; } }
@keyframes kenburns { from { transform: scale(1.03); } to { transform: scale(1.12); } }
.reveal { display: block; overflow: hidden; padding: .08em 0; margin: -.08em 0 0; }
.reveal > span { display: block; animation: reveal 1.1s var(--ease-out) both; }
.reveal:nth-child(1) > span { animation-delay: var(--reveal-start, .2s); }
.reveal:nth-child(2) > span { animation-delay: calc(var(--reveal-start, .2s) + .15s); }
.reveal:nth-child(3) > span { animation-delay: calc(var(--reveal-start, .2s) + .3s); }
.reveal:nth-child(4) > span { animation-delay: calc(var(--reveal-start, .2s) + .45s); }
.fade-up { animation: fadeUp .9s both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal > span, .fade-up, .kenburns { animation: none !important; }
}
