:root {
  --forest: #143126;
  --forest-2: #203e31;
  --ink: #24342c;
  --ink-soft: #56645b;
  --paper: #eee1cf;
  --paper-light: #f8eedf;
  --paper-deep: #e6d3bc;
  --rose: #c93359;
  --rose-dark: #8f2242;
  --rose-pale: #e8a2ad;
  --sage: #6f8568;
  --sage-dark: #3f5f48;
  --sage-pale: #cad1bd;
  --peach: #d47d69;
  --gold: #b88b41;
  --blue: #3f7590;
  --white: #fff8ed;
  --line: rgba(20, 49, 38, .18);
  --line-strong: rgba(20, 49, 38, .36);
  --shadow: 0 28px 74px rgba(33, 43, 31, .2);
  --shadow-soft: 0 15px 38px rgba(33, 43, 31, .13);
  --radius: 1.35rem;
  --radius-lg: 2rem;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .78, .25, 1);
  --ambient-a: #c93359;
  --ambient-b: #6f8568;
  --ambient-c: #d47d69;
  --ambient-d: #b88b41;
  --pointer-x: 0;
  --pointer-y: 0;
}

body[data-page="archive"] { --ambient-a: #3f7590; --ambient-b: #6f8568; --ambient-c: #c93359; --ambient-d: #b88b41; }
body[data-page="journal"] { --ambient-a: #b88b41; --ambient-b: #c93359; --ambient-c: #6f8568; --ambient-d: #d47d69; }
body[data-page="about"] { --ambient-a: #d47d69; --ambient-b: #6f8568; --ambient-c: #c93359; --ambient-d: #b88b41; }
body[data-page="shop"] { --ambient-a: #6f8568; --ambient-b: #c93359; --ambient-c: #b88b41; --ambient-d: #d47d69; }
body[data-page^="piece-"] { --ambient-a: #c93359; --ambient-b: #3f7590; --ambient-c: #6f8568; --ambient-d: #b88b41; }
body[data-page="faq"], body[data-page="contact"] { --ambient-a: #6f8568; --ambient-b: #d47d69; --ambient-c: #c93359; --ambient-d: #b88b41; }

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; overflow-x: clip; }
body {
  position: relative;
  isolation: isolate;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(248, 238, 223, .72), rgba(238, 225, 207, .84)),
    radial-gradient(circle at 8% 4%, rgba(201, 51, 89, .12), transparent 27rem),
    radial-gradient(circle at 94% 33%, rgba(63, 95, 72, .14), transparent 31rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .24;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(79, 53, 31, .04) 4px 5px),
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(79, 53, 31, .03) 5px 6px);
  mix-blend-mode: multiply;
}
body.dialog-open, body.nav-open { overflow: hidden; }
main, .site-footer { position: relative; z-index: 2; }
main { overflow: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
:focus-visible { outline: 3px solid #0b6e66; outline-offset: 4px; }
[hidden] { display: none !important; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 500; background: var(--forest); color: white; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.announcement { background: #0d241b; color: rgba(255, 248, 237, .8); font-size: .66rem; letter-spacing: .12em; padding: .48rem 4vw; text-align: center; text-transform: uppercase; }
.site-header {
  position: relative;
  z-index: 40;
  color: var(--white);
  background: rgba(20, 49, 38, .98);
  box-shadow: 0 16px 40px rgba(20, 49, 38, .12);
  transition: background .3s, box-shadow .3s;
}
.site-header::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -18px;
  height: 24px;
  z-index: -1;
  border-radius: 0 0 50% 50%;
  background: inherit;
}
.site-header.is-scrolled { background: rgba(20, 49, 38, .94); box-shadow: 0 18px 48px rgba(20, 49, 38, .2); backdrop-filter: blur(14px); }
.site-header__inner { width: min(1280px, 92vw); min-height: 86px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .82rem; text-decoration: none; }
.brand img { width: 56px; height: 56px; border: 3px solid rgba(255, 248, 237, .72); border-radius: 50%; object-fit: cover; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-5deg) scale(1.04); }
.brand span { display: grid; line-height: 1.12; }
.brand strong { font: 700 1.25rem/1.1 var(--serif); letter-spacing: .015em; }
.brand small { margin-top: .25rem; color: rgba(255, 248, 237, .62); font-size: .61rem; letter-spacing: .1em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.3vw, 2.2rem); }
.site-nav a { position: relative; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.42rem; height: 2px; background: var(--rose-pale); transition: right .35s var(--ease); }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.site-nav .nav-available { display: grid; line-height: 1.1; color: #ffdce2; }
.nav-available small { margin-top: .26rem; color: rgba(255, 248, 237, .52); font-size: .52rem; font-weight: 500; letter-spacing: .04em; text-transform: none; }
.menu-button { display: none; position: relative; width: 52px; height: 46px; border: 1px solid rgba(255, 248, 237, .36); border-radius: 999px; background: transparent; cursor: pointer; }
.menu-button span { position: absolute; left: 14px; width: 22px; height: 1.5px; background: var(--white); transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.menu-button span:nth-child(1) { top: 14px; }
.menu-button span:nth-child(2) { top: 21px; }
.menu-button span:nth-child(3) { top: 28px; }
.menu-button b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.menu-button[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.section-shell { width: min(1280px, 92vw); margin-inline: auto; }
.section { position: relative; padding: clamp(4.8rem, 8vw, 8rem) 0; }
.section > .section-shell { position: relative; z-index: 2; }
.section--rose { background: linear-gradient(120deg, rgba(232, 162, 173, .82), rgba(230, 211, 188, .8)); border-block: 1px solid rgba(143, 34, 66, .16); }
.section--paper { background: rgba(230, 211, 188, .7); border-block: 1px solid var(--line); }
.section--ink { background: linear-gradient(145deg, var(--forest), var(--sage-dark)); color: var(--white); }
.hero, .piece-hero { min-height: min(820px, calc(100svh - 106px)); display: grid; grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); padding-block: clamp(5.8rem, 10vw, 9rem); }
.hero { position: relative; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; width: clamp(110px, 13vw, 190px); aspect-ratio: 1; opacity: .7; box-shadow: 0 20px 45px rgba(20, 49, 38, .12); }
.hero::before { left: -10vw; top: 18%; background: conic-gradient(from 45deg, var(--rose) 0 25%, var(--paper-light) 0 50%, var(--sage) 0 75%, var(--gold) 0); transform: rotate(-17deg); animation: edgeBlockA 13s ease-in-out infinite alternate; }
.hero::after { right: -12vw; bottom: 7%; background: conic-gradient(from 90deg, var(--blue) 0 25%, var(--paper-light) 0 50%, var(--peach) 0 75%, var(--sage) 0); transform: rotate(22deg); animation: edgeBlockB 15s ease-in-out -4s infinite alternate; }
@keyframes edgeBlockA { to { transform: translate(20px, -16px) rotate(-9deg); } }
@keyframes edgeBlockB { to { transform: translate(-23px, 12px) rotate(31deg); } }
.hero__copy { max-width: 710px; }
.hero h1, .page-hero h1, .piece-hero h1 { margin: .35rem 0 1.4rem; font: 500 clamp(3.4rem, 7vw, 7.15rem)/.88 var(--serif); letter-spacing: -.055em; }
.hero h1 em, .page-hero h1 em, .piece-hero h1 em { position: relative; display: block; width: fit-content; color: var(--rose); font-weight: 400; }
.hero h1 em::after, .piece-hero h1::after { content: ""; position: absolute; left: .03em; right: .02em; bottom: -.11em; height: 3px; background: repeating-linear-gradient(90deg, var(--rose) 0 11px, transparent 11px 18px); transform-origin: left; animation: stitchIn 1.4s .45s var(--ease) both; }
@keyframes stitchIn { from { transform: scaleX(0); opacity: 0; } }
.page-hero { position: relative; max-width: 1040px; padding-block: clamp(6rem, 11vw, 10rem); }
.page-hero h1 { font-size: clamp(3.2rem, 6.8vw, 6.7rem); }
.eyebrow { margin: 0 0 .72rem; color: var(--rose-dark); font-size: .68rem; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.section--ink .eyebrow { color: var(--rose-pale); }
.lede { max-width: 760px; color: var(--ink-soft); font-size: clamp(1.08rem, 1.8vw, 1.32rem); }
.section--ink p { color: rgba(255, 248, 237, .74); }
h2, h3 { font-family: var(--serif); line-height: 1.04; }
h2 { margin: .2rem 0 1rem; font-size: clamp(2.2rem, 4.4vw, 4.7rem); font-weight: 500; letter-spacing: -.04em; }
h3 { margin: .3rem 0 .75rem; font-size: 1.65rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; border: 1px solid var(--forest); border-radius: 999px; background: var(--forest); color: white; cursor: pointer; font-size: .76rem; font-weight: 850; letter-spacing: .07em; padding: .8rem 1.3rem; text-decoration: none; text-transform: uppercase; transition: transform .3s var(--ease), background .3s, box-shadow .3s; }
.button:hover { background: var(--rose-dark); border-color: var(--rose-dark); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(143, 34, 66, .18); }
.button--ghost { background: transparent; color: var(--forest); }
.button--light { border-color: var(--white); background: var(--white); color: var(--forest); }
.text-link, .text-button { border: 0; background: transparent; color: var(--rose-dark); cursor: pointer; font-size: .73rem; font-weight: 850; letter-spacing: .045em; padding: 0; text-decoration: underline; text-underline-offset: .23em; }

[data-depth] { transform: translate3d(var(--depth-x, 0), var(--depth-y, 0), 0); transition: transform .45s var(--ease); }
[data-parallax] { transform: translate3d(0, var(--scroll-depth, 0), 0); transition: transform .18s linear; }
.hero-collage { position: relative; min-height: 670px; display: grid; place-items: center; isolation: isolate; }
.hero-collage::before { content: ""; position: absolute; inset: 8% 7% 10% 13%; z-index: -2; border-radius: 49% 51% 44% 56% / 37% 42% 58% 63%; background: rgba(202, 209, 189, .75); transform: rotate(-4deg); animation: collageHalo 10s ease-in-out infinite alternate; }
.hero-collage::after { content: ""; position: absolute; inset: 14% 1% 3% 20%; z-index: -3; border: 1px dashed rgba(20, 49, 38, .28); border-radius: 50%; animation: slowSpin 48s linear infinite; }
@keyframes collageHalo { to { transform: rotate(-1deg) translate(2%, -2%); border-radius: 42% 58% 52% 48% / 54% 38% 62% 46%; } }
@keyframes slowSpin { to { transform: rotate(360deg); } }
.hero__media { width: min(650px, 92%); transform: rotate(2deg); }
.hero__media figcaption { justify-content: flex-end; text-align: right; }
.verified-photo { position: relative; margin: 0; overflow: hidden; border: 10px solid var(--paper-light); border-radius: .45rem; background: var(--white); box-shadow: var(--shadow); }
.verified-photo .image-open { display: block; width: 100%; border: 0; background: transparent; cursor: zoom-in; padding: 0; overflow: hidden; }
.verified-photo img { width: 100%; height: auto; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.verified-photo:hover img { transform: scale(1.025); filter: saturate(1.05); }
.verified-photo figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; color: var(--ink-soft); font-size: .68rem; }
.verified-photo figcaption strong { color: var(--ink); font-family: var(--serif); font-size: .95rem; }
.verified-photo--detail { max-width: 540px; justify-self: end; transform: rotate(1.4deg); }
.hero-note { position: absolute; left: -2%; bottom: -1.5rem; z-index: 4; width: min(265px, 44%); padding: 1.35rem; background: var(--paper-light); box-shadow: var(--shadow-soft); transform: rotate(-3deg); }
.hero-note strong { display: block; font: 1.45rem/1.05 var(--serif); }
.hero-note small { display: block; margin-top: .7rem; color: var(--ink-soft); line-height: 1.45; }
.paper-tape { position: absolute; left: 38%; top: -13px; width: 82px; height: 25px; background: rgba(221, 193, 146, .65); transform: rotate(-3deg); box-shadow: inset 0 0 0 1px rgba(98, 72, 39, .08); }
.hero-rose { position: absolute; right: -2%; top: 1%; z-index: -1; width: 116px; filter: drop-shadow(0 14px 18px rgba(143, 34, 66, .17)); animation: roseDrift 8s ease-in-out infinite alternate; }
.hero-rose img { width: 100%; }
@keyframes roseDrift { to { transform: translate(-12px, 16px) rotate(8deg); } }
.hero-quilt-block { position: absolute; right: -1%; bottom: 2%; z-index: -1; width: 88px; aspect-ratio: 1; background: conic-gradient(from 45deg, var(--rose) 0 25%, var(--paper-light) 0 50%, var(--sage-dark) 0 75%, var(--gold) 0); box-shadow: inset 0 0 0 8px var(--paper-light), 0 18px 38px rgba(20, 49, 38, .18); animation: blockFloat 7s ease-in-out -2s infinite alternate; }
@keyframes blockFloat { to { transform: translate(-14px, -20px) rotate(13deg); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .92fr); align-items: start; gap: clamp(3rem, 7vw, 7rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 2.8rem; }
.section-heading > p { max-width: 500px; color: var(--ink-soft); }
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; perspective: 1200px; }
.work-card { grid-column: span 4; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 248, 237, .9); box-shadow: var(--shadow-soft); transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transform-style: preserve-3d; transition: transform .42s var(--ease), box-shadow .42s, opacity .35s; }
.work-card:nth-child(1), .work-card:nth-child(2) { grid-column: span 6; }
.work-card:hover { box-shadow: 0 25px 58px rgba(33, 43, 31, .19); }
.work-card__media { position: relative; display: block; width: 100%; aspect-ratio: 5 / 4; overflow: hidden; border: 0; background: var(--paper-deep); cursor: pointer; padding: 0; }
.work-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .75s var(--ease), transform 1.05s var(--ease), filter .5s; }
.work-card__whole { opacity: 1; }
.work-card__detail { opacity: 0; transform: scale(1.08); }
.work-card:hover .work-card__whole, .work-card__media:focus-visible .work-card__whole { opacity: 1; transform: scale(1.035); filter: saturate(1.035); }
.work-card__view-label { position: absolute; right: .8rem; bottom: .8rem; z-index: 3; display: grid; min-width: 76px; border-radius: 999px; background: rgba(255, 248, 237, .9); color: var(--forest); font-size: .56rem; font-weight: 850; letter-spacing: .08em; overflow: hidden; text-transform: uppercase; }
.work-card__view-label span { grid-area: 1 / 1; padding: .42rem .68rem; text-align: center; transition: opacity .4s, transform .4s; }
.work-card__view-label span + span { opacity: 0; transform: translateY(100%); }
.work-card:hover .work-card__view-label, .work-card__media:focus-visible .work-card__view-label { background: var(--forest); color: var(--white); }
.work-card__body { padding: 1.45rem; }
.work-card__body .work-card__title { margin: .3rem 0 .75rem; font-size: 1.65rem; }
.work-card__body .work-card__title a { text-decoration: none; }
.work-card__body .work-card__title a:hover { color: var(--rose-dark); }
.work-card__body p:not(.eyebrow) { color: var(--ink-soft); font-size: .88rem; }
.work-card__actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; align-items: center; margin-top: 1rem; }
.work-grid--three .work-card, .work-grid--three .work-card:nth-child(1), .work-grid--three .work-card:nth-child(2) { grid-column: span 4; }
.work-grid--text .work-card, .work-grid--text .work-card:nth-child(1), .work-grid--text .work-card:nth-child(2) { grid-column: span 4; }
.work-grid--text .work-card__body { height: 100%; }

.responsive-picture { display: block; width: 100%; }
.responsive-picture img { display: block; width: 100%; height: auto; }
body[data-page="journal-entry"] .responsive-picture img { object-fit: contain; }
.work-card__media > .responsive-picture { position: absolute; inset: 0; height: 100%; }
.work-card__media > .responsive-picture img { width: 100%; height: 100%; object-fit: cover; }
.work-card__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.availability-state { display: inline-flex; align-items: center; width: fit-content; border: 1px solid rgba(20,49,38,.24); border-radius: 999px; background: rgba(202,209,189,.42); color: var(--forest); font-size: .57rem; font-weight: 850; letter-spacing: .055em; line-height: 1.2; padding: .38rem .58rem; text-transform: uppercase; }
.availability-state--pictured-variant-unavailable { border-color: rgba(184,139,65,.42); background: rgba(184,139,65,.12); }
.piece-hero .availability-state { margin: .5rem 0 1.2rem; }

.editorial-photo-grid, .about-photo-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; align-items: start; }
.editorial-photo { grid-column: span 5; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper-light); box-shadow: var(--shadow-soft); }
.editorial-photo:nth-child(3n) { grid-column: span 4; }
.editorial-photo--wide { grid-column: span 7; }
.editorial-photo-grid--triple .editorial-photo, .editorial-photo-grid--triple .editorial-photo:nth-child(3n) { grid-column: span 4; }
.editorial-photo .image-open { display: block; width: 100%; overflow: hidden; border: 0; background: var(--paper-deep); cursor: zoom-in; padding: 0; }
.editorial-photo img { width: 100%; height: auto; transition: transform .8s var(--ease), filter .5s; }
.editorial-photo:hover img { transform: scale(1.018); filter: saturate(1.025); }
.editorial-photo figcaption { display: grid; gap: .3rem; padding: 1rem 1.15rem 1.2rem; }
.editorial-photo figcaption strong { font: 500 1.15rem/1.15 var(--serif); }
.editorial-photo figcaption span { color: var(--ink-soft); font-size: .74rem; }

.archive-collection { display: grid; gap: clamp(3rem, 7vw, 6.5rem); }
.archive-group { scroll-margin-top: 2rem; border-top: 1px solid var(--line-strong); padding-top: 2rem; }
.archive-group__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.archive-group__heading h2 { max-width: 850px; font-size: clamp(2.2rem, 4vw, 4.2rem); }
.archive-status { flex-shrink: 0; margin: 0 0 .6rem; border: 1px solid var(--line-strong); border-radius: 2rem; padding: .35rem .95rem; font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); background: var(--paper-light); }
.archive-status--available { border-color: var(--sage-dark); color: var(--sage-dark); }
.archive-status--sold { border-color: var(--rose); color: var(--rose-dark); }
.archive-group__note { max-width: 760px; color: var(--ink-soft); }
.archive-photo-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2rem; margin-top: 2rem; align-items: start; }
.archive-photo { grid-column: span 4; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-light); box-shadow: var(--shadow-soft); }
.archive-photo--lead { grid-column: span 8; grid-row: span 2; }
.archive-photo .image-open { display: block; width: 100%; overflow: hidden; border: 0; background: var(--paper-deep); cursor: zoom-in; padding: 0; }
.archive-photo img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.archive-photo:hover img { transform: scale(1.018); }
.archive-photo figcaption { display: grid; gap: .5rem; padding: .85rem 1rem 1rem; color: var(--ink-soft); font-size: .72rem; }

