
  *, *::before, *::after { box-sizing: border-box; }
  /* The html background is the colour of full shadow: the canvas paints
     light on top of it and the shadows are holes cut in that light.
     --dim runs 0 → 1 as a button swallows the lamp. */
  html { background: #121016; overflow-x: hidden; }
  /* Over the button area a finger drag moves the lamp (touch-action: none
     hands the drag to the page). Below it, a drag scrolls as usual. */
  .field, .nav-btn { touch-action: none; }
  html.no-fx .field, html.no-fx .nav-btn { touch-action: auto; }
  html.no-fx .nav-btn:hover { filter: brightness(1.12); }
  body {
    --dim: 0;
    --desc: 0;
    margin: 0;
    /* 100vw ignores the scrollbar, so the layout stays put when a longer
       section makes a scrollbar appear. */
    width: 100vw;
    min-height: 100vh;
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  }
  #light {
    position: fixed; inset: 0;
    width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
  }
  /* Phones: the browser's address bar slides away and back while you scroll, which changes the window height.
     Making the canvas as tall as the largest window height keeps it from being resized (and blanked to black)
     every time that happens. */
  @media (pointer: coarse) {
    @supports (height: 100lvh) { #light { inset: 0 auto auto 0; height: 100lvh; } }
  }

  /* Text: white + difference reads dark in the light and pale in shadow.
     Sliding the colour to black makes it vanish during a blackout. */
  .blend {
    color: color-mix(in srgb, #000 calc(var(--dim) * 100%), #fff);
    mix-blend-mode: difference;
  }
  .blend a { color: inherit; text-underline-offset: 0.15em; }
  /* Solid things simply fade out during a blackout. */
  .fade { opacity: calc(1 - var(--dim)); }

  /* ---------- entry splash ---------- */
  #splash {
    position: fixed; inset: 0; z-index: 10;
    display: grid; place-items: center;
    background: radial-gradient(ellipse closest-side at center, #fffaf0 40%, #121016 125%);
    cursor: pointer;
    transition: opacity 600ms ease;
  }
  #splash.leaving { opacity: 0; pointer-events: none; }
  #splash[hidden] { display: none; }
  #enter {
    width: min(52vmin, 280px);
    padding: 0; border: 0; background: none; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  #enter:focus-visible { outline: 3px dashed #2b2a2e; outline-offset: 12px; }
  #enter svg { display: block; width: 100%; height: auto; overflow: visible; }
  #enter text { font-family: Arial, Helvetica, sans-serif; fill: #2b2a2e; }
  .s-name { font-size: 17px; }
  .s-enter { font-size: 15px; }
  .s-l, .s-o { stroke-dasharray: 1.02; stroke-dashoffset: 1.02; }
  .s-fill, .s-name, .s-enter { opacity: 0; }
  .play .s-l     { animation: s-draw 800ms ease-in-out 200ms forwards; }
  .play .s-o     { animation: s-draw 1000ms ease-in-out 900ms forwards; }
  .play .s-fill  { animation: s-appear 800ms ease 1600ms forwards; }
  .play .s-name  { animation: s-appear 900ms ease 2200ms forwards; }
  .play .s-enter { animation: s-appear 600ms ease 3200ms forwards, s-breathe 2400ms ease-in-out 3800ms infinite; }
  @keyframes s-draw { to { stroke-dashoffset: 0; } }
  @keyframes s-appear { to { opacity: 1; } }
  @keyframes s-breathe { 50% { opacity: 0.45; } }
  @media (prefers-reduced-motion: reduce) {
    #splash { transition: none; }
    .play .s-l, .play .s-o, .play .s-fill, .play .s-name, .play .s-enter { animation: none; stroke-dashoffset: 0; opacity: 1; }
  }

  /* ---------- analytics consent (European visitors) ---------- */
  #consent {
    position: fixed; left: 1rem; bottom: 1rem; z-index: 3;
    width: min(24rem, calc(100vw - 2rem - 60px));
    padding: 1rem; display: grid; gap: 0.75rem;
    background: #fffdf7; color: #24222a;
    border: 1px solid #d8cfba; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(18, 16, 22, 0.25);
    font: 500 0.875rem/1.4 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  }
  #consent[hidden] { display: none; }
  #consent p { margin: 0; }
  #consent .c-small { font-size: 0.75rem; color: #5b5648; }
  #consent .c-actions { display: flex; gap: 0.5rem; }
  #consent button {
    font: inherit; font-weight: 600; padding: 0.55rem 0.9rem; border-radius: 8px; cursor: pointer;
    border: 1px solid #24222a; background: #24222a; color: #fff;
  }
  #consent #consent-no { background: transparent; color: #24222a; }

  .linklike { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
  #consent button.linklike { border: 0; padding: 0; background: none; color: inherit; font-weight: 500; }
  #privacy {
    width: min(36rem, calc(100vw - 2rem)); max-height: min(44rem, calc(100vh - 2rem));
    padding: 1.5rem; overflow: auto;
    background: #fffdf7; color: #24222a;
    border: 1px solid #d8cfba; border-radius: 14px;
    font: 400 0.9375rem/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  }
  #privacy::backdrop { background: rgba(18, 16, 22, 0.7); }
  #privacy h2 { font: 500 1.75rem/1.1 "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; margin: 0 0 0.25rem; }
  #privacy h3 { font: 700 0.8125rem/1.2 ui-sans-serif, system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; margin: 1.4rem 0 0.4rem; }
  #privacy p { margin: 0 0 0.7rem; }
  #privacy .p-date { font-size: 0.8125rem; color: #5b5648; }
  #privacy a { color: #1f5d5b; overflow-wrap: anywhere; }
  #privacy form { margin: 1.25rem 0 0; }
  #privacy-close {
    font: inherit; font-weight: 600; padding: 0.6rem 1.1rem; border-radius: 8px; cursor: pointer;
    border: 1px solid #24222a; background: #24222a; color: #fff;
  }

  /* ---------- settings ---------- */
  .settings {
    position: fixed; right: 1rem; bottom: 1rem; z-index: 3;
    font: 500 0.875rem/1.3 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  }
  #gear {
    display: grid; place-items: center;
    width: 44px; height: 44px; margin-left: auto;
    border: 0; border-radius: 50%;
    background: #2b2a33; color: #fff; font-size: 1.25rem; line-height: 1;
    cursor: pointer;
  }
  #gear:focus-visible { outline: 3px dashed #2b2a33; outline-offset: 4px; }
  #panel {
    position: absolute; right: 0; bottom: 54px;
    width: 15.5rem; padding: 1rem;
    display: grid; gap: 0.75rem;
    background: #fffdf7; color: #24222a;
    border: 1px solid #d8cfba; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(18, 16, 22, 0.25);
  }
  #panel[hidden] { display: none; }
  #panel label { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; }
  #panel input { width: 1.1rem; height: 1.1rem; accent-color: #1f5d5b; }
  #panel button {
    font: inherit; text-align: left;
    padding: 0.55rem 0.7rem;
    border: 1px solid #cfc5ae; border-radius: 8px;
    background: #f6efdf; color: inherit; cursor: pointer;
  }
  #panel button:hover { background: #efe6d1; }
  #panel p { margin: 0; font-size: 0.8125rem; color: #5b5648; min-height: 1em; }
  #panel #reset-note:empty { display: none; }
  #panel #site-version { font-size: 0.75rem; text-align: right; }

  /* Shown over the black while a button holds the light. */
  #desc {
    position: fixed; left: 50%; top: 60%;
    transform: translate(-50%, -50%);
    width: min(32rem, calc(100vw - 3rem));
    text-align: center;
    color: #fff;
    opacity: var(--desc);
    pointer-events: none;
    z-index: 2;
  }
  #desc .d-name {
    font: 600 0.75rem/1 ui-sans-serif, system-ui, sans-serif;
    letter-spacing: 0.18em; text-transform: uppercase;
    margin: 0 0 0.9rem;
  }
  #desc .d-text { font-size: clamp(1.5rem, 4.5vw, 2.25rem); line-height: 1.15; margin: 0 0 1rem; text-wrap: balance; }
  #desc .d-hint { font: 500 0.8125rem/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: 0.04em; opacity: 0.6; margin: 0; }

  /* Leaving for Etsy: the room goes dark around the chosen product, then
     the product goes out too. */
  .card.hot, .tile.hot {
    opacity: 1;
    box-shadow: 0 0 calc(var(--dim) * 80px) calc(var(--dim) * 6px) rgba(255, 224, 150, 0.5);
    transition: filter 380ms ease-in, opacity 380ms ease-in;
  }
  .card.hot.going, .tile.hot.going { filter: brightness(0); opacity: 0; }
  #leave {
    position: fixed; left: 50%; top: 80%;
    transform: translate(-50%, -50%);
    width: min(32rem, calc(100vw - 3rem));
    text-align: center; color: #fff;
    opacity: 0; transition: opacity 350ms ease;
    pointer-events: none; z-index: 2;
  }
  #leave.on { opacity: 1; }
  #leave .d-name { font: 600 0.75rem/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 0.9rem; }
  #leave .d-text { font-size: clamp(1.25rem, 3.6vw, 1.75rem); line-height: 1.2; margin: 0; text-wrap: balance; }
  #leave .l-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin: 1.25rem 0 0; pointer-events: auto; font: 600 0.875rem/1 ui-sans-serif, system-ui, sans-serif; }
  #leave .l-actions[hidden] { display: none; }
  #leave .l-actions a, #leave .l-actions button {
    font: inherit; padding: 0.7rem 1rem; border-radius: 999px; cursor: pointer; text-decoration: none;
    border: 1px solid #fff; background: #fff; color: #121016;
  }
  #leave .l-actions button { background: transparent; color: #fff; }

  /* ---------- the buttons ---------- */
  .field {
    --w-home: clamp(84px, 13vmin, 118px);
    --w-contact: clamp(76px, 12vmin, 104px);
    position: relative;
    height: clamp(190px, 25vh, 250px);
    max-width: 68rem;
    margin: 0 auto;
  }
  .nav-btn {
    position: absolute;
    display: grid; place-items: center;
    border: 0; padding: 0;
    background: var(--c);
    color: var(--ink, #fff);
    font: 600 clamp(0.75rem, 1.9vmin, 1rem)/1 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    letter-spacing: 0.04em;
    cursor: pointer;
    user-select: none; -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-btn.hot {
    opacity: 1;
    box-shadow: 0 0 calc(var(--dim) * 70px) calc(var(--dim) * 8px) color-mix(in srgb, var(--c) 70%, transparent);
  }
  /* Click feedback: the glow flares lighter and wider, then settles. */
  .nav-btn::after {
    content: ""; position: absolute; inset: 0;
    border-radius: inherit; pointer-events: none; opacity: 0;
  }
  .nav-btn.pulse { animation: pulse-face 480ms ease-out; }
  .nav-btn.pulse::after { animation: pulse-glow 480ms ease-out; }
  @keyframes pulse-face {
    0%   { filter: brightness(1); }
    25%  { filter: brightness(1.35); }
    100% { filter: brightness(1); }
  }
  @keyframes pulse-glow {
    0%   { opacity: 0.95; box-shadow: 0 0 40px 6px color-mix(in srgb, var(--c) 55%, #fff); }
    100% { opacity: 0;    box-shadow: 0 0 150px 44px color-mix(in srgb, var(--c) 55%, #fff); }
  }
  @media (prefers-reduced-motion: reduce) {
    @keyframes pulse-glow {
      0%   { opacity: 0.9; box-shadow: 0 0 70px 12px color-mix(in srgb, var(--c) 55%, #fff); }
      100% { opacity: 0;   box-shadow: 0 0 70px 12px color-mix(in srgb, var(--c) 55%, #fff); }
    }
  }
  .nav-btn[aria-current="page"] { outline: 3px solid var(--c); outline-offset: 5px; cursor: default; }
  .nav-btn:focus-visible { outline: 3px dashed var(--c); outline-offset: 5px; }

  /* Home is a triangle with rounded corners, drawn as a small SVG so its
     ring, glow and shadow can all follow the shape. Only the triangle
     itself reacts to the pointer, not the empty corners of its box. */
  .b-home {
    --c: #b5384f; --w: var(--w-home);
    left: 4%; top: 12%; width: var(--w); height: calc(var(--w) * 0.88);
    background: none; pointer-events: none;
  }
  .b-home svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .b-home .tri-face { fill: var(--c); pointer-events: auto; cursor: pointer; }
  .b-home .tri-ring { display: none; fill: none; stroke: var(--c); stroke-width: 3px; vector-effect: non-scaling-stroke; }
  .b-home span { position: relative; margin-top: 34%; pointer-events: none; }
  .b-home::after { display: none; }
  .b-home[aria-current="page"], .b-home:focus-visible { outline: none; }
  .b-home[aria-current="page"] .tri-ring, .b-home:focus-visible .tri-ring { display: block; }
  .b-home[aria-current="page"] .tri-face { cursor: default; }
  .b-home:focus-visible:not([aria-current="page"]) .tri-ring { stroke-dasharray: 7 5; }
  .b-home.hot {
    box-shadow: none;
    filter: drop-shadow(0 0 calc(var(--dim) * 28px) color-mix(in srgb, var(--c) 85%, transparent));
  }
  .b-home.pulse { animation: pulse-tri 480ms ease-out; }
  @keyframes pulse-tri {
    0%   { filter: brightness(1.35) drop-shadow(0 0 18px color-mix(in srgb, var(--c) 55%, #fff)); }
    100% { filter: brightness(1) drop-shadow(0 0 70px transparent); }
  }
  /* Shop sits midway between Home and Contact, whatever the screen size. */
  .b-shop    { --c: #1f5d5b; --w: clamp(112px, 21vmin, 184px); top: 54%; width: var(--w); height: clamp(44px, 8vmin, 66px); border-radius: 999px;
               left: calc(28% + (var(--w-home) + var(--w-contact)) / 4 - var(--w) / 2); }
  @media (max-width: 560px) { .b-shop { top: 64%; } }   /* clear of Home's ring on phones */
  .b-contact { --c: #e2562b; left: 52%; top: 12%; width: var(--w-contact); aspect-ratio: 1; border-radius: 50%; }
  .b-about   { --c: #e0a526; --ink: #2a2110; left: 76%; top: 18%; width: clamp(80px, 15vmin, 128px); aspect-ratio: 1; border-radius: 22%; }

  /* ---------- the changing content ---------- */
  .views {
    max-width: 56rem;
    margin: 0 auto;
    padding: clamp(0.25rem, 1.5vh, 1rem) 1.5rem 2rem;
  }
  .eyebrow {
    font: 600 0.75rem/1 ui-sans-serif, system-ui, sans-serif;
    letter-spacing: 0.18em; text-transform: uppercase;
    margin: 0 0 1rem;
  }
  h1 {
    font-size: clamp(2rem, 6vw, 3.25rem);
    line-height: 1.05; font-weight: 500;
    margin: 0 0 1rem; text-wrap: balance;
  }
  /* The small capital labels ("HOME", "FROM THE SHOP"...) are one size
     everywhere, whichever tag they sit on. */
  .views .eyebrow {
    font: 600 0.875rem/1 ui-sans-serif, system-ui, sans-serif;
    letter-spacing: 0.18em; text-transform: uppercase;
    margin: 0 0 1rem; max-width: none;
  }
  .views p { font-size: 1.0625rem; line-height: 1.55; margin: 0 0 1rem; max-width: 38rem; }
  .note { font: 500 0.8125rem/1.4 ui-sans-serif, system-ui, sans-serif; letter-spacing: 0.02em; }

  .from-shop { margin-top: 1.5rem; text-align: center; }
  /* Three products, spread evenly across the page and centred. */
  .from-shop .cards {
    display: flex; flex-wrap: wrap; justify-content: space-evenly; align-items: stretch;
    gap: 1.25rem 0.75rem; margin-top: 0; text-align: left;
  }
  .from-shop .cards .card { width: clamp(150px, 26%, 220px); }
  .collage {
    display: flex; justify-content: space-evenly; align-items: flex-start;
    margin: 0 0 1.1rem;
  }
  .collage .tile {
    display: block; width: min(28%, 220px); aspect-ratio: 263 / 208;
    border-radius: 10px; cursor: pointer;
    background: #121016 center / cover no-repeat;
  }
  .collage .tile:nth-child(even) { margin-top: 1.1rem; }
  .collage .tile:hover { filter: brightness(1.12); }
  .collage .tile:focus-visible { outline: 3px dashed #1f5d5b; outline-offset: 3px; }
  .to-shop {
    font: 600 0.875rem/1 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    letter-spacing: 0.03em;
    padding: 0.75rem 1.1rem; border: 0; border-radius: 999px;
    background: #1f5d5b; color: #fff; cursor: pointer;
  }
  .to-shop:focus-visible { outline: 3px dashed #1f5d5b; outline-offset: 3px; }
  .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 1.25rem 0 0; }
  .chip {
    font: 600 0.875rem/1 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    letter-spacing: 0.03em;
    padding: 0.6rem 0.9rem; border: 0; border-radius: 999px;
    background: #2b2a33; color: #fff; cursor: pointer;
  }
  .chip[aria-pressed="true"] { background: #1f5d5b; }
  .chip:focus-visible { outline: 3px dashed #1f5d5b; outline-offset: 3px; }
  .cards {
    display: grid; gap: clamp(0.8rem, 2vw, 1.25rem);
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
    margin: 1.25rem 0 1.5rem;
  }
  .card {
    display: flex; flex-direction: column;
    border-radius: 12px; overflow: hidden;
    background: #24222a; color: #fff; text-decoration: none;
    font: 500 0.875rem/1.35 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  }
  .card[hidden] { display: none; }
  .card img { display: block; width: 100%; height: auto; aspect-ratio: 263 / 208; object-fit: cover; background: #121016; }
  .card .c-body { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.75rem 0.85rem 0.9rem; flex: 1; }
  .card .c-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .card .c-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; margin-top: auto; }
  .card .c-price { font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; }
  .card .c-go { font-size: 0.75rem; opacity: 0.7; white-space: nowrap; }
  .card:hover .c-go, .card:focus-visible .c-go { opacity: 1; text-decoration: underline; }
  .card:focus-visible { outline: 3px dashed #1f5d5b; outline-offset: 3px; }
  @media (max-width: 480px) { .cards { grid-template-columns: repeat(2, 1fr); } }


  /* ---------- on-site shop: cart button, product pop-up, cart drawer ---------- */
  #cart-btn {
    position: fixed; right: calc(1rem + 44px + 0.6rem); bottom: 1rem; z-index: 3;
    display: grid; place-items: center;
    width: 44px; height: 44px; padding: 0;
    border: 0; border-radius: 50%;
    background: #1f5d5b; color: #fff; cursor: pointer;
  }
  #cart-btn[hidden] { display: none; }
  #cart-btn svg { width: 22px; height: 22px; display: block; }
  #cart-btn:focus-visible { outline: 3px dashed #1f5d5b; outline-offset: 4px; }
  #cart-btn.bump { animation: cart-bump 420ms ease; }
  @keyframes cart-bump { 40% { transform: scale(1.18); } }
  #cart-count {
    position: absolute; top: -5px; right: -5px;
    min-width: 20px; height: 20px; padding: 0 5px; box-sizing: border-box;
    border-radius: 10px; border: 1px solid #d8cfba;
    background: #fffdf7; color: #24222a;
    font: 700 0.75rem/18px ui-sans-serif, system-ui, sans-serif; text-align: center;
  }
  #cart-count[hidden] { display: none; }
  body.has-cart #consent { width: min(24rem, calc(100vw - 2rem - 112px)); }

  .shop-dlg {
    padding: 0; overflow: auto;
    background: #fffdf7; color: #24222a;
    border: 1px solid #d8cfba; border-radius: 14px;
    font: 400 0.9375rem/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  }
  .shop-dlg::backdrop { background: rgba(18, 16, 22, 0.7); }
  .shop-dlg h2 { font: 500 1.75rem/1.1 "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; margin: 0; }
  .shop-dlg p { margin: 0; }
  .shop-dlg button { font: inherit; }
  .dlg-close {
    font-weight: 600; font-size: 0.875rem; padding: 0.45rem 0.8rem; border-radius: 8px; cursor: pointer;
    border: 1px solid #cfc5ae; background: #f6efdf; color: inherit;
  }
  .dlg-close:hover { background: #efe6d1; }
  .shop-dlg :focus-visible { outline: 3px dashed #1f5d5b; outline-offset: 3px; }
  .btn-primary {
    font-weight: 600; letter-spacing: 0.03em; padding: 0.8rem 1.2rem; border: 0; border-radius: 999px;
    background: #1f5d5b; color: #fff; cursor: pointer;
  }
  .btn-primary:disabled { background: #8b8a86; cursor: not-allowed; }

  #product { width: min(52rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); }
  .dlg-bar { display: flex; justify-content: flex-end; padding: 0.75rem 0.75rem 0; }
  .p-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; padding: 0.5rem 1.25rem 1.5rem; }
  @media (max-width: 640px) { .p-wrap { grid-template-columns: 1fr; } }
  .p-media img#p-img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; max-height: 52dvh; object-fit: contain; object-position: center top; background: #121016; border-radius: 10px; }
  @media (max-width: 640px) { .p-media img#p-img { aspect-ratio: 4 / 3; max-height: 26dvh; } .shop-dlg h2 { font-size: 1.4rem; } .p-wrap { gap: 0.9rem; padding-bottom: 1.1rem; } }
  .p-videos video, .page-video video { display: block; width: 100%; max-width: 30rem; max-height: 55dvh; object-fit: contain; border-radius: 10px; background: #121016; margin-top: 0.6rem; }
  #view-page.live .static-buy { display: none; }
  .p-live { background: #fffdf7; color: #24222a; border: 1px solid #d8cfba; border-radius: 14px; padding: 1.1rem; margin: 0.5rem 0 1.5rem; font: 400 0.9375rem/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
  .p-live p { margin: 0; }
  .p-live button { font: inherit; }
  .p-live :focus-visible { outline: 3px dashed #1f5d5b; outline-offset: 3px; }
  .p-live .p-wrap { padding: 0; }
  .p-live a { color: #1f5d5b; }
  .p-live #p-title, .p-live #p-desc { display: none; }
  .p-thumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
  .p-thumbs button { padding: 0; width: 52px; height: 52px; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #121016; cursor: pointer; }
  .p-thumbs button[aria-current="true"] { border-color: #1f5d5b; }
  .p-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .p-info { display: flex; flex-direction: column; gap: 0.9rem; }
  .p-price { font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
  .p-price s { font-weight: 400; opacity: 0.6; margin-left: 0.5rem; font-size: 1rem; }
  #p-options { display: grid; gap: 0.9rem; }
  .p-opt { border: 0; padding: 0; margin: 0; min-width: 0; }
  .p-opt legend { padding: 0; font: 700 0.8125rem/1.2 ui-sans-serif, system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.45rem; }
  .p-opt .vals { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .opt {
    padding: 0.5rem 0.8rem; border: 1px solid #cfc5ae; border-radius: 999px;
    background: #f6efdf; color: inherit; cursor: pointer; font-weight: 600; font-size: 0.875rem;
  }
  .opt[aria-pressed="true"] { background: #1f5d5b; border-color: #1f5d5b; color: #fff; }
  .opt.sold { text-decoration: line-through; opacity: 0.6; }
  .p-avail { font-size: 0.875rem; color: #5b5648; min-height: 1.3em; }
  .p-avail.bad { color: #9a2b13; }
  .p-msg, .cart-notice { font-size: 0.875rem; padding: 0.6rem 0.75rem; border-radius: 8px; background: #fbe9e4; color: #7b2410; }
  .p-msg[hidden], .cart-notice[hidden] { display: none; }
  .cart-notice.info { background: #e8f1ef; color: #1b4a48; }
  .p-desc { font-size: 0.875rem; color: #4a4639; line-height: 1.55; }
  .p-desc p { margin: 0 0 0.8em; }
  .p-desc h3 { font-size: 0.9375rem; margin: 1.2em 0 0.4em; color: #2d2a22; }
  .p-desc ul { margin: 0 0 0.8em; padding-left: 1.2em; }
  .p-desc li { margin: 0 0 0.45em; }
  .p-etsy { font-size: 0.8125rem; color: #5b5648; }
  .p-etsy a { color: #1f5d5b; }

  #cart { width: min(26rem, 100vw); height: 100dvh; max-height: none; margin: 0 0 0 auto; border-radius: 14px 0 0 14px; }
  #cart[open] { display: flex; flex-direction: column; }
  .cart-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.1rem 0.5rem; }
  .cart-head h2 { font-size: 1.5rem; }
  .cart-notice { margin: 0.25rem 1.1rem 0; }
  .cart-body { flex: 1; overflow: auto; padding: 0.5rem 1.1rem; }
  .cart-empty { color: #5b5648; padding: 1rem 0; }
  .cart-line { display: grid; grid-template-columns: 64px 1fr; gap: 0.75rem; padding: 0.8rem 0; border-top: 1px solid #e6dfcc; }
  .cart-line:first-child { border-top: 0; }
  .cart-line img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: #121016; }
  .cl-title { font-weight: 600; }
  .cl-var, .cl-unit { font-size: 0.8125rem; color: #5b5648; }
  .cl-bad { font-size: 0.8125rem; color: #9a2b13; font-weight: 600; }
  .cl-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.4rem; }
  .qty { display: inline-flex; align-items: center; border: 1px solid #cfc5ae; border-radius: 999px; background: #f6efdf; }
  .qty button { width: 32px; height: 32px; border: 0; background: none; font-size: 1.125rem; line-height: 1; cursor: pointer; border-radius: 50%; color: inherit; }
  .qty button:disabled { opacity: 0.4; cursor: not-allowed; }
  .qty span { min-width: 1.75rem; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
  .cl-total { font-weight: 700; font-variant-numeric: tabular-nums; }
  .cl-remove { background: none; border: 0; padding: 0; color: #1f5d5b; text-decoration: underline; cursor: pointer; font-size: 0.8125rem; margin-top: 0.3rem; }
  .cart-foot { display: grid; gap: 0.6rem; padding: 0.9rem 1.1rem 1.1rem; border-top: 1px solid #e6dfcc; }
  .cart-foot[hidden] { display: none; }
  .cart-sub { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
  .cart-small { font-size: 0.8125rem; color: #5b5648; }
  [aria-busy="true"] { cursor: progress; }
  #shop-status { text-align: center; }
  #shop-status[hidden] { display: none; }
  #shop-status button { font: inherit; text-decoration: underline; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; }
  button.card { border: 0; padding: 0; margin: 0; width: 100%; text-align: left; cursor: pointer; }
  button.card:hover .c-go { opacity: 1; text-decoration: underline; }
  .card .c-sold { color: #ffb4a3; }

  /* ---------- real pages: category and product ---------- */
  .views h2 { font-size: clamp(1.25rem, 3.2vw, 1.6rem); font-weight: 500; line-height: 1.2; margin: 1.8rem 0 0.7rem; }
  .views .page-hero { display: block; width: min(100%, 30rem); height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 12px; margin: 0 0 1.25rem; background: #121016; }
  .page-desc { max-width: 38rem; }
  .page-desc p { font-size: 1.0625rem; line-height: 1.55; margin: 0 0 1rem; }
  .page-desc h3 { font: 600 0.875rem/1.2 ui-sans-serif, system-ui, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; margin: 1.6rem 0 0.6rem; }
  .page-desc ul, .page-list { margin: 0 0 1rem; padding-left: 1.2rem; max-width: 38rem; line-height: 1.5; font-size: 1.0625rem; }
  .page-desc li, .page-list li { margin: 0 0 0.45rem; }
  .page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.2rem; margin: 1.25rem 0 0.5rem; }
  .page-actions .to-shop { margin: 0; }
  .page-actions a { text-underline-offset: 0.15em; }
  .page-price { font-size: 1.25rem; font-weight: 700; }
  .cat-links { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid currentColor; }
  .cat-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
  .cat-links li { font-size: 0.9375rem; }
  .cat-links a { text-underline-offset: 0.15em; }
