/* Charkh-e Gardoon website mock-up — tokens and layout (research report 09 §17; WCAG AA checked) */
@font-face {
  font-family: "Vazirmatn";
  src: url(fonts/Vazirmatn-wght.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
/* metric-adjusted fallback so the swap to Vazirmatn moves the layout as little as possible */
@font-face {
  font-family: "Vazirmatn Fallback";
  src: local("Tahoma"), local("Segoe UI"), local("Arial");
  size-adjust: 104%; ascent-override: 105%; descent-override: 45%; line-gap-override: 0%;
}
:root {
  --linen: #FBF6EE; --sand: #F1E6D3; --ink: #2B2118; --muted: #6B5B4B;
  --indigo: #1F4E5F; --indigo-dark: #163a47; --madder: #9F2F2A; --sage-dark: #3F5B3C;
  --terracotta: #B5532F; --ochre: #C98A1B; --line: #e2d5bd; --white: #fff;
  --radius: 12px; --shadow: 0 2px 8px rgba(43,33,24,.08), 0 8px 24px rgba(43,33,24,.06);
  --fs-0: clamp(16px, 1.6vw, 18px); --fs-1: clamp(18px, 2vw, 22px); --fs-2: clamp(22px, 2.6vw, 28px);
  --fs-3: clamp(26px, 3.4vw, 35px); --fs-4: clamp(30px, 4.4vw, 44px); --fs-5: clamp(34px, 5.5vw, 55px);
  --measure: 65ch; --gutter: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--linen); color: var(--ink);
  font-family: "Vazirmatn", "Vazirmatn Fallback", system-ui, Tahoma, sans-serif; font-size: var(--fs-0); line-height: 1.8;
  text-rendering: optimizeLegibility;
}
html[lang="ja"] body, html[lang="ko"] body { font-family: system-ui, "Yu Gothic", "Malgun Gothic", sans-serif; }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .5em; color: var(--indigo); font-weight: 800; text-wrap: balance; }
h1 { font-size: var(--fs-4); } h2 { font-size: var(--fs-3); } h3, .h3 { font-size: var(--fs-2); } h4 { font-size: var(--fs-1); }
h2.h3 { font-size: var(--fs-2); }
p { margin: 0 0 1em; max-width: var(--measure); }
a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--madder); }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
.skip { position: absolute; inset-inline-start: 8px; top: 8px; transform: translateY(-200%); background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { transform: none; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.stitch { height: 0; border: 0; border-top: 2px dashed var(--ochre); margin: 0; opacity: .8; }

/* header */
.top { background: var(--linen); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--indigo); text-decoration: none; font-size: var(--fs-1); }
.brand svg { width: 36px; height: 36px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; margin-inline-start: auto; }
.nav a { padding: 8px 11px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px; white-space: nowrap; }
@media (max-width: 1240px) { .lang .soon { display: none; } }
@media (min-width: 761px) and (max-width: 1100px) { .nav a { padding: 8px 8px; font-size: 15px; } .brand span { display: none; } }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sand); color: var(--indigo-dark); }
.lang { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--white); }
.lang a, .lang span { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; display: inline-block; line-height: 1.4; }
.lang [aria-current] { background: var(--indigo); color: #fff; }
.lang .soon { color: var(--muted); font-weight: 400; }
.menu-btn { display: none; }
@media (max-width: 760px) {
  .brand { flex: 1; min-width: 0; } .brand span { font-size: 17px; }
  .menu-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 600; color: var(--indigo); min-height: 44px; }
  .lang { order: 3; margin-inline-start: 0; }
  .nav { order: 4; }
  .nav { display: none; width: 100%; flex-direction: column; gap: 0; }
  .nav.open, html:not(.js) .nav { display: flex; }
  html:not(.js) .menu-btn { display: none; }
  .nav a { padding: 12px; border-top: 1px solid var(--line); border-radius: 0; }
}

