/* Perfect Tailoring — "The tape measure": a live scroll ruler, chalk lines, a precise grid. Mobile first. */
:root {
  --surface: #F2EFEA;
  --ink: #23262B;
  --brand: #23262B;   /* charcoal panels */
  --tape: #F2C230;
  --steel: #9AA5B1;
  --cta: #D9472B;     /* reserved: primary action */
  --chalk: #F2EFEA;
  --muted: #565E68;
  --tw: 30px;         /* tape width */
  --P: 48px;          /* px per inch on the tape */
  --ny: 42vh;         /* needle position */
  --ease: cubic-bezier(.22,1,.36,1);
  --pad: clamp(1rem, 4.5vw, 3.2rem);
  --f-disp: "Oswald", "Arial Narrow", Impact, sans-serif;
  --f-body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
body { margin: 0; padding-left: var(--tw); background: var(--surface); color: var(--ink); font: 400 1rem/1.6 var(--f-body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-disp); font-weight: 600; margin: 0; line-height: .95; text-transform: uppercase; letter-spacing: .005em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 3rem; top: -100px; z-index: 100; background: var(--tape); color: var(--ink); padding: .7rem 1rem; font-weight: 900; }
.skip:focus { top: 3.2rem; }

/* THE TAPE */
.tape { position: fixed; left: 0; top: 0; bottom: 0; width: var(--tw); z-index: 60; overflow: hidden; background: var(--tape); box-shadow: inset -1px 0 0 rgba(35,38,43,.35), 2px 0 10px rgba(35,38,43,.15); }
.tape-strip { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--P) * 64); transform: translate3d(0, var(--ty, 0px), 0); will-change: transform;
  background:
    repeating-linear-gradient(to bottom, var(--ink) 0 2px, transparent 2px var(--P)) right top / 16px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--ink) 0 1.5px, transparent 1.5px calc(var(--P) / 2)) right top / 10px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--ink) 0 1px, transparent 1px calc(var(--P) / 8)) right top / 6px 100% no-repeat; }
.tape-strip span { position: absolute; left: 3px; font: 600 12px/1 var(--f-disp); color: var(--ink); transform: translateY(3px); }
.tape-strip span.ft { color: #B3261E; }
.needle { position: fixed; left: 0; top: var(--ny); z-index: 61; width: calc(var(--tw) + 4px); height: 2px; background: var(--ink); pointer-events: none; }
.needle::after { content: ""; position: absolute; right: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--chalk); }
.needle-read { display: none; }
@media (min-width: 900px) {
  :root { --tw: 54px; --P: 60px; }
  .tape-strip span { font-size: 15px; left: 6px; }
  .needle-read { display: block; position: absolute; left: 3px; bottom: 6px; padding: .1rem .3rem; background: var(--ink); color: var(--tape); font: 500 .8rem/1.3 var(--f-disp); white-space: nowrap; }
}

