/* =============================================================
   Pocket Guardians — BB Designs Europe Ltd
   Brand stylesheet
   ============================================================= */

:root {
  --ink:        #0A2038;
  --ink-deep:   #061525;
  --ink-soft:   #1B3A5C;
  --cream:      #FBF6EC;
  --cream-2:    #F4EBDA;
  --paper:      #FFFDF8;
  --gold:       #B0873F;
  --gold-soft:  #DCC59A;
  --rule:       #E3D9C6;
  --body:       #4A4438;
  --muted:      #7A7263;

  --sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --hand: "Caveat", "Bradley Hand", cursive;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -28px rgba(10, 32, 56, .45);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.12; font-weight: 600; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--cream); padding: .8rem 1.2rem; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- type ---------- */
.display { font-family: var(--display); font-optical-sizing: auto; font-weight: 500; letter-spacing: -.005em; }
h1.display { font-size: clamp(2.4rem, 6vw, 3.9rem); }
h2.display { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h3.display { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--body); max-width: 58ch; }
.hand { font-family: var(--hand); font-size: 1.6rem; line-height: 1.25; color: var(--ink); }
.kicker {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin: 0 0 .9rem;
}
.small { font-size: .9rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font: 600 .95rem/1 var(--sans); letter-spacing: .01em;
  padding: .95rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: #143050; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

/* ---------- announcement + header ---------- */
.announce {
  background: var(--ink); color: #EADFC7;
  font-size: .76rem; letter-spacing: .13em; text-transform: uppercase;
}
.announce .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-block: .6rem; }
.announce span:last-child { color: #B9C6D6; }
@media (max-width: 640px) { .announce span:last-child { display: none; } }

.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 246, 236, .93);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.head-inner { display: flex; align-items: center; gap: 1.5rem; padding-block: .9rem; }
.brand { flex: 0 0 auto; }
.brand img { width: clamp(128px, 15vw, 168px); height: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem;
  padding-block: .35rem; border-bottom: 2px solid transparent;
}
.nav a:hover { border-color: var(--gold); }
.nav a[aria-current="page"] { border-color: var(--ink); }
.head-tools { display: flex; align-items: center; gap: .9rem; margin-left: .5rem; }
.icon-btn {
  background: none; border: 0; padding: .35rem; cursor: pointer; color: var(--ink);
  display: inline-flex; align-items: center; position: relative;
}
.icon-btn svg { width: 21px; height: 21px; }
.bag-count {
  position: absolute; top: -2px; right: -6px; min-width: 17px; height: 17px;
  background: var(--ink); color: var(--cream); border-radius: 999px;
  font-size: .66rem; font-weight: 700; display: grid; place-items: center; padding-inline: 4px;
}
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: auto 0 0 0; top: 0; height: 100dvh;
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.4rem; background: var(--cream); padding: 2rem var(--gutter);
    transform: translateX(100%); transition: transform .3s ease; z-index: 120;
  }
  .nav[data-open="true"] { transform: none; }
  .nav a { font-size: 1.5rem; font-family: var(--display); }
  .nav-close { position: absolute; top: 1.4rem; right: var(--gutter); }
}
@media (min-width: 901px) { .nav-close { display: none; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; }
.hero h1 { margin-bottom: .6rem; }
.hero .lede { max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-figure { position: relative; }
.hero-figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.hero-note { position: absolute; right: -.5rem; bottom: -1.6rem; transform: rotate(-4deg); text-align: center; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-note { position: static; transform: none; margin-top: 1rem; text-align: left; }
}

/* ---------- value strip ---------- */
.strip { background: var(--cream-2); border-block: 1px solid var(--rule); }
.strip ul {
  list-style: none; margin: 0; padding: clamp(1.4rem, 3vw, 2rem) 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 2rem;
}
.strip li { text-align: center; }
.strip b { display: block; color: var(--ink); font-size: .95rem; font-weight: 600; margin-bottom: .15rem; }
.strip span { font-size: .86rem; color: var(--muted); }
@media (max-width: 700px) { .strip ul { grid-template-columns: repeat(2, 1fr); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-head { text-align: center; max-width: 62ch; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #C9D5E2; }
.section--ink h2, .section--ink h3 { color: var(--cream); }

/* ---------- guardian roster (the signature moment) ---------- */
.roster {
  display: grid; gap: clamp(.5rem, 1.5vw, 1rem);
  grid-template-columns: repeat(4, 1fr);
}
.roster--nine { grid-template-columns: repeat(4, 1fr); }
@media (min-width: 1000px) { .roster--nine { grid-template-columns: repeat(8, 1fr); } }
@media (max-width: 640px) { .roster, .roster--nine { grid-template-columns: repeat(2, 1fr); } }

.guardian {
  --wash: var(--cream-2);
  position: relative; display: block; text-decoration: none; text-align: center;
  padding: 1.2rem .5rem 1.1rem; border-radius: var(--radius);
  transition: background .25s ease;
}
.guardian::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: var(--wash); opacity: 0; transition: opacity .25s ease;
}
.guardian > * { position: relative; }
.guardian:hover::before, .guardian:focus-visible::before { opacity: 1; }
.guardian img {
  width: 100%; max-width: 132px; margin: 0 auto .7rem;
  transition: transform .3s cubic-bezier(.2,.8,.3,1);
}
.guardian:hover img, .guardian:focus-visible img { transform: translateY(-7px) scale(1.04); }
.guardian b {
  display: block; font-family: var(--display); font-weight: 600; color: var(--ink);
  font-size: 1.02rem; letter-spacing: .01em;
}
.guardian span { display: block; font-size: .82rem; color: var(--muted); margin-top: .15rem; }

.roster-rare {
  margin-top: clamp(1.5rem, 3vw, 2.2rem); padding-top: clamp(1.5rem, 3vw, 2.2rem);
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 190px 1fr; gap: clamp(1.2rem, 4vw, 2.6rem); align-items: center;
}
.roster-rare img { width: 100%; }
.rare-tag {
  display: inline-block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--gold); border: 1px solid var(--gold-soft);
  padding: .3rem .7rem; border-radius: 999px; margin-bottom: .8rem;
}
@media (max-width: 640px) { .roster-rare { grid-template-columns: 1fr; text-align: center; }
  .roster-rare img { max-width: 170px; margin-inline: auto; } }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split-media { min-height: 320px; background-size: cover; background-position: center; }
.split-body { padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.split--tint { background: #E6EEF3; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split-media { min-height: 260px; } }

/* ---------- trio cards ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); }
@media (max-width: 820px) { .trio { grid-template-columns: 1fr; } }
.card {
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: clamp(1.2rem, 2.5vw, 1.7rem); display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { color: var(--muted); font-size: .95rem; }
.card-body .btn { align-self: flex-start; margin-top: auto; }

/* ---------- newsletter ---------- */
.signup { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 820px) { .signup { grid-template-columns: 1fr; } }
.signup form { display: flex; gap: .6rem; flex-wrap: wrap; }
.signup input[type=email], .field input, .field textarea, .field select {
  flex: 1 1 240px; padding: .9rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--rule); background: var(--paper); font: inherit; font-size: .95rem; color: var(--ink);
}
.field textarea { border-radius: var(--radius); resize: vertical; min-height: 130px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .7rem; }
.socials { display: flex; gap: .9rem; }
.socials a { color: var(--ink); display: inline-flex; }
.socials svg { width: 20px; height: 20px; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #A8B8C9; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot img { width: 150px; margin-bottom: 1rem; }
.site-foot h4 { color: var(--cream); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-foot a { text-decoration: none; font-size: .93rem; }
.site-foot a:hover { color: var(--cream); text-decoration: underline; }
.foot-base {
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; font-size: .82rem;
}
.site-foot .hand { color: #D9C79C; }

/* ---------- page header ---------- */
.page-head { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head .lede { margin-top: .6rem; }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- character page ---------- */
.char-hero { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(2rem, 5vw, 3.5rem); }
.char-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; }
@media (max-width: 820px) { .char-grid { grid-template-columns: 1fr; } }
.char-stage {
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem);
  display: grid; place-items: center; position: relative;
}
.char-stage img { width: min(100%, 380px); filter: drop-shadow(0 26px 30px rgba(10,32,56,.18)); }
.char-num {
  position: absolute; top: 1rem; left: 1.4rem; font-family: var(--display);
  font-size: clamp(3rem, 8vw, 5rem); color: rgba(10, 32, 56, .1); line-height: 1;
}
.char-role { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; margin-bottom: .7rem; }
.char-tag { font-family: var(--display); font-style: italic; font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--ink); margin-bottom: 1.2rem; }
.traits { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.6rem; }
.traits li {
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--rule); border-radius: 999px; padding: .35rem .8rem; color: var(--muted);
}
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem, 2vw, 1.4rem); }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr; } }
.fact { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.fact h4 { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.fact p { color: var(--ink); font-size: .98rem; }
.fact .quote { font-family: var(--display); font-style: italic; font-size: 1.15rem; }

.prose { max-width: 66ch; }
.prose h3 { margin-top: 2rem; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.list-clean { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.list-clean li { padding-left: 1.3rem; position: relative; }
.list-clean li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-soft); }

.pager { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--rule); padding-top: 1.5rem; margin-top: clamp(2rem, 4vw, 3rem); }
.pager a { text-decoration: none; font-weight: 600; color: var(--ink); font-size: .95rem; }
.pager a:hover { color: var(--gold); }

/* ---------- product / shop ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem); }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }
.product {
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: 1.5rem; display: flex; flex-direction: column; text-align: center;
}
.product .thumb { border-radius: var(--radius); padding: 1.2rem; margin-bottom: 1rem; }
.product img { width: min(100%, 190px); margin-inline: auto; }
.product h3 { margin-bottom: .2rem; }
.product .price { color: var(--ink); font-weight: 600; margin: .5rem 0 1rem; }
.product .btn { align-self: center; margin-top: auto; }
.badge {
  display: inline-block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--gold); margin-bottom: .4rem;
}

.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table th { color: var(--ink); font-weight: 600; width: 38%; }

/* ---------- accordion ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-family: var(--display); font-size: 1.12rem; color: var(--ink); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.4rem; color: var(--gold); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 2.5rem 1.4rem 0; color: var(--body); max-width: 70ch; }

/* ---------- journal ---------- */
.post-meta { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

/* ---------- misc ---------- */
.notice {
  background: var(--cream-2); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; font-size: .95rem;
}
.pairs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.6rem); }
@media (max-width: 720px) { .pairs { grid-template-columns: 1fr; } }
.pair { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.pair h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; margin-bottom: .4rem; }
.pair p { font-size: .95rem; color: var(--muted); }
.mt { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.center { text-align: center; }

/* ---------- featured product card ---------- */
.card--feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.card--feature img { aspect-ratio: 4 / 3; height: 100%; }
@media (max-width: 760px) { .card--feature { grid-template-columns: 1fr; } .card--feature img { aspect-ratio: 16 / 10; } }

/* ---------- utility ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
