/* ==========================================================================
   Orchestr8.eu — portfolio lease landing page
   Self-contained: no webfonts, no external assets, no trackers.
   ========================================================================== */

:root {
  --bg: #05060b;
  --bg-elev: #0b0e18;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eceef8;
  --muted: #9ba4bf;
  --faint: #6b7390;
  --accent-1: #7c5cff;
  --accent-2: #22d3ee;
  --accent-3: #f472b6;
  --ok: #34d399;
  --danger: #f87171;
  --gradient: linear-gradient(92deg, var(--accent-1), var(--accent-2));
  --radius: 18px;
  --radius-sm: 12px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 520px at 12% -8%, rgba(124, 92, 255, 0.16), transparent 60%),
    radial-gradient(900px 480px at 88% 4%, rgba(34, 211, 238, 0.10), transparent 55%),
    radial-gradient(1000px 700px at 50% 115%, rgba(124, 92, 255, 0.08), transparent 60%);
  background-attachment: fixed;
}

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

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }

::selection { background: rgba(124, 92, 255, 0.45); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(5, 6, 11, 0.72);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand .tld { color: var(--accent-2); }
.brand-mark { width: 26px; height: 26px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--text); text-decoration: none; }
.site-nav .btn { color: #0b0e18; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Buttons & chips
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--gradient);
  color: #06070d;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(34, 211, 238, 0.35); }

.btn-ghost {
  background: var(--panel);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent-2); }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.88rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}
.chip strong { color: var(--text); font-weight: 650; }

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.9);
  flex: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--panel);
}
.badge-available { color: var(--ok); border-color: rgba(52, 211, 153, 0.35); }
.badge-flagship {
  color: #06070d;
  background: var(--gradient);
  border: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding: 4.5rem 0 3.5rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 2.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent-2);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  margin-bottom: 0.35em;
}
.hero h1 .tld { color: transparent; background: var(--gradient); background-clip: text; -webkit-background-clip: text; }

.hero .lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34em;
  margin: 0 0 1.8rem;
}
.hero .lede strong { color: var(--text); font-weight: 600; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.6rem; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }

/* Animated figure-eight */

.loop-wrap {
  position: relative;
  display: grid;
  place-items: center;
  animation: floaty 7s ease-in-out infinite;
}
.loop-svg { width: min(320px, 72vw); height: auto; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.loop-dash {
  animation: loopdash 6s linear infinite;
}
@keyframes loopdash {
  from { stroke-dashoffset: 140; }
  to { stroke-dashoffset: -860; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 4.2rem 0; }
.section + .section { border-top: 1px solid rgba(255, 255, 255, 0.05); }

.section-head { max-width: 46em; margin-bottom: 2.4rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 750; }
.section-head p { color: var(--muted); margin: 0; }
.section-head .fineprint { display: block; margin-top: 0.5rem; }

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 0.7rem;
}

.fineprint { font-size: 0.82rem; color: var(--faint); }

/* Why cards */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--border-strong); background: var(--panel-strong); }

.why-grid .card h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.why-grid .card p { color: var(--muted); font-size: 0.93rem; margin: 0; }

.card-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.35);
  margin-bottom: 0.9rem;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   Portfolio cards
   -------------------------------------------------------------------------- */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.domain-card {
  scroll-margin-top: 96px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.7rem;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.domain-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }

.domain-card.flagship {
  grid-column: 1 / -1;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-elev), var(--bg-elev)) padding-box,
    linear-gradient(120deg, rgba(124, 92, 255, 0.75), rgba(34, 211, 238, 0.75)) border-box;
}

