/* ============================================================
   Sue's Closet — shared site styles
   Used by every page. Page-specific rules live in css/<page>.css
   ============================================================ */

:root {
  --navy:#0032a0;
  --blue:#1b75bc;
  --sky:#27aae1;
  --green:#006838;
  --lime:#8dc63f;
  --pink:#ee2a7b;
  --pink-soft:#f173ac;
  --ink:#111111;
  --ink-soft:#333333;
  --ink-mid:#555555;
  --border:#dddddd;
  --border-soft:#eeeeee;
  --surface:#ffffff;
  --surface-mute:#f4f4f4;
  --maxw:1180px; --gutter:1.25rem;
  --sans:'Open Sans',system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --serif:'Playfair Display','Georgia',serif;
}

/* ---- Base ---- */
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body{font-family:var(--sans);background:var(--surface);color:var(--ink);font-size:19px;line-height:1.55;font-weight:400}
img{max-width:100%;display:block}
a{color:var(--navy);text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:3px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--pink);outline-offset:2px}
.container{max-width:var(--maxw);margin:0 auto;padding:0 var(--gutter)}
.serif{font-family:var(--serif)}
.hidden{display:none !important}

/* ---- Buttons ---- */
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.85rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;border:2px solid transparent;cursor:pointer;font-family:var(--sans);text-decoration:none;line-height:1.2;min-height:48px;letter-spacing:.02em;text-transform:uppercase;white-space:nowrap}
.btn:hover{text-decoration:none}
.btn-primary{background:var(--navy);color:#fff;border-color:var(--navy)}
.btn-primary:hover{background:#001f6b;border-color:#001f6b}
.btn-accent{background:var(--pink);color:#fff;border-color:var(--pink)}
.btn-accent:hover{background:#c9195f;border-color:#c9195f}
.btn-ghost{background:#fff;color:var(--navy);border-color:var(--navy)}
.btn-ghost:hover{background:var(--navy);color:#fff}
/* On navy backgrounds */
.btn-invert{background:#fff;color:var(--navy);border-color:#fff}
.btn-invert:hover{background:#e0e8f8;border-color:#e0e8f8;color:var(--navy)}

/* ---- Top strip ---- */

/* ---- Scrolling notice strip ---- */
.notice-strip{background:var(--pink);color:#fff;padding:.75rem 0;font-size:1rem;font-weight:600;overflow:hidden}
.notice-strip:hover .notice-track{animation-play-state:paused}
.notice-track{display:flex;width:max-content;animation:notice-scroll 40s linear infinite;gap:4rem}
.notice-item{display:inline-flex;align-items:center;justify-content:center;gap:.75rem;min-width:100vw;flex-shrink:0;line-height:1.35;letter-spacing:.14em}
.notice-item svg{flex-shrink:0}
@keyframes notice-scroll{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
@media (prefers-reduced-motion:reduce){
  .notice-track{animation:none;justify-content:center;width:100%}
  .notice-item:not(:first-child){display:none}
}

/* ---- Nav ---- */
.nav-wrap{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100}
.nav{display:flex;align-items:center;justify-content:space-between;padding:1rem 0;gap:1rem;flex-wrap:wrap}
.nav-brand{display:flex;align-items:center;text-decoration:none}
.nav-brand:hover{text-decoration:none}
.nav-brand img{height:7.3rem;width:auto;display:block;max-width:100%}
.nav-toggle{display:none;background:none;border:none;color:var(--navy);cursor:pointer;padding:.5rem;margin:-.5rem;line-height:0}
.nav-links{display:flex;gap:2rem;align-items:center}
.nav-link,.nav-links .btn{font-family:var(--sans);font-size:1.25rem;font-weight:600;letter-spacing:0;text-transform:none;white-space:nowrap;line-height:1.2}
.nav-link{color:var(--navy);text-decoration:none}
.nav-link:hover{text-decoration:underline}
.nav-link[aria-current="page"]{border-bottom:2.5px solid var(--sky);padding-bottom:3px}
.nav-links .btn{padding:.7rem 1.35rem;min-height:44px}
.nav-menu{display:flex;gap:1.5rem;align-items:center;list-style:none}
.nav-menu a{font-size:1rem;font-weight:600;color:var(--ink-soft)}
.nav-menu a:hover{color:var(--navy)}
.nav-menu a[aria-current="page"]{color:var(--navy);border-bottom:2px solid var(--pink);padding-bottom:2px}

/* ---- Photo slot + placeholder ---- */
.photo{position:relative;aspect-ratio:4/3;background:var(--surface-mute);overflow:hidden}
.photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:2}
.photo-fallback{position:absolute;inset:0;display:grid;place-items:center;color:#b0b0b0;z-index:1}
.photo-fallback svg{width:38%;height:38%;max-width:80px;max-height:80px}

/* ---- Section heading ---- */
.section-title{padding:1.5rem 0 .75rem;font-family:var(--serif);font-size:1.35rem;color:var(--navy);font-weight:600}

/* ---- Visit band (navy CTA) ---- */
.visit{background:var(--navy);color:#fff;padding:2.5rem 0;margin-top:1rem}
.visit .container{display:grid;grid-template-columns:1.4fr 1fr;gap:2rem;align-items:center}
.visit h2{font-family:var(--serif);font-size:clamp(1.75rem,3.4vw,2.25rem);line-height:1.2;margin-bottom:.75rem;font-weight:600;letter-spacing:-.005em}
.visit p{color:#e0e8f8;font-size:1.05rem;line-height:1.55}
.visit-facts{background:rgba(255,255,255,.1);border-radius:14px;padding:1.25rem 1.5rem;color:#fff}
.visit-facts dt{font-size:.8rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#bfd4ff;margin-top:.75rem}
.visit-facts dt:first-child{margin-top:0}
.visit-facts dd{font-size:1.05rem;margin-top:.25rem}
.visit-actions{margin-top:1rem}

/* ---- Footer ---- */
.footer{background:var(--navy);color:#e0e8f8;padding:2.5rem 0 1.5rem;border-top:1px solid rgba(255,255,255,.1)}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:2rem;margin-bottom:2rem}
.footer-brand img{height:3.25rem;width:auto;display:block;filter:brightness(0) invert(1)}
.footer-col h4{font-size:.85rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#bfd4ff;margin-bottom:.75rem}
.footer-col ul{list-style:none}
.footer-col li{margin-bottom:.5rem;font-size:1rem}
.footer-col a{color:#fff}
.footer-bottom{padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.15);display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;font-size:.9rem;color:#bfd4ff}

/* ---- Responsive ---- */
@media (max-width:900px){
  .visit .container{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr;gap:2rem}
}
@media (max-width:640px){
  body{font-size:18px}
  .footer-grid{grid-template-columns:1fr}
  .nav-menu{display:none}
  .nav-brand img{height:5rem}
}

/* ---- Header menu: collapse to a hamburger when the row runs out ----
   940px, not a phone breakpoint: the logo is 400px wide and the four tabs
   another 468, so the row needs ~923px including gutters. Below that the
   tabs wrap underneath the logo, which reads as broken rather than
   responsive. Re-measure this if either side changes. */
@media (max-width:940px){
  .nav-toggle{display:inline-flex}
  .nav-links{
    display:none;
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:.5rem 0 .25rem;
    order:3
  }
  .nav-links.open{display:flex}
  .nav-link{padding:.85rem .1rem;border-bottom:1px solid var(--border-soft)}
  .nav-link[aria-current="page"]{padding-bottom:.85rem}
  .nav-links .btn{width:100%;justify-content:center;margin-top:.75rem}
}
