/* =========================================================
   ScriptSwirl - watercolor artistic gallery
   Palette
     #fdf8f3  Wash         (paper)
     #2c3e6b  Indigo Ink   (text)
     #e8a4b8  Rose Wash
     #5aacb8  Teal Flow
     #e8b84c  Saffron
     #c8b8e8  Lavender Mist
   Fonts
     Dancing Script (display)
     Nunito        (body)
     Satisfy       (accent)
   ========================================================= */

:root {
    --c-wash:     #fdf8f3;
    --c-ink:      #2c3e6b;
    --c-rose:     #e8a4b8;
    --c-teal:     #5aacb8;
    --c-saffron:  #e8b84c;
    --c-lavender: #c8b8e8;

    --c-ink-soft: rgba(44, 62, 107, 0.65);
    --c-ink-faint: rgba(44, 62, 107, 0.18);

    --f-display: "Dancing Script", "Brush Script MT", cursive;
    --f-body: "Nunito", system-ui, -apple-system, sans-serif;
    --f-accent: "Satisfy", "Dancing Script", cursive;

    --max: 1200px;
    --gutter: clamp(1.25rem, 4vw, 4rem);
    --section-pad: clamp(5rem, 12vw, 9rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--c-wash);
    color: var(--c-ink);
    font-family: var(--f-body);
    font-size: 1rem;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* Subtle paper grain via repeating gradient (very soft) */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(1200px 700px at 80% -10%, rgba(232, 164, 184, 0.10), transparent 60%),
        radial-gradient(900px 600px at -10% 30%, rgba(200, 184, 232, 0.10), transparent 60%),
        radial-gradient(900px 800px at 110% 70%, rgba(90, 172, 184, 0.08), transparent 60%);
    z-index: 0;
}

main, header, footer {
    position: relative;
    z-index: 2;
}

/* ---------- decorative blob field ---------- */
.blob-field {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.blob {
    position: absolute;
    border-radius: 40% 60% 70% 30% / 30% 60% 40% 70%;
    filter: blur(28px);
    opacity: 0.55;
    will-change: transform;
    animation: blobDrift 22s ease-in-out infinite;
}

.blob-rose      { background: rgba(232, 164, 184, 0.42); }
.blob-lavender  { background: rgba(200, 184, 232, 0.42); }
.blob-teal      { background: rgba(90, 172, 184, 0.32); }
.blob-saffron   { background: rgba(232, 184, 76, 0.28); }
.blob-saffron-soft {
    background: rgba(232, 184, 76, 0.22);
    width: 520px; height: 520px;
    top: -120px; right: -180px;
    filter: blur(40px);
    border-radius: 40% 60% 70% 30% / 30% 60% 40% 70%;
    position: absolute;
}

.blob-1 { width: 380px; height: 380px; top: 20vh;   left: -8vw;  animation-delay: -2s; }
.blob-2 { width: 460px; height: 460px; top: 95vh;   right: -12vw; animation-delay: -7s; }
.blob-3 { width: 320px; height: 320px; top: 170vh;  left: 30vw;  animation-delay: -10s; }
.blob-4 { width: 540px; height: 540px; top: 240vh;  right: -10vw; animation-delay: -4s; }
.blob-5 { width: 360px; height: 360px; top: 320vh;  left: -10vw; animation-delay: -14s; }
.blob-6 { width: 480px; height: 480px; top: 400vh;  right: 10vw; animation-delay: -18s; }

@keyframes blobDrift {
    0%, 100% { transform: translate3d(0,0,0) rotate(0deg);   border-radius: 40% 60% 70% 30% / 30% 60% 40% 70%; }
    33%      { transform: translate3d(40px,-30px,0) rotate(8deg);  border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%; }
    66%      { transform: translate3d(-30px,20px,0) rotate(-6deg); border-radius: 60% 40% 50% 50% / 40% 60% 50% 50%; }
}

/* ---------- swirl-canvas (page-wide) ---------- */
.swirl-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
    overflow: visible;
}

.swirl-path {
    stroke-dasharray: 3000;
    stroke-dashoffset: 3000;
    transition: stroke-dashoffset 1.6s ease-out;
}

.swirl-path.is-drawn {
    stroke-dashoffset: 0;
}

