/* PICKLE BEAR - component kit
   Real components, not pictures of components. These are the pieces that
   survive into the production front-end. */

/* --- buttons ------------------------------------------------------------ */

.pb-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--pb-space-2);
  padding: var(--pb-space-3) var(--pb-space-5);
  border: 2px solid var(--pb-fg);
  border-radius: var(--pb-radius-1);
  background: var(--pb-fg);
  color: var(--pb-fg-invert);
  font-family: var(--pb-font-data);
  font-size: var(--pb-size-small);
  letter-spacing: var(--pb-track-caps);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--pb-dur-fast) var(--pb-ease),
              background var(--pb-dur-fast) var(--pb-ease);
}
.pb-btn:hover { transform: translateY(-1px); background: var(--pb-brand-ink); border-color: var(--pb-brand-ink); }
.pb-btn:active { transform: translateY(0); }

.pb-btn--ghost { background: transparent; color: var(--pb-fg); }
.pb-btn--ghost:hover { background: var(--pb-fg); color: var(--pb-fg-invert); border-color: var(--pb-fg); }

.pb-btn--accent { background: var(--pb-accent); border-color: var(--pb-accent); color: var(--pb-black); }
.pb-btn--accent:hover { background: var(--pb-pink-hot); border-color: var(--pb-pink-hot); }

/* --- tag / pill --------------------------------------------------------- */

.pb-tag {
  display: inline-block;
  padding: var(--pb-space-1) var(--pb-space-3);
  background: var(--pb-brand-ink);   /* olive-deep: white 12px type passes on it, plain olive did not */
  color: #FFFFFF;
  font-family: var(--pb-font-data);
  font-size: var(--pb-size-micro);
  letter-spacing: var(--pb-track-caps);
  text-transform: uppercase;
  border-radius: var(--pb-radius-1);
}
.pb-tag--alpine { background: var(--pb-outdoor-ink); }
.pb-tag--pink   { background: var(--pb-accent); color: var(--pb-black); }
.pb-tag--quiet  { background: transparent; color: var(--pb-fg-muted); border: 1px solid var(--pb-line); }

/* --- the SWEAT HARD / STAY SALTY roundel -------------------------------- */

.pb-roundel {
  width: 116px;
  height: 116px;
  border: 2px solid var(--pb-accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--pb-font-data);
  font-size: var(--pb-size-micro);
  letter-spacing: var(--pb-track-caps);
  text-transform: uppercase;
  color: var(--pb-accent);
  line-height: 1.35;
  flex: none;
}

/* --- nutrition stat row ------------------------------------------------- */

.pb-stats { display: flex; flex-wrap: wrap; gap: var(--pb-space-5); margin: var(--pb-space-5) 0; }
.pb-stat { min-width: 92px; }
.pb-stat__n {
  font-family: var(--pb-font-display);
  font-size: 2rem;
  line-height: 1;
  display: block;
}
.pb-stat__l {
  font-family: var(--pb-font-data);
  font-size: var(--pb-size-micro);
  letter-spacing: var(--pb-track-caps);
  text-transform: uppercase;
  color: var(--pb-fg-muted);
}

/* --- cards -------------------------------------------------------------- */

.pb-card {
  background: var(--pb-surface);
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-2);
  padding: var(--pb-space-5);
}

