/* ==========================================================================
   Pocket Holder UF – stylesheet
   --------------------------------------------------------------------------
   HOW TO EDIT
   - Colours and fonts are defined once as variables in :root below.
     Change a value there and it updates across the whole site.
   - Fonts are self-hosted from /assets/fonts (no Google Fonts requests,
     so no cookie/consent banner is needed).
   ========================================================================== */

/* ---------- Self-hosted fonts ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-600-normal.woff2") format("woff2");
}

/* ---------- Design tokens ---------- */
:root {
  color-scheme: light;

  /* Brand colours (from the logo and the tin) */
  --navy: #0b2a6b;
  --navy-deep: #071a45;
  --navy-soft: #1a3a80;
  --gold: #e0a030;
  --gold-light: #f2c46d;
  --gold-ink: #85550f;      /* darker gold for text on light backgrounds (AA contrast) */
  --black: #111214;          /* the tin */
  --paper: #faf6ee;          /* warm off-white background */
  --paper-2: #f3ecdf;
  --line: #e4dccb;
  --ink: #16181d;
  --muted: #545a66;

  --font-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(11, 26, 69, .06), 0 12px 32px rgba(11, 26, 69, .08);
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--navy-deep);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); }

p { margin: 0 0 1em; }

a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-soft); text-decoration-thickness: 2px; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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: 16px; top: -60px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}
.on-dark .eyebrow { color: var(--gold); }

/* Placeholders like [DATE] are wrapped in <mark class="placeholder"> by
   js/site.js so they are easy to spot. Once you replace the text, the
   highlight disappears by itself. */
mark.placeholder {
  background: rgba(224, 160, 48, .22);
  color: inherit;
  outline: 1.5px dashed var(--gold);
  outline-offset: 1px;
  border-radius: 4px;
  padding: 0 .2em;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: .75em 1.5em;
  border: 1.5px solid var(--btn-bg);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 .98rem/1.2 var(--font-sans);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(7, 26, 69, .18); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--navy-deep); }
.btn--gold:hover { --btn-bg: var(--gold-light); }
.btn--ghost { background: transparent; color: var(--btn-fg); border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--small { min-height: 40px; padding: .5em 1.1em; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(228, 220, 203, .8);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--navy-deep);
  margin-right: auto;
}
.brand:hover { color: var(--navy-deep); text-decoration: none; }
.brand img {
  width: 40px; height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(11, 42, 107, .15);
}
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
}
.brand__name { white-space: nowrap; }
@media (max-width: 400px) {
  .brand { gap: .5rem; }
  .brand img { width: 34px; height: 34px; }
  .brand__name { font-size: 1.22rem; }
}
.brand__uf {
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--gold-ink);
  margin-left: .2em;
  vertical-align: super;
}

.site-nav ul {
  display: flex;
  gap: .25rem;
  list-style: none;
  margin: 0; padding: 0;
}
.site-nav a {
  display: block;
  padding: .55rem .9rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
}
.site-nav a:hover { background: var(--paper-2); color: var(--navy); }
.site-nav a[aria-current="page"] { color: var(--navy); background: var(--paper-2); }

.lang-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.lang-toggle button {
  min-width: 40px;
  min-height: 34px;
  padding: 0 .6rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 600 .8rem/1 var(--font-sans);
  letter-spacing: .08em;
  cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy-deep);
  cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0; right: 0;
    top: var(--header-h);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(7, 26, 69, .08);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: .75rem var(--gutter) 1.25rem; }
  .site-nav a { padding: .85rem 1rem; font-size: 1.05rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--paper-2); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

.on-dark { color: #e9ecf5; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark a:not(.btn) { color: var(--gold-light); }
.on-dark .section-head p { color: #c3cbe0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(224, 160, 48, .16), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(26, 58, 128, .9), transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 9vw, 7rem);
}
.hero::after {
  /* Fine gold rule along the bottom edge */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 160, 48, .6), transparent);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.hero h1 { margin-bottom: .15em; }
.hero h1 .brand__uf { font-size: .28em; color: var(--gold); vertical-align: super; letter-spacing: .12em; }
.hero__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold-light);
  margin-bottom: 1.1rem;
}
.hero__lead { font-size: 1.12rem; color: #d3d9ea; max-width: 34rem; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  margin: 2.25rem 0 0; padding: 0; list-style: none;
  font-size: .9rem; color: #b9c2da;
}
.hero__meta li { display: inline-flex; align-items: center; gap: .5em; }
.hero__meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.hero__visual { position: relative; display: grid; place-items: center; }
.hero__visual .price-badge {
  position: absolute;
  right: 4%; bottom: 8%;
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 340px; margin-inline: auto; width: 80%; }
}