.journal-projects { display: grid; gap: clamp(4rem, 8vw, 7rem); }
.journal-projects > .section-heading { margin-bottom: 0; }
.journal-project { display: grid; grid-template-columns: minmax(220px, .36fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); border-top: 1px solid var(--line-strong); padding-top: 2rem; }
.journal-project__heading { position: sticky; top: 2rem; align-self: start; }
.journal-project__heading h2 { font-size: clamp(2rem, 3vw, 3.5rem); }
.journal-project__heading p:last-child { color: var(--ink-soft); }
.journal-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.journal-photo { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-light); box-shadow: var(--shadow-soft); }
.journal-photo .image-open { display: block; width: 100%; overflow: hidden; border: 0; background: var(--paper-deep); cursor: zoom-in; padding: 0; }
.journal-photo img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.journal-photo:hover img { transform: scale(1.018); }
.journal-photo figcaption { display: grid; gap: .4rem; padding: 1rem; }
.journal-photo figcaption strong { color: var(--rose-dark); font-size: .72rem; }
.journal-photo figcaption span { color: var(--ink-soft); font-size: .7rem; }

.people-grid--factual .person-card { min-height: 270px; }
.about-photo-grid .editorial-photo:nth-child(1) { grid-column: span 7; }
.about-photo-grid .editorial-photo:nth-child(2) { grid-column: span 5; }
.about-photo-grid .editorial-photo:nth-child(n+3) { grid-column: span 4; }
.quick-detail-toggle { margin-top: 1rem; }