.pb-product {
  background: var(--pb-surface);
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform var(--pb-dur) var(--pb-ease), box-shadow var(--pb-dur) var(--pb-ease);
}
.pb-product:hover { transform: translateY(-3px); box-shadow: var(--pb-shadow-2); }
.pb-product__shot {
  /* A definite height, not an aspect ratio. Percentage heights inside an
     aspect-ratio box cannot resolve, so the tall gel sachet stretched its
     frame to 772px while the chip bag sat at 430px - three cards in a row at
     three different sizes. With a real height the frame wins and every pack
     scales to fit inside it. */
  height: 300px;
  background: var(--pb-bg-alt);
  display: grid;
  place-items: center;
  padding: var(--pb-space-5);
}
.pb-product__shot img { max-height: 100%; width: auto; object-fit: contain; }
.pb-product__body { padding: var(--pb-space-5); display: flex; flex-direction: column; gap: var(--pb-space-2); flex: 1; }
.pb-product__name { font-family: var(--pb-font-display); font-size: 1.4rem; text-transform: uppercase; line-height: 1; }
.pb-product__flavor { font-family: var(--pb-font-data); font-size: var(--pb-size-micro); letter-spacing: var(--pb-track-caps); text-transform: uppercase; color: var(--pb-brand-ink); }
.pb-product__price { margin-top: auto; font-family: var(--pb-font-display); font-size: 1.2rem; }

/* --- mascot slot -------------------------------------------------------- */
/* Correctly-sized placeholder that real art drops into with no layout change.
   Slot names follow the section 22 asset taxonomy. */

.pb-bear { display: block; width: 100%; height: auto; }
.pb-bear--placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border: 2px dashed var(--pb-line-strong);
  border-radius: var(--pb-radius-2);
  background: repeating-linear-gradient(45deg, transparent 0 12px, rgba(17, 17, 17, 0.03) 12px 24px);
  color: var(--pb-fg-muted);
  font-family: var(--pb-font-data);
  font-size: var(--pb-size-micro);
  letter-spacing: var(--pb-track-caps);
  text-transform: uppercase;
  text-align: center;
  padding: var(--pb-space-4);
}

/* --- alpine motifs (suggested, not rendered) ---------------------------- */

.pb-ridge { width: 100%; height: 64px; color: var(--pb-outdoor); }
.pb-splash {
  position: absolute;
  border-radius: 50%;
  opacity: var(--pb-texture-ink);
  pointer-events: none;
  z-index: 0;
}

/* --- device frame for phone-sized screens ------------------------------- */

.pb-device {
  width: 340px;
  border: 10px solid var(--pb-black);
  border-radius: 28px;
  overflow: hidden;
  background: var(--pb-bg);
  box-shadow: var(--pb-shadow-2);
  flex: none;
}
.pb-device__screen { height: 620px; overflow-y: auto; }

/* --- swatches ----------------------------------------------------------- */

.pb-swatches { display: flex; flex-wrap: wrap; gap: var(--pb-space-4); }
.pb-swatch { width: 132px; }
.pb-swatch__chip { height: 84px; border-radius: var(--pb-radius-2); border: 1px solid var(--pb-line); }
.pb-swatch__name { font-family: var(--pb-font-data); font-size: var(--pb-size-micro); letter-spacing: var(--pb-track-caps); text-transform: uppercase; margin-top: var(--pb-space-2); }
.pb-swatch__hex  { font-family: var(--pb-font-data); font-size: var(--pb-size-micro); color: var(--pb-fg-muted); }

/* --- flow rail ----------------------------------------------------------- */
/* Steps in a row with connectors. Scrolls inside its own box on narrow
   screens rather than making the page scroll sideways. */

.pb-flow { overflow-x: auto; padding-bottom: var(--pb-space-3); }
.pb-flow__track { display: flex; align-items: stretch; gap: 0; min-width: min-content; }

.pb-flow__step {
  flex: 1 0 168px;
  min-width: 168px;
  position: relative;
  padding: var(--pb-space-4) var(--pb-space-4) var(--pb-space-4) var(--pb-space-5);
  background: var(--pb-surface);
  border: 1px solid var(--pb-line);
  border-left: 0;
}
.pb-flow__step:first-child { border-left: 1px solid var(--pb-line); border-radius: var(--pb-radius-2) 0 0 var(--pb-radius-2); }
.pb-flow__step:last-child  { border-radius: 0 var(--pb-radius-2) var(--pb-radius-2) 0; }

