/* 05 — FABRIC NOTEBOOK — a visual textile study / international fabric exhibition (prefix fn-) */

/* ---------- shared ---------- */
.fn-weave { display: block; width: 100%; height: auto; shape-rendering: crispEdges; }
.fn-weave .bg { fill: var(--porcelain); }
.fn-weave .wp { fill: var(--ink); }
.fn-weave .wf { fill: var(--lilac); }
.s-ink .fn-weave .bg { fill: var(--ink-2); }
.s-ink .fn-weave .wp { fill: var(--citron); }
.s-ink .fn-weave .wf { fill: var(--lilac); }

/* loupe tuned to the swatch circle inside the studio renders */
.fn-loupe, .fn-zoom { position: relative; }
.fn-loupe img, .fn-zoom img { position: absolute; max-width: none; height: auto; object-fit: fill; transform: none; }
/* swatch loupe: the 3:4 render is enlarged --z times and the swatch point (--lx, --ly) is centred */
.fn-loupe { --z: 2.4; background: var(--white); }
.fn-loupe img { width: calc(var(--z) * 100%); left: calc(50% - var(--lx, 83%) * var(--z)); top: calc(50% - var(--ly, 87%) * var(--z) * 1.3333); }
.fn-zoom img { width: 260%; left: 50%; top: 50%; transform: translate(-50%, -50%); }

/* museum label */
.fn-label { display: grid; gap: 6px; margin-top: 16px; padding: 14px 16px 16px; background: var(--white); border-left: 4px solid var(--ink); box-shadow: 0 0 0 1px var(--line); max-width: 380px; }
.fn-label__no { font-family: var(--f-display); font-stretch: 62%; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: var(--fs-xs); color: var(--graphite); }
.fn-label__t { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 1.05rem; line-height: 1.2; }
.fn-label__d { font-size: var(--fs-s); color: var(--graphite); line-height: 1.5; }
.fn-label--s { margin-top: 12px; padding: 10px 12px 12px; }

.fn-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 16px; align-items: end; margin-bottom: clamp(40px, 5vw, 80px); }
.fn-head .label { grid-column: 1 / -1; color: var(--graphite); }
.fn-head .h2 { grid-column: 1 / 7; }
.fn-head__intro { grid-column: 8 / 13; color: var(--graphite); max-width: 56ch; }
.fn-head__intro strong { color: var(--ink); }
.fn-head--split .h2 { grid-column: 1 / 8; }

/* ---------- HERO ---------- */
.fn-hero { padding-top: clamp(24px, 3vw, 48px); overflow: hidden; }
.fn-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.fn-hero__meta { grid-column: 1 / 9; grid-row: 1; display: flex; gap: 14px; align-items: center; color: var(--graphite); }
.fn-hero__h { grid-column: 1 / 9; grid-row: 2; margin-top: clamp(28px, 4vw, 72px); font-family: var(--f-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: -.035em; line-height: .86; font-size: clamp(2rem, 5.1vw, 6.4rem); }
.fn-hero__h > span { display: block; }
.fn-hero__l1 { font-weight: 900; }
.fn-hero__l2 { font-weight: 200; }
.fn-hero__l3 { font-weight: 900; }
.fn-dot { color: var(--citron); -webkit-text-stroke: 2px var(--ink); }
.fn-hero__kw { margin-top: clamp(18px, 2vw, 30px); max-width: 44ch; font-stretch: 62%; font-weight: 700; letter-spacing: .14em; font-size: clamp(.8rem, .7rem + .3vw, 1rem); line-height: 1.4; padding-top: 14px; border-top: 2px solid var(--ink); }
.fn-hero__copy { grid-column: 1 / 7; grid-row: 3; margin-top: clamp(28px, 3.4vw, 56px); display: grid; gap: 18px; }
.fn-hero__copy .lead { font-weight: 500; max-width: 34ch; }
.fn-hero__copy .muted { max-width: 54ch; }
.fn-hero__fig { grid-column: 9 / 13; grid-row: 1 / 4; position: relative; margin-top: clamp(8px, 2vw, 24px); }
.fn-hero__plate { box-shadow: inset 0 0 0 1px var(--line); }
.fn-hero__loupe { position: absolute; left: calc(-1 * clamp(60px, 9vw, 150px)); top: 48%; width: clamp(130px, 15vw, 250px); }

.fn-cat { margin-top: clamp(48px, 6vw, 96px); }
.fn-cat__h { color: var(--graphite); margin-bottom: 12px; }
.fn-cat ol { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-strong); }
.fn-cat li + li { border-left: 1px solid var(--line-strong); }
.fn-cat a { display: grid; gap: 4px; padding: 16px 12px 18px; text-decoration: none; font-family: var(--f-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(.9rem, .6rem + .7vw, 1.3rem); letter-spacing: -.01em; line-height: 1; transition: background .25s; }
.fn-cat a span { font-stretch: 62%; font-weight: 600; letter-spacing: .16em; font-size: var(--fs-xs); color: var(--graphite); }
.fn-cat a:hover, .fn-cat a:focus-visible { background: var(--citron); }
.fn-cat a:hover span { color: var(--ink); }

/* ---------- ROOM 1 — weave drafts ---------- */
.fn-drafts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 56px); }
.fn-draft { display: grid; gap: 10px; align-content: start; }
.fn-draft__img { position: relative; padding: clamp(10px, 1.2vw, 18px); box-shadow: inset 0 0 0 1px var(--ink); margin-bottom: 8px; }
.fn-draft__no { color: var(--graphite); }
.fn-draft p:last-child { font-size: var(--fs-s); color: var(--graphite); max-width: 44ch; }
.fn-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 32px; color: var(--graphite); }
.fn-key { display: inline-block; width: 14px; height: 14px; }
.fn-key--wp { background: var(--ink); }
.fn-key--wf { background: var(--lilac); margin-left: 14px; }

