/* ==========================================================
   Motion layer: reveals, tilt, orbit, marquee, cursor, timeline.
   Everything here rests under prefers-reduced-motion.
   ========================================================== */

.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 300; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }

/* scroll reveals */
.js [data-reveal], .js .rv { opacity: 0; }
.js [data-reveal].in, .js .rv.in { animation: revealIn 0.9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes revealIn { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }

/* heading words slide up out of a mask */
.hw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hw > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--k, 0) * 55ms); }
.in-view .hw > span { transform: none; }

/* hero art: orbit, floating chips, tilt photo */
.hero-art { position: relative; }
.hero-photo { position: relative; z-index: 2; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.5s var(--ease); }
.orbit { position: absolute; inset: -9%; z-index: 1; pointer-events: none; }
.orbit span { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed var(--accent); opacity: 0.55; animation: spin 38s linear infinite; }
.orbit span:nth-child(2) { inset: 8%; border-style: solid; border-color: var(--ink); opacity: 0.18; animation-duration: 60s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.float {
  position: absolute; z-index: 3;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--ink); color: var(--ground);
  font: 500 0.85rem/1 var(--font-mono);
  box-shadow: 0 12px 28px rgba(17, 22, 20, 0.25);
  animation: bob 5s ease-in-out infinite;
}
.f1 { top: 6%; left: -7%; }
.f2 { top: 24%; right: -6%; background: var(--accent); animation-delay: -1.2s; }
.f3 { bottom: 22%; left: -9%; background: var(--surface); color: var(--ink); animation-delay: -2.4s; }
.f4 { bottom: 7%; right: -5%; animation-delay: -3.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }

/* rotating word */
.rotator { margin-top: 1.25rem; font: 500 1rem/1.4 var(--font-mono); color: var(--muted); }
.rotator b { color: var(--accent-deep); font-weight: 500; border-right: 2px solid var(--accent); padding-right: 3px; animation: caret 0.8s steps(1) infinite; }
@keyframes caret { 50% { border-color: transparent; } }

/* marquee */
.marquee { background: var(--ink); color: var(--ground); overflow: hidden; padding: 1.1rem 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-group span { font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; padding: 0 1.5rem; white-space: nowrap; }
.marquee-group i { width: 14px; height: 14px; background: var(--accent); transform: rotate(45deg); flex: none; animation: pulse 2.4s ease-in-out infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 50% { transform: rotate(45deg) scale(1.5); } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 3rem); margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 2rem; border-top: 1px solid var(--ink); }
.stats div { display: flex; flex-direction: column; }
.stats dd { order: -1; font-size: clamp(3rem, 7vw, 6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--accent); }
.stats dt { color: var(--muted); margin-top: 0.5rem; }

/* work cards: 3D tilt with glare */
.work-card { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.35s var(--ease), box-shadow 0.4s var(--ease); }
.work-card:hover { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); box-shadow: inset 0 0 0 1px var(--ink), 0 24px 50px rgba(17, 22, 20, 0.18); }
.work-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.35), transparent 60%); transition: opacity 0.3s; }
.work-card { position: relative; }
.work-card:hover::after { opacity: 1; }
.work-card:hover .work-shot img { transform: scale(1.06); }

/* service rows */
.rows li { position: relative; transition: padding 0.5s var(--ease), background 0.4s; }
.rows li::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.6s var(--ease); }
.rows li:hover { padding-left: 1.1rem; background: rgba(184, 50, 26, 0.06); }
.rows li:hover::before { transform: scaleX(1); }
.rows li h3 { transition: color 0.3s; }
.rows li:hover h3 { color: var(--accent-deep); }

/* experience: a line that draws as you scroll, dots that light */
.jobs { position: relative; padding-left: clamp(1.75rem, 4vw, 3rem); border-top: 0; }
.jobs::before, .jobs::after { content: ""; position: absolute; left: 6px; top: 0; width: 3px; border-radius: 3px; }
.jobs::before { bottom: 0; background: var(--line); }
.jobs::after { height: calc(var(--p, 0) * 100%); background: var(--accent); }
.job { position: relative; transition: background 0.4s; }
.job::before { content: ""; position: absolute; left: calc(-1 * clamp(1.75rem, 4vw, 3rem) + 1px); top: 2.15rem; width: 15px; height: 15px; border-radius: 50%; background: var(--ground); box-shadow: inset 0 0 0 3px var(--line); transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease); }
.job.in::before { box-shadow: inset 0 0 0 8px var(--accent); transform: scale(1.2); }
.job:hover { background: linear-gradient(90deg, rgba(184, 50, 26, 0.06), transparent); }

/* skills */
.skill-col li { transition: padding 0.4s var(--ease), color 0.3s, border-color 0.3s; cursor: default; }
.skill-col li:hover { padding-left: 0.75rem; color: var(--accent-deep); border-color: var(--accent); }

/* footer wordmark */
.footer { overflow: hidden; }
.footer-word { font-weight: 700; font-size: clamp(4rem, 19vw, 17rem); line-height: 0.85; letter-spacing: -0.06em; text-align: center; white-space: nowrap; color: rgba(238, 242, 240, 0.08); transition: color 0.6s var(--ease), transform 0.8s var(--ease); user-select: none; margin-bottom: 1.5rem; }
.footer-word:hover { color: var(--accent); transform: scale(1.02); }

/* cursor follower (fine pointers) */
.cursor { position: fixed; z-index: 400; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--accent); pointer-events: none; display: none; transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), opacity 0.3s; }
.cursor.big { width: 56px; height: 56px; margin: -28px 0 0 -28px; opacity: 0.35; }
.has-cursor .cursor { display: block; }

@media (max-width: 860px) {
  .orbit { inset: -4%; }
  .f1 { left: -2%; } .f3 { left: -3%; } .f2 { right: -2%; } .f4 { right: -2%; }
  .stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .rv { opacity: 1; animation: none; }
  .hw > span { transform: none; transition: none; }
  .orbit span, .float, .marquee-track, .marquee-group i, .rotator b { animation: none; }
  .work-card, .hero-photo { transform: none !important; }
  .progress, .cursor { display: none; }
}

/* contain floating chips and orbit */
html, body { overflow-x: clip; }
.hero { overflow-x: clip; }

/* ---------- architecture diagram ---------- */
.arch { position: relative; overflow: hidden; }
.arch::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(238, 242, 240, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(238, 242, 240, 0.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%); pointer-events: none; }
.arch .wrap { position: relative; }
.arch-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.arch-tab { min-height: 44px; padding: 0.6rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; box-shadow: inset 0 0 0 1px rgba(238, 242, 240, 0.3); color: var(--on-dark); transition: background 0.3s, color 0.3s, transform 0.35s var(--ease), box-shadow 0.3s; }
.arch-tab:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--on-dark); }
.arch-tab[aria-selected="true"] { background: var(--accent); box-shadow: none; color: #fff; }
.arch-stage { border-radius: var(--radius); background: rgba(238, 242, 240, 0.04); box-shadow: inset 0 0 0 1px rgba(238, 242, 240, 0.14); padding: clamp(0.75rem, 2vw, 1.5rem); }
.arch-svg { display: block; width: 100%; height: auto; max-height: 560px; overflow: visible; }
.arch-svg.swap { animation: archIn 0.6s var(--ease) both; }
@keyframes archIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.arch-svg .edge { fill: none; stroke: rgba(238, 242, 240, 0.28); stroke-width: 1.5; stroke-dasharray: 5 6; animation: flow 1.4s linear infinite; transition: stroke 0.3s, opacity 0.3s; }
@keyframes flow { to { stroke-dashoffset: -11; } }
.arch-svg .pulse { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }
.arch-svg .node { cursor: pointer; outline: none; animation: nodeIn 0.6s var(--ease) both; animation-delay: var(--d, 0ms); transition: opacity 0.3s; }
@keyframes nodeIn { from { opacity: 0; } to { opacity: 1; } }
.arch-svg .node rect { fill: #1b2420; stroke: rgba(238, 242, 240, 0.4); stroke-width: 1.5; transition: fill 0.3s, stroke 0.3s; }
.arch-svg .node text { fill: var(--on-dark); font: 600 14px var(--font-body); pointer-events: none; }
.arch-svg .node .port { fill: var(--accent); }
.arch-svg .node.hot rect, .arch-svg .node:focus-visible rect { fill: var(--accent); stroke: #fff; }
.arch-svg .edge.hot { stroke: var(--accent); stroke-width: 2.5; }
.arch-svg.has-focus .edge:not(.hot) { opacity: 0.25; }
.arch-svg.has-focus .node:not(.hot) { opacity: 0.55; }
.arch-detail { margin-top: 1.25rem; min-height: 7.5rem; padding: 1.25rem 1.5rem; border-radius: var(--radius); box-shadow: inset 0 0 0 1px rgba(238, 242, 240, 0.14); }
.arch-detail h3 { font-size: 1.5rem; }
.arch-detail p { margin-top: 0.4rem; color: var(--on-dark-muted); max-width: 70ch; }

/* hero blueprint dots that light up near the cursor */
.hero { position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(17, 22, 20, 0.22) 1.2px, transparent 1.4px); background-size: 28px 28px; mask-image: radial-gradient(520px circle at 50% 50%, #000, transparent 85%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(var(--accent) 2px, transparent 2.2px); background-size: 28px 28px; mask-image: radial-gradient(180px circle at var(--sx, -999px) var(--sy, -999px), #000, transparent); }
.hero > .wrap { position: relative; z-index: 1; }

@media (max-width: 700px) { .arch-svg .node text { font-size: 11.5px; } .arch-tab { flex: 1 1 auto; } }
@media (prefers-reduced-motion: reduce) { .arch-svg .edge, .arch-svg.swap, .arch-svg .node { animation: none; } }

/* ---------- compact hero ---------- */
.hero { min-height: 0; padding: clamp(1.75rem, 3.5vw, 3rem) 0 clamp(2.25rem, 4.5vw, 3.75rem); background: var(--ground); }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); }
.hero-grid { gap: clamp(1.5rem, 4vw, 4rem); }
.hero-art { width: min(100%, 420px); justify-self: end; }
.hero-photo { aspect-ratio: 1 / 1; }
.hero-sub { font-size: 1.1rem; margin-top: 1.1rem; }
.actions { margin-top: 1.5rem; }

/* request flow under the hero buttons */
.flow { display: flex; align-items: center; margin-top: 1.75rem; max-width: 520px; }
.flow span { flex: none; padding: 0.5rem 0.8rem; border-radius: 10px; background: var(--ink); color: var(--ground); font: 500 0.8rem/1 var(--font-mono); }
.flow span:nth-child(3) { background: var(--accent); }
.flow i { position: relative; flex: 1; min-width: 14px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 5px, transparent 5px 10px); opacity: 0.45; overflow: visible; }
.flow i::after { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: hop 2.4s var(--ease) infinite; }
.flow i:nth-of-type(2)::after { animation-delay: 0.5s; }
.flow i:nth-of-type(3)::after { animation-delay: 1s; }
@keyframes hop { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }

/* ---------- section transitions ---------- */
body { background: var(--accent); }
main > section:not(.band):not(.dark):not(.hero) { background: var(--ground); }
.js main > section:not(.hero) { clip-path: inset(0 var(--ix, 0%) 0 var(--ix, 0%) round var(--r, 0px) var(--r, 0px) 0 0); }


/* side dots */
.dots { position: fixed; right: 18px; top: 50%; translate: 0 -50%; z-index: 150; display: grid; gap: 4px; }
.dots a { position: relative; display: block; width: 24px; height: 24px; border-radius: 50%; }
.dots a::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--ink); opacity: 0.35; transition: inset 0.35s var(--ease), background 0.3s, opacity 0.3s; box-shadow: 0 0 0 1.5px var(--ground); }
.dots a:hover::before, .dots a.on::before { inset: 5px; background: var(--accent); opacity: 1; }
.dots a span { position: absolute; right: 30px; top: 50%; translate: 8px -50%; padding: 0.4rem 0.7rem; border-radius: 8px; background: var(--ink); color: var(--ground); font: 500 0.78rem/1 var(--font-mono); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.25s, translate 0.35s var(--ease); }
.dots a:hover span, .dots a:focus-visible span { opacity: 1; translate: 0 -50%; }
@media (max-width: 1100px) { .dots { display: none; } }

