/* Atelier Art of Schneiderei — stylesheet
   Concept: the tailor's tools. Pinstripe cloth, a chalk-drafted pattern,
   and a brass tape measure that doubles as the scroll indicator. */

:root {
  /* Colour */
  --velvet: #16131A;
  --velvet-2: #221D27;
  --charcoal: #33363B;
  --charcoal-2: #2A2C31;
  --shirt: #F5F5F2;
  --linen: #EAE9E4;
  --brass: #B8935A;
  --brass-light: #D2B27E;
  --brass-ink: #7A5C2C;
  --ink: #1E1F22;
  --ink-muted: #55585E;
  --chalk: #ECE9E2;
  --chalk-muted: #B3B0AA;
  --rule-light: #CFCDC6;
  --rule-dark: #3B3740;
  --error: #9E2A2B;

  /* Type */
  --ff-display: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --ff-body: "Jost", Futura, "Century Gothic", system-ui, sans-serif;
  --fs-small: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 0.6vw + 1rem, 1.3rem);
  --fs-h3: clamp(1.4rem, 1.2vw + 1.1rem, 1.85rem);
  --fs-h2: clamp(2rem, 3vw + 1.2rem, 3.25rem);
  --fs-h1: clamp(2.4rem, 5.5vw + 1rem, 5.4rem);

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 7rem;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --container: 72rem;
  --header-h: 4.25rem;

  /* Shape */
  --radius-s: 2px;
  --radius-m: 4px;
  --radius-pill: 999px;
  --shadow-cloth: 0 24px 48px -28px rgba(22, 19, 26, 0.7);
  --shadow-card: 0 1px 0 rgba(22, 19, 26, 0.06), 0 18px 36px -24px rgba(22, 19, 26, 0.45);
  --focus: 0 0 0 3px var(--shirt), 0 0 0 5px var(--brass-ink);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 0.35s;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--space-4));
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--shirt);
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.1;
  font-optical-sizing: auto;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius-s); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: var(--space-2);
  z-index: 100;
  padding: var(--space-2) var(--space-4);
  background: var(--brass);
  color: var(--velvet);
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: var(--space-3) var(--space-5);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font: 500 1rem/1.2 var(--ff-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--brass { background: var(--brass); color: var(--velvet); }
.btn--line { border-color: var(--chalk-muted); color: var(--chalk); }
.btn--velvet { background: var(--velvet); color: var(--shirt); }
.btn--line-dark { border-color: var(--ink); color: var(--ink); background: transparent; }

.site-header .btn:focus-visible,
.hero .btn:focus-visible,
.process :focus-visible,
.site-footer :focus-visible {
  box-shadow: 0 0 0 3px var(--velvet), 0 0 0 5px var(--brass-light);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--velvet);
  color: var(--chalk);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--shirt);
}

.brand__mark { width: 2rem; height: 2rem; flex: none; }
.brand__letter { fill: none; stroke: var(--brass); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.brand__needle { fill: none; stroke: var(--chalk); stroke-width: 1.1; stroke-linecap: round; }

.brand__name {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  line-height: 1.15;
}
.brand__name-accent { display: block; font-style: italic; color: var(--brass-light); }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.6rem;
  background: transparent;
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.burger__line {
  display: block;
  height: 1.5px;
  background: var(--chalk);
  transition: transform var(--dur) var(--ease);
}
.burger[aria-expanded="true"] .burger__line:first-child { transform: translateY(4.25px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

.nav {
  position: fixed;
  inset: calc(var(--header-h) + 6px) 0 auto 0;
  background: var(--velvet);
  border-top: 1px solid var(--rule-dark);
  padding: var(--space-5) var(--gutter) var(--space-7);
  opacity: 0;
  transform: translateY(-0.75rem);
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.nav.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.nav__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.nav__link {
  display: block;
  padding: var(--space-3) 0;
  font-family: var(--ff-display);
  font-size: 1.6rem;
  text-decoration: none;
  color: var(--shirt);
  border-bottom: 1px solid var(--rule-dark);
}
.nav__link--cta { color: var(--brass-light); border-bottom: 0; }

/* Tape measure scroll indicator */
.measure {
  position: relative;
  height: 6px;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, var(--velvet) 0 1px, transparent 1px 10px) 0 0 / 100% 55% no-repeat,
    var(--brass);
}
.measure__cover {
  position: absolute;
  inset: 0;
  background: var(--velvet-2);
  transform: translateX(0%);
  will-change: transform;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--velvet);
  color: var(--chalk);
  padding-top: var(--space-7);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
}

.hero__place {
  font-size: var(--fs-small);
  color: var(--chalk-muted);
  padding-left: var(--space-5);
  position: relative;
  margin-bottom: var(--space-5);
}
.hero__place::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.9rem;
  border-top: 1px dashed var(--brass);
}

.hero__title {
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--shirt);
  max-width: 13ch;
}

