@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/Inter-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./assets/fonts/Inter-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./assets/fonts/Inter-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./assets/fonts/Inter-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('./assets/fonts/Inter-ExtraBold.ttf') format('truetype');
}

/* Default: True Black Dark Mode + Neutral Grey Surfaces */
:root {
  --bg: #000000;
  --bg-glass: rgba(0, 0, 0, 0.86);
  --surface: #141416;
  --surface-2: #1f1f23;
  --surface-3: #2b2b30;
  --ink: #f3f3f1;
  --ink-2: #a6a6ad;
  --ink-muted: #73737a;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --btn-primary-bg: #f3f3f1;
  --btn-primary-ink: #000000;
  --signal: #ff4d00;
  --verified: #22c55e;
  --cinema: #000000;
  --radius-card: 20px;
  --radius-frame: 16px;
  --radius-input: 14px;
  --radius-pill: 999px;
  --font-sans: 'Helvetica Neue', Helvetica, 'Inter', Arial, sans-serif;
  --font-mono: 'SF Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --max-w: 1240px;
  --pad-x: clamp(16px, 4vw, 44px);
}

/* Optional Off-White Light Mode via ◐ Toggle */
[data-theme='light'] {
  --bg: #f4f3ef;
  --bg-glass: rgba(244, 243, 239, 0.86);
  --surface: #eae8e2;
  --surface-2: #dfddd6;
  --surface-3: #d2d0c8;
  --ink: #111113;
  --ink-2: #4c4c52;
  --ink-muted: #76767e;
  --border: rgba(17, 17, 19, 0.1);
  --border-strong: rgba(17, 17, 19, 0.22);
  --btn-primary-bg: #111113;
  --btn-primary-ink: #f4f3ef;
  --verified: #0f7a4b;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.22s ease, color 0.22s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

.sym {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* =========================================================================
   FLOATING / STICKY ROUNDED MASTHEAD (ALWAYS MOBILE-FRIENDLY)
   ========================================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 12px 0;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  justify-self: start;
}

.brand-mark-wrap {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: transparent;
}

.brand-mark-wrap svg,
.brand-mark-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

[data-theme='light'] .brand-logo-img {
  filter: invert(1);
}

.brand-name {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  justify-self: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  background: var(--surface-2);
  color: var(--ink);
  outline: none;
}

.theme-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
  flex-shrink: 0;
  justify-self: end;
}

@media (max-width: 440px) {
  .brand-name {
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  .nav-link {
    padding: 5px 8px;
    font-size: 11.5px;
  }
}

.theme-btn:hover,
.theme-btn:focus-visible {
  background: var(--surface-2);
  color: var(--ink);
  border-color: var(--border-strong);
  outline: none;
}

.signal-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--signal);
  display: inline-block;
  flex-shrink: 0;
}

/* =========================================================================
   HERO — SPACE10 HIGHLIGHTS OPENING + ROUNDED CINEMA FRAME
   ========================================================================= */

.hero-section {
  padding-top: clamp(28px, 5.5vw, 68px);
  padding-bottom: clamp(44px, 6.5vw, 88px);
}

.hero-copy {
  max-width: 820px;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 18px;
}

.hero-headline {
  margin: 0;
  font-size: clamp(30px, 5vw, 62px);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.05;
  color: var(--ink);
}

.hero-sub {
  margin: 16px 0 0;
  font-size: clamp(15px, 1.7vw, 17.5px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 46ch;
}

.hero-card {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-card);
  padding: 8px;
}

.hero-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 640px;
  border-radius: var(--radius-card);
  background: var(--cinema);
  overflow: hidden;
  cursor: pointer;
}

@media (min-width: 960px) {
  .hero-stage {
    aspect-ratio: 21 / 10;
  }
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-stage:hover .hero-media {
  transform: scale(1.022);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 9, 11, 0.56) 0%, transparent 48%);
  pointer-events: none;
}

