/* Brand system shared with lexflow.systems: void / ink / heat / flash. */
@font-face {
  font-family: "Archivo Black";
  src: url("/fonts/archivo-black-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --void: #0b0c0f;
  --ink: #f2efe6;
  --dim: #9a9588;
  --line: rgba(242, 239, 230, 0.14);
  --heat: #ff4d1a;
  --heat-deep: #c2340d;
  --steel: #1c2230;
  --flash: #f6e27a;
  --pad: 1rem;
  --tap: 2.75rem;
  --display: "Archivo Black", Impact, sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  background: var(--void);
  color: var(--ink);
  min-height: 100svh;
  overflow-x: hidden;
  line-height: 1.5;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--flash); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 10;
  padding: 0.6rem 0.9rem;
  background: var(--flash);
  color: var(--void);
  font-weight: 700;
}
.skip:focus { left: 0; }

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 55% at 80% 0%, rgba(255, 77, 26, 0.2), transparent 55%),
    radial-gradient(ellipse 80% 50% at 0% 90%, rgba(28, 34, 48, 0.9), transparent 50%),
    linear-gradient(180deg, #0b0c0f 0%, #12151c 50%, #0b0c0f 100%);
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 239, 230, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 239, 230, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 20%, black 15%, transparent 70%);
  animation: gridDrift 28s linear infinite;
  pointer-events: none;
}

@keyframes gridDrift {
  from { transform: translateY(0); }
  to { transform: translateY(48px); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulseHeat {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 26, 0.45); }
  50% { box-shadow: 0 0 0 12px rgba(255, 77, 26, 0); }
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--pad) * 2), 1080px);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1rem 0;
}
.brand-lockup {
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.brand-lockup .ai {
  display: block;
  margin-top: 0.4em;
  color: var(--flash);
  font-size: 0.62em;
  letter-spacing: 0.1em;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--dim);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a.nav-cta { color: var(--heat); }
.site-nav a.nav-cta:hover { color: var(--flash); }

/* Type */
.meta {
  color: var(--flash);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.4rem, 7.2vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-wrap: balance;
}
h1 em, h2 span {
  font-style: normal;
  color: var(--heat);
}
h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 6.4vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 18ch;
  margin-bottom: 1rem;
  text-wrap: balance;
}
h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.sub {
  margin-top: 1.1rem;
  color: var(--dim);
  font-size: 1.08rem;
  font-weight: 500;
  max-width: 54ch;
  line-height: 1.5;
}
.lead {
  color: var(--dim);
  font-size: 1.05rem;
  max-width: 56ch;
  margin-bottom: 1.75rem;
}
.prose p {
  max-width: 60ch;
  font-size: 1.08rem;
  line-height: 1.6;
}
.prose p + p { margin-top: 1rem; }
.prose p:first-child { color: var(--ink); font-weight: 500; }
.prose p { color: var(--dim); }
.text-link {
  color: var(--heat);
  font-weight: 600;
  text-underline-offset: 0.2em;
}
.text-link:hover { color: var(--flash); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--tap);
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: var(--heat);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  animation: pulseHeat 2.4s ease-in-out infinite;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover {
  background: var(--heat-deep);
  animation: none;
}
.btn:active { transform: scale(0.98); }
.btn.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  animation: none;
}
.btn.ghost:hover {
  border-color: var(--heat);
  background: rgba(255, 77, 26, 0.08);
}
.cta-row {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Sections */
.hero {
  position: relative;
  z-index: 1;
  padding: 2.75rem 0 3rem;
}
.hero > .wrap > * { animation: rise 0.6s both; }
.hero > .wrap > :nth-child(2) { animation-delay: 0.08s; }
.hero > .wrap > :nth-child(3) { animation-delay: 0.16s; }
.hero > .wrap > :nth-child(4) { animation-delay: 0.24s; }
.hero h1 { margin-top: 0.9rem; }
.hero.page h1 { font-size: clamp(1.7rem, 7.2vw, 3.3rem); max-width: 20ch; }

.band {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  color: var(--dim);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--flash); }