/* the notch between steps, drawn rather than imaged */
.pb-flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -11px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  background: var(--pb-surface);
  border-top: 1px solid var(--pb-line);
  border-right: 1px solid var(--pb-line);
  transform: rotate(45deg);
  z-index: 2;
}

.pb-flow__step--key { background: var(--pb-bg-alt); border-color: var(--pb-accent); }
.pb-flow__step--key:not(:last-child)::after { background: var(--pb-bg-alt); border-color: var(--pb-accent); }

.pb-flow__n {
  font-family: var(--pb-font-data);
  font-size: var(--pb-size-micro);
  letter-spacing: var(--pb-track-caps);
  color: var(--pb-fg-muted);
}
.pb-flow__label {
  font-family: var(--pb-font-display);
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 1.05;
  margin: var(--pb-space-2) 0;
}
.pb-flow__note { font-size: var(--pb-size-small); color: var(--pb-fg-muted); margin: 0; max-width: none; }

/* --- split layouts ------------------------------------------------------- */
/* Two columns that become one on a phone. These were inline grid styles on
   three screens, which meant they never stacked and the body copy ran off the
   edge of the viewport. Anything two-column goes through here instead. */

.pb-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--pb-space-6);
  align-items: center;
}
.pb-split--even { grid-template-columns: 1fr 1fr; gap: var(--pb-space-7); align-items: start; }
.pb-split--wide { grid-template-columns: 1.2fr 0.8fr; }

@media (max-width: 820px) {
  .pb-split,
  .pb-split--even,
  .pb-split--wide {
    grid-template-columns: 1fr;
    gap: var(--pb-space-5);
  }
  /* on a phone the mascot belongs under the pitch, not squeezed beside it */
  .pb-split > .pb-split__art { order: 2; max-width: 320px; margin: 0 auto; }
}

/* Product shot framing.
   The mascot slot sets width:100% so a bear fills its box, but inside a
   product card that made the tall gel sachet stretch its frame to 772px while
   the chip bag sat at 430px - three cards in a row at three different sizes.

   The frame has a definite height and the slot is positioned against it, so
   the image's 100% resolves against a real box. A percentage max-height on a
   percentage-height parent does not reliably clamp, which is the trap here:
   a pixel value worked, 100% silently did nothing. */
.pb-product__shot { position: relative; }

.pb-product__shot > .pb-bear-slot {
  position: absolute;
  inset: var(--pb-space-5);
  width: auto !important;   /* overrides the inline width:100% the slot ships with */
}

.pb-product__shot .pb-bear {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --- the test stamp ------------------------------------------------------ */
/* The brief's critical metric is second-serving desire, and it was sitting as
   one third of a three-column argument. This gives it the weight it earns:
   a field-test card that looks marked up by hand rather than laid out. */

.pb-stamp {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  padding: var(--pb-space-6) var(--pb-space-6) var(--pb-space-5);
  background: var(--pb-cream);
  color: var(--pb-black);
  border: 2px solid var(--pb-black);
  box-shadow: 6px 6px 0 var(--pb-black);
  transform: rotate(-1.4deg);
}
/* the inner keyline, the way a real stamped form has one */
.pb-stamp::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--pb-line-strong);
  pointer-events: none;
}

.pb-stamp__label {
  font-family: var(--pb-font-data);
  font-size: var(--pb-size-micro);
  letter-spacing: var(--pb-track-caps);
  text-transform: uppercase;
  color: var(--pb-fg-muted);
  margin: 0 0 var(--pb-space-2);
}
.pb-stamp__q {
  font-family: var(--pb-font-display);
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 0.98;
  margin: 0 0 var(--pb-space-5);
}

.pb-stamp__opts { list-style: none; margin: 0; padding: 0; }
.pb-stamp__opt {
  display: flex;
  align-items: baseline;
  gap: var(--pb-space-3);
  font-family: var(--pb-font-data);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: var(--pb-space-2) 0;
  color: var(--pb-fg-muted);
}
.pb-stamp__box { font-size: 1.15rem; line-height: 1; flex: none; }

