﻿  :root {
    --bg: #FAF9F5;
    --bg-warm: #F4EFE7;
    --bg-card: #FDFCF8;
    --ink: #1F1A1A;
    --ink-soft: #3F3735;
    --muted: #7A6F6B;
    --rule: #E8DFD2;
    --purple: #6B3FA0;
    --purple-deep: #4F2D7A;
    --blush: #D4A0A0;
    --blush-soft: #EBD2CD;
    --gold: #C4A265;
    --gold-soft: #E4D2A8;

    --serif-display: "Playfair Display", "Georgia", serif;
    --serif-body: "Lora", "Georgia", serif;
    --sans: "DM Sans", system-ui, sans-serif;

    --z-below:   -1;
    --z-base:     0;
    --z-content:  1;
    --z-deck:    10;
    --z-nav:     50;

    --space-xs:   8px;
    --space-sm:  16px;
    --space-md:  24px;
    --space-lg:  36px;
    --space-xl:  48px;
    --space-2xl: 64px;
    --space-3xl: 80px;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; overflow-x: hidden; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--serif-body);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  /* Subtle paper texture overlay */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
      radial-gradient(rgba(107, 63, 160, 0.018) 1px, transparent 1px),
      radial-gradient(rgba(196, 162, 101, 0.015) 1px, transparent 1px);
    background-size: 24px 24px, 31px 31px;
    background-position: 0 0, 12px 17px;
    z-index: var(--z-base);
  }

  .wrap {
    width: min(1080px, 92vw);
    margin: 0 auto;
    position: relative;
    z-index: var(--z-content);
  }

  /* ===== Nav ===== */
  .nav {
    position: sticky;
    top: 0;
    z-index: var(--z-nav);
    background: rgba(250, 249, 245, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
  }
  .nav.scrolled {
    border-bottom-color: var(--rule);
  }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
  }
  .brand {
    font-family: var(--serif-display);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--ink);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif-display);
    font-style: italic;
    font-size: 15px;
    color: var(--purple);
    background: var(--bg-card);
  }
  .nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
    font-family: var(--sans);
    font-size: 14.5px;
  }
  .nav-links a {
    color: var(--ink-soft);
    text-decoration: none;
    position: relative;
    padding: 6px 2px;
    transition: color 0.2s ease;
  }
  .nav-links a:hover { color: var(--purple); }
  .nav-links a.active {
    color: var(--purple);
  }
  .nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 1.5px;
    background: var(--gold);
  }
  .nav-cta,
  .nav-links a.nav-cta {
    font-family: var(--sans);
    font-size: 14px;
    padding: 9px 18px;
    background: var(--purple);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .nav-cta:hover,
  .nav-links a.nav-cta:hover { background: var(--purple-deep); color: #fff; }
  .nav-toggle { display: none; }

  /* ===== Hero ===== */
  .hero {
    padding: 120px 0 140px;
    position: relative;
    overflow: hidden;
  }
  .hero-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: var(--z-base);
  }
  .hero-decor .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
  }
  .hero-decor .blob.purple {
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(107, 63, 160, 0.18), transparent 70%);
    top: -180px; right: -120px;
  }
  .hero-decor .blob.blush {
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(212, 160, 160, 0.28), transparent 70%);
    bottom: -160px; left: -120px;
  }
  .hero-decor .blob.gold {
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(196, 162, 101, 0.18), transparent 70%);
    top: 40%; left: 45%;
  }

  .hero-inner {
    position: relative;
    z-index: var(--z-content);
    max-width: 760px;
  }
  .eyebrow {
    font-family: var(--sans);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--purple);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin-bottom: 32px;
  }
  .eyebrow-dot {
    color: var(--gold);
    letter-spacing: 0;
  }
  .eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--gold);
  }
  @keyframes hero-rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0);    }
  }
  @keyframes hero-sweep {
    0%   { transform: translateX(-120%) skewX(-12deg); opacity: 0;   }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { transform: translateX(220%)  skewX(-12deg); opacity: 0;   }
  }
  .hero h1 {
    font-family: var(--serif-display);
    font-weight: 500;
    font-size: clamp(48px, 7vw, 88px);
    line-height: 1.04;
    letter-spacing: -0.015em;
    margin: 0 0 22px;
    color: var(--ink);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
  }
  .hero h1::after {
    content: "";
    position: absolute;
    inset: -10% 0;
    width: 40%;
    background: linear-gradient(
      105deg,
      transparent 0%,
      rgba(255,255,255,0) 20%,
      rgba(255,255,255,0.55) 50%,
      rgba(255,255,255,0) 80%,
      transparent 100%
    );
    animation: hero-sweep 1.4s cubic-bezier(0.4, 0, 0.2, 1) 1.05s both;
    pointer-events: none;
  }
  .hero h1 em {
    font-style: italic;
    color: var(--purple);
    font-weight: 400;
  }
  .hero-role {
    font-family: var(--serif-body);
    font-style: italic;
    font-size: 22px;
    color: var(--ink-soft);
    margin: 0 0 28px;
    letter-spacing: 0.01em;
  }
  .hero-lede {
    font-size: 20px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 560px;
    margin: 0 0 44px;
    text-wrap: pretty;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    padding: 16px 30px;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }
  .btn-primary {
    background: var(--purple);
    color: #fff;
    box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 10px 30px -12px rgba(107, 63, 160, 0.5);
  }
  .btn-primary:hover {
    background: var(--purple-deep);
    transform: translateY(-1px);
  }
  .btn-primary .arrow {
    transition: transform 0.25s ease;
  }
  .btn-primary:hover .arrow { transform: translateX(3px); }
  .btn-secondary {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--rule);
  }
  .btn-secondary:hover {
    border-color: var(--purple);
    color: var(--purple);
  }
  .hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
  }
  .hero-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 64px;
    font-family: var(--sans);
    font-size: 13.5px;
    color: var(--muted);
    letter-spacing: 0.04em;
  }
  .hero-meta .dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--gold);
  }

  /* ===== Section primitives ===== */
  section.block {
    padding: 110px 0;
    position: relative;
    overflow: hidden;
  }
  section.block.warm {
    background: var(--bg-warm);
  }
  section.block.blush {
    background: linear-gradient(180deg, var(--bg) 0%, #F2E4DF 55%, var(--bg) 100%);
  }

  /* ===== Inverted (deep purple) band ===== */
  @keyframes orb-gold {
    0%   { transform: translate(0%,   0%)  scale(1);    }
    33%  { transform: translate(8%,   12%) scale(1.08); }
    66%  { transform: translate(-6%,  20%) scale(0.95); }
    100% { transform: translate(0%,   0%)  scale(1);    }
  }
  @keyframes orb-blush {
    0%   { transform: translate(0%,   0%)   scale(1);   }
    33%  { transform: translate(-10%, -8%)  scale(1.06);}
    66%  { transform: translate(6%,  -18%)  scale(1.1); }
    100% { transform: translate(0%,   0%)   scale(1);   }
  }
  section.invert {
    background: linear-gradient(180deg, #4F2D7A 0%, #3D2160 100%);
    color: #F4ECDA;
    position: relative;
    overflow: hidden;
    padding: 130px 0;
  }
  section.invert::before,
  section.invert::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(72px);
    will-change: transform;
  }
  section.invert::before {
    width: 55%;
    height: 80%;
    top: -20%;
    left: -10%;
    background: radial-gradient(ellipse, rgba(196, 162, 101, 0.28) 0%, transparent 70%);
    animation: orb-gold 16s ease-in-out infinite;
  }
  section.invert::after {
    width: 55%;
    height: 80%;
    bottom: -20%;
    right: -10%;
    background: radial-gradient(ellipse, rgba(212, 140, 140, 0.32) 0%, transparent 70%);
    animation: orb-blush 20s ease-in-out infinite;
  }

  .invert .section-label {
    color: var(--gold-soft);
  }
  .invert .section-label::before { background: var(--gold-soft); }
  .invert .section-head h2 {
    color: #FBF6E9;
  }
  .invert .section-head h2 em {
    color: var(--blush);
  }
  .invert .section-head .kicker {
    color: rgba(244, 236, 218, 0.78);
  }

  .manifesto {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: start;
  }
  .manifesto-quote {
    font-family: var(--serif-display);
    font-weight: 400;
    font-size: clamp(28px, 3.6vw, 46px);
    line-height: 1.22;
    letter-spacing: -0.005em;
    color: #FBF6E9;
    margin: 0;
    text-wrap: pretty;
  }
  .manifesto-quote em {
    font-style: italic;
    color: var(--blush);
    font-weight: 400;
  }
  .manifesto-mark {
    font-family: var(--serif-display);
    font-style: italic;
    font-size: 110px;
    line-height: 0.8;
    color: var(--gold);
    opacity: 0.55;
    margin: 0 0 -10px;
    display: block;
  }

  .tenets {
    display: grid;
    gap: 26px;
  }
  .tenet {
    border-left: 1px solid rgba(228, 210, 168, 0.4);
    padding: 4px 0 4px 22px;
  }
  .tenet h4 {
    font-family: var(--serif-display);
    font-weight: 500;
    font-size: 20px;
    margin: 0 0 6px;
    color: #FBF6E9;
    letter-spacing: 0.005em;
  }
  .tenet h4 .num {
    font-family: var(--serif-display);
    font-style: italic;
    color: var(--gold);
    margin-right: 12px;
    font-weight: 400;
  }
  .tenet p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(244, 236, 218, 0.78);
    margin: 0;
    text-wrap: pretty;
  }
  .section-head {
    margin-bottom: var(--space-2xl);
    max-width: 720px;
  }
  .section-label {
    font-family: var(--sans);
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--gold);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .section-label::before {
    content: "";
    display: inline-block;
    width: 24px; height: 1px;
    background: var(--gold);
  }
  .section-head h1,
  .section-head h2 {
    font-family: var(--serif-display);
    font-weight: 500;
    font-size: clamp(36px, 4.4vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 0 22px;
    color: var(--ink);
  }
  .section-head h1 em,
  .section-head h2 em {
    font-style: italic;
    color: var(--purple);
    font-weight: 400;
  }
  .section-head .kicker {
    font-size: 18.5px;
    color: var(--ink-soft);
    line-height: 1.6;
    max-width: 620px;
    margin: 0;
    text-wrap: pretty;
  }

  /* ===== About ===== */
  .about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: start;
  }
  .about-grid p {
    font-size: 19px;
    line-height: 1.75;
    color: var(--ink-soft);
    margin: 0 0 24px;
    text-wrap: pretty;
  }
  .about-grid p:last-child { margin-bottom: 0; }
  .about-grid p a {
    color: var(--purple);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .about-grid p a:hover { color: var(--purple-deep); }
  .about-grid .first-letter::first-letter {
    font-family: var(--serif-display);
    font-size: 64px;
    float: left;
    line-height: 0.9;
    padding: 6px 12px 0 0;
    color: var(--purple);
    font-style: italic;
  }
  .about-aside {
    border-left: 1px solid var(--rule);
    padding: var(--space-xs) 0 var(--space-xs) var(--space-lg);
  }
  .portrait {
    position: relative;
    margin: 0 0 36px;
    isolation: isolate;
  }
  .portrait::before {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    background: linear-gradient(160deg, var(--blush-soft), var(--gold-soft));
    border-radius: 6px;
    z-index: var(--z-below);
  }
  .portrait img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 28%;
    border-radius: 6px;
    border: 1px solid var(--rule);
    box-shadow: 0 20px 50px -22px rgba(31, 26, 26, 0.35);
    filter: saturate(1.02);
  }
  .portrait .portrait-caption {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    font-family: var(--sans);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
  }
  .portrait .portrait-caption .name {
    font-family: var(--serif-display);
    font-style: italic;
    font-size: 14px;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--purple);
  }

  /* ===== Photo deck ===== */
  .photo-deck {
    position: relative;
    width: 100%;
    height: 320px;
    margin: 0 0 40px;
    cursor: pointer;
    user-select: none;
    outline: none;
  }
  .photo-card {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 28px -8px rgba(31,26,26,0.28);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    transform-origin: bottom center;
    will-change: transform;
  }
  .photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    pointer-events: none;
  }
  /* Top card is always on top and straight */
  .photo-card.on-top  { z-index: var(--z-deck); transform: rotate(0deg) translateX(0); box-shadow: 0 14px 40px -10px rgba(31,26,26,0.35); }
  /* Flying-off animation */
  .photo-card.fly-off { z-index: calc(var(--z-deck) - 1); transform: translateY(-70px) rotate(8deg) scale(0.93); opacity: 0; transition: transform 0.38s ease-in, opacity 0.3s ease-in; pointer-events: none; }
  .deck-hint {
    position: absolute;
    bottom: -26px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
    transition: opacity 0.4s;
  }
  .photo-deck.used .deck-hint { opacity: 0; }

  .quote {
    font-family: var(--serif-display);
    font-style: italic;
    font-size: 26px;
    line-height: 1.45;
    color: var(--ink);
    margin: 0 0 22px;
    text-wrap: balance;
  }
  .quote span { color: var(--purple); }
  .contact-quote { margin-top: 42px; font-size: 21px; }
  .quote-attr {
    font-family: var(--sans);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
  }
  .credentials {
    margin-top: 38px;
    display: grid;
    gap: 14px;
  }
  .credentials .cred {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-family: var(--sans);
    font-size: 14px;
    color: var(--ink-soft);
  }
  .credentials .cred a {
    color: var(--purple);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .credentials .cred a:hover { color: var(--purple-deep); }
  .credentials .cred .num {
    font-family: var(--serif-display);
    font-style: italic;
    font-size: 28px;
    color: var(--gold);
    min-width: 48px;
  }

  /* ===== Services ===== */
  .services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }
  .service-card {
    background: var(--bg-card);
    border: 1px solid var(--rule);
    border-radius: 4px;
    padding: 40px 34px 38px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
  }
  .service-card::before {
    content: "";
    position: absolute;
    top: 0; left: 32px; right: 32px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0.3);
    transform-origin: left center;
    transition: transform 0.4s ease;
  }
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px -28px rgba(31, 26, 26, 0.18);
    border-color: rgba(107, 63, 160, 0.25);
  }
  .service-card:hover::before { transform: scaleX(1); }
  .service-num {
    font-family: var(--serif-display);
    font-style: italic;
    font-size: 15px;
    color: var(--purple);
    letter-spacing: 0.05em;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .service-num::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--rule);
  }
  .service-card h3 {
    font-family: var(--serif-display);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.2;
    color: var(--ink);
    margin: 0 0 16px;
    letter-spacing: -0.005em;
  }
  .service-card p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0;
    text-wrap: pretty;
  }
  .service-card .tags {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .tag {
    font-family: var(--sans);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 5px 11px;
    border-radius: 999px;
    white-space: nowrap;
    background: var(--blush-soft);
    color: var(--purple-deep);
  }
  .tag.gold {
    background: var(--gold-soft);
    color: #6E5A2C;
  }

  .services-sub-label {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--purple);
    border-left: 3px solid var(--purple);
    padding-left: 12px;
    margin-bottom: 20px;
    margin-top: 48px;
  }
  .services-sub-label--first {
    margin-top: 0;
  }
  .services-cta {
    margin-top: 48px;
    text-align: center;
  }

  /* ===== Experience / Timeline ===== */
  .timeline {
    border-left: 1px solid var(--rule);
    padding-left: 44px;
    margin-left: 8px;
    position: relative;
  }
  .timeline-item {
    position: relative;
    padding-bottom: 56px;
  }
  .timeline-item:last-child { padding-bottom: 0; }
  .timeline-item::before {
    content: "";
    position: absolute;
    left: -52px;
    top: 8px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--purple);
  }
  .timeline-item.gold::before { border-color: var(--gold); }
  .timeline-item.blush::before { border-color: var(--blush); }
  .timeline-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: baseline;
  }
  .timeline-meta {
    font-family: var(--sans);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
    padding-top: 4px;
  }
  .timeline-content h3 {
    font-family: var(--serif-display);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.25;
    margin: 0 0 6px;
    color: var(--ink);
  }
  .timeline-content .org {
    font-family: var(--serif-body);
    font-style: italic;
    color: var(--purple);
    font-size: 16px;
    margin-bottom: 14px;
  }
  .timeline-content .org a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .timeline-content .org a:hover { color: var(--purple-deep); }
  .timeline-content p {
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0;
    max-width: 620px;
    text-wrap: pretty;
  }
  .timeline-content .org-meta {
    font-family: var(--sans);
    font-size: 13px;
    color: var(--muted);
    margin-left: 10px;
  }

  /* ===== Education ===== */
  .edu-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--rule);
  }
  .edu-row {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 28px;
    padding: 24px 4px;
    border-bottom: 1px solid var(--rule);
    align-items: baseline;
    transition: background 0.2s ease;
  }
  .edu-row:hover { background: rgba(196, 162, 101, 0.05); }
  .edu-num {
    font-family: var(--serif-display);
    font-style: italic;
    color: var(--gold);
    font-size: 18px;
  }
  .edu-title {
    font-family: var(--serif-display);
    font-weight: 500;
    font-size: 19px;
    color: var(--ink);
    line-height: 1.35;
  }
  .edu-title .from {
    display: block;
    font-family: var(--serif-body);
    font-style: italic;
    font-size: 15px;
    color: var(--ink-soft);
    margin-top: 4px;
    font-weight: 400;
  }
  .edu-title .from a {
    color: var(--purple);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .edu-title .from a:hover { color: var(--purple-deep); }
  .edu-year {
    font-family: var(--sans);
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  /* ===== Contact ===== */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 72px;
    align-items: start;
  }
  .contact-side .contact-line {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--rule);
    font-family: var(--serif-body);
  }
  .contact-side .contact-line:first-child { border-top: 1px solid var(--rule); }
  .contact-line .label {
    font-family: var(--sans);
    text-transform: uppercase;
    font-size: 11.5px;
    letter-spacing: 0.22em;
    color: var(--gold);
    min-width: 90px;
  }
  .contact-line .value {
    font-size: 17px;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  a.value:hover { color: var(--purple); }

  form.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 36px;
    position: relative;
  }
  form.contact-form::before {
    content: "";
    position: absolute;
    top: -1px; left: 36px; right: 36px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--blush), var(--purple));
    border-radius: 2px;
  }
  .form-row {
    display: grid;
    gap: 6px;
    margin-bottom: 22px;
  }
  .form-row label {
    font-family: var(--sans);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
  }
  .form-row input,
  .form-row textarea {
    font-family: var(--serif-body);
    font-size: 16px;
    color: var(--ink);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--rule);
    padding: 10px 0 12px;
    outline: none;
    width: 100%;
    transition: border-color 0.2s ease;
    resize: vertical;
  }
  .form-row textarea { min-height: 120px; line-height: 1.55; }
  .form-row input:focus,
  .form-row textarea:focus { border-color: var(--purple); }
  .form-row input::placeholder,
  .form-row textarea::placeholder { color: #B7ACA5; font-style: italic; }
  .form-submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
  }
  .form-submit .btn { flex-shrink: 0; }
  .form-note {
    font-family: var(--sans);
    font-size: 12.5px;
    color: var(--muted);
  }
  .form-success {
    display: none;
    padding: 14px 18px;
    background: rgba(107, 63, 160, 0.06);
    border-left: 2px solid var(--purple);
    font-family: var(--serif-body);
    font-style: italic;
    font-size: 15px;
    color: var(--purple-deep);
    margin-top: 18px;
    border-radius: 0 4px 4px 0;
  }
  .form-success.shown { display: block; }

  /* ===== Footer ===== */
  footer {
    padding: 56px 0 44px;
    border-top: 1px solid var(--rule);
    background: var(--bg);
  }
  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-name {
    font-family: var(--serif-display);
    font-size: 18px;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .footer-name em { font-style: italic; color: var(--purple); font-weight: 400; }
  .footer-copy {
    font-family: var(--sans);
    font-size: 13px;
    color: var(--muted);
  }
  .footer-links {
    display: flex;
    gap: 22px;
    font-family: var(--sans);
    font-size: 13.5px;
  }
  .footer-links a {
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .footer-links a:hover { color: var(--purple); }

  /* ===== Fade-in on scroll ===== */
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s ease, transform 0.9s ease;
  }
  .js .reveal.visible {
    opacity: 1;
    transform: none;
  }

  /* ===== Responsive ===== */
  @media (max-width: 880px) {
    body { font-size: 16px; }
    .nav-inner { height: 64px; }
    .nav-links { display: none; }
    .nav-links.open {
      display: flex;
      position: absolute;
      top: 64px;
      left: 0; right: 0;
      flex-direction: column;
      gap: 4px;
      padding: 16px 6vw 22px;
      background: var(--bg);
      border-bottom: 1px solid var(--rule);
    }
    .nav-toggle {
      display: inline-flex;
      width: 38px; height: 38px;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--rule);
      border-radius: 999px;
      background: transparent;
      cursor: pointer;
    }
    .nav-toggle span {
      display: block;
      width: 16px; height: 1.5px;
      background: var(--ink);
      position: relative;
    }
    .nav-toggle span::before,
    .nav-toggle span::after {
      content: "";
      position: absolute;
      left: 0;
      width: 16px; height: 1.5px;
      background: var(--ink);
    }
    .nav-toggle span::before { top: -5px; }
    .nav-toggle span::after { top: 5px; }
    .hero { padding: 72px 0 90px; }
    section.block { padding: 80px 0; }
    .about-grid,
    .contact-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
    .manifesto { grid-template-columns: 1fr; gap: 44px; }
    section.invert { padding: 80px 0; }
    .about-aside { padding: var(--space-md) 0 0 var(--space-md); }
    .services { grid-template-columns: 1fr; }
    .timeline-row { grid-template-columns: 1fr; gap: 6px; }
    .timeline-meta { letter-spacing: 0.14em; }
    .edu-row { grid-template-columns: 1fr; gap: 4px; }
    .edu-num { display: none; }
    .footer-inner { flex-direction: column; text-align: center; }
  }

