/* ==========================================================================
   sora.garden — wabi-sabi broken-grid stylesheet
   Palette: #B8956A, #3B2F2B, #EDE6DA, #8A8178, #4A3728, #6B7F5E, #E8DDD0, #C4A86B
   Typography: Sawarabi Mincho (display), Cormorant Garamond (headings), Karla (body)
   ========================================================================== */

:root {
    --stone: #8A8178;          /* weathered granite */
    --earth: #3B2F2B;          /* wet garden soil */
    --moss: #6B7F5E;           /* shade moss */
    --lichen: #C4A86B;         /* lichen gold */
    --clay: #B8956A;           /* unglazed terracotta */
    --paper: #EDE6DA;          /* warm washi cream */
    --paper-warm: #E8DDD0;     /* warmer afternoon cream */
    --iron: #4A3728;           /* rust brown text */

    --ease-slow: cubic-bezier(0.25, 0.1, 0.25, 1.0);
    --max-w: 1200px;

    --fs-display: clamp(2.5rem, 6vw, 5rem);
    --fs-heading: clamp(1.5rem, 3.5vw, 2.8rem);
    --fs-sub: clamp(1.1rem, 1.6vw, 1.45rem);
    --fs-body: clamp(0.95rem, 1.1vw, 1.1rem);
    --fs-small: clamp(0.82rem, 0.95vw, 0.95rem);
}

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

html, body {
    background: var(--paper);
    color: var(--iron);
    font-family: "Karla", "Inter", system-ui, sans-serif;
    font-size: var(--fs-body);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    position: relative;
    min-height: 100vh;
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(196, 168, 107, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 100%, rgba(107, 127, 94, 0.08) 0%, transparent 55%);
}

/* Hide the global-defs svg so it doesn't take up layout */
.global-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   Page-wide noise overlay — scroll-reactive via --noise-freq custom property
   -------------------------------------------------------------------------- */
.page-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.06;
    mix-blend-mode: multiply;
    z-index: 2;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.23  0 0 0 0 0.18  0 0 0 0 0.15  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    background-size: 320px 320px;
    transition: opacity 2s var(--ease-slow);
}

/* Warmth overlay fades in as user scrolls — #EDE6DA → #E8DDD0 */
.warmth-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(180deg, rgba(237, 230, 218, 0) 0%, rgba(232, 221, 208, 0.55) 100%);
    opacity: var(--warmth, 0);
    transition: opacity 2.2s var(--ease-slow);
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.domain {
    font-family: "Sawarabi Mincho", "Cormorant Garamond", serif;
    font-weight: 400;
    font-size: var(--fs-display);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--earth);
    line-height: 1.05;
}

.domain .dot {
    color: var(--lichen);
    font-weight: 400;
    padding: 0 0.05em;
}

.heading {
    font-family: "Cormorant Garamond", "Lora", serif;
    font-weight: 300;
    font-size: var(--fs-heading);
    line-height: 1.2;
    color: var(--iron);
    letter-spacing: 0.01em;
    margin-bottom: 0.9em;
}

.subheading {
    font-family: "Cormorant Garamond", "Lora", serif;
    font-weight: 300;
    font-size: var(--fs-sub);
    color: var(--iron);
    line-height: 1.3;
    margin-bottom: 0.7em;
    letter-spacing: 0.02em;
}

.body {
    font-family: "Karla", sans-serif;
    font-weight: 400;
    color: var(--iron);
    line-height: 1.75;
    margin-bottom: 0.9em;
}
.body:last-child { margin-bottom: 0; }
.body.small { font-size: var(--fs-small); line-height: 1.7; }

.eyebrow-text {
    font-family: "Karla", sans-serif;
    font-size: var(--fs-small);
    letter-spacing: 0.25em;
    text-transform: lowercase;
    color: var(--stone);
    font-weight: 500;
}

.footnote {
    display: inline-block;
    margin-top: 1.2em;
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: 0.9rem;
    color: var(--stone);
    letter-spacing: 0.04em;
}

