/* Cross Stitch International
   Concept: thread on evenweave linen. A faint weave on every page, running-stitch rules,
   cross-stitch marks on labels and lists, embroidery hoops and framed pieces on a gallery wall.
   One strong accent (plum, from the logo) with thread yellow reserved for dark grounds. */

@font-face { font-family: 'Cinzel'; src: url('../fonts/cinzel-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('../fonts/source-serif-4-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('../fonts/source-serif-4-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --linen: #f5f0e6;
  --linen-2: #ece3d2;
  --paper: #fffdf8;
  --ink: #251c26;
  --ink-2: #51475a;
  --rule: #d9ccb5;
  --plum: #5a1f8c;
  --plum-2: #44166b;
  --plum-deep: #24112f;
  --plum-soft: #f0e7f6;
  --thread: #f8c810;
  --ochre: #8a6a00;
  --wood: #c89d62;
  --wood-dark: #97703f;
  --cream: #f7f1e6;
  --cream-2: #d8cce2;
  --ok: #2f6b3a;
  --err: #a3261c;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --caps: 'Cinzel', 'Source Serif 4', Georgia, serif;
  --radius: 4px;
  --shadow-art: 0 2px 3px rgba(40, 25, 20, .18), 0 14px 26px -8px rgba(40, 25, 20, .38);
  --weave: linear-gradient(90deg, rgba(95, 72, 40, .04) 1px, transparent 1px), linear-gradient(rgba(95, 72, 40, .04) 1px, transparent 1px);
  --run-stitch: repeating-linear-gradient(90deg, var(--plum) 0 12px, transparent 12px 21px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; min-width: 320px;
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink);
  background-color: var(--linen); background-image: var(--weave); background-size: 6px 6px;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--plum); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--plum-2); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
strong { font-weight: 600; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--plum-deep); color: var(--cream); padding: 10px 16px; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--cream); }
.break { overflow-wrap: anywhere; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* ---------- labels, rules and stitch marks ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin: 0 0 .9rem;
  font-family: var(--caps); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--plum);
}
.eyebrow::before {
  content: ''; width: 12px; height: 12px; flex: none;
  background: linear-gradient(45deg, transparent 42%, currentColor 42% 58%, transparent 58%), linear-gradient(-45deg, transparent 42%, currentColor 42% 58%, transparent 58%);
}
.eyebrow-light { color: var(--thread); }
.hl { color: var(--plum); }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink); }
.section-title { max-width: 22ch; }
.section-sub { color: var(--ink-2); max-width: 62ch; margin-bottom: 0; }
.stitch-band { height: 24px; background: url('../img/brand/stitch-band.svg') repeat-x 0 0; }
.stitch-band-light { background-image: url('../img/brand/stitch-band-light.svg'); }
.text-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none; border-bottom: 2px dashed currentColor; padding-bottom: 2px; }
.text-link:hover { border-bottom-style: solid; }
.text-link .icon { transition: transform .2s; }
.text-link:hover .icon { transform: translateX(3px); }

