/* Brand Direction — Figma 710:1009 (1920 × 14048) */
body[data-chapter="direction"] { --dock-y: 168; --dock-x: 160; }
@media (min-width: 761px) { .fh .fh__chips { max-width: 1500px; justify-content: center; } }   /* phones keep the shared swipeable chip row */
.dr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* wayfinding hint (hover-only hints are hidden on touch) */
.dr-hint { color: var(--fg-soft); }
@media (hover: none) { .dr-hint { display: none; } }

/* ---------- 02 intro ---------- */
.dr-intro { padding-bottom: 0; }
.dr-intro > .wrap:first-child { display: grid; gap: var(--s-5); }
.dr-intro .shapes { font-size: clamp(18px, calc(27 * var(--fx)), 27px); }
.dr-intro__lead { max-width: calc(1540 * var(--fx)); margin-top: clamp(32px, calc(150 * var(--fx)), 150px); font-size: clamp(19px, calc(30 * var(--fx)), 30px); line-height: 1.6; }
.dr-kw { background: linear-gradient(var(--m-lilac-2), var(--m-lilac-2)) 0 92% / 0% 28% no-repeat; transition: background-size .9s var(--ease), color .5s; border-radius: 2px; }
.dr-kw.is-on { background-size: 100% 28%; color: var(--m-purple); }
.dr-rule { border: 0; height: 1px; margin: clamp(56px, calc(190 * var(--fx)), 190px) 0 0; background: var(--m-lilac); }

/* ---------- 03 imagery bento (Figma tiles abut, no gaps) ---------- */
.dr-img__head { display: grid; gap: var(--s-4); }
.dr-img__sub { max-width: 20em; }
.dr-img > .wrap > .dr-hint { margin: clamp(32px, calc(110 * var(--fx)), 110px) 0 var(--s-3); text-align: right; }
.dr-bento { display: grid; }
.dr-bento__a { display: grid; grid-template-columns: minmax(0, 877fr) minmax(0, 250fr) minmax(0, 251fr) minmax(0, 302fr); grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 1680 / 500; }
.dr-bento__poster { grid-row: 1 / 3; }
.dr-bento__b { display: grid; grid-template-columns: minmax(0, 454fr) minmax(0, 750fr) minmax(0, 476fr); grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 1680 / 500; }
.dr-bento__vit { grid-column: 1; grid-row: 1; }
.dr-bento__rul { grid-column: 1; grid-row: 2; }
.dr-tpose { grid-column: 2; grid-row: 1 / 3; }
.dr-puffy { grid-column: 3; grid-row: 1 / 3; }
.dr-tile { position: relative; overflow: hidden; margin: 0; background: #08080c; min-width: 0; min-height: 0; }
.dr-tile > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dr-glass.dr-tile:hover > img { transform: scale(1.04); }
.dr-img__foot { display: flex; justify-content: flex-end; margin-top: clamp(32px, calc(80 * var(--fx)), 80px); }
.dr-img__foot .shapes { font-size: clamp(18px, calc(27 * var(--fx)), 27px); }
main [role="button"]:focus-visible { outline: 3px solid var(--m-purple); outline-offset: -3px; border-radius: 0; z-index: 3; }

/* motion-blur photography: a horizontally blurred ghost follows pointer / scroll speed, the photo underneath never fades */
.dr-mb { position: relative; overflow: hidden; }
.dr-mb > img:first-child { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); will-change: transform; }
.dr-mb__ghost { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; opacity: 0; filter: url(#dr-hblur); will-change: transform, opacity; transform: scale(1.04); }

/* glass renders: pointer-following specular sheen */
.dr-glass { position: relative; overflow: hidden; }
.dr-glass::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease); mix-blend-mode: screen;
  background:
    radial-gradient(34% 55% at var(--mx, 50%) var(--my, 40%), rgba(214,222,255,.34), transparent 70%),
    linear-gradient(112deg, transparent 38%, rgba(255,255,255,.16) 48%, transparent 58%) var(--bx, 50%) 0 / 300% 100% no-repeat;
}
.dr-glass:hover::after { opacity: 1; }

