/* Self-hosted fonts (no connection to Google; SIL Open Font License 1.1: Lora, Inter) */
@font-face{font-family:"Lora";src:url("fonts/lora-variable.woff") format("woff");font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"Lora";src:url("fonts/lora-italic-variable.woff") format("woff");font-weight:400 700;font-style:italic;font-display:swap}
@font-face{font-family:"Inter";src:url("fonts/inter-Regular.woff") format("woff");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Inter";src:url("fonts/inter-Medium.woff") format("woff");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Inter";src:url("fonts/inter-SemiBold.woff") format("woff");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Inter";src:url("fonts/inter-Bold.woff") format("woff");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Inter";src:url("fonts/inter-ExtraBold.woff") format("woff");font-weight:800;font-style:normal;font-display:swap}
/* ==========================================================================
   aszaki — shared design system
   Brand: Tyrian purple (#66023c) dominant, Stoic/classical influence,
   clean & practical execution.
   ========================================================================== */

:root {
  /* --- Brand color core --- */
  --tyrian: #66023c;
  --tyrian-deep: #47022a;
  --tyrian-bright: #8a0350;
  --tyrian-tint-10: #f3e6ec;
  --tyrian-tint-20: #ecd7e1;

  --ink: #141212;
  --ink-soft: #201c1e;
  --paper: #f7f2ec;
  --paper-raised: #fffdfa;
  --marble: #cdbfae;
  --bronze: #a9803f;

  --text-on-light: #201417;
  --text-on-light-muted: #6b5b60;
  --text-on-dark: #f3ece7;
  --text-on-dark-muted: #b7a9ac;
  --text-on-tyrian: #f6e9ef;
  --text-on-tyrian-muted: #d9a9c0;

  --border-on-light: rgba(32, 20, 23, 0.12);
  --border-on-dark: rgba(247, 242, 236, 0.14);
  --border-on-tyrian: rgba(246, 233, 239, 0.22);

  --radius-pill: 999px;
  --radius-md: 14px;
  --radius-lg: 26px;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 64px);

  --font-display: "Lora", "Iowan Old Style", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shadow-soft: 0 20px 60px -25px rgba(20, 8, 15, 0.45);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text-on-light);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid currentColor;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

.section { padding: clamp(40px, 6vw, 76px) 0; }
.section--tight { padding: clamp(32px, 4.5vw, 56px) 0; }

.section-head {
  max-width: 960px;
  margin: 0 auto 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.section-head p { font-size: 17px; color: var(--text-on-light-muted); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--tyrian); color: var(--text-on-tyrian); }
.btn-primary:hover { background: var(--tyrian-bright); }
.btn-light { background: var(--paper-raised); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline-dark { border-color: var(--border-on-light); color: var(--text-on-light); }
.btn-outline-dark:hover { border-color: var(--tyrian); color: var(--tyrian); }
.btn-ghost-tyrian { background: rgba(255,255,255,0.12); color: var(--text-on-tyrian); border-color: var(--border-on-tyrian); }
.btn-ghost-tyrian:hover { background: rgba(255,255,255,0.2); }
.btn-sm { padding: 10px 18px; font-size: 13px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* --- Greek key motif (decorative rule), used as dividers & accents --- */
.key-rule {
  height: 14px;
  width: 100%;
  background-image: repeating-linear-gradient(
      90deg,
      currentColor 0, currentColor 2px,
      transparent 2px, transparent 14px
    ),
    repeating-linear-gradient(
      0deg,
      currentColor 0, currentColor 2px,
      transparent 2px, transparent 14px
    );
  background-size: 28px 14px, 2px 14px;
  background-repeat: repeat-x;
  opacity: 0.55;
  color: var(--tyrian);
}

/* Greek key / meander motif — used as a low-opacity background texture and
   as a thin classical divider strip between sections. Built as a mask so the
   color always follows the current section's palette. */
:root {
  --key-svg: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%20%3Cpath%20d%3D%22M0%2030%20L0%2010%20L10%2010%20L10%2030%20L20%2030%20L20%200%20L30%200%20L30%2020%20L40%2020%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%224%22%20stroke-linecap%3D%22square%22/%3E%20%3C/svg%3E");
}

.pattern-key {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: var(--key-color, rgba(255,255,255,0.09));
  -webkit-mask-image: var(--key-svg);
  mask-image: var(--key-svg);
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
  -webkit-mask-size: 56px 56px;
  mask-size: 56px 56px;
}

/* A thin classical fascia band running the full width of the seam it sits
   in — a quiet, low-opacity nod to the meander motif, not a loud filled
   texture (kept thin and light so it reads as a running border, not a
   busy background). */
.key-divider {
  height: 13px;
  width: 100%;
  background-color: var(--key-color, var(--tyrian));
  opacity: 0.6;
  -webkit-mask-image: var(--key-svg);
  mask-image: var(--key-svg);
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-size: 22px 22px;
  mask-size: 22px 22px;
  -webkit-mask-position: center;
  mask-position: center;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--border-on-light);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}
.brand-lockup {
  display: flex;
  align-items: baseline;
  gap: 11px;
}
.brand-lockup .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-lockup .brand-tag {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--tyrian);
  padding-left: 11px;
  border-left: 1px solid var(--border-on-light);
}
.site-header.on-dark { background: var(--ink); border-bottom-color: var(--border-on-dark); }
.site-header.on-dark .brand-lockup .brand-name { color: var(--text-on-dark); }
.site-header.on-dark .brand-lockup .brand-tag { border-left-color: var(--border-on-dark); }
.site-header.on-dark .main-nav a { color: var(--text-on-dark-muted); }
.site-header.on-dark .main-nav a:hover { color: var(--text-on-dark); }