/* ---------- EXHIBITS ---------- */
.fn-ex__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(24px, 3vw, 48px); align-items: start; }
.fn-ex__head { position: relative; display: grid; gap: 12px; }
.fn-ex__head .label { color: var(--graphite); }
.fn-ex__no { font-family: var(--f-display); font-stretch: 125%; font-weight: 200; font-size: clamp(3.4rem, 2rem + 5vw, 8rem); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.2px var(--ink); margin-bottom: 10px; }
.fn-ex__sub { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(1.05rem, .9rem + .5vw, 1.4rem); line-height: 1.2; }
.fn-ex__fig { position: relative; }
.fn-ex__loupe { position: absolute; left: calc(-1 * clamp(16px, 3vw, 48px)); bottom: 70px; width: clamp(110px, 12vw, 200px); }
.fn-ex__body { display: grid; gap: clamp(24px, 3vw, 40px); }
.fn-ex__body .prose { font-size: var(--fs-body); }
.fn-ex__mini { display: grid; gap: 8px; width: clamp(90px, 8vw, 128px); color: var(--graphite); }
.fn-ex__mini .fn-weave { box-shadow: 0 0 0 1px var(--ink); }

.fn-card { display: grid; grid-template-columns: 1fr 1fr; border-top: 3px solid var(--ink); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.fn-card div { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.fn-card div:nth-child(odd) { border-right: 1px solid var(--line); }
.fn-card div:nth-last-child(-n+2) { border-bottom: 0; }
.fn-card dt { font-family: var(--f-display); font-stretch: 62%; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: var(--fs-xs); color: var(--graphite); }
.fn-card dd { margin: 4px 0 0; font-family: var(--f-display); font-stretch: 105%; font-weight: 700; font-size: .98rem; line-height: 1.3; }
.fn-card a { text-underline-offset: 3px; }
.fn-card a:hover { background: var(--citron); }

/* F/01 cotton — text left, big plate right */
.fn-ex--cotton .fn-ex__head { grid-column: 1 / 6; grid-row: 1; }
.fn-ex--cotton .fn-ex__body { grid-column: 1 / 6; grid-row: 2; }
.fn-ex--cotton .fn-ex__fig { grid-column: 7 / 13; grid-row: 1 / 3; margin-top: clamp(24px, 6vw, 110px); }

/* F/02 poplin — plate left (smaller), text right */
.fn-ex--poplin .fn-ex__head { grid-column: 7 / 13; grid-row: 1; }
.fn-ex--poplin .fn-ex__body { grid-column: 7 / 13; grid-row: 2; }
.fn-ex--poplin .fn-ex__fig { grid-column: 2 / 6; grid-row: 1 / 3; margin-top: clamp(40px, 6vw, 120px); }
.fn-ex--poplin .fn-ex__mini { grid-column: 1 / 2; grid-row: 1; }
.fn-ex--poplin .fn-ex__loupe { left: auto; right: calc(-1 * clamp(24px, 4vw, 72px)); bottom: auto; top: -40px; }
.fn-ex--poplin .fn-label, .fn-ex--poplin .fn-card { background: var(--white); }

/* F/03 oxford — wide head, plate + body */
.fn-ex--oxford .fn-ex__head { grid-column: 1 / 13; grid-row: 1; grid-template-columns: auto 1fr; align-items: end; column-gap: clamp(16px, 3vw, 48px); }
.fn-ex--oxford .fn-ex__head > :not(.fn-ex__no) { grid-column: 2; }
.fn-ex--oxford .fn-ex__no { grid-row: 1 / 4; margin-bottom: 0; }
.fn-ex--oxford .fn-ex__fig { grid-column: 1 / 7; grid-row: 2 / 4; }
.fn-ex--oxford .fn-ex__body { grid-column: 8 / 13; grid-row: 2; }
.fn-ex--oxford .fn-ex__mini { grid-column: 8 / 10; grid-row: 3; }
.fn-ex--oxford .fn-ex__loupe { left: auto; right: calc(-1 * clamp(16px, 3vw, 48px)); bottom: 90px; }

/* F/05 blends */
.fn-ex--blends .fn-ex__head { grid-column: 7 / 13; grid-row: 1; }
.fn-ex--blends .fn-ex__body { grid-column: 7 / 13; grid-row: 2; }
.fn-ex--blends .fn-ex__fig { grid-column: 1 / 5; grid-row: 1 / 3; }
.fn-ex--blends .fn-ex__fig2 { grid-column: 5 / 7; grid-row: 2; align-self: end; }
.fn-ex--blends .fn-ex__loupe { left: auto; right: calc(-1 * clamp(16px, 3vw, 48px)); bottom: auto; top: 12%; }
.fn-ex--blends .fn-ex__fig2 .plate__cap { flex-direction: column; gap: 4px; }
.fn-blend { list-style: none; padding: 0 !important; border-top: 1px solid var(--line-strong); }
.fn-blend li { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0 !important; }

/* ---------- F/04 twill — ink ---------- */
.fn-tw__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(28px, 4vw, 56px); align-items: start; }
.fn-tw__head { grid-column: 1 / 7; grid-row: 1; display: grid; gap: 16px; }
.fn-tw__head .h2 { font-size: clamp(3.4rem, 1rem + 9vw, 11rem); line-height: .8; }
.fn-tw__lead { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(1.1rem, .9rem + .7vw, 1.6rem); color: var(--citron); line-height: 1.2; }
.fn-tw__draft { grid-column: 8 / 13; grid-row: 1 / 3; position: relative; }
.fn-tw__draft::after { content: "W/03 — TWILL, ENLARGED"; position: absolute; left: 0; bottom: -28px; font-family: var(--f-display); font-stretch: 62%; font-weight: 600; letter-spacing: .16em; font-size: var(--fs-xs); color: var(--lilac); }
.fn-tw__draft .fn-weave { box-shadow: 0 0 0 1px var(--lilac); }
.fn-tw__txt { grid-column: 1 / 7; grid-row: 2; color: var(--porcelain); }

.fn-tw__b { grid-column: 8 / 12; grid-row: 3; margin-top: clamp(24px, 3vw, 48px); }
.fn-tw__fam { grid-column: 1 / 7; grid-row: 3; margin-top: clamp(24px, 3vw, 48px); border-top: 2px solid var(--citron); }
.fn-tw__fam div { display: grid; grid-template-columns: minmax(0, 13em) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-inv); }
.fn-tw__fam dt { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; color: var(--porcelain); }
.fn-tw__fam dd { margin: 0; font-size: var(--fs-s); color: var(--lilac); }

