/* Concept A — Ridgeline */
:root {
  --haze: #eef2f6;
  --paper: #ffffff;
  --ink: #13273a;
  --slate: #617281;
  --mist: #c9d6e2;
  --deep: #214f7a;
  --display: "Marcellus", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Alegreya Sans", "Gill Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 104px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--haze); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--deep); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 var(--s3); letter-spacing: 0.005em; }
h1 { font-size: clamp(36px, 5.2vw, 64px); }
h2 { font-size: clamp(28px, 3.2vw, 40px); }
h3 { font-size: 24px; }
p { margin: 0 0 var(--s2); }
.lede { font-size: 22px; line-height: 1.45; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons & links */
.button { display: inline-block; background: var(--deep); color: #fff; font-weight: 500; text-decoration: none; padding: 13px 24px; border: 1px solid var(--deep); border-radius: 2px; font-size: 17px; cursor: pointer; font-family: inherit; line-height: 1.2; }
.button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.text-link { font-weight: 500; }

/* Header */
.site-header { background: var(--haze); border-bottom: 1px solid var(--mist); position: relative; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 84px; }
.brand img { width: 200px; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--slate); }
.site-nav .nav-cta { border: 1px solid var(--ink); padding: 9px 18px; border-radius: 2px; }
.site-nav .nav-cta:hover { background: var(--ink); color: #fff; text-decoration: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--ink); color: var(--ink); font: inherit; font-size: 16px; padding: 8px 14px; border-radius: 2px; align-items: center; gap: 8px; cursor: pointer; }
.nav-toggle-bars { width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; display: inline-block; }
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--mist); flex-direction: column; align-items: stretch; padding: var(--s2) var(--gutter) var(--s3); gap: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--mist); font-size: 19px; }
  .site-nav .nav-cta { border: 0; padding: 14px 0 0; }
  .site-nav .nav-cta:hover { background: none; color: var(--ink); }
}

/* Hero */
.hero { position: relative; height: clamp(520px, 62vw, 720px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(19,39,58,.78) 0%, rgba(19,39,58,.35) 45%, rgba(19,39,58,0) 75%); }
.hero-copy { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(40px, 6vw, 80px); }
.hero h1 { color: #fff; max-width: 14ch; margin-bottom: var(--s2); text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.hero-list { color: #e6edf4; font-size: 19px; max-width: 58ch; margin-bottom: var(--s3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; margin: 0; }
.hero .text-link { color: #fff; }
.hero .button { background: #fff; color: var(--ink); border-color: #fff; }
.hero .button:hover { background: var(--haze); border-color: var(--haze); }

/* Ridgeline rule */
.ridge { color: var(--slate); line-height: 0; }
.ridge svg { width: 100%; height: 56px; display: block; }
.ridge-hero { background: var(--haze); padding-top: 12px; }
.ridge-footer { background: var(--haze); padding: var(--s4) 0 0; }
.ridge-inner { background: var(--haze); padding-top: 8px; }

/* About */
.about { padding: var(--s5) 0 var(--s6); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); align-items: start; }
.about-lead .lede { color: var(--ink); }
.about-body p { max-width: 66ch; }
.about-photo { margin: var(--s4) 0 0; max-width: 460px; }
.about-photo img { aspect-ratio: 3 / 2; object-fit: cover; }
.about-photo figcaption { color: var(--slate); font-size: 15px; margin-top: var(--s1); }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; gap: var(--s3); } .about { padding: var(--s4) 0 var(--s5); } }

