/* =========================================================
   KASSANDRA WELLNESS GROUP — styles.css
   ChatGPT-style AI-first layout. Dark hero, white sections below.
   Fonts: Sora (headings) + DM Sans (body)
   ========================================================= */

   :root {
    --brand-blue:  #0F2B66;
    --brand-mid:   #1a3a8a;
    --brand-light: #2a52b8;
    --ink:         #121826;
    --muted:       rgba(18,24,38,0.55);
    --line:        rgba(0,0,0,0.08);
    --white:       #ffffff;
    --off-white:   #f7f8fc;
    --ai-bg:       #0a0a0a;
    --ai-surface:  #1a1a1a;
    --ai-border:   rgba(255,255,255,0.10);
    --shadow-md:   0 8px 32px rgba(15,43,102,0.12);
    --shadow-lg:   0 24px 64px rgba(0,0,0,0.25);
  }
  
  /* ── Reset ─────────────────────────────────────────────── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--white);
    color: var(--ink);
    font-family: 'DM Sans', system-ui, sans-serif;
    overflow-x: clip;
  }
  img { display: block; max-width: 100%; }
  a { text-decoration: none; }
  
  .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
  }
  
  /* ── Buttons ────────────────────────────────────────────── */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 26px;
    border-radius: 999px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.18s ease;
    white-space: nowrap;
  }
  .btn--primary {
    background: var(--brand-blue);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(15,43,102,0.25);
  }
  .btn--primary:hover {
    background: var(--brand-mid);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(15,43,102,0.30);
  }
  
  /* =========================================================
     HEADER
     ========================================================= */
  
  #site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
    border-bottom: 1px solid transparent;
  }
  
  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
  
  /* Header brand — logo image, hidden on AI section, shown when scrolled */
  .header-brand {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
  }
  
  .header-brand-logo {
    height: 52px;
    width: auto;
    display: block;
  }
  
  #site-header.scrolled .header-brand {
    opacity: 1;
    pointer-events: auto;
  }
  
  /* AI section — "Kassandra AI" top-left label */
  
  
  /* About cards sub-section */
  .about-cards-header {
    margin-top: 4rem;
    margin-bottom: 1.5rem;
  }
  
  .about-cards-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 0.3rem;
  }
  
  .about-cards-sub {
    font-size: 0.9rem;
    color: var(--muted);
  }
  
  /* On dark AI section: hide header logo, shown in hero instead */
  .header-logo {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
  }
  
  .header-logo img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.88;
    transition: filter 0.3s, opacity 0.3s, height 0.3s;
  }
  
  #site-header.scrolled .header-logo {
    opacity: 1;
    pointer-events: auto;
  }
  
  #site-header.scrolled .header-logo img {
    filter: none;
    opacity: 1;
    height: 80px;
  }
  
  .header-nav {
    display: flex;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  
  .header-nav a {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255,255,255,0.60);
    transition: color 0.18s;
  }
  .header-nav a:hover { color: var(--white); }
  
  .header-cta {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    border: 1.5px solid rgba(255,255,255,0.22);
    padding: 7px 18px;
    border-radius: 999px;
    transition: all 0.18s, opacity 0.3s;
    opacity: 0;
    pointer-events: none;
  }
  .header-cta:hover {
    background: rgba(255,255,255,0.08);
    color: var(--white);
  }
  
  /* Show sign in only when about section is visible */
  #site-header.show-signin .header-cta {
    opacity: 1;
    pointer-events: auto;
  }
  
  #site-header.scrolled {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--line);
    box-shadow: 0 1px 20px rgba(15,43,102,0.08);
  }
  #site-header.scrolled .header-inner {
    height: 68px;
  }
  #site-header.scrolled .header-nav {
    opacity: 1;
    pointer-events: auto;
  }
  #site-header.scrolled .header-nav a {
    color: rgba(18,24,38,0.60);
  }
  #site-header.scrolled .header-nav a:hover { color: var(--brand-blue); }
  #site-header.scrolled .header-cta {
    color: var(--brand-blue);
    border-color: rgba(15,43,102,0.22);
  }
  #site-header.scrolled .header-cta:hover {
    background: rgba(15,43,102,0.06);
  }
  
  /* =========================================================
     SEGMENT 1 — AI HERO
     ========================================================= */
  
  #segment-ai {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--ai-bg);
    overflow: hidden;
  }
  
  /* Subtle background orbs */
  .ai-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }
  
  .ai-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.6;
  }
  
  .ai-orb--1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, #0d1f4a 0%, transparent 70%);
    top: -200px; left: -200px;
    animation: orbFloat1 20s ease-in-out infinite;
  }
  .ai-orb--2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #0a1530 0%, transparent 70%);
    bottom: -150px; right: -100px;
    animation: orbFloat2 24s ease-in-out infinite;
  }
  .ai-orb--3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #111827 0%, transparent 70%);
    top: 40%; left: 50%;
    transform: translate(-50%,-50%);
    animation: orbFloat3 18s ease-in-out infinite;
  }
  
  @keyframes orbFloat1 {
    0%,100% { transform: translate(0,0); }
    50%      { transform: translate(40px,-30px); }
  }
  @keyframes orbFloat2 {
    0%,100% { transform: translate(0,0); }
    50%      { transform: translate(-30px,25px); }
  }
  @keyframes orbFloat3 {
    0%,100% { transform: translate(-50%,-50%); }
    50%      { transform: translate(calc(-50% + 25px), calc(-50% - 20px)); }
  }
  
  .ai-grain {
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 256px 256px;
  }
  
  /* Center content */
  .ai-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 100px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
  }
  
  .ai-hero-logo {
    display: flex;
    justify-content: center;
    animation: fadeUp 0.6s ease both;
  }
  
  .ai-hero-logo img {
    height: 110px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.90;
  }
  
  .ai-hero-title {
    font-family: 'Sora', system-ui, sans-serif;
    font-size: clamp(1.2rem, 2.2vw, 1.65rem);
    font-weight: 500;
    color: var(--white);
    text-align: center;
    letter-spacing: -0.03em;
    line-height: 1.2;
    animation: fadeUp 0.6s ease both;
  }
  
  /* Input box — ChatGPT style */
  .ai-input-box {
    width: 100%;
    flex-shrink: 0;
    background: var(--ai-surface);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 48px rgba(0,0,0,0.5);
    animation: fadeUp 0.6s 0.1s ease both;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .ai-input-box:focus-within {
    border-color: rgba(255,255,255,0.20);
    box-shadow: 0 8px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
  }
  
  /* When chat is active — input-box locks to a fixed size filling the segment */
  .ai-hero-inner.chat-active {
    max-width: 1200px;
    width: 100%;
    padding: 20px 48px 32px;
    gap: 0.75rem;
  }
  .ai-hero-inner.chat-active .ai-input-box {
    display: flex;
    flex-direction: column;
    height: 88vh;
    max-height: 88vh;
    border-radius: 20px;
    overflow: hidden;
  }
  
  /* Chat messages area — hidden when empty */
  .ai-chat-window {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1.4rem 0.5rem;
    overflow-y: auto;
    scroll-behavior: smooth;
  }
  
  .ai-chat-window.has-messages {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow-y: scroll;
    flex-direction: column-reverse;
    overscroll-behavior: contain;
  }
  
  /* Logo — shrinks into top-center of the chat box when active */
  .ai-hero-logo {
    overflow: hidden;
    max-height: 200px;
  }
  .ai-hero-inner.chat-active .ai-hero-logo {
    opacity: 1;
    max-height: 60px;
    margin: 0;
  }
  .ai-hero-inner.chat-active .ai-hero-logo img {
    height: 46px;
    opacity: 0.55;
  }
  
  /* Title — hide when chat is active */
  .ai-hero-title {
    overflow: hidden;
    max-height: 120px;
  }
  .ai-hero-inner.chat-active .ai-hero-title {
    opacity: 0;
    max-height: 0;
    margin: 0;
  }
  /* Kassandra-Helen brand — hide when chat is active */
  /* kassandra-helen-brand stays visible — it is outside ai-hero-inner */
  
  .ai-chat-window::-webkit-scrollbar { width: 3px; }
  .ai-chat-window::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.08);
    border-radius: 99px;
  }
  
  /* Messages */
  .ai-message {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    animation: msgIn 0.2s ease forwards;
  }
  @keyframes msgIn {
    from { opacity:0; transform:translateY(4px); }
    to   { opacity:1; transform:translateY(0); }
  }
  
  .ai-message--user { flex-direction: row-reverse; }
  
  .ai-avatar {
    width: 28px; height: 28px;
    border-radius: 7px;
    background: linear-gradient(135deg, #2a52b8, #1a3a8a);
    border: 1px solid rgba(255,255,255,0.10);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.56rem;
    color: var(--white);
    flex-shrink: 0;
  }
  .ai-message--user .ai-avatar {
    background: rgba(255,255,255,0.10);
    font-size: 0.5rem;
  }
  
  .ai-bubble {
    max-width: 78%;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.65;
  }
  .ai-message--assistant .ai-bubble {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.07);
    border-top-left-radius: 3px;
    color: rgba(255,255,255,0.85);
  }
  .ai-message--user .ai-bubble {
    background: rgba(42,82,184,0.25);
    border: 1px solid rgba(42,82,184,0.35);
    border-top-right-radius: 3px;
    color: var(--white);
  }
  .ai-bubble p { margin: 0; }
  
  /* Streaming cursor */
  .ai-cursor {
    display: inline-block;
    width: 2px; height: 0.82em;
    background: rgba(255,255,255,0.6);
    margin-left: 2px;
    vertical-align: text-bottom;
    border-radius: 1px;
    animation: blink 0.65s step-end infinite;
  }
  @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
  
  /* Thinking block */
  .ai-thinking-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    border-top-left-radius: 3px;
    min-width: 200px;
    max-width: 320px;
  }
  .ai-thinking-header { display: flex; align-items: center; gap: 0.45rem; }
  .ai-thinking-spinner {
    width: 11px; height: 11px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.10);
    border-top-color: rgba(255,255,255,0.50);
    animation: spin 0.75s linear infinite;
    flex-shrink: 0;
  }
  @keyframes spin { to { transform: rotate(360deg); } }
  .ai-thinking-label {
    font-size: 0.68rem;
    font-weight: 500;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .ai-thinking-steps { display: flex; flex-direction: column; gap: 0.3rem; }
  .ai-thinking-step { display: flex; align-items: center; gap: 0.45rem; padding: 0.15rem 0; }
  .ai-step-icon { font-size: 0.65rem; color: rgba(255,255,255,0.35); width: 13px; text-align: center; flex-shrink: 0; }
  .ai-step-label { font-size: 0.74rem; color: rgba(255,255,255,0.55); flex: 1; }
  .ai-step-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
    animation: stepPulse 1.2s ease-in-out infinite;
  }
  .ai-thinking-step--done .ai-step-icon { color: rgba(74,222,128,0.8); }
  .ai-thinking-step--done .ai-step-label { color: rgba(255,255,255,0.25); }
  .ai-thinking-step--done .ai-step-dot { background: rgba(74,222,128,0.4); animation: none; }
  @keyframes stepPulse {
    0%,100% { opacity:0.3; transform:scale(0.8); }
    50%      { opacity:1;   transform:scale(1.2); }
  }
  
  /* Composer row */
  .ai-composer {
    display: flex;
    align-items: flex-end;
    gap: 0.6rem;
    padding: 0.9rem 0.9rem 0.9rem 1.4rem;
    transition: padding 0.2s;
    flex-shrink: 0;
  }
  
  .ai-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: var(--white);
    caret-color: rgba(255,255,255,0.7);
    min-height: 28px;
    max-height: 200px;
    line-height: 1.6;
    resize: none;
    overflow-y: auto;
    display: block;
    width: 100%;
    padding: 0;
    scrollbar-width: none;
  }
  .ai-input::-webkit-scrollbar { display: none; }
  .ai-input::placeholder { color: rgba(255,255,255,0.30); }
  
  .ai-send-btn {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.60);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.18s, color 0.18s, transform 0.15s;
  }
  .ai-send-btn:hover {
    background: rgba(255,255,255,0.20);
    color: var(--white);
  }
  .ai-send-btn.active {
    background: var(--white);
    color: var(--ai-bg);
    border-color: var(--white);
  }
  .ai-send-btn:active { transform: scale(0.92); }
  .ai-send-btn:disabled { opacity:0.3; cursor:not-allowed; transform:none; }
  
  /* Font size toggle button */
  .ai-font-toggle {
    height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.55);
    font-family: 'Sora', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    display: flex; align-items: center; justify-content: center;
    white-space: nowrap; gap: 5px;
  }
  .ai-font-toggle:hover { background: rgba(255,255,255,0.13); color: rgba(255,255,255,0.85); }
  .ai-font-toggle.size-active {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
  }
  
  /* Font size steps applied to chat window */
  .ai-chat-window.text-sm  .ai-bubble { font-size: 1rem;   line-height: 1.7; padding: 1rem 1.25rem; }
  .ai-chat-window.text-md  .ai-bubble { font-size: 1.35rem; line-height: 1.65; padding: 1.1rem 1.35rem; }
  .ai-chat-window.text-lg  .ai-bubble { font-size: 1.7rem;  line-height: 1.6;  padding: 1.15rem 1.4rem; }
  .ai-chat-window.text-xl  .ai-bubble { font-size: 2rem;    line-height: 1.6;  padding: 1.2rem 1.5rem; }
  
  .ai-chat-window.text-md .ai-step-label, .ai-chat-window.text-md .ai-thinking-label { font-size: 1.1rem; }
  .ai-chat-window.text-lg .ai-step-label, .ai-chat-window.text-lg .ai-thinking-label { font-size: 1.3rem; }
  .ai-chat-window.text-xl .ai-step-label, .ai-chat-window.text-xl .ai-thinking-label { font-size: 1.5rem; }
  
  .ai-disclaimer {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.18);
    text-align: center;
    padding: 0 1.4rem 0.85rem;
  }
  
  /* Suggestion chips */
  .ai-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
    animation: fadeUp 0.6s 0.2s ease both;
  }
  
  .ai-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.65);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
    white-space: nowrap;
  }
  .ai-chip:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.25);
    color: var(--white);
  }
  
  .chip-icon { font-size: 0.85rem; }
  
  /* Peek cards at the bottom of the AI section */
  .ai-peek {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0 24px;
    pointer-events: none;
    z-index: 1;
  }
  
  .peek-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    width: 160px;
    padding: 1.1rem 1rem 1.4rem;
    background: var(--white);
    border-radius: 16px 16px 0 0;
    border: 1px solid var(--line);
    border-bottom: none;
    box-shadow: 0 -4px 24px rgba(15,43,102,0.08);
  }
  
  .peek-label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--muted);
  }
  
  .peek-num {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--brand-blue);
    line-height: 1;
  }
  
  /* Animations */
  @keyframes fadeUp {
    from { opacity:0; transform: translateY(20px); }
    to   { opacity:1; transform: translateY(0); }
  }
  
  /* =========================================================
     FLOATING BACK-TO-AI BUTTON
     ========================================================= */
  
  #back-to-ai {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 300;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 10px 18px 10px 14px;
    border-radius: 999px;
    background: var(--brand-blue);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(15,43,102,0.35);
    border: 1px solid rgba(255,255,255,0.12);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s, background 0.18s;
  }
  
  #back-to-ai.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  
  #back-to-ai:hover {
    background: var(--brand-mid);
    box-shadow: 0 6px 24px rgba(15,43,102,0.45);
  }
  
  #back-to-ai svg { flex-shrink: 0; }
  
  /* =========================================================
     SECTION GLOW — blue edge glow when section is active
     ========================================================= */
  
  #segment-hero,
  #segment-practitioners,
  #segment-about,
  #segment-bottom {
    position: relative;
    transition: box-shadow 0.6s ease;
  }
  
  #segment-hero::after,
  #segment-practitioners::after,
  #segment-about::after,
  #segment-bottom::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 0px 0px rgba(15,43,102,0);
    transition: box-shadow 0.7s ease;
    z-index: 0;
  }
  
  #segment-hero.in-view::after,
  #segment-practitioners.in-view::after,
  #segment-about.in-view::after,
  #segment-bottom.in-view::after {
    box-shadow:
      inset 4px 0 80px -20px rgba(15,43,102,0.18),
      inset -4px 0 80px -20px rgba(15,43,102,0.18),
      inset 0 4px 60px -20px rgba(15,43,102,0.10),
      inset 0 -4px 60px -20px rgba(15,43,102,0.10);
  }
  
  /* Ensure content inside sections sits above the glow */
  #segment-hero .wrap,
  #segment-practitioners .section-header,
  #segment-practitioners .card-strip,
  #segment-about .wrap,
  #segment-bottom .wrap {
    position: relative;
    z-index: 1;
  }
  
  /* =========================================================
     SEGMENT 2 — TAGLINE
     ========================================================= */
  
  #segment-hero {
    background: var(--white);
    padding: 90px 0 80px;
    border-top: 1px solid var(--line);
  }
  
  .hero-text-block {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
  }
  
  .hero-title {
    font-family: 'Sora', system-ui, sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--ink);
    line-height: 1.08;
    margin-bottom: 1.1rem;
  }
  
  .hero-title-accent { color: var(--brand-blue); }
  
  .hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.75;
    max-width: 54ch;
    margin: 0 auto;
  }
  
  /* =========================================================
     SEGMENT 3 — PRACTITIONERS CAROUSEL
     ========================================================= */
  
  #segment-practitioners {
    padding: 80px 0 60px;
    background: var(--off-white);
    border-top: 1px solid var(--line);
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .section-heading {
    font-family: 'Sora', system-ui, sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 0.35rem;
  }
  
  .section-sub {
    font-size: 0.92rem;
    color: var(--muted);
  }
  
  /* Card strip */
  .card-strip {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 16px 32px 32px;
    scroll-padding-left: 32px;
  }
  
  .card-strip::-webkit-scrollbar { height: 3px; }
  .card-strip::-webkit-scrollbar-track { background: transparent; }
  .card-strip::-webkit-scrollbar-thumb {
    background: rgba(15,43,102,0.15);
    border-radius: 999px;
  }
  
  .card-strip--carousel .card-item {
    flex: 0 0 auto;
    width: 700px;
    height: 310px;
    scroll-snap-align: center;
    border-radius: 22px;
    overflow: hidden;
  }
  
  .card-strip--carousel .card-item > .hero-slide { width:100%; height:100%; }
  
  .hero-slide.hero-slide--v3 {
    width: 100%; height: 100%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
    border-radius: 22px;
    border: 1px solid rgba(15,43,102,0.10);
    box-shadow: 0 10px 36px rgba(15,43,102,0.10);
    background:
      radial-gradient(800px 400px at 10% 15%, rgba(255,255,255,0.07), transparent 55%),
      linear-gradient(135deg, #07184f, #040d2a);
    color: var(--white);
  }
  
  .hero-v3-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    min-width: 0;
    padding: 24px 26px 20px;
  }
  
  .hero-v3-name {
    margin: 0;
    font-family: 'Sora', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--white);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  
  .hero-v3-role {
    display: inline-flex;
    width: fit-content;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255,255,255,0.82);
  }
  
  .hero-v3-summary {
    margin: 2px 0 0;
    color: rgba(255,255,255,0.58);
    line-height: 1.65;
    font-size: 0.86rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    min-height: calc(1.65em * 4);
  }
  
  .hero-v3-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 4px;
    justify-content: center;
    width: 100%;
  }
  
  .hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 32px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.22);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
  }
  .hero-btn:hover { background: rgba(255,255,255,0.16); color: var(--white); }
  .hero-btn.hero-btn-solid {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.26);
  }
  .hero-btn.hero-btn-solid:hover { background: rgba(255,255,255,0.20); }
  
  .hero-v3-right {
    height: 100%; width: 100%;
    overflow: hidden;
    border-left: 1px solid rgba(255,255,255,0.07);
  }
  .hero-v3-right img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }
  
  @media (max-width:900px) {
    .card-strip--carousel .card-item { width: 88vw; height: 330px; }
    .hero-slide.hero-slide--v3 { grid-template-columns: 1fr; }
    .hero-v3-right { border-left: none; border-top: 1px solid rgba(255,255,255,0.07); height: 140px; }
  }
  
  /* =========================================================
     SEGMENT 4 — ABOUT
     ========================================================= */
  
  #segment-about {
    padding: 90px 32px;
    background: var(--white);
    border-top: 1px solid var(--line);
  }
  
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 5.5rem;
    align-items: start;
  }
  
  .about-eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-blue);
    opacity: 0.7;
    margin-bottom: 0.85rem;
  }
  
  .about-heading {
    font-family: 'Sora', system-ui, sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--ink);
    line-height: 1.1;
  }
  
  .about-body {
    font-size: 0.97rem;
    color: rgba(18,24,38,0.65);
    line-height: 1.85;
    margin-bottom: 1.1rem;
  }
  
  /* =========================================================
     SEGMENT 5 — BOTTOM
     ========================================================= */
  
  #segment-bottom {
    padding: 70px 0;
    background: var(--off-white);
    border-top: 1px solid var(--line);
  }
  
  .blank {
    height: 180px;
    border-radius: 18px;
    border: 1px dashed rgba(0,0,0,0.12);
    background: rgba(0,0,0,0.015);
  }
  
  /* =========================================================
     PRODUCT CARDS
     ========================================================= */
  
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .product-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
  }
  .product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
  .product-card--highlight {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 2px rgba(15,43,102,0.12);
  }
  
  .product-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    background: #eef0f5;
  }
  
  .product-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--ink);
    margin: 0.7rem 0.85rem 0.2rem;
    line-height: 1.35;
  }
  
  .product-desc {
    font-size: 0.76rem;
    color: var(--muted);
    margin: 0 0.85rem 0.5rem;
    line-height: 1.5;
  }
  
  .product-btn {
    display: block;
    margin: auto 0.85rem 0.85rem;
    padding: 0.42rem 0.85rem;
    background: var(--brand-blue);
    color: var(--white);
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 500;
    text-align: center;
    transition: background 0.15s;
  }
  .product-btn:hover { background: var(--brand-mid); }
  
  /* =========================================================
     MODAL
     ========================================================= */
  
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.50);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    backdrop-filter: blur(4px);
  }
  .modal-overlay.active { display: flex; }
  
  .modal-box {
    background: var(--white);
    width: min(780px, 92vw);
    border-radius: 24px;
    padding: 36px;
    position: relative;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 40px 100px rgba(0,0,0,0.22);
  }
  
  .modal-close {
    position: absolute;
    top: 14px; right: 18px;
    font-size: 26px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--muted);
    line-height: 1;
    transition: color 0.18s;
  }
  .modal-close:hover { color: var(--ink); }
  
  .modal-box h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--brand-blue);
    margin-bottom: 0.3rem;
  }
  
  .modal-signin {
    font-size: 0.82rem;
    color: var(--muted);
    display: block;
    margin-bottom: 1.25rem;
  }
  .modal-signin:hover { color: var(--ink); }
  
  .profile-form { margin-top: 0; }
  .form-row { display: grid; gap: 12px; margin-top: 12px; }
  .form-row.two { grid-template-columns: 1fr 1fr; }
  .form-row.one { grid-template-columns: 1fr; }
  @media (max-width:560px) { .form-row.two { grid-template-columns: 1fr; } }
  
  .profile-form input,
  .profile-form select,
  .profile-form textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.13);
    background: #fafbfc;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--ink);
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s;
  }
  .profile-form input:focus,
  .profile-form select:focus,
  .profile-form textarea:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(15,43,102,0.08);
    background: var(--white);
  }
  .profile-form textarea { margin-top: 12px; resize: vertical; }
  .profile-form select { margin-top: 12px; appearance: none; }
  
  .submit-btn {
    margin-top: 16px;
    width: 100%;
    background: var(--brand-blue);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.18s;
  }
  .submit-btn:hover { background: var(--brand-mid); }
  
  /* =========================================================
     LOGIN PAGE
     ========================================================= */
  
  .login-page {
    min-height: calc(100vh - 64px);
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--off-white);
    padding: 2rem 1rem;
  }
  
  .login-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    width: 340px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
  }
  
  .login-form h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--brand-blue);
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  .input-group { margin-bottom: 1rem; }
  .input-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    color: var(--muted);
  }
  .input-group input {
    width: 100%;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(0,0,0,0.13);
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.18s;
  }
  .input-group input:focus { border-color: var(--brand-blue); }
  
  .login-btn {
    width: 100%;
    padding: 0.72rem;
    border: none;
    background: var(--brand-blue);
    color: var(--white);
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.18s;
  }
  .login-btn:hover { background: var(--brand-mid); }
  
  .login-message {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.88rem;
    color: var(--muted);
  }
  
  /* =========================================================
     RESPONSIVE
     ========================================================= */
  
  @media (max-width: 768px) {
    #site-header { padding: 0; }
    .header-inner { padding: 0 20px; }
    .header-nav { display: none; }
    .ai-hero-inner { padding: 80px 16px 36px; gap: 1.35rem; }
    .ai-hero-title { font-size: clamp(1.5rem, 6vw, 2rem); }
    .ai-chips { gap: 0.4rem; }
    .ai-chip { font-size: 0.76rem; padding: 0.42rem 0.85rem; }
    .ai-peek { gap: 0.5rem; }
    .peek-card { width: 110px; padding: 0.85rem 0.75rem 1.1rem; }
    #segment-hero { padding: 70px 0 60px; }
    #segment-about { padding: 70px 20px; }
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .section-header { padding: 0 20px; }
    .card-strip { padding: 16px 20px 32px; }
    #back-to-ai { bottom: 20px; right: 20px; }
  }
  
  /* =========================================================
     FOOTER
     ========================================================= */
  
  footer#segment-bottom {
    background: #ffffff;
    border-top: 1px solid var(--line);
  }
  
  .footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 3rem;
    padding: 60px 22px 50px;
    align-items: start;
  }
  
  .footer-brand img {
    width: 110px;
    height: auto;
    display: block;
  }
  
  .footer-col-title {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 1.1rem;
    letter-spacing: -0.01em;
  }
  
  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
  }
  .footer-links a {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.18s;
  }
  .footer-links a:hover { color: var(--brand-blue); }
  
  .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.5;
  }
  .footer-contact-row strong {
    color: var(--ink);
    font-weight: 700;
  }
  .footer-icon {
    flex-shrink: 0;
    font-size: 0.9rem;
    margin-top: 1px;
    color: var(--brand-blue);
  }
  .footer-contact-row a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.18s;
  }
  .footer-contact-row a:hover { color: var(--brand-blue); }
  
  .footer-bottom {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 20px 22px;
    border-top: 1px solid var(--line);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    color: var(--muted);
  }
  .footer-bottom a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.18s;
  }
  .footer-bottom a:hover { color: var(--brand-blue); }
  
  .footer-disclaimer {
    padding: 28px 22px 48px;
  }
  .footer-disclaimer p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.84rem;
    line-height: 1.75;
    color: rgba(18,24,38,0.52);
    margin: 0 0 1rem;
  }
  .footer-disclaimer p:last-child { margin-bottom: 0; }
  .footer-disclaimer a {
    color: var(--brand-blue);
    text-decoration: underline;
  }
  
  @media (max-width: 860px) {
    .footer-main { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
    .footer-brand { grid-column: 1 / -1; }
  }
  @media (max-width: 520px) {
    .footer-main { grid-template-columns: 1fr; }
  }
  
  /* =========================================================
     STATS BAR
     ========================================================= */
  
  .hero-tagline-block {
    text-align: center;
    padding-top: 72px;
    padding-bottom: 0;
  }
  
  .stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 48px auto 0;
    padding: 36px 40px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(15,43,102,0.07);
    max-width: 860px;
  }
  
  .stat-item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  
  .stat-number-row {
    display: flex;
    align-items: baseline;
    gap: 2px;
  }
  
  .stat-number {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--brand-blue);
    letter-spacing: -0.04em;
    line-height: 1;
  }
  
  .stat-suffix {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 700;
    color: var(--brand-blue);
    line-height: 1;
  }
  
  .stat-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  
  .stat-divider {
    width: 1px;
    height: 52px;
    background: var(--line);
    flex-shrink: 0;
    margin: 0 8px;
  }
  
  /* Section header above carousel */
  .section-header {
    padding-top: 60px;
    padding-bottom: 4px;
  }
  
  .section-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 0.4rem;
    letter-spacing: -0.03em;
  }
  
  .section-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: var(--muted);
    margin: 0;
  }
  
  @media (max-width: 640px) {
    .stats-bar {
      flex-wrap: wrap;
      gap: 28px;
      padding: 28px 24px;
    }
    .stat-divider { display: none; }
    .stat-item { flex: 0 0 42%; }
  }
  
  /* =========================================================
     HOME — SPLIT LAYOUT (image collage + text)
     ========================================================= */
  
  #segment-hero {
    background: #ffffff;
    padding-bottom: 70px;
  }
  
  .hero-tagline-block {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 60px;
  }
  
  /* Override existing hero-title size for home */
  #segment-hero .hero-title {
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.06;
    color: var(--ink);
    margin: 0;
  }
  #segment-hero .hero-title-accent {
    color: var(--ink);
  }
  
  /* Two-column split */
  .hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding-bottom: 64px;
  }
  
  /* ---- Collage ---- */
  .hero-collage {
    position: relative;
    height: 520px;
  }
  
  .collage-img {
    position: absolute;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.13);
  }
  
  .collage-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .collage-img--back {
    width: 68%;
    height: 68%;
    top: 0;
    right: 0;
  }
  
  .collage-img--front {
    width: 52%;
    height: 58%;
    bottom: 60px;
    left: 0;
    border: 4px solid #ffffff;
    z-index: 2;
  }
  
  /* Mock screen card at bottom */
  .collage-screen {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 56%;
    background: var(--brand-blue);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 36px rgba(15,43,102,0.22);
    z-index: 3;
  }
  
  .collage-screen-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
  }
  
  .collage-screen-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
  }
  
  /* ---- Right text col ---- */
  .hero-text-col {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }
  
  .hero-text-body {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(18,24,38,0.72);
    margin: 0;
  }
  
  .hero-text-body strong {
    color: var(--brand-blue);
    font-weight: 600;
  }
  
  .hero-join-btn {
    margin-top: 0.5rem;
    align-self: flex-start;
  }
  
  /* ---- Carousel centered ---- */
  .section-header--center {
    text-align: center;
  }
  
  .section-header--center .section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  }
  
  .card-strip--centered {
    padding-left: 32px;
    padding-right: 32px;
  }
  
  /* ---- Responsive ---- */
  @media (max-width: 900px) {
    .hero-split {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    .hero-collage {
      height: 340px;
    }
    .collage-img--front {
      bottom: 30px;
    }
  }
  
  @media (max-width: 600px) {
    .hero-collage { display: none; }
    .hero-tagline-block { padding-top: 52px; padding-bottom: 36px; }
  }
  
  /* =========================================================
     HOME — HERO TAGLINE + VALUE CARDS
     ========================================================= */
  
  #segment-hero {
    background: #ffffff;
    padding-bottom: 80px;
    overflow: visible;
  }
  
  .hero-tagline-block {
    text-align: center;
    padding-top: 88px;
    padding-bottom: 56px;
  }
  
  #segment-hero .hero-title {
    font-size: clamp(2.6rem, 5.5vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
    color: var(--ink);
    margin: 0 0 1.25rem;
  }
  
  #segment-hero .hero-title-accent {
    color: var(--ink);
  }
  
  .hero-intro {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--muted);
    max-width: 62ch;
    margin: 0 auto;
  }
  
  /* Three value cards */
  .value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 72px;
  }
  
  .value-card {
    background: #f8f9fc;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: box-shadow 0.2s, transform 0.2s;
  }
  
  .value-card:hover {
    box-shadow: 0 12px 36px rgba(15,43,102,0.09);
    transform: translateY(-3px);
  }
  
  .value-icon {
    font-size: 2rem;
    line-height: 1;
  }
  
  .value-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.02em;
  }
  
  .value-body {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.94rem;
    line-height: 1.75;
    color: var(--muted);
    margin: 0;
  }
  
  /* Carousel section header */
  .section-header--center {
    text-align: center;
    padding-top: 0;
    padding-bottom: 8px;
  }
  
  .section-header--center .section-title {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
  }
  
  .card-strip--centered {
    padding-left: 32px;
    padding-right: 32px;
  }
  
  /* =========================================================
     ABOUT — FEATURE ROWS
     ========================================================= */
  
  #segment-about {
    background: var(--brand-blue);
    padding: 80px 0 72px;
  }
  
  .about-hero {
    text-align: center;
    margin-bottom: 56px;
  }
  
  #segment-about .about-eyebrow {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 14px;
  }
  
  .about-heading {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #ffffff;
    margin: 0 0 1rem;
  }
  
  .about-lead {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.65);
    max-width: 56ch;
    margin: 0 auto;
  }
  
  /* Feature rows */
  .about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 48px;
  }
  
  .about-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 36px 32px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s;
  }
  
  .about-feature:hover {
    background: rgba(255,255,255,0.1);
  }
  
  .about-feature-icon {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
  }
  
  .about-feature-text h4 {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
  }
  
  .about-feature-text p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.93rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.62);
    margin: 0;
  }
  
  /* CTA row */
  .about-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  
  .btn--ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.25);
    background: transparent;
    transition: background 0.18s, color 0.18s;
    cursor: pointer;
  }
  .btn--ghost:hover {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
  }
  
  /* Make primary button visible on dark bg */
  #segment-about .btn--primary {
    background: #ffffff;
    color: var(--brand-blue);
  }
  #segment-about .btn--primary:hover {
    background: rgba(255,255,255,0.9);
  }
  
  /* Responsive */
  @media (max-width: 860px) {
    .value-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
  }
  
  @media (max-width: 600px) {
    .hero-tagline-block { padding-top: 56px; padding-bottom: 40px; }
    .about-feature { padding: 28px 20px; }
  }
  
  /* =========================================================
     AI STORIES GRID (What Kassandra AI can do)
     ========================================================= */
  
  .ai-stories-section {
    padding: 72px 22px 80px;
  }
  
  .ai-stories-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 28px;
  }
  
  .ai-stories-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.03em;
  }
  
  .ai-stories-viewall {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brand-blue);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.18s;
  }
  .ai-stories-viewall:hover { opacity: 0.7; }
  
  .ai-stories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }
  
  .ai-story-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
  }
  
  .ai-story-img {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.22s, box-shadow 0.22s;
  }
  
  .ai-story-card:hover .ai-story-img {
    transform: scale(1.03);
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  }
  
  .ai-story-emoji {
    font-size: 3rem;
    position: relative;
    z-index: 1;
  }
  
  /* Each card gets its own dark gradient colour */
  .ai-story-img--practitioners {
    background: linear-gradient(160deg, #0f2b66 0%, #1a4a8a 100%);
  }
  .ai-story-img--products {
    background: linear-gradient(160deg, #1a3a5c 0%, #2a6496 100%);
  }
  .ai-story-img--workshops {
    background: linear-gradient(160deg, #0d3b3b 0%, #1a6b5a 100%);
  }
  .ai-story-img--collab {
    background: linear-gradient(160deg, #2d1b4e 0%, #5b2d8e 100%);
  }
  .ai-story-img--specialty {
    background: linear-gradient(160deg, #1a2a0d 0%, #3a6b1a 100%);
  }
  .ai-story-img--mental {
    background: linear-gradient(160deg, #3b1a0d 0%, #8b3a1a 100%);
  }
  
  .ai-story-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    color: var(--ink);
    margin: 0;
    line-height: 1.45;
  }
  
  /* Responsive */
  @media (max-width: 1024px) {
    .ai-stories-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 640px) {
    .ai-stories-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-stories-header { flex-direction: column; gap: 8px; }
  }
  
  /* ═══════════════════════════════════════════════════════════
     SMART CARDS — workshop / product cards injected in chat
     ═══════════════════════════════════════════════════════════ */
  .smart-cards-block {
    padding: 0 0 4px;
    animation: msgIn 0.22s ease forwards;
  }
  
  .smart-cards-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 10px;
  }
  
  .smart-cards-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .smart-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    padding: 14px 16px;
    transition: border-color 0.15s;
  }
  .smart-card:hover { border-color: rgba(255,255,255,0.22); }
  
  .smart-card--event   { border-left: 3px solid rgba(13,122,95,0.7); }
  .smart-card--product { border-left: 3px solid rgba(124,58,237,0.7); }
  
  .smart-card-img {
    width: 52px; height: 52px;
    border-radius: 10px; overflow: hidden; flex-shrink: 0;
  }
  .smart-card-img img { width: 100%; height: 100%; object-fit: cover; }
  
  .smart-card-body { flex: 1; min-width: 0; }
  
  .smart-card-type {
    display: block;
    font-size: 0.6rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 3px;
  }
  
  .smart-card-title {
    font-size: 0.95rem; font-weight: 700;
    color: rgba(255,255,255,0.92);
    line-height: 1.3; margin-bottom: 3px;
  }
  
  .smart-card-desc {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.50);
    line-height: 1.5; margin-bottom: 6px;
  }
  
  .smart-card-meta {
    display: flex; gap: 12px; flex-wrap: wrap;
  }
  
  .smart-card-who,
  .smart-card-date {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.40);
  }
  
  .smart-card-actions {
    display: flex; flex-direction: column;
    gap: 6px; flex-shrink: 0;
  }
  
  .smart-card-btn {
    font-size: 0.72rem; font-weight: 700;
    padding: 6px 14px; border-radius: 99px;
    text-decoration: none; white-space: nowrap;
    text-align: center; transition: opacity 0.15s;
  }
  .smart-card-btn:hover { opacity: 0.82; }
  
  .smart-card-btn--primary {
    background: rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.95);
    border: 1px solid rgba(255,255,255,0.20);
  }
  .smart-card--event .smart-card-btn--primary {
    background: rgba(13,122,95,0.25);
    border-color: rgba(13,122,95,0.45);
    color: #6ee7c7;
  }
  .smart-card--product .smart-card-btn--primary {
    background: rgba(124,58,237,0.22);
    border-color: rgba(124,58,237,0.45);
    color: #c4b5fd;
  }
  
  .smart-card-btn--ghost {
    background: transparent;
    color: rgba(255,255,255,0.40);
    border: 1px solid rgba(255,255,255,0.10);
    font-size: 0.68rem;
  }
  
  /* ── TEMP DEV BUTTON — remove before going live ── */
  .temp-dev-btn {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 9999;
    background: #e11d48;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem; font-weight: 800;
    letter-spacing: 0.12em;
    padding: 8px 14px;
    border-radius: 99px;
    opacity: 0.75;
    transition: opacity 0.15s;
    text-decoration: none;
  }
  .temp-dev-btn:hover { opacity: 1; }
  
  /* ── Workshop smart card line format ── */
  .smart-card-workshop-line {
    font-size: 0.88rem;
    line-height: 1.6;
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px;
  }
  .smart-card-practitioner-link {
    font-weight: 800;
    color: var(--brand-blue, #0F2B66);
    text-decoration: none;
  }
  .smart-card-practitioner-link:hover { text-decoration: underline; }
  .smart-card-ws-link {
    color: var(--clay, #B76558);
    font-weight: 600;
    text-decoration: none;
  }
  .smart-card-ws-link:hover { text-decoration: underline; }
  .smart-card-sep { color: #aab0be; }
  .smart-card-date-inline {
    font-size: 0.78rem;
    color: #556079;
    font-weight: 500;
  }
  
  /* ── Kassandra-Helen centered brand ── */
  /* Kassandra-Helen — center of header nav row */
  .kassandra-helen-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
  }
  
  .kassandra-helen-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,0.92);
    white-space: nowrap;
    margin: 0;
    line-height: 1;
    transition: color 0.3s;
  }
  
  #site-header.scrolled .kassandra-helen-brand {
    opacity: 0;
    pointer-events: none;
  }
  
  .kassandra-helen-sep {
    color: rgba(255,255,255,0.25);
    font-weight: 300;
  }
  
  .kassandra-helen-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    text-align: center;
    margin: 0.25rem 0 0;
    letter-spacing: 0.01em;
  }