:root {
  color-scheme: light;
  --paper: #f6f0e7;
  --paper-strong: #efe2d0;
  --panel: rgba(255, 251, 246, 0.88);
  --panel-solid: #fffaf4;
  --ink: #2f1d0f;
  --ink-soft: #6c4c35;
  --ink-faint: #8a6b52;
  --brand: #7f4f2c;
  --brand-dark: #56301a;
  --brand-pale: #e6d0b4;
  --sage: #60715a;
  --gold: #c5924f;
  --line: rgba(92, 58, 34, 0.18);
  --line-strong: rgba(92, 58, 34, 0.3);
  --shadow: 0 24px 60px rgba(66, 36, 18, 0.12);
  --shadow-soft: 0 10px 25px rgba(66, 36, 18, 0.08);
  --radius: 8px;
  --radius-lg: 18px;
  --max: 1260px;
}

@font-face {
  font-family: "Arvo Local";
  src: url("./arvo-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.62), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 32%),
    repeating-linear-gradient(
      0deg,
      rgba(127, 79, 44, 0.014) 0 1px,
      transparent 1px 44px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(127, 79, 44, 0.012) 0 1px,
      transparent 1px 44px
    ),
    var(--paper);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

.app-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(214, 191, 160, 0.18);
  background:
    linear-gradient(180deg, rgba(72, 41, 21, 0.98), rgba(43, 23, 11, 0.98));
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 24px rgba(28, 15, 7, 0.16);
}

.site-header__subnav {
  display: none;
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand nav";
  align-items: center;
  gap: 24px;
  min-height: 40px;
  padding: 2px 0;
}

.brand-lockup {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
  max-width: max-content;
  justify-self: start;
  margin-left: 0;
  padding-left: 0;
}

.brand-stamp {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 98px;
  aspect-ratio: 1.28 / 1;
  border: 2px solid var(--brand);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  text-align: center;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 4px rgba(246, 240, 231, 0.95),
    inset 0 0 0 6px var(--brand);
}

.brand-logo {
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
  object-position: left center;
}

.brand-logo--full {
  width: clamp(176px, 15vw, 224px);
  margin-left: 0;
}

.brand-logo--header {
  width: clamp(156px, 13vw, 206px);
  margin-left: 0;
  clip-path: none;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.brand-logo--qr {
  width: 40px;
}

.brand-stamp::after {
  position: absolute;
  inset: 8px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  content: "";
}

.brand-stamp__top,
.brand-stamp__bottom {
  position: absolute;
  z-index: 1;
  font-size: 7px;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-stamp__top {
  top: 16px;
}

.brand-stamp__bottom {
  bottom: 15px;
}

.brand-stamp strong {
  position: relative;
  z-index: 1;
  margin-top: 2px;
  font-size: 14px;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-stamp small {
  font-size: 8px;
}

.brand-copy {
  min-width: 0;
  flex: 1 1 auto;
  --brand-copy-size: clamp(20px, 1.34vw, 22px);
}

.site-admin-preview__copy {
  --brand-copy-size: clamp(20px, 1.34vw, 22px);
}

.brand-copy strong,
.site-admin-preview__copy strong {
  display: inline-flex;
  align-items: baseline;
  gap: 0.16em;
  color: #f3e6d2;
  font-family: "Arvo Local", "Rockwell", "American Typewriter", Georgia, "Times New Roman", serif;
  font-size: var(--brand-copy-size);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.brand-copy--sans strong,
.site-admin-preview__copy.brand-copy--sans strong {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: none;
  font-weight: 700;
}

.brand-copy--display strong,
.site-admin-preview__copy.brand-copy--display strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.brand-copy--sm,
.site-admin-preview__copy.brand-copy--sm {
  --brand-copy-size: clamp(16px, 1vw, 18px);
}

.brand-copy--md,
.site-admin-preview__copy.brand-copy--md {
  --brand-copy-size: clamp(20px, 1.34vw, 22px);
}

.brand-copy--lg,
.site-admin-preview__copy.brand-copy--lg {
  --brand-copy-size: clamp(24px, 1.8vw, 30px);
}

.brand-copy strong span {
  display: inline-block;
}

.brand-word--minor {
  position: relative;
  top: -0.04em;
  font-size: 0.48em;
  letter-spacing: 0.02em;
  opacity: 0.92;
}

.site-nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  align-self: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  flex: 0 0 auto;
  max-width: 100%;
  margin-bottom: 0;
  justify-self: end;
}

.nav-link,
.icon-button,
.text-button,
.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.nav-link {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(243, 230, 210, 0.9);
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
}

.nav-link svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
  opacity: 0.88;
}

.nav-link:hover,
.nav-link.is-active {
  background: transparent;
  color: #fff8ee;
}

.nav-link--primary,
.text-button--primary,
.pill-button.is-active {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: #fffaf4;
  box-shadow: 0 10px 22px rgba(86, 48, 26, 0.16);
}

.nav-link--primary:hover,
.text-button--primary:hover {
  background: var(--brand);
}

.hero {
  padding: 30px 0 40px;
  border-bottom: 1px solid var(--line);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
  gap: 48px;
  align-items: start;
}

.hero-intro {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  padding-top: 18px;
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 5.4vw, 80px);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  max-width: 10ch;
}

.hero p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.65;
  max-width: 33rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions--center {
  justify-content: center;
}

.hero-feature {
  display: grid;
  gap: 14px;
  min-width: 0;
  align-content: start;
}

.hero-feature__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px;
}

.hero-feature__header .mini-meta {
  margin: 0;
  font-size: 12px;
  white-space: nowrap;
}

.hero-feature__card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 251, 246, 0.94);
  overflow: hidden;
  box-shadow:
    0 24px 55px rgba(66, 36, 18, 0.12),
    0 8px 18px rgba(66, 36, 18, 0.05);
}

.hero-feature__body {
  padding: 18px 20px 20px;
}

.hero-feature__body h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 2.2vw, 36px);
  line-height: 1.04;
}

.hero-feature__body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

.hero-feature__list {
  display: grid;
  gap: 12px;
}

.hero-feature__list .stack-link {
  background: rgba(255, 253, 249, 0.82);
}

.step-icon,
.feature-icon,
.hosting-icon,
.status-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(180deg, #f5ebde, #ecd7bc);
  color: var(--brand-dark);
  box-shadow: inset 0 0 0 1px rgba(127, 79, 44, 0.12);
}

.step-icon svg,
.feature-icon svg,
.hosting-icon svg,
.status-icon svg,
.icon-button svg,
.text-button svg,
.nav-link svg,
.table-action svg,
.empty-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.section {
  padding: 26px 0;
  border-bottom: 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--brand-dark);
}

.section-title svg {
  width: 20px;
  height: 20px;
}

.section-title h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-rule {
  flex: 1 1 auto;
  height: 1px;
  background: transparent;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.public-examples {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.example-tile {
  min-width: 0;
}

.example-title {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  margin-bottom: 10px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.example-title svg {
  width: 20px;
  height: 20px;
}

.device-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 10px;
  align-items: end;
}

.device {
  min-width: 0;
  overflow: hidden;
  border: 2px solid #221408;
  background: #fffdf9;
  box-shadow: 0 12px 0 rgba(34, 20, 8, 0.08);
}

.device--desktop {
  min-height: 286px;
  border-radius: 10px;
}

.device--phone {
  min-height: 268px;
  border-width: 4px;
  border-radius: 22px;
}

.device-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  background: #241609;
  color: #fffdf9;
  font-size: 9px;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.device-nav {
  display: flex;
  gap: 8px;
  color: rgba(255, 253, 249, 0.72);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 7px;
}

.device-content {
  padding: 12px;
}

.device--phone .device-content {
  padding: 10px;
}

.mini-title {
  margin: 0 0 5px;
  font-size: 15px;
  line-height: 1.15;
}

.device--phone .mini-title {
  font-size: 12px;
}

.mini-meta {
  margin: 0 0 10px;
  color: var(--ink-faint);
  font-size: 10px;
  line-height: 1.4;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.device--phone .mini-grid {
  grid-template-columns: 1fr;
  gap: 8px;
}

.mini-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-copy {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.45;
}

.memory-scene {
  position: relative;
  overflow: hidden;
  min-height: 92px;
  border: 1px solid rgba(34, 20, 8, 0.12);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(33, 20, 7, 0.02), rgba(33, 20, 7, 0.28)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 45%),
    linear-gradient(180deg, #b28a5d 0%, #9f7649 42%, #6b4c32 100%);
  isolation: isolate;
}

.memory-scene::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 38%),
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.18), transparent 28%);
  content: "";
}

.memory-scene::after {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 32%;
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(34, 20, 8, 0.4) 0 8%, transparent 8% 17%, rgba(34, 20, 8, 0.34) 17% 25%, transparent 25% 39%, rgba(34, 20, 8, 0.28) 39% 49%, transparent 49% 63%, rgba(34, 20, 8, 0.34) 63% 71%, transparent 71%),
    linear-gradient(180deg, rgba(239, 210, 176, 0.5), rgba(79, 51, 31, 0.8));
  opacity: 0.9;
  content: "";
}