/* T-pose stage (Figma 736:843): mannequin over the outlined word set twice, white 20% stroke */
.dr-tpose { background: var(--m-purple); container-type: inline-size; perspective: 1100px; isolation: isolate; }
.dr-tpose__type {
  position: absolute; left: 2.4cqw; z-index: 0; white-space: nowrap; pointer-events: none; user-select: none;
  font: 500 27.6cqw/1 var(--font-display); letter-spacing: -.035em; color: transparent;
  -webkit-text-stroke: max(1px, .1cqw) rgba(255,255,255,.22);
}
.dr-tpose__type--1 { top: 2.1cqw; }
.dr-tpose__type--2 { top: 29.4cqw; }
.dr-tpose__rig { position: absolute; inset: 0; z-index: 1; transform-style: preserve-3d; will-change: transform; }
.dr-tpose__man { position: absolute; left: -6%; top: 3.1%; width: 112.2%; max-width: none; height: auto; user-select: none; -webkit-user-drag: none; }
.dr-tpose::after { /* floor light that follows the pointer */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(45% 55% at calc(50% + var(--lx, 0) * 40%) calc(55% + var(--ly, 0) * 30%), rgba(178,164,255,.35), transparent 70%);
}

/* puffy logo: squishes like a cushion when pressed */
.dr-puffy { background: #fff; display: grid; place-items: center; }
.dr-puffy > img { width: 80%; height: auto; object-fit: contain; transition: transform .7s cubic-bezier(.34, 1.56, .64, 1), filter .5s; filter: drop-shadow(0 18px 24px rgba(14,19,60,.12)); }
.dr-puffy:hover > img { transform: translateY(-2%) rotate(-2deg) scale(1.03); filter: drop-shadow(0 30px 34px rgba(14,19,60,.2)); }
.dr-puffy:active > img { transform: scale(1.06, .9); transition-duration: .18s; }

/* ---------- 04 textures ---------- */
.dr-tex { color: #fff; min-height: calc(911 * var(--fx)); padding-block: clamp(48px, calc(100 * var(--fx)), 100px) clamp(48px, calc(110 * var(--fx)), 110px); }
.dr-tex__bg { position: absolute; inset: -4% -2%; z-index: 0; will-change: transform; }
.dr-tex__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); will-change: transform; }
.dr-tex__in { position: relative; z-index: 1; }
.dr-tex__title { font: 600 clamp(24px, calc(32 * var(--fx)), 32px)/1.2 var(--font-display); letter-spacing: -.01em; margin-bottom: clamp(40px, calc(130 * var(--fx)), 130px); text-shadow: 0 6px 30px rgba(14,19,60,.25); }
.dr-tex__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, calc(21 * var(--fx)), 21px); }
.dr-tex__cards > div { display: grid; }
.dr-card {
  display: grid; align-content: start; gap: clamp(16px, calc(26 * var(--fx)), 26px); min-height: calc(538 * var(--fx));
  padding: clamp(14px, calc(27 * var(--fx)), 27px) clamp(14px, calc(27 * var(--fx)), 27px) clamp(24px, calc(44 * var(--fx)), 44px);
  border-radius: clamp(18px, calc(32 * var(--fx)), 32px); color: #fff;
  background: linear-gradient(180deg, rgba(150,163,206,.56), rgba(132,145,196,.5));
  -webkit-backdrop-filter: blur(22px) saturate(1.15); backdrop-filter: blur(22px) saturate(1.15);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), 0 34px 70px -40px rgba(14,19,60,.6);
  transition: transform .6s var(--ease), box-shadow .4s var(--ease), background .4s;
}
.dr-card:hover, .dr-card:focus-visible { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.75), 0 44px 80px -40px rgba(14,19,60,.7); background: linear-gradient(180deg, rgba(150,163,206,.62), rgba(132,145,196,.56)); }
.dr-card__img { display: block; aspect-ratio: 486 / 198; border-radius: clamp(10px, calc(20 * var(--fx)), 20px); overflow: hidden; }
.dr-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dr-card:hover .dr-card__img img { transform: scale(1.06); }
.dr-card__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(8px, calc(16 * var(--fx)), 16px); padding-inline: clamp(4px, calc(14 * var(--fx)), 14px); }
.dr-card__spark { width: clamp(16px, calc(26 * var(--fx)), 26px); height: auto; fill: currentColor; transition: transform .8s var(--ease); }
.dr-card:hover .dr-card__spark { transform: rotate(90deg); }
.dr-card__t { font: 600 clamp(15px, calc(22 * var(--fx)), 22px)/1.25 var(--font-display); }
.dr-card__tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.dr-card__tags span { padding: .45em .7em; border-radius: 6px; background: rgba(255,255,255,.18); font: 400 clamp(11px, calc(15 * var(--fx)), 15px)/1 var(--font-display); }
.dr-card__body { padding-inline: clamp(4px, calc(14 * var(--fx)), 14px); font-size: clamp(14px, calc(21 * var(--fx)), 21px); line-height: 1.55; text-shadow: 0 1px 12px rgba(14,19,60,.18); }

