/* Sitently — palette grounded in the trades: oxidized steel, work-light amber. */

:root {
  /* Light theme (complete palette defined here) */
  --ground: #eceff0;
  --surface: #ffffff;
  --surface-2: #f4f6f6;
  --ink: #0e1b1f;
  --ink-2: #3c4f55;
  --muted: #5e7076;
  --line: #d5dcdd;
  --accent: #c2761a;
  --accent-ink: #ffffff;
  --good: #2f8c72;

  /* Always-dark band tokens — the hero stays dark in both themes by design. */
  --band: #0e1b1f;
  --band-2: #16272c;
  --band-ink: #eaf0ef;
  --band-muted: #8fa4a9;
  --band-line: #273c42;
  --band-accent: #f2a03d;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --page: 1120px;
  --text: 68ch;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0b1619;
    --surface: #132327;
    --surface-2: #17292e;
    --ink: #e8eeec;
    --ink-2: #b6c6c9;
    --muted: #8fa4a9;
    --line: #25383d;
    --accent: #f2a03d;
    --accent-ink: #10201d;
    --good: #4bbb98;
  }
}

:root[data-theme="dark"] {
  --ground: #0b1619;
  --surface: #132327;
  --surface-2: #17292e;
  --ink: #e8eeec;
  --ink-2: #b6c6c9;
  --muted: #8fa4a9;
  --line: #25383d;
  --accent: #f2a03d;
  --accent-ink: #10201d;
  --good: #4bbb98;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
  line-height: 1.1;
  margin: 0;
}

a { color: inherit; }
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.9rem;
}

/* ---------- header ---------- */

.site-head {
  background: var(--band);
  border-bottom: 1px solid var(--band-line);
}

.site-head .inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--band-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.wordmark .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--band-accent);
  box-shadow: 0 0 0 4px rgba(242, 160, 61, 0.18);
}

.site-nav {
  display: flex;
  gap: 1.6rem;
  font-size: 0.92rem;
}

.site-nav a {
  color: var(--band-muted);
  text-decoration: none;
}

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

/* ---------- hero ---------- */

.hero {
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(242, 160, 61, 0.13), transparent 60%),
    var(--band);
  color: var(--band-ink);
  border-bottom: 1px solid var(--band-line);
}

.hero .inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.hero .eyebrow { color: var(--band-accent); }

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.1rem;
}

.hero p.lede {
  color: var(--band-muted);
  font-size: 1.12rem;
  max-width: 46ch;
  margin: 0 0 2rem;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  border-top: 1px solid var(--band-line);
  padding-top: 1.5rem;
}

.fact .n {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--band-accent);
  font-variant-numeric: tabular-nums;
  display: block;
  line-height: 1.2;
}

.fact .l {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--band-muted);
}

/* ---------- phone ---------- */

.phone {
  justify-self: center;
  width: 100%;
  max-width: 330px;
  background: var(--band-2);
  border: 1px solid var(--band-line);
  border-radius: 28px;
  padding: 0.85rem;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.75);
}

.phone .screen {
  background: #0a1417;
  border-radius: 20px;
  padding: 1rem 0.9rem 1.25rem;
}

.phone .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--band-muted);
  border-bottom: 1px solid var(--band-line);
  padding-bottom: 0.7rem;
  margin-bottom: 1rem;
}