/* the one that is ticked: bigger, inked, and deliberately off-axis */
.pb-stamp__opt--yes {
  color: var(--pb-black);
  font-family: var(--pb-font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  letter-spacing: 0.01em;
  align-items: center;
}
.pb-stamp__opt--yes .pb-stamp__box { color: var(--pb-accent); font-size: 1.5rem; }
.pb-stamp__opt--yes span:last-child {
  display: inline-block;
  transform: rotate(-1deg);
  border-bottom: 3px solid var(--pb-accent);
  padding-bottom: 2px;
}

@media (max-width: 560px) {
  .pb-stamp { transform: none; box-shadow: 4px 4px 0 var(--pb-black); padding: var(--pb-space-5); }
}


/* --- the test card ------------------------------------------------------- */
/* Replaced the CSS stamp with the real artwork. The card carries texture and
   the Dill Vision bear that typography cannot fake; the tradeoff is that its
   words now live in the image rather than the copy editor, so the wording is
   considered settled. The full text is in the alt attribute. */

.pb-testcard {
  margin: 0 auto;
  max-width: 560px;
  transform: rotate(-1.2deg);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
}
.pb-testcard img { width: 100%; height: auto; display: block; }

@media (max-width: 560px) {
  .pb-testcard { transform: none; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4)); }
}

/* --- provenance ---------------------------------------------------------- */

.pb-origin {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: var(--pb-space-6);
  align-items: center;
  margin-top: var(--pb-space-8);
  padding-top: var(--pb-space-6);
  border-top: 1px solid var(--pb-line);
}
.pb-origin__shot { margin: 0; }
.pb-origin__shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--pb-radius-2);
  /* a photograph among engravings - the border keeps it deliberate */
  border: 1px solid var(--pb-line);
  box-shadow: var(--pb-shadow-1);
}

@media (max-width: 720px) {
  .pb-origin { grid-template-columns: 1fr; }
  .pb-origin__shot { max-width: 260px; }
}

/* --- cross-site section head --------------------------------------------- */
/* A heading with its outbound link sitting on the same line, so every section
   that summarises the race site says plainly where the full version is. */

.pb-xhead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--pb-space-4);
  flex-wrap: wrap;
}

/* a card that is itself a link */
.pb-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform var(--pb-dur) var(--pb-ease), box-shadow var(--pb-dur) var(--pb-ease);
}
.pb-card--link:hover { transform: translateY(-3px); box-shadow: var(--pb-shadow-2); }

/* links that leave for the race site get a quiet marker, so nobody is
   surprised by a new tab */
a[target="_blank"].pb-btn::after {
  content: "\2197";
  font-size: 0.9em;
  margin-left: 0.15em;
}

/* --- product switcher ---------------------------------------------------- */
/* Three tabs above the detail view. Each is a real link to #product/<slug>,
   so the URL says which product is open and a note pins to the right one. */

.pb-switch { display: flex; gap: var(--pb-space-2); flex-wrap: wrap; margin-bottom: var(--pb-space-6); }
.pb-switch__item {
  padding: var(--pb-space-2) var(--pb-space-4);
  border: 2px solid var(--pb-line-strong);
  border-radius: var(--pb-radius-pill);
  font-family: var(--pb-font-data);
  font-size: var(--pb-size-micro);
  letter-spacing: var(--pb-track-caps);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--pb-fg-muted);
}
.pb-switch__item:hover { border-color: var(--pb-fg); color: var(--pb-fg); }
.pb-switch__item.is-on { background: var(--pb-fg); border-color: var(--pb-fg); color: var(--pb-fg-invert); }