@media (max-width: 860px) { .hero-art { justify-self: center; width: min(78%, 340px); } .flow span { font-size: 0.72rem; padding: 0.45rem 0.6rem; } }
@media (prefers-reduced-motion: reduce) { .js main > section:not(.hero) { clip-path: none; } .flow i::after { animation: none; opacity: 1; } }

/* ---------- layered sheets (replaces the clip-path transition) ---------- */
:root { --sr: clamp(1.5rem, 3vw, 2.5rem); --mq: 4.5rem; --nav: 4.25rem; }
body { background: var(--ground); }
.js main > section:not(.hero) { clip-path: none; }
main > section:not(.hero) {
  position: relative;
  margin-top: calc(-1 * var(--sr));
  padding-top: calc(clamp(4rem, 9vw, 7.5rem) + var(--sr));
  border-radius: var(--sr) var(--sr) 0 0;
  box-shadow: 0 -18px 40px rgba(17, 22, 20, 0.16);
}
main > section:not(.hero) > .wrap { will-change: transform, opacity; }

/* hero + marquee fill the first view */
.hero { min-height: calc(100svh - var(--nav) - var(--mq)); display: flex; align-items: center; }
.marquee { height: calc(var(--mq) + var(--sr)); padding: 0 0 var(--sr); display: flex; align-items: center; }
.marquee-track { align-items: center; }
@media (max-width: 860px) { .hero { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { main > section:not(.hero) > .wrap { transform: none !important; opacity: 1 !important; } }


/* proven-pattern chip + AI column */
.arch-pattern { display: inline-block; margin-bottom: 0.75rem; padding: 0.4rem 0.8rem; border-radius: 999px; background: var(--accent); color: #fff; font: 500 0.8rem/1 var(--font-mono); }
.skill-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.skill-ai { padding: 1.25rem 1.25rem 0.5rem; border-radius: var(--radius); background: var(--ink); color: var(--on-dark); transition: transform 0.4s var(--ease); }
.skill-ai:hover { transform: translateY(-4px); }
.skill-ai h3 { color: #ff7a5c; border-color: rgba(238, 242, 240, 0.4); }
.skill-ai li { border-color: rgba(238, 242, 240, 0.16); }
.skill-ai li:hover { color: #fff; border-color: #ff7a5c; }
.skill-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 1000px) { .skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .skill-grid, .skill-meta { grid-template-columns: 1fr; } }

/* ---------- one viewport per section (desktop) ---------- */
@media (min-width: 1001px) and (min-height: 600px) {
  html { scroll-padding-top: var(--nav); }

  main > section:not(.hero) {
    height: calc(100svh - var(--nav));
    padding: calc(var(--sr) + 1.5vh) 0 3vh;
    display: flex; align-items: center; overflow: hidden;
  }
  main > section:not(.hero) > .wrap { flex: none; }
  .statement { height: calc(100svh - var(--nav)); }

  main h2 { font-size: min(3.25rem, 4vw, 5.6vh); }
  .section-head { margin-bottom: clamp(0.75rem, 2.4vh, 1.75rem); }
  .lede { margin-top: 0.6rem; font-size: min(1.15rem, 2.3vh); }
  .section-head .btn { margin-top: 1rem; }

  .statement-text { font-size: min(3rem, 3.4vw, 6vh); }
  .stats { margin-top: 4vh; padding-top: 2.5vh; }
  .stats dd { font-size: min(6rem, 11vh); }

  /* architecture */
  .arch-tabs { margin-bottom: 1.2vh; }
  .arch-tab { min-height: 38px; padding: 0.4rem 1rem; }
  .arch-svg { max-height: 36vh; }
  .arch-stage { padding: 1vh 1.25rem; }
  .arch-detail { min-height: 0; margin-top: 1.2vh; padding: 1.2vh 1.4rem; }
  .arch-detail h3 { font-size: min(1.5rem, 3vh); }
  .arch-detail p { margin-top: 0.2rem; font-size: min(1rem, 2.1vh); }
  .arch-pattern { margin-bottom: 0.4rem; padding: 0.3rem 0.7rem; }

  /* work: four cards in a row */
  .work-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .work-shot { aspect-ratio: 1440 / 800; }
  .work-body { padding: 1rem 1.1rem 1.1rem; gap: 0.8rem; }
  .work-body h3 { font-size: 1.25rem; }
  .work-body p { font-size: min(0.95rem, 2.1vh); line-height: 1.45; }
  .work-url { font-size: 0.78rem; }

  /* services */
  .rows li { padding: 1.2vh 0; }
  .rows h3 { font-size: min(1.5rem, 3.2vh); }
  .rows p { margin-top: 0.15rem; font-size: min(1rem, 2.1vh); line-height: 1.45; }

  /* experience: two columns of three */
  .jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3.5rem); padding-left: 0; border-top: 0; }
  .jobs::before, .jobs::after, .job::before { display: none; }
  .job { grid-template-columns: 1fr; padding: 1.6vh 0; border-top: 1px solid var(--line); border-bottom: 0; gap: 0.2rem; }
  .job h3 { font-size: min(1.25rem, 2.9vh); }
  .job p { margin-top: 0.3rem; font-size: min(0.95rem, 2vh); line-height: 1.45; }
  .job-when { font-size: 0.8rem; padding-top: 0; }

  /* skills */
  .skill-col li { padding: 0.9vh 0; font-size: min(1rem, 2.2vh); }
  .skill-col h3 { padding-bottom: 0.9vh; }
  .skill-ai { padding: 1.2vh 1.1rem 0.4vh; }
  .skill-meta { margin-top: 3vh; }
  .dated li { font-size: min(0.95rem, 2vh); }

  /* contact */
  .contact-grid { align-items: center; }
  .contact-links { margin-top: 2.5vh; }
  .contact-links a { padding: 1.3vh 1.25rem; }
  .form { gap: 1.4vh; }
  .field input, .field textarea { padding: 0.7rem 0.9rem; min-height: 42px; }
  .field textarea { min-height: 14vh; }
}

@media (min-width: 1001px) and (min-height: 600px) {
  .split { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
  .split .section-head { position: static; }
  .rows li { padding: 1.1vh 0; }
  .rows p { max-width: none; }
}

@media (min-width: 1001px) and (min-height: 600px) and (max-height: 760px) {
  .arch .lede, #experience .lede, #skills .lede { display: none; }
  .arch-svg { max-height: 32vh; }
  .job p { line-height: 1.35; }
}

/* ---------- one clean transition: no competing reveal animations ---------- */
.js [data-reveal], .js .rv { opacity: 1; animation: none !important; }
.hw > span { transform: none; transition: none; }
main > section:not(.hero) > .wrap { transform-origin: 50% 35%; backface-visibility: hidden; }
.job::before { transition: none; }
html { scroll-behavior: auto; }

/* ---------- stacking sheets + fluid scroll (desktop) ----------
   Sections pin under the nav and the next sheet slides over them; script.js
   tilts the covered sheet back into depth and smooths the wheel (inertia). */
@media (min-width: 1001px) and (min-height: 600px) {
  main > section:not(.hero) { position: sticky; top: var(--nav); }
  html { scroll-behavior: smooth; }
}

/* hero headline: letters rise out of a mask */
.hw2 { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.04em 0.14em; margin: 0 -0.04em -0.14em; }
.hl { display: inline-block; transform: translateY(112%); animation: letterUp 1.05s cubic-bezier(0.23, 1, 0.32, 1) forwards; animation-delay: calc(0.12s + var(--n) * 24ms); }
@keyframes letterUp { to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hl { transform: none; animation: none; } }

/* contrast: the pattern chip sits on the accent, so its text is white, not muted grey */
.arch-detail .arch-pattern { color: #fff; }
.nav-mark { display: inline-flex; align-items: center; min-height: 44px; }