/* HEADER */
.hd { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 1rem; padding: .5rem var(--pad); background: var(--surface); border-bottom: 2px solid var(--ink); }
.brand { display: flex; align-items: baseline; gap: .35rem; text-decoration: none; margin-right: auto; min-height: 44px; align-items: center; font: 700 1.35rem/1 var(--f-disp); text-transform: uppercase; letter-spacing: .02em; }
.brand-t { font-weight: 300; }
.hd-nav { display: none; }
.hd-call { display: none; }
@media (min-width: 900px) {
  .hd-nav { display: flex; gap: 1.6rem; }
  .hd-nav a { font: 500 1rem var(--f-disp); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; }
  .hd-nav a:hover { border-color: var(--tape); }
  .hd-call { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 2px solid var(--ink); font: 500 1rem var(--f-disp); letter-spacing: .04em; text-decoration: none; }
}

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: .4rem 1.4rem; font: 700 1.2rem/1.1 var(--f-disp); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; cursor: pointer; border: 2px solid transparent; border-radius: 0; transition: transform .35s var(--ease), background-color .3s, color .3s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn-cta { background: var(--cta); color: #fff; }
.btn-cta:hover { background: #BF3A20; }
.btn-chalk { border-color: var(--chalk); color: var(--chalk); background: transparent; font-weight: 500; font-size: 1.05rem; }
.btn-chalk:hover { background: var(--chalk); color: var(--ink); }
.btn-ink { border-color: var(--ink); color: var(--ink); background: transparent; font-weight: 500; font-size: 1.05rem; }
.btn-ink:hover { background: var(--ink); color: var(--chalk); }
.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; }

/* PANELS + CHALK */
.panel { background: var(--brand); color: var(--chalk); background-image: repeating-linear-gradient(90deg, rgba(242,239,234,.045) 0 1px, transparent 1px calc((100% - 1px) / 12)); }
section { position: relative; padding: 3.2rem var(--pad) 4rem; scroll-margin-top: 64px; }
.inch-lbl { display: flex; align-items: center; gap: .7rem; font: 500 .95rem/1 var(--f-disp); text-transform: uppercase; letter-spacing: .14em; padding-bottom: .9rem; margin-bottom: 2rem;
  background: linear-gradient(90deg, currentColor 55%, transparent 0) left bottom / 12px 2px repeat-x; }
.inch-lbl b { font-weight: 600; background: var(--tape); color: var(--ink); padding: .3rem .55rem; letter-spacing: .06em; }
.crop { position: relative; margin: 0; }
.crop::before, .crop::after { content: ""; position: absolute; width: 22px; height: 22px; border: 2px solid var(--tape); pointer-events: none; }
.crop::before { left: -9px; top: -9px; border-right: 0; border-bottom: 0; }
.crop::after { right: -9px; bottom: -9px; border-left: 0; border-top: 0; }

/* HERO */
.hero { padding-top: 2rem; overflow: clip; }
.hero-grid { display: grid; gap: 2.4rem; }
.hero-copy { display: grid; gap: 1.2rem; align-content: start; }
.hero h1 { font-weight: 700; font-size: clamp(3.3rem, 17vw, 9.4rem); line-height: .86; display: grid; }
.hero h1 span:last-child { color: var(--tape); }
.lede { font-size: 1.1rem; max-width: 34ch; color: #E4E0D9; }
.specs { list-style: none; margin: .4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.specs li { font: 500 .9rem/1 var(--f-disp); text-transform: uppercase; letter-spacing: .1em; padding: .55rem .7rem; border: 1px dashed rgba(242,239,234,.55); }
.hero-fig { width: min(86%, 440px); justify-self: end; }
.hero-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); align-items: end; gap: 4rem; }
  .hero { min-height: calc(100vh - 100px); padding-top: 3rem; }
  .hero-fig { width: 100%; }
}

/* SERVICES */
.svc-grid { display: grid; gap: 1.4rem; }
.svc-num { font: 700 clamp(6rem, 30vw, 12rem)/.8 var(--f-disp); color: transparent; -webkit-text-stroke: 2px currentColor; opacity: .9; }
.svc-body { display: grid; gap: 1rem; align-content: start; }
.svc h2 { font-size: clamp(2.4rem, 11vw, 4.6rem); }
.svc-intro { font-size: 1.05rem; max-width: 40ch; }
.tag { justify-self: start; font: 500 .82rem/1 var(--f-disp); letter-spacing: .14em; text-transform: uppercase; padding: .4rem .6rem; border: 1.5px solid currentColor; }
.spec { width: 100%; border-collapse: collapse; }
.spec tr { border-bottom: 1.5px dashed rgba(35,38,43,.45); }
.spec tr:first-child { border-top: 2px solid currentColor; }
.spec th { text-align: left; font-weight: 400; padding: .75rem 0; }
.spec td { text-align: right; font: 500 1.1rem var(--f-disp); white-space: nowrap; padding-left: 1rem; letter-spacing: .03em; }
.panel .spec tr { border-bottom-color: rgba(242,239,234,.4); }
.svc-fig img { width: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .svc-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 2rem; align-items: start; }
  .svc-num { grid-column: 1 / 4; }
  .svc-body { grid-column: 4 / 8; }
  .svc-fig { grid-column: 9 / 13; }
  .svc-flip .svc-fig { grid-column: 1 / 5; grid-row: 1; margin-top: 7rem; }
  .svc-flip .svc-num { grid-column: 6 / 8; grid-row: 1; }
  .svc-flip .svc-body { grid-column: 8 / 13; grid-row: 1; }
}