/* A CSS-only "tin" used in the hero and as the 3D fallback.
   The black ring is the tin's rim; the image is the sticker/logo. */
.tin-static {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, #3a3d44 0%, #17181b 38%, #070708 75%);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, .18),
    inset 0 -6px 12px rgba(0, 0, 0, .6),
    0 30px 60px rgba(0, 0, 0, .35),
    0 10px 20px rgba(0, 0, 0, .25);
  display: grid;
  place-items: center;
}
.tin-static img {
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .4);
}
.hero .tin-static { animation: float 7s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.price-badge {
  display: grid;
  place-items: center;
  width: 104px; height: 104px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
  line-height: 1;
  transform: rotate(-8deg);
}
.price-badge strong { display: block; font-family: var(--font-serif); font-size: 2.1rem; font-weight: 600; }
.price-badge span { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-top: .25rem; }

/* ---------- 3D viewer ---------- */
.viewer {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 40%, #ffffff 0%, #efe9dd 55%, #e2d9c7 100%);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.viewer__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 320px;
  max-height: 640px;
}
.viewer__stage canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  cursor: grab;
  opacity: 0;
  transition: opacity .6s ease;
}
.viewer__stage canvas:active { cursor: grabbing; }
.viewer.is-ready canvas { opacity: 1; }

.viewer__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding: 2rem;
  transition: opacity .4s ease;
}
.viewer__fallback figure { margin: 0; text-align: center; width: min(38%, 300px); }
.viewer__fallback .tin-static { width: 100%; }
.viewer__fallback figcaption { margin-top: 1rem; font-size: .9rem; color: var(--muted); font-weight: 500; }
.viewer.is-ready .viewer__fallback { opacity: 0; visibility: hidden; }

.viewer__status {
  position: absolute;
  left: 50%; top: 1rem;
  transform: translateX(-50%);
  font-size: .82rem;
  color: var(--muted);
  background: rgba(255, 255, 255, .85);
  padding: .35rem .8rem;
  border-radius: 999px;
}
.viewer.is-ready .viewer__status,
.viewer.is-unsupported .viewer__status { display: none; }

.viewer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  padding: 1rem clamp(1rem, 3vw, 1.5rem);
  background: rgba(255, 255, 255, .7);
  border-top: 1px solid var(--line);
}
.viewer__hint { display: flex; align-items: center; gap: .6rem; margin: 0; font-size: .9rem; color: var(--muted); }
.viewer__hint svg { width: 20px; height: 20px; color: var(--gold-ink); flex: none; }
.viewer__controls { display: flex; flex-wrap: wrap; gap: .5rem; }
.viewer.is-unsupported .viewer__controls,
.viewer.is-unsupported .viewer__hint { display: none; }
.viewer__note { display: none; margin: 0; font-size: .9rem; color: var(--muted); }
.viewer.is-unsupported .viewer__note { display: block; }

@media (max-width: 600px) {
  .viewer__stage { aspect-ratio: 1 / 1.05; }
  .viewer__bar { flex-direction: column; align-items: stretch; text-align: center; }
  .viewer__hint { justify-content: center; }
  .viewer__controls { justify-content: center; }
}

/* ---------- Product ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }

.card--price {
  background: var(--navy);
  color: #dfe4f1;
  border-color: var(--navy);
  display: flex;
  flex-direction: column;
}
.card--price h3 { color: #fff; }
.card--price .card__icon { background: var(--gold); color: var(--navy-deep); }
.card--price p { color: #c3cbe0; }
.price {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 7vw, 4.8rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
  margin: .1em 0 .3em;
}
.price small { font-family: var(--font-sans); font-size: .95rem; font-weight: 500; color: #c3cbe0; letter-spacing: .02em; }

.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 760px) { .specs { grid-template-columns: 1fr; } }

.spec-list { margin: 0; display: grid; gap: 0; }
.spec-list div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}
.spec-list div:first-child { border-top: 1px solid var(--line); }
.spec-list dt { font-weight: 600; color: var(--navy-deep); font-size: .95rem; }
.spec-list dd { margin: 0; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.chips li {
  padding: .5rem .95rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: .92rem;
  color: var(--ink);
}

/* ---------- Where to buy (festive) ---------- */
.find-us {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(224, 160, 48, .14), transparent 70%),
    linear-gradient(180deg, var(--navy-deep), var(--navy));
}
/* Subtle scattered gold "stars" – a light festive touch */
.find-us::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 18%, rgba(242, 196, 109, .7), transparent 60%),
    radial-gradient(1px 1px at 22% 72%, rgba(242, 196, 109, .5), transparent 60%),
    radial-gradient(2px 2px at 37% 30%, rgba(242, 196, 109, .45), transparent 60%),
    radial-gradient(1px 1px at 55% 12%, rgba(255, 255, 255, .6), transparent 60%),
    radial-gradient(1.5px 1.5px at 68% 82%, rgba(242, 196, 109, .55), transparent 60%),
    radial-gradient(1px 1px at 79% 40%, rgba(255, 255, 255, .5), transparent 60%),
    radial-gradient(2px 2px at 91% 22%, rgba(242, 196, 109, .5), transparent 60%),
    radial-gradient(1px 1px at 95% 70%, rgba(255, 255, 255, .5), transparent 60%),
    radial-gradient(1.5px 1.5px at 4% 88%, rgba(255, 255, 255, .4), transparent 60%);
  pointer-events: none;
}
.find-us .container { position: relative; }
.find-us__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) { .find-us__grid { grid-template-columns: 1fr; } }

