.site-logo {
  height: 4.25rem;
  width: auto;
  max-width: min(20rem, 85vw);
  object-fit: contain;
}

@media (min-width: 768px) {
  .site-logo {
    height: 5.25rem;
    max-width: 22rem;
  }
}

.site-logo-mobile {
  height: 3.25rem;
  width: 3.25rem;
  object-fit: contain;
}

.nav-link {
  color: #57534e;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  color: #1c1917;
}

.nav-link--cta {
  display: inline-flex;
  align-items: center;
  border-radius: 0.5rem;
  background: #1c1917;
  padding: 0.5rem 0.875rem;
  font-weight: 500;
  color: #fff;
}

.nav-link--cta:hover {
  background: #292524;
  color: #fff;
}

.site-nav-desktop {
  display: none;
  align-items: center;
  gap: 1.125rem;
  flex-wrap: nowrap;
  min-width: 0;
}

@media (min-width: 1024px) {
  .site-nav-desktop {
    display: flex;
  }

  .site-nav-panel {
    display: none !important;
  }
}

.site-nav-panel {
  max-height: calc(100vh - 4.5rem);
  max-height: calc(100dvh - 4.5rem);
}

/* Cross-browser frosted nav (Chrome, Edge, Safari) */
body > nav.border-b {
  background-color: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

@media (min-width: 1280px) {
  .site-nav-desktop {
    gap: 1.375rem;
  }
}

.nav-dropdown {
  position: relative;
  flex-shrink: 0;
}

.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: #57534e;
  font-size: 0.875rem;
  line-height: 1.25rem;
  white-space: nowrap;
}

.nav-dropdown__trigger:hover,
.nav-dropdown--open .nav-dropdown__trigger {
  color: #1c1917;
}

.nav-dropdown__trigger:focus-visible {
  outline: 2px solid #d97706;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

.nav-dropdown__chevron {
  width: 1rem;
  height: 1rem;
  transition: transform 0.15s ease;
}

.nav-dropdown--open .nav-dropdown__chevron {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.625rem);
  right: 0;
  z-index: 60;
  min-width: 13.5rem;
  padding: 0.375rem;
  border-radius: 0.75rem;
  border: 1px solid #e7e5e4;
  background: #fff;
  box-shadow: 0 10px 40px rgba(28, 25, 23, 0.12);
}

.nav-dropdown__menu[hidden] {
  display: none;
}

.nav-dropdown__item {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 0.5rem;
  background: none;
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #44403c;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.nav-dropdown__item:hover,
.nav-dropdown__item:focus-visible {
  background: #fafaf9;
  color: #1c1917;
  outline: none;
}

.nav-dropdown__item--muted {
  color: #78716c;
}

.nav-dropdown__divider {
  height: 1px;
  margin: 0.375rem 0;
  background: #f5f5f4;
}

.nav-dropdown__logout {
  margin: 0;
  padding: 0;
}

.nav-link--mobile {
  display: block;
  padding: 0.625rem 0;
  font-size: 1rem;
  line-height: 1.5rem;
  border-bottom: 1px solid #f5f5f4;
}

.nav-link--mobile:last-child {
  border-bottom: none;
}

.nav-link--staff {
  color: #b45309;
}

.nav-link--staff:hover {
  color: #78350f;
}

.nav-link--muted {
  color: #78716c;
}

.nav-logout-form {
  display: inline;
  margin: 0;
  padding: 0;
}

.nav-logout-form--mobile {
  display: block;
}

.nav-link-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  text-align: inherit;
}

.nav-logout-form--mobile .nav-link-button {
  width: 100%;
  text-align: left;
}

.nav-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  border: 1px solid #e7e5e4;
  background: #fff;
  color: #44403c;
}

@media (min-width: 1024px) {
  .nav-menu-btn {
    display: none;
  }
}

.nav-menu-btn:hover {
  background: #fafaf9;
}

.nav-menu-btn:focus-visible {
  outline: 2px solid #d97706;
  outline-offset: 2px;
}

.nav-menu-icon {
  width: 1.25rem;
  height: 1.25rem;
}