/* ---------- F/06 textured ---------- */
.fn-tx__wall { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.fn-tx__a { grid-column: 1 / 6; position: relative; }
.fn-tx__b { grid-column: 7 / 10; margin-top: clamp(48px, 8vw, 150px); }
.fn-tx__c { grid-column: 10 / 13; margin-top: clamp(8px, 2vw, 32px); }
.fn-tx__loupe { position: absolute; right: calc(-1 * clamp(20px, 3.4vw, 56px)); top: 20%; width: clamp(110px, 12vw, 190px); }
.fn-tx__terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px var(--gap); margin-top: clamp(56px, 7vw, 112px); }
.fn-tx__terms div { border-top: 2px solid var(--ink); padding-top: 12px; }
.fn-tx__terms dt { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 1.1rem; letter-spacing: -.005em; }
.fn-tx__terms dd { margin: 8px 0 0; font-size: var(--fs-s); color: var(--graphite); }

/* ---------- ROOM 2 — measures ---------- */
.fn-meas { border-top: 1px solid var(--line-strong); }
.fn-meas__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.fn-meas__list li { display: grid; gap: 10px; align-content: start; padding: 24px clamp(16px, 2vw, 32px) 32px 0; border-bottom: 1px solid var(--line-strong); }
.fn-meas__list li:not(:nth-child(3n+1)) { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.fn-meas__n { font-family: var(--f-display); font-stretch: 125%; font-weight: 200; font-size: clamp(3rem, 2rem + 3vw, 5.4rem); line-height: .8; letter-spacing: -.04em; }
.fn-meas__list p { font-size: var(--fs-s); color: var(--graphite); max-width: 46ch; }
.fn-meas__try { padding-top: 10px; border-top: 1px dashed var(--line-strong); }
.fn-meas__try .label { color: var(--ink); margin-right: 4px; }

/* ---------- ROOM 3 — matrix ---------- */
.fn-mx__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 16px; align-items: end; margin-bottom: clamp(32px, 4vw, 64px); }
.fn-mx__head .label { grid-column: 1 / -1; color: var(--graphite); }
.fn-mx__head .h2 { grid-column: 1 / 8; }
.fn-mx__note { grid-column: 8 / 13; font-size: var(--fs-s); color: var(--graphite); }
.fn-mx__note .chip { margin-right: 6px; }
.fn-mx__t { width: 100%; border-collapse: collapse; }
.fn-mx__t th, .fn-mx__t td { text-align: left; padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line-strong); vertical-align: middle; }
.fn-mx__t thead th { border-bottom: 2px solid var(--ink); font-family: var(--f-display); font-stretch: 62%; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: var(--fs-xs); padding-block: 12px; }
.fn-mx__t thead th:not(:first-child) span:first-child { float: left; }
.fn-mx__t thead th:not(:first-child) span:last-child { float: right; }
.fn-mx__t tbody th { width: 26%; font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1rem, .9rem + .5vw, 1.35rem); line-height: 1.15; }
.fn-mx__t tbody th .code { display: block; margin-bottom: 4px; }
.fn-mx__t td { width: 24.6%; }
.fn-track { position: relative; display: block; height: 16px; background: linear-gradient(var(--ink), var(--ink)) 0 50% / 100% 1px no-repeat; }
.fn-track::before, .fn-track::after { content: ""; position: absolute; top: 3px; bottom: 3px; width: 1px; background: var(--ink); left: 0; }
.fn-track::after { left: auto; right: 0; }
.fn-track i { position: absolute; left: var(--p); top: 50%; width: 16px; height: 16px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--ink); box-shadow: 0 0 0 4px var(--citron); }
.fn-mx__w { display: block; margin-top: 8px; font-size: var(--fs-xs); color: var(--graphite); }

