:root {
  --bg: #0a0b0e;
  --bg-2: #0e1117;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.86);
  --muted: rgba(255, 255, 255, 0.62);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
  --accent: #c79a45;
  --accent-2: #f3d39a;
  --glass: rgba(255, 255, 255, 0.06);
  --accent-ghost: rgba(199, 154, 69, 0.18);
  --accent-border: rgba(199, 154, 69, 0.42);
  --brand-logo-filter: none;
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 12px;
  --container: 1140px;
  --ff-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --ff-serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

html[data-theme="light"] {
  --bg: #f7f5f1;
  --bg-2: #ffffff;
  --surface: rgba(0, 0, 0, 0.03);
  --surface-2: rgba(0, 0, 0, 0.04);
  --border: rgba(0, 0, 0, 0.08);
  --border-2: rgba(0, 0, 0, 0.12);
  --text: rgba(19, 19, 20, 0.9);
  --muted: rgba(19, 19, 20, 0.58);
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.12);
  --glass: rgba(255, 255, 255, 0.64);
  --brand-logo-filter: none;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-sans);
  color: var(--text);
  background: var(--bg);
  letter-spacing: -0.01em;
}

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

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

.app {
  min-height: 100%;
}

main[id],
section[id] {
  scroll-margin-top: 92px;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 16px 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, background 180ms ease;
}

html[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.68);
}

.header.is-elevated {
  border-bottom-color: var(--border);
  background: rgba(0, 0, 0, 0.3);
}

html[data-theme="light"] .header.is-elevated {
  background: rgba(255, 255, 255, 0.78);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}

.header__burger {
  display: none;
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  line-height: 1;
  max-width: 360px;
}

.brand__logo {
  height: 52px;
  width: auto;
  max-width: 520px;
  object-fit: contain;
  transform: translateY(1px);
  filter: brightness(1.35) contrast(1.08);
}

html[data-theme="light"] .brand__logo {
  filter: none;
}

.brand--footer .brand__logo {
  height: 92px;
  max-width: 360px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  align-items: center;
}

.nav__link {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 10px 0;
  transition: color 160ms ease;
}

.nav__link:hover {
  color: var(--text);
}

.nav__link.is-active {
  color: var(--text);
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
}

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

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 140ms ease, border-color 160ms ease, background 160ms ease;
  cursor: pointer;
}

.pill-btn:hover {
  transform: translateY(-1px);
  border-color: var(--border-2);
}

.pill-btn--primary {
  background: var(--accent);
  border-color: rgba(199, 154, 69, 0.65);
  color: #0c0c0e;
}

.pill-btn--primary:hover {
  border-color: rgba(199, 154, 69, 0.82);
}

.pill-btn--ghost {
  background: transparent;
  border-color: var(--accent-border);
  color: var(--accent);
}

.pill-btn__label {
  white-space: nowrap;
}

.icon-btn--theme {
  border-color: var(--accent-border);
  color: var(--accent);
}

.icon-btn--theme:hover {
  border-color: rgba(199, 154, 69, 0.65);
}

.dropdown {
  position: relative;
}

.dropdown__menu[hidden] {
  display: none;
}

.dropdown__menu {
  min-width: 150px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  padding: 10px;
  display: grid;
  gap: 6px;
}

html[data-theme="light"] .dropdown__menu {
  background: rgba(255, 255, 255, 0.78);
}

.dropdown:not(.dropdown--block) .dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
}

.dropdown--block .dropdown__trigger {
  width: 100%;
  justify-content: space-between;
}

.dropdown--block .dropdown__menu {
  position: static;
  margin-top: 10px;
  width: 100%;
}

.dropdown__item {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 10px 12px;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}

.dropdown__item:hover {
  color: var(--text);
  border-color: var(--border-2);
}

.dropdown__item.is-active {
  border-color: var(--accent-border);
  color: var(--accent);
  background: var(--accent-ghost);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--text);
  cursor: pointer;
}