/* A crisper black/white seam under a light header, used where the hero right
   below it is dark (e.g. creative solutions) — a small nod to the
   black-and-white bust motif rather than a plain grey hairline. */
.site-header--bold-line { border-bottom: 2px solid var(--ink); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { font-weight: 600; font-size: 17px; color: var(--text-on-light-muted); transition: color .15s ease; }
.main-nav a:hover, .main-nav a.is-active { color: var(--tyrian); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; }

.lang-toggle {
  height: 40px;
  padding: 0 14px 0 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-on-light);
  background: var(--paper-raised);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-on-light-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
  flex-shrink: 0;
}
.lang-toggle:hover { border-color: var(--tyrian); }
.lang-toggle .lang-globe { width: 17px; height: 17px; color: var(--tyrian); margin-right: 2px; }
.lang-toggle .lang-opt { opacity: 0.55; transition: opacity .15s ease, color .15s ease; }
.lang-toggle .lang-opt.is-active { opacity: 1; color: var(--tyrian); }
.lang-toggle .lang-sep { opacity: 0.35; font-weight: 500; }
.site-header.on-dark .lang-toggle { border-color: var(--border-on-dark); background: transparent; color: var(--text-on-dark-muted); }
.site-header.on-dark .lang-toggle .lang-globe { color: var(--text-on-dark); }
.site-header.on-dark .lang-toggle .lang-opt.is-active { color: var(--text-on-dark); }

.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter-form input {
  flex: 1; min-width: 220px;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-on-light);
  background: var(--paper-raised);
  color: var(--text-on-light);
}
.newsletter-form input::placeholder { color: var(--text-on-light-muted); }

.field--light input, .field--light textarea {
  background: var(--paper-raised);
  border-color: var(--border-on-light);
  color: var(--text-on-light);
}
.field--light input::placeholder, .field--light textarea::placeholder { color: var(--text-on-light-muted); }
.field--light label { color: var(--text-on-light-muted); }

.fact-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px; margin-top: 8px; }
.fact-strip .fact { text-align: center; }
.fact-strip .fact strong { display: block; font-family: var(--font-display); font-size: 18px; color: var(--tyrian); }
.fact-strip .fact span { font-size: 13px; color: var(--text-on-light-muted); }

.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 780px) { .press-grid { grid-template-columns: 1fr; } }
.press-cell {
  padding: 28px;
  border: 1px solid var(--border-on-light);
  border-radius: var(--radius-md);
  background: var(--paper-raised);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.press-cell .icon { width: 30px; height: 30px; color: var(--tyrian); }
.press-cell h3 { font-size: 16px; }
.press-cell p { font-size: 14px; color: var(--text-on-light-muted); }

.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--tyrian-deep), var(--ink));
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-frame .play-btn {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1.5px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.video-frame .play-btn svg { width: 26px; height: 26px; margin-left: 3px; }
.video-frame span.caption { position:absolute; bottom:20px; left:50%; transform:translateX(-50%); color: rgba(255,255,255,0.7); font-size:13px; }

.hero-media.placeholder-photo {
  border-radius: var(--radius-lg);
  min-height: 380px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.06) 16px, rgba(255,255,255,0.02) 16px, rgba(255,255,255,0.02) 32px);
  border: 1.5px dashed rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-on-tyrian-muted);
  font-size: 14px;
  padding: 24px;
}