.frame-pill-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  background: rgba(17, 17, 19, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f3f3f1;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-tl {
  top: 12px;
  left: 12px;
}

.badge-br {
  right: 12px;
  bottom: 12px;
}

.hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 10px 6px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.hero-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}

.pill-btn:hover,
.pill-btn:focus-visible {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-ink);
  border-color: var(--btn-primary-bg);
  outline: none;
}

/* =========================================================================
   SELECTED WORK — ROUNDED DARK-GREY CARDS & SYMBOL CONTROLS
   ========================================================================= */

.section-block {
  padding-block: clamp(40px, 6.5vw, 84px);
  border-top: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: clamp(22px, 3.2vw, 34px);
}

.section-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-symbol {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.section-title {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.view-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.view-btn.active {
  background: var(--surface-3);
  color: var(--ink);
}

/* Visual Frames Grid */
.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.6vw, 24px);
}

@media (min-width: 860px) {
  .works-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.work-card {
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: var(--radius-card);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.18s ease;
}

.work-card:hover {
  background: transparent;
  border-color: transparent;
}

.work-card:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.work-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-frame);
  background: var(--cinema);
  overflow: hidden;
}

.work-frame img,
.work-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-frame video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.work-card.playing-preview .work-frame video {
  opacity: 1;
}

.work-card:hover .work-frame img {
  transform: scale(1.03);
}

.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 8px 6px;
}

.work-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.index-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-muted);
}

.work-card:hover .index-chip {
  background: var(--surface-3);
  color: var(--ink-2);
}

.work-title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-cat {
  font-size: 12.5px;
  color: var(--ink-muted);
  white-space: nowrap;
}

