/* TOFERET — print-shop direction.
   ink, kraft, fabric red. no gradients. no shadows. no rounded corners.
   the page is a magazine ticket, not a service grid. */

:root {
  --ink:    #1c1814;
  --ink-2:  #3a342c;
  --ink-3:  #6c6256;
  /* --ink-3-aa: ink-3 darkened enough to reach 4.5:1 on --kraft (#e8dec5).
     Original #6c6256 = 4.46:1 (fails by 0.04). Use #625a50 = 5.06:1. */
  --ink-3-aa: #625a50;
  --kraft:  #e8dec5;
  --kraft-2:#d6c9a4;
  --paper:  #f1e9d4;
  --red:    #b6281f;
  --red-ink:#7a1610;

  --hair:   rgba(28, 24, 20, 0.18);
  --hair-2: rgba(28, 24, 20, 0.34);

  --display: "Suez One", "Frank Ruhl Libre", Georgia, serif;
  --body: "Heebo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
}

* { box-sizing: border-box; }

html { background: var(--kraft); }

body {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--kraft);
  -webkit-font-smoothing: antialiased;

  /* paper texture: a faint cross-hatch generated in CSS, not an image */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(28,24,20,0.05) 0 0.6px, transparent 1px),
    radial-gradient(circle at 76% 64%, rgba(28,24,20,0.04) 0 0.6px, transparent 1px);
  background-size: 19px 23px, 27px 21px;
}

::selection { background: var(--red); color: var(--kraft); }

a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--hair-2); padding-bottom: 1px; }
a:hover { color: var(--red); border-bottom-color: var(--red); }

img, svg { display: block; max-width: 100%; height: auto; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
}

input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* skip link — visually hidden until focused */
.skip-link {
  position: absolute;
  inset-inline-start: 0.5rem;
  inset-block-start: -100%;
  background: var(--ink);
  color: var(--kraft);
  padding: 0.5rem 0.75rem;
  font-family: var(--body);
  font-size: 1rem;
  border-bottom: 0;
  z-index: 1000;
  text-decoration: none;
}
.skip-link:focus {
  inset-block-start: 0.5rem;
}
.skip-link:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* --- masthead --- */

.masthead {
  width: min(1180px, calc(100% - 56px));
  margin: 28px auto 0;
}

.mast-rule {
  height: 0;
  border-top: 1.4px solid var(--ink);
  margin: 0;
}

.mast-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding: 10px 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.mast-row p, .mast-row a { margin: 0; }
.mast-row a { border-bottom: 0; }
.mast-row a:hover { color: var(--red); }

.wordmark {
  margin: 14px 0 6px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(5.5rem, 17vw, 14.5rem);
  line-height: 0.86;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: center;
}

/* the wordmark gets a subtle baseline accent: red underscore on a fraction of width */
.wordmark .word { position: relative; display: inline-block; }
.wordmark .word::after {
  content: "";
  position: absolute;
  inset-inline-start: 6%;
  bottom: 8%;
  width: 14%;
  height: 6px;
  background: var(--red);
}

.dek {
  margin: 14px auto 32px;
  max-width: 56ch;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.8vw, 1.34rem);
  line-height: 1.45;
  color: var(--ink-2);
  font-weight: 400;
}

/* --- main column --- */

main {
  width: min(1180px, calc(100% - 56px));
  margin: 56px auto 0;
}

.folio {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
  text-transform: uppercase;
}

/* --- cover (asymmetric: image left of column, big negative space right) --- */

.cover {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.62fr);
  gap: 72px;
  align-items: end;
  padding-bottom: 96px;
  border-bottom: 1px solid var(--hair);
}

.cover-art {
  position: relative;
  isolation: isolate;
}
.cover-art img {
  width: 100%;
  display: block;
  /* a deliberate paper-glue tilt — the only intentional rotation on the page */
  transform: rotate(-1.4deg) translateY(-12px);
}
.cover-stamp {
  position: absolute;
  width: 168px;
  inset-block-start: -20px;
  inset-inline-start: -36px;
  transform: rotate(-14deg);
  opacity: 0.92;
  z-index: 2;
  /* stamps are not perfectly placed; this offsets blend mode for an inked feel */
  mix-blend-mode: multiply;
}

.cover-note {
  position: relative;
  align-self: end;
  padding: 0 0 16px 0;
}
.cover-note .caption-tag {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--red);
}
.cover-note .caption {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 36ch;
}
.cover-note .caption-mono {
  margin: 22px 0 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  color: var(--ink-3-aa);
  text-transform: uppercase;
}

/* --- price board --- */

.board { padding: 96px 0 64px; border-bottom: 1px solid var(--hair); }

.board-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  align-items: end;
  padding-bottom: 36px;
  border-bottom: 1.4px solid var(--ink);
}
.board-head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.02;
  color: var(--ink);
}
.board-sub {
  margin: 0;
  font-size: 1.04rem;
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.55;
}

.board-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: row;
}

.board-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 130px 160px;
  gap: 22px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px dotted var(--hair-2);
  font-family: var(--display);
  font-weight: 400;
}
.board-row:last-child { border-bottom: 0; }

.board-row .row-no {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  align-self: center;
}
.board-row .row-name {
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  color: var(--ink);
}
.board-row .row-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  justify-self: end;
  font-family: var(--display);
}
.board-row .row-price b {
  font-weight: 400;
  font-size: 1.55rem;
  color: var(--ink);
  font-feature-settings: "tnum" 1;
}
.board-row .row-price i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  /* use --ink-3-aa: small mono text on kraft needs >= 4.5:1 */
  color: var(--ink-3-aa);
}
.board-row .row-time {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  /* use --ink-3-aa: small mono text on kraft needs >= 4.5:1 */
  color: var(--ink-3-aa);
  text-align: end;
}

.board-foot {
  margin: 28px 0 0;
  font-size: 0.96rem;
  color: var(--ink-3-aa);
  max-width: 56ch;
}

/* --- machines (3D atelier — two ink plates set into the page) --- */

.machines {
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--hair);
}

.machines-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  align-items: end;
  padding-bottom: 36px;
  margin-bottom: 56px;
  border-bottom: 1.4px solid var(--ink);
}
.machines-head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.02;
  color: var(--ink);
}
.machines-sub {
  margin: 0;
  font-size: 1.04rem;
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.55;
}

