/* Text pages (shipping, returns, privacy, terms, contact, size guide) in the Cobalt Studio + chalk paper look.
   Loaded after studio.css and paper.css. Static header and footer, no JavaScript. Built by scripts/build_policies.py. */

/* ---- header: always the solid cobalt bar ---- */
.pg-top {
  position: sticky; top: 0; z-index: 50; color: var(--s-top-text);
  background: var(--s-top);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--s-line), 0 10px 30px -18px rgba(0, 0, 0, 0.35);
}
.pg-top-in { display: flex; align-items: center; gap: 20px; height: var(--head); padding: 0 var(--gut); }
.pg-logo { flex: none; display: block; }
.pg-logo img { height: 30px; width: auto; }
.pg-cats { display: flex; gap: 2px; margin: 0 auto; scrollbar-width: none; }
.pg-cats::-webkit-scrollbar { display: none; }
.pg-cats a, .pg-shop {
  padding: 10px 14px; text-decoration: none; white-space: nowrap;
  font: 600 12px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--s-top-dim); transition: color 0.25s;
}
.pg-cats a:hover, .pg-shop:hover { color: var(--s-top-text); }
.pg-shop {
  flex: none; display: inline-flex; align-items: center; gap: 8px; color: var(--s-top-text);
  border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 2px; padding: 10px 14px 10px 16px;
  transition: background-color 0.25s, border-color 0.25s;
}
.pg-shop:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.pg-shop svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: transform 0.35s var(--ease); }
.pg-shop:hover svg { transform: translateX(3px); }

/* ---- the text ---- */
.pg-main { padding: clamp(40px, 6vw, 88px) var(--gut) clamp(64px, 8vw, 120px); }
.pg-doc { max-width: 720px; margin: 0 auto; color: var(--s-text); }
.pg-eyebrow { margin: 0 0 14px; font: 700 11px/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--s-muted); }
.pg-h { display: flex; align-items: flex-end; gap: 18px; margin: 0 0 clamp(26px, 3vw, 40px); }
.pg-h h1 {
  margin: 0; font: italic 800 clamp(32px, 4.2vw, 54px)/1.02 var(--serif); letter-spacing: 0.01em; text-transform: uppercase;
  color: var(--s-head); text-wrap: balance;
}
.pg-rule { flex: 1; min-width: 32px; height: 1px; margin-bottom: 0.5em; background: var(--s-head); opacity: 0.3; }
.pg-body { max-width: 68ch; font-size: 17px; line-height: 1.7; }
.pg-body > :first-child { margin-top: 0; }
.pg-body p, .pg-body ul { margin: 0 0 1.05em; }
.pg-body b { font-weight: 650; color: var(--s-head); }
.pg-body a { color: var(--s-head); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pg-body a:hover { text-decoration-thickness: 2px; }
.pg-body h2 {
  margin: 2.1em 0 0.7em; padding-top: 1.1em; border-top: 1px solid var(--s-line);
  font: italic 700 clamp(21px, 2vw, 26px)/1.15 var(--serif); text-transform: uppercase; letter-spacing: 0.01em; color: var(--s-head);
}
.pg-body ul { padding-left: 1.2em; }
.pg-body li { margin: 0 0 0.45em; padding-left: 0.2em; }
.pg-body li::marker { color: var(--s-head); }
.pg-lead { font-size: 19px; line-height: 1.6; color: var(--s-text); }

.pg-more {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; max-width: 68ch;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--s-line-strong); font-size: 15px; color: var(--s-muted);
}
.pg-more b { font: 700 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--s-muted); margin-right: 6px; }
.pg-more a { color: var(--s-head); text-underline-offset: 3px; }

/* ---- size guide: three lengths side by side ---- */
.pg-lengths { margin: 1.6em 0 1.8em; }
.pg-lengths-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 16px); }
.pg-lengths-row figure { margin: 0; }
.pg-lengths-row img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; background: var(--wall);
  box-shadow: var(--s-plinth-shadow);
}
.pg-lengths-row figcaption { margin-top: 10px; font-size: 14px; line-height: 1.3; color: var(--s-muted); }
.pg-lengths-row figcaption b { display: block; font: italic 800 20px/1.1 var(--serif); text-transform: uppercase; color: var(--s-head); }
.pg-lengths-note { margin-top: 12px; font-size: 13px; color: var(--s-muted); }

/* ---- size guide: ring table ---- */
.pg-table-wrap { margin: 1.4em 0 1.6em; overflow-x: auto; }
.pg-table { width: 100%; max-width: 520px; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; background: var(--s-pill); }
.pg-table caption {
  caption-side: top; text-align: left; padding: 0 0 10px; font: 700 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--s-muted);
}
.pg-table th, .pg-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--s-line); }
.pg-table thead th {
  background: var(--s-btn); color: var(--s-btn-text); border-bottom: 0;
  font: 600 12px/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
}
.pg-table tbody th { font: italic 800 18px/1 var(--serif); color: var(--s-head); }
.pg-table tbody tr:nth-child(even) { background: rgba(3, 64, 146, 0.04); }

/* ---- footer: static note in place of the sign-up form ---- */
.pg-foot-note p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.75); max-width: 34ch; }
.pg-foot-note a { color: #fff; text-underline-offset: 3px; }

/* ---- phones ---- */
@media (max-width: 1080px) {
  .pg-cats a { padding: 10px 9px; letter-spacing: 0.12em; }
}
@media (max-width: 760px) {
  .pg-top-in { flex-wrap: wrap; height: auto; min-height: var(--head); gap: 0 12px; }
  .pg-logo { height: var(--head); display: flex; align-items: center; }
  .pg-logo img { height: 24px; }
  .pg-shop { margin-left: auto; padding: 9px 12px 9px 14px; font-size: 11px; }
  .pg-cats {
    order: 3; width: calc(100% + 2 * var(--gut)); margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 6px; overflow-x: auto;
  }
  .pg-cats { justify-content: space-between; gap: 14px; }
  .pg-cats a { padding: 10px 0 12px; font-size: 11px; letter-spacing: 0.1em; }
  .pg-body { font-size: 16px; line-height: 1.68; }
  .pg-lead { font-size: 17px; }
  .pg-h { gap: 12px; }
  .pg-lengths-row figcaption { font-size: 12.5px; }
  .pg-lengths-row figcaption b { font-size: 16px; }
  .pg-table th, .pg-table td { padding: 10px 10px; }
  .pg-table { font-size: 15px; }
  .pg-table thead th { font-size: 10.5px; letter-spacing: 0.08em; }
}
/* privacy page: opens the privacy choices panel (site/js/consent.js) */
.pg-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--wall, #034092); color: #fff; font: 600 15px/1 var(--sans); cursor: pointer; transition: transform 0.16s var(--ease), background 0.2s; }
.pg-btn:hover { background: var(--wall-deep, #012a78); }
.pg-btn:active { transform: scale(0.97); }
.pg-body code { font-size: 0.92em; }
