/* splure.cc rework */

@font-face {
  font-family: 'Geist';
  src: url('fonts/Geist[wght].woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0d0c0b;
  --surface: #14110f;
  --hover: #16120f;
  --text: #ededef;
  --muted: #a39a93;
  --faint: #8f857e;
  --line: #2e2520;
  --line-strong: #3a2f28;
  --dash: #4a3d34;
  --accent: #FADF23;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent); }

:focus-visible { outline: 1px solid var(--text); outline-offset: 4px; }

::selection { background: var(--accent); color: var(--bg); }

h1, h2, p, figure, ul { margin: 0; }

/* helpers */
.mono { font-family: var(--mono); font-size: 12px; }
.muted { color: var(--faint); }
.accent { color: var(--accent); }
.light { font-weight: 500; }
.small { font-size: 13px; color: var(--muted); }

/* layout */
.shell {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 96px);
}

/* big screens: scale the whole layout up so 1440p and 4k look like 1080p, just sharper */
@media (min-width: 2400px) { body { zoom: 1.3333; } }
@media (min-width: 3400px) { body { zoom: 2; } }

/* header / footer */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 0;
}

.brand {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 15px;
}
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 28px 0 40px;
  font-size: 13px;
  color: var(--faint);
}
.site-footer .nav { gap: 8px 20px; font-size: 13px; }

/* hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding: 96px 0 104px;
}

.hero-text {
  flex: 999 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(44px, 5.5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.hero h1 .accent { font-weight: 500; letter-spacing: -0.03em; }

.lead { max-width: 560px; font-size: 18px; color: var(--muted); }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  background: var(--accent);
  color: var(--bg);
  font-size: 15px;
  font-weight: 600;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--text); color: var(--bg); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-weight: 500;
}
.btn-ghost:hover { background: transparent; border-color: var(--accent); color: var(--accent); }

.tiktok {
  flex: 1 1 260px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tiktok figcaption a { color: var(--faint); }
.tiktok figcaption a:hover { color: var(--accent); }

.video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border: 1px solid transparent;
  background: var(--surface);
  overflow: hidden;
}
.video-frame {
  display: block;
  transition: border-color .15s ease;
}
.video-frame:hover { border-color: var(--accent); }
.video-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  background: rgba(13, 12, 11, .75);
  pointer-events: none;
}

/* placeholders: replace with <img> / embeds */
.placeholder {
  border: 1px dashed var(--dash);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.placeholder-tall {
  aspect-ratio: 9 / 16;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  padding: 18px;
  text-align: left;
}
.placeholder-tall .muted { text-align: center; }
.placeholder-wide { aspect-ratio: 16 / 9; }
.placeholder-shot { flex: 1 1 420px; min-width: 0; aspect-ratio: 4 / 3; }

/* sections */
.section {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 80px 0;
}

.section-head.split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.section-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 620px;
}
.section-intro p,
.os-text > p { font-size: 17px; color: var(--muted); }

.label { font-family: var(--mono); font-size: 13px; color: var(--accent); }

h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.link-underline {
  display: inline-flex;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
  font-size: 15px;
  font-weight: 500;
}

/* video thumbnails */
.thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 480px));
  gap: 20px;
}
.thumb { display: flex; flex-direction: column; gap: 10px; }
.thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.thumb figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* splure os */
.os {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.os-text {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.os-text > p { max-width: 520px; }

.checklist {
  margin-top: 4px;
  padding: 0;
  list-style: none;
}
.checklist li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0 14px 14px;
  border-left: 2px solid var(--accent);
}
.checklist li + li { margin-top: 8px; }

/* projects */
.projects { padding: 0; list-style: none; }

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  padding: 24px 12px;
  color: var(--text);
}
.row:hover { background: var(--hover); color: var(--text); }

