:root {
    --paper: #f2ecdf;
    --paper-deep: #e7dcc8;
    --ink: #24201b;
    --muted: #6e6558;
    --clay: #ad5b3d;
    --saffron: #d49a2e;
    --sage: #78806a;
    --berry: #713f4d;
    --line: rgba(36, 32, 27, 0.22);
    --edge: clamp(1rem, 3vw, 3rem);
    --rail: clamp(4.4rem, 8vw, 7.2rem);
    --measure: 64rem;
    --step: clamp(5rem, 10vw, 11rem);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(173, 91, 61, 0.06), transparent 26rem),
        radial-gradient(circle at 84% 62%, rgba(212, 154, 46, 0.08), transparent 30rem),
        var(--paper);
    color: var(--ink);
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 50;
    opacity: 0.08;
    background-image:
        linear-gradient(90deg, transparent 49%, rgba(36, 32, 27, 0.4) 50%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(36, 32, 27, 0.26) 50%, transparent 51%);
    background-size: 11px 11px;
    mix-blend-mode: multiply;
}

a { color: inherit; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.14em; }
button, input, textarea { font: inherit; }
button { color: inherit; }

.skip-link {
    position: fixed;
    left: 1rem;
    top: 1rem;
    transform: translateY(-180%);
    z-index: 100;
    background: var(--ink);
    color: var(--paper);
    padding: 0.7rem 1rem;
    border-radius: 999px;
}
.skip-link:focus { transform: translateY(0); }

.selvedge {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 30;
    width: var(--rail);
    border-right: 1px solid var(--line);
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: blur(12px);
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 1rem 0.7rem;
}

.selvedge__brand {
    display: grid;
    gap: 0;
    width: 3.2rem;
    aspect-ratio: 1;
    place-content: center;
    justify-self: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    line-height: 0.9;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.04em;
}

.selvedge__steps {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    display: grid;
    align-content: center;
    gap: 0.2rem;
}

.selvedge__steps a {
    position: relative;
    display: block;
    padding: 0.64rem 0.2rem 0.64rem 1rem;
    font-size: 0.71rem;
    line-height: 1.15;
    text-decoration: none;
    color: var(--muted);
    transition: color 180ms ease, transform 180ms ease;
}
.selvedge__steps a::before {
    content: "";
    position: absolute;
    left: 0.18rem;
    top: 50%;
    width: 0.34rem;
    height: 0.34rem;
    border: 1px solid currentColor;
    border-radius: 50%;
    transform: translateY(-50%);
}
.selvedge__steps a[aria-current="true"] {
    color: var(--ink);
    transform: translateX(0.18rem);
    font-weight: 700;
}
.selvedge__steps a[aria-current="true"]::before { background: var(--clay); border-color: var(--clay); }
.selvedge__marker {
    position: absolute;
    left: calc(100% - 0.2rem);
    top: 10vh;
    width: 0.42rem;
    height: 4.5rem;
    background: var(--clay);
    border-radius: 999px;
    transform: translateY(var(--progress, 0px));
    transition: transform 120ms linear;
}

.worktable {
    position: relative;
    margin-left: var(--rail);
    overflow: clip;
}

.threadline {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(22vw, 18rem);
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}
.threadline path {
    fill: none;
    stroke: var(--clay);
    stroke-width: 0.7;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: calc(1 - var(--thread-progress, 0));
}