/* ---------- 05–07 look & feel, fabrics, motion blurs ---------- */
.dr-lf { padding-bottom: clamp(48px, calc(110 * var(--fx)), 110px); }
.dr-lf--cont { padding-top: clamp(32px, calc(90 * var(--fx)), 90px); }
.dr-sub { display: grid; gap: var(--s-2); max-width: calc(1580 * var(--fx)); margin-top: clamp(24px, calc(56 * var(--fx)), 56px); }
.dr-lf--cont .dr-sub { margin-top: 0; }
.dr-sub__t { display: flex; align-items: center; gap: .6em; font: 600 clamp(20px, calc(32 * var(--fx)), 32px)/1.2 var(--font-display); letter-spacing: -.01em; }
.dr-sub__t svg { width: .72em; height: .72em; fill: currentColor; flex: none; }
.dr-sub__p, .dr-sub__ps p { font-size: clamp(17px, calc(30 * var(--fx)), 30px); line-height: 1.55; }
.dr-sub__ps { display: grid; gap: 1.5em; margin-top: var(--s-2); }
.dr-refs__row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin: clamp(32px, calc(90 * var(--fx)), 90px) 0 clamp(20px, calc(60 * var(--fx)), 60px); }
.dr-refs { font: 700 clamp(20px, calc(32 * var(--fx)), 32px)/1.2 var(--font-display); letter-spacing: -.01em; }

