:root {
  --night: #080603;
  --panel: rgba(19, 13, 9, 0.94);
  --panel-strong: rgba(27, 19, 14, 0.96);
  --panel-soft: rgba(35, 25, 18, 0.76);
  --ink: #fbf5e7;
  --ink-soft: #ddccb0;
  --ink-muted: #9a846b;
  --brand: #f2d18a;
  --brand-soft: #f6ddb0;
  --accent: #d48630;
  --accent-soft: #f2b971;
  --border: rgba(242, 209, 138, 0.14);
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "SF Pro Display", "Inter", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(212, 134, 48, 0.18), transparent 24%),
    radial-gradient(circle at bottom left, rgba(242, 209, 138, 0.12), transparent 26%),
    linear-gradient(180deg, #0c0704 0%, #080603 100%);
}

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

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

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

.shell {
  width: min(var(--max-width), calc(100vw - 28px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0 12px;
  background: linear-gradient(180deg, rgba(8, 6, 3, 0.94), rgba(8, 6, 3, 0.54));
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.4;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link,
.button,
.ghost-button,
.language-picker select {
  border-radius: 999px;
  transition: transform 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.nav-link:hover,
.button:hover,
.ghost-button:hover,
.language-picker select:hover {
  transform: translateY(-1px);
}

.nav-link,
.ghost-button,
.language-picker {
  border: 1px solid var(--border);
  background: rgba(27, 19, 14, 0.76);
  color: var(--ink-soft);
}

.nav-link,
.button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-mini {
  padding-inline: 14px;
}

.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.language-picker span {
  color: var(--ink-muted);
}

.language-picker select {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 4px 4px 4px 0;
}

.button {
  border: 0;
  color: #120b05;
  background: linear-gradient(135deg, var(--brand), var(--accent-soft));
  font-weight: 900;
}

.ghost-button {
  border-color: rgba(242, 209, 138, 0.22);
}

.small-button {
  min-height: 42px;
  padding: 0 14px;
}

.page,
.admin-page {
  padding-bottom: 72px;
}

.hero-card,
.admin-hero,
.admin-card,
.footer-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(18, 12, 8, 0.95), rgba(10, 7, 5, 0.96));
  box-shadow: var(--shadow);
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 26px;
  padding: 30px;
  margin-top: 24px;
  border-radius: var(--radius-xl);
}

.hero-copy h1,
.section h2,
.admin-hero h1,
.footer-card h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(42px, 7vw, 72px);
}

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

.lead,
.section-header p,
.admin-hero p,
.footer-card p {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.muted-line {
  color: var(--ink-muted);
  margin-top: 14px;
  font-size: 14px;
}

.brand-stage {
  position: relative;
  border-radius: 28px;
  min-height: 560px;
  padding: 28px;
  border: 1px solid var(--border);
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(242, 209, 138, 0.18), transparent 18%),
    radial-gradient(circle at bottom right, rgba(212, 134, 48, 0.26), transparent 26%),
    linear-gradient(180deg, rgba(29, 20, 13, 0.98), rgba(11, 8, 5, 0.98));
}

.brand-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
}

.brand-glow-top {
  top: -80px;
  right: -40px;
  width: 240px;
  height: 240px;
  background: rgba(242, 209, 138, 0.2);
}

.brand-glow-bottom {
  left: -60px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  background: rgba(212, 134, 48, 0.16);
}

.brand-r {
  position: absolute;
  inset: 12px auto auto 16px;
  font-size: clamp(150px, 26vw, 280px);
  font-weight: 900;
  line-height: 1;
  color: rgba(242, 209, 138, 0.09);
}

.brand-wordmark {
  position: relative;
  margin-left: auto;
  width: min(62%, 320px);
  text-align: right;
  z-index: 1;
}

.brand-word {
  color: var(--brand);
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.brand-caption {
  color: var(--ink-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 800;
}

.brand-dumbbell {
  position: absolute;
  inset: auto 28px 118px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.plates {
  display: flex;
  gap: 6px;
}

.plates.left {
  transform: scaleX(-1);
}

.plates span {
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 247, 226, 0.18);
  background: rgba(242, 209, 138, 0.22);
}

.plates span:nth-child(1) {
  width: 14px;
  height: 50px;
}

.plates span:nth-child(2) {
  width: 10px;
  height: 40px;
}

.plates span:nth-child(3) {
  width: 7px;
  height: 30px;
}

.bar {
  flex: 1;
  max-width: 220px;
  min-width: 120px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-soft), var(--brand-soft));
}

.brand-highlights {
  position: absolute;
  inset: auto 28px 24px 28px;
  display: grid;
  gap: 12px;
}

.mini-card,
.feature-card,
.screen-card,
.video-card,
.cms-panel,
.metric-card,
.admin-card {
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(28, 20, 14, 0.82);
}

.mini-card {
  padding: 16px 18px;
}

.mini-card h3,
.feature-card h3,
.screen-card h3,
.video-card h3,
.cms-panel h3,
.admin-card h2 {
  margin: 0 0 8px;
}

