.site-header { z-index: 10; }
.hero:has(.nav-disclosure[open]), .hero:has(.menu-toggle[aria-expanded="true"]), .hero:has(.mobile-menu.is-rolling-up) { overflow: visible; }
.hero-photo { overflow: hidden; }
.nav-disclosure { position: static; }
.nav-disclosure > summary { gap: 8px; }
.nav-chevron { font-size: 15px; transition: transform .18s; }
.nav-disclosure[open] .nav-chevron { transform: rotate(180deg); }
.nav-disclosure > summary[aria-expanded="false"] .nav-chevron { transform: none; }
.nav-disclosure > .mega-panel {
  top: calc(100% + 1px); left: 0; right: 0; width: 100%; min-width: 0;
  padding: 0; display: block; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink);
  box-shadow: 0 22px 45px #19130f30;
  max-height: min(800px, calc(100dvh - 140px)); overflow-y: auto;
  overscroll-behavior: contain;
}
.mega-panel a { white-space: normal !important; }
.mega-panel a::after { display: none; }
.mega-panel a:hover { color: var(--rust); }
.mega-panel a:focus-visible { outline-offset: 2px; }
.mega-intro {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 28px; border-bottom: 1px solid var(--line);
}
.mega-intro .eyebrow { max-width: 230px; color: var(--rust); font-size: 9px; }
.mega-intro > p:last-child { font: 32px/1.1 var(--serif); }
.mega-intro em, .mega-feature-title em { color: var(--rust); }
.mega-services-grid, .mega-reading-grid {
  display: grid; gap: 26px; padding: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.05fr);
}
.mega-reading-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 40px; }
.mega-column { min-width: 0; }
.mega-panel .mega-column-title {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font: 25px/1.1 var(--serif); padding: 0 0 15px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.mega-column-title svg { width: 17px; height: 17px; color: var(--rust); }
.mega-panel .mega-link { display: block; padding: 6px 0; }
.mega-link span { display: block; font-size: 13px; line-height: 1.4; font-weight: 500; }
.mega-link small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.4; margin-top: 3px; }
.mega-link:hover small { color: var(--ink); }
.mega-panel .mega-all-link { display: inline-flex; align-items: center; gap: 12px; color: var(--rust); margin-top: 14px; font-size: 11px; }
.mega-feature { background: #eae2d5; align-self: stretch; }
.mega-feature > img { width: 100%; height: 128px; object-fit: cover; object-position: 70% 46%; }
.mega-feature > div { padding: 22px; }
.mega-feature .eyebrow { font-size: 8px; color: var(--rust); margin-bottom: 16px; }
.mega-feature-title { font: 36px/1.05 var(--serif); }
.mega-feature-copy { font-size: 11px; line-height: 1.65; color: var(--muted); margin-top: 16px; }
.mega-panel .mega-feature-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 0; margin-top: 18px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 500; color: var(--rust); }
.mega-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); padding: 15px 28px; background: #eee7dc; font-size: 10px; color: var(--muted); }
.mega-panel .mega-bottom a { display: flex; align-items: center; gap: 15px; padding: 0; color: var(--rust); font-weight: 500; flex-shrink: 0; }
.mega-bottom svg { width: 15px; height: 15px; }
.menu-quick-contact { display: flex; align-items: center; gap: 16px; color: var(--ink); }
.menu-quick-contact .eyebrow { color: var(--rust); font-size: 8px; margin-bottom: 5px; }
.menu-phone-number { font-size: 13px; white-space: nowrap; }
.menu-contact-links { display: flex; gap: 8px; }
.menu-contact-links a, .mega-panel .menu-contact-links a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 9px 12px; border: 1px solid var(--line);
  background: var(--paper); color: var(--rust); font: 12px/1.3 var(--sans);
}
.menu-contact-links a:hover { background: var(--cream); }
.menu-contact-links svg { width: 16px; height: 16px; }
/* A paper sheet opens from the masthead; its ink sharpens as it settles. */
.nav-disclosure[open] > .mega-panel,
.site-header .mobile-menu:not([hidden]) {
  transform-origin: 50% 0;
  animation: newspaper-unroll 900ms cubic-bezier(.22,.75,.2,1) backwards;
  isolation: isolate;
}
.nav-disclosure[open] > .mega-panel::before,
.site-header .mobile-menu:not([hidden])::before {
  content: ''; position: absolute; z-index: 2; pointer-events: none;
  left: 0; right: 0; top: 100%; height: 48px;
  transform: translateY(-100%); opacity: 0;
  background: linear-gradient(180deg, transparent, #17171714 42%, #ffffff45 66%, #17171720 100%);
  animation: newspaper-fold 900ms cubic-bezier(.22,.75,.2,1);
}
.nav-disclosure[open] .mega-intro,
.nav-disclosure[open] .mega-column,
.nav-disclosure[open] .mega-feature > div,
.nav-disclosure[open] .mega-bottom,
.mobile-menu:not([hidden]) > :not(.mobile-group),
.mobile-menu:not([hidden]) .mobile-group > summary,
.mobile-menu:not([hidden]) .mobile-group[open] > div {
  animation: newspaper-ink 650ms ease-out both;
  animation-delay: 120ms;
}
.nav-disclosure[open] .mega-column:nth-child(2) { animation-delay: 180ms; }
.nav-disclosure[open] .mega-column:nth-child(3),
.nav-disclosure[open] .mega-feature > div { animation-delay: 240ms; }
.nav-disclosure[open] .mega-bottom,
.mobile-menu:not([hidden]) > .mobile-menu-bottom { animation-delay: 320ms; }
.mega-panel a:focus-visible,
.mobile-menu a:focus-visible { filter: none; }
.nav-disclosure[open] > .mega-panel.is-rolling-up,
.site-header .mobile-menu.is-rolling-up {
  animation: newspaper-roll-up 650ms cubic-bezier(.4,0,.6,1) both;
  pointer-events: none;
  z-index: 19;
}
.nav-disclosure[open] > .mega-panel.is-rolling-up::before,
.site-header .mobile-menu.is-rolling-up::before {
  animation: newspaper-fold-up 650ms cubic-bezier(.4,0,.6,1) both;
}
.nav-disclosure[open] .is-rolling-up .mega-intro,
.nav-disclosure[open] .is-rolling-up .mega-column,
.nav-disclosure[open] .is-rolling-up .mega-feature > div,
.nav-disclosure[open] .is-rolling-up .mega-bottom,
.mobile-menu.is-rolling-up > :not(.mobile-group),
.mobile-menu.is-rolling-up .mobile-group > summary,
.mobile-menu.is-rolling-up .mobile-group[open] > div {
  animation: newspaper-ink-soften 500ms ease-in both;
}
@keyframes newspaper-roll-up {
  0% { clip-path: inset(0); transform: none; }
  25% { clip-path: inset(0 0 12%); transform: perspective(1400px) rotateX(-1deg); }
  60% { clip-path: inset(0 0 55%); transform: perspective(1400px) rotateX(5deg); }
  100% { clip-path: inset(0 0 100%); transform: perspective(1400px) rotateX(-14deg); }
}
@keyframes newspaper-fold-up {
  0% { top: 100%; opacity: 0; }
  25% { top: 88%; opacity: .35; }
  60% { top: 45%; opacity: .65; }
  100% { top: 0; opacity: .85; }
}
@keyframes newspaper-ink-soften {
  from { filter: blur(0); opacity: 1; transform: none; }
  to { filter: blur(5px); opacity: .25; transform: translateY(8px); }
}
@keyframes newspaper-unroll {
  0% { clip-path: inset(0 0 94%); transform: perspective(1400px) rotateX(-14deg); }
  40% { clip-path: inset(0 0 55%); transform: perspective(1400px) rotateX(5deg); }
  75% { clip-path: inset(0 0 12%); transform: perspective(1400px) rotateX(-1deg); }
  100% { clip-path: inset(0); transform: none; }
}
@keyframes newspaper-fold {
  0% { top: 6%; opacity: .85; }
  40% { top: 45%; opacity: .65; }
  75% { top: 88%; opacity: .35; }
  100% { top: 100%; opacity: 0; }
}
@keyframes newspaper-ink {
  from { filter: blur(5px); opacity: .25; transform: translateY(8px); }
  to { filter: blur(0); opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .is-rolling-up, .is-rolling-up::before, .is-rolling-up * { animation: none !important; }
  .nav-disclosure[open] > .mega-panel,
  .site-header .mobile-menu:not([hidden]),
  .nav-disclosure[open] .mega-intro,
  .nav-disclosure[open] .mega-column,
  .nav-disclosure[open] .mega-feature > div,
  .nav-disclosure[open] .mega-bottom,
  .mobile-menu:not([hidden]) > :not(.mobile-group),
  .mobile-menu:not([hidden]) .mobile-group > summary,
  .mobile-menu:not([hidden]) .mobile-group[open] > div { animation: none; }
  .nav-disclosure[open] > .mega-panel::before,
  .site-header .mobile-menu:not([hidden])::before { display: none; }
  .nav-chevron { transition: none; }
}
@media (min-width: 901px) and (max-width: 1199px) {
  .site-header { gap: 20px; }
  .desktop-nav { gap: 17px; }
  .brand { gap: 15px; }
  .brand-name { padding-left: 15px; font-size: 25px; }
  .header-cta { padding: 8px 15px; gap: 15px; }
  .mega-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega-services-grid > .mega-feature { display: none; }
  .mega-reading-grid { gap: 25px; }
  .mega-bottom { flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .site-header .mobile-menu {
    display: block; top: 100%; left: 0; right: 0;
    max-height: calc(100dvh - 118px); width: 100%; padding: 24px;
    overflow-y: auto; overscroll-behavior: contain;
    background: var(--paper); color: var(--ink); box-shadow: 0 18px 35px #19130f35;
    border: 1px solid var(--line);
  }
  .mobile-menu > .eyebrow { color: var(--rust); margin-bottom: 20px; font-size: 8px; }
  .mobile-menu > a, .mobile-group > summary {
    display: flex; justify-content: space-between; align-items: center;
    font: 30px/1.2 var(--serif); padding: 14px 0;
    border-bottom: 1px solid var(--line); cursor: pointer; list-style: none;
  }
  .mobile-group > summary::-webkit-details-marker { display: none; }
  .mobile-group > summary span { color: var(--rust); font: 24px var(--sans); }
  .mobile-group[open] > summary { color: var(--rust); }
  .mobile-group[open] > summary span { transform: rotate(45deg); }
  .mobile-group > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding: 22px 0; }
  .mobile-link-group { display: grid; align-content: start; gap: 10px; }
  .mobile-group a { font: 12px/1.4 var(--sans); padding: 4px 0; }
  .mobile-menu .mobile-group-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 22px var(--serif); color: var(--rust); margin-bottom: 8px; }
  .mobile-menu a:hover { color: var(--rust); }
  .mobile-menu-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 25px; }
  .mobile-menu-bottom .button { font-size: 13px; padding: 12px 17px; }
  .mobile-menu-bottom .mobile-menu-links { display: flex; align-items: center; gap: 18px; font: 12px var(--sans); white-space: nowrap; }
  .mobile-menu .menu-quick-contact { margin-top: 24px; flex-wrap: wrap; gap: 14px; }
  .mobile-menu .menu-contact-links { width: 100%; }
  .mobile-menu .menu-contact-links a { flex: 1; }
}
@media (max-width: 500px) {
  .site-header .mobile-menu { padding: 22px 20px; }
  .mobile-menu-bottom { flex-wrap: wrap; gap: 16px 20px; }
  .mobile-menu-bottom .button { flex: 1 1 100%; justify-content: center; }
  .mobile-menu-bottom .mobile-menu-links { flex: 1 1 100%; justify-content: space-between; }
  .mobile-group > div { grid-template-columns: 1fr; gap: 22px; }
}
