@font-face {
  font-family: Science Gothic;
  src: url('/science-gothic.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --surface: #08060f;
  --input: #120e1c;
  --line: #322a3d;
  --text: #f7f4fa;
  --muted: #bdb3c9;
  --pink: #ff4fac;
  --space: clamp(1.15rem, 4vw, 3.25rem);
  font: 16px/1.55 system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--text); }
header { border-bottom: 1px solid var(--line); padding: .85rem var(--space); }
.brand { display: inline-flex; align-items: center; text-decoration: none; font-weight: 780; color: var(--text); }
.brand span { color: var(--pink); }
.brand i { width: 0; height: 0; border: .37rem solid transparent; border-right: 0; border-left: .63rem solid var(--pink); margin-right: .55rem; }
main { max-width: 76rem; padding: var(--space); margin: 0 auto; }
.narrow { max-width: 27rem; }
h1, h2 { line-height: 1.16; margin: 0 0 1.2rem; overflow-wrap: anywhere; }
h1 { font: 690 clamp(2rem, 5vw, 3.5rem)/1.08 Science Gothic, system-ui, sans-serif; font-variation-settings: 'wdth' 110; letter-spacing: -.035em; }
h2 { margin-top: 1.75rem; font-size: 1.2rem; }
a { color: #ffc0e2; text-underline-offset: .22em; }
a:hover { color: #ffe4f2; }
.back { display: inline-block; margin-bottom: 1rem; }
.columns { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--space); margin-bottom: 2rem; }
.preview video { display: block; max-width: 100%; width: min(100%, 24rem); aspect-ratio: 9 / 16; background: var(--input); border: 1px solid var(--line); object-fit: contain; border-radius: .65rem; }
form { display: grid; gap: 1rem; }
label { display: grid; gap: .35rem; font-weight: 550; }
label small { display: inline; font-weight: 400; }
input, textarea, select, button { font: inherit; }
input:not([type=checkbox]), textarea, select { min-width: 0; width: 100%; padding: .7rem .8rem; border-radius: .4rem; border: 1px solid var(--line); background: var(--input); color: var(--text); }
textarea { resize: vertical; }
button, input::file-selector-button { border: 0; cursor: pointer; border-radius: .4rem; font-weight: 700; transition: background-color .15s ease, transform .15s ease; }
button { background: var(--pink); color: #1b0714; padding: .72rem 1rem; width: fit-content; }
button:hover { background: #ff86c6; transform: translateY(-1px); }
button:active { transform: translateY(1px); }
input::file-selector-button { padding: .42rem .62rem; margin-right: .45rem; background: #403348; color: var(--text); }
:focus-visible { outline: 2px solid #ffc0e2; outline-offset: 4px; }
.note, small { color: var(--muted); }
.note, .brief { margin: 0 0 1rem; }
.error { color: #ffc0cd; margin: .45rem 0; }
details { border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; padding: .65rem 0; }
summary { cursor: pointer; }
.stories, .destinations { padding: 0; list-style: none; }
.stories li, .destinations li { padding: .7rem 0; border-top: 1px solid var(--line); }
.stories a, .destinations li { display: flex; justify-content: space-between; gap: .65rem; align-items: center; }
.stories a { text-decoration: none; }
.stories span { overflow-wrap: anywhere; }
.destinations li small { display: block; }
fieldset { padding: .75rem; border: 1px solid var(--line); border-radius: .4rem; }
.check { display: flex; align-items: flex-start; gap: .55rem; padding: .25rem 0; font-weight: 450; }
.check input { margin: .27rem 0 0; accent-color: var(--pink); width: 1.1rem; height: 1.1rem; flex: 0 0 auto; }

@media (max-width: 44rem) {
  .columns { grid-template-columns: 1fr; }
  .preview video { width: min(100%, 18rem); }
}
@media (prefers-reduced-motion: reduce) { button { transition: none; } }
