/* Vialchemy site: brand pack v1 (gold #E8A317 on black, Cormorant Garamond + Hanken Grotesk, self-hosted, OFL). */
@font-face { font-family: "Cormorant Garamond"; src: url(/fonts/CormorantGaramond-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(/fonts/HankenGrotesk-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(/fonts/HankenGrotesk-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
:root { --bg: #0B0B0C; --black: #000; --surface: #151515; --line: #2A2722; --ink: #ECE6D6; --muted: #A59E8C; --gold: #E8A317; --gold-soft: #F3E2A9; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 "Hanken Grotesk", -apple-system, system-ui, sans-serif; }
a { color: var(--gold); }
img, video { display: block; max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.serif { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-variant-numeric: lining-nums; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.logo { display: block; height: 30px; width: auto; }
/* Header over the hero */
.top { position: absolute; inset: 0 0 auto 0; z-index: 3; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; }
.top nav a { color: var(--ink); text-decoration: none; margin-left: 22px; font-size: 15px; }
.top nav a:hover { color: var(--gold); }
/* Hero */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: center; overflow: hidden; background: var(--black); }
.hero .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 38%, rgba(0,0,0,0) 65%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: 470px; padding: 120px 0 80px; }
.hero h1 { font-size: clamp(42px, 6vw, 68px); line-height: 1.02; margin: 0 0 18px; }
.hero h1 em { color: var(--gold); font-style: italic; }
.lede { color: var(--muted); font-size: 18px; margin: 0 0 28px; }
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; }
.btn-gold { background: var(--gold); color: #111; }
.btn-line { border: 1px solid var(--gold); color: var(--gold); margin-left: 10px; }
/* Sections */
section { padding: 96px 0; }
.hairline { border-top: 1px solid var(--line); }
h2 { font-size: clamp(32px, 4.5vw, 46px); line-height: 1.08; margin: 0 0 14px; }
.band { position: relative; overflow: hidden; background: var(--black); }
.band .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.7) 40%, rgba(0,0,0,.05) 72%); }
.band .wrap { position: relative; z-index: 2; }
.band-copy { max-width: 480px; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 36px; }
.feature { padding: 22px 0; border-top: 1px solid var(--line); }
.feature h3 { font-size: 26px; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
/* Beta form */
.beta form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.beta input[type=text], .beta input[type=email] { min-width: 0; padding: 14px 16px; font: inherit; font-size: 16px; color: var(--ink);
  background: rgba(21,21,21,.85); border: 1px solid var(--line); border-radius: 14px; }
.beta input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.beta button { grid-column: 1 / -1; padding: 15px; font: inherit; font-weight: 600; color: #111; background: var(--gold); border: 0; border-radius: 999px; cursor: pointer; }
.beta button:disabled { opacity: .6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { min-height: 1.6em; margin: 14px 0 0; color: var(--gold-soft); }
.fine { font-size: 14px; color: var(--muted); margin-top: 8px; }
/* Support page */
.qa { max-width: 760px; }
.qa details { border-top: 1px solid var(--line); padding: 18px 0; }
.qa summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; }
.qa summary::after { content: "+"; float: right; color: var(--gold); }
.qa details[open] summary::after { content: "–"; }
.qa p { color: var(--muted); margin: 10px 0 0; }
.contact { display: inline-flex; gap: 10px; align-items: center; font-size: 20px; }
/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
footer nav a { color: var(--ink); text-decoration: none; margin-right: 20px; }
.note { max-width: 560px; }
/* Phones */
@media (max-width: 760px) {
  .top nav a:not(.keep) { display: none; }
  /* Phones: the copy, then the vial art below it (fading in from black), never under the buttons. */
  .hero { min-height: 0; display: block; }
  .hero::after { display: none; }
  .hero-copy { padding: 96px 0 8px; }
  .hero .phone-art { position: static; width: 100%; height: auto; margin-top: -40px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%); }
  .band::after { background: linear-gradient(180deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.8) 55%, rgba(0,0,0,.35) 100%); }
  .features { grid-template-columns: 1fr; }
  .beta form { grid-template-columns: 1fr; }
  .btn-line { margin: 12px 0 0; }
  section { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) { .hero video { display: none; } }
