/* ==================================================================
   LOGO PROJECT — shuvo (projects/shuvo-logo.html)
   Layout: "blueprint" — paper + grid, each step = notes beside sketch.
   Type: same system as the Skateboard page — tall Six Caps title,
   thin uppercase chapter heads with big numbers, DM Mono labels,
   small light body text.
   Live logos are built by js/logo.js from the header SVG
   (window.ShuvoLogo in js/main.js); the .brand__* / .fx-* rules in
   css/styles.css drive the wave and effects.
   ================================================================== */

.lg-page {
  --lg-paper: var(--color-bg);                           /* homepage colours */
  --lg-ink:   var(--color-text);
  --lg-muted: var(--color-muted);
  --lg-rule:  var(--color-line);
  --lg-or:    var(--color-accent);                       /* coral */
  --lg-grid:  rgba(28, 28, 28, 0.07);
  --lg-tall:  "Six Caps", "Oswald", "Arial Narrow", sans-serif;
  --lg-monof: "DM Mono", ui-monospace, Menlo, monospace;
  background-color: var(--lg-paper);
  background-image:
    linear-gradient(var(--lg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--lg-grid) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--lg-ink);
}

main.lg {
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px var(--gutter) 0;
}

/* ------------------------------------------------------------------
   Type (from the Skateboard page)
   ------------------------------------------------------------------ */
.lg-mono {
  font-family: var(--lg-monof);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lg-muted);
}
.lg-label { display: block; margin-bottom: 6px; }
.lg-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 10px 0 8px;
  border-top: 1px solid var(--lg-ink);
  border-bottom: 1px solid var(--lg-rule);
}
.lg-head h2,
.lg-head__num {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 1rem + 5.4vw, 6rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.lg-head__num { font-variant-numeric: tabular-nums; color: var(--lg-or); }
.lg-copy h3 {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lg-copy p,
.lg-copy li {
  margin: 0 0 1em;
  font-size: 0.875rem;
  font-weight: var(--fw-light);
  line-height: 1.7;
}
.lg-copy li { margin: 0; }
.lg-copy strong { font-weight: 600; }

/* ------------------------------------------------------------------
   Hero — live logo on construction guides
   ------------------------------------------------------------------ */
.lg-hero__meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}
.lg-board {
  position: relative;
  border: 1px solid var(--lg-ink);
  background: var(--lg-paper);
}
.lg-guide {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed rgba(28, 28, 28, 0.35);
  pointer-events: none;
}
.lg-guide i {
  position: absolute;
  right: 10px;
  top: -16px;
  font: 400 10px/1 var(--lg-monof);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--lg-muted);
}
/* matched to the letters when the logo is 70% of a 2:1 board */
.lg-guide--cap  { top: 33%; }
.lg-guide--x    { top: 42%; }
.lg-guide--base { top: 75%; }
.lg-hint { margin: 12px 0 0; text-align: center; }

/* ------------------------------------------------------------------
   Intro + credits
   ------------------------------------------------------------------ */
.lg-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  padding: clamp(64px, 9vw, 120px) 0 clamp(36px, 5vw, 64px);
}
.lg-title {
  margin: 0;
  font-family: var(--lg-tall);
  font-size: clamp(5.5rem, 3rem + 9vw, 12rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.lg-sub { margin: 14px 0 0; font-size: 0.8125rem; font-weight: 500; }
.lg-intro .lg-copy p:last-child { margin-bottom: 0; }

.lg-credits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px clamp(20px, 3vw, 48px);
  margin: 0;
}
.lg-credits div { border-top: 1px solid var(--lg-ink); padding-top: 8px; }
.lg-credits dt { margin-bottom: 10px; }
.lg-credits dd { margin: 0; font-size: 0.875rem; line-height: 1.5; }
@media (min-width: 1000px) { .lg-credits--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }   /* five credits on one line */

/* ------------------------------------------------------------------
   Steps — chapter head, then notes (sticky) beside the sketch
   ------------------------------------------------------------------ */
.lg-step { padding-top: clamp(64px, 9vw, 120px); }
.lg-step__body {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2.4fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding-top: clamp(28px, 4vw, 48px);
}
.lg-step__side { position: sticky; top: calc(var(--header-h) + 24px); }
.lg-step__img img,
.lg-sheet img {
  background: #fff;
  border: 1px solid var(--lg-ink);
}
.lg-notes { margin: 0 0 1em; padding-left: 1.1em; }
.lg-notes--steps { padding-left: 1.4em; }
.lg-notes li::marker { color: var(--lg-or); }

.lg-build {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 4px 0 0;
}
.lg-build div {
  border: 1px solid var(--lg-ink);
  background: #fff;
  padding: 10px 4px;
  text-align: center;
}
.lg-build dt { font-size: 1.5rem; font-weight: 500; line-height: 1; color: var(--lg-or); }
.lg-build dd { margin: 6px 0 0; font-size: 0.6875rem; line-height: 1.35; color: var(--lg-muted); }

.lg-sheet { margin-top: clamp(28px, 4vw, 48px); }

/* Pull quote */
.lg-quote {
  display: grid;
  justify-items: center;
  margin: 0;
  padding-top: clamp(72px, 10vw, 140px);
  text-align: center;
}
.lg-quote blockquote {
  position: relative;
  margin: 0;
  font-family: var(--lg-tall);
  font-size: clamp(3.5rem, 2rem + 5vw, 7.5rem);
  line-height: 0.9;
  text-transform: uppercase;
}
.lg-quote blockquote::before {          /* speech mark */
  content: "";
  position: absolute;
  left: -0.5em;
  top: -0.1em;
  width: 0.34em;
  height: 0.3em;
  background: var(--lg-or);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 35% 70%, 0 100%);
}
.lg-quote cite { display: block; margin-top: 18px; font-style: normal; }

/* ------------------------------------------------------------------
   Live logo stages
   ------------------------------------------------------------------ */
.lg-stage {
  --lg-bg: transparent;
  --lg-ink-logo: var(--lg-or);
  --lg-alt: var(--lg-ink);
  position: relative;
  display: grid;
  place-items: center;
  background: var(--lg-bg);
  overflow: hidden;
}
.lg-stage .lg-fallback { display: block; width: 100%; height: auto; }
.lg-stage .brand__fx {
  width: min(70%, 760px);
  height: auto;
  overflow: visible;          /* hops, waves and spins must never be clipped */
}
.lg-stage .brand__word { width: 100%; height: auto; }
.lg-stage .brand__l { fill: var(--lg-ink-logo); }
.lg-stage .brand__swash { stroke: var(--lg-alt); }
.lg-stage.fx-coral .brand__p { fill: var(--lg-alt); }
.lg-stage .brand__fullname {
  justify-self: center;
  font-size: clamp(0.875rem, 0.6rem + 1.6vw, 1.75rem);
  color: var(--lg-ink-logo);
  opacity: 0;
  transform: translateY(60%);
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.3s ease;
}
.lg-stage.fx-name .brand__fullname { opacity: 1; transform: none; }
.lg-stage .brand__word--live { transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.3s ease; }
.lg-stage.fx-name .brand__word--live { opacity: 0; transform: scale(0.96); }   /* fade in place: no sliding out of the tile */

.lg-stage--hero { aspect-ratio: 2 / 1; }
.lg-stage--play {
  --lg-bg: #fff;
  aspect-ratio: 2 / 1;
  border: 1px solid var(--lg-ink);
}

/* Effect buttons */
.lg-btns {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
}
.lg-btns li { margin: 0; }
.lg-btn {
  font-family: var(--lg-monof);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lg-ink);
  background: transparent;                    /* the page colour, so the light text reads on the black theme */
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 9px 12px;
  min-height: 38px;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lg-btn:hover,
.lg-btn:focus-visible,
.lg-btn.is-on { background: var(--lg-or); border-color: var(--lg-or); color: #000; }

/* Nine moves — nine boards (js/logo.js, section 3) */
.lg-step__body--intro { grid-template-columns: minmax(0, 560px); }
.lg-moves {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 0;
}
.lg-move__board { cursor: pointer; }
.lg-stage--move { aspect-ratio: 2 / 1; }
.lg-stage--one .brand__fx { width: min(70%, 760px); }
.lg-stage--move .brand__l { animation: none; }               /* rest still… */
.lg-stage--move.fx-bigwave .brand__l { animation: brand-wave-big 1.7s ease-in-out calc(var(--i) * -0.22s) infinite; }
.lg-move__cap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  align-items: start;
  margin-top: 10px;
}
.lg-move__cap b { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.lg-move__cap b span { color: var(--lg-or); margin-right: 6px; }
.lg-move__cap p { grid-column: 1; margin: 0; font-size: 0.8125rem; font-weight: var(--fw-light); color: var(--lg-muted); line-height: 1.5; }
.lg-move__replay {
  grid-column: 2;
  grid-row: 1 / 3;
  background: transparent;                    /* the page colour, so the light text reads on the black theme */
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--lg-ink);
  padding: 9px 12px;
  min-height: 38px;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.lg-move__replay:hover,
.lg-move__replay:focus-visible { background: var(--lg-or); border-color: var(--lg-or); }

/* one board for all nine */
.lg-one { margin-top: clamp(28px, 4vw, 48px); }
.lg-one__board { cursor: pointer; }
.lg-one__cap p { transition: opacity 0.3s ease; }
.lg-one__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 0;
  padding: 0;
}
.lg-one__pick {
  background: transparent;                    /* the page colour, so the light text reads on the black theme */
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--lg-ink);
  padding: 9px 12px;
  min-height: 38px;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lg-one__pick span { color: var(--lg-or); margin-right: 4px; transition: color var(--dur) var(--ease); }