.archive-records { padding-top: 1rem; }
.archive-mosaic { grid-auto-flow: dense; align-items: stretch; }
.archive-mosaic .work-card:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.archive-mosaic .work-card:nth-child(2) { grid-column: span 5; }
.archive-mosaic .work-card:nth-child(3) { grid-column: span 5; }
.archive-mosaic .work-card:nth-child(4), .archive-mosaic .work-card:nth-child(5) { grid-column: span 6; }
.archive-mosaic .work-card:first-child .work-card__media { aspect-ratio: 1.08; }
.archive-mosaic .work-card:nth-child(odd):not(:hover) { animation: mosaicBreathe 11s ease-in-out infinite alternate; }
@keyframes mosaicBreathe { to { transform: perspective(900px) translateY(-5px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); } }


.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.person-card { position: relative; display: flex; min-height: 100%; flex-direction: column; padding: 1.2rem; border-radius: var(--radius-lg); background: rgba(248, 238, 223, .66); box-shadow: var(--shadow-soft); }
.person-card:nth-child(2) { margin-top: 4rem; }
.person-card:nth-child(3) { margin-top: 1.5rem; }
.person-card__photo { margin: 0 0 1rem; }
.person-card__photo .image-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
/* Every card photograph is cropped to 4:3 at build time and displayed at 4:3,
   so what was framed deliberately is exactly what shows. object-fit still
   guards against a future source with a different ratio, but in normal
   operation it has nothing to trim, so no face is ever cropped a second time. */
