/* Firenze /products page. Loaded after styles.css, scoped to .products-page. */
@font-face { font-family: 'Fz Display'; src: url('../fonts/products/playfair-display-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fz Display'; src: url('../fonts/products/playfair-display-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Fz Sans'; src: url('../fonts/products/jost-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Fz Sans'; src: url('../fonts/products/jost-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Fz Body'; src: url('../fonts/products/libre-baskerville-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }

.products-page {
  --paper: #faf6ee; --cream: #f1e9da; --ink: #1d1712; --muted: #6f6355;
  --green: #014f30; --forest: #0b2c20; --red: #9c1428; --wine: #4d0a15; --brass: #b8975a;
  --display: 'Fz Display', 'Playfair Display', Georgia, serif;
  --sans: 'Fz Sans', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Fz Body', 'Libre Baskerville', Georgia, serif;
  --gutter: clamp(20px, 4.2vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  display: block;
  height: auto;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html:has(.products-page) { height: auto; scroll-behavior: auto; }
.products-page .page-wrapper { display: block; }
.products-page main { display: block; }
.products-page h1, .products-page h2, .products-page h3 { font-weight: 400; margin: 0; }
.products-page p, .products-page dl, .products-page dd, .products-page ol, .products-page ul { margin: 0; padding: 0; }
.products-page ol, .products-page ul { list-style: none; }
.products-page em { font-style: italic; }
.products-page :focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* nav overrides for this page */
.products-page .logo-text { font-family: var(--display); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.9rem); font-weight: 400; letter-spacing: -.012em; } /* Playfair Display Italic, like the home page's "Made for the world…" line */
.products-page .logo-img { height: 40px; }
.products-page .navbar { padding: .85rem var(--gutter); }
.products-page .navbar:not(.scrolled):not(.menu-open) .logo-img { filter: brightness(0) invert(1); }

.fz-wrap { max-width: 1520px; margin: 0 auto; padding: 0 var(--gutter); }
.fz-eyebrow { font: 500 .76rem/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--green); }
.fz-eyebrow--light { color: rgba(255, 255, 255, .78); }
.fz-display { font-family: var(--display); font-size: clamp(2.7rem, 7.2vw, 7.2rem); line-height: 1.02; letter-spacing: -.02em; color: #fff; }
.fz-display--ink { color: var(--ink); }
.fz-display em, .fz-hero__title em, .fz-cta__title em { color: inherit; }

.fz-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 2.1rem; border-radius: 999px; font: 500 .84rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.fz-btn:hover { transform: translateY(-2px); }
.fz-btn--light { background: #fff; color: var(--wine); }
.fz-btn--light:hover { background: var(--cream); }
.fz-btn--ink { background: var(--ink); color: var(--paper); }
.fz-btn--ink:hover { background: var(--red); }
.fz-link { font: 400 1rem/1.2 var(--sans); letter-spacing: .03em; text-decoration: none; padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .45s var(--ease); }
.fz-link:hover { background-size: 35% 1px; }
.fz-link--light { color: #fff; }

/* word reveal */
.fz-w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .16em .18em .16em; margin: -.08em -.16em -.18em -.16em; }
.fz-w > span { display: inline-block; will-change: transform; }
.js [data-reveal] { opacity: 0; }

/* HERO */
.fz-hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--wine); color: #fff; }
.fz-hero__img, .fz-hero__canvas { position: absolute; inset: -6% 0 0; width: 100%; height: 106%; object-fit: cover; display: block; }
.fz-hero__canvas { opacity: 0; transition: opacity 1s linear; }
.fz-hero__canvas.on { opacity: 1; }
.fz-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 3, 8, .5) 0, rgba(30, 3, 8, .05) 28%, rgba(30, 3, 8, .22) 55%, rgba(24, 2, 6, .82) 100%); }
.fz-hero__inner { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) clamp(26px, 4.5vh, 52px); max-width: 1680px; margin: 0 auto; }
/* Until products.js slides the hero text in, keep it hidden (set in the page head), so it doesn't show, vanish and then
   animate in. If the script is very late or fails, it simply appears after 5s. */
.fz-intro .fz-hero__title, .fz-intro [data-hero-fade] { visibility: hidden; animation: fz-show 0s 5s forwards; }
@keyframes fz-show { to { visibility: visible; } }
.fz-hero__title { font-family: var(--display); font-size: clamp(3rem, 8.6vw, 9.2rem); line-height: .99; letter-spacing: -.025em; margin: 1.1rem 0 clamp(1.5rem, 3.6vh, 2.6rem) !important; max-width: 13.5em; }
.fz-hero__foot { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.fz-hero__foot > p { max-width: 30em; font-size: .98rem; line-height: 1.7; color: rgba(255, 255, 255, .86); }
.fz-hero__cta { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.fz-hero__scroll { position: absolute; top: 15vh; right: var(--gutter); width: 1px; height: 84px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.fz-hero__scroll span { position: absolute; inset: 0; background: #fff; animation: fz-drop 2.4s var(--ease) infinite; }
@keyframes fz-drop { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* STATEMENT */
.fz-statement { position: relative; padding: clamp(110px, 17vh, 200px) 0 clamp(70px, 10vh, 120px); background: var(--paper); }
.fz-thread { position: absolute; z-index: 5; top: 0; left: 0; width: 100%; pointer-events: none; overflow: hidden; }
.fz-thread__knot path { stroke-linecap: round; stroke-width: 1.8; }
.fz-thread__knot .halo { stroke: var(--paper); stroke-width: 4.6; stroke-linecap: butt; }
.fz-thread path { fill: none; stroke: var(--red); stroke-width: 1.7; stroke-linejoin: round; }
.fz-statement__text { position: relative; font-family: var(--display); font-size: clamp(2rem, 4.5vw, 4.7rem); line-height: 1.16; letter-spacing: -.015em; max-width: min(17em, 76%); margin: clamp(60px, 12vh, 150px) 0 0 !important; }
.fz-statement__text .fz-sw, .fz-statement__lead .fz-sw { transition: none; }
/* the brand line above the statement, in the thread's red; kept to the text's column so the thread passes to its right.
   Its words brighten with the scroll like the statement's (data-words). */
.fz-statement__lead { position: relative; max-width: min(30em, 76%); margin: clamp(60px, 12vh, 150px) 0 0 !important; font: italic 400 clamp(1.2rem, 2.2vw, 2.25rem)/1.3 var(--display); letter-spacing: -.01em; color: var(--red); }
@media (max-width: 759px) { .fz-statement__lead { max-width: 88%; font-size: min(1.2rem, 5.6vw); } } /* two lines on phones; the thread runs further right here */
.fz-statement__lead + .fz-statement__text { margin-top: clamp(1.1rem, 2.4vh, 1.8rem) !important; }
.fz-proof { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(70px, 12vh, 140px) !important; border-top: 1px solid rgba(29, 23, 18, .18); }
.fz-proof > div { padding: 1.6rem 1.8rem 0 0; }
.fz-proof > div + div { padding-left: 1.8rem; border-left: 1px solid rgba(29, 23, 18, .18); }
.fz-proof dt { font: 500 .74rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.fz-proof dd { font-family: var(--display); font-size: clamp(3.2rem, 6.4vw, 6.6rem); line-height: 1; margin: 1.3rem 0 1rem; color: var(--green); letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.fz-proof p { font-size: .92rem; line-height: 1.65; color: var(--muted); max-width: 24em; }

/* THE RACK */
.fz-rack { background: var(--cream); }
.fz-rack__stage { position: relative; height: 100vh; min-height: 640px; overflow: hidden; background: radial-gradient(120% 90% at 50% 18%, #fbf6ec 0, #f2eadb 55%, #e4d9c5 100%); --rail: 172px; }
/* The colour glow behind the open garment. Drawn as a soft radial gradient, not a blurred shape: a 90px blur filter this
   size is costly to paint, and Chrome sometimes dropped it for a moment (the colour blinked off while the garment stayed open).
   --tint is registered so the colour still fades smoothly from one garment to the next. */
@property --tint { syntax: '<color>'; inherits: true; initial-value: #e8dec8; }
.fz-rack__glow { --tint: #e8dec8; position: absolute; top: calc(4% - 180px); left: 0; width: calc(56vw + 360px); height: calc(92% + 360px); margin-left: calc(-28vw - 180px); border-radius: 50%; background: radial-gradient(closest-side, var(--tint) 0%, var(--tint) 36%, color-mix(in srgb, var(--tint) 84%, transparent) 52%, color-mix(in srgb, var(--tint) 50%, transparent) 68%, color-mix(in srgb, var(--tint) 16%, transparent) 84%, transparent 100%); opacity: .3; transition: --tint .7s linear, opacity .7s linear; will-change: transform; pointer-events: none; }
/* empty hangers on the rail while the garments' photos are still loading (slow connections only; js: showWait) */
.fz-rack__wait { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .45s linear; }
.fz-rack__wait.on { opacity: 1; }
.fz-rack__hanger { position: absolute; display: block; transform-origin: 50% 2%; animation: fz-hang 1.6s ease-in-out infinite alternate; }
.fz-rack__hanger img { display: block; width: 100%; height: auto; filter: drop-shadow(6px 8px 6px rgba(60, 42, 20, .18)); }
@keyframes fz-hang { from { opacity: .45; transform: rotate(-2.5deg); } to { opacity: 1; transform: rotate(2.5deg); } }
.fz-rack__wait p { position: absolute; left: 0; right: 0; margin: 0; text-align: center; font: 500 .74rem/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); animation: fz-breathe 1.6s ease-in-out infinite alternate; }
@keyframes fz-breathe { from { opacity: .45; } to { opacity: 1; } }
/* follow mode (the default; products.html?rack=classic turns it off): which part of the rack is on screen; click or drag to move */
/* while the rack scrolls at an edge, the pointer is an arrow pointing the way it moves, drawn like the rack's arrow buttons */
.fz-rack__stage.pan-l, .fz-rack__stage.pan-l * { cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='44'><circle cx='22' cy='22' r='20' fill='%23faf6ee' fill-opacity='.94' stroke='%231d1712' stroke-opacity='.4'/><path d='M30 22H14M19 17l-5 5 5 5' fill='none' stroke='%231d1712' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") 22 22, w-resize; }
.fz-rack__stage.pan-r, .fz-rack__stage.pan-r * { cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='44'><circle cx='22' cy='22' r='20' fill='%23faf6ee' fill-opacity='.94' stroke='%231d1712' stroke-opacity='.4'/><path d='M14 22h16M25 17l5 5-5 5' fill='none' stroke='%231d1712' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") 22 22, e-resize; }
.fz-rack__scroll { position: absolute; z-index: 5; left: var(--gutter); right: var(--gutter); bottom: 4px; height: 14px; cursor: pointer; touch-action: none; }
.fz-rack__scroll::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: rgba(29, 23, 18, .1); }
.fz-rack__scroll span { position: absolute; left: 0; top: 6px; height: 2px; border-radius: 2px; background: rgba(29, 23, 18, .55); transition: height .2s, top .2s; will-change: transform; }
.fz-rack__scroll:hover span { top: 5px; height: 4px; }
.fz-rack__scroll[hidden] { display: none; }
.fz-rack__head { position: absolute; z-index: 3; top: 82px; left: var(--gutter); right: var(--gutter); display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.fz-rack__title { font-family: var(--display); font-size: clamp(2.2rem, 3.3vw, 3.2rem); line-height: 1; margin-top: .4rem !important; letter-spacing: -.01em; }
.fz-rack__tabs { display: flex; gap: .3rem; flex-wrap: wrap; }
.fz-rack__tabs button { min-height: 40px; padding: 0 1.15rem; border: 0; border-radius: 999px; background: transparent; font: 500 .74rem/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--ink); cursor: pointer; transition: background-color .3s, color .3s; }
.fz-rack__tabs button:hover { background: rgba(29, 23, 18, .08); }
.fz-rack__tabs button.on { background: var(--ink); color: var(--paper); }
.fz-rail { position: absolute; z-index: 1; top: var(--rail); left: -2%; right: -2%; height: 9px; margin-top: -4.5px; border-radius: 9px; background: linear-gradient(180deg, #f3e2b7 0, #c9a767 38%, #8a6a35 78%, #6d5228 100%); box-shadow: 0 16px 22px -6px rgba(70, 50, 20, .36); }
.fz-rack__track { position: absolute; z-index: 2; top: var(--rail); left: 0; right: 0; height: 0; } /* each garment has its own perspective (js render) so both sides of the open one look alike */
.garment { position: absolute; top: calc(var(--gh) * -.0308); left: 0; width: calc(var(--gh) * .7692); height: var(--gh); transform-origin: 50% 3.08%; will-change: transform; }
.garment button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.garment__swing { display: block; width: 100%; height: 100%; transform-origin: 50% 3.08%; will-change: transform; }
.garment img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(18px 22px 16px rgba(60, 42, 20, .22)); user-select: none; -webkit-user-drag: none; }
.garment__swing { position: relative; }
.garment .garment__soft { position: absolute; inset: 0; filter: none; pointer-events: none; } /* softened copy for striped photos, see rack() */
.fz-rack__foot { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: 22px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 1rem; pointer-events: none; }
.fz-rack__foot a, .fz-rack__foot button { pointer-events: auto; }
.fz-rack__count { font: 500 .82rem/1 var(--sans); letter-spacing: .14em; color: var(--ink); }
.fz-rack__count small { display: block; margin-top: .6rem; font: 400 .78rem/1.2 var(--sans); letter-spacing: .03em; color: var(--muted); }
.fz-rack__info { text-align: center; padding: 1.5rem 2.8rem 1.7rem; border-radius: 22px; background: rgba(248, 242, 231, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.fz-rack__meta { font: 500 .8rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.fz-rack__name { font-family: var(--display); font-size: clamp(1.9rem, 2.7vw, 2.8rem); line-height: 1.15; margin: .6rem 0 1.75rem !important; white-space: nowrap; }
.fz-rack__info .fz-btn { min-height: 50px; padding: 0 2.2rem; font-size: .8rem; }
.fz-rack__swap { animation: fz-swap .5s var(--ease); }
@keyframes fz-swap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fz-rack__side { justify-self: end; display: flex; align-items: flex-end; gap: 1.2rem; }
/* desktop: the "As worn" photo sits inside the card, left of the text; garments without one show the text centred */
/* Desktop: a fixed-size card with the photo on the left. Every garment keeps the same layout (the name shrinks
   to fit one line, see fitName() in js), so "Request this style" never moves while hovering along the rack. */
.fz-rack__info { display: flex; align-items: center; gap: 2rem; padding: 1.1rem 3rem 1.1rem 1.1rem; text-align: left; }
.fz-rack__text { width: 27rem; display: flex; flex-direction: column; align-items: flex-start; }
.fz-rack__meta, .fz-rack__name { max-width: 100%; white-space: nowrap; overflow: hidden; }
.fz-rack__name { --fs: clamp(1.9rem, 2.7vw, 2.8rem); font-size: var(--fs); line-height: calc(var(--fs) * 1.15); }
.fz-rack__worn { position: relative; flex: none; margin: 0; width: 132px; height: 176px; }
.fz-rack__worn[hidden] { display: block; visibility: hidden; }
.fz-rack__worn img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; border-radius: 14px; box-shadow: 0 10px 22px -10px rgba(40, 28, 12, .45); background: var(--cream); }
.fz-rack__worn figcaption { position: absolute; left: 8px; bottom: 8px; padding: 2px 7px; border-radius: 4px; background: rgba(20, 15, 10, .62); color: #fff; font: 500 .6rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.fz-rack__arrows { display: flex; gap: .4rem; }
.fz-rack__arrows button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(29, 23, 18, .35); background: transparent; font-size: 1rem; color: var(--ink); cursor: pointer; transition: background-color .3s, color .3s; }
.fz-rack__arrows button:hover { background: var(--ink); color: var(--paper); }

/* no-JS fallback: a simple scrolling row */
.products-page:not(.rack-live) .fz-rack__stage { height: auto; overflow-x: auto; padding-top: 170px; }
.products-page:not(.rack-live) .fz-rack__track { position: static; height: auto; display: flex; gap: 1rem; padding: 0 var(--gutter); }
.products-page:not(.rack-live) .garment { position: static; flex: 0 0 260px; height: 338px; }
.products-page:not(.rack-live) .fz-rail, .products-page:not(.rack-live) .fz-rack__foot { display: none; }
.products-page:not(.rack-live) .fz-rack__head { position: absolute; }

/* RANGE */
.fz-range { position: relative; padding: clamp(100px, 16vh, 190px) 0 clamp(80px, 12vh, 150px); background: var(--forest); color: #fff; }
.fz-range__head { margin-bottom: clamp(50px, 9vh, 100px); }
.fz-range__head .fz-display { margin-top: 1rem; }
.fz-range__list { border-top: 1px solid rgba(255, 255, 255, .22); }
.fz-range__list li { border-bottom: 1px solid rgba(255, 255, 255, .22); }
.fz-range__list a { display: grid; grid-template-columns: 70px minmax(0, 1.25fr) minmax(0, 1fr); align-items: baseline; gap: 1.5rem; padding: clamp(1.4rem, 3vh, 2.2rem) 0; color: #fff; text-decoration: none; transition: padding-left .55s var(--ease), color .35s; }
.fz-range__list .n { font: 500 .8rem/1 var(--sans); letter-spacing: .14em; color: rgba(255, 255, 255, .6); }
.fz-range__list h3 { font-family: var(--display); font-size: clamp(1.9rem, 4.3vw, 4.3rem); line-height: 1.08; letter-spacing: -.012em; }
.fz-range__list p { font-size: .95rem; line-height: 1.65; color: rgba(255, 255, 255, .74); max-width: 30em; }
.fz-range__list img { display: none; }
.fz-range__float { position: fixed; z-index: 30; top: 0; left: 0; width: min(22vw, 320px); aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; pointer-events: none; opacity: 0; transform: scale(.86); transition: opacity .35s linear; box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .55); }
.fz-range__float.on { opacity: 1; }
.fz-range__float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s linear; }
.fz-range__float img.on { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .fz-range__list:hover a { color: rgba(255, 255, 255, .42); }
  .fz-range__list a:hover { padding-left: 1.6rem; color: #fff; }
}

/* STITCH STUDIO */
.fz-studio { padding: clamp(100px, 15vh, 180px) 0; background: var(--paper); }
.fz-studio__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.fz-studio__swatch { position: relative; aspect-ratio: 1 / 1.08; border-radius: 22px; overflow: hidden; background: var(--red); box-shadow: 0 40px 70px -34px rgba(60, 12, 20, .55); }
.fz-studio__swatch canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .6s linear; } /* fades in once the knit is built (studio in products.js) */
.fz-studio__swatch canvas.on { opacity: 1; }
.fz-studio__wait { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .4s linear; } /* "Knitting your swatch…" while the knit is built */
.fz-studio__wait.on { opacity: 1; }
.fz-studio__wait::before { content: ''; position: absolute; inset: 0 -60%; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .17) 50%, transparent 62%); transform: translateX(-45%); }
.fz-studio__wait.on::before { animation: fz-knitting 1.9s ease-in-out infinite; }
@keyframes fz-knitting { to { transform: translateX(45%); } }
.fz-studio__wait span { position: relative; padding: .6rem 1.05rem; border-radius: 999px; background: rgba(250, 246, 238, .92); color: var(--ink); font: 500 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; animation: fz-breathe 1.3s ease-in-out infinite alternate; }
.fz-studio__tag { position: absolute; left: 18px; bottom: 18px; padding: .5rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font: 500 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.fz-studio__panel .fz-display { margin: .9rem 0 1.1rem; font-size: clamp(2.7rem, 5.6vw, 5.6rem); }
.fz-studio__lead { font-size: 1rem; line-height: 1.7; color: var(--muted); max-width: 32em; }
.fz-field { margin-top: 1.7rem; }
.fz-field__row { display: flex; justify-content: space-between; align-items: baseline; }
.fz-field label, .fz-field__label { display: block; font: 500 .74rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.fz-field output { font: italic 400 1.15rem/1 var(--display); color: var(--red); }
.fz-field input[type=range] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 30px; margin: .5rem 0 0; background: transparent; cursor: grab; }
.fz-field input[type=range]::-webkit-slider-runnable-track { height: 2px; background: var(--ink); }
.fz-field input[type=range]::-moz-range-track { height: 2px; background: var(--ink); }
.fz-field input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; box-sizing: border-box; width: 24px; height: 24px; margin-top: -11px; border-radius: 50%; background: var(--red); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--red); }
.fz-field input[type=range]::-moz-range-thumb { box-sizing: border-box; width: 24px; height: 24px; border-radius: 50%; background: var(--red); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--red); }
.fz-field__ticks { position: relative; height: 1em; margin-top: .6rem; font: 400 .78rem/1 var(--sans); color: var(--muted); }
.fz-field__ticks span { position: absolute; top: 0; left: calc(12px + (100% - 24px) * var(--t)); transform: translateX(-50%); }
.fz-field__ticks span:nth-child(1) { --t: 0; }
.fz-field__ticks span:nth-child(2) { --t: .2; }
.fz-field__ticks span:nth-child(3) { --t: .4; }
.fz-field__ticks span:nth-child(4) { --t: .6; }
.fz-field__ticks span:nth-child(5) { --t: .8; }
.fz-field__ticks span:nth-child(6) { --t: 1; }
.fz-field__note { margin-top: .7rem !important; min-height: 1.6em; font-size: .9rem; line-height: 1.6; color: var(--muted); }
.fz-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .7rem; }
.fz-chips button { min-height: 42px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid rgba(29, 23, 18, .32); background: transparent; color: var(--ink); font: 400 .92rem/1 var(--sans); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.fz-chips button[aria-checked=true] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fz-colors { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .7rem; }
.fz-colors button { width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid rgba(29, 23, 18, .18); cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; }
.fz-colors button[aria-checked=true] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); transform: scale(.92); }
#studioCta { margin-top: 2rem; }

/* PROCESS */
.fz-process { padding: clamp(100px, 15vh, 180px) 0 clamp(50px, 8vh, 90px); background: var(--ink); color: #fff; }
.fz-process__head { margin-bottom: clamp(50px, 8vh, 90px); }
.fz-process__head .fz-display { margin-top: 1rem; max-width: 11em; }
.fz-steps { position: relative; }
.fz-step { position: sticky; top: calc(84px + var(--i, 0) * 16px); display: grid; grid-template-columns: 1.25fr 1fr; min-height: min(66vh, 580px); margin-bottom: 44px; border-radius: 22px; overflow: hidden; background: #f4eddf; color: var(--ink); will-change: transform; transform-origin: 50% 0; }
.fz-step img { width: 100%; height: 0; min-height: 100%; object-fit: cover; object-position: 50% 20%; display: block; } /* height 0 + min-height 100%: fills the card without a portrait photo stretching it */
.fz-step > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.6rem, 3.6vw, 3.6rem); }
.fz-step span { font-family: var(--display); font-style: italic; font-size: clamp(2.6rem, 5vw, 5rem); color: var(--red); line-height: 1; margin-bottom: .9rem; }
.fz-step h3 { font-family: var(--display); font-size: clamp(2rem, 3.6vw, 3.6rem); line-height: 1.08; margin-bottom: .9rem !important; }
.fz-step p { font-size: 1rem; line-height: 1.7; color: var(--muted); max-width: 30em; }
.fz-step__list { margin-top: clamp(1.3rem, 2.8vh, 2rem) !important; border-top: 1px solid rgba(29, 23, 18, .16); }
.fz-step__list li { position: relative; padding: .78rem 0 .78rem 1.5rem; border-bottom: 1px solid rgba(29, 23, 18, .16); font: 400 1.02rem/1.35 var(--sans); color: var(--ink); }
.fz-step__list li::before { content: ''; position: absolute; left: 2px; top: 1.28rem; width: .85rem; height: 2px; background: var(--red); }

/* CERTS */
.fz-certs { background: var(--red); color: #fff; padding: 2.4rem 0 2.8rem; overflow: hidden; }
.fz-marquee { white-space: nowrap; }
.fz-marquee > div { display: inline-flex; animation: fz-marquee 44s linear infinite; }
.fz-marquee span { font-family: var(--display); font-style: italic; font-size: clamp(2.4rem, 5.4vw, 5.2rem); line-height: 1.2; padding-right: .9em; position: relative; }
.fz-marquee span::after { content: ''; position: absolute; right: .36em; top: 54%; width: .17em; height: .17em; border-radius: 50%; background: rgba(255, 255, 255, .55); }
@keyframes fz-marquee { to { transform: translateX(-50%); } }
.fz-certs__row { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.4rem; }
.fz-certs__row p { font-size: .98rem; line-height: 1.6; color: rgba(255, 255, 255, .9); }

/* LOOKBOOK */
.fz-look { padding: clamp(100px, 15vh, 180px) 0 clamp(70px, 10vh, 130px); background: #14100c; color: #fff; overflow: hidden; }
.fz-look__head { margin-bottom: clamp(50px, 8vh, 90px); }
.fz-look__head .fz-display { margin-top: 1rem; }
.fz-look__wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.3vw, 20px); padding: 0 clamp(10px, 1.3vw, 20px); overflow: hidden; }
.fz-look__col { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(10px, 1.3vw, 20px); will-change: transform; }
.fz-look__col[data-speed] { transform: translateY(90px); }
.fz-look__col button { display: block; padding: 0; border: 0; background: #2a241d; border-radius: 12px; overflow: hidden; cursor: zoom-in; }
.fz-look__col img { display: block; width: 100%; height: auto; transition: transform 1.1s var(--ease); }
.fz-look__col button:hover img { transform: scale(1.05); }
.fz-light { padding: 0; border: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: rgba(12, 9, 6, .94); color: #fff; }
.fz-light[open] { display: flex; align-items: center; justify-content: center; }
.fz-light::backdrop { background: rgba(12, 9, 6, .94); }
.fz-light img { max-height: 90vh; max-width: min(86vw, 640px); border-radius: 10px; }
.fz-light button { position: absolute; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: rgba(0, 0, 0, .3); color: #fff; font-size: 1.2rem; cursor: pointer; }
.fz-light__close { top: 20px; right: 20px; }
.fz-light__nav[data-d="-1"] { left: 20px; }
.fz-light__nav[data-d="1"] { right: 20px; }

/* CTA */
.fz-cta { position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--wine); color: #fff; text-align: center; }
.fz-cta > img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; }
.fz-cta::after { content: ''; position: absolute; inset: 0; background: rgba(36, 4, 10, .58); }
.fz-cta__inner { position: relative; z-index: 2; padding: 90px var(--gutter); }
.fz-cta__title { font-family: var(--display); font-size: clamp(3.2rem, 9.8vw, 10.5rem); line-height: 1; letter-spacing: -.025em; margin: 1.3rem 0 2.6rem !important; }
.fz-cta__row { display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .fz-proof { grid-template-columns: repeat(2, 1fr); }
  .fz-proof > div { padding-bottom: 2.4rem; border-bottom: 1px solid rgba(29, 23, 18, .18); }
  .fz-proof > div:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 899px) {
  .fz-hero__scroll { display: none; }
  .fz-thread { height: 150px; }
  .fz-rack__stage { height: auto; min-height: 0; padding: var(--rail) 0 26px; --rail: 214px; }
  .fz-statement__text { max-width: 84%; }
  .fz-rack__track { height: var(--track-h, 460px); position: relative; top: 0; touch-action: pan-y; }
  /* phones: the swing is applied to the garment itself (js render), so the inner element needs no layer of its own;
     the two glow layers cross-fade by opacity only (no gradient repaint while swiping) */
  .garment__swing { will-change: auto; }
  .fz-rack__glow { transition: opacity .7s linear; will-change: transform, opacity; }
  .fz-rack__head { flex-direction: column; align-items: flex-start; gap: .9rem; top: 72px; }
  /* the row runs to both screen edges, fades where more buttons are hidden, and keeps the active one in view (js: tabEdges, showTab) */
  .fz-rack__tabs { flex-wrap: nowrap; gap: .45rem; overflow-x: auto; width: calc(100% + 2 * var(--gutter)); max-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l, 0px), #000 calc(100% - var(--fade-r, 0px)), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l, 0px), #000 calc(100% - var(--fade-r, 0px)), transparent 100%); }
  .fz-rack__tabs.fade-l { --fade-l: 40px; }
  .fz-rack__tabs.fade-r { --fade-r: 56px; }
  .fz-rack__tabs::-webkit-scrollbar { display: none; }
  .fz-rack__tabs button { flex: none; white-space: nowrap; min-height: 38px; padding: 0 1rem; border: 1px solid rgba(29, 23, 18, .2); background: rgba(255, 255, 255, .4); font-size: .7rem; letter-spacing: .12em; }
  .fz-rack__tabs button.on { border-color: var(--ink); background: var(--ink); }
  .fz-rack__foot { position: relative; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter); grid-template-columns: 1fr auto; margin-top: 10px; }
  .fz-rack__count { display: none; }
  /* phone: photo beside the details and name; the button shares the last row with the arrows.
     Details and name always take two lines' room, so the button stays put. */
  .fz-rack__foot { grid-template-columns: 84px minmax(0, 1fr) auto; column-gap: 1rem; row-gap: 0; }
  .fz-rack__info, .fz-rack__text { display: contents; }
  .fz-rack__worn { grid-column: 1; grid-row: 1 / span 2; align-self: center; width: 84px; height: 112px; }
  .fz-rack__worn img { border-radius: 10px; }
  .fz-rack__worn figcaption { left: 5px; bottom: 5px; padding: 1px 5px; font-size: .52rem; }
  .fz-rack__meta { grid-column: 2 / -1; grid-row: 1; align-self: end; white-space: normal; min-height: 2.6em; display: flex; align-items: flex-end; }
  .fz-rack__name { grid-column: 2 / -1; grid-row: 2; align-self: start; white-space: normal; --fs: 1.75rem; min-height: calc(var(--fs) * 2.3); margin: .35rem 0 0 !important; }
  .fz-rack__info .fz-btn { grid-column: 1 / span 2; grid-row: 3; justify-self: start; align-self: center; margin-top: 1.1rem; min-height: 48px; padding: 0 1.7rem; font-size: .76rem; }
  .fz-rack__side { grid-column: 3; grid-row: 3; align-self: center; margin-top: 1.1rem; }
  .fz-range__list a { grid-template-columns: 34px minmax(0, 1fr) 96px; grid-template-rows: auto auto; column-gap: .9rem; row-gap: .4rem; align-items: start; }
  .fz-range__list .n { grid-row: 1; padding-top: .5rem; }
  .fz-range__list h3 { grid-column: 2; }
  .fz-range__list p { grid-column: 2; grid-row: 2; font-size: .88rem; }
  .fz-range__list img { display: block; grid-column: 3; grid-row: 1 / span 2; width: 96px; height: auto; border-radius: 8px; }
  .fz-range__float { display: none; }
  .fz-step { top: calc(72px + var(--i, 0) * 10px); grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: 0; margin-bottom: 28px; }
  .fz-step img { height: 30vh; height: 30svh; min-height: 0; }
  .fz-step > div { padding: 1.3rem 1.3rem 1.5rem; justify-content: flex-start; }
  .fz-step span { margin-bottom: .5rem; font-size: 2.3rem; }
  .fz-step h3 { font-size: 1.85rem; margin-bottom: .45rem !important; }
  .fz-step p { font-size: .9rem; line-height: 1.55; }
  .fz-step__list { margin-top: .85rem !important; }
  .fz-step__list li { padding: .48rem 0 .48rem 1.3rem; font-size: .9rem; }
  .fz-step__list li::before { top: .98rem; width: .7rem; }
  .fz-look__wall { grid-template-columns: repeat(2, 1fr); }
  .fz-look__col[data-speed] { transform: translateY(64px); }
}
@media (max-width: 760px) {
  /* Stitch Studio fits one phone screen so the swatch and controls are seen together */
  .fz-studio { padding: 78px 0 52px; }
  .fz-studio__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .fz-studio__panel { display: contents; }
  .fz-studio__panel .fz-eyebrow { order: 1; }
  .fz-studio__panel .fz-display { order: 2; font-size: 2.15rem; margin: .3rem 0 .65rem; }
  .fz-studio__lead, .fz-field__note { display: none; }
  .fz-studio__swatch { order: 3; position: sticky; top: 68px; z-index: 2; height: clamp(150px, 25vh, 230px); height: clamp(150px, 25svh, 230px); aspect-ratio: auto; border-radius: 14px; box-shadow: 0 16px 28px -18px rgba(60, 12, 20, .6); }
  .fz-studio__tag { left: 10px; bottom: 10px; font-size: .66rem; }
  .fz-field { order: 4; margin-top: .8rem; }
  .fz-field input[type=range] { margin-top: .15rem; }
  .fz-chips { gap: .35rem; margin-top: .45rem; }
  .fz-chips button { min-height: 36px; padding: 0 .8rem; font-size: .84rem; }
  .fz-colors { flex-wrap: nowrap; gap: .4rem; margin-top: .45rem; }
  .fz-colors button { width: 34px; height: 34px; flex: 0 0 34px; }
  #studioCta { order: 5; margin-top: 1.05rem; width: 100%; min-height: 48px; }
}
@media (max-width: 560px) {
  .products-page .logo-text { font-size: 1.12rem; }
  .fz-hero__title { font-size: clamp(2.85rem, 13.4vw, 4.4rem); }
  .fz-hero__foot > p { font-size: .9rem; }
  .fz-proof dd { font-size: 3.1rem; }
  .fz-proof > div + div { padding-left: 1.1rem; }
  .fz-proof > div { padding-right: .8rem; }
  .fz-proof p { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  .fz-studio__wait.on::before, .fz-studio__wait span { animation: none; }
  .fz-marquee > div, .fz-hero__scroll span { animation: none; }
  .fz-step { position: relative; top: auto; }
  .js [data-reveal] { opacity: 1; }
}