/* ---------- ROOM 4 — seasons ---------- */
.fn-sea__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(28px, 4vw, 56px); align-items: start; }
.fn-sea__head { grid-column: 1 / -1; display: grid; gap: 16px; }
.fn-sea__head .label { color: var(--graphite); }
.fn-sea__txt { grid-column: 1 / 7; }
.fn-sea__txt h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; }
.fn-sea__plates { grid-column: 8 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.fn-sea__a { grid-column: 1 / -1; width: 78%; justify-self: end; }
.fn-sea__c { margin-top: 48px; }
.fn-sea__plates .plate__cap { flex-direction: column; gap: 4px; }

/* ---------- F/07 care — ink ---------- */
.fn-care__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(32px, 4vw, 56px); align-items: start; }
.fn-care__head { grid-column: 1 / 8; display: grid; gap: 16px; }
.fn-care__lead { color: var(--lilac); max-width: 56ch; }
.fn-care__steps { grid-column: 1 / 8; grid-row: 2; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 3vw, 48px); border-top: 2px solid var(--citron); }
.fn-care__steps li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line-inv); }
.fn-care__n { font-family: var(--f-display); font-stretch: 125%; font-weight: 200; font-size: 2.8rem; line-height: .8; color: var(--citron); }
.fn-care__steps p { font-size: var(--fs-s); color: var(--lilac); margin-top: 6px; }
.fn-care__dur { grid-column: 9 / 13; grid-row: 1 / 3; display: grid; gap: 18px; }
.fn-dur { list-style: none; display: grid; gap: 10px; font-size: var(--fs-s); color: var(--lilac); }
.fn-dur li { padding-left: 18px; position: relative; }
.fn-dur li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--citron); }
.fn-dur strong { color: var(--porcelain); }