/* max-width matters at the two-column breakpoint, where the third card spans
   the full row. Without it that card's photograph renders about three times the
   area of the other two and unbalances the section. */
.person-card__photo img { display: block; width: 100%; max-width: 26rem; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: var(--radius); }
.person-card--bob::before { content: "sniff · quilts · cheese"; position: absolute; right: -12px; top: -13px; z-index: 2; border-radius: 999px; background: var(--gold); color: var(--forest); font-size: .53rem; font-weight: 850; letter-spacing: .08em; padding: .5rem .72rem; text-transform: uppercase; transform: rotate(4deg); animation: bobTag 5s ease-in-out infinite alternate; }
@keyframes bobTag { to { transform: rotate(-3deg) translateY(-5px); } }
.about-hero { isolation: isolate; }
.about-leaf { position: absolute; z-index: -1; width: 62px; height: 108px; border-radius: 100% 0 100% 0; background: linear-gradient(145deg, var(--sage), var(--sage-dark)); opacity: .3; }
.about-leaf--a { right: 8%; top: 21%; transform: rotate(24deg); animation: leafSway 8s ease-in-out infinite alternate; }
.about-leaf--b { right: 2%; top: 35%; width: 48px; height: 84px; transform: rotate(70deg); animation: leafSway 9s -2s ease-in-out infinite alternate-reverse; }
@keyframes leafSway { to { transform: translate(-12px, 18px) rotate(42deg); } }
.studio-section { overflow: hidden; }
.fabric-tab { position: absolute; right: -10px; bottom: 30px; padding: .75rem 1rem; background: var(--rose); color: white; font-size: .62rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-4deg); }
.studio-thread { width: 85%; height: 82px; margin-top: 2rem; border-top: 2px dashed var(--rose); border-radius: 50%; animation: threadPulse 6s ease-in-out infinite alternate; }
@keyframes threadPulse { to { transform: translateX(20px) scaleX(.88); border-color: var(--sage-dark); } }

