:root {
  color-scheme: dark;
  --bg: #0f100e;
  --panel: #171815;
  --panel-2: #20211d;
  --ink: #f4efe4;
  --muted: #b9b1a4;
  --soft: #8d8679;
  --line: rgba(255, 255, 255, 0.13);
  --brass: #d8b86f;
  --sage: #8fb59d;
  --rose: #c98f86;
  --blue: #85a8bd;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.34);
  --tap: 48px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overscroll-behavior-y: contain;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(216, 184, 111, 0.10), transparent 260px),
    linear-gradient(115deg, rgba(143, 181, 157, 0.08), transparent 420px),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding-bottom: calc(78px + env(safe-area-inset-bottom));
}

a {
  color: inherit;
}

a,
button,
.button,
.card,
.choice-card,
.step,
.mini-album,
.plan {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(216, 184, 111, 0.20);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: calc(16px + env(safe-area-inset-top)) 0 18px;
}

.topbar,
.dock {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 58px;
  justify-content: space-between;
  padding: 8px 0 14px;
  background: rgba(15, 16, 14, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark,
.mini-icon,
.dock-icon {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #151612;
  color: var(--brass);
  font-weight: 900;
}

.brand-mark {
  width: 34px;
  height: 34px;
}

.brand-title,
.brand-subtitle {
  display: block;
}

.brand-title {
  font-size: 14px;
  font-weight: 900;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 11px;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}

.nav a,
.button,
.dock a {
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}

.icon-img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: #10110f;
  object-fit: cover;
}

.nav-icon,
.dock-icon-img {
  width: 28px;
  height: 28px;
}

.button .icon-img {
  width: 24px;
  height: 24px;
}

.step-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 12px;
}

.nav a:hover,
.button:hover,
.dock a:hover {
  border-color: rgba(216, 184, 111, 0.62);
  background: rgba(216, 184, 111, 0.11);
}

.button.primary {
  border-color: var(--brass);
  background: var(--brass);
  color: #11100c;
}

.button.sage {
  border-color: var(--sage);
  background: rgba(143, 181, 157, 0.16);
}

.file-button {
  cursor: pointer;
}

.file-button input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.hero,
.showcase,
.panel,
.card,
.step,
.member-card,
.frame-stage {
  border: 1px solid var(--line);
  background: rgba(23, 24, 21, 0.88);
  box-shadow: var(--shadow);
}

.hero {
  min-height: min(760px, calc(100vh - 88px));
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 24px;
  align-items: stretch;
  padding: 28px;
}

.hero.compact {
  min-height: 0;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brass);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(44px, 9vw, 104px);
  line-height: 0.9;
  letter-spacing: 0;
}

.compact h1 {
  font-size: clamp(38px, 7vw, 76px);
}

h1.compact {
  font-size: clamp(36px, 6vw, 72px);
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(25px, 4vw, 42px);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

p,
li {
  color: var(--muted);
  line-height: 1.55;
}

.lede {
  max-width: 720px;
  font-size: 18px;
}

.hero-actions,
.button-row,
.metrics,
.two-col,
.grid,
.walkthrough,
.album-strip,
.plan-grid,
.share-grid {
  display: grid;
  gap: 14px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 24px;
}

.new-user-strip {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: 16px;
  align-items: stretch;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--brass);
  background: rgba(216, 184, 111, 0.10);
}

.new-user-strip h2 {
  font-size: clamp(24px, 3vw, 36px);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.choice-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 180px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  text-decoration: none;
}

.choice-card:hover {
  border-color: rgba(216, 184, 111, 0.62);
  background: rgba(216, 184, 111, 0.12);
}

.plain-list {
  margin: 0;
  padding-left: 18px;
}

.plain-list li + li {
  margin-top: 8px;
}

.showcase {
  min-height: 520px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}

.showcase-screen {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr 150px;
  gap: 12px;
  padding: 16px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px) 0 0 / 34px 34px,
    #0b0c0b;
}

.rail,
.inspector-rail,
.gallery-grid,
.frame-preview {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.rail {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 10px;
}

.mini-icon {
  width: 42px;
  height: 42px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.photo-tile {
  min-height: 112px;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.13), transparent 42%),
    #25231f;
  position: relative;
  overflow: hidden;
}