.hero__lead {
  margin-top: var(--space-5);
  font-size: var(--fs-lead);
  color: var(--chalk-muted);
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

/* Pinstripe cloth with a drafted pattern */
.hero__cloth {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 34rem;
  border-radius: var(--radius-m);
  background:
    repeating-linear-gradient(90deg, transparent 0 13px, rgba(236, 233, 226, 0.16) 13px 14px),
    repeating-linear-gradient(35deg, rgba(0, 0, 0, 0.14) 0 2px, transparent 2px 4px),
    linear-gradient(160deg, var(--charcoal) 0%, var(--charcoal-2) 100%);
  box-shadow: var(--shadow-cloth);
  display: grid;
  place-items: center;
  padding: var(--space-5);
}
.hero__cloth::after {
  /* a folded selvedge along the right edge */
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 10px;
  background: repeating-linear-gradient(180deg, var(--brass) 0 3px, transparent 3px 9px);
  opacity: 0.55;
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
}

.pattern { width: 100%; height: 100%; max-width: 22rem; }
.pattern__cut { fill: rgba(236, 233, 226, 0.04); stroke: var(--chalk); stroke-width: 1.6; stroke-linejoin: round; }
.pattern__seam { fill: none; stroke: var(--chalk); stroke-width: 1; stroke-dasharray: 5 5; opacity: 0.6; }
.pattern__line { fill: none; stroke: var(--chalk); stroke-width: 1; opacity: 0.7; }
.pattern__dart { fill: none; stroke: var(--brass-light); stroke-width: 1.2; stroke-linejoin: round; }
.pattern__grain { fill: none; stroke: var(--brass-light); stroke-width: 1.1; stroke-linecap: round; }
.pattern__notch { fill: none; stroke: var(--chalk); stroke-width: 1.4; }
.pattern__button { fill: none; stroke: var(--chalk); stroke-width: 1; }
.pattern__label { fill: var(--brass-light); font-family: var(--ff-display); font-style: italic; font-size: 11px; }
.pattern__title { fill: var(--chalk); font-family: var(--ff-display); font-style: italic; font-size: 17px; }

/* Brass tape measure */
.tape {
  position: relative;
  height: 2.5rem;
  background: var(--brass);
  overflow: hidden;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3) inset;
}
.tape__roll {
  display: flex;
  height: 100%;
  width: max-content;
  background:
    repeating-linear-gradient(90deg, var(--velvet) 0 1px, transparent 1px 10px) 0 0 / 100% 28% no-repeat,
    repeating-linear-gradient(90deg, var(--velvet) 0 1px, transparent 1px 50px) 0 0 / 100% 45% no-repeat,
    repeating-linear-gradient(90deg, var(--velvet) 0 1.5px, transparent 1.5px 100px) 0 0 / 100% 62% no-repeat;
}
.tape__cm {
  flex: none;
  width: 100px;
  padding: 0 0 0.2rem 5px;
  align-self: flex-end;
  font: 600 0.8rem/1 var(--ff-body);
  color: var(--velvet);
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-8); }
.section--shirt { background: var(--shirt); }
.section--linen { background: var(--linen); }
.section--velvet { background: var(--velvet); color: var(--chalk); }