.kanji {
    font-family: "Sawarabi Mincho", serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: var(--lichen);
    opacity: 0.55;
    display: block;
    line-height: 1;
    margin-bottom: 0.3em;
    font-weight: 400;
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    background: var(--stone);
    isolation: isolate;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 60% 55% at 30% 35%, rgba(237, 230, 218, 0.55) 0%, rgba(138, 129, 120, 0) 60%),
        radial-gradient(ellipse 45% 40% at 72% 28%, rgba(196, 168, 107, 0.28) 0%, rgba(138, 129, 120, 0) 65%),
        radial-gradient(ellipse 55% 50% at 80% 82%, rgba(74, 55, 40, 0.35) 0%, rgba(138, 129, 120, 0) 65%),
        radial-gradient(ellipse 40% 40% at 18% 88%, rgba(107, 127, 94, 0.30) 0%, rgba(138, 129, 120, 0) 65%),
        conic-gradient(from 210deg at 55% 50%, rgba(184, 149, 106, 0.14), rgba(138, 129, 120, 0) 25%, rgba(107, 127, 94, 0.16) 55%, rgba(138, 129, 120, 0) 80%, rgba(184, 149, 106, 0.14));
    filter: blur(0.5px);
}

.hero-mesh::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.9 0.2' numOctaves='1' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.30  0 0 0 0 0.25  0 0 0 0 0.22  0 0 0 0.28 0'/></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>");
    background-size: 260px 260px;
    opacity: 0.55;
    mix-blend-mode: multiply;
}