.opening {
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(15rem, 1fr);
    grid-template-rows: auto 1fr auto;
    gap: 1.5rem 4vw;
    align-items: end;
    padding: clamp(2rem, 6vw, 6rem) var(--edge) clamp(3rem, 7vw, 7rem);
    position: relative;
    container-type: inline-size;
}
.opening::after {
    content: "";
    position: absolute;
    width: min(42vw, 38rem);
    aspect-ratio: 1.4;
    right: -7vw;
    top: 16vh;
    background: linear-gradient(145deg, color-mix(in srgb, var(--clay) 78%, white), var(--berry));
    clip-path: polygon(8% 14%, 82% 0, 100% 64%, 61% 100%, 0 75%);
    opacity: 0.88;
    transform: rotate(-3deg);
    z-index: -1;
}
.opening__place {
    grid-column: 1;
    align-self: start;
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}
.opening__name {
    grid-column: 1 / -1;
    margin: 0;
    display: grid;
    line-height: 0.76;
    letter-spacing: -0.08em;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: clamp(4.2rem, 14vw, 13rem);
    max-width: 8ch;
    position: relative;
    z-index: 2;
}
.opening__name span:nth-child(2) { margin-left: 0.46em; }
.opening__name span:nth-child(3) {
    justify-self: end;
    color: var(--paper);
    -webkit-text-stroke: 1px var(--ink);
    text-shadow: 0.04em 0.04em 0 var(--ink);
}
.opening__statement {
    grid-column: 1;
    margin: 0;
    max-width: 20ch;
    font-size: clamp(1.4rem, 2.8vw, 3rem);
    font-weight: 700;
    line-height: 1.05;
}
.opening__lead {
    grid-column: 2;
    margin: 0 10vw 0 0;
    max-width: 34rem;
    font-size: clamp(1rem, 1.4vw, 1.25rem);
}
.opening__continue {
    grid-column: 2;
    justify-self: start;
    padding: 0.8rem 0;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.gesture {
    min-height: min(92svh, 58rem);
    position: relative;
    z-index: 1;
    padding: var(--step) var(--edge);
    display: grid;
    align-items: center;
    container-type: inline-size;
}
.gesture__text { max-width: 42rem; }
.gesture__text h2,
.meeting h2,
.contact-thread h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.98;
    font-size: clamp(2.5rem, 6vw, 6.5rem);
    margin: 0.2rem 0 1.5rem;
}
.gesture__text p:not(.eyebrow),
.meeting__mission,
.contact-thread__intro > p:last-child {
    font-size: clamp(1rem, 1.55vw, 1.28rem);
    max-width: 38rem;
}
.eyebrow {
    margin: 0 0 0.8rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 750;
    color: var(--muted);
}

.gesture--welcome {
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.8fr);
    gap: 8vw;
}
.gesture__word {
    position: absolute;
    left: -0.05em;
    top: 2vw;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(5rem, 17vw, 16rem);
    letter-spacing: -0.08em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(36, 32, 27, 0.18);
    white-space: nowrap;
    z-index: -1;
}
.figure-hands {
    position: relative;
    min-height: 34rem;
    margin: 0;
}
.cloth {
    position: absolute;
    display: block;
    background: var(--sage);
    box-shadow: inset 0 0 0 1px rgba(36,32,27,.18);
}
.cloth--one {
    width: 74%; height: 58%; right: 0; top: 8%;
    clip-path: polygon(8% 3%, 100% 17%, 83% 100%, 0 79%);
    transform: rotate(4deg);
}
.cloth--two {
    width: 58%; height: 44%; left: 0; bottom: 0;
    background: var(--saffron);
    clip-path: polygon(0 16%, 92% 0, 100% 88%, 18% 100%);
    transform: rotate(-7deg);
}
.stitch {
    position: absolute;
    z-index: 2;
    border-top: 2px dashed var(--ink);
    width: 70%;
    height: 5rem;
    border-radius: 50%;
}
.stitch--one { right: 3%; top: 30%; transform: rotate(18deg); }
.stitch--two { left: 4%; bottom: 15%; transform: rotate(-14deg); }

.gesture--care {
    grid-template-columns: 0.34fr minmax(0, 1fr) minmax(14rem, 0.65fr);
    gap: 4vw;
    background: linear-gradient(90deg, transparent 0 32%, rgba(120, 128, 106, 0.13) 32% 100%);
}
.gesture__counter {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(6rem, 15vw, 13rem);
    color: transparent;
    -webkit-text-stroke: 1px var(--line);
    margin: 0;
    align-self: start;
}
.gesture__aside {
    margin: 12rem 0 0;
    padding: 1.5rem 0 1.5rem 1.4rem;
    border-left: 2px solid var(--sage);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.3rem, 2.2vw, 2rem);
    line-height: 1.15;
}

