  :root {
    --night: #1c0408;
    --wine: #2e070d;
    --crimson: #6e0f1b;
    --gold: #d6a84e;
    --cream: #f4ead6;
    --muted: #cbb7a4;
    --ink: #3a0a12;
    --ink-soft: #5b3a33;
    --line: rgb(214 168 78 / .3);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --display: "Minecraft Ten", monospace;
    --body: "Minecraftia Regular", monospace;
    --brand: "Playfair Display SC", Georgia, serif;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scrollbar-color: var(--crimson) var(--night); interpolate-size: allow-keywords; }
  [id] { scroll-margin-top: 76px; }
  body { margin: 0; background: var(--night); color: var(--cream); font: 400 .9375rem/1.8 var(--body); font-synthesis: none; -webkit-font-smoothing: antialiased; }
  body::after {
    content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .05;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  ::selection { background: var(--gold); color: var(--night); }
  h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; }
  p, ul, ol { margin: 0; }
  a { color: inherit; }
  img { display: block; max-width: 100%; }
  button { font: inherit; color: inherit; cursor: pointer; }
  :focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
  .wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
  @media (min-width: 700px) { .wrap { padding: 0 32px; } }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .skip { position: absolute; left: 16px; top: -80px; z-index: 50; background: var(--gold); color: var(--night); padding: 12px 20px; }
  .skip:focus { top: 12px; }

  /* buttons: fill sweeps in from the left on hover */
  .btn {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px;
    font: 500 .95rem var(--body); letter-spacing: .06em; text-decoration: none; white-space: nowrap;
    background: var(--gold); color: #2a1604; border: 1px solid var(--gold);
    transition: color .45s var(--ease), border-color .45s var(--ease);
  }
  .btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cream); transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease); }
  .btn:hover::before { transform: scaleX(1); transform-origin: left; }
  .btn:hover { border-color: var(--cream); }
  .btn.line { background: transparent; color: var(--cream); border-color: rgb(244 234 214 / .6); }
  .btn.line:hover { color: var(--night); }
  .btn.dark { background: var(--crimson); color: var(--cream); border-color: var(--crimson); }
  .btn.dark::before { background: var(--night); }
  .btn.dark:hover { border-color: var(--night); }
  .link { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .4s var(--ease); }
  .link:hover { background-size: 100% 1px; }

  /* header */
  /* header: soft gradient over the hero, fades to solid once the page scrolls (no border line) */
  header { position: fixed; inset: 0 0 auto; z-index: 20; background: linear-gradient(rgb(28 4 8 / .7), transparent); transition: box-shadow .4s, transform .6s var(--ease); }
  header.hide { transform: translateY(-100%); }
  /* reading progress: a thin gold line along the bottom edge of the solid header */
  .progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(var(--p, 0)); transform-origin: left; opacity: 0; transition: opacity .4s; }
  header.solid .progress { opacity: 1; }
  header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(28 4 8 / .96); opacity: 0; transition: opacity .4s; }
  header.solid { box-shadow: 0 10px 30px rgb(0 0 0 / .25); }
  header.solid::before { opacity: 1; }
  nav.main { display: flex; align-items: center; gap: 36px; height: 76px; }
  .brand { display: flex; align-items: center; gap: 14px; text-decoration: none; font: 700 1.3rem "Playfair Display", Georgia, serif; text-transform: uppercase; letter-spacing: .02em; color: #fff; white-space: nowrap; }
  .brand img { width: 52px; height: auto; }
  nav.main ul { display: flex; gap: 32px; list-style: none; margin: 0 0 0 auto; padding: 0; }
  nav.main ul a { color: var(--muted); transition: color .3s; }
  /* nav links: colour only, no underline; the current page / section is gold */
  nav.main ul a { background: none; }
  nav.main ul a:hover { color: var(--cream); }
  nav.main ul a[aria-current] { color: var(--gold); }
  /* header call to action: outlined; gold sweeps in on hover */
  nav.main .btn { min-height: 44px; padding: 0 20px; font-size: .85rem; letter-spacing: .08em; background: rgb(28 4 8 / .35); color: var(--cream); border-color: rgb(214 168 78 / .7); }
  nav.main .btn::before { background: var(--gold); }
  nav.main .btn:hover { color: #2a1604; border-color: var(--gold); }
  .menu-btn { display: none; width: 44px; height: 44px; margin-left: auto; background: none; border: 1px solid var(--line); place-items: center; }
  .menu-btn svg { width: 18px; stroke: var(--cream); }
  @media (max-width: 900px) {
    nav.main ul, nav.main .btn { display: none; }
    .menu-btn { display: grid; }
  }
  #menu { inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; padding: 96px 24px 32px; background: var(--night); color: var(--cream); }
  #menu:popover-open { display: flex; flex-direction: column; animation: fade .35s var(--ease); }
  #menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 2rem var(--display); text-decoration: none; }
  #menu .btn { display: flex; margin-top: 32px; font: 500 1rem var(--body); border-bottom: 1px solid var(--gold); }
  #menu .close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; background: none; border: 1px solid var(--line); font-size: 1.5rem; line-height: 1; }

  /* hero */
  .hero-wrap { position: relative; height: 200svh; }
  .hero { position: sticky; top: 0; height: 100svh; min-height: 640px; overflow: hidden; display: grid; place-items: center; text-align: center; }
  /* slideshow: the incoming render fades in on top while the outgoing one stays opaque underneath
     (.off), so there is no dark dip; each render keeps its camera move running through the fade */
  .slide { position: absolute; inset: 0; opacity: 0; }
  .slide.on { opacity: 1; z-index: 1; transition: opacity 2.4s cubic-bezier(.4, 0, .2, 1); }
  .slide.off { opacity: 1; }
  /* camera move: one slow zoom-in in the same direction on every slide, so the motion reads as a
     single continuous push through each crossfade (opposite zooms overlapping looked jerky) */
  .slide { will-change: opacity; }
  .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); will-change: transform; backface-visibility: hidden; }
  .slide:is(.on, .off) img { animation: zoom 11s linear forwards; }
  .hero.paused .slide img { animation-play-state: paused; }
  @keyframes zoom { from { transform: scale(1); } to { transform: scale(1.1); } }
  /* vignette over the slides (z-index 1 so it sits above the active slide) */
  .hero::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      radial-gradient(ellipse at center, rgb(28 4 8 / .2) 0%, rgb(28 4 8 / .55) 85%),
      linear-gradient(transparent 60%, rgb(28 4 8 / .5) 85%, var(--night));
  }
  .hero-copy { position: relative; z-index: 2; padding: 0 16px; transition: opacity .6s var(--ease), transform .8s var(--ease), visibility .6s; }
  .hero h1 { font: 700 clamp(2.4rem, 8vw, 6.8rem)/1 "Playfair Display", Georgia, serif; text-transform: uppercase; letter-spacing: .02em; color: #fff; text-shadow: 0 4px 40px rgb(0 0 0 / .6); }
  /* double rule under the title: full-width line, then a shorter one, as on the brand banner */
  .hero h1::after {
    content: ""; display: block; height: max(8px, .12em); margin: .22em -.12em 0;
    background: linear-gradient(currentColor, currentColor) top / 100% max(2px, .025em) no-repeat,
                linear-gradient(currentColor, currentColor) bottom / 94% max(2px, .025em) no-repeat;
    animation: rule 1.1s var(--ease) 1.5s both;
  }
  @keyframes rule { from { transform: scaleX(0); } }
  .hero .lead { max-width: 42ch; margin: 24px auto 36px; font-size: 1.15rem; text-shadow: 0 2px 12px rgb(0 0 0 / .8); }
  .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
  /* scroll cue: the hero holds for a screen, so tell people there is more below */
  .cue { position: absolute; z-index: 2; left: 50%; bottom: 28px; translate: -50% 0; display: grid; justify-items: center; gap: 12px; font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); transition: opacity .5s; animation: fade 1s var(--ease) 2s both; }
  .cue::after { content: ""; width: 1px; height: 48px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s var(--ease) infinite; }
  @keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 50.1% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
  .show-top .cue { opacity: 0; }

  /* top builds: after the hero has scrolled ~30%, the copy lifts away, the slideshow dims
     and three cards rise over it one after another (reverses on the way back up) */
  .show-top .hero-copy { opacity: 0; transform: translateY(-8vh); visibility: hidden; }
  .top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(20 3 6 / .68); opacity: 0; transition: opacity .9s var(--ease); }
  .show-top .top::before { opacity: 1; }
  .top { position: absolute; inset: 0; z-index: 3; display: grid; align-content: center; justify-items: center; gap: 28px; padding: 96px 16px 32px; pointer-events: none; }
  .top-title { font-size: clamp(1.6rem, 3vw, 2.4rem); opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .9s var(--ease); }
  .show-top .top-title { opacity: 1; transform: none; transition-delay: .25s; }
  .top-cards { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; justify-content: center; width: 100%; max-width: 1240px; }
  .top-cards li { --d: calc(var(--i, 0) * 90ms); flex: 1 1 0; max-width: 380px; opacity: 0; visibility: hidden; transform: translateY(90vh); transition: transform 1.1s cubic-bezier(.2, .8, .2, 1), opacity .7s, visibility 1.1s; }
  .top-cards li:nth-child(2) { --i: 1; }
  .top-cards li:nth-child(3) { --i: 2; }
  .show-top .top-cards, .show-top .top-cards li { pointer-events: auto; }
  .show-top .top-cards li { opacity: 1; visibility: visible; transform: none; transition-delay: var(--d); }
  .top-cards a { position: relative; display: block; height: min(66vh, 640px); overflow: hidden; border: 1px solid var(--line); text-decoration: none; }
  .top-cards a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgb(28 4 8 / .9)); }
  .top-cards img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); transition: transform 1.4s var(--ease); }
  .show-top .top-cards img { transform: scale(1); transition-delay: var(--d); }
  .top-cards a:hover img { transform: scale(1.06); transition-delay: 0s; }
  .cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 24px 16px 28px; display: grid; gap: 8px; text-align: center; }
  .cap span { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
  .cap strong { font: 400 clamp(1.4rem, 2.4vw, 2.2rem)/1.1 var(--display); color: #fff; }
  .cap em { font-style: normal; font-size: .85rem; color: var(--cream); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
  .top-cards a:is(:hover, :focus-visible) .cap em { opacity: 1; transform: none; }
  @media (max-width: 700px) {
    .top { padding-inline: 0; }
    .top-cards { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 16px; }
    .top-cards li { flex: 0 0 78vw; scroll-snap-align: center; }
    .top-cards a { height: 60svh; }
  }

  /* opening: letterbox bars pull back, then the title settles */
  /* the bars live on their own element: sharing .hero::after with the vignette pinned both bars to the top */
  .bars { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 50%; background: #000; animation: open 1.4s cubic-bezier(.7, 0, .2, 1) .15s forwards; }
  .bars::before { top: 0; transform-origin: top; }
  .bars::after { bottom: 0; transform-origin: bottom; }
  @keyframes open { to { transform: scaleY(0); } }
  .hero-copy > * { animation: fade 1.2s var(--ease) both; }
  .hero-copy > :nth-child(1) { animation-delay: 1s; animation-name: rise; }
  .hero-copy > :nth-child(2) { animation-delay: 1.15s; }
  .hero-copy > :nth-child(3) { animation-delay: 1.3s; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); letter-spacing: .2em; } }
  @keyframes fade { from { opacity: 0; transform: translateY(16px); } }

  /* stats: pixel icon tile + gold-foil number, left aligned */
  .stats { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, var(--night), #3a0a12 50%, var(--night)); }
  .stats ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
  .stats li { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 40px 20px; border-left: 1px solid var(--line); }
  .stats li:first-child { border-left: 0; }
  .ico8 { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border: 1px solid var(--line); background: rgb(214 168 78 / .06); transition: background .4s, border-color .4s; }
  .ico8 svg { width: 28px; height: 28px; fill: var(--gold); transition: fill .4s; }
  .stats li:hover .ico8 { background: var(--gold); border-color: var(--gold); }
  .stats li:hover .ico8 svg { fill: var(--night); }
  .stats strong { display: block; font: 400 clamp(2rem, 3.4vw, 3rem)/1 var(--display); background: linear-gradient(#f6dc97, #c8902f); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .stats li span { display: block; margin-top: 8px; color: var(--muted); font-size: .9rem; }
  @media (max-width: 900px) {
    .stats ul { grid-template-columns: repeat(2, 1fr); }
    .stats li { justify-content: flex-start; padding: 28px 16px; gap: 14px; }
    .stats li:nth-child(3) { border-left: 0; }
    .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
    .ico8 { width: 48px; height: 48px; }
    .ico8 svg { width: 22px; height: 22px; }
  }

  .section { padding: 128px 0; }
  @media (max-width: 700px) { .section { padding: 88px 0; } }
  .head { max-width: 660px; margin-bottom: 72px; }
  .head h2 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
  .head p { color: var(--muted); margin-top: 18px; font-size: 1.15rem; }
  /* section titles slide up out of a mask the first time they scroll in (class added by JS) */
  .reveal { overflow: hidden; padding-bottom: .08em; }
  .reveal > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
  .reveal.in > span { transform: none; }

  /* statement: text inks in as it scrolls through the viewport */
  .statement p { font: 400 clamp(1.7rem, 3.5vw, 3rem)/1.3 var(--display); max-width: 34ch; }
  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      .statement span {
        background: linear-gradient(90deg, var(--cream) 50%, rgb(244 234 214 / .18) 50%) 100% 0 / 200% 100% no-repeat;
        -webkit-background-clip: text; background-clip: text; color: transparent;
        -webkit-box-decoration-break: clone; box-decoration-break: clone;
        animation: ink linear both; animation-timeline: view(); animation-range: cover 20% cover 55%;
      }
      @keyframes ink { to { background-position: 0 0; } }
    }
  }
  .statement .sig { display: flex; align-items: center; gap: 16px; margin-top: 40px; color: var(--muted); font-size: 1rem; }
  .statement .sig img { width: 44px; }

  /* frame (assets/web/frame.png, 2:1, logo baked into the pennant) laid over the render */
  .frame { display: block; position: relative; aspect-ratio: 2 / 1; }
  .frame::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: url(web/frame.png) 0 0 / 100% 100% no-repeat; }
  .pic { position: absolute; inset: 4.5% 2.2%; overflow: hidden; background: var(--wine); }
  .pic img { width: 100%; height: 100%; object-fit: cover; }

  /* collection: sticky stage swaps image as each entry passes the middle of the screen */
  .showcase { display: grid; grid-template-columns: 1.45fr 1fr; gap: 72px; }
  .stage { position: sticky; top: max(100px, calc(50vh - 250px)); }
  .stage .pic img { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 1.8s var(--ease); }
  .stage .pic img.on { opacity: 1; transform: scale(1); }
  .stage-index { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; }
  .stage-index a { padding: 10px 0; color: var(--muted); text-decoration: none; font: 400 1.05rem var(--display); border-top: 2px solid var(--line); transition: color .3s, border-color .3s; }
  .stage-index a[aria-current="true"] { color: var(--cream); border-color: var(--gold); }
  .entry { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; }
  .entry .m-only { display: none; }
  .entry h3 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
  .size { color: var(--gold); font-weight: 500; letter-spacing: .06em; margin-top: 10px; }
  .desc { color: var(--muted); margin: 20px 0 26px; max-width: 42ch; }
  .buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: var(--muted); font-size: .95rem; }
  @media (max-width: 900px) {
    .showcase { grid-template-columns: 1fr; gap: 0; }
    .stage-col { display: none; }
    .entry { min-height: 0; padding-bottom: 88px; }
    .entry .m-only { display: block; margin-bottom: 32px; }
  }

  .more-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin: 120px 0 40px; padding-top: 48px; border-top: 1px solid var(--line); }
  .more-head h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
  .more { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .card { text-decoration: none; display: grid; gap: 12px; align-content: start; }
  .card .pic img { transition: transform 1.2s var(--ease); }
  .card:hover .pic img { transform: scale(1.06); }
  .card h4 { margin: 8px 0 0; font: 400 1.45rem var(--display); }
  .card p { color: var(--muted); font-size: .95rem; }
  .price { color: var(--gold); font-weight: 500; }
  @media (max-width: 1000px) { .more { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .more { grid-template-columns: 1fr; } }

  .dev { display: grid; grid-template-columns: repeat(3, 1fr); }
  .dev a { text-decoration: none; padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
  .dev a + a { padding-left: 28px; border-left: 1px solid var(--line); }
  .dev h4 { margin: 0; font: 400 1.35rem var(--display); transition: color .3s; }
  .dev a:hover h4 { color: var(--gold); }
  .dev p { color: var(--muted); font-size: .95rem; }
  @media (max-width: 800px) { .dev { grid-template-columns: 1fr; } .dev a + a { padding-left: 0; border-left: 0; } }

  /* portfolio reel */
  .portfolio { background: var(--wine); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
  .portfolio .head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; max-width: 1240px; }
  .portfolio .head div { max-width: 600px; }
  .reel { display: grid; gap: 20px; }
  .track { display: flex; gap: 20px; width: max-content; animation: reel 90s linear infinite; }
  .track.rev { animation-direction: reverse; }
  .reel:hover .track, .reel:focus-within .track { animation-play-state: paused; }
  @keyframes reel { to { transform: translateX(calc(-50% - 10px)); } }
  .shot { position: relative; width: clamp(280px, 34vw, 480px); aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--line); background: var(--night); overflow: hidden; }
  .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s; filter: saturate(.85) brightness(.9); }
  .shot:hover img, .shot:focus-visible img { transform: scale(1.06); filter: none; }
  .shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 18px 14px; text-align: left; font: 400 1.1rem var(--display); background: linear-gradient(transparent, rgb(28 4 8 / .9)); }
  dialog#lightbox { padding: 0; border: 1px solid var(--gold); background: var(--night); color: var(--cream); max-width: min(1400px, 94vw); }
  dialog#lightbox::backdrop { background: rgb(10 2 4 / .92); }
  dialog#lightbox[open] { animation: fade .35s var(--ease); }
  #lightbox img { max-height: 80vh; width: auto; }
  .lb-bar { display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 18px; border-top: 1px solid var(--line); }
  #lb-cap { flex: 1; font: 400 1.1rem var(--display); }
  #lb-count { color: var(--muted); font-size: .9rem; }
  .lb-bar button { width: 44px; height: 44px; border: 1px solid var(--line); background: none; font-size: 1.4rem; line-height: 1; transition: border-color .3s, color .3s; }
  .lb-bar button:hover { border-color: var(--gold); color: var(--gold); }

  /* custom builds */
  /* custom builds: pointing at a kind of build swaps the example render beside the list */
  .custom-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: center; }
  .kinds { list-style: none; padding: 0; border-top: 1px solid var(--line); }
  .kinds li { position: relative; padding: 24px 0 24px 24px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; cursor: pointer; }
  .kinds li::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 2px; background: var(--gold); transform: scaleY(0); transition: transform .5s var(--ease); }
  .kinds li.on::before { transform: none; }
  .kinds h3 { font-size: 1.45rem; transition: color .3s; }
  .kinds li.on h3 { color: var(--gold); }
  .kinds p, .steps p { color: var(--muted); }
  .kind-stage .pic img { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
  .kind-stage .pic img.on { opacity: 1; transform: none; }
  .steps-title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 120px 0 40px; padding-top: 48px; border-top: 1px solid var(--line); }
  .steps { list-style: none; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps li { counter-increment: step; padding-top: 24px; border-top: 1px solid var(--line); }
  .steps li::before { content: counter(step); display: block; margin-bottom: 18px; font: 400 2.6rem/1 var(--display); color: var(--gold); }
  .steps h3 { font-size: 1.35rem; margin-bottom: 6px; }
  .custom .actions { justify-content: flex-start; margin-top: 56px; }
  @media (max-width: 900px) {
    .custom-grid { grid-template-columns: 1fr; gap: 40px; }
    .kind-stage { order: -1; }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  }
  @media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

  /* faq: native details, height animates where the browser supports it */
  .faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
  .qa { border-top: 1px solid var(--line); }
  .qa details { border-bottom: 1px solid var(--line); }
  .qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; font: 400 1.35rem/1.25 var(--display); transition: color .3s; }
  .qa summary::-webkit-details-marker { display: none; }
  .qa summary:hover { color: var(--gold); }
  .qa summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); font: 400 1.4rem var(--body); color: var(--gold); transition: transform .4s var(--ease), background .3s; }
  .qa details[open] summary::after { transform: rotate(45deg); background: rgb(214 168 78 / .1); }
  .qa details::details-content { height: 0; overflow: clip; transition: height .5s var(--ease), content-visibility .5s allow-discrete; }
  .qa details[open]::details-content { height: auto; }
  .qa p { color: var(--muted); padding: 0 64px 28px 0; max-width: 60ch; }
  @media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 0; } }

  /* about, on the cream of the brand's promo art */
  .about { background: var(--cream); color: var(--ink); }
  .about h2 { color: var(--crimson); font-size: clamp(2.3rem, 5vw, 3.8rem); }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
  .team { width: 100%; max-width: 480px; height: auto; margin: 0 auto; filter: drop-shadow(0 30px 40px rgb(58 10 18 / .25)); }
  .about-copy p { color: var(--ink-soft); margin-top: 22px; font-size: 1.1rem; max-width: 52ch; }
  .about-copy p.quote { font: 400 1.6rem/1.35 var(--display); color: var(--crimson); margin-top: 28px; }
  .teams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 96px; }
  .teams div { border-top: 2px solid var(--crimson); padding-top: 22px; }
  .teams h3 { font-size: 1.4rem; color: var(--crimson); }
  .teams p { color: var(--ink-soft); margin-top: 8px; }
  .about :focus-visible { outline-color: var(--crimson); }
  @media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 56px; }
    .teams { grid-template-columns: 1fr; gap: 32px; margin-top: 64px; }
  }

  /* contact */
  .contact { position: relative; overflow: hidden; }
  .contact > img { position: absolute; inset: 0 0 auto; width: 100%; height: 75%; object-fit: cover; opacity: .2; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
  .contact-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
  .contact h2 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
  .contact-intro > p { color: var(--muted); margin-top: 18px; font-size: 1.15rem; max-width: 40ch; }
  .channels { list-style: none; padding: 0; margin-top: 48px; border-top: 1px solid var(--line); }
  .channels a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .4s var(--ease), color .3s; }
  .channels a:hover { padding-left: 12px; color: var(--gold); }
  .channels strong { display: inline-flex; align-items: center; gap: 16px; font: 400 1.35rem var(--display); }
  .channels .ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--line); background: rgb(214 168 78 / .06); transition: background .4s, border-color .4s; }
  .channels .ico svg { width: 20px; height: 20px; fill: var(--gold); transition: fill .4s; }
  .channels a:hover .ico { background: var(--gold); border-color: var(--gold); }
  .channels a:hover .ico svg { fill: var(--night); }
  .channels span { color: var(--muted); font-size: .95rem; text-align: right; overflow-wrap: anywhere; }
  .form { background: rgb(28 4 8 / .75); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); display: grid; gap: 24px; backdrop-filter: blur(6px); }
  .form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .field label, .form legend { display: block; margin-bottom: 8px; font-size: .95rem; color: var(--muted); }
  .field input, .field select, .field textarea {
    width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid rgb(214 168 78 / .35); border-radius: 0;
    background: rgb(244 234 214 / .04); color: var(--cream); font: inherit; transition: border-color .3s, background .3s;
  }
  .field textarea { min-height: 150px; resize: vertical; }
  .field select option { background: var(--night); }
  .field :is(input, select, textarea):hover { border-color: rgb(214 168 78 / .7); }
  .field :is(input, select, textarea):focus-visible { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); background: rgb(244 234 214 / .07); }
  .field :is(input, textarea):user-invalid { border-color: #ff8a80; }
  .form fieldset { border: 0; padding: 0; margin: 0; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chips label { position: relative; }
  .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgb(214 168 78 / .35); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
  .chips span:hover { border-color: var(--gold); }
  .chips input:checked + span { background: var(--gold); color: #2a1604; border-color: var(--gold); }
  .chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
  .form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
  .form-foot p { color: var(--muted); font-size: .9rem; flex: 1 1 220px; }
  .form-note { color: var(--gold); }
  .form-note:empty { display: none; }
  @media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 56px; } }
  @media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }

  /* footer */
  footer { border-top: 1px solid var(--line); padding-top: 72px; overflow: hidden; }
  .foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
  .foot > div > p { color: var(--muted); margin-top: 16px; max-width: 34ch; }
  .foot h3 { font: 500 .95rem var(--body); color: var(--muted); margin-bottom: 14px; }
  .foot ul { list-style: none; padding: 0; display: grid; gap: 8px; }
  .wordmark { margin: 72px 0 0; text-align: center; white-space: nowrap; font: 700 clamp(2.2rem, 10vw, 10rem)/.85 var(--brand); color: transparent; -webkit-text-stroke: 1px rgb(214 168 78 / .45); }
  .legal { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
  .legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 28px; padding-bottom: 32px; }
  @media (max-width: 700px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

  /* intro loader */
  #intro { display: none; }
  .intro #intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 90; background: #6a0f1d url(web/intro-bg.webp) 0 0 / 100% 100%; transition: opacity .9s var(--ease), visibility .9s; }
  #intro.done { opacity: 0; visibility: hidden; }
  #intro video { width: min(100vw, 100svh); aspect-ratio: 1; -webkit-mask-image: radial-gradient(closest-side, #000 75%, transparent); mask-image: radial-gradient(closest-side, #000 75%, transparent); }
  .intro-lock body { overflow: hidden; }
  /* hold the hero's opening until the intro fades */
  .intro-lock .bars::before, .intro-lock .bars::after, .intro-lock .hero-copy > *, .intro-lock .hero h1::after, .intro-lock .slide img, .intro-lock .cue { animation-play-state: paused; }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .bars::before, .bars::after { display: none; }
    .hero h1::after { animation: none; }
    .hero-copy, .slide, .top-title, .top-cards li, .top-cards img { transition: none; }
    .top-cards li, .top-cards img { transform: none; }
    .hero-copy > *, .slide img, .track, #menu:popover-open, dialog#lightbox[open], .cue, .cue::after { animation: none; }
      header, .reveal > span, .kind-stage .pic img, .qa details::details-content { transition: none; }
    .slide, .stage .pic img { transition: none; }
    .slide img, .stage .pic img { transform: none; }
  }

  /* ---------- sub pages (shop, portfolio) ---------- */
  [hidden] { display: none !important; }
  .page-hero { position: relative; min-height: 64svh; display: grid; align-items: end; padding: 170px 0 72px; overflow: hidden; }
  .page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: zoom 16s linear both; will-change: transform; }
  .page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgb(28 4 8 / .6), rgb(28 4 8 / .35) 45%, var(--night)); }
  .page-hero .wrap { position: relative; z-index: 1; width: 100%; }
  .crumbs { display: flex; gap: 10px; margin-bottom: 20px; font-size: .9rem; color: var(--muted); }
  .crumbs a { color: var(--cream); }
  .page-hero h1 { font-size: clamp(3rem, 8vw, 6.2rem); text-shadow: 0 4px 40px rgb(0 0 0 / .5); }
  .page-hero p { max-width: 52ch; margin-top: 20px; font-size: 1.15rem; text-shadow: 0 2px 12px rgb(0 0 0 / .7); }

  .toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; padding-bottom: 28px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
  .filters { display: flex; flex-wrap: wrap; gap: 8px; }
  .filters button { min-height: 44px; padding: 0 18px; background: none; border: 1px solid rgb(214 168 78 / .35); transition: background .3s, color .3s, border-color .3s; }
  .filters button:hover { border-color: var(--gold); }
  .filters button[aria-pressed="true"] { background: var(--gold); color: #2a1604; border-color: var(--gold); }
  .filters button span { opacity: .65; margin-left: 4px; }
  .sort { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .95rem; }
  .sort select { min-height: 44px; padding: 0 12px; border: 1px solid rgb(214 168 78 / .35); border-radius: 0; background: var(--night); color: var(--cream); font: inherit; }

  /* shop cards; items re-enter with a short fade whenever a filter shows them again */
  .shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px 32px; }
  .product { display: flex; flex-direction: column; gap: 14px; animation: fade .6s var(--ease) both; }
  .product .frame .pic img { transition: transform 1.2s var(--ease); }
  .product:hover .frame .pic img { transform: scale(1.06); }
  .product h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-top: 8px; }
  .product .type { color: var(--gold); font-size: .9rem; letter-spacing: .04em; }
  .product .d { color: var(--muted); font-size: .95rem; }
  .product .buyrow { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
  .product .amount { font: 400 1.7rem var(--display); }
  .product .btn { min-height: 44px; padding: 0 18px; }
  @media (max-width: 1000px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 620px) { .shop-grid { grid-template-columns: 1fr; } }

  /* portfolio grid: bento layout (sizes set by the page script), gold mat line and theme label on each card */
  .gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(120px, 11vw, 190px); grid-auto-flow: dense; gap: 16px; }
  .gallery .shot { width: 100%; height: 100%; aspect-ratio: auto; grid-column: span 4; grid-row: span 2; border: 0; animation: fade .6s var(--ease) both; }
  .gallery .shot[data-size="big"] { grid-column: span 8; grid-row: span 3; }
  .gallery .shot[data-size="tall"] { grid-column: span 4; grid-row: span 3; }
  .gallery .shot[data-size="wide"] { grid-column: span 6; grid-row: span 2; }
  .gallery .shot::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(transparent 40%, rgb(20 3 6 / .88)); transition: opacity .5s; }
  .gallery .shot::before { content: ""; position: absolute; inset: 10px; z-index: 2; border: 1px solid rgb(214 168 78 / 0); pointer-events: none; transition: inset .6s var(--ease), border-color .5s; }
  .gallery .shot:is(:hover, :focus-visible)::before { inset: 16px; border-color: rgb(214 168 78 / .85); }
  .gallery .shot img { transition: transform 1.2s var(--ease), filter .5s; }
  .gallery .shot span { z-index: 3; padding: 0 28px 26px; background: none; font-size: clamp(1.1rem, 1.6vw, 1.6rem); line-height: 1.1; transform: translateY(6px); transition: transform .6s var(--ease); }
  .gallery .shot span::before { content: attr(data-theme); display: block; margin-bottom: 8px; font: .72rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
  .gallery .shot:is(:hover, :focus-visible) span { transform: none; }
  .gallery .shot[data-size="big"] span { font-size: clamp(1.5rem, 2.6vw, 2.4rem); padding: 0 36px 34px; }
  @media (max-width: 700px) {
    .gallery { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .gallery .shot, .gallery .shot[data-size] { grid-column: auto !important; grid-row: auto; aspect-ratio: 16 / 9; }
  }

  .cta-band { text-align: center; border-top: 1px solid var(--line); }
  .cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; margin: 0 auto; }
  .cta-band p { color: var(--muted); max-width: 48ch; margin: 18px auto 36px; font-size: 1.1rem; }
  @media (prefers-reduced-motion: reduce) { .page-hero > img, .product, .gallery .shot { animation: none; } }
  .banner { aspect-ratio: 2 / 1; overflow: hidden; border: 1px solid var(--line); }
  .banner img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
  .product:hover .banner img { transform: scale(1.04); }
  .reel-more { display: flex; justify-content: center; margin-top: 56px; }
  /* 404 */
  .lost { min-height: 100svh; }
  .lost .brand { margin-bottom: 48px; }
  .lost .actions { justify-content: flex-start; margin-top: 32px; }
