/* Honest Bob Co: one stylesheet, mobile-first. Brand: navy, gold, cream. */
@font-face{font-family:"Nunito";src:url("../fonts/nunito-extrabold.woff2") format("woff2");font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:"Nunito Sans";src:url("../fonts/nunitosans-regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Nunito Sans";src:url("../fonts/nunitosans-extrabold.woff2") format("woff2");font-weight:800;font-style:normal;font-display:swap}

:root{
  --navy:#14284b; --navy-2:#1d3763; --gold:#c9993a; --gold-light:#efd9a6;
  --gold-text:#7a5510; /* gold dark enough for text on cream */
  --cream:#fbf6ea; --paper:#fff; --ink:#1c2230; --muted:#4a5264;
  --radius:14px; --shadow:0 2px 10px rgba(20,40,75,.10);
  --head:"Nunito",ui-rounded,"Segoe UI",system-ui,sans-serif;
  --body:"Nunito Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;font-family:var(--body);font-size:1.0625rem;line-height:1.6;color:var(--ink);background:var(--cream)}
img{max-width:100%;height:auto;display:block}
h1,h2,h3{font-family:var(--head);font-weight:800;line-height:1.15;color:var(--navy);margin:0 0 .5em}
h1{font-size:clamp(2rem,7vw,3.25rem)}
h2{font-size:clamp(1.5rem,4.5vw,2.1rem)}
h3{font-size:1.2rem}
p{margin:0 0 1em}
a{color:var(--navy);text-decoration-thickness:2px;text-underline-offset:3px}
a:hover{color:var(--gold-text)}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:4px}
.wrap{width:100%;max-width:1160px;margin:0 auto;padding:0 1.25rem}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:1rem;top:-100px;background:var(--gold);color:var(--navy);padding:.6rem 1rem;border-radius:8px;font-weight:800;z-index:10}
.skip-link:focus{top:.75rem}