.section__title {
  font-size: var(--fs-h2);
  color: inherit;
  max-width: 18ch;
}
.section--velvet .section__title { color: var(--shirt); }

.section__intro { margin-bottom: var(--space-7); }
.section__intro p { margin-top: var(--space-4); max-width: 38rem; color: var(--ink-muted); font-size: var(--fs-lead); }
.section--velvet .section__intro p { color: var(--chalk-muted); }

/* ---------- Atelier ---------- */
.atelier__grid { display: grid; gap: var(--space-7); align-items: start; }
.atelier__text > p { margin-top: var(--space-4); max-width: 36rem; color: var(--ink); }
.atelier__text > p:first-of-type { margin-top: var(--space-5); }
.atelier__text em { font-family: var(--ff-display); font-size: 1.1em; }

.atelier__subtitle {
  margin-top: var(--space-6);
  font-size: var(--fs-h3);
}

.stitch-list { list-style: none; padding: 0; margin-top: var(--space-4); display: grid; gap: var(--space-3); max-width: 36rem; }
.stitch-list li {
  position: relative;
  padding-left: var(--space-6);
  color: var(--ink-muted);
}
.stitch-list li::before {
  /* a single running stitch */
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 1.1rem;
  border-top: 2px dashed var(--brass-ink);
}

.measure-card {
  background: var(--shirt);
  border: 1px solid var(--rule-light);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  padding: var(--space-5);
  position: relative;
}
.measure-card::before {
  /* punched hole of an order ticket */
  content: "";
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  border: 1px solid var(--rule-light);
  background: var(--linen);
}
.measure-card__head { padding-bottom: var(--space-4); border-bottom: 2px solid var(--ink); }
.measure-card__title { font-family: var(--ff-display); font-size: 1.5rem; font-style: italic; }
.measure-card__note { font-size: var(--fs-small); color: var(--ink-muted); }
.measure-card__rows { margin-top: var(--space-2); }
.measure-card__row {
  display: grid;
  grid-template-columns: minmax(6.5rem, auto) 1fr;
  align-items: end;
  gap: var(--space-3);
  padding-block: var(--space-3);
}
.measure-card__row dt { font-size: 0.95rem; color: var(--ink); }
.measure-card__row dd { margin: 0; border-bottom: 1px dotted var(--ink-muted); min-height: 1.1rem; }
.measure-card__caption {
  margin-top: var(--space-4);
  font-size: var(--fs-small);
  color: var(--brass-ink);
  font-weight: 500;
}

/* ---------- Services ---------- */
.services__list { display: grid; gap: var(--space-8); }

.service { display: grid; gap: var(--space-5); align-items: center; }

.swatch {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-m) var(--radius-m) 0 0;
  box-shadow: var(--shadow-cloth);
  /* pinking-shear edge along the bottom */
  -webkit-mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 20px 10px repeat-x;
  mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 20px 10px repeat-x;
}
.swatch__tag {
  position: absolute;
  left: var(--space-4);
  top: var(--space-4);
  padding: var(--space-1) var(--space-3);
  background: var(--shirt);
  color: var(--ink);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 0.95rem;
  border-radius: var(--radius-s);
}