/* ===== Blog Styles ===== */
.blog-header { padding-top: 140px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.blog-card-body h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -28px rgba(31, 26, 26, 0.18);
  border-color: rgba(107, 63, 160, 0.25);
}
.blog-card-image {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.blog-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-body {
  padding: 28px 28px 32px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.blog-category {
  background: var(--blush-soft);
  color: var(--purple-deep);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.1em;
}
.blog-card-body h2 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--ink);
}
.blog-card-body h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.blog-card-body h2 a:hover { color: var(--purple); }
.blog-card-body p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.blog-read-more {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--purple);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: gap 0.2s ease;
}
.blog-read-more:hover { gap: 10px; }
.blog-empty {
  text-align: center;
  padding: 60px 0;
}
.blog-empty .quote {
  font-size: 24px;
  margin-bottom: 18px;
}
.blog-empty p { color: var(--ink-soft); font-size: 17px; }

/* Blog Post Single */
.blog-post { padding-top: 140px; }
.blog-post-header { margin-bottom: 48px; }
.blog-back {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--purple);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
  transition: gap 0.2s ease;
}
.blog-back:hover { gap: 10px; }
.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.reading-time { color: var(--gold); }
.blog-post-header h1 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink);
  max-width: 760px;
}
.blog-post-subtitle {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0;
}
.blog-post-hero {
  margin: 0 0 48px;
}
.blog-post-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--rule);
}
.blog-post-content {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.blog-post-content h2 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 28px;
  color: var(--ink);
  margin: 48px 0 18px;
}
.blog-post-content h3 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  margin: 36px 0 14px;
}
.blog-post-content p { margin: 0 0 22px; }
.blog-post-content blockquote {
  border-left: 2px solid var(--gold);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.55;
}
.blog-post-content a {
  color: var(--purple);
  text-decoration-color: var(--blush-soft);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}