.gesture--cook {
    grid-template-columns: minmax(17rem, 0.8fr) minmax(0, 1fr);
    gap: 7vw;
    background: color-mix(in srgb, var(--saffron) 11%, var(--paper));
}
.tablecloth {
    min-height: 33rem;
    position: relative;
    border: 1px solid rgba(36, 32, 27, 0.18);
    transform: rotate(-2deg);
    background-image:
        linear-gradient(rgba(36,32,27,.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(36,32,27,.10) 1px, transparent 1px);
    background-size: 3rem 3rem;
    clip-path: polygon(2% 0, 100% 4%, 96% 100%, 0 93%);
}
.tablecloth span {
    position: absolute;
    display: block;
    border-radius: 50%;
    border: 1px solid var(--ink);
}
.tablecloth span:nth-child(1) { width: 8rem; aspect-ratio: 1; left: 14%; top: 18%; }
.tablecloth span:nth-child(2) { width: 4rem; aspect-ratio: 1; right: 18%; top: 42%; background: var(--clay); }
.tablecloth span:nth-child(3) { width: 11rem; aspect-ratio: 1; left: 34%; bottom: 8%; border-style: dashed; }
.tablecloth span:nth-child(4) { width: 2rem; height: 12rem; right: 11%; top: 10%; border-radius: 999px; transform: rotate(34deg); }
.cook-note {
    grid-column: 2;
    max-width: 24rem;
    justify-self: end;
    margin: 3rem 4vw 0 0;
    padding-top: 0.8rem;
    border-top: 1px solid currentColor;
    font-style: italic;
}

.gesture--sew {
    grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1fr);
    gap: 8vw;
}
.pattern-sheet {
    position: relative;
    min-height: 39rem;
    background: color-mix(in srgb, var(--berry) 9%, var(--paper));
    border: 1px solid var(--line);
    clip-path: polygon(0 0, 95% 3%, 100% 86%, 13% 100%, 3% 71%);
}
.pattern-sheet::before,
.pattern-sheet::after {
    content: "";
    position: absolute;
    border: 1px dashed var(--berry);
    border-radius: 50%;
}
.pattern-sheet::before { width: 110%; height: 65%; left: -48%; top: 11%; }
.pattern-sheet::after { width: 75%; height: 90%; right: -28%; bottom: -47%; }
.pattern-sheet__curve {
    position: absolute;
    width: 70%; height: 24%; left: 12%; top: 42%;
    border-top: 2px solid var(--berry);
    border-radius: 50%;
    transform: rotate(-17deg);
}
.pattern-sheet__notch {
    position: absolute; width: 1.5rem; height: 1.5rem;
    border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
}
.pattern-sheet__notch--a { right: 22%; top: 19%; transform: rotate(-25deg); }
.pattern-sheet__notch--b { left: 14%; bottom: 13%; transform: rotate(41deg); }
.measure {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    margin: 4rem 0 0;
    padding-top: 0.8rem;
    border-top: 1px solid var(--ink);
    font-size: 0.72rem;
    color: var(--muted);
    background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 2rem) top / 100% 0.45rem no-repeat;
}

.gesture--show {
    min-height: 110svh;
    grid-template-rows: auto 1fr;
    align-content: start;
    background: #f8f4ea;
}
.gesture--show .gesture__text {
    margin-left: clamp(0rem, 20vw, 16rem);
}
.gallery-line {
    position: relative;
    min-height: 34rem;
    margin-top: 6rem;
}
.gallery-line::before {
    content: "";
    position: absolute; left: 3%; right: 3%; top: 38%;
    border-top: 1px solid var(--ink);
    transform: rotate(-1deg);
}
.frame { position: absolute; border: 1px solid var(--ink); background: var(--paper); }
.frame::after { content:""; position:absolute; inset: 8%; border: 1px dashed var(--line); }
.frame--a { width: 18%; aspect-ratio: 0.76; left: 8%; top: 7%; transform: rotate(-3deg); }
.frame--b { width: 28%; aspect-ratio: 1.45; left: 38%; top: 27%; transform: rotate(2deg); background: color-mix(in srgb, var(--saffron) 18%, var(--paper)); }
.frame--c { width: 16%; aspect-ratio: 0.9; right: 7%; top: 2%; transform: rotate(5deg); background: color-mix(in srgb, var(--sage) 22%, var(--paper)); }

