/* Vera Lang Speaks: dark slate, charcoal, matte emerald */

:root {
  --slate: #0E1116;
  --slate-soft: #171B22;
  --charcoal: #242A33;
  --emerald: #3D9B78;
  --emerald-deep: #2F7D60;
  --emerald-glow: rgba(61, 155, 120, 0.28);
  --white: #F4F6F8;
  --muted: #9AA3AE;
  --stroke: rgba(244, 246, 248, 0.08);
  --elev: 0 20px 40px rgba(0, 0, 0, 0.06);
  --elev-dark: 0 22px 44px rgba(0, 0, 0, 0.35);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --wrap: min(1120px, calc(100% - 2rem));
  --radius: 20px;
  --radius-sm: 14px;
  --pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--white);
  background: var(--slate);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
  color: inherit;
  overflow: visible;
  padding-bottom: 0.04em;
}
p { margin: 0; }

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 80;
  background: var(--emerald);
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-weight: 600;
  transform: translateY(-220%);
}
.skip:focus-visible { transform: none; outline: 2px solid #fff; outline-offset: 2px; }

.demo-notice {
  position: relative;
  z-index: 60;
  background: #080A0D;
  color: rgba(244, 246, 248, 0.85);
  font-size: 13px;
  text-align: center;
  padding: 9px 16px;
  line-height: 1.45;
}
.demo-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px;
  margin-right: 8px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  white-space: nowrap;
  vertical-align: 1px;
}
.demo-notice a {
  color: #7DCFB0;
  font-weight: 600;
  margin-left: 0.35em;
  white-space: nowrap;
}
.demo-notice a:hover { text-decoration: underline; }

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
}
.section-head {
  max-width: 36rem;
  margin-bottom: 1.35rem;
}
.section-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  margin-bottom: 0.45rem;
}
.section-head p { color: var(--muted); }
.section-head.light .eyebrow { color: #7DCFB0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.78rem 1.25rem;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.btn-emerald {
  background: var(--emerald);
  color: #fff;
  box-shadow: 0 12px 28px var(--emerald-glow);
}
.btn-emerald:hover {
  background: var(--emerald-deep);
  box-shadow: 0 16px 32px rgba(61, 155, 120, 0.36);
}
.btn-ghost {
  background: rgba(244, 246, 248, 0.06);
  border-color: rgba(244, 246, 248, 0.16);
  color: var(--white);
}
.btn-ghost:hover {
  background: rgba(244, 246, 248, 0.1);
  border-color: rgba(244, 246, 248, 0.28);
}
.btn-ghost-dark {
  background: #fff;
  border-color: rgba(14, 17, 22, 0.08);
  color: var(--slate);
  box-shadow: var(--elev);
}
.btn-ghost-dark:hover { border-color: rgba(14, 17, 22, 0.16); }
.btn-lift:hover { transform: translateY(-2px); }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 17, 22, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
}
.nav-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.9rem;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-right: auto;
}
.nav-logo span { color: var(--emerald); font-weight: 600; }
.nav-links { display: flex; gap: 1.1rem; }
.nav-links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 1.5px;
  background: var(--emerald);
  transition: width 0.2s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 0.55rem 1.05rem; font-size: 0.82rem; }

.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0.4rem var(--wrap) 1.1rem;
  width: min(1120px, 100%);
  margin-inline: auto;
}
.nav-drawer a { font-weight: 600; color: var(--white); }
.nav-drawer-phone { color: #7DCFB0 !important; }
.nav-drawer-cta { align-self: flex-start; }
details.nav-menu[open] + .nav-drawer { display: flex; }
.nav .nav-toggle-bars span { background: var(--white); }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
}

/* Hero: H3 framed panel */
.hero {
  padding: 2.75rem 0 3rem;
  background:
    radial-gradient(ellipse 45% 40% at 90% 10%, rgba(61, 155, 120, 0.12), transparent 55%),
    var(--slate);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 1.75rem;
  align-items: center;
  min-height: min(74vh, 640px);
}
.hero-copy { max-width: 32rem; }
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 0.7rem;
}
.hero .lead {
  max-width: 40ch;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-frame {
  margin: 0;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(244, 246, 248, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(244, 246, 248, 0.06),
    var(--elev-dark);
  background: var(--charcoal);
  min-height: 420px;
  align-self: stretch;
}
.hero-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: contrast(1.05) saturate(0.92);
}
.hero-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  margin: 0;
  padding: 0.4rem 0.75rem;
  border-radius: var(--pill);
  background: rgba(14, 17, 22, 0.78);
  border: 1px solid rgba(244, 246, 248, 0.16);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}

/* Formats */
.formats {
  padding: 3rem 0 2.85rem;
  background: var(--slate-soft);
}
.format-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}
.format-tab {
  appearance: none;
  border: 1px solid var(--stroke);
  background: var(--charcoal);
  color: var(--muted);
  padding: 0.55rem 1rem;
  border-radius: var(--pill);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--elev-dark);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.format-tab:hover { color: var(--white); }
.format-tab.is-active {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #fff;
  box-shadow: 0 10px 24px var(--emerald-glow);
}