.x-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.x-list li { position: relative; padding-left: 1.7em; margin-bottom: .5em; }
.x-list li::before {
  content: ''; position: absolute; left: .15em; top: .5em; width: .72em; height: .72em;
  background: linear-gradient(45deg, transparent 40%, var(--plum) 40% 60%, transparent 60%), linear-gradient(-45deg, transparent 40%, var(--plum) 40% 60%, transparent 60%);
}
.x-list-light li::before { background: linear-gradient(45deg, transparent 40%, var(--thread) 40% 60%, transparent 60%), linear-gradient(-45deg, transparent 40%, var(--thread) 40% 60%, transparent 60%); }
.x-list-cols { columns: 2 16rem; column-gap: 2rem; }
.x-list-cols li { break-inside: avoid; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--plum); display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.35em; border-radius: var(--radius); border: 2px solid var(--b);
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn .icon { transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--plum); color: var(--cream); outline: 1px dashed rgba(247, 241, 230, .55); outline-offset: -6px; }
.btn-primary:hover { background: var(--plum-2); border-color: var(--plum-2); color: #fff; }
.btn-primary:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--plum); }
.btn-ghost:hover { background: var(--plum-soft); color: var(--plum-2); }
.btn-light { --b: var(--cream); background: transparent; color: var(--cream); }
.btn-light:hover { background: var(--cream); color: var(--plum-deep); }
.btn-thread { --b: var(--thread); background: var(--thread); color: var(--plum-deep); outline: 1px dashed rgba(36, 17, 47, .45); outline-offset: -6px; }
.btn-thread:hover { background: #ffd83d; border-color: #ffd83d; color: var(--plum-deep); }
.btn-thread:focus-visible, .btn-light:focus-visible { outline: 3px solid var(--thread); outline-offset: 3px; }
.btn-sm { min-height: 40px; padding: .45em 1em; font-size: .95rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* ---------- top bar and header ---------- */
.topbar { background: var(--plum-deep); color: var(--cream-2); font-size: .88rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar-tag { font-family: var(--caps); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; color: var(--thread); }
.topbar-links { display: flex; gap: 22px; }
.topbar a { color: var(--cream); text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.topbar a:hover { color: var(--thread); }
.topbar a:focus-visible { outline-color: var(--thread); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); box-shadow: 0 1px 0 var(--rule); }
.site-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; background: var(--run-stitch); opacity: .55; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; }
.logo { display: block; flex: none; padding: 6px 0; }
.logo img { display: block; width: auto; height: 74px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 10px 12px; color: var(--ink); font-weight: 500; text-decoration: none; position: relative; }
.nav ul a:hover { color: var(--plum); }
.nav ul a[aria-current="page"] { color: var(--plum); font-weight: 600; }
.nav ul a[aria-current="page"]::after, .nav ul a:hover::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 10px);
}
.nav-cta[aria-current="page"] { background: var(--plum-2); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 2px solid var(--plum); border-radius: var(--radius); background: transparent; color: var(--plum); cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.site-header[data-open] .nav-toggle .icon-open { display: none; }
.site-header[data-open] .nav-toggle .icon-close { display: block; }

@media (max-width: 999px) {
  .topbar-tag { display: none; }
  .topbar-in { justify-content: center; }
  .header-in { flex-wrap: wrap; min-height: 72px; }
  .logo img { height: 58px; }
  .nav { width: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding-bottom: 16px; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { padding: 13px 4px; border-bottom: 1px dashed var(--rule); font-size: 1.05rem; }
  .nav ul a::after { display: none; }
  .nav ul a[aria-current="page"] { padding-left: 14px; box-shadow: inset 4px 0 0 var(--plum); }
  .js .nav { display: none; }
  .js .site-header[data-open] .nav { display: flex; }
  .js .nav-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .topbar-links a:last-child { display: none; }
}

/* ---------- hero and page heroes ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 7vw, 96px); }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(90, 31, 140, .06) 1px, transparent 1px), linear-gradient(rgba(90, 31, 140, .06) 1px, transparent 1px);
  background-size: 16px 16px; mask-image: linear-gradient(100deg, transparent 30%, #000 75%);
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 17ch; }
.hero .lead { max-width: 56ch; color: var(--ink-2); }
.hero-art { margin: 0; display: grid; justify-items: center; gap: 22px; }
.hero-art figcaption { font-size: .95rem; color: var(--ink-2); text-align: center; }
.hero-art figcaption a { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.hero-art figcaption span { display: block; }

/* The embroidery hoop: an outer and an inner wooden ring with the brass clamp at the top. */
.hoop {
  position: relative; width: min(440px, 88%); aspect-ratio: 1; border-radius: 50%;
  border: 14px solid var(--wood); background: var(--paper);
  box-shadow: 0 0 0 3px var(--wood-dark), inset 0 0 0 4px #e3c48f, inset 0 0 0 6px var(--wood-dark), 0 28px 50px -18px rgba(36, 17, 47, .45);
}
.hoop::before {
  content: ''; position: absolute; left: 50%; top: -34px; width: 30px; height: 24px; transform: translateX(-50%);
  border-radius: 5px 5px 2px 2px; background: linear-gradient(90deg, #8e6a2b, #d9b35f 45%, #8e6a2b); box-shadow: 0 2px 0 var(--wood-dark);
}
.hoop::after {
  content: ''; position: absolute; left: 50%; top: -46px; width: 12px; height: 16px; transform: translateX(-50%);
  border-radius: 3px; background: linear-gradient(90deg, #7c5a22, #c9a24d, #7c5a22);
}
.hoop picture, .hoop img { width: 100%; height: 100%; border-radius: 50%; }
.hoop img { object-fit: cover; display: block; }
.hoop-sm { width: min(260px, 70vw); border-width: 11px; }

.page-hero { position: relative; padding: clamp(40px, 5vw, 72px) 0; border-bottom: 1px solid var(--rule); background: linear-gradient(180deg, rgba(255, 253, 248, .7), rgba(255, 253, 248, 0)); }
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 24px; transform: translateY(100%); background: url('../img/brand/stitch-band.svg') repeat-x; opacity: .35; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 60ch; color: var(--ink-2); margin-bottom: 0; }
.page-hero-in { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.page-hero-hoop { justify-self: center; margin-top: 30px; }
.page-hero-photo { max-width: 420px; justify-self: end; }
.page-hero-photo img { max-height: 360px; object-fit: cover; }
.page-hero-slim { padding-bottom: clamp(32px, 4vw, 56px); }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section-tight { padding: clamp(36px, 4vw, 56px) 0; }
.section-alt { background-color: var(--linen-2); background-image: var(--weave); background-size: 6px 6px; }
.section-dark { background: var(--plum-deep); color: var(--cream-2); position: relative; }
.section-dark::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 24px; background: url('../img/brand/stitch-band-light.svg') repeat-x; opacity: .5; }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark p { color: var(--cream-2); }
.section-dark .section-sub { color: var(--cream-2); }
.section-dark a:not(.btn) { color: var(--thread); }
.section-dark :focus-visible { outline-color: var(--thread); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3vw, 44px); }
.section-head-center { justify-content: center; text-align: center; }
.section-head-center .section-title, .section-head-center .section-sub { margin-inline: auto; }
.section-cta { margin: 36px 0 0; }
.sub-title { font-size: 1.3rem; margin-top: 48px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-reverse > :first-child { order: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }

/* Photographs presented as mounted prints: paper mat, thin frame line, soft shadow. */
.framed-photo { margin: 0; background: var(--paper); padding: 12px; border: 1px solid var(--rule); box-shadow: var(--shadow-art); }
.framed-photo img { display: block; width: 100%; }
.framed-photo figcaption { font-size: .88rem; color: var(--ink-2); padding: 10px 2px 0; }
.framed-photo-dark { background: #34203f; border-color: #4a3356; }
.framed-photo-dark figcaption { color: var(--cream-2); }

/* ---------- impact figures ---------- */
.stats { background: var(--plum-deep); color: var(--cream); padding: 34px 0; position: relative; }
.stats::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 24px; background: url('../img/brand/stitch-band-light.svg') repeat-x; opacity: .35; }
.stats-list { list-style: none; margin: 0; padding: 0 0 18px; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-list li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 12px; }
.stats-list li + li { border-left: 2px dashed rgba(248, 200, 16, .35); }
.stats-list strong { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem); line-height: 1.1; color: var(--thread); }
.stats-list span { font-size: .95rem; color: var(--cream-2); margin-top: 4px; }

/* ---------- intro ---------- */
.intro-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.intro-copy .lead { color: var(--ink); }
.intro-photo { max-width: 420px; justify-self: center; transform: rotate(1.2deg); }
.pull {
  margin: 1.6em 0; padding: 18px 22px 18px 26px; background: var(--paper); border-left: 4px solid var(--plum);
  font-family: var(--serif); font-size: 1.28rem; line-height: 1.45; color: var(--plum-2);
  box-shadow: inset 0 0 0 1px var(--rule);
}

/* ---------- artwork cards ---------- */
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.art-card {
  position: relative; display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--rule); border-radius: var(--radius); transition: transform .25s, box-shadow .25s;
}
.art-card:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -18px rgba(36, 17, 47, .45); }
.art-card:hover .art-card-media::after { opacity: 1; }
.art-card:focus-within { box-shadow: 0 0 0 3px var(--plum); }
.art-card-media {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 26px 24px;
  background-color: #e6dccb; background-image: var(--weave); background-size: 6px 6px; border-radius: var(--radius) var(--radius) 0 0;
}
.art-card-media::after { content: ''; position: absolute; inset: 8px; border: 2px dashed rgba(90, 31, 140, .35); opacity: 0; transition: opacity .25s; pointer-events: none; }
.art-card-media picture { position: absolute; inset: 24px; display: flex; align-items: center; justify-content: center; }
.art-card-media img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: var(--shadow-art); }
.art-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.art-card-col { margin: 0 0 4px; font-family: var(--caps); font-weight: 700; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }
.art-card-title { font-size: 1.22rem; margin: 0 0 6px; }
.art-card-title a { color: var(--ink); text-decoration: none; }
.art-card-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.art-card-title a:hover { color: var(--plum); }
.art-card-title a:focus-visible { outline: none; }
.art-card-meta { margin: 0 0 14px; font-size: .93rem; color: var(--ink-2); }
.art-card-price { margin: -8px 0 14px; font-weight: 600; }
.art-card-actions { position: relative; z-index: 2; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ref { font-family: var(--caps); font-weight: 700; font-size: .72rem; letter-spacing: .12em; color: var(--ink-2); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 1; padding: 4px 10px; border-radius: 2px;
  background: var(--plum-deep); color: var(--cream); font-family: var(--caps); font-weight: 700; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
}
.is-sold .art-card-media img { filter: saturate(.75); }

/* ---------- process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.process::before { content: ''; position: absolute; left: 10%; right: 10%; top: 27px; height: 2px; background: var(--run-stitch); }
.process li { position: relative; text-align: center; padding: 0 6px; }
.process-n {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--paper); border: 2px dashed var(--plum); color: var(--plum); font-family: var(--serif); font-weight: 600; font-size: 1.35rem; position: relative;
}
.process h3 { font-size: 1.1rem; margin-bottom: .35em; }
.process p { font-size: .95rem; color: var(--ink-2); margin: 0; }
.section-alt .process-n { background: var(--linen-2); }

/* ---------- design families ---------- */
.family-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 14px; }
.family-chips a {
  display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; padding: 18px 12px 16px; text-align: center; text-decoration: none;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); color: var(--ink); transition: border-color .2s, transform .2s;
}
.family-chips a:hover { border-color: var(--plum); transform: translateY(-2px); }
.family-chips span { font-family: var(--serif); font-weight: 600; line-height: 1.25; }
.family-chips small { font-size: .85rem; color: var(--ink-2); }
.motif { display: block; }
.motif-sm { width: 76px; height: 64px; }
.motif-lg { width: 100%; max-width: 150px; height: auto; }

.family-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.family { display: flex; flex-direction: column; gap: 16px; padding: 22px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); scroll-margin-top: 110px; }
.family-body { display: flex; flex-direction: column; flex: 1; }
.family-body .text-link { margin-top: auto; align-self: flex-start; }
.family:target { box-shadow: 0 0 0 3px var(--plum); }
.family-motif { display: flex; align-items: center; justify-content: center; height: 120px; background: var(--linen); border-radius: var(--radius); }
.family-motif .motif { width: 110px; height: 96px; }
.family h3 { margin-bottom: .3em; }
.family p { font-size: .97rem; color: var(--ink-2); }
.family-ideal { margin-bottom: .6em; }
.family-ideal strong, .collection-suits strong { color: var(--ink); margin-right: .3em; }
.family-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.family-price { font-weight: 600; color: var(--plum) !important; }
.family-count { font-size: .88rem; padding: 2px 10px; border: 1px dashed var(--rule); border-radius: 20px; }

.photo-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: start; }
.photo-strip figure { margin: 0; background: var(--paper); padding: 8px; border: 1px solid var(--rule); box-shadow: var(--shadow-art); }
.photo-strip img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-strip figcaption { font-size: .85rem; padding-top: 8px; color: var(--ink-2); font-weight: 500; }
.strip-title { margin-bottom: 20px; font-size: .8rem; }
.steps-list { padding-left: 1.3em; }
.steps-list li { margin-bottom: .55em; padding-left: .3em; }
.steps-list li::marker { color: var(--plum); font-family: var(--serif); font-weight: 600; }