/* --- pull quote ---------------------------------------------------------- */
.pb-hook {
  margin: var(--pb-space-6) 0 0;
  padding-left: var(--pb-space-5);
  border-left: 4px solid var(--pb-accent);
  font-family: var(--pb-font-display);
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.05;
  max-width: 24ch;
}

/* --- brand header -------------------------------------------------------- */
/* The line from the top of the pouch, on every screen. Black strip, cream
   type, pink on the second half - same treatment as the packaging. */

.pb-sitehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pb-space-4);
  padding: var(--pb-space-3) var(--pb-space-5);
  background: var(--pb-black);
  color: var(--pb-cream);
  border-bottom: 1px solid rgba(244, 237, 224, 0.12);
}
.pb-sitehead__brand { display: flex; align-items: center; gap: var(--pb-space-3); text-decoration: none; color: inherit; }
.pb-sitehead__brand img { border-radius: var(--pb-radius-1); display: block; }
.pb-sitehead__name {
  font-family: var(--pb-font-display);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.02em;
  line-height: 1;
}
.pb-sitehead__tag {
  font-family: var(--pb-font-data);
  font-size: var(--pb-size-micro);
  letter-spacing: var(--pb-track-caps);
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .pb-sitehead__tag { font-size: 0.62rem; letter-spacing: 0.1em; }
}

/* --- brand header: site nav ---------------------------------------------- */
/* Real navigation, not review chrome. This is the header the real site ships. */
.pb-sitehead { flex-wrap: wrap; row-gap: var(--pb-space-2); }
.pb-sitehead__nav { display: flex; gap: var(--pb-space-4); align-items: center; min-width: 0; }
.pb-sitehead__nav a {
  font-family: var(--pb-font-data);
  font-size: var(--pb-size-micro);
  letter-spacing: var(--pb-track-caps);
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  opacity: 0.78;
  white-space: nowrap;
  padding: var(--pb-space-1) 0;
  border-bottom: 2px solid transparent;
}
.pb-sitehead__nav a:hover { opacity: 1; }
.pb-sitehead__nav a[aria-current="true"] { opacity: 1; border-bottom-color: var(--pb-pink); }
@media (max-width: 760px) {
  .pb-sitehead__nav {
    order: 3;
    flex-basis: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin: 0 calc(var(--pb-space-5) * -1);
    padding: 0 var(--pb-space-5);
  }
  .pb-sitehead__nav::-webkit-scrollbar { display: none; }
}

/* --- waitlist form ------------------------------------------------------- */
.pb-waitlist { position: relative; }
.pb-waitlist__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pb-waitlist[data-state="sending"] button { opacity: 0.6; }
.pb-waitlist__msg {
  flex-basis: 100%;
  margin: 0;
  font-size: var(--pb-size-small);
  font-weight: 600;
  color: var(--pb-pink-hot);
}
.pb-waitlist[data-state="error"] input[type="email"] { outline: 3px solid var(--pb-pink-hot); outline-offset: 1px; }
.pb-waitlist__done {
  margin: 0;
  font-family: var(--pb-font-display);
  text-transform: uppercase;
  font-size: var(--pb-size-h3);
  line-height: 1.05;
}
.pb-waitlist__done .pb-pink { color: var(--pb-pink); }