.blog-post-content a:hover { text-decoration-color: var(--purple); }
.blog-post-content img {
  max-width: 100%;
  border-radius: 6px;
  margin: 28px 0;
  border: 1px solid var(--rule);
}
.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 48px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.blog-post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.blog-post-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--rule);
}
.blog-post-author strong {
  display: block;
  font-family: var(--serif-display);
  font-size: 16px;
  color: var(--ink);
}
.blog-post-author span {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 56px;
  font-family: var(--sans);
  font-size: 14px;
  list-style: none;
  padding: 0;
}
.pagination .page-item { list-style: none; }
.pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}
.pagination .page-link:hover { background: var(--blush-soft); color: var(--purple); }
.pagination .page-item.active .page-link {
  background: var(--purple);
  color: #fff;
  border-radius: 6px;
}
.pagination .page-item.disabled .page-link {
  color: var(--muted);
  pointer-events: none;
}

@media (max-width: 880px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-post-footer { flex-direction: column; gap: 24px; align-items: flex-start; }
  .services { grid-template-columns: 1fr; }
  .eyebrow { font-size: 11px; letter-spacing: 0.14em; gap: 6px 8px; }
  .form-submit { flex-direction: column; align-items: flex-start; }
  .form-submit .btn { width: 100%; justify-content: center; }
}