.memory-scene--short {
  min-height: 58px;
}

.memory-scene--short::after {
  left: 8px;
  right: 8px;
  bottom: 8px;
}

.memory-scene--tall {
  min-height: 420px;
  border-radius: 0;
}

.memory-scene--tall::after {
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.scene-interview {
  background:
    linear-gradient(180deg, rgba(33, 20, 7, 0.02), rgba(33, 20, 7, 0.28)),
    radial-gradient(circle at 54% 34%, rgba(242, 212, 173, 0.82) 0 10%, transparent 11%),
    radial-gradient(circle at 54% 58%, rgba(53, 33, 19, 0.85) 0 16%, transparent 17%),
    linear-gradient(180deg, #b99669 0%, #92704b 42%, #62432d 100%);
}

.scene-workshop {
  background:
    linear-gradient(180deg, rgba(33, 20, 7, 0.02), rgba(33, 20, 7, 0.22)),
    linear-gradient(125deg, transparent 0 32%, rgba(255, 255, 255, 0.3) 33% 45%, transparent 46%),
    linear-gradient(180deg, #c19b68 0%, #8e643e 44%, #523621 100%);
}

.scene-village {
  background:
    linear-gradient(180deg, rgba(33, 20, 7, 0.08), rgba(33, 20, 7, 0.15)),
    linear-gradient(180deg, #90b0ba 0 50%, #bda071 50% 100%);
}

.scene-village::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  border-radius: 0;
  background:
    linear-gradient(135deg, transparent 0 24%, rgba(73, 103, 83, 0.95) 25% 48%, transparent 49%),
    linear-gradient(45deg, transparent 0 18%, rgba(86, 115, 77, 0.92) 19% 42%, transparent 43%),
    linear-gradient(180deg, rgba(123, 100, 67, 0.2), rgba(123, 100, 67, 0.4));
}

.scene-fountain {
  background:
    linear-gradient(180deg, rgba(33, 20, 7, 0.04), rgba(33, 20, 7, 0.16)),
    linear-gradient(180deg, #d8bf8c 0 56%, #9a7548 56% 100%);
}

.scene-fountain::after {
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 44%;
  border-radius: 4px;
  background:
    radial-gradient(circle at 34% 38%, rgba(222, 212, 188, 0.9) 0 10%, transparent 11%),
    radial-gradient(circle at 34% 42%, rgba(97, 129, 145, 0.92) 0 15%, transparent 16%),
    linear-gradient(90deg, #6f4526 0 16%, transparent 16% 32%, #6f4526 32% 48%, transparent 48% 64%, #6f4526 64% 80%, transparent 80% 100%);
}

.scene-market {
  background:
    linear-gradient(180deg, rgba(33, 20, 7, 0.04), rgba(33, 20, 7, 0.16)),
    linear-gradient(180deg, #86a8b7 0 46%, #7b875f 46% 64%, #b1824d 64% 100%);
}

.scene-market::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 56%;
  border-radius: 0;
  background:
    linear-gradient(155deg, transparent 0 24%, #fff3e2 25% 41%, transparent 42%),
    linear-gradient(25deg, transparent 0 18%, #fff3e2 19% 35%, transparent 36%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.15));
}

.scene-archive {
  background:
    linear-gradient(180deg, rgba(33, 20, 7, 0.02), rgba(33, 20, 7, 0.22)),
    linear-gradient(180deg, #ba9865 0 22%, #6a4527 22% 26%, #d8bb87 26% 54%, #6a4527 54% 58%, #8c6640 58% 100%);
}

.play-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 40px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(34, 20, 8, 0.82);
  color: #fffaf4;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 22px rgba(34, 20, 8, 0.2);
}

.play-badge svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: none;
  transform: translateX(1px);
}

.memory-scene--tall .play-badge {
  width: 74px;
}

.memory-scene--tall .play-badge svg {
  width: 28px;
  height: 28px;
}

.mini-card h4 {
  margin: 6px 0 0;
  font-size: 10px;
  line-height: 1.25;
}

.phone-list {
  display: grid;
  gap: 8px;
}

.phone-list__item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
}

.phone-list__item strong {
  font-size: 8px;
  line-height: 1.25;
}

.phone-list__item .memory-scene {
  min-height: 28px;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin-top: 10px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--brand-dark);
  color: #fffaf4;
  font-size: 9px;
  font-weight: 800;
}

.gallery-filters {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery-filters span,
.filter-chip {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf4;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
}

.gallery-filters span:first-child,
.filter-chip.is-active {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: #fffaf4;
}

.event-card-mini {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fffdf9;
}

.dashboard-band {
  display: grid;
  grid-template-columns: minmax(340px, 1.25fr) minmax(280px, 0.95fr) minmax(280px, 0.85fr);
  gap: 20px;
  align-items: stretch;
}

.span-two {
  grid-column: span 2;
}

.panel-preview,
.info-panel,
.delivery-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.panel-preview {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  min-height: 300px;
  overflow: hidden;
}

.preview-sidebar {
  padding: 16px 12px;
  background: #23150a;
  color: #fffaf4;
}

.preview-sidebar strong {
  display: block;
  margin-bottom: 18px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-menu {
  display: grid;
  gap: 5px;
}

.side-menu span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 8px;
  border-radius: 6px;
  color: rgba(255, 250, 244, 0.8);
  font-size: 12px;
}

.side-menu span.is-active {
  background: rgba(198, 146, 79, 0.32);
  color: #fffaf4;
}

.side-menu svg {
  width: 15px;
  height: 15px;
}

.preview-main {
  min-width: 0;
  padding: 18px;
}

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

.preview-main h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  letter-spacing: 0.01em;
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.mini-table th,
.mini-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(92, 58, 34, 0.12);
  text-align: left;
  vertical-align: top;
}

.mini-table th {
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(96, 113, 90, 0.16);
  color: #445542;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.status-badge--reservado,
.status-badge--breve {
  background: rgba(197, 146, 79, 0.22);
  color: #825a25;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.feature-item {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(92, 58, 34, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.34);
}

.feature-icon {
  width: 40px;
  margin-bottom: 9px;
  border-radius: 10px;
}

.feature-item h3,
.hosting-row h3,
.delivery-row h3,
.cost-row h3 {
  margin: 0 0 5px;
  font-size: 13px;
}

.feature-item p,
.hosting-row p,
.delivery-row p,
.cost-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.48;
}

.info-panel {
  padding: 18px;
}

.info-panel h2,
.delivery-panel h2 {
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hosting-list,
.delivery-list,
.cost-list {
  display: grid;
  gap: 12px;
}

.hosting-row,
.delivery-row,
.cost-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.hosting-icon,
.status-icon {
  width: 36px;
  border-radius: 9px;
}

.hosting-icon--youtube {
  background: rgba(214, 45, 31, 0.12);
  color: #d62d1f;
}

.hosting-icon--bunny {
  background: rgba(234, 112, 31, 0.13);
  color: #d96a1d;
}

.hosting-icon--cloudflare {
  background: rgba(236, 123, 32, 0.13);
  color: #dd6d18;
}

.hosting-icon--cloudinary {
  background: rgba(43, 93, 185, 0.13);
  color: #2b5db9;
}

.hosting-icon--vimeo {
  background: rgba(36, 142, 177, 0.12);
  color: #248eb1;
}

.delivery-panel {
  padding: 18px;
}

.delivery-block {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.delivery-block:last-child {
  padding-top: 14px;
  padding-bottom: 0;
  border-bottom: 0;
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #476647;
  font-weight: 900;
  content: "✓";
}

.growth-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.growth-card,
.public-card,
.admin-card,
.qr-card,
.content-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.growth-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
}

.growth-card h3 {
  margin: 0 0 5px;
  font-size: 14px;
}

.growth-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.client-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 251, 246, 0.76);
  box-shadow: var(--shadow-soft);
}

.client-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  font-size: 12px;
}

.client-table th,
.client-table td {
  padding: 9px 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.client-table th {
  background: var(--paper-strong);
  color: var(--ink-faint);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.client-table td:nth-child(1),
.client-table td:nth-child(3),
.client-table th:nth-child(1),
.client-table th:nth-child(3) {
  text-align: left;
}

.public-page {
  padding: 24px 0 44px;
}

.public-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 320px;
  gap: 20px;
  align-items: start;
}

.public-layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.public-main,
.public-side {
  min-width: 0;
}

.public-card {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.public-card__body {
  padding: 18px;
}

.public-card h1 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.02;
  letter-spacing: 0.01em;
}

.public-card p {
  color: var(--ink-soft);
  line-height: 1.6;
}

.public-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf9;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.video-card,
.photo-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf9;
  overflow: hidden;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.video-card:hover,
.photo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 79, 44, 0.28);
  box-shadow: var(--shadow-soft);
}

.video-card__body,
.photo-card__body {
  padding: 12px;
}

.video-card h3,
.photo-card h3 {
  margin: 0 0 5px;
  font-size: 14px;
}

.video-card p,
.photo-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.42;
}

.side-panel {
  display: grid;
  gap: 14px;
}

.qr-card,
.content-panel {
  padding: 16px;
}