/* --- positioning grid (business screen) ---------------------------------- */
.pb-quad {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  grid-template-rows: 1fr 1fr auto;
  gap: var(--pb-space-2);
  margin: var(--pb-space-5) 0 var(--pb-space-3);
}
.pb-quad__y, .pb-quad__x {
  font-family: var(--pb-font-data);
  font-size: var(--pb-size-micro);
  letter-spacing: var(--pb-track-caps);
  text-transform: uppercase;
  color: var(--pb-fg-muted);
}
.pb-quad__y { writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; padding: 0 var(--pb-space-1); }
.pb-quad__x { grid-column: 2 / 4; display: flex; justify-content: space-between; padding: var(--pb-space-1) var(--pb-space-2) 0; }
.pb-quad__cell {
  background: var(--pb-surface);
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-2);
  padding: var(--pb-space-4);
  min-height: 150px;
  min-width: 0;
}
.pb-quad__cell--us { background: var(--pb-black); color: var(--pb-cream); border-color: var(--pb-black); }
.pb-quad__cell--us .pb-quad__label { color: var(--pb-pink); }
.pb-quad__cell--us .pb-tag--quiet { color: var(--pb-cream); border-color: rgba(244, 237, 224, 0.35); }
.pb-quad__label {
  font-family: var(--pb-font-display);
  text-transform: uppercase;
  font-size: 1.1rem;
  line-height: 1.05;
  margin: 0 0 var(--pb-space-3);
}
.pb-quad__brands { display: flex; flex-wrap: wrap; gap: var(--pb-space-2); }
@media (max-width: 560px) {
  .pb-quad__cell { min-height: 110px; padding: var(--pb-space-3); }
  .pb-quad__label { font-size: 0.95rem; }
}

/* --- risk / kill pairs ----------------------------------------------------- */
.pb-kill { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--pb-space-5); padding: var(--pb-space-4) 0; border-bottom: 1px solid var(--pb-line); }
.pb-kill:last-child { border-bottom: 0; }
.pb-kill__risk { font-weight: 600; margin: 0; }
.pb-kill__kill { margin: 0; color: var(--pb-fg-muted); }
.pb-kill__kill::before { content: "→ "; color: var(--pb-accent); }
@media (max-width: 560px) { .pb-kill { grid-template-columns: 1fr; gap: var(--pb-space-1); } }

/* --- live tester results (Tester feedback screen) -------------------------- */
.pb-device__frame { display: block; width: 100%; height: 100%; border: 0; background: var(--pb-bg); }
.fb-row { padding: var(--pb-space-3) 0; border-top: 1px solid var(--pb-line); }
.fb-row__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--pb-space-2); margin-bottom: var(--pb-space-2); }
.fb-row__n { font-family: var(--pb-font-data); font-size: var(--pb-size-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--pb-fg-muted); }
.fb-bar { position: relative; height: 34px; background: var(--pb-bg-alt); border-radius: var(--pb-radius-1); overflow: hidden; margin-bottom: var(--pb-space-2); }
.fb-bar__fill { position: absolute; inset: 0 auto 0 0; background: var(--pb-accent); transition: width var(--pb-dur) var(--pb-ease); }
.fb-bar__label { position: relative; z-index: 1; display: flex; align-items: center; height: 100%; padding: 0 var(--pb-space-3); font-family: var(--pb-font-data); font-size: var(--pb-size-small); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.fb-row__tags { display: flex; flex-wrap: wrap; gap: var(--pb-space-1); }
.fb-recent { list-style: none; margin: 0; padding: 0; font-size: var(--pb-size-small); }
.fb-recent li { position: relative; padding: var(--pb-space-2) 0 var(--pb-space-2) var(--pb-space-4); border-top: 1px solid var(--pb-line); }
.fb-recent__dot { position: absolute; left: 0; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--pb-line-strong); }
.fb-recent__dot.is-yes { background: var(--pb-accent); }
.fb-recent__note { color: var(--pb-fg-muted); font-style: italic; }
.fb-recent__when { display: block; font-family: var(--pb-font-data); font-size: var(--pb-size-micro); color: var(--pb-fg-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }

/* --- blog ------------------------------------------------------------------ */
.pb-postgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--pb-space-5); }
.pb-postcard {
  display: grid;
  gap: var(--pb-space-3);
  align-content: start;
  background: var(--pb-surface);
  border: 1px solid var(--pb-line);
  border-radius: var(--pb-radius-2);
  padding: var(--pb-space-5);
  text-decoration: none;
  color: inherit;
  transition: transform var(--pb-dur-fast) var(--pb-ease), box-shadow var(--pb-dur-fast) var(--pb-ease);
}
.pb-postcard:hover { transform: translateY(-2px); box-shadow: var(--pb-shadow-1); }
.pb-postcard .pb-tag { justify-self: start; }
.pb-postcard__title { margin: 0; font-size: 1.5rem; line-height: 1.05; }
.pb-postcard__dek { margin: 0; color: var(--pb-fg-muted); }
.pb-post__meta { font-family: var(--pb-font-data); font-size: var(--pb-size-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--pb-fg-muted); }

