/* Iron Dragon v5 (the v4 system plus the forge and the one motif; the v5 block is at the end): the dark room lit by a forge. Phones first; min-width queries add the wider layouts.
   Roles: --ground (the room), --plate (rows, the card), --ink (all running text), --soft (notes), --steel (quiet marks),
   --silver (the one main button per screen), --ember and --gold (fire only: under the logo, focus, the freedom marks, the flash date).
   Motion: only the fire under the logo, the glow beneath it and the ash, all transform/opacity, all off under reduced motion. */

@font-face { font-family: "Old Standard"; src: url(../fonts/old-standard-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Old Standard"; src: url(../fonts/old-standard-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Vollkorn"; src: url(../fonts/vollkorn.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }

:root {
  --ground: #0c0b0b; --plate: #161719; --plate-2: #212226; --edge: #4a4c52; --edge-hi: #8d9097;
  --brush: repeating-linear-gradient(0deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 2px, rgba(0, 0, 0, .05) 2px 3px); --ink: #ebe6df; --soft: #bdb5aa; --steel: #8e8880;
  --silver-1: #f4f1ec; --silver-2: #cfc9c0; --on-silver: #14110f;
  --ember: #e07a2e; --gold: #d4a24c;
  --head: "Old Standard", "Times New Roman", serif; --text: "Vollkorn", Georgia, serif;
  --s1: 15px; --s2: 18px; --s3: clamp(21px, 1.2vw + 16px, 24px); --s4: clamp(26px, 2vw + 18px, 34px); --s5: clamp(32px, 3vw + 20px, 50px);
  --gut: clamp(18px, 4.5vw, 40px); --gap: clamp(76px, 9vw, 128px); --max: 1200px;
  color-scheme: dark; accent-color: var(--ember);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--s2)/1.55 var(--text); font-variant-numeric: lining-nums tabular-nums; overflow-x: clip; }
::selection { background: var(--ember); color: var(--on-silver); }
input, textarea { caret-color: var(--ember); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: color-mix(in srgb, var(--ember) 70%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: .2em; transition: color .18s ease-out, text-decoration-color .18s ease-out; }
a:hover, a.is-hover { color: var(--silver-1); text-decoration-color: var(--ember); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; color: var(--silver-1); }
h1, h2 { color: #e9e5de; text-shadow: 0 -1px 0 rgba(0, 0, 0, .85), 0 1px 0 rgba(255, 255, 255, .14), 0 10px 26px rgba(224, 122, 46, .10); }
h2 { font-size: var(--s5); }
h3 { font-size: var(--s3); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 700; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--silver-1); color: var(--on-silver); padding: 10px 16px; font-family: var(--head); font-weight: 700; }
.skip:focus { top: 12px; }
main { position: relative; z-index: 1; }

/* ---------- the room: soot, ash, (later) the video ---------- */
.room { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.room::before { content: ""; position: absolute; inset: auto -20% -12% -20%; height: 46%; background: radial-gradient(50% 60% at 50% 100%, rgba(224, 122, 46, .13), rgba(224, 122, 46, .04) 55%, transparent 72%); }
.soot { position: absolute; inset: 0; opacity: .8; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.6 1.15'/%3E%3C/filter%3E%3Crect width='700' height='700' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 700px 700px; }
.soot::after { content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .5 0 0 0 0 .46 0 0 0 -6 3.1'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23g)'/%3E%3C/svg%3E"); mix-blend-mode: screen; }
.room-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.ash { position: absolute; inset: 0; }
.ash b { position: absolute; left: var(--x); top: var(--y); width: 3.5px; height: 3.5px; border-radius: 50%; background: #b9b0a6; opacity: .22; transform: scale(var(--s)); }
.ash b:nth-child(4n) { background: var(--ember); width: 2px; height: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .ash b { top: auto; bottom: -4%; animation: ash var(--d) linear infinite; animation-delay: var(--w); }
}
@keyframes ash {
  0% { transform: translate3d(0, 0, 0) scale(var(--s)); opacity: 0; }
  12% { opacity: .75; }
  50% { transform: translate3d(24px, -52vh, 0) scale(var(--s)); }
  85% { opacity: .35; }
  100% { transform: translate3d(-10px, -104vh, 0) scale(var(--s)); opacity: 0; }
}

/* ---------- header ---------- */
.top { position: relative; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 10px var(--gut); max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; min-height: 64px; }
.top-logo img { width: 92px; height: auto; }
.top-nav { display: flex; gap: clamp(14px, 3vw, 30px); font-family: var(--head); font-size: 17px; }
.top.on-home .top-nav { margin: 0 auto; }
.top-nav a { text-decoration: none; padding: 12px 0; min-height: 44px; display: inline-flex; align-items: center; }
.top-nav a:hover, .top-nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--ember); }
.top-acts { display: none; margin-left: auto; gap: 10px; }
.top:not(.on-home) .top-nav { margin-left: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; font: 700 17px/1.1 var(--head); letter-spacing: .02em; text-decoration: none; white-space: nowrap; color: var(--ink); background: var(--brush), linear-gradient(180deg, #34363c 0%, #222328 55%, #1b1c20 100%); border: 1px solid var(--edge); border-top-color: var(--edge-hi); border-radius: 3px; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -2px 0 rgba(0, 0, 0, .35); transition: background-color .18s ease-out, color .18s ease-out, transform .12s ease-out, border-color .18s ease-out; -webkit-tap-highlight-color: transparent; }
.btn:hover, .btn.is-hover { background: var(--brush), linear-gradient(180deg, #44474e 0%, #2b2d32 100%); border-color: var(--edge-hi); color: var(--silver-1); }
.btn:active, .btn.is-press { transform: translateY(1px); background: #17181b; border-top-color: var(--edge); }
.btn.main { color: var(--on-silver); border-color: #e9e4dc; background: linear-gradient(180deg, var(--silver-1) 0%, #e0dbd3 40%, #d0cac1 60%, #e6e1da 100%); }
.btn.main:active, .btn.main.is-press { background: linear-gradient(180deg, #bdb7ae 0%, #cfc9c0 100%); border-color: #a9a39a; }
.btn.main:hover, .btn.main.is-hover { background: linear-gradient(180deg, var(--silver-1) 0%, #e7e2da 46%, #d8d2c9 54%, #f0ece6 100%); color: var(--on-silver); border-color: var(--silver-1); }
.btn.is-focus { outline: 2px solid var(--ember); outline-offset: 3px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }
.req { font-weight: 400; color: var(--soft); font-family: var(--text); font-size: 15px; }
input.is-focus { outline: 2px solid var(--ember); outline-offset: 1px; border-color: var(--ember); }
summary.is-focus { outline: 2px solid var(--ember); outline-offset: -2px; }
.btn.small { min-height: 44px; padding: 9px 16px; font-size: 16px; }
.btn.big { min-height: 56px; padding: 14px 28px; font-size: 19px; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
.tocome { color: var(--soft); font-style: italic; }
/* the forged name plate: brushed steel, part of the scale pattern, the name engraved */
.plate { position: relative; overflow: clip; isolation: isolate; padding: 30px 24px; min-height: 170px; display: grid; align-content: end; border-radius: 3px; border: 1px solid var(--edge); border-top-color: var(--edge-hi);
  background: radial-gradient(70% 60% at 50% 120%, rgba(224, 122, 46, .2), transparent 70%), linear-gradient(180deg, #2a2c31 0%, #1b1c20 100%); }
.plate::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9; background-image: var(--brush); }
.plate-scales { position: absolute; inset: 0; z-index: -1; opacity: .85;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='28' viewBox='0 0 44 28'%3E%3Cg fill='none' stroke-width='1.3'%3E%3Cpath d='M0 14a11 11 0 0 1 22 0a11 11 0 0 1 22 0' stroke='%235c5f66'/%3E%3Cpath d='M-11 28a11 11 0 0 1 22 0M11 28a11 11 0 0 1 22 0M33 28a11 11 0 0 1 22 0' stroke='%235c5f66'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 44px 28px; -webkit-mask: radial-gradient(80% 120% at 100% 100%, #000 0%, transparent 65%); mask: radial-gradient(80% 120% at 100% 100%, #000 0%, transparent 65%); }
.plate-name { font: 400 var(--s4)/1.1 var(--head); color: var(--silver-1); margin: 0 0 10px; text-shadow: 0 1px 0 rgba(0,0,0,.6), 0 -1px 0 rgba(255,255,255,.08); }
.plate-line { margin: 0; color: var(--ink); max-width: 30em; }
.kit-prints { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 24px; }

/* ---------- the hero: logo, number, address, hours, age ---------- */
.hero { position: relative; padding: 4px var(--gut) 56px; text-align: center; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
.logo { position: relative; margin: 0 auto 18px; width: min(96%, 720px); isolation: isolate; }
.logo img { position: relative; z-index: 2; width: 100%; height: auto; }
.logo::after { content: ""; position: absolute; z-index: 0; left: 12%; right: 12%; bottom: -10%; height: 34%; border-radius: 50%; background: radial-gradient(closest-side, rgba(236, 128, 48, .5), rgba(212, 162, 76, .16) 55%, transparent); opacity: .8; filter: blur(6px); }
.fire { position: absolute; z-index: 1; inset: 0; filter: blur(10px); opacity: .62; transform: translateY(1.8%); }
.fire > span { position: absolute; inset: 0; background: linear-gradient(0deg, #ff8a2a 0%, #e07a2e 30%, #d4a24c 62%, rgba(212, 162, 76, .25) 100%);
  -webkit-mask: url(../img/logo/iron-dragon-logo-481.webp) center / 100% 100% no-repeat; mask: url(../img/logo/iron-dragon-logo-481.webp) center / 100% 100% no-repeat; }
@media (prefers-reduced-motion: no-preference) {
  .fire { animation: heat 7s ease-in-out infinite alternate; }
  .logo::after { animation: coals 9s ease-in-out infinite alternate; }
}
@keyframes heat { 0% { opacity: .46; } 45% { opacity: .7; } 70% { opacity: .55; } 100% { opacity: .76; } }
@keyframes coals { 0% { opacity: .5; transform: scaleX(.96); } 100% { opacity: .85; transform: scaleX(1.04); } }
.facts { display: grid; gap: 14px; justify-items: center; }
.reach .first { font-family: var(--head); font-size: var(--s2); color: var(--soft); margin: 0 0 2px; }
.reach .num { margin: 0 0 12px; font: 400 clamp(34px, 9vw, 48px)/1 var(--head); letter-spacing: .01em; }
.reach .num a { text-decoration: none; color: var(--silver-1); }
.reach .acts { justify-content: center; }
.reach .acts .btn { min-width: 150px; }
.where, .when { margin: 0; }
.where a { margin-left: 6px; }
.when { display: grid; gap: 2px; }
.when .today { font-weight: 700; }
.when .today::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--steel); margin-right: 8px; vertical-align: .12em; }
.when .today.open::before { background: var(--ember); box-shadow: 0 0 0 3px rgba(224, 122, 46, .2); }
.when .week { color: var(--soft); font-size: var(--s1); }
.age { margin: 22px auto 0; max-width: 34em; padding: 12px 16px; background: rgba(22, 23, 25, .85); border-top: 1px solid #34363c; border-radius: 3px; font-size: 17px; }
.age strong { color: var(--silver-1); }

/* partial scales: an original fish-scale pattern, shown only in part */
.scales-edge, .scales-corner, .scales-side { position: absolute; pointer-events: none; z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='28' viewBox='0 0 44 28'%3E%3Cg fill='none' stroke-width='1.3'%3E%3Cpath d='M0 14a11 11 0 0 1 22 0a11 11 0 0 1 22 0' stroke='%23574f48'/%3E%3Cpath d='M-11 28a11 11 0 0 1 22 0M11 28a11 11 0 0 1 22 0M33 28a11 11 0 0 1 22 0' stroke='%23574f48'/%3E%3Cpath d='M3 12.5a8.5 8.5 0 0 1 8-6' stroke='%23786e64' stroke-opacity='.7'/%3E%3Cpath d='M25 12.5a8.5 8.5 0 0 1 8-6' stroke='%23786e64' stroke-opacity='.7'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 44px 28px; opacity: .5; }
.scales-edge.top { top: 0; bottom: auto; height: 120px; -webkit-mask: radial-gradient(55% 100% at 50% 0%, #000 5%, transparent 75%); mask: radial-gradient(55% 100% at 50% 0%, #000 5%, transparent 75%); }
.scales-edge { left: 0; right: 0; bottom: 0; height: 140px; -webkit-mask: radial-gradient(60% 100% at 50% 100%, #000 10%, transparent 75%); mask: radial-gradient(60% 100% at 50% 100%, #000 10%, transparent 75%); }
.scales-side { left: 0; top: -40px; width: 55%; height: calc(100% + 80px); -webkit-mask: radial-gradient(90% 70% at 0% 50%, #000 0%, transparent 70%); mask: radial-gradient(90% 70% at 0% 50%, #000 0%, transparent 70%); opacity: .38; }
.scales-side.right { left: auto; right: 0; -webkit-mask: radial-gradient(90% 70% at 100% 50%, #000 0%, transparent 70%); mask: radial-gradient(90% 70% at 100% 50%, #000 0%, transparent 70%); }
.scales-corner { right: 0; top: 0; width: 60%; height: 220px; -webkit-mask: radial-gradient(100% 100% at 100% 0%, #000 5%, transparent 70%); mask: radial-gradient(100% 100% at 100% 0%, #000 5%, transparent 70%); }

/* the lit logo that opens every inner page */
.crest-band { margin: 0 auto 10px; padding: 0 var(--gut); text-align: center; position: relative; z-index: 1; }
.logo.small { display: block; width: min(74%, 380px); margin: 0 auto; }
.logo.small::after { bottom: -14%; }

/* an ember seam between the big sections: the fire showing through a join in the metal */
.seam { height: 2px; max-width: min(640px, 70%); margin: 0 auto var(--gap); position: relative; z-index: 1;
  background: radial-gradient(closest-side, rgba(255, 150, 70, .55), rgba(224, 122, 46, .18) 60%, transparent); }
.seam::after { content: ""; position: absolute; left: 10%; right: 10%; top: -14px; height: 30px; background: radial-gradient(closest-side, rgba(224, 122, 46, .16), transparent); }

/* ---------- sections ---------- */
section { position: relative; }
main > section, .a-pair > section { padding: 0 var(--gut); max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto var(--gap); }
.lead { font-size: var(--s3); line-height: 1.45; max-width: 36em; }

/* the artists: one sample, then every artist as an equal folded row */
.artists { padding-top: 24px !important; }
.artists-grid { display: grid; gap: 40px; }
.sample { display: grid; gap: 22px; }
.sample h3 { font-family: var(--head); font-weight: 400; font-size: var(--s4); margin-bottom: 4px; }
.sample .who { color: var(--soft); margin-bottom: 6px; }
.sample .acts { margin-top: 16px; }
.sample-work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sample-work .print:nth-child(n+3) { display: none; }
.sample-work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sample-work.none { display: block; }
.sample-work.none .plate { padding: 22px 20px; }
.sample-none { margin: 0; }
.print { margin: 0; background: #070605; aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.print img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.9) contrast(1.04); transition: filter .2s ease-out; }
.print:hover img { filter: brightness(1) contrast(1.04); }
.print.empty { display: grid; place-items: center; padding: 12px; text-align: center; background: var(--plate); outline: 1px dashed #4d4741; outline-offset: -8px; }
.crew { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.row { background: var(--brush), linear-gradient(180deg, #24262b 0%, #18191c 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); border-radius: 3px; border: 1px solid #2a2c31; border-top-color: #3d4046; }
.row > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; min-height: 56px; padding: 14px 52px 14px 18px; position: relative; }
.row > summary::-webkit-details-marker { display: none; }
.row > summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--soft); border-bottom: 2px solid var(--soft); transform: translateY(-70%) rotate(45deg); transition: transform .18s ease-out; }
.row[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.row > summary:hover { background: rgba(255, 255, 255, .03); }
.row .name { font: 400 var(--s3)/1.2 var(--head); color: var(--silver-1); }
.row .role { color: var(--soft); font-size: var(--s1); }
.row-body { padding: 0 18px 18px; }
.row-body p:last-child { margin-bottom: 0; }
.row-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.crew-none { margin-top: 14px; }
.freedom { margin: 18px 0 0; }
.freedom .steps { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.freedom .steps li { background: var(--plate-2); border-radius: 2px; padding: 10px 8px; min-height: 64px; display: grid; align-content: start; gap: 4px; font-size: var(--s1); line-height: 1.25; color: var(--soft); }
.freedom .steps b { font: 700 20px/1 var(--head); color: var(--ink); }
.freedom .steps li.at { background: #3b2b16; color: #f6e5c4; outline: 2px solid var(--gold); outline-offset: -2px; }
.freedom .steps li.at b { color: var(--gold); font-size: 26px; }
.freedom:not(.unset) .steps li:not(.at) { opacity: .62; }

.freedom.small .steps li { min-height: 0; padding: 6px 0; text-align: center; justify-items: center; }
.freedom.small .steps b { font-size: 16px; }
.freedom figcaption { font-size: var(--s1); color: var(--soft); }

/* the showcase: prints on a dark wall, uneven, dealt fresh each visit */
.work-head { max-width: 40em; }
.work-head p { color: var(--soft); }
.wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.wall .print:nth-child(3n+1) { grid-row: span 1; }
.wall-more { margin-top: 22px; }
.page-ui .wall { padding-bottom: 0; }

/* how it works */
.steps-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 22px; counter-reset: s; }
.steps-list li { padding-left: 52px; position: relative; max-width: 34em; }
.steps-list li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: -4px; font: 400 34px/1 var(--head); color: var(--gold); }
.steps-list h3 { margin-bottom: 4px; }
.steps-list p { margin: 0; color: var(--soft); }

.flash { display: grid; gap: 40px; }
.flash p { max-width: 36em; }
.deals h3 { font-size: var(--s4); font-weight: 400; }
.faq { display: grid; gap: 40px; }
.faq-print { display: none; }
.gold { color: var(--gold); }

/* FAQ */
.faq-list { display: grid; gap: 8px; margin-bottom: 24px; max-width: 46em; }
.row.q > summary { font: 400 var(--s3)/1.3 var(--head); color: var(--silver-1); }
.row.q .row-body p { color: var(--ink); max-width: 38em; }

/* visit */
.visit .big { font: 400 var(--s4)/1.25 var(--head); color: var(--silver-1); }
.visit-grid { display: grid; gap: 36px; }
.hours { border-collapse: collapse; width: 100%; max-width: 420px; font-size: var(--s2); }
.hours caption { text-align: left; font: 700 var(--s3)/1.2 var(--head); color: var(--silver-1); margin-bottom: 8px; }
.hours th, .hours td { text-align: left; padding: 10px 12px; font-weight: 400; }
.hours td { text-align: right; }
.hours tr:nth-child(odd) { background: rgba(22, 23, 25, .85); }
.hours tr.is-today { background: #2e3035; box-shadow: inset 0 0 0 2px var(--silver-2); }
.hours tr.is-today th { font-weight: 700; color: var(--silver-1); }

/* deals */
.deals-form label { display: block; font-family: var(--head); font-weight: 700; margin-bottom: 8px; }
.inline { display: flex; flex-wrap: wrap; gap: 10px; }
.inline input { flex: 1 1 220px; }

/* ---------- forms ---------- */
input[type=text], input[type=email], input[type=tel], textarea, select { width: 100%; min-height: 52px; padding: 12px 14px; font: 400 17px/1.4 var(--text); color: var(--ink); background: #0f0d0c; border: 1px solid #4a433d; border-radius: 3px; transition: border-color .18s ease-out, background-color .18s ease-out; }
textarea { min-height: 150px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--soft) 50%), linear-gradient(135deg, var(--soft) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
input:hover, textarea:hover, select:hover { border-color: #6a625a; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--ember); outline-offset: 1px; border-color: var(--ember); }
input[type=file] { font: 400 16px var(--text); color: var(--soft); max-width: 100%; }
input[type=file]::file-selector-button { font: 700 16px var(--head); color: var(--ink); background: var(--plate-2); border: 1px solid #4a433d; border-radius: 3px; padding: 10px 16px; margin-right: 12px; min-height: 44px; cursor: pointer; }
::placeholder { color: #8f877d; }
.field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { display: block; font: 700 17px/1.3 var(--head); margin-bottom: 8px; color: var(--silver-1); padding: 0; }
.help { font-size: var(--s1); color: var(--soft); margin: 6px 0 0; }
.err { font-size: var(--s1); color: #ffb48a; margin: 6px 0 0; font-weight: 700; }
.err::before { content: ""; display: inline-block; width: 7px; height: 7px; background: #ffb48a; transform: rotate(45deg); margin-right: 8px; vertical-align: .1em; }
.field.bad input, .field.bad textarea, .field.bad select, input[aria-invalid=true], textarea[aria-invalid=true], select[aria-invalid=true] { border-color: #ffb48a; background: #1b1310; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 14px; background: var(--plate-2); border-radius: 3px; cursor: pointer; font-size: 17px; }
.chips label:has(input:checked) { background: #2e3035; color: var(--silver-1); box-shadow: inset 0 0 0 2px var(--silver-2); }
.chips.scale label b { color: var(--gold); font-family: var(--head); }
.chips input, .check input, .pick input { width: 20px; height: 20px; margin: 0; flex: none; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 0; cursor: pointer; min-height: 44px; }
.check input { margin-top: 4px; }
.picks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pick { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: var(--plate-2); border-radius: 3px; cursor: pointer; min-height: 56px; transition: background-color .18s ease-out; }
.pick input { margin-top: 5px; }
.pick span { display: grid; }
.pick b { font: 400 var(--s3)/1.2 var(--head); color: var(--silver-1); }
.pick small { font-size: var(--s1); color: var(--soft); }
.pick:hover { background: #2a2c31; }
.pick:has(input:checked) { background: #2e3035; box-shadow: inset 0 0 0 2px var(--silver-2); }
.pick:has(input:checked) small { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.two { display: grid; gap: 0 18px; }

/* the request card */
.r-head { padding-top: 24px !important; margin-bottom: 36px !important; }
.r-head h1 { font-size: clamp(40px, 6vw + 16px, 64px); }
.r-head .lead strong { color: var(--silver-1); }
.card { position: relative; background: rgba(20, 21, 23, .95); border: 1px solid #2c2e33; border-top-color: var(--edge); border-radius: 4px; padding: 26px 18px; max-width: 860px; margin: 0 auto var(--gap); isolation: isolate; overflow: clip; }
main > .card { margin-left: max(var(--gut), calc((100% - 860px) / 2)); margin-right: max(var(--gut), calc((100% - 860px) / 2)); }
.block { border: 0; padding: 0; margin: 0 0 34px; min-width: 0; }
.block > legend { padding: 0; margin-bottom: 14px; }
.block > legend h2 { font-size: var(--s4); margin: 0; }
.err-sum { background: #2a1712; border-left: 0; padding: 16px 18px; margin-bottom: 26px; border-radius: 3px; }
.err-sum h2 { font-size: var(--s3); color: #ffd2b8; }
.err-sum ul { margin: 0; padding-left: 20px; }
.err-sum a { color: #ffd2b8; }
.send { display: grid; gap: 14px; padding-top: 8px; }
.send-note { margin: 0; color: var(--ink); }
.send-note strong { color: var(--silver-1); }
.sent-state { padding: 22px 0 0; margin-top: 20px; border-top: 3px solid var(--gold); }
.sent-state h2 { font-size: var(--s4); }

/* ---------- artist page ---------- */
.a-head { display: grid; gap: 26px; padding-top: 10px !important; padding-bottom: 40px !important; }
.a-shop { margin: 0 0 6px; font-family: var(--head); }
.a-pair.one { grid-template-columns: minmax(0, 1fr); }
.a-pair.one > section { max-width: 52em; }
.a-head h1 { font-size: clamp(44px, 7vw + 14px, 76px); line-height: 1; margin-bottom: 10px; }
.a-head .who { color: var(--soft); font-size: var(--s3); margin-bottom: 6px; font-family: var(--head); }
.a-head .styles { font-size: var(--s3); }
.a-head .status { color: var(--gold); }
.a-head .acts { margin-top: 18px; }
.a-cover { margin: 0; max-width: 360px; aspect-ratio: 9 / 16; background: #070605; overflow: hidden; }
.a-cover img { width: 100%; height: 100%; object-fit: cover; }
.a-cover.empty { display: grid; place-items: center; text-align: center; padding: 20px; background: var(--plate); aspect-ratio: 4 / 5; }
.a-free p { max-width: 38em; color: var(--soft); }
.wall-artist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.a-pair { display: grid; gap: 0; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
.credit { color: var(--soft); font-size: var(--s1); margin-top: 12px; }
.a-about p { max-width: 38em; }
.know { margin: 0 0 24px; padding-left: 20px; max-width: 38em; }
.know li { margin-bottom: 10px; }
.know li::marker { color: var(--gold); }
.names { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font: 400 var(--s3)/1.3 var(--head); }
.names a { display: inline-flex; min-height: 44px; align-items: center; }

/* ---------- phone bar ---------- */
.phonebar { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(13, 11, 10, .96); transform: translateY(110%); transition: transform .22s ease-out; }
.phonebar.is-shown { transform: none; }
.phonebar .btn { min-height: 48px; padding: 10px 8px; font-size: 16px; }
.page-ui .kit-bar { position: static; transform: none; margin: 0 var(--gut) 40px; }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 1; border-top: 1px solid #2a2c31; display: grid; justify-items: start; gap: 12px; padding: 40px var(--gut) 120px; color: var(--soft); font-size: var(--s1); max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
.foot-logo img { width: 160px; }
.foot address { font-style: normal; }
.foot address p { margin: 0 0 4px; }
.foot a { color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; }
.foot-links a, .foot address a { display: inline-flex; min-height: 44px; align-items: center; }
.foot-note { margin: 0; }
.taps { position: fixed; left: 10px; bottom: 80px; z-index: 30; background: var(--ground); color: var(--ink); font-size: 14px; padding: 10px 12px; border: 1px solid var(--steel); max-width: 260px; }

/* ---------- kit ---------- */
.kit > section { margin-bottom: 70px; }
.kit h1 { padding: 0 var(--gut); max-width: calc(var(--max) + 2 * var(--gut)); margin: 10px auto 40px; font-size: var(--s5); }
.kit-logo .logo { width: min(100%, 520px); margin: 20px 0 30px; }

/* ---------- wider screens ---------- */
@media (min-width: 700px) {
  .top-acts { display: flex; }
  .top.on-home { justify-content: space-between; }
  .top.on-home .top-nav { margin: 0; }
  .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .card { padding: 40px 44px; }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

  .sample-work { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sample-work .print:nth-child(n+3) { display: block; }
  .wall-artist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts { grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 56px; text-align: left; justify-items: start; }
  .reach { grid-row: span 2; }
  .reach .acts { justify-content: flex-start; }
}
@media (min-width: 960px) {

  .top.on-home .top-nav { margin: 0; }
  .top.on-home { justify-content: space-between; }
  .phonebar { display: none; }
  .foot { padding-bottom: 48px; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 56px; }
  .artists-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .sample { grid-template-columns: minmax(0, 1fr); }
  .visit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .a-head { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; }
  .a-head > .plate { align-self: end; }
  .a-cover { justify-self: end; width: 100%; }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .wall .print:nth-child(6n+2), .wall .print:nth-child(6n+5) { margin-top: 0; }


  .wall-artist { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .flash { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .faq { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
  .faq-print { display: block; }
  .faq-print .print { aspect-ratio: 3 / 4; }
  .a-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 64px; }
  .steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; row-gap: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
@media print {
  .room, .phonebar, .top-acts, .skip { display: none !important; }
  body { background: white; color: black; }
}

.kit .acts + .acts { margin-top: 12px; }
.kit .acts + p { margin-top: 14px; }

/* ================= v5: the forge and the one motif (PLAN.md) ================= */
:root { --scale-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='56' viewBox='0 0 40 56'%3E%3Cdefs%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%233a3d43'/%3E%3Cstop offset='.6' stop-color='%234a4c51'/%3E%3Cstop offset='1' stop-color='%236e5139'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(0 56)'%3E%3Cpath d='M0 0H40V16C40 31 27 41 20 46C13 41 0 31 0 16Z' fill='url(%23f)' stroke='%23060606' stroke-width='1.4'/%3E%3Cpath d='M1.5 17C2.5 29 13 38.5 20 43C27 38.5 37.5 29 38.5 17' fill='none' stroke='%23c98d5c' stroke-opacity='.55' stroke-width='1.3'/%3E%3Cpath d='M3 3H37' stroke='%239aa0a8' stroke-opacity='.28' stroke-width='1'/%3E%3C/g%3E%3Cg transform='translate(40 56)'%3E%3Cpath d='M0 0H40V16C40 31 27 41 20 46C13 41 0 31 0 16Z' fill='url(%23f)' stroke='%23060606' stroke-width='1.4'/%3E%3Cpath d='M1.5 17C2.5 29 13 38.5 20 43C27 38.5 37.5 29 38.5 17' fill='none' stroke='%23c98d5c' stroke-opacity='.55' stroke-width='1.3'/%3E%3Cpath d='M3 3H37' stroke='%239aa0a8' stroke-opacity='.28' stroke-width='1'/%3E%3C/g%3E%3Cg transform='translate(-20 28)'%3E%3Cpath d='M0 0H40V16C40 31 27 41 20 46C13 41 0 31 0 16Z' fill='url(%23f)' stroke='%23060606' stroke-width='1.4'/%3E%3Cpath d='M1.5 17C2.5 29 13 38.5 20 43C27 38.5 37.5 29 38.5 17' fill='none' stroke='%23c98d5c' stroke-opacity='.55' stroke-width='1.3'/%3E%3Cpath d='M3 3H37' stroke='%239aa0a8' stroke-opacity='.28' stroke-width='1'/%3E%3C/g%3E%3Cg transform='translate(20 28)'%3E%3Cpath d='M0 0H40V16C40 31 27 41 20 46C13 41 0 31 0 16Z' fill='url(%23f)' stroke='%23060606' stroke-width='1.4'/%3E%3Cpath d='M1.5 17C2.5 29 13 38.5 20 43C27 38.5 37.5 29 38.5 17' fill='none' stroke='%23c98d5c' stroke-opacity='.55' stroke-width='1.3'/%3E%3Cpath d='M3 3H37' stroke='%239aa0a8' stroke-opacity='.28' stroke-width='1'/%3E%3C/g%3E%3Cg transform='translate(0 0)'%3E%3Cpath d='M0 0H40V16C40 31 27 41 20 46C13 41 0 31 0 16Z' fill='url(%23f)' stroke='%23060606' stroke-width='1.4'/%3E%3Cpath d='M1.5 17C2.5 29 13 38.5 20 43C27 38.5 37.5 29 38.5 17' fill='none' stroke='%23c98d5c' stroke-opacity='.55' stroke-width='1.3'/%3E%3Cpath d='M3 3H37' stroke='%239aa0a8' stroke-opacity='.28' stroke-width='1'/%3E%3C/g%3E%3Cg transform='translate(40 0)'%3E%3Cpath d='M0 0H40V16C40 31 27 41 20 46C13 41 0 31 0 16Z' fill='url(%23f)' stroke='%23060606' stroke-width='1.4'/%3E%3Cpath d='M1.5 17C2.5 29 13 38.5 20 43C27 38.5 37.5 29 38.5 17' fill='none' stroke='%23c98d5c' stroke-opacity='.55' stroke-width='1.3'/%3E%3Cpath d='M3 3H37' stroke='%239aa0a8' stroke-opacity='.28' stroke-width='1'/%3E%3C/g%3E%3Cg transform='translate(-20 -28)'%3E%3Cpath d='M0 0H40V16C40 31 27 41 20 46C13 41 0 31 0 16Z' fill='url(%23f)' stroke='%23060606' stroke-width='1.4'/%3E%3Cpath d='M1.5 17C2.5 29 13 38.5 20 43C27 38.5 37.5 29 38.5 17' fill='none' stroke='%23c98d5c' stroke-opacity='.55' stroke-width='1.3'/%3E%3Cpath d='M3 3H37' stroke='%239aa0a8' stroke-opacity='.28' stroke-width='1'/%3E%3C/g%3E%3Cg transform='translate(20 -28)'%3E%3Cpath d='M0 0H40V16C40 31 27 41 20 46C13 41 0 31 0 16Z' fill='url(%23f)' stroke='%23060606' stroke-width='1.4'/%3E%3Cpath d='M1.5 17C2.5 29 13 38.5 20 43C27 38.5 37.5 29 38.5 17' fill='none' stroke='%23c98d5c' stroke-opacity='.55' stroke-width='1.3'/%3E%3Cpath d='M3 3H37' stroke='%239aa0a8' stroke-opacity='.28' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E"); --coal: #ff6a24; }

/* the coal light below the frame: a narrow hot core, a wide soft falloff (refs: embers.jpg, forge-traditional.jpg) */
.room::before { content: none; }
.coals { position: absolute; left: -25%; right: -25%; bottom: -18vh; height: 62vh;
  background: radial-gradient(42% 46% at 50% 100%, rgba(255, 106, 36, .30), rgba(224, 122, 46, .12) 45%, rgba(224, 122, 46, .04) 70%, transparent 82%); }
/* smoke: two procedural layers (tools/make_smoke.py), each two tiles wide so the drift loops without a seam */
.smoke { position: absolute; left: 0; bottom: 0; width: 200%; height: 78vh; display: flex; opacity: .75; }
.smoke i { flex: 0 0 50%; height: 100%; background: var(--img) center bottom / 100% 100% no-repeat; }
.smoke-b { height: 100vh; opacity: .5; }
.soot { background-image: radial-gradient(120% 90% at 50% 110%, transparent 35%, rgba(0, 0, 0, .55) 75%, rgba(0, 0, 0, .8) 100%); background-size: auto; mix-blend-mode: normal; opacity: 1; }
.soot::after { opacity: .05; }
@media (prefers-reduced-motion: no-preference) {
  .smoke-a { animation: drift 96s linear infinite; }
  .smoke-b { animation: drift 150s linear infinite reverse; }
  .coals { animation: breathe 11s ease-in-out infinite alternate; }
}
@keyframes drift { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes breathe { from { opacity: .78; transform: scaleX(.97); } to { opacity: 1; transform: scaleX(1.03); } }
@media (prefers-reduced-data: reduce) { .smoke { display: none; } }

/* the fire under the metal of the logo, and the small glow beneath it (light only behind and under; the artwork is untouched) */
.logo picture { display: block; position: relative; z-index: 2; }
.logo::after { background: radial-gradient(closest-side, rgba(255, 118, 40, .55), rgba(224, 122, 46, .18) 55%, transparent); bottom: -12%; height: 32%; left: 14%; right: 14%; }

/* the scale field: the motif at large scale, partial, breaking off where the smith stopped */
.scale-field { position: absolute; z-index: -1; pointer-events: none; background-image: var(--scale-tile); background-size: 56px 78px; opacity: .55; }
.scale-field::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(255, 106, 36, .16), transparent 60%); mix-blend-mode: screen; }
.hero-field { left: 0; right: 0; bottom: -10px; height: 210px; background-size: 72px 101px;
  -webkit-mask: radial-gradient(70% 100% at 50% 100%, #000 15%, rgba(0, 0, 0, .55) 45%, transparent 78%); mask: radial-gradient(70% 100% at 50% 100%, #000 15%, rgba(0, 0, 0, .55) 45%, transparent 78%); }
.scale-field.side { left: 0; top: -40px; width: 52%; height: calc(100% + 80px); opacity: .4;
  -webkit-mask: radial-gradient(85% 60% at 0% 50%, #000 0%, transparent 72%); mask: radial-gradient(85% 60% at 0% 50%, #000 0%, transparent 72%); }
.scale-field.side.right { left: auto; right: 0; -webkit-mask: radial-gradient(85% 60% at 100% 50%, #000 0%, transparent 72%); mask: radial-gradient(85% 60% at 100% 50%, #000 0%, transparent 72%); }
.scale-field.corner { right: 0; top: 0; width: 62%; height: 240px; -webkit-mask: radial-gradient(100% 100% at 100% 0%, #000 0%, transparent 70%); mask: radial-gradient(100% 100% at 100% 0%, #000 0%, transparent 70%); }
.scale-field.foot-field { left: 0; right: 0; top: 0; height: 150px; opacity: .45; -webkit-mask: radial-gradient(55% 100% at 50% 0%, #000 0%, transparent 75%); mask: radial-gradient(55% 100% at 50% 0%, #000 0%, transparent 75%); }
.plate-scales { background-image: var(--scale-tile); background-size: 40px 56px; }
.scale-field.kit-field { position: relative; display: block; height: 160px; z-index: 0; margin-bottom: 14px; -webkit-mask: linear-gradient(90deg, #000 40%, transparent); mask: linear-gradient(90deg, #000 40%, transparent); }
.kit-scales { position: relative; }
svg.scale { display: inline-block; width: 1em; height: 1.15em; vertical-align: -.2em; fill: #2a2b2f; stroke: #8d9097; stroke-width: 2; }

/* the open-now mark is a small scale in ember */
.when .today::before { width: 10px; height: 11.5px; border-radius: 0; background: var(--steel); clip-path: path('M0 0H10V4C10 7.8 6.7 10.2 5 11.5C3.3 10.2 0 7.8 0 4Z'); box-shadow: none; }
.when .today.open::before { background: var(--ember); box-shadow: none; }

/* design freedom: five scales; only the artist's own is lit gold */
.freedom .steps { gap: 8px; }
.freedom .steps li { position: relative; background: transparent; outline: 0; padding: 0 0 4px; min-height: 0; display: grid; justify-items: center; text-align: center; gap: 6px; }
.freedom .steps li svg.scale { width: 100%; max-width: 58px; height: auto; aspect-ratio: 40 / 46; fill: #232428; stroke: #5d6067; stroke-width: 1.5; }
.freedom .steps li b { position: absolute; top: 9%; left: 0; right: 0; font: 700 20px/1 var(--head); color: var(--ink); }
.freedom .steps li span { font-size: 14px; line-height: 1.25; color: var(--soft); }
.freedom .steps li.at { outline: 0; background: transparent; }
.freedom .steps li.at svg.scale { fill: #4a3518; stroke: var(--gold); stroke-width: 2.5; }
.freedom .steps li.at b { color: var(--gold); font-size: 22px; }
.freedom:not(.unset) .steps li:not(.at) { opacity: .6; }
.freedom.small .steps li svg.scale { max-width: 40px; }
.freedom.small .steps li b { font-size: 15px; top: 12%; }

/* artist rows: a scale-shaped bullet holding their work, or bare steel */
.row > summary { align-items: center; padding-left: 14px; }
.bullet { flex: none; width: 44px; height: 50px; background: linear-gradient(180deg, #2c2e33, #1c1d21); clip-path: path('M0 0H44V17.6C44 34.1 29.7 45.1 22 50.6C14.3 45.1 0 34.1 0 17.6Z'); }
.bullet img { width: 100%; height: 100%; object-fit: cover; }

/* the FAQ: rows that sit like scale armour, each lower edge curved, overlapping the one below */
.faq-list { gap: 0; }
.faq-list .row.q { border-radius: 3px 3px 22px 22px / 3px 3px 14px 14px; margin-bottom: -6px; position: relative; }
.faq-list .row.q:nth-child(n) { z-index: calc(20 - var(--i, 0)); }
.faq-list .row.q > summary { padding-bottom: 20px; }
.faq-list .row.q .row-body { padding-bottom: 24px; }
.faq-list .row.q + .row.q { padding-top: 6px; }

/* artist page: contact this artist */
.contact-artist { margin-top: 22px; padding: 18px 18px 16px; background: var(--brush), linear-gradient(180deg, #1f2125, #17181b); border: 1px solid #2c2e33; border-top-color: var(--edge); border-radius: 3px; }
.contact-artist .ca-h { font-size: var(--s3); margin: 0 0 12px; }
.contact-artist .ca-shop { margin: 14px 0 0; }
.a-head .contact-artist .acts { margin-top: 0; }

/* the showcase: a dark gallery wall, tiles on a four-column grid with two cells left empty on purpose */
@media (min-width: 960px) {
  .wall.gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
  .wall.gallery [data-slot="0"] { grid-area: 1 / 1; } .wall.gallery [data-slot="1"] { grid-area: 1 / 2; } .wall.gallery [data-slot="2"] { grid-area: 1 / 4; }
  .wall.gallery [data-slot="3"] { grid-area: 2 / 1; } .wall.gallery [data-slot="4"] { grid-area: 2 / 3; } .wall.gallery [data-slot="5"] { grid-area: 2 / 4; }
  .hero-field { height: 300px; background-size: 104px 146px; }
}

/* the footer logo is the shop's own file, small */
.foot-logo .foot-img { width: 160px; height: auto; }

/* ================= v5: the owner's layout spec (OWNER-SPEC-2026-11-27.md) ================= */
/* header: four links and Contact at top right */
.top { justify-content: space-between; }
.top .top-nav, .top.on-home .top-nav { margin: 0; }
.contact { position: relative; }
.contact > summary { list-style: none; cursor: pointer; }
.contact > summary::-webkit-details-marker { display: none; }
.contact > summary::after { content: ""; width: 7px; height: 7px; margin-left: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .18s ease-out; }
.contact[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.contact-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; width: min(340px, 86vw); padding: 10px; border-radius: 3px;
  background: var(--brush), linear-gradient(180deg, #24262b, #17181b); border: 1px solid var(--edge); border-top-color: var(--edge-hi); box-shadow: 0 18px 40px rgba(0, 0, 0, .6); }
.contact-h { margin: 4px 8px 8px; font-size: var(--s1); color: var(--soft); }
.contact-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.contact-panel li a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-height: 48px; padding: 10px 12px; border-radius: 2px; text-decoration: none; }
.contact-panel li a:hover, .contact-panel li a:focus-visible { background: rgba(255, 255, 255, .05); }
.contact-panel li b { font: 400 18px/1.2 var(--head); color: var(--silver-1); }
.contact-panel li span { font-size: 16px; color: var(--ink); white-space: nowrap; }
.contact-panel li:first-child a { background: rgba(255, 255, 255, .04); }
.contact-panel li:first-child b { font-weight: 700; }
.contact-text { margin: 8px 12px 4px; }
.contact-text a { display: inline-flex; min-height: 44px; align-items: center; }
.kit-contact .contact { display: inline-block; min-height: 560px; }
.kit-contact .contact-panel { left: 0; right: auto; }

/* the landing: logo, the underlined tel: number, hours, address */
.hero > .num { margin: 6px 0 12px; font: 400 clamp(36px, 10vw, 56px)/1.05 var(--head); }
.hero > .num a, .kit-num a { color: var(--silver-1); text-decoration: underline; text-decoration-color: var(--ember); text-decoration-thickness: 2px; text-underline-offset: .14em; }
.hero > .when { display: grid; gap: 2px; justify-items: center; margin: 0 0 10px; }
.hero > .where { margin: 0 0 18px; }
.hero > .where a { margin-left: 6px; }
.hero-acts { justify-content: center; }
.hero-acts .btn { min-width: 200px; }
.hero .age { margin-top: 20px; }

/* the logo: scales behind, fire under, the file, then the sheen masked to its own shape */
.logo { position: relative; isolation: isolate; }
.logo picture { position: relative; z-index: 2; }
.logo-scales { position: absolute; z-index: 0; left: -3%; right: -3%; top: 4%; bottom: -16%; pointer-events: none;
  background-image: var(--scale-tile); background-size: 46px 64px; opacity: .42;
  -webkit-mask: radial-gradient(52% 50% at 50% 62%, #000 20%, rgba(0, 0, 0, .5) 52%, transparent 76%); mask: radial-gradient(52% 50% at 50% 62%, #000 20%, rgba(0, 0, 0, .5) 52%, transparent 76%); }
.logo-scales::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 92%, rgba(255, 112, 38, .34), transparent 70%); mix-blend-mode: screen; }
.logo.small .logo-scales { background-size: 34px 48px; }
.sheen { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden;
  -webkit-mask: url(../img/logo/iron-dragon-logo-1081.webp) center / 100% 100% no-repeat; mask: url(../img/logo/iron-dragon-logo-1081.webp) center / 100% 100% no-repeat; }
.sheen .chrome { position: absolute; inset: 0; mix-blend-mode: overlay; opacity: .55;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .08) 38%, rgba(0, 0, 0, .35) 52%, rgba(255, 255, 255, .22) 64%, rgba(255, 255, 255, .5) 100%); }
.sheen .sweep { position: absolute; top: -20%; bottom: -20%; left: -60%; width: 46%; mix-blend-mode: color-dodge; opacity: .9; transform: translateX(118%) skewX(-16deg);
  background: linear-gradient(90deg, transparent, rgba(160, 166, 174, .14) 30%, rgba(255, 255, 255, .42) 50%, rgba(160, 166, 174, .14) 70%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .sheen .sweep { animation: sweep 13s cubic-bezier(.45, .05, .35, 1) 1.2s infinite; }
  .logo-scales { animation: scales-breathe 16s ease-in-out infinite alternate; }
}
@keyframes sweep { 0% { transform: translateX(0) skewX(-16deg); opacity: 0; } 6% { opacity: .9; } 40% { transform: translateX(380%) skewX(-16deg); opacity: .9; } 46%, 100% { transform: translateX(380%) skewX(-16deg); opacity: 0; } }
@keyframes scales-breathe { from { transform: translateY(0) scale(1); opacity: .34; } to { transform: translateY(-6px) scale(1.025); opacity: .5; } }

/* the artist carousel: a framed picture, then prev / pause / next, then the name and a line (the owner's reference, in our steel) */
.car { position: relative; }
.car-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.car-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 86%; scroll-snap-align: start; }
.frame { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: #070606; border: 1px solid #2c2e33; border-top-color: var(--edge); box-shadow: inset 0 0 0 6px #0b0a0a; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame .slot { height: 100%; border: 0; }
.cap { padding: 14px 2px 0; }
.cap h3 { font: 400 var(--s4)/1.1 var(--head); margin: 0 0 4px; }
.cap h3 a { text-decoration: none; color: var(--silver-1); }
.cap p { margin: 0; color: var(--soft); }
.car.js .slide .cap { display: none; }
.car-ctl { display: none; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.car.js .car-ctl { display: flex; }
.btn.sq { width: 52px; min-width: 52px; height: 52px; padding: 0; }
.btn.sq .i-play { display: none; }
.btn.sq[aria-pressed="true"] .i-play { display: inline; }
.btn.sq[aria-pressed="true"] .i-pause { display: none; }
.car-cap { min-height: 96px; }
.car-cap .cap { padding-top: 10px; }
.car-none { margin-top: 18px; }
@media (min-width: 960px) {
  .slide { flex-basis: 440px; }
  .car-cap { position: absolute; left: 470px; top: 0; max-width: 420px; }
  .car-ctl { position: absolute; left: 470px; top: 140px; justify-content: flex-start; margin: 0; }
  .car-track { padding-right: 40%; }
}

/* the focus viewer */
.piece { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.piece img { width: 100%; height: 100%; object-fit: cover; }
.viewer { width: min(94vw, 760px); max-height: 94vh; padding: 14px; border: 1px solid var(--edge); border-radius: 3px; color: var(--ink);
  background: var(--brush), linear-gradient(180deg, #1d1e22, #121315); }
.viewer::backdrop { background: rgba(0, 0, 0, .82); }
.viewer-close { display: flex; justify-content: flex-end; margin: 0 0 10px; }
.viewer figure { margin: 0; }
.viewer img { width: 100%; height: auto; max-height: 68vh; object-fit: contain; background: #070606; }
.viewer figcaption { margin-top: 10px; color: var(--soft); }
.viewer-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 2px; }

/* marked empty slots (until the shop sends or OKs each artist's photos and posts) */
.slot { position: relative; overflow: clip; isolation: isolate; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 18px; min-height: 180px; text-align: center;
  background: linear-gradient(180deg, #1d1e22, #141517); border: 1px dashed #5a5d63; border-radius: 3px; }
.slot p { margin: 0; color: var(--soft); font-size: var(--s1); max-width: 22em; }
.slot .plate-scales { opacity: .35; }
svg.slot-mark { width: 30px; height: 35px; fill: #2c2e33; stroke: #8d9097; stroke-width: 2; }
.wall-artist .slot { aspect-ratio: 4 / 5; min-height: 0; }

/* the artist page: photo top left, then name, number, style (reads like a portfolio) */
.a-head { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); align-items: start; gap: 18px; }
.a-photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; border: 1px solid #2c2e33; border-top-color: var(--edge); }
.a-photo img { width: 100%; height: 100%; object-fit: cover; }
.a-photo .slot { height: 100%; min-height: 0; border: 0; }
.a-head h1 { font-size: clamp(30px, 7vw, 76px); }
.a-num { margin: 0 0 6px; font: 400 clamp(20px, 5vw, 30px)/1.2 var(--head); }
.a-num a { color: var(--silver-1); text-decoration: underline; text-decoration-color: var(--ember); text-underline-offset: .14em; }
.a-num .note { display: block; font: 400 15px/1.4 var(--text); color: var(--soft); }
.a-style { font-size: var(--s2); margin-bottom: 8px; }
.a-head .acts { grid-column: 1 / -1; }
@media (min-width: 700px) { .a-head .acts { grid-column: auto; } .a-head { gap: 40px; } }
@media (min-width: 960px) { .a-head { grid-template-columns: 360px minmax(0, 1fr); } .a-photo { width: 360px; } }
.kit-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; align-items: start; }
.kit-ctl { display: flex; justify-content: flex-start; }

/* the owner's video loop, when it exists: under everything, darkened most under the logo; the CSS coal light, smoke and scales stay on top */
.room { background: var(--still, none) center / cover no-repeat; }
.room-video { opacity: .6; }
.room-dim { position: absolute; inset: 0; background: radial-gradient(70% 45% at 50% 28%, rgba(8, 7, 7, .7), rgba(8, 7, 7, .25) 70%, transparent); }
@media (prefers-reduced-motion: reduce) { .room-video { display: none; } }
.kit-logo { overflow: clip; }
.hero { overflow-x: clip; }

@media (max-width: 379px) { .top { gap: 8px; padding-left: 14px; padding-right: 14px; } .top-nav { gap: 11px; font-size: 16px; } .contact > summary { padding: 9px 12px; } }
.a-head .acts .btn, .contact-artist .btn { white-space: normal; max-width: 100%; text-align: center; }

.kit-contact .contact { min-height: 0; display: block; }
.kit-contact .contact-panel { position: static; margin-top: 10px; }
.car-ctl.kit-ctl { position: static; display: flex; margin-top: 16px; }


/* ===== v5 round 1 fixes (critics, PASSES.md) ===== */
.scale-field { opacity: .7; }
.logo-scales { opacity: .62; background-size: 50px 70px; }
@keyframes scales-breathe { from { transform: translateY(0) scale(1); opacity: .52; } to { transform: translateY(-6px) scale(1.025); opacity: .72; } }
.hero-field { opacity: .8; }
/* freedom chart: dim only the scale shapes, keep the labels readable; the unset row is quieter */
.freedom:not(.unset) .steps li:not(.at) { opacity: 1; }
.freedom:not(.unset) .steps li:not(.at) svg.scale { opacity: .45; }
.freedom.unset .steps li svg.scale { opacity: .5; }
.freedom.small .steps li b { top: 22%; }
/* the FAQ: plain rows (the overlap read as a glitch) */
.faq-list { gap: 8px; }
.faq-list .row.q { border-radius: 3px; margin-bottom: 0; }
.faq-list .row.q > summary { padding-bottom: 14px; }
.faq-list .row.q .row-body { padding-bottom: 18px; }
.faq-list .row.q + .row.q { padding-top: 0; }
/* states that differ: main hover brighter, pressed darker, disabled clearly off; error redder than the ember focus */
.btn.main:hover, .btn.main.is-hover { background: linear-gradient(180deg, #ffffff 0%, #ece8e1 45%, #dcd6ce 60%, #f6f3ee 100%); border-color: var(--silver-1); box-shadow: 0 0 0 1px rgba(244, 241, 236, .25), inset 0 1px 0 var(--silver-1); }
.btn[disabled], .btn.main[disabled] { opacity: 1; background: #1a1b1e; color: #6c6f75; border: 1px dashed #4a4c52; box-shadow: none; cursor: not-allowed; }
.err { color: #ff8a7a; } .err::before { background: #ff8a7a; }
.field.bad input, .field.bad textarea, .field.bad select, input[aria-invalid=true], textarea[aria-invalid=true], select[aria-invalid=true] { border-color: #ff8a7a; border-width: 2px; }
a.frame { text-decoration: none; }
/* a piece opens a viewer: say so on hover and focus */
.piece { position: relative; }
.piece::after { content: "View"; position: absolute; right: 8px; bottom: 8px; padding: 4px 10px; font: 700 14px/1.2 var(--head); color: var(--on-silver); background: var(--silver-1); border-radius: 2px; opacity: 0; transition: opacity .18s ease-out; }
.piece:hover::after, .piece:focus-visible::after { opacity: 1; }
/* the work wall: an even grid (no empty cells: they read as broken) */
@media (min-width: 960px) {
  .wall.gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wall.gallery [data-slot] { grid-area: auto; }
}
.wall.gallery .slot { aspect-ratio: 4 / 5; min-height: 0; height: 100%; }
/* the desktop carousel: one frame on the left, its name and buttons in their own column */
@media (min-width: 960px) {
  .car { display: grid; grid-template-columns: 460px minmax(0, 1fr); column-gap: 48px; align-items: start; }
  .car-track { grid-column: 1; grid-row: 1 / span 2; width: 460px; padding-right: 0; }
  .slide { flex-basis: 460px; }
  .car-cap { position: static; grid-column: 2; grid-row: 1; max-width: 460px; padding-top: 20px; }
  .car-ctl { position: static; grid-column: 2; grid-row: 2; align-self: start; margin-top: 18px; justify-content: flex-start; }
}
/* lower sections in worked steel: the steps and the hours sit on plates */
.steps-list li { padding: 18px 18px 18px 64px; border-radius: 3px; background: var(--brush), linear-gradient(180deg, #202226, #161719); border: 1px solid #2a2c31; border-top-color: #3d4046; }
.steps-list li::before { left: 18px; top: 16px; }
.hours { background: var(--brush), linear-gradient(180deg, #1d1f23, #151618); border: 1px solid #2a2c31; border-top-color: #3d4046; border-radius: 3px; }
.hours caption { padding: 0 0 8px; }
/* the ash: fewer, quieter, so a speck never reads as a stray bullet beside text */
.ash b:nth-child(n+15) { display: none; }
@keyframes ash { 0% { transform: translate3d(0, 0, 0) scale(var(--s)); opacity: 0; } 12% { opacity: .45; } 50% { transform: translate3d(24px, -52vh, 0) scale(var(--s)); } 85% { opacity: .25; } 100% { transform: translate3d(-10px, -104vh, 0) scale(var(--s)); opacity: 0; } }
/* kit: no clip on the logo (the fire fades by itself); the phone bar shown at both widths */
.kit-logo { overflow: visible; }
.page-ui .kit-bar { display: grid !important; max-width: 520px; }
.kit h2 + p { max-width: 60em; }

/* the owner's stills and loop sit under everything, dark; the coals must never outshine the logo's silver */
.room { background-color: var(--ground); }
.room.is-still { background: var(--still) center bottom / cover no-repeat var(--ground); }
.room.is-still::after, .room-dim { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(75% 42% at 50% 24%, rgba(8, 7, 7, .82), rgba(8, 7, 7, .45) 60%, rgba(8, 7, 7, .2) 85%), linear-gradient(0deg, rgba(8, 7, 7, .45), transparent 40%); }
.room-video { opacity: .7; }
.room.is-still .coals { opacity: .55; }

@media (min-width: 960px) { .room.is-still::after { background: radial-gradient(60% 46% at 50% 26%, rgba(8, 7, 7, .78), rgba(8, 7, 7, .35) 62%, rgba(8, 7, 7, .1) 88%), linear-gradient(0deg, rgba(8, 7, 7, .2), transparent 35%); } }


/* ===== the fire under the logo, matched to the coals in the owner's loop (forge-9x16.mp4, measured: hot core #fca543, orange #b75424,
   falloff #703720; breathing on 6 s with a 3 s and 1.5 s undertow). Light comes from below: white-gold where it meets the logo's lower
   edge, through orange to a deep red falloff. Two layers on different, unrelated rhythms so it never reads as a neon halo or a pulse. ===== */
.fire { filter: blur(11px); opacity: .5; transform: translateY(2.2%); }
.fire > span { background: linear-gradient(0deg, #ffe9b8 0%, #fca543 16%, #e0702a 34%, #b75424 50%, #703720 66%, rgba(112, 55, 32, 0) 86%); }
.logo::after { left: 10%; right: 10%; bottom: -14%; height: 36%; filter: blur(8px); opacity: .75;
  background: radial-gradient(closest-side, rgba(255, 233, 184, .5), rgba(252, 165, 67, .38) 24%, rgba(183, 84, 36, .22) 52%, rgba(112, 55, 32, .1) 74%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .fire { animation: coal-breathe 6.04s ease-in-out infinite; }
  .logo::after { animation: coal-flicker 3.1s linear infinite; }
}
@keyframes coal-breathe { 0% { opacity: .4; } 22% { opacity: .5; } 48% { opacity: .62; } 63% { opacity: .55; } 80% { opacity: .47; } 100% { opacity: .4; } }
@keyframes coal-flicker { 0% { opacity: .72; transform: scaleX(1); } 9% { opacity: .82; } 14% { opacity: .68; transform: scaleX(.985); } 31% { opacity: .8; }
  38% { opacity: .74; transform: scaleX(1.01); } 55% { opacity: .88; } 61% { opacity: .7; } 79% { opacity: .84; transform: scaleX(.995); } 88% { opacity: .76; } 100% { opacity: .72; transform: scaleX(1); } }
/* the coal light in the room breathes with the same cycle */
@media (prefers-reduced-motion: no-preference) { .coals { animation: breathe 6.04s ease-in-out infinite alternate; } }
.coals { background: radial-gradient(42% 46% at 50% 100%, rgba(252, 165, 67, .26), rgba(183, 84, 36, .12) 45%, rgba(112, 55, 32, .05) 70%, transparent 82%); }

/* desktop: the Hermes/Venice loop's coals are deeper and slower (measured: hot core #d16415, orange #803615, falloff #5b2a16; 8 s with a
   4 s and 2.7 s undertow), so the glow on wide screens breathes on the same clock and leans deeper; the white-gold stays at the logo's edge */
@media (min-aspect-ratio: 3/4) {
  .fire > span { background: linear-gradient(0deg, #ffe6b0 0%, #f2a447 14%, #d16415 32%, #803615 50%, #5b2a16 66%, rgba(91, 42, 22, 0) 86%); }
  .logo::after { background: radial-gradient(closest-side, rgba(255, 230, 176, .46), rgba(209, 100, 21, .36) 24%, rgba(128, 54, 21, .22) 52%, rgba(91, 42, 22, .1) 74%, transparent); }
}
@media (min-aspect-ratio: 3/4) and (prefers-reduced-motion: no-preference) {
  .fire { animation-duration: 8.04s; }
  .logo::after { animation-duration: 2.68s; }
  .coals { animation-duration: 8.04s; }
}

@media (min-width: 960px) { .car { grid-template-rows: min-content min-content 1fr; } .car-track { grid-row: 1 / 4; } .car-cap { grid-row: 1; } .car-ctl { grid-row: 2; } }

.cap-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px !important; }
/* the forge carries down the page: a faint scale field and smoke band at every seam */
.seam { margin-bottom: calc(var(--gap) * .6); }
.seam::before { content: ""; position: absolute; left: -30%; right: -30%; top: -90px; height: 180px; z-index: -1; background-image: var(--scale-tile); background-size: 56px 78px; opacity: .35;
  -webkit-mask: radial-gradient(50% 50% at 50% 50%, #000 0%, transparent 70%); mask: radial-gradient(50% 50% at 50% 50%, #000 0%, transparent 70%); }

.hero-field { opacity: .42; }
.scale-field.side, .scale-field.foot-field { opacity: .3; }
.seam::before { opacity: .22; }
.logo-scales { opacity: .5; }
@keyframes scales-breathe { from { transform: translateY(0) scale(1); opacity: .42; } to { transform: translateY(-6px) scale(1.025); opacity: .6; } }

.sheen .sweep { background: linear-gradient(90deg, transparent, rgba(170, 176, 184, .18) 30%, rgba(255, 255, 255, .58) 50%, rgba(170, 176, 184, .18) 70%, transparent); }
