/*
 * FutureMagic — shared styles for the public site.
 *
 * Deliberately a single light world rather than a theme-aware page. The machine
 * itself is a glowing head in a dark cabinet, so following the viewer's system
 * theme meant most people met a dark site — and dark ink on pale paper is the
 * register this wants: a printed card, a handbill, something older than the
 * screen it is on. A page that commits reads as considered; one that follows
 * the OS reads as a template.
 *
 * `color-scheme: light` is part of that commitment. Without it the browser
 * paints form controls, scrollbars and autofill in the viewer's theme, and the
 * enquiry page ends up with dark inputs sitting on pale paper.
 */
:root {
  color-scheme: light;

  --paper: #f4f1ea;
  --paper-deep: #eae5da;
  --card: #fffefb;
  --ink: #16121f;
  --ink-soft: #453d52;
  --muted: #6f6678;
  --rule: #ddd6c9;
  --violet: #4b2596;
  --violet-dim: #ece5fa;
  --gold: #8a6414;
  --glow: rgba(75, 37, 150, .09);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Karla, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.shell { max-width: 62rem; margin: 0 auto; padding: 0 1.5rem; }
.shell.narrow { max-width: 44rem; }

/* ---- masthead ------------------------------------------------------- */
.hero { position: relative; padding: 5.5rem 0 4.5rem; overflow: hidden; }
.hero.short { padding: 4rem 0 2.4rem; }
.hero::before {
  content: "";
  position: absolute;
  top: -14rem; left: 50%;
  width: 44rem; height: 34rem;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--glow) 0%, transparent 68%);
  pointer-events: none;
}
.hero > * { position: relative; }

.brand {
  font-family: Spectral, Georgia, serif;
  font-size: .82rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.6rem;
}
.brand a { color: inherit; text-decoration: none; }
.brand a:hover { text-decoration: underline; text-underline-offset: 4px; }

h1 {
  font-family: Spectral, Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 6.2vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 0 0 1.4rem;
  max-width: 17ch;
  text-wrap: balance;
}
.hero.short h1 { font-size: clamp(2rem, 4.6vw, 3rem); max-width: 20ch; }

.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 48ch; margin: 0 0 2.2rem; }
.hero.short .lede { margin-bottom: 0; }

.price-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--rule);
  max-width: 44rem;
}
.price-strip div { display: flex; flex-direction: column; padding: .5rem 0; }
.price-strip dt {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.price-strip dd {
  margin: 0;
  font-family: Spectral, Georgia, serif;
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
}

/* ---- sections ------------------------------------------------------- */
section { padding: 3.6rem 0; border-top: 1px solid var(--rule); }
h2 {
  font-family: Spectral, Georgia, serif;
  font-weight: 500;
  font-size: 1.9rem;
  letter-spacing: -.01em;
  margin: 0 0 1.4rem;
  text-wrap: balance;
}
p { margin: 0 0 1.1rem; max-width: 64ch; }
p:last-child { margin-bottom: 0; }
a { color: var(--violet); text-underline-offset: 3px; }
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}

.eyebrow {
  font-family: Spectral, Georgia, serif;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .5rem;
}

.beats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}
.beat { display: flex; flex-direction: column; gap: .5rem; }
.beat .step {
  font-family: Spectral, Georgia, serif;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.beat h3 { font-family: Spectral, Georgia, serif; font-weight: 500; font-size: 1.2rem; margin: 0; }
.beat p { font-size: .96rem; color: var(--ink-soft); margin: 0; }

.spaced { margin-top: 2rem; }


.facts {
  border: 1px solid var(--rule);
  border-radius: 5px;
  background: var(--card);
  overflow: hidden;
  margin-top: 1.6rem;
}
.facts div {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) 1fr;
  gap: 1rem;
  padding: .85rem 1.2rem;
  border-bottom: 1px solid var(--rule);
  font-size: .95rem;
}
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

.cta {
  display: inline-block;
  margin-top: 1.6rem;
  padding: .8rem 1.6rem;
  background: var(--violet);
  color: var(--paper);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}
.cta:hover { background: #3a1b78; }

/* ---- the enquiry form ----------------------------------------------- */
form { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 2rem; max-width: 38rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.field .hint { font-size: .82rem; color: var(--muted); font-weight: 400; letter-spacing: 0; }

input, select, textarea {
  font: inherit;
  font-size: .96rem;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: .62rem .75rem;
  width: 100%;
}
textarea { resize: vertical; min-height: 7rem; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }

.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.4rem; }

button[type="submit"] {
  align-self: flex-start;
  padding: .8rem 1.8rem;
  background: var(--violet);
  color: var(--paper);
  border: 0;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}
button[type="submit"]:hover { background: #3a1b78; }

/* Bots fill everything, including what they cannot see. */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.aside {
  border-left: 3px solid var(--gold);
  background: var(--paper-deep);
  padding: 1rem 1.2rem;
  border-radius: 0 4px 4px 0;
  margin-top: 2rem;
}
.aside p { font-size: .95rem; margin: 0; }

/* ---- footer --------------------------------------------------------- */
footer { border-top: 1px solid var(--rule); padding: 2.6rem 0 4rem; font-size: .88rem; color: var(--muted); }
footer p { max-width: 64ch; margin-bottom: .7rem; }
footer a { color: var(--muted); }
.legal { font-family: Spectral, Georgia, serif; font-style: italic; font-size: .92rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