/* Compact header on phones: keeps brand, language toggle and CTA on one row. */
@media (max-width: 640px) {
  .site-header .container { gap: 10px; min-height: 72px; }
  .brand-lockup { gap: 8px; min-width: 0; }
  .brand-lockup .brand-name { font-size: 23px; }
  .brand-lockup .brand-tag { font-size: 13.5px; padding-left: 8px; line-height: 1.25; }
  .header-cta { gap: 8px; }
  .header-cta .btn-outline-dark { display: none; }
  .header-cta .btn-sm { padding: 9px 14px; font-size: 12.5px; }
  .lang-toggle { height: 36px; padding: 0 11px; font-size: 12px; }
  .lang-toggle .lang-globe { display: none; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* --- Hero --- */
.hero {
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.has-pattern { position: relative; overflow: hidden; }
.has-pattern > *:not(.pattern-key) { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  min-height: 560px;
  padding-block: clamp(48px, 8vw, 90px);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-grid .hero-media { order: -1; }
}
.hero-eyebrow { color: var(--tyrian); }
.hero h1 { font-size: clamp(28px, 3.8vw, 50px); margin-bottom: 18px; }
.hero p.lede { font-size: 19px; color: var(--text-on-light-muted); max-width: 46ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; box-shadow: var(--shadow-soft); }
.hero-media .medallion {
  position: absolute;
  bottom: -22px;
  left: -22px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--tyrian);
  color: var(--text-on-tyrian);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  padding: 10px;
  box-shadow: 0 12px 30px -8px rgba(102,2,60,0.6);
  border: 2px solid var(--paper);
}

/* Tyrian-dominant hero variant */
.hero--tyrian {
  background: var(--tyrian);
  color: var(--text-on-tyrian);
}
.hero--tyrian .hero-eyebrow { color: var(--text-on-tyrian); border-color: var(--border-on-tyrian); }
.hero--tyrian h1 { color: #fff; }
.hero--tyrian p.lede { color: var(--text-on-tyrian-muted); }

/* Dark ink hero variant (creative solutions) */
.hero--ink { background: var(--ink); color: var(--text-on-dark); }
.hero--ink .hero-eyebrow { color: var(--marble); border-color: var(--border-on-dark); }
.hero--ink h1 { color: #fff; }
.hero--ink p.lede { color: var(--text-on-dark-muted); }

/* --- Cards --- */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 880px; margin: 0 auto; }
@media (max-width: 780px) { .card-grid { grid-template-columns: 1fr; max-width: 440px; } }

.game-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-raised);
  border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-soft);
}
.game-card-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--ink); }
.game-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.game-card:hover .game-card-media img { transform: scale(1.04); }
.game-card .card-body { position: relative; padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.game-card .card-body .link-arrow { margin-top: auto; }
.game-card .card-status {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--tyrian);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.game-card-media .card-status { position: absolute; top: 16px; left: 16px; margin-bottom: 0; }
.game-card h3 { font-size: 20px; margin-bottom: 8px; color: var(--text-on-light); }
.game-card p { color: var(--text-on-light-muted); font-size: 14.5px; margin-bottom: 14px; max-width: 42ch; }
.game-card .link-arrow { color: var(--tyrian); font-weight: 700; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border-on-dark); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 780px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-grid--2up { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 780px) { .feature-grid--2up { grid-template-columns: 1fr; } }
.feature-cell {
  padding: 36px 32px;
  border-right: 1px solid var(--border-on-dark);
  border-bottom: 1px solid var(--border-on-dark);
}
.feature-cell:last-child { border-right: none; }
.feature-cell .icon { width: 30px; height: 30px; margin-bottom: 18px; color: var(--marble); }
.feature-cell h3 { font-size: 19px; margin-bottom: 10px; color: #fff; }
.feature-cell p { color: var(--text-on-dark-muted); font-size: 15px; }

/* Same connected-box pattern as .feature-grid (Philosophie section): one
   shared bordered frame with internal dividers. A clean 3x2 grid — 5 services
   plus one Stoic-quote filler cell — so every cell in a row is the exact
   same width and (via grid's default stretch) the same height. */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-cell {
  padding: 36px 32px;
  border-right: 1px solid var(--border-on-dark);
  border-bottom: 1px solid var(--border-on-dark);
}
.service-cell:nth-child(3n) { border-right: none; }
.service-cell:nth-child(n+4) { border-bottom: none; }
@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-cell:nth-child(3n) { border-right: 1px solid var(--border-on-dark); }
  .service-cell:nth-child(2n) { border-right: none; }
  .service-cell:nth-child(n+4) { border-bottom: 1px solid var(--border-on-dark); }
  .service-cell:nth-child(n+5) { border-bottom: none; }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-cell { border-right: none !important; }
  .service-cell:nth-child(n+4) { border-bottom: 1px solid var(--border-on-dark); }
  .service-cell:last-child { border-bottom: none; }
}
.service-cell .icon { width: 30px; height: 30px; margin-bottom: 18px; color: var(--marble); }
.service-cell h3 { color: #fff; font-size: 19px; margin-bottom: 10px; }
.service-cell p { color: var(--text-on-dark-muted); font-size: 15px; margin-bottom: 22px; }

/* 6th cell: a Stoic filler instead of a 6th service, so the grid stays even */
.service-cell--quote {
  background: var(--tyrian-deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-cell--quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 14px;
}
.service-cell--quote cite {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-on-tyrian-muted);
}

/* A real, visible button — not a low-contrast link — so the expand affordance
   reads clearly against the dark card. */
.service-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-on-dark);
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.service-toggle:hover { border-color: var(--tyrian-bright); color: var(--marble); }
.service-toggle:focus-visible { outline: 2px solid var(--tyrian-bright); outline-offset: 2px; }
.service-toggle .chevron { transition: transform .2s ease; }
.service-toggle[aria-expanded="true"] .chevron { transform: rotate(90deg); }
.service-toggle[aria-expanded="true"] { border-color: var(--tyrian-bright); color: var(--marble); }
.service-detail { max-height: 0; overflow: hidden; margin-top: 0; transition: max-height .35s ease, margin-top .35s ease; }
.service-detail.is-open { max-height: 900px; margin-top: 22px; }
.service-detail ul { display: flex; flex-direction: column; gap: 12px; }
.service-detail li { font-size: 14.5px; line-height: 1.5; color: var(--text-on-dark-muted); padding-left: 17px; position: relative; }
.service-detail li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--tyrian-bright); }
.service-detail .service-detail-cta { margin-top: 16px; font-size: 14px; color: var(--marble); }