.photo-tile:nth-child(2n) {
  background-color: #1f2723;
}

.photo-tile:nth-child(3n) {
  background-color: #202632;
}

.photo-tile::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(255,255,255,0.20);
}

.photo-tile img,
.card-art,
.plan-art,
.member-art,
.mini-album-art {
  width: 100%;
  display: block;
  object-fit: cover;
}

.photo-tile img {
  height: 100%;
  min-height: 112px;
}

.photo-tile:has(img)::after {
  border-style: solid;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.26));
}

.inspector-rail {
  padding: 12px;
}

.line {
  height: 10px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.10);
}

.line.short {
  width: 62%;
}

.showcase-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.section {
  margin-top: 42px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-col {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
}

.card,
.panel,
.step,
.member-card {
  padding: 18px;
}

.card {
  min-height: 210px;
  text-decoration: none;
}

.card-art,
.plan-art {
  aspect-ratio: 16 / 10;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  background: #10110f;
}

.card:hover {
  border-color: rgba(216, 184, 111, 0.58);
  transform: translateY(-1px);
}

.label,
.pill {
  display: inline-flex;
  width: fit-content;
  border: 1px solid var(--line);
  color: var(--brass);
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pill {
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.walkthrough {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step strong {
  display: block;
  margin-bottom: 8px;
}

.step {
  display: grid;
  align-content: start;
}

.next-panel {
  border-color: rgba(143, 181, 157, 0.38);
  background: rgba(143, 181, 157, 0.08);
}

.metrics {
  grid-template-columns: repeat(3, 1fr);
}

.metric strong {
  display: block;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.control-row,
.stat-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.stat-row {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.stat-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.stat-row strong {
  color: var(--ink);
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #10110f;
  color: var(--ink);
  min-height: var(--tap);
  padding: 12px;
  font-size: 16px;
}

textarea {
  resize: vertical;
}

.plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan {
  border: 1px solid var(--line);
  padding: 18px;
  background: rgba(255,255,255,0.04);
}

.price {
  color: var(--ink);
  font-size: 38px;
  font-weight: 950;
}

.member-card {
  position: relative;
  overflow: hidden;
}

.member-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(216,184,111,0.16), transparent 44%);
  pointer-events: none;
}

.member-card > * {
  position: relative;
}

.avatar {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #11120f;
  color: var(--brass);
  font-size: 32px;
  font-weight: 950;
}

.member-art {
  aspect-ratio: 16 / 9;
  margin-top: 18px;
  border: 1px solid var(--line);
}

.album-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-album {
  min-height: 118px;
  border: 1px solid var(--line);
  padding: 12px;
  background: #141512;
}

.mini-album-art {
  aspect-ratio: 4 / 3;
  margin-bottom: 12px;
  border: 1px solid var(--line);
}

.frame-stage {
  min-height: calc(100vh - 170px);
  display: grid;
  grid-template-rows: 1fr auto;
  background: #050505;
  overflow: hidden;
}

.frame-preview {
  display: grid;
  place-items: center;
  padding: 24px;
  min-height: 480px;
}

.frame-card {
  width: min(860px, 86vw);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16), transparent 42%),
    #20221f;
}

.frame-card img,
.frame-card video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sample-slide {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: end start;
  padding: 26px;
}

.sample-slide span {
  max-width: 72%;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(0,0,0,0.38);
  color: var(--ink);
  padding: 10px 12px;
  font-size: clamp(18px, 4vw, 44px);
  font-weight: 950;
}

.frame-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  background: rgba(12,12,11,0.94);
}

.frame-meta h3,
.frame-meta p {
  margin-bottom: 0;
}

.frame-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: rgba(10,10,9,0.9);
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  justify-content: center;
  padding: 8px max(14px, env(safe-area-inset-left)) max(8px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-right));
  border-top: 1px solid var(--line);
  background: rgba(15, 16, 14, 0.96);
  backdrop-filter: blur(14px);
}

.dock a {
  min-width: 106px;
}

.dock-icon {
  width: 24px;
  height: 24px;
  font-size: 10px;
  text-transform: uppercase;
}

.footer {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 13px;
}