.boundary-card { position: relative; max-width: 920px; border-left: 7px solid var(--rose); background: var(--paper-light); box-shadow: var(--shadow); padding: clamp(2rem, 4vw, 4rem); transform: rotate(-.35deg); }
.boundary-card::after { content: "◆"; position: absolute; right: 2rem; top: 1.4rem; color: var(--rose); opacity: .38; font-size: 2rem; }
.boundary-card ul { padding-left: 1.2rem; }
.boundary-card li + li { margin-top: .7rem; }
.journal-hero { isolation: isolate; }
.journal-hero::before { content: ""; position: absolute; inset: 18% 0 12% -4vw; z-index: -2; opacity: .26; background: repeating-linear-gradient(transparent 0 31px, rgba(63, 117, 144, .35) 31px 32px); transform: rotate(-1deg); }
.journal-diamond { position: absolute; right: 5%; top: 28%; width: 84px; aspect-ratio: 1; border: 2px solid var(--rose); transform: rotate(45deg); opacity: .32; animation: diamondDrift 9s ease-in-out infinite alternate; }
@keyframes diamondDrift { to { transform: translate(-14px, 20px) rotate(135deg) scale(.84); } }
.journal-desk { background: linear-gradient(110deg, rgba(230, 211, 188, .7), rgba(248, 238, 223, .72)); }
.journal-note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.journal-note { position: relative; min-height: 285px; display: flex; flex-direction: column; align-items: flex-start; justify-content: end; overflow: hidden; border: 1px solid rgba(20, 49, 38, .16); background: repeating-linear-gradient(transparent 0 30px, rgba(63, 117, 144, .16) 30px 31px), var(--paper-light); box-shadow: var(--shadow-soft); cursor: pointer; padding: 1.5rem; text-align: left; transition: transform .5s var(--ease), box-shadow .5s; }
.journal-note:nth-child(1) { transform: rotate(-2deg); }
.journal-note:nth-child(2) { transform: rotate(1deg) translateY(1rem); }
.journal-note:nth-child(3) { transform: rotate(-.7deg); }
.journal-note:hover { transform: translateY(-8px) rotate(0); box-shadow: var(--shadow); }
.journal-note::before { content: ""; position: absolute; left: 50%; top: -8px; width: 88px; height: 25px; background: rgba(216, 188, 139, .7); transform: translateX(-50%) rotate(-3deg); }
.journal-note::after { content: "◆"; position: absolute; right: 1.2rem; top: 2.2rem; color: var(--rose); opacity: .38; }
.journal-note > span { color: var(--rose-dark); font: italic 1.15rem var(--serif); }
.journal-note > strong { margin-top: .5rem; font: 2rem/1.05 var(--serif); }
.journal-note > small { margin-top: .75rem; color: var(--ink-soft); font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.filter-bar { position: sticky; top: 1rem; z-index: 8; display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.2rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(248, 238, 223, .9); box-shadow: 0 12px 36px rgba(33, 43, 31, .09); backdrop-filter: blur(14px); padding: .75rem .9rem; }
.filter-bar [role="group"] { display: flex; flex-wrap: wrap; gap: .45rem; }
.filter-button { min-height: 42px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--forest); cursor: pointer; font-size: .72rem; font-weight: 780; padding: .55rem .9rem; transition: background .25s, color .25s, transform .25s; }
.filter-button:hover { transform: translateY(-2px); }
.filter-button.is-active { border-color: var(--forest); background: var(--forest); color: white; }
.filter-bar label { display: flex; align-items: center; gap: .6rem; color: var(--ink-soft); font-size: .65rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
input, textarea { width: 100%; border: 1px solid rgba(20, 49, 38, .3); border-radius: .75rem; background: var(--paper-light); color: var(--ink); padding: .82rem .9rem; transition: border-color .25s, box-shadow .25s; }
input:focus, textarea:focus { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(201, 51, 89, .09); outline: 0; }
.filter-bar input { width: min(220px, 27vw); border-radius: 999px; background: rgba(255, 248, 237, .8); padding-block: .62rem; }
textarea { resize: vertical; }
.empty-state { margin-top: 2rem; padding: 1rem; border: 1px dashed var(--line); }
.source-note, .fine-print { color: var(--ink-soft); font-size: .75rem; }

.dev-form-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(248, 238, 223, .86); box-shadow: var(--shadow-soft); padding: clamp(1.8rem, 4vw, 4rem); }
.dev-form-card form { display: grid; gap: .7rem; }
.dev-form-card label { font-size: .72rem; font-weight: 850; letter-spacing: .05em; }
.form-row { display: flex; gap: .65rem; }
.form-status { min-height: 1.5em; margin: .2rem 0 0; color: var(--rose-dark); font-size: .78rem; }
.faq-list { max-width: 980px; }
.faq-list details { border-top: 1px solid var(--line-strong); padding: 1.45rem 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq-list summary { position: relative; cursor: pointer; list-style: none; padding-right: 3rem; font: 500 1.55rem/1.2 var(--serif); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .4rem; top: -.15rem; color: var(--rose); font: 2rem/1 var(--serif); transition: transform .35s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 720px; color: var(--ink-soft); animation: answerIn .45s var(--ease); }
@keyframes answerIn { from { opacity: 0; transform: translateY(-8px); } }

.process-section { background: linear-gradient(145deg, var(--sage-dark), var(--forest)); color: var(--white); }
.process-section .eyebrow { color: var(--rose-pale); }
.process-section .section-heading > p { color: rgba(255, 248, 237, .68); }
.process-track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.process-track::before { content: ""; position: absolute; left: 12%; right: 12%; top: 2rem; border-top: 2px dashed rgba(232, 162, 173, .58); animation: processThread 18s linear infinite; }
@keyframes processThread { to { transform: translateX(22px); } }
.process-track li { position: relative; z-index: 1; min-height: 250px; display: flex; flex-direction: column; justify-content: end; border: 1px solid rgba(255, 248, 237, .16); border-radius: var(--radius); background: rgba(255, 248, 237, .06); padding: 1.4rem; backdrop-filter: blur(8px); }
.process-track li > span { position: absolute; top: .9rem; left: 1rem; display: grid; width: 2.2rem; aspect-ratio: 1; place-items: center; border-radius: 50%; background: var(--rose); font-size: .65rem; font-weight: 850; }
.process-track strong { font: 1.55rem/1.05 var(--serif); }
.process-track small { margin-top: .7rem; color: rgba(255, 248, 237, .7); }

.not-found { min-height: 75svh; display: grid; align-content: center; }
.loose-fragment { position: absolute; right: 8%; top: 20%; width: clamp(110px, 18vw, 230px); aspect-ratio: 1; border-radius: 1rem; background: conic-gradient(from 45deg, var(--rose) 0 25%, var(--paper-light) 0 50%, var(--sage-dark) 0 75%, var(--gold) 0); box-shadow: inset 0 0 0 14px var(--paper-light), var(--shadow); animation: looseFragment 7s ease-in-out infinite alternate; }
.loose-fragment::before { content: ""; position: absolute; left: 50%; top: 100%; width: 42vw; height: 100px; border-top: 2px dashed var(--rose); border-radius: 50%; transform: rotate(9deg); }
.loose-fragment span { position: absolute; inset: 28%; border: 1px dashed rgba(255, 248, 237, .8); }
@keyframes looseFragment { to { transform: translate(-28px, 24px) rotate(17deg); } }

dialog { width: min(940px, 92vw); max-height: 90svh; overflow: auto; border: 0; border-radius: var(--radius-lg); background: var(--paper-light); color: var(--ink); box-shadow: 0 36px 120px rgba(8, 24, 17, .45); padding: 0; }
dialog::backdrop { background: rgba(8, 24, 17, .78); backdrop-filter: blur(8px); }
dialog[open] { animation: dialogIn .45s var(--ease); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(22px) scale(.97); } }
.dialog-close { position: absolute; right: 1rem; top: 1rem; z-index: 4; display: grid; width: 44px; aspect-ratio: 1; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(248, 238, 223, .9); cursor: pointer; font-size: 1.6rem; line-height: 1; }
.quick-dialog__grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 610px; }
.quick-dialog__image { position: relative; min-height: 610px; overflow: hidden; background: var(--paper-deep); }
.quick-dialog__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s var(--ease), transform 1s var(--ease); }
.quick-dialog__image img + img { opacity: 0; transform: scale(1.07); }
.quick-dialog__image:hover img:first-child { opacity: 0; transform: scale(1.03); }
.quick-dialog__image:hover img + img { opacity: 1; transform: none; }
.quick-dialog__copy { align-self: center; padding: 4.6rem 3.1rem 3rem; }
.quick-dialog__copy h2 { font-size: clamp(2.8rem, 5vw, 4.6rem); }
.quick-dialog__copy p { color: var(--ink-soft); }
.journal-dialog { width: min(660px, 92vw); background: transparent; overflow: visible; }
.journal-dialog__paper { position: relative; min-height: 450px; display: flex; flex-direction: column; justify-content: center; background: repeating-linear-gradient(transparent 0 31px, rgba(63, 117, 144, .18) 31px 32px), var(--paper-light); box-shadow: var(--shadow); padding: clamp(2.5rem, 7vw, 5.5rem); transform: rotate(-1deg); }
.lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; overflow: hidden; border-radius: 0; background: rgba(8, 24, 17, .96); color: white; padding: 3rem; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(8, 24, 17, .92); }
.lightbox__media { display: grid; width: 100%; height: min(82svh, 980px); place-items: center; }
.lightbox__media .responsive-picture { display: contents; }
.lightbox img { max-width: 90vw; max-height: 82svh; width: auto; height: auto; border: 8px solid var(--paper-light); box-shadow: 0 30px 90px rgba(0, 0, 0, .4); }
.lightbox__close { position: absolute; right: 1.4rem; top: 1.4rem; z-index: 2; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(8,24,17,.5); color: white; cursor: pointer; font-size: 1.6rem; }
.lightbox p { position: absolute; left: 1rem; right: 1rem; bottom: .75rem; margin: 0; color: rgba(255,255,255,.78); font-size: .72rem; letter-spacing: .06em; text-align: center; }