@media (min-width: 881px) and (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero h1 { opacity: 1; transform: none; }
  .js .reveal, .js .reveal.visible { opacity: 1; transform: none; }
}

/* ── 404 page ─────────────────────────────────────────── */
.page-404 {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: var(--space-3xl) 0;
}

.page-404-inner {
  max-width: 640px;
}

.page-404-number {
  font-family: var(--serif-display);
  font-size: clamp(96px, 18vw, 160px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--rule);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  user-select: none;
}

.page-404 .section-head {
  margin-bottom: var(--space-lg);
}

.page-404 .section-head h1 {
  font-size: clamp(28px, 5vw, 44px);
  margin-bottom: var(--space-sm);
}

.page-404-quote {
  margin: 0 0 var(--space-lg);
  padding-left: var(--space-md);
  border-left: 3px solid var(--gold);
}

.page-404-quote p {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0;
}

.page-404-body {
  color: var(--muted);
  margin-bottom: var(--space-lg);
}

.page-404-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.page-404-links .btn-secondary {
  color: var(--purple);
  border-color: var(--purple);
}

.page-404-links .btn-secondary:hover {
  background: var(--purple);
  color: #fff;
}

/* ── Services page ────────────────────────────────────── */
.services-hero { padding-bottom: 0; }
.services-hero .section-head a:not(.btn) { color: var(--purple); }

