@font-face{font-family:"Jost";font-style:normal;font-weight:400;font-display:swap;src:url("/fonts/jost-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Jost";font-style:normal;font-weight:500;font-display:swap;src:url("/fonts/jost-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Jost";font-style:normal;font-weight:600;font-display:swap;src:url("/fonts/jost-latin-600-normal.woff2") format("woff2")}

/* Layout: a print-shop bench. Controls on the left, the poster hung on the wall to the right; stacks to one column on a phone. */
:root {
  /* Page chrome follows the site's shared tokens, so the light/dark toggle
     works here too. The poster's own four colours are set separately — that
     palette is the product, not chrome. */
  --wall: var(--dg-bg); --bench: var(--dg-surface); --line: var(--dg-border);
  --text: var(--dg-text); --soft: var(--dg-muted);
  --press: var(--dg-accent); --on-press: #fff; --shadow: rgba(0, 0, 0, .35);
  /* The favicon's own colours, so the bar and the tab icon are the same
     mark: Sunrise's map field and ink, and MARK, the fixed marker red. */
  --brand: #f2c14e; --brand-ink: #1d2b3a; --brand-dot: #e4002b;
  --good: #1d6b3f;   /* the included-in-the-price tick */
  --display: "Jost", "Century Gothic", "Avenir Next", sans-serif;
  --mono: var(--dg-mono);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--wall); color: var(--text); font-family: var(--display); font-size: 16px; line-height: 1.5; padding: 0 0 48px; }

/* The bar runs the full width, so the 20px gutter lives on the inner wrapper
   and on .shop rather than on body. .shop's max-width grows by the two
   gutters to keep the content measure at the 980px it was before. */
.topbar { background: var(--brand); color: var(--brand-ink); }
.topbar-in { max-width: 1020px; margin-inline: auto; padding: 15px 20px; display: flex; align-items: center; gap: 16px; }
/* Pushed to the far end rather than floated, so it stays put when the brand
   wraps on a narrow screen. The hit area is 44px square even though the glyph
   is 22 -- a header icon is the easiest thing on a page to miss with a thumb. */
.social { margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
          width: 44px; height: 44px; margin-right: -11px; border-radius: 50%;
          color: inherit; opacity: .82; transition: opacity .12s, background-color .12s; }
.social:hover, .social:focus-visible { opacity: 1; background: rgba(0, 0, 0, .08); }
.brand { display: flex; align-items: baseline; gap: .34em; font-size: 22px; font-weight: 600;
         letter-spacing: -.01em; line-height: 1.2; margin: 0; color: inherit; }
/* The favicon's dot, drawn at the text's own scale. The ring is what gives it
   an edge: the red reads only 2.89:1 against the yellow, where the ring reads
   8.58:1, so the ring is doing the work of making the shape legible. */
.brand-dot { width: .46em; height: .46em; border-radius: 50%; background: var(--brand-dot);
             box-shadow: 0 0 0 1.5px var(--brand-ink); flex: none; }
/* The page's measure and gutter live on the wrapper, not on the grid. The
   grid holds the editor and nothing else, because .wall sticks inside it:
   a sticky element travels as far as its containing block allows, so
   anything else put in here would be something the preview could slide
   over on its way down. */
.page { max-width: 1020px; margin-inline: auto; padding: 28px 20px 0; }
.shop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
        column-gap: 40px; row-gap: 22px; align-items: start; }
/* Two rows in the left column -- lede, then the form -- with the preview
   column spanning both. The row gap matches the 22px the lede used to get
   from .bench, so the desktop spacing is unchanged. */