/* Numbered service rows */
.service-list {
  list-style: none;
  padding: 0;
  counter-reset: svc;
  border-top: 1px solid var(--line);
}
.service-list li { counter-increment: svc; border-bottom: 1px solid var(--line); }
.service-list a {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.2rem 0.5rem;
  padding: 1.15rem 0;
  text-decoration: none;
  transition: background 0.15s ease;
}
.service-list a::before {
  content: "#" counter(svc);
  grid-row: span 2;
  color: var(--heat);
  font-family: var(--display);
  font-size: 0.95rem;
  line-height: 1.5;
}
.service-list h3 { text-transform: uppercase; font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; font-size: 1.15rem; }
.service-list p { color: var(--dim); font-size: 0.98rem; max-width: 60ch; }
.service-list a:hover { background: rgba(255, 77, 26, 0.06); }
.service-list a:hover h3 { color: var(--flash); }

/* Cards */
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
}
.card {
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(11, 12, 15, 0.65);
  padding: 1.1rem 1.15rem;
  border-radius: 0.5rem;
}
.card .meta { margin-bottom: 0.6rem; }
.card h2.meta { font-family: inherit; line-height: 1.4; max-width: none; }
.card p.meta { color: var(--flash); margin-top: 0; }
.card p { color: var(--dim); font-size: 0.98rem; margin-top: 0.4rem; }
.step-num {
  display: block;
  color: var(--heat);
  font-family: var(--display);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.ticks, .steps {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.ticks li, .steps li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 0.98rem;
  line-height: 1.4;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.45em;
  width: 0.7rem;
  height: 0.38rem;
  border-left: 2px solid var(--heat);
  border-bottom: 2px solid var(--heat);
  transform: rotate(-45deg);
}
.steps { counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: "#" counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--heat);
  font-family: var(--display);
  font-size: 0.85rem;
}

.faq { border-top: 1px solid var(--line); max-width: 46rem; }
.faq div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 700; font-size: 1.05rem; }
.faq dd { margin-top: 0.4rem; color: var(--dim); max-width: 62ch; }

.cta-band { text-align: center; }
.cta-band h2 { margin-inline: auto; }
.cta-band .lead { margin-inline: auto; }
.cta-band .cta-row { align-items: center; margin-top: 0; }

/* Booking */
.cal-slot {
  border: 1px solid var(--line);
  background: rgba(11, 12, 15, 0.65);
  min-height: min(78svh, 640px);
  overflow: hidden;
  max-width: 40rem;
  margin: 0 auto;
}
.cal-label {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  color: var(--flash);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: center;
}
#my-cal-inline {
  width: 100%;
  min-height: min(72svh, 600px);
  overflow: auto;
}
.cal-fallback {
  margin-top: 1rem;
  text-align: center;
  color: var(--dim);
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 2rem 0 max(2.25rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-inner {
  width: min(100% - (var(--pad) * 2), 720px);
  margin-inline: auto;
  display: grid;
  gap: 0.85rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.25rem;
}
.footer-links a {
  color: var(--dim);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
}
.footer-links a:hover { color: var(--ink); }
.site-footer .blurb { color: var(--dim); font-size: 0.85rem; }
.site-footer .disclaimer {
  color: rgba(154, 149, 136, 0.85);
  font-size: 0.7rem;
  max-width: 52ch;
  margin-inline: auto;
}
.copy-bar {
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.copy-bar p { color: rgba(154, 149, 136, 0.7); font-size: 0.7rem; }

@media (min-width: 720px) {
  :root { --pad: 1.5rem; }
  .stage::after { background-size: 72px 72px; }
  .brand-lockup { font-size: 1.2rem; }
  .btn { width: auto; padding: 1.05rem 1.55rem; }
  .btn:hover { transform: translateY(-2px); }
  .cta-row { flex-direction: row; flex-wrap: wrap; gap: 1rem; align-items: center; }
  .cta-band .cta-row { justify-content: center; }
  .hero { padding: 4.5rem 0 5rem; }
  .sub { font-size: 1.2rem; }
  .lead { font-size: 1.12rem; margin-bottom: 2rem; }
  .band { padding: 4.5rem 0; }
  .grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card { padding: 1.35rem 1.4rem; }
  .service-list a { grid-template-columns: 3.5rem minmax(0, 1fr); padding: 1.4rem 0.5rem; }
  .service-list h3 { font-size: 1.4rem; }
  .site-footer { padding: 2.5rem 0 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