/* --- Steps (how it works) --- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 30px 24px 24px; background: var(--paper-raised); border: 1px solid var(--border-on-light); border-radius: var(--radius-md); }
.step .step-index {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--tyrian-tint-20);
  -webkit-text-stroke: 1.5px var(--tyrian);
  margin-bottom: 14px;
  line-height: 1;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--text-on-light-muted); }

/* --- Audience pills / who-its-for --- */
.audience-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.audience-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-on-light);
  font-weight: 700;
  font-size: 15px;
  background: var(--paper-raised);
}
.audience-pill .icon { width: 20px; height: 20px; color: var(--tyrian); }

/* --- CTA banner --- */
.cta-banner {
  background: var(--tyrian);
  color: var(--text-on-tyrian);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h3 { color: #fff; font-size: clamp(24px, 3vw, 32px); max-width: 32ch; }

/* Image stays side-by-side with the text at every width (never stacks) —
   it just scales down on narrow screens instead of wrapping below. Capped
   width so the banner reads as a card, not a full-bleed bar with acres of
   black on either side of it. */
.cta-banner--dial { justify-content: flex-start; align-items: center; flex-wrap: nowrap; gap: 32px; }
.cta-banner--dial .cta-dial { width: clamp(120px, 16vw, 230px); flex-shrink: 0; }
.cta-banner--dial .cta-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.cta-banner--dial .cta-copy h3 { font-size: clamp(18px, 2.8vw, 30px); }
@media (max-width: 560px) {
  .cta-banner--dial { gap: 14px; padding: 24px 20px; }
  .cta-banner--dial .cta-dial { width: 78px; }
  .cta-banner--dial .btn { padding: 10px 16px; font-size: 13px; }
}

/* --- Quote / stoic pull-quote ---
   Structure is a wrapper with two SEPARATE leaf children (quote text, cite) —
   never one data-en element containing the other as a nested tag, since the
   i18n script replaces data-en elements' entire textContent and would wipe
   out a nested child on every page load. */
.stoic-quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.stoic-quote p { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; color: var(--ink); }
.stoic-quote cite { display: block; margin-top: 18px; font-family: var(--font-sans); font-style: normal; font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tyrian); }

.stoic-quote--inline { max-width: 640px; margin: 32px auto 0; padding-top: 28px; border-top: 1px solid var(--border-on-light); }
.stoic-quote--inline p { font-size: clamp(16px, 1.6vw, 19px); }
.stoic-quote--inline cite { margin-top: 10px; font-size: 12px; }

/* Highlighted info callout — a single standout paragraph within a section
   (e.g. the "what makes this game special" hook). Reusable on any game page. */
.info-callout { max-width: 760px; margin: 0 auto; padding: 24px 28px; background: var(--tyrian-tint-10); border-radius: var(--radius-lg); text-align: center; font-size: 15.5px; line-height: 1.65; color: var(--text-on-light); }
.info-callout strong { color: var(--tyrian); }

/* --- Forms --- */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--text-on-dark-muted); }
.field input, .field textarea, .field select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-on-dark);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text-on-dark);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-on-dark-muted); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--tyrian-bright); }
.checkbox-row { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text-on-dark-muted); }
.checkbox-row input { margin-top: 3px; }

/* --- Footer --- */
/* Deliberately a shade off from a dark section right above it (e.g. Kontakt),
   plus a visible border and a small emblem, so the two never read as one
   fused block even though both are dark. */