.gesture--circulate {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.85fr);
    gap: 6vw;
    background: linear-gradient(150deg, transparent 0 42%, rgba(173,91,61,.09) 42% 100%);
}
.objects { min-height: 34rem; position: relative; }
.object { display: block; position: absolute; border: 1px solid var(--ink); }
.object--round { width: 15rem; aspect-ratio: 1; border-radius: 50%; left: 6%; top: 3%; background: var(--saffron); }
.object--folded { width: 18rem; height: 12rem; right: 0; bottom: 9%; transform: rotate(-11deg); clip-path: polygon(5% 0, 100% 12%, 88% 100%, 0 82%); background: var(--sage); }
.object--small { width: 7rem; height: 9rem; right: 14%; top: 19%; transform: rotate(16deg); background: var(--paper-deep); }

.meeting {
    min-height: 100svh;
    padding: var(--step) var(--edge);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.7fr);
    gap: 4rem 8vw;
    align-content: center;
    background: var(--ink);
    color: var(--paper);
    position: relative;
    z-index: 2;
    clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
}
.meeting__route {
    grid-column: 1 / -1;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    color: color-mix(in srgb, var(--paper) 70%, transparent);
}
.meeting h2 { max-width: 10ch; }
.meeting__address {
    border-left: 1px solid currentColor;
    padding-left: 1.4rem;
    align-self: end;
}
.meeting__address p { margin: 0 0 1rem; }
.meeting__mission {
    grid-column: 1 / -1;
    max-width: 48rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 3.4vw, 3.4rem);
    line-height: 1.1;
    margin: 6rem 0 0;
}

.contact-thread {
    padding: var(--step) var(--edge);
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(18rem, 1fr);
    gap: 5rem 8vw;
    position: relative;
    z-index: 2;
}
.contact-thread__intro { align-self: start; position: sticky; top: 2rem; }
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.2rem;
    container-type: inline-size;
}
.contact-form label { display: grid; gap: 0.5rem; }
.contact-form label > span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.contact-form__message { grid-column: 1 / -1; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--ink);
    background: transparent;
    padding: 0.7rem 0.1rem;
    border-radius: 0;
    outline: none;
}
.contact-form textarea { border: 1px solid var(--ink); padding: 1rem; resize: vertical; min-height: 10rem; }
.contact-form input:focus,
.contact-form textarea:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--saffron) 35%, transparent); }
.contact-form button {
    grid-column: 1 / -1;
    justify-self: start;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    padding: 0.95rem 1.2rem;
    border-radius: 999px;
    cursor: pointer;
}
.contact-form button:hover { background: var(--clay); border-color: var(--clay); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status {
    grid-column: 2;
    margin: -2rem 0 0;
    padding: 1rem 1.1rem;
    border-left: 3px solid var(--ink);
}
.form-status--ok { border-color: var(--sage); }
.form-status--error { border-color: var(--clay); }

.site-foot {
    margin-left: var(--rail);
    padding: 2rem var(--edge) 3rem;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 1rem 2rem;
    flex-wrap: wrap;
    align-items: baseline;
    font-size: 0.84rem;
    background: var(--paper-deep);
}
.site-foot p { margin: 0; }
.site-foot__legal { margin-left: auto !important; color: var(--muted); }

.legal-page {
    margin-left: var(--rail);
    max-width: 70rem;
    min-height: 90svh;
    padding: clamp(3rem, 8vw, 8rem) var(--edge);
}
.legal-page h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.4rem, 8vw, 7rem);
    line-height: 0.9;
    font-weight: 500;
    letter-spacing: -0.05em;
    margin: 2rem 0 5rem;
}
.legal-page section {
    display: grid;
    grid-template-columns: minmax(10rem, 0.4fr) minmax(0, 1fr);
    gap: 2rem 5vw;
    padding: 2rem 0;
    border-top: 1px solid var(--line);
}
.legal-page h2 { margin: 0; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.12em; }
.legal-page section p { margin: 0; max-width: 46rem; }
.back-link { font-weight: 700; }

@container (max-width: 760px) {
    .opening { grid-template-columns: 1fr; }
    .opening__place,
    .opening__statement,
    .opening__lead,
    .opening__continue { grid-column: 1; }
    .opening__lead { margin-right: 0; max-width: 30rem; }
    .opening__name { grid-column: 1; }
}