.site-footer { overflow: hidden; background: #10271e; color: var(--white); padding: 6rem 0 4.5rem; }
.site-footer::before { content: ""; position: absolute; left: -4%; right: -4%; top: -22px; height: 42px; border-radius: 50% 50% 0 0; background: #10271e; }
.footer-thread { position: absolute; left: -5%; right: -5%; top: 2.2rem; height: 55px; border-top: 1px dashed rgba(232, 162, 173, .46); border-radius: 50%; animation: footerThread 12s ease-in-out infinite alternate; }
@keyframes footerThread { to { transform: translateX(4%) scaleX(.92); } }
.footer-grid { position: relative; width: min(1280px, 92vw); margin: auto; display: grid; grid-template-columns: 1.4fr .6fr .8fr; gap: 3rem; }
.footer-grid h2 { font-size: clamp(2.2rem, 3.5vw, 3.7rem); }
.footer-grid p { color: rgba(255, 248, 237, .66); }
.footer-grid nav { display: grid; align-content: start; gap: .7rem; }
.footer-grid nav a { text-decoration: none; }
.footer-grid nav a:hover { color: var(--rose-pale); }
.footer-grid .fine-print { margin-top: 1.5rem; }

/* Page-specific atmosphere */
.textile-atmosphere { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; contain: strict; }
.textile-light { position: absolute; width: min(58vw, 760px); aspect-ratio: 1; border-radius: 50%; filter: blur(72px); opacity: .13; mix-blend-mode: multiply; will-change: transform; }
.textile-light--a { left: -17vw; top: -22vh; background: var(--ambient-a); animation: lightA 22s ease-in-out infinite alternate; }
.textile-light--b { right: -23vw; top: 24vh; background: var(--ambient-b); animation: lightB 28s ease-in-out -8s infinite alternate; }
.textile-light--c { left: 36vw; bottom: -40vh; width: min(44vw, 580px); background: var(--ambient-c); animation: lightC 25s ease-in-out -13s infinite alternate; }
@keyframes lightA { to { transform: translate3d(13vw, 9vh, 0) scale(1.12); } }
@keyframes lightB { to { transform: translate3d(-14vw, -8vh, 0) scale(.88); } }
@keyframes lightC { to { transform: translate3d(-9vw, -11vh, 0) scale(1.16); } }
.textile-weave { position: absolute; inset: -18%; opacity: .28; transform: translate3d(0, var(--ambient-scroll), 0); mix-blend-mode: multiply; background-image: repeating-linear-gradient(0deg, rgba(20,49,38,.028) 0 1px, transparent 1px 5px), repeating-linear-gradient(90deg, rgba(20,49,38,.022) 0 1px, transparent 1px 6px); animation: weaveBreathe 16s ease-in-out infinite alternate; }
@keyframes weaveBreathe { 50% { opacity: .48; transform: translate3d(0, var(--ambient-scroll), 0) scale(1.006); } }
.thread-field, .fabric-field { position: absolute; inset: 0; width: 100%; height: 100%; }
.thread-field { z-index: 1; opacity: .76; }
.fabric-field { z-index: 2; }
.fabric-motif { position: absolute; left: var(--x); top: var(--y); width: var(--size); aspect-ratio: 1; opacity: var(--opacity); transform-origin: center; will-change: transform; filter: drop-shadow(0 12px 12px rgba(20, 49, 38, .11)); }
.fabric-motif > i, .fabric-motif > b, .fabric-motif > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.fabric-motif > img { object-fit: contain; }
.fabric-motif > i::after { content: ""; position: absolute; inset: 8%; border: 1px dashed rgba(255, 248, 237, .65); }
.fabric-motif--hst > i { background: conic-gradient(from 45deg, var(--c1) 0 25%, var(--c2) 0 50%, var(--c3) 0 75%, var(--paper-light) 0); }
.fabric-motif--ninepatch > i { background: linear-gradient(90deg, transparent 32%, rgba(255,255,255,.55) 32% 35%, transparent 35% 65%, rgba(255,255,255,.55) 65% 68%, transparent 68%), linear-gradient(0deg, transparent 32%, rgba(255,255,255,.55) 32% 35%, transparent 35% 65%, rgba(255,255,255,.55) 65% 68%, transparent 68%), conic-gradient(var(--c1), var(--c2), var(--c3), var(--c1)); }
.fabric-motif--geese { aspect-ratio: 1.55 / .78; }
.fabric-motif--geese > i { background: linear-gradient(135deg, transparent 49%, rgba(255,255,255,.65) 50% 52%, transparent 53%) 0 0 / 50% 100%, linear-gradient(45deg, transparent 49%, rgba(255,255,255,.65) 50% 52%, transparent 53%) 100% 0 / 50% 100%, conic-gradient(from 45deg, var(--c2) 0 25%, var(--c1) 0 50%, var(--c3) 0 75%, var(--paper-light) 0); background-repeat: no-repeat; }
.fabric-motif--diamond > i { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: linear-gradient(135deg, var(--c1) 0 49%, var(--c2) 50%); }
.fabric-motif--pinwheel > i { background: conic-gradient(from 45deg, var(--c1) 0 12.5%, var(--paper-light) 0 25%, var(--c2) 0 37.5%, var(--paper-light) 0 50%, var(--c3) 0 62.5%, var(--paper-light) 0 75%, var(--c1) 0 87.5%, var(--paper-light) 0); }
.fabric-motif--strip { aspect-ratio: .38 / 1.6; }
.fabric-motif--strip > i { border-radius: 999px 9px; background: repeating-linear-gradient(90deg, var(--c1) 0 8px, var(--c2) 8px 14px, var(--c3) 14px 20px); }
.fabric-motif--petal { aspect-ratio: .72 / 1.2; }
.fabric-motif--petal > i, .fabric-motif--leaf > i { border-radius: 100% 0 100% 0; background: linear-gradient(145deg, var(--c1), var(--c2)); }
.fabric-motif--leaf > i::before, .fabric-motif--paired-leaf > i::before { content: ""; position: absolute; left: 50%; top: 8%; bottom: 8%; border-left: 1px solid rgba(255,255,255,.58); transform: rotate(25deg); }
.fabric-motif--paired-leaf > i, .fabric-motif--paired-leaf > b { width: 58%; height: 82%; border-radius: 100% 0 100% 0; background: linear-gradient(145deg, var(--c1), var(--c2)); }
.fabric-motif--paired-leaf > b { left: 44%; top: 20%; transform: scaleX(-1) rotate(22deg); }
.fabric-motif--paper { aspect-ratio: .8 / 1.1; }
.fabric-motif--paper > i { border: 1px solid var(--line); background: repeating-linear-gradient(transparent 0 7px, rgba(63,117,144,.24) 7px 8px), var(--paper-light); transform: rotate(-4deg); }
.fabric-motif--rose { filter: drop-shadow(0 14px 15px rgba(143, 34, 66, .18)); }
.fabric-motif--far { filter: blur(1.2px); }
.fabric-motif--hover { animation: motifHover var(--duration) ease-in-out var(--delay) infinite; }
.fabric-motif--drift { top: -24vh; animation: motifDrift var(--duration) linear var(--delay) infinite; }
@keyframes motifHover { 0%, 100% { transform: translate3d(0,0,0) rotate(var(--r0)); } 50% { transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--r1)); } }
@keyframes motifDrift { 0% { transform: translate3d(0,-15vh,0) rotate(var(--r0)); } 50% { transform: translate3d(calc(var(--dx) * .45), 65vh, 0) rotate(var(--r1)); } 100% { transform: translate3d(var(--dx), 145vh, 0) rotate(calc(var(--r1) + 160deg)); } }
.textile-atmosphere--shop .fabric-motif, .textile-atmosphere--faq .fabric-motif, .textile-atmosphere--contact .fabric-motif { filter: none; }
.textile-atmosphere--journal .fabric-motif--paper { opacity: min(var(--opacity), .095); }

.section-seam { position: absolute; left: -4vw; width: 108vw; height: 170px; z-index: 0; overflow: visible; pointer-events: none; opacity: .31; mix-blend-mode: multiply; }
.section-seam--top { top: 4%; }
.section-seam--middle { top: 42%; }
.section-seam path { fill: none; stroke: var(--ambient-a); stroke-width: 1.25; stroke-linecap: round; stroke-dasharray: 7 11; vector-effect: non-scaling-stroke; animation: seamTravel 19s linear infinite; }
.section-seam path + path { stroke: var(--ambient-b); stroke-dasharray: 1 18; stroke-width: 2.5; animation-duration: 27s; animation-direction: reverse; }
.section-seam circle { fill: var(--paper-light); stroke: var(--ambient-a); stroke-width: 1.25; transform-box: fill-box; transform-origin: center; animation: knotBreathe 3.8s ease-in-out infinite; }
@keyframes seamTravel { to { stroke-dashoffset: -216; } }
@keyframes knotBreathe { 50% { transform: scale(1.8); opacity: .42; } }

