/* ============================================================
   lovable.dev — blobitecture fluid layout
   Soft, organic, hug-like. No corners. Everything breathes.
   ============================================================ */

:root {
    --blush: #fef3f0;          /* primary background */
    --mint-bg: #f0fef3;
    --lilac-bg: #f3f0fe;
    --sky-bg: #f0f3fe;
    --coral: #ff8a80;          /* primary blob */
    --rose: #ff6b8a;
    --sky: #8ac4ff;
    --mint: #a8e6cf;
    --ink: #2d2d3a;
    --muted: #9a9aaa;

    --shadow-coral: 0 12px 40px rgba(255, 138, 128, 0.25);
    --shadow-rose:  0 10px 32px rgba(255, 107, 138, 0.22);
    --shadow-sky:   0 10px 32px rgba(138, 196, 255, 0.22);
    --shadow-mint:  0 10px 32px rgba(168, 230, 207, 0.32);

    --display: 'Nunito', system-ui, -apple-system, sans-serif;
    --body:    'Nunito', system-ui, -apple-system, sans-serif;
    --code:    'Fira Code', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    font-weight: 400;
    line-height: 1.8;
    color: var(--ink);
    background: var(--blush);
    background-image:
        radial-gradient(ellipse 60% 40% at 12% 8%,  rgba(168,230,207,0.35), transparent 70%),
        radial-gradient(ellipse 50% 35% at 92% 22%, rgba(138,196,255,0.30), transparent 70%),
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(255,138,128,0.22), transparent 70%),
        linear-gradient(180deg, #fef3f0 0%, #f3f0fe 55%, #f0f3fe 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ============================================================
   GLOBAL ANIMATIONS — the breathing system
   ============================================================ */

@keyframes morph {
    0%   { border-radius: 40% 60% 70% 30% / 40% 30% 70% 60%; }
    50%  { border-radius: 60% 40% 30% 70% / 60% 70% 30% 40%; }
    100% { border-radius: 40% 60% 70% 30% / 40% 30% 70% 60%; }
}

@keyframes morph-alt {
    0%   { border-radius: 65% 35% 50% 50% / 50% 50% 50% 50%; }
    50%  { border-radius: 30% 70% 60% 40% / 50% 60% 40% 50%; }
    100% { border-radius: 65% 35% 50% 50% / 50% 50% 50% 50%; }
}

@keyframes morph-soft {
    0%   { border-radius: 50% 50% 60% 40% / 50% 60% 40% 50%; }
    50%  { border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%; }
    100% { border-radius: 50% 50% 60% 40% / 50% 60% 40% 50%; }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25%      { transform: translate(4px, -3px); }
    50%      { transform: translate(-2px, -6px); }
    75%      { transform: translate(-4px, 2px); }
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50%      { transform: translate(8px, -10px) rotate(8deg); }
}

@keyframes heartbeat {
    0%, 100% { transform: rotate(45deg) scale(1); }
    20%      { transform: rotate(45deg) scale(1.18); }
    35%      { transform: rotate(45deg) scale(1); }
    55%      { transform: rotate(45deg) scale(1.12); }
    70%      { transform: rotate(45deg) scale(1); }
}

@keyframes fadeUp {
    0%   { opacity: 0; transform: translateY(24px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   AMBIENT FLOATING BLOBS (background field)
   ============================================================ */

.ambient-field {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.float-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.45;
    filter: blur(0.5px);
    animation: float 9s ease-in-out infinite;
}
.float-blob--coral { background: var(--coral); box-shadow: var(--shadow-coral); }
.float-blob--rose  { background: var(--rose);  box-shadow: var(--shadow-rose); }
.float-blob--sky   { background: var(--sky);   box-shadow: var(--shadow-sky); }
.float-blob--mint  { background: var(--mint);  box-shadow: var(--shadow-mint); }

/* ============================================================
   HEART ACCENT (CSS-only, per DESIGN.md)
   ============================================================ */

.heart {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--coral);
    transform: rotate(45deg);
    position: relative;
    margin: 0 0.5rem;
    flex: 0 0 auto;
}
.heart::before, .heart::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--coral);
    position: absolute;
}
.heart::before { left: -5px; top: 0; }
.heart::after  { left: 0;    top: -5px; }

.heart--hero {
    width: 16px; height: 16px;
    margin-top: 1.2rem;
    animation: heartbeat 2.4s ease-in-out infinite;
}
.heart--hero::before, .heart--hero::after {
    width: 16px; height: 16px;
}
.heart--hero::before { left: -8px; }
.heart--hero::after  { top: -8px; }

.heart--big {
    width: 14px; height: 14px;
    margin: 0 1rem;
    background: var(--rose);
    animation: heartbeat 2s ease-in-out infinite;
}
.heart--big::before, .heart--big::after {
    width: 14px; height: 14px;
    background: var(--rose);
}
.heart--big::before { left: -7px; }
.heart--big::after  { top: -7px; }

/* ============================================================
   SECTION HEAD
   ============================================================ */

.section-head {
    max-width: 760px;
    margin: 0 auto 3.5rem;
    padding: 0 1.5rem;
    text-align: left;
}
.section-head--center { text-align: center; margin-inline: auto; }

.section-kicker {
    display: inline-block;
    font-family: var(--code);
    font-size: 0.78rem;
    color: var(--rose);
    letter-spacing: 0.18em;
    text-transform: lowercase;
    padding: 0.4rem 1.1rem;
    background: rgba(255, 138, 128, 0.12);
    border-radius: 999px;
    margin-bottom: 1.2rem;
}

.section-title {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(1.8rem, 4.2vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 1rem;
}
.section-title em {
    font-style: italic;
    color: var(--rose);
}

.section-lede {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: var(--muted);
    max-width: 60ch;
}

/* ============================================================
   HERO — The Heart of Code
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 8rem;
    z-index: 1;
}

.hero-blob {
    position: relative;
    width: clamp(280px, 50vw, 480px);
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #ff8a80, #ff6b8a);
    border-radius: 40% 60% 70% 30% / 40% 30% 70% 60%;
    animation: morph 8s ease-in-out infinite;
    box-shadow: var(--shadow-coral),
                inset 0 -20px 60px rgba(255, 107, 138, 0.4),
                inset 0 20px 60px rgba(255, 220, 220, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
    z-index: 2;
}

.hero-blob-inner {
    text-align: center;
    color: #fff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-eyebrow {
    font-family: var(--code);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: lowercase;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
    line-height: 1;
    color: #fff;
    text-shadow: 0 4px 16px rgba(180, 40, 70, 0.25);
}
.hero-dot { color: #fef3f0; }

.hero-tag {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    margin-top: 0.8rem;
    opacity: 0.92;
}

/* hero companion blobs */
.hero-companion {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    animation: morph 10s ease-in-out infinite, drift 12s ease-in-out infinite;
}
.hero-companion--1 {
    top: 12%; left: 14%;
    width: clamp(80px, 12vw, 150px); aspect-ratio: 1;
    background: linear-gradient(135deg, var(--mint), #c4f1d9);
    box-shadow: var(--shadow-mint);
    animation-delay: 0s, 0s;
}
.hero-companion--2 {
    top: 18%; right: 10%;
    width: clamp(70px, 10vw, 120px); aspect-ratio: 1;
    background: linear-gradient(135deg, var(--sky), #c8e0ff);
    box-shadow: var(--shadow-sky);
    animation-delay: 1.5s, 0.5s;
}
.hero-companion--3 {
    bottom: 18%; left: 8%;
    width: clamp(60px, 8vw, 100px); aspect-ratio: 1;
    background: linear-gradient(135deg, #d4baff, #f3f0fe);
    box-shadow: 0 10px 32px rgba(180, 140, 255, 0.22);
    animation-delay: 0.8s, 2s;
}
.hero-companion--4 {
    bottom: 12%; right: 14%;
    width: clamp(90px, 13vw, 160px); aspect-ratio: 1;
    background: linear-gradient(135deg, var(--rose), #ffb1c4);
    box-shadow: var(--shadow-rose);
    animation-delay: 2.2s, 1.2s;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: var(--muted);
    font-family: var(--code);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
}
.hero-scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--muted), transparent);
    animation: float 3s ease-in-out infinite;
}

/* ============================================================
   LOVE LANGUAGES
   ============================================================ */

.languages {
    position: relative;
    padding: 6rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

.lang-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 2.5rem;
    margin-top: 2rem;
}

.lang-blob {
    position: relative;
    padding: 3rem 2.5rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    animation: morph-alt 11s ease-in-out infinite;
    transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}
.lang-blob:hover { transform: translateY(-6px) scale(1.02); }

.lang-blob--blush {
    background: linear-gradient(135deg, #fef3f0, #ffe0d8);
    box-shadow: var(--shadow-coral);
}
.lang-blob--mint {
    background: linear-gradient(135deg, #f0fef3, #d8f5e2);
    box-shadow: var(--shadow-mint);
}
.lang-blob--lilac {
    background: linear-gradient(135deg, #f3f0fe, #e0d8f5);
    box-shadow: 0 10px 32px rgba(180, 140, 255, 0.22);
}
.lang-blob--sky {
    background: linear-gradient(135deg, #f0f3fe, #d8e0f5);
    box-shadow: var(--shadow-sky);
}
.lang-blob--wide {
    grid-column: 1 / -1;
    min-height: 220px;
}

.lang-num {
    font-family: var(--code);
    font-size: 0.85rem;
    color: var(--rose);
    letter-spacing: 0.15em;
    margin-bottom: 0.8rem;
    opacity: 0.8;
}
.lang-blob h3 {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 0.8rem;
    color: var(--ink);
}
.lang-blob p {
    color: var(--ink);
    opacity: 0.85;
    font-size: 1rem;
}
.lang-blob > .heart {
    margin-top: auto;
    align-self: flex-end;
}

/* ============================================================
   SNIPPET (lovable component)
   ============================================================ */

.snippet {
    position: relative;
    padding: 4rem 1.5rem 6rem;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.snippet-blob {
    background: linear-gradient(160deg, #ffffff 0%, #fef3f0 100%);
    border-radius: 48% 52% 38% 62% / 50% 42% 58% 50%;
    animation: morph-soft 14s ease-in-out infinite;
    padding: 2.5rem 2.2rem;
    box-shadow: 0 20px 60px rgba(255, 138, 128, 0.18),
                inset 0 0 0 1px rgba(255, 138, 128, 0.08);
}

.snippet-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    padding-left: 1rem;
}
.snippet-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
}
.snippet-dot--coral { background: var(--coral); box-shadow: 0 0 0 3px rgba(255,138,128,0.15); }
.snippet-dot--mint  { background: var(--mint);  box-shadow: 0 0 0 3px rgba(168,230,207,0.18); }
.snippet-dot--sky   { background: var(--sky);   box-shadow: 0 0 0 3px rgba(138,196,255,0.18); }
.snippet-name {
    margin-left: 0.6rem;
    font-family: var(--code);
    font-size: 0.85rem;
    color: var(--muted);
}

.snippet-code {
    font-family: var(--code);
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.65);
    padding: 1.5rem 1.8rem;
    border-radius: 32px;
    overflow-x: auto;
    white-space: pre;
}
.c-key  { color: #c44d6f; font-weight: 600; }
.c-fn   { color: #4a7fc4; }
.c-arg  { color: #2d2d3a; }
.c-tag  { color: #6b9e6b; }
.c-attr { color: #a87b3d; }
.c-str  { color: #6b9e6b; }
.c-bool { color: #c44d6f; }
.c-cmt  { color: var(--muted); font-style: italic; }

.snippet-caption {
    margin-top: 1.5rem;
    padding: 0 1rem;
    text-align: center;
    color: var(--ink);
    opacity: 0.85;
    font-size: 0.95rem;
}
.snippet-caption strong { color: var(--rose); }

/* ============================================================
   THE LOVE METRIC
   ============================================================ */

.metric {
    position: relative;
    padding: 6rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    z-index: 1;
}

.metric-blob {
    background: linear-gradient(135deg, #f0f3fe 0%, #fef3f0 50%, #f0fef3 100%);
    border-radius: 55% 45% 60% 40% / 50% 60% 40% 50%;
    animation: morph 14s ease-in-out infinite;
    padding: 5rem 4rem;
    box-shadow: 0 20px 60px rgba(255, 138, 128, 0.15),
                0 0 80px rgba(168, 230, 207, 0.12) inset;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.metric-list {
    list-style: none;
    margin-top: 2rem;
}
.metric-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--ink);
    font-size: 1rem;
    padding-left: 0.5rem;
}
.metric-list li > .heart { margin-top: 0.7rem; }
.metric-list strong {
    font-family: var(--code);
    font-weight: 600;
    color: var(--rose);
    margin-right: 0.4rem;
}

.metric-dial {
    position: relative;
    width: clamp(220px, 28vw, 280px);
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
}
.metric-dial-svg {
    width: 100%; height: 100%;
    transform: rotate(-90deg);
}
.metric-dial-track {
    fill: none;
    stroke: rgba(255, 138, 128, 0.15);
    stroke-width: 16;
    stroke-linecap: round;
}
.metric-dial-fill {
    fill: none;
    stroke: url(#dialGrad);
    stroke-width: 16;
    stroke-linecap: round;
    stroke-dasharray: 502.65;
    stroke-dashoffset: 502.65;
    transition: stroke-dashoffset 1.6s cubic-bezier(.4,.0,.2,1);
}
.metric-dial-readout {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-align: center;
    line-height: 1;
}
.metric-dial-num {
    display: block;
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(2.6rem, 4.5vw, 3.4rem);
    color: var(--rose);
    margin-bottom: 0.4rem;
}
.metric-dial-label {
    font-family: var(--code);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    color: var(--muted);
    text-transform: lowercase;
}

/* ============================================================
   PRINCIPLES
   ============================================================ */

.principles {
    position: relative;
    padding: 6rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}
.principle-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem 2rem;
}
.principle-blob {
    position: relative;
    padding: 2.4rem 2rem;
    min-height: 200px;
    animation: morph-soft 13s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.4s ease;
}
.principle-blob:hover { transform: translateY(-4px); }

.principle-blob--blush {
    background: linear-gradient(135deg, #fef3f0, #ffd6cc);
    box-shadow: var(--shadow-coral);
    animation-delay: 0s;
}
.principle-blob--mint {
    background: linear-gradient(135deg, #f0fef3, #c8eed4);
    box-shadow: var(--shadow-mint);
    animation-delay: 1s;
}
.principle-blob--lilac {
    background: linear-gradient(135deg, #f3f0fe, #d8ccf0);
    box-shadow: 0 10px 32px rgba(180, 140, 255, 0.22);
    animation-delay: 2s;
}
.principle-blob--sky {
    background: linear-gradient(135deg, #f0f3fe, #c8d8f0);
    box-shadow: var(--shadow-sky);
    animation-delay: 1.5s;
}

.principle-num {
    font-family: var(--code);
    font-size: 0.95rem;
    color: var(--rose);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}
.principle-blob p {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--ink);
}
.principle-blob p em { color: var(--rose); font-style: italic; }

/* ============================================================
   FIELD GUIDE
   ============================================================ */

.guide {
    position: relative;
    padding: 4rem 1.5rem 6rem;
    max-width: 980px;
    margin: 0 auto;
    z-index: 1;
}
.guide-blob {
    background: linear-gradient(140deg, #f0fef3 0%, #fef3f0 100%);
    border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
    animation: morph 16s ease-in-out infinite;
    padding: 4.5rem 3.5rem;
    box-shadow: var(--shadow-mint), 0 20px 60px rgba(255, 138, 128, 0.12);
}

.guide-rows {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}
.guide-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.3rem 1.5rem;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%;
    transition: background 0.3s ease, transform 0.4s ease;
}
.guide-row:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateX(4px);
}
.guide-day {
    font-family: var(--code);
    font-weight: 600;
    color: var(--rose);
    text-transform: lowercase;
    letter-spacing: 0.15em;
    padding-top: 0.2rem;
    font-size: 0.95rem;
}
.guide-cell h4 {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ink);
    margin-bottom: 0.3rem;
}
.guide-cell p {
    color: var(--ink);
    opacity: 0.78;
    font-size: 0.95rem;
}

/* ============================================================
   TESTIMONIES
   ============================================================ */

.testimonies {
    position: relative;
    padding: 4rem 1.5rem 8rem;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}
.testify-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.testify-blob {
    padding: 2.5rem 2.2rem;
    animation: morph-alt 12s ease-in-out infinite;
    box-shadow: 0 14px 40px rgba(45, 45, 58, 0.06);
}
.testify-blob--coral {
    background: linear-gradient(135deg, #fef3f0, #ffd6cc);
    box-shadow: var(--shadow-coral);
}
.testify-blob--mint {
    background: linear-gradient(135deg, #f0fef3, #c8eed4);
    box-shadow: var(--shadow-mint);
}
.testify-blob--sky {
    background: linear-gradient(135deg, #f0f3fe, #c8d8f0);
    box-shadow: var(--shadow-sky);
}
.testify-blob--lilac {
    background: linear-gradient(135deg, #f3f0fe, #d8ccf0);
    box-shadow: 0 10px 32px rgba(180, 140, 255, 0.22);
}

.testify-blob blockquote {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--ink);
    line-height: 1.65;
    margin-bottom: 1.2rem;
}
.testify-blob figcaption {
    font-family: var(--code);
    font-size: 0.82rem;
    color: var(--rose);
    letter-spacing: 0.05em;
}

/* ============================================================
   THE EMBRACE — overlapping footer blobs
   ============================================================ */

.embrace {
    position: relative;
    margin-top: 4rem;
    padding: 8rem 1.5rem 6rem;
    overflow: hidden;
    z-index: 1;
}

.embrace-blob {
    position: absolute;
    width: clamp(420px, 55vw, 680px);
    aspect-ratio: 1 / 1;
    bottom: -20%;
    border-radius: 45% 55% 60% 40% / 55% 45% 60% 40%;
    animation: morph 18s ease-in-out infinite;
    filter: blur(0.5px);
    z-index: 1;
}
.embrace-blob--left {
    left: -8%;
    background: linear-gradient(135deg, var(--coral), var(--rose));
    box-shadow: var(--shadow-coral);
    animation-delay: 0s;
}
.embrace-blob--right {
    right: -8%;
    background: linear-gradient(135deg, var(--rose), #ffb1c4);
    box-shadow: var(--shadow-rose);
    animation-delay: 2s;
    mix-blend-mode: multiply;
    opacity: 0.92;
}

.embrace-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    color: var(--ink);
    padding: 2rem 1rem;
}

.embrace-title {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 4px 18px rgba(180, 40, 70, 0.25);
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.embrace-line {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.embrace-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.6rem;
    margin-bottom: 2rem;
}
.embrace-links a {
    color: #fff;
    font-family: var(--code);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    transition: background 0.3s ease, transform 0.3s ease;
}
.embrace-links a:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: translateY(-2px);
}

.embrace-meta {
    font-family: var(--code);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.08em;
}

/* ============================================================
   ENTRANCE ANIMATIONS via JS observer
   ============================================================ */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.8,.2,1);
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   JS-DRIVEN INTERACTIONS
   ============================================================ */

@keyframes hug {
    0%   { transform: scale(1); }
    40%  { transform: scale(0.94); }
    70%  { transform: scale(1.04); }
    100% { transform: scale(1); }
}

.hero-blob.hugged {
    animation: morph 8s ease-in-out infinite, hug 0.55s cubic-bezier(.2,.8,.2,1);
}

.snippet-blob {
    transition: transform 0.6s cubic-bezier(.2,.8,.2,1),
                box-shadow 0.6s ease;
}
.snippet-blob--hugged {
    transform: scale(1.015);
    box-shadow: 0 28px 70px rgba(255, 138, 128, 0.28),
                inset 0 0 0 1px rgba(255, 138, 128, 0.12);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 880px) {
    .lang-grid { grid-template-columns: 1fr; gap: 2rem; }
    .lang-blob--wide { grid-column: auto; }
    .principle-flow { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
    .testify-row { grid-template-columns: 1fr; }
    .metric-blob {
        grid-template-columns: 1fr;
        padding: 4rem 2rem;
        gap: 3rem;
        text-align: center;
    }
    .metric-dial { margin: 0 auto; }
    .metric-list li { text-align: left; }
    .guide-blob { padding: 3rem 1.8rem; }
    .guide-row { grid-template-columns: 60px 1fr; padding: 1rem; }
    .embrace-blob { width: 90vw; }
}

@media (max-width: 540px) {
    .principle-flow { grid-template-columns: 1fr; }
    .lang-blob, .principle-blob { padding: 2.2rem 1.8rem; }
    .snippet-blob { padding: 1.8rem 1.4rem; }
    .snippet-code { font-size: 0.74rem; padding: 1rem 1.1rem; }
    .hero { padding: 5rem 1rem 7rem; }
    .embrace { padding: 6rem 1rem 5rem; }
}