.qr-visual {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  width: 148px;
  aspect-ratio: 1;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
}

.qr-visual span {
  border-radius: 2px;
  background: rgba(34, 20, 8, 0.14);
}

.qr-visual span.is-dark {
  background: var(--ink);
}

.qr-card .qr-visual {
  margin-bottom: 12px;
}

.qr-card h2,
.content-panel h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.qr-card p,
.content-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.event-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.event-detail {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf9;
}

.event-detail strong {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.event-detail span {
  color: var(--ink-soft);
  font-size: 13px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0 44px;
}

.admin-login-shell {
  min-height: calc(100vh - 240px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 0 48px;
}

.admin-login-card {
  width: min(100%, 520px);
  padding: 28px;
}

.admin-login-card__header {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.admin-login-card__header h1,
.admin-login-card__header p {
  margin: 0;
}

.admin-login-card__header p {
  color: var(--ink-soft);
}

.admin-login-card__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.admin-login-card__loading {
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.admin-sidebar {
  position: sticky;
  top: 98px;
  align-self: start;
  min-width: 0;
  border-radius: 12px;
  background: #23150a;
  color: #fffaf4;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.admin-sidebar__header {
  padding: 18px;
  border-bottom: 1px solid rgba(255, 250, 244, 0.12);
}

.admin-sidebar__header strong {
  display: block;
  font-size: 15px;
}

.admin-sidebar__header span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 250, 244, 0.66);
  font-size: 12px;
}

.admin-nav {
  display: grid;
  gap: 4px;
  padding: 10px;
}

.admin-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 250, 244, 0.78);
  text-align: left;
  font-size: 13px;
  font-weight: 800;
}

.admin-nav button.is-active {
  background: rgba(197, 146, 79, 0.3);
  color: #fffaf4;
}

.admin-nav svg {
  width: 18px;
  height: 18px;
  color: #fffaf4;
  opacity: 1;
  stroke: currentColor;
}

.admin-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.admin-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 98px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(247, 239, 228, 0.9));
  box-shadow: var(--shadow-soft);
}

.admin-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.admin-hero p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 1 1 220px;
  max-width: calc(25% - 8px);
  min-width: 0;
  min-height: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-solid);
  box-shadow: var(--shadow-soft);
}

.stat-card span {
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin-top: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1;
}

.admin-grid--balanced {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card--action,
.mini-panel--action,
.qr-card--action {
  cursor: pointer;
  text-align: left;
}

.stat-card--action:hover,
.mini-panel--action:hover,
.qr-card--action:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: 18px;
  align-items: start;
}

.admin-card {
  padding: 16px;
}

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

.admin-card__header h2 {
  margin: 0;
  font-size: 20px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.toolbar input,
.toolbar select,
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  color: var(--ink);
  padding: 0 11px;
}

.toolbar input {
  flex: 1 1 220px;
}

.toolbar select {
  flex: 0 0 170px;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  padding: 11px 10px;
  border-bottom: 1px solid rgba(92, 58, 34, 0.12);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--ink-faint);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-table tr {
  background: #fffdf9;
}

.admin-table tr.is-selected {
  background: rgba(230, 208, 180, 0.42);
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.type-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(56, 103, 125, 0.14);
  color: #2d5766;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.table-actions {
  display: flex;
  gap: 6px;
}

.table-action,
.icon-button {
  width: 36px;
  min-width: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  color: var(--ink);
}