.services-jump {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.rate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  overflow: visible;
}

.rate-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  position: relative;
}

.rate-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-xs);
  min-height: 28px;
}

.rate-card--featured {
  border-color: var(--purple);
  box-shadow: 0 0 0 1px var(--purple), 0 8px 32px -8px rgba(107,63,160,0.18);
}

.rate-card-badge {
  position: absolute;
  top: -14px;
  left: var(--space-lg);
  background: var(--purple);
  color: #fff;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.rate-card-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rate-card h3 {
  font-family: var(--serif-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

.rate-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: 4px;
}

.rate-amount {
  font-family: var(--serif-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--purple);
}

.rate-amount em {
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  color: var(--muted);
}

.rate-alt {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
}

.rate-details {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: var(--space-sm) 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rate-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 13px;
}

.rate-label { color: var(--muted); }
.rate-value { font-weight: 600; color: var(--ink-soft); }

.rate-right-for {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  margin-top: auto;
}

.rate-right-for strong { color: var(--ink-soft); }

/* ── Bundle audience labels ───────────────────────────── */
.bundle-audience-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--purple);
  border-left: 3px solid var(--purple);
  padding-left: 12px;
  margin-bottom: 20px;
  margin-top: 48px;
}
.bundle-audience-label:first-of-type {
  margin-top: 0;
}

