/* Made to Measure page v2 (2026-11-02): fewer words, full-bleed pictures, three cloth collections. Builds on styles.css; phone first. */
.mx-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* Hero: the whole first screen */
.mx-hero { min-height: 100svh; }
.mx-hero .bg img { object-position: 50% 20%; }
.mx-hero h1 { max-width: 11ch; }
.mx-hero .lead { max-width: 34ch; }

/* The making: one suit in five moments, each picture edge to edge on phones */
.mx-make { padding-block: clamp(90px, 14vh, 170px) clamp(48px, 8vh, 100px); }
.mx-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 7vh, 80px); }
.mx-frames { list-style: none; display: grid; gap: clamp(56px, 10vh, 120px); }
.mx-frame { display: grid; gap: 22px; }
.mx-frame > * { min-width: 0; }
.mx-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); max-width: 100%; }
.mx-media video, .mx-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mx-cap { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 12px; row-gap: 8px; align-items: baseline; }
.mx-n { font-family: var(--display); font-size: .95rem; letter-spacing: .12em; color: var(--taupe); }
.mx-cap h3 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.mx-cap p { grid-column: 2; color: var(--bone); max-width: 34ch; }
.mx-toggle { margin-top: 36px; }
.mx-toggle .motion-toggle { position: static; font-family: var(--caps); font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); background: none; border: 0; border-bottom: 1px solid var(--line); padding: 12px 0 8px; min-height: 44px; cursor: pointer; }
@media (min-width: 900px) {
  .mx-frame { grid-template-columns: 7fr 5fr; align-items: center; gap: 0; }
  .mx-frame:nth-child(even) .mx-media { order: 2; }
  .mx-media { aspect-ratio: 16 / 10; }
  .mx-cap { padding-inline: clamp(32px, 5vw, 88px); }
}

/* The cloth: three collections as panels that step up in the brand colours: black, ivory, oxblood */
.mx-sub { margin-top: 22px; }
.mx-tiers { list-style: none; margin-top: clamp(40px, 7vh, 72px); display: grid; gap: 14px; }
.mx-tier { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 12px; padding: clamp(30px, 5vh, 52px) clamp(18px, 3vw, 48px); border: 1px solid var(--line); }
.mx-tier > * { min-width: 0; }
.mx-tn { font-family: var(--display); font-size: .95rem; letter-spacing: .12em; color: var(--taupe); padding-top: .9em; }
.mx-tbody { display: grid; gap: 10px; align-content: start; }
.mx-tier h3 { font-size: clamp(2.5rem, 7vw, 4.6rem); line-height: 1; }
.mx-kick { font-family: var(--caps); font-weight: 600; font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--brass); }
.mx-line { color: var(--bone); max-width: 38ch; }
.mx-mills { list-style: none; grid-column: 2; margin-top: 24px; border-top: 1px solid var(--line); }
.mx-mills li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.mx-mills li:last-child { border-bottom: 0; }
.mx-mills b { font-family: var(--display); font-weight: 400; font-size: 1.04rem; letter-spacing: .03em; }
.mx-mills span { font-size: .76rem; letter-spacing: .08em; color: var(--taupe); white-space: nowrap; }
.mx-tier.mx-ivory { background: var(--marble); color: var(--ink); border-color: var(--marble); }
.mx-ivory .mx-tn, .mx-ivory .mx-kick, .mx-ivory .mx-mills span { color: #555; }
.mx-ivory .mx-line { color: #3c3c3c; }
.mx-ivory .mx-mills, .mx-ivory .mx-mills li { border-color: rgba(10, 10, 10, .16); }
.mx-tier.mx-top { background: var(--ox); border-color: var(--ox); }
.mx-top .mx-tn, .mx-top .mx-mills span { color: var(--bone); }
.mx-top .mx-kick, .mx-top .mx-line { color: var(--ivory); }
.mx-top .mx-mills, .mx-top .mx-mills li { border-color: rgba(239, 232, 218, .24); }
.mx-note { margin-top: 30px; font-size: .9rem; color: var(--taupe); max-width: 52ch; }
@media (min-width: 900px) {
  .mx-tier { grid-template-columns: 4rem 6fr 5fr; column-gap: clamp(24px, 4vw, 64px); align-items: start; }
  .mx-mills { grid-column: 3; grid-row: 1; margin-top: .6em; }
}

/* Construction */
.mx-two { display: grid; gap: clamp(28px, 4vw, 64px); margin-top: clamp(36px, 6vh, 64px); }
.mx-two article { border-top: 1px solid rgba(10, 10, 10, .22); padding-top: 22px; display: grid; gap: 12px; align-content: start; }
.mx-two h3 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.mx-two p { max-width: 44ch; }
.ivory .mx-two .mx-in { font-family: var(--caps); font-weight: 600; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: #555; }
@media (min-width: 760px) { .mx-two { grid-template-columns: 1fr 1fr; } }

/* Timeline */
.mx-time .wrap { display: grid; gap: 22px; justify-items: start; }
.mx-big { font-family: var(--display); font-weight: 400; font-size: clamp(3.6rem, 13vw, 9.5rem); line-height: .95; letter-spacing: .02em; }
.mx-big em { font-style: normal; color: #5c5c5c; }
.mx-time .lead { max-width: 46ch; }
.mx-link { display: inline-flex; gap: 10px; align-items: center; font-family: var(--caps); font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid rgba(10, 10, 10, .4); padding: 12px 0 8px; }
.mx-link:hover { border-bottom-color: var(--ink); }

/* Lookbook: a sideways row on phones, a grid of three on wide screens */
.mx-lb .wrap { display: grid; gap: 18px; }
.mx-look { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); margin-top: clamp(32px, 5vh, 56px); scrollbar-width: none; }
.mx-look::-webkit-scrollbar { display: none; }
.mx-look:focus-visible { outline: 1px solid var(--ivory); outline-offset: 4px; }
.mx-look figure { scroll-snap-align: start; display: grid; gap: 14px; align-content: start; min-width: 0; }
.mx-look .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
.mx-look img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mx-look figcaption h3 { font-size: 1.3rem; }
.mx-look figcaption p { color: var(--bone); font-size: .88rem; }
@media (min-width: 900px) {
  .mx-look { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 26px); overflow: visible; max-width: 1360px; margin-inline: auto; }
  .mx-look figcaption h3 { font-size: 1.6rem; }
}

/* Mobile atelier (kept from v1) */
.mtm-mobile { position: relative; overflow: hidden; padding-block: clamp(110px, 18vh, 200px); }
.mtm-mobile .bg { position: absolute; inset: 0; }
.mtm-mobile .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.mtm-mobile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.8) 50%, rgba(10,10,10,.45) 100%); }
.mtm-mobile .wrap { position: relative; z-index: 2; display: grid; gap: 20px; }
.mtm-facts { list-style: none; max-width: 640px; border-top: 1px solid var(--line); margin-top: 10px; }
.mtm-facts li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mtm-facts b { font-family: var(--caps); font-weight: 600; font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--brass); padding-top: 4px; }
.mtm-facts span { color: var(--bone); }

