@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600&display=swap');
/* The Eshtan label: a woven cotton label sewn inside every piece. The words are woven; the name, hours and number are
   written by hand in ink on blank woven lines when the piece is finished (Ata, 2026-11-13/14: blank lines, somebody writes it).
   Used on piece pages (labelband) and in the fitting (step "The name inside"). Markup comes from assets/label.js. */
.wl { --thread:#142B21; --cloth:#EFE8D6; position:relative; width:min(100%, 360px); margin:0 auto; transform:rotate(-1.2deg);
  filter:drop-shadow(0 26px 34px rgba(0,0,0,.28)); font-family:'JetBrains Mono',ui-monospace,Menlo,monospace; color:var(--thread); }
.wl-fold { height:18px; margin:0 10px; background:linear-gradient(#D9D0BA, #E8E0CC 60%, #CFC5AD); border-radius:2px 2px 0 0;
  box-shadow:inset 0 -3px 4px rgba(0,0,0,.12); }
.wl-body { position:relative; background-color:var(--cloth);
  background-image:repeating-linear-gradient(0deg, rgba(20,43,33,.045) 0 1px, transparent 1px 3px),
                   repeating-linear-gradient(90deg, rgba(20,43,33,.035) 0 1px, transparent 1px 3px);
  padding:30px 30px 24px; text-align:center; }
.wl-body::before { content:""; position:absolute; inset:9px; border:1px dashed rgba(20,43,33,.38); pointer-events:none; }
.wl-brand { font-family:'Instrument Serif',Georgia,serif; font-size:26px; letter-spacing:.32em; padding-left:.32em; line-height:1; }
.wl-sub { font-size:9px; letter-spacing:.34em; padding-left:.34em; margin-top:8px; opacity:.8; }
.wl-rule { width:46px; height:1px; background:var(--thread); opacity:.5; margin:16px auto 14px; }
.wl-for { font-size:9px; letter-spacing:.3em; padding-left:.3em; opacity:.75; }
.wl-name { font-family:'Instrument Serif',Georgia,serif; font-style:italic; font-size:clamp(28px, 4.2vw, 38px); line-height:1.05;
  margin:6px 0 18px; min-height:1.05em; overflow-wrap:anywhere; }
.wl-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); border-top:1px solid rgba(20,43,33,.22); border-bottom:1px solid rgba(20,43,33,.22); }
.wl-grid div { padding:10px 4px; }
.wl-grid div + div { border-left:1px solid rgba(20,43,33,.22); }
.wl-grid span { display:block; font-size:8px; letter-spacing:.26em; opacity:.7; }
.wl-grid b { display:block; font-family:'Instrument Serif',Georgia,serif; font-weight:400; font-size:22px; letter-spacing:0; margin-top:4px; }
.wl-series { font-size:8.5px; letter-spacing:.3em; padding-left:.3em; margin-top:14px; opacity:.75; }
.wl-try { display:flex; gap:10px; align-items:center; max-width:360px; margin:28px auto 0; }
.wl-try input { flex:1; min-width:0; background:transparent; border:0; border-bottom:1px solid currentColor; color:inherit; font:inherit;
  font-size:16px; padding:8px 2px; }
.wl-try input::placeholder { color:inherit; opacity:.55; }
.wl-try label { font-family:'JetBrains Mono',ui-monospace,Menlo,monospace; font-size:10px; letter-spacing:.16em; text-transform:uppercase; white-space:nowrap; opacity:.8; }
@media (prefers-reduced-motion: no-preference) { .wl-name { transition:opacity .2s; } }

/* Hand-written parts: ink on a woven blank line */
.wl-name { font-family:'Caveat','Bradley Hand',cursive; font-style:normal; font-weight:600; color:#1E2B4A; font-size:clamp(30px,4.4vw,40px);
  line-height:1; margin:4px 26px 16px; padding-bottom:4px; border-bottom:1px solid rgba(20,43,33,.55); transform:rotate(-1.5deg); }
.wl-grid b { font-family:'Caveat','Bradley Hand',cursive; font-weight:600; color:#1E2B4A; font-size:26px; line-height:1;
  margin:6px 10px 0; padding-bottom:2px; border-bottom:1px solid rgba(20,43,33,.45); }
.wl-grid div:last-child b { font-family:'Instrument Serif',Georgia,serif; font-weight:400; color:var(--thread); font-size:22px; border-bottom:0; }
.wl-name.mid { font-size:clamp(26px,3.6vw,32px); }
.wl-name.long { font-size:clamp(22px,3vw,26px); }
