/* On the Dot — Template C, Fresh Studio (locked Nov 20, 2026)
   Mobile-first. No frameworks, no build step. */

:root {
  --bg: #F2FBF8;          /* mint-cream */
  --teal-deep: #0F766E;
  --teal: #14B8A6;
  --coral: #FF6B57;
  --ink: #12302C;
  --ink-soft: #46625D;
  --card: #FFFFFF;
  --line: #D5EEE7;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(15, 118, 110, 0.10);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1100px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

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

a { color: var(--teal-deep); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--teal-deep); color: #fff; padding: 8px 14px; border-radius: 10px;
}
.skip:focus { left: 8px; z-index: 100; }

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

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 251, 248, 0.92);
  backdrop-filter: saturate(150%) blur(8px);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 6px 16px; padding-top: 12px; padding-bottom: 10px;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.brand-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(255, 107, 87, 0.18);
}

.nav {
  width: 100%;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav ul {
  list-style: none; margin: 0; padding: 2px 0 4px;
  display: flex; gap: 6px; white-space: nowrap;
}
.nav a {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  color: var(--ink-soft);
}
.nav a:hover { background: #E3F6F1; color: var(--teal-deep); }
.nav a[aria-current="page"] { background: var(--teal-deep); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(255, 107, 87, 0.30); }
.btn-primary:hover { background: #F25643; }
.btn-ghost { background: #fff; color: var(--teal-deep); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--teal); }

/* ---------- Hero ---------- */
.hero { padding: 44px 0 36px; position: relative; overflow: hidden; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--teal-deep); background: #DDF5EE; padding: 6px 12px; border-radius: 999px;
}
.hero h1 {
  font-size: clamp(2.1rem, 8vw, 3.8rem);
  line-height: 1.08; letter-spacing: -0.02em;
  margin: 18px 0 14px;
}
.hero h1 .accent { color: var(--teal-deep); }
.hero h1 .dot { color: var(--coral); }
.hero .lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 36ch; margin: 0 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-art {
  margin-top: 36px;
  background: linear-gradient(145deg, var(--teal-deep), var(--teal));
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  color: #fff;
}
.mini-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-weight: 600;
}
.mini-card + .mini-card { margin-top: 10px; }
.mini-card small { display: block; font-weight: 500; opacity: 0.8; font-size: 0.82rem; }
.check {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: #fff; color: var(--teal-deep);
  display: grid; place-items: center; font-weight: 900; font-size: 0.9rem;
}
.check.coral { background: var(--coral); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 40px 0; }
.section-head { margin-bottom: 22px; }
.section-head h2 { font-size: clamp(1.6rem, 5.5vw, 2.3rem); line-height: 1.15; letter-spacing: -0.015em; margin: 10px 0 8px; }
.section-head p { color: var(--ink-soft); margin: 0; max-width: 55ch; }

.grid { display: grid; gap: 16px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 12px 0 6px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--ink-soft); }
.icon {
  width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.4rem;
  background: #DDF5EE;
}
.icon.coral { background: #FFE4DF; }

/* Feature (first app) */
.feature {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.feature-body { padding: 26px 24px; }
.feature h2, .feature h3 { font-size: 1.5rem; margin: 12px 0 8px; line-height: 1.2; }
.feature p { color: var(--ink-soft); margin: 0 0 18px; }
.badge {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  background: #FFE4DF; color: #C23B28;
}
.ticks { list-style: none; padding: 0; margin: 0 0 22px; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: 0.75rem; font-weight: 900;
  display: grid; place-items: center;
}
.feature-side {
  background: linear-gradient(160deg, #E3F6F1, #F2FBF8);
  padding: 24px;
  border-top: 1px solid var(--line);
}
.ledger { background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); padding: 14px 16px; }
.ledger-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.ledger-row:last-child { border-bottom: 0; font-weight: 800; }
.in { color: var(--teal-deep); font-weight: 700; }
.out { color: #C23B28; font-weight: 700; }
.ledger-note { font-size: 0.8rem; color: var(--ink-soft); margin: 10px 2px 0; }

/* CTA band */
.cta {
  background: var(--teal-deep);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: left;
  position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -40px; bottom: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: var(--coral); opacity: 0.9;
}
.cta h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 5vw, 2.1rem); line-height: 1.2; position: relative; z-index: 1; }
.cta p { margin: 0 0 20px; opacity: 0.9; max-width: 44ch; position: relative; z-index: 1; }
.cta .btn { position: relative; z-index: 1; }
.cta .btn-light { background: #fff; color: var(--teal-deep); }

/* ---------- Inner-page header ---------- */
.page-hero { padding: 40px 0 8px; }
.page-hero h1 {
  font-size: clamp(2rem, 7.5vw, 3.2rem);
  line-height: 1.1; letter-spacing: -0.02em;
  margin: 16px 0 12px;
}
.page-hero h1 .dot { color: var(--coral); }
.page-hero .lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 46ch; margin: 0; }

/* Status badges */
.badge-teal { background: #DDF5EE; color: var(--teal-deep); }
.badge-soft { background: #EEF3F2; color: var(--ink-soft); }

.meta { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 18px; }

/* Edge callout */
.edge {
  background: #FFF4F1;
  border: 1px solid #FFD6CE;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 0 0 22px;
  font-size: 0.97rem;
}
.edge strong { color: #C23B28; }

/* Roadmap cards */
.card .badge + .icon { margin-top: 12px; }
.card-dashed {
  background: transparent;
  border: 2px dashed var(--line);
  box-shadow: none;
}


/* About: story + who we are */
.grid-2 .card h3 { margin-bottom: 2px; }
.grid-2 .role { display: block; }
.empty-chair { margin: 18px 4px 0; color: var(--ink-soft); }
.card .section-head { margin-bottom: 12px; }
.story { max-width: 70ch; }
.story p { margin: 0 0 14px; color: var(--ink-soft); }
.story p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 18px; }
.contact-card { text-align: left; }
.contact-card h2 { margin: 12px 0 8px; font-size: clamp(1.5rem, 5vw, 2rem); line-height: 1.2; }
.contact-card > p { color: var(--ink-soft); margin: 0 0 20px; max-width: 48ch; }
.email-line {
  display: block;
  font-weight: 800; font-size: clamp(1.02rem, 4.6vw, 1.3rem);
  color: var(--teal-deep); text-decoration: none;
  word-break: break-all;
  margin: 0 0 20px;
}
.email-line:hover { text-decoration: underline; }
.contact-card .btn { width: 100%; }
.note { font-size: 0.88rem; color: var(--ink-soft); margin: 14px 0 0; }
.topics-title { margin: 0 0 16px; font-size: 1.3rem; }
.topics { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.topics li { display: flex; gap: 14px; align-items: flex-start; }
.topics .icon { flex: none; width: 42px; height: 42px; border-radius: 14px; font-size: 1.2rem; }
.topics strong { display: block; }
.topics span { color: var(--ink-soft); font-size: 0.96rem; }

@media (min-width: 720px) {
  .contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: start; }
  .contact-card .btn { width: auto; }
}

/* ---------- Staff ---------- */
.staff-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.person {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.person-photo {
  aspect-ratio: 4 / 5;
  background: #E3F6F1;
  overflow: hidden;
}
.person-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.person-photo.pos-friday img { object-position: 50% 22%; }
.person-body { padding: 20px 22px 24px; }
.person-body h2 { margin: 0 0 4px; font-size: 1.25rem; line-height: 1.25; }
.role {
  display: inline-block; margin: 0 0 10px;
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--teal-deep);
}
.person-body p { margin: 0; color: var(--ink-soft); }

/* Name card (no portrait) */
.person-namecard .person-photo {
  display: grid; place-items: center;
  background: linear-gradient(160deg, #E3F6F1, #F2FBF8);
  border-bottom: 2px dashed var(--line);
}
.monogram {
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 2px dashed var(--teal);
  color: var(--teal-deep); font-size: 2.4rem; font-weight: 800;
}

.person-namecard .person-photo { aspect-ratio: auto; height: 170px; }

/* Small phones: tighten menu so all five links fit without swiping */
@media (max-width: 420px) {
  .nav ul { gap: 2px; }
  .nav a { padding: 8px 10px; font-size: 0.92rem; }
}

@media (min-width: 560px) {
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .person-namecard .person-photo { aspect-ratio: 4 / 5; height: auto; }
}
@media (min-width: 1000px) {
  .staff-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Forms (waitlist + contact) ---------- */
.otd-form { display: grid; gap: 14px; margin: 0 0 22px; }
.otd-form[hidden] { display: none; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.18); }
.inline-form { display: grid; gap: 10px; }
.inline-form .btn { border: 0; cursor: pointer; }
.otd-form .btn { border: 0; cursor: pointer; font-family: inherit; }
.otd-form .btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.form-status { margin: 0; font-size: 0.95rem; font-weight: 600; color: var(--teal-deep); min-height: 1.2em; }
.form-status.is-error { color: #C23B28; }
.form-privacy { margin: 0; font-size: 0.85rem; color: var(--ink-soft); }
.form-fallback { margin: 0 0 22px; font-size: 0.95rem; color: var(--ink-soft); }
.form-section:has(form[hidden]) { display: none; }
.form-section { padding-bottom: 0; }
.inline-form .form-status, .inline-form .form-privacy { grid-column: 1 / -1; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 560px) {
  .inline-form { grid-template-columns: 1fr auto; align-items: end; }
}

/* ---------- Build note ---------- */
.build-note { display: grid; gap: 6px; }
.build-note time { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #C23B28; }
.build-note h2 { margin: 0; font-size: 1.3rem; }
.build-note p { margin: 0; color: var(--ink-soft); }

/* ---------- 404 ---------- */
.notfound { padding: 64px 0 24px; }
.notfound .code { font-size: clamp(4rem, 18vw, 7rem); font-weight: 900; line-height: 1; color: var(--teal-deep); letter-spacing: -0.04em; margin: 0; }
.notfound .code .dot { color: var(--coral); }
.notfound h1 { font-size: clamp(1.8rem, 6.5vw, 2.8rem); line-height: 1.12; letter-spacing: -0.02em; margin: 16px 0 12px; }
.notfound .lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 46ch; margin: 0 0 26px; }

/* ---------- Footer ---------- */
.site-footer { padding: 36px 0 44px; color: var(--ink-soft); font-size: 0.92rem; }
.site-footer .wrap { display: grid; gap: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--teal-deep); }

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  .nav { width: auto; }
  .site-header .wrap { flex-wrap: nowrap; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .feature { display: grid; grid-template-columns: 1.3fr 1fr; }
  .feature-side { border-top: 0; border-left: 1px solid var(--line); display: flex; align-items: center; }
  .feature-side .ledger { width: 100%; }
  .feature-body { padding: 36px; }
  .cta { padding: 44px; }
  .site-footer .wrap { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 960px) {
  .hero { padding: 72px 0 56px; }
  .hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
  .hero-art { margin-top: 0; padding: 28px; }
  .section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