/* hero */
.hero { padding-block: clamp(32px, 6vw, 72px); background: radial-gradient(60% 80% at 80% 20%, rgba(201,138,27,.14), transparent 60%), radial-gradient(50% 60% at 10% 90%, rgba(31,78,95,.10), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: var(--fs-5); margin-bottom: .4em; }
.hero .lead { font-size: var(--fs-1); color: var(--muted); }
.hero figure { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: var(--sand); }
.hero figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero figure { order: -1; aspect-ratio: 16/10; } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; min-height: 48px; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--indigo); color: #fff; } .btn-primary:hover { background: var(--indigo-dark); color: #fff; }
.btn-donate { background: var(--madder); color: #fff; } .btn-donate:hover { background: #7f241f; color: #fff; }
.btn-ghost { background: transparent; color: var(--indigo); border-color: var(--indigo); } .btn-ghost:hover { background: var(--sand); }
.btn svg { width: 20px; height: 20px; }

/* sections */
.section { padding-block: clamp(36px, 6vw, 72px); }
.section.sand { background: var(--sand); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head p { color: var(--muted); margin: 0; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card figure { margin: 0; aspect-ratio: 4/3; background: var(--sand); overflow: hidden; }
.card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover figure img { transform: scale(1.03); }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: var(--fs-1); margin: 0; }
.card h3 a { text-decoration: none; }
.card .meta { color: var(--muted); font-size: 14px; }
.card .price { margin-top: auto; font-weight: 800; color: var(--madder); font-size: var(--fs-1); }
.card .price small { color: var(--muted); font-weight: 400; font-size: 14px; }
.tag { display: inline-block; background: var(--sand); color: var(--sage-dark); border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 600; }
a.tag { padding: 6px 12px; margin: 2px 0; text-decoration: none; }
a.tag:hover { background: var(--indigo); color: #fff; }

/* impact numbers */
.impact { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.impact div { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border-top: 4px solid var(--ochre); }
.impact b { display: block; font-size: var(--fs-4); color: var(--indigo); line-height: 1.2; }
.impact span { color: var(--muted); }
.impact small { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }

/* support block */
.support { display: grid; gap: 20px; grid-template-columns: 1.2fr .8fr; }
@media (max-width: 860px) { .support { grid-template-columns: 1fr; } }
.bank { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; border-inline-start: 6px solid var(--madder); }
.support > * { min-width: 0; }
.bank dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 16px; margin: 12px 0; align-items: center; }
.bank dt { color: var(--muted); font-weight: 600; } .bank dd { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.copyable { font-family: ui-monospace, Consolas, monospace; font-size: 1.05em; letter-spacing: .04em; background: var(--linen); padding: 6px 10px; border-radius: 8px; direction: ltr; unicode-bidi: isolate; user-select: all; overflow-wrap: anywhere; max-width: 100%; }
@media (max-width: 640px) { .bank dl { grid-template-columns: 1fr; gap: 4px; } .bank dt { margin-top: 8px; } .copyable { font-size: .95em; letter-spacing: .02em; } }
.copy { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 14px; cursor: pointer; color: var(--indigo); min-height: 44px; min-width: 44px; }
.copy:hover { background: var(--sand); } .copy.done { background: var(--sage-dark); color: #fff; border-color: var(--sage-dark); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--indigo); color: #fff; font-weight: 800; }

/* product page */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.product > * { min-width: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--sand); }
.gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
table { border-collapse: collapse; width: 100%; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
th, td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: start; }
th { background: var(--sand); color: var(--indigo); font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }
td.price { color: var(--madder); font-weight: 700; white-space: nowrap; }
.order-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-top: 20px; }
details { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 18px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--indigo); list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::after { content: "+"; font-size: 1.4em; color: var(--ochre); }
details[open] summary::after { content: "−"; }
details > :not(summary) { padding-bottom: 14px; }

/* notes and labels */
.note { background: #fff8e8; border: 1px dashed var(--ochre); border-radius: var(--radius); padding: 12px 16px; color: var(--muted); font-size: 15px; }
.ask { border: 2px dashed var(--terracotta); border-radius: 8px; padding: 6px 10px; margin: 8px 0; font-size: 14px; color: #7F3A1C; background: rgba(181,83,47,.05); }
.ask::before { content: "؟ "; font-weight: 800; }
[dir="ltr"] .ask::before { content: "? "; }
.mt-label { background: var(--sand); border-inline-start: 4px solid var(--indigo); padding: 10px 14px; font-size: 15px; color: var(--muted); border-radius: 0 8px 8px 0; margin-bottom: 20px; }
.mt-label strong { color: var(--indigo); }

/* visit */
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand); }
.map img { width: 100%; }
.map-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.facts div { background: var(--white); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.facts b { color: var(--indigo); display: block; margin-bottom: 4px; }
.goods { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .goods { grid-template-columns: 1fr; } }
.goods ul { margin: 0; padding-inline-start: 1.2em; }

/* news */
.post-head { margin-bottom: 20px; } .post-head .meta { color: var(--muted); }
.post-body { max-width: var(--measure); } .post-body img { border-radius: var(--radius); margin-block: 16px; }
.share { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }

/* footer */
footer { background: var(--ink); color: #f3ebdd; padding-block: 40px 24px; margin-top: 40px; }
footer a { color: #f8e9c8; } footer a:hover { color: #fff; }
footer .cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
footer .h { color: #f8e9c8; font-size: var(--fs-0); font-weight: 800; margin: 0 0 .5em; } footer p, footer li { font-size: 15px; color: #d8ccb8; }
footer ul { list-style: none; padding: 0; margin: 0; } footer li { margin-bottom: 4px; } footer li a { display: inline-block; padding: 5px 0; }
footer .legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 24px; padding-top: 16px; font-size: 13px; color: #b9ac98; display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.motion-switch { background: transparent; border: 1px solid rgba(255,255,255,.3); color: #f3ebdd; border-radius: 999px; padding: 4px 12px; font: inherit; font-size: 13px; cursor: pointer; }

/* admin inbox (mock) */
.admin { background: var(--sand); min-height: 100vh; }
.admin main .wrap { max-width: 720px; }
.inbox-item { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 14px; display: grid; gap: 12px; }
.inbox-item .src { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.inbox-item .thumbs { display: flex; gap: 8px; } .inbox-item .thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.inbox-item textarea { width: 100%; min-height: 110px; font: inherit; border: 1px solid var(--line); border-radius: 8px; padding: 10px; resize: vertical; }
.inbox-item .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.inbox-item.published { opacity: .55; }
.badge { background: var(--sage-dark); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 13px; }
.admin-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.admin-tabs a, .admin-tabs span { padding: 10px 16px; border-radius: 999px; background: var(--white); text-decoration: none; font-weight: 700; }
.admin-tabs span { color: var(--muted); }
.admin-tabs a[aria-current] { background: var(--indigo); color: #fff; }

/* motion (three tiers, report 09 §16): tier 2 gentle reveals run even under reduce-motion */
.js .reveal { opacity: 0; transition: opacity .3s ease; }
.js .reveal.in { opacity: 1; }
.js[data-motion="full"] .reveal { transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.js[data-motion="full"] .reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) { html:not([data-motion="full"]) .card:hover figure img { transform: none; } }
@media print { .top, footer, .actions, .share, .copy { display: none; } body { background: #fff; } }

/* ===== v2 visual layer: warmth, texture, story (owner feedback 2026-10-06). Appended after style.css by build.py ===== */
.photo { position: relative; overflow: hidden; background: var(--sand); }
.photo img { filter: saturate(1.08) contrast(1.04) sepia(.12); transition: transform .6s ease; }
.photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply;
  background: linear-gradient(160deg, rgba(201,138,27,.18), rgba(31,78,95,.16)); }
.grain::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.blob { border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%; }
.blob-2 { border-radius: 42% 58% 45% 55% / 55% 45% 58% 42%; }
.blob-3 { border-radius: 50% 50% 42% 58% / 58% 42% 58% 42%; }
.weave { background-color: var(--sand);
  background-image: repeating-linear-gradient(0deg, rgba(43,33,24,.035) 0 2px, transparent 2px 9px), repeating-linear-gradient(90deg, rgba(43,33,24,.035) 0 2px, transparent 2px 9px); }
.gingham { background-color: var(--linen);
  background-image: repeating-linear-gradient(0deg, rgba(31,78,95,.05) 0 14px, transparent 14px 28px), repeating-linear-gradient(90deg, rgba(31,78,95,.05) 0 14px, transparent 14px 28px); }

/* hero v2: full-bleed photo, duotone overlay, headline, animated thread */
.hero2 { position: relative; min-height: min(88vh, 760px); display: grid; align-items: end; color: #fff; isolation: isolate; overflow: hidden; background: var(--indigo-dark); }
.hero2 .bg { position: absolute; inset: 0; z-index: -2; }
.hero2 .bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.05); transform: scale(1.04); }
html[data-motion="full"] .js .hero2 .bg img, html[data-motion="full"].js .hero2 .bg img { animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1.5%); } }
.hero2 .tint { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(31,78,95,.35) 0%, rgba(43,33,24,.25) 35%, rgba(43,33,24,.84) 100%), linear-gradient(90deg, rgba(159,47,42,.28), transparent 60%); }
.hero2 .wrap { padding-block: clamp(48px, 10vh, 120px) clamp(56px, 9vh, 110px); position: relative; }
.hero2 .kicker { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 600; }
.hero2 .kicker svg { width: 18px; height: 18px; }
.hero2 h1 { color: #fff; font-size: clamp(34px, 6vw, 68px); max-width: 15ch; margin: 18px 0 10px; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero2 .lead { color: #f3ebdd; font-size: clamp(18px, 2.2vw, 24px); max-width: 40ch; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero2 .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); } .hero2 .btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.hero2 .thread { position: absolute; inset-inline: 0; bottom: -2px; width: 100%; height: 130px; z-index: 0; pointer-events: none; }
.hero2 .thread path { fill: none; stroke: var(--ochre); stroke-width: 3; stroke-linecap: round; opacity: .95; }
.js .hero2 .thread path { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 2.6s ease-out .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero2 .needle { position: absolute; bottom: 86px; inset-inline-end: 7%; width: 44px; height: 44px; color: #f8e9c8; opacity: .9; transform: rotate(-30deg); }
[dir="ltr"] .hero2 .needle { transform: rotate(30deg) scaleX(-1); }
.hero2 .ask { color: #fff; border-color: rgba(255,255,255,.6); background: rgba(0,0,0,.25); display: inline-block; }
.hero2 .actions .btn-donate { box-shadow: 0 8px 24px rgba(159,47,42,.4); }

/* story: from fabric to wage */
.story { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 28px; position: relative; }
.story .step { text-align: center; position: relative; }
.story .step .photo { width: min(100%, 250px); aspect-ratio: 1; margin: 0 auto 18px; box-shadow: var(--shadow); }
.story .step .photo img { width: 100%; height: 100%; object-fit: cover; }
.story .step .n { position: absolute; top: 6px; inset-inline-start: calc(50% - 125px); width: 46px; height: 46px; border-radius: 50%; background: var(--madder); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; z-index: 2; box-shadow: var(--shadow); border: 3px solid var(--linen); }
.story .step h3 { font-size: var(--fs-1); margin-bottom: 4px; }
.story .step p { color: var(--muted); margin: 0 auto; max-width: 30ch; }
.story-line { position: absolute; top: 125px; inset-inline: 12%; border-top: 3px dashed var(--ochre); opacity: .5; z-index: 0; display: none; }
@media (min-width: 980px) { .story-line { display: block; } }

/* mission quote band */
.quote { position: relative; padding-block: clamp(48px, 8vw, 96px); background: var(--indigo); color: #fff; overflow: hidden; }
.quote::before { content: "\201D"; position: absolute; inset-inline-start: 4%; top: -60px; font-size: 360px; line-height: 1; color: rgba(255,255,255,.08); font-family: Georgia, serif; }
.quote blockquote { margin: 0; font-size: clamp(22px, 3.2vw, 36px); line-height: 1.7; font-weight: 700; max-width: 28ch; text-wrap: balance; }
.quote cite { display: block; margin-top: 18px; font-style: normal; color: #cfe3ea; font-size: 16px; }
.quote .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.quote .photo { aspect-ratio: 4/5; max-width: 340px; width: 100%; justify-self: center; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.quote .photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .quote .wrap { grid-template-columns: 1fr; } .quote .photo { max-width: 240px; } }

/* lookbook grid */
.lookbook { display: grid; gap: 18px; grid-template-columns: repeat(12, 1fr); }
.lookbook .card { grid-column: span 4; }
.lookbook .card:nth-child(1) { grid-column: span 8; } .lookbook .card:nth-child(1) figure { aspect-ratio: 16/9; }
.lookbook .card:nth-child(2) figure { aspect-ratio: 4/5; }
@media (max-width: 900px) { .lookbook .card, .lookbook .card:nth-child(1) { grid-column: span 6; } .lookbook .card:nth-child(1) figure { aspect-ratio: 4/3; } }
@media (max-width: 600px) { .lookbook .card, .lookbook .card:nth-child(1) { grid-column: span 12; } }
.card.lift { transition: transform .35s ease, box-shadow .35s ease; }
html[data-motion="full"] .card.lift:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 16px 40px rgba(43,33,24,.16); }
.ribbon { position: absolute; top: 14px; inset-inline-start: -6px; background: var(--madder); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 0 999px 999px 0; box-shadow: var(--shadow); z-index: 2; }
[dir="ltr"] .ribbon { border-radius: 999px 0 0 999px; }
.card figure { position: relative; }

/* three ways band */
.ways { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.way { background: var(--white); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; border-top: 5px solid var(--indigo); }
.way:nth-child(2) { border-top-color: var(--madder); } .way:nth-child(3) { border-top-color: var(--sage-dark); }
.way .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--indigo); }
.way .ic svg { width: 28px; height: 28px; }
.way h3 { margin: 4px 0 0; font-size: var(--fs-1); } .way p { color: var(--muted); flex: 1; }

/* curved section divider */
.curve { display: block; width: 100%; height: 48px; margin-bottom: -1px; }

/* latest from the workshop */
.feed { display: grid; gap: 18px; grid-template-columns: 1.4fr 1fr; }
@media (max-width: 860px) { .feed { grid-template-columns: 1fr; } }
.feed .big figure { aspect-ratio: 16/10; }
.feed .list { display: grid; gap: 12px; align-content: start; }
.feed .list .card { flex-direction: row; align-items: stretch; }
.feed .list .card figure { width: 120px; flex: none; aspect-ratio: 1; }
.feed .list .card .body { padding: 12px 14px; }

/* impact v2 on weave */
.impact div { position: relative; overflow: hidden; }
.impact div::after { content: ""; position: absolute; inset-inline-end: -20px; bottom: -20px; width: 90px; height: 90px; border-radius: 50%; background: rgba(201,138,27,.12); }

/* decorative floating fabric blobs behind sections (tier 3: move only with full motion) */
.deco { position: absolute; width: 260px; height: 260px; opacity: .55; filter: blur(2px); z-index: 0; pointer-events: none; background: linear-gradient(135deg, rgba(201,138,27,.35), rgba(159,47,42,.25)); }
.section.rel { position: relative; overflow: hidden; } .section.rel > .wrap { position: relative; z-index: 1; }
html[data-motion="full"] .deco { animation: float 14s ease-in-out infinite alternate; }
@keyframes float { from { transform: translateY(0) rotate(0); } to { transform: translateY(-24px) rotate(8deg); } }

/* ===== v2.1 after the art-direction review (2026-10-06) ===== */
.hero2 .tint { background: linear-gradient(180deg, rgba(31,78,95,.30), rgba(43,33,24,.60) 45%, rgba(43,33,24,.92)); }
.hero2 .tint::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(20,14,8,.55), transparent 65%); }
[dir="ltr"] .hero2 .tint::after { background: linear-gradient(to right, rgba(20,14,8,.55), transparent 65%); }
.hero2 h1 { line-height: 1.25; }
.hero2 .kicker { background: rgba(43,33,24,.5); }
@media (max-width: 860px) { .hero2 .needle { display: none; } }
@media (max-width: 760px) { .brand .inst { display: none; } .brand span { white-space: nowrap; } }
.nav a.nav-donate { background: var(--madder); color: #fff; }
.nav a.nav-donate:hover { background: #7f241f; color: #fff; }
h1::before, .section-head h2::before { content: ""; display: block; width: 56px; border-top: 3px dashed var(--ochre); margin-bottom: 12px; }
.hero2 h1::before { border-color: rgba(248,233,200,.8); }
.work { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .work { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .work { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; gap: 12px; scrollbar-width: thin; } .work .way { flex: 0 0 78%; scroll-snap-align: center; } }
a.way { text-decoration: none; color: inherit; }
a.way:hover h3 { color: var(--madder); }
.way .btn { border: 0; padding: 0; min-height: 0; margin-top: auto; color: var(--madder); background: none; font-weight: 700; }
.way .btn::after { content: "←"; margin-inline-start: 6px; }
[dir="ltr"] .way .btn::after { content: "→"; }
.lookbook .price { display: none; }
.lookbook .wage { color: var(--sage-dark); font-weight: 600; font-size: 14px; margin-top: auto; }
.lookbook figure img { transform: scale(1.3); transform-origin: 50% 26%; }
html[data-motion="full"] .lookbook .card:hover figure img { transform: scale(1.36); }
@media (max-width: 600px) { .lookbook .card, .lookbook .card:nth-child(1) { grid-column: span 6; } .lookbook .card:nth-child(1) { grid-column: 1 / -1; } }
.quote.cta { background: var(--madder); text-align: center; }
.quote.cta::before { content: none; }
.quote.cta .wrap { display: block; }
.quote.cta h2 { color: #fff; font-size: var(--fs-4); } .quote.cta h2::before { content: none; }
.quote.cta p { color: #f8e9c8; margin-inline: auto; }
.quote.cta .actions { justify-content: center; }
.quote.cta .btn-primary { background: var(--linen); color: var(--madder); } .quote.cta .btn-primary:hover { background: #fff; color: var(--madder); }
.quote.cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); } .quote.cta .btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
footer { margin-top: 0; }
.pinked { position: relative; overflow: visible; }
.pinked::after { content: ""; position: absolute; inset-inline: 0; bottom: -10px; height: 10px; background: inherit; z-index: 2;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 20px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 20px 100%; }
.impact.strip div { background: none; box-shadow: none; border-top: 0; text-align: center; border-radius: 0; }
.impact.strip div + div { border-inline-start: 2px dashed var(--ochre); }
.impact.strip div::after { content: none; }
.impact.strip b { font-size: var(--fs-5); color: var(--madder); }
td.ltr, th.ltr { display: table-cell; }
@media (max-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .card .body { padding: 10px 12px; } .card h3 { font-size: 16px; } .grid-3 { grid-template-columns: 1fr; } }
.polaroid { background: #fff; padding: 8px 8px 22px; box-shadow: var(--shadow); position: relative; }
.polaroid:nth-child(odd) { transform: rotate(-1.2deg); } .polaroid:nth-child(even) { transform: rotate(1.3deg); }
.polaroid::before { content: ""; position: absolute; top: -10px; inset-inline-start: 38%; width: 70px; height: 20px; background: rgba(201,138,27,.4); transform: rotate(-4deg); z-index: 3; }
.photo[data-temp]::before { content: attr(data-temp); position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2; background: rgba(43,33,24,.85); color: #fff; font-size: 12px; padding: 2px 9px; border-radius: 99px; }
@media (max-width: 979px) { .story::before { content: ""; position: absolute; inset-block: 60px; inset-inline-start: 50%; border-inline-start: 3px dashed var(--ochre); opacity: .45; } .story .step { z-index: 1; } .story .step .photo { outline: 8px solid var(--linen); } }
.ic, .btn svg { transition: transform .25s, background .25s; }
html[data-motion="full"] a.way:hover .ic { background: var(--ochre); color: #fff; transform: rotate(-6deg); }
html[data-motion="full"] .btn-donate:hover svg { transform: scale(1.2); }
details.ask { display: inline-block; padding: 0; margin: 8px 0; background: rgba(181,83,47,.06); }
details.ask summary { padding: 4px 12px; font-weight: 800; color: #7F3A1C; list-style: none; min-height: 32px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
details.ask summary::after { content: none; }
details.ask[open] summary { border-bottom: 1px dashed var(--terracotta); }
details.ask p { margin: 0; padding: 8px 12px; color: #7F3A1C; }
.ask::before { content: none; }
.page-hero { padding-block: 44px 52px; border-bottom: 2px dashed var(--ochre); position: relative; overflow: hidden; }
.page-hero .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.page-hero .crumbs { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.page-hero h1 { margin-bottom: .3em; }
.page-hero .lead { font-size: var(--fs-1); color: var(--muted); margin: 0; }
.page-hero .photo { width: 220px; aspect-ratio: 1; }
.page-hero .photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .page-hero .wrap { grid-template-columns: 1fr; } .page-hero .photo { width: 140px; } }
.post-body h2 { font-size: var(--fs-2); margin-top: 1.2em; }
.post-body p:first-of-type { font-size: var(--fs-1); color: var(--indigo); }

/* ===== v2.2 after the owner's and the main session's own visual pass ===== */
@media (max-width: 1400px) { .lang .soon { display: none; } }
.top .wrap { flex-wrap: nowrap; }
.nav a { padding: 8px 10px; }
@media (max-width: 760px) {
  .top .wrap { flex-wrap: wrap; gap: 8px 10px; }
  .brand { flex: 1 1 auto; } .brand span { font-size: 16px; }
  .brand svg { width: 28px; height: 28px; }
  .menu-btn { order: 2; padding: 8px 10px; min-width: 44px; justify-content: center; }
  .menu-label { display: none; }
  .lang { order: 2; padding: 2px; }
  .lang [aria-current], .lang .soon { display: none; }
  .lang a { padding: 8px 12px; }
}
.hero2 .wrap { padding-bottom: clamp(120px, 16vh, 170px); }
.hero2 .ask { margin-top: 14px; }
details.ask { font-size: 13px; opacity: .9; }
details.ask summary { min-height: 28px; padding: 2px 10px; }
.lookbook figure img { transform: none; }
html[data-motion="full"] .lookbook .card:hover figure img { transform: scale(1.04); }
.story .step .photo img { object-position: 50% 45%; }

/* ===== v2.3 header fit, checked in the owner's Chrome at 1904 px ===== */
.brand { white-space: nowrap; flex-shrink: 0; }
.lang .soon { display: none; }
@media (min-width: 761px) { .nav { flex-wrap: nowrap; } .nav a { font-size: 15px; padding: 8px 9px; } }
@media (min-width: 761px) and (max-width: 1180px) { .brand .inst { display: none; } .nav a { padding: 8px 7px; font-size: 14px; } }

/* ===== v2.4 performance on phones: no infinite animations, no blur filters ===== */
html[data-motion="full"] .js .hero2 .bg img, html[data-motion="full"].js .hero2 .bg img { animation: none; }
html[data-motion="full"] .deco { animation: none; }
.deco { filter: none; opacity: .4; }
.hero2 .kicker { backdrop-filter: none; background: rgba(43,33,24,.6); }
.photo img { filter: none; }
.photo::after { background: linear-gradient(160deg, rgba(201,138,27,.22), rgba(31,78,95,.20)); }

/* ===== v2.5 smaller icons and badges, above all on phones (owner: "icons far too big") ===== */
.brand svg { width: 28px; height: 28px; }
.way .ic { width: 42px; height: 42px; border-radius: 12px; } .way .ic svg { width: 22px; height: 22px; }
.story .step .n { width: 36px; height: 36px; font-size: 17px; inset-inline-start: calc(50% - 120px); top: 4px; }
.hero2 .kicker svg { width: 16px; height: 16px; }
.btn svg { width: 18px; height: 18px; }
.impact.strip b { font-size: var(--fs-4); }
.quote::before { font-size: 260px; }
@media (max-width: 760px) {
  .brand svg { width: 24px; height: 24px; }
  .way .ic { width: 36px; height: 36px; border-radius: 10px; } .way .ic svg { width: 20px; height: 20px; }
  .way { padding: 18px; gap: 6px; } .way h3 { font-size: 17px; } .way p { font-size: 15px; }
  .story .step .photo { width: min(100%, 200px); } .story .step .n { width: 32px; height: 32px; font-size: 15px; inset-inline-start: calc(50% - 98px); }
  .impact.strip b { font-size: var(--fs-3); } .impact span { font-size: 14px; }
  .hero2 h1 { font-size: clamp(28px, 8vw, 34px); } .hero2 .lead { font-size: 16px; }
  .hero2 .kicker { font-size: 13px; padding: 5px 12px; }
  .quote blockquote { font-size: 20px; } .quote::before { font-size: 180px; top: -30px; }
  .section { padding-block: 32px; }
  .section-head h2::before, h1::before { width: 40px; }
  .btn { padding: 10px 16px; min-height: 44px; }
}

@media (max-width: 760px) { .impact.strip { grid-template-columns: 1fr 1fr; } .impact.strip div + div { border-inline-start: 0; } .impact.strip div:nth-child(even) { border-inline-start: 2px dashed var(--ochre); } }