.pb-post { max-width: 720px; }
.pb-post__back { display: inline-block; font-family: var(--pb-font-data); font-size: var(--pb-size-micro); letter-spacing: var(--pb-track-caps); text-transform: uppercase; text-decoration: none; color: var(--pb-brand-ink); margin-bottom: var(--pb-space-5); }
.pb-post__title { margin: var(--pb-space-3) 0 var(--pb-space-4); }
.pb-post__dek { margin-bottom: var(--pb-space-3); }
.pb-post__body { margin-top: var(--pb-space-6); font-size: 1.1rem; line-height: 1.65; }
.pb-post__body p { margin: 0 0 var(--pb-space-5); }
.pb-post__body p:first-child::first-letter { font-family: var(--pb-font-display); font-size: 3.2em; float: left; line-height: 0.8; margin: 0.08em 0.12em 0 0; color: var(--pb-pink-hot); }
.pb-post__foot { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--pb-space-4); margin-top: var(--pb-space-7); border-top: 1px solid var(--pb-line); padding-top: var(--pb-space-6); }
.pb-post__next a { text-decoration: none; color: inherit; font-size: 1.15rem; line-height: 1.2; }
.pb-post__next a:hover { color: var(--pb-outdoor-ink); }
@media (max-width: 640px) { .pb-post__foot { grid-template-columns: 1fr; } }

/* blog hero squares: one per post, assets/blog/<slug>.webp */
.pb-postcard__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--pb-radius-1); display: block; margin-bottom: var(--pb-space-1); }
.pb-post__head { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--pb-space-5); align-items: start; }
.pb-post__head:has(.pb-post__hero) { grid-template-columns: 240px minmax(0, 1fr); }
.pb-post__hero { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--pb-radius-2); display: block; }
@media (max-width: 640px) { .pb-post__head:has(.pb-post__hero) { grid-template-columns: 1fr; } .pb-post__hero { max-width: 280px; } }

/* --- contrast rules ---------------------------------------------------------- */
/* Brand pink on cream fails even at display size (2.1:1). Display type on light
   grounds uses the hot pink (3.3:1, passes for large text); pink stays pink on black. */
.pb-section:not(.pb-section--invert) h1 .pb-pink { color: var(--pb-pink-hot); }
/* Ghost button for black sections */
.pb-btn--ghost-invert { color: var(--pb-cream); border-color: var(--pb-cream); background: transparent; }
.pb-btn--ghost-invert:hover { background: rgba(244, 237, 224, 0.12); }

/* --- reservation form ------------------------------------------------------ */
.pb-reserve { margin-top: var(--pb-space-6); padding-top: var(--pb-space-5); border-top: 1px solid var(--pb-line); }
.pb-reserve__form { display: flex; gap: var(--pb-space-2); flex-wrap: wrap; align-items: stretch; }
.pb-reserve__field { display: flex; flex-direction: column; font-family: var(--pb-font-data); font-size: var(--pb-size-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--pb-fg-muted); }
.pb-reserve__field span { margin-bottom: 2px; }
.pb-reserve__field select { font: inherit; font-size: 1rem; text-transform: none; letter-spacing: 0; padding: var(--pb-space-3); border: 2px solid var(--pb-fg); border-radius: var(--pb-radius-1); background: var(--pb-surface); color: var(--pb-fg); min-width: 110px; }
.pb-reserve__recap { margin: var(--pb-space-2) 0 0; font-size: var(--pb-size-small); color: var(--pb-fg-muted); }