@media (max-width: 920px) {
  .hero,
  .hero.compact,
  .new-user-strip,
  .choice-grid,
  .grid,
  .two-col,
  .walkthrough,
  .plan-grid,
  .album-strip {
    grid-template-columns: 1fr;
  }

  .showcase-screen {
    grid-template-columns: 1fr;
  }

  .rail,
  .inspector-rail {
    display: none;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .page {
    width: min(100% - 24px, 1180px);
  }

  .topbar {
    align-items: start;
    flex-direction: column;
    margin-inline: -12px;
    padding-inline: 12px;
  }

  .nav,
  .dock {
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar,
  .dock::-webkit-scrollbar {
    display: none;
  }

  h1 {
    font-size: 38px;
    line-height: 0.98;
  }

  h2 {
    font-size: 28px;
  }

  .hero,
  .hero.compact {
    padding: 18px;
  }

  .showcase {
    min-height: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-tile {
    min-height: 128px;
  }

  .dock a {
    min-width: 90px;
    flex-direction: column;
    gap: 5px;
    font-size: 11px;
  }

  .frame-preview {
    min-height: 300px;
    padding: 12px;
  }

  .frame-card {
    width: 100%;
  }

  .frame-meta {
    align-items: start;
    flex-direction: column;
  }
}

.album-context-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.36);
}

.album-context-sheet {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 81;
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
  padding: 12px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  border: 1px solid var(--line);
  background: rgba(19, 20, 17, 0.98);
  box-shadow: var(--shadow);
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 140ms ease, transform 140ms ease;
}

.album-context-sheet.open {
  transform: translateY(0);
  opacity: 1;
}

.album-context-title {
  padding: 4px 4px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.album-context-action {
  min-height: var(--tap);
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-align: left;
  padding: 12px;
}

.album-context-action.primary {
  border-color: var(--brass);
  background: var(--brass);
  color: #11100c;
}

.sample-hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  min-height: 0;
}

.sample-pass {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(23, 24, 21, 0.92);
}

.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  min-height: 42px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  color: var(--ink);
  padding: 8px 12px;
  font-weight: 900;
}

.filter-chip.active,
.filter-chip:hover {
  border-color: var(--brass);
  background: rgba(216, 184, 111, 0.16);
}

.album-demo-button {
  width: 100%;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.demo-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.media-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 7px;
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.045);
  color: var(--ink);
  padding: 10px;
  text-align: left;
  cursor: pointer;
}

.media-card:hover {
  border-color: rgba(216, 184, 111, 0.62);
  background: rgba(216, 184, 111, 0.10);
}

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #10110f;
}

.media-card strong,
.media-card span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.media-card strong {
  font-size: 14px;
}

.media-card span {
  color: var(--muted);
  font-size: 12px;
}

.media-kind {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  width: max-content;
  padding: 5px 7px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(15,16,14,0.78);
  color: var(--brass) !important;
  font-size: 10px !important;
  font-weight: 950;
  text-transform: uppercase;
}

.sample-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,0.72);
}

.sample-lightbox.open {
  display: flex;
}

.sample-lightbox-panel {
  position: relative;
  width: min(1040px, 100%);
  max-height: calc(100vh - 32px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 16px;
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(17, 18, 16, 0.98);
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-height: 42px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.54);
  color: var(--ink);
  padding: 8px 12px;
  font-weight: 900;
}

.lightbox-media img,
.lightbox-media video {
  width: 100%;
  max-height: calc(100vh - 92px);
  object-fit: contain;
  background: #050505;
}

.lightbox-copy {
  padding: 42px 8px 8px;
}

.metadata-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.metadata-list div {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}

.metadata-list span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .sample-hero,
  .sample-lightbox-panel {
    grid-template-columns: 1fr;
  }

  .demo-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .demo-media-grid {
    grid-template-columns: 1fr;
  }

  .sample-lightbox {
    padding: 8px;
  }
}

/* ALBUM Drop */
.drop-page .page {
  padding-bottom: 108px;
}

.compact-topbar .nav a.active,
.dock a.active {
  border-color: rgba(230, 196, 117, 0.78);
  background: rgba(230, 196, 117, 0.12);
}

