/*
  HHUDDL.com — Wabi-Sabi Imperfect Ceramic
  Palette anchors: #F5EDE3 #2C2824 #C4975A #B8723B #8BA99B #EDE0D0 #3B3530
  Reference (declared in DESIGN.md metadata): #FFFFFF #000000
*/

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #2C2824;
    color: #EDE0D0;
    font-family: 'Source Serif 4', 'Cormorant Garamond', serif;
    font-weight: 400;
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ---------- Page atmosphere ---------- */

.grain-texture {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 900;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.77  0 0 0 0 0.59  0 0 0 0 0.35  0 0 0 0.7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

.page-vignette {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(ellipse at center, transparent 55%, rgba(44,40,36,0.55) 100%);
}

/* ---------- Gather Nav (arc, not bar) ---------- */

.gather-nav {
    position: fixed;
    top: 50%;
    right: 28px;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px 14px;
}

.gather-nav::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 50%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(196,151,90,0.35), transparent);
    transform: translateX(-50%);
    pointer-events: none;
}

.nav-orb {
    position: relative;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-orb-1 { transform: translateX(0); }
.nav-orb-2 { transform: translateX(-6px); }
.nav-orb-3 { transform: translateX(-9px); }
.nav-orb-4 { transform: translateX(-9px); }
.nav-orb-5 { transform: translateX(-6px); }
.nav-orb-6 { transform: translateX(0); }

.nav-dot {
    width: 7px;
    height: 7px;
    border-radius: 48% 52% 51% 49% / 50% 47% 53% 50%;
    background: rgba(237, 224, 208, 0.35);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 0 rgba(196,151,90,0);
}

.nav-orb:hover .nav-dot,
.nav-orb.active .nav-dot {
    background: #C4975A;
    transform: scale(1.6);
    box-shadow: 0 0 14px 2px rgba(196,151,90,0.45);
}

.nav-orb::after {
    content: attr(data-label);
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%) translateX(4px);
    font-family: 'Caveat', cursive;
    font-size: 1rem;
    color: #C4975A;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s, transform 0.4s;
    white-space: nowrap;
}

.nav-orb:hover::after,
.nav-orb.active::after {
    opacity: 0.95;
    transform: translateY(-50%) translateX(0);
}

/* ---------- Sections (Stacked Clay Slabs) ---------- */

.clay-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 60px;
    overflow: hidden;
}