.machine-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.machine {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.machine-frame {
  position: relative;
  background: var(--kraft);
  border: 1.4px solid var(--ink);
  /* a deliberate paper-glue lift, like the cover image */
  box-shadow: 0 1px 0 var(--ink), 0 18px 0 -14px var(--ink);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.machine-frame canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}
.machine-frame canvas:active { cursor: grabbing; }
.frame-tag {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  padding: 5px 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(241, 233, 212, 0.85);
  border: 1px solid var(--hair-2);
  pointer-events: none;
  z-index: 2;
}

.machine-cap {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: baseline;
  margin: 0;
}
.machine-cap .cap-no {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.machine-cap .cap-name {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.32rem;
  line-height: 1.15;
  color: var(--ink);
}
.machine-cap .cap-text {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 38ch;
}

.machine-mini-ctrl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 22px 28px;
  align-items: center;
  padding: 16px 20px;
  border: 1.4px solid var(--ink);
  background: var(--paper);
  margin-top: 6px;
}
.ctrl-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  border: 0;
}
.ctrl-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.ctrl-row input[type=range] {
  flex: 1;
  /* was min-width: 140px — caused overflow in narrow machine-mini-ctrl on mobile */
  min-width: 80px;
  -webkit-appearance: none;
  appearance: none;
  height: 2px;
  background: var(--ink);
  outline: none;
  cursor: pointer;
  padding: 0;
}
.ctrl-row input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px; height: 16px;
  background: var(--red);
  border: 1.4px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
}
.ctrl-row input[type=range]::-moz-range-thumb {
  width: 16px; height: 16px;
  background: var(--red);
  border: 1.4px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
}
.ctrl-val {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  min-width: 28px;
  text-align: end;
  font-feature-settings: "tnum" 1;
}
.ctrl-colors { gap: 12px; }
.ctrl-colors .swatch {
  width: 22px; height: 22px;
  background: var(--c);
  border: 1.4px solid var(--ink);
  cursor: pointer;
  /* visually stays 22×22; the expanded tap area uses a transparent pseudo-element */
  padding: 0;
  border-radius: 0;
  position: relative;
  transition: transform 0.18s ease;
}
/* expand tap target to ≥ 44×44px via a transparent overlay (WCAG 2.5.5) */
.ctrl-colors .swatch::before {
  content: "";
  position: absolute;
  /* centre a 44px target over the 22px swatch */
  inset: -11px;
  z-index: 1;
  pointer-events: auto;
}
/* active ring — sits above ::before so it stays visible */
.ctrl-colors .swatch.active::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1.4px solid var(--ink);
  pointer-events: none;
  z-index: 2;
}
.ctrl-colors .swatch:hover { transform: translateY(-2px); }

/* --- pull quote --- */

.pullquote {
  width: min(960px, 100%);
  margin: 88px auto;
  padding: 0;
  text-align: center;
}
.pullquote .pq-mark {
  font-family: var(--display);
  margin: 0 0 -28px;
  font-size: 8rem;
  color: var(--red);
  line-height: 1;
}
.pullquote .pq-text {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.32;
  color: var(--ink);
  font-weight: 400;
}
.pullquote .pq-by {
  margin: 22px 0 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3-aa);
}

/* --- ticket --- */

.ticket {
  margin: 88px 0;
  padding: 0;
  background: var(--paper);
  border: 1.4px solid var(--ink);
  /* the ticket has a real shadow because it's a physical object on the page */
  box-shadow: 0 1px 0 var(--ink), 0 22px 0 -18px var(--ink);
}

.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 36px;
  border-bottom: 1.4px solid var(--ink);
}
.ticket-head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.02;
}
.ticket-stamp {
  margin: 0;
  padding: 6px 14px;
  border: 1.4px solid var(--red);
  color: var(--red);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  /* a real stamp would be slightly off-axis */
  transform: rotate(-3deg);
}

.ticket-body { padding: 30px 36px; }

.ticket-numline {
  display: flex;
  justify-content: space-between;
  margin: 0 0 22px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--hair-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  text-transform: uppercase;
}
.ticket-num b { font-weight: 700; }

fieldset.ticket-grid {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}
fieldset.ticket-grid legend {
  margin: 0 0 14px;
  padding: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3-aa);
}

.bill-line {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dotted var(--hair);
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.18rem;
  color: var(--ink);
}
.bill-line:last-child { border-bottom: 0; }
.bill-line input {
  appearance: none;
  width: 18px; height: 18px;
  border: 1.4px solid var(--ink);
  background: transparent;
  position: relative;
  cursor: pointer;
}
.bill-line input:checked { background: var(--red); border-color: var(--red); }
.bill-line input:checked::after {
  content: "✓";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--kraft);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}
.bill-line .bill-price {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.ticket-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 18px;
  margin: 24px 0;
  padding: 18px 0;
  border-block: 1px dashed var(--hair-2);
}
.meta-row {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3-aa);
}
.meta-row span { white-space: nowrap; }
.meta-row input,
.meta-row select {
  flex: 1;
  padding: 6px 0;
  border-bottom: 1.2px solid var(--ink);
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.ticket-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1.4px solid var(--ink);
}
.total-label {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3-aa);
}
.total-num {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.96;
  color: var(--ink);
  font-feature-settings: "tnum" 1;
}
.total-note {
  margin: 6px 0 0;
  font-size: 0.94rem;
  /* paper background inside ticket — but using -aa for safety */
  color: var(--ink-3-aa);
}

.ticket-send {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border: 1.4px solid var(--ink);
  background: var(--ink);
  color: var(--kraft);
  border-bottom: 1.4px solid var(--ink);
  font-family: var(--display);
  font-size: 1.18rem;
  white-space: nowrap;
}
.ticket-send:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--kraft);
}
.ticket-send .ticket-arrow {
  font-family: var(--mono);
  font-size: 1.4rem;
  transform: scaleX(-1);
}

.ticket-perf {
  position: relative;
  height: 22px;
  margin: 22px -36px -22px;
  background-image:
    radial-gradient(circle at 11px 50%, var(--kraft) 6px, transparent 7px);
  background-size: 22px 22px;
  background-position: -11px 50%;
  border-block: 1.4px solid var(--ink);
}
.ticket-fine {
  margin: 38px 0 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  /* on --paper background, ink-3 passes 4.93:1; using -aa for consistency */
  color: var(--ink-3-aa);
  text-align: center;
  text-transform: uppercase;
}