.table-action:hover,
.icon-button:hover {
  border-color: rgba(127, 79, 44, 0.34);
  color: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.text-button {
  min-height: 44px;
  padding: 0 16px;
  border-color: var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  box-shadow:
    0 8px 22px rgba(66, 36, 18, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.text-button--ghost {
  background: transparent;
  box-shadow: none;
}

.editor-form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field textarea {
  min-height: 92px;
  padding-top: 10px;
  resize: vertical;
}

.field small {
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.45;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.admin-section-divider {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(92, 58, 34, 0.12);
}

.admin-section-divider strong {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-section-divider span {
  color: var(--ink-faint);
  font-size: 12px;
}

.site-admin-preview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 116px;
  height: 116px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #5f3419, #422412);
  overflow: visible;
}

.site-admin-preview__logo .brand-logo--header {
  width: auto;
  min-width: 0;
  max-width: min(38vw, 340px);
  height: clamp(64px, calc(42px * var(--header-logo-scale, 1.35)), 108px);
  max-height: none;
  object-fit: contain;
  object-position: left center;
  margin-right: 0;
  filter: brightness(0) invert(1) drop-shadow(0 0 0.5px rgba(255,255,255,0.92)) drop-shadow(0 2px 8px rgba(25, 14, 7, 0.24));
}

.site-admin-preview__logo {
  display: inline-grid;
  place-items: center start;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.site-upload-row__current {
  display: grid;
  place-items: center;
  min-height: calc(20px + (72px * var(--header-logo-scale, 1.35)));
  padding: 6px 10px;
  border: 1px solid rgba(92, 58, 34, 0.12);
  border-radius: 12px;
  background: rgba(255, 252, 247, 0.12);
}

.field-list {
  display: grid;
  gap: 10px;
}

.field-list__row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.field-list__row span {
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(127, 79, 44, 0.08);
}

.site-admin-preview__copy strong {
  color: #fff7ed;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.14);
}

.site-admin-preview__logo {
  background: transparent;
}

.site-admin-preview {
  padding: 0 16px;
}

.site-admin-hero-preview {
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdf9;
  overflow: hidden;
}

.site-admin-hero-preview img {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.site-admin-hero-preview span {
  color: var(--ink-faint);
  font-size: 13px;
}

.site-upload-row__placeholder {
  display: grid;
  place-items: center;
  min-height: 108px;
  min-width: 160px;
  padding: 10px;
  border: 1px solid rgba(92, 58, 34, 0.12);
  border-radius: 12px;
  background: #fffdf9;
  overflow: hidden;
}

.site-upload-row__placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack-link--topic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: grab;
  user-select: none;
}

.stack-link--topic.is-dragging {
  opacity: 0.55;
  cursor: grabbing;
}

.stack-link--topic.is-drop-target {
  border-color: rgba(127, 79, 44, 0.38);
  background: rgba(236, 225, 211, 0.72);
  box-shadow: 0 0 0 2px rgba(127, 79, 44, 0.08);
}

.icon-button[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checkbox-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf9;
}

.checkbox-card--single {
  grid-template-columns: auto minmax(0, 1fr);
}

.checkbox-card input {
  margin-top: 3px;
}

.checkbox-card span {
  display: grid;
  gap: 4px;
}

.checkbox-card strong {
  font-size: 14px;
}

.checkbox-card small {
  color: var(--ink-faint);
  font-size: 12px;
}

.link-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf9;
}

.link-box code {
  min-width: 0;
  color: var(--ink-soft);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.qr-editor-preview {
  display: grid;
  justify-items: center;
  gap: 14px;
  align-items: start;
  margin-top: 14px;
  padding: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(239, 226, 208, 0.5);
  text-align: center;
}

.qr-editor-preview h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.15;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink-soft);
  text-align: center;
  background: rgba(255, 255, 255, 0.3);
}

.empty-state h1,
.empty-state h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
}

.empty-state p {
  margin: 0;
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 56px;
  aspect-ratio: 1;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f5ebde, #ecd7bc);
  color: var(--brand-dark);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  max-width: min(360px, calc(100vw - 40px));
  padding: 12px 14px;
  border: 1px solid rgba(255, 250, 244, 0.18);
  border-radius: var(--radius);
  background: #241609;
  color: #fffaf4;
  box-shadow: var(--shadow);
  font-size: 13px;
}

.footer {
  padding: 22px 0 30px;
  color: rgba(247, 236, 221, 0.84);
  font-size: 13px;
  background: linear-gradient(180deg, rgba(77, 44, 23, 0.98), rgba(49, 27, 13, 0.98));
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  display: grid;
  gap: 4px;
}

.footer__copy strong {
  color: #fff7ed;
}

.footer__copy span {
  color: rgba(247, 236, 221, 0.78);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-link {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 242, 228, 0.18);
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(255, 250, 244, 0.08);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-link:hover {
  background: rgba(255, 247, 237, 0.16);
  color: #fffaf4;
}

.footer-social-link.is-disabled {
  opacity: 0.46;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 1180px) {
  .site-header__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav";
    align-items: flex-start;
    min-height: auto;
    gap: 6px;
  }

  .site-nav {
    justify-content: flex-start;
    justify-self: start;
    gap: 14px;
  }

  .brand-lockup {
    margin-left: 0;
  }

  .hero-layout,
  .dashboard-band,
  .public-layout,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .public-examples {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .span-two {
    grid-column: auto;
  }
}

@media (max-width: 920px) {
  .container {
    width: min(var(--max), calc(100% - 24px));
  }

  .site-header__inner {
    grid-template-areas:
      "brand"
      "nav";
    align-items: flex-start;
    padding: 6px 0;
    min-height: auto;
  }

  .site-nav {
    width: 100%;
    margin-bottom: 0;
  }

  .growth-grid,
  .event-detail-grid,
  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid .stat-card,
  .dashboard-strip .mini-panel {
    max-width: calc(50% - 5px);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-actions {
    justify-content: flex-start;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-summary__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .brand-logo--header {
    width: 122px;
    clip-path: none;
  }

  .brand-logo--qr {
    width: 34px;
  }

  .brand-copy strong {
    font-size: 18px;
    white-space: normal;
    gap: 0.14em;
  }

  .nav-link {
    font-size: 13px;
  }

  .hero {
    padding-top: 22px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .public-examples,
  .feature-grid,
  .growth-grid,
  .content-grid,
  .event-detail-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid .stat-card,
  .dashboard-strip .mini-panel {
    max-width: 100%;
    flex-basis: 100%;
  }

  .device-row {
    grid-template-columns: 1fr;
  }

  .device--phone {
    min-height: 224px;
  }

  .panel-preview {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    display: none;
  }

  .admin-nav {
    grid-template-columns: 1fr 1fr;
  }

  .qr-editor-preview {
    grid-template-columns: 1fr;
  }

  .memory-scene--tall {
    min-height: 270px;
  }
}

.brand-stamp--compact {
  width: 42px;
  aspect-ratio: 1;
  border-width: 1px;
  box-shadow: none;
  background: #fffdf9;
  border-radius: 50%;
}

.brand-stamp--compact::after,
.brand-stamp--compact .brand-stamp__top,
.brand-stamp--compact .brand-stamp__bottom,
.brand-stamp--compact small {
  display: none;
}

.brand-stamp--compact strong {
  margin-top: 0;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.news-grid,
.cards-grid {
  display: grid;
  gap: 12px;
}

.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid--one {
  grid-template-columns: minmax(0, 1fr);
}

.cards-grid--news {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-grid--archive {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.story-card,
.news-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 251, 246, 0.92);
  overflow: hidden;
  box-shadow:
    0 10px 22px rgba(66, 36, 18, 0.05),
    0 3px 8px rgba(66, 36, 18, 0.025);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.story-card:hover,
.news-card:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 79, 44, 0.28);
  box-shadow: var(--shadow);
}

.story-card__body,
.news-card {
  padding: 14px;
}

.news-card h3,
.story-card h3 {
  margin: 8px 0 6px;
  font-size: 18px;
  line-height: 1.12;
}

.news-card p,
.story-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.story-card__meta,
.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.story-card__footer-meta {
  margin-top: 10px;
  color: rgba(73, 47, 27, 0.62);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
}

.media-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 0;
  overflow: hidden;
  background: #f4ebdf;
}

.media-thumb.is-fallback {
  background:
    linear-gradient(145deg, rgba(92, 58, 34, 0.92), rgba(47, 29, 15, 0.96)),
    #2f1d0f;
}

.media-thumb--short {
  aspect-ratio: auto;
  min-height: 94px;
}

.media-thumb--tall {
  aspect-ratio: auto;
  min-height: 420px;
}

.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.media-thumb__fallback {
  position: absolute;
  inset: 0;
  display: none;
  padding: 16px;
  background:
    radial-gradient(circle at top left, rgba(255, 247, 237, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(92, 58, 34, 0.92), rgba(47, 29, 15, 0.96));
  color: #fff7ed;
}

.media-thumb--force-fallback .media-thumb__fallback,
.media-thumb.is-fallback .media-thumb__fallback {
  display: grid;
}

.media-thumb__fallback-logo {
  position: absolute;
  inset: 36% auto auto 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(58%, 176px);
  min-height: 84px;
  z-index: 1;
  pointer-events: none;
}

.media-thumb__fallback-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.media-thumb__fallback-copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  align-self: end;
  display: grid;
  gap: 4px;
  z-index: 2;
}

.media-thumb__fallback-copy span {
  color: rgba(255, 247, 237, 0.72);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.media-thumb__fallback-copy strong {
  color: #fff7ed;
  font-family: "Arvo Local", Georgia, serif;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.06;
}

.media-thumb__fallback-copy small {
  color: rgba(255, 247, 237, 0.74);
  font-size: 11px;
  line-height: 1.45;
}

.media-thumb__fallback--video {
  background:
    radial-gradient(circle at top left, rgba(255, 247, 237, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(112, 73, 42, 0.98), rgba(57, 34, 18, 0.99));
}

.media-thumb__fallback--photo {
  background:
    radial-gradient(circle at top left, rgba(219, 255, 229, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(69, 132, 86, 0.96), rgba(29, 79, 47, 0.99));
}

.media-thumb__fallback--audio {
  background:
    radial-gradient(circle at top left, rgba(255, 247, 237, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(93, 63, 39, 0.98), rgba(43, 27, 15, 0.99));
}

.media-thumb__fallback--document {
  background:
    radial-gradient(circle at top left, rgba(255, 226, 196, 0.24), transparent 34%),
    linear-gradient(145deg, rgba(194, 109, 52, 0.96), rgba(121, 61, 16, 0.99));
}

.media-thumb .memory-scene {
  height: 100%;
  min-height: inherit;
  border-radius: 0;
}

.compact-target {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.compact-target strong {
  font-size: 13px;
  line-height: 1.3;
}

.home-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.mini-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
  min-height: 0;
  padding: 12px 14px;
  border: 1px solid rgba(92, 58, 34, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
}

.mini-panel strong {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mini-panel span {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.dashboard-compact {
  display: grid;
  gap: 10px;
  align-content: start;
}

.dashboard-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(245, 235, 222, 0.92));
  box-shadow: var(--shadow-soft);
}

.dashboard-summary__copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.dashboard-summary__copy h2,
.dashboard-summary__copy p {
  margin: 0;
}

.dashboard-summary__copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.02;
}

.dashboard-summary__copy p:last-child {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.dashboard-summary__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.dashboard-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.dashboard-strip--secondary .mini-panel {
  background: rgba(250, 245, 238, 0.72);
}

.dashboard-compact button {
  width: auto;
  height: auto;
  text-align: left;
  align-self: flex-start;
}

.dashboard-strip .mini-panel,
.stats-grid .stat-card {
  flex: 1 1 220px;
  max-width: calc(25% - 8px);
}

.stack-list {
  display: grid;
  gap: 10px;
}

.stack-link {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 0 8px 20px rgba(66, 36, 18, 0.04);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.stack-link:hover {
  transform: translateY(-1px);
  border-color: rgba(127, 79, 44, 0.22);
  box-shadow: 0 14px 28px rgba(66, 36, 18, 0.06);
}

.stack-link strong {
  font-size: 14px;
  line-height: 1.25;
}

.stack-link span {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.stack-link small {
  color: rgba(72, 45, 24, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.stack-link--button {
  width: 100%;
  text-align: left;
}

.stack-link--button.is-selected {
  border-color: rgba(127, 79, 44, 0.26);
  background: rgba(230, 208, 180, 0.28);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.check-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  color: var(--ink-soft);
  font-size: 13px;
}

.check-option input {
  width: 16px;
  height: 16px;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: transparent;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
}

.native-video::-webkit-media-controls-panel {
  background: transparent;
}

.video-frame__empty {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 247, 241, 0.8);
  font-size: 14px;
}

.native-audio {
  width: 100%;
  margin-top: 18px;
}

.qr-brand {
  position: relative;
  display: grid;
  place-items: center;
  width: 176px;
  margin: 0 auto 12px;
}

.qr-brand__svg,
.qr-brand .qr-visual {
  width: 176px;
  height: 176px;
}

.qr-brand__svg {
  display: block;
}

.qr-brand__logo {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.96);
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 16px rgba(34, 20, 8, 0.12);
}

@media (max-width: 920px) {
  .news-grid,
  .cards-grid--two,
  .cards-grid--three,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}

/* Plataforma editorial v2 */
.site-header__inner {
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 74px;
  gap: 28px;
}

.brand-lockup {
  max-width: none;
  margin-left: 0;
  gap: 12px;
}

.brand-logo--header {
  width: clamp(156px, 13vw, 206px);
  clip-path: none;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy small {
  color: rgba(246, 232, 212, 0.78);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  justify-self: end;
  gap: 8px;
}

.nav-link {
  min-height: 42px;
  padding: 0 14px;
}

.public-hero {
  width: 100%;
  padding: clamp(38px, 6vw, 82px) 0;
  background:
    linear-gradient(90deg, rgba(47, 29, 15, 0.9), rgba(80, 50, 28, 0.72)),
    linear-gradient(0deg, rgba(247, 239, 229, 0.16), rgba(247, 239, 229, 0.16)),
    var(--hero-backdrop-image, none) center/cover no-repeat,
    linear-gradient(90deg, rgba(47, 29, 15, 0.9), rgba(80, 50, 28, 0.72)),
    var(--paper-strong);
  color: #fff7ed;
}

.public-hero__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
}

.public-hero__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(260px, 34vw, 470px);
  padding: clamp(18px, 4vw, 42px);
  border: 1px solid rgba(255, 246, 234, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 250, 244, 0.92), rgba(235, 216, 190, 0.92));
  box-shadow: 0 28px 80px rgba(19, 9, 4, 0.28);
  text-decoration: none;
}

.public-hero__media img {
  width: min(100%, 440px);
  max-height: 420px;
  object-fit: contain;
}

.public-hero__poster {
  display: grid;
  align-content: end;
  gap: 16px;
  width: 100%;
  min-height: clamp(260px, 34vw, 470px);
  padding: clamp(24px, 4vw, 34px);
  background:
    linear-gradient(180deg, rgba(43, 25, 12, 0.22), rgba(43, 25, 12, 0.92)),
    linear-gradient(140deg, rgba(255, 252, 247, 0.38), rgba(197, 146, 79, 0.14));
}

.public-hero__poster-logo {
  width: min(100%, 152px);
  margin-top: -8px;
}

.public-hero__poster .brand-logo--header {
  width: 100%;
}

.public-hero__poster-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.public-hero__poster h2 {
  margin: 0;
  color: #fffaf4;
  font-family: "Arvo Local", Georgia, serif;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.06;
}

.public-hero__poster p {
  margin: 0;
  color: rgba(255, 247, 237, 0.82);
  font-size: 13px;
  line-height: 1.45;
}

.audio-feature-cover {
  display: grid;
  align-content: end;
  gap: 16px;
  min-height: clamp(260px, 34vw, 470px);
  padding: clamp(24px, 4vw, 34px);
  background:
    radial-gradient(circle at top left, rgba(255, 247, 237, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(43, 25, 12, 0.22), rgba(43, 25, 12, 0.92)),
    linear-gradient(145deg, rgba(79, 53, 37, 0.94), rgba(34, 21, 12, 0.98));
}

.audio-feature-cover__logo {
  width: min(100%, 168px);
}

.audio-feature-cover__logo .brand-logo--header {
  width: 100%;
}

.audio-feature-cover__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.audio-feature-cover h2 {
  margin: 0;
  color: #fffaf4;
  font-family: "Arvo Local", Georgia, serif;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.06;
}

.audio-feature-cover p {
  margin: 0;
  color: rgba(255, 247, 237, 0.82);
  font-size: 13px;
  line-height: 1.45;
}

.audio-player-shell {
  display: grid;
  gap: 14px;
  margin: 18px 0 8px;
  padding: 16px 18px;
  border: 1px solid rgba(127, 79, 44, 0.16);
  border-radius: 16px;
  background: rgba(255, 252, 247, 0.88);
}

.audio-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #09111b;
}

.video-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: transparent;
}

.video-stage__player {
  position: absolute;
  inset: 0;
}

.video-stage__player iframe,
.video-stage__player video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  background: #d2cec8;
}

.video-stage__loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
}

.video-stage.is-loading .video-stage__loading {
  opacity: 1;
}

.video-stage__spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
  animation: video-loader-pulse 1s ease-in-out infinite;
}

.video-stage.is-ready .video-stage__poster {
  opacity: 0;
  pointer-events: none;
}

.audio-stage__cover {
  position: absolute;
  inset: 0;
}

.audio-stage__cover .media-cover {
  height: 100%;
  border-radius: 0;
}

.audio-stage__poster,
.video-stage__poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.audio-stage__poster .media-thumb,
.video-stage__poster .media-thumb {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.audio-stage__overlay {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(3, 8, 16, 0), rgba(3, 8, 16, 0.24) 30%, rgba(3, 8, 16, 0.66));
}

.audio-stage__play,
.video-stage__play {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: rgba(27, 16, 8, 0.42);
  color: #fff7ed;
  transform: translate(-50%, -50%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

@keyframes video-loader-pulse {
  0%, 100% {
    transform: scale(0.72);
    opacity: 0.56;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

.video-stage__play {
  background: rgba(27, 16, 8, 0.26);
}

.audio-stage__play svg,
.video-stage__play svg {
  width: 26px;
  height: 26px;
}

.audio-visualizer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 74px;
  padding: 0;
}

.audio-visualizer::before {
  display: none;
}

.audio-visualizer span {
  position: relative;
  z-index: 1;
  flex: 0 0 5px;
  max-width: 5px;
  min-width: 5px;
  height: 68px;
  border-radius: 999px;
  background: transparent;
  opacity: 1;
  overflow: hidden;
}

.audio-visualizer span::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 50%;
  top: 50%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.88));
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.36);
  opacity: 0.86;
  transform-origin: center;
  transform: scaleY(var(--bar-scale, 0.45));
  animation: audioWave var(--bar-duration, 1.8s) cubic-bezier(0.42, 0, 0.22, 1) infinite;
  animation-delay: var(--bar-delay, 0s);
  animation-play-state: paused;
}

.audio-stage.is-playing .audio-visualizer span::before {
  opacity: 1;
  animation-play-state: running;
}

.audio-stage.is-started .audio-stage__poster {
  display: none;
}

.native-audio--feature {
  width: 100%;
  border-radius: 14px;
  background: rgba(255, 252, 247, 0.96);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.audio-stage.is-started .native-audio--feature {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@keyframes audioWave {
  0%,
  100% {
    transform: scaleY(calc(var(--bar-scale, 0.45) * 0.62));
  }
  28% {
    transform: scaleY(calc(var(--bar-scale, 0.45) * 1.08));
  }
  52% {
    transform: scaleY(calc(var(--bar-scale, 0.45) * 1.38));
  }
  76% {
    transform: scaleY(calc(var(--bar-scale, 0.45) * 0.88));
  }
}

.public-hero__media-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(34, 20, 8, 0.78);
  color: #fffaf4;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.public-hero__copy {
  max-width: 720px;
}

.public-hero__copy .eyebrow,
.public-hero__copy .lead,
.public-hero__copy p {
  color: rgba(255, 247, 237, 0.86);
}

.public-hero__copy h1 {
  margin: 12px 0 16px;
  color: #fff7ed;
  font-family: "Arvo Local", Georgia, serif;
  font-size: clamp(38px, 4.4vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.42;
}

.section--tinted {
  background: rgba(239, 226, 208, 0.56);
}

.section--compact {
  padding-top: 28px;
}

.section-header {
  align-items: end;
}

.section-header h2,
.page-title h1,
.detail-copy h1 {
  margin: 6px 0 0;
  font-family: "Arvo Local", Georgia, serif;
  letter-spacing: 0;
}

.section-header p {
  max-width: 620px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
}

.editorial-split p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.cards-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-card__body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.story-card--plain {
  padding: 0;
}

.archive-type-card {
  display: grid;
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.9);
  box-shadow: var(--shadow-soft);
}

.archive-type-card span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-type-card strong {
  margin-top: 18px;
  font-family: "Arvo Local", Georgia, serif;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.9;
}

.archive-type-card p {
  align-self: end;
  margin: 20px 0 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.page-title {
  max-width: 860px;
  margin-bottom: 28px;
}

.page-title p,
.detail-copy p {
  color: var(--ink-soft);
  line-height: 1.72;
}

.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
}

.archive-navigator {
  display: grid;
  gap: 0;
  margin-bottom: 26px;
}

.archive-mobile-filters {
  display: none;
}

.archive-navigator--sticky {
  position: sticky;
  top: 56px;
  z-index: 18;
  margin: -8px -22px 26px;
  padding: 8px 22px 16px;
  border-bottom: 1px solid rgba(214, 191, 160, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 239, 229, 0.96)),
    var(--paper);
  backdrop-filter: blur(10px);
}

.category-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(58, 34, 18, 0.36);
  border-radius: 999px;
  background: rgba(61, 36, 18, 0.94);
  color: #fff8ee;
  font-weight: 700;
}

.category-strip--admin {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-strip--admin button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.86);
  color: var(--brand-dark);
  font-weight: 700;
}

.category-strip a.is-active {
  background: rgba(122, 84, 58, 0.96);
  border-color: rgba(61, 36, 18, 0.4);
}

.category-strip a svg,
.category-strip--admin button svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  display: block;
  align-self: center;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.category-strip--admin button.is-active {
  background: rgba(92, 58, 34, 0.12);
  border-color: rgba(127, 79, 44, 0.3);
}

.archive-topic-band,
.topic-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.archive-subtopic-band,
.subtopic-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.archive-topic-band {
  margin-bottom: 26px;
}

.archive-subtopic-band {
  margin: -8px 0 22px;
}

.archive-topic-band--categories {
  margin-top: -10px;
}

.topic-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(127, 79, 44, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.9);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topic-chip.is-active {
  background: rgba(92, 58, 34, 0.12);
  border-color: rgba(127, 79, 44, 0.32);
}

.topic-chip svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  display: block;
  align-self: center;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.subtopic-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(127, 79, 44, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: rgba(92, 58, 34, 0.78);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.subtopic-chip.is-active {
  border-color: rgba(127, 79, 44, 0.24);
  background: rgba(236, 225, 211, 0.72);
  color: var(--brand-dark);
}

.archive-subtopic-band--edition-context {
  margin: -8px 0 16px;
}

.subtopic-chip--context {
  background: rgba(236, 225, 211, 0.72);
  border-color: rgba(127, 79, 44, 0.24);
  color: var(--brand-dark);
}

.subtopic-chip svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.archive-group {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.archive-group__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.archive-group__header h2 {
  margin: 0;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.archive-group__header span {
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-subgroup {
  display: grid;
  gap: 16px;
  padding-top: 6px;
}

.detail-hero-image,
.edition-cover {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: clamp(18px, 4vw, 36px);
  background: linear-gradient(145deg, #fffaf4, #ead9c2);
}

.detail-hero-image img,
.edition-cover img {
  max-height: 430px;
  object-fit: contain;
}

.detail-copy {
  padding: clamp(24px, 4vw, 44px);
}

.pdf-placeholder,
.document-link {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding: 18px;
  border: 1px dashed rgba(127, 79, 44, 0.38);
  border-radius: 8px;
  background: rgba(246, 240, 231, 0.72);
  color: var(--brand-dark);
}

.document-link {
  display: inline-grid;
  font-weight: 800;
}

.soft-note {
  margin: 10px 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.gallery-item {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fffaf4;
  color: var(--ink);
  text-align: left;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-item span {
  padding: 0 12px 12px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.gallery-item--hero {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.gallery-item--hero .media-thumb {
  border-radius: 0;
}

.events-list {
  display: grid;
  gap: 14px;
}

.event-card,
.event-wide {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.92);
  box-shadow: var(--shadow-soft);
}

.event-card a,
.event-wide a {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.event-card span,
.event-wide span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.event-card h3,
.event-wide h2 {
  margin: 0;
  font-family: "Arvo Local", Georgia, serif;
  letter-spacing: 0;
}

.event-card p,
.event-wide p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.event-wide a {
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
}

.event-wide.has-cover a {
  grid-template-columns: 148px 82px minmax(0, 1fr);
}

.event-cover .media-thumb {
  min-height: 112px;
  border-radius: 10px;
}

.event-date {
  display: grid;
  place-items: center;
  width: 70px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--brand-dark);
  color: #fff7ed;
}

.event-date strong {
  font-size: 26px;
  line-height: 1;
}

.event-date span {
  color: #fff7ed;
}

.footer-logo {
  width: 150px;
  filter: sepia(0.2) saturate(0.8);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.footer-socials a {
  padding: 8px 12px;
  border: 1px solid rgba(92, 58, 34, 0.22);
  border-radius: 999px;
  color: var(--brand-dark);
  font-weight: 800;
}

.footer__logos img {
  max-height: 92px;
  object-fit: contain;
  filter: sepia(0.95) saturate(0.65) brightness(0.7);
  opacity: 0.86;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(22, 12, 6, 0.88);
  backdrop-filter: blur(4px);
}

.lightbox-dialog {
  position: relative;
  width: min(1120px, 100%);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 247, 237, 0.34);
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.16);
  color: #fff7ed;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  fill: none;
}

.lightbox-viewer {
  overflow: hidden;
  border: 1px solid rgba(255, 247, 237, 0.1);
  border-radius: 8px;
  background: rgba(32, 19, 11, 0.96);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.lightbox-viewer__top {
  display: grid;
  gap: 10px;
  padding: 22px 96px 0 24px;
}

.lightbox-viewer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 247, 237, 0.76);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox-viewer__meta strong {
  position: relative;
  z-index: 1;
  padding: 3px 10px;
  border: 1px solid rgba(255, 247, 237, 0.18);
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.08);
  white-space: nowrap;
}

.lightbox-viewer__title h2 {
  margin: 0;
  color: #fff7ed;
  font-family: "Arvo Local", Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
}

.lightbox-viewer__title p,
.lightbox-viewer__caption p {
  margin: 8px 0 0;
  color: rgba(255, 247, 237, 0.8);
  line-height: 1.6;
}

.lightbox-viewer__stage {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 14px;
  padding: 18px 20px 20px;
  touch-action: pan-y;
}

.lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 247, 237, 0.34);
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.16);
  color: #fff7ed;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.lightbox-nav svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.lightbox-viewer__figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62vh;
  max-height: 72vh;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.04);
}

.lightbox-viewer__figure img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  display: block;
}

.lightbox-viewer__caption {
  padding: 0 24px 24px;
}

.admin-shell {
  min-height: 100vh;
  background: #f4eadc;
}

.admin-sidebar__header {
  display: grid;
  gap: 4px;
  color: #fff4e4;
}

.admin-sidebar__header img {
  width: 92px;
  margin-bottom: 8px;
  filter: brightness(0) saturate(100%) invert(93%) sepia(18%) saturate(309%) hue-rotate(334deg) brightness(103%) contrast(92%);
}

.admin-nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 244, 228, 0.78);
  font-weight: 800;
}

.admin-nav a.is-active,
.admin-nav a:hover {
  border-color: rgba(255, 244, 228, 0.2);
  background: rgba(255, 244, 228, 0.12);
  color: #fff4e4;
}

.admin-grid--wide {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
}

.admin-card {
  padding: clamp(18px, 2vw, 24px);
  overflow: hidden;
}

.editor-form {
  display: grid;
  gap: 14px;
}

.field span {
  display: block;
  margin-bottom: 6px;
}

.check-option--wide {
  justify-content: flex-start;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-list-title {
  margin: 20px 0 6px;
  color: var(--brand-dark);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf4;
}

.admin-list-row div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-list-row strong,
.admin-list-row span,
.qr-admin-card code {
  overflow-wrap: anywhere;
}

.danger-button {
  border-color: rgba(139, 43, 28, 0.24);
  color: #8b2b1c;
}

.qr-groups {
  display: grid;
  gap: 20px;
}

.qr-group {
  display: grid;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.qr-group h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  color: var(--brand-dark);
  font-size: 15px;
}

.qr-group h3 span {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(127, 79, 44, 0.12);
  color: var(--brand-dark);
}

.qr-admin-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
}

.qr-admin-card__body {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.qr-admin-card__body p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.45;
}

.qr-admin-card__body code,
.link-box code {
  display: block;
  max-width: 100%;
  padding: 10px;
  border-radius: 8px;
  background: rgba(47, 29, 15, 0.06);
  color: var(--brand-dark);
  font-size: 12px;
  line-height: 1.45;
  white-space: normal;
}

.qr-assign-form {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.form-actions--tight {
  justify-content: start;
}

.qr-brand {
  width: 174px;
  min-width: 0;
}

.qr-brand canvas {
  width: 174px !important;
  height: 174px !important;
  border-radius: 8px;
}

.qr-brand__logo {
  width: 38px;
  height: 38px;
  padding: 5px;
}

.qr-brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.link-box {
  margin-top: 18px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 60px;
  align-items: center;
  gap: 12px;
  padding: 24px;
  background: rgba(22, 12, 6, 0.86);
}

.lightbox figure {
  display: grid;
  gap: 12px;
  margin: 0;
  justify-items: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.lightbox figcaption {
  color: #fff7ed;
  text-align: center;
}

.lightbox button {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.9);
  color: var(--brand-dark);
  font-size: 34px;
  line-height: 1;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
}

.lightbox__nav {
  width: 52px;
  height: 52px;
}

@media (max-width: 1180px) {
  .brand-copy small {
    display: none;
  }

  .cards-grid--four,
  .cards-grid--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-header__inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 0 12px;
  }

  .brand-logo--header {
    width: 132px;
  }

  .brand-copy {
    --brand-copy-size: 18px;
  }

  .site-nav {
    justify-self: start;
    overflow-x: auto;
    width: 100%;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .nav-link {
    flex: 0 0 auto;
  }

  .public-hero__inner,
  .editorial-split,
  .admin-grid--wide,
  .qr-admin-card {
    grid-template-columns: 1fr;
  }

  .public-hero__copy h1 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .qr-brand {
    margin-left: 0;
  }

  .event-wide a {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(var(--max), calc(100% - 24px));
  }

  .brand-lockup {
    gap: 8px;
  }

  .brand-logo--header {
    width: 122px;
  }

  .brand-copy strong {
    white-space: normal;
  }

  .public-hero {
    padding: 28px 0 40px;
  }

  .public-hero__media {
    min-height: 220px;
  }

  .cards-grid--four,
  .cards-grid--five,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .detail-copy {
    padding: 20px;
  }

  .admin-list-row {
    grid-template-columns: 1fr;
  }

  .table-actions,
  .form-actions {
    justify-content: start;
  }

  .lightbox {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    padding: 14px;
  }

  .lightbox__nav {
    width: 40px;
    height: 40px;
  }
}

/* Final overrides for rebuilt prototype */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(232, 215, 191, 0.14);
  background: linear-gradient(180deg, rgba(77, 44, 23, 0.98), rgba(49, 27, 13, 0.98));
}

.site-header__inner {
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 86px;
  gap: 18px;
  padding: 9px 0;
}

.brand-lockup {
  gap: 12px;
  margin-left: 0;
  align-items: center;
}

.brand-logo--header {
  width: clamp(156px, 13vw, 206px);
  height: auto;
  clip-path: none;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.brand-copy strong {
  color: #f7ecdd;
  font-family: "Arvo Local", Georgia, serif;
  letter-spacing: 0;
}

.brand-word--minor {
  top: -0.08em;
  font-size: 0.48em;
}

.site-nav {
  justify-self: end;
  gap: 18px;
}

.nav-link {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(247, 236, 221, 0.9);
  box-shadow: none;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff7ed;
}

.public-hero {
  padding: clamp(30px, 4.8vw, 62px) 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(255, 247, 237, 0.08), transparent 28%),
    linear-gradient(90deg, rgba(54, 30, 14, 0.12), rgba(101, 66, 38, 0.08)),
    var(--hero-backdrop-image, none) center/cover no-repeat,
    linear-gradient(90deg, rgba(54, 30, 14, 0.34), rgba(101, 66, 38, 0.22)),
    var(--paper-strong);
}

.public-hero__inner {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
}

.public-hero__media {
  min-height: clamp(240px, 28vw, 380px);
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid rgba(255, 242, 228, 0.18);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 250, 244, 0.94), rgba(232, 214, 192, 0.94));
  box-shadow: 0 20px 48px rgba(14, 7, 3, 0.22);
}