.footer-seam {
  height: 40px;
  background: var(--ink-soft);
  border-top: 1px solid var(--border-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-footer { background: var(--ink-soft); color: var(--text-on-dark); padding-top: clamp(48px, 7vw, 80px); border-top: 1px solid var(--border-on-dark); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--border-on-dark); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand-lockup .brand-name { color: var(--text-on-dark); }
.footer-brand p { margin-top: 14px; color: var(--text-on-dark-muted); font-size: 14px; max-width: 32ch; }
.footer-brand-link { display: inline-flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-logo { width: 124px; height: 124px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-on-dark); }
.footer-wordmark { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: 0.01em; color: var(--text-on-dark); line-height: 1; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--marble); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 15px; color: var(--text-on-dark-muted); }
.footer-col a:hover { color: #fff; }
.footer-family-item { display: flex; flex-direction: column; }
.footer-family-item .fam-name { font-weight: 700; color: #fff; }
.footer-family-item .fam-desc { font-size: 12.5px; color: var(--text-on-dark-muted); }
.footer-family-item .fam-badge {
  display: inline-block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--marble);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-pill);
  padding: 2px 9px;
  width: fit-content;
}
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 26px; flex-wrap: wrap; }
.footer-bottom small { color: var(--text-on-dark-muted); font-size: 13px; }
.social-row { display: flex; align-items: center; gap: 26px; }
.social-row a {
  display: inline-flex; align-items: center;
  color: var(--text-on-dark-muted);
  transition: color .15s ease, transform .15s ease;
}
.social-row a:hover { color: #fff; transform: translateY(-2px); }
.social-row svg { height: 28px; width: auto; display: block; }
.social-row .social-bgg svg { height: 34px; }

/* ==========================================================================
   Game detail page template — dense IMDb-style hero + tab navigation.
   Reusable for every future game page (Jano is the reference implementation).
   ========================================================================== */
.breadcrumb { font-size: 14px; font-weight: 700; color: var(--tyrian); display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; }

.game-hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
  padding-block: clamp(40px, 6vw, 64px);
}
@media (max-width: 860px) {
  .game-hero-grid { grid-template-columns: 1fr; }
}
.game-hero-cover { display: flex; flex-direction: column; gap: 12px; }
.game-hero-cover img { border-radius: var(--radius-lg); width: 100%; box-shadow: var(--shadow-soft); }
/* Cover art is forced to a 1:1 square, since most board game boxes are square
   — object-fit: cover crops any non-square source image to fit rather than
   distorting it, so this works even if a future cover photo isn't square. */
.hero-cover-tile { display: block; position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; padding: 0; border: none; background: none; cursor: zoom-in; }
.hero-cover-tile img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-cover-tile:hover img { opacity: 0.94; }
/* Scrollable thumbnail strip — works the same whether there are 2 photos or
   20: each tile is a fixed size and the row scrolls horizontally instead of
   stretching, so adding more photos never breaks the layout. */
.hero-gallery { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 2px; scroll-snap-type: x proximity; }
.hero-gallery .lightbox-tile { flex: 0 0 88px; width: 88px; aspect-ratio: 1/1; scroll-snap-align: start; }
.hero-gallery .lightbox-tile.placeholder { font-size: 10px; padding: 6px; line-height: 1.3; }
.game-hero-info h1 { font-size: clamp(30px, 4vw, 46px); margin: 14px 0 12px; }
.game-hero-info .lede { font-size: 16.5px; max-width: 54ch; margin-bottom: 22px; }
.game-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.quickfacts-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 24px;
  border-top: 1px solid var(--border-on-tyrian);
  border-bottom: 1px solid var(--border-on-tyrian);
}
.quickfacts-row .qf { padding: 14px 22px 14px 0; margin-right: 22px; border-right: 1px solid var(--border-on-tyrian); }
.quickfacts-row .qf:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.quickfacts-row .qf strong { display: block; font-family: var(--font-display); font-size: 19px; color: #fff; }
.quickfacts-row .qf span { font-size: 12px; color: var(--text-on-tyrian-muted); text-transform: uppercase; letter-spacing: 0.04em; }

/* Tabs */
.game-tabs-nav { position: sticky; top: 83px; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--border-on-light); }
.game-tabs-nav .container { display: flex; gap: 4px; overflow-x: auto; }
.tab-btn {
  display: inline-block;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text-on-light-muted);
  text-decoration: none;
  border: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  background: none;
}
.tab-btn:hover { color: var(--tyrian); }
.tab-btn.is-active { color: var(--tyrian); border-bottom-color: var(--tyrian); }

/* Sections that the jump nav scrolls to — clear the sticky header + jump nav */
#geschichte, #entdecken, #regeln, #videos, #presse { scroll-margin-top: 150px; }

.panel-block + .panel-block { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--border-on-light); }

/* Fine, subtle meander strip — used as a soft seam between two sticky bars
   (e.g. header + jump nav) instead of a hard border. */
.key-divider--fine { height: 10px; opacity: 0.45; mask-size: 18px 18px; -webkit-mask-size: 18px 18px; }

/* Rulebook language rows (Regeln section) */
.rule-rows { border: 1px solid var(--border-on-light); border-radius: var(--radius-lg); overflow: hidden; }
.rule-row { display: flex; align-items: center; gap: 16px; padding: 18px 24px; color: var(--text-on-light); background: var(--paper); }
.rule-row + .rule-row { border-top: 1px solid var(--border-on-light); }
.rule-row:hover { background: var(--tyrian-tint-10); }
.rule-row-lang { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; width: 130px; flex-shrink: 0; }
.rule-row-lang .flag { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 20px; padding: 0 4px; border-radius: 3px; background: var(--tyrian-tint-10); color: var(--tyrian); font-size: 10.5px; font-weight: 800; }
.rule-row-label { flex: 1; font-size: 15px; color: var(--text-on-light-muted); }
.rule-row svg { width: 18px; height: 18px; color: var(--tyrian); flex-shrink: 0; }
.rule-row--static { cursor: default; color: var(--text-on-light-muted); font-style: italic; }
.rule-row--static:hover { background: var(--paper); }
@media (max-width: 560px) {
  .rule-row { padding: 14px 18px; gap: 10px; }
  .rule-row-lang { width: auto; }
  .rule-row-label { display: none; }
}