/* --- evidence (before/after) --- */

.evidence { padding: 88px 0; border-top: 1px solid var(--hair); }

.evidence-head {
  margin-bottom: 32px;
  max-width: 64ch;
}
.evidence-head h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}
.evidence-head p { margin: 0; color: var(--ink-2); }

.fabric-slider {
  position: relative;
  min-height: 380px;
  background: var(--ink);
  border: 1.4px solid var(--ink);
  overflow: hidden;
}
.fab {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.fab-before { background: var(--kraft-2); }
.fab-after {
  width: 54%;
  overflow: hidden;
  background: var(--paper);
  border-inline-start: 3px solid var(--red);
}
.fab svg { width: min(76%, 440px); height: auto; }
.fab-before path:first-child { fill: var(--ink); }
.fab-before path:nth-child(2),
.loose-thread { fill: none; stroke: var(--kraft); stroke-width: 6; stroke-linecap: round; }
.loose-thread { stroke-dasharray: 11 14; }
.fab-after path:first-child { fill: var(--ink); }
.fab-after path:nth-child(2),
.clean-stitch { fill: none; stroke: var(--paper); stroke-width: 6; stroke-linecap: round; }
.clean-stitch { stroke-dasharray: 10 12; }
.fab-label {
  position: absolute;
  top: 18px;
  inset-inline-start: 18px;
  margin: 0;
  padding: 6px 12px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fab-after .fab-label { background: var(--red); color: var(--kraft); }

#fabric-range {
  position: absolute;
  inset-inline: 24px;
  bottom: 22px;
  width: calc(100% - 48px);
  accent-color: var(--red);
}

/* --- colophon --- */

.colophon {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 72px;
  padding: 96px 0;
  border-top: 1.4px solid var(--ink);
}
.colophon .card { padding: 0; }
.colophon h2 {
  margin: 0 0 28px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}
.card-list { margin: 0; padding: 0; }
.card-list div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px dotted var(--hair-2);
  align-items: baseline;
}
.card-list dt {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3-aa);
}
.card-list dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.18rem;
  color: var(--ink);
}
.card-list dd a { border-bottom-color: var(--hair-2); }

.set-in {
  margin: 0;
  align-self: end;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  /* use --ink-3-aa: small mono text on kraft needs >= 4.5:1 */
  color: var(--ink-3-aa);
  border: 1px dashed var(--hair-2);
  padding: 22px;
  max-width: 46ch;
}
.set-in strong { color: var(--ink); font-weight: 700; }

/* --- bottom rule --- */

.bottom {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto 28px;
}
.bottom p {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3-aa);
  text-align: center;
}

/* --- responsive --- */

@media (max-width: 980px) {
  .masthead, main, .bottom { width: min(100% - 36px, 1180px); }
  .cover { grid-template-columns: 1fr; gap: 36px; padding-bottom: 64px; }
  .cover-stamp { width: 124px; inset-inline-start: -16px; inset-block-start: -10px; }
  .board-head { grid-template-columns: 1fr; gap: 18px; }
  .board-row {
    grid-template-columns: 32px 1fr;
    grid-template-areas: "no name" ".  price" ".  time";
    gap: 8px 18px;
  }
  .board-row .row-no { grid-area: no; }
  .board-row .row-name { grid-area: name; }
  .board-row .row-price { grid-area: price; justify-self: start; }
  .board-row .row-time { grid-area: time; text-align: start; }
  .ticket-head { padding: 22px 22px; }
  .ticket-body { padding: 22px 22px; }
  .ticket-perf { margin: 22px -22px -22px; }
  .ticket-meta { grid-template-columns: 1fr; }
  .colophon { grid-template-columns: 1fr; gap: 36px; padding: 64px 0; }
  .machines-head { grid-template-columns: 1fr; gap: 18px; }
  .machine-stage { grid-template-columns: 1fr; gap: 40px; }
  .machine-mini-ctrl { grid-template-columns: 1fr; gap: 14px; padding: 14px 18px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wordmark { font-size: clamp(4.2rem, 22vw, 8rem); }
  .ticket-foot { grid-template-columns: 1fr; align-items: start; }
  .ticket-send { width: 100%; justify-content: center; }
  .pullquote { margin: 56px auto; }
  .pullquote .pq-text { font-size: 1.4rem; }
  .fab-after { width: 50%; }
  .card-list div { grid-template-columns: 1fr; gap: 4px; }
}

/* --- reduced motion / print sanity --- */
@media (prefers-reduced-motion: reduce) {
  /* Stop decorative CSS animations and non-essential transitions.
     Keep instant state-change transitions (e.g. swatch .active outline) as
     they improve clarity rather than add motion.  JS-driven Three.js canvas
     motion is not controllable here — see machines.js note in audit. */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  html, body { background: #fff; color: #000; }
  .ticket-send { display: none; }
}

/* =========================================================================
   V2 — "התופרת and הכובסת"
   Same kraft + ink + fabric red palette, but a branch-landing layout
   ========================================================================= */

/* --- t2 masthead --- */
.t2-mast {
  width: min(1180px, calc(100% - 56px));
  margin: 28px auto 0;
}
.t2-mast-rule { height: 0; border-top: 1.4px solid var(--ink); }
.t2-mast-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 10px 0;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.t2-mast-row p, .t2-mast-row a { margin: 0; }
.t2-mast-row a { border-bottom: 0; }

.t2-wordmark {
  margin: 18px 0 10px;
  text-align: center;
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.015em;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.t2-word {
  font-size: clamp(3.4rem, 11vw, 8.4rem);
  display: inline-block;
  position: relative;
}
.t2-word-1::after {
  content: "";
  position: absolute;
  inset-inline-start: 8%;
  bottom: 6%;
  width: 18%;
  height: 6px;
  background: var(--red);
}
.t2-amp {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  color: var(--red);
  letter-spacing: 0.04em;
  margin: -4px 0 -2px;
}
.t2-word-2 { color: var(--ink-2); }

/* fabric swatches (lifted from V1) sat to the left of the wordmark */
.t2-wordmark-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 44px);
  flex-wrap: wrap;
}
.t2-mast-cover {
  position: relative;
  isolation: isolate;
  flex: 0 0 auto;
  width: clamp(107px, 15.6vw, 218px);   /* ~30% larger */
}
.t2-mast-cover > img {
  width: 100%;
  display: block;
  /* the same deliberate paper-glue tilt used in V1 */
  transform: rotate(-1.4deg);
}
/* the inked stamp overlay, proportioned exactly as in V1 (~43% of the swatch) */
.t2-mast-stamp {
  position: absolute;
  width: 43%;
  inset-block-start: -6%;
  inset-inline-start: -10%;
  transform: rotate(-14deg);
  opacity: 0.92;
  z-index: 2;
  mix-blend-mode: multiply;
}

.t2-dek {
  margin: 18px auto 24px;
  max-width: 60ch;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  line-height: 1.45;
  color: var(--ink-2);
}

/* --- shared cta buttons --- */
.t2-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 0 0 28px;
}
.t2-cta-hero { margin-top: 4px; }