.public-hero__media img {
  width: min(100%, 360px);
  max-height: 320px;
}

.public-hero__copy .eyebrow,
.public-hero__copy .lead,
.public-hero__copy p,
.public-hero__copy .mini-meta {
  color: rgba(255, 247, 237, 0.86);
}

.public-hero__copy h1 {
  margin: 8px 0 14px;
  color: #fff7ed;
  font-family: "Arvo Local", Georgia, serif;
  font-size: clamp(31px, 3.4vw, 52px);
  line-height: 1;
}

.story-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.92);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.story-card__body {
  padding: 12px 14px 14px;
}

.story-card__body h3 {
  margin: 0;
  font-family: "Arvo Local", Georgia, serif;
  font-size: 17px;
  line-height: 1.12;
}

.story-card__body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.footer__inner {
  align-items: center;
  gap: 24px;
}

.footer__logos {
  width: min(100%, 680px);
  margin: 18px auto 0;
  filter: brightness(0) invert(1);
  opacity: 0.82;
}

.footer__logos img {
  display: block;
  width: 100%;
  max-height: 92px;
  object-fit: contain;
}

.link-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.link-box code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.qr-brand {
  width: 198px;
}

.qr-brand__svg {
  width: 198px;
  height: 198px;
}

.qr-brand__logo {
  width: 32px;
  height: 32px;
  padding: 4px;
}