.hero-section {
    background: radial-gradient(ellipse at 50% 55%, #3B3530 0%, #2C2824 60%, #2C2824 100%);
    color: #EDE0D0;
    min-height: 100vh;
}

.warmth-section {
    background: linear-gradient(180deg, #2C2824 0%, #3B3530 100%);
    color: #EDE0D0;
    transform: rotate(-0.4deg);
    margin-top: -2px;
}

.warmth-section .section-content {
    transform-origin: top left;
}

.vessel-section {
    background: linear-gradient(180deg, #F5EDE3 0%, #EDE0D0 100%);
    color: #3B3530;
    transform: rotate(0.3deg);
    margin-top: -2px;
}

.huddle-section {
    background: #F5EDE3;
    color: #3B3530;
    transform: rotate(-0.2deg);
    margin-top: -2px;
}

.repair-section {
    background: linear-gradient(180deg, #EDE0D0 0%, #2C2824 100%);
    color: #EDE0D0;
    transform: rotate(0.5deg);
    margin-top: -2px;
}

.gather-section {
    background: #2C2824;
    color: #EDE0D0;
    transform: rotate(-0.3deg);
    margin-top: -2px;
}

.closing-section {
    background: radial-gradient(ellipse at 50% 50%, #3B3530 0%, #2C2824 70%);
    color: #EDE0D0;
    min-height: 70vh;
}

/* counter the rotation on inner content so reading is comfortable */
.warmth-section .section-content,
.vessel-section .section-content,
.huddle-section .section-content,
.repair-section .section-content,
.gather-section .section-content {
    transform: rotate(0deg);
}

/* ---------- Hero ---------- */

.kiln-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 151, 90, 0.32) 0%, rgba(184,114,59,0.12) 30%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
    filter: blur(2px);
}

.closing-glow {
    width: 480px;
    height: 480px;
    opacity: 0.7;
}

.hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
    max-width: 900px;
    padding: 0 20px;
}

.hero-eyebrow {
    display: inline-block;
    font-family: 'Caveat', cursive;
    font-size: 1.15rem;
    color: #C4975A;
    letter-spacing: 0.05em;
    margin-bottom: 28px;
    opacity: 0;
    animation: fade-up 1.2s ease-out 0.2s forwards;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(4rem, 12vw, 9rem);
    color: #EDE0D0;
    letter-spacing: 0.04em;
    line-height: 0.95;
    margin-bottom: 28px;
    text-shadow: 0 4px 40px rgba(196, 151, 90, 0.25);
}

.hero-title .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(14px);
    animation: letter-glow 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-tagline {
    font-family: 'Caveat', cursive;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    font-weight: 400;
    color: #C4975A;
    opacity: 0;
    animation: fade-up 1.4s ease-out 1.6s forwards;
    margin-bottom: 32px;
}

.hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: 'Source Serif 4', serif;
    font-size: 0.9rem;
    color: rgba(237,224,208,0.55);
    letter-spacing: 0.18em;
    text-transform: lowercase;
    opacity: 0;
    animation: fade-up 1.4s ease-out 2s forwards;
}

.meta-dot {
    width: 5px;
    height: 5px;
    border-radius: 47% 53% 50% 50% / 53% 47% 50% 50%;
    background: #C4975A;
}

.meta-text {
    font-style: italic;
}

.hero-steam {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 320px;
    pointer-events: none;
    opacity: 0;
    animation: fade-in 2s ease-out 2.4s forwards;
}

.steam-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.steam-path {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: steam-draw 14s ease-in-out infinite;
}

.steam-a { animation-delay: 0s; }
.steam-b { animation-delay: 4.5s; }
.steam-c { animation-delay: 9s; }

@keyframes steam-draw {
    0% { stroke-dashoffset: 600; opacity: 0; transform: translateX(0); }
    20% { opacity: 0.3; }
    50% { transform: translateX(8px); }
    80% { opacity: 0.15; }
    100% { stroke-dashoffset: -600; opacity: 0; transform: translateX(-6px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fade-up 1.6s ease-out 2.6s forwards;
}

.scroll-text {
    font-family: 'Caveat', cursive;
    font-size: 1rem;
    color: rgba(237, 224, 208, 0.55);
    letter-spacing: 0.05em;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(196,151,90,0.6), transparent);
    animation: scroll-pulse 2.4s ease-in-out infinite;
    transform-origin: top;
}

@keyframes scroll-pulse {
    0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
    50% { transform: scaleY(1); opacity: 1; }
}

@keyframes letter-glow {
    0% { opacity: 0; transform: translateY(14px); filter: blur(4px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes fade-up {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* ---------- Kintsugi Cracks ---------- */

.kintsugi-crack {
    width: 100%;
    height: 60px;
    overflow: visible;
    position: relative;
    margin: -30px 0;
    z-index: 5;
    pointer-events: none;
}

.crack-svg {
    width: 100%;
    height: 60px;
    filter: drop-shadow(0 0 6px rgba(196,151,90,0.35));
}

.crack-path {
    stroke-dasharray: 1800;
    stroke-dashoffset: 1800;
    transition: stroke-dashoffset 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.crack-path.drawn {
    stroke-dashoffset: 0;
}

.crack-dot {
    opacity: 0;
    transform-origin: center;
}

.crack-path.drawn ~ .crack-dot {
    animation: dot-pulse 2.4s ease-in-out infinite;
}

.kintsugi-crack[data-crack="1"] .crack-dot { animation-delay: 0s; }
.kintsugi-crack[data-crack="2"] .crack-dot { animation-delay: 0.4s; }
.kintsugi-crack[data-crack="3"] .crack-dot { animation-delay: 0.8s; }
.kintsugi-crack[data-crack="4"] .crack-dot { animation-delay: 1.2s; }
.kintsugi-crack[data-crack="5"] .crack-dot { animation-delay: 1.6s; }

@keyframes dot-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* ---------- Section content ---------- */

.section-content {
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1.4s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.8s ease-out;
}

.section-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-content.pressed {
    box-shadow: inset 0 1px 3px rgba(59,53,48,0.1);
}

.section-narrow {
    max-width: 540px;
}

.section-wide {
    max-width: 900px;
}

.offset-left {
    margin-right: auto;
    margin-left: 8%;
}

.offset-right {
    margin-left: auto;
    margin-right: 6%;
}

.centered-content {
    text-align: center;
    margin: 0 auto;
}

.section-label {
    font-family: 'Caveat', cursive;
    font-size: 1.1rem;
    color: #C4975A;
    display: block;
    margin-bottom: 22px;
    letter-spacing: 0.05em;
}

.section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
    letter-spacing: 0.02em;
    margin-bottom: 32px;
    line-height: 1.08;
    color: inherit;
}

.warmth-section .section-heading,
.repair-section .section-heading,
.gather-section .section-heading {
    color: #EDE0D0;
}

.vessel-section .section-heading,
.huddle-section .section-heading {
    color: #3B3530;
}

.section-text {
    font-family: 'Source Serif 4', serif;
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 22px;
    color: inherit;
}

.warmth-section .section-text,
.gather-section .section-text {
    color: rgba(237, 224, 208, 0.85);
}

.repair-section .section-text {
    color: rgba(237, 224, 208, 0.82);
}

.vessel-section .section-text,
.huddle-section .section-text {
    color: #3B3530;
}

.section-text-quiet {
    font-size: 0.95rem;
    font-style: italic;
    opacity: 0.7;
    margin-top: 10px;
}

.margin-note {
    display: block;
    font-family: 'Caveat', cursive;
    font-size: 1rem;
    color: rgba(196, 151, 90, 0.8);
    margin-top: 20px;
    padding-left: 22px;
    border-left: 1px solid rgba(196, 151, 90, 0.3);
}

/* ---------- Steam wisps ---------- */

.steam-wisps {
    position: absolute;
    top: 18%;
    right: 12%;
    z-index: 1;
    pointer-events: none;
}

.wisp {
    width: 2px;
    background: linear-gradient(to top, transparent, rgba(237, 224, 208, 0.18), transparent);
    position: absolute;
    border-radius: 1px;
    filter: blur(0.4px);
}

.steam-wisps .wisp-1 { left: 0;   height: 80px; animation: wisp-rise 7s ease-in-out infinite; }
.steam-wisps .wisp-2 { left: 18px; height: 60px; animation: wisp-rise 8s ease-in-out 1.5s infinite; }
.steam-wisps .wisp-3 { left: 36px; height: 70px; animation: wisp-rise 9s ease-in-out 3s infinite; }
.steam-wisps .wisp-4 { left: 54px; height: 50px; animation: wisp-rise 7.5s ease-in-out 4.5s infinite; }
.steam-wisps .wisp-5 { left: 72px; height: 65px; animation: wisp-rise 8.5s ease-in-out 6s infinite; }

@keyframes wisp-rise {
    0% { opacity: 0; transform: translate(0, 0) scaleY(0.3); }
    20% { opacity: 0.7; }
    50% { transform: translate(20px, -60px) scaleY(1); }
    80% { opacity: 0.3; }
    100% { opacity: 0; transform: translate(-15px, -140px) scaleY(0.4); }
}

.ember-cluster {
    position: absolute;
    bottom: 18%;
    left: 14%;
    width: 80px;
    height: 80px;
}

.ember {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #C4975A;
    border-radius: 50% 45% 55% 50% / 48% 52% 48% 52%;
    box-shadow: 0 0 8px 1px rgba(196,151,90,0.6);
    animation: ember-float 6s ease-in-out infinite;
}

.ember-1 { left: 10px; top: 50px; animation-delay: 0s; }
.ember-2 { left: 35px; top: 30px; animation-delay: 1.8s; }
.ember-3 { left: 60px; top: 60px; animation-delay: 3.6s; }

@keyframes ember-float {
    0% { transform: translate(0, 0); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translate(-12px, -80px); opacity: 0; }
}

/* ---------- Vessel section: ceramic circles row ---------- */

.ceramic-circles {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin: 40px 0 28px;
    align-items: flex-end;
}

.ceramic-circle {
    border-radius: 47% 53% 51% 49% / 50% 47% 53% 50%;
    border: 1px solid rgba(196, 151, 90, 0.35);
    position: relative;
    box-shadow: 0 8px 28px rgba(196, 151, 90, 0.12), inset -4px -8px 18px rgba(44,40,36,0.18);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ceramic-circle:hover {
    transform: translateY(-4px) rotate(-2deg);
}

.ceramic-circle::after {
    content: "";
    position: absolute;
    top: 12%;
    left: 22%;
    width: 30%;
    height: 18%;
    border-radius: 50%;
    background: rgba(237, 224, 208, 0.18);
    filter: blur(3px);
    pointer-events: none;
}

.circle-label {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Caveat', cursive;
    font-size: 0.95rem;
    color: rgba(59, 53, 48, 0.65);
    white-space: nowrap;
}

.circle-1 { width: 80px; height: 80px; background: radial-gradient(circle at 38% 30%, #F5EDE3, #EDE0D0 60%, #B8723B 130%); border-radius: 48% 52% 51% 49% / 50% 47% 53% 50%; }
.circle-2 { width: 100px; height: 100px; background: radial-gradient(circle at 42% 35%, #EDE0D0 0%, #C4975A 110%); border-radius: 49% 51% 52% 48% / 53% 50% 50% 47%; }
.circle-3 { width: 90px; height: 90px; background: radial-gradient(circle at 45% 38%, #8BA99B 0%, #3B3530 110%); border-radius: 51% 49% 47% 53% / 48% 52% 48% 52%; }
.circle-4 { width: 110px; height: 110px; background: radial-gradient(circle at 40% 32%, #C4975A 0%, #B8723B 60%, #3B3530 110%); border-radius: 47% 53% 50% 50% / 51% 49% 51% 49%; }
.circle-5 { width: 85px; height: 85px; background: radial-gradient(circle at 50% 40%, #3B3530 0%, #2C2824 110%); border-radius: 52% 48% 49% 51% / 47% 53% 47% 53%; }

/* ---------- Huddle Gallery ---------- */

.huddle-cluster {
    position: relative;
    margin: 80px auto 0;
    width: 100%;
    max-width: 1100px;
    height: 620px;
    z-index: 2;
}

.huddle-item {
    position: absolute;
    width: 230px;
    padding: 30px 26px;
    background: #EDE0D0;
    border-radius: 47% 53% 50% 50% / 50% 47% 53% 50%;
    box-shadow: 0 4px 20px rgba(196,151,90,0.15), 0 12px 36px rgba(59,53,48,0.08);
    text-align: center;
    transition: transform 0.7s cubic-bezier(0.2, 1.2, 0.2, 1), box-shadow 0.6s ease-out;
    cursor: default;
    will-change: transform;
}

.huddle-item-1 { top: 20px;   left: 8%;  transform: rotate(-2.4deg); }
.huddle-item-2 { top: 0;      left: 38%; transform: rotate(1.8deg); width: 250px; }
.huddle-item-3 { top: 40px;   left: 68%; transform: rotate(-1.2deg); }
.huddle-item-4 { top: 320px;  left: 5%;  transform: rotate(2.6deg); width: 240px; }
.huddle-item-5 { top: 290px;  left: 36%; transform: rotate(-1.8deg); width: 270px; }
.huddle-item-6 { top: 340px;  left: 70%; transform: rotate(2.2deg); }

.huddle-item:hover {
    transform: scale(1.06) rotate(0deg) translateY(-6px);
    box-shadow: 0 8px 30px rgba(196,151,90,0.32), 0 18px 48px rgba(59,53,48,0.12);
    z-index: 5;
}

.huddle-shape {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 47% 53% 50% 50% / 50% 47% 53% 50%;
    background: radial-gradient(circle at 38% 32%, #C4975A, #B8723B 80%);
    position: relative;
    box-shadow: inset -3px -6px 12px rgba(44,40,36,0.25), 0 4px 12px rgba(196,151,90,0.3);
}

.huddle-glaze {
    position: absolute;
    top: 14%;
    left: 22%;
    width: 30%;
    height: 18%;
    border-radius: 50%;
    background: rgba(245,237,227,0.45);
    filter: blur(2px);
}

.huddle-quote {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.05rem;
    color: #3B3530;
    line-height: 1.45;
    margin-bottom: 12px;
}

.huddle-attr {
    font-family: 'Caveat', cursive;
    font-size: 0.95rem;
    color: rgba(196, 151, 90, 0.85);
}

.huddle-cluster.breathing {
    animation: cluster-breathe 8s ease-in-out infinite;
}

@keyframes cluster-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.012); }
}

/* ---------- Repair section: kintsugi vessel ---------- */

.kintsugi-demo {
    position: relative;
    z-index: 5;
    margin-left: auto;
    width: 360px;
    flex-shrink: 0;
}

.repair-section {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
    justify-content: space-around;
}

.vessel-container {
    position: relative;
    text-align: center;
}

.vessel-svg {
    width: 100%;
    max-width: 360px;
    filter: drop-shadow(0 12px 36px rgba(196,151,90,0.18));
}

.vessel-shard {
    transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.shard-a { transform-origin: 100% 50%; }
.shard-b { transform-origin: 0% 50%; }

.vessel-svg.broken .shard-a { transform: translateX(-26px) rotate(-2deg); }
.vessel-svg.broken .shard-b { transform: translateX(26px) rotate(2deg); }

.kintsugi-seam {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    transition: stroke-dashoffset 2.6s ease-out;
    filter: drop-shadow(0 0 6px rgba(196,151,90,0.5));
}

.kintsugi-branch {
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    transition: stroke-dashoffset 1.6s ease-out;
}

.vessel-svg.mended .kintsugi-seam { stroke-dashoffset: 0; }
.vessel-svg.mended .kintsugi-branch { stroke-dashoffset: 0; }

.seam-node {
    opacity: 0;
    transition: opacity 0.8s ease-out 1.6s;
}

.vessel-svg.mended .seam-node {
    opacity: 1;
    animation: dot-pulse 2.6s ease-in-out infinite;
}

.vessel-caption {
    display: block;
    margin-top: 18px;
    font-family: 'Caveat', cursive;
    font-size: 1.05rem;
    color: rgba(237, 224, 208, 0.7);
    letter-spacing: 0.04em;
}

/* ---------- Gather section: invitation + huddle circle ---------- */

.invitation {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin: 28px auto 50px;
}

.invitation-marker {
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, transparent, #C4975A, transparent);
}

.invitation-text {
    font-family: 'Caveat', cursive;
    font-size: 1.25rem;
    color: #C4975A;
    letter-spacing: 0.03em;
}

.huddle-circle {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 60px auto 0;
}

.figure {
    position: absolute;
    width: 38px;
    height: 50px;
    background: radial-gradient(circle at 50% 28%, #C4975A 0%, #B8723B 38%, #3B3530 100%);
    border-radius: 60% 60% 47% 53% / 38% 38% 60% 60%;
    box-shadow: 0 4px 12px rgba(196,151,90,0.25);
    animation: figure-sway 6s ease-in-out infinite;
}

.figure-1 { top: 0;    left: 50%; transform: translateX(-50%);                   animation-delay: 0s; }
.figure-2 { top: 16%;  right: 8%;                                                animation-delay: 0.6s; }
.figure-3 { bottom: 16%; right: 8%;                                              animation-delay: 1.2s; }
.figure-4 { bottom: 0; left: 50%; transform: translateX(-50%);                   animation-delay: 1.8s; }
.figure-5 { bottom: 16%; left: 8%;                                               animation-delay: 2.4s; }
.figure-6 { top: 16%;  left: 8%;                                                 animation-delay: 3s; }
.figure-7 { top: 50%;  left: 8%; transform: translateY(-50%);                    animation-delay: 3.6s; opacity: 0.7; }

@keyframes figure-sway {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(2px, -3px); }
}

.figure-1 { animation-name: figure-sway-top; }
.figure-4 { animation-name: figure-sway-bottom; }

@keyframes figure-sway-top {
    0%, 100% { transform: translateX(-50%); }
    50% { transform: translateX(-52%) translateY(-3px); }
}

@keyframes figure-sway-bottom {
    0%, 100% { transform: translateX(-50%); }
    50% { transform: translateX(-48%) translateY(3px); }
}

.hearth {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    border-radius: 48% 52% 51% 49% / 50% 47% 53% 50%;
    background: radial-gradient(circle, #C4975A 0%, #B8723B 50%, transparent 80%);
    box-shadow: 0 0 60px 20px rgba(196,151,90,0.4);
    animation: hearth-pulse 3.6s ease-in-out infinite;
}

@keyframes hearth-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
    50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

/* ---------- Closing ---------- */

.closing-content {
    text-align: center;
    z-index: 10;
    position: relative;
    max-width: 700px;
}

.closing-eyebrow {
    display: block;
    font-family: 'Caveat', cursive;
    font-size: 1rem;
    color: rgba(196, 151, 90, 0.8);
    letter-spacing: 0.18em;
    margin-bottom: 22px;
}

.closing-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(3rem, 6vw, 5rem);
    color: #EDE0D0;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.4s ease-out, transform 1.4s ease-out;
}

.closing-tagline {
    font-family: 'Caveat', cursive;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: #C4975A;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.4s ease-out 0.3s, transform 1.4s ease-out 0.3s;
    margin-bottom: 36px;
}

.closing-section.visible .closing-title,
.closing-section.visible .closing-tagline,
.closing-section.visible .closing-mark {
    opacity: 1;
    transform: translateY(0);
}

.closing-mark {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.4s ease-out 0.6s, transform 1.4s ease-out 0.6s;
}

.seal-svg {
    width: 56px;
    height: 56px;
}

.closing-meta {
    font-family: 'Source Serif 4', serif;
    font-size: 0.85rem;
    color: rgba(237, 224, 208, 0.55);
    letter-spacing: 0.18em;
    text-transform: lowercase;
}

.closing-steam {
    position: absolute;
    bottom: 14%;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 120px;
    pointer-events: none;
}

.closing-steam .wisp {
    background: linear-gradient(to top, transparent, rgba(196, 151, 90, 0.25), transparent);
    width: 1.5px;
}

.closing-steam .wisp-c1 { left: 20px; height: 100px; animation: wisp-rise 8s ease-in-out infinite; }
.closing-steam .wisp-c2 { left: 40px; height: 70px;  animation: wisp-rise 9s ease-in-out 2s infinite; }
.closing-steam .wisp-c3 { left: 60px; height: 85px;  animation: wisp-rise 10s ease-in-out 4s infinite; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .clay-section {
        padding: 90px 28px;
    }

    .gather-nav {
        right: 14px;
        gap: 14px;
    }

    .nav-orb::after { display: none; }

    .offset-left, .offset-right {
        margin-left: auto;
        margin-right: auto;
    }

    .repair-section { flex-direction: column; }

    .kintsugi-demo {
        margin: 40px auto 0;
        width: 280px;
    }

    .huddle-cluster {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 28px;
        padding: 0 12px;
    }

    .huddle-item {
        position: relative;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        margin: 0 auto;
        max-width: 360px;
    }

    .huddle-item-1, .huddle-item-2, .huddle-item-3,
    .huddle-item-4, .huddle-item-5, .huddle-item-6 {
        transform: rotate(0deg);
    }

    .ceramic-circles {
        gap: 20px;
        justify-content: center;
    }

    .steam-wisps, .ember-cluster {
        display: none;
    }
}

@media (max-width: 540px) {
    .clay-section {
        padding: 70px 20px;
    }

    .hero-title {
        font-size: clamp(3.2rem, 16vw, 5rem);
    }

    .huddle-circle {
        width: 240px;
        height: 240px;
    }
}