/* Header */
.site-header{background:var(--navy);border-bottom:5px solid var(--gold)}
.header-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.35rem 1rem;padding-top:.7rem;padding-bottom:.7rem}
.brand{display:flex;align-items:center;gap:.55rem;color:#fff;text-decoration:none;font-family:var(--head);font-weight:800;font-size:1.3rem}
.brand img{width:22px;height:auto}
.brand:hover{color:var(--gold-light)}
.nav{list-style:none;display:flex;gap:.25rem;margin:0;padding:0}
.nav a{display:block;color:#fff;text-decoration:none;font-weight:800;padding:.5rem .7rem;border-radius:8px;font-size:1rem}
.nav a:hover{background:var(--navy-2);color:var(--gold-light)}
.nav a[aria-current="page"]{color:var(--gold-light);box-shadow:inset 0 -3px 0 var(--gold)}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.65rem 1.2rem;border-radius:999px;background:var(--navy);color:#fff;font-weight:800;text-decoration:none;border:2px solid var(--navy);line-height:1.2;text-align:center}
.btn:hover{background:var(--navy-2);color:var(--gold-light)}
.btn-gold{background:var(--gold);border-color:var(--gold);color:var(--navy)}
.btn-gold:hover{background:var(--gold-light);border-color:var(--gold-light);color:var(--navy)}
.btn-ghost{background:transparent;border-color:var(--gold-light);color:#fff}
.btn-ghost:hover{background:var(--navy-2);color:var(--gold-light)}
.btn-outline{background:transparent;color:var(--navy)}
.btn-outline:hover{background:var(--navy);color:#fff}
.btn-row{display:flex;flex-wrap:wrap;gap:.75rem}
.btn-row-center{justify-content:center}

/* Hero */
.hero{background:var(--navy);color:#fff;border-bottom:8px solid var(--gold);overflow:hidden}
.hero-inner{display:grid;gap:1rem;padding-top:2.25rem;padding-bottom:2rem;align-items:center}
.hero h1{color:#fff}
.kicker{display:inline-block;background:var(--gold);color:var(--navy);font-family:var(--head);font-weight:800;font-size:.9rem;letter-spacing:.06em;text-transform:uppercase;padding:.3rem .8rem;border-radius:999px;margin-bottom:1rem}
.kicker-dark{background:var(--navy);color:var(--gold-light)}
.lead{font-size:1.15rem;max-width:40em}
.hero .lead{color:var(--cream)}
.hero-bob{justify-self:center;order:-1}
.hero-bob img{width:140px}

/* Sections */
.section{padding:2.75rem 0}
.section-head{max-width:46em;margin-bottom:1.5rem}
.section-head p{color:var(--muted)}
.section-dark{background:var(--navy)}
.section-dark .section-head h2{color:#fff}
.section-dark .section-head p{color:var(--cream)}
.more{margin:1.75rem 0 0;text-align:center}
.page-hero{background:var(--paper);border-bottom:1px solid #eadfc4;padding:2.25rem 0 1.75rem}
.page-hero .lead{color:var(--muted)}

/* Cards */
.grid{list-style:none;margin:0;padding:0;display:grid;gap:1.25rem;grid-template-columns:1fr}
.card{background:var(--paper);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column;border:1px solid #eadfc4}
.card img{width:100%;aspect-ratio:4/3;object-fit:cover;background:#f3ecdb;border-bottom:1px solid #eadfc4}
.grid-merch .card img{aspect-ratio:1/1}
.card-body{padding:1rem 1.1rem 1.2rem;display:flex;flex-direction:column;flex:1}
.card-body p{color:var(--muted);flex:1;margin-bottom:1rem}
.card-title{font-size:1.2rem;margin-bottom:.35rem}
.card .btn{align-self:flex-start}
.section-dark .card{border-color:var(--navy-2)}
.subhead{color:var(--gold-light);font-size:1.35rem;margin:2.5rem 0 1rem;padding-top:1.5rem;border-top:2px solid var(--navy-2)}

/* Topic jump links */
.jump ul{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0 0;padding:0}
.jump a{display:inline-block;padding:.45rem .9rem;border-radius:999px;border:2px solid var(--navy);text-decoration:none;font-weight:800;font-size:.95rem;min-height:44px;line-height:1.6}
.jump a:hover{background:var(--navy);color:#fff}
.group{scroll-margin-top:1rem}
.group + .group{padding-top:.5rem}

/* Teaser */
.teaser{background:var(--paper);border:3px solid var(--gold);border-radius:var(--radius);padding:1.5rem 1.25rem;box-shadow:var(--shadow);max-width:52em;margin:0 auto}
.teaser{display:flex;flex-direction:column-reverse;align-items:center;gap:1rem}
.teaser-bob img{width:110px}
.teaser-note{color:var(--muted);font-style:normal;font-weight:800;margin-bottom:0}

/* About */
.about-hero{display:grid;gap:1.25rem;align-items:center}
.about-bob{width:180px;justify-self:center}
.prose{max-width:44em}
.prose h2{margin-top:2rem;font-size:1.6rem}
.prose h2:first-child{margin-top:0}
.callout{background:var(--paper);border-left:6px solid var(--gold);border-radius:8px;padding:1.1rem 1.2rem;margin:2rem 0;box-shadow:var(--shadow)}
.callout h2{margin-top:0;font-size:1.25rem}
.callout p:last-child{margin-bottom:0}
.disclaimer{color:var(--muted);font-size:.95rem;text-align:center;max-width:44em;margin:0 auto}

/* 404 */
.notfound{text-align:center;max-width:40em}
.notfound img{width:150px;margin:0 auto 1rem}
.notfound .lead{margin-left:auto;margin-right:auto}

/* Footer */
.site-footer{background:var(--navy);color:var(--cream);border-top:6px solid var(--gold);padding:2rem 0 2.25rem;text-align:center}
.footer-tagline{font-family:var(--head);font-weight:800;font-size:1.35rem;color:var(--gold-light);margin-bottom:.75rem}
.footer-links{list-style:none;padding:0;margin:0 0 1rem;display:flex;flex-wrap:wrap;justify-content:center;gap:.25rem 1rem}
.footer-links a{color:#fff;display:inline-block;padding:.4rem .25rem;overflow-wrap:anywhere}
.footer-links a:hover{color:var(--gold-light)}
.footer-note{font-size:.9rem;max-width:40em;margin:0 auto .75rem;color:#d9dce4}
.footer-copy{font-size:.9rem;margin:0;color:#d9dce4}

/* Tablet and up */
@media (min-width:600px){
  .grid{grid-template-columns:repeat(2,1fr)}
  .hero-bob img{width:170px}
  .teaser{padding:2rem 2.25rem;flex-direction:row;align-items:center;gap:2rem}
  .teaser-bob{flex:none}
  .teaser-bob img{width:140px}
}
@media (min-width:860px){
  .hero-inner{grid-template-columns:1fr auto;padding-top:3.5rem;padding-bottom:3rem;gap:2.5rem}
  .hero-bob{order:0}
  .hero-bob img{width:240px}
  .about-hero{grid-template-columns:1fr auto}
  .about-bob{width:220px}
  .section{padding:3.5rem 0}
}
@media (min-width:960px){
  .grid{grid-template-columns:repeat(3,1fr)}
  .grid-merch{grid-template-columns:repeat(5,1fr);gap:1rem}
  .grid-merch .card-title{font-size:1.05rem}
  .grid-merch .card-body{padding:.9rem .9rem 1rem}
  .grid-merch .card-body p{font-size:.95rem}
  .grid-merch .btn{padding:.55rem .9rem;font-size:.95rem}
  .grid-gifts{grid-template-columns:repeat(4,1fr);gap:1.25rem}
}
@media (min-width:1100px){
  .group .grid{grid-template-columns:repeat(4,1fr)}
}