.t2-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1.6px solid var(--ink);
  font-family: var(--display);
  font-size: 1.06rem;
  color: var(--ink);
  background: var(--kraft);
  transition: background .15s, color .15s;
}
.t2-btn:hover { background: var(--ink); color: var(--kraft); border-bottom-color: var(--ink); }
.t2-btn-wa { background: var(--red); color: var(--kraft); border-color: var(--red-ink); }
.t2-btn-wa:hover { background: var(--red-ink); color: var(--kraft); border-color: var(--red-ink); }
.t2-btn-tel { background: var(--kraft); color: var(--ink); }
.t2-btn-arrow { font-family: var(--mono); font-size: 1.1rem; line-height: 1; transform: translateY(1px); }

/* --- main column --- */
.t2-main {
  width: min(1180px, calc(100% - 56px));
  margin: 40px auto 0;
}

/* --- section heads --- */
.t2-section-head { margin: 0 0 28px; }
.t2-section-head h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.06;
  color: var(--ink);
}
.t2-section-head .folio { margin: 0 0 12px; }
.t2-sub {
  margin: 0;
  max-width: 64ch;
  font-size: 1.04rem;
  line-height: 1.62;
  /* use --ink-3-aa: #6c6256 is 4.46:1 on kraft (fails 4.5:1); #625a50 is 5.06:1 */
  color: var(--ink-3-aa);
}

/* --- badges --- */
.t2-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 0 56px;
  border-top: 1.4px solid var(--ink);
  border-bottom: 1.4px solid var(--ink);
}
.t2-badges span {
  padding: 18px 14px;
  text-align: center;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-inline-end: 1px dotted var(--hair-2);
}
.t2-badges span:last-child { border-inline-end: 0; }
.t2-badges span b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--red);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

/* --- branch card --- */
.t2-branch { padding: 0 0 64px; border-bottom: 1px solid var(--hair); margin-bottom: 56px; }
.t2-branch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.t2-branch-list { margin: 0; padding: 0; }
.t2-branch-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dotted var(--hair-2);
  align-items: baseline;
}
.t2-branch-list dt {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  /* bumped from 11.5px / ink-3-aa to 15px / ink-2 for readability */
  color: var(--ink-2);
}
.t2-branch-list dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.14rem;
  color: var(--ink);
}
.t2-branch-list dd a { border-bottom-color: var(--hair-2); }

.t2-branch-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.t2-action {
  display: block;
  padding: 14px 18px;
  border: 1.2px solid var(--ink);
  border-bottom-color: var(--ink);
  font-family: var(--display);
  font-size: 1.04rem;
  color: var(--ink);
  background: var(--paper);
  text-align: center;
  transition: background .15s, color .15s;
}
.t2-action:hover { background: var(--ink); color: var(--kraft); border-color: var(--ink); }
.t2-action-strong { background: var(--red); color: var(--kraft); border-color: var(--red-ink); }
.t2-action-strong:hover { background: var(--red-ink); border-color: var(--red-ink); color: var(--kraft); }

/* --- branch map — print plate treatment --- */
.t2-map-wrap {
  margin-top: 36px;
}

/* mono caption label above the map — like a magazine map plate caption */
.t2-map-caption {
  display: block;
  margin: 0 0 0;
  padding: 7px 12px 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--paper);
  border: 1.4px solid var(--ink);
  border-bottom: 0;
  width: fit-content;
}

.t2-map {
  border: 1.4px solid var(--ink);
  /* double hairline inner frame: outer solid ink + inner thin hair offset */
  outline: 1px solid var(--hair-2);
  outline-offset: -5px;
  background: var(--paper);
  padding: 5px;          /* inner padding so the map sits inside the double frame */
  aspect-ratio: 16 / 7;
  overflow: hidden;
  position: relative;
  filter: grayscale(0.35) contrast(1.05);
}
.t2-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 640px) {
  .t2-map { aspect-ratio: 4 / 3; padding: 4px; }
  .t2-map-wrap { margin-top: 24px; }
}

/* --- services grid — tailor's docket, polished --- */
.t2-services { padding: 0 0 64px; border-bottom: 1px solid var(--hair); margin-bottom: 56px; }

/* The docket is a single stacked list, bordered like V1's .board */
.t2-svc-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  /* double-rule top: a 1.4px ink rule with a hairline 4px below it */
  border-top: 1.4px solid var(--ink);
  box-shadow: 0 4px 0 -2.6px var(--hair-2); /* inner hairline just below the top rule */
  border-bottom: 1.4px solid var(--ink);
}

/* each row: roman numeral gutter + body, vertically well-spaced */
.t2-svc {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0 28px;
  align-items: start;
  padding: 32px 16px 32px 0;
  border-bottom: 1px solid var(--hair);
  background: transparent;
  position: relative;
  transition: background 0.14s;
}
.t2-svc:last-child { border-bottom: 0; }

/* hover: paper wash + border-bottom edge emphasis ink→red */
.t2-svc:not(.t2-svc-hero):hover {
  background: var(--paper);
  border-bottom-color: var(--red);
}

/* hero row: full-bleed dark ground, generous breathing room */
.t2-svc-hero {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0 28px;
  align-items: start;
  padding: 40px 32px;
  margin: 0 -1.4px;
  background: var(--ink);
  color: var(--kraft);
  border-bottom: 1px solid var(--red);
  /* red top accent — like V1 ticket-head */
  border-top: 3px solid var(--red);
}