.blob-field {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-name {
    position: absolute;
    top: 60%;
    left: 35%;
    transform: translate(-50%, -50%);
    z-index: 3;
    max-width: min(640px, 78vw);
}

.hero-name .domain {
    color: var(--paper);
    text-shadow: 0 2px 0 rgba(59, 47, 43, 0.2);
    opacity: 0;
    transform: translateY(18px);
    animation: hero-rise 2.4s var(--ease-slow) 0.3s forwards;
}

.hero-name .sublabel {
    margin-top: 1.6em;
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    letter-spacing: 0.05em;
    color: rgba(237, 230, 218, 0.78);
    max-width: 34ch;
    text-transform: lowercase;
    opacity: 0;
    animation: hero-rise 2.4s var(--ease-slow) 0.9s forwards;
}

@keyframes hero-rise {
    to { opacity: 1; transform: translateY(0); }
}

.hero-crack {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.descent {
    position: absolute;
    bottom: 3.5vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8em;
    z-index: 3;
    opacity: 0;
    animation: hero-rise 2.4s var(--ease-slow) 1.7s forwards;
}
.descent-word {
    font-family: "Karla", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.45em;
    text-transform: lowercase;
    color: rgba(237, 230, 218, 0.7);
}
.descent-line {
    width: 1px;
    height: 62px;
    background: linear-gradient(180deg, rgba(237, 230, 218, 0.7) 0%, rgba(237, 230, 218, 0) 100%);
    animation: descent-drip 3.6s var(--ease-slow) infinite;
    transform-origin: top;
}
@keyframes descent-drip {
    0%   { transform: scaleY(0.2); opacity: 0.3; }
    50%  { transform: scaleY(1);   opacity: 0.9; }
    100% { transform: scaleY(0.2); opacity: 0.3; }
}

/* --------------------------------------------------------------------------
   BRUSH DIVIDER — ink brush stroke between sections
   -------------------------------------------------------------------------- */
.brush-divider {
    position: relative;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 6vw;
    height: 40px;
    z-index: 4;
}
.brush-divider svg {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.8;
}

/* --------------------------------------------------------------------------
   STONE GRID — broken-grid tobi-ishi composition
   -------------------------------------------------------------------------- */
.stones {
    position: relative;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: clamp(80px, 14vh, 180px) 4vw;
    z-index: 3;
}

.stone-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
    position: relative;
    z-index: 3;
}

/* Broken-grid placements — each stone offset asymmetrically, vertical gaps follow Fibonacci rhythm */
.stones-one .stone-eyebrow     { grid-column: 2 / span 5;  margin-top: 0;     margin-left: -10px; }
.stones-one .stone-wide        { grid-column: 2 / span 8;  margin-top: 60px;  margin-left: 15px; }
.stones-one .stone-tall        { grid-column: 9 / span 4;  margin-top: -40px; margin-right: -8px; }
.stones-one .stone-mesh        { grid-column: 3 / span 6;  margin-top: 100px; margin-left: -18px; }
.stones-one .stone-quote       { grid-column: 8 / span 5;  margin-top: 40px;  margin-left: 18px; }

.stones-two .stone-eyebrow.right { grid-column: 7 / span 5;  margin-top: 0;     text-align: right; margin-right: -8px; }
.stones-two .stone-mesh.mesh-tall { grid-column: 2 / span 5;  margin-top: 60px;  margin-left: -15px; }
.stones-two .stone-body        { grid-column: 7 / span 6;  margin-top: -30px; margin-right: -10px; }
.stones-two .stone-note        { grid-column: 3 / span 4;  margin-top: 160px; margin-left: 10px; }
.stones-two .stone-list        { grid-column: 7 / span 5;  margin-top: 40px;  margin-left: 18px; }
.stones-two .stone-slim        { grid-column: 2 / span 5;  margin-top: 100px; margin-left: -5px; }

.stones-three .stone-eyebrow   { grid-column: 8 / span 5;  margin-top: 0;     text-align: right; }
.stones-three .kintsugi-feature { grid-column: 2 / span 8; margin-top: 60px;  margin-left: 20px; }
.stones-three .stone-mesh      { grid-column: 8 / span 5;  margin-top: -30px; margin-right: -12px; }
.stones-three .stone-tall      { grid-column: 2 / span 4;  margin-top: 160px; margin-left: -10px; }
.stones-three .kintsugi-card   { grid-column: 6 / span 6;  margin-top: 40px;  margin-left: 15px; }

/* --------------------------------------------------------------------------
   STONE BLOCK — irregular border-radius, texture overlay
   -------------------------------------------------------------------------- */
.stone {
    position: relative;
    background: var(--paper);
    padding: clamp(22px, 2.6vw, 42px);
    border-radius: var(--radius, 3px 7px 2px 8px);
    box-shadow:
        0 1px 0 rgba(74, 55, 40, 0.06),
        0 10px 28px -22px rgba(59, 47, 43, 0.28);
    overflow: hidden;
    isolation: isolate;
    transition: transform 2s var(--ease-slow), box-shadow 2s var(--ease-slow), opacity 2s var(--ease-slow);
    opacity: 0;
    transform: translateY(24px);
    will-change: transform, opacity;
}

.stone.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Overlap zones use multiply blend — stones that reach into neighbor's column */
.stones-one .stone-wide,
.stones-one .stone-mesh,
.stones-two .stone-body,
.stones-three .kintsugi-feature {
    mix-blend-mode: normal;
}

.stone-eyebrow {
    background: transparent;
    box-shadow: none;
    padding: 12px 0 0 0;
    border-radius: 0;
}
.stone-eyebrow.is-visible { transform: translateY(0); }

/* Individual stone textures (pseudo overlays) */
.stone-texture {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.32;
    mix-blend-mode: multiply;
}
.stone-grain {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='s'><feTurbulence type='fractalNoise' baseFrequency='0.9 0.2' numOctaves='1' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.30  0 0 0 0 0.25  0 0 0 0 0.22  0 0 0 0.22 0'/></filter><rect width='100%25' height='100%25' filter='url(%23s)'/></svg>");
    background-size: 200px 200px;
}
.paper-fiber {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='0.45 0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.28  0 0 0 0 0.21  0 0 0 0 0.15  0 0 0 0.20 0'/></filter><rect width='100%25' height='100%25' filter='url(%23p)' transform='rotate(24)'/></svg>");
    background-size: 220px 220px;
}
.moss-stipple {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='m'><feTurbulence type='turbulence' baseFrequency='1.4' numOctaves='1' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.42  0 0 0 0 0.50  0 0 0 0 0.37  0 0 0 0.30 0'/></filter><rect width='100%25' height='100%25' filter='url(%23m)'/></svg>");
    background-size: 240px 240px;
}

.stone > *:not(.stone-texture) {
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   MESH PANELS — full atmospheric landscape cards
   -------------------------------------------------------------------------- */
.stone-mesh {
    padding: 0;
    min-height: 280px;
    background: var(--paper);
}
.stone-mesh.mesh-tall { min-height: 420px; }

.mesh-field {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    flex: 1;
}
.stone-mesh { display: flex; flex-direction: column; }

.mesh-a {
    min-height: 260px;
    background:
        radial-gradient(ellipse 70% 60% at 30% 30%, rgba(138, 129, 120, 0.85) 0%, rgba(138, 129, 120, 0) 60%),
        radial-gradient(ellipse 50% 40% at 75% 25%, rgba(237, 230, 218, 0.75) 0%, rgba(237, 230, 218, 0) 60%),
        radial-gradient(ellipse 60% 55% at 60% 85%, rgba(107, 127, 94, 0.65) 0%, rgba(107, 127, 94, 0) 65%),
        conic-gradient(from 180deg at 50% 60%, #B8956A33, #8A817844 25%, #6B7F5E55 55%, #C4A86B33 80%, #B8956A33),
        linear-gradient(140deg, #EDE6DA 0%, #8A8178 100%);
}
.mesh-b {
    min-height: 400px;
    background:
        radial-gradient(ellipse 60% 55% at 40% 25%, rgba(107, 127, 94, 0.88) 0%, rgba(107, 127, 94, 0) 65%),
        radial-gradient(ellipse 50% 45% at 70% 70%, rgba(74, 55, 40, 0.55) 0%, rgba(74, 55, 40, 0) 65%),
        radial-gradient(ellipse 40% 35% at 20% 85%, rgba(196, 168, 107, 0.45) 0%, rgba(196, 168, 107, 0) 65%),
        conic-gradient(from 300deg at 55% 45%, #6B7F5E44, #3B2F2B22 30%, #8A817855 60%, #C4A86B33 85%, #6B7F5E44),
        linear-gradient(200deg, #E8DDD0 0%, #6B7F5E 100%);
}
.mesh-c {
    min-height: 260px;
    background:
        radial-gradient(ellipse 65% 55% at 60% 30%, rgba(196, 168, 107, 0.85) 0%, rgba(196, 168, 107, 0) 60%),
        radial-gradient(ellipse 40% 40% at 20% 70%, rgba(74, 55, 40, 0.55) 0%, rgba(74, 55, 40, 0) 65%),
        radial-gradient(ellipse 50% 45% at 80% 80%, rgba(184, 149, 106, 0.55) 0%, rgba(184, 149, 106, 0) 65%),
        conic-gradient(from 60deg at 50% 50%, #C4A86B66, #B8956A44 30%, #4A372833 60%, #EDE6DA33 85%, #C4A86B66),
        linear-gradient(160deg, #C4A86B 0%, #4A3728 100%);
}

.mesh-caption {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--stone);
    padding: 14px 20px 18px;
    letter-spacing: 0.04em;
    background: var(--paper);
    border-top: 1px solid rgba(138, 129, 120, 0.18);
}

/* --------------------------------------------------------------------------
   QUOTES & LISTS
   -------------------------------------------------------------------------- */
.pull {
    font-family: "Cormorant Garamond", serif;
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1.2rem, 1.8vw, 1.7rem);
    line-height: 1.45;
    color: var(--iron);
    position: relative;
    padding-left: 0.4em;
}
.pull.small-pull {
    font-size: clamp(1.05rem, 1.4vw, 1.35rem);
}
.pull .mark {
    font-family: "Sawarabi Mincho", serif;
    color: var(--lichen);
    font-size: 2.4em;
    line-height: 0;
    position: absolute;
    top: 0.32em;
    left: -0.18em;
    opacity: 0.7;
}

.rites {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55em;
    margin-top: 0.6em;
}
.rites li {
    font-family: "Karla", sans-serif;
    font-size: var(--fs-small);
    color: var(--iron);
    line-height: 1.65;
    display: flex;
    gap: 0.8em;
    padding: 4px 0;
    border-bottom: 1px dashed rgba(138, 129, 120, 0.25);
}
.rites li:last-child { border-bottom: none; }
.rite-mark {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    color: var(--lichen);
    min-width: 1.8em;
    opacity: 0.85;
}

/* --------------------------------------------------------------------------
   KINTSUGI — animated golden lines inside stones
   -------------------------------------------------------------------------- */
svg.kintsugi {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 18px;
    overflow: visible;
}

.kintsugi-line {
    stroke-linecap: round;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    transition: stroke-dashoffset 3.6s var(--ease-slow);
}

.kintsugi-line.is-drawn {
    stroke-dashoffset: 0;
}

.big-kintsugi { margin-top: 22px; height: 140px; }

.hero-crack .kintsugi-line {
    stroke-dasharray: 3000;
    stroke-dashoffset: 3000;
    animation: draw-hero-crack 5.5s var(--ease-slow) 2.2s forwards;
}
@keyframes draw-hero-crack {
    to { stroke-dashoffset: 0; }
}

.coda-crack .kintsugi-line {
    stroke-dasharray: 3000;
    stroke-dashoffset: 3000;
    transition: stroke-dashoffset 4.5s var(--ease-slow);
}

/* --------------------------------------------------------------------------
   BLOBS — continuously morphing organic shapes (each on different phase)
   -------------------------------------------------------------------------- */
.blob {
    transform-origin: 50% 50%;
    will-change: d, transform;
}

/* Per-blob morph animations — slow, Fibonacci-like durations */
.morph-a { animation: breathe-a 10s var(--ease-slow) infinite alternate; }
.morph-b { animation: breathe-b 12s var(--ease-slow) infinite alternate;  animation-delay: -2s; }
.morph-c { animation: breathe-c 9s var(--ease-slow) infinite alternate;   animation-delay: -4s; }
.morph-d { animation: breathe-d 11s var(--ease-slow) infinite alternate;  animation-delay: -6s; }
.morph-e { animation: breathe-a 10s var(--ease-slow) infinite alternate;  animation-delay: -3s; }
.morph-f { animation: breathe-b 8s var(--ease-slow) infinite alternate;   animation-delay: -1.5s; }
.morph-g { animation: breathe-c 12s var(--ease-slow) infinite alternate;  animation-delay: -5s; }
.morph-h { animation: breathe-d 11s var(--ease-slow) infinite alternate; }
.morph-i { animation: breathe-a 9s var(--ease-slow) infinite alternate;   animation-delay: -4s; }
.morph-j { animation: breathe-b 13s var(--ease-slow) infinite alternate;  animation-delay: -6s; }
.morph-k { animation: breathe-c 10s var(--ease-slow) infinite alternate;  animation-delay: -2s; }
.morph-l { animation: breathe-d 12s var(--ease-slow) infinite alternate; }
.morph-m { animation: breathe-a 11s var(--ease-slow) infinite alternate;  animation-delay: -3s; }
.morph-n { animation: breathe-b 10s var(--ease-slow) infinite alternate;  animation-delay: -5s; }
.morph-o { animation: breathe-c 8s var(--ease-slow) infinite alternate;   animation-delay: -2s; }
.morph-p { animation: breathe-d 11s var(--ease-slow) infinite alternate;  animation-delay: -4s; }

@keyframes breathe-a {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(8px, -6px) scale(1.035) rotate(1.6deg); }
}
@keyframes breathe-b {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(-10px, 5px) scale(0.97) rotate(-1.8deg); }
}
@keyframes breathe-c {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(6px, 8px) scale(1.04) rotate(1.2deg); }
}
@keyframes breathe-d {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(-7px, -5px) scale(0.96) rotate(-1.4deg); }
}

/* --------------------------------------------------------------------------
   CODA / FOOTER
   -------------------------------------------------------------------------- */
.coda {
    position: relative;
    padding: clamp(80px, 14vh, 160px) 4vw clamp(100px, 16vh, 180px);
    max-width: var(--max-w);
    margin: 0 auto;
    text-align: center;
    z-index: 3;
}

.coda-inner {
    position: relative;
    z-index: 4;
    max-width: 640px;
    margin: 0 auto;
}

.coda-mark {
    font-family: "Sawarabi Mincho", serif;
    font-size: 2.6rem;
    color: var(--lichen);
    opacity: 0.6;
    line-height: 1;
    margin-bottom: 0.6em;
}

.coda-text {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.1rem, 1.6vw, 1.45rem);
    line-height: 1.6;
    color: var(--iron);
    letter-spacing: 0.02em;
}

.coda-sign {
    margin-top: 2.4em;
    font-family: "Karla", sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    text-transform: lowercase;
    color: var(--stone);
}

.coda-crack {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    width: 100%;
    height: 140px;
    z-index: 3;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   RESPONSIVE — collapse broken-grid on smaller screens (still asymmetric)
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .stones { padding: clamp(60px, 10vh, 120px) 5vw; }
    .stone-grid { gap: 0; }

    .stones-one .stone-eyebrow,
    .stones-one .stone-wide,
    .stones-one .stone-tall,
    .stones-one .stone-mesh,
    .stones-one .stone-quote,
    .stones-two .stone-eyebrow.right,
    .stones-two .stone-mesh.mesh-tall,
    .stones-two .stone-body,
    .stones-two .stone-note,
    .stones-two .stone-list,
    .stones-two .stone-slim,
    .stones-three .stone-eyebrow,
    .stones-three .kintsugi-feature,
    .stones-three .stone-mesh,
    .stones-three .stone-tall,
    .stones-three .kintsugi-card {
        grid-column: 1 / -1;
        margin-left: 0;
        margin-right: 0;
    }

    .stones-one .stone-wide         { margin-top: 40px; margin-left: -6px; }
    .stones-one .stone-tall         { margin-top: 40px; margin-right: -6px; margin-left: 18px; }
    .stones-one .stone-mesh         { margin-top: 60px; margin-left: -6px; }
    .stones-one .stone-quote        { margin-top: 40px; margin-left: 12px; }

    .stones-two .stone-mesh.mesh-tall { margin-top: 40px; }
    .stones-two .stone-body           { margin-top: 40px; margin-right: -6px; }
    .stones-two .stone-note           { margin-top: 60px; margin-left: 18px; }
    .stones-two .stone-list           { margin-top: 40px; }
    .stones-two .stone-slim           { margin-top: 60px; margin-left: 6px; }

    .stones-three .kintsugi-feature { margin-top: 40px; }
    .stones-three .stone-mesh       { margin-top: 40px; }
    .stones-three .stone-tall       { margin-top: 60px; margin-left: 12px; }
    .stones-three .kintsugi-card    { margin-top: 40px; }

    .hero-name { top: 52%; left: 50%; max-width: 86vw; }
    .stones-two .stone-eyebrow.right { text-align: left; }
    .stones-three .stone-eyebrow     { text-align: left; }
}

@media (max-width: 540px) {
    .hero-name .domain { letter-spacing: 0.1em; }
    .stone { padding: 22px 20px; }
    .mesh-a, .mesh-c { min-height: 210px; }
    .mesh-b { min-height: 300px; }
}

/* Respect reduced motion — halt morph/draw animations */
@media (prefers-reduced-motion: reduce) {
    .blob, .descent-line, .kintsugi-line, .hero-name .domain, .hero-name .sublabel, .descent {
        animation: none !important;
        transition: none !important;
    }
    .hero-name .domain, .hero-name .sublabel, .descent { opacity: 1; transform: none; }
    .kintsugi-line { stroke-dashoffset: 0 !important; }
    .stone { opacity: 1; transform: none; }
}