/* Video slider */
.slider-controls { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 14px; }
.slider-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-on-light); background: var(--paper-raised); display: flex; align-items: center; justify-content: center; color: var(--text-on-light); }
.slider-arrow:hover { border-color: var(--tyrian); color: var(--tyrian); }
.slider-arrow svg { width: 18px; height: 18px; }
.video-slider { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -4px 4px; }
/* Three cards visible at once on desktop (not one big slide at a time) —
   the slider only scrolls if there end up being more than three. */
.video-slide { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; padding: 0 4px; }
@media (max-width: 820px) {
  .video-slide { flex: 0 0 min(420px, 86vw); }
}
.video-slide .video-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(135deg, var(--tyrian-deep), var(--ink)); display: flex; align-items: center; justify-content: center; }
.video-slide .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-slide .video-embed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-slide .video-embed .media-tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: var(--radius-pill); background: rgba(10,8,9,0.55); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.03em; }
.video-slide .video-embed .play-btn { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.14); border: 1.5px solid rgba(255,255,255,0.4); display: flex; align-items: center; justify-content: center; color: #fff; }
.video-slide .video-embed .play-btn svg { width: 22px; height: 22px; margin-left: 3px; }
.video-slide .video-embed .caption { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 12.5px; text-align: center; padding: 0 16px; }
.video-slide .video-lang { margin-top: 10px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text-on-light-muted); }
.video-slide .video-lang .flag { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 16px; border-radius: 3px; background: var(--tyrian-tint-10); color: var(--tyrian); font-size: 10px; font-weight: 800; }

/* Lightbox gallery */
.lightbox-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 780px) { .lightbox-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .lightbox-grid { grid-template-columns: 1fr; } }
.lightbox-tile { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; position: relative; border: none; padding: 0; }
.lightbox-tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .4s ease; }
button.lightbox-tile { cursor: zoom-in; }
button.lightbox-tile:hover img { transform: scale(1.06); }
.lightbox-tile.placeholder { background: repeating-linear-gradient(135deg, #efe6da, #efe6da 16px, #e7dbcb 16px, #e7dbcb 32px); display: flex; align-items: center; justify-content: center; color: var(--text-on-light-muted); font-size: 13px; text-align: center; padding: 16px; border: 1.5px dashed var(--border-on-light); }

.lightbox-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(10,8,9,0.92); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox-overlay.is-open { display: flex; }
.lightbox-overlay img { max-width: 90vw; max-height: 84vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: #fff; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 20px; height: 20px; }

.rules-note { font-size: 13px; color: var(--text-on-light-muted); margin-top: 14px; }

/* --- Legal pages --- */
.legal-content h2 { font-size: 19px; margin: 36px 0 12px; color: var(--text-on-light); }
.legal-content h1 + h2 { margin-top: 0; }
.legal-content p { font-size: 15px; line-height: 1.7; color: var(--text-on-light-muted); margin-bottom: 4px; }
.legal-content ul { margin: 10px 0 14px; padding-left: 20px; list-style: disc; }
.legal-content li { font-size: 15px; line-height: 1.7; color: var(--text-on-light-muted); margin-bottom: 4px; }
.legal-content a { text-decoration: underline; color: var(--tyrian); }

/* --- utility --- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Bilingual legal pages: both language blocks are in the HTML, one is shown. */
html[lang="en"] .lang-de { display: none; }
html:not([lang="en"]) .lang-en { display: none; }
.legal-content h3 { font-size: 16px; margin: 22px 0 8px; color: var(--text-on-light); }
.legal-content ol { margin: 10px 0 14px; padding-left: 22px; list-style: decimal; }
.legal-content ol li { font-size: 15px; line-height: 1.7; color: var(--text-on-light-muted); margin-bottom: 4px; }

/* Shop pointer inside the newsletter section */
.newsletter-shop { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; max-width: 640px; margin: 56px auto 0; padding-top: 36px; border-top: 1px solid var(--border-on-light); text-align: left; }
.newsletter-shop-text { margin: 0; font-family: var(--font-display); font-size: 21px; line-height: 1.35; color: var(--text-on-light); }
@media (max-width: 640px) { .newsletter-shop { flex-direction: column; text-align: center; gap: 20px; margin-top: 44px; } .newsletter-shop-text { font-size: 19px; } }

/* Jano page: single "Das Spiel" section */
.section-head--left { text-align: left; margin-left: 0; margin-right: 0; max-width: none; align-items: flex-start; }
.section-head--left h2 { margin-bottom: 0; }
.game-intro { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.game-intro-text p { font-size: 16.5px; line-height: 1.75; color: var(--text-on-light-muted); margin: 0 0 18px; }
.game-intro-text p.lead { font-size: 21px; line-height: 1.6; color: var(--text-on-light); }
.glance { background: var(--paper-raised); border: 1px solid var(--border-on-light); border-radius: var(--radius-lg); padding: 30px 30px 26px; }
.glance h3 { font-size: 22px; margin: 0 0 18px; color: var(--text-on-light); }
.glance-list { list-style: none; margin: 0 0 22px; padding: 0; counter-reset: glance; }
.glance-list li { counter-increment: glance; display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--border-on-light); font-size: 15.5px; line-height: 1.5; color: var(--text-on-light); }
.glance-list li::before { content: counter(glance); flex: 0 0 auto; font-family: var(--font-display); font-size: 22px; line-height: 1; color: var(--tyrian); width: 14px; }
.glance-link { color: var(--tyrian); }
.story-note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 64px; margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--border-on-light); }
.story-note h3 { font-size: 26px; margin: 0; color: var(--text-on-light); }
.story-note-body p { margin: 0; font-size: 18px; line-height: 1.75; color: var(--text-on-light); }
.story-note-body cite { display: block; margin-top: 16px; font-family: var(--font-sans); font-style: normal; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tyrian); }
.lightbox-tile.placeholder { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 860px) {
  .game-intro, .story-note { grid-template-columns: 1fr; gap: 32px; }
  .game-intro-text p.lead { font-size: 19px; }
  .story-note { margin-top: 44px; padding-top: 32px; gap: 14px; }
  .story-note-body p { font-size: 17px; }
}
.game-hero-info .lede { text-wrap: pretty; }