/* =========================================================
   NAV
   ========================================================= */
.site-nav {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.1rem var(--gutter);
    background: rgba(253, 248, 243, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-ink-faint);
    z-index: 50;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--c-ink);
    text-decoration: none;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.65rem;
    line-height: 1;
}

.brand-mark {
    width: 36px; height: 36px;
    flex: none;
}

.brand-mark path {
    stroke-dasharray: 220;
    stroke-dashoffset: 0;
    animation: brandDraw 6s ease-in-out infinite alternate;
}

@keyframes brandDraw {
    from { stroke-dashoffset: 220; }
    to   { stroke-dashoffset: 0; }
}

.nav-links {
    display: flex;
    gap: 1.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    font-family: var(--f-body);
    color: var(--c-ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    position: relative;
    padding: 0.25rem 0.1rem;
    transition: color 220ms ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 6px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 6'><path d='M 1,3 C 10,0 20,6 30,3 C 40,0 50,6 59,3' fill='none' stroke='%23e8b84c' stroke-width='2' stroke-linecap='round'/></svg>") repeat-x center/60px 6px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 380ms cubic-bezier(.2,.7,.2,1);
}

.nav-links a:hover { color: var(--c-teal); }
.nav-links a:hover::after { transform: scaleX(1); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    min-height: 92vh;
    padding: clamp(5rem, 12vw, 9rem) var(--gutter) clamp(6rem, 14vw, 10rem);
    overflow: hidden;
    isolation: isolate;
    color: var(--c-wash);
}

.hero-wash {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e8a4b8, #c8b8e8, #5aacb8, #e8b84c);
    background-size: 400% 400%;
    animation: fluidMix 15s ease infinite;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(60% 80% at 30% 30%, rgba(253, 248, 243, 0.25), transparent 70%),
        radial-gradient(50% 70% at 80% 75%, rgba(44, 62, 107, 0.22), transparent 70%);
    mix-blend-mode: soft-light;
}

@keyframes fluidMix {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.hero-eyebrow {
    font-family: var(--f-accent);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    color: var(--c-wash);
    letter-spacing: 0.04em;
    margin: 0 0 1rem;
    text-shadow: 0 1px 0 rgba(44,62,107,0.18);
}

.hero-title {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(2.6rem, 7vw, 5.5rem);
    line-height: 1.05;
    margin: 0 0 1.6rem;
    color: var(--c-wash);
    text-shadow: 0 4px 22px rgba(44,62,107,0.22);
}

.hero-title .word {
    display: inline-block;
    margin: 0 0.25em;
    transform-origin: 50% 100%;
}

.hero-title .word:nth-child(1) { transform: rotate(-3deg); color: #fff; }
.hero-title .word:nth-child(2) { transform: rotate( 1deg); color: #fff; }
.hero-title .word:nth-child(3) { transform: rotate(-2deg); color: #ffe9bf; }
.hero-title .word:nth-child(4) { transform: rotate( 2deg); color: #fff; }
.hero-title .word:nth-child(5) { transform: rotate(-1deg); color: #fff; font-family: var(--f-accent); font-size: 0.92em; }

.hero-lede {
    max-width: 640px;
    margin: 0 auto 2rem;
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.75;
    color: rgba(253, 248, 243, 0.96);
    text-shadow: 0 1px 0 rgba(44,62,107,0.22);
}

.hero-cta-row {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: center;
}

.hero-swirl {
    position: absolute;
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%);
    width: min(520px, 70%);
    height: auto;
    opacity: 0.8;
    pointer-events: none;
}

.hero-swirl path {
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    animation: heroDraw 6s ease-out 0.6s forwards;
}

@keyframes heroDraw {
    to { stroke-dashoffset: 0; }
}

.scroll-cue {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--c-wash);
    font-family: var(--f-accent);
    font-size: 1rem;
    opacity: 0.85;
    animation: floatY 3s ease-in-out infinite;
}

.scroll-cue svg { width: 22px; height: 44px; }

@keyframes floatY {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, -8px); }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 280ms cubic-bezier(.2,.8,.2,1), box-shadow 280ms ease, background 280ms ease, color 280ms ease;
    border: none;
}

.btn-ink {
    background: var(--c-ink);
    color: var(--c-wash);
    box-shadow: 0 8px 24px -8px rgba(44,62,107,0.4);
}

.btn-ink:hover {
    transform: translateY(-3px) rotate(-0.5deg);
    box-shadow: 0 14px 30px -8px rgba(44,62,107,0.55);
}

.btn-ghost {
    background: rgba(253, 248, 243, 0.18);
    color: var(--c-wash);
    border: 1.5px solid rgba(253, 248, 243, 0.7);
    backdrop-filter: blur(4px);
}

.btn-ghost:hover {
    background: rgba(253, 248, 243, 0.28);
    transform: translateY(-3px) rotate(0.5deg);
}

.btn-large {
    padding: 1.05rem 2.1rem;
    font-size: 1.05rem;
}

.btn svg { width: 26px; height: 14px; }

/* =========================================================
   shared section bits
   ========================================================= */
.section-eyebrow {
    font-family: var(--f-accent);
    color: var(--c-teal);
    font-size: 1.35rem;
    margin: 0 0 0.6rem;
    letter-spacing: 0.02em;
}

.section-title {
    font-family: var(--f-display);
    font-weight: 700;
    color: var(--c-ink);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.1;
    margin: 0 0 1.6rem;
}

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto {
    position: relative;
    padding: var(--section-pad) var(--gutter);
}

.manifesto-inner {
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
}

.manifesto .section-eyebrow,
.manifesto .section-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 760px;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1.2rem, 3vw, 2.6rem) clamp(1.2rem, 3vw, 3rem);
    margin: 3rem 0 2rem;
}

.creed {
    position: relative;
    padding: 1.6rem 1.4rem 1.6rem 2.2rem;
    background: rgba(253, 248, 243, 0.65);
    border-radius: 40% 60% 70% 30% / 30% 60% 40% 70%;
    background-clip: padding-box;
    transition: transform 380ms cubic-bezier(.2,.8,.2,1);
}

.creed:nth-child(odd)  { border-radius: 60% 40% 50% 50% / 40% 60% 50% 50%; }
.creed:nth-child(even) { border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%; }

.creed:hover {
    transform: translateY(-6px) rotate(-0.6deg);
}

.creed h3 {
    font-family: var(--f-display);
    font-size: 2rem;
    line-height: 1;
    color: var(--c-ink);
    margin: 0.3rem 0 0.6rem;
}

.creed p {
    margin: 0;
    color: var(--c-ink);
    font-size: 1rem;
    line-height: 1.75;
}

.ink-drop {
    position: absolute;
    left: 0.6rem; top: 1rem;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--c-ink) 0%, rgba(44,62,107,0.55) 45%, transparent 75%);
    filter: blur(0.4px);
}