/* ---------- next ---------- */
.fn-next__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; align-items: start; }
.fn-next__h { grid-column: 1 / 5; font-family: var(--f-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 1rem + 3.4vw, 4.6rem); line-height: .88; letter-spacing: -.025em; }
.fn-next__list { grid-column: 5 / 13; list-style: none; display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); column-gap: var(--gap); }
.fn-next__list a { display: grid; gap: 4px; padding: 14px 8px 14px 0; border-bottom: 1px solid var(--line-strong); text-decoration: none; font-family: var(--f-display); font-stretch: 105%; font-weight: 700; line-height: 1.2; transition: background .2s, padding .3s var(--ease); }
.fn-next__list a:hover, .fn-next__list a:focus-visible { background: var(--citron); padding-left: 10px; }
.fn-next__visit { grid-column: 5 / 13; font-size: var(--fs-s); color: var(--graphite); max-width: 70ch; }
.fn-next__visit a { color: var(--ink); text-underline-offset: 3px; }

/* ================= responsive ================= */
@media (max-width: 1100px) {
  .fn-cat ol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fn-cat li:nth-child(5) { border-left: 0; }
  .fn-cat li:nth-child(n+5) { border-top: 1px solid var(--line-strong); }
  .fn-meas__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fn-meas__list li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .fn-meas__list li:nth-child(even) { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
  .fn-tx__terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .fn-hero__meta { grid-column: 1 / -1; }
  .fn-hero__h { grid-column: 1 / -1; grid-row: auto; font-size: clamp(1.7rem, 7.4vw, 4.4rem); }
  .fn-hero__copy { grid-column: 1 / -1; grid-row: auto; }
  .fn-hero__fig { grid-column: 4 / -1; grid-row: auto; margin-top: 40px; }
  .fn-hero__loupe { left: calc(-1 * 30vw); top: 30%; width: clamp(110px, 30vw, 200px); }

  .fn-head .h2, .fn-head__intro, .fn-head--split .h2 { grid-column: 1 / -1; }
  .fn-drafts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .fn-draft p:last-child { font-size: var(--fs-xs); }

  .fn-ex__grid > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .fn-ex__fig { max-width: 560px; margin-top: 0 !important; }
  .fn-ex--poplin .fn-ex__fig, .fn-ex--blends .fn-ex__fig { margin-left: 14%; }
  .fn-ex--blends .fn-ex__fig2 { max-width: 300px; justify-self: end; }
  .fn-ex--poplin .fn-ex__mini { order: 3; }
  .fn-ex--poplin .fn-ex__loupe { right: auto; left: calc(-1 * 12%); top: auto; bottom: 70px; }
  .fn-ex--oxford .fn-ex__loupe { right: 8px; }
  .fn-ex--oxford .fn-ex__head { grid-template-columns: 1fr; }
  .fn-ex--oxford .fn-ex__head > * { grid-column: 1 !important; }
  .fn-ex--oxford .fn-ex__no { grid-row: auto; margin-bottom: 10px; }

  .fn-tw__head, .fn-tw__txt, .fn-tw__draft, .fn-tw__fam { grid-column: 1 / -1; grid-row: auto; }
  .fn-tw__draft { max-width: 420px; margin-bottom: 28px; }

  .fn-tw__b { grid-column: 1 / -1; grid-row: auto; margin-top: 0; max-width: 460px; }

  .fn-tx__a { grid-column: 1 / -1; max-width: 560px; }
  .fn-tx__b { grid-column: 1 / 7; margin-top: 40px; }
  .fn-tx__c { grid-column: 7 / 13; margin-top: 96px; }
  .fn-tx__loupe { right: 8px; }

  .fn-mx__head .h2, .fn-mx__note { grid-column: 1 / -1; }

  .fn-sea__txt, .fn-sea__plates { grid-column: 1 / -1; }
  .fn-sea__plates { max-width: 600px; }

  .fn-care__head, .fn-care__steps, .fn-care__dur { grid-column: 1 / -1; grid-row: auto; }
  .fn-care__dur figure { max-width: 460px; }

  .fn-next__h, .fn-next__list, .fn-next__visit { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .fn-hero__fig { grid-column: 3 / -1; }
  .fn-cat ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fn-cat li:nth-child(n) { border-left: 0; border-top: 1px solid var(--line-strong); }
  .fn-cat li:nth-child(-n+2) { border-top: 0; }
  .fn-cat li:nth-child(even) { border-left: 1px solid var(--line-strong); }
  .fn-drafts { grid-template-columns: 1fr; gap: 32px; }
  .fn-draft { grid-template-columns: 38% 1fr; column-gap: 16px; }
  .fn-draft__img { grid-row: 1 / 4; margin: 0; align-self: start; }
  .fn-draft p:last-child { font-size: var(--fs-s); }
  .fn-card { grid-template-columns: 1fr; }
  .fn-card div:nth-child(odd) { border-right: 0; }
  .fn-card div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .fn-ex--poplin .fn-ex__fig, .fn-ex--blends .fn-ex__fig { margin-left: 18%; }
  .fn-ex__loupe { bottom: 80px; }
  .fn-hero__loupe { left: -17vw; width: 26vw; }
  .fn-ex--blends .fn-ex__loupe { right: 8px; }


  .fn-tx__b, .fn-tx__c { grid-column: 1 / -1; margin-top: 32px; width: 80%; }
  .fn-tx__c { justify-self: end; }
  .fn-tx__terms { grid-template-columns: 1fr; }
  .fn-tw__fam div { grid-template-columns: 1fr; gap: 4px; }
  .fn-meas__list { grid-template-columns: 1fr; }
  .fn-meas__list li:nth-child(n) { padding-left: 0; border-left: 0; }

  .fn-mx__t, .fn-mx__t tbody, .fn-mx__t tr, .fn-mx__t th, .fn-mx__t td { display: block; width: auto !important; }
  .fn-mx__t thead { display: none; }
  .fn-mx__t tr { padding: 18px 0 8px; border-bottom: 2px solid var(--ink); }
  .fn-mx__t tbody th, .fn-mx__t td { border-bottom: 0; padding: 0 0 14px; }
  .fn-mx__t td::before { content: attr(data-axis); display: block; margin-bottom: 6px; font-family: var(--f-display); font-stretch: 62%; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: var(--fs-xs); }
  .fn-track { margin-inline: 8px; }

  .fn-sea__plates { grid-template-columns: 1fr 1fr; }
  .fn-sea__a { width: 86%; }
  .fn-care__steps { grid-template-columns: 1fr; }
  .fn-next__list { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .fn-hero__fig { grid-column: 2 / -1; }
  .fn-draft { grid-template-columns: 1fr; }
  .fn-draft__img { grid-row: auto; max-width: 200px; }
  .fn-sea__plates { grid-template-columns: 1fr; }
  .fn-sea__a, .fn-sea__b, .fn-sea__c { width: 86%; margin-top: 0; }
  .fn-sea__c { justify-self: end; }
}