/* roman numeral — mono red, column-aligned */
.t2-svc-no {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  padding-top: 7px;
  text-align: start;
  white-space: nowrap;
  /* thin vertical rule to the left of the gutter — a stitching guide line */
  border-inline-end: 1px solid var(--hair);
  padding-inline-end: 4px;
}
.t2-svc-hero .t2-svc-no {
  color: var(--red);
  border-inline-end-color: rgba(232,222,197,0.12);
}

/* content wrapper */
.t2-svc-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* service category tag — tilted fabric label */
.t2-svc-tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kraft);
  background: var(--red);
  border: 1px solid var(--red-ink);
  padding: 3px 10px 3px 8px;
  margin-bottom: 14px;
  transform: rotate(-6deg);
  transform-origin: right center;
  display: inline-block;
  position: relative;
  transition: transform 0.14s;
}
/* stitch-hole puncture marks — two tiny dots above the tag */
.t2-svc-tag::before {
  content: "· · ·";
  position: absolute;
  top: -11px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  letter-spacing: 0.28em;
  color: var(--ink-3);
  pointer-events: none;
  line-height: 1;
}
/* a tiny notch/thread tail at the bottom of the tag */
.t2-svc-tag::after {
  content: "";
  position: absolute;
  bottom: -5px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 5px;
  background: var(--red-ink);
  pointer-events: none;
}

.t2-svc-hero .t2-svc-tag {
  color: var(--kraft);
  background: var(--red);
  border-color: var(--red-ink);
}
.t2-svc-hero .t2-svc-tag::before { color: var(--kraft-2); }
.t2-svc-hero .t2-svc-tag::after { background: rgba(232,222,197,0.4); }

/* service heading — Suez One, confident scale */
.t2-svc h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 1.68rem);
  line-height: 1.1;
  color: var(--ink);
  /* hairline rule below the heading, like V1's .board-head separator */
  padding-bottom: 11px;
  border-bottom: 1px solid var(--hair);
}
.t2-svc-hero h3 {
  color: var(--kraft);
  font-size: clamp(1.52rem, 2.8vw, 2.1rem);
  border-bottom-color: rgba(232,222,197,0.14);
}

/* body copy */
.t2-svc p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.68;
  color: var(--ink-2);
}
.t2-svc-hero p { color: var(--kraft-2); }

/* price — mono caps with a prominent red colour, hairline above */
.t2-svc-price {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--hair-2);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red);
}

/* --- service icons --- */

/*
 * Each .t2-svc item now carries a .t2-svc-icon SVG placed in the grid's third
 * implicit column (or floated right on the hero).  The icon is 48×48 viewBox,
 * rendered at 44–52px, aligned to the top of the body column.
 *
 * Layout: hero has grid-template-columns redefined to accommodate the icon;
 * regular rows extend their two-column grid with an icon column on the end.
 */

/* Extend the regular row grid: [no] [body] [icon] */
.t2-svc:not(.t2-svc-hero) {
  grid-template-columns: 56px minmax(0, 1fr) 52px;
}