.drop-hero {
  display: grid;
  gap: 14px;
  padding: 32px;
  margin: 28px 0 22px;
  border: 1px solid rgba(230, 196, 117, 0.22);
  background: linear-gradient(135deg, rgba(230, 196, 117, 0.12), rgba(132, 158, 122, 0.08)), #10120f;
}

.drop-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 5rem);
  line-height: 0.95;
}

.drop-mode {
  display: inline-flex;
  width: fit-content;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.3);
}

.drop-mode button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.drop-mode button.active {
  color: var(--paper);
  background: rgba(230, 196, 117, 0.18);
}

.drop-status-card {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #141611;
  font-weight: 900;
}

.drop-status-card.success { border-color: rgba(132, 158, 122, 0.85); }
.drop-status-card.error { border-color: rgba(255, 91, 91, 0.85); color: #ffd0d0; }
.drop-status-card.working { border-color: rgba(230, 196, 117, 0.85); }

.drop-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 18px;
  align-items: start;
}

.drop-workspace.single {
  grid-template-columns: minmax(0, 720px);
}

.drop-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #10120f;
}

.drop-card-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.drop-card h2,
.drop-card p {
  margin: 0;
}

.drop-card p {
  color: var(--muted);
}

.drop-zone {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 24px;
  border: 2px dashed rgba(230, 196, 117, 0.42);
  background: rgba(0, 0, 0, 0.22);
  color: var(--paper);
  text-align: center;
  cursor: pointer;
}

.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.drop-zone strong {
  font-size: 1.5rem;
}

.drop-zone span {
  color: var(--muted);
}

.drop-zone.dragging {
  border-color: var(--brass);
  background: rgba(230, 196, 117, 0.1);
}

.drop-file-list,
.drop-download-list {
  display: grid;
  gap: 8px;
}

.drop-file-row,
.drop-download-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: var(--paper);
  text-decoration: none;
}

.drop-file-row span,
.drop-download-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.drop-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.drop-options label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.drop-options input,
.drop-options select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #090a08;
  color: var(--paper);
  font: inherit;
}

.drop-toggle {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  color: var(--paper);
  font-weight: 900;
}

.drop-toggle input {
  width: 22px;
  height: 22px;
  accent-color: var(--brass);
}

.button.full {
  justify-content: center;
  width: 100%;
  min-height: 52px;
}

.fine-print {
  font-size: 0.92rem;
}

.drop-code-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.drop-code-grid div {
  padding: 16px;
  border: 1px solid rgba(230, 196, 117, 0.24);
  background: rgba(230, 196, 117, 0.08);
}

.drop-code-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.drop-code-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 2rem;
  letter-spacing: 0.08em;
}

.drop-link-box {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #090a08;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.drop-qr {
  width: min(220px, 100%);
  padding: 10px;
  background: #fff;
  justify-self: center;
}

.drop-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.drop-actions .sage {
  grid-column: 1 / -1;
}

@media (max-width: 860px) {
  .drop-page .page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .drop-hero {
    padding: 22px;
    margin-top: 16px;
  }

  .drop-mode,
  .drop-mode button {
    width: 100%;
  }

  .drop-workspace,
  .drop-workspace.single,
  .drop-options,
  .drop-actions {
    grid-template-columns: 1fr;
  }

  .drop-zone {
    min-height: 170px;
  }

  .drop-card {
    padding: 16px;
  }
}

/* ALBUM v2 shell cleanup */
.album-v2 .page {
  width: min(1320px, calc(100% - 28px));
}

.album-v2 .topbar,
.drop-page .topbar {
  min-height: 54px;
  gap: 14px;
  padding: 8px 0 10px;
}

.album-v2 .brand,
.drop-page .brand {
  flex: 0 0 auto;
  min-width: 190px;
}

.album-v2 .brand-mark,
.drop-page .brand-mark {
  width: 42px;
  height: 42px;
}

.album-v2 .brand-title,
.drop-page .brand-title {
  font-size: 18px;
  line-height: 1;
}

.album-v2 .brand-subtitle,
.drop-page .brand-subtitle {
  max-width: 250px;
  font-size: 12px;
  line-height: 1.25;
}

.album-v2 .nav,
.drop-page .nav {
  flex: 1 1 auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  overflow-x: auto;
  scrollbar-width: none;
}

