/*
  Orion Caloric
  -------------
  Official colours: purple #7a00d2, deep purple #3c0073.
  Official type is Neulis Neue (Adobe Fonts, not bundled).
  Outfit is the open geometric stand-in, loaded from /fonts.

  To switch to Neulis Neue:
  1. Add the Adobe Fonts kit, or self-host the licensed files.
  2. Change --font-sans below so "neulis-neue" comes first.
  3. Weights used here: 300 light, 400 regular, 500 medium, 600 semibold.
     Map them to Neulis Light, Regular, Medium and Bold.
  The wordmark "orion" is a drawn SVG. It does not follow the font.
  The line under the mark ("Caloric Technology") uses --font-sans.
*/

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --purple: #7a00d2;
  --deep: #3c0073;
  --ink: #1c1224;
  --muted: #4a4158;
  --line: #e4dcec;
  --paper: #fbfafc;
  --white: #ffffff;
  --soft: #f6f1fb;
  --header: 4.75rem;
  --max: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--purple);
}

:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: 0.5rem;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--deep);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--deep);
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.75rem);
  max-width: 12ch;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  max-width: 18ch;
  margin-bottom: 0.9rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.125rem;
  margin-bottom: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  border-top: 3px solid var(--purple);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
}

.brand {
  display: flex;
  flex-direction: column;
  width: min(11.25rem, 46vw);
  gap: 0.35rem;
  text-decoration: none;
  color: var(--deep);
}

.brand img {
  width: 100%;
  height: auto;
}

.brand-sub {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--deep);
  font-size: clamp(0.48rem, 1.5vw, 0.62rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.langs {
  display: flex;
  gap: 0.15rem;
}

.langs a,
.langs span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-height: 2.4rem;
  padding: 0 0.35rem;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.langs a:hover,
.langs [aria-current="page"] {
  color: var(--deep);
  box-shadow: inset 0 -2px 0 var(--purple);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0 0.45rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--purple);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--deep);
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: var(--deep);
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -5px;
}

.nav-toggle-bars::after {
  top: 5px;
}

.hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.hero .lede {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  max-width: 38rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.1rem;
  background: var(--deep);
  color: var(--white);
  text-decoration: none;
  border: 1px solid var(--deep);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.btn:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--deep);
}

.btn-ghost:hover {
  background: var(--soft);
  color: var(--deep);
  border-color: var(--purple);
}

.places {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0;
  list-style: none;
  margin: 3rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.places li:not(:last-child)::after {
  content: "·";
  margin: 0 0.75rem;
  color: var(--purple);
}

.section {
  padding: clamp(3.25rem, 7vw, 5.5rem) 0;
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative;
}

.flow::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--purple);
}

.flow-index {
  position: relative;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--purple);
  color: var(--deep);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.section-alt .flow-index {
  background: var(--white);
}

.flow-card,
.group,
.place,
.about-copy {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.25rem 1.2rem 1.15rem;
}

.section-alt .flow-card,
.section-alt .group,
.section-alt .place {
  background: var(--paper);
}

.flow-card h3,
.group h3,
.place h3,
.steps h3 {
  margin-bottom: 0.7rem;
}

.flow-card ul,
.group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.flow-card li,
.group li {
  padding: 0.4rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.flow-card li {
  color: var(--muted);
  font-size: 0.98rem;
  hyphens: manual;
}

.group li strong {
  font-weight: 500;
  color: var(--deep);
}

.group li span {
  display: block;
  color: var(--muted);
  margin-top: 0.15rem;
}

.groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: start;
}

.group h3 {
  min-height: 2.4rem;
}

.places-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.place .kind {
  margin: 0 0 0.35rem;
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.place h3 {
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
}

.place p {
  margin: 0;
  color: var(--muted);
}

.todo {
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--purple);
  background: var(--soft);
  color: var(--ink);
  max-width: 46rem;
}

.todo strong {
  font-weight: 500;
  color: var(--deep);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 44rem;
}

.steps li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  position: relative;
  padding-bottom: 1.75rem;
}

.steps li::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 2.5rem;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.steps li:last-child::before {
  display: none;
}

.step-num {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--purple);
  color: var(--deep);
  background: var(--paper);
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem 3rem;
  align-items: start;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.facts {
  margin: 0;
  padding: 1.25rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.facts div {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.facts div:first-child {
  border-top: 0;
  padding-top: 0;
}

.facts dt {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 500;
}

.facts dd {
  margin: 0.2rem 0 0;
}

.band {
  background: var(--deep);
  color: var(--white);
  padding: clamp(3.25rem, 7vw, 5.5rem) 0;
}

.band h2,
.band .eyebrow,
.band a {
  color: var(--white);
}

.band .lede,
.band .contact-list {
  color: rgba(255, 255, 255, 0.86);
}

.band a:hover {
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem 3rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  font-size: 1.05rem;
}

.contact-list li {
  margin: 0.35rem 0;
}

.contact-list a {
  font-weight: 500;
}

.band .todo {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-left-color: #d3b0ff;
}

.band .todo strong {
  color: var(--white);
}

.site-footer {
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.site-footer p {
  margin: 0;
  max-width: 36rem;
}

@media (min-width: 960px) {
  .site-footer p {
    max-width: none;
  }
}

.gate {
  min-height: 100vh;
  display: grid;
  align-content: center;
  padding: 3rem 0;
}

.gate h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.gate ul {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.gate a {
  font-size: 1.25rem;
  font-weight: 500;
}

@media (max-width: 980px) {
  .groups,
  .places-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .places-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    min-height: 2.75rem;
    font-size: 1.05rem;
  }

  .header-tools {
    gap: 0.35rem;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 720px) {
  .flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .flow::before {
    left: 1.2rem;
    right: auto;
    top: 0;
    bottom: 1.5rem;
    width: 1px;
    height: auto;
  }

  .flow li {
    position: relative;
    padding: 0 0 1.35rem 3.4rem;
  }

  .flow-index {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    background: var(--paper);
  }

  .flow-card,
  .group,
  .place {
    padding: 1rem 0.95rem;
  }

  .groups,
  .places-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 14ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .actions,
  .skip {
    display: none;
  }

  body {
    background: #fff;
  }

  .band {
    background: #fff;
    color: #000;
  }

  .band h2,
  .band a,
  .band .lede,
  .band .contact-list {
    color: #000;
  }

  a[href^="mailto:"]::after,
  a[href^="tel:"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}
