.community-card h3 a { color: inherit; text-decoration: none; text-underline-offset: .16em; }
    .community-card h3 a:hover, .community-card h3 a:focus-visible { text-decoration: underline; }
    .community-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .community-card { min-height: 215px; padding: 26px; background: var(--white); border-top: 2px solid var(--red); box-shadow: 0 10px 28px rgba(17, 21, 47, .06); }
    .community-card h3 { margin: 0 0 14px; font-size: clamp(1.3rem, 1.8vw, 1.75rem); }
    .community-card p { margin: 0; color: #555865; font-size: .96rem; }
    @media (max-width: 1060px) { .community-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    @media (max-width: 760px) { .community-card-grid { grid-template-columns: 1fr; } .community-card { min-height: 0; } }

    :root {
      --blue: #2e368f;
      --gray: #8b939c;
      --red: #ed1808;
      --cream: #f4f0ea;
      --navy: #11152f;
      --ink: #252733;
      --white: #ffffff;
      --line: rgba(37, 39, 51, 0.16);
      --shadow: 0 18px 50px rgba(17, 21, 47, 0.12);
      --serif: Georgia, "Times New Roman", serif;
      --sans: Arial, Helvetica, sans-serif;
      --content: 1180px;
      --radius: 4px;
    }
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--cream);
      font-family: var(--sans);
      font-size: 16px;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }
        main#main-content {
      background:
        radial-gradient(circle at 76% 26%, rgba(46,54,143,.78), transparent 30%),
        linear-gradient(125deg, var(--navy) 0%, #181e48 58%, #2b3281 100%);
          display: block;
    }
    body.menu-open { overflow: hidden; }
    img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    a { color: inherit; }
    button, input, textarea { font: inherit; }
    button { cursor: pointer; }
    :focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
    .skip-link {
      position: fixed;
      top: 10px;
      left: 10px;
      z-index: 9999;
      padding: 10px 14px;
      background: var(--white);
      color: var(--navy);
      transform: translateY(-160%);
      transition: transform .2s ease;
    }
    .skip-link:focus { transform: translateY(0); }
    .container { width: min(calc(100% - 64px), 1360px); margin-inline: auto; } /* Widens desktop canvas bounds and shifts content closer to outer left/right margins */
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin: 0 0 18px;
      color: var(--blue);
      font-size: .76rem;
      font-weight: 700;
      letter-spacing: .18em;
      text-transform: uppercase;
    }
    .eyebrow::before {
      content: "";
      width: 34px;
      height: 2px;
      background: var(--red);
      flex-shrink: 0;
    }
    h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin-top: 0; }
    h1 { font-size: clamp(2.5rem, 4.2vw, 4.4rem); letter-spacing: -.03em; } /* Shrinks the text down considerably so it fits the viewport */
    h2 { 
      font-size: clamp(1.8rem, 3.8vw, 3.2rem); /* Fluidly scales down on laptops so headings don't blow out the sections */
      letter-spacing: -.02em; 
    }
    h3 { font-size: clamp(1.45rem, 2vw, 2rem); }
    p { margin: 0 0 1.25rem; }
    .lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.75; }
    .section { 
      min-height: 100vh; /* Forces every colored section to be a full screen tall */
      display: flex;
      align-items: center; /* Centers all your content vertically inside that screen */
      padding: clamp(40px, 5vh, 80px) 0; /* Creates smart padding that shrinks on shorter laptop screens */
    }
    .section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; margin-bottom: clamp(30px, 4vw, 46px); }
    .section-head > p { color: #565966; margin: 0; max-width: 820px; }
    .site-header {
      position: relative; 
      background: var(--navy); /* Match background so it seamlessly blends into the hero section */
      z-index: 1000;
      color: var(--white);
      border-bottom: 1px solid rgba(255, 255, 255, 0.25); /* Boosts the transparency so it shows up as a bright, crisp line */
      margin-bottom: 0;
    }
    .nav-shell {
      padding: 16px 0; /* Creates an even, balanced breathing space around your logo */
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 30px;
    }
    .brand {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      color: var(--white);
      text-decoration: none;
      flex-shrink: 0;
    }
    .brand-mark {
      width: 46px;
      height: 46px;
      border: 1px solid rgba(255,255,255,.65);
      display: grid;
      place-items: center;
      transform: rotate(36deg) skew(-8deg);
    }
    .brand-mark img {
      transform: rotate(-36deg) skew(8deg);
    }
    .brand-name { font: 1rem/1.1 var(--serif); letter-spacing: .09em; text-transform: uppercase; }
    .brand-name small { display: block; margin-top: 6px; font: .58rem/1 var(--sans); letter-spacing: .16em; color: rgba(255,255,255,.72); }
    .nav-list { list-style: none; display: flex; align-items: center; gap: 7px; margin: 0; padding: 0; }
    .nav-item { position: relative; }
    .nav-link, .dropdown-toggle {
      display: inline-flex;
      align-items: center;
      gap: 9px;            /* Slightly wider gap for the dropdown arrow */
      padding: 20px 14px;  /* Increased tap targets for cleaner grid layout spacing */
      border: 0;
      background: transparent;
      color: inherit;
      text-decoration: none;
      font-size: .88rem;   /* Increased from original .76rem for bold legibility */
      font-weight: 700;
      letter-spacing: .09em;
      text-transform: uppercase;
    }
    .nav-link::after, .dropdown-toggle::after {
      content: "";
      position: absolute;
      left: 11px;
      right: 11px;
      bottom: 12px;
      height: 2px;
      background: var(--red);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .2s ease;
    }
    .nav-link:hover::after, .dropdown-toggle:hover::after { transform: scaleX(1); }
    .caret { font-size: .65rem; transition: transform .2s ease; }
    .nav-item:hover .caret, .nav-item:focus-within .caret { transform: rotate(180deg); }
    .dropdown {
      position: absolute;
      top: calc(100% + 12px);
      left: 0;
      min-width: 235px;
      margin: 0;
      padding: 12px;
      list-style: none;
      color: var(--ink);
      background: var(--white);
      box-shadow: var(--shadow);
      opacity: 0;
      visibility: hidden;
      transform: translateY(8px);
      transition: .2s ease;
    }
    .nav-item:hover .dropdown, .nav-item:focus-within .dropdown, .nav-item.open .dropdown {
      opacity: 1; visibility: visible; transform: translateY(0);
    }
    .dropdown a { display: block; padding: 10px 12px; text-decoration: none; font-size: .9rem; }
    .dropdown a:hover { color: var(--blue); background: var(--cream); }
    .nav-cta { margin-left: 7px; padding: 13px 18px; border: 1px solid rgba(255,255,255,.75); color: var(--white); text-decoration: none; font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; transition: .2s ease; }
    .nav-cta:hover { background: var(--white); color: var(--navy); }
    .menu-button { display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.6); background: transparent; color: var(--white); }
    .menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 20px; height: 2px; background: currentColor; margin: auto; content: ""; transition: .2s ease; }
    .menu-lines::before { transform: translateY(-7px); }
    .menu-lines::after { transform: translateY(5px); }
    .hero {
      position: relative;
      height: calc(100vh - 173px); /* Strictly locks the section to the remaining screen height */
      min-height: 600px;           /* Safety baseline so text doesn't clip on super short windows */
      display: flex;          
      align-items: center; /* Evenly floats the text masses vertically within the single-screen frame */
      padding: 0; /* Completely removes the dead height divider gap so text meets the logo cleanly */
    }
    .hero::before {
      content: "CA";
      position: absolute;
      right: -3vw;
      bottom: -12vw;
      color: rgba(255,255,255,.035);
      font: 38vw/.8 var(--serif);
      letter-spacing: -.14em;
      pointer-events: none;
    }
    .hero::after { 
      content: ""; 
      position: absolute; 
      top: 10%; 
      bottom: 10%; 
      left: 50%; /* Places it perfectly in the dead center between your two even 1fr columns */
      transform: translateX(-50%);
      width: 1px; 
      background: rgba(255,255,255,.12); 
    }
    .hero-grid {
      position: relative;
      z-index: 1;
      width: 100%;
      display: grid;
      grid-template-columns: 1fr 1fr; /* Spreads layout zones evenly to eliminate dead canvas gaps on the right */
      gap: clamp(60px, 8vw, 140px); /* Creates a sweeping, premium fluid separator channel */
      align-items: center;
    }
    .hero h1 {
      margin-bottom: clamp(25px, 4.5vh, 48px); /* Fluidly increases space below the headline based on screen height */
    }
    .hero h1 span {
      display: block; /* Guarantees "Practical guidance." stays on its own separate line row */
      margin-top: 6px;
    }
    /* Proportional spacing to beautifully push your text sections down on narrowed screens */
    .hero-aside p {
      margin-bottom: clamp(35px, 6.5vh, 75px);
    }
    /* Expanded responsive separation to naturally absorb dead space on smaller screen sizes */
    .hero-actions {
      margin-top: clamp(35px, 7.5vh, 85px); 
    }
    .hero .eyebrow { 
      color: #d8dafa; 
      display: block !important;
      width: 100% !important; 
      clear: both !important;
      margin-top: 20px !important; /* Forces physical blank space above the words so it clears the logo box */
      margin-bottom: 16px !important; 
      line-height: 1.5 !important;
      font-size: .82rem !important; /* Slightly scales letters up for stark readability */
    }
    .hero .eyebrow::before {
      display: none; /* Safely removes the absolute decorative red line that was pushing text off-center */
    }
    .hero h1 { color: var(--white); max-width: 90%; font-size: clamp(3rem, 4.5vw, 5.2rem); margin-bottom: 28px; line-height: 1.15; } /* Gives a 10% safety cushion before the center line */
    .hero-actions { max-width: 100%; }
    .hero h1 span { color: #bbc0ff; }
    .hero-copy {
      max-width: 100%; /* Spans naturally to track the wide column layout space beautifully */
      color: rgba(255,255,255,.82);
      font-size: clamp(1.05rem, 1.2vw, 1.25rem); /* Proportional premium readability bump */
      line-height: 1.75;
      max-width: 100%; /* Completely frees up the box bounds so the lines wrap fluidly on square screens */
      margin-bottom: 32px; /* Smooth, balanced distance above the actions strip */
    }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 0; } /* Eliminates double margin stacking to pull elements into harmony */
    .button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 14px 23px; border: 1px solid transparent; text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: .2s ease; }
    .button-primary { background: var(--red); color: var(--white); }
    .button-primary:hover { background: #c91408; transform: translateY(-2px); }
    .button-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
    .button-ghost:hover { background: var(--white); color: var(--navy); }
    .hero-aside { border-top: 1px solid rgba(255,255,255,.35); padding-top: 32px; color: rgba(255,255,255,.8); width: 100%; max-width: 460px; }
    .hero-aside strong { display: block; margin-bottom: 12px; color: var(--white); font-family: var(--serif); font-size: clamp(1.35rem, 1.6vw, 1.65rem); font-weight: 400; line-height: 1.2; }
    .hero-aside p { font-size: clamp(0.92rem, 1vw, 1.05rem); margin-bottom: 40px; }
    .scroll-cue { display: none; } /* Pulls out the baseline element so the grid layout sits flawlessly snug */
    .scroll-cue::before { content: ""; width: 50px; height: 1px; background: var(--red); }
    .intro { background: var(--white); }
    .intro-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
    .intro-stat { border-left: 2px solid var(--red); padding-left: 28px; }
    .intro-stat strong { display: block; color: var(--blue); font: clamp(3.8rem, 7vw, 6.5rem)/.9 var(--serif); }
    .intro-stat span { display: block; margin-top: 15px; color: #626571; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
    .intro-copy h2 { margin-bottom: 30px; }
    .intro-copy p { max-width: 790px; color: #555865; }
    .text-link { display: inline-flex; align-items: center; gap: 13px; color: var(--blue); text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
    .text-link::after { content: "→"; color: var(--red); transition: transform .2s ease; }
    .text-link:hover::after { transform: translateX(5px); }
    .services { background: var(--cream); }
    .service-grid { 
      display: grid; 
      grid-template-columns: repeat(3, minmax(0, 1fr)); /* Ensures rigid fluid column boundary tracking constraints */
      gap: 0; 
      border-top: 1px solid var(--line); 
      border-left: 1px solid var(--line); 
    }
.service-card {
  position: relative;
  min-height: 280px;
  padding: 40px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  overflow: hidden;
  transition: background .25s ease, color .25s ease;
}
    .service-card::before { content: attr(data-number); position: absolute; top: 29px; right: 30px; color: var(--gray); font-size: .68rem; font-weight: 700; letter-spacing: .15em; }
    .service-card::after { content: "↗"; position: absolute; right: 30px; bottom: 26px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--red); transition: .25s ease; }
    .service-card h3 { max-width: 250px; margin: 68px 0 22px; }
    .service-card p { max-width: 300px; color: #666976; font-size: .93rem; }
    .service-card:hover { background: var(--navy); color: var(--white); }
    .service-card:hover p { color: rgba(255,255,255,.68); }
    .service-card:hover::after { border-color: var(--red); background: var(--red); color: var(--white); transform: translate(3px,-3px); }
    .statewide { position: relative; overflow: hidden; color: var(--white); background: var(--blue); }
    .statewide::after { content: "MICHIGAN"; position: absolute; right: -1vw; bottom: -3vw; color: rgba(255,255,255,.045); font: 12vw/.8 var(--serif); letter-spacing: .02em; }
    .statewide-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
    .statewide .eyebrow { color: #e0e1ff; }
    .statewide h2 { margin-bottom: 28px; }
    .statewide p { color: rgba(255,255,255,.76); }
    .state-list { border-top: 1px solid rgba(255,255,255,.28); }
    .state-list div { display: flex; justify-content: space-between; gap: 25px; padding: 21px 0; border-bottom: 1px solid rgba(255,255,255,.28); }
    .state-list strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
    .state-list span { color: rgba(255,255,255,.64); font-size: .82rem; text-align: right; }
    .professionals { background: var(--white); }
    .people-grid { 
      display: grid; 
      grid-template-columns: repeat(4, minmax(0, 1fr)); 
      gap: 24px; /* Gently spreads the portrait element containers outward */
    }
    .person-card { 
      aspect-ratio: 3 / 4; /* Strictly locks the card boxes to standard professional layout dimensions */
      display: flex; 
      flex-direction: column; 
      justify-content: flex-end; 
      padding: 24px; /* Slightly tightens inner boundaries to match your new wide grid rhythm */
      color: var(--white); 
      background: linear-gradient(160deg, #282f7a, var(--navy)); 
      text-decoration: none; 
      transition: transform .25s ease, box-shadow .25s ease; 
    }
    .person-card:nth-child(2) { background: linear-gradient(160deg, #717986, #343a4a); }
    .person-card:nth-child(3) { background: linear-gradient(160deg, #39429f, #171c45); }
    .person-card:nth-child(4) { background: linear-gradient(160deg, #747c86, #252a37); }
    .person-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
    .person-card span { color: rgba(255,255,255,.66); font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
    .person-card h3 { margin: 12px 0 0; font-size: 1.6rem; }
    .person-card em { display: block; margin-top: 30px; color: #bfc3ff; font-style: normal; font-size: .8rem; }
    .community { background: var(--cream); }
    .community-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
    .community-panel { padding: clamp(35px, 5vw, 70px); color: var(--white); background: var(--navy); box-shadow: var(--shadow); }
    .community-panel h3 { font-size: clamp(2rem, 4vw, 3.4rem); }
    .community-panel p { color: rgba(255,255,255,.7); }
    .community-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 35px; margin-top: 35px; }
    .community-list span { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.2); font-size: .84rem; }
    .community-copy p { color: #5d606d; }
    .contact-section { color: var(--white); background: var(--navy); }
    .contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
    .contact-copy p { color: rgba(255,255,255,.7); }
    .contact-copy .eyebrow { color: #d8dafa; }
    .contact-note { margin-top: 35px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); font-size: .82rem; }
    .contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .field-wide { grid-column: 1 / -1; }
    label { display: block; margin-bottom: 7px; color: rgba(255,255,255,.78); font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
    input, textarea { width: 100%; border: 1px solid rgba(255,255,255,.27); border-radius: 0; padding: 14px 15px; color: var(--white); background: rgba(255,255,255,.045); }
    input::placeholder, textarea::placeholder { color: rgba(255,255,255,.42); }
    input:focus, textarea:focus { outline: 2px solid #777fff; border-color: transparent; }
    textarea { min-height: 150px; resize: vertical; }
    .form-check { grid-column: 1 / -1; display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
    .form-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); }
    .form-check label { margin: 0; font-size: .76rem; font-weight: 400; letter-spacing: 0; line-height: 1.6; text-transform: none; }
    .form-status { grid-column: 1 / -1; min-height: 24px; margin: 0; color: #d8dafa; font-size: .85rem; }
    .site-footer { padding: 70px 0 30px; color: rgba(255,255,255,.66); background: #0a0d20; }
    .footer-top { display: grid; grid-template-columns: 1.2fr .7fr .7fr; gap: 70px; padding-bottom: 50px; }
    .footer-brand { max-width: 390px; }
    .footer-brand p { margin-top: 24px; font-size: .9rem; }
    .footer-heading { margin: 0 0 18px; color: var(--white); font: 1.15rem var(--serif); }
    .footer-links { list-style: none; padding: 0; margin: 0; }
    .footer-links li { margin-bottom: 8px; }
    .footer-links a { text-decoration: none; font-size: .88rem; }
    .footer-links a:hover { color: var(--white); }
    .footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.14); font-size: .74rem; }
    .footer-bottom a { text-decoration: none; }
/* Premium Image Container Constraints */
.brand-mark {
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Image Aspect Ratios for Core Web Vitals Optimization */
.person-card img {
  width: 100%;
  aspect-ratio: 13 / 14; /* Perfectly matches your original 260x280 scale dimensions */
  object-fit: cover;
  border-radius: var(--radius);
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
}
/* Fallback protection for missing image links */
img:not([src]), img[src=""] {
  visibility: hidden;
}
    @media (max-width: 1060px) {
      .container { width: min(calc(100% - 40px), 1180px) !important; } /* Gracefully scales your wide grid down so it never cuts off on tablets */
      .menu-button { display: block; z-index: 1001; }
      .site-header { position: relative; background: var(--navy); }
      .site-header .nav-shell { min-height: auto; padding: 15px 0; }
          .site-header img { 
      height: 100px !important; /* Slightly scales the massive logo down to pull up the content */
    }
      .main-nav { position: fixed; inset: 0 0 0 auto; width: min(420px, 92vw); padding: 105px 27px 35px; background: var(--navy); transform: translateX(105%); transition: transform .25s ease; overflow-y: auto; z-index: 1000; }
      .main-nav.open { transform: translateX(0); box-shadow: -20px 0 50px rgba(0,0,0,.3); }
      .nav-list { display: block; }
      .nav-link, .dropdown-toggle { width: 100%; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid rgba(255,255,255,.16); }
      .nav-link::after, .dropdown-toggle::after { display: none; }
      .dropdown { position: static; display: none; min-width: 0; padding: 6px 0 8px 12px; color: var(--white); background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
      .nav-item.open .dropdown { display: block; }
      .dropdown a { color: rgba(255,255,255,.72); }
      .dropdown a:hover { color: var(--white); background: transparent; }
      .nav-cta { display: flex; margin: 22px 0 0; justify-content: center; }
      .hero-grid, .statewide-grid, .contact-grid { 
        grid-template-columns: minmax(0, 1fr); 
        gap: 50px; 
      }
      .hero-aside { 
        max-width: 100%; 
        border-top: 1px solid rgba(255,255,255,.2); 
        padding-top: 24px; 
      }
      .section-head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
      .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .footer-brand { grid-column: 1 / -1; }
    }
    @media (max-width: 760px) {
      .container { width: min(calc(100% - 32px), var(--content)); }
      .nav-shell { min-height: 80px; }
      .brand-mark { width: 40px; height: 40px; }
      .brand-name { font-size: .82rem; }
      .brand-name small { font-size: .5rem; }
      .hero {
        padding: 40px 0 !important;
      }
      .hero::after { 
        display: none !important; /* Completely disintegrates the vertical line on mobile so it can never touch your layout text */
      }
      .hero h1 {
        font-size: clamp(2.2rem, 7vw, 3.4rem) !important;
        line-height: 1.15 !important;
      }
      .hero-aside {
        max-width: 100%; /* Allows your secondary points to span naturally full width underneath your buttons */
      }
      .hero-actions { align-items: stretch; flex-direction: column; }
      .button { width: 100%; }
      .scroll-cue { display: none; }
      .intro-grid, .community-grid { grid-template-columns: minmax(0, 1fr); gap: 50px; }
      .service-grid { grid-template-columns: minmax(0, 1fr); }
      .service-card { min-height: 240px; padding: 24px; }
      .people-grid { grid-template-columns: minmax(0, 1fr); }
      .person-card { min-height: 260px; }
      .community-list { grid-template-columns: minmax(0, 1fr); }
      .contact-form { grid-template-columns: minmax(0, 1fr); }
      .field-wide, .form-check, .form-status { grid-column: auto; }
      .footer-top { grid-template-columns: minmax(0, 1fr); gap: 38px; }
      .footer-brand { grid-column: auto; }
      .footer-bottom { flex-direction: column; gap: 15px; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    }
    /* Sticky Header Properties */
    .site-header { transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, padding 0.4s ease; }
    .site-header.is-sticky { 
      position: fixed; 
      top: 0; 
      left: 0; 
      width: 100%; 
      background-color: #11152f !important; /* Force a solid corporate dark blue background tone */
      backdrop-filter: blur(12px); 
      -webkit-backdrop-filter: blur(12px); 
      border-bottom: 1px solid rgba(255, 255, 255, 0.08); 
      box-shadow: 0 10px 30px rgba(11, 14, 32, 0.3); 
    }
.site-header.is-sticky .nav-shell {
  min-height: 70px;
  padding-block: 8px;
}

.site-header.is-sticky .nav-shell img {
  height: 54px !important;
}
body.header-sticky main#main-content {
  padding-top: var(--header-flow-height, 0px);
}
    /* Accessible Inline Form Validation Styles */
    .field-group { position: relative; display: flex; flex-direction: column; }
    .error-message { color: #ff6b6b; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-top: 5px; min-height: 18px; opacity: 0; transform: translateY(-3px); transition: opacity 0.2s ease, transform 0.2s ease; pointer-events: none; }
    input.invalid, textarea.invalid { border-color: #ff6b6b !important; outline: none; background: rgba(255, 107, 107, 0.04); }
    input.invalid + .error-message, textarea.invalid + .error-message, .form-check.invalid .error-message { opacity: 1; transform: translateY(0); }
    /* Fallback layout rules for empty image containers */
    .brand-mark {
      overflow: hidden;
      background-color: rgba(255, 255, 255, 0.05);
    }
    .brand-mark img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
    .person-card img {
      width: 100%;
      aspect-ratio: 13 / 14;
      object-fit: cover;
      border-radius: var(--radius);
      background-color: rgba(255, 255, 255, 0.05);
      margin-bottom: 20px;
    }
    img:not([src]), img[src=""] {
      visibility: hidden;
    }
    /* Animation Baselines */
    .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
    .reveal.active { opacity: 1; transform: translateY(0); }
    .delay-1 { transition-delay: 150ms; }
    .delay-2 { transition-delay: 300ms; }
    .delay-3 { transition-delay: 450ms; }
    /* Universally applies the landing buffer to both classes and IDs across all viewports */
#services {
  scroll-margin-top: 86px;
}

#contact {
  scroll-margin-top: 0;
}
/* HERO SPACING CORRECTION */
/* Desktop */
@media (min-width: 1061px) {
  .hero-grid {
    position: relative;
    top: 34px;
  }

  .hero .eyebrow {
    margin-top: 0 !important;
    margin-bottom: 22px !important;
  }

  .hero-copy {
    margin-bottom: 0;
  }

  .hero-actions {
    margin-top: 38px;
  }
}
/* Laptop and reduced desktop screens */
@media (min-width: 821px) and (max-width: 1060px) {
  .skip-link {
    display: none !important; /* Instantly cleans up the hidden white anchor button template */
  }
  
  .hero {
    height: auto !important;
    min-height: calc(100vh - 173px) !important;
    display: flex !important;
    align-items: center !important; 
    padding: 20px 0 !important; /* Shrinks the top container barrier to give the yellow box room to breathe */
  }
  /* Target the yellow box content specifically in this reduced screen state */
  .hero-grid > div:first-child {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: clamp(24px, 4vh, 40px) !important; /* Spreads out all items inside the yellow box into a beautifully spaced rhythm */
  }
  .hero .eyebrow {
    margin-bottom: 0 !important; /* Absorbed by the new layout gap above */
  }
  .hero h1 {
    margin-bottom: 0 !important; /* Absorbed by the new layout gap above */
  }
  .hero-copy {
    margin-bottom: 0 !important; /* Absorbed by the new layout gap above */
  }
  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr !important; /* Balances the layout split ratio cleanly for narrowed screens */
    gap: clamp(35px, 5vw, 55px) !important;
  }
  .hero::after {
    left: 54% !important; /* Locks your clean vertical divider line right back into the center column channel gutter */
  }

  .hero h1 {
    font-size: clamp(2.1rem, 3.8vw, 2.8rem) !important; /* Gently scales down the massive letters on laptops */
    line-height: 1.3 !important; /* Gives the text rows ample breathing room */
    margin-bottom: 20px !important;
  }
  .hero h1 span {
    display: block !important; /* Absolutely forces "Practical guidance." onto a brand new line below "Experienced counsel." */
    margin-top: 4px !important;
  }

  .hero-copy {
    max-width: 92% !important; /* Constrains row length to keep layout reading lines symmetrical */
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
  }

  .hero-actions {
    margin-top: 0 !important;
    gap: 12px !important;
  }

  .hero-actions .button {
    min-height: 48px !important;
    padding: 12px 18px !important;
    font-size: 0.72rem !important;
  }
  /* Safely scales down your professional profile portrait cards on minimized displays */
  .people-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important; /* Re-aligns them safely back into 4 smaller side-by-side columns instead of blowing up into 2 giant blocks */
    gap: 16px !important;
  }
  .person-card h3 {
    font-size: 1.15rem !important; /* Resizes text titles to cleanly fit the narrowed containers */
  }
  .person-card span {
    font-size: 0.65rem !important;
  }

  .hero-aside {
    padding-top: 0 !important;
    border-top: 0 !important;
  }

  .hero-aside strong {
    font-size: 1.15rem !important;
    margin-bottom: 8px !important;
  }

  .hero-aside p {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 28px !important;
  }
}
@media (min-width: 761px) and (max-width: 820px) {
  .hero {
    height: auto !important;
    min-height: 0 !important;
    padding: 18px 0 44px !important;
    align-items: flex-start !important;
  }

  .hero::after {
    display: none !important;
  }

  .hero-grid {
    position: static !important;
    top: auto !important;
    transform: none !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 34px !important;
  }

  .hero .eyebrow {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
  }

  .hero h1 {
    max-width: 100% !important;
    margin-bottom: 24px !important;
  }

  .hero-copy {
    margin-bottom: 0 !important;
  }

  .hero-actions {
    margin-top: 28px !important;
  }

  .hero-aside {
    max-width: 100% !important;
    padding-top: 22px !important;
  }

  .hero-aside p:last-child {
    margin-bottom: 0 !important;
  }
}

/* Phones */
@media (max-width: 760px) {
  .hero {
    height: auto !important;
    min-height: 0 !important;
    padding: 12px 0 40px !important;
    align-items: flex-start !important;
  }

  .hero::after {
    display: none !important;
  }

  .hero-grid {
    position: static !important;
    top: auto !important;
    transform: none !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 32px !important;
  }

  .hero .eyebrow {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    font-size: 0.65rem !important;
    line-height: 1.5 !important;
  }

  .hero h1 {
    max-width: 100% !important;
    margin-bottom: 22px !important;
    font-size: clamp(2.15rem, 10vw, 3.2rem) !important;
    line-height: 1.1 !important;
  }

  .hero-copy {
    max-width: 100% !important;
    margin-bottom: 0 !important;
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
  }

  .hero-actions {
    margin-top: 26px !important;
    gap: 12px !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .hero-actions .button {
    width: 100% !important;
  }

  .hero-aside {
    max-width: 100% !important;
    padding-top: 22px !important;
  }

  .hero-aside p:last-child {
    margin-bottom: 0 !important;
  }
}
  
    .about-hero { height: auto !important; min-height: calc(100vh - var(--header-flow-height, 130px)); min-height: calc(100svh - var(--header-flow-height, 130px)); align-items: center; padding: clamp(38px, 5vh, 60px) 0; background: transparent; }
    .about-hero::after { display: none; }
    .about-hero h1 { max-width: 960px; }
    .about-hero .hero-copy { max-width: 850px; }
    .about-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 38px; }
    .about-value { border-top: 1px solid rgba(255,255,255,.25); padding-top: 18px; }
    .about-value strong { display:block; color:var(--white); font:1.35rem var(--serif); margin-bottom:8px; }
    .about-value span { color:rgba(255,255,255,.72); font-size:.92rem; }
    @media (max-width: 720px) { .about-values { grid-template-columns: 1fr; gap: 20px; } }
  /* Keep these three opening sections full-screen and balanced at laptop sizes. */
  @media (min-width: 761px) and (max-width: 1060px) {
    .about-hero {
      height: auto !important;
      min-height: calc(100vh - var(--header-flow-height, 130px)) !important;
      min-height: calc(100svh - var(--header-flow-height, 130px)) !important;
      align-items: center !important;
      padding: 32px 0 44px !important;
    }
  }
  /* On phones, let longer copy start at the top while still filling the viewport below the header. */
  @media (max-width: 760px) {
    .about-hero {
      height: auto !important;
      min-height: calc(100vh - var(--header-flow-height, 130px)) !important;
      min-height: calc(100svh - var(--header-flow-height, 130px)) !important;
      align-items: flex-start !important;
      padding: 12px 0 40px !important;
    }
  }  /* On full desktop, use the available hero height to space the content evenly from top to bottom. */
  @media (min-width: 1441px) {
    .about-hero {
      flex-direction: column;
      align-items: stretch;
    }
    .about-hero > .container {
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      justify-content: space-evenly;
    }
    .about-hero > .container > .eyebrow,
    .about-hero > .container > h1,
    .about-hero > .container > .hero-copy,
    .about-hero > .container > .about-values {
      margin: 0 !important;
    }
  }      @media (max-width: 1060px) {
      /* Keep the scrolled mobile menu fixed to the viewport instead of the sticky header. */
      .site-header.is-sticky {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
      }
    }
  
    .profile-hero { height: auto !important; min-height: calc(100vh - var(--header-flow-height, 130px)) !important; min-height: calc(100svh - var(--header-flow-height, 130px)) !important; padding: clamp(38px, 6vh, 76px) 0 !important; background: transparent; }
    .profile-hero::after { display: none; }
    .profile-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr); align-items: center; gap: clamp(36px, 7vw, 110px); }
    .profile-hero h1 { max-width: 900px; margin-bottom: 12px; }
    .profile-role-label { margin: 0 0 24px; color: #bbc0ff; font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
    .profile-hero .hero-copy { max-width: 780px; margin-bottom: 26px; }
    .profile-monogram-panel { min-height: 290px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; border: 1px solid rgba(255,255,255,.22); background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.015)); }
    .profile-monogram { width: clamp(130px, 13vw, 190px); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); color: var(--white); background: linear-gradient(145deg, var(--navy), var(--blue)); font: clamp(3rem, 5vw, 4.5rem)/1 var(--serif); letter-spacing: .04em; }
    .profile-portrait { width: clamp(175px, 21vw, 220px); height: clamp(215px, 25vw, 250px); object-fit: cover; object-position: center 20%; border: 1px solid rgba(255,255,255,.42); }
    .profile-monogram-caption { margin: 0; color: rgba(255,255,255,.7); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-align: center; text-transform: uppercase; }
    .profile-content { min-height: 0 !important; padding: clamp(56px, 8vh, 96px) 0 !important; background: var(--cream); }
    .profile-content-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .75fr); gap: clamp(34px, 6vw, 82px); align-items: start; }
    .profile-content h2 { color: var(--navy); }
    .profile-story p { color: #555865; }
    .profile-story .lead { color: #3e414c; }
    .profile-aside { padding: clamp(24px, 3vw, 34px); background: var(--white); border-top: 2px solid var(--red); box-shadow: 0 10px 28px rgba(17,21,47,.06); }
    .profile-title-break { display: none; }
    .profile-main .section-head { margin-bottom: 28px; }
    .profile-main .section-head h2 { margin-bottom: 0; }
    .profile-aside-name { margin: -8px 0 16px; color: var(--navy); font: 1.25rem/1.3 var(--serif); }
    .profile-honors { margin: 8px 0 0; padding-left: 18px; color: #555865; font-size: .94rem; }
    .profile-honors li { margin-top: 4px; }
    .profile-aside h3 { margin: 0 0 18px; color: var(--navy); }
    .profile-fact { padding: 15px 0; border-top: 1px solid var(--line); }
    .profile-fact strong { display: block; margin-bottom: 4px; color: var(--blue); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
    .profile-fact span { color: #555865; font-size: .94rem; }
    .profile-content .button { margin-top: 14px; }
    .profile-subsection .button-ghost { border-color: var(--navy); background: var(--navy); color: var(--white); }
    .profile-subsection .button-ghost:hover { border-color: var(--blue); background: var(--blue); color: var(--white); }
    .profile-subsection { padding: 0 0 clamp(56px, 8vh, 90px); background: var(--cream); }
    .profile-subsection-inner { padding-top: 30px; border-top: 1px solid var(--line); }
    .profile-subsection h2 { color: var(--navy); }
    .profile-subsection p { max-width: 920px; color: #555865; }
    .profile-service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 24px 0 30px; padding: 0; list-style: none; }
    .profile-service-list li { padding: 15px 17px; border: 1px solid var(--line); color: var(--navy); font: 1.12rem/1.25 var(--serif); }
    @media (max-width: 1060px) { .profile-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(210px, .75fr); gap: 32px; } .profile-monogram-panel { min-height: 240px; } .profile-content-grid { grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr); } .profile-title-break { display: block; } }
    @media (max-width: 760px) { .profile-hero { min-height: calc(100svh - var(--header-flow-height, 130px)) !important; padding: 42px 0 !important; } .profile-hero-grid, .profile-content-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } .profile-monogram-panel { min-height: 180px; } .profile-monogram { width: 112px; } .profile-content { padding: 48px 0 !important; } .profile-service-list { grid-template-columns: minmax(0, 1fr); gap: 10px; } .profile-subsection { padding-bottom: 48px; } }
    @media (min-width: 761px) and (max-width: 1060px) {
      .profile-hero {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 18px 0 22px !important;
      }
      .profile-hero-grid {
        flex: 1 1 auto;
        align-items: stretch;
      }
      .profile-hero-grid > div:first-child {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: clamp(10px, 1.3vh, 16px);
      }
      .profile-hero-grid > div:first-child > .eyebrow,
      .profile-hero-grid > div:first-child > h1,
      .profile-hero-grid > div:first-child > .profile-role-label,
      .profile-hero-grid > div:first-child > .hero-copy {
        margin: 0;
      }
      .profile-hero .hero-copy { line-height: 1.7; }
      .profile-hero-grid > div:first-child > .button { margin-top: auto; }
      .profile-monogram-panel { min-height: 320px; align-self: start; margin-top: clamp(30px, 4.5vh, 38px); }
      .profile-monogram { width: 148px; }
    }

/* Shared service detail layout */
main#main-content{display:block;color:var(--ink);background:var(--cream)}
.service-hero{height:auto!important;min-height:calc(100svh - var(--header-flow-height,130px))!important;padding:clamp(48px,7vh,92px) 0!important;color:var(--white);background:radial-gradient(circle at 77% 42%,rgba(46,54,143,.64),transparent 37%),linear-gradient(125deg,var(--navy) 0%,#181e48 58%,#2b3281 100%);overflow:hidden}
.service-hero::before,.service-hero::after{display:none;content:none}
.service-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(330px,.85fr);align-items:center;gap:clamp(40px,7vw,110px)}
.service-hero .eyebrow{color:#e0e1ff}.service-hero h1{max-width:760px;margin-bottom:24px;font-size:clamp(2.8rem,5.4vw,5.2rem)}
.service-hero .hero-copy{max-width:700px;color:rgba(255,255,255,.78);font-size:clamp(1.08rem,1.55vw,1.28rem)}
.service-actions,.service-close-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}.service-hero .button-ghost{border-color:rgba(255,255,255,.58);color:var(--white)}
.service-image-frame{position:relative;min-width:0;height:clamp(340px,39vw,560px);margin:0;overflow:hidden;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.06);box-shadow:0 24px 70px rgba(0,0,0,.22)}
.service-image-frame img{width:100%;height:100%;object-fit:cover;object-position:center}.service-image-frame figcaption{position:absolute;inset:auto 0 0;padding:40px 22px 17px;color:rgba(255,255,255,.9);background:linear-gradient(transparent,rgba(10,13,32,.82));font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.service-content{display:block!important;min-height:0!important;padding:clamp(64px,8vh,110px) 0!important;background:var(--cream)}
.service-content-head{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);align-items:end;gap:clamp(35px,8vw,120px);margin-bottom:46px}.service-content-head h2{max-width:760px;margin-bottom:0;color:var(--navy)}.service-content-head .lead{margin:0;color:#555865}
.service-content-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);align-items:start;gap:clamp(34px,7vw,100px)}.service-story p{color:#555865}.service-story p.lead{color:#3e414c}
.service-topics{margin:0;padding:0;list-style:none}.service-topics li{padding:15px 0;border-top:1px solid var(--line);color:#555865}.service-topics li:last-child{border-bottom:1px solid var(--line)}
.service-aside{padding:clamp(24px,3.3vw,38px);background:var(--white);border-top:2px solid var(--red);box-shadow:0 10px 28px rgba(17,21,47,.06)}.service-aside h3{margin-bottom:20px;color:var(--navy)}.service-aside .eyebrow{margin-bottom:12px}.service-aside .eyebrow::before{display:none}.service-aside-note{margin:20px 0 0;color:#666976;font-size:.88rem}
.service-close{padding:clamp(52px,7vw,88px) 0;color:var(--white);background:var(--navy)}.service-close-inner{display:grid;grid-template-columns:1fr auto;align-items:center;gap:36px}.service-close .eyebrow{color:#d8dafa}.service-close h2{max-width:740px;margin-bottom:12px}.service-close p:not(.eyebrow){max-width:760px;margin-bottom:0;color:rgba(255,255,255,.72)}.service-close-actions{margin-top:0}.service-close-actions .button-ghost{border-color:rgba(255,255,255,.5)}
@media(max-width:1060px){.service-hero-grid{grid-template-columns:minmax(0,1.05fr) minmax(270px,.85fr);gap:34px}.service-image-frame{height:clamp(320px,42vw,470px)}.service-content-grid{grid-template-columns:minmax(0,1.1fr) minmax(250px,.8fr)}}
@media(max-width:760px){.service-hero{min-height:auto!important;padding:42px 0 54px!important}.service-hero-grid,.service-content-head,.service-content-grid,.service-close-inner{grid-template-columns:minmax(0,1fr);gap:28px}.service-hero h1{font-size:clamp(2.7rem,12vw,4rem)}.service-image-frame{height:min(78vw,420px);min-height:250px}.service-content{padding:52px 0!important}.service-content-head{margin-bottom:32px}.service-close{padding:48px 0}}


/* Requested refinements for all service pages */
.service-hero .button-ghost:hover,.service-hero .button-ghost:focus-visible{color:var(--navy);background:var(--white);border-color:var(--white)}
.service-image-frame .service-image-watermark{position:absolute;z-index:2;top:20px;left:20px;width:clamp(112px,14vw,168px);height:auto;object-fit:contain;opacity:.42;pointer-events:none;filter:drop-shadow(0 1px 3px rgba(0,0,0,.16))}
.service-image-frame figcaption{inset:auto 0 0;padding:40px 22px 17px;text-align:left}
.service-content-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);align-items:start;gap:clamp(34px,7vw,100px)}
.service-content-main{min-width:0}.service-content-head{display:block;margin-bottom:28px}.service-content-head h2{max-width:760px;margin-bottom:0;color:var(--navy)}
.service-story .service-summary{margin-bottom:24px;color:#3e414c;font-size:clamp(1.08rem,1.6vw,1.3rem);line-height:1.75}.service-content-layout>.service-aside{margin-top:0}
@media(max-width:1060px){.service-content-layout{grid-template-columns:minmax(0,1.1fr) minmax(250px,.8fr);gap:34px}}
@media(max-width:760px){.service-content-layout{grid-template-columns:minmax(0,1fr);gap:28px}}