.solutions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.solutions li { display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px dashed rgba(248, 200, 16, .45); border-radius: var(--radius); color: var(--cream); font-family: var(--serif); font-weight: 600; font-size: 1.1rem; line-height: 1.3; }
.sol-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(248, 200, 16, .14); color: var(--thread); }
.sectors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px dashed rgba(216, 204, 226, .35); }
.sectors li { padding: 18px 16px 18px 0; display: flex; flex-direction: column; gap: 4px; }
.sectors strong { color: var(--cream); }
.sectors span { font-size: .93rem; }

/* ---------- about ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card { background: var(--paper); border: 1px solid var(--rule); padding: clamp(24px, 3vw, 40px); position: relative; }
.vm-card::before { content: ''; position: absolute; inset: 8px; border: 1px dashed var(--rule); pointer-events: none; }
.vm-text { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.5; margin: 0; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value { text-align: center; padding: 24px 16px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); }
.value-ic { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--plum-soft); color: var(--plum); }
.value-ic .icon { width: 26px; height: 26px; }
.value h3 { font-size: 1.15rem; margin-bottom: .3em; }
.value p { font-size: .94rem; color: var(--ink-2); margin: 0; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card { position: relative; background: var(--paper); border: 1px solid var(--rule); padding: 28px 26px 12px; border-top: 4px solid var(--plum); }
.work-n { position: absolute; top: 18px; right: 22px; font-family: var(--caps); font-weight: 700; color: var(--rule); font-size: 1.6rem; }
.work-ic { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 2px dashed var(--plum); color: var(--plum); margin-bottom: 14px; }
.work-card h3 { max-width: 18ch; }
.work-card > p { color: var(--ink-2); font-size: .97rem; }
.work-card .x-list { font-size: .96rem; }

/* ---------- artworks page ---------- */
.filter { margin-bottom: 36px; }
.filter ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.filter a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 30px;
  border: 1.5px solid var(--rule); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 500;
}
.filter a:hover { border-color: var(--plum); color: var(--plum); }
.filter a[aria-current="page"] { background: var(--plum); border-color: var(--plum); color: var(--cream); }
.count { font-size: .8rem; padding: 0 7px; border-radius: 10px; background: var(--linen-2); color: var(--ink-2); }
.filter a[aria-current="page"] .count { background: rgba(255, 255, 255, .2); color: var(--cream); }
.collection { margin-bottom: clamp(48px, 6vw, 80px); scroll-margin-top: 110px; }
.collection-head { display: grid; grid-template-columns: minmax(200px, .8fr) 1.2fr; gap: 8px 40px; align-items: start; margin-bottom: 28px; padding-bottom: 20px; position: relative; }
.collection-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--run-stitch); opacity: .5; }
.collection-title { grid-row: span 2; margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.collection-head p { margin: 0; color: var(--ink-2); }
.collection-suits { font-size: .95rem; }
.note-card { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 28px; align-items: center; padding: 28px; background: var(--paper); border: 1px solid var(--rule); border-left: 4px solid var(--plum); }
.note-card h2 { font-size: 1.35rem; margin-bottom: .25em; }
.note-card p { margin: 0; color: var(--ink-2); }
.note-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--plum-soft); color: var(--plum); }
.note-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- artwork detail ---------- */
.breadcrumb { padding-top: 22px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .92rem; color: var(--ink-2); }
.breadcrumb li + li::before { content: '×'; margin: 0 10px; color: var(--plum); font-weight: 600; }
.breadcrumb a { color: var(--ink-2); }
.artwork { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.artwork-media {
  position: sticky; top: 110px; margin: 0; display: grid; place-items: center; padding: clamp(24px, 4vw, 56px);
  background-color: #e6dccb; background-image: var(--weave); background-size: 6px 6px; border: 1px solid var(--rule);
}
.artwork-media img { box-shadow: var(--shadow-art); max-height: 72vh; width: auto; }
.artwork-info h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); }
.artwork-by { font-size: 1.1rem; color: var(--ink-2); }
.artwork-facts { margin: 24px 0; padding: 0; border-top: 1px dashed var(--rule); }
.artwork-facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--rule); }
.artwork-facts dt { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.artwork-facts dt .icon { color: var(--plum); }
.artwork-facts dd { margin: 0; color: var(--ink-2); }
.artwork-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.artwork-note { font-size: .95rem; color: var(--ink-2); }
.artwork-collection { margin-top: 28px; padding: 22px; background: var(--paper); border: 1px solid var(--rule); }
.artwork-collection h2 { font-size: 1.25rem; }
.artwork-collection p { color: var(--ink-2); font-size: .97rem; }
.artwork-collection p:last-child { margin: 0; }
.process-compact li { text-align: left; }
.process-compact .process-n { margin-left: 0; width: 46px; height: 46px; font-size: 1.1rem; }
.process-compact::before { display: none; }
.back-link { margin: 32px 0 0; }

/* ---------- impact ---------- */
.solution-list { margin: 0; display: grid; gap: 14px; }
.solution-list > div { padding: 16px 18px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); }
.solution-list dt { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 1.12rem; }
.solution-list dt .icon { color: var(--plum); }
.solution-list dd { margin: 4px 0 0 30px; color: var(--ink-2); }
.studio-crafts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; justify-items: center; padding: 28px; background: var(--cream); border-radius: var(--radius); box-shadow: inset 0 0 0 8px var(--cream), inset 0 0 0 9px var(--rule); }
.partner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); background: var(--paper); border: 1px solid var(--rule); position: relative; }
.partner::before { content: ''; position: absolute; inset: 8px; border: 2px dashed var(--plum); opacity: .3; pointer-events: none; }
.partner > div:first-child { max-width: 60ch; }
.partner p { margin: 0; color: var(--ink-2); }
.partner-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* ---------- contact ---------- */
.contact-in { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-form-wrap { background: var(--paper); border: 1px solid var(--rule); padding: clamp(22px, 3vw, 40px); }
.picked { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center; padding: 16px; margin-bottom: 26px; background: var(--plum-soft); border: 1px dashed var(--plum); border-radius: var(--radius); }
.picked-img { padding: 10px; background: #e6dccb; display: grid; place-items: center; }
.picked-img img { box-shadow: var(--shadow-art); }
.picked p { margin: 0; }
.picked-label { font-family: var(--caps); font-weight: 700; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }
.picked-title { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.picked-title a { color: var(--ink); }
.picked-meta { font-size: .9rem; color: var(--ink-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .96rem; }
.opt { font-weight: 400; color: var(--ink-2); font-size: .88rem; margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #9d8f7c; border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(90, 31, 140, .35); outline-offset: 1px; border-color: var(--plum); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field-error { margin: 0; color: var(--err); font-size: .9rem; font-weight: 500; }
.field-hint { margin: 0; font-size: .88rem; color: var(--ink-2); }
.form-note { margin: 16px 0 0; font-size: .9rem; color: var(--ink-2); }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; margin-bottom: 24px; border-radius: var(--radius); }
.alert .icon { margin-top: 2px; }
.alert-ok { background: #e7f2e6; color: #1f4b27; border: 1px solid #a9cfa9; }
.alert-err { background: #fbe9e7; color: #7c1c14; border: 1px solid #e8b3ad; display: block; }
.contact-card { background: var(--plum-deep); color: var(--cream-2); padding: 30px 28px; position: sticky; top: 110px; }
.contact-card h2 { color: var(--cream); font-size: 1.5rem; }
.contact-card ul { list-style: none; margin: 0 0 24px; padding: 0; }
.contact-card li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dashed rgba(216, 204, 226, .3); }
.contact-card a { color: var(--cream); text-decoration: none; }
.contact-card a:hover { color: var(--thread); text-decoration: underline; }
.contact-card :focus-visible { outline-color: var(--thread); }
.ci { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: rgba(248, 200, 16, .14); color: var(--thread); }
.contact-card-motif { display: flex; justify-content: center; margin-bottom: 12px; padding: 12px; background: var(--cream); border-radius: var(--radius); width: max-content; }
.contact-tag { font-family: var(--serif); font-size: 1.1rem; color: var(--cream); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--plum); color: var(--cream); padding: clamp(40px, 5vw, 64px) 0; position: relative; }
.cta-band::before { content: ''; position: absolute; inset: 10px; border: 2px dashed rgba(248, 200, 16, .45); pointer-events: none; }
.cta-in { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem); line-height: 1.3; margin: 0; max-width: 34ch; color: var(--cream); }
.hl-thread { color: var(--thread); }

/* ---------- prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }

/* ---------- footer ---------- */
.site-footer { background: var(--plum-deep); color: var(--cream-2); font-size: .96rem; }
.site-footer .stitch-band { opacity: .6; }
.footer-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding: 48px 20px 40px; }
.footer-brand img { width: 220px; height: auto; margin-bottom: 14px; }
.footer-tag { font-family: var(--caps); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--thread); }
.footer-note { max-width: 36ch; }
.site-footer h2 { font-family: var(--caps); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); margin: 6px 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--cream-2); text-decoration: none; }
.site-footer a:hover { color: var(--thread); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--thread); }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: flex-start; gap: 10px; }
.footer-contact .icon { color: var(--thread); margin-top: .15em; }
.footer-base { border-top: 1px dashed rgba(216, 204, 226, .25); }
.footer-base-in { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 18px; font-size: .88rem; }
.footer-motto { font-family: var(--serif); font-style: italic; color: var(--cream); }