.thread {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.msg {
  max-width: 82%;
  padding: 0.55rem 0.8rem;
  border-radius: 15px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.msg.them {
  align-self: flex-start;
  background: #1d3238;
  color: var(--band-ink);
  border-bottom-left-radius: 5px;
}

.msg.you {
  align-self: flex-end;
  background: var(--band-accent);
  color: #16110a;
  border-bottom-right-radius: 5px;
}

.msg.event {
  align-self: center;
  background: none;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--band-muted);
  padding: 0.2rem 0;
}

.msg.booked {
  align-self: center;
  background: rgba(75, 187, 152, 0.12);
  border: 1px solid rgba(75, 187, 152, 0.35);
  color: #7fd9bc;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  max-width: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  .thread > * {
    animation: rise 0.4s ease-out backwards;
  }
  .thread > *:nth-child(1) { animation-delay: 0.05s; }
  .thread > *:nth-child(2) { animation-delay: 0.15s; }
  .thread > *:nth-child(3) { animation-delay: 0.25s; }
  .thread > *:nth-child(4) { animation-delay: 0.35s; }
  .thread > *:nth-child(5) { animation-delay: 0.45s; }
  .thread > *:nth-child(6) { animation-delay: 0.55s; }
  .thread > *:nth-child(7) { animation-delay: 0.65s; }
  .thread > *:nth-child(8) { animation-delay: 0.75s; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}

/* ---------- sections ---------- */

section.band {
  max-width: var(--page);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.section-head { margin-bottom: 2.75rem; max-width: 54ch; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 0.75rem; }
.section-head p { color: var(--muted); margin: 0; }

/* Numbered because this genuinely is a sequence: call, miss, text, book. */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.steps li { counter-increment: step; }

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  padding-bottom: 0.6rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.steps h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- opt-in ---------- */

.optin {
  background: var(--band-2);
  color: var(--band-ink);
  border-top: 1px solid var(--band-line);
  border-bottom: 1px solid var(--band-line);
}

.optin .inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.optin h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 0.9rem; }
.optin .eyebrow { color: var(--band-accent); }
.optin p { color: var(--band-muted); }

form { display: block; }

.field { margin-bottom: 1.1rem; }

label.field-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--band-muted);
  margin-bottom: 0.4rem;
}

input[type="tel"],
input[type="text"] {
  width: 100%;
  padding: 0.7rem 0.85rem;
  background: #0a1417;
  border: 1px solid var(--band-line);
  border-radius: 8px;
  color: var(--band-ink);
  font-family: var(--body);
  font-size: 1rem;
}

input::placeholder { color: #5d757b; }

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--band-line);
  border-radius: 8px;
  padding: 0.9rem;
  margin: 1.3rem 0;
}

.consent input { margin-top: 0.28rem; flex-shrink: 0; accent-color: var(--band-accent); }

.consent label {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--band-muted);
}

.consent a { color: var(--band-accent); }

/* The explicit alternative for someone who wants help but not texts —
   deliberately placed right after the submit button, not tucked away, so
   it reads as a real option rather than fine print. */
.skip-note {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--band-muted);
  margin-top: 0.9rem;
}
.skip-note a { color: var(--band-accent); }

button[type="submit"] {
  background: var(--band-accent);
  color: #16110a;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 1.8rem;
  cursor: pointer;
}

button[type="submit"]:hover { filter: brightness(1.07); }

/* ---------- legal pages ---------- */

.legal {
  max-width: var(--text);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

.legal h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }
.legal .stamp {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 2.5rem;
}
.legal h2 {
  font-size: 1.12rem;
  margin: 2.5rem 0 0.7rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.legal p, .legal li { color: var(--ink-2); font-size: 0.98rem; }
.legal ul, .legal ol { padding-left: 1.2rem; }
.legal li { margin-bottom: 0.45rem; }
.legal a { color: var(--accent); }

.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 1.2rem 1.4rem;
  margin: 1.8rem 0;
}

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

/* ---------- footer ---------- */

.site-foot {
  background: var(--band);
  color: var(--band-muted);
  border-top: 1px solid var(--band-line);
  font-size: 0.87rem;
}

.site-foot .inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-foot a { color: var(--band-muted); }
.site-foot a:hover { color: var(--band-accent); }
.site-foot .legal-links { display: flex; flex-direction: column; gap: 0.45rem; }
.site-foot address { font-style: normal; line-height: 1.7; }

@media (max-width: 860px) {
  .hero .inner,
  .optin .inner {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
  .hero .inner { padding-top: 3rem; }
  .phone { max-width: 300px; }
}