.mini-card p,
.feature-card p,
.screen-card p,
.video-card p,
.cms-panel p,
.admin-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.section {
  padding-top: 62px;
}

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

.section-header h2 {
  font-size: clamp(32px, 5vw, 54px);
}

.section-header p {
  max-width: 52ch;
  margin: 0;
}

.screen-gallery,
.feature-grid,
.video-grid,
.metric-grid,
.cms-grid {
  display: grid;
  gap: 18px;
}

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

.screen-card {
  padding: 14px;
}

.screen-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 1206 / 2622;
  background: #120c08;
}

.screen-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-card h3 {
  margin-top: 14px;
  font-size: 18px;
}

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

.video-card {
  overflow: hidden;
}

.video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  background:
    radial-gradient(circle at top right, rgba(242, 209, 138, 0.18), transparent 22%),
    linear-gradient(180deg, #1a120c 0%, #0e0906 100%);
}

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

.video-overlay {
  position: absolute;
  inset: auto 16px 16px 16px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(12, 8, 5, 0.74);
  border: 1px solid rgba(242, 209, 138, 0.18);
  backdrop-filter: blur(10px);
}

.video-card > div:last-child {
  padding: 16px;
}

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

.feature-card,
.cms-panel,
.metric-card {
  padding: 22px;
}

.cms-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

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

.check-list li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.mini-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
  color: var(--ink-muted);
  font-size: 13px;
}

.footer-card {
  border-radius: var(--radius-xl);
  padding: 30px;
}

.admin-body {
  background:
    radial-gradient(circle at top right, rgba(242, 209, 138, 0.14), transparent 20%),
    linear-gradient(180deg, #0d0805 0%, #090603 100%);
}

.admin-page {
  padding-top: 24px;
}

.admin-hero {
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

.admin-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  margin-bottom: 12px;
}

.metric-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 20px;
}

.metric-card {
  padding: 18px;
}

.metric-card h3,
.metric-card h4 {
  margin: 0 0 6px;
}

.metric-value {
  font-size: 34px;
  font-weight: 900;
  color: var(--brand);
}

.metric-sub {
  color: var(--ink-muted);
  font-size: 13px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 20px;
  align-items: start;
}

.admin-column {
  display: grid;
  gap: 18px;
}

.admin-card {
  padding: 22px;
}

.table-card {
  overflow: hidden;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(242, 209, 138, 0.12);
  color: var(--brand);
  border: 1px solid rgba(242, 209, 138, 0.2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toolbar-actions,
.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.stack-form,
.filter-grid {
  display: grid;
  gap: 14px;
}

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

.stack-form label,
.filter-grid label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
}

.stack-form span,
.filter-grid span {
  font-size: 13px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(242, 209, 138, 0.16);
  background: rgba(14, 10, 7, 0.86);
  color: var(--ink);
  padding: 14px 16px;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.table-wrap {
  overflow: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(242, 209, 138, 0.08);
  vertical-align: top;
}

.table tbody tr {
  cursor: pointer;
  transition: background 0.16s ease;
}

.table tbody tr:hover,
.table tbody tr.is-active {
  background: rgba(242, 209, 138, 0.06);
}

.media-preview-grid,
.provider-list,
.progress-photo-list {
  display: grid;
  gap: 14px;
}

.media-preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

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

.media-slot strong {
  color: var(--brand);
}

.media-slot video,
.media-slot img {
  width: 100%;
  min-height: 220px;
  border-radius: 18px;
  background: rgba(14, 10, 7, 0.86);
  border: 1px solid rgba(242, 209, 138, 0.16);
  object-fit: cover;
}

.provider-item {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(242, 209, 138, 0.14);
  background: rgba(16, 11, 8, 0.72);
}

.progress-photo-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(242, 209, 138, 0.14);
  background: rgba(16, 11, 8, 0.72);
}

.progress-photo-image {
  width: 120px;
  height: 148px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(242, 209, 138, 0.12);
  background: rgba(14, 10, 7, 0.86);
}

.progress-photo-empty {
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.progress-photo-copy {
  display: grid;
  gap: 8px;
}

.provider-item h3 {
  margin: 0 0 8px;
}

.provider-item p {
  margin: 0 0 12px;
  color: var(--ink-soft);
}

.provider-item a {
  color: var(--brand);
  font-weight: 700;
}

@media (max-width: 1120px) {
  .hero-card,
  .admin-layout {
    grid-template-columns: 1fr;
  }

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

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

  .video-grid,
  .metric-grid,
  .cms-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-inner,
  .section-header,
  .admin-hero {
    align-items: start;
    flex-direction: column;
  }

  .feature-grid,
  .screen-gallery,
  .grid-two,
  .media-preview-grid,
  .progress-photo-card {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .footer-card,
  .admin-card,
  .admin-hero {
    padding: 20px;
  }

  .brand-stage {
    min-height: 460px;
  }

  .brand-dumbbell {
    inset-inline: 20px;
    bottom: 128px;
  }

  .brand-highlights {
    inset-inline: 20px;
  }

  .brand-wordmark {
    width: 100%;
  }
}