.glance-list li { align-items: flex-start; }
.glance-list li::before { margin-top: 2px; }
.glance-text { display: flex; flex-direction: column; gap: 3px; }
.glance-text strong { font-weight: 700; font-size: 15.5px; color: var(--text-on-light); }
.glance-text span { font-size: 14.5px; line-height: 1.55; color: var(--text-on-light-muted); }
.story-note-body p + p { margin-top: 14px; }
.rule-row--press .rule-row-lang { width: 230px; }
@media (max-width: 640px) { .rule-row--press .rule-row-lang { width: auto; flex: 1; } }

/* PDF reader (view only) */
.pdf-reader { position: fixed; inset: 0; z-index: 110; display: flex; flex-direction: column; background: #17110f; color: #fff; -webkit-user-select: none; user-select: none; }
.pdf-reader[hidden] { display: none; }
.pdf-reader-bar { display: flex; align-items: center; gap: 16px; padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.pdf-reader-title { font-family: var(--font-display); font-size: 18px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdf-reader-count { font-size: 14px; color: rgba(255,255,255,0.7); font-variant-numeric: tabular-nums; }
.pdf-reader-tools { display: flex; gap: 8px; }
.pdf-reader-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.pdf-reader-btn:hover { background: rgba(255,255,255,0.12); }
.pdf-reader-btn svg { width: 18px; height: 18px; }
.pdf-reader-scroll { flex: 1; overflow: auto; padding: 24px 16px 48px; -webkit-overflow-scrolling: touch; }
.pdf-reader-status { text-align: center; color: rgba(255,255,255,0.8); padding: 40px 0; }
.pdf-reader-status[hidden] { display: none; }
.pdf-reader-status a { color: #fff; text-decoration: underline; }
.pdf-reader-doc { --z: 1; width: calc(min(100vw - 32px, 860px) * var(--z)); margin: 0 auto; }
.pdf-page { background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,0.5); margin-bottom: 20px; }
.pdf-page canvas { display: block; width: 100%; height: 100%; pointer-events: none; }
@media (max-width: 640px) { .pdf-reader-bar { padding: 10px 14px; gap: 10px; } .pdf-reader-scroll { padding: 14px 8px 40px; } .pdf-reader-doc { width: calc((100vw - 16px) * var(--z)); } }
@media print { body.pdf-open { display: none !important; } }

/* Video facade (click to load) */
.video-facade-btn { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 18px 20px; color: #fff; text-align: center; }
.video-facade-btn:hover .play-btn { background: rgba(255,255,255,0.28); }
.video-facade-title { font-size: 13.5px; line-height: 1.4; font-weight: 600; max-width: 30ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: rgba(255,255,255,0.88); }
.video-slide .video-lang span:not(.flag) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.video-note { margin: 18px 0 0; font-size: 13px; color: var(--text-on-light-muted); text-align: center; }
.video-note a { text-decoration: underline; color: var(--tyrian); }

/* Consent line for forms (GDPR) */
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; text-align: left; cursor: pointer; }
.consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--tyrian); }
.consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.consent--newsletter { flex-basis: 100%; max-width: 480px; margin: 4px auto 0; color: var(--text-on-light-muted); }
.form-grid .consent { color: var(--text-on-dark-muted); }
.newsletter-form .consent input { flex: 0 0 18px; min-width: 0; width: 18px; height: 18px; padding: 0; border-radius: 4px; }
a.lang-toggle { text-decoration: none; }

/* Two fields side by side (collapses on phones) */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: end; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .hero-media .medallion { left: 12px; bottom: -20px; } }
.link-row-label { flex: 1; font-size: 16px; font-weight: 600; color: var(--text-on-light); }