.domain-card .badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.domain-name {
  font-family: var(--mono);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
.flagship .domain-name { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.domain-name .tld { color: transparent; background: var(--gradient); background-clip: text; -webkit-background-clip: text; }

.domain-card .blurb { color: var(--muted); font-size: 0.95rem; margin: 0; }

.ideal-for { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ideal-for .chip { font-size: 0.76rem; padding: 0.22rem 0.6rem; }

.price-row {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
}

.price { display: flex; align-items: baseline; gap: 0.35rem; }
.price .amount { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.price .period { color: var(--muted); font-size: 0.95rem; }
.price-note { font-size: 0.8rem; color: var(--faint); margin-top: 0.1rem; }

.card-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; }
.buy-link { font-size: 0.88rem; color: var(--muted); }
.buy-link:hover { color: var(--accent-2); }

.bundle-note {
  font-size: 0.84rem;
  color: var(--accent-2);
  background: rgba(34, 211, 238, 0.08);
  border: 1px dashed rgba(34, 211, 238, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.8rem;
}

/* --------------------------------------------------------------------------
   Subdomain tiers & examples
   -------------------------------------------------------------------------- */

.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-bottom: 1.6rem;
}

.tier-card { display: flex; flex-direction: column; gap: 0.8rem; padding: 1.7rem; }

.tier-card h3 { font-size: 1.15rem; margin: 0; }

.tier-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.93rem;
}
.tier-card li { padding-left: 1.4rem; position: relative; }
.tier-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 0.65em;
  height: 0.35em;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}

.examples-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.examples-grid .chip { font-family: var(--mono); font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: step;
}

.step { position: relative; padding: 1.5rem; }

.step-num {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: transparent;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  margin-bottom: 0.4rem;
}
.step h3 { font-size: 1.02rem; margin-bottom: 0.35em; }
.step p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list { max-width: 780px; display: grid; gap: 0.7rem; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--panel);
  overflow: hidden;
}
.faq-item[open] { border-color: var(--border-strong); background: var(--panel-strong); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  font-weight: 600;
  font-size: 0.98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--accent-2);
  transition: transform 0.2s ease;
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .answer {
  padding: 0 1.2rem 1.1rem;
  color: var(--muted);
  font-size: 0.93rem;
}
.faq-item .answer p { margin: 0 0 0.6em; }
.faq-item .answer p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Contact / form
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.1rem;
  align-items: start;
}

.form-card { padding: 1.8rem; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.9rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--muted); }

.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  width: 100%;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--bg-elev); color: var(--text); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  background: rgba(255, 255, 255, 0.08);
}
.field textarea { resize: vertical; min-height: 110px; }

.form-status { min-height: 1.4em; font-size: 0.9rem; margin-top: 0.8rem; color: var(--muted); }
.form-status.ok { color: var(--ok); }
.form-status.error { color: var(--danger); }

.contact-aside { display: grid; gap: 1.1rem; }
.contact-aside .card h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.contact-aside .card p { color: var(--muted); font-size: 0.92rem; margin: 0 0 0.5em; }
.contact-aside .card p:last-child { margin: 0; }

.email-link {
  font-family: var(--mono);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--accent-2);
  word-break: break-all;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.8rem 0 2rem;
  background: rgba(5, 6, 11, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p { color: var(--muted); font-size: 0.9rem; max-width: 30em; margin: 0.7rem 0 0; }

.site-footer h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 0.8rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-links a { color: var(--muted); font-size: 0.92rem; }
.footer-links a:hover { color: var(--text); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--faint);
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

/* Reveal styling only applies when JS is available (html.js is set inline in
   the head), so content is never hidden if scripts fail to load. */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
html.js .reveal.visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .loop-wrap { order: -1; }
  .loop-svg { width: min(240px, 60vw); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 6, 11, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 1.25rem 1rem;
    display: none;
  }
  .site-nav a { padding: 0.65rem 0; }
  .site-nav .btn { margin-top: 0.5rem; }
  .nav-open .site-nav { display: flex; }
  .nav-toggle { display: block; }

  .hero { padding: 3rem 0 2.5rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .why-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .price .amount { font-size: 1.7rem; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loop-wrap { animation: none; }
  .loop-dash { animation: none; stroke-dasharray: none; }
  .loop-tracer { display: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .domain-card, .btn { transition: none; }
}