.t2-svc-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  align-self: center;
  display: block;
  overflow: visible;
  /* base transition for scale/translate on hover */
  transition: transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hero icon: sits in the icon column (3rd implicit column on the hero's grid).
   Hero redefines grid to 3 cols explicitly. */
.t2-svc-hero {
  grid-template-columns: 56px minmax(0, 1fr) 52px !important;
}
.t2-svc-hero .t2-svc-icon {
  width: 52px;
  height: 52px;
}

/* Red accent paths inside icons — stroke-dashoffset draw-in.
   The JS IntersectionObserver adds .t2-svc-revealed to the parent <li>. */
.t2-svc-icon .t2-svc-icon-accent {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
}

/* Triggered by IntersectionObserver (scroll reveal) */
.t2-svc.t2-svc-revealed .t2-svc-icon .t2-svc-icon-accent {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.t2-svc.t2-svc-revealed .t2-svc-icon .t2-svc-icon-accent:nth-child(2) {
  transition-delay: 0.12s;
}
.t2-svc.t2-svc-revealed .t2-svc-icon .t2-svc-icon-accent:nth-child(3) {
  transition-delay: 0.22s;
}

/* =========================================================
   HOVER SYSTEM — service rows
   ========================================================= */

/* Row base transition: background + border-bottom-color */
.t2-svc:not(.t2-svc-hero) {
  transition: background 0.22s ease, border-bottom-color 0.22s ease;
  cursor: pointer;
}

/* Roman numeral color shift to red on hover */
.t2-svc:not(.t2-svc-hero):hover .t2-svc-no,
.t2-svc:not(.t2-svc-hero):focus-within .t2-svc-no {
  color: var(--red);
  transform: translateX(-2px);
  transition: color 0.22s ease, transform 0.22s ease;
}
.t2-svc-no {
  transition: color 0.22s ease, transform 0.22s ease;
}

/* --- Sweeping red accent line under the h3 heading --- */
/* Uses ::after on the h3 — a scaleX(0→1) line expanding from inline-start */
.t2-svc h3 {
  position: relative;
}
/* We need a second pseudo-element for the sweep; h3::after is already used
   for the hairline rule (border-bottom). We'll use ::before instead. */
.t2-svc h3::before {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  /* RTL-correct: expand from the right (inline-start in RTL = right edge) */
  transform-origin: right center;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.t2-svc:not(.t2-svc-hero):hover h3::before,
.t2-svc:not(.t2-svc-hero):focus-within h3::before {
  transform: scaleX(1);
}

/* Hero h3 sweep: same but on kraft/ink-dark background */
.t2-svc-hero:hover h3::before,
.t2-svc-hero:focus-within h3::before {
  transform: scaleX(1);
}
.t2-svc-hero h3::before {
  background: var(--red);
  transform-origin: right center;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tag rotate/scale — swing further on hover */
.t2-svc-tag {
  transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.t2-svc:not(.t2-svc-hero):hover .t2-svc-tag,
.t2-svc:not(.t2-svc-hero):focus-within .t2-svc-tag {
  transform: rotate(-14deg) scale(1.08);
}
/* Thread-tail extends on hover via the ::after pseudo */
.t2-svc-tag::after {
  transition: height 0.22s ease;
}
.t2-svc:not(.t2-svc-hero):hover .t2-svc-tag::after,
.t2-svc:not(.t2-svc-hero):focus-within .t2-svc-tag::after {
  height: 10px;
}

/* =========================================================
   PER-ICON HOVER KEYFRAME ANIMATIONS
   ========================================================= */

/* i. תפירה — needle dips and spool nudges up */
@keyframes t2-needle-dip {
  0%   { transform: translateY(0) rotate(0deg); }
  35%  { transform: translateY(3px) rotate(2deg); }
  70%  { transform: translateY(-2px) rotate(-1deg); }
  100% { transform: translateY(0) rotate(0deg); }
}
@keyframes t2-spool-nudge {
  0%   { transform: translateX(0); }
  40%  { transform: translateX(-3px); }
  80%  { transform: translateX(1px); }
  100% { transform: translateX(0); }
}

/* ii. כביסה — drum arc rotates */
@keyframes t2-drum-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(90deg); }
}

/* iii. גיהוץ — iron slides right then back; steam drifts up */
@keyframes t2-iron-glide {
  0%   { transform: translateX(0); }
  40%  { transform: translateX(4px); }
  80%  { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}
@keyframes t2-steam-rise {
  0%   { transform: translateY(0);   opacity: 1; }
  60%  { transform: translateY(-5px); opacity: 0.6; }
  100% { transform: translateY(0);   opacity: 1; }
}

/* iv. בית — curtain tie-back swings */
@keyframes t2-curtain-swing {
  0%   { transform: rotate(0deg) translateX(0); }
  40%  { transform: rotate(4deg) translateX(2px); }
  80%  { transform: rotate(-2deg) translateX(-1px); }
  100% { transform: rotate(0deg) translateX(0); }
}

/* v. שליחות — hanger hook bounces */
@keyframes t2-hanger-bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-4px); }
  60%  { transform: translateY(2px); }
  85%  { transform: translateY(-1px); }
  100% { transform: translateY(0); }
}

/* Whole-icon entrance on hover: slight scale-up + translate */
.t2-svc:not(.t2-svc-hero):hover .t2-svc-icon,
.t2-svc:not(.t2-svc-hero):focus-within .t2-svc-icon {
  transform: scale(1.1) translateY(-2px);
}

/* i. תפירה hero — needle + spool */
.t2-svc-hero:hover .t2-svc-icon,
.t2-svc-hero:focus-within .t2-svc-icon {
  transform: scale(1.08) translateY(-2px);
}

/* Re-trigger accent stroke draw on hover for all revealed items */
.t2-svc:hover .t2-svc-icon .t2-svc-icon-accent,
.t2-svc:focus-within .t2-svc-icon .t2-svc-icon-accent {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.32s ease;
}

/*
 * Per-icon keyframe bindings — we use nth-child on the .t2-svc-grid children
 * to target each service row independently.
 */

/* i. תפירה (1st child = hero): needle accent path animates */
.t2-svc-grid li:nth-child(1):hover .t2-svc-icon .t2-svc-icon-accent,
.t2-svc-grid li:nth-child(1):focus-within .t2-svc-icon .t2-svc-icon-accent {
  animation: t2-needle-dip 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ii. כביסה (2nd child): spinning drum arc */
.t2-svc-grid li:nth-child(2):hover .t2-svc-icon .t2-svc-icon-accent:first-of-type,
.t2-svc-grid li:nth-child(2):focus-within .t2-svc-icon .t2-svc-icon-accent:first-of-type {
  animation: t2-drum-spin 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
  transform-origin: 24px 30px; /* drum centre */
}

/* iii. גיהוץ (3rd child): iron glides; steam lines rise */
.t2-svc-grid li:nth-child(3):hover .t2-svc-icon,
.t2-svc-grid li:nth-child(3):focus-within .t2-svc-icon {
  animation: t2-iron-glide 0.55s ease both;
  /* Override the generic scale transform with this animation */
  transform: none;
}
.t2-svc-grid li:nth-child(3):hover .t2-svc-icon .t2-svc-icon-accent,
.t2-svc-grid li:nth-child(3):focus-within .t2-svc-icon .t2-svc-icon-accent {
  animation: t2-steam-rise 0.6s ease both;
}
.t2-svc-grid li:nth-child(3):hover .t2-svc-icon .t2-svc-icon-accent:nth-child(2),
.t2-svc-grid li:nth-child(3):focus-within .t2-svc-icon .t2-svc-icon-accent:nth-child(2) {
  animation-delay: 0.08s;
}
.t2-svc-grid li:nth-child(3):hover .t2-svc-icon .t2-svc-icon-accent:nth-child(3),
.t2-svc-grid li:nth-child(3):focus-within .t2-svc-icon .t2-svc-icon-accent:nth-child(3) {
  animation-delay: 0.16s;
}

/* iv. בית (4th child): curtain tie-back swings */
.t2-svc-grid li:nth-child(4):hover .t2-svc-icon .t2-svc-icon-accent,
.t2-svc-grid li:nth-child(4):focus-within .t2-svc-icon .t2-svc-icon-accent {
  animation: t2-curtain-swing 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transform-origin: center;
}

/* v. שליחות (5th child): hanger hook bounces */
.t2-svc-grid li:nth-child(5):hover .t2-svc-icon .t2-svc-icon-accent:first-of-type,
.t2-svc-grid li:nth-child(5):focus-within .t2-svc-icon .t2-svc-icon-accent:first-of-type {
  animation: t2-hanger-bounce 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transform-origin: 38px 9px; /* hanger hook top anchor */
}

/* =========================================================
   REDUCED MOTION — calm all non-essential animations
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  /* Instant-reveal accents; no draw-in animation */
  .t2-svc-icon .t2-svc-icon-accent {
    stroke-dashoffset: 0 !important;
    transition: none !important;
    animation: none !important;
  }
  /* No icon motion */
  .t2-svc:not(.t2-svc-hero):hover .t2-svc-icon,
  .t2-svc:not(.t2-svc-hero):focus-within .t2-svc-icon,
  .t2-svc-hero:hover .t2-svc-icon,
  .t2-svc-hero:focus-within .t2-svc-icon {
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  /* No tag swing */
  .t2-svc:not(.t2-svc-hero):hover .t2-svc-tag,
  .t2-svc:not(.t2-svc-hero):focus-within .t2-svc-tag {
    transform: rotate(-6deg) !important;
    transition: none !important;
  }
  .t2-svc:not(.t2-svc-hero):hover .t2-svc-tag::after,
  .t2-svc:not(.t2-svc-hero):focus-within .t2-svc-tag::after {
    height: 5px !important;
    transition: none !important;
  }
  /* No accent line sweep */
  .t2-svc h3::before {
    transition: none !important;
    /* Still show it on hover — just instantly */
  }
  /* No numeral shift */
  .t2-svc:not(.t2-svc-hero):hover .t2-svc-no,
  .t2-svc:not(.t2-svc-hero):focus-within .t2-svc-no {
    transform: none !important;
    transition: none !important;
  }
  /* All per-icon keyframes off */
  .t2-svc-grid li:nth-child(1):hover .t2-svc-icon .t2-svc-icon-accent,
  .t2-svc-grid li:nth-child(1):focus-within .t2-svc-icon .t2-svc-icon-accent,
  .t2-svc-grid li:nth-child(2):hover .t2-svc-icon .t2-svc-icon-accent:first-of-type,
  .t2-svc-grid li:nth-child(2):focus-within .t2-svc-icon .t2-svc-icon-accent:first-of-type,
  .t2-svc-grid li:nth-child(3):hover .t2-svc-icon,
  .t2-svc-grid li:nth-child(3):focus-within .t2-svc-icon,
  .t2-svc-grid li:nth-child(3):hover .t2-svc-icon .t2-svc-icon-accent,
  .t2-svc-grid li:nth-child(3):focus-within .t2-svc-icon .t2-svc-icon-accent,
  .t2-svc-grid li:nth-child(4):hover .t2-svc-icon .t2-svc-icon-accent,
  .t2-svc-grid li:nth-child(4):focus-within .t2-svc-icon .t2-svc-icon-accent,
  .t2-svc-grid li:nth-child(5):hover .t2-svc-icon .t2-svc-icon-accent:first-of-type,
  .t2-svc-grid li:nth-child(5):focus-within .t2-svc-icon .t2-svc-icon-accent:first-of-type {
    animation: none !important;
    transform: none !important;
  }
}

/* mobile: shrink icons to keep layout tidy */
@media (max-width: 640px) {
  .t2-svc:not(.t2-svc-hero) {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 0 10px;
  }
  .t2-svc-hero {
    grid-template-columns: 40px minmax(0, 1fr) 40px !important;
    gap: 0 10px !important;
  }
  .t2-svc-icon,
  .t2-svc-hero .t2-svc-icon {
    width: 38px;
    height: 38px;
  }
}

/* --- atelier (V2): minimal frame around shared machines --- */
.t2-atelier { padding: 0 0 64px; border-bottom: 1px solid var(--hair); margin-bottom: 56px; }
.t2-machine-slot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 32px;
}
.t2-machine-slot:empty::before {
  content: "טוען את המכונות…";
  font-family: var(--mono);
  font-size: 12px;
  /* use --ink-3-aa: status text on kraft needs >= 4.5:1 */
  color: var(--ink-3-aa);
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
}

/* --- price list (v2) --- */
.t2-pricing { padding: 0 0 64px; border-bottom: 1px solid var(--hair); margin-bottom: 56px; }
.t2-price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1.4px solid var(--ink);
}
.t2-price-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 120px 140px;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px dotted var(--hair-2);
  align-items: baseline;
}
.t2-pl-no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.t2-pl-name {
  font-family: var(--display);
  font-size: 1.16rem;
  color: var(--ink);
}
.t2-pl-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: end;
}
.t2-pl-price b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.55rem;
  color: var(--ink);
  line-height: 1;
}
.t2-pl-price i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  /* use --ink-3-aa: small mono text on kraft needs >= 4.5:1 */
  color: var(--ink-3-aa);
  margin-top: 4px;
}
.t2-pl-time {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  /* use --ink-3-aa: small mono text on kraft needs >= 4.5:1 */
  color: var(--ink-3-aa);
  text-align: end;
}