@supports (grid-template-columns: subgrid) {
    .gesture--care .gesture__text {
        display: grid;
        grid-template-columns: subgrid;
    }
}

@media (max-width: 860px) {
    :root { --rail: 0rem; }
    body { padding-bottom: 4.35rem; }
    .selvedge {
        inset: auto 0 0 0;
        width: auto;
        height: 4.35rem;
        border-right: 0;
        border-top: 1px solid var(--line);
        padding: 0.4rem 0.6rem;
        grid-template-columns: auto 1fr;
        grid-template-rows: 1fr;
        gap: 0.4rem;
        overflow: hidden;
    }
    .selvedge__brand { width: 3.15rem; }
    .selvedge__steps {
        margin: 0;
        display: flex;
        align-items: stretch;
        overflow-x: auto;
        scrollbar-width: none;
        gap: 0;
    }
    .selvedge__steps::-webkit-scrollbar { display: none; }
    .selvedge__steps li { display: flex; flex: 0 0 auto; }
    .selvedge__steps a { display: grid; place-content: center; padding: 0.4rem 0.8rem; white-space: nowrap; }
    .selvedge__steps a::before { display: none; }
    .selvedge__marker { display: none; }
    .worktable, .site-foot, .legal-page { margin-left: 0; }
    .threadline { width: 26vw; opacity: 0.65; }
    .gesture--welcome,
    .gesture--care,
    .gesture--cook,
    .gesture--sew,
    .gesture--circulate,
    .meeting,
    .contact-thread { grid-template-columns: 1fr; }
    .gesture__counter { position: absolute; right: var(--edge); top: 2rem; }
    .gesture__aside { margin: 2rem 0 0 22vw; }
    .gesture--cook .gesture__text { grid-row: 1; }
    .cook-note { grid-column: 1; }
    .gesture--sew .gesture__text { grid-row: 1; }
    .measure { grid-column: 1; }
    .meeting__route,
    .meeting__mission { grid-column: 1; }
    .contact-thread__intro { position: static; }
    .form-status { grid-column: 1; margin: 0; }
    .legal-page section { grid-template-columns: 1fr; }
    .site-foot__legal { margin-left: 0 !important; width: 100%; }
}