/* --- footer + legal pages ---------------------------------------------------- */
.pb-foot__row { display: flex; justify-content: space-between; gap: var(--pb-space-4); flex-wrap: wrap; align-items: center; }
.pb-foot__links { display: flex; gap: var(--pb-space-4); flex-wrap: wrap; }
.pb-foot__links a { color: rgba(244, 237, 224, 0.7); text-decoration: none; font-family: var(--pb-font-data); font-size: var(--pb-size-micro); letter-spacing: var(--pb-track-caps); text-transform: uppercase; }
.pb-foot__links a:hover { color: var(--pb-cream); }
.pb-legal__page { max-width: 72ch; }
.pb-legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: var(--pb-space-4); }
.pb-legal h2 { font-size: 1.35rem; margin: var(--pb-space-6) 0 var(--pb-space-2); }
.pb-legal p { max-width: 68ch; }
.pb-legal__fields { display: grid; grid-template-columns: max-content 1fr; gap: var(--pb-space-2) var(--pb-space-5); margin: var(--pb-space-5) 0 var(--pb-space-6); padding: var(--pb-space-4) var(--pb-space-5); background: var(--pb-bg-alt); border-radius: var(--pb-radius-2); font-size: var(--pb-size-small); }
.pb-legal__fields dt { font-family: var(--pb-font-data); font-size: var(--pb-size-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--pb-fg-muted); padding-top: 3px; }
.pb-legal__fields dd { margin: 0; }
.pb-legal__updated { margin-top: var(--pb-space-7); font-family: var(--pb-font-data); font-size: var(--pb-size-micro); letter-spacing: var(--pb-track-caps); text-transform: uppercase; color: var(--pb-fg-muted); }
.pb-legal__updated a { color: var(--pb-brand-ink); }
@media (max-width: 600px) { .pb-legal__fields { grid-template-columns: 1fr; gap: var(--pb-space-1) 0; } .pb-legal__fields dd { margin-bottom: var(--pb-space-2); } }

/* --- lightbox: click a picture, see it full size ------------------------------ */
main img:not(a img):not(button img):not(.ws-pin):not(.pb-sitehead__mark):not(.dd-nav__mark) { cursor: zoom-in; }
.pb-lb { position: fixed; inset: 0; z-index: 200; display: none; flex-direction: column; background: rgba(17, 17, 17, 0.94); color: var(--pb-cream); }
.pb-lb.is-open { display: flex; }
body.pb-lb-open { overflow: hidden; }
.pb-lb__bar { display: flex; gap: var(--pb-space-2); justify-content: flex-end; align-items: center; padding: var(--pb-space-3) var(--pb-space-4); flex-wrap: wrap; }
.pb-lb__btn { font-family: var(--pb-font-data); font-size: var(--pb-size-micro); letter-spacing: var(--pb-track-caps); text-transform: uppercase; color: var(--pb-cream); background: transparent; border: 1px solid rgba(244, 237, 224, 0.4); border-radius: var(--pb-radius-1); padding: 8px 12px; text-decoration: none; cursor: pointer; }
.pb-lb__btn:hover { border-color: var(--pb-cream); }
.pb-lb__btn:disabled { opacity: 0.6; cursor: default; }
.pb-lb__close { font-size: 1.4rem; line-height: 1; padding: 4px 12px; margin-left: var(--pb-space-3); }
.pb-lb__fig { flex: 1; min-height: 0; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 var(--pb-space-4) var(--pb-space-5); gap: var(--pb-space-3); }
.pb-lb__img { max-width: 100%; max-height: 100%; width: auto; height: auto; min-height: 0; object-fit: contain; cursor: default; border-radius: var(--pb-radius-1); }
.pb-lb__cap { font-size: var(--pb-size-small); color: rgba(244, 237, 224, 0.75); text-align: center; max-width: 70ch; flex: none; }