.dr-strip { display: grid; overflow: hidden; }
.dr-strip figure { position: relative; margin: 0; min-width: 0; overflow: hidden; }
.dr-strip img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.dr-strip--glass { grid-template-columns: minmax(0, 217fr) minmax(0, 270fr) minmax(0, 271fr) minmax(0, 348fr) minmax(0, 270fr) minmax(0, 305fr); aspect-ratio: 1681 / 271; background: #000; }
.dr-strip--glass img { transition: opacity .5s var(--ease), transform 1s var(--ease), filter .5s; }
.dr-strip--glass:hover figure:not(:hover) img { opacity: .42; filter: saturate(.6); }
.dr-strip--glass figure:hover img, .dr-strip--glass figure:focus-visible img { transform: scale(1.08); filter: brightness(1.18) contrast(1.05); }
.dr-strip--motion { grid-template-columns: minmax(0, 594fr) minmax(0, 338fr) minmax(0, 339fr) minmax(0, 409fr); aspect-ratio: 1680 / 340; }

/* fabrics row: knit cross · knitted logo · two stacked puffy crops + puffy sparkle (Figma widths) */
.dr-fab { display: grid; grid-template-columns: minmax(0, 413fr) minmax(0, 274fr) minmax(0, 221fr) minmax(0, 431fr); column-gap: 0; max-width: calc(1367 * var(--fx) + 28px); aspect-ratio: 1367 / 241; }
.dr-fab__a { margin-right: clamp(6px, calc(14 * var(--fx)), 14px) !important; }
.dr-fab__b { margin-right: clamp(6px, calc(14 * var(--fx)), 14px) !important; }
.dr-fab__stack { display: grid; grid-template-rows: 119fr 122fr; min-height: 0; }
.dr-loupe { position: relative; margin: 0; min-width: 0; min-height: 0; background: #ECEDF2; }
.dr-fab__b { background: #fff; }
.dr-loupe > img { width: 100%; height: 100%; object-fit: cover; }
.dr-fab__b > img { object-fit: contain; }
.dr-lens {
  position: absolute; left: 0; top: 0; z-index: 4; width: clamp(120px, 11vw, 190px); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  translate: calc(var(--lx, 0px) - 50%) calc(var(--ly, 0px) - 50%); scale: .4; opacity: 0;
  background-repeat: no-repeat; background-color: #fff;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--m-purple), 0 24px 50px -16px rgba(14,19,60,.55);
  transition: scale .35s var(--ease), opacity .25s;
}
.dr-loupe.is-lens { z-index: 3; }
.dr-loupe.is-lens .dr-lens { scale: 1; opacity: 1; }

/* ---------- 08–10 icon kit explorer ---------- */
.dr-kit { --ico: #292929; --tile-hi: rgba(14,19,60,.06); --tip-bg: var(--m-navy); --tip-fg: #fff; transition: background-color .6s var(--ease), color .6s var(--ease); }
.dr-kit.th-purple, .dr-kit.th-navy { --ico: #fff; --tile-hi: rgba(255,255,255,.14); --tip-bg: #fff; --tip-fg: var(--m-navy); }
.dr-kit__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-4); flex-wrap: wrap; margin-bottom: clamp(32px, calc(90 * var(--fx)), 90px); }
.dr-kit__board { display: flex; align-items: center; gap: var(--s-2); }
.dr-kit__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.dr-kit__cats { gap: 8px; }
.dr-kit__cats .chip small { font-size: .78em; opacity: .62; margin-left: .15em; }
.dr-kit.th-purple .dr-kit__cats .chip[aria-pressed="true"], .dr-kit.th-navy .dr-kit__cats .chip[aria-pressed="true"] { background: #fff; color: var(--m-navy); }
.dr-kit.th-navy .dr-kit__cats .chip:not([aria-pressed="true"]) { background: rgba(255,255,255,.12); color: #fff; }
.dr-kit.th-purple .dr-kit__cats .chip:not([aria-pressed="true"]) { background: rgba(255,255,255,.16); color: #fff; }
.dr-search { display: flex; align-items: center; gap: .6em; width: min(340px, 100%); padding: .7em 1.1em; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .25s; cursor: text; }
.dr-search:hover, .dr-search:focus-within { box-shadow: inset 0 0 0 1.5px var(--fg); }
.dr-search svg { width: 18px; height: 18px; flex: none; opacity: .7; }
.dr-search input { flex: 1; min-width: 0; border: 0; padding: 0; background: none; color: inherit; font: 400 var(--t-small)/1.2 var(--font-display); outline: none; }
.dr-search input::placeholder { color: var(--fg-soft); }
.dr-search input::-webkit-search-cancel-button { filter: grayscale(1); }
.dr-kit__status { margin: var(--s-3) 0 clamp(28px, calc(64 * var(--fx)), 64px); }
.dr-kit__empty { margin-top: var(--s-4); }

.dr-kit__groups { --pitch: clamp(38px, calc(56 * var(--fx)), 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--s-5); row-gap: clamp(36px, calc(96 * var(--fx)), 96px); align-items: start; }
.dr-grp__t { font: 600 clamp(20px, calc(32 * var(--fx)), 32px)/1.2 var(--font-display); letter-spacing: -.01em; margin: 0 0 var(--s-3) calc(var(--pitch) * .12); }
.dr-grid { display: grid; grid-template-columns: repeat(8, var(--pitch)); }
.dr-grid li { display: contents; }
.dr-ico { position: relative; width: var(--pitch); height: var(--pitch); display: grid; place-items: center; border-radius: 10px; color: var(--ico); transition: background .25s, color .25s, box-shadow .25s; }
.dr-ico__g { display: grid; width: calc(var(--pitch) * 24 / 56); height: calc(var(--pitch) * 24 / 56); transition: transform .45s var(--ease); }
.dr-ico__g svg, .dr-ico__g img { width: 100%; height: 100%; overflow: visible; user-select: none; -webkit-user-drag: none; }
.dr-ico__g:empty::before { content: ""; width: 26%; height: 26%; margin: auto; border-radius: 50%; background: currentColor; opacity: .18; }
.dr-ico:hover, .dr-ico:focus-visible { background: var(--tile-hi); z-index: 2; }
.dr-ico:hover .dr-ico__g, .dr-ico:focus-visible .dr-ico__g { transform: scale(1.75); }
.dr-ico:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.dr-kit__groups.is-live .dr-ico[aria-current="true"] { box-shadow: inset 0 0 0 1.5px currentColor; }   /* marks the inspector icon once the grid is in use */
.dr-ico::after {
  content: attr(data-n); position: absolute; left: 50%; bottom: calc(100% + 4px); z-index: 4; translate: -50% 4px; white-space: nowrap;
  padding: .4em .65em; border-radius: 6px; background: var(--tip-bg); color: var(--tip-fg); font: 500 12px/1 var(--font-display);
  opacity: 0; pointer-events: none; transition: opacity .2s, translate .3s var(--ease);
}
.dr-ico:hover::after, .dr-ico:focus-visible::after { opacity: 1; translate: -50% 0; }
.dr-ico.is-copied { background: var(--m-purple); color: #fff; }
.dr-kit.th-purple .dr-ico.is-copied { background: var(--m-navy); }
.dr-kit.th-white .dr-ico.is-copied { background: var(--m-lilac-2); }   /* white board shows the file itself (#292929), so the flash stays light */

.dr-insp { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-4); align-items: center; align-self: start; padding: var(--s-4); border-radius: var(--r-card); background: var(--tile); }
.dr-insp__view { position: relative; width: clamp(104px, calc(160 * var(--fx)), 160px); aspect-ratio: 1; border-radius: 16px; background: var(--bg); color: var(--ico); display: grid; place-items: center; }
.dr-insp__grid { position: absolute; inset: 20%; opacity: .7; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / calc(100% / 12) calc(100% / 12), linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / calc(100% / 12) calc(100% / 12); box-shadow: inset 0 0 0 1px var(--line); }
.dr-insp__ico { position: relative; display: grid; width: 60%; aspect-ratio: 1; }
.dr-insp__ico svg { width: 100%; height: 100%; }
.dr-insp__meta { display: grid; gap: 4px; min-width: 0; }
.dr-insp__name { font: 600 var(--t-h4)/1.15 var(--font-display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.dr-insp__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-2); }
.dr-insp__acts .btn { padding: .75em 1.1em; }
.dr-kit.th-purple .dr-insp__acts .btn:not(.btn--ghost) { background: #fff; color: var(--m-purple); }
.dr-kit.th-navy .dr-insp__acts .btn:not(.btn--ghost) { background: var(--m-purple); }

/* board jump-nav (links; the current board is filled) */
.dr-boards { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.dr-boards a { padding: .55em 1.05em; border-radius: 999px; font: 500 var(--t-small)/1 var(--font-display); color: var(--fg-soft); transition: background .3s, color .3s; }
.dr-boards a:hover { color: var(--fg); }
.dr-boards a[aria-current="true"] { background: var(--fg); color: var(--bg); }

/* 09 / 10 purple and navy boards: full-bleed scenes, Figma group layout, icons sweep in */
.dr-scene { min-height: calc(1171 * var(--fx)); padding-block: clamp(56px, calc(110 * var(--fx)), 110px) clamp(56px, calc(130 * var(--fx)), 130px); }
.dr-scene__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); flex-wrap: wrap; margin-bottom: clamp(32px, calc(70 * var(--fx)), 70px); }
.dr-scene__cap { color: var(--fg-soft); letter-spacing: .01em; }
.dr-scene__cap b { color: var(--fg); font-weight: 600; }
.js .dr-board .dr-grp__t { opacity: 0; translate: 0 18px; transition: opacity .8s var(--ease) var(--gd, 0ms), translate 1s var(--ease) var(--gd, 0ms); }
.js .dr-board .dr-ico { opacity: 0; translate: 0 14px; scale: .5; transition: opacity .7s var(--ease) var(--dl, 0ms), translate .9s var(--ease) var(--dl, 0ms), scale .9s var(--ease) var(--dl, 0ms), background .25s, color .25s, box-shadow .25s; }
.js .dr-board.is-in .dr-grp__t, .js .dr-board.is-in .dr-ico { opacity: 1; translate: none; scale: none; }
.dr-board .dr-ico[aria-current="true"] { box-shadow: none; }
.dr-board.is-live .dr-ico[aria-current="true"] { box-shadow: inset 0 0 0 1.5px currentColor; }

/* ---------- 11 social media direction ---------- */
.dr-soc__t { margin-bottom: clamp(36px, calc(110 * var(--fx)), 110px); }
.dr-city { position: relative; overflow: hidden; aspect-ratio: 2000 / 1060; background: #1b1c22; }
.dr-city img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.dr-city::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: #05061A; opacity: var(--dim, 0); }

/* ---------- 12 references direction: live posts in a draggable feed ---------- */
.dr-refsec__head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); margin-bottom: clamp(32px, calc(70 * var(--fx)), 70px); }
.dr-refsec__t { font: 600 clamp(20px, calc(32 * var(--fx)), 32px)/1.2 var(--font-display); letter-spacing: -.01em; }
.dr-feed__nav { display: flex; align-items: center; gap: 12px; }
.dr-feed__btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .25s, transform .35s var(--ease), opacity .25s; }
.dr-feed__btn svg { width: 18px; height: 18px; }
.dr-feed__btn:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }
.dr-feed__btn:disabled { opacity: .3; cursor: default; box-shadow: inset 0 0 0 1.5px var(--line); }
.dr-feed__dots { display: flex; gap: 6px; }
.dr-feed__dots button { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.dr-feed__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--fg); opacity: .25; transition: width .4s var(--ease), opacity .3s, background .3s; }
.dr-feed__dots button[aria-current="true"]::before { width: 22px; opacity: 1; background: var(--m-purple); }

.dr-feed { --pw: clamp(240px, calc(505 * var(--fx)), 560px); --gap-x: calc(var(--pw) * 1.163); position: relative; height: calc(var(--pw) * 1.2495 + 48px); perspective: 1800px; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; outline-offset: -4px; }
.dr-feed.is-drag { cursor: grabbing; }
.dr-feed:focus-visible { outline: 2px solid var(--m-purple); }
.dr-feed__track { position: absolute; inset: 0; transform-style: preserve-3d; }
.dr-post {
  position: absolute; left: 50%; top: 24px; width: var(--pw); aspect-ratio: 1010 / 1262; margin-left: calc(var(--pw) / -2);
  container-type: inline-size; overflow: hidden; transform-origin: 50% 60%; will-change: transform;
  box-shadow: 0 30px 60px -36px rgba(14,19,60,.55); transition: box-shadow .5s var(--ease), filter .5s;
}
.dr-post:not(.is-active) { cursor: pointer; }
.dr-post .shape { width: 1em; height: 1em; display: block; }
.dr-post .c-navy { color: var(--m-navy); } .dr-post .c-white { color: #fff; } .dr-post .c-purple { color: var(--m-purple); } .dr-post .c-lilac { color: var(--m-lilac); }
.dr-post__logo { position: absolute; top: 7.1cqw; width: 8.9cqw; height: auto; }
.dr-post__h { position: absolute; margin: 0; display: grid; font-family: var(--font-display); letter-spacing: -.02em; }
.dr-post__h i { font-style: normal; font-weight: 300; }
.dr-post__h b { font-weight: 700; }
.dr-post__url { position: absolute; font: 400 3.4cqw/1 var(--font-display); letter-spacing: -.005em; }
.dr-post__col { position: absolute; display: grid; }
.dr-post__row { position: absolute; display: flex; }
.dr-post__q { position: absolute; display: grid; grid-template-columns: repeat(2, 1em); }

/* lilac — We Specialize in Precision */
.dr-post--lilac { background: var(--m-lilac); color: #fff; }
.dr-post--lilac .dr-post__logo { left: 9.5cqw; color: var(--m-navy); }
.dr-post--lilac .dr-post__col { right: 6.8cqw; top: 6.4cqw; font-size: 3.5cqw; gap: 1.75cqw; }
.dr-post--lilac .dr-post__h { left: 10.3cqw; top: 45.6cqw; z-index: 2; font-size: 10.3cqw; line-height: 1.14; font-weight: 400; }
.dr-post--lilac .dr-post__h b { color: var(--m-navy); }
.dr-post--lilac .dr-post__row { left: 9.5cqw; bottom: 9.2cqw; font-size: 4cqw; gap: 2.4cqw; }
.dr-post--lilac .dr-post__url { right: 7.1cqw; bottom: 9.2cqw; color: var(--m-navy); }
.dr-post__cursor { position: absolute; left: 26.8cqw; top: 34.4cqw; z-index: 1; width: 71.2cqw; max-width: none; opacity: .65; mix-blend-mode: screen; filter: saturate(.55) brightness(1.25); translate: calc(var(--cx, 0) * 5cqw) calc(var(--cy, 0) * 4cqw); rotate: calc(var(--cx, 0) * 5deg); transition: translate .6s var(--ease), rotate .6s var(--ease); pointer-events: none; }

/* navy — Fit Defined Precision Guaranteed (Figma uses #171E57 here) */
.dr-post--navy { background: #171E57; color: #fff; }
.dr-post--navy .dr-post__logo { left: 9.1cqw; color: #fff; }
.dr-post--navy .dr-post__q--top { right: 9.2cqw; top: 7.9cqw; font-size: 3.6cqw; column-gap: 2.4cqw; row-gap: 1.7cqw; }
.dr-post--navy .dr-post__h { left: 9.6cqw; top: 43.2cqw; font-size: 10.2cqw; line-height: 1.03; }
.dr-post--navy .dr-post__q--bot { left: 9.1cqw; bottom: 8.6cqw; font-size: 6.9cqw; column-gap: 4.6cqw; row-gap: 2.9cqw; }
.dr-post--navy .dr-post__url { right: 9.3cqw; bottom: 9.2cqw; }

/* purple — Fit Defined Precision / Guaranteed */
.dr-post--purple { background: var(--m-purple); color: #fff; }
.dr-post--purple .dr-post__logo { left: 6.5cqw; color: #fff; }
.dr-post--purple .dr-post__col { right: 7.8cqw; top: 7.2cqw; font-size: 4.1cqw; gap: 2.25cqw; }
.dr-post--purple .dr-post__h { left: 0; right: 0; top: 48.6cqw; justify-items: center; text-align: center; line-height: 1.12; }
.dr-post--purple .dr-post__h span:first-child { font-size: 7.1cqw; }
.dr-post--purple .dr-post__h span:last-child { font-size: 12.5cqw; line-height: 1.02; }
.dr-post--purple .dr-post__big { position: absolute; left: 3.9cqw; right: 3.9cqw; bottom: 6.1cqw; display: flex; justify-content: space-between; font-size: 16.1cqw; }
.dr-post__big .shape { transition: transform .8s var(--ease); }
.dr-post--purple.is-active:hover .dr-post__big .shape:nth-child(1) { transform: rotate(-90deg); }
.dr-post--purple.is-active:hover .dr-post__big .shape:nth-child(2) { transform: rotate(90deg); }
.dr-post--purple.is-active:hover .dr-post__big .shape:nth-child(3) { transform: rotate(45deg); }
.dr-post--purple.is-active:hover .dr-post__big .shape:nth-child(4) { transform: rotate(180deg); }

.dr-refsec__p { max-width: calc(1680 * var(--fx)); margin-top: clamp(40px, calc(110 * var(--fx)), 110px); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .dr-kit__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dr-tex__cards { grid-template-columns: 1fr; max-width: 640px; }
  .dr-card { min-height: 0; }
}
@media (max-width: 760px) {
  .dr-img > .wrap > .dr-hint { text-align: left; }
  .dr-bento__a { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; aspect-ratio: auto; }
  .dr-bento__a .dr-tile { aspect-ratio: 1; }
  .dr-bento__a .dr-bento__poster { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 877 / 500; }
  .dr-bento__b { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; aspect-ratio: auto; }
  .dr-bento__vit, .dr-bento__rul { grid-row: auto; grid-column: auto; aspect-ratio: 453 / 250; }
  .dr-tpose { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 750 / 500; }
  .dr-puffy { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 476 / 400; }

  /* strips: every reference stays on screen while scrolling (no sideways rail) */
  .dr-strip { aspect-ratio: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .dr-strip--glass figure { aspect-ratio: 1; }
  .dr-strip--glass img { object-fit: contain; }
  .dr-strip--glass:hover figure:not(:hover) img { opacity: 1; filter: none; }
  .dr-strip--motion figure { aspect-ratio: 678 / 680; }
  .dr-strip--motion figure:nth-child(1), .dr-strip--motion figure:nth-child(4) { grid-column: 1 / -1; aspect-ratio: var(--ar); }

  .dr-fab { grid-template-columns: repeat(2, minmax(0, 1fr)); aspect-ratio: auto; gap: 10px; max-width: none; }
  .dr-fab__a, .dr-fab__b { margin-right: 0 !important; }
  .dr-fab__a { grid-column: 1 / -1; aspect-ratio: 413 / 241; }
  .dr-fab__b { aspect-ratio: 274 / 237; }
  .dr-fab__stack { aspect-ratio: 221 / 241; gap: 0; }
  .dr-fab__d { grid-column: 1 / -1; aspect-ratio: 431 / 241; }

  .dr-kit__groups { grid-template-columns: minmax(0, 1fr); --pitch: min(44px, calc((100vw - 2 * var(--gutter)) / 8)); }
  .dr-kit__tools { align-items: stretch; }
  .dr-search { width: 100%; }
  .dr-insp { grid-template-columns: 1fr; justify-items: start; }

  .dr-refsec__head { flex-direction: column; align-items: flex-start; }
  .dr-feed__nav { display: none; }
  /* phones: the three posts stack as a vertical feed, all visible while scrolling */
  .dr-feed { --pw: calc(100vw - 2 * var(--gutter)); height: auto; perspective: none; cursor: auto; touch-action: auto; }
  .dr-feed__track { position: static; display: grid; gap: 14px; justify-items: center; }
  .dr-post { position: relative; left: auto; top: auto; margin-left: 0; transform: none !important; filter: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .dr-mb__ghost { display: none; }
  .dr-post__cursor { translate: none; rotate: none; }
}