/* ---------- offline and error ---------- */
.page-offline { display: grid; place-items: center; min-height: 100vh; padding: 20px; }
.offline { text-align: center; max-width: 440px; background: var(--paper); border: 1px solid var(--rule); padding: 40px 28px; }
.offline img { margin: 0 auto 20px; display: block; }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .values { grid-template-columns: repeat(3, 1fr); }
  .solutions { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(3, 1fr); }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
  .footer-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .hero-in, .intro-in, .split, .two-col, .page-hero-in, .artwork, .contact-in { grid-template-columns: 1fr; }
  .hero-art { margin-top: 44px; }
  .hero-art .hoop { width: min(340px, 82%); }
  .hero h1 { max-width: none; }
  .page-hero-photo { justify-self: stretch; max-width: 560px; }
  .page-hero-photo img { height: 300px; max-height: none; }
  .page-hero-hoop { display: none; }
  .split-reverse > :first-child { order: 0; }
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before { left: 27px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--plum) 0 12px, transparent 12px 21px); }
  .process li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; padding: 0 0 24px; }
  .process li .process-n { grid-row: span 2; margin: 0; }
  .process li h3 { align-self: end; margin-top: 14px; }
  .process-compact { grid-template-columns: 1fr 1fr; gap: 20px; }
  .process-compact li { display: block; padding: 0; }
  .process-compact li .process-n { margin: 0 0 12px; }
  .work-grid, .vm-grid { grid-template-columns: 1fr; }
  .artwork-media { position: static; }
  .contact-card { position: static; }
  .collection-head { grid-template-columns: 1fr; }
  .collection-title { grid-row: auto; }
  .note-card { grid-template-columns: 1fr; }
  .stats-list { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .stats-list li:nth-child(3) { border-left: 0; }
  .intro-photo { transform: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { padding-inline: 16px; }
  .values { grid-template-columns: 1fr 1fr; }
  .sectors, .solutions { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .artwork-facts > div { grid-template-columns: 1fr; gap: 2px; }
  .footer-in { grid-template-columns: 1fr; padding-inline: 16px; }
  .process-compact { grid-template-columns: 1fr; }
  .picked { grid-template-columns: 80px 1fr; }
  .hoop { border-width: 11px; }
  .cta-band::before { inset: 6px; }
  .hero-actions .btn, .artwork-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 380px) {
  .values { grid-template-columns: 1fr; }
  .stats-list { grid-template-columns: 1fr; }
  .stats-list li + li { border-left: 0; border-top: 2px dashed rgba(248, 200, 16, .35); padding-top: 14px; }
  .logo img { height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .art-card:hover, .family-chips a:hover { transform: none; }
}
@media print {
  .topbar, .site-header, .site-footer, .cta-band, .btn, .filter { display: none !important; }
  body { background: #fff; }
}