@media (max-width: 560px) {
    :root { --edge: 1.15rem; --step: 6rem; }
    .opening { min-height: 92svh; padding-top: 1.4rem; }
    .opening__name { font-size: clamp(4rem, 24vw, 7rem); }
    .opening__name span:nth-child(2) { margin-left: 0.12em; }
    .opening::after { width: 64vw; top: 23vh; right: -18vw; }
    .gesture { min-height: auto; }
    .gesture__word { font-size: 28vw; top: 0.6rem; }
    .figure-hands, .tablecloth, .pattern-sheet, .objects { min-height: 22rem; }
    .gesture--show { min-height: 90svh; }
    .gesture--show .gesture__text { margin-left: 0; }
    .gallery-line { min-height: 24rem; margin-top: 3rem; }
    .frame--a { width: 30%; }
    .frame--b { width: 45%; left: 29%; }
    .frame--c { width: 27%; right: 2%; }
    .contact-form { grid-template-columns: 1fr; }
    .contact-form__message,
    .contact-form button { grid-column: 1; }
    .meeting { clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 100%); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* Multipage extension — keeps the original paper/thread visual language. */
.selvedge__steps a[aria-current="page"] {
    color: var(--ink);
    transform: translateX(0.18rem);
    font-weight: 700;
}
.selvedge__steps a[aria-current="page"]::before {
    background: var(--clay);
    border-color: var(--clay);
}

.opening--compact {
    min-height: 96svh;
}
.home-intro { min-height: 88svh; }
.home-path { min-height: 82svh; }

.photo-panel {
    margin: 0;
    position: relative;
    isolation: isolate;
}
.photo-panel::before {
    content: "";
    position: absolute;
    inset: -1.1rem 1.5rem 1.1rem -1.1rem;
    z-index: -1;
    border: 1px solid var(--line);
    transform: rotate(-2deg);
}
.photo-panel img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 24rem;
    max-height: 42rem;
    object-fit: cover;
    filter: saturate(.78) contrast(.96);
    clip-path: polygon(2% 1%, 99% 4%, 96% 98%, 3% 94%);
}
.photo-panel figcaption {
    margin: .8rem 1.4rem 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.35;
}
.photo-panel figcaption span {
    display: block;
    margin-top: .25rem;
    color: var(--muted);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-style: normal;
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.photo-panel--clay::before { background: color-mix(in srgb, var(--clay) 22%, var(--paper)); }
.photo-panel--saffron::before { background: color-mix(in srgb, var(--saffron) 30%, var(--paper)); }
.photo-panel--berry::before { background: color-mix(in srgb, var(--berry) 20%, var(--paper)); }
.photo-panel--gallery::before { background: color-mix(in srgb, var(--sage) 25%, var(--paper)); }
.photo-panel--market::before { background: color-mix(in srgb, var(--clay) 18%, var(--paper)); }

.home-cards {
    position: relative;
    z-index: 2;
    padding: var(--step) var(--edge);
    border-top: 1px solid var(--line);
}
.home-cards__intro {
    display: grid;
    grid-template-columns: minmax(10rem,.45fr) minmax(0,1fr);
    gap: 3rem 6vw;
    align-items: end;
    margin-bottom: 4rem;
}
.home-cards__intro h2 {
    margin: 0;
    max-width: 12ch;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: .98;
    font-size: clamp(2.7rem, 6vw, 6rem);
}
.home-cards__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--ink);
}
.thread-card {
    min-height: 23rem;
    padding: 1.5rem;
    border-right: 1px solid var(--line);
    text-decoration: none;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 1.2rem;
    transition: transform 180ms ease, background 180ms ease;
}
.thread-card:last-child { border-right: 0; }
.thread-card:hover {
    transform: translateY(-.35rem);
    background: color-mix(in srgb, var(--paper-deep) 64%, transparent);
}
.thread-card__number {
    color: var(--muted);
    font-size: .72rem;
    letter-spacing: .16em;
}
.thread-card strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3vw, 3.2rem);
    font-weight: 500;
    line-height: 1;
}
.thread-card p { margin: 0; max-width: 25rem; }
.thread-card__arrow { font-size: 1.5rem; justify-self: end; }

.meeting--short { min-height: 82svh; }
.meeting__link {
    justify-self: start;
    align-self: start;
    border-bottom: 1px solid currentColor;
    padding-bottom: .4rem;
    text-decoration: none;
    font-weight: 700;
}

.content-page { overflow: clip; }
.page-opening {
    min-height: 84svh;
    padding: clamp(3rem, 8vw, 8rem) var(--edge) clamp(5rem, 9vw, 9rem);
    display: grid;
    grid-template-columns: minmax(10rem,.38fr) minmax(0,1fr);
    gap: 2rem 7vw;
    align-content: center;
    position: relative;
    z-index: 1;
}
.page-opening::before {
    content: "";
    position: absolute;
    right: -5vw;
    top: 13%;
    width: min(37vw, 34rem);
    aspect-ratio: 1.2;
    opacity: .55;
    z-index: -1;
    transform: rotate(4deg);
    clip-path: polygon(7% 10%, 93% 0, 100% 79%, 26% 100%, 0 45%);
}
.page-opening--association::before { background: var(--sage); }
.page-opening--ateliers::before { background: var(--saffron); }
.page-opening--rencontres::before { background: var(--berry); }
.page-opening--contact::before { background: var(--clay); }
.page-opening > .eyebrow { align-self: start; }
.page-opening h1 {
    grid-column: 2;
    margin: 0;
    max-width: 12ch;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.4rem, 8vw, 8.5rem);
    line-height: .88;
    letter-spacing: -.06em;
    font-weight: 500;
}
.page-opening__lead {
    grid-column: 2;
    margin: 1.3rem 12vw 0 0;
    max-width: 49rem;
    font-size: clamp(1.05rem, 1.65vw, 1.35rem);
}