.swatch--pinstripe {
  background:
    repeating-linear-gradient(90deg, transparent 0 11px, rgba(236, 233, 226, 0.22) 11px 12px),
    linear-gradient(170deg, #3A3D43, var(--charcoal-2));
}
.swatch--herringbone {
  background-color: #4A4C50;
  background-image:
    linear-gradient(135deg, #3A3C40 25%, transparent 25%),
    linear-gradient(225deg, #3A3C40 25%, transparent 25%),
    linear-gradient(315deg, #3A3C40 25%, transparent 25%),
    linear-gradient(45deg, #3A3C40 25%, transparent 25%);
  background-size: 18px 18px;
  background-position: -9px 0, -9px 0, 0 0, 0 0;
}
.swatch--velvet {
  background:
    radial-gradient(120% 80% at 30% 20%, rgba(210, 178, 126, 0.22), transparent 55%),
    radial-gradient(90% 70% at 80% 90%, rgba(0, 0, 0, 0.5), transparent 60%),
    linear-gradient(155deg, #2B2330, var(--velvet));
}

.service__title { font-size: var(--fs-h3); }
.service__body p { margin-top: var(--space-3); max-width: 34rem; color: var(--ink-muted); }
.service__points {
  list-style: none;
  padding: 0;
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.service__points li {
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--brass-ink);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  color: var(--brass-ink);
}

/* ---------- Process ---------- */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-6);
  position: relative;
}
.steps::before {
  /* the tape running down the sequence on small screens */
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 6px;
  background:
    repeating-linear-gradient(180deg, var(--velvet) 0 1px, transparent 1px 10px) 0 0 / 55% 100% no-repeat,
    var(--brass);
  border-radius: var(--radius-s);
}
.step { position: relative; padding-left: 4rem; }
.step__num {
  position: absolute;
  left: 0;
  top: -0.2rem;
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--velvet);
  border: 1px solid var(--brass);
  font-family: var(--ff-display);
  font-size: 1.3rem;
  color: var(--brass-light);
}
.step__title { font-size: 1.4rem; color: var(--shirt); }
.step p { margin-top: var(--space-2); color: var(--chalk-muted); max-width: 30rem; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: var(--space-7); }
.contact__info > p { margin-top: var(--space-4); max-width: 30rem; color: var(--ink-muted); }
.contact__address,
.contact__mail {
  margin-top: var(--space-5);
  font-style: normal;
  line-height: 1.5;
}
.contact__label {
  display: block;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--brass-ink);
  margin-bottom: var(--space-1);
}
.contact__mail a { overflow-wrap: anywhere; }

.contact__panel {
  background: var(--linen);
  border-radius: var(--radius-m);
  padding: var(--space-5);
  border-top: 4px solid var(--brass);
}

.form { display: grid; gap: var(--space-4); }
.form[hidden] { display: none; }
.field { display: grid; gap: var(--space-2); }
.field__label { font-weight: 500; }
.field__input {
  width: 100%;
  min-height: 3rem;
  padding: var(--space-3) var(--space-4);
  font: inherit;
  color: var(--ink);
  background: var(--shirt);
  border: 1px solid #8C8E93;
  border-radius: var(--radius-m);
}
.field__input:focus-visible { border-color: var(--brass-ink); }
.field__textarea { resize: vertical; min-height: 8rem; }
.field__select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1.3rem) 55%, calc(100% - 0.95rem) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.field__input[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field__error { font-size: var(--fs-small); color: var(--error); min-height: 0; }
.field__error:empty { display: none; }

.field--check {
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: var(--space-3);
  font-size: 0.95rem;
  color: var(--ink-muted);
}
.field--check .field__error { grid-column: 1 / -1; }
.field__check { width: 1.25rem; height: 1.25rem; margin: 0.2rem 0 0; accent-color: var(--brass-ink); }

.form__submit { justify-self: start; }

.form-success { display: grid; gap: var(--space-3); justify-items: start; }
.form-success[hidden] { display: none; }
.form-success__title { font-family: var(--ff-display); font-size: var(--fs-h3); }
.form-success.is-shown { animation: rise 0.5s var(--ease) both; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--velvet);
  color: var(--chalk-muted);
  padding-block: var(--space-8) var(--space-6);
}
.site-footer__grid { display: grid; gap: var(--space-6); }
.site-footer__brand { font-family: var(--ff-display); font-size: 1.5rem; color: var(--shirt); }
.site-footer__text { margin-top: var(--space-2); max-width: 26rem; }
.site-footer__nav ul { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.site-footer__nav a { color: var(--chalk); text-decoration: none; }
.site-footer__nav a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.legal-block {
  border-top: 1px solid var(--rule-dark);
  padding-top: var(--space-5);
  font-size: 0.875rem; /* 14px */
  line-height: 1.6;
  color: var(--chalk-muted); /* ~7.8:1 on velvet */
}
.legal-block__name { color: var(--chalk); font-weight: 500; }
.legal-block a { color: var(--chalk); overflow-wrap: anywhere; }
.legal-block__copy { margin-top: var(--space-3); }
.legal-block__links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-2); }