.album-v2 .nav::-webkit-scrollbar,
.drop-page .nav::-webkit-scrollbar {
  display: none;
}

.album-v2 .nav a,
.drop-page .nav a {
  flex: 0 0 auto;
  min-height: 42px;
  min-width: auto;
  padding: 7px 10px;
  font-size: 12px;
  white-space: nowrap;
}

.album-v2 .nav-icon,
.drop-page .nav-icon {
  width: 24px;
  height: 24px;
}

.album-v2 .nav a.active,
.drop-page .nav a.active {
  border-color: rgba(216, 184, 111, 0.72);
  background: rgba(216, 184, 111, 0.14);
}

.clean-hero,
.home-hero,
.guide-hero {
  border: 1px solid var(--line);
  background: rgba(18, 19, 16, 0.92);
  box-shadow: var(--shadow);
}

.clean-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: 18px;
  align-items: stretch;
  padding: 30px;
}

.clean-hero h1,
.splash-hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.95;
}

.home-hero .lede,
.guide-hero .lede,
.splash-hero .lede {
  max-width: 760px;
  font-size: clamp(17px, 2vw, 22px);
}

.quick-panel {
  display: grid;
  gap: 10px;
}

.quick-panel a,
.splash-strip a,
.guide-callout,
.feature-link {
  color: inherit;
  text-decoration: none;
}