/* FIT CHECK */
.fit-head { display: grid; gap: .8rem; margin-bottom: 2rem; }
.fit-head h2 { font-size: clamp(2.6rem, 12vw, 5.4rem); color: var(--tape); }
.fit-head p { max-width: 46ch; color: #E4E0D9; }
.fit-grid { display: grid; gap: 2rem; }
.fit-ctrl { display: grid; gap: 1.4rem; align-content: start; }
.garments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.garments button { min-height: 48px; border: 1.5px solid rgba(242,239,234,.6); background: transparent; color: var(--chalk); font: 500 1rem var(--f-disp); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; transition: background-color .3s, color .3s; }
.garments button[aria-pressed="true"] { background: var(--tape); border-color: var(--tape); color: var(--ink); }
.slider { display: grid; gap: .4rem; transition: opacity .3s; }
.slider.off { opacity: .4; }
.sl-top { display: flex; justify-content: space-between; font: 500 1rem var(--f-disp); text-transform: uppercase; letter-spacing: .06em; }
.sl-top output { color: var(--tape); font-weight: 600; }
.slider input { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; font-size: 16px; background: transparent; cursor: pointer; margin: 0; }
.slider input::-webkit-slider-runnable-track { height: 14px; background: repeating-linear-gradient(90deg, rgba(242,239,234,.7) 0 1px, transparent 1px 12.5%) 0 0 / 100% 100%, linear-gradient(rgba(242,239,234,.7), rgba(242,239,234,.7)) 0 100% / 100% 2px no-repeat; }
.slider input::-moz-range-track { height: 14px; background: repeating-linear-gradient(90deg, rgba(242,239,234,.7) 0 1px, transparent 1px 12.5%), linear-gradient(rgba(242,239,234,.7), rgba(242,239,234,.7)) 0 100% / 100% 2px no-repeat; }
.slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 34px; margin-top: -12px; background: var(--tape); border: 2px solid var(--ink); clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%); }
.slider input::-moz-range-thumb { width: 24px; height: 32px; border-radius: 0; background: var(--tape); border: 2px solid var(--ink); }
.slider input:disabled { cursor: not-allowed; }
.fit-board { display: grid; gap: 1.2rem; border: 1px dashed rgba(242,239,234,.45); padding: 1rem; }
.diagram { width: 100%; max-width: 380px; height: auto; justify-self: center; display: block; }
.g-orig { fill: none; stroke: rgba(242,239,234,.6); stroke-width: 2; stroke-dasharray: 7 6; stroke-linejoin: round; }
.g-new { fill: rgba(242,194,48,.1); stroke: var(--tape); stroke-width: 3; stroke-linejoin: round; transition: d .7s var(--ease); }
.g-notes text { font: 500 13px var(--f-disp); fill: var(--tape); letter-spacing: .04em; }
.g-notes path { stroke: var(--tape); stroke-width: 1.5; fill: none; }
.fit-est { display: grid; gap: .4rem; border-top: 1.5px dashed rgba(242,239,234,.45); padding-top: 1rem; }
.fe-lbl { font: 500 .85rem var(--f-disp); text-transform: uppercase; letter-spacing: .14em; color: #E4E0D9; }
.fe-price { font: 700 clamp(2.2rem, 9vw, 3.4rem)/1 var(--f-disp); color: var(--chalk); }
.fe-turn { color: #E4E0D9; font-size: .95rem; margin-bottom: .6rem; }
.fit-est .btn { justify-self: start; }
@media (min-width: 900px) {
  .fit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; }
  .garments { grid-template-columns: repeat(5, 1fr); }
  .fit-board { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .fit-est { border-top: 0; padding-top: 0; border-left: 1.5px dashed rgba(242,239,234,.45); padding-left: 1.4rem; }
}

/* WORKROOM */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.2rem; }
.work-grid figure { margin: 0; }
.work-grid img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.w1 { grid-column: 1 / -1; }
.w2 img { aspect-ratio: 1; }
.w3 img { aspect-ratio: 1; }
.work-grid figcaption { margin-top: .6rem; font: 500 .9rem var(--f-disp); text-transform: uppercase; letter-spacing: .16em; }
.work-cap { margin-top: 1.6rem; color: var(--muted); font-size: .92rem; }
@media (min-width: 900px) {
  .work-grid { grid-template-columns: 7fr 5fr; gap: 2rem; }
  .w1 { grid-column: 1; grid-row: span 2; }
  .w1 img { aspect-ratio: 3 / 2.4; }
  .w2 img, .w3 img { aspect-ratio: 16 / 10; }
}

/* REQUEST */
.req-grid { display: grid; gap: 2rem; }
.req h2 { font-size: clamp(2.4rem, 11vw, 4.6rem); }
.req-intro { margin-top: 1rem; color: #E4E0D9; max-width: 36ch; }
.req-form { display: grid; gap: 1.2rem; }
.fld { display: grid; gap: .35rem; font: 500 .95rem var(--f-disp); text-transform: uppercase; letter-spacing: .08em; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 50px; padding: .6rem .2rem; font: 400 1rem/1.4 var(--f-body); text-transform: none; letter-spacing: 0; color: var(--chalk); background: transparent; border: 0; border-bottom: 2px dashed rgba(242,239,234,.6); border-radius: 0; }
.fld select { background: var(--brand); }
.fld textarea { border: 2px dashed rgba(242,239,234,.6); padding: .7rem; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--tape); border-style: solid; }
.fld textarea::placeholder { color: #B9BDC4; }
.remind { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.remind legend { font: 500 .95rem var(--f-disp); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem; padding: 0; }
.remind label { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; cursor: pointer; }
.remind input { width: 20px; height: 20px; accent-color: var(--tape); }
.req-form .btn { justify-self: start; }
.confirm { padding: 1rem 1.2rem; background: rgba(242,194,48,.14); border-left: 4px solid var(--tape); font-weight: 900; }
@media (min-width: 900px) { .req-grid { grid-template-columns: 1fr 1.4fr; gap: 4rem; } .req-form { grid-template-columns: 1fr 1fr; } .req-form .wide { grid-column: 1 / -1; } }

/* VISIT */
.visit-grid { display: grid; gap: 2rem; }
.v-addr { display: grid; gap: .8rem; }
.visit h2 { font-size: clamp(2.6rem, 12vw, 6rem); font-weight: 700; }
.visit h2 span { color: var(--muted); font-weight: 300; }
.v-city { font: 300 1.6rem var(--f-disp); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .6rem; }
.hours { border: 2px solid var(--ink); padding: 1.3rem 1.4rem; position: relative; align-self: start; background: #fff; }
.hours-t { position: absolute; top: -.9rem; left: 1rem; background: var(--tape); padding: .2rem .55rem; font: 500 .82rem var(--f-disp); text-transform: uppercase; letter-spacing: .1em; }
.hours dl { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.2rem; margin: .6rem 0 0; }
.hours dd { margin: 0; text-align: right; font: 500 1.05rem var(--f-disp); }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1.5fr 1fr; align-items: end; } }

/* FOOTER */
.ft { padding: 3rem var(--pad) 2.5rem; display: grid; gap: 1rem; }
.ft-brand { font: 700 1.8rem var(--f-disp); text-transform: uppercase; color: var(--tape); }
.ft .pv-note { color: #E4E0D9; max-width: 72ch; font-size: 13px; }
.photo-credits { color: #D6D2CB; font-size: .9rem; }
.photo-credits summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 900; color: var(--chalk); }
.photo-credits ul { margin: .3rem 0 .8rem; padding-left: 1.1rem; display: grid; gap: .25rem; }

/* DOCK */
.dock { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .dock { display: grid; grid-template-columns: 1fr 1.7fr; gap: 8px; position: fixed; left: var(--tw); right: 0; bottom: 0; z-index: 50; padding: 10px 12px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 2px solid var(--ink); }
  .dock a { display: flex; align-items: center; justify-content: center; min-height: 52px; text-decoration: none; font: 700 1.2rem var(--f-disp); text-transform: uppercase; letter-spacing: .05em; }
  .dock-call { border: 2px solid var(--ink); color: var(--ink); }
  .dock-cta { background: var(--cta); color: #fff; }
}

/* REVEAL — a chalk-line wipe */
html.js [data-reveal] img { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
html.js [data-reveal].is-in img { clip-path: inset(0 0 0 0); }
.tape { animation: tape-in 1.2s var(--ease) both; }
@keyframes tape-in { from { transform: translateY(-30px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal] img { clip-path: none; }
}