/* ---------- Legal pages ---------- */
.legal { padding-block: var(--space-8); }
.legal__article { max-width: 44rem; }
.legal__title { font-size: var(--fs-h2); }
.legal__updated { margin-top: var(--space-3); color: var(--brass-ink); font-weight: 500; }
.legal__article > p,
.legal__article ul { margin-top: var(--space-4); color: var(--ink-muted); }
.legal__article h2 { margin-top: var(--space-7); font-size: var(--fs-h3); }
.legal__article ul { padding-left: var(--space-5); }
.legal__article li + li { margin-top: var(--space-2); }
.legal__article a { color: var(--brass-ink); overflow-wrap: anywhere; }

/* ---------- 404 ---------- */
.notfound { background: var(--velvet); color: var(--chalk); }
.notfound__wrap { padding-block: var(--space-9) var(--space-8); }
.notfound__code {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(5rem, 20vw, 11rem);
  line-height: 1;
  color: var(--brass);
}
.notfound__title { margin-top: var(--space-4); font-size: var(--fs-h2); color: var(--shirt); max-width: 16ch; }
.notfound__text { margin: var(--space-4) 0 var(--space-6); max-width: 32rem; color: var(--chalk-muted); }

/* ---------- Load sequence (one orchestrated moment, CSS only so nothing flickers) ---------- */
.hero__text { animation: rise 0.8s var(--ease) 0.1s both; }
.hero__cloth { animation: fade 1s var(--ease) 0.35s both; }
.tape__roll { animation: unroll 1.4s var(--ease) 0.2s both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes unroll {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

/* ---------- Breakpoints ---------- */
@media (min-width: 480px) {
  .contact__panel { padding: var(--space-6); }
  .measure-card { padding: var(--space-6); }
  .brand__name { font-size: 1.15rem; }
}

@media (min-width: 768px) {
  .burger { display: none; }

  .nav {
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: none;
  }
  .nav__list { display: flex; align-items: center; gap: var(--space-5); }
  .nav__link {
    padding: var(--space-2) 0;
    font-family: var(--ff-body);
    font-size: 0.95rem;
    border: 0;
    color: var(--chalk);
  }
  .nav__link:hover { color: var(--brass-light); }
  .nav__link--cta {
    padding: var(--space-2) var(--space-4);
    border: 1px solid var(--brass);
    border-radius: var(--radius-pill);
    color: var(--brass-light);
  }

  .brand__name-accent { display: inline; }

  .section { padding-block: var(--space-9); }

  .hero__grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .hero__cloth { max-height: none; }

  .service { grid-template-columns: 1fr 1fr; gap: var(--space-7); }
  .service:nth-child(even) .swatch { order: 2; }

  .contact__grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; }

  .site-footer__grid { grid-template-columns: 1.4fr 0.6fr; }
  .legal-block { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .hero { padding-top: var(--space-8); }
  .hero__grid { min-height: calc(88vh - var(--header-h) - 2.5rem); padding-bottom: var(--space-8); }

  .atelier__grid { grid-template-columns: 1.2fr 0.8fr; gap: var(--space-9); }
  .measure-card { transform: rotate(1.2deg); }

  /* process becomes a horizontal tape with stations */
  .steps { grid-template-columns: repeat(5, 1fr); gap: var(--space-5); padding-top: 4.5rem; }
  .steps::before {
    left: 0;
    right: 0;
    top: 1.15rem;
    bottom: auto;
    width: auto;
    height: 8px;
    background:
      repeating-linear-gradient(90deg, var(--velvet) 0 1px, transparent 1px 10px) 0 0 / 100% 55% no-repeat,
      var(--brass);
  }
  .step { padding-left: 0; }
  .step__num { top: -4.5rem; }

  .site-footer__grid { grid-template-columns: 1.3fr 0.7fr 1.4fr; }
  .legal-block { grid-column: auto; border-top: 0; padding-top: 0; border-left: 1px solid var(--rule-dark); padding-left: var(--space-6); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .measure__cover { display: none; }
}