/* ── Bundles ──────────────────────────────────────────── */
.bundles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.bundle-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.bundle-card h3 {
  font-family: var(--serif-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

.bundle-plus {
  color: var(--purple);
}

.bundle-savings {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  margin-top: auto;
}

.bundle-card .btn { align-self: flex-start; margin-top: var(--space-xs); }

/* ── Process steps ────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.process-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-family: var(--serif-display);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xs);
  flex-shrink: 0;
}

.process-step h3 {
  font-family: var(--serif-display);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.process-step p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

/* ── FAQ ──────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 760px;
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-item summary {
  font-family: var(--serif-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  padding: var(--space-md) 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 300;
  color: var(--purple);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 var(--space-md);
  color: var(--ink-soft);
  font-size: 16px;
}
.faq-item p a {
  color: var(--purple);
  text-decoration: none;
  transition: color 0.2s ease;
}
.faq-item p a:hover { color: var(--purple-deep); }

/* ── Services page responsive ─────────────────────────── */
@media (max-width: 1100px) {
  .rate-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .rate-grid { grid-template-columns: 1fr; }
  .bundles-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ── Privacy policy page ──────────────────────────────── */
.privacy-page {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-md);
}

.privacy-page h1 {
  font-family: var(--serif-display);
  font-size: clamp(28px, 5vw, 42px);
  margin-bottom: var(--space-sm);
}

.privacy-page h2 {
  font-family: var(--serif-display);
  font-size: 20px;
  font-weight: 600;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--ink);
}

.privacy-page p,
.privacy-page li {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.privacy-page ul {
  padding-left: var(--space-md);
  margin-bottom: var(--space-md);
}

.privacy-page a {
  color: var(--purple);
  text-decoration: none;
}

.privacy-page a:hover { color: var(--purple-deep); }

.privacy-page hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: var(--space-xl) 0;
}

.privacy-page em:first-child {
  color: var(--muted);
  font-size: 14px;
  font-family: var(--sans);
  font-style: normal;
}

/* ── Cookie notice bar ────────────────────────────────── */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--purple-deep);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  z-index: 200;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-bar[hidden] { display: none; }

.cookie-bar p {
  margin: 0;
  color: rgba(255,255,255,0.9);
}

.cookie-bar a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-bar a:hover { color: #fff; }

.cookie-dismiss {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

.cookie-dismiss:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* ── Currently Reading widget ─────────────────────────── */
.currently-reading {
  margin-top: var(--space-lg);
  border-top: 1px solid var(--rule);
  padding-top: var(--space-md);
  max-width: 400px;
}

.currently-reading-label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.currently-reading-track {
  position: relative;
}

.currently-reading-inner {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  padding: var(--space-sm);
  border-radius: 8px;
  border: 1px solid var(--rule);
  background: var(--bg-card);
  transition: border-color 0.2s, box-shadow 0.2s, opacity 0.4s, transform 0.4s;
  /* hidden by default — JS shows active */
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
}

.currently-reading-inner.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.currently-reading-inner:hover {
  border-color: var(--purple);
  box-shadow: 0 2px 12px rgba(107,63,160,0.08);
}

.currently-reading-cover-wrap {
  width: 48px;
  flex-shrink: 0;
}

.currently-reading-cover {
  width: 48px;
  height: 72px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}


.currently-reading-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.currently-reading-title {
  font-family: var(--serif-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.currently-reading-arrow {
  font-size: 14px;
  color: var(--purple);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.currently-reading-inner:hover .currently-reading-arrow {
  transform: translateX(3px);
}

.currently-reading-dots {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  justify-content: center;
}

.cr-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: var(--rule);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.cr-dot.active {
  background: var(--purple);
  transform: scale(1.3);
}

.cr-dot:hover { background: var(--purple); }

/* On the blog page, widget sits between header and grid */
.blog-header .currently-reading {
  margin-top: 0;
  margin-bottom: var(--space-xl);
  border-top: none;
  padding-top: 0;
}

/* ===== AI Panel — sticky trigger + full-screen overlay ===== */

/* Sticky button */
.ai-trigger {
  position: fixed;
  bottom: 80px;
  right: 32px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--purple-deep);
  color: #FAF9F5;
  border: none;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 4px 24px -4px rgba(79, 45, 122, 0.55), 0 1px 0 rgba(255,255,255,0.1) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ai-trigger:hover {
  transform: translateY(-2px);
  background: var(--purple);
  box-shadow: 0 8px 32px -6px rgba(79, 45, 122, 0.65);
}
.ai-trigger:active { transform: translateY(0); }
.ai-trigger-icon { display: flex; align-items: center; }
.ai-trigger-icon svg { stroke: var(--gold); }

/* Full-screen panel */
.ai-panel {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(31, 26, 26, 0.5);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ai-panel.is-open { opacity: 1; }
.ai-panel[hidden] { display: none; }

.ai-panel-inner {
  position: relative;
  width: 100%;
  max-width: 760px;
  height: 100%;
  background: linear-gradient(160deg, #3D2160 0%, #2A1545 55%, #1E0F33 100%);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}
.ai-panel.is-open .ai-panel-inner { transform: translateX(0); }

.ai-panel-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: #FAF9F5;
  cursor: pointer;
  transition: background 0.2s ease;
}
.ai-panel-close:hover { background: rgba(255,255,255,0.15); }

.ai-panel-scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.ai-panel-wrap {
  padding: 64px 52px 80px;
  max-width: 680px;
}

/* Header */
.ai-panel-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 18px;
}
.ai-panel-title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  color: #FBF6E9;
  margin: 0 0 24px;
}
.ai-panel-title em {
  font-style: italic;
  color: var(--blush);
  font-weight: 400;
}
.ai-panel-lede {
  font-family: var(--serif-body);
  font-size: 18px;
  line-height: 1.65;
  color: rgba(244, 236, 218, 0.78);
  margin: 0 0 48px;
  border-bottom: 1px solid rgba(228,210,168,0.2);
  padding-bottom: 48px;
}

/* Stat row */
.ai-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.ai-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(228,210,168,0.15);
  border-radius: 12px;
}
.ai-stat-num {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 38px;
  line-height: 1;
  color: var(--gold);
}
.ai-stat-label {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  color: rgba(244,236,218,0.85);
}
.ai-stat-source {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(228,210,168,0.5);
  margin-top: 4px;
}

/* Body sections */
.ai-panel-body { display: flex; flex-direction: column; gap: 0; }

.ai-section {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 20px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(228,210,168,0.12);
}
.ai-section:first-child { border-top: none; }

.ai-section-num {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
  padding-top: 3px;
}
.ai-section-content h3 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 22px;
  color: #FBF6E9;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.ai-section-content p {
  font-family: var(--serif-body);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(244,236,218,0.82);
  margin: 0 0 14px;
}
.ai-section-content p:last-child { margin-bottom: 0; }
.ai-section-content p em { color: rgba(244,236,218,0.55); font-style: italic; }

.ai-quote {
  margin: 20px 0 0;
  padding: 18px 22px;
  border-left: 2px solid var(--gold);
  background: rgba(196,162,101,0.07);
  border-radius: 0 8px 8px 0;
}
.ai-quote p {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 17px !important;
  line-height: 1.55 !important;
  color: #FBF6E9 !important;
  margin: 0 0 8px !important;
}
.ai-quote cite {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(228,210,168,0.6);
  font-style: normal;
}

/* Pull stat */
.ai-pull-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 44px 32px;
  margin: 8px 0;
  background: rgba(196,162,101,0.08);
  border: 1px solid rgba(196,162,101,0.2);
  border-radius: 16px;
}
.ai-pull-num {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(52px, 8vw, 80px);
  line-height: 1;
  color: var(--gold);
}
.ai-pull-text {
  font-family: var(--serif-body);
  font-size: 17px;
  line-height: 1.6;
  color: rgba(244,236,218,0.85);
  max-width: 480px;
}
.ai-pull-source {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(228,210,168,0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* List */
.ai-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ai-list li {
  font-family: var(--serif-body);
  font-size: 16px;
  line-height: 1.65;
  color: rgba(244,236,218,0.82);
  padding-left: 20px;
  position: relative;
}
.ai-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-family: var(--serif-display);
}
.ai-list li strong {
  color: #FBF6E9;
  font-weight: 600;
}

/* CTA block */
.ai-panel-cta {
  padding: 44px 0 32px;
  border-top: 1px solid rgba(228,210,168,0.15);
  margin-top: 8px;
}
.ai-panel-cta p {
  font-family: var(--serif-body);
  font-size: 17px;
  line-height: 1.7;
  color: rgba(244,236,218,0.85);
  margin: 0 0 12px;
}
.ai-panel-cta p:last-of-type { margin-bottom: 28px; }
.ai-panel-btn {
  background: var(--gold);
  color: #1F1A1A;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.ai-panel-btn:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}

/* Sources */
.ai-panel-sources {
  padding-top: 32px;
  border-top: 1px solid rgba(228,210,168,0.1);
}
.ai-sources-label {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(228,210,168,0.4);
  margin: 0 0 12px;
}
.ai-panel-sources ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ai-panel-sources li {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(228,210,168,0.4);
}
.ai-panel-sources li em { font-style: italic; }

/* Responsive */
@media (max-width: 600px) {
  .ai-trigger-label { display: none; }
  .ai-trigger { padding: 14px; border-radius: 50%; }
  .ai-panel-inner { max-width: 100%; }
  .ai-panel-wrap { padding: 56px 24px 64px; }
  .ai-stat-row { grid-template-columns: 1fr; gap: 12px; }
  .ai-section { grid-template-columns: 1fr; gap: 8px; }
  .ai-section-num { display: none; }
}