.brand-logo--qr {
  width: 100%;
  height: 100%;
}

@media (max-width: 920px) {
  .cards-grid--news,
  .cards-grid--archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-navigator--sticky {
    top: 108px;
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .archive-mobile-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 2px;
    scrollbar-width: none;
  }

  .archive-mobile-filters::-webkit-scrollbar {
    display: none;
  }

  .archive-mobile-filters select {
    flex: 1 0 min(42vw, 190px);
    min-width: 0;
    height: 38px;
    padding: 0 34px 0 12px;
    border: 1px solid rgba(127, 79, 44, 0.22);
    border-radius: 999px;
    background: rgba(255, 250, 244, 0.96);
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 800;
  }

  .archive-navigator--sticky > .category-strip,
  .archive-navigator--sticky > .archive-topic-band,
  .archive-navigator--sticky > .archive-subtopic-band {
    display: none;
  }

  .lightbox-overlay {
    padding: 12px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
  }

  .lightbox-viewer__top {
    padding: 18px 74px 0 18px;
  }

  .lightbox-viewer__stage {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
    padding: 12px 12px 16px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-viewer__figure {
    min-height: 48vh;
    max-height: 62vh;
  }

  .lightbox-viewer__figure img {
    max-height: 62vh;
  }

  .lightbox-viewer__caption {
    padding: 0 18px 18px;
  }

  .site-nav {
    justify-self: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 13px;
  }

  .site-header__inner {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 92px;
  }

  .brand-lockup {
    margin-left: 0;
  }

  .brand-logo--header {
    width: 132px;
  }

  .site-nav {
    justify-self: start;
    gap: 14px;
  }

  .public-hero__inner {
    grid-template-columns: 1fr;
  }
}


/* 2026-05-06 visual cleanup */
.public-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--paper);
  border-bottom: 0 !important;
}