@media (max-width: 760px) {
  .mx-cta .btn { flex: 1 1 100%; justify-content: center; }
  .mtm-facts li { grid-template-columns: 1fr; gap: 4px; }
  .mtm-mobile::after { background: linear-gradient(0deg, rgba(10,10,10,.96) 0%, rgba(10,10,10,.82) 60%, rgba(10,10,10,.6) 100%); }
  .mx-mills b { font-size: .98rem; }
}
@media (max-width: 360px) { .mx-mills li { flex-direction: column; gap: 2px; } }

/* Booking form at the end of the page (same form and email as /book) */
.mx-book { border-top: 1px solid var(--line); }
.mx-book .info { display: grid; gap: 20px; align-content: start; }
.mx-book .mono { width: 64px; margin-bottom: 8px; }
/* Signature cloth names (Moe 2026-11-03 "put them all under fine cloth"): names only, two columns on wider phones */
@media (min-width: 600px) { .mx-names { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; } .mx-names li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); } .mx-names li:last-child:nth-child(even) { border-bottom: 0; } }

/* Mill logos (Moe 2026-11-03: "go find them online"). Reserve logos are ink, Prestige logos ivory. */
.mx-logos li { align-items: center; padding: 18px 0; }
.mx-logo { display: block; max-width: 100%; height: auto; }
@media (max-width: 599px) {
  .mx-logos li { flex-direction: column; align-items: flex-start; gap: 9px; padding: 20px 0; }
}
/* Hidden chip radios are absolutely positioned; with Reduce Motion on, nothing else contains them and the page got 16px too wide */
.mx-book .chips { position: relative; }
/* Starting price under the hero line (Moe 2026-11-03: "lets put custom made-to-measure starting at $999") */
.mx-hero .mx-from { margin-top: 14px; color: var(--ivory); }