.icon-btn:hover {
  border-color: var(--border-2);
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.sheet.is-open {
  display: block;
}

.sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.sheet__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(360px, 90vw);
  padding: 16px;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateX(-110%);
  transition: transform 180ms ease;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

html[data-theme="light"] .sheet__panel {
  background: var(--bg-2);
}

.sheet.is-open .sheet__panel {
  transform: translateX(0);
}

.sheet__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sheet__title {
  font-family: var(--ff-serif);
  font-size: 18px;
}

.sheet__nav {
  display: grid;
  gap: 10px;
  padding-top: 10px;
}

.sheet__link {
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.sheet__actions {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.hero {
  padding: 44px 0 38px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.hero__copy {
  grid-column: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__title {
  margin: 18px 0 10px;
  font-family: var(--ff-serif);
  font-size: clamp(40px, 4.4vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1.03;
}

.hero__accent {
  color: var(--accent);
}

.hero__desc {
  margin: 0;
  max-width: 50ch;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.hero__cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 140ms ease, border-color 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--border-2);
}

.btn--primary {
  background: var(--accent);
  border-color: rgba(199, 154, 69, 0.65);
  color: #0c0c0e;
}

.btn--ghost {
  background: transparent;
  border-color: var(--accent-border);
  color: var(--accent);
}

.btn--ghost:hover,
.pill-btn--ghost:hover {
  background: var(--accent-ghost);
}

.btn__icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

html[data-theme="light"] .btn__icon {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero__media {
  position: relative;
  grid-column: 2;
  align-self: stretch;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  min-height: 360px;
}

.hero__glow {
  position: absolute;
  inset: -40%;
  background: transparent;
  pointer-events: none;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transform: scale(1.02);
}

.hero__features {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-2);
  padding: 16px 16px 14px;
  min-height: 108px;
}

.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: rgba(199, 154, 69, 0.08);
  color: var(--accent);
}

.feature__title {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature__text {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: 22px 0;
}

.page-hero {
  position: relative;
  min-height: 480px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero__media {
  position: absolute;
  inset: 0;
  background: #050506;
}

.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
}

.page-hero__media img,
.page-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding: 88px 0 64px;
  color: rgba(255, 255, 255, 0.92);
}

.page-hero .badge {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.34);
  color: rgba(255, 255, 255, 0.72);
}

.page-hero__title {
  margin: 18px 0 12px;
  max-width: 840px;
  font-family: var(--ff-serif);
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.page-hero__text {
  margin: 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  font-size: 15px;
}

.page-section {
  padding: 54px 0;
}

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

.service-card {
  min-height: 300px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-2);
  box-shadow: var(--shadow);
  padding: 22px;
}

.service-card__num {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-card h2,
.page-heading {
  margin: 14px 0 0;
  font-family: var(--ff-serif);
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.service-card p,
.copy-stack p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.editorial,
.split-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.copy-stack {
  display: grid;
  gap: 12px;
}

.copy-stack .btn {
  justify-self: start;
  margin-top: 8px;
}

.portal-section {
  padding-top: 10px;
}

.platform-section {
  padding-top: 20px;
}

.platform-head {
  max-width: 980px;
}

.platform-head p {
  margin: 16px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.platform-steps {
  display: grid;
  gap: 34px;
  margin-top: 34px;
}

.platform-step {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%),
    var(--bg-2);
  box-shadow: var(--shadow);
}

.platform-step__copy {
  display: grid;
  gap: 12px;
}

.platform-step__num {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.platform-step h3 {
  margin: 0;
  font-family: var(--ff-serif);
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.platform-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.platform-step__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  aspect-ratio: 1920 / 928;
  background: var(--surface);
}

.platform-step__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.platform-step__media--history {
  aspect-ratio: 1920 / 760;
}

.platform-step__media--history img {
  object-position: top center;
}

.portal-stack {
  display: grid;
  gap: 44px;
}

.portal-row {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: start;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.portal-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.portal-row__visual {
  display: grid;
  gap: 22px;
}

.portal-copy p strong {
  color: var(--text);
}

.portal-shot {
  border-radius: 28px;
  border: 1px solid rgba(199, 154, 69, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 36%),
    radial-gradient(circle at top left, rgba(199, 154, 69, 0.18), transparent 36%),
    var(--bg-2);
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  gap: 14px;
}

.portal-shot__bar,
.portal-shot__timeline,
.portal-shot__tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.portal-shot__pill,
.portal-shot__meta,
.portal-shot__timeline span,
.portal-shot__tag-row span {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  padding: 7px 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-shot__hero {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 20px;
}

.portal-shot__hero img,
.portal-shot__detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portal-shot__hero::after,
.portal-shot__detail-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(9, 9, 10, 0.82) 100%);
}

.portal-shot__hero-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.portal-shot__hero-copy strong,
.portal-shot__ops-title,
.portal-shot__ops-item strong,
.portal-shot__alert strong {
  font-family: var(--ff-serif);
  font-size: 20px;
  line-height: 1.1;
}

.portal-shot__hero-copy span,
.portal-shot__ops-item span,
.portal-shot__alert span,
.portal-shot__spec span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

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

.portal-shot__card,
.portal-shot__spec,
.portal-shot__ops-panel {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}

.portal-shot__label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portal-shot__card strong,
.portal-shot__spec strong {
  font-size: 14px;
  line-height: 1.5;
}

.portal-shot--detail {
  gap: 16px;
}

.portal-shot__detail-media {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 250px;
}

.portal-shot__timeline span {
  text-transform: none;
  letter-spacing: 0.02em;
}

.portal-shot--ops {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.portal-shot__ops-panel {
  display: grid;
  gap: 12px;
}

.portal-shot__ops-title {
  font-size: 18px;
}

.portal-shot__ops-item {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.portal-shot__ops-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.portal-shot__alert {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(199, 154, 69, 0.08);
}

.about-feature {
  align-items: stretch;
}

.section--reviews,
.cta {
  background: var(--bg-2);
}

#about {
  position: relative;
  z-index: 2;
  isolation: isolate;
  padding-bottom: 56px;
}

#about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-2);
  z-index: -1;
}

#inventory {
  padding-top: 56px;
}

#how {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  padding-top: 24px;
}

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

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.container.section__label {
  display: flex;
  width: min(var(--container), calc(100% - 40px));
}

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

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 160ms ease;
}

.link:hover {
  color: var(--text);
}

.link--accent {
  color: var(--accent);
}

.grid {
  display: grid;
  gap: 14px;
}

.grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--two {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.grid--two > .panel {
  grid-column: 1;
}

.grid--two > .story {
  grid-column: 2;
}

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

.card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  box-shadow: var(--shadow);
}

.card__media {
  position: relative;
  height: 170px;
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.like {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 140ms ease, border-color 160ms ease, background 160ms ease;
}

html[data-theme="light"] .like {
  background: rgba(255, 255, 255, 0.5);
}

html[data-theme="light"] .panel,
html[data-theme="light"] .story,
html[data-theme="light"] .story__body {
  background: #ffffff;
}

.like.is-active {
  color: var(--accent);
  border-color: rgba(199, 154, 69, 0.45);
}

.like:hover {
  transform: translateY(-1px);
  border-color: var(--border-2);
}

.card__body {
  padding: 16px 16px 18px;
}

.card__name {
  font-family: var(--ff-serif);
  font-size: 18px;
  letter-spacing: -0.02em;
}

.card__price {
  margin-top: 8px;
  color: var(--accent);
  font-weight: 600;
}

.card__meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.meta__icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12px;
}

.inventory-empty {
  min-height: 220px;
  border-radius: var(--radius-xl);
  border: 1px dashed var(--border-2);
  background: var(--bg-2);
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.inventory-empty__text {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.panel {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-2);
  box-shadow: var(--shadow);
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.list__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  color: var(--muted);
  line-height: 1.6;
  font-size: 17px;
}

.check {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(199, 154, 69, 0.08);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.story {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-2);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(230px, 1fr) auto;
  min-height: 390px;
}

.story__media {
  position: relative;
  height: 100%;
  min-height: 230px;
  background: var(--surface-2);
}

.story__img,
.story__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid rgba(199, 154, 69, 0.55);
  background: rgba(199, 154, 69, 0.16);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 140ms ease, background 160ms ease;
}

.play:hover {
  transform: translateY(-1px) scale(1.02);
  background: rgba(199, 154, 69, 0.22);
}

.story__body {
  padding: 18px 22px 22px;
  display: grid;
  gap: 8px;
  background: var(--bg-2);
  position: relative;
  z-index: 1;
}

.story__kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.story__title {
  font-family: var(--ff-serif);
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.steps {
  position: relative;
  margin-top: 16px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-2);
  box-shadow: var(--shadow);
  padding: 20px 18px 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  overflow: hidden;
}

.steps__line {
  display: none;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 10px 10px 12px;
  border-radius: 18px;
}

.step__icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(199, 154, 69, 0.45);
  background: rgba(199, 154, 69, 0.1);
  color: var(--accent);
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  font-weight: 600;
}

.step__title {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.step__text {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.brands {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 16px 18px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-2);
  box-shadow: var(--shadow);
}

.brands-marquee {
  margin-top: 14px;
  padding: 10px 0;
  position: relative;
  overflow: hidden;
}

.brands-marquee::before,
.brands-marquee::after {
  display: none;
}

.brands-marquee__viewport {
  overflow: hidden;
}

.brands-marquee__track {
  display: flex;
  gap: 10px;
  align-items: center;
  width: max-content;
  will-change: transform;
  padding: 0 18px;
}

.brand-pill {
  height: 86px;
  min-width: 220px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.brand-pill--logo {
  background: transparent;
}

.brand-pill__svg,
.brand-pill__logo {
  height: 72px;
  width: auto;
  max-width: 180px;
  opacity: 0.8;
  object-fit: contain;
  filter: var(--brand-logo-filter);
}

.brand-pill__logo--wide {
  max-width: 230px;
}

.review {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-2);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  display: grid;
  gap: 10px;
}

.review__quote {
  font-family: var(--ff-serif);
  font-size: 44px;
  color: rgba(199, 154, 69, 0.65);
  line-height: 0.6;
}

.review__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 13px;
}

.review__footer {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(199, 154, 69, 0.08);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 12px;
}

.review__name {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review__meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.cta {
  padding: 26px 0 34px;
}

.cta__inner {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-2);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  align-items: stretch;
}

.cta__copy {
  grid-column: 1;
  padding: 34px 32px;
  display: grid;
  align-content: center;
  gap: 12px;
}

.cta__title {
  margin: 0;
  font-family: var(--ff-serif);
  font-size: 34px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.cta__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 13px;
  max-width: 54ch;
}

.cta__media {
  position: relative;
  grid-column: 2;
  min-height: 220px;
}

.cta__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.partner-logos {
  padding-top: 0;
}

.partner-logos__intro {
  margin-bottom: 26px;
}

.brands-marquee--partners {
  margin-top: 0;
  padding: 0;
}

.brand-pill--partner {
  min-width: 264px;
  height: 148px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .brand-pill--partner {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.brand-pill__logo--partner {
  max-width: 210px;
  max-height: 88px;
  opacity: 1;
  filter: none;
  mix-blend-mode: multiply;
}

html[data-theme="dark"] .brand-pill__logo--partner {
  mix-blend-mode: normal;
}

.footer {
  padding: 38px 0 22px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .footer {
  background: rgba(255, 255, 255, 0.55);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr 0.95fr 1.75fr;
  gap: 24px;
  align-items: start;
}

.footer__col--contact {
  min-width: 0;
}

.footer__brand {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.brand--footer .brand__name {
  font-size: 16px;
}

.footer__title {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--muted);
}

.footer__link {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer__link:hover {
  color: var(--text);
}

.footer__small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer__offices {
  display: grid;
  grid-template-columns: repeat(2, minmax(210px, 1fr));
  gap: 24px;
}

.footer__office {
  display: grid;
  gap: 2px;
  align-content: start;
  min-width: 0;
}

.footer__office-title {
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer__office .footer__small {
  overflow-wrap: anywhere;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding-top: 34px;
}

.social-link {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.94);
  color: #303844;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  transition: transform 140ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  outline: none;
}

.footer__bottom {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  padding-top: 14px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
}

.footer__meta {
  color: var(--muted);
  font-size: 12px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 60;
}

.toast__inner {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px);
  padding: 10px 14px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

html[data-theme="light"] .toast__inner {
  background: rgba(255, 255, 255, 0.78);
}

.toast__title {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.toast__text {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .header__inner {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }

  .nav {
    display: none;
  }

  .header__burger {
    display: inline-flex;
  }

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

  .hero__copy,
  .hero__media,
  .grid--two > .panel,
  .grid--two > .story,
  .cta__copy,
  .cta__media {
    grid-column: auto;
  }

  .hero__media {
    min-height: 300px;
  }

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

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

  .editorial,
  .split-band,
  .portal-row,
  .platform-step {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .portal-shot--ops {
    grid-template-columns: 1fr;
  }

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

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

  .panel {
    justify-content: flex-start;
  }

  .story {
    min-height: 0;
    grid-template-rows: auto auto;
  }

  .story__media {
    height: 260px;
    min-height: 0;
  }

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

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

  .steps__line {
    display: none;
  }

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

  .cta__copy {
    padding: 28px 24px;
  }

  .brand-pill--partner {
    min-width: 232px;
  }

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

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

  .footer__bottom {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  body {
    background: var(--bg-2);
  }

  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .header__actions {
    gap: 6px;
  }

  .header__actions .pill-btn--primary {
    display: inline-flex;
    padding: 9px 10px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .brand__name {
    font-size: 16px;
  }

  .brand__logo {
    height: 26px;
    max-width: 110px;
  }

  .brand--footer .brand__logo {
    height: 60px;
    max-width: 220px;
  }

  .hero {
    padding-top: 28px;
  }

  .page-hero {
    min-height: 390px;
  }

  .page-hero__content {
    padding: 64px 0 44px;
  }

  .page-hero__title {
    font-size: 46px;
  }

  .page-section {
    padding: 34px 0;
  }

  .section {
    padding: 18px 0;
  }

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

  .service-card {
    min-height: 0;
  }

  .portal-stack {
    gap: 30px;
  }

  .platform-steps {
    gap: 22px;
    margin-top: 24px;
  }

  .platform-step {
    padding: 16px;
    border-radius: 22px;
  }

  .platform-step h3 {
    font-size: 26px;
  }

  .platform-step__media {
    overflow: hidden;
    border-radius: 16px;
  }

  .portal-shot {
    padding: 14px;
    border-radius: 22px;
  }

  .portal-shot__grid,
  .portal-shot__detail-grid {
    grid-template-columns: 1fr;
  }

  .portal-shot__hero {
    min-height: 180px;
  }

  .portal-shot__detail-media {
    min-height: 200px;
  }

  #about,
  #how,
  #inventory {
    padding-top: 10px;
    padding-bottom: 24px;
  }

  #how {
    margin-top: 6px;
  }

  .story__media {
    height: 220px;
  }

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

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

  .brand-pill--partner {
    min-width: 220px;
    height: 124px;
    padding: 18px 20px;
  }

  .brand-pill__logo--partner {
    max-width: 180px;
    max-height: 62px;
  }

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

  .footer__social {
    gap: 14px;
    padding-top: 26px;
  }

  .social-link {
    width: 58px;
    height: 58px;
  }

  .container.section__label {
    width: min(var(--container), calc(100% - 28px));
  }

  .brand-pill {
    min-width: 180px;
    padding: 0 16px;
  }

  .brand-pill__svg,
  .brand-pill__logo {
    height: 60px;
    max-width: 150px;
  }

  .brand-pill__logo--wide {
    max-width: 190px;
  }
}