.sprig { width: 120px; height: auto; color: var(--gold); margin-bottom: 1.25rem; }

.event-card {
  position: relative;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(224, 160, 48, .45);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  backdrop-filter: blur(4px);
}
.event-card::before {
  /* Inner hairline – like a gift card border */
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(224, 160, 48, .18);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}
.event-card h3 { color: var(--gold-light); font-style: italic; font-weight: 500; margin-bottom: 1.25rem; }
.event-list { margin: 0 0 1.75rem; display: grid; gap: 1rem; }
.event-list > div { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: start; }
.event-list .ico {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(224, 160, 48, .14);
  color: var(--gold);
}
.event-list .ico svg { width: 22px; height: 22px; }
.event-list dt { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #aab4d0; }
.event-list dd { margin: .1rem 0 0; font-size: 1.1rem; font-weight: 500; color: #fff; }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(224, 160, 48, .14), transparent 70%),
    var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem);
}
.page-hero p { color: var(--muted); font-size: 1.12rem; max-width: 40rem; margin-bottom: 0; }

/* Long-form text (About, Terms, Privacy) */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold-ink); }
.prose .updated { color: var(--muted); font-size: .92rem; }

/* "At a glance" badge row (Terms page) */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  list-style: none;
  margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
  padding: 0;
}
@media (max-width: 960px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust { grid-template-columns: 1fr; } }
.trust__item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.trust__item strong { display: block; color: var(--navy-deep); font-size: .98rem; line-height: 1.3; }
.trust__item small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.35; }
.trust__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
}
.trust__icon svg { width: 24px; height: 24px; }
.trust__icon--uf {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .04em;
  box-shadow: inset 0 0 0 2px var(--gold);
}
.trust__item img { width: 48px; height: 48px; object-fit: contain; flex: none; }

.callout {
  border-left: 3px solid var(--gold);
  background: #fff;
  padding: 1.1rem 1.25rem;
  border-radius: 0 12px 12px 0;
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
}
.callout p:last-child { margin-bottom: 0; }

/* Two-column layout for About */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split__media { display: grid; place-items: center; }
.split__media .tin-static { width: min(100%, 380px); }
.logo-disc { width: min(100%, 360px); border-radius: 50%; box-shadow: 0 20px 50px rgba(7, 26, 69, .25); }

.team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  list-style: none; margin: 0; padding: 0;
}
.team li { flex: 0 1 196px; text-align: center; padding-inline: 1rem; }
@media (max-width: 460px) { .team li { flex-basis: 100%; } }
.team .avatar {
  width: 88px; height: 88px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
}
.team h3 { font-size: 1.35rem; margin-bottom: .2em; }
.team p { margin: 0; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* Contact */
.contact-card {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 6vw, 3.5rem);
  box-shadow: var(--shadow);
}
.contact-card .email {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  font-weight: 600;
  color: var(--navy);
  word-break: break-word;
  margin: .5rem 0 1.5rem;
}
.contact-topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
  max-width: 960px;
  margin-inline: auto;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #c3cbe0;
  padding-block: 3.5rem 2rem;
  font-size: .95rem;
}
.site-footer a:not(.btn) { color: #fff; }
.site-footer a:hover { color: var(--gold-light); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer__brand img { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.footer__brand strong { display: block; font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: #fff; line-height: 1.2; }
.site-footer h2 {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 2rem;
  padding-top: 1.5rem;
  font-size: .86rem;
  color: #95a0c0;
}
.footer__bottom p { margin: 0; }

/* ---------- Reveal-on-scroll (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Language blocks ----------
   Long texts have a Swedish and an English version side by side in the HTML:
   <div data-lang="sv">…</div> <div data-lang="en" hidden>…</div>
   js/site.js shows the right one. */
[data-lang][hidden] { display: none !important; }