.editorial {
    position: relative;
    z-index: 2;
    padding: var(--step) var(--edge);
    display: grid;
    grid-template-columns: minmax(10rem,.34fr) minmax(0,1fr);
    gap: 3rem 7vw;
    align-items: start;
    border-top: 1px solid var(--line);
}
.editorial__marker {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(5rem, 13vw, 11rem);
    line-height: .8;
    color: transparent;
    -webkit-text-stroke: 1px var(--line);
}
.editorial__body { max-width: 51rem; }
.editorial__body--wide { max-width: 60rem; }
.editorial h2,
.activity h2 {
    margin: .25rem 0 1.6rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 5.6vw, 5.8rem);
    line-height: .96;
    letter-spacing: -.045em;
    font-weight: 500;
}
.editorial__body > p:not(.eyebrow),
.activity__text > p:not(.eyebrow) {
    font-size: clamp(1rem, 1.35vw, 1.19rem);
    max-width: 48rem;
}
.editorial--paper {
    grid-template-columns: minmax(0,1fr) minmax(15rem,.42fr);
    background: color-mix(in srgb, var(--saffron) 9%, var(--paper));
}
.editorial--values { background: #f8f4ea; }
.editorial--care-block { background: linear-gradient(90deg, transparent 0 30%, rgba(120,128,106,.12) 30% 100%); }
.editorial--contact-info { min-height: 70svh; align-content: center; }
.editorial__links {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem 2rem;
    margin-top: 2.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
    font-weight: 700;
}

.fact-sheet {
    border: 1px solid var(--ink);
    padding: 1rem 1.3rem;
    transform: rotate(1.2deg);
    background: color-mix(in srgb, var(--paper) 90%, white);
}
.fact-sheet p {
    margin: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: .25rem;
}
.fact-sheet p:last-child { border-bottom: 0; }
.fact-sheet span {
    font-size: .7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .13em;
}
.fact-sheet strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; font-weight: 500; }

.activity {
    position: relative;
    z-index: 2;
    min-height: 92svh;
    padding: var(--step) var(--edge);
    display: grid;
    grid-template-columns: minmax(18rem,.78fr) minmax(0,1fr);
    gap: 7vw;
    align-items: center;
}
.activity:nth-of-type(even) { background: color-mix(in srgb, var(--paper-deep) 55%, var(--paper)); }
.activity__text { max-width: 49rem; }
.activity--sew,
.activity--market { grid-template-columns: minmax(0,1fr) minmax(18rem,.78fr); }
.activity--show { background: #f8f4ea; }
.activity--market { background: linear-gradient(150deg, transparent 0 42%, rgba(173,91,61,.09) 42% 100%); }
.gesture__aside--inline { margin: 7rem 0 0; max-width: 28rem; }

.meeting--contact {
    min-height: 86svh;
    margin-top: -2rem;
}
.contact-thread--page { border-top: 1px solid var(--line); }

.legal-page section > div p + p { margin-top: 1rem; }

@media (max-width: 1000px) {
    .home-cards__grid { grid-template-columns: 1fr; }
    .thread-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
    .thread-card:last-child { border-bottom: 0; }
}

@media (max-width: 860px) {
    .home-cards__intro,
    .page-opening,
    .editorial,
    .editorial--paper,
    .activity,
    .activity--sew,
    .activity--market { grid-template-columns: 1fr; }
    .page-opening { min-height: 76svh; }
    .page-opening h1,
    .page-opening__lead { grid-column: 1; }
    .page-opening__lead { margin-right: 0; }
    .page-opening::before { width: 58vw; opacity: .36; }
    .editorial__marker { position: absolute; right: var(--edge); top: 2rem; opacity: .8; }
    .editorial__body { max-width: 100%; }
    .activity__text { grid-row: 1; }
    .activity__photo { grid-row: 2; max-width: 42rem; }
    .editorial--care-block { background: rgba(120,128,106,.09); }
}

@media (max-width: 560px) {
    .page-opening { min-height: 68svh; padding-top: 4rem; }
    .page-opening h1 { font-size: clamp(3.4rem, 17vw, 5.4rem); }
    .photo-panel img { min-height: 19rem; max-height: 31rem; }
    .home-cards__intro { grid-template-columns: 1fr; margin-bottom: 2.5rem; }
    .activity { min-height: auto; }
    .editorial__links { display: grid; }
}