.motion-toggle { position: fixed; left: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: .48rem; min-height: 44px; border: 1px solid rgba(20,49,38,.25); border-radius: 999px; background: rgba(238,225,207,.92); color: var(--forest); box-shadow: 0 10px 28px rgba(20,49,38,.14); backdrop-filter: blur(12px); cursor: pointer; font-size: .6rem; font-weight: 850; letter-spacing: .08em; padding: .55rem .78rem .55rem .58rem; text-transform: uppercase; transition: transform .25s, opacity .25s, background .25s; }
.motion-toggle:hover { transform: translateY(-3px); background: var(--paper-light); }
.motion-toggle svg { width: 24px; height: 24px; }
.motion-toggle__thread { fill: none; stroke: var(--rose); stroke-width: 1.4; stroke-dasharray: 3 3; }
.motion-toggle__state { fill: none; stroke: var(--forest); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.motion-toggle:disabled { cursor: default; opacity: .8; }
body.dialog-open .motion-toggle, body.nav-open .motion-toggle { opacity: 0; pointer-events: none; }
body.motion-paused .textile-atmosphere *, body.motion-paused .section-seam *, body.motion-paused .hero::before, body.motion-paused .hero::after, body.motion-paused .hero-collage::before, body.motion-paused .hero-collage::after, body.motion-paused .hero-rose, body.motion-paused .hero-quilt-block, body.motion-paused .archive-mosaic .work-card, body.motion-paused .about-leaf, body.motion-paused .person-card--bob::before, body.motion-paused .studio-thread, body.motion-paused .journal-diamond, body.motion-paused .process-track::before, body.motion-paused .loose-fragment, body.motion-paused .footer-thread { animation-play-state: paused !important; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease) var(--reveal-delay, 0ms), transform .85s var(--ease) var(--reveal-delay, 0ms); }
.reveal.is-revealed { opacity: 1; transform: none; }
.work-card.reveal { transform: translateY(24px) perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); }
.work-card.reveal.is-revealed { transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); }

.page-curtain { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: var(--forest); clip-path: circle(0 at 50% 50%); pointer-events: none; }
body.motion-paused .page-curtain { display: none !important; }
.page-curtain > span { position: absolute; width: min(62vw, 820px); aspect-ratio: 1; border: 1px dashed rgba(255,248,237,.3); border-radius: 50%; animation: slowSpin 28s linear infinite; }
.page-curtain img { width: 110px; filter: drop-shadow(0 18px 26px rgba(0,0,0,.22)); }
.page-curtain.is-entering { pointer-events: auto; animation: curtainIn .58s var(--ease) forwards; }
.page-curtain.is-leaving { animation: curtainOut .72s var(--ease) both; }
@keyframes curtainIn { to { clip-path: circle(150% at 50% 50%); } }
@keyframes curtainOut { from { clip-path: circle(150% at 50% 50%); } to { clip-path: circle(0 at 50% 50%); } }

