/* İlmek Atelier: the garment's label set. Woven plum label, white satin care tape printed in one ink, a card hang tag. */
@font-face { font-family: 'Anybody'; font-style: normal; font-weight: 100 900; font-stretch: 50% 150%; font-display: swap;
  src: url(../fonts/Anybody-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Anybody'; font-style: normal; font-weight: 100 900; font-stretch: 50% 150%; font-display: swap;
  src: url(../fonts/Anybody-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(../fonts/Archivo-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(../fonts/Archivo-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --plum-0: #2e0b24;     /* deep woven ground */
  --plum: #5e1c48;       /* the woven label: chosen, active, the action */
  --plum-2: #74275b;
  --thread: #f6edf2;     /* thread white */
  --thread-2: #dcc3d3;
  --satin: #eceef1;      /* the printed care tape */
  --satin-hi: #f7f8fa;
  --satin-lo: #dfe3e8;
  --ink: #1b2030;        /* the one print ink */
  --ink-2: #474f62;
  --rule: #aab2be;
  --card: #d2b285;       /* hang tag card */
  --card-ink: #2a2116;
  --focus: var(--plum);
  --u: 8px;              /* thread-pitch module (Weave-grid raise) */
  --side: max(16px, env(safe-area-inset-left, 0px));
  --sider: max(16px, env(safe-area-inset-right, 0px));
  --woven: 'Anybody', 'Archivo', system-ui, sans-serif;
  --print: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
  scrollbar-color: var(--plum) var(--satin-lo);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
html:not(.anim) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:not(.anim) { scroll-behavior: auto; } }
body { margin: 0; background: var(--satin); color: var(--ink); font-family: var(--print); font-size: 1.0625rem; line-height: 1.55;
  font-variant-numeric: tabular-nums; caret-color: var(--plum); overflow-x: clip; }
::selection { background: var(--plum); color: var(--thread); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sr-only { 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 { position: fixed; left: 16px; top: -64px; z-index: 100; background: var(--thread); color: var(--plum); padding: 12px 16px; font-weight: 700; }
.skip:focus { top: 16px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- certainty is typographic (Provenance raise) ---------- */
.ex { display: inline-block; font-size: .7rem; font-stretch: 80%; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid currentColor; padding: 0 6px; line-height: 1.5; vertical-align: .12em; white-space: nowrap; }
.yt { display: inline-block; border: 1px dashed currentColor; padding: 0 6px; font-weight: 500; white-space: nowrap; line-height: 1.5; }
.note { font-size: .9rem; color: var(--ink-2); max-width: 70ch; }

/* ---------- woven tabs: the buttons are sewn-on labels ---------- */
.tab { --tb: var(--plum); --tf: var(--thread); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 0 24px; background: var(--tb); color: var(--tf); border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--woven); font-stretch: 125%; font-weight: 750; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase;
  outline: 1px dashed color-mix(in srgb, var(--tf) 70%, transparent); outline-offset: -6px; transition: background-color .3s var(--ease), transform .3s var(--ease); }
.tab:hover { --tb: var(--plum-2); }
.tab:active { transform: translateY(1px); }
.tab:focus-visible { outline: 1px dashed var(--tf); outline-offset: -6px; box-shadow: 0 0 0 3px var(--satin), 0 0 0 6px var(--focus); }
.tab--thread { --tb: var(--thread); --tf: var(--plum); }
.tab--thread:hover { --tb: #fff; }
.tab--line { --tb: transparent; --tf: var(--ink); outline-color: var(--rule); box-shadow: inset 0 0 0 1px var(--ink); min-height: 44px; padding: 0 16px; font-size: .74rem; }
.tab--line:hover { --tb: var(--plum); --tf: var(--thread); box-shadow: none; }

/* ---------- header: a woven band ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; background-color: var(--plum);
  background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.08) 0 1px, transparent 1px 3px);
  color: var(--thread); padding-top: env(safe-area-inset-top, 0px); box-shadow: 0 1px 0 rgba(0,0,0,.25), 0 8px 24px -16px rgba(0,0,0,.5); }
.top { --focus: var(--thread); }
.top__in { display: flex; align-items: center; gap: 24px; height: 64px; padding-inline: var(--side) var(--sider); max-width: 1480px; margin: 0 auto; }
.logo { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; padding: 6px 12px; outline: 1px dashed rgba(246,237,242,.55); outline-offset: -3px; }
.logo__w { font-family: var(--woven); font-stretch: 150%; font-weight: 850; font-size: 1.2rem; letter-spacing: .08em; }
.logo__k { font-family: var(--woven); font-stretch: 110%; font-weight: 500; font-size: .66rem; letter-spacing: .24em; color: var(--thread-2); }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 8px 10px; text-decoration: none; font-weight: 550; font-size: .92rem; color: var(--thread); border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--thread-2); }
.top__tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang { display: flex; }
.lang__b { padding: 6px 8px; text-decoration: none; font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--thread-2); }
.lang__b[aria-current="true"] { color: var(--thread); text-decoration: underline; text-underline-offset: .35em; }
.motion { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid rgba(246,237,242,.4); color: var(--thread); padding: 6px 10px; font-size: .78rem; font-weight: 600; cursor: pointer; min-height: 36px; }
.motion__dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--thread); }
.motion[aria-pressed="true"] .motion__dot { background: var(--thread); }
.top .tab { min-height: 40px; padding: 0 16px; font-size: .74rem; white-space: nowrap; }
.top .tab:focus-visible { box-shadow: 0 0 0 3px var(--plum), 0 0 0 6px var(--thread); }

/* ---------- the page is one long satin tape with woven selvedges ---------- */
main { position: relative; }
main::before { content: ''; position: absolute; inset: 0 clamp(4px, 1vw, 14px); border-inline: 3px double var(--rule); pointer-events: none; z-index: 1; opacity: .7; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--side) var(--sider); position: relative; }
.sec { padding-block: calc(var(--u) * 16); position: relative; }
.h2 { font-family: var(--print); font-stretch: 70%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.3rem, 5.2vw, 4.75rem);
  line-height: .96; letter-spacing: -.01em; margin-bottom: calc(var(--u) * 3); max-width: 18ch; }
.h3 { font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.05; margin: calc(var(--u) * 8) 0 calc(var(--u) * 2); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.5; max-width: 62ch; margin-bottom: calc(var(--u) * 2); }
.seam { height: 24px; position: relative; z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='6'%3E%3Crect x='2' y='1.5' width='10' height='3' rx='1.5' fill='%23474f62'/%3E%3C/svg%3E") repeat-x center / 18px 6px; }

/* ---------- hero ---------- */
.hero { --focus: var(--thread); position: relative; min-height: 100svh; background: var(--plum-0); color: var(--thread);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); padding-top: calc(64px + env(safe-area-inset-top, 0px));
  padding-inline: var(--side) var(--sider); overflow: hidden; z-index: 2; }
.hero__seam { position: absolute; left: 0; right: 0; top: calc(64px + 44px + env(safe-area-inset-top, 0px)); height: 8px; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='6'%3E%3Crect x='2' y='1.5' width='10' height='3' rx='1.5' fill='%23dcc3d3'/%3E%3C/svg%3E") repeat-x center / 18px 6px; }
.hero__label { position: relative; min-height: calc(100svh - 64px); }
.hero__label canvas, .weave__stage canvas, .fz__label canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.hero__hint { position: absolute; left: 0; bottom: calc(var(--u) * 4); font-size: .82rem; color: var(--thread-2); letter-spacing: .04em; opacity: 0; transition: opacity .6s var(--ease); }
.gl-on .hero__hint { opacity: 1; }
/* woven-label fallback (no WebGL, before it starts) */
.wfb { position: absolute; left: 8%; right: 10%; top: 120px; aspect-ratio: 2.1 / 1; max-height: 56%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4%;
  background-color: var(--plum); color: var(--thread);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 4px), repeating-linear-gradient(0deg, rgba(0,0,0,.14) 0 1px, transparent 1px 3px);
  box-shadow: 0 30px 50px -30px rgba(0,0,0,.7); outline: 2px solid var(--thread-2); outline-offset: -14px; transition: opacity .5s var(--ease); }
.wfb__w { font-family: var(--woven); font-stretch: 150%; font-weight: 850; font-size: clamp(2.6rem, 7.5vw, 7rem); letter-spacing: .08em; line-height: 1; }
.wfb__k { font-family: var(--woven); font-stretch: 130%; font-weight: 600; font-size: clamp(.8rem, 1.5vw, 1.25rem); letter-spacing: .4em; }
.gl-on > .wfb { opacity: 0; }
.hero__tape { position: relative; z-index: 2; align-self: start; margin-top: 52px; margin-bottom: calc(var(--u) * 6); background: var(--satin); color: var(--ink);
  padding: calc(var(--u) * 5) calc(var(--u) * 4) calc(var(--u) * 4); border-inline: 3px double var(--rule); --focus: var(--plum);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.hero__h1 { font-stretch: 66%; font-weight: 850; text-transform: uppercase; font-size: clamp(2.6rem, 4.9vw, 5rem); line-height: .93; letter-spacing: -.012em; margin-bottom: calc(var(--u) * 2.5); }
.hero__lead { font-size: 1.06rem; color: var(--ink-2); max-width: 46ch; margin-bottom: calc(var(--u) * 3); }
.pick { border: 0; margin: 0; }
.pick fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pick__row { display: flex; align-items: center; gap: 16px; padding: 10px 0; border-top: 1px solid var(--rule); min-width: 0; }
.pick__head { justify-content: space-between; border-top: 2px solid var(--ink); }
.pick__drop { font-stretch: 80%; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; }
.pick__k { flex: 0 0 64px; font-size: .74rem; font-weight: 700; font-stretch: 80%; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); padding: 0; float: left; }
fieldset.pick__row { display: flex; }
.pick__sel { flex: 1; min-width: 0; min-height: 44px; border: 1px solid var(--ink); background: var(--satin-hi); padding: 0 12px; font-weight: 600; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px 0 8px; border: 1px solid var(--rule); cursor: pointer; font-size: .86rem; font-weight: 600; }
.chip input, .sz input, .seg input, .fzp input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip__c { width: 20px; height: 20px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.chip:has(input:checked) { border-color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); }
.chip:has(input:focus-visible), .sz:has(input:focus-visible), .seg label:has(input:focus-visible), .fzp:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.sizes { display: flex; gap: 0; }
.sz { position: relative; }
.sz span { display: grid; place-items: center; width: 48px; height: 44px; border: 1px solid var(--rule); margin-left: -1px; font-weight: 750; font-stretch: 85%; cursor: pointer; }
.sz input:checked + span { background: var(--plum); color: var(--thread); border-color: var(--plum); position: relative; z-index: 1; outline: 1px dashed rgba(246,237,242,.7); outline-offset: -5px; }
.pick__act { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--rule); }
.pick__alt { font-size: .92rem; font-weight: 600; }
.htag { position: relative; margin-top: calc(var(--u) * 3); width: max-content; max-width: 100%; background: var(--card); color: var(--card-ink); padding: 28px 20px 16px 44px;
  transform: rotate(-2.5deg); transform-origin: 30px 10px; box-shadow: 0 14px 24px -14px rgba(0,0,0,.45); border-radius: 3px 3px 3px 3px; }
.htag::before { content: ''; position: absolute; left: 22px; top: -36px; width: 1.5px; height: 46px; background: var(--card-ink); transform: rotate(8deg); transform-origin: bottom; }
.htag__hole { position: absolute; left: 16px; top: 12px; width: 14px; height: 14px; border-radius: 50%; background: var(--satin); box-shadow: 0 0 0 3px #b8955f; }
.htag__l { font-size: .84rem; line-height: 1.6; font-weight: 550; }

/* ---------- drop ---------- */
.drop__pin { position: relative; margin-top: calc(var(--u) * 6); }
.drop__rail { display: none; }
.drop__track { list-style: none; margin: 0 auto; padding: 0 var(--sider) 0 var(--side); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: calc(var(--u) * 2); max-width: 1240px; }
.dstep { position: relative; background: var(--satin-hi); border-inline: 3px double var(--rule); padding: 32px 24px; display: flex; flex-direction: column; gap: 12px; }
.dstep__d { font-size: .82rem; font-weight: 700; color: var(--ink-2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dstep__h { font-stretch: 68%; font-weight: 850; text-transform: uppercase; font-size: clamp(2rem, 3vw, 3rem); line-height: 1; }
.dstep:nth-child(2) .dstep__h { color: var(--plum); }
.anim .drop__pin.is-h { height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; margin-top: 0; }
.anim .drop__pin.is-h .drop__rail { display: block; position: relative; height: 6px; margin: 0 var(--sider) 40px var(--side); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='6'%3E%3Crect x='2' y='1.5' width='10' height='3' rx='1.5' fill='%23aab2be'/%3E%3C/svg%3E") repeat-x left center / 18px 6px; }
.drop__thread { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='6'%3E%3Crect x='2' y='1.5' width='10' height='3' rx='1.5' fill='%235e1c48'/%3E%3C/svg%3E") repeat-x left center / 18px 6px; }
.anim .drop__pin.is-h .drop__track { display: flex; width: max-content; max-width: none; gap: calc(var(--u) * 4); padding-inline: max(var(--side), calc((100vw - 1240px) / 2 + 16px)) 20vw; }
.anim .drop__pin.is-h .dstep { width: min(38vw, 500px); padding: 40px 32px; transition: background-color .5s var(--ease), box-shadow .5s var(--ease); }
.anim .drop__pin.is-h .dstep.is-on { background: #fff; box-shadow: 0 24px 40px -28px rgba(27,32,48,.45); }
.anim .drop__pin.is-h .dstep__h { font-size: clamp(2.6rem, 4vw, 4rem); }
.anim .drop__pin.is-h .dstep p { font-size: 1.1rem; }

/* ---------- lookbook ---------- */
.look__grid { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); gap: calc(var(--u) * 4); max-width: 1400px; margin: calc(var(--u) * 8) auto 0; padding-inline: var(--side) var(--sider); }
.look__cap { position: relative; }
.look__cap .ctape { position: sticky; top: 40vh; display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 20px; }
.look__cap .ctape__code { font-size: 1rem; }
.look__cap .ctape__name { font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1; }
.look__frames { overflow-x: clip; display: flex; flex-direction: column; gap: calc(var(--u) * 12); padding-bottom: calc(var(--u) * 6); }
.lk { position: relative; margin: 0; }
.lk img { width: 100%; object-fit: cover; background: var(--satin-lo); }
.lk--tall { width: 74%; }
.lk--tall img { aspect-ratio: 4 / 5.4; }
.lk--right { width: 56%; margin-left: auto; }
.lk--right img { aspect-ratio: 2 / 3; }
.lk--wide { width: 100%; }
.lk--wide img { aspect-ratio: 16 / 9; }
.lk--wide2 { width: 84%; margin-left: 8%; }
.lk--wide2 img { aspect-ratio: 5 / 4; object-position: 50% 30%; }
.ctape { background: var(--satin-hi); color: var(--ink); border-inline: 3px double var(--rule); padding: 10px 14px; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.lk .ctape { position: absolute; left: 16px; bottom: -22px; max-width: calc(100% - 32px); box-shadow: 0 10px 20px -14px rgba(0,0,0,.4); }
.ctape__code { font-weight: 750; font-stretch: 80%; font-size: .8rem; letter-spacing: .08em; color: var(--ink-2); }
.ctape__name { font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: 1rem; }
.ctape__fib { font-size: .84rem; color: var(--ink-2); }
.ctape--s { margin-top: 12px; }

/* ---------- weave scene ---------- */
.weave { --focus: var(--thread); background: var(--plum-0); color: var(--thread); padding-block: 0; z-index: 2; }
.weave__pin { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); min-height: 100vh; }
.weave__stage { position: relative; min-height: 70vh; overflow: hidden; }
.wfb--macro { top: 22%; left: 10%; right: 6%; }
.weave__text { padding: calc(var(--u) * 14) var(--sider) calc(var(--u) * 12) calc(var(--u) * 2); position: relative; z-index: 2; }
.h2--thread { color: var(--thread); }
.weave__steps { list-style: none; margin: calc(var(--u) * 4) 0; padding: 0; display: grid; gap: calc(var(--u) * 3); counter-reset: w; }
.wstep { font-size: 1.12rem; line-height: 1.55; color: var(--thread-2); padding-left: 20px; border-left: 1px solid rgba(246,237,242,.25); transition: color .4s var(--ease), border-color .4s var(--ease); }
.wstep.is-on { color: var(--thread); border-left-color: var(--thread); }
.weave__ctl { display: flex; gap: 0; }
.wbtn { min-height: 44px; padding: 0 18px; background: transparent; color: var(--thread); border: 1px solid rgba(246,237,242,.5); margin-left: -1px; cursor: pointer; font-weight: 650; }
.wbtn[aria-pressed="true"] { background: var(--thread); color: var(--plum-0); }
.anim .weave__pin.is-pinned { height: 100vh; }
.anim .weave__pin.is-pinned .weave__text { display: flex; flex-direction: column; justify-content: center; padding-block: 88px 40px; }
.anim .weave__pin.is-pinned .weave__steps { position: relative; min-height: 13em; }
.anim .weave__pin.is-pinned .wstep { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.anim .weave__pin.is-pinned .wstep.is-on { opacity: 1; transform: none; }

/* ---------- linen ---------- */
.linen__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: calc(var(--u) * 6); align-items: end; }
.linen__photo { margin: 0; }
.linen__photo img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.folio { list-style: none; padding-top: calc(var(--u) * 8); padding-bottom: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(var(--u) * 3); }
.plate { background: var(--satin-hi); border-inline: 3px double var(--rule); padding: 24px; display: grid; grid-template-rows: 120px auto 1fr; gap: 12px; }
.plate h3 { font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: 1.4rem; line-height: 1.05; }
.plate p { font-size: .98rem; color: var(--ink-2); }
.pl { width: 120px; height: 120px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pl-base { stroke: var(--rule); }
.pl-over { fill: var(--satin-hi); stroke: none; }
.props { list-style: none; margin: calc(var(--u) * 10) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 calc(var(--u) * 6); }
.props li { padding: 24px 0; border-top: 2px solid var(--ink); }
.props h3, .tips h3 { font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.02; margin-bottom: 8px; }
.props p, .tips p { color: var(--ink-2); max-width: 46ch; }

/* ---------- cotton ---------- */
.cotton__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: calc(var(--u) * 8); align-items: start; }
.cotton__photo { margin: 0; }
.cotton__photo img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.facts { margin: calc(var(--u) * 4) 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 24px; padding: 16px 0; border-top: 1px solid var(--rule); }
.facts dt { font-weight: 750; font-stretch: 85%; }
.facts dd { margin: 0; color: var(--ink-2); }
.lattice { overflow-x: auto; border-inline: 3px double var(--rule); background: var(--satin-hi); }
.lattice:focus-visible { outline-offset: 2px; }
.lt { width: 100%; min-width: 560px; border-collapse: collapse; table-layout: fixed; }
.lt th, .lt td { border: 1px solid var(--rule); padding: 12px 14px; text-align: left; vertical-align: top; font-size: .98rem; }
.lt thead th { font-stretch: 78%; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; background: var(--satin-lo); }
.lt tbody th { font-weight: 700; font-stretch: 85%; width: 26%; }
.lt--num { min-width: 420px; }
.lt--num td, .lt--num th { text-align: center; font-variant-numeric: tabular-nums; }
.lt--num tr.is-on th, .lt--num tr.is-on td { background: var(--plum); color: var(--thread); border-color: var(--plum); }

/* ---------- pieces ---------- */
.plist { list-style: none; margin: calc(var(--u) * 6) 0 0; padding: 0; display: grid; gap: calc(var(--u) * 2); }
.prow { display: grid; grid-template-columns: 104px minmax(0, 1.1fr) minmax(0, 1.5fr) auto; grid-template-areas: 'img main spec act' 'img main care act'; gap: 16px 32px; align-items: start;
  background: var(--satin-hi); border-inline: 3px double var(--rule); padding: 20px 24px; }
.prow__img { grid-area: img; width: 104px; aspect-ratio: 2 / 3; object-fit: cover; }
.prow__main { grid-area: main; }
.prow__code { font-weight: 750; font-stretch: 80%; color: var(--ink-2); letter-spacing: .08em; font-size: .82rem; }
.prow__name { font-stretch: 72%; font-weight: 850; text-transform: uppercase; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1; margin: 4px 0 8px; }
.prow__desc { color: var(--ink-2); font-size: .98rem; }
.prow__spec { grid-area: spec; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 16px; font-size: .92rem; }
.prow__spec dt { font-size: .7rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.prow__spec dd { margin: 0; font-weight: 600; }
.sw { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.sw__i { display: inline-flex; align-items: center; gap: 6px; }
.sw__c { width: 12px; height: 12px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.3); }
.prow__care { grid-area: care; list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.cs { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.cs circle { fill: var(--ink); stroke: none; }
.cs text, .csb text { fill: var(--ink); stroke: none; font: 800 13px/1 var(--print); }
.prow .tab { grid-area: act; align-self: center; }

/* ---------- finder ---------- */
.finder { background: var(--satin-lo); }
.finder__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: calc(var(--u) * 6); align-items: start; margin-top: calc(var(--u) * 5); }
.fz { display: grid; gap: calc(var(--u) * 3); }
.fz__set { border: 0; margin: 0; padding: 0; min-width: 0; }
.fz__k { font-size: .76rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; padding: 0; }
.fz__pieces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fzp { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px; background: var(--satin-hi); border: 1px solid var(--rule); cursor: pointer; min-width: 0; }
.fzp img { width: 44px; aspect-ratio: 2 / 3; object-fit: cover; }
.fzp__t { display: flex; flex-direction: column; font-size: .84rem; font-weight: 650; line-height: 1.2; min-width: 0; overflow-wrap: anywhere; }
.fzp__c { font-size: .7rem; color: var(--ink-2); font-weight: 700; letter-spacing: .06em; }
.fzp:has(input:checked) { border-color: var(--plum); box-shadow: inset 0 0 0 2px var(--plum); }
.meas { display: grid; grid-template-columns: 5.5em minmax(0, 1fr) 5.5em; align-items: center; gap: 16px; padding: 10px 0; border-top: 1px solid var(--rule); }
.meas label { font-weight: 700; }
.meas.is-off label { color: var(--ink-2); font-weight: 600; }
.meas.is-off input[type="number"] { border-style: dashed; color: var(--ink-2); }
.meas input[type="number"] { width: 100%; min-height: 44px; border: 1px solid var(--ink); background: var(--satin-hi); padding: 0 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--ink); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; background: var(--plum); border: 3px solid var(--satin-hi); box-shadow: 0 0 0 1px var(--plum); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; background: var(--plum); border: 3px solid var(--satin-hi); border-radius: 0; box-shadow: 0 0 0 1px var(--plum); }
.seg { display: flex; flex-wrap: wrap; }
.seg label { position: relative; }
.seg span { display: grid; place-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); margin-left: -1px; font-weight: 650; cursor: pointer; background: var(--satin-hi); }
.seg input:checked + span { background: var(--plum); color: var(--thread); border-color: var(--plum); position: relative; z-index: 1; }
.howto { border-top: 1px solid var(--rule); padding-top: 12px; }
.howto summary { cursor: pointer; font-weight: 700; min-height: 32px; }
.howto ul { margin: 8px 0 0; padding-left: 20px; color: var(--ink-2); }
.fz__out { position: sticky; top: 96px; display: grid; gap: calc(var(--u) * 2); justify-items: start; }
.fz__label { position: relative; width: 100%; aspect-ratio: 16 / 10; background: var(--plum-0); overflow: hidden; }
.wfb--piece { top: 16%; left: 14%; right: 14%; }
.result { width: 100%; background: var(--satin-hi); border-inline: 3px double var(--rule); padding: 20px 24px; }
.result__size { display: flex; align-items: baseline; gap: 16px; font-weight: 700; text-transform: uppercase; font-stretch: 80%; letter-spacing: .06em; font-size: .9rem; }
.result__size strong { font-family: var(--woven); font-stretch: 150%; font-size: 3rem; line-height: 1; color: var(--plum); letter-spacing: .04em; }
.result__why { margin-top: 8px; }
.result__len { margin-top: 4px; color: var(--ink-2); font-size: .94rem; }

/* ---------- size table ---------- */
.table__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: calc(var(--u) * 8); align-items: center; }
.grade { margin: 0; }
.gradesvg { width: 100%; max-width: 360px; height: auto; display: block; margin: 0 auto 16px; overflow: visible; }
.g-line { fill: none; stroke: var(--rule); stroke-width: 1.4; transition: stroke .4s var(--ease), stroke-width .4s var(--ease); }
.g-line.is-on { stroke: var(--plum); stroke-width: 2.6; }
.g-lab { font: 700 9px var(--print); fill: var(--ink-2); }
.g-lab.is-on { fill: var(--plum); font-size: 11px; }
.g-fold { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 6 3; }
.g-foldt { font: 700 7px var(--print); letter-spacing: .2em; fill: var(--ink-2); }
.g-grain, .g-grainh { stroke: var(--ink-2); stroke-width: 1; fill: none; }

/* ---------- care ---------- */
.care__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: calc(var(--u) * 6); align-items: start; margin-top: calc(var(--u) * 5); }
.reader__tape { background: var(--satin-hi); border-inline: 3px double var(--rule); padding: 24px; }
.reader__k { font-weight: 700; font-stretch: 85%; margin-bottom: 16px; }
.reader__syms { display: flex; flex-wrap: wrap; gap: 8px; }
.sym { width: 72px; height: 72px; display: grid; place-items: center; background: transparent; border: 1px solid var(--rule); cursor: pointer; padding: 0; }
.sym .cs { width: 48px; height: 48px; stroke-width: 1.6; }
.sym:hover { border-color: var(--ink); }
.sym[aria-pressed="true"] { border-color: var(--plum); box-shadow: inset 0 0 0 2px var(--plum); }
.sym[aria-pressed="true"] .cs { stroke: var(--plum); }
.sym[aria-pressed="true"] .cs circle, .sym[aria-pressed="true"] .cs text { fill: var(--plum); }
.reader__out { margin-top: 16px; min-height: 4.8em; font-size: 1.05rem; }
.reader__out strong { display: block; font-stretch: 80%; text-transform: uppercase; letter-spacing: .02em; }
.reader__sel { display: grid; gap: 6px; margin-top: 16px; font-weight: 650; font-size: .9rem; }
.reader__sel select, .fld select, .fld input, .fld textarea { min-height: 44px; border: 1px solid var(--ink); background: var(--satin-hi); padding: 0 12px; font-weight: 550; width: 100%; }
.fams__tabs { display: flex; flex-wrap: wrap; border-bottom: 2px solid var(--ink); }
.fams__tabs button { background: none; border: 0; padding: 10px 14px; min-height: 44px; font-weight: 700; cursor: pointer; color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.fams__tabs button[aria-selected="true"] { color: var(--plum); border-bottom-color: var(--plum); }
.symlist { list-style: none; margin: 0; padding: 0; }
.symlist li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.symlist .cs { width: 40px; height: 40px; stroke-width: 1.7; }
.symlist__s { font-weight: 750; }
.symlist__l { color: var(--ink-2); font-size: .95rem; }
.advice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: calc(var(--u) * 6); }
.advice ul { margin: 0; padding: 0; list-style: none; }
.advice li { padding: 12px 0 12px 20px; border-top: 1px solid var(--rule); position: relative; }
.advice li::before { content: ''; position: absolute; left: 0; top: 1.15em; width: 10px; height: 3px; border-radius: 2px; background: var(--ink-2); }

/* ---------- mend ---------- */
.mend__pin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: calc(var(--u) * 6); align-items: center; max-width: 1240px; margin: 0 auto; padding-inline: var(--side) var(--sider); }
.msteps { list-style: none; margin: calc(var(--u) * 3) 0 0; padding: 0; display: grid; gap: 4px; }
.mstep { padding: 12px 0 12px 20px; border-left: 2px solid var(--rule); color: var(--ink-2); transition: color .4s var(--ease), border-color .4s var(--ease); }
.mstep.is-on { color: var(--ink); border-left-color: var(--plum); }
.mend__fig { margin: 0; }
.darnsvg { width: 100%; max-width: 520px; height: auto; display: block; margin: 0 auto; }
.d-cloth { stroke: #c4b7a2; stroke-width: 3.2; fill: none; }
.darnsvg { background: #e3d8c6; }
.d-hole { fill: var(--satin); stroke: #a8987e; stroke-width: 1.5; stroke-dasharray: 3 3; }
.d-warp, .d-weft { stroke: var(--plum); stroke-width: 4; stroke-linecap: round; fill: none; }
.d-over-bg { stroke: #e3d8c6; stroke-width: 7; fill: none; }
.d-over { stroke: var(--plum); stroke-width: 4; stroke-linecap: butt; fill: none; }
.tips { list-style: none; margin: calc(var(--u) * 10) 0 calc(var(--u) * 3); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(var(--u) * 3); }
.tips li { border-top: 2px solid var(--ink); padding-top: 16px; }
.tips h3 { font-size: 1.35rem; }
.anim .mend__pin.is-pinned { min-height: 100vh; }

/* ---------- atelier ---------- */
.atelier__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1fr); gap: calc(var(--u) * 5); align-items: start; margin-top: calc(var(--u) * 5); }
.atelier__ph { margin: 0; }
.atelier__ph--a img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; }
.atelier__ph--b { margin-top: calc(var(--u) * 16); }
.atelier__ph--b img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.route { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.route li { padding: 18px 0; border-top: 1px solid var(--rule); }
.route li:first-child { border-top: 2px solid var(--ink); }
.route h3 { font-stretch: 72%; font-weight: 850; text-transform: uppercase; font-size: 1.5rem; line-height: 1; margin-bottom: 6px; }
.route p { color: var(--ink-2); }
.ph-facts { margin: calc(var(--u) * 8) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ph-facts div { border-top: 1px solid var(--rule); padding-top: 12px; }
.ph-facts dt { font-size: .76rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.ph-facts dd { margin: 0; }

/* ---------- faq ---------- */
.faq__wrap { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: calc(var(--u) * 6); }
.qa details { border-top: 1px solid var(--ink); }
.qa details:last-child { border-bottom: 1px solid var(--ink); }
.qa summary { list-style: none; cursor: pointer; padding: 20px 48px 20px 0; position: relative; font-weight: 700; font-size: 1.12rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 18px; height: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.qa summary::after { transform: rotate(90deg); }
.qa details[open] summary::after { transform: rotate(0deg); }
.qa details p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 68ch; }

/* ---------- reserve (the action moment owns the colour) ---------- */
.reserve { --focus: var(--thread); background-color: var(--plum); color: var(--thread); z-index: 2;
  background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.07) 0 1px, transparent 1px 3px); }
.reserve__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: calc(var(--u) * 6); align-items: start; }
.lead--thread { color: var(--thread-2); }
.rf { --focus: var(--plum); background: var(--satin); color: var(--ink); border-inline: 3px double var(--rule); padding: calc(var(--u) * 4); display: grid; gap: 20px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.rf__set { border: 0; margin: 0; padding: 0; min-width: 0; }
.rf__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.fld { display: grid; gap: 6px; font-weight: 650; font-size: .92rem; min-width: 0; }
.fld textarea { padding: 10px 12px; min-height: 88px; resize: vertical; }
.fld input[aria-invalid="true"], .chk input[aria-invalid="true"] { border-color: #a1162b; box-shadow: inset 0 0 0 1px #a1162b; }
.err { display: none; color: #a1162b; font-size: .86rem; font-weight: 600; }
.err.is-on { display: block; }
.chk { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; }
.chk input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--plum); flex: none; }
.rf .tab { justify-self: start; }
.rf__status { min-height: 1.5em; font-weight: 600; font-size: .94rem; }
.reserve__tag { grid-column: 2; }
.htag--big { transform: rotate(-1.5deg); padding: 40px 28px 24px 56px; width: 100%; max-width: 520px; margin-top: 8px; }
.htag--big .htag__hole { left: 20px; top: 18px; background: var(--plum); }
.htag--big::before { background: var(--thread-2); left: 26px; }
.htag__sum { font-family: var(--print); font-size: .95rem; line-height: 1.6; white-space: pre-wrap; margin: 0 0 16px; overflow-wrap: anywhere; }
.htag--big .rf__status { color: var(--card-ink); }

/* ---------- footer: a woven label ---------- */
.foot { --focus: var(--thread); background-color: var(--plum-0); color: var(--thread); padding-block: calc(var(--u) * 10) calc(var(--u) * 6 + env(safe-area-inset-bottom, 0px)); position: relative; z-index: 2; }
.foot__in { max-width: 1240px; margin: 0 auto; padding-inline: var(--side) var(--sider); display: grid; gap: calc(var(--u) * 4); }
.foot__w { font-family: var(--woven); font-stretch: 125%; font-weight: 850; font-size: clamp(3.4rem, 15vw, 13rem); line-height: 1.12; letter-spacing: .06em; color: var(--thread-2);
  border: 2px solid var(--plum); outline: 1px dashed var(--plum-2); outline-offset: -14px; padding: 24px 32px; text-align: center; overflow: hidden; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot__nav a { font-weight: 650; padding: 6px 0; }
.foot__ph { display: flex; gap: 32px; margin: 0; flex-wrap: wrap; }
.foot__ph dt { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--thread-2); font-weight: 700; margin-bottom: 4px; }
.foot__ph dd { margin: 0; }
.foot__demo { color: var(--thread-2); font-size: .92rem; border-top: 1px solid rgba(246,237,242,.2); padding-top: 24px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .drop__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .sec { padding-block: calc(var(--u) * 11); }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__label { min-height: 46svh; }
  .wfb { top: 72px; left: 6%; right: 6%; }
  .hero__tape { margin-top: 0; padding: 32px 20px 24px; }
  .hero__hint { bottom: 12px; }
  .look__grid { grid-template-columns: minmax(0, 1fr); }
  .look__cap { display: none; }
  .lk--tall, .lk--right, .lk--wide2 { width: 100%; margin-left: 0; }
  .look__frames { gap: calc(var(--u) * 9); }
  .weave__pin { grid-template-columns: minmax(0, 1fr); }
  .weave__stage { min-height: 56vh; }
  .weave__text { padding: 32px var(--sider) 64px var(--side); }
  .linen__top, .cotton__grid, .finder__grid, .table__grid, .care__grid, .advice, .mend__pin, .faq__wrap, .reserve__grid, .atelier__grid { grid-template-columns: minmax(0, 1fr); gap: calc(var(--u) * 4); }
  .folio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .props, .tips { grid-template-columns: minmax(0, 1fr); }
  .tips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prow { grid-template-columns: 80px minmax(0, 1fr); grid-template-areas: 'img main' 'spec spec' 'care care' 'act act'; padding: 16px; }
  .prow__img { width: 80px; }
  .prow .tab { justify-self: start; }
  .fz__out { position: static; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .atelier__ph--b { margin-top: 0; }
  .ph-facts { grid-template-columns: minmax(0, 1fr); }
  .gradesvg { max-width: 230px; }
  .reserve__tag { grid-column: 1; }
  .motion span:not(.motion__dot) { display: none; }
}
@media (max-width: 560px) {
  .top__in { gap: 10px; }
  .logo__k { display: none; }
  .top .tab { padding: 0 9px; font-size: .7rem; letter-spacing: .02em; font-stretch: 100%; }
  .logo { padding: 6px 8px; }
  .logo__w { font-size: 1.05rem; }
  .lang__b { padding: 6px 5px; }
  .folio { grid-template-columns: minmax(0, 1fr); }
  .drop__track { grid-template-columns: minmax(0, 1fr); }
  .tips { grid-template-columns: minmax(0, 1fr); }
  .fz__pieces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meas { grid-template-columns: 4.5em minmax(0, 1fr) 4.6em; gap: 10px; }
  .pick__k { flex-basis: 52px; }
  .sz span { width: 44px; }
  .h2 { font-size: clamp(2rem, 9.6vw, 2.6rem); }
}
