/* Kainchi Tailoring House: indigo, linen and saffron, with dhaka-red accents. Bodoni Moda for display, Work Sans for text.
   Stitched (dashed) borders and tape-measure rules. */
:root {
  --linen: #f5f0e6; --linen2: #ebe3d3; --card: #fffdf8; --indigo: #1c2541; --indigo2: #2b3763; --indigo3: #3d4a7d; --ink: #161b2d; --ink2: #434a63; --muted: #7a7f92;
  --saffron: #e39b2d; --saffron-d: #c17f15; --madder: #b8452e; --madder-l: #f6e1d9; --green: #2f7d5b;
  --line: rgba(22, 27, 45, .13); --line2: rgba(22, 27, 45, .24);
  --r: 6px; --r-l: 14px;
  --head: 'Bodoni Moda', 'Didot', Georgia, serif; --body: 'Work Sans', 'Segoe UI', system-ui, sans-serif;
  --shadow: 0 24px 50px -30px rgba(28, 37, 65, .5);
  --stitch: 1.5px dashed rgba(22, 27, 45, .28);
  --tape: repeating-linear-gradient(90deg, var(--saffron) 0 1px, transparent 1px 10px), repeating-linear-gradient(90deg, var(--saffron) 0 1.5px, transparent 1.5px 50px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--linen); color: var(--ink); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--saffron-d); outline-offset: 3px; }