@media (max-width: 1000px) {
  .hero, .piece-hero { grid-template-columns: minmax(0, 1fr) minmax(430px, .9fr); gap: 3rem; }
  .hero-collage { min-height: 580px; }
  .work-card, .work-card:nth-child(1), .work-card:nth-child(2) { grid-column: span 6; }
  .archive-mosaic .work-card:nth-child(n) { grid-column: span 6; grid-row: auto; }
  .archive-mosaic .work-card:first-child .work-card__media { aspect-ratio: 5 / 4; }
  .people-grid { grid-template-columns: 1fr 1fr; }
  .person-card:nth-child(2), .person-card:nth-child(3) { margin-top: 0; }
  .person-card:nth-child(3) { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 850px) {
  .menu-button { display: inline-block; }
  .site-nav { position: fixed; inset: 0; z-index: -1; display: grid; align-content: center; justify-items: center; gap: 1.4rem; background: linear-gradient(155deg, var(--forest), var(--sage-dark)); opacity: 0; pointer-events: none; transform: translateY(-4%); transition: opacity .45s var(--ease), transform .55s var(--ease); }
  .site-nav::before { content: ""; position: absolute; inset: 7% 12%; border: 1px dashed rgba(255, 248, 237, .23); border-radius: 50%; animation: slowSpin 40s linear infinite; }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .site-nav a { font: 500 clamp(2.2rem, 8vw, 4.2rem)/1 var(--serif); letter-spacing: -.03em; text-transform: none; transform: translateY(-16px); opacity: 0; transition: transform .5s var(--ease), opacity .45s; }
  .site-nav.is-open a { transform: none; opacity: 1; }
  .site-nav.is-open a:nth-child(2) { transition-delay: .06s; }
  .site-nav.is-open a:nth-child(3) { transition-delay: .12s; }
  .site-nav.is-open a:nth-child(4) { transition-delay: .18s; }
  .site-nav.is-open a:nth-child(5) { transition-delay: .24s; }
  .nav-available small { text-align: center; font: .65rem var(--sans); letter-spacing: .06em; }
  .hero, .piece-hero, .split, .dev-form-card { grid-template-columns: 1fr; }
  .hero { padding-top: 6.5rem; }
  .hero-collage { min-height: 650px; }
  .hero__media { width: min(560px, 80%); }
  .verified-photo--detail { justify-self: start; }
  .journal-note-grid { grid-template-columns: 1fr 1fr; }
  .journal-note:nth-child(3) { grid-column: 1 / -1; }
  .process-track { grid-template-columns: 1fr; }
  .process-track::before { left: 2rem; right: auto; top: 2rem; bottom: 2rem; border-top: 0; border-left: 2px dashed rgba(232,162,173,.58); }
  .process-track li { min-height: 190px; padding-left: 5rem; }
  .quick-dialog__grid { grid-template-columns: 1fr; }
  .quick-dialog__image { min-height: 420px; }
  .journal-project { grid-template-columns: 1fr; }
  .journal-project__heading { position: static; }
}

@media (max-width: 600px) {
  .announcement { font-size: .55rem; letter-spacing: .08em; }
  .site-header__inner { min-height: 75px; }
  .brand img { width: 48px; height: 48px; }
  .brand small { display: none; }
  .section-shell { width: min(100% - 2rem, 1280px); }
  .hero, .piece-hero { display: flex; min-height: auto; flex-direction: column; align-items: stretch; padding-block: 5.8rem; }
  .hero h1, .page-hero h1, .piece-hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .page-hero { padding-block: 6.5rem; }
  .section { padding-block: 4.8rem; }
  .hero-collage { min-height: auto; display: flex; flex-direction: column; margin-inline: 0; }
  .hero__media { width: 100%; margin-left: 0; }
  .hero-note { position: relative; left: auto; bottom: auto; align-self: flex-start; width: min(90%, 300px); margin-top: 1rem; transform: rotate(-1.5deg); }
  .hero-rose { right: 2%; width: 80px; }
  .hero-quilt-block { right: 1%; width: 65px; }
  .section-heading, .filter-bar { align-items: stretch; flex-direction: column; }
  .section-heading { gap: 1rem; }
  .filter-bar { position: relative; top: auto; border-radius: var(--radius); }
  .filter-bar label { align-items: stretch; flex-direction: column; }
  .filter-bar input { width: 100%; }
  .work-card, .work-card:nth-child(n), .archive-mosaic .work-card:nth-child(n), .work-grid--three .work-card, .work-grid--three .work-card:nth-child(n), .work-grid--text .work-card:nth-child(n) { grid-column: 1 / -1; }
  .people-grid, .journal-note-grid { grid-template-columns: 1fr; }
  .person-card:nth-child(3), .journal-note:nth-child(3) { grid-column: auto; }
  .journal-note:nth-child(n) { transform: none; }
  .form-row { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .verified-photo figcaption { flex-direction: column; gap: .2rem; }
  .quick-dialog__image { min-height: 330px; }
  .quick-dialog__copy { padding: 4rem 1.5rem 2rem; }
  .lightbox { padding: 1rem; }
  .editorial-photo-grid, .about-photo-grid, .archive-photo-grid, .journal-photo-grid { grid-template-columns: 1fr; }
  .editorial-photo, .editorial-photo:nth-child(n), .about-photo-grid .editorial-photo:nth-child(n), .archive-photo, .archive-photo--lead { grid-column: 1; grid-row: auto; }
  .archive-group__heading { align-items: flex-start; flex-direction: column; }
  .motion-toggle { left: 12px; bottom: 12px; width: 46px; height: 46px; justify-content: center; padding: .6rem; }
  .motion-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fabric-motif--far, .fabric-motif:nth-child(n+11) { display: none; }
  .loose-fragment { right: -10%; top: 10%; opacity: .55; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .thread-field, .fabric-motif--drift, .page-curtain { display: none !important; }
  .fabric-motif--hover { opacity: .04; }
  .textile-light { opacity: .045; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- content-completion additions (catalog, journal, about) ---- */
.price-line { display: flex; align-items: center; gap: .6rem; margin: .35rem 0 .8rem; }
.price { font-family: var(--serif); font-size: 1.18rem; font-weight: 700; color: var(--forest); }
.availability-state--active { border-color: rgba(63,95,72,.4); background: rgba(111,133,104,.16); }
.availability-state--low { border-color: rgba(184,139,65,.5); background: rgba(184,139,65,.14); color: var(--gold); }
.button-row--center { justify-content: center; margin-top: 1.6rem; }

.filter-bar--catalog { border-radius: var(--radius); flex-wrap: wrap; align-items: center; }
.filter-bar--catalog [role="group"] { display: flex; flex-wrap: wrap; gap: .4rem; }
.catalog-count { margin: 0 0 1.2rem; color: var(--ink-soft); font-size: .85rem; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 1.4rem; }
.catalog-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-light); box-shadow: var(--shadow-soft); overflow: hidden; }
.catalog-card__media { position: relative; display: block; flex: 0 0 auto; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-deep); }
.catalog-card__media picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.catalog-card__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.catalog-card__media .catalog-card__image--contain { object-fit: contain; }
.catalog-card__body { display: flex; flex: 1; flex-direction: column; gap: .15rem; padding: 1rem 1.1rem 1.2rem; }
.catalog-card__title { margin: .15rem 0 .3rem; font-size: 1.06rem; line-height: 1.35; }
.catalog-card__title a { display: block; overflow-wrap: anywhere; text-decoration: none; }
.catalog-card__title a:hover, .catalog-card__title a:focus-visible { color: var(--rose-dark); }
.catalog-card .price-line { margin: auto 0 0; padding-top: .8rem; }
.catalog-card .price { font-size: 1.15rem; }

.journal-collection { display: grid; gap: 2rem; }
.journal-entry { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-light); box-shadow: var(--shadow-soft); padding: 2rem clamp(1.3rem, 3vw, 2.4rem); scroll-margin-top: 5.5rem; }
.journal-entry__header h2 { margin: .25rem 0 .9rem; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.journal-entry__summary { font-size: 1.05rem; line-height: 1.7; }
.journal-entry__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .85rem 1.4rem; margin: 1.2rem 0; border-block: 1px solid var(--line); padding: 1.1rem 0; }
.journal-entry__facts dt { color: var(--ink-soft); font-size: .62rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.journal-entry__facts dd { margin: .2rem 0 0; font-size: .92rem; }
.journal-entry__lesson { border-left: 3px solid var(--rose); background: rgba(201,51,89,.06); border-radius: 0 .7rem .7rem 0; padding: .8rem 1rem; font-size: .95rem; }
.journal-entry__quote { margin: 1.2rem 0 0; padding: 0; }
.journal-entry__quote p { margin: 0; font-family: var(--serif); font-size: 1.18rem; line-height: 1.6; color: var(--forest); }
.journal-entry__quote cite { display: block; margin-top: .35rem; color: var(--ink-soft); font-size: .8rem; font-style: normal; }
.journal-entry__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.3rem; }
.journal-entry__nav { margin-left: auto; display: flex; gap: .6rem; color: var(--ink-soft); font-size: .82rem; }
.journal-entry__nav a { color: inherit; text-decoration: none; }
.journal-entry__nav a:hover, .journal-entry__nav a:focus-visible { color: var(--rose-dark); text-decoration: underline; }
.journal-index .filter-bar { flex-wrap: wrap; border-radius: var(--radius); }
.journal-index .filter-bar [role="group"] { display: flex; flex-wrap: wrap; gap: .4rem; }

.journal-teaser-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.4rem; }
.journal-teaser { display: block; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-light); box-shadow: var(--shadow-soft); padding: 1.4rem 1.5rem; text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.journal-teaser:hover, .journal-teaser:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); }
.journal-teaser h3 { margin: .4rem 0 .5rem; font-size: 1.3rem; }
.journal-teaser p:not(.eyebrow) { margin: 0; color: var(--ink-soft); font-size: .9rem; }

.archive-group__links { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; margin-top: 1.1rem; border-top: 1px solid var(--line); padding-top: 1rem; }

.about-intro { max-width: 46rem; }
.about-intro h2 { margin: .3rem 0 1rem; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.about-bio__para { margin: 0 0 1.1rem; font-size: 1.08rem; line-height: 1.75; }
.about-journal-note { max-width: 46rem; margin-bottom: 1.4rem; }
.about-quote { margin: 1rem 0 0; border-left: 4px solid var(--rose); background: var(--paper-light); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow-soft); padding: 1.5rem 1.8rem; }
.about-quote p { margin: 0 0 .9rem; font-family: var(--serif); font-size: 1.12rem; line-height: 1.75; }
.about-quote cite { color: var(--ink-soft); font-size: .82rem; font-style: normal; }

@media (max-width: 700px) {
  .filter-bar--catalog, .journal-index .filter-bar { position: static; }
  .journal-entry__nav { margin-left: 0; }
}