.quick-panel a,
.guide-callout {
  display: grid;
  gap: 6px;
  align-content: center;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.quick-panel strong,
.splash-strip strong,
.feature-link strong,
.guide-callout strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.quick-panel span,
.splash-strip span,
.feature-link small,
.guide-callout small {
  color: var(--muted);
  line-height: 1.4;
}

.tight-section {
  margin-top: 28px;
}

.feature-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.feature-link {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.feature-link.primary {
  border-color: rgba(216, 184, 111, 0.68);
  background: rgba(216, 184, 111, 0.12);
}

.feature-link img,
.guide-callout img,
.guide-step-card > img {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: #10110f;
  object-fit: cover;
}

.compact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.compact-card-grid .card {
  min-height: 0;
}

.splash-wrap {
  min-height: calc(100vh - 60px);
}

.splash-hero {
  min-height: min(720px, calc(100vh - 150px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  gap: 24px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(216, 184, 111, 0.28);
  background:
    linear-gradient(125deg, rgba(216, 184, 111, 0.16), transparent 38%),
    linear-gradient(40deg, rgba(143, 181, 157, 0.16), transparent 42%),
    #10120f;
  box-shadow: var(--shadow);
}

.splash-copy {
  max-width: 760px;
}

.splash-device {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
}

.device-top,
.device-dock {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.device-top span {
  width: 31%;
  height: 10px;
  background: rgba(255, 255, 255, 0.10);
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.device-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
}

.device-dock span {
  flex: 1;
  padding: 10px 8px;
  border: 1px solid var(--line);
  color: var(--brass);
  text-align: center;
  font-weight: 900;
}

.splash-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.splash-strip a {
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(23, 24, 21, 0.88);
}

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.44fr);
  gap: 16px;
  align-items: stretch;
  padding: 30px;
}

.guide-callout {
  display: flex;
  align-items: center;
}

.guide-sequence {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.guide-step-card {
  display: grid;
  grid-template-columns: 64px 70px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(23, 24, 21, 0.9);
}

.step-number {
  color: var(--brass);
  font-size: 28px;
  font-weight: 950;
}

.guide-step-card h2 {
  margin-bottom: 4px;
  font-size: clamp(22px, 3vw, 32px);
}

.guide-step-card p {
  margin-bottom: 0;
}

.mini-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-link-row a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
}

.album-v2 .dock a,
.drop-page .dock a {
  min-width: 92px;
}

@media (max-width: 980px) {
  .clean-hero,
  .splash-hero,
  .guide-hero,
  .feature-link-grid,
  .compact-card-grid,
  .splash-strip {
    grid-template-columns: 1fr;
  }

  .guide-step-card {
    grid-template-columns: 54px 58px minmax(0, 1fr);
  }

  .guide-step-card .button,
  .guide-step-card .mini-link-row {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .album-v2 .page,
  .drop-page .page {
    width: min(100% - 22px, 1320px);
  }

  .album-v2 .topbar,
  .drop-page .topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    margin-inline: -11px;
    padding-inline: 11px;
  }

  .album-v2 .brand,
  .drop-page .brand {
    min-width: 0;
  }

  .album-v2 .nav,
  .drop-page .nav {
    justify-content: flex-start;
  }

  .clean-hero,
  .splash-hero,
  .guide-hero {
    padding: 20px;
  }

  .clean-hero h1,
  .splash-hero h1 {
    font-size: clamp(38px, 13vw, 62px);
  }

  .feature-link {
    min-height: 100px;
  }

  .guide-step-card {
    grid-template-columns: 1fr;
  }

  .step-number {
    font-size: 22px;
  }
}

/* ALBUM mobile app polish pass */
:root {
  --mobile-dock-h: 76px;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

.album-v2,
.drop-page {
  padding-bottom: calc(var(--mobile-dock-h) + env(safe-area-inset-bottom) + 18px);
}

.album-v2 .page,
.drop-page .page {
  padding-bottom: 26px;
}

.album-v2 .topbar,
.drop-page .topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.album-v2 .nav,
.drop-page .nav,
.album-v2 .dock,
.drop-page .dock {
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.album-v2 .nav a,
.drop-page .nav a,
.album-v2 .dock a,
.drop-page .dock a {
  scroll-snap-align: start;
}

.album-v2 .dock,
.drop-page .dock {
  min-height: var(--mobile-dock-h);
  overflow-x: auto;
  justify-content: flex-start;
  padding-inline: max(10px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-right));
  background: rgba(15, 16, 14, 0.96);
  backdrop-filter: blur(18px);
}

.album-v2 .dock a,
.drop-page .dock a {
  min-width: 82px;
  min-height: 54px;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 4px;
  padding: 6px 10px;
  font-size: 11px;
  line-height: 1.1;
}

.album-v2 .dock-icon-img,
.drop-page .dock-icon-img {
  width: 24px;
  height: 24px;
}

.album-v2 .button,
.drop-page .button,
.album-v2 button,
.drop-page button,
.drop-page input,
.drop-page select {
  min-height: 44px;
}

.album-v2 .button,
.drop-page .button {
  text-align: center;
}

.drop-page .drop-hero h1 {
  font-size: clamp(40px, 9vw, 72px);
  line-height: 0.96;
}

.drop-page .drop-card,
.drop-page .drop-hero {
  border-radius: 10px;
}

.drop-page .drop-mode button {
  white-space: nowrap;
}

.drop-page .drop-download-row,
.drop-page .drop-file-row {
  align-items: center;
}

@media (max-width: 760px) {
  .album-v2 .topbar,
  .drop-page .topbar {
    position: sticky;
    top: 0;
    z-index: 50;
  }

  .album-v2 .brand-mark,
  .drop-page .brand-mark {
    width: 38px;
    height: 38px;
  }

  .album-v2 .brand-title,
  .drop-page .brand-title {
    font-size: 16px;
  }

  .album-v2 .brand-subtitle,
  .drop-page .brand-subtitle {
    max-width: none;
  }

  .album-v2 .nav a,
  .drop-page .nav a {
    min-height: 40px;
    padding: 6px 9px;
    font-size: 12px;
  }

  .home-hero.clean-hero,
  .guide-hero.clean-hero,
  .splash-hero,
  .drop-page .drop-hero {
    margin-top: 12px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .button-row .button {
    width: 100%;
  }

  .quick-panel a,
  .feature-link,
  .guide-step-card,
  .drop-card {
    padding: 14px;
  }

  .feature-link {
    align-items: flex-start;
  }

  .feature-link img,
  .guide-callout img,
  .guide-step-card > img {
    width: 48px;
    height: 48px;
  }

  .mini-link-row a {
    flex: 1 1 auto;
    justify-content: center;
  }

  .drop-page .drop-options,
  .drop-page .drop-code-grid,
  .drop-page .drop-actions {
    grid-template-columns: 1fr;
  }

  .drop-page .drop-zone {
    min-height: 148px;
  }
}

@media (max-width: 420px) {
  .album-v2 .page,
  .drop-page .page {
    width: min(100% - 16px, 1320px);
  }

  .clean-hero h1,
  .splash-hero h1,
  .drop-page .drop-hero h1 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .home-hero .lede,
  .guide-hero .lede,
  .splash-hero .lede,
  .drop-page .lede {
    font-size: 16px;
  }

  .album-v2 .dock a,
  .drop-page .dock a {
    min-width: 74px;
  }
}

/* ALBUM File Drop tile flow */
.drop-simple-page main {
  display: grid;
  gap: 18px;
}

.drop-simple-hero {
  min-height: auto;
  padding: clamp(20px, 4vw, 38px);
}

.drop-simple-hero h1 {
  max-width: 820px;
}

.tile-mode {
  width: min(100%, 420px);
}

.tile-mode button {
  flex: 1 1 0;
  font-weight: 900;
}

.drop-flow {
  align-items: start;
}

.drop-flow-card {
  position: relative;
  overflow: hidden;
}

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

.drop-tile {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 132px;
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: var(--paper);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.drop-tile:hover,
.drop-tile:focus-within,
.drop-tile.active,
.drop-tile.dragging {
  border-color: rgba(230, 196, 117, 0.68);
  background: rgba(230, 196, 117, 0.1);
}

.drop-tile:active {
  transform: translateY(1px);
}

.drop-tile input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.drop-tile strong {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.05;
}

.drop-tile small,
.drop-tile span:not(.drop-tile-icon) {
  color: var(--muted);
  line-height: 1.35;
}

.drop-tile-large {
  min-height: 178px;
}

.drop-tile-stack {
  align-content: stretch;
}

.drop-tile-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(230, 196, 117, 0.24);
  border-radius: 6px;
  color: var(--brass);
  background: rgba(0, 0, 0, 0.18);
  font-weight: 950;
  letter-spacing: 0;
}

.tile-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.tile-choice {
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  color: var(--paper);
  background: rgba(0, 0, 0, 0.2);
  font-weight: 850;
}

.tile-choice.active,
.pin-display.active {
  border-color: rgba(230, 196, 117, 0.78);
  color: var(--paper);
  background: rgba(230, 196, 117, 0.16);
}

.pin-display {
  width: 100%;
  min-height: 54px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: var(--paper);
  background: rgba(0, 0, 0, 0.28);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
}

.drop-preview-shell {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.drop-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.drop-section-title strong {
  color: var(--paper);
}

.drop-preview-grid,
.drop-receive-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.drop-preview-card,
.drop-receive-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.drop-preview-card strong,
.drop-download-meta strong {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.18;
}

.drop-preview-card span,
.drop-download-meta span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.drop-preview-media,
.drop-download-preview {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  background: #050604;
}

.drop-file-symbol {
  display: grid;
  place-items: center;
  color: var(--brass);
  font-weight: 950;
  letter-spacing: 0.08em;
}

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

.keypad-button {
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: var(--paper);
  background: rgba(0, 0, 0, 0.26);
  font-size: 22px;
  font-weight: 950;
}

.keypad-button:hover,
.keypad-button:focus {
  border-color: rgba(230, 196, 117, 0.68);
  background: rgba(230, 196, 117, 0.12);
}

.drop-submit-tile {
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 94px;
  border-color: rgba(230, 196, 117, 0.62);
  background: rgba(230, 196, 117, 0.14);
}

.drop-submit-tile small {
  grid-column: 2;
}

.drop-input-tile input {
  width: 100%;
  min-height: 54px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: var(--paper);
  background: rgba(0, 0, 0, 0.28);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}

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

.drop-download-actions .button {
  min-height: 44px;
  padding: 0 10px;
}

.drop-share-card {
  position: sticky;
  top: 90px;
}

@media (max-width: 920px) {
  .drop-tile-grid,
  .drop-preview-grid,
  .drop-receive-list {
    grid-template-columns: 1fr;
  }

  .drop-share-card {
    position: static;
  }
}

@media (max-width: 540px) {
  .drop-simple-hero {
    padding: 18px;
  }

  .drop-tile {
    min-height: 118px;
    padding: 14px;
  }

  .drop-tile-large {
    min-height: 152px;
  }

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

  .keypad-button {
    min-height: 54px;
  }

  .drop-download-actions {
    grid-template-columns: 1fr;
  }
}