.num { width: 32px; font-family: var(--mono); font-size: 13px; color: var(--faint); }
.name { flex: 0 1 220px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.desc { flex: 1 1 300px; font-size: 15px; color: var(--muted); }
.tag {
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
}
.arrow { color: var(--accent); font-size: 18px; transition: transform .15s ease; }
.row:hover .arrow { transform: translateX(4px); }

/* contact */
.contact {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.contact-links { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.contact-links .muted { display: inline-block; width: 7ch; }

/* phones */
@media (max-width: 760px) {
  .thumbs { grid-template-columns: minmax(0, 1fr); }
  .tag { display: none; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 64px 0; }
  h2 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- shared bits for the inner pages ---------- */

[hidden] { display: none !important; }
.nav a[aria-current="page"] { color: var(--text); }

.page-hero { padding: 80px 0 88px; }
.page-hero .hero-text { gap: 20px; }
.page-hero h1 { font-size: clamp(48px, 6vw, 80px); }
.page-hero .placeholder-shot { flex: 1 1 380px; }

.fine { max-width: 560px; font-size: 13px; color: var(--faint); }

.pill {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border: 1px solid var(--line-strong);
  vertical-align: 1px;
}

button.btn {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
button.btn-ghost { border: 1px solid var(--line-strong); }
button.btn:disabled,
button.btn:disabled:hover {
  opacity: .35;
  cursor: not-allowed;
  background: var(--accent);
  color: var(--bg);
}
button.btn-ghost:disabled,
button.btn-ghost:disabled:hover {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

/* numbered rows that aren't links (splure OS steps) */
.rows { margin: 0; padding: 0; list-style: none; }
.rows .row:hover { background: none; }
.desc .link-underline { padding-bottom: 1px; font-size: inherit; font-weight: 400; }

.checklist.wide { max-width: 720px; margin-top: 0; font-size: 17px; }

/* ---------- skidbox ---------- */

.skidbox { gap: 20px; }

.dropzone {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 64px 24px;
  border: 1px dashed var(--dash);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.dropzone:hover,
.dropzone.is-dragging { border-color: var(--accent); background: var(--hover); }
.dropzone svg { width: 22px; height: 22px; margin-bottom: 8px; color: var(--accent); }
.dropzone strong { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.dropzone span { font-size: 15px; color: var(--muted); }
.dropzone small { margin-top: 10px; color: var(--faint); }

.queue { margin: 0; padding: 0; list-style: none; }
.queue:empty { display: none; }

.file {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: center;
  gap: 8px 12px;
  padding: 14px 0;
}
.file-main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; min-width: 0; }
.file-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.file-meta { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.file[data-state="done"] .file-meta { color: var(--muted); }
.file[data-state="error"] .file-meta { color: #f08a8a; }

.link { font-size: 14px; border-bottom: 1px solid var(--line-strong); }
.link:hover { border-color: var(--accent); }

.track { grid-column: 1 / -1; height: 2px; background: var(--line); overflow: hidden; }
.fill { display: block; width: 0; height: 100%; background: var(--accent); transition: width .15s linear; }
.file[data-state="ready"] .track { display: none; }
.file[data-state="error"] .fill { background: #f08a8a; }

.remove {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--faint);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.remove:hover:not(:disabled) { color: var(--text); }
.remove:disabled { opacity: .3; cursor: not-allowed; }

.empty { display: none; }

.skidbox .actions { align-items: center; margin-top: 0; }
.limit { margin-left: auto; color: var(--faint); }

.status { min-height: 20px; font-size: 14px; color: var(--faint); }
.status.is-notice { color: var(--muted); }
.status.is-error { color: #f08a8a; }

.download-name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.download-meta { margin-top: -12px; color: var(--faint); }

.notice { padding: 0 0 64px; }

@media (max-width: 760px) {
  .page-hero { padding: 56px 0 64px; }
  .dropzone { padding: 48px 16px; }
  .limit { width: 100%; margin-left: 0; }
}