.public-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: sepia(0.18) saturate(1.08) brightness(0.84);
  opacity: 0.72;
  transform: scale(1.01);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.998) 95%, rgba(0, 0, 0, 0.9) 97.5%, rgba(0, 0, 0, 0.42) 99.3%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.998) 95%, rgba(0, 0, 0, 0.9) 97.5%, rgba(0, 0, 0, 0.42) 99.3%, rgba(0, 0, 0, 0) 100%);
}

.public-hero__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center;
  transition: transform 180ms ease;
}

.public-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255,252,247,0.02), rgba(244,236,226,0.018));
}

.public-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.05), transparent 32%),
    linear-gradient(180deg, rgba(255,252,247,0.01) 0%, rgba(244,236,226,0.028) 62%, rgba(247,239,229,0.12) 80%, rgba(247,239,229,0.34) 92%, rgba(247,239,229,0.92) 100%);
}

.public-hero > .container {
  position: relative;
  z-index: 2;
}

.public-hero__media {
  background: linear-gradient(145deg, rgba(255, 252, 247, 0.54), rgba(243, 232, 217, 0.46));
  border-color: rgba(92, 58, 34, 0.12);
  box-shadow: 0 14px 28px rgba(34, 20, 8, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.public-hero__copy .eyebrow,
.public-hero__copy .lead,
.public-hero__copy p,
.public-hero__copy .mini-meta {
  color: rgba(56, 32, 16, 0.92);
  font-weight: 600;
}

.public-hero__copy h1 {
  color: var(--ink);
  font-weight: 800;
}

.brand-logo--header {
  clip-path: none;
}

.story-card__body h3 {
  font-size: 19px;
  line-height: 1.08;
}

.story-card .media-thumb img {
  aspect-ratio: auto;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.archive-type-card strong {
  font-size: clamp(30px, 4vw, 42px);
}

.gallery-cover-editor {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.gallery-cover-editor__preview {
  min-width: 0;
}

.gallery-cover-preview-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 251, 246, 0.92);
  aspect-ratio: 16 / 10;
}

.gallery-cover-preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-cover-editor__controls {
  display: grid;
  gap: 10px;
}

.inline-create-panel {
  margin: 10px 0 4px;
  border: 1px dashed rgba(127, 79, 44, 0.28);
  border-radius: 14px;
  background: rgba(255, 251, 246, 0.64);
  overflow: hidden;
}

.inline-create-panel summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-dark);
}

.inline-create-panel__body {
  display: grid;
  gap: 12px;
  padding: 0 14px 14px;
}

/* 2026-05-08 admin precision pass */
.admin-hero {
  padding: 10px 12px;
  gap: 8px;
}

.admin-hero h1 {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.05;
}

.admin-hero p {
  margin-top: 6px;
  max-width: 720px;
  font-size: 12px;
}

.admin-card {
  padding: 12px;
}

.site-upload-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf9;
}

.site-upload-row__current {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, #5f3419, #422412);
}

.site-upload-row__current .brand-logo--header {
  width: clamp(112px, 16vw, 156px);
  filter: drop-shadow(0 0 0.5px rgba(255,255,255,0.9)) drop-shadow(0 2px 8px rgba(25, 14, 7, 0.22));
}

.site-upload-row__placeholder {
  display: grid;
  place-items: center;
  flex: 0 0 132px;
  width: 132px;
  height: 78px;
  overflow: hidden;
  border: 1px solid rgba(127, 79, 44, 0.12);
  border-radius: 10px;
  background: rgba(245, 237, 225, 0.72);
  color: var(--ink-soft);
  font-size: 13px;
}

.site-upload-row__placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(127, 79, 44, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

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

.choice-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 10px;
}

.choice-list--editions {
  grid-template-columns: 1fr;
}

.choice-list--simple {
  gap: 5px;
}

.simple-choice-list {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.simple-choice-row {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 2px;
  align-items: start;
  padding: 6px 0;
  border-bottom: 1px solid rgba(127, 79, 44, 0.08);
  cursor: pointer;
}

.simple-choice-row:last-child {
  border-bottom: 0;
}

.simple-choice-row input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
}

.simple-choice-row span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.simple-choice-row small {
  grid-column: 2;
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.35;
}

.upload-preview--media {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(127, 79, 44, 0.14);
  border-radius: 12px;
  background: rgba(255, 252, 247, 0.9);
}

.upload-preview--media img,
.upload-preview--media video {
  width: 100%;
  max-height: 280px;
  border-radius: 10px;
  object-fit: cover;
  background: #120c07;
}

.upload-preview--media small {
  color: var(--ink-faint);
}

.form-intro-gap {
  margin-top: 10px;
}

.pdf-inline-preview {
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(127, 79, 44, 0.16);
  border-radius: 14px;
  background: rgba(255, 252, 247, 0.92);
}

.pdf-inline-preview iframe {
  width: 100%;
  height: 420px;
  border: 0;
  background: #fff;
}