/* Practice areas */
.practice { background: var(--paper); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); padding: var(--s5) 0 var(--s6); }
.practice-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s5); row-gap: var(--s4); }
.practice-item { padding-top: var(--s3); border-top: 1px solid var(--mist); }
.practice-item dt { font-family: var(--display); font-size: 28px; line-height: 1.2; margin-bottom: var(--s1); }
.practice-item dt a { color: var(--ink); text-decoration: none; }
.practice-item dt a:hover { color: var(--deep); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--mist); }
.practice-item dd { margin: 0; max-width: 54ch; color: #2d3f52; }
@media (max-width: 820px) { .practice-list { grid-template-columns: 1fr; row-gap: var(--s3); } .practice { padding: var(--s4) 0 var(--s5); } }

/* Team */
.team { padding: var(--s5) 0 var(--s6); }
.team-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--mist); }
.team-table th, .team-table td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--mist); font-weight: 400; }
.team-table tbody tr:last-child th, .team-table tbody tr:last-child td { border-bottom: 0; }
.team-table th[scope="row"] { font-family: var(--display); font-size: 21px; white-space: nowrap; width: 1%; padding-right: var(--s4); }
.team-table td:nth-child(2) { color: #2d3f52; max-width: 44ch; }
.team-table td:last-child { white-space: nowrap; }
@media (max-width: 820px) {
  .team { padding: var(--s4) 0 var(--s5); }
  .team-table, .team-table tbody, .team-table tr, .team-table th, .team-table td { display: block; width: auto; white-space: normal; }
  .team-table tr { padding: 14px 18px; border-bottom: 1px solid var(--mist); }
  .team-table th, .team-table td { padding: 0; border: 0; }
  .team-table th[scope="row"] { padding-right: 0; margin-bottom: 2px; }
  .team-table td:last-child { margin-top: 4px; }
}

/* Associations */
.associations { background: var(--paper); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); padding: var(--s5) 0; }
.logo-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--s4) var(--s4); align-items: center; }
.logo-row li { display: flex; align-items: center; justify-content: center; min-height: 96px; }
.logo-row img { max-height: 92px; width: auto; max-width: 180px; object-fit: contain; opacity: .92; transition: filter .25s, opacity .25s; }
.logo-row a:hover img, .logo-row li:hover img { filter: none; opacity: 1; }

/* Contact */
.contact { padding: var(--s5) 0 var(--s6); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); align-items: start; }
.contact-info address { font-style: normal; margin-bottom: var(--s2); }
.contact-lines { line-height: 1.9; }
.contact-note { color: var(--slate); max-width: 40ch; }
.contact-form-wrap { background: var(--paper); border: 1px solid var(--mist); padding: clamp(20px, 3vw, 36px); }
.field { margin-bottom: var(--s2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 16px; }
input, textarea { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 1px solid var(--mist); border-radius: 2px; padding: 11px 12px; }
input:focus, textarea:focus { border-color: var(--deep); outline: 2px solid var(--deep); outline-offset: 0; }
[aria-invalid="true"] { border-color: #9b2c2c; }
.form-error { color: #9b2c2c; font-weight: 500; }
.consent { font-size: 14px; line-height: 1.5; color: var(--slate); max-width: 66ch; }
.form-thanks { background: var(--paper); border: 1px solid var(--mist); padding: var(--s4); font-size: 20px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: var(--s4); } .field-row { grid-template-columns: 1fr; gap: 0; } .contact { padding: var(--s4) 0 var(--s5); } }

/* Footer */
.site-footer { background: var(--ink); color: #d7e0e9; padding: var(--s5) 0 var(--s3); }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 20px; color: #fff; margin-bottom: var(--s2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: var(--s4); }
.footer-brand img { width: 300px; height: auto; filter: brightness(0) invert(1); opacity: .92; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-base { margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s2); font-size: 15px; color: #b7c4d0; }
.footer-base p { margin: 0; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Inner page */
.inner-hero { padding: var(--s5) 0 var(--s4); }
.inner-hero h1 { margin-bottom: var(--s2); }
.inner-hero .lede { max-width: 60ch; margin: 0; }
.crumb { margin-bottom: var(--s2); font-size: 16px; }
.crumb a { color: var(--slate); }
.inner-body { background: var(--paper); border-top: 1px solid var(--mist); padding: var(--s5) 0 var(--s6); }
.inner-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s6); align-items: start; }
.rich h2 { font-size: 30px; margin-top: 0; }
.rich p, .rich li { max-width: 66ch; }
.rich ul { padding-left: 22px; columns: 2; column-gap: var(--s4); margin: 0 0 var(--s3); }
.rich li { break-inside: avoid; margin-bottom: 6px; }
.inner-photo { margin: var(--s4) 0; }
.inner-photo img { aspect-ratio: 3 / 2; object-fit: cover; }
.inner-cta { margin-top: var(--s4); }
.inner-aside h2 { font-size: 22px; margin-bottom: var(--s2); }
.sibling-list { list-style: none; margin: 0 0 var(--s4); padding: 0; border-top: 1px solid var(--mist); }
.sibling-list li { border-bottom: 1px solid var(--mist); }
.sibling-list a { display: block; padding: 12px 0; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 20px; }
.sibling-list a:hover { color: var(--deep); }
@media (max-width: 820px) { .inner-grid { grid-template-columns: 1fr; gap: var(--s4); } .rich ul { columns: 1; } .inner-hero { padding: var(--s4) 0 var(--s3); } }