.shop > .lede { grid-column: 1; grid-row: 1; }
.shop > .bench { grid-column: 1; grid-row: 2; }
.wall { grid-column: 2; grid-row: 1 / span 2; }
.bench { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.lede { margin: 0; color: var(--soft); max-width: 46ch; }
.tag { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
/* One line-height for every control, so the height does not follow the
   font-size: "Your words" is set larger than the postcode beside it, and
   without this the two boxes in the pair stood 6px apart. It must come
   after `font: inherit`, which carries its own line-height. */
/* A <select> sizes its own internal box and ignores line-height, so it
   needs the height stating outright to sit level with the text inputs. */
input[type="text"], select { font: inherit; line-height: 28px; height: 50px; color: var(--text); background: var(--bench); border: 1px solid var(--line); border-radius: 2px; padding: 10px 12px; width: 100%; }
#words { font-size: 20px; }
#postcode { text-transform: uppercase; font-family: var(--mono); letter-spacing: .06em; }
/* Map detail. The native control draws a hairline track and a thumb too small
   to hit confidently on a phone. Styling the track means giving up
   `accent-color`, and WebKit has no pseudo-element for the filled part -- so
   the fill is a gradient positioned by --fill, which the page keeps in step
   with the value. The 44px box stays: that is the touch target, and it is
   larger than the thumb drawn inside it. */
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer;
  /* The fill stops at the thumb's centre, not at a bare percentage of the
     width, or it overshoots the thumb at one end and lags it at the other. */
  --fill: calc(14px + (100% - 28px) * .5);
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 16px; border-radius: 999px; border: 1px solid var(--line);
  background: linear-gradient(to right,
    var(--press) var(--fill), var(--bench) var(--fill));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 2px solid var(--press);
  box-shadow: 0 1px 4px var(--shadow);
  /* Centres a 28px thumb on an 18px track box: (18 - 28) / 2 */
  margin-top: -5px;
}
/* Firefox has a progress pseudo-element, so it needs no gradient */
input[type="range"]::-moz-range-track {
  height: 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bench);
}
input[type="range"]::-moz-range-progress {
  height: 16px; border-radius: 999px; background: var(--press);
}
input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; box-sizing: border-box;
  background: #fff; border: 2px solid var(--press);
  box-shadow: 0 1px 4px var(--shadow);
}
input:focus-visible, select:focus-visible, button:focus-visible { outline: 2px solid var(--press); outline-offset: 2px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
button { font: inherit; cursor: pointer; border-radius: 2px; }
.go { background: var(--press); color: var(--on-press); border: 1px solid var(--press); padding: 10px 18px; font-weight: 500; }
.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); padding: 8px 14px; }
button:disabled { opacity: .5; cursor: default; }
.status { font-family: var(--mono); font-size: 12px; color: var(--soft); min-height: 18px; margin: 0; }
.status.bad { color: var(--press); }
/* The palette label and the group toggle share a line, so the toggle does not
   cost a row of its own above an already tall column. */
.palette-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.palgroups { display: inline-flex; gap: 6px; }
.palgroups button { font: inherit; font-size: .78rem; padding: 6px 12px; border: 1px solid var(--line);
                    background: var(--bench); color: var(--soft); border-radius: 999px; line-height: 1.2; }
.palgroups button:hover { border-color: var(--dg-border-2); color: var(--text); }
.palgroups button[aria-pressed="true"] { background: var(--text); color: var(--wall); border-color: var(--text); }
.palgroups button:focus-visible { outline: 2px solid var(--press); outline-offset: 2px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.sw { background: var(--bench); border: 1px solid var(--line); padding: 6px; display: flex; flex-direction: column; gap: 6px; text-align: left; color: var(--text); min-width: 0; }
.sw[aria-pressed="true"] { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); height: 30px; }
/* A hairline inside each chip, so a white one is still a visible chip rather
   than a gap in the row -- several club palettes use white as the paper. */