.choice-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 0;
  padding: 8px 10px;
  border: 1px solid rgba(127, 79, 44, 0.12);
  border-radius: 10px;
  background: rgba(255, 253, 249, 0.92);
  cursor: pointer;
}

.choice-list--editions .choice-card {
  gap: 8px;
}

.choice-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.choice-card__box {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1.5px solid rgba(127, 79, 44, 0.36);
  border-radius: 5px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.choice-card__box--radio {
  border-radius: 999px;
}

.choice-card input:checked + .choice-card__box {
  border-color: rgba(127, 79, 44, 0.92);
  background: rgba(127, 79, 44, 0.92);
  box-shadow: inset 0 0 0 4px #fff;
}

.choice-card__icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: rgba(92, 58, 34, 0.88);
}

.choice-card__icon svg {
  width: 16px;
  height: 16px;
}

.choice-card__copy {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.choice-card__copy strong {
  display: block;
  font-size: 13px;
  line-height: 1.22;
  color: var(--ink);
}

.choice-card__copy small {
  display: block;
  margin-top: 2px;
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.35;
}

.choice-disclosure {
  border: 1px solid rgba(127, 79, 44, 0.14);
  border-radius: 12px;
  background: #fffdf9;
  padding: 10px 12px;
}

.choice-disclosure__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.choice-disclosure__summary > div {
  display: grid;
  gap: 2px;
}

.choice-disclosure__summary strong {
  font-size: 13px;
  line-height: 1.25;
}

.choice-disclosure__summary small {
  color: var(--ink-faint);
  font-size: 11px;
}

.disclosure-arrow {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--ink-faint);
  transition: transform 160ms ease;
}

.disclosure-arrow svg {
  width: 15px;
  height: 15px;
}

details[open] > summary .disclosure-arrow {
  transform: rotate(90deg);
}

.choice-card--single {
  align-items: flex-start;
}

.choice-card--single .choice-card__copy {
  margin-left: 2px;
}

.icon-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.icon-picker {
  border: 1px solid rgba(127, 79, 44, 0.14);
  border-radius: 12px;
  background: #fffdf9;
}

.icon-picker__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  cursor: pointer;
  list-style: none;
}

.icon-picker__summary::-webkit-details-marker {
  display: none;
}

.icon-picker__current {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(230, 208, 180, 0.22);
  color: var(--brand);
}

.icon-picker__current svg {
  width: 28px;
  height: 28px;
  display: block;
}

.icon-picker__copy {
  display: grid;
  gap: 2px;
}

.icon-picker__copy strong {
  font-size: 13px;
  line-height: 1.2;
  color: var(--ink);
}

.icon-picker__copy small {
  color: var(--ink-faint);
  font-size: 11px;
}

.icon-choice {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(24px, auto);
  justify-items: center;
  align-items: center;
  align-content: start;
  gap: 5px;
  min-height: 122px;
  padding: 10px 8px;
  border: 1px solid rgba(127, 79, 44, 0.14);
  border-radius: 12px;
  background: #fffdf9;
  cursor: pointer;
  text-align: center;
}

.icon-choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.icon-choice.is-active,
.icon-choice:has(input:checked) {
  border-color: rgba(127, 79, 44, 0.34);
  background: rgba(230, 208, 180, 0.22);
  box-shadow: 0 0 0 2px rgba(127, 79, 44, 0.08);
}

.icon-choice__glyph {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(127, 79, 44, 0.09);
  color: var(--brand-dark);
  transition: transform 160ms ease, background 160ms ease;
}

.icon-choice__glyph svg {
  width: 30px;
  height: 30px;
  display: block;
  margin: 0 auto;
}

.icon-choice:hover .icon-choice__glyph {
  transform: scale(1.12);
  background: rgba(127, 79, 44, 0.16);
}

.icon-choice__label {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.inline-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-dark);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.media-position-editor {
  display: grid;
  gap: 10px;
}

.media-position-editor__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #24140a;
  cursor: grab;
  touch-action: none;
}

.media-position-editor.is-dragging .media-position-editor__frame {
  cursor: grabbing;
}

.media-position-editor__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 120ms ease;
  transform-origin: center;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.media-position-editor small {
  color: var(--ink-faint);
  font-size: 12px;
}

.media-position-editor--hero .media-position-editor__frame {
  aspect-ratio: 21 / 8;
}

.busy-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: rgba(31, 17, 8, 0.24);
}

.busy-overlay__card {
  display: grid;
  gap: 10px;
  min-width: min(420px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.97);
  box-shadow: 0 20px 40px rgba(29, 16, 8, 0.18);
}

.busy-overlay__track {
  position: relative;
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: rgba(127, 79, 44, 0.12);
}

.busy-overlay__track span {
  position: absolute;
  inset: 0 auto 0 0;
  min-width: 18%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(127, 79, 44, 0.8), rgba(170, 118, 63, 0.92));
  animation: busyPulse 1.1s ease-in-out infinite alternate;
}

.busy-overlay__card small {
  color: var(--ink-faint);
}

@keyframes busyPulse {
  from { opacity: 0.72; }
  to { opacity: 1; }
}

.soft-note--warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(127, 79, 44, 0.18);
  border-radius: 12px;
  background: rgba(241, 231, 217, 0.72);
}

.soft-note--warning svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.event-map-card {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  text-decoration: none;
}

.event-map-card iframe,
.admin-media-preview__frame--map iframe {
  width: 100%;
  height: 180px;
  border: 0;
  display: block;
  border-radius: 12px;
  filter: sepia(0.28) saturate(0.82);
}

.event-map-card > span:not(.event-map-card__cta) {
  color: var(--ink-soft);
  font-size: 13px;
}

.event-map-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(127, 79, 44, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.84);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
}

.event-map-card__cta svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.icon-choice__meta {
  color: var(--ink-faint);
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
}

.admin-media-preview {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-media-preview .media-thumb--tall {
  min-height: 300px;
}

.admin-media-preview--audio .media-thumb {
  aspect-ratio: 16 / 7;
  border-radius: 14px;
}

.admin-media-preview--audio .media-thumb img {
  object-fit: contain;
  object-position: center center;
  background: rgba(47, 29, 15, 0.08);
}

.admin-media-preview__audio {
  width: 100%;
}

.admin-media-preview__frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #120a05;
  box-shadow: var(--shadow-soft);
}

.admin-media-preview__frame--video {
  aspect-ratio: 16 / 9;
}

.admin-media-preview__frame iframe,
.admin-media-preview__frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #120a05;
}

.stack-link--media {
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  cursor: grab;
}

.stack-link__thumb {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(127, 79, 44, 0.1);
}

.stack-link__thumb .media-thumb {
  aspect-ratio: 16 / 10;
}

.stack-link__content {
  display: grid;
  gap: 3px;
  min-width: 0;
}

[data-photo-card].is-dragging {
  opacity: 0.56;
  transform: scale(0.99);
}

[data-photo-card].is-drop-target {
  border-color: rgba(127, 79, 44, 0.36);
  background: rgba(236, 225, 211, 0.72);
  box-shadow: 0 0 0 2px rgba(127, 79, 44, 0.08);
}

.video-frame--single {
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}

.audio-player-shell {
  gap: 12px;
  border-radius: 14px;
}

.audio-visualizer {
  gap: 4px;
  min-height: 74px;
  padding: 0;
}

.audio-visualizer span {
  max-width: 5px;
  min-width: 5px;
  height: 68px;
  background: transparent;
}

.audio-visualizer span::before {
  left: 50%;
  right: auto;
  width: 5px;
  top: calc(50% - (24px * var(--bar-scale, 0.45)));
  bottom: calc(50% - (24px * var(--bar-scale, 0.45)));
  transform: translateX(-50%);
  opacity: 0.78;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 1));
  animation-timing-function: cubic-bezier(0.35, 0.05, 0.2, 1);
}

.audio-stage.is-playing .audio-visualizer span::before {
  opacity: 1;
}

.native-audio--feature {
  width: 100%;
  margin-top: 0;
}

@media (max-width: 920px) {
  .choice-list,
  .icon-choice-grid,
  .stack-link--media {
    grid-template-columns: 1fr;
  }

  .site-upload-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Header stability pass: keep the brand lockup from resizing during hydration/image load. */
.site-header .site-header__inner {
  min-height: 116px;
  overflow: visible;
}

.site-header .brand-lockup {
  align-self: center;
  gap: 8px;
  min-height: 76px;
  overflow: visible;
}

.site-header .brand-logo--header {
  width: auto;
  min-width: 0;
  max-width: min(34vw, 320px);
  height: clamp(64px, calc(42px * var(--header-logo-scale, 1.35)), 108px);
  max-height: none;
  object-fit: contain;
  object-position: left center;
  margin-right: 0;
}

@media (max-width: 920px) {
  .site-header .site-header__inner {
    min-height: 112px;
  }

  .site-header .brand-lockup {
    gap: 8px;
    min-height: 64px;
  }

  .site-header .brand-logo--header {
    width: auto;
    min-width: 0;
    max-width: 58vw;
    height: clamp(56px, calc(35px * var(--header-logo-scale, 1.35)), 88px);
    max-height: none;
    margin-right: 0;
  }
}