body.site-nav-open {
  overflow: hidden;
}

@media (min-width: 1024px) {
  body.site-nav-open {
    overflow: auto;
  }
}

.form-input {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #d6d3d1;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

.form-input:focus {
  outline: none;
  border-color: #78716c;
  box-shadow: 0 0 0 1px #78716c;
}

.password-field {
  position: relative;
}

.password-field .form-input {
  padding-right: 2.75rem;
}

.password-field__toggle {
  position: absolute;
  top: 50%;
  right: 0.625rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  color: #78716c;
  cursor: pointer;
  transform: translateY(-50%);
}

.password-field__toggle:hover {
  color: #44403c;
  background: #f5f5f4;
}

.password-field__toggle:focus-visible {
  outline: 2px solid #d97706;
  outline-offset: 2px;
}

.password-field__icon {
  width: 1.25rem;
  height: 1.25rem;
}

.password-field__icon--hide {
  display: none;
}

.password-field__toggle[aria-pressed="true"] .password-field__icon--show {
  display: none;
}

.password-field__toggle[aria-pressed="true"] .password-field__icon--hide {
  display: block;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: #1c1917;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
}

.btn-primary:hover {
  background: #292524;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid #d6d3d1;
  background: #fff;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #44403c;
}

.btn-secondary:hover {
  background: #fafaf9;
}

.btn-secondary--compact {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
}

.btn-secondary--share:hover {
  border-color: #fbbf24;
  background: #fffbeb;
}

.share-btn-icon {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

.share-btn-icon--linkedin {
  color: #0a66c2;
}

.share-btn-icon--facebook {
  color: #1877f2;
}

.share-btn-icon--instagram {
  color: #e1306c;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.offer-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  border-radius: 9999px;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  line-height: 1.25;
}

.offer-stat__value {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.offer-stat__label {
  font-weight: 500;
  opacity: 0.85;
}

.offer-stat--views {
  background: #f5f5f4;
  color: #44403c;
}

.offer-stat--bought {
  background: #ecfdf5;
  color: #047857;
}

.offer-stat-card {
  border-radius: 0.75rem;
  border: 1px solid #e7e5e4;
  background: #fafaf9;
  padding: 1rem 1.25rem;
  text-align: center;
}

.offer-stat-card--bought {
  border-color: #a7f3d0;
  background: #ecfdf5;
}

.offer-stat-card__value {
  font-size: 1.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #1c1917;
  line-height: 1.2;
}

.offer-stat-card--bought .offer-stat-card__value {
  color: #047857;
}

.offer-stat-card__label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #78716c;
}

.offer-stat-card--bought .offer-stat-card__label {
  color: #059669;
}

.viewer-shell {
  position: relative;
  width: 100%;
}

.viewer-shell--card {
  width: 100%;
  height: 100%;
}

.viewer-shell--editor {
  min-height: 0;
}

.viewer-load-progress {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: rgba(245, 245, 244, 0.92);
  border-radius: inherit;
  pointer-events: none;
}

.viewer-load-progress--hidden {
  display: none;
}

.viewer-load-progress__track {
  width: min(18rem, 80%);
  height: 0.5rem;
  border-radius: 9999px;
  background: #e7e5e4;
  overflow: hidden;
}

.viewer-load-progress__bar {
  height: 100%;
  width: 0;
  border-radius: 9999px;
  background: linear-gradient(90deg, #d97706, #b45309);
  transition: width 0.15s ease-out;
}

.viewer-load-progress__text {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #57534e;
  font-variant-numeric: tabular-nums;
}

.license-download-item .viewer-load-progress {
  position: static;
  inset: auto;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  background: transparent;
  border-radius: 0;
  pointer-events: auto;
}

.license-download-item .viewer-load-progress__track {
  width: 100%;
}

.license-download-error.hidden {
  display: none;
}

.upload-progress.viewer-load-progress {
  position: static;
  inset: auto;
  flex-direction: column;
  align-items: stretch;
  padding: 1rem 1.25rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 0.75rem;
  pointer-events: none;
}

.upload-progress .viewer-load-progress__track {
  width: 100%;
}

.viewer-shell model-viewer,
.viewer-shell .three-viewer-host {
  display: block;
  width: 100%;
}

.viewer-xr-controls {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 15;
  pointer-events: none;
}

.viewer-xr-unified {
  display: inline-flex;
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
}

.viewer-xr-unified--single .viewer-xr-btn {
  border-radius: 9999px;
}

.viewer-xr-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(28, 25, 23, 0.82);
  color: #fff;
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.viewer-xr-unified:not(.viewer-xr-unified--single) .viewer-xr-btn--ar {
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.viewer-xr-unified:not(.viewer-xr-unified--single) .viewer-xr-btn--vr {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.viewer-xr-btn--ar {
  background: rgba(5, 95, 70, 0.88);
  border-color: rgba(167, 243, 208, 0.9);
}

.viewer-xr-btn--ar:hover {
  background: rgba(4, 120, 87, 0.95);
}

.viewer-xr-btn--vr:hover {
  background: rgba(41, 37, 36, 0.92);
}

.viewer-xr-btn:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

.viewer-xr-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.viewer-vr-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  background: #0c0a09;
  color: #fafaf9;
}

body.viewer-vr-active {
  overflow: hidden;
}

.viewer-vr-overlay__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #292524;
  background: rgba(12, 10, 9, 0.95);
}

.viewer-vr-overlay__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #e7e5e4;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.viewer-vr-overlay__status {
  margin: 0;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: #a8a29e;
}

.viewer-vr-overlay__status--ready {
  color: #86efac;
}

.viewer-vr-overlay__canvas {
  flex: 1;
  min-height: 0;
  position: relative;
}

.viewer-vr-overlay__canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

model-viewer {
  width: 100%;
  height: 480px;
  background: linear-gradient(180deg, #f5f5f4 0%, #e7e5e4 100%);
  border-radius: 0.75rem;
}

.three-viewer-host {
  width: 100%;
  height: 480px;
  min-height: 320px;
  border-radius: 0.75rem;
  overflow: hidden;
  background: linear-gradient(180deg, #f5f5f4 0%, #e7e5e4 100%);
}

.three-viewer-host canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* Exhibition grid card previews */
.exhibition-preview-slot {
  pointer-events: none;
}

.exhibition-preview-slot .exhibition-preview-wrap {
  position: absolute;
  inset: 0;
}

.exhibition-preview-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.exhibition-preview-slot .viewer-shell--card {
  width: 100%;
  height: 100%;
}

.exhibition-preview-slot .viewer-load-progress {
  border-radius: 0;
}

.exhibition-preview-slot model-viewer.exhibition-preview-3d,
.exhibition-preview-slot .three-viewer-host.exhibition-preview-3d {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #f5f5f4 0%, #e7e5e4 100%);
}

/* Long hashes / UUIDs in definition lists */
.certificate-details-grid dd.font-mono {
  word-break: break-all;
  overflow-wrap: anywhere;
}

.exhibition-preview-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Preview paints on top — placeholder never blocks or delays the figure */
.exhibition-preview-wrap > :not(.exhibition-preview-placeholder) {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.exhibition-preview-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #fafaf9 0%, #f5f5f4 45%, #eceae8 100%);
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.exhibition-preview-placeholder--hidden {
  opacity: 0;
  visibility: hidden;
}

.exhibition-preview-pulse {
  width: 0.3125rem;
  height: 0.3125rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 4px 1px rgba(255, 255, 255, 0.7);
  animation: exhibition-preview-pulse 0.8s ease-in-out infinite;
}

@keyframes exhibition-preview-pulse {
  0%,
  100% {
    transform: scale(0.85);
    opacity: 0.4;
    box-shadow: 0 0 3px 0 rgba(255, 255, 255, 0.35);
  }

  50% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.65);
  }
}

@media (prefers-reduced-motion: reduce) {
  .exhibition-preview-pulse {
    animation: none;
    opacity: 0.65;
  }
}

.exhibition-preview-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Exhibition audio card — play control above pointer-events:none on the slot */
.exhibition-audio-preview {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #fafaf9 0%, #f5f5f4 45%, #eceae8 100%);
}

.exhibition-preview-audio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.exhibition-audio-play-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  border: 2px solid rgba(28, 25, 23, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #1c1917;
  box-shadow: 0 4px 14px rgba(28, 25, 23, 0.12);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.exhibition-audio-play-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 18px rgba(28, 25, 23, 0.16);
  background: #fff;
}

.exhibition-audio-play-btn:focus-visible {
  outline: 2px solid #d97706;
  outline-offset: 3px;
}

.exhibition-audio-play-btn--playing {
  background: #fff7ed;
  border-color: #d97706;
  color: #9a3412;
}

.exhibition-audio-play-btn__icon {
  font-size: 1.25rem;
  line-height: 1;
  margin-left: 0.15rem;
}

.exhibition-audio-play-btn--playing .exhibition-audio-play-btn__icon {
  margin-left: 0;
  font-size: 0.95rem;
  letter-spacing: -0.12em;
}

/* Virtual exhibition gallery */
.client-gallery-hero {
  background: linear-gradient(135deg, #1c1917 0%, #292524 55%, #1c1917 100%);
  color: #fafaf9;
  position: relative;
  overflow: hidden;
}

.client-gallery-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(180, 83, 9, 0.35), transparent 70%);
  background: radial-gradient(ellipse 80% 60% at 70% 20%, color-mix(in srgb, var(--gallery-accent, #b45309) 35%, transparent), transparent 70%);
  pointer-events: none;
}

.client-gallery-hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d6d3d1;
  margin-bottom: 0.75rem;
}

.client-gallery-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.client-gallery-hero__subtitle {
  font-size: 1.125rem;
  color: #e7e5e4;
  margin-top: 0.75rem;
}

.client-gallery-hero__description {
  max-width: 42rem;
  color: #d6d3d1;
  margin-top: 1rem;
  line-height: 1.6;
}

.client-gallery-hero__meta {
  font-size: 0.875rem;
  color: #a8a29e;
  margin-top: 1.25rem;
}

.client-gallery-spotlight__link {
  display: grid;
  gap: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #e7e5e4;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (min-width: 768px) {
  .client-gallery-spotlight__link {
    grid-template-columns: 1.2fr 1fr;
  }
}

.client-gallery-spotlight__link:hover {
  box-shadow: 0 12px 40px rgba(28, 25, 23, 0.1);
  border-color: #d6d3d1;
  border-color: color-mix(in srgb, var(--gallery-accent, #b45309) 40%, #e7e5e4);
}

.client-gallery-spotlight__media {
  min-height: 280px;
  transition: transform 0.35s ease;
}

.client-gallery-spotlight__copy {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.exhibition-card {
  opacity: 1;
  transform: translateY(12px);
}

.exhibition-card--visible {
  transform: translateY(0);
  transition: transform 0.45s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.exhibition-empty-state {
  opacity: 0;
  transform: translateY(8px);
}

.exhibition-empty-state--visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.client-gallery-work__bar {
  border-bottom: 1px solid #e7e5e4;
  background-color: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.client-gallery-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gallery-accent, #b45309);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #e7e5e4;
  border: 1px solid color-mix(in srgb, var(--gallery-accent, #b45309) 25%, #e7e5e4);
  background: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.client-gallery-nav-btn:hover {
  background: #fffbeb;
  background: color-mix(in srgb, var(--gallery-accent, #b45309) 8%, #fff);
  transform: translateX(var(--nav-shift, 0));
}

.client-gallery-nav-btn[data-work-nav="prev"]:hover {
  --nav-shift: -2px;
}

.client-gallery-nav-btn[data-work-nav="next"]:hover {
  --nav-shift: 2px;
}

.client-gallery-nav-btn--disabled {
  opacity: 0.35;
  pointer-events: none;
}

.client-gallery-work__viewer--exit {
  opacity: 0;
  transform: scale(0.98) translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.client-gallery-work__meta--exit {
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.client-gallery-work__viewer-inner {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.client-gallery-embed__card {
  display: block;
  text-decoration: none;
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .exhibition-card {
    opacity: 1;
    transform: none;
  }

  .client-gallery-spotlight__media,
  .client-gallery-work__viewer-inner,
  .client-gallery-work__meta-inner {
    transition: none;
  }
}

/* Home page */
.home-hero {
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .home-hero {
    margin-bottom: 6rem;
  }
}

.home-section {
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .home-section {
    margin-bottom: 6rem;
  }
}

.home-hero__title {
  line-height: 1.15;
}

.home-hero__lead {
  line-height: 1.625;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
}

.home-section__cta {
  margin-top: 1.5rem;
}

.home-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b45309;
  margin-bottom: 0.75rem;
}

.home-section__inner {
  border-radius: 1.25rem;
  border: 1px solid #e7e5e4;
  background: #fff;
  padding: 2rem;
}

@media (min-width: 768px) {
  .home-section__inner {
    padding: 2.5rem 3rem;
  }
}

.home-section__inner--split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .home-section__inner--split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.home-section__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1c1917;
  margin-bottom: 0.75rem;
}

.home-section__lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #57534e;
  margin-bottom: 1.75rem;
}

.home-section__lead--center {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.home-section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.home-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.home-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-feature-list__item {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.home-feature-list__item strong {
  display: block;
  font-weight: 600;
  color: #1c1917;
  margin-bottom: 0.125rem;
}

.home-feature-list__item > div span {
  display: block;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #57534e;
}

.home-feature-list__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: #fffbeb;
  color: #b45309;
}

.home-feature-list__icon svg {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
}

.home-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #a8a29e;
}

/* Certificate mock visual */
.home-cert-mock {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.home-cert-mock__glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(ellipse at center, rgba(251, 191, 36, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.home-cert-mock__card {
  position: relative;
  width: 100%;
  max-width: 20rem;
  border-radius: 0.875rem;
  border: 1px solid #e7e5e4;
  background: #fafaf9;
  box-shadow:
    0 1px 2px rgba(28, 25, 23, 0.04),
    0 12px 40px rgba(28, 25, 23, 0.08);
  overflow: hidden;
}

.home-cert-mock__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #1c1917 0%, #292524 100%);
  color: #fafaf9;
}

.home-cert-mock__badge {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  background: #059669;
  color: #ecfdf5;
}

.home-cert-mock__label {
  font-size: 0.75rem;
  color: #d6d3d1;
}

.home-cert-mock__body {
  padding: 1.25rem;
}

.home-cert-mock__title {
  font-size: 1rem;
  font-weight: 600;
  color: #1c1917;
  margin: 0 0 0.375rem;
}

.home-cert-mock__meta {
  font-size: 0.6875rem;
  color: #78716c;
  margin: 0 0 1rem;
}

.home-cert-mock__hash {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  background: #fff;
  border: 1px solid #e7e5e4;
  margin-bottom: 1rem;
}

.home-cert-mock__hash-label {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a8a29e;
}

.home-cert-mock__hash code {
  font-size: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #44403c;
}

.home-cert-mock__checks {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.home-cert-mock__checks span {
  font-size: 0.75rem;
  color: #57534e;
  padding-left: 1.125rem;
  position: relative;
}

.home-cert-mock__checks span::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 600;
}

.home-cert-mock__footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  border-top: 1px solid #e7e5e4;
  font-size: 0.6875rem;
  color: #78716c;
}

.home-cert-mock__seal {
  display: inline-flex;
  color: #b45309;
}

.home-cert-mock__seal svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* Process steps — horizontal cards */
.home-section--process .home-section__inner {
  background: linear-gradient(180deg, #fafaf9 0%, #fff 100%);
}

.home-steps {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 640px) {
  .home-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .home-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.home-step {
  position: relative;
  padding: 1.5rem 1.25rem;
  border-radius: 0.875rem;
  border: 1px solid #e7e5e4;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-step:hover {
  border-color: #fcd34d;
  box-shadow: 0 4px 20px rgba(28, 25, 23, 0.06);
}

.home-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background: #1c1917;
  color: #fbbf24;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.875rem;
}

.home-step__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1c1917;
  margin: 0 0 0.375rem;
}

.home-step__text {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #57534e;
  margin: 0;
}

@media (min-width: 1024px) {
  .home-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: #d6d3d1;
    font-size: 0.875rem;
    z-index: 1;
  }
}

/* Preservation add-on strip */
/* Form submit spacing — clear separation from fields / legal text above */
form .btn-primary[type="submit"],
form .btn-secondary[type="submit"],
form button[type="submit"].btn-primary,
form button[type="submit"].btn-secondary {
  margin-top: 1.5rem;
}

.home-addon {
  border-radius: 1rem;
  border: 1px solid #e7e5e4;
  background: #fff;
  padding: 1.75rem 2rem;
}

.home-addon__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .home-addon__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.home-addon__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Site-wide page design system (login/signup baseline) */
.site-page {
  margin: 0 auto;
}

.site-page--narrow {
  max-width: 28rem;
}

.site-page--medium {
  max-width: 36rem;
}

.site-page--content {
  max-width: 42rem;
}

.site-page--wide {
  max-width: 48rem;
}

.site-page__header {
  margin-bottom: 2rem;
}

.site-page__header--center {
  text-align: center;
}

.site-page__header--center .site-page__subtitle {
  margin-left: auto;
  margin-right: auto;
}

.site-page__title,
.auth-page__title {
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1c1917;
  margin-bottom: 0.5rem;
}

.site-page__subtitle,
.auth-page__subtitle {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #57534e;
  max-width: 36rem;
}

.site-card,
.auth-card {
  border-radius: 1rem;
  border: 1px solid #e7e5e4;
  background: #fff;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.04), 0 8px 24px rgba(28, 25, 23, 0.06);
}

@media (min-width: 640px) {
  .site-card,
  .auth-card {
    padding: 2rem;
  }
}

.site-panel {
  border-radius: 1rem;
  border: 1px solid #e7e5e4;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.04), 0 4px 16px rgba(28, 25, 23, 0.04);
}

.site-panel--compact {
  padding: 1.25rem;
}

.site-panel--list {
  padding: 0;
  overflow: hidden;
}

.site-panel__title {
  font-size: 1rem;
  font-weight: 600;
  color: #1c1917;
}

.site-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.site-alert,
.auth-alert {
  border-radius: 0.625rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.site-alert--error,
.auth-alert--error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.site-alert--success {
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  color: #047857;
}

.site-alert--warning {
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.site-form,
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.site-form__field,
.auth-form__field {
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.site-form__label,
.auth-form__label,
.site-form__field legend.site-form__label,
.auth-form__field legend.auth-form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #44403c;
  margin-bottom: 0.375rem;
}

.site-form__field legend.site-form__label,
.auth-form__field legend.auth-form__label {
  padding: 0;
}

.site-form__error,
.auth-form__error {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: #dc2626;
}

.site-form__help {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #78716c;
}

.site-form__note {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #78716c;
}

.site-form__submit,
.auth-form__submit {
  margin-top: 0.25rem;
}

.site-form__submit--full,
.auth-form__submit {
  width: 100%;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.site-form__consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e7e5e4;
  background: #fafaf9;
}

.site-link {
  color: #b45309;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-link:hover {
  color: #92400e;
}

.site-link--plain {
  font-weight: 500;
  text-decoration: none;
}

.site-link--plain:hover {
  text-decoration: underline;
}

.site-page__footer,
.auth-page__footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: #57534e;
}

.site-page__footer-link,
.auth-page__footer-link {
  color: #b45309;
  font-weight: 500;
  text-decoration: none;
}

.site-page__footer-link:hover,
.auth-page__footer-link:hover {
  text-decoration: underline;
}

.site-prose {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #57534e;
}

.site-prose h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1c1917;
  margin: 1.75rem 0 0.75rem;
}

.site-prose p {
  margin-bottom: 1rem;
}

.site-prose ul,
.site-prose ol {
  margin: 0 0 1rem 1.25rem;
}

.site-prose ul {
  list-style: disc;
}

.site-prose li {
  margin-bottom: 0.375rem;
}

.site-prose a {
  color: #b45309;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-browse-header {
  margin-bottom: 2.5rem;
}

.site-browse-header .site-page__subtitle {
  max-width: 42rem;
}

.site-table-wrap {
  overflow-x: auto;
  border-radius: 1rem;
  border: 1px solid #e7e5e4;
  background: #fff;
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.04), 0 4px 16px rgba(28, 25, 23, 0.04);
}

.site-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.site-table th,
.site-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #f5f5f4;
}

.site-table th {
  font-weight: 600;
  color: #44403c;
  background: #fafaf9;
}

.site-table tr:last-child td {
  border-bottom: none;
}

.site-empty {
  border-radius: 1rem;
  border: 1px dashed #d6d3d1;
  background: #fff;
  padding: 3rem 1.5rem;
  text-align: center;
  color: #78716c;
  font-size: 0.875rem;
}

/* Auth page aliases */
.auth-page {
  max-width: 28rem;
  margin: 0 auto;
}

.auth-page__header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-page__subtitle {
  max-width: 22rem;
  margin: 0 auto;
}

/* Legacy pages — title rhythm until fully migrated */
main h1.text-2xl.font-semibold,
main h1.text-3xl.font-semibold {
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1c1917;
}

main .rounded-xl.border.border-stone-200.bg-white,
main .rounded-lg.border.border-stone-200.bg-white {
  border-radius: 1rem;
  border-color: #e7e5e4;
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.04), 0 4px 16px rgba(28, 25, 23, 0.04);
}

.auth-role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.auth-role-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 2px solid #e7e5e4;
  background: #fafaf9;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.auth-role-option:hover {
  border-color: #d6d3d1;
  background: #fff;
}

.auth-role-option.is-selected,
.auth-role-option:has(.auth-role-option__input:checked) {
  border-color: #d97706;
  background: #fffbeb;
  box-shadow: 0 0 0 1px rgba(217, 119, 6, 0.15);
}

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

.auth-role-option__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1c1917;
}

.auth-role-option__desc {
  font-size: 0.6875rem;
  line-height: 1.45;
  color: #78716c;
}

.auth-terms {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e7e5e4;
  background: #fafaf9;
}

.auth-terms__check {
  padding-top: 0.125rem;
  flex-shrink: 0;
}

.auth-terms__check input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: #b45309;
  cursor: pointer;
}

.auth-terms__label {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #57534e;
  cursor: pointer;
}

.auth-terms__link {
  color: #b45309;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-terms__link:hover {
  color: #92400e;
}

/* Pricing page */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card__desc {
  flex: 1;
  margin-bottom: 1.5rem;
}

.pricing-card__cta {
  margin-top: auto;
}

.auth-passkey {
  margin-bottom: 0.25rem;
}

.auth-passkey__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  border: 2px solid #e7e5e4;
  background: #fafaf9;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1c1917;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.auth-passkey__btn:hover {
  border-color: #d97706;
  background: #fffbeb;
}

.auth-passkey__btn:focus-visible {
  outline: 2px solid #d97706;
  outline-offset: 2px;
}

.auth-passkey__icon {
  width: 1.125rem;
  height: 1.125rem;
  color: #b45309;
  flex-shrink: 0;
}

.auth-passkey__hint {
  margin-top: 0.625rem;
  font-size: 0.75rem;
  line-height: 1.45;
  text-align: center;
  color: #78716c;
}

.auth-passkey__message {
  margin-top: 0.625rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: center;
  color: #57534e;
}

.auth-divider {
  position: relative;
  margin: 1.5rem 0;
  text-align: center;
}

.auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #e7e5e4;
}

.auth-divider__label {
  position: relative;
  display: inline-block;
  padding: 0 0.75rem;
  background: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a8a29e;
}