/* --- v2 before/after — clip-path based, smoother --- */
.t2-evidence { padding: 0 0 64px; border-bottom: 1px solid var(--hair); margin-bottom: 56px; }
.t2-fab {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 420 / 320;
  border: 1.6px solid var(--ink);
  background: var(--kraft);
  overflow: hidden;
  user-select: none;
  --split: 50%;
}
.t2-fab-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.t2-fab-layer svg { width: 100%; height: 100%; display: block; }
.t2-fab-before { z-index: 1; }
.t2-fab-after  {
  z-index: 2;
  clip-path: polygon(var(--split) 0, 100% 0, 100% 100%, var(--split) 100%);
  /* in RTL the "after" reveals from right; visually "after" stays on the side past the split */
}
.t2-fab-label {
  position: absolute;
  top: 12px;
  margin: 0;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--kraft);
  pointer-events: none;
}
.t2-fab-before .t2-fab-label { inset-inline-start: 16px; }
.t2-fab-after  .t2-fab-label { inset-inline-end: 16px; background: var(--red); }
.t2-fab-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  background: var(--ink);
  transform: translateX(-1px);
  pointer-events: none;
  z-index: 3;
}
.t2-fab-divider::before, .t2-fab-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 28px;
  height: 28px;
  background: var(--kraft);
  border: 1.6px solid var(--ink);
  transform: translateX(-50%) rotate(45deg);
}
.t2-fab-divider::before { top: 50%; margin-top: -14px; }
.t2-fab-divider::after { display: none; }
.t2-fab-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
  margin: 0;
}
/* show focus indicator on the visible container when the hidden range is focused.
   :has() is well-supported in all modern browsers. */
.t2-fab:has(.t2-fab-range:focus-visible) {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

/* --- final CTA — fabric label / clothing tag treatment --- */
.t2-final-cta {
  position: relative;
  text-align: center;
  padding: 0 24px 72px;
  background: var(--kraft);
  color: var(--ink);
  margin: 0;
  /* outer ink rules top & bottom */
  border-top: 1.4px solid var(--ink);
  border-bottom: 1.4px solid var(--ink);
  overflow: hidden;
}

/* inner dashed stitched border — the "sewn label" frame */
.t2-final-cta::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed var(--ink-3);
  pointer-events: none;
  z-index: 0;
}

