/* Oct 15 2026: finishing layer for marshalllambert.com. Loaded last on every page, CSS only.
   Brand colors and fonts are unchanged; this adds depth, tidies edges and fixes small-screen crowding. */

/* Phone header: the name no longer runs under the Search button */
@media (max-width:520px){
  .top .wrap{gap:10px}
  .brand{gap:9px;min-width:0}
  .brand img{width:40px}
  .brand span{font-size:16.5px;letter-spacing:.02em;line-height:1.02;white-space:normal;max-width:6.2em}
  .brand small{font-size:10px;letter-spacing:.18em}
  .srch,.menu-btn{padding-inline:12px}
}
@media (max-width:360px){.brand span{font-size:13.5px}.brand img{width:30px}.brand{gap:7px}.srch,.menu-btn{font-size:12px;padding-inline:9px}.top .wrap{gap:6px}}

/* Home hero: the photo runs to the screen edge on wide screens, no dark strip beside it */
@media (min-width:901px){
  .hero{overflow-x:clip}
  .hero-photo{margin-right:calc(-1 * clamp(16px,4vw,40px) - max(0px,(100vw - 1180px) / 2))}
}

/* Inner page headers: soft light, fine gold edge */
.phero{isolation:isolate}
.phero::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(60% 90% at 88% 0%,rgba(79,163,154,.28),transparent 70%),
             radial-gradient(40% 60% at 6% 100%,rgba(217,165,32,.10),transparent 70%)}
.phero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(217,165,32,.75) 30%,rgba(217,165,32,.75) 70%,transparent)}

/* Main gold button: a little depth, same gold */
.btn.gold{background-image:linear-gradient(180deg,#E3B230,#D9A520);box-shadow:0 1px 0 rgba(255,255,255,.35) inset,0 6px 16px -8px rgba(3,36,34,.55)}
@media (hover:hover) and (pointer:fine){.btn.gold:hover{background-image:linear-gradient(180deg,#EDBE42,#E5B33A);box-shadow:0 1px 0 rgba(255,255,255,.4) inset,0 10px 22px -10px rgba(3,36,34,.6)}}

/* Photos: even corners and a quiet shadow on the mosaics and cards */
.mosaic figure,.card .img{border-radius:6px;overflow:hidden}
.mosaic.trip figure{box-shadow:0 10px 24px -16px rgba(3,36,34,.55)}
.mosaic figure img{transition:transform .6s ease}
@media (hover:hover) and (pointer:fine){.mosaic figure:hover img{transform:scale(1.04)}}

/* Small refinements */
::selection{background:#D9A520;color:#032422}
a{text-underline-offset:.18em}
:focus-visible{outline:3px solid #D9A520;outline-offset:3px;border-radius:3px}
img{-webkit-font-smoothing:antialiased}
@media (prefers-reduced-motion:reduce){.mosaic figure img,.btn.gold{transition:none}.mosaic figure:hover img{transform:none}}

/* Oct 19 2026: Apple HIG check (apple-design skill). Comfortable tap areas and nothing under 12px on phones. */
footer nav{row-gap:0}
footer nav a{display:inline-flex;align-items:center;min-height:44px}
.brand small{font-size:12px}
@media (max-width:520px){.brand small{font-size:12px;letter-spacing:.12em}}
@media (max-width:360px){.brand small{font-size:12px;letter-spacing:.06em}}
.klines .kl span,#nextEvent .nev-clock span{font-size:12px}
input[type="checkbox"]{width:24px;height:24px;accent-color:var(--deep,#0C4643);flex:none}
.klines{padding-block:12px}.klines .kl{padding-block:10px}

/* Oct 19 2026: sections that slide in never cause a sideways scroll on small phones */
main{overflow-x:clip}
.times small a,.times span a{display:inline-block;padding-block:12px;margin-block:-12px}
button.copy{min-height:44px;min-width:56px}