.chips span { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .10); }
.sw span.nm { font-family: var(--mono); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wall { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
/* The two halves of the right-hand column. Each keeps its own internal
   spacing, so they look the same stacked inside .wall as they do when the
   narrow layout sends them to opposite ends of the page. */
.preview, .smallprint { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.poster { --p1: #f4ead5; --p2: #f2c14e; --p3: #e4572e; --p4: #1d2b3a; container-type: inline-size; background: var(--p1); aspect-ratio: 2 / 3; max-width: 100%; padding: 5% 6% 6%; display: flex; flex-direction: column; box-shadow: 0 14px 30px -12px var(--shadow), 0 2px 4px var(--shadow); }
.poster .lab { font-size: 2.7cqw; text-align: right; color: var(--p4); padding-bottom: 3px; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.poster .ttl { border-top: 1.5px solid var(--p4); border-bottom: 1.5px solid var(--p4); padding: 2.4cqw 0 2.8cqw; display: flex; flex-direction: column; gap: .6cqw; overflow: hidden; }
.poster .ln { white-space: nowrap; line-height: 1; letter-spacing: -.01em; color: var(--p4); font-weight: 600; }
.poster .ln.z2 { font-size: 6cqw; font-weight: 500; }
.poster .ln.z3 { font-size: 9cqw; }
.poster .ln.z4 { font-size: 13.5cqw; letter-spacing: -.025em; line-height: .95; }
/* Not --p3: the second title line is chosen per palette so it cannot come
   out the same weight as the lines above it. The page sets --hi. */
.poster .ln.hi { color: var(--hi, var(--p3)); }
.poster .crd { font-size: 3.4cqw; color: var(--p4); padding: 1.6cqw 0 2.4cqw; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; min-height: 8cqw; }
.poster svg { flex: 1; min-height: 45%; width: 100%; display: block; }
.poster.busy svg { opacity: .4; }
/* Who the customer is actually buying from, in the footer rather than only on
   the legal pages: a company has to show its registered name and number where
   it trades. */
.trader { font-size: .78rem; line-height: 1.5; color: var(--dg-faint); margin: 8px 0 0; }
.trader a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.trader a:hover { color: var(--text); }
.credit { font-family: var(--mono); font-size: 11px; color: var(--soft); margin: 0; }
.credit a { color: inherit; }
/* Narrow screens: one column, and the three boxes stack in a chosen order
   rather than the order the markup happens to be in. `display: contents`
   dissolves .wall so its two halves become flex children of .shop alongside
   the form -- which is the only way the small print can end up BELOW the form
   while the preview stays above it, without duplicating either in the markup.
   The preview keeps the width constraint .wall used to carry; the small print
   runs full width, since at the foot of the page it is a footer. */
@media (max-width: 760px) {
  /* One column, and the five boxes become siblings so they can be put in
     the order a phone actually wants them in. */
  .page { display: flex; flex-direction: column; gap: 28px; }
  .shop, .wall { display: contents; }
  /* The reading order the page actually wants on a phone: what this is,
     what it looks like, then the controls, then the small print. */
  .page .lede { order: -2; }
  /* The preview follows you down the page. Without this, every change to a
     word or a colour meant scrolling back up to see it and back down to make
     the next one -- ten round trips to pick a palette.

     It sticks at full size and shrinks once you start scrolling, rather than
     being permanently small: the first thing a visitor sees should still be
     a poster, not a thumbnail. */
  .preview {
    order: -1; max-width: 340px; margin-inline: auto; width: 100%;
    position: sticky; top: 0; z-index: 5;
    background: var(--wall);
    padding-block: 6px 10px;
    transition: max-width .22s ease, padding .22s ease;
  }
  /* Scrolled: small enough to leave room for the controls underneath. The
     band keeps the full column width so its background covers the fields
     passing underneath -- shrinking the band itself left the labels and
     inputs showing either side of the poster. Only the frame inside shrinks.
     The poster is sized from its own width, so capping that scales the type
     with it and nothing else needs restyling: 22vh wide is a 33vh poster. */
  .preview.is-compact { padding-block: 6px 8px; }
  /* An explicit width, not max-width with auto margins. Auto margins on a flex
     item turn off the default stretch, so the frame fell back to shrink-to-fit
     -- and its content is a poster whose width comes from the frame, so both
     collapsed to nothing. A definite width breaks that circle; align-self
     centres it without reintroducing the auto margins. */
  .preview.is-compact .frame { width: min(100%, 22vh); align-self: center; }
  /* The toggle and the two notes are reference, not controls. They would
     double the height of the sticky band for no benefit mid-edit. */
  .preview.is-compact .frame-toggle,
  .preview.is-compact .frame-note,
  .preview.is-compact .print-note,
  .preview.is-compact .mug-example { display: none; }


  /* The background runs the full width of the viewport, not just the column.
     The page has a 20px gutter, and a focused control paints its outline 2px
     outside itself -- into that gutter, where a column-width band does not
     cover it, leaving a blue line sliding past under the poster. */
  .preview.is-compact::before {
    content: ""; position: absolute; inset: 0;
    left: 50%; transform: translateX(-50%); width: 100vw;
    background: var(--wall); z-index: -1;
  }

  /* A hairline under the band only once it is actually overlapping content,
     so it reads as a fixed strip rather than a stray line at rest. */
  .preview.is-compact::after {
    content: ""; position: absolute; left: 50%; transform: translateX(-50%);
    bottom: 0; width: 100vw; height: 1px; background: var(--line);
  }
  .page > .shop > .bench, .page .bench { order: 0; }
  .gallery { order: 1; margin-top: 2px; }
  .smallprint { order: 2; }
  .brand { font-size: 19px; }
  .topbar-in { padding: 13px 20px; }
}

/* The one thing on the page we actually want clicked, so it does not get the
   quiet ghost treatment the other controls have. */
.buy {
  width: 100%;
  font: inherit;
  font-weight: 600;
  padding: 11px 18px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--dg-accent-btn);
  cursor: pointer;
  transition: background .15s, transform .08s;
}
.buy:hover:not(:disabled) { filter: brightness(.88); }
.buy:active { transform: translateY(1px); }
.buy:focus-visible { outline: 2px solid var(--dg-accent); outline-offset: 2px; }
.buy:disabled { opacity: .55; cursor: default; transform: none; }

.size-note { margin: 10px 0 0; font-size: .82rem; color: var(--dg-faint); }
.paper { margin: 18px 0 0; font-size: .85rem; color: var(--dg-text-dim); }
.paper summary { cursor: pointer; font-weight: 500; color: var(--dg-text); }
.paper p { margin: 8px 0; line-height: 1.55; }
.paper ul { margin: 0; padding-left: 18px; }
.paper li { margin: 4px 0; line-height: 1.5; }
.paper strong { color: var(--dg-text); font-weight: 500; }

/* All three options are listed so they can be compared without clicking
   between them; the current choice is marked rather than being the only one. */
.paper-opt { padding: 14px 0; border-top: 1px solid var(--line); }
.paper-opt:first-child { border-top: 0; padding-top: 10px; }
.paper-opt h3 { margin: 0; font-size: .92rem; font-weight: 600; color: var(--dg-text); display: flex; align-items: center; gap: 8px; }
.paper-opt.is-chosen h3 { color: var(--dg-accent); }
.chosen-tag { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; padding: 2px 6px; border-radius: 3px; background: var(--dg-accent-soft); color: var(--dg-accent); border: 1px solid var(--dg-accent-line); }
.paper-price { font-family: var(--mono); font-size: .76rem; color: var(--dg-faint); margin: 6px 0 0; }

/* A mock frame on the preview only. The print file is the artwork alone --
   Gelato does the framing -- so this never touches what gets sent to print.
   It wraps the poster rather than bordering it, because a border on .poster
   would shrink its content box and distort the artwork inside. */
.frame { transition: padding .18s ease, background-color .18s ease; }
.frame.on {
  padding: 3.4%;
  border-radius: 2px;
  background: linear-gradient(152deg, #38383a 0%, #121213 46%, #242426 100%);
  box-shadow: 0 20px 44px -18px var(--shadow), 0 2px 6px var(--shadow);
  position: relative;
}
/* The plexiglass: a faint diagonal sheen over the whole thing */
.frame.on::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2px;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.10) 0 18%, rgba(255,255,255,0) 42%);
}
.frame.on .poster { box-shadow: 0 0 0 1px rgba(0,0,0,.45); }

.frame-toggle { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: .85rem; color: var(--dg-text-dim); cursor: pointer; user-select: none; }
.frame-toggle input { accent-color: var(--dg-accent-btn); width: 15px; height: 15px; cursor: pointer; }
.frame-toggle[hidden] { display: none; }

/* Stated at the point of purchase, not buried in terms */
/* Above the finish and size pickers, so the price is read with the shipping
   already settled rather than as a question still open. A band rather than a
   line, because it is a promise about the price and not a footnote to it. */
.ship-banner { display: flex; align-items: center; gap: 9px; margin: 0;
               padding: 11px 14px; border-radius: 3px;
               background: color-mix(in srgb, var(--good) 12%, transparent);
               border-left: 3px solid var(--good);
               font-size: .92rem; font-weight: 500; color: var(--text); }
.ship-banner::before { content: "\2713"; color: var(--good); font-weight: 700; flex: none; }

/* Shown when the postcode in the box is not the one the preview was drawn
   from. Without it the words update as you type while the map does not, so a
   failed lookup leaves new words sitting over the previous location -- and
   nothing stopped that being bought. */
.stale-flag { margin: 10px 0 0; padding: 10px 12px; border-radius: 3px;
              background: color-mix(in srgb, var(--dg-warn-line, #b4451f) 10%, transparent);
              border-left: 3px solid var(--dg-warn-line, #b4451f);
              font-size: .85rem; line-height: 1.45; color: var(--text); font-weight: 500; }
.stale-flag[hidden] { display: none; }
/* The preview itself is dimmed, so the mismatch is visible even if the words
   below are not read. */
.poster.is-stale { opacity: .32; }
.ship-note { margin: 10px 0 0; font-size: .82rem; line-height: 1.5; color: var(--dg-text-dim); }


/* Said plainly when the mock frame and the chosen finish disagree */
.frame-note { margin: 6px 0 0; font-size: .78rem; line-height: 1.45; color: var(--dg-faint); }
.frame-note[hidden] { display: none; }

/* Sits under the preview, explaining that the preview is the print */
.print-note { margin: 14px 0 0; font-size: .82rem; line-height: 1.5; color: var(--dg-faint); }

/* Marker choices as visible buttons rather than a dropdown. Each previews the
   real marker on a chip of the current palette, so the choice is made by
   looking rather than by reading. */
.markers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
/* Day and night, chosen the same way: each button is a real thumbnail of the
   map in that look and the current palette, so the two dark palettes where
   the looks come out the other way round still read correctly. Two across,
   so the preview is big enough to tell them apart. */
.modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.modes .mk svg { max-width: 92px; }
.mk {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 8px 6px 7px; background: var(--bench); border: 1px solid var(--line);
  border-radius: 8px; cursor: pointer; color: var(--text); font: inherit; min-width: 0;
}
.mk svg { width: 100%; height: auto; max-width: 54px; border-radius: 3px; display: block; }
.mk-nm { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.mk:hover { border-color: var(--dg-border-2); }
.mk.on { border-color: var(--dg-accent); box-shadow: 0 0 0 1px var(--dg-accent); }
.mk.on .mk-nm { color: var(--dg-accent); }
.mk:focus-visible { outline: 2px solid var(--dg-accent); outline-offset: 2px; }

/* The size control when there is no marker to size. Dimmed rather than hidden,
   so the controls do not jump about as the marker changes. */
.is-off { opacity: .4; }
.is-off input[type="range"] { cursor: default; }

/* The marketing opt-in. Unchecked by default and worded plainly: a pre-ticked
   box is not consent, and the frequency has to be stated for the promise to
   mean anything. */
.optin { display: flex; gap: 10px; align-items: flex-start; cursor: pointer;
         font-size: .84rem; line-height: 1.5; color: var(--soft); }
.optin input { margin: 2px 0 0; accent-color: var(--press); flex: none; width: 16px; height: 16px; }

/* Required reading, so it is reachable rather than hidden */
.legal { margin: 18px 0 8px; font-size: .82rem; color: var(--dg-faint); }
.legal a { color: var(--dg-faint); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--dg-text); }

/* ── The strip of finished prints ─────────────────────────────────────────── */
/* A scroll container, not a slideshow. Scroll-snap gives a phone the flick
   gesture it already expects and a trackpad the swipe it already does, with
   no JavaScript involved in the scrolling itself -- the arrows below are a
   convenience for a mouse, and the strip works fully without them. */
/* A child of .shop rather than a sibling, so it can sit above the small
   print on a phone. At the foot of a page the small print reads as a footer,
   and a footer with more shop under it reads as a mistake. */
.gallery { border-top: 1px solid var(--line); margin-top: 34px; padding: 30px 0 44px; }
/* The column width and gutter come from .shop; repeating them here would
   indent the strip twice. */
.gallery-in { min-width: 0; }
.gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.gallery-head h2 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin: 0; }
.gallery-nav { display: flex; gap: 8px; flex: none; }
.gallery-nav button { width: 38px; padding: 7px 0; font-size: 15px; line-height: 1; }
.pausebtn { display: inline-flex; align-items: center; justify-content: center; color: var(--soft); }
.pausebtn:hover { color: var(--text); }
.gallery-nav button[disabled] { opacity: .35; cursor: default; }

/* No scroll-behavior here on purpose. A smooth default animates every
   assignment to scrollLeft, which turns the drift's per-frame nudges into a
   queue of competing animations; the arrows ask for smooth by name instead. */
.shots { display: flex; gap: 16px; margin: 0; padding: 4px; list-style: none;
         overflow-x: auto; scroll-snap-type: x mandatory;
         scrollbar-width: thin; overscroll-behavior-x: contain; }
.shots:focus-visible { outline: 2px solid var(--press); outline-offset: 2px; border-radius: 10px; }
.shot { flex: 0 0 auto; scroll-snap-align: start; }
/* Height-led, so prints of different shapes line up along the top and bottom
   instead of along a width they do not share. The aspect ratio comes from the
   file's own dimensions on the <img>, so nothing jumps as they load. */
.shot img { display: block; height: 320px; width: auto; max-width: 78vw;
            border-radius: 6px; background: var(--bench);
            box-shadow: 0 2px 10px rgba(16, 22, 32, .13); }
@media (max-width: 760px) {
  .gallery { padding: 24px 0 34px; }
  .shot img { height: 260px; }
  /* A mouse has arrows; a thumb has the strip itself. The pause button
     stays: it is the only way to stop the drift on a device with no hover,
     and the one control here that is not merely a convenience. */
  .gallery-nav .arrow { display: none; }
}
/* The drift checks this in script too, where it can also react to the
   setting being changed mid-visit. This is the belt to those braces. */
@media (prefers-reduced-motion: reduce) { .shots { scroll-behavior: auto !important; } }

/* ── the mug preview ──────────────────────────────────────────────────────── */
/* The printed panel at its own proportions. Not a photograph of a mug: a
   drawn-on cylinder can only ever approximate how the artwork sits round the
   curve, and an approximation shown as a preview is a promise the print
   cannot keep. Flat is honest, and it is exactly what gets printed.

   The white ground stands for the glaze, which is what the transparent strip
   above and below the artwork will actually be. */
.wrapshot { width: 100%; }
.wrap-art {
  width: 100%; aspect-ratio: 200 / 96;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(16, 22, 32, .08);
}
.wrap-art svg { display: block; width: 100%; height: 100%; }
/* A photograph of a finished mug, under the flat panel. The panel is what
   gets printed and is exact; this is what it looks like once it is on a cup,
   which the flat view cannot show. It is marked as an example on the image itself,
   so it cannot be mistaken for a preview of what the customer has designed. */
.mug-example { margin: 12px 0 0; }
.mug-example img { display: block; width: 100%; height: auto; border-radius: 6px; }
.mug-example figcaption { margin: 6px 0 0; font-size: .78rem; line-height: 1.45; color: var(--dg-faint); }
/* Narrow screens. This sits after the rules above rather than with the other
   narrow-screen rules higher up the file, because those come first in the
   cascade and `margin: 12px 0 0` would quietly win over the auto margins.
   The example is a square photograph inside a sticky band, on a screen that
   is mostly band already: at full width it pushed the design actually being
   edited off the top of the page. */
@media (max-width: 760px) {
  .mug-example { max-width: 170px; margin: 12px auto 0; }
  .mug-example figcaption { text-align: center; }
}

/* ── a sale, when one is running ──────────────────────────────────────────── */
/* Sits above the free-shipping banner and borrows its shape, so the two read
   as one block of good news rather than two competing ones. Hidden unless the
   server says a sale is on. */
.sale-banner {
  margin: 0 0 8px; padding: 10px 14px; border-radius: 8px;
  background: var(--brand); color: var(--brand-ink);
  font-weight: 600; font-size: .92rem; letter-spacing: -.01em;
}
/* The old price reads as struck through, and quieter than the new one -- it
   is context, not the number anyone is being asked to pay. */
.size-note del, .paper-price del { color: var(--dg-faint); text-decoration-thickness: 1px; }
