/* lex_v1.8: balanced brand, consistent mobile artwork and full card targets. */
header .home-symbol,footer .home-symbol {width:88px;height:38px}
header .wordmark,footer .wordmark {gap:13px;justify-self:start}

/* Each of these cards contains one native link. Extend that link to the card
   without adding JavaScript navigation or duplicate keyboard stops. */
.story,.lagoon-card,.service-row {position:relative;isolation:isolate}
.story h3 a::after,.lagoon-card h3 a::after,.service-row>a::after {
  content:"";position:absolute;inset:0;z-index:1;
}
.story:focus-within,.lagoon-card:focus-within,.service-row:focus-within {
  outline:2px solid #286d87;outline-offset:4px;
}
.story:hover h3 a,.lagoon-card:hover h3 a,.service-row:hover>a {
  text-decoration:underline;text-underline-offset:.22em;
}
.article-grid aside li a {display:block;min-height:44px;padding-block:8px}
.footer-links>a {display:inline-flex;align-items:center;min-height:44px}
.home-symbol,.home-name,.lagoon-photo,.editorial-art {pointer-events:none}
.mobile-menu {display:none;border:0;padding:0;margin:0}
@media(max-width:1200px){
  header {align-items:start}
  header .wordmark {align-self:start;z-index:2}
  header>.mobile-menu {
    display:block;grid-column:1 / -1;grid-row:1;width:100%;min-width:0;
    pointer-events:none;
  }
  .mobile-menu>summary {
    display:flex;align-items:center;justify-content:center;list-style:none;
    width:max-content;max-width:120px;min-height:48px;margin-left:auto;
    padding:8px 12px;border:1px solid var(--line);font-size:13px;
    cursor:pointer;pointer-events:auto;
  }
  .mobile-menu>summary::-webkit-details-marker {display:none}
  .mobile-menu .menu-close-label {display:none}
  .mobile-menu[open] .menu-open-label {display:none}
  .mobile-menu[open] .menu-close-label {display:inline}
  header .mobile-menu #mobile-main-nav {
    display:flex;flex-direction:column;align-items:stretch;gap:0;
    margin:16px 0 0;width:100%;padding:8px 0;border-top:1px solid var(--line);
    pointer-events:auto;
  }
  #mobile-main-nav a {display:flex;align-items:center;min-height:48px;padding:10px 0}
}

@media(max-width:850px){
  .page-hero.wrap,.article-head.wrap {padding-bottom:0}
  .page-hero::after,.article-head::after {
    display:block;position:relative;inset:auto;z-index:0;
    width:calc(100% + 48px);height:clamp(205px,55vw,320px);
    margin:28px -24px 0;
    background:url("home-atrium-v1.5.webp") 55% 59%/cover no-repeat;
    pointer-events:none;
  }
}
@media(max-width:650px){
  header .home-symbol,footer .home-symbol {width:76px;height:36px}
  header .home-name,footer .home-name {width:88px;height:42px}
  header .wordmark,footer .wordmark {gap:10px}
  header .wordmark {min-height:48px}
  .page-hero::after,.article-head::after {width:calc(100% + 40px);margin-inline:-20px}
}
@media(max-width:350px){
  header .home-symbol {width:72px}
  header .home-name {width:84px}
  header .wordmark {gap:8px}
  .mobile-menu>summary {position:relative;width:48px;max-width:none;padding:10px}
  .mobile-menu>summary span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .mobile-menu>summary::before {
    content:"";display:block;width:20px;height:14px;
    background:linear-gradient(to bottom,currentColor 0 2px,transparent 2px 6px,currentColor 6px 8px,transparent 8px 12px,currentColor 12px);
  }
  .mobile-menu[open]>summary::before {content:"×";height:24px;background:none;font:26px/24px Arial,sans-serif}
}
@media print {
  .page-hero::after,.article-head::after,.story h3 a::after,
  .lagoon-card h3 a::after,.service-row>a::after {display:none}
}