/* Rounded Index List View */
.works-index {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.index-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.index-row:hover {
  background: var(--surface);
}

.index-title {
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.index-right {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.index-arrow {
  color: var(--ink-muted);
  transition: transform 0.15s ease, color 0.15s ease;
}

.index-row:hover .index-arrow {
  color: var(--ink);
  transform: translate(2px, -2px);
}

/* =========================================================================
   INFO / CONTACT — SOFT ROUNDED GREY SURFACE CARDS
   ========================================================================= */

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 780px) {
  .info-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 20px;
  }
}

.info-card {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-card);
  padding: clamp(20px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.info-statement {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.info-footer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.contact-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: transparent;
  border: 1px solid transparent;
  transition: background-color 0.15s ease;
}

a.contact-row:hover,
a.contact-row:focus-visible {
  background: var(--surface);
  outline: none;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.contact-value {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-symbol {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}

a.contact-row:hover .contact-symbol {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-ink);
}

/* =========================================================================
   SCREENING ROOM LIGHTBOX
   ========================================================================= */

.screening-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #f3f3f1;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}

.screening-modal.open {
  display: flex;
}

.screening-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px var(--pad-x);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screening-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-pill-btn {
  height: 34px;
  min-width: 34px;
  padding: 0 11px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #f3f3f1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.icon-pill-btn:hover,
.icon-pill-btn:focus-visible {
  background: #f3f3f1;
  color: #111113;
  border-color: #f3f3f1;
  outline: none;
}

.screening-body {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.screening-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.screening-player-wrap video,
.screening-player-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screening-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 20px;
  padding-inline: 4px;
}

.screening-title {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.screening-spec {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 243, 241, 0.6);
}

/* =========================================================================
   VERIFY PAGE (PRIVATE EXACT-MATCH CREDENTIAL CHECK)
   ========================================================================= */

.verify-main {
  padding-block: clamp(28px, 5.5vw, 68px);
}

.verify-shell {
  max-width: 640px;
  margin: 0 auto;
}

.verify-panel {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-card);
  padding: clamp(20px, 3.5vw, 32px);
}

.verify-heading {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.8vw, 34px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.verify-intro {
  margin: 0 0 22px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.verify-form {
  display: flex;
  gap: 8px;
}

@media (max-width: 520px) {
  .verify-form {
    flex-direction: column;
  }
}

.verify-input {
  flex: 1;
  min-width: 0;
  padding: 12px 15px;
  border-radius: var(--radius-input);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.verify-input::placeholder {
  color: var(--ink-muted);
}

.verify-input:focus {
  outline: 2px solid var(--signal);
  outline-offset: 1px;
}

.btn-primary-pill {
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--btn-primary-bg);
  background: var(--btn-primary-bg);
  color: var(--btn-primary-ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.btn-primary-pill:hover,
.btn-primary-pill:focus-visible {
  opacity: 0.88;
  outline: none;
}

.btn-ghost-pill {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.btn-ghost-pill:hover,
.btn-ghost-pill:focus-visible {
  background: var(--surface-3);
  outline: none;
}

.verify-result {
  margin-top: 20px;
}

.cert-card {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 24px);
}

.cert-card.verified {
  border-color: rgba(34, 197, 94, 0.45);
}

.cert-card.not-found {
  border-color: rgba(255, 77, 0, 0.45);
}

.cert-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cert-ok {
  color: var(--verified);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.cert-ok::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--verified);
  display: inline-block;
}

.cert-rows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 560px) {
  .cert-rows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cert-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.cert-val {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 3px;
}

.cert-notice {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
}

.cert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.verify-desk-footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-2);
}

.verify-desk-footer a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
}

/* =========================================================================
   FLOATING SPACE10-STYLE ROUNDED COOKIE BAR & PREFERENCES MODAL
   ========================================================================= */

.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(680px, calc(100% - 24px));
  z-index: 60;
  background: rgba(27, 27, 30, 0.92);
  color: #f3f3f1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 14px 16px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

[data-theme='light'] .cookie-bar {
  background: rgba(244, 243, 239, 0.94);
  color: #111113;
  border-color: rgba(17, 17, 19, 0.16);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.cookie-bar.visible {
  display: flex;
}

@media (max-width: 640px) {
  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
    bottom: 12px;
  }
}

.cookie-copy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
}

.cookie-copy strong {
  color: var(--ink);
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-btn:hover {
  background: var(--surface-2);
}

.cookie-btn.accept {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-ink);
  border-color: var(--btn-primary-bg);
}

.cookie-btn.accept:hover {
  opacity: 0.9;
}

/* Cookie & Privacy Sheet Modal */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(9, 9, 11, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.sheet-backdrop.open {
  display: flex;
}

.sheet-card {
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 22px;
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sheet-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.sheet-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cookie-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  margin-top: 10px;
}

.cookie-row-title {
  font-size: 13.5px;
  font-weight: 600;
}

.cookie-row-desc {
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: 2px;
}

.toggle-pill {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background-color 0.16s ease;
}

.toggle-pill::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.16s ease;
}

.toggle-pill[aria-checked='true'] {
  background: var(--btn-primary-bg);
}

.toggle-pill[aria-checked='true']::after {
  background: var(--btn-primary-ink);
  transform: translateX(18px);
}

.toggle-pill:disabled {
  opacity: 0.6;
  cursor: default;
}

.sheet-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

/* =========================================================================
   MINIMAL FOOTER WITH WORKING COOKIES & PRIVACY CONTROLS
   ========================================================================= */

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 26px 40px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.footer-link-btn {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 12.5px;
  color: var(--ink-muted);
  cursor: pointer;
}

.footer-links a:hover,
.footer-link-btn:hover {
  color: var(--ink);
}

@media print {
  body {
    background: #ffffff;
    color: #000000;
  }

  .site-header,
  .site-footer,
  .cookie-bar,
  .sheet-backdrop,
  .no-print {
    display: none !important;
  }

  .verify-panel,
  .cert-card {
    background: #ffffff;
    color: #000000;
    border: 1px solid #000000;
  }
}