/* ===== creative solutions rework ===== */
.hero-tagline { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: clamp(18px, 2vw, 22px); line-height: 1.4; margin: 6px 0 32px; }
.hero-tagline span { display: block; }

.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.about-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 14px 0 22px; }
.about-text p { font-size: 17px; line-height: 1.7; color: var(--text-on-light-muted); margin: 0 0 18px; }
.about-text p:last-child { margin-bottom: 0; }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; gap: 20px; } }

/* 2x2 services + full-width quote row */
.service-grid--four { grid-template-columns: repeat(2, 1fr); }
.service-grid--four .service-cell,
.service-grid--four .service-cell:nth-child(3n),
.service-grid--four .service-cell:nth-child(n+4) { border-right: 1px solid var(--border-on-dark); border-bottom: 1px solid var(--border-on-dark); }
.service-grid--four .service-cell:nth-child(2n) { border-right: none; }
.service-grid--four .service-cell--quote { grid-column: 1 / -1; border-right: none; border-bottom: none; text-align: center; align-items: center; padding: clamp(36px, 5vw, 56px) 32px; }
.service-grid--four .service-cell--quote p { font-size: clamp(20px, 2.4vw, 26px); max-width: 34ch; margin: 0 auto 16px; }
.cite-source { display: block; margin-top: 6px; font-size: 12px; letter-spacing: 0.04em; color: var(--text-on-tyrian-muted); }
@media (max-width: 760px) {
  .service-grid--four { grid-template-columns: 1fr; }
  .service-grid--four .service-cell,
  .service-grid--four .service-cell:nth-child(2n),
  .service-grid--four .service-cell:nth-child(3n),
  .service-grid--four .service-cell:nth-child(n+4) { border-right: none !important; border-bottom: 1px solid var(--border-on-dark); }
  .service-grid--four .service-cell--quote { border-bottom: none; }
}

.cta-sub { color: var(--text-on-tyrian-muted); font-size: 17px; margin: -4px 0 4px; max-width: 46ch; }

.project-grid { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.project-card { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(20px, 4vw, 56px); align-items: start; background: var(--paper); border: 1px solid var(--border-on-light); border-radius: var(--radius-md); padding: clamp(26px, 3.5vw, 40px); }
.project-card-head .icon { width: 30px; height: 30px; color: var(--tyrian); margin-bottom: 16px; display: block; }
.project-card h3 { font-size: clamp(21px, 2.2vw, 26px); margin: 0; }
.project-card-body p { font-size: 16px; line-height: 1.65; color: var(--text-on-light-muted); margin: 0 0 14px; }
.project-link { margin-top: 6px; color: var(--tyrian); }
@media (max-width: 800px) { .project-card { grid-template-columns: 1fr; gap: 14px; } }

/* ===== Punky Hoopoe page ===== */
.campaign-notice { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); background: var(--tyrian-tint-10); border: 1px solid var(--tyrian-tint-20); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 36px) clamp(22px, 4vw, 44px); }
.campaign-notice .icon { width: 38px; height: 38px; flex: 0 0 auto; color: var(--tyrian); }
.campaign-notice-text { flex: 1; min-width: 0; }
.campaign-notice h2 { font-size: clamp(21px, 2.6vw, 28px); margin: 0 0 6px; }
.campaign-notice p { margin: 0; color: var(--text-on-light-muted); font-size: 16.5px; }
.campaign-notice .btn { flex: 0 0 auto; }
@media (max-width: 760px) { .campaign-notice { flex-direction: column; align-items: flex-start; } }
.game-intro-text--wide { max-width: 760px; }

/* ===== Formulare: Status und Honeypot ===== */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 4px 0 0; padding: 12px 16px; border-radius: var(--radius-md); font-size: 15px; line-height: 1.5; text-align: left; }
.form-status[hidden] { display: none; }
.form-status a { color: inherit; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.form-status--ok { background: rgba(255,255,255,.1); border: 1px solid var(--border-on-dark); color: #fff; }
.form-status--error { background: rgba(255,120,140,.12); border: 1px solid rgba(255,140,160,.45); color: #ffc9d2; }
.newsletter-form .form-status { flex-basis: 100%; max-width: 480px; margin: 4px auto 0; text-align: center; }
.newsletter-form .form-status--ok { background: var(--tyrian-tint-10); border-color: var(--tyrian-tint-20); color: var(--tyrian); }
.newsletter-form .form-status--error { background: #fbe9ec; border-color: #efbcc5; color: #8a1c2e; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Rechtstexte: lange deutsche Wörter dürfen auf dem Handy umbrechen */
.legal-content h1 { font-size: clamp(24px, 7.4vw, 42px); overflow-wrap: anywhere; hyphens: auto; }
.legal-content { overflow-wrap: anywhere; }

.price-note { margin: 14px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.78); }