.ink-rose     { background: radial-gradient(circle at 35% 30%, var(--c-rose) 0%, rgba(232,164,184,0.6) 50%, transparent 80%); }
.ink-teal     { background: radial-gradient(circle at 35% 30%, var(--c-teal) 0%, rgba(90,172,184,0.6) 50%, transparent 80%); }
.ink-saffron  { background: radial-gradient(circle at 35% 30%, var(--c-saffron) 0%, rgba(232,184,76,0.6) 50%, transparent 80%); }
.ink-lavender { background: radial-gradient(circle at 35% 30%, var(--c-lavender) 0%, rgba(200,184,232,0.6) 50%, transparent 80%); }

.pull-quote {
    position: relative;
    margin: 3rem auto 0;
    max-width: 780px;
    padding: 2rem 2.4rem;
    border-radius: 60% 40% 50% 50% / 40% 60% 50% 50%;
    background: rgba(232, 184, 76, 0.14);
    font-family: var(--f-accent);
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    line-height: 1.5;
    color: var(--c-ink);
    text-align: center;
}

.pull-quote cite {
    display: block;
    margin-top: 0.8rem;
    font-family: var(--f-body);
    font-style: normal;
    font-size: 0.95rem;
    color: var(--c-ink-soft);
    letter-spacing: 0.04em;
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery {
    padding: var(--section-pad) var(--gutter);
    position: relative;
}

.gallery-header {
    max-width: 760px;
    margin: 0 auto 4rem;
    text-align: center;
}

.gallery-intro {
    color: var(--c-ink-soft);
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0 auto;
    max-width: 620px;
}

.gallery-flow {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem clamp(2rem, 5vw, 4.5rem);
    position: relative;
}

@media (max-width: 760px) {
    .gallery-flow { grid-template-columns: 1fr; }
}

.plate {
    position: relative;
    margin: 0;
    padding: 1.4rem;
    background: rgba(253, 248, 243, 0.72);
    border-radius: 50% 50% 40% 60% / 40% 60% 50% 50%;
    transition: transform 600ms cubic-bezier(.2,.8,.2,1), border-radius 1s ease;
    isolation: isolate;
    overflow: visible;
}

.plate:nth-child(odd)  { border-radius: 60% 40% 55% 45% / 45% 55% 50% 50%; }
.plate:nth-child(even) { border-radius: 45% 55% 60% 40% / 55% 45% 50% 50%; }

/* Organic offsets - non-grid feel */
.plate.plate-1 { transform: translate(0, 0) rotate(-1deg); }
.plate.plate-2 { transform: translate(2vw, 4rem) rotate(1deg); }
.plate.plate-3 { transform: translate(-1vw, -1rem) rotate(0.5deg); }
.plate.plate-4 { transform: translate(3vw, 3rem) rotate(-0.5deg); }
.plate.plate-5 { transform: translate(-1.5vw, -1rem) rotate(1deg); }
.plate.plate-6 { transform: translate(1vw, 4rem) rotate(-1deg); }

@media (max-width: 760px) {
    .plate, .plate.plate-1, .plate.plate-2, .plate.plate-3, .plate.plate-4, .plate.plate-5, .plate.plate-6 {
        transform: none;
    }
}

.plate:hover {
    transform: translateY(-10px) rotate(0deg) scale(1.015);
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
}

.plate-art {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2.2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 60% 40% 55% 45% / 45% 55% 50% 50%;
    background: linear-gradient(135deg, rgba(253,248,243,0.6), rgba(253,248,243,0.2));
}

.plate-art svg {
    width: 92%;
    height: 92%;
    transition: transform 900ms ease;
}

.plate:hover .plate-art svg {
    transform: scale(1.04) rotate(-1deg);
}

.plate-art path {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    transition: stroke-dashoffset 1.4s ease-out;
}

.plate.is-drawn .plate-art path {
    stroke-dashoffset: 0;
}

figcaption {
    padding: 1.2rem 0.6rem 0.4rem;
    text-align: left;
}

.plate-no {
    display: inline-block;
    font-family: var(--f-accent);
    color: var(--c-saffron);
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.plate-title {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.85rem;
    line-height: 1;
    margin: 0 0 0.4rem;
    color: var(--c-ink);
}

.plate-meta {
    margin: 0;
    font-size: 0.92rem;
    color: var(--c-ink-soft);
    letter-spacing: 0.02em;
}

/* =========================================================
   PROCESS
   ========================================================= */
.process {
    padding: var(--section-pad) var(--gutter);
    position: relative;
}

.process-header {
    max-width: 760px;
    margin: 0 auto 4rem;
    text-align: center;
}

.process-intro {
    color: var(--c-ink-soft);
    font-size: 1.05rem;
    margin: 0 auto;
    max-width: 620px;
}

.process-flow {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 980px;
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    position: relative;
}

.step {
    position: relative;
    padding: 2rem 2rem 2rem 7rem;
    background: rgba(253, 248, 243, 0.7);
    border-radius: 60% 40% 55% 45% / 45% 55% 50% 50%;
}

.step:nth-child(odd)  { justify-self: start; max-width: 80%; border-radius: 50% 50% 60% 40% / 55% 45% 50% 50%; }
.step:nth-child(even) { justify-self: end;   max-width: 80%; border-radius: 40% 60% 45% 55% / 50% 50% 60% 40%; }

@media (max-width: 720px) {
    .step, .step:nth-child(odd), .step:nth-child(even) {
        max-width: 100%;
        justify-self: stretch;
        padding: 1.4rem 1.4rem 1.4rem 5.6rem;
    }
}

.step-bowl {
    position: absolute;
    left: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4.6rem;
    height: 4.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-wash);
    box-shadow: 0 10px 22px -10px rgba(44,62,107,0.3), inset 0 -8px 14px -8px rgba(44,62,107,0.18);
    overflow: hidden;
}

.step-bowl b {
    position: relative;
    z-index: 2;
    font-family: var(--f-display);
    font-weight: 700;
    color: var(--c-ink);
    font-size: 1.6rem;
    line-height: 1;
}

.bowl-pigment {
    position: absolute;
    inset: 14% 14% 8% 14%;
    border-radius: 50% 50% 60% 40% / 55% 45% 60% 40%;
    filter: blur(2px);
    animation: bowlSway 7s ease-in-out infinite;
}

.pigment-rose     { background: radial-gradient(circle at 50% 60%, var(--c-rose) 0%, rgba(232,164,184,0.6) 60%, transparent 80%); }
.pigment-saffron  { background: radial-gradient(circle at 50% 60%, var(--c-saffron) 0%, rgba(232,184,76,0.55) 60%, transparent 80%); }
.pigment-teal     { background: radial-gradient(circle at 50% 60%, var(--c-teal) 0%, rgba(90,172,184,0.55) 60%, transparent 80%); }
.pigment-lavender { background: radial-gradient(circle at 50% 60%, var(--c-lavender) 0%, rgba(200,184,232,0.55) 60%, transparent 80%); }

@keyframes bowlSway {
    0%, 100% { border-radius: 50% 50% 60% 40% / 55% 45% 60% 40%; }
    50%      { border-radius: 60% 40% 45% 55% / 45% 55% 40% 60%; }
}

.step h3 {
    font-family: var(--f-display);
    font-size: 2rem;
    margin: 0 0 0.3rem;
    color: var(--c-ink);
}

.step p {
    margin: 0;
    color: var(--c-ink);
    line-height: 1.75;
}

/* =========================================================
   WORKSHOPS
   ========================================================= */
.workshops {
    padding: var(--section-pad) var(--gutter);
    background:
        radial-gradient(900px 600px at 80% 0%, rgba(200,184,232,0.18), transparent 70%),
        radial-gradient(900px 600px at 0% 60%, rgba(232,164,184,0.18), transparent 70%);
    position: relative;
}

.workshops-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

@media (max-width: 880px) {
    .workshops-inner { grid-template-columns: 1fr; }
}

.workshops-text p {
    color: var(--c-ink);
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0 0 1.2rem;
}

.workshop-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.3rem;
}