.wrap { width: min(1220px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 12px; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums lining-nums; }

h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; margin: 0; line-height: 1.04; letter-spacing: -.01em; }
.h1 { font-size: clamp(2.8rem, 6.8vw, 5.8rem); font-weight: 500; line-height: .96; }
.h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 500; }
.h3 { font-size: 1.5rem; }
.h1 i, .h2 i { font-style: italic; color: var(--madder); }
.label { display: inline-flex; align-items: center; gap: 10px; font: 600 .74rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--saffron-d); }
.label::before { content: ""; width: 34px; height: 8px; background: var(--tape); background-size: auto; border-top: 1px solid var(--saffron); }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: var(--ink2); max-width: 56ch; }
.tape-rule { height: 16px; border-top: 1.5px solid var(--saffron); background: var(--tape); opacity: .8; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 0; border: 1.5px solid var(--indigo); background: var(--indigo); color: #fff; font: 600 .9rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { background: var(--indigo2); box-shadow: 4px 4px 0 var(--saffron); }
.btn.saffron { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.btn.saffron:hover { box-shadow: 4px 4px 0 var(--indigo); }
.btn.ghost { background: transparent; color: var(--indigo); }
.btn.ghost:hover { background: var(--indigo); color: #fff; }
.btn.light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: .8rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.link { color: var(--madder); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* header */
.topbar { background: var(--indigo); color: #cfd4e6; font-size: .86rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 14px; align-items: center; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: var(--saffron); text-decoration: none; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4fd18b; display: inline-block; margin-right: 8px; box-shadow: 0 0 0 3px rgba(79, 209, 139, .2); }
.dot.off { background: var(--madder); box-shadow: 0 0 0 3px rgba(184, 69, 46, .25); }
.nav { position: sticky; top: 0; z-index: 40; background: rgba(245, 240, 230, .96); backdrop-filter: blur(10px); border-bottom: var(--stitch); }
.nav .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand b { font: 600 1.6rem/1 var(--head); letter-spacing: .01em; }
.brand small { display: block; font: 600 .62rem/1.2 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 10px 12px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink2); position: relative; }
.nav-links a:hover { color: var(--indigo); }
.nav-links a[aria-current="page"] { color: var(--indigo); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; border-bottom: 1.5px dashed var(--madder); }
.burger { display: none; width: 46px; height: 46px; border: 1.5px solid var(--indigo); background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; margin-left: auto; }
.burger span { width: 18px; height: 1.5px; background: var(--indigo); transition: .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* sections */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec.tight { padding-block: clamp(44px, 6vw, 76px); }
.indigo { background: var(--indigo); color: #e7e9f2; }
.indigo .lead, .indigo .muted { color: #b7bdd6; }
.indigo .h2 i { color: var(--saffron); }
.linen2 { background: var(--linen2); }
.dhaka-band { height: 34px; background-color: var(--madder); background-image: conic-gradient(from 45deg, #1d1d1f 25%, transparent 0 50%, #f3e9d8 0 75%, transparent 0); background-size: 34px 34px; background-position: 0 0; border-top: 3px solid #1d1d1f; border-bottom: 3px solid #1d1d1f; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(30px, 5vw, 54px); }
.sec-head > div { max-width: 720px; }
.sec-head .h2 { margin-top: 14px; }
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 46px); }
.page-head .h1 { margin-top: 18px; }
.page-head .lead { margin-top: 18px; }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(84vh, 760px); }
.hero-text { background: var(--indigo); color: #fff; padding: clamp(40px, 6vw, 90px) clamp(20px, 5vw, 70px); display: flex; flex-direction: column; justify-content: center; position: relative; }
.hero-text .label { color: var(--saffron); }
.hero-text h1 { margin: 20px 0; }
.hero-text h1 i { color: var(--saffron); }
.hero-text .lead { color: #c8cde2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-img { position: relative; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img .tag { position: absolute; right: 20px; bottom: 20px; background: var(--linen); padding: 14px 16px; border: var(--stitch); outline: 6px solid var(--linen); font-size: .9rem; max-width: 260px; }
.hero-img .tag b { display: block; font-family: var(--head); font-size: 1.2rem; }
.hero-stats { display: flex; gap: 30px; margin-top: 38px; padding-top: 24px; border-top: 1px dashed rgba(255, 255, 255, .3); flex-wrap: wrap; }
.hero-stats b { display: block; font: 500 2.2rem/1 var(--head); color: var(--saffron); }
.hero-stats span { font-size: .86rem; color: #b7bdd6; }

/* garment cards */
.garments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gcard { background: var(--card); border: var(--stitch); padding: 22px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; transition: transform .2s, box-shadow .2s; position: relative; }
.gcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gcard .who { font: 600 .7rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.gcard h3 { font-size: 1.5rem; }
.gcard p { margin: 0; font-size: .94rem; color: var(--ink2); }
.gcard .from { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; font-size: .86rem; color: var(--muted); }
.gcard .from b { font: 600 1.35rem/1 var(--head); color: var(--ink); }
.gcard svg { width: 54px; height: 54px; color: var(--indigo); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.split > * { min-width: 0; }
.photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.photo.tall { aspect-ratio: 4 / 5; }
.framed { position: relative; padding: 14px; border: var(--stitch); background: var(--card); }
.steps4 { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps4 li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-top: 1px dashed var(--line2); counter-increment: s; }
.steps4 li::before { content: counter(s, decimal-leading-zero); font: 500 2rem/1 var(--head); color: var(--saffron-d); }
.steps4 b { display: block; font-family: var(--head); font-size: 1.25rem; font-weight: 600; }
.steps4 span { color: var(--ink2); font-size: .95rem; }
.indigo .steps4 li { border-top-color: rgba(255, 255, 255, .2); }
.indigo .steps4 li::before { color: var(--saffron); }
.indigo .steps4 span { color: #b7bdd6; }

/* swatches drawn in CSS: --c1..--c3 set per fabric */
.sw { width: 100%; aspect-ratio: 1; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); background: var(--c1); }
.sw.slub { background: repeating-linear-gradient(90deg, var(--c1) 0 3px, var(--c2) 3px 4px, var(--c1) 4px 9px, var(--c2) 9px 9.5px); }
.sw.stripe { background: repeating-linear-gradient(90deg, var(--c1) 0 9px, var(--c2) 9px 12px); }
.sw.check { background: repeating-linear-gradient(90deg, transparent 0 14px, var(--c3) 14px 16px), repeating-linear-gradient(0deg, var(--c1) 0 14px, var(--c2) 14px 18px); }
.sw.herring { background: repeating-linear-gradient(45deg, var(--c1) 0 4px, var(--c2) 4px 8px); background-size: 16px 100%; }
.sw.dhaka { background-color: var(--c1); background-image: conic-gradient(from 45deg, var(--c2) 25%, transparent 0 50%, var(--c3) 0 75%, transparent 0); background-size: 18px 18px; }
.sw.brocade { background-color: var(--c1); background-image: radial-gradient(var(--c2) 22%, transparent 24%), radial-gradient(var(--c2) 12%, transparent 14%); background-size: 22px 22px, 22px 22px; background-position: 0 0, 11px 11px; }
.fabrics { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.fab { background: var(--card); border: var(--stitch); padding: 12px; display: grid; gap: 8px; text-align: left; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.fab:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fab b { font-family: var(--head); font-size: 1.1rem; font-weight: 600; }
.fab span { font-size: .84rem; color: var(--muted); }
.fab .pr { font-weight: 600; color: var(--ink); font-size: .92rem; }
.fab[aria-pressed="true"] { border: 2px solid var(--indigo); box-shadow: 4px 4px 0 var(--saffron); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters button { min-height: 40px; padding: 0 16px; border: 1px solid var(--line2); background: var(--card); cursor: pointer; font-weight: 500; }
.filters button[aria-pressed="true"] { background: var(--indigo); color: #fff; border-color: var(--indigo); }

/* order builder */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: start; padding-bottom: clamp(60px, 8vw, 110px); }
.builder > * { min-width: 0; }
.panel { background: var(--card); border: var(--stitch); padding: clamp(20px, 3vw, 32px); }
.step-h { display: flex; align-items: baseline; gap: 14px; margin: 34px 0 14px; padding-top: 24px; border-top: 1px dashed var(--line2); }
.step-h:first-child { margin-top: 0; padding-top: 0; border: 0; }
.step-h span { font: 500 2rem/1 var(--head); color: var(--saffron-d); }
.step-h h2 { font-size: 1.6rem; }
.gpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.opt { text-align: left; display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line2); background: var(--linen); cursor: pointer; transition: border-color .15s; }
.opt b { font-family: var(--head); font-size: 1.1rem; font-weight: 600; }
.opt span { font-size: .84rem; color: var(--muted); }
.opt[aria-pressed="true"] { border: 2px solid var(--indigo); background: #fff; box-shadow: 3px 3px 0 var(--saffron); }
.opt:disabled { opacity: .4; cursor: not-allowed; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid > * { min-width: 0; }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
.full { grid-column: 1 / -1; }
.inp { display: grid; gap: 7px; font: 600 .76rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); }
.inp input, .inp select, .inp textarea { min-height: 50px; width: 100%; border: 1px solid var(--line2); border-radius: 0; background: var(--linen); padding: 0 14px; font: 400 16px/1.4 var(--body); letter-spacing: 0; text-transform: none; color: var(--ink); }
.inp textarea { min-height: 96px; padding: 12px 14px; resize: vertical; }
.inp input:focus, .inp select:focus, .inp textarea:focus { outline: none; border-color: var(--indigo); background: #fff; box-shadow: 3px 3px 0 var(--saffron); }
.inp small { font: 400 .8rem/1.3 var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.inp .unit { position: relative; }
.inp .unit input { padding-right: 46px; }
.inp .unit::after { content: "cm"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font: 500 .85rem/1 var(--body); text-transform: none; letter-spacing: 0; color: var(--muted); }
.err { color: var(--madder); font-weight: 600; min-height: 1.4em; margin: 10px 0 0; font-size: .95rem; }
[aria-invalid="true"] { border-color: var(--madder) !important; box-shadow: 3px 3px 0 var(--madder) !important; }
button[aria-busy="true"] { cursor: progress; opacity: .8; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.chk input { width: 20px; height: 20px; accent-color: var(--indigo); flex: none; margin-top: 3px; }
.seg { display: inline-flex; border: 1.5px solid var(--indigo); flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 12px 18px; cursor: pointer; font-weight: 600; border-right: 1.5px solid var(--indigo); }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--indigo); color: #fff; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.day { flex: none; width: 68px; display: grid; justify-items: center; gap: 2px; padding: 10px 0; border: 1px solid var(--line2); background: var(--linen); cursor: pointer; scroll-snap-align: start; }
.day span { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.day b { font: 500 1.5rem/1 var(--head); }
.day[aria-pressed="true"] { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.day[aria-pressed="true"] span { color: var(--saffron); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; margin-top: 12px; }
.slot { min-height: 46px; border: 1px solid var(--line2); background: var(--linen); cursor: pointer; font-weight: 600; }
.slot[aria-pressed="true"] { background: var(--saffron); border-color: var(--saffron); }
.slot:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.summary { position: sticky; top: 100px; }
.summary h2 { font-size: 1.6rem; margin-bottom: 14px; }
.sum-sw { display: grid; grid-template-columns: 70px 1fr; gap: 14px; align-items: center; margin-bottom: 14px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line2); font-size: .95rem; }
.sum-row span:first-child { color: var(--muted); }
.sum-row span:last-child { font-weight: 600; text-align: right; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; }
.sum-total b { font: 500 2.2rem/1 var(--head); color: var(--indigo); }
.note { font-size: .86rem; color: var(--muted); margin: 12px 0 0; }

/* measuring guide */
.mguide { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: start; }
.body-svg { width: 100%; max-width: 300px; background: var(--card); border: var(--stitch); padding: 16px; }
.body-svg .figure { fill: none; stroke: var(--indigo3); stroke-width: 2; }
.body-svg .mline { stroke: var(--line2); stroke-width: 2.5; stroke-dasharray: 5 4; fill: none; transition: stroke .2s, stroke-width .2s; }
.body-svg .mline.on { stroke: var(--madder); stroke-width: 4; stroke-dasharray: none; }
.body-svg text { font: 600 11px var(--body); fill: var(--muted); }
.mhint { background: var(--madder-l); border-left: 4px solid var(--madder); padding: 12px 14px; font-size: .94rem; margin-top: 14px; }

/* tracking */
.track { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; margin: 10px 0 6px; }
.tk { position: relative; text-align: center; font-size: .8rem; font-weight: 600; color: var(--muted); padding-top: 42px; min-width: 0; }
.tk::before { content: ""; position: absolute; top: 12px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--card); border: 2px dashed var(--line2); z-index: 1; }
.tk::after { content: ""; position: absolute; top: 22px; left: 50%; width: 100%; border-top: 2px dashed var(--line2); }
.tk:last-child::after { display: none; }
.tk.done { color: var(--ink); }
.tk.done::before { background: var(--green); border: 2px solid var(--green); }
.tk.done::after { border-top: 2px solid var(--green); }
.tk.now { color: var(--indigo); }
.tk.now::before { background: var(--saffron); border: 2px solid var(--saffron-d); box-shadow: 0 0 0 5px rgba(227, 155, 45, .25); }
.order-card { background: var(--card); border: var(--stitch); }
.order-head { background: var(--indigo); color: #fff; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.order-head h2 { font-size: 1.8rem; font-weight: 500; }
.ref { font: 700 1.05rem/1 ui-monospace, Consolas, monospace; letter-spacing: .1em; background: var(--saffron); color: var(--ink); padding: 9px 12px; }
.order-body { padding: 24px; display: grid; gap: 18px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; border-top: 1px dashed var(--line2); border-left: 1px dashed var(--line2); margin: 0; }
.facts div { padding: 12px 14px; border-right: 1px dashed var(--line2); border-bottom: 1px dashed var(--line2); }
.facts dt { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 5px 0 0; font-weight: 600; }
.status-big { font: 500 2rem/1.1 var(--head); color: var(--indigo); }
.cancelled .status-big { color: var(--madder); }

/* misc */
.prices { display: grid; background: var(--card); border: var(--stitch); }
.prices div { display: flex; justify-content: space-between; gap: 14px; padding: 13px 18px; border-bottom: 1px dashed var(--line); }
.prices div:last-child { border: 0; }
.prices b { font-family: var(--head); font-weight: 600; }
.faq { border-top: 1px dashed var(--line2); }
.faq details { border-bottom: 1px dashed var(--line2); }
.faq summary { cursor: pointer; padding: 18px 0; font: 600 1.2rem/1.25 var(--head); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); color: var(--madder); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--ink2); }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mate { background: var(--card); border: var(--stitch); padding: 22px; }
.mate .av { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 600 1.3rem/1 var(--head); color: #fff; margin-bottom: 12px; }
.mate h3 { font-size: 1.3rem; }
.mate p { margin: 6px 0 0; font-size: .92rem; color: var(--muted); }
.credits { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.credit { background: var(--card); border: var(--stitch); font-size: .9rem; }
.credit img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.credit div { padding: 12px 14px; display: grid; gap: 4px; }
.credit a { overflow-wrap: anywhere; color: var(--madder); }

/* footer */
.foot { background: var(--indigo); color: #b7bdd6; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 30px; padding-block: 50px 34px; }
.foot .brand b { color: #fff; }
.foot .brand small { color: #8f96b3; }
.foot p { margin: 14px 0 0; max-width: 40ch; }
.foot h4 { color: var(--saffron); font: 600 .74rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.concept { border-top: 1px dashed rgba(255, 255, 255, .2); padding-block: 20px 26px; display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; font-size: .84rem; color: #8f96b3; }
.concept a { text-decoration: underline; }

.toast { position: fixed; z-index: 99; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; padding: 13px 20px; background: var(--indigo); color: #fff; border: 1.5px dashed var(--saffron); outline: 4px solid var(--indigo); transition: .3s; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 1080px) {
  .nav-links { position: fixed; inset: 114px 0 auto 0; flex-direction: column; background: var(--linen); padding: 6px 20px 16px; border-bottom: var(--stitch); transform: translateY(-160%); transition: transform .3s; z-index: -1; margin: 0; }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 1.05rem; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .burger { display: inline-flex; }
  .nav .btn { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-img { aspect-ratio: 16 / 10; }
  .garments { grid-template-columns: repeat(2, 1fr); }
  .builder, .mguide { grid-template-columns: 1fr; }
  .summary { position: static; }
  .body-svg { margin-inline: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .track { grid-template-columns: repeat(4, 1fr); row-gap: 14px; }
  .tk:nth-child(4)::after { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .topbar .hide-s { display: none; }
  .split, .team { grid-template-columns: 1fr; }
  .form-grid, .form-grid.three { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-img .tag { right: 12px; bottom: 12px; max-width: 200px; font-size: .82rem; }
}
@media (max-width: 480px) {
  .garments, .foot-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid.three { grid-template-columns: 1fr 1fr; }
  .brand small { display: none; }
  .fabrics { grid-template-columns: repeat(2, 1fr); }
  .track { grid-template-columns: repeat(3, 1fr); }
  .tk:nth-child(4)::after { display: block; }
  .tk:nth-child(3)::after, .tk:nth-child(6)::after { display: none; }
}

.gcard .from b, .sum-row span:last-child { white-space: nowrap; }
.gcard .from { gap: 10px; }
.sum-sw > span { display: block; }
#mVisit, #mOwn { margin-bottom: 8px; }
#orderForm .step-h { margin-top: 30px; }
