/* Tillo Consulting — hand-written. Exec register: serif confidence, warmth, restraint. */

:root {
  --bg: #faf8f4;
  --bg-raised: #ffffff;
  --ink: #1c2127;
  --ink-dim: #5f6a76;
  --accent: #14532d;        /* deep green — quiet, not neon */
  --accent-soft: #eaf2ec;
  --rule: #e7e3da;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171c;
    --bg-raised: #1b2027;
    --ink: #e9ecef;
    --ink-dim: #98a2ad;
    --accent: #4cc38a;
    --accent-soft: #1b2b23;
    --rule: #2a303a;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---- nav ---- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-links { display: flex; gap: 1.4rem; }
.nav-links a {
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }

/* ---- layout ---- */

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 4rem;
}

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.3rem;
}

h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.3rem, 6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h1 .dim { color: var(--ink-dim); }

.lede {
  margin-top: 1.5rem;
  font-size: 1.15rem;
  color: var(--ink-dim);
  max-width: 56ch;
}

h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0;
  margin-bottom: 0.9rem;
}

section, footer.cta { margin-top: 4.5rem; }
section p + p { margin-top: 0.9rem; }
section > p { max-width: 60ch; }

.aside {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--accent);
}

/* ---- offers ---- */

.offer-grid { display: grid; gap: 1rem; margin-top: 1.4rem; }
@media (min-width: 640px) { .offer-grid { grid-template-columns: repeat(3, 1fr); } }

.offer {
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.3rem 1.25rem 1.15rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.offer:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--rule));
  box-shadow: 0 10px 28px -18px rgba(20, 40, 30, 0.35);
}
.offer h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: 0.55rem;
}
.offer p { font-size: 0.93rem; color: var(--ink-dim); }
.offer .model {
  margin-top: 0.9rem;
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.18rem 0.65rem;
}

/* ---- concierge (ask anything) ---- */

.terminal {
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  font-size: 0.95rem;
  margin-top: 1.2rem;
}
.term-out { min-height: 4.5rem; max-height: 14rem; overflow-y: auto; }
.term-line { display: block; white-space: pre-wrap; margin-bottom: 0.4rem; color: var(--ink-dim); }
.term-line.you { color: var(--ink); font-weight: 500; }
.term-line b { color: var(--accent); font-weight: 600; }

.term-in { display: flex; align-items: center; gap: 0.55rem; margin-top: 0.7rem; border-top: 1px solid var(--rule); padding-top: 0.8rem; }
.prompt { color: var(--accent); font-family: var(--mono); }
#term-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--ink);
  font: inherit;
  caret-color: var(--accent);
}

.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.9rem; }
.chip {
  font: inherit;
  font-size: 0.8rem;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-dim);
  padding: 0.28rem 0.8rem;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.chip:hover, .chip:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* ---- contact form ---- */

.crumb { color: inherit; text-decoration: none; }
.crumb:hover { text-decoration: underline; }

.contact-form { display: grid; gap: 1.05rem; max-width: 36rem; margin-top: 1.2rem; }
.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.contact-form .opt { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: 0.75; }
.contact-form input, .contact-form textarea {
  font: 1rem/1.5 var(--sans);
  color: var(--ink);
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.contact-form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.contact-form button {
  font: 600 0.95rem var(--sans);
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1.6rem;
  cursor: pointer;
  justify-self: start;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.contact-form button:hover { transform: translateY(-1px); }
.contact-form button:disabled { opacity: 0.5; cursor: default; }
.form-status { font-size: 0.9rem; color: var(--accent); min-height: 1.2rem; }

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

.cta p { max-width: 56ch; }
.cta a { color: var(--accent); }
.fine {
  margin-top: 2.4rem;
  font-size: 0.76rem;
  color: var(--ink-dim);
  opacity: 0.75;
}

/* ---- the one reveal ---- */

.reveal { opacity: 0; transform: translateY(10px); animation: rise 0.55s ease forwards; }
.reveal:nth-child(1) { animation-delay: 0.05s; }
.reveal:nth-child(2) { animation-delay: 0.15s; }
.reveal:nth-child(3) { animation-delay: 0.25s; }
.reveal:nth-child(4) { animation-delay: 0.35s; }
.reveal:nth-child(5) { animation-delay: 0.45s; }
.reveal:nth-child(6) { animation-delay: 0.55s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .offer, .chip, .contact-form button { transition: none; }
}

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