  :root {
    --navy:        #16323F;
    --navy-deep:   #0E222C;
    --navy-soft:   #1F4150;
    --tan:         #E8A77A;
    --tan-deep:    #D08A5C;
    --tan-soft:    #F2C49B;
    --bone:        #FAF8F4;
    --paper:       #F2EEE7;
    --ink:         #1A1A1A;
    --ink-soft:    #4A4A4A;
    --line:        rgba(232, 167, 122, 0.25);
    --shadow-sm:   0 2px 6px rgba(14, 34, 44, 0.06);
    --shadow-md:   0 10px 30px rgba(14, 34, 44, 0.12);
    --shadow-lg:   0 24px 60px rgba(14, 34, 44, 0.18);
    --radius:      14px;
    --radius-lg:   22px;
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--bone);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }

  /* ---------- Header ---------- */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    color: var(--navy-deep);
    font-weight: 600;
    letter-spacing: 0.01em;
  }
  .brand img { height: 56px; width: auto; }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.94rem;
    color: var(--navy);
  }
  .nav-links a { transition: color 0.2s; }
  .nav-links a:hover { color: var(--tan-deep); }
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
    border: 1px solid transparent;
    cursor: pointer;
  }
  .btn-primary {
    background: var(--tan);
    color: var(--navy-deep);
    box-shadow: var(--shadow-sm);
  }
  .btn-primary:hover { background: var(--tan-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
  .btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
  }
  .btn-outline:hover { background: var(--navy); color: #fff; }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(1100px 600px at 85% 10%, rgba(232,167,122,0.18), transparent 60%),
      radial-gradient(900px 500px at -10% 100%, rgba(22,50,63,0.10), transparent 70%),
      var(--bone);
    padding: 48px 28px 72px;
  }
  .hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 60px;
  }
  .eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: var(--tan-deep);
    font-weight: 600;
    margin-bottom: 18px;
  }
  .hero h1 {
    font-size: clamp(2.4rem, 4.8vw, 3.6rem);
    color: var(--navy-deep);
    margin: 0 0 22px;
  }
  .hero h1 em { color: var(--tan-deep); font-style: italic; }
  .hero p.lead {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 560px;
    margin: 0 0 32px;
  }
  .cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }
  .hero-art {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 460px;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-art::before {
    content: "";
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(232,167,122,0.35), transparent 70%);
    filter: blur(20px);
    z-index: 0;
  }
  .hero-art img {
    position: relative;
    z-index: 1;
    width: 92%;
    filter: drop-shadow(0 30px 60px rgba(14,34,44,0.25));
  }

  /* ---------- Signalboard Featured Band ---------- */
  .signalboard {
    background: var(--navy-deep);
    color: #fff;
    padding: 76px 28px;
    position: relative;
    overflow: hidden;
  }
  .signalboard::before {
    content: ""; position: absolute;
    top: -160px; right: -160px;
    width: 460px; height: 460px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(232,167,122,0.22), transparent 70%);
    pointer-events: none;
  }
  .signalboard::after {
    content: ""; position: absolute;
    bottom: -140px; left: -120px;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(232,167,122,0.12), transparent 70%);
    pointer-events: none;
  }
  .sb-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
  }
  .sb-body .product-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.74rem;
    color: var(--tan);
    font-weight: 700;
    margin-bottom: 18px;
  }
  .sb-body h2 {
    color: #fff;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    margin: 0 0 16px;
    line-height: 1.18;
  }
  .sb-body h2 em { color: var(--tan); font-style: italic; }
  .sb-subhead {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.18rem;
    color: var(--tan-soft);
    line-height: 1.45;
    margin: 0 0 22px;
    max-width: 560px;
    font-weight: 500;
  }
  .sb-body p.lead {
    color: rgba(255,255,255,0.82);
    font-size: 1.02rem;
    margin: 0 0 22px;
    max-width: 540px;
  }
  .sb-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 26px;
  }
  .sb-chip {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(232,167,122,0.3);
    color: rgba(255,255,255,0.9);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
  }
  .sb-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .btn-ghost-light {
    background: transparent; color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
  }
  .btn-ghost-light:hover { background: #fff; color: var(--navy-deep); }

  .sb-scorecard {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(232,167,122,0.3);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    box-shadow: var(--shadow-lg);
  }
  .sb-scorecard-label {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 4px;
  }
  .sb-scorecard-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: #fff;
    margin: 0 0 18px;
  }
  .sb-grade-ring {
    width: 130px; height: 130px;
    margin: 0 auto 22px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    border-radius: 50%;
    border: 6px solid var(--tan);
    position: relative;
  }
  .sb-grade-ring::before {
    content: ""; position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 1px dashed rgba(232,167,122,0.35);
  }
  .sb-grade-letter {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #fff;
    line-height: 1;
    font-weight: 600;
  }
  .sb-grade-pct {
    font-size: 0.78rem;
    color: var(--tan-soft);
    margin-top: 4px;
    letter-spacing: 0.08em;
  }
  .sb-domains {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .sb-domain {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,0.04);
    border-left: 3px solid var(--tan);
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.88);
  }
  .sb-domain .sb-pct { color: var(--tan-soft); font-weight: 600; }
  .sb-domain.warn { border-left-color: #F2C49B; }
  .sb-foot {
    margin-top: 16px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    text-align: center;
  }

  /* ---------- Worth Your Time band ---------- */
  .insights {
    background: var(--navy-deep);
    color: #fff;
    padding: 56px 28px 80px;
    position: relative;
    overflow: hidden;
  }
  .insights::before {
    content: "";
    position: absolute;
    top: -120px; right: -120px;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(232,167,122,0.18), transparent 70%);
    pointer-events: none;
  }
  .insights-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
  }
  .insights-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 44px;
    flex-wrap: wrap;
  }
  .insights-head .label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: var(--tan);
    margin-bottom: 12px;
    font-weight: 600;
  }
  .insights-head h2 {
    color: #fff;
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    margin: 0 0 8px;
    max-width: 620px;
  }
  .insights-head p.sub {
    color: rgba(255,255,255,0.7);
    margin: 0;
    max-width: 520px;
  }
  .insights-head a.viewall {
    color: var(--tan);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    border-bottom: 1px solid rgba(232,167,122,0.4);
    padding-bottom: 4px;
    transition: color 0.2s, border-color 0.2s;
  }
  .insights-head a.viewall:hover { color: #fff; border-bottom-color: #fff; }
  .insight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .insight-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(232,167,122,0.18);
    border-radius: var(--radius-lg);
    padding: 0;
    text-align: left;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
  }
  .insight-card:hover {
    transform: translateY(-5px);
    border-color: var(--tan);
    background: linear-gradient(180deg, rgba(232,167,122,0.10), rgba(255,255,255,0.02));
  }
  .insight-cover {
    aspect-ratio: 16 / 9;
    background:
      linear-gradient(135deg, rgba(232,167,122,0.25), rgba(22,50,63,0.0)),
      linear-gradient(160deg, var(--navy-soft) 0%, var(--navy-deep) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(232,167,122,0.18);
  }
  .insight-cover.alt {
    background:
      radial-gradient(220px 160px at 70% 30%, rgba(232,167,122,0.35), transparent 60%),
      linear-gradient(160deg, #1F4150, var(--navy-deep));
  }
  .insight-cover.alt2 {
    background:
      radial-gradient(220px 160px at 30% 70%, rgba(232,167,122,0.28), transparent 60%),
      linear-gradient(200deg, var(--navy) 0%, var(--navy-deep) 100%);
  }
  .insight-cover-mark {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-style: italic;
    color: rgba(232,167,122,0.45);
    line-height: 1;
    user-select: none;
  }
  .insight-icon {
    width: 56px;
    height: 56px;
    color: var(--tan);
    opacity: 0.9;
  }
  .insight-meta-text {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
  }
  .insight-meta-text em {
    font-style: normal;
    color: rgba(255,255,255,0.82);
    text-transform: none;
    font-weight: 600;
  }
  .insight-body {
    padding: 24px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
  }
  .insight-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .insight-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--tan);
    color: var(--navy-deep);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .insight-tag.event   { background: #F2C49B; }
  .insight-tag.case    { background: rgba(255,255,255,0.85); }
  .insight-date {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.04em;
  }
  .insight-card h3 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.3;
  }
  .insight-card p {
    color: rgba(255,255,255,0.72);
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.55;
  }
  .insight-card .more {
    margin-top: auto;
    padding-top: 6px;
    color: var(--tan);
    font-weight: 600;
    font-size: 0.88rem;
  }
  .insight-card:hover .more { color: #fff; }

  /* ---------- Services ---------- */
  .services {
    padding: 96px 28px;
    background: var(--bone);
  }
  .section-head {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
  }
  .section-head h2 {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    color: var(--navy-deep);
    margin: 0 0 14px;
  }
  .section-head p {
    color: var(--ink-soft);
    margin: 0;
    font-size: 1.05rem;
  }
  .service-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .service {
    background: #fff;
    border: 1px solid rgba(22,50,63,0.08);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }
  .service:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--tan);
  }
  .service h3 {
    color: var(--navy-deep);
    font-size: 1.25rem;
    margin: 0 0 10px;
  }
  .service p {
    color: var(--ink-soft);
    margin: 0;
    font-size: 0.97rem;
  }
  .service .num {
    display: inline-block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    color: var(--tan-deep);
    font-style: italic;
    margin-bottom: 10px;
  }

  /* ---------- About ---------- */
  .about {
    padding: 96px 28px;
    background:
      linear-gradient(180deg, var(--paper), var(--bone));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .about-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
  .about h2 {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    color: var(--navy-deep);
    margin: 0 0 18px;
  }
  .about p {
    color: var(--ink-soft);
    margin: 0 0 14px;
    font-size: 1.02rem;
  }
  .about ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
  }
  .about li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 10px;
    color: var(--ink);
  }
  .about li::before {
    content: "";
    position: absolute;
    left: 0; top: 12px;
    width: 14px; height: 2px;
    background: var(--tan-deep);
    border-radius: 2px;
  }
  .about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .stat {
    background: #fff;
    border: 1px solid rgba(22,50,63,0.08);
    border-radius: var(--radius);
    padding: 26px 22px;
    box-shadow: var(--shadow-sm);
  }
  .stat .big {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    color: var(--navy-deep);
    line-height: 1;
    margin-bottom: 6px;
  }
  .stat .label {
    font-size: 0.86rem;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.14em;
  }

  /* ---------- Contact CTA ---------- */
  .contact {
    padding: 80px 28px;
    background: var(--bone);
  }
  .contact-inner {
    max-width: 900px;
    margin: 0 auto;
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
  }
  .contact-inner::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(400px 200px at 80% 0%, rgba(232,167,122,0.25), transparent 60%);
  }
  .contact h2 {
    color: #fff;
    font-size: clamp(1.7rem, 2.8vw, 2.1rem);
    margin: 0 0 12px;
    position: relative;
  }
  .contact p {
    color: rgba(255,255,255,0.78);
    margin: 0 0 28px;
    position: relative;
  }
  .contact .btn-primary { position: relative; }

  /* ---------- Footer ---------- */
  footer {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.7);
    padding: 56px 28px 28px;
    font-size: 0.92rem;
  }
  .foot-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
  }
  .foot-inner h4 {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin: 0 0 14px;
  }
  .foot-inner a {
    display: block;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
    transition: color 0.2s;
  }
  .foot-inner a:hover { color: var(--tan); }
  .foot-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
  }
  .foot-brand img { height: 44px; }
  .foot-brand span {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 1.2rem;
  }
  .foot-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 0; }
    .hero-art { margin: 0 auto; max-width: 320px; }
    .sb-inner { grid-template-columns: 1fr; gap: 40px; }
    .insight-grid { grid-template-columns: 1fr; }
    .insights-head { flex-direction: column; align-items: flex-start; }
    .service-grid { grid-template-columns: 1fr; }
    .about-inner { grid-template-columns: 1fr; gap: 32px; }
    .foot-inner { grid-template-columns: 1fr 1fr; }
    .nav-links { gap: 14px; font-size: 0.88rem; }
    .nav-links a:not(.btn) { display: none; }
  }
  @media (max-width: 540px) {
    .hero { padding: 64px 22px 48px; }
    .portals, .services, .about, .contact { padding-left: 22px; padding-right: 22px; }
    .contact-inner { padding: 40px 26px; }
    .foot-inner { grid-template-columns: 1fr; gap: 26px; }
  }

  /* ---------- Floating Welcome Widget (Bottom-Right, Rings + Logo) ---------- */
  .greeter {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 100;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 14px;
    font-family: 'Inter', sans-serif;
    pointer-events: none;
  }
  .greeter.greeter-show { pointer-events: auto; }

  /* Speech tag (sits to the LEFT of the logo bubble in the bottom-right corner) */
  .greeter-tag {
    background: #fff;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 0.86rem;
    color: var(--navy-deep);
    font-weight: 500;
    box-shadow: 0 8px 22px rgba(14,34,44,0.16);
    white-space: nowrap;
    position: relative;
    margin-bottom: 24px;
    transform: translateX(12px);
    opacity: 0;
  }
  .greeter-show .greeter-tag {
    animation: tag-slide-in 0.5s 1.6s ease forwards, greeter-bob 3s 2.2s ease-in-out infinite;
  }
  .greeter-tag::after {
    content: "";
    position: absolute;
    right: -6px;          /* arrow points RIGHT toward the bubble */
    bottom: 12px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: 2px -2px 4px rgba(14,34,44,0.06);
  }
  @keyframes tag-slide-in {
    to { transform: translateX(0); opacity: 1; }
  }
  @keyframes greeter-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-3px); }
  }

  /* The bubble — invisible container that holds rings + logo */
  .greeter-bubble {
    position: relative;
    width: 100px;
    height: 100px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
  }
  .greeter-bubble:focus-visible {
    outline: 3px solid var(--tan);
    outline-offset: 6px;
    border-radius: 50%;
  }

  /* ---- Rings ---- */
  /* Two rotating border rings (orbital) + two sonar ripples that pulse outward */
  .greeter-ring,
  .greeter-sonar {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    box-sizing: border-box;
  }
  .greeter-ring {
    inset: -8px;
    border: 2px solid var(--tan);
    border-right-color: transparent;
    border-bottom-color: transparent;
    animation: ring-spin 3.6s linear infinite;
    opacity: 0;
  }
  .greeter-ring.outer {
    inset: -16px;
    border: 2px dashed rgba(232,167,122,0.55);
    border-top-color: transparent;
    animation: ring-spin 8s linear infinite reverse;
  }
  .greeter-show .greeter-ring         { animation: ring-fade-in 0.4s 0.1s ease forwards, ring-spin 3.6s 0.5s linear infinite; }
  .greeter-show .greeter-ring.outer   { animation: ring-fade-in 0.4s 0.1s ease forwards, ring-spin 8s   0.5s linear infinite reverse; }

  .greeter-sonar {
    inset: 0;
    border: 2px solid var(--tan);
    opacity: 0;
  }
  .greeter-show .greeter-sonar       { animation: sonar 2.4s 0.4s ease-out infinite; }
  .greeter-show .greeter-sonar.s2    { animation: sonar 2.4s 1.0s ease-out infinite; }
  .greeter-show .greeter-sonar.s3    { animation: sonar 2.4s 1.6s ease-out infinite; }

  /* Quiet state — once the user scrolls past the hero, rings/sonar fade out
     so the logo can sit calmly in the corner without competing with content. */
  .greeter.greeter-quiet .greeter-ring,
  .greeter.greeter-quiet .greeter-sonar {
    animation: none;
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  @keyframes ring-spin    { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
  @keyframes ring-fade-in { to { opacity: 1; } }
  @keyframes sonar {
    0%   { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(2.0); opacity: 0;   }
  }

  /* ---- Logo (appears AFTER rings have animated for a moment) ----
     Anchored to the bubble's true geometric center. If your logo PNG has
     asymmetric whitespace and the visible hex appears off-center, the
     cleanest fix is to retrim the PNG itself rather than offset in CSS. */
  .greeter-thumb {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 70%;
    transform: translate(-50%, -50%) scale(0);
    transform-origin: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 6px 12px rgba(14,34,44,0.30));
    opacity: 0;
  }
  .greeter-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
  }
  .greeter-show .greeter-thumb {
    animation: logo-pop 0.7s 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }
  /* No rotation — hexagons look crooked at small angles. Just a scale-bounce. */
  @keyframes logo-pop {
    0%   { transform: translate(-50%, -50%) scale(0);    opacity: 0; }
    60%  { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1);    opacity: 1; }
  }
  .greeter-bubble:hover .greeter-thumb {
    animation: logo-bump 0.5s ease-out;
  }
  @keyframes logo-bump {
    0%, 100% { transform: translate(-50%, -50%) scale(1);    }
    50%      { transform: translate(-50%, -50%) scale(1.08); }
  }

  /* ---- Greeting Card (text only — no video, no people) ---- */
  .greeter-card {
    position: fixed;
    right: 22px;
    bottom: 138px;
    width: 320px;
    max-width: calc(100vw - 44px);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 30px 70px rgba(14,34,44,0.32);
    overflow: hidden;
    transform: translateY(12px) scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 101;
    border-top: 4px solid var(--tan);
  }
  .greeter-card.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }
  .greeter-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(14,34,44,0.08);
    color: var(--navy-deep);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .greeter-close:hover { background: var(--navy-deep); color: #fff; }
  .greeter-body { padding: 28px 24px 24px; }
  .greeter-body h4 {
    margin: 0 0 8px;
    color: var(--navy-deep);
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
  }
  .greeter-body p {
    margin: 0 0 18px;
    color: var(--ink-soft);
    font-size: 0.94rem;
    line-height: 1.55;
  }
  .greeter-body .btn { width: 100%; }

  @media (max-width: 540px) {
    .greeter { right: 14px; bottom: 14px; gap: 10px; }
    .greeter-bubble { width: 76px; height: 76px; }
    .greeter-tag { font-size: 0.78rem; padding: 7px 12px; margin-bottom: 14px; }
    .greeter-card { right: 14px; bottom: 110px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .greeter-ring, .greeter-sonar, .greeter-tag, .greeter-thumb {
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
    }
  }

/* Utility classes extracted from inline style= attributes (CSP hardening) */
.dim { opacity: 0.7; }
.text-white { color: #fff; }
.footer-blurb { margin: 0; max-width: 320px; }

/* small version tag next to the brand name */
.brand-ver { font-size: 0.58rem; font-weight: 500; color: var(--ink-soft, #6b7280); opacity: 0.7; letter-spacing: 0.03em; vertical-align: 0.35em; margin-left: 2px; }