.lg-one__pick:hover { border-color: var(--lg-or); }
.lg-one__pick[aria-pressed="true"] { background: var(--lg-or); border-color: var(--lg-or); color: #000; }
.lg-one__pick[aria-pressed="true"] span { color: #000; }

/* openings share the board: their drawing sits on top of the live logo */
.lg-one__board { position: relative; }
.lg-one__op {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.lg-one__board.is-opening .lg-stage--one { visibility: hidden; }
.lg-one__board.is-opening .lg-guide { opacity: 0; }   /* the drawing brings its own guides */
.lg-one__lists { margin-top: 18px; }
.lg-one__group { margin: 14px 0 6px; }
.lg-one__lists .lg-one__group:first-child { margin-top: 0; }
.lg-one__lists .lg-one__list { margin-top: 0; }

/* moves run slow and smooth here */
.lg-stage--move .brand__p { transition: transform 1s cubic-bezier(0.34, 1.3, 0.5, 1), fill 0.9s ease; }
.lg-stage--move.fx-hop .brand__p { animation: brand-hop 1.25s cubic-bezier(0.37, 0, 0.3, 1) calc(var(--i) * 0.17s); }
.lg-stage--move.fx-coral .brand__p { transition-delay: calc(var(--i) * 0.18s); }
.lg-stage--move.fx-jelly .brand__word--live { animation: brand-jelly 1.7s ease-in-out; }
.lg-stage--move.fx-spin .brand__p { transition: transform 1.4s cubic-bezier(0.6, 0, 0.3, 1) calc(var(--i) * 0.2s); }
.lg-stage--move.fx-lean .brand__p { transition: transform 0.35s ease-out; }
.lg-stage--move .brand__swash { transition: stroke-dashoffset 1.4s cubic-bezier(0.6, 0, 0.3, 1), opacity 0.4s ease; }
.lg-stage--move .brand__word--live,
.lg-stage--move .brand__fullname { transition: transform 1s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.8s ease; }

/* Openings — six ways the logo can arrive (js/logo.js, section 5).
   Each board waits (paused, blank) until it scrolls into view. */
.op-board {
  border: 1px solid var(--lg-ink);
  background: var(--lg-paper);
  aspect-ratio: 2 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.op-svg { width: 86%; overflow: visible; }
.op-board:not(.is-on) .op-svg * { animation-play-state: paused; }
.op-p { fill: var(--lg-or); }
.op-l, .op-p { transform-box: fill-box; }
.op-g { fill: none; stroke: rgba(28, 28, 28, 0.3); stroke-width: 0.5; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: op-draw 0.9s cubic-bezier(0.6, 0, 0.3, 1) calc(var(--i) * 0.15s) forwards; }
.op-c { fill: none; stroke: var(--lg-ink); stroke-width: 0.6; stroke-dasharray: 2 2; transform-box: fill-box; transform-origin: center; }
.op-f { fill: none; stroke: var(--lg-ink); stroke-width: 1.6; stroke-linecap: round; }
.op-spot { fill: var(--lg-or); transform-box: fill-box; transform-origin: center; transform: scale(0); }
@keyframes op-draw   { to { stroke-dashoffset: 0; } }
@keyframes op-fillin { to { fill: var(--lg-or); stroke-width: 0; } }
@keyframes op-grow   { to { transform: scale(1); } }
@keyframes op-fade   { to { opacity: 0; } }
@keyframes op-pop    { to { transform: scale(1); } }
@keyframes op-rise   { to { transform: none; } }
@keyframes op-appear { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes op-coral  { to { fill: var(--lg-or); } }
@keyframes op-drop {
  0%   { transform: translateY(-150px); opacity: 0; }
  10%  { opacity: 1; }
  45%  { transform: translateY(0) scale(0.94, 1.08); }
  60%  { transform: scale(1.14, 0.82); }
  75%  { transform: translateY(-10px) scale(0.97, 1.04); }
  88%  { transform: scale(1.03, 0.97); }
  100% { transform: none; opacity: 1; }
}
@keyframes op-spot {
  0%   { transform: scale(0); opacity: 1; }
  45%  { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}
/* A — draw, then fill */
.op--a .op-p { fill: transparent; stroke: var(--lg-ink); stroke-width: 1.1; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: op-draw 1.8s cubic-bezier(0.5, 0, 0.3, 1) calc(0.4s + var(--i) * 0.18s) forwards,
             op-fillin 0.7s ease calc(2.4s + var(--i) * 0.08s) forwards; }
/* B — built from circles */
.op--b .op-c { transform: scale(0); animation: op-grow 0.8s cubic-bezier(0.3, 1.5, 0.5, 1) calc(0.5s + var(--i) * 0.12s) forwards, op-fade 0.6s ease 2.6s forwards; }
.op--b .op-p { transform-origin: center; transform: scale(0); animation: op-pop 0.7s cubic-bezier(0.3, 1.6, 0.45, 1) calc(1.6s + var(--i) * 0.14s) forwards; }
/* C — drop on the baseline */
.op--c .op-l { transform-origin: 50% 100%; opacity: 0; animation: op-drop 1.1s cubic-bezier(0.5, 0, 0.5, 1) calc(0.7s + var(--i) * 0.18s) forwards; }
/* D — rise from the line */
.op--d .op-l { transform: translateY(105%); animation: op-rise 1.1s cubic-bezier(0.2, 0.9, 0.2, 1) calc(0.8s + var(--i) * 0.12s) forwards; }
/* E — one line first */
.op--e .op-f { stroke-dasharray: 1; stroke-dashoffset: 1; animation: op-draw 1.8s cubic-bezier(0.6, 0, 0.3, 1) 0.5s forwards, op-fade 0.6s ease 3.1s forwards; }
.op--e .op-p { opacity: 0; animation: op-appear 0.9s ease calc(2.1s + var(--i) * 0.12s) forwards; }
/* F — coral spotlight */
.op--f .op-spot { animation: op-spot 2.6s cubic-bezier(0.7, 0, 0.2, 1) 0.2s forwards; }
.op--f .op-p { opacity: 0; fill: #fff; animation: op-appear 0.6s ease calc(0.9s + var(--i) * 0.1s) forwards, op-coral 0.8s ease 1.9s forwards; }
@media (prefers-reduced-motion: reduce) {
  .op-svg * { animation: none !important; opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; }
  .op-p { fill: var(--lg-or) !important; stroke-width: 0 !important; }
  .op-c, .op-f, .op-spot { display: none; }
}

/* Colour ways */
.lg-ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pj-gap);
  margin-top: clamp(28px, 4vw, 48px);
}
.lg-stage--way { aspect-ratio: 4 / 3; border: 1px solid var(--lg-ink); }
.lg-stage--way .brand__fx { width: 80%; grid-template-columns: minmax(0, 1fr); }   /* the logo fits its box, so it sits in the middle of the frame */
.lg-way--coral  { --lg-bg: #1C1C1C; --lg-ink-logo: var(--lg-or); --lg-alt: #fff; }   /* charcoal (fixed, so the black site doesn't turn it light) */
.lg-way--paper  { --lg-bg: #fff; --lg-ink-logo: #1C1C1C; --lg-alt: var(--lg-or); }   /* black logo on paper (fixed, so the black site doesn't turn it white) */
.lg-way--night  { --lg-bg: var(--color-header-bg); --lg-ink-logo: var(--color-header-fg); --lg-alt: var(--lg-or); }
.lg-way__label {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font: 400 0.625rem/1 var(--lg-monof);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lg-ink-logo);
  opacity: 0.6;
}

/* More work */
.lg-next {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--pj-gap);
  margin: clamp(28px, 4vw, 48px) 0 clamp(72px, 10vw, 140px);
  padding: 0;
}
.lg-next a { display: block; }
.lg-next img,
.lg-next video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--lg-ink);
  filter: grayscale(1);
  transition: filter var(--dur) var(--ease);
}
.lg-next a:hover img,
.lg-next a:hover video { filter: none; }
.lg-next span {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lg-next a:hover span { color: var(--lg-or); }

/* ------------------------------------------------------------------
   Tablet / phone
   ------------------------------------------------------------------ */
@media (max-width: 900px) {
  .lg-intro,
  .lg-step__body { grid-template-columns: 1fr; }
  .lg-step__side { position: static; }
  .lg-credits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg-ways { grid-template-columns: 1fr; }
  .lg-moves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg-stage--way { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .lg-guide { display: none; }          /* lines don't match the taller phone board */
  .lg-stage--hero,
  .lg-stage--play { aspect-ratio: 4 / 3; }
  .lg-stage .brand__fx { width: 82%; }
  .lg-build { grid-template-columns: repeat(3, 1fr); }
  .lg-moves { grid-template-columns: 1fr; }
  .lg-next { grid-template-columns: 1fr; }   /* 800px previews stay sharp up to ~400px wide */
  .lg-quote blockquote::before { left: 0; top: -0.42em; }
}

/* 07 — the final logo animation (the homepage cradle), live in a 16:9 frame */
.lg-film { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--lg-ink); background: #fff; overflow: hidden; }
.lg-film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.lg-film--step { margin: 0 0 10px; }
.lg-note-label { margin: 0 0 14px; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lg-muted); }
.lg-film__cap { margin: 0 0 clamp(28px, 4vw, 44px); }

/* The exact coral from the final Illustrator file (Shuvo logo final.ai): RGB 241 90 41 */
.lg-page { --lg-or: #F15A23; }

/* Fig. 00 — the final animation (the homepage cradle) plays on the board;
   hovering hands over to the live logo, which plays the next of the nine moves */
.lg-board--cradle { overflow: hidden; }
.lg-cradle { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; z-index: 2; transition: opacity 0.45s ease; }
.lg-board--cradle .lg-stage--hero, .lg-board--cradle .lg-guide { opacity: 0; transition: opacity 0.45s ease; }
@media (hover: hover) and (pointer: fine) {
  .lg-board--cradle:hover .lg-cradle { opacity: 0; }
  .lg-board--cradle:hover .lg-stage--hero, .lg-board--cradle:hover .lg-guide { opacity: 1; }
}

/* ID-011 — Nine Moves board in the Coral / charcoal colourway (same as .lg-way--coral) */
.lg-one__board { --lg-paper: #1C1C1C; background: #1C1C1C; }
.lg-one__board .lg-stage--one { --lg-bg: transparent; --lg-ink-logo: var(--lg-or); --lg-alt: #fff; }
.lg-one__board .lg-guide { border-top-color: rgba(255, 255, 255, 0.16); }
.lg-one__board .lg-guide i { color: rgba(255, 255, 255, 0.4); }
.lg-one__board .op-g { stroke: rgba(255, 255, 255, 0.22); }

/* ID-001 — Fig. 00 board stays off-white (#F2F2F0) on hover too, not black */
.lg-board--cradle { --lg-paper: #F2F2F0; background: #F2F2F0; }
.lg-board--cradle .lg-stage--hero { --lg-bg: transparent; --lg-alt: #1C1C1C; }
.lg-board--cradle .lg-guide { border-top-color: rgba(28, 28, 28, 0.35); }
.lg-board--cradle .lg-guide i { color: #8a8a86; }

/* ------------------------------------------------------------------
   ID-002 — personal identity intro (Nov 8 2026): শুভ, roots line,
   and "How it was made" (Form / Rhythm / Pacing, as on the About page)
   ------------------------------------------------------------------ */
.lg-bn { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 0; }
.lg-bn [lang="bn"] {
  font-family: "Baloo Da 2", "Anek Bangla", "Noto Sans Bengali", sans-serif;
  font-weight: 800; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1;
  color: var(--lg-or);
}
.lg-bn .lg-mono { color: var(--lg-muted); }
.lg-roots { color: var(--lg-muted); line-height: 1.6; }
.lg-step h2[id] { scroll-margin-top: 96px; }

.lg-made { padding: 0 0 clamp(40px, 6vw, 72px); }
.lg-made__h { margin: 0 0 18px; font-weight: 500; }
.lg-made__h span { color: var(--lg-muted); }
.lg-made__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px);
}
.lg-made__list li { border-top: 1px solid var(--lg-rule); padding-top: 14px; }
.lg-made__from { margin: 0; color: var(--lg-muted); }
.lg-made__word {
  margin: 6px 0 12px; font-family: var(--lg-tall); font-size: clamp(3.5rem, 2rem + 4vw, 6rem);
  line-height: 0.9; text-transform: uppercase; letter-spacing: 0.01em;
  transition: color 0.25s ease;
}
.lg-made__list li:hover .lg-made__word { color: var(--lg-or); }
.lg-made__steps { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; }
.lg-made__steps a {
  font-family: var(--lg-monof); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--lg-ink); text-decoration: none;
  border: 1px solid var(--lg-rule); border-radius: 999px; padding: 5px 10px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.lg-made__steps a:hover, .lg-made__steps a:focus-visible { color: var(--lg-or); border-color: var(--lg-or); }
@media (max-width: 900px) { .lg-made__list { grid-template-columns: 1fr; } .lg-made__word { margin-bottom: 8px; } }
@media (prefers-reduced-motion: reduce) { .lg-made__word, .lg-made__steps a { transition: none; } }

/* ------------------------------------------------------------------
   ID-003 — Sketches: the path (6 logos → final), a big viewer, and a
   wall of all the explorations with group buttons (js/logo-sketches.js)
   ------------------------------------------------------------------ */
.lg-step__body--sk { align-items: start; }
.lg-sk { display: grid; gap: 14px; min-width: 0; }
.lg-sk .lg-note-label { margin: 0; color: var(--lg-muted); }
.lg-sk__wall-h { margin-top: 26px !important; }

/* the path */
.lg-path {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px;
}
.lg-path li { position: relative; margin: 0; }
.lg-path li:not(:last-child)::after {          /* the arrow between steps */
  content: "→"; position: absolute; right: -8px; top: 38px; transform: translateX(50%);
  font-family: var(--lg-monof); font-size: 0.75rem; color: var(--lg-or); z-index: 1;
}
.lg-path__tile, .lg-path__final {
  display: grid; grid-template-rows: auto 76px auto; gap: 8px; width: 100%; height: 100%;
  padding: 8px; text-align: left; color: var(--lg-ink);
  background: transparent; border: 1px solid var(--lg-rule); cursor: pointer; font: inherit;
  transition: border-color var(--dur) var(--ease);
}
.lg-path__final { cursor: default; border-color: var(--lg-or); }
.lg-path__tile img {
  width: 100%; height: 76px; object-fit: contain; padding: 10px;
  background: #F2F2F0; box-sizing: border-box;
}
.lg-path__stage {
  height: 76px; display: flex; align-items: center; justify-content: center;
  background: #F2F2F0; color: var(--lg-or); font-size: 1.6rem; overflow: hidden;
}
.lg-path__stage .brand__fx { display: inline-flex; }
.lg-path__stage svg { height: 34px; width: auto; }
.lg-path__n { font-size: 0.625rem; color: var(--lg-or); }
.lg-path__cap { font-size: 0.6875rem; line-height: 1.45; color: var(--lg-muted); }
.lg-path__cap b { display: block; margin-bottom: 3px; font-size: 0.625rem; font-weight: 500; color: var(--lg-ink); text-transform: uppercase; letter-spacing: 0.04em; }
.lg-path__tile:hover, .lg-path__tile:focus-visible, .lg-path__tile.is-on { border-color: var(--lg-or); }

/* the big view */
.lg-sk__view { border: 1px solid var(--lg-rule); margin-top: 10px; }
.lg-sk__stage {
  margin: 0; height: clamp(200px, 26vw, 340px); background: #F2F2F0;
  display: flex; align-items: center; justify-content: center; padding: clamp(20px, 4vw, 48px);
}
.lg-sk__stage img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity 0.18s ease; }
.lg-sk__stage img.is-swap { opacity: 0; }
.lg-sk__view.is-slide .lg-sk__stage { padding: 10px; }
.lg-sk__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; }
.lg-sk__bar p { margin: 0; font-size: 0.8125rem; line-height: 1.5; color: var(--lg-muted); }
.lg-sk__bar b { display: block; color: var(--lg-ink); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.75rem; }
.lg-sk__nav { display: flex; align-items: center; gap: 8px; flex: none; }
.lg-sk__nav .lg-mono { font-size: 0.6875rem; color: var(--lg-muted); min-width: 52px; text-align: center; }

/* chips + wall */
.lg-sk__chips { margin-top: 0; }
.lg-sk__chips .lg-btn span { opacity: 0.55; margin-left: 4px; }
.lg-wall {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px;
}
.lg-wall li { margin: 0; }
.lg-wall li[hidden] { display: none; }
.lg-wall__tile {
  display: block; width: 100%; aspect-ratio: 3 / 2; padding: 12px; cursor: pointer;
  background: #F2F2F0; border: 2px solid transparent; box-sizing: border-box;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.lg-wall__tile--slide { padding: 0; }
.lg-wall__tile img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lg-wall__tile:hover, .lg-wall__tile:focus-visible { border-color: var(--lg-or); transform: translateY(-2px); }
.lg-wall__tile.is-on { border-color: var(--lg-or); }
.lg-wall li.is-in { animation: lg-wall-in 0.35s var(--ease) both; }
@keyframes lg-wall-in { from { opacity: 0; transform: translateY(6px); } }

@media (max-width: 1100px) {
  .lg-path { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg-path li:nth-child(4n)::after { display: none; }
}
@media (max-width: 640px) {
  .lg-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg-path li::after { display: none; }
  .lg-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg-sk__bar { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .lg-wall li.is-in { animation: none; }
  .lg-wall__tile, .lg-sk__stage img { transition: none; }
}
.lg-path__stage .brand__p { fill: var(--lg-or); }
@media (min-width: 1280px) { .lg-path { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
/* match the white boards of the other steps */
.lg-sk .lg-path__tile img, .lg-path__stage, .lg-sk__stage, .lg-wall__tile { background: #fff; }
.lg-sk .lg-sk__stage img, .lg-sk .lg-wall__tile img { background: transparent; }

/* ------------------------------------------------------------------
   Steps 01–05 in one layout: pill buttons switch the panel
   (js/logo-sketches.js, part 2)
   ------------------------------------------------------------------ */
.lg-form__bar {
  position: sticky; top: 64px; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 0; margin-bottom: 8px;
  background: var(--lg-paper);
  border-bottom: 1px solid var(--lg-rule);
}
.lg-form__tabs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lg-form__tabs li { margin: 0; }
.lg-form__tab, .lg-form__arrow {
  font-family: var(--lg-monof); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--lg-ink); background: transparent; cursor: pointer;
  border: 1px solid var(--lg-rule); border-radius: 999px; padding: 8px 14px; min-height: 36px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.lg-form__tab:hover, .lg-form__tab:focus-visible, .lg-form__arrow:hover, .lg-form__arrow:focus-visible { color: var(--lg-or); border-color: var(--lg-or); }
.lg-form__tab.is-on { background: var(--lg-or); border-color: var(--lg-or); color: #000; }
.lg-form__nav { display: flex; gap: 6px; flex: none; }
.lg-form__arrow { padding: 8px 12px; }
.lg-form__ph { margin: 22px 0 18px; color: var(--lg-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.lg-form__ph span { color: var(--lg-or); margin-right: 6px; }
.lg-form__panel { scroll-margin-top: 140px; }
.lg-form__panel.is-in { animation: lg-form-in 0.35s var(--ease) both; }
@keyframes lg-form-in { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 640px) {
  .lg-form__bar { top: 56px; flex-direction: column; align-items: stretch; }
  .lg-form__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .lg-form__tab { white-space: nowrap; }
  .lg-form__nav { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lg-form__panel.is-in { animation: none; } }
.lg-form__panel .lg-step__body { margin-top: 0; padding-top: 0; }

/* ------------------------------------------------------------------
   ID-003 — How I found it: Round 1 → 4 → Final on one orange line
   (js/logo-sketches.js, part 3)
   ------------------------------------------------------------------ */
.lg-rd { display: grid; gap: 18px; min-width: 0; }
.lg-rd .lg-note-label { margin: 6px 0 0; color: var(--lg-muted); }
.lg-rd__trackwrap { position: relative; }
.lg-rd__line {                                   /* the line runs through the round dots */
  position: absolute; left: 10%; right: 10%; top: 74px; height: 2px;
  background: var(--lg-rule); pointer-events: none;
}
.lg-rd__line i {
  position: absolute; inset: 0 auto 0 0; width: var(--fill, 0%);
  background: var(--lg-or); transition: width 0.6s var(--ease);
}
.lg-rd__track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.lg-rd__track li { margin: 0; }
.lg-rd__node {
  width: 100%; display: grid; justify-items: center; gap: 4px; padding: 6px 4px 10px;
  background: transparent; border: 0; color: var(--lg-ink); cursor: pointer; font: inherit;
}
.lg-rd__k { font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lg-muted); transition: color var(--dur) var(--ease); }
.lg-rd__t { font-family: var(--lg-tall); font-size: clamp(1.4rem, 1rem + 1vw, 2rem); line-height: 1; text-transform: uppercase; }
.lg-rd__dots {
  display: flex; gap: 4px; align-items: center; justify-content: center;
  height: 22px; padding: 0 8px; margin-top: 8px; background: var(--lg-paper); position: relative; z-index: 1;
}
.lg-rd__dots i {
  width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--lg-muted);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.lg-rd__dots--final i { width: 16px; height: 16px; }
.lg-rd__node.is-past .lg-rd__dots i { border-color: var(--lg-or); }
.lg-rd__node.is-on .lg-rd__k, .lg-rd__node:hover .lg-rd__k, .lg-rd__node:focus-visible .lg-rd__k { color: var(--lg-or); }
.lg-rd__node.is-on .lg-rd__dots i { background: var(--lg-or); border-color: var(--lg-or); transform: scale(1.15); }

.lg-rd__panel.is-in { animation: lg-form-in 0.4s var(--ease) both; }
.lg-rd__panel { display: grid; gap: 14px; }
.lg-rd__panel[hidden] { display: none; }
.lg-rd__head { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 40px); align-items: start; border-top: 1px solid var(--lg-rule); padding-top: 18px; }
.lg-rd__big { margin: 0; font-family: var(--lg-tall); font-size: clamp(5rem, 3rem + 6vw, 9rem); line-height: 0.82; color: var(--lg-or); }
.lg-rd__big span { display: block; font-family: var(--lg-monof); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lg-muted); margin-top: 10px; }
.lg-rd__txt p { margin: 0 0 10px; font-size: 0.9375rem; line-height: 1.6; }
.lg-rd__txt b { font-weight: 600; }
.lg-rd__label { color: var(--lg-or) !important; font-size: 0.6875rem !important; text-transform: uppercase; letter-spacing: 0.06em; }

.lg-rd__kept {
  position: relative; margin: 0; background: #fff; border: 2px solid var(--lg-or);
  display: flex; align-items: center; justify-content: center; padding: clamp(28px, 5vw, 56px) clamp(20px, 6vw, 80px);
}
.lg-rd__kept img { width: 100%; max-width: 560px; height: auto; background: transparent !important; }
.lg-rd__kept span {
  position: absolute; top: 0; left: 0; padding: 6px 10px; background: var(--lg-or); color: #000;
  font-size: 0.625rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.lg-rd__kept--first { padding: 0; background: #1f1f1f; }
.lg-rd__kept--first img { max-width: none; }

.lg-rd__strip {
  list-style: none; margin: 0; padding: 0 0 10px; display: flex; gap: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--lg-or) transparent;
}
.lg-rd__strip li { flex: 0 0 min(320px, 70%); scroll-snap-align: start; margin: 0; }
.lg-rd__strip img { width: 100%; height: auto; display: block; border: 1px solid var(--lg-rule); }

.lg-rd__final {
  height: clamp(160px, 22vw, 280px); background: #fff; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--lg-or);
}
.lg-rd__final .brand__fx { display: inline-flex; }
.lg-rd__final svg { height: clamp(60px, 9vw, 120px); width: auto; }
.lg-rd__final .brand__p { fill: var(--lg-or); }
.lg-rd .lg-path__tile { cursor: default; }

.lg-rd__all { border-top: 1px solid var(--lg-rule); padding-top: 14px; margin-top: 10px; }
.lg-rd__all summary {
  cursor: pointer; list-style: none; display: inline-flex; gap: 10px; align-items: center;
  font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--lg-rule); border-radius: 999px; padding: 9px 16px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.lg-rd__all summary::-webkit-details-marker { display: none; }
.lg-rd__all summary::after { content: "+"; color: var(--lg-or); }
.lg-rd__all[open] summary::after { content: "–"; }
.lg-rd__all summary span { color: var(--lg-or); }
.lg-rd__all summary:hover, .lg-rd__all summary:focus-visible { color: var(--lg-or); border-color: var(--lg-or); }
.lg-rd__all .lg-sk { margin-top: 16px; }

@media (max-width: 640px) {
  .lg-rd__track { grid-template-columns: repeat(5, 72px); overflow-x: auto; }
  .lg-rd__trackwrap { overflow-x: auto; }
  .lg-rd__line { left: 36px; right: auto; width: 288px; }
  .lg-rd__dots i { width: 7px; height: 7px; }
  .lg-rd__head { grid-template-columns: 1fr; }
  .lg-rd__strip li { flex-basis: 82%; }
}
@media (prefers-reduced-motion: reduce) { .lg-rd__line i { transition: none; } .lg-rd__panel.is-in { animation: none; } }
.lg-rd__kept img, .lg-rd__strip img { border: 0; }
.lg-rd__strip img { outline: 1px solid var(--lg-rule); outline-offset: -1px; }
.lg-rd__line { top: 75px; }
.lg-rd__final .brand__fx { height: auto; width: auto; overflow: visible; }
.lg-rd__final svg { height: clamp(90px, 13vw, 170px); }
.lg-rd__final .brand__fullname, .lg-path__stage .brand__fullname { display: none; }

/* ------------------------------------------------------------------
   ID-003 v2 — each round as simple direction cards (clean logos,
   no PDF pages). Tap a card to see it big; multi-idea cards cycle.
   ------------------------------------------------------------------ */
.lg-rd__brief { margin: 0; font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lg-muted); }
.lg-rd__brief span { color: var(--lg-or); margin-right: 8px; }
.lg-rd__b { font-size: 0.5625rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lg-muted); margin-top: 4px; }
.lg-rd__node.is-on .lg-rd__b { color: var(--lg-ink); }
.lg-rd__h { font-size: clamp(1.15rem, 0.9rem + 0.8vw, 1.6rem) !important; line-height: 1.3 !important; font-weight: 400; margin: 2px 0 8px !important; }
.lg-rd__h b { color: var(--lg-or); font-weight: 600; }
.lg-rd__hint { color: var(--lg-muted) !important; font-size: 0.625rem !important; text-transform: uppercase; letter-spacing: 0.06em; }

.lg-dc__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lg-dc__grid li { margin: 0; }
.lg-dc__grid li:has(.is-big) { grid-column: 1 / -1; order: -1; }
.lg-dc__grid--4 li:has(.is-wide) { grid-column: 1 / -1; }
.lg-dc {
  position: relative; width: 100%; display: grid; grid-template-rows: auto auto; gap: 0; padding: 0;
  background: #fff; border: 2px solid transparent; cursor: pointer; font: inherit; color: #111; text-align: left;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.lg-dc:hover, .lg-dc:focus-visible { border-color: var(--lg-or); transform: translateY(-2px); }
.lg-dc.is-kept { border-color: var(--lg-or); }
.lg-dc__art { position: relative; display: block; aspect-ratio: 4 / 3; margin: 0; }
.lg-dc.is-wide .lg-dc__art { aspect-ratio: 16 / 5; }
.lg-dc.is-big .lg-dc__art { aspect-ratio: 16 / 7; }
.lg-dc__art img {
  position: absolute; inset: 14% 10%; width: 80%; height: 72%; object-fit: contain;
  background: transparent !important; border: 0 !important; opacity: 0; transition: opacity 0.35s ease;
}
.lg-dc__art img.is-on { opacity: 1; }
.lg-dc__cap {
  display: block; padding: 9px 12px 10px; border-top: 1px solid #ececea;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em;
}
.lg-dc__cap .lg-mono { color: var(--lg-or); margin-right: 6px; font-size: 0.6875rem; }
.lg-dc__tag {
  position: absolute; top: 0; right: 0; padding: 5px 9px; background: var(--lg-or); color: #000;
  font-size: 0.5625rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.lg-dc__dots { position: absolute; left: 12px; top: 10px; display: flex; gap: 4px; }
.lg-dc__dots i { width: 5px; height: 5px; border-radius: 50%; background: #d5d5d2; transition: background 0.3s ease; }
.lg-dc__dots i.is-on { background: var(--lg-or); }
.lg-rd__kept-line { margin: 4px 0 0; padding: 14px 16px; border-left: 2px solid var(--lg-or); background: rgba(255,255,255,0.03); font-size: 0.9375rem; line-height: 1.6; }
.lg-rd__kept-line > span { display: block; color: var(--lg-or); font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.lg-rd__kept-line b { color: var(--lg-or); }
.lg-rd__line { top: 75px; }
@media (max-width: 760px) { .lg-dc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .lg-rd__b { display: none; } }
@media (prefers-reduced-motion: reduce) { .lg-dc, .lg-dc__art img { transition: none; } }
/* tidy: a tapped card grows in place (no jumping to the top); even card art */
.lg-dc__grid li:has(.is-big) { order: 0; }
.lg-dc__art img { inset: 16% 12%; width: 76%; height: 68%; }
.lg-dc.is-big .lg-dc__art img { inset: 12% 14%; width: 72%; height: 76%; }
.lg-dc__cap { font-size: 0.8125rem; }

/* ------------------------------------------------------------------
   Round 1 cards on one grid: every card is the same 2 × 2 sheet with
   faint guide lines; each logo fits the same box inside its cell
   ------------------------------------------------------------------ */
.lg-dc__art--grid {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  padding: 7%; box-sizing: border-box;
  background:
    linear-gradient(#ececea, #ececea) center / 1px 86% no-repeat,           /* centre column line */
    linear-gradient(#ececea, #ececea) center / 86% 1px no-repeat;           /* centre row line */
  outline: 1px dashed #e2e2df; outline-offset: -7%;
}
.lg-dc__art--grid .lg-cell { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; }
.lg-dc__art--grid .lg-cell::before {                                        /* tiny crosshair at each cell centre */
  content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; transform: translate(-50%, -50%);
  background: linear-gradient(#e6e6e3, #e6e6e3) center / 1px 100% no-repeat, linear-gradient(#e6e6e3, #e6e6e3) center / 100% 1px no-repeat;
}
.lg-dc__art--grid .lg-cell img {
  position: relative; inset: auto; width: auto; height: auto; opacity: 1;
  max-width: 74%; max-height: 52%; object-fit: contain; z-index: 1;
}
.lg-dc__art--grid .lg-cell--span { grid-column: 1 / -1; }
.lg-dc__art--grid .lg-cell--span img { max-width: 60%; }
.lg-dc__art--grid .lg-cell--kept { box-shadow: inset 0 0 0 1.5px var(--lg-or); }
.lg-dc__art--grid .lg-cell--kept::after {
  content: "kept"; position: absolute; right: 6px; bottom: 5px; font-family: var(--lg-monof);
  font-size: 0.5625rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lg-or);
}
.lg-dc.is-big .lg-dc__art--grid .lg-cell img { max-height: 58%; }
.lg-dc__art--grid .lg-cell img { max-width: 72%; max-height: 66%; }
.lg-dc__art--grid .lg-cell--span img { max-width: 56%; max-height: 72%; }
.lg-dc__grid li { display: flex; }
.lg-dc { height: 100%; grid-template-rows: auto 1fr; }
@media (max-width: 640px) { .lg-dc__cap { font-size: 0.75rem; padding: 8px 10px; } }
/* Rounds 2–3 on the same grid; "The one" fills the whole sheet */
.lg-dc__art--one { grid-template-columns: 1fr; grid-template-rows: 1fr; background: linear-gradient(#ececea, #ececea) center / 86% 1px no-repeat; }
.lg-dc__art--one .lg-cell--all img { max-width: 46%; max-height: 74%; }
.lg-dc__art--one .lg-cell--kept { box-shadow: none; }
.lg-dc.is-wide .lg-dc__art--grid { outline-offset: -5%; padding: 4% 7%; }
/* a mark across the bottom row: the centre line stops at the middle */
.lg-dc__art--grid:has(.lg-cell--span) {
  background:
    linear-gradient(#ececea, #ececea) 50% 7% / 1px 43% no-repeat,
    linear-gradient(#ececea, #ececea) center / 86% 1px no-repeat;
}
.lg-dc__art--one .lg-cell--kept::after { content: none; }

/* Nov 8 fix: no divider lines or + marks inside the cards; logos stay
   centred in their cell in both the small and the enlarged view */
.lg-dc__art--grid,
.lg-dc__art--grid:has(.lg-cell--span),
.lg-dc__art--one { background: none; }
.lg-dc__art--grid .lg-cell::before { content: none; }
.lg-dc__art--grid { column-gap: 6%; row-gap: 8%; }
.lg-dc .lg-dc__art--grid .lg-cell img,
.lg-dc.is-big .lg-dc__art--grid .lg-cell img {
  position: relative; inset: auto; width: auto; height: auto; opacity: 1;
  max-width: 88%; max-height: 70%; object-fit: contain;
}
.lg-dc .lg-dc__art--grid .lg-cell--span img,
.lg-dc.is-big .lg-dc__art--grid .lg-cell--span img { max-width: 50%; max-height: 74%; }
.lg-dc .lg-dc__art--one .lg-cell--all img,
.lg-dc.is-big .lg-dc__art--one .lg-cell--all img { max-width: 46%; max-height: 74%; }
.lg-dc.is-big .lg-dc__art--grid { padding: 6% 10%; }

/* tapped card opens large on top of the page (the grid stays put) */
.lg-dc-zoom {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(8, 8, 8, 0.86); backdrop-filter: blur(4px);
}
.lg-dc-zoom[hidden] { display: none; }
.lg-dc-zoom__box { position: relative; width: min(1000px, 100%); background: #fff; color: #111; animation: lg-form-in 0.3s ease both; }
.lg-dc-zoom__art .lg-dc__art { aspect-ratio: 16 / 9; }
.lg-dc-zoom__art .lg-dc__art--one { aspect-ratio: 16 / 7; }
.lg-dc-zoom__art .lg-dc__art--grid { padding: 6% 9%; outline-offset: -4%; }
.lg-dc-zoom__cap { margin: 0; padding: 14px 18px; border-top: 1px solid #ececea; font-size: 0.9375rem; font-weight: 500; }
.lg-dc-zoom__cap .lg-mono { color: var(--color-accent, #F15A23); margin-right: 8px; font-family: "DM Mono", ui-monospace, monospace; font-size: 0.8125rem; }
.lg-dc-zoom__kept { margin-left: 10px; padding: 3px 8px; background: var(--color-accent, #F15A23); color: #000; font-family: "DM Mono", ui-monospace, monospace; font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: 2px; }
.lg-dc-zoom__x {
  position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--color-accent, #F15A23); color: #000; border: 0; font-size: 1.4rem; line-height: 1; cursor: pointer;
}
html.lg-zoom-open { overflow: hidden; }
@media (max-width: 640px) { .lg-dc-zoom__x { top: 8px; right: 8px; } .lg-dc-zoom__art .lg-dc__art { aspect-ratio: 4 / 3; } }
@media (prefers-reduced-motion: reduce) { .lg-dc-zoom__box { animation: none; } }
.lg-dc__art--grid, .lg-dc-zoom__art .lg-dc__art--grid { outline: none; }
.lg-dc__art--grid .lg-cell--kept::after { content: none; }   /* the card tag already says Kept; no text over the logo */

/* ---- Nov 9: Round 3 has three cards; Round 4 steps through how I refined ---- */
.lg-dc__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .lg-dc__grid.lg-dc__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } }
.lg-rf { display: grid; gap: 12px; }
.lg-rf__view { position: relative; aspect-ratio: 16 / 7; background: #fff; border: 1px solid rgba(255,255,255,0.08); overflow: hidden; }
.lg-rf__stage { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; padding: 6% 8%; }
.lg-rf__stage[hidden] { display: none; }
.lg-rf__stage.is-on { animation: lg-rf-in 0.35s ease both; }
.lg-rf__stage img { display: block; width: 100%; height: 100%; object-fit: contain; border: 0 !important; background: transparent !important; max-width: none; }
.lg-rf__stage--wide { padding: 3% 8%; }
.lg-rf__count { position: absolute; right: 12px; bottom: 10px; font-size: 0.625rem; letter-spacing: 0.08em; color: #8a8a86; }
@keyframes lg-rf-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lg-rf__bar { display: flex; align-items: center; gap: 8px; }
.lg-rf__steps { list-style: none; margin: 0; padding: 0; flex: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.lg-rf__steps li { margin: 0; }
.lg-rf__step { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 10px; background: transparent; border: 1px solid rgba(255,255,255,0.14); color: inherit; font: inherit; font-size: 0.8125rem; line-height: 1.2; text-align: left; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.lg-rf__step span { font-size: 0.625rem; letter-spacing: 0.08em; color: #8a8a86; }
.lg-rf__step:hover, .lg-rf__step:focus-visible { border-color: var(--lg-or); }
.lg-rf__step.is-done { border-color: rgba(225,103,58,0.45); }
.lg-rf__step.is-on { border-color: var(--lg-or); background: var(--lg-or); color: #111; }
.lg-rf__step.is-on span { color: #111; }
.lg-rf__progress { height: 2px; background: rgba(255,255,255,0.1); }
.lg-rf__progress i { display: block; height: 100%; width: 0; background: var(--lg-or); transition: width 0.35s ease; }
.lg-rf__cap { margin: 0; padding: 14px 16px; border-left: 2px solid var(--lg-or); background: rgba(255,255,255,0.03); font-size: 0.9375rem; line-height: 1.6; }
.lg-rf__cap[hidden] { display: none; }
.lg-rf__cap > span { display: block; color: var(--lg-or); font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
@media (max-width: 760px) {
  .lg-rf__view { aspect-ratio: 16 / 9; }
  .lg-rf__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg-rf__bar .lg-btn { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lg-rf__stage.is-on { animation: none; } .lg-rf__progress i { transition: none; } }
/* Nov 9: Round 4 shows 3 refine steps */
.lg-rf__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .lg-rf__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Nov 9: no orange box around the kept logo (small or enlarged); the card tag says Kept */
.lg-dc__art--grid .lg-cell--kept, .lg-dc-zoom .lg-cell--kept { box-shadow: none !important; outline: none !important; border: 0 !important; }

/* ---- Nov 9: Finding the Line as one process sheet (no tabs) ---- */
.lg-ps__sheet {
  --lg-ink: #1c1c1c; --lg-muted: #7a7a76; --lg-rule: rgba(28,28,28,0.16);
  margin-top: 28px; padding: clamp(18px, 2.4vw, 32px); background: #f2f2ef; color: #1c1c1c;
}
.lg-ps__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 2px solid var(--lg-or); }
.lg-ps__top p { margin: 0; text-transform: uppercase; letter-spacing: 0.12em; }
.lg-ps__top p:first-child { font-size: clamp(0.875rem, 0.7rem + 0.5vw, 1.25rem); color: #1c1c1c; }
.lg-ps__top p:last-child { font-size: 0.6875rem; color: #7a7a76; }
.lg-ps__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); margin-top: clamp(14px, 1.8vw, 24px); }
.lg-ps__panel { min-width: 0; background: #fff; border: 1.5px solid #1c1c1c; padding: clamp(14px, 1.6vw, 22px); display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 90px; }
.lg-ps__panel--wide { grid-column: 1 / -1; }
.lg-ps__h { margin: 0; padding-bottom: 10px; border-bottom: 1px solid #1c1c1c; font-size: 0.75rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: #1c1c1c; }
.lg-ps__h span { color: var(--lg-or); margin-right: 6px; }
.lg-ps__fig { margin: 0; flex: 1; display: flex; align-items: center; justify-content: center; }
.lg-ps__fig img { display: block; width: 100%; height: auto; border: 0 !important; background: transparent !important; }
.lg-ps__cap { margin: 0; font-size: 0.875rem; line-height: 1.55; color: #55554f; }
.lg-ps__cap--lead { max-width: 62ch; }
/* rounds inside the light sheet */
.lg-ps .lg-rd { color: #1c1c1c; }
.lg-ps .lg-rd__kept-line, .lg-ps .lg-rf__cap { background: #f6f6f3; }
.lg-ps .lg-dc { border-color: rgba(28,28,28,0.18); }
.lg-ps .lg-dc.is-kept, .lg-ps .lg-dc:hover, .lg-ps .lg-dc:focus-visible { border-color: var(--lg-or); }
.lg-ps .lg-rf__view { border-color: rgba(28,28,28,0.16); }
.lg-ps .lg-rf__step { border-color: rgba(28,28,28,0.2); }
.lg-ps .lg-rf__step.is-on { border-color: var(--lg-or); }
.lg-ps .lg-rf__progress { background: rgba(28,28,28,0.1); }
.lg-ps .lg-btn { color: #1c1c1c; border-color: rgba(28,28,28,0.25); }
@media (max-width: 760px) {
  .lg-ps__grid { grid-template-columns: 1fr; }
  .lg-ps__sheet { padding: 12px; }
}
.lg-ps__panel { --lg-paper: #fff; }
/* Nov 9: rounds track has 4 stops (Final removed; Round 4 ends on the final logo) */
.lg-rd__track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lg-rd__line { left: 12.5%; right: 12.5%; width: auto; }
@media (max-width: 640px) {
  .lg-rd__track { grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
  .lg-rd__trackwrap { overflow: visible; }
  .lg-rd__line { left: 12.5%; right: 12.5%; width: auto; }
}

/* ---- Nov 9: Finding the Line, click version (like Nine Moves) ---- */
.lg-fl__brief { margin: 18px 0 0; }
.lg-fl__cap { margin-top: 22px; }
.lg-fl__cap b span { margin-right: 10px; }
.lg-fl__cap p b { color: var(--lg-or); font-weight: 600; }
.lg-fl__lists { margin-top: 16px; }
.lg-fl__stage { margin-top: clamp(20px, 2.6vw, 32px); }
.lg-fl__panel { display: grid; gap: 14px; }
.lg-fl__panel[hidden] { display: none; }
.lg-fl__panel.is-in { animation: lg-rf-in 0.35s ease both; }
.lg-fl__board { margin: 0; background: #fff; border: 1px solid rgba(255,255,255,0.12); padding: clamp(16px, 3vw, 40px); }
.lg-fl__board img { display: block; width: 100%; height: auto; border: 0 !important; background: transparent !important; }
.lg-fl__all { margin-top: 18px; }
.lg-fl .lg-fl__panel { scroll-margin-top: 90px; }
@media (prefers-reduced-motion: reduce) { .lg-fl__panel.is-in { animation: none; } }
@media (max-width: 640px) { .lg-fl__board { padding: 8px; } }

/* ---- Nov 9: Finding the Line, drag the line (+ play) ---- */
.lg-ln__brief { margin: 18px 0 0; }
.lg-ln__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 22px; }
.lg-ln__cap p b { color: var(--lg-or); font-weight: 600; }
.lg-ln__cap b span { margin-right: 10px; }
.lg-ln__play { flex: none; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--lg-or); color: #000; border: 1px solid var(--lg-or); padding: 12px 18px; cursor: pointer; }
.lg-ln__play:hover, .lg-ln__play:focus-visible { background: transparent; color: var(--lg-or); }
.lg-ln__board { position: relative; margin-top: 16px; background: #fff; aspect-ratio: 16 / 7; display: flex; align-items: center; justify-content: center; padding: 3% 5%; overflow: hidden; }
.lg-ln__board img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; border: 0 !important; background: transparent !important; }
.lg-ln__board img[hidden] { display: none; }
.lg-ln__board img.is-in { animation: lg-rf-in 0.4s ease both; }
.lg-ln__count { position: absolute; right: 12px; bottom: 10px; font-size: 0.625rem; letter-spacing: 0.08em; color: #8a8a86; }
.lg-ln__track { position: relative; margin: 26px 14px 0; height: 62px; touch-action: none; cursor: pointer; user-select: none; }
.lg-ln__rail { position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: var(--lg-rule); }
.lg-ln__rail i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--lg-or); transition: width 0.35s var(--ease); }
.lg-ln__stops { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.lg-ln__stops li { position: absolute; top: 0; transform: translateX(-50%); margin: 0; }
.lg-ln__stop { display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: 0; padding: 0; color: var(--lg-muted); cursor: pointer; font: inherit; }
.lg-ln__stop i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #555; background: var(--lg-paper); transition: background 0.25s, border-color 0.25s, box-shadow 0.25s; }
.lg-ln__stop span { font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; }
.lg-ln__stop.is-done i { background: var(--lg-or); border-color: var(--lg-or); }
.lg-ln__stop.is-on i { background: var(--lg-or); border-color: var(--lg-or); box-shadow: 0 0 0 6px rgba(225,103,58,0.25); }
.lg-ln__stop.is-on span, .lg-ln__stop:hover span { color: var(--lg-ink); }
.lg-ln__stop { scroll-margin-top: 50vh; }
.lg-ln__hint { margin: 4px 0 0; font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lg-muted); }
@media (max-width: 640px) {
  .lg-ln__top { flex-direction: column; align-items: stretch; }
  .lg-ln__board { aspect-ratio: 16 / 9; padding: 3%; }
  .lg-ln__track { margin: 22px 10px 0; }
  .lg-ln__stop i { width: 20px; height: 20px; }
  .lg-ln__stop span { font-size: 0.5625rem; }
}
@media (prefers-reduced-motion: reduce) { .lg-ln__board img.is-in { animation: none; } .lg-ln__rail i { transition: none; } }

/* ---- Nov 9: sketch rounds on the line (R1, R2, R3): many marks → one kept ---- */
.lg-ln__pane { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.lg-ln__pane[hidden] { display: none; }
.lg-ln__pane > img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.lg-ln__board .lg-ln__pane.is-in { animation: lg-rf-in 0.4s ease both; }
.lg-ln__round { width: 100%; height: 100%; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 4%; align-items: center; }
.lg-ln__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px 10px; align-content: center; }
.lg-ln__round--r3 .lg-ln__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 18px; }
.lg-ln__m { aspect-ratio: 2 / 1; display: flex; align-items: center; justify-content: center; }
.lg-ln__m img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; }
.lg-ln__kept { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; border-left: 1px solid #e6e6e2; padding-left: 8%; height: 72%; justify-content: center; }
.lg-ln__kept img { max-width: 100%; max-height: 70%; width: auto; height: auto; display: block; }
.lg-ln__kept figcaption { font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lg-or); }
/* the round plays: every mark appears, then all but the kept one step back */
.lg-ln__pane.is-in .lg-ln__m { animation: lg-ln-m 1.6s ease both; animation-delay: calc(var(--d) * 35ms); }
.lg-ln__pane.is-in .lg-ln__m.is-kept { animation: lg-ln-k 1.6s ease both; animation-delay: calc(var(--d) * 35ms); }
.lg-ln__pane.is-in .lg-ln__kept { animation: lg-ln-in 0.6s ease both 1.1s; }
.lg-ln__m { opacity: 0.22; filter: grayscale(1); }
.lg-ln__m.is-kept { opacity: 1; filter: none; }
@keyframes lg-ln-m { 0% { opacity: 0; transform: scale(0.9); } 35% { opacity: 1; transform: none; } 70% { opacity: 1; } 100% { opacity: 0.22; } }
@keyframes lg-ln-k { 0% { opacity: 0; transform: scale(0.9); } 35% { opacity: 1; transform: none; } 100% { opacity: 1; } }
@keyframes lg-ln-in { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.lg-ln__grps { position: absolute; left: 0; right: 0; top: -22px; height: 14px; }
.lg-ln__grp { position: absolute; top: 0; font-size: 0.5625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lg-muted); text-align: center; border-top: 1px solid var(--lg-rule); padding-top: 3px; white-space: nowrap; }
.lg-ln__track { margin-top: 44px; }
@media (max-width: 640px) {
  .lg-ln__grid { gap: 3px 4px; }
  .lg-ln__round--r3 .lg-ln__grid { gap: 6px 8px; }
  .lg-ln__kept { gap: 6px; padding-left: 6%; }
  .lg-ln__grp { font-size: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) { .lg-ln__pane.is-in .lg-ln__m, .lg-ln__pane.is-in .lg-ln__kept { animation: none; } }

/* ---- Nov 9: 01 Sketch holds rounds 1–3 (tabs inside the board) ---- */
.lg-ln__track--plain { margin-top: 26px; }
.lg-ln__pane--sk { flex-direction: column; align-items: stretch; gap: 3%; }
.lg-ln__rtabs { display: flex; gap: 6px; flex: none; }
.lg-ln__rtab { font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; background: #fff; color: #1c1c1c; border: 1px solid #d6d6d2; padding: 7px 12px; cursor: pointer; }
.lg-ln__rtab span { color: #8a8a86; margin-left: 4px; }
.lg-ln__rtab:hover { border-color: var(--lg-or); }
.lg-ln__rtab[aria-pressed="true"] { background: var(--lg-or); border-color: var(--lg-or); color: #000; }
.lg-ln__rtab[aria-pressed="true"] span { color: #000; }
.lg-ln__rboards { flex: 1; min-height: 0; display: flex; }
.lg-ln__rboards .lg-ln__round[hidden] { display: none; }
.lg-ln__round.is-in .lg-ln__m { animation: lg-ln-m 1.6s ease both; animation-delay: calc(var(--d) * 35ms); }
.lg-ln__round.is-in .lg-ln__m.is-kept { animation: lg-ln-k 1.6s ease both; animation-delay: calc(var(--d) * 35ms); }
.lg-ln__round.is-in .lg-ln__kept { animation: lg-ln-in 0.6s ease both 1.1s; }
@media (max-width: 640px) {
  .lg-ln__rtab { padding: 5px 7px; font-size: 0.5625rem; }
  .lg-ln__rtab span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lg-ln__round.is-in .lg-ln__m, .lg-ln__round.is-in .lg-ln__kept { animation: none; } }
/* Nov 9: Form / Rhythm / Pacing — one line each, no step pills */
.lg-made__line { margin: 6px 0 0; max-width: 34ch; font-size: 0.9375rem; line-height: 1.55; color: var(--lg-muted); }
.lg-made__list li:hover .lg-made__word { color: inherit; }

/* ---- Nov 9: phone fixes for Finding the Line ---- */
@media (max-width: 640px) {
  /* square board, same height at every stop, so the line never jumps under your thumb */
  .lg-ln__board { aspect-ratio: 1 / 1; padding: 12px; }
  .lg-ln__play { align-self: flex-start; padding: 10px 14px; }
  /* 01 Sketch: the kept logo on top, the round's sketches below, bigger */
  .lg-ln__pane--sk { gap: 10px; }
  .lg-ln__round { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 10px; align-content: start; }
  .lg-ln__kept { order: -1; border-left: 0; border-bottom: 1px solid #e6e6e2; padding: 0 0 10px; height: auto; gap: 6px; }
  .lg-ln__kept img { max-height: 64px; max-width: 70%; }
  .lg-ln__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px 8px; }
  .lg-ln__round--r3 .lg-ln__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; }
  .lg-ln__rtab { padding: 6px 10px; font-size: 0.625rem; }
  .lg-ln__rtab span { display: inline; }
}
@media (max-width: 640px) {
  .lg-ln__rtabs { flex-wrap: nowrap; gap: 4px; }
  .lg-ln__rtab { flex: none; white-space: nowrap; padding: 6px 8px; font-size: 0.5625rem; }
  .lg-ln__kept img { max-height: 46px; }
  .lg-ln__kept { padding-bottom: 8px; }
  .lg-ln__grid { gap: 4px 6px; }
  .lg-ln__round--r3 .lg-ln__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 10px; }
  .lg-ln__count { display: none; }
}

/* ---- Nov 9: Round 3 shows the picked logo becoming the final logo ---- */
.lg-ln__to { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.lg-ln__kept .lg-ln__to img { display: block; width: 86%; height: auto; max-width: none; max-height: none; }
.lg-ln__kept--to { height: auto; }
.lg-ln__arrow { color: var(--lg-or); font-size: 1rem; line-height: 1; }
.lg-ln__kept--to figcaption span:first-child { color: #8a8a86; }
.lg-ln__round.is-in .lg-ln__arrow { animation: lg-ln-in 0.5s ease both 1.5s; }
.lg-ln__round.is-in .lg-ln__final { animation: lg-ln-final 0.7s ease both 1.8s; }
@keyframes lg-ln-final { from { opacity: 0; transform: translateY(-10px) scale(0.96); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .lg-ln__to { flex-direction: row; justify-content: center; gap: 10px; }
  .lg-ln__kept .lg-ln__to img { width: 40%; }
  .lg-ln__arrow { transform: rotate(-90deg); }
  .lg-ln__round.is-in .lg-ln__arrow { animation: none; }
}
@media (prefers-reduced-motion: reduce) { .lg-ln__round.is-in .lg-ln__arrow, .lg-ln__round.is-in .lg-ln__final { animation: none; } }

/* ---- Nov 9: same frame as Fig. 00 (2:1, off-white) for Finding the Line ---- */
@media (min-width: 641px) {
  .lg-ln__board { aspect-ratio: 2 / 1; background: #F2F2F0; padding: 3% 6%; }
}
@media (max-width: 640px) { .lg-ln__board { background: #F2F2F0; } }
.lg-ln__rtab { background: transparent; }
.lg-ln__kept { border-color: #dcdcd7; }

/* ---- Nov 9: Nine Moves board on white ---- */
.lg-one__board { --lg-paper: #fff; --lg-ink: #1C1C1C; background: #fff; border-color: #fff; }
.lg-one__board .lg-stage--one { --lg-alt: #1C1C1C; }
.lg-one__board .lg-guide { border-top-color: rgba(28, 28, 28, 0.22); }
.lg-one__board .lg-guide i { color: #8a8a86; }
.lg-one__board .op-g { stroke: rgba(28, 28, 28, 0.3); }
.lg-one__board .op--f .op-p { fill: #1C1C1C; }

/* ---- Nov 9: Colour Ways — one board, pick a colour way ---- */
.lg-cw { margin-top: clamp(28px, 4vw, 48px); }
.lg-cw__board { aspect-ratio: 2 / 1; background: var(--cw-bg); border-color: var(--cw-bg); transition: background-color 0.6s ease, border-color 0.6s ease; overflow: hidden; }
.lg-cw__stage { position: absolute; inset: 0; --lg-bg: transparent; --lg-ink-logo: var(--cw-ink); --lg-alt: var(--cw-ink); }
.lg-cw__stage .brand__fx { width: 62%; }
.lg-cw__stage .brand__l, .lg-cw__stage .brand__p { transition: fill 0.6s ease; }
.lg-cw__hex { position: absolute; left: 14px; right: 14px; bottom: 12px; margin: 0; display: flex; justify-content: space-between; font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cw-ink); opacity: 0.7; transition: color 0.6s ease; }
.lg-cw__cap { margin-top: 18px; }
.lg-cw__cap b { color: var(--lg-or); }
.lg-cw__list { margin-top: 12px; }
.lg-cw__pick { display: inline-flex; align-items: center; gap: 10px; }
.lg-cw__pick i { position: relative; width: 22px; height: 16px; border: 1px solid rgba(255,255,255,0.3); display: inline-block; }
.lg-cw__pick i b { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; transform: translate(-50%, -50%); }
@media (max-width: 640px) { .lg-cw__board { aspect-ratio: 4 / 3; } .lg-cw__stage .brand__fx { width: 80%; } }
@media (prefers-reduced-motion: reduce) { .lg-cw__board, .lg-cw__stage .brand__l, .lg-cw__stage .brand__p, .lg-cw__hex { transition: none; } }
.lg-one__board { overflow: hidden; }   /* the coral spotlight stays inside the board */

/* ---- Nov 9: Colour Ways 02 — big board, five live thumbnails, palette ---- */
.lg-cw__cap { margin: 0 0 14px; }
.lg-cw__cap b span:first-child { margin-right: 10px; }
.lg-cw__cap b { color: var(--lg-or); }
.lg-cw__thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.lg-cw__thumbs li { margin: 0; }
.lg-cw__thumb { width: 100%; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 8px; }
.lg-cw__mini { position: relative; display: block; aspect-ratio: 2 / 1; outline: 1px solid rgba(255,255,255,0.12); outline-offset: 0; transition: outline-color 0.2s, transform 0.25s; }
.lg-cw__mini i { position: absolute; inset: 22% 16%; -webkit-mask: url("../projects/shuvo-logo/refine/3-final-logo.svg?v=newlogo") center / contain no-repeat; mask: url("../projects/shuvo-logo/refine/3-final-logo.svg?v=newlogo") center / contain no-repeat; }
.lg-cw__thumb:hover .lg-cw__mini { transform: translateY(-2px); }
.lg-cw__thumb[aria-pressed="true"] .lg-cw__mini { outline: 2px solid var(--lg-or); outline-offset: 3px; }
.lg-cw__tname { font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lg-muted); }
.lg-cw__tname b { color: var(--lg-or); font-weight: 400; margin-right: 4px; }
.lg-cw__thumb[aria-pressed="true"] .lg-cw__tname { color: var(--lg-ink); }
.lg-cw__pal { margin-top: clamp(24px, 3vw, 36px); }
.lg-cw__sws { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lg-cw__sws li { margin: 0; }
.lg-cw__sw { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px; background: none; border: 1px solid var(--lg-rule); color: inherit; cursor: pointer; text-align: left; }
.lg-cw__sw:hover { border-color: var(--lg-or); }
.lg-cw__sw i { width: 38px; height: 38px; flex: none; outline: 1px solid rgba(255,255,255,0.15); }
.lg-cw__sw span { display: flex; flex-direction: column; font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lg-muted); }
.lg-cw__sw b { color: var(--lg-ink); font-weight: 400; }
.lg-cw__copied { min-height: 1.2em; margin: 8px 0 0; font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lg-or); }
@media (max-width: 640px) {
  .lg-cw__thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg-cw__sws { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Nov 9: See every exploration — grouped, in story order ---- */
.lg-wall__groups { display: grid; gap: clamp(22px, 3vw, 34px); margin-top: 18px; }
.lg-wall__grp[hidden] { display: none; }
.lg-wall__gh { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--lg-rule); }
.lg-wall__gh h4 { margin: 0; font-size: 0.75rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lg-ink); }
.lg-wall__gh h4 span { color: var(--lg-or); margin-left: 6px; }
.lg-wall__gh p { margin: 0; font-size: 0.8125rem; color: var(--lg-muted); }
.lg-wall__grp--win .lg-wall__gh { border-bottom-color: var(--lg-or); }
.lg-wall__grp--win .lg-wall__gh p { color: var(--lg-or); }
.lg-wall__groups .lg-wall { margin-top: 0; }

/* ---- Nov 9: 06 In Use — business card, résumé, cover letter on one desk ---- */
.lg-use__cap { margin: 0 0 16px; }
.lg-use__cap b { color: var(--lg-or); }
.lg-use__cap p b { font-weight: 600; }
.lg-use__desk { position: relative; aspect-ratio: 2 / 1; background: #E9E7E2; overflow: hidden; }
.lg-use__paper { position: absolute; margin: 0; width: 27%; box-shadow: 0 18px 40px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.12); background: #fff; }
.lg-use__paper img { display: block; width: 100%; height: auto; }
.lg-use__paper--resume { left: 9%; top: 7%; transform: rotate(-5deg); }
.lg-use__paper--cover { left: 34%; top: 4%; transform: rotate(3deg); }
.lg-use__card { position: absolute; width: 25%; aspect-ratio: 3.5 / 2; box-shadow: 0 14px 28px rgba(0,0,0,0.22), 0 2px 5px rgba(0,0,0,0.15); }
.lg-use__card--front { left: 64%; top: 16%; background: #1C1C1C; transform: rotate(-8deg); display: flex; align-items: center; justify-content: center; }
.lg-use__card--back { left: 61%; top: 52%; background: #fff; transform: rotate(6deg); padding: 6% 7%; display: flex; justify-content: space-between; align-items: flex-end; }
.lg-use__mark, .lg-use__mini { display: block; background: var(--lg-or); -webkit-mask: url("../projects/shuvo-logo/refine/3-final-logo.svg?v=newlogo") center / contain no-repeat; mask: url("../projects/shuvo-logo/refine/3-final-logo.svg?v=newlogo") center / contain no-repeat; }
.lg-use__mark { width: 62%; aspect-ratio: 334 / 108; }
.lg-use__mini { position: absolute; left: 7%; top: 12%; width: 30%; aspect-ratio: 334 / 108; }
.lg-use__info { display: flex; flex-direction: column; font: 400 clamp(0.4rem, 0.75vw, 0.625rem)/1.45 Inter, sans-serif; color: #1C1C1C; }
.lg-use__info b { font-weight: 600; font-size: 1.15em; }
.lg-use__gap { margin-top: 0.8em; }
.lg-use__qr { width: 22%; height: auto; display: block; }
.lg-use__labels { list-style: none; margin: 12px 0 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lg-muted); }
.lg-use__labels span { color: var(--lg-or); margin-right: 4px; }
@media (max-width: 640px) {
  .lg-use__desk { aspect-ratio: 4 / 5; }
  .lg-use__paper { width: 46%; }
  .lg-use__paper--resume { left: 4%; top: 4%; }
  .lg-use__paper--cover { left: 48%; top: 6%; }
  .lg-use__card { width: 56%; }
  .lg-use__card--front { left: 6%; top: 60%; }
  .lg-use__card--back { left: 40%; top: 72%; }
  .lg-use__info { font-size: 0.4375rem; }
}

/* ---- Nov 9: every exploration tile looks the same — logo small and centred in plenty of white ---- */
.lg-wall__groups .lg-wall { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.lg-wall__groups .lg-wall__tile { aspect-ratio: 3 / 2; padding: 16% 14%; display: flex; align-items: center; justify-content: center; background: #fff; }
.lg-wall__groups .lg-wall__tile img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 760px) { .lg-wall__groups .lg-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } }

/* ---- Nov 9: In Use as a demo — only the final logo, text shown as lines ---- */
.lg-demo.lg-use__paper { aspect-ratio: 8.5 / 11; padding: 6.5% 7%; display: flex; flex-direction: column; gap: 7%; }
.lg-demo i { display: block; height: 0.42vw; min-height: 2px; max-height: 6px; background: #d9d8d3; border-radius: 1px; }
.lg-demo i.is-dark { background: #3a3a38; height: 0.55vw; max-height: 7px; }
.lg-demo b { display: block; height: 1px; background: var(--lg-or); margin: 6% 0 5%; }
.lg-demo__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8%; }
.lg-demo__logo { display: block; width: 42%; aspect-ratio: 334 / 108; background: var(--lg-or); -webkit-mask: url("../projects/shuvo-logo/refine/3-final-logo.svg?v=newlogo") center / contain no-repeat; mask: url("../projects/shuvo-logo/refine/3-final-logo.svg?v=newlogo") center / contain no-repeat; }
.lg-demo__head { width: 36%; display: flex; flex-direction: column; gap: 0; }
.lg-demo__lines { display: flex; flex-direction: column; gap: 0.45vw; margin-bottom: 0.9vw; }
.lg-demo__cols { display: grid; grid-template-columns: 1fr 1.7fr; gap: 6%; flex: 1; }
.lg-demo__sec { display: block; margin-bottom: 4%; }
.lg-demo__sec > b { width: 100%; margin: 0 0 5%; height: 2px; }
.lg-demo__body { display: flex; flex-direction: column; padding-left: 26%; margin-top: 4%; }
.lg-demo__body > .lg-demo__lines:first-child { margin-left: -36%; }
.lg-use__card--back.lg-demo { display: block; padding: 0; }
.lg-demo__card { position: absolute; left: 7%; top: 46%; width: 50%; display: flex; flex-direction: column; gap: 6%; height: 40%; }
.lg-demo__card b { margin: 4% 0; width: 70%; }
.lg-demo__qr { position: absolute; right: 8%; bottom: 12%; width: 20%; aspect-ratio: 1; background: repeating-linear-gradient(90deg, var(--lg-or) 0 12%, transparent 12% 22%), repeating-linear-gradient(0deg, var(--lg-or) 0 12%, transparent 12% 22%); background-blend-mode: multiply; opacity: 0.85; }
@media (max-width: 640px) { .lg-demo i { height: 2px; } .lg-demo i.is-dark { height: 3px; } .lg-demo__lines { gap: 3px; margin-bottom: 5px; } }
.lg-demo__card { width: 62%; }

/* ---- Nov 9: demo résumé / cover letter in my own layout (sizes follow the page width) ---- */
.lg-use__desk { container-type: inline-size; }
.dm.lg-use__paper { aspect-ratio: 8.5 / 11; padding: 4.6% 5%; display: flex; flex-direction: column; font-family: Inter, sans-serif; color: #1c1c1c; }
.dm i { display: block; height: 0.26cqw; margin: 0 0 0.32cqw; background: #cfcdc8; border-radius: 1px; }
.dm i.d { background: #3a3a38; height: 0.3cqw; }
.dm-top { display: flex; justify-content: space-between; align-items: flex-start; }
.dm-logo { display: block; width: 34%; aspect-ratio: 334 / 108; background: var(--lg-or); -webkit-mask: url("../projects/shuvo-logo/refine/3-final-logo.svg?v=newlogo") center / contain no-repeat; mask: url("../projects/shuvo-logo/refine/3-final-logo.svg?v=newlogo") center / contain no-repeat; }
.dm-name { width: 33%; display: flex; flex-direction: column; font-size: 0.62cqw; line-height: 1.35; }
.dm-name b { font-size: 1.25em; font-weight: 700; }
.dm-rule { display: block; height: 0.12cqw; background: var(--lg-or); margin: 0.3cqw 0 0.4cqw; }
.dm-sp { margin-top: 0.5cqw; text-decoration: underline; }
.dm-name img { width: 26%; margin-top: 0.4cqw; }
.dm-cols { display: grid; grid-template-columns: 1fr 1.75fr; gap: 4%; margin-top: 7%; }
.dm-sec { display: block; margin-bottom: 1.2cqw; }
.dm-h { display: block; font-size: 0.78cqw; font-weight: 700; padding-bottom: 0.25cqw; border-bottom: 0.12cqw solid var(--lg-or); margin-bottom: 0.6cqw; }
.dm-e { display: block; margin-bottom: 0.65cqw; }
.dm-date { display: block; margin-top: 9%; }
.dm-letter { display: block; margin: 3% 0 0 31%; font-size: 0.62cqw; }
.dm-to { display: block; margin-bottom: 0.4cqw; }
.dm-dear { display: block; margin: 0.7cqw 0 0.5cqw; }
.dm-gap { display: block; height: 0.5cqw; }
.dm-sign { display: block; margin-top: 0.8cqw; line-height: 1.35; }
.lg-use__card--back { display: flex; }
@media (max-width: 640px) {
  .dm i { height: 0.45cqw; margin-bottom: 0.55cqw; } .dm i.d { height: 0.5cqw; }
  .dm-name, .dm-letter { font-size: 1.05cqw; } .dm-h { font-size: 1.3cqw; }
}
.dm i.d { background: #8a8986; height: 0.28cqw; } .dm-name { width: 36%; }

/* ---- Nov 9: business card back matches the résumé / letter name block ---- */
.lg-use__card--back.lg-bc { display: flex; justify-content: space-between; align-items: flex-start; padding: 8% 8%; container-type: inline-size; }
.lg-bc__logo { display: block; width: 42%; aspect-ratio: 334 / 108; background: var(--lg-or); -webkit-mask: url("../projects/shuvo-logo/refine/3-final-logo.svg?v=newlogo") center / contain no-repeat; mask: url("../projects/shuvo-logo/refine/3-final-logo.svg?v=newlogo") center / contain no-repeat; }
.lg-bc__name { width: 46%; display: flex; flex-direction: column; font: 400 4.2cqw/1.4 Inter, sans-serif; color: #1c1c1c; }
.lg-bc__name b { font-weight: 700; font-size: 1.25em; }
.lg-bc__name i { display: block; height: 0.6cqw; min-height: 1px; background: var(--lg-or); margin: 1.5cqw 0 2cqw; }
.lg-bc__u { text-decoration: underline; }
.lg-bc__u:first-of-type { margin-top: 3cqw; }
.lg-bc__name img { width: 26%; margin-top: 3cqw; }
.lg-bc__u:first-of-type { margin-top: 0; } .lg-bc__gap { margin-top: 3cqw; }
.lg-use__card--back.lg-bc { container-type: normal; aspect-ratio: 3.5 / 2; height: auto; padding: 7% 7%; }
.lg-bc__name { font-size: clamp(0.36rem, 0.68vw, 0.6rem); }
.lg-bc__name i { height: 1px; margin: 0.35em 0 0.5em; }
.lg-bc__gap { margin-top: 0.7em; }
.lg-bc__name img { margin-top: 0.7em; }
@media (max-width: 640px) { .lg-bc__name { font-size: 0.375rem; } }
.lg-use__card--back.lg-bc { overflow: hidden; padding: 7% 7% 6%; }
.lg-bc__logo { width: 36%; }
.lg-bc__name { width: 52%; white-space: nowrap; font-size: clamp(0.34rem, 0.6vw, 0.56rem); line-height: 1.35; }
.lg-bc__name img { width: 18%; margin-top: 0.5em; }
.lg-bc__gap { margin-top: 0.5em; }
.lg-use__card--back.lg-bc { padding: clamp(8px, 1.6vw, 18px) clamp(9px, 1.8vw, 20px); }
/* Nov 9: real final business card (front + back images) */
.lg-use__card--img { margin: 0; padding: 0 !important; overflow: hidden; display: block !important; aspect-ratio: 3.5 / 2; }
.lg-use__card--img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lg-credits__note { display: block; margin-top: 4px; font-size: 0.75rem; color: var(--lg-muted); }