.workshop-card {
    position: relative;
    padding: 1.4rem 1.4rem 1.4rem 6.5rem;
    background: rgba(253,248,243,0.85);
    border-radius: 50% 50% 40% 60% / 40% 60% 50% 50%;
    transition: transform 380ms cubic-bezier(.2,.8,.2,1);
    overflow: hidden;
}

.workshop-card:nth-child(odd)  { border-radius: 60% 40% 50% 50% / 50% 50% 60% 40%; }
.workshop-card:nth-child(even) { border-radius: 40% 60% 55% 45% / 55% 45% 50% 50%; }

.workshop-card:hover { transform: translate(-4px, -4px) rotate(-0.4deg); }

.workshop-date {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4.6rem;
    height: 4.6rem;
    border-radius: 60% 40% 55% 45% / 45% 55% 50% 50%;
    background: linear-gradient(135deg, var(--c-saffron), var(--c-rose));
    color: var(--c-ink);
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 18px -10px rgba(44,62,107,0.3);
}

.workshop-card h3 {
    margin: 0 0 0.35rem;
    font-family: var(--f-display);
    font-size: 1.6rem;
    color: var(--c-ink);
    line-height: 1.05;
}

.workshop-card p {
    margin: 0 0 0.6rem;
    color: var(--c-ink);
    line-height: 1.6;
    font-size: 0.98rem;
}