/* tilted red accent tag — small strip in the corner, like a care label */
.t2-final-cta::after {
  content: "TOFERET";
  position: absolute;
  top: 28px;
  inset-inline-start: -2px;
  padding: 5px 14px 5px 18px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--kraft);
  transform: rotate(-6deg) translateY(-6px);
  transform-origin: left center;
  z-index: 1;
  pointer-events: none;
}

/* stamp accent — sits top-right as a tasteful corner motif */
.t2-cta-stamp-wrap {
  position: absolute;
  top: 14px;
  inset-inline-end: 24px;
  width: clamp(54px, 8vw, 82px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  transform: rotate(8deg);
  mix-blend-mode: multiply;
}
.t2-cta-stamp-wrap img { width: 100%; height: auto; display: block; }

/* inner content container — sits above the pseudo-element layers */
.t2-final-cta-inner {
  position: relative;
  z-index: 2;
  padding-top: 64px;
}

.t2-final-cta h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.06;
  color: var(--ink);
}

/* thin red rule under heading — like a single stitch accent line */
.t2-final-cta h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: var(--red);
  margin: 14px auto 0;
}

.t2-final-cta p {
  margin: 0 auto 40px;
  max-width: 52ch;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.t2-final-cta .t2-cta {
  margin-bottom: 0;
  justify-content: center;
}
.t2-final-cta .t2-btn {
  padding: 16px 28px;
  font-size: 1.1rem;
}
.t2-final-cta .t2-btn-tel {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink);
}
.t2-final-cta .t2-btn-tel:hover {
  background: var(--ink);
  color: var(--kraft);
  border-color: var(--ink);
}

/* --- t2 footer --- */
.t2-bottom {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto 28px;
  padding-top: 24px;
}
.t2-bottom-line {
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  /* use --ink-3-aa: 15px mono on kraft needs >= 4.5:1 */
  color: var(--ink-3-aa);
  text-align: center;
}
/* removed opacity: 0.75 — it dropped effective contrast to ~2.9:1; --ink-3-aa gives 5.06:1 */
.t2-bottom-fine { font-size: 13px; color: var(--ink-3-aa); }

/* --- footer brand wordmark (small echo of masthead) --- */
.t2-bottom-brand {
  font-family: var(--display);
  font-size: 1.04rem;
  letter-spacing: -0.01em;
}
.t2-foot-word-1 {
  color: var(--ink);
  font-family: var(--display);
  position: relative;
  display: inline-block;
}
.t2-foot-word-1::after {
  content: "";
  position: absolute;
  inset-inline-start: 6%;
  bottom: 4%;
  width: 18%;
  height: 3px;
  background: var(--red);
}
.t2-foot-word-2 {
  color: var(--ink-2);
  font-family: var(--display);
}
.t2-foot-amp {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.8em;
  color: var(--red);
  margin: 0 0.15em;
}

/* --- sticky mobile CTA bar --- */
.t2-sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  border-top: 1.4px solid var(--red);
}

.t2-sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  /* ensure min 44px tap target height (WCAG 2.5.8) */
  min-height: 44px;
  padding: 14px;
  font-family: var(--display);
  font-size: 1.04rem;
  border-bottom: 0;
  text-decoration: none;
}
.t2-sticky-wa { background: var(--red); color: var(--kraft); }
.t2-sticky-tel { background: var(--ink); color: var(--kraft); border-inline-start: 1px solid rgba(241,233,212,0.18); }
.t2-sticky-btn:hover { color: var(--kraft); border-bottom: 0; }

@media (min-width: 720px) {
  .t2-sticky-cta { display: none; }
}

/* --- v2 responsive --- */
@media (max-width: 980px) {
  .t2-mast, .t2-main, .t2-bottom { width: min(100% - 32px, 1180px); }
  .t2-branch-grid { grid-template-columns: 1fr; gap: 28px; }
  .t2-machine-slot { grid-template-columns: 1fr; gap: 40px; }
  .t2-price-list li {
    grid-template-columns: 28px 1fr;
    grid-template-areas: "no name" ".  price" ".  time";
    gap: 6px 14px;
  }
  .t2-pl-no { grid-area: no; }
  .t2-pl-name { grid-area: name; }
  .t2-pl-price { grid-area: price; align-items: flex-start; text-align: start; flex-direction: row; gap: 10px; align-self: start; }
  .t2-pl-price b { font-size: 1.3rem; }
  .t2-pl-time { grid-area: time; text-align: start; }
}

@media (max-width: 640px) {
  .t2-main { margin-top: 24px; padding-bottom: 80px; /* space for sticky cta */ }
  .t2-badges { grid-template-columns: 1fr; }
  .t2-badges span { border-inline-end: 0; border-bottom: 1px dotted var(--hair-2); padding: 14px; }
  .t2-badges span:last-child { border-bottom: 0; }
  /* docket rows: tighten gutter and hero padding on small screens */
  .t2-svc { grid-template-columns: 40px minmax(0, 1fr); gap: 0 14px; padding: 22px 10px 22px 0; }
  .t2-svc-hero { padding: 28px 20px; gap: 0 14px; grid-template-columns: 40px minmax(0, 1fr); }
  .t2-branch-list div { grid-template-columns: 1fr; gap: 2px; }
  .t2-cta { flex-direction: column; align-items: stretch; }
  .t2-btn { justify-content: center; }
  .t2-wordmark { gap: 0; }
  .t2-amp { margin: 2px 0; }
  /* machine control panel: single-column layout already set above; just ensure
     the canvas never overflows its frame on narrow single-column layout */
  .machine-frame { max-width: 100%; }
  .machine-frame canvas { max-width: 100%; }
}

/* 400px and below: tightest side margins to prevent any horizontal scroll */
@media (max-width: 400px) {
  .t2-mast, .t2-main, .t2-bottom { width: min(100% - 24px, 1180px); }
  .t2-mast-row { font-size: 13px; gap: 8px 14px; }
  /* action buttons: full width, easier to tap */
  .t2-branch-actions { gap: 10px; }
  .t2-action { padding: 12px 14px; }
}