.format-board {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 0.85rem;
}
.format-main {
  padding: 1.4rem 1.3rem;
  border-radius: var(--radius);
  background: var(--charcoal);
  border: 1px solid var(--stroke);
  box-shadow: var(--elev-dark);
}
.format-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.35rem;
}
.format-main h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin-bottom: 0.45rem;
}
.format-main > p {
  color: var(--muted);
  margin-bottom: 0.9rem;
  max-width: 48ch;
}
.format-meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.format-meta li {
  padding: 0.35rem 0.7rem;
  border-radius: var(--pill);
  background: rgba(244, 246, 248, 0.06);
  border: 1px solid var(--stroke);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(244, 246, 248, 0.82);
}
.format-aside {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(165deg, #1A3D32 0%, #142922 100%);
  border: 1px solid rgba(61, 155, 120, 0.28);
  box-shadow: var(--elev-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
}
.aside-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7DCFB0;
}
.aside-value {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

/* Proof */
.proof {
  padding: 3rem 0;
  background: var(--slate);
}
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 0.85rem;
  align-items: stretch;
}
.proof-card {
  padding: 1.3rem 1.2rem;
  border-radius: var(--radius);
  background: var(--slate-soft);
  border: 1px solid var(--stroke);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.proof-org {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
}
.proof-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.proof-meta {
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.proof-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: var(--elev-dark);
  background: var(--charcoal);
  min-height: 100%;
  position: relative;
}
.proof-photo img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center 20%;
}

/* Process: emerald-tinted dark band */
.process {
  padding: 3rem 0;
  background:
    radial-gradient(ellipse 50% 50% at 0% 50%, rgba(61, 155, 120, 0.14), transparent 55%),
    linear-gradient(165deg, #0C1A16 0%, var(--slate) 100%);
}
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.process-step {
  appearance: none;
  text-align: left;
  padding: 1rem 1rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
  background: rgba(244, 246, 248, 0.04);
  color: var(--muted);
  cursor: pointer;
  box-shadow: var(--elev-dark);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.process-step:hover { color: var(--white); }
.process-step.is-active {
  background: rgba(61, 155, 120, 0.14);
  border-color: rgba(61, 155, 120, 0.4);
  color: var(--white);
}
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: 0.2rem;
}
.step-label {
  font-size: 0.9rem;
  font-weight: 600;
}
.process-panel {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: var(--charcoal);
  border: 1px solid var(--stroke);
  box-shadow: var(--elev-dark);
}
.process-panel h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}
.process-panel p {
  color: var(--muted);
  max-width: 52ch;
}

/* Booking: centered close (E3) */
.book {
  padding: 3.25rem 0 3.75rem;
  background: var(--slate-soft);
}
.book-inner {
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
}
.book-head {
  margin-bottom: 1.35rem;
}
.book-head .eyebrow { color: var(--emerald); }
.book-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.45rem);
  margin-bottom: 0.45rem;
}
.book-head p { color: var(--muted); }

.book-widget {
  text-align: left;
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: #fff;
  color: var(--slate);
  border: 1px solid rgba(14, 17, 22, 0.06);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}
.book-progress {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
  justify-content: center;
}
.book-dot {
  width: 2rem;
  height: 4px;
  border-radius: var(--pill);
  background: rgba(14, 17, 22, 0.12);
}
.book-dot.is-active { background: var(--emerald); }

.book-panel {
  margin: 0;
  padding: 0;
  border: none;
  display: none;
  gap: 0.45rem;
}
.book-panel.is-active { display: grid; }
.book-panel legend {
  padding: 0;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--slate);
  text-align: center;
  width: 100%;
}
.chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 0.9rem;
  border-radius: var(--pill);
  border: 1px solid rgba(14, 17, 22, 0.08);
  background: #F4F6F8;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--elev);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.chip:hover { border-color: rgba(14, 17, 22, 0.14); }
.chip:has(input:checked) {
  border-color: rgba(61, 155, 120, 0.45);
  background: rgba(61, 155, 120, 0.1);
}
.chip input {
  accent-color: var(--emerald);
  width: 1rem;
  height: 1rem;
}
.book-next { margin-top: 0.55rem; justify-self: center; }
.book-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.55rem;
  justify-content: center;
}

.foot {
  padding: 1.35rem 0 1.75rem;
  background: #080A0D;
  color: rgba(244, 246, 248, 0.65);
}
.foot-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
}
.foot-brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.35rem;
}
.foot-note { margin: 0; font-size: 0.78rem; max-width: 48ch; }
.foot a {
  font-size: 0.86rem;
  font-weight: 600;
  color: #7DCFB0;
}

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

@media (max-width: 900px) {
  .hero-grid,
  .format-board,
  .proof-grid,
  .process-track,
  .foot-row {
    grid-template-columns: 1fr;
  }
  .hero-grid { min-height: 0; }
  .hero-frame { min-height: 280px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

@media (max-width: 560px) {
  .format-tabs { flex-direction: column; }
  .format-tab { width: 100%; text-align: center; }
}


/* --- Accessibility baseline (Web Interface Guidelines) --- */
.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 6px;
  transform: translateY(-200%);
}
.skip-link:focus { outline: none; }
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
[id] {
  scroll-margin-top: calc(5.5rem + env(safe-area-inset-top, 0px));
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Safe-area gutters on sticky chrome; contain scroll chaining in drawers/overlays */
.nav, .nav-min, .masthead, .bar {
  padding-left: max(0px, env(safe-area-inset-left, 0px));
  padding-right: max(0px, env(safe-area-inset-right, 0px));
}
.nav-drawer {
  overscroll-behavior: contain;
}

/* --- Web Interface Guidelines extras --- */
a, button, summary, input, select, textarea, label, [role="button"], [role="tab"] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
}
h1, h2, h3 { text-wrap: pretty; }