.workshop-meta {
    font-size: 0.85rem;
    color: var(--c-ink-soft);
    letter-spacing: 0.04em;
    font-family: var(--f-body);
}

/* =========================================================
   PIGMENTS
   ========================================================= */
.pigments {
    padding: var(--section-pad) var(--gutter);
}

.pigments-inner {
    max-width: var(--max);
    margin: 0 auto;
}

.pigments .section-eyebrow,
.pigments .section-title {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.pigment-row {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.6rem 2rem;
}

.pigment-jar {
    text-align: center;
    padding: 0.6rem;
    transition: transform 380ms cubic-bezier(.2,.8,.2,1);
}

.pigment-jar:hover { transform: translateY(-6px) rotate(-1deg); }

.jar {
    display: block;
    width: 130px;
    height: 130px;
    margin: 0 auto 0.9rem;
    border-radius: 50% 50% 60% 40% / 50% 50% 60% 40%;
    box-shadow: inset 0 -16px 24px -10px rgba(44,62,107,0.18), 0 12px 24px -14px rgba(44,62,107,0.3);
    animation: jarSway 9s ease-in-out infinite;
}

.jar-wash     { background: radial-gradient(circle at 35% 30%, #ffffff 0%, var(--c-wash) 60%, #f1e7d8 100%); }
.jar-indigo   { background: radial-gradient(circle at 35% 30%, #5e76ad 0%, var(--c-ink) 70%, #1a2548 100%); }
.jar-rose     { background: radial-gradient(circle at 35% 30%, #ffd2dd 0%, var(--c-rose) 70%, #c87f95 100%); }
.jar-teal     { background: radial-gradient(circle at 35% 30%, #9ed5dd 0%, var(--c-teal) 70%, #3c8e9a 100%); }
.jar-saffron  { background: radial-gradient(circle at 35% 30%, #ffe0a3 0%, var(--c-saffron) 70%, #c8961f 100%); }
.jar-lavender { background: radial-gradient(circle at 35% 30%, #e6dcfa 0%, var(--c-lavender) 70%, #a895cb 100%); }

@keyframes jarSway {
    0%, 100% { border-radius: 50% 50% 60% 40% / 50% 50% 60% 40%; }
    50%      { border-radius: 60% 40% 45% 55% / 55% 45% 40% 60%; }
}

.pigment-jar strong {
    display: block;
    font-family: var(--f-display);
    font-weight: 700;
    color: var(--c-ink);
    font-size: 1.4rem;
    line-height: 1;
}

.pigment-jar em {
    display: block;
    font-style: normal;
    color: var(--c-ink-soft);
    font-family: var(--f-body);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    margin: 0.2rem 0 0.6rem;
}

.pigment-jar p {
    margin: 0;
    color: var(--c-ink);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* =========================================================
   CONTACT / LETTERS
   ========================================================= */
.contact {
    padding: var(--section-pad) var(--gutter) calc(var(--section-pad) + 4rem);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.contact-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #c8b8e8, #e8a4b8, #5aacb8, #e8b84c);
    background-size: 400% 400%;
    animation: fluidMix 20s ease infinite;
    opacity: 0.85;
    z-index: -2;
}

.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 60% at 50% 40%, rgba(253,248,243,0.5), transparent 70%);
    z-index: -1;
}

.contact-inner {
    max-width: 820px;
    margin: 0 auto;
    background: rgba(253, 248, 243, 0.92);
    padding: clamp(2.4rem, 5vw, 4rem) clamp(1.8rem, 5vw, 3.6rem);
    border-radius: 50% 50% 40% 60% / 40% 60% 50% 50%;
    box-shadow: 0 26px 60px -28px rgba(44,62,107,0.4);
    position: relative;
}

.contact-inner .section-eyebrow,
.contact-title {
    text-align: center;
}

.contact-lede {
    text-align: center;
    color: var(--c-ink);
    max-width: 560px;
    margin: 0 auto 2.4rem;
    font-size: 1.05rem;
    line-height: 1.75;
}

.letter-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 1.6rem;
}

.field { display: flex; flex-direction: column; }
.field-wide { grid-column: 1 / -1; }

.field label {
    font-family: var(--f-accent);
    color: var(--c-teal);
    font-size: 1.1rem;
    margin: 0 0 0.4rem 0.6rem;
}

.field input,
.field textarea {
    width: 100%;
    background: rgba(253,248,243,0.85);
    border: 1.5px solid var(--c-ink-faint);
    border-radius: 28px 32px 26px 30px / 30% 30% 30% 30%;
    padding: 0.85rem 1.1rem;
    font-family: var(--f-body);
    font-size: 1rem;
    color: var(--c-ink);
    transition: border-color 280ms ease, background 280ms ease, box-shadow 280ms ease;
    resize: vertical;
}

.field textarea {
    border-radius: 30px 26px 32px 28px / 6% 6% 6% 6%;
    line-height: 1.7;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(44,62,107,0.45);
    font-style: italic;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--c-teal);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(90,172,184,0.18);
}

.field-row {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem 1.2rem;
    margin-top: 0.6rem;
}

.form-hint {
    margin: 0;
    color: var(--c-ink-soft);
    font-family: var(--f-accent);
    font-size: 1.1rem;
}

.form-hint.is-success {
    color: var(--c-teal);
}

.form-hint.is-error {
    color: #c75a6e;
}

@media (max-width: 640px) {
    .letter-form { grid-template-columns: 1fr; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-foot {
    padding: 4rem var(--gutter) 2rem;
    background: rgba(253, 248, 243, 0.96);
    border-top: 1px solid var(--c-ink-faint);
    position: relative;
}

.foot-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 2.2rem;
}

@media (max-width: 760px) {
    .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .foot-grid { grid-template-columns: 1fr; }
}

.foot-brand .brand-name {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--c-ink);
}

.foot-brand p {
    color: var(--c-ink-soft);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0.4rem 0 0;
    max-width: 36ch;
}

.foot-col h4 {
    font-family: var(--f-accent);
    font-weight: 400;
    font-size: 1.2rem;
    color: var(--c-saffron);
    margin: 0 0 0.6rem;
    letter-spacing: 0.02em;
}

.foot-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.4rem;
}

.foot-col a {
    color: var(--c-ink);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 220ms ease;
}

.foot-col a:hover { color: var(--c-teal); }

.foot-fine {
    max-width: var(--max);
    margin: 2.6rem auto 0;
    padding-top: 1.2rem;
    border-top: 1px dashed var(--c-ink-faint);
    color: var(--c-ink-soft);
    font-size: 0.85rem;
    text-align: center;
    letter-spacing: 0.04em;
}

/* =========================================================
   REVEAL ON SCROLL (curved)
   Default state: slightly translated + faded.
   When .is-revealed: settle into place along an offset-path arc.
   ========================================================= */
.reveal-curve {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 1100ms cubic-bezier(.2,.7,.2,1), transform 1100ms cubic-bezier(.2,.7,.2,1);
    will-change: transform, opacity;
}

.reveal-curve[data-curve="left"]  { transform: translate3d(-46px, 30px, 0) rotate(-2deg); }
.reveal-curve[data-curve="right"] { transform: translate3d( 46px, 30px, 0) rotate( 2deg); }

.reveal-curve.is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg);
}

/* For browsers supporting offset-path: use it for the curved entrance */
@supports (offset-path: path('M0,0 L1,1')) {
    .reveal-curve[data-curve="left"] {
        offset-path: path('M -60,40 C -30,20 -10,-10 0,0');
        offset-distance: 0%;
        offset-rotate: 0deg;
        transform: none;
        transition: opacity 1100ms cubic-bezier(.2,.7,.2,1), offset-distance 1300ms cubic-bezier(.2,.7,.2,1);
    }
    .reveal-curve[data-curve="right"] {
        offset-path: path('M 60,40 C 30,20 10,-10 0,0');
        offset-distance: 0%;
        offset-rotate: 0deg;
        transform: none;
        transition: opacity 1100ms cubic-bezier(.2,.7,.2,1), offset-distance 1300ms cubic-bezier(.2,.7,.2,1);
    }
    .reveal-curve.is-revealed {
        offset-distance: 100%;
        transform: none;
    }
}

/* =========================================================
   reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    .hero-wash,
    .contact-bg {
        animation: none;
    }
    .blob { animation: none; }
    .jar  { animation: none; }
    .bowl-pigment { animation: none; }
    .scroll-cue { animation: none; }
    .reveal-curve {
        opacity: 1 !important;
        transform: none !important;
        offset-distance: 100% !important;
    }
    .swirl-path {
        stroke-dashoffset: 0 !important;
        transition: none;
    }
    .hero-swirl path {
        stroke-dashoffset: 0;
        animation: none;
    }
    .brand-mark path {
        animation: none;
    }
}
