/*
Theme Name: Wylfa Hardtops
Template: astra
Description: The Wylfa Hardtops site design, built on Astra. Only pages set to a "Wylfa:" template use it; everything else keeps Astra.
Version: 1.1795514449
Author: Kove
Text Domain: wylfa-child
*/

/* ---- home.css ---- */
/* Wylfa homepage redesign. Tokens, then shapes, then page sections. The look follows the hardtop builder: charcoal, aluminium greys, the logo's red, IBM Plex. */

:root {
  --charcoal: #1a1a1a;
  --charcoal-raised: #232323;
  --on-dark: #f3f3f1;
  --on-dark-quiet: #b9bcba;
  --line-on-dark: #3d3f3e;

  --page: #f3f4f3;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-quiet: #515654;
  --line: #d3d6d4;
  --border-control: #7b807d;

  --red: #d32d1f;
  --red-hover: #b9261a;
  --red-text: #c0281b;
  --red-on-dark: #f45a48;
  --on-red: #ffffff;

  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 32px; --s6: 48px; --s7: 64px; --s8: 96px;
  --margin: 24px;
  --max: 1240px;
  --radius: 2px;
  --z-header: 10;
  --hover: 120ms ease;
}

@media all {
  :root {
    --page: #141414;
    --surface: #1f1f1f;
    --text: #f3f3f1;
    --text-quiet: #b9bcba;
    --line: #3d3f3e;
    --border-control: #8c908e;
    --red-text: #f45a48;
  }
}

@media (min-width: 900px) { :root { --margin: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 24px; font-variant-numeric: tabular-nums lining-nums; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red-on-dark); outline-offset: 3px; }

/* Shapes */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--margin); }
.label { font-family: var(--mono); font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: 0.02em; color: var(--text-quiet); margin: 0; }
.label b { color: var(--red-text); font-weight: 600; margin-right: var(--s2); }
.on-dark .label { color: var(--on-dark-quiet); }
.on-dark .label b { color: var(--red-on-dark); }
.h1 { font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.h2 { font-size: 28px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.h3 { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.lead { font-size: 18px; line-height: 28px; margin: 0; max-width: 34em; text-wrap: pretty; }
.body { margin: 0; color: var(--text-quiet); max-width: 34em; text-wrap: pretty; }
.on-dark .body { color: var(--on-dark-quiet); }
.heading-block { display: grid; gap: var(--s3); }
@media (min-width: 620px) { .h1 { font-size: 56px; line-height: 60px; } .h2 { font-size: 36px; line-height: 40px; } }
@media (min-width: 900px) { .h1 { font-size: 64px; line-height: 68px; } .h2 { font-size: 44px; line-height: 48px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--s4); border-radius: var(--radius); font: 600 16px/24px var(--sans); text-decoration: none; border: 1px solid transparent; transition: background var(--hover), border-color var(--hover), transform var(--hover); }
.btn:active { transform: scale(0.96); }
.btn-primary { background: var(--red); color: var(--on-red); }
.btn-quiet { border-color: var(--on-dark-quiet); color: var(--on-dark); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--red-hover); }
  .btn-quiet:hover { border-color: var(--on-dark); background: rgba(255, 255, 255, 0.08); }
  .link-arrow:hover .arrow { transform: translateX(4px); }
  .nav a:hover { color: var(--on-dark); }
  .chip:hover { border-color: var(--text); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

.link-arrow { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; font-weight: 600; text-decoration: none; color: var(--text); }
.arrow { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--red-text); stroke-width: 2; transition: transform var(--hover); }
.on-dark .link-arrow { color: var(--on-dark); }
.on-dark .arrow { stroke: var(--red-on-dark); }

.section { padding: var(--s7) 0; }
@media (min-width: 900px) { .section { padding: var(--s8) 0; } }
.on-dark { color: var(--on-dark); }
.bg-dark { background: var(--charcoal); }
.section.flush-top { padding-top: 0; }

/* Header */
.header { position: absolute; inset: 0 0 auto 0; z-index: var(--z-header); background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 88px; }
.logo { display: block; width: 132px; height: 44px; flex: none; }
.logo img { object-fit: contain; }
.nav { display: none; align-items: center; gap: var(--s5); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); font-weight: 500; text-decoration: none; transition: color var(--hover); }
.nav a:not(.btn) { color: #e4e5e3; }
.menu-btn { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s3); background: none; border: 1px solid var(--on-dark-quiet); border-radius: var(--radius); color: var(--on-dark); font: 500 16px/24px var(--sans); }
.menu-btn:active { transform: scale(0.96); }
.nav.is-open { display: grid; gap: 0; position: absolute; inset: 88px 0 auto 0; padding: var(--s3) var(--margin) var(--s4); background: var(--charcoal); }
.nav.is-open .btn { margin-top: var(--s3); }
@media (min-width: 900px) { .nav { display: flex; } .menu-btn { display: none; } }

/* Hero. On a phone the photo takes the top of the screen and the words sit below it on charcoal, so the hardtop is never covered. From 900 the words sit over the foot of the photo. */
.hero { position: relative; display: grid; align-items: end; min-height: 640px; height: 100dvh; max-height: 920px; background: var(--charcoal); }
.hero-photo { position: absolute; inset: 0 0 auto 0; height: 58%; }
.hero-photo img { object-position: 30% 50%; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(26, 26, 26, 0) 55%, rgba(26, 26, 26, 1) 100%); }
.hero-copy { position: relative; display: grid; gap: var(--s4); padding-bottom: var(--s5); }
.hero-copy .lead { color: #e4e5e3; }
@media (min-width: 900px) {
  .hero-photo { height: 100%; }
  .hero-photo img { object-position: 38% 50%; }
  .hero-photo::after { background: linear-gradient(rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.86) 92%); }
  .hero-copy { padding-bottom: var(--s7); }
  .hero-copy .h1 { max-width: 15em; }
}

/* Proof strip under the hero */
.proof { background: var(--charcoal); color: var(--on-dark); border-top: 1px solid var(--line-on-dark); }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; list-style: none; }
.proof-item { padding: var(--s4) var(--s3) var(--s4) 0; display: grid; gap: var(--s1); align-content: start; }
.proof-item:nth-child(even) { padding-left: var(--s3); border-left: 1px solid var(--line-on-dark); }
.proof-item:nth-child(n+3) { border-top: 1px solid var(--line-on-dark); }
.proof-item strong { font-weight: 600; }
.proof-item span { color: var(--on-dark-quiet); font-size: 14px; line-height: 20px; }
@media (min-width: 900px) {
  .proof-grid { grid-template-columns: repeat(4, 1fr); }
  .proof-item { padding: var(--s5) var(--s4); border-left: 1px solid var(--line-on-dark); }
  .proof-item:first-child { padding-left: 0; border-left: 0; }
  .proof-item:nth-child(even) { padding-left: var(--s4); }
  .proof-item:nth-child(n+3) { border-top: 0; }
}

/* Range */
.range-head { display: grid; gap: var(--s4); margin-bottom: var(--s6); }
@media (min-width: 900px) { .range-head { grid-template-columns: 1fr auto; align-items: end; } }
.range { display: grid; gap: var(--s6); margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .range { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); } }
.card { display: grid; gap: var(--s3); align-content: start; }
.card-photo { aspect-ratio: 4 / 5; background: var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 899px) { .card-photo { aspect-ratio: 4 / 3; } }
.card-top { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); padding-top: var(--s2); border-top: 1px solid var(--text); }
.price { font-family: var(--mono); font-size: 13px; line-height: 20px; font-weight: 500; white-space: nowrap; text-align: right; }

/* Made in Corwen */
.made { display: grid; gap: var(--s6); }
.made-photos { position: relative; padding-bottom: var(--s7); }
.made-main { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.made-inset { position: absolute; right: 0; bottom: 0; width: 38%; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; border: var(--s2) solid var(--charcoal); }
.made-copy { display: grid; gap: var(--s5); align-content: center; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s4); margin: 0; }
.fact { display: grid; gap: var(--s1); align-content: start; padding-top: var(--s3); border-top: 1px solid var(--line-on-dark); }
.fact dt { font-weight: 600; }
.fact dd { margin: 0; color: var(--on-dark-quiet); font-size: 14px; line-height: 20px; }
@media (min-width: 900px) { .made { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s7); } }

/* Farm and trade */
.work { display: grid; gap: var(--s5); }
.work-wide { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.work-wide img { object-position: 50% 82%; }
.work-tall { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.work-tall img { object-position: 50% 62%; }
.work-copy { display: grid; gap: var(--s4); align-content: start; }
@media (min-width: 900px) {
  .work { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto 1fr; gap: var(--s5) var(--s7); }
  .work-wide { grid-row: 1 / 3; aspect-ratio: auto; min-height: 100%; }
  .work-copy { grid-column: 2; grid-row: 1; padding-top: var(--s2); }
}

/* Customer quote */
.quote { margin: var(--s7) 0 0; display: grid; gap: var(--s4); padding: var(--s6) 0 0; border-top: 1px solid var(--line); }
.quote blockquote { margin: 0; }
.quote p { margin: 0; font-size: 32px; line-height: 40px; font-weight: 300; letter-spacing: -0.02em; text-wrap: balance; }
@media (min-width: 900px) { .quote p { font-size: 60px; line-height: 64px; max-width: 14em; } }

/* Pickups */
.pickups { display: grid; gap: var(--s5); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--s4); border: 1px solid var(--border-control); border-radius: var(--radius); background: var(--surface); font-weight: 500; text-decoration: none; transition: border-color var(--hover), transform var(--hover); }
.chip:active { transform: scale(0.96); }
@media (min-width: 900px) { .pickups { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: start; } }

/* Closing band */
.closing { position: relative; display: grid; align-items: center; min-height: 480px; background: var(--charcoal); }
.closing-photo { position: absolute; inset: 0; }
.closing-photo img { object-position: 50% 60%; }
.closing-photo::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.62); }
.closing-copy { position: relative; display: grid; gap: var(--s5); padding-top: var(--s7); padding-bottom: var(--s7); }

/* Footer */
.footer { padding: var(--s6) 0; border-top: 1px solid var(--line-on-dark); }
.footer-row { display: grid; gap: var(--s5); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark-quiet); text-decoration: none; }
@media (min-width: 900px) { .footer-row { grid-template-columns: 1fr auto; align-items: center; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }


/* ---- picks.css ---- */
/* Shapes added on top of home.css for the ideas picked from the scrapbook. Each block names the idea it carries, not the site it came from. */

/* Buttons on a light background */
.btn-dark { background: var(--text); color: var(--page); }
.btn-line { border-color: var(--border-control); color: var(--text); }
@media (hover: hover) {
  .btn-dark:hover { background: var(--red); color: var(--on-red); }
  .btn-line:hover { border-color: var(--text); }
  .tab:hover { color: var(--text); }
  .contact-line:hover { text-decoration: underline; }
}

/* Pages with no photo hero start on a dark block that clears the header */
.page-top { padding: 152px 0 var(--s7); }
.page-top .wrap { display: grid; gap: var(--s4); }
.nav a[aria-current='page'] { text-decoration: underline; text-underline-offset: 8px; text-decoration-color: var(--red-on-dark); }

/* The range: a large photo, the name, one line, and a button that opens the builder */
.build-grid { display: grid; gap: var(--s6); margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .build-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); } }
.build-card { display: grid; gap: var(--s3); align-content: start; justify-items: center; text-align: center; }
.build-photo { width: 100%; aspect-ratio: 4 / 3; background: var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .build-photo { aspect-ratio: 10 / 11; } }
.build-card .h3 { margin-top: var(--s2); font-size: 28px; line-height: 32px; }
.build-card .btn { margin-top: var(--s2); }
.proof-line { margin: 0; font-family: var(--mono); font-size: 13px; line-height: 20px; font-weight: 500; }
.finishes { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s3); margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 20px; color: var(--text-quiet); }
.finish { display: inline-flex; align-items: center; gap: var(--s2); }
.dot { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1px solid var(--border-control); }
.dot-chequer { background: repeating-linear-gradient(45deg, #c9cdcf 0 3px, #8f9497 3px 6px); }
.dot-smooth { background: #b4b9bc; }
.dot-powder { background: #2a2d30; }

/* Start your build: one pickup at a time, picked from a row of makes */
.starter { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.tabs { display: flex; gap: var(--s2); padding: 0 var(--s3); border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab { flex: none; min-height: 56px; padding: 0 var(--s3); background: none; border: 0; border-bottom: 3px solid transparent; color: var(--text-quiet); font: 500 16px/24px var(--sans); cursor: pointer; transition: color var(--hover); }
.tab[aria-selected='true'] { color: var(--text); font-weight: 600; border-bottom-color: var(--red); }
.tab:active { transform: scale(0.96); }
.slide { display: grid; gap: var(--s4); padding: var(--s4); }
.slide[hidden] { display: none; }
.slide-copy { display: grid; gap: var(--s3); align-content: center; justify-items: start; }
.slide-label { margin: 0; color: var(--red-text); font-weight: 600; }
.slide-name { margin: 0; font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.02em; }
.slide-copy .btn-row { margin-top: var(--s3); }
.slide-photo { aspect-ratio: 1004 / 621; background: #f6f6f5; border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) {
  .tabs { padding: 0 var(--s5); }
  .slide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); padding: var(--s6) var(--s5) var(--s6) var(--s6); }
  .slide-name { font-size: 56px; line-height: 60px; }
}

/* Half photo, half words, edge to edge */
.split { display: grid; background: var(--surface); }
.split-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.split-copy { display: grid; gap: var(--s4); align-content: center; justify-items: start; padding: var(--s6) var(--margin); }
.split-title { margin: 0; color: var(--red-text); font-size: 28px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split-photo { position: relative; aspect-ratio: auto; min-height: 560px; }
  .split-photo img { position: absolute; inset: 0; }
  .split-copy { padding: var(--s7); }
  .split-title { font-size: 36px; line-height: 40px; }
  .split.flip .split-photo { order: 2; }
}

/* Three tall close-ups, each with a title and a line */
.details { display: grid; gap: var(--s5); margin: var(--s6) 0 0; padding: 0; list-style: none; }
@media (min-width: 620px) { .details { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); } }
.detail { display: grid; gap: var(--s2); align-content: start; }
.detail-photo { aspect-ratio: 4 / 3; margin-bottom: var(--s2); background: var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 620px) { .detail-photo { aspect-ratio: 3 / 4; } }
.detail strong { font-weight: 600; }

/* A grid of close-ups with no words on them */
.closeups { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin: var(--s6) 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .closeups { grid-template-columns: repeat(3, 1fr); gap: var(--s3); } }
.closeup { aspect-ratio: 4 / 3; background: var(--line); border-radius: var(--radius); overflow: hidden; }

/* A text card beside a clip */
.film { display: grid; gap: var(--s5); }
.film-card { display: grid; gap: var(--s4); align-content: center; justify-items: start; padding: var(--s5) var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.film-video { aspect-ratio: 16 / 9; background: var(--charcoal); border-radius: var(--radius); overflow: hidden; }
.film-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .film { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s5); } .film-card { padding: var(--s6) var(--s5); } }

/* A full-width photo with a short paragraph set over its foot */
.band { position: relative; display: grid; align-items: end; min-height: 480px; background: var(--charcoal); }
.band-photo { position: absolute; inset: 0; }
.band-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.82) 92%); }
.band-copy { position: relative; display: grid; gap: var(--s3); padding-top: var(--s8); padding-bottom: var(--s6); }
.band-copy .lead { color: #e4e5e3; }
@media (min-width: 900px) { .band { min-height: 640px; } .band-copy { padding-bottom: var(--s7); } }

/* A customer's words beside a photo */
.said { display: grid; gap: var(--s5); }
.said-photo { aspect-ratio: 4 / 3; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.said-copy { display: grid; gap: var(--s4); align-content: center; justify-items: start; margin: 0; }
.said-copy blockquote { margin: 0; display: grid; gap: var(--s4); }
.said-big { margin: 0; font-size: 32px; line-height: 40px; font-weight: 300; letter-spacing: -0.02em; text-wrap: balance; }
@media (min-width: 900px) {
  .said { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s7); }
  .said-photo { aspect-ratio: 1 / 1; }
  .said-big { font-size: 52px; line-height: 56px; }
}

/* The people */
.team { display: grid; gap: var(--s5); }
.names { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.name { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.name strong { font-size: 22px; line-height: 28px; font-weight: 600; }
.name span { color: var(--text-quiet); text-align: right; }
@media (min-width: 900px) { .team { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); } }

/* Review wall: photo cards and review cards in columns that fill top to bottom */
.wall { columns: 1; column-gap: var(--s4); margin: var(--s6) 0 0; padding: 0; list-style: none; }
@media (min-width: 620px) { .wall { columns: 2; } }
@media (min-width: 900px) { .wall { columns: 3; } }
.wall-card { break-inside: avoid; margin: 0 0 var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.wall-photo img { height: auto; }
.wall-words { display: grid; gap: var(--s3); padding: var(--s4); }
.wall-words blockquote { margin: 0; display: grid; gap: var(--s2); }
.wall-head { margin: 0; font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.wall-words p { margin: 0; }
.wall-ask { background: var(--charcoal); border-color: var(--charcoal); }
.wall-ask .wall-words { justify-items: start; }

/* Footer: two ways to get in touch, then where the workshop is */
.contact { display: grid; gap: var(--s5); padding-bottom: var(--s6); margin-bottom: var(--s5); border-bottom: 1px solid var(--line-on-dark); }
.contact-block { display: grid; gap: var(--s2); align-content: start; }
.contact-block .h3 { text-wrap: balance; }
.contact-line { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); font-size: 18px; line-height: 28px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-block address { font-style: normal; color: var(--on-dark-quiet); }
@media (min-width: 900px) { .contact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); } }

/* Polish: crisper text on a Mac, a faint edge so pale photos hold their shape, sans labels, and links underlined in place of an arrow. */
body { -webkit-font-smoothing: antialiased; }
.label, .price, .proof-line { font-family: var(--sans); }
.link-arrow { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.build-photo, .slide-photo, .detail-photo, .closeup, .said-photo, .film-video, .wall-photo { outline: 1px solid oklch(0 0 0 / 0.1); outline-offset: -1px; }
@media all { .build-photo, .slide-photo, .detail-photo, .closeup, .said-photo, .film-video, .wall-photo { outline-color: oklch(1 0 0 / 0.1); } }


/* ---- clean.css ---- */
/* The clean direction: white page, square corners, quiet headings, wide spacing. Loaded after home.css and picks.css, it resets their tokens and then the shapes that differ. Body classes v-a, v-b and v-c hold what each version does differently. */

:root {
  --charcoal: #16181a;
  --page: #ffffff;
  --surface: #f1f3f3;
  --text: #16181a;
  --text-quiet: #555b5f;
  --line: #e1e4e4;
  --border-control: #767c80;
  --red-text: #16181a;
  --radius: 0px;
  --bar: 72px;
}
@media all {
  :root { --page: #101214; --surface: #191c1e; --text: #f3f3f1; --text-quiet: #b9bcba; --line: #33383b; --border-control: #8c908e; --red-text: #f3f3f1; }
}
html { scroll-padding-top: var(--bar); }

/* Type: small and steady, so the photos carry the page */
.h1 { font-size: 32px; line-height: 40px; letter-spacing: 0; }
.h2 { font-size: 24px; line-height: 32px; letter-spacing: 0; }
.h3, .build-card .h3 { font-size: 20px; line-height: 28px; letter-spacing: 0; }
.lead { font-weight: 300; }
.split-title { color: var(--text); font-size: 24px; line-height: 32px; letter-spacing: 0; }
.slide-name { font-size: 28px; line-height: 36px; letter-spacing: 0; }
.slide-label { color: var(--text-quiet); font-weight: 500; }
.said-big { font-size: 28px; line-height: 36px; letter-spacing: 0; }
@media (min-width: 900px) {
  .h1 { font-size: 40px; line-height: 48px; }
  .h2, .split-title { font-size: 28px; line-height: 36px; }
  .slide-name { font-size: 40px; line-height: 48px; }
  .said-big { font-size: 40px; line-height: 48px; }
  .section { padding: 128px 0; }
  .section.flush-top { padding-top: 0; }
}

/* Buttons: square, with red kept for the one that opens the builder */
.btn { font-size: 14px; line-height: 20px; letter-spacing: 0.04em; padding: 0 var(--s5); }
.tab { font-size: 14px; line-height: 20px; letter-spacing: 0.04em; }
.tab[aria-selected='true'] { border-bottom-color: var(--text); }

/* Header: a plain bar that stays put, with the name in the middle from 900 up */
.header { position: sticky; top: 0; inset: auto; background: var(--page); border-bottom: 1px solid var(--line); }
.header-row { min-height: var(--bar); }
.logo-light { display: none; }
@media all { .logo-dark { display: none; } .logo-light { display: block; } }
.nav a:not(.btn), .nav a { color: var(--text); font-size: 14px; line-height: 20px; letter-spacing: 0.04em; }
.nav .btn { border-color: var(--border-control); color: var(--text); }
.menu-btn { border-color: var(--border-control); color: var(--text); }
.nav.is-open { inset: var(--bar) 0 auto 0; background: var(--page); border-bottom: 1px solid var(--line); }
@media (hover: hover) { .nav a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 8px; } .nav .btn:hover { background: var(--surface); border-color: var(--text); text-decoration: none; } }
@media (min-width: 900px) {
  .header-row { display: grid; grid-template-columns: 1fr auto 1fr; }
  .logo { grid-column: 2; grid-row: 1; }
  .nav { display: contents; }
  .nav-left { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: var(--s5); }
  .nav-right { grid-column: 3; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; gap: var(--s5); }
}
@media (max-width: 899px) { .nav-left, .nav-right { display: grid; } }

/* Hero: the photo fills the screen under the bar and the words sit small at its foot */
.hero { height: calc(100dvh - var(--bar)); }
@media (min-width: 900px) { .hero-copy .h1 { max-width: 16em; } }

/* Proof strip: on the page, between hairlines */
.proof { background: var(--page); color: var(--text); border-top: 0; border-bottom: 1px solid var(--line); }
.proof-item, .proof-item:nth-child(even), .proof-item:nth-child(n+3) { border-color: var(--line); }
.proof-item span { color: var(--text-quiet); }

/* The make picker sits on the pale band with no box round it */
.starter { border: 0; }
.tabs { border-bottom-color: var(--line); }
.slide-photo { background: #f6f6f5; }

.split-copy .label, .heading-block .label { display: none; }
.film-card { border: 0; }
.footer { border-top: 0; }

/* Version A. The range as three cards: a photo on top and a black foot with the name, a line and the two ways in. */
.v-a .build-card { justify-items: start; text-align: left; gap: 0; background: var(--charcoal); color: var(--on-dark); }
.v-a .build-card > :not(.build-photo) { margin-left: var(--s4); margin-right: var(--s4); }
.v-a .build-card .h3 { margin-top: var(--s4); }
.v-a .build-card .body { margin-top: var(--s2); color: var(--on-dark-quiet); }
.v-a .build-card .proof-line { margin-top: var(--s3); }
.v-a .finishes { margin-top: var(--s2); justify-content: flex-start; color: var(--on-dark-quiet); }
.v-a .build-card .btn { margin-top: var(--s4); background: var(--on-dark); color: var(--charcoal); }
.v-a .build-card .link-arrow { margin-top: var(--s2); margin-bottom: var(--s3); color: var(--on-dark); }
@media (hover: hover) { .v-a .build-card .btn:hover { background: var(--red); color: var(--on-red); } }

/* Version B. The make picker is the top of the page, and the range is one wide card at a time that you move along. */
.intro { padding: var(--s7) 0 var(--s6); }
.intro .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
.intro-head { display: grid; gap: var(--s3); justify-items: center; text-align: center; }
.v-b .starter { background: var(--page); }
.v-b .build-grid { display: flex; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.v-b .build-card { flex: 0 0 min(86%, 920px); min-width: 0; scroll-snap-align: start; justify-items: start; text-align: left; }
.v-b .build-photo { aspect-ratio: 16 / 10; }
.v-b .finishes { justify-content: flex-start; }
.pager { display: flex; gap: 12px; margin-top: var(--s4); }
.pager-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; background: none; border: 1px solid var(--border-control); color: var(--text); cursor: pointer; transition: border-color var(--hover), transform var(--hover); }
.pager-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.pager-btn:active { transform: scale(0.96); }
@media (hover: hover) { .pager-btn:hover { border-color: var(--text); } }

/* Version C. Words and photo side by side at the top, and each hardtop a full row with the photo on alternate sides. */
.v-c .hero { height: auto; min-height: 0; max-height: none; background: var(--page); align-items: stretch; }
.v-c .hero-photo { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; }
.v-c .hero-photo::after { content: none; }
.v-c .hero-copy { padding-top: var(--s6); padding-bottom: var(--s6); align-content: center; color: var(--text); }
.v-c .hero-copy .lead { color: var(--text-quiet); }
@media (min-width: 900px) {
  .v-c .hero { grid-template-columns: 5fr 7fr; min-height: calc(100dvh - var(--bar)); max-height: 880px; }
  .v-c .hero-photo { grid-column: 2; grid-row: 1; aspect-ratio: auto; }
  .v-c .hero-photo img { position: absolute; inset: 0; }
  .v-c .hero-copy { grid-column: 1; grid-row: 1; max-width: none; margin: 0; padding-left: var(--margin); padding-right: var(--s6); }
}
.v-c .build-grid { grid-template-columns: 1fr; gap: var(--s7); }
.v-c .build-card { justify-items: start; text-align: left; }
.v-c .finishes { justify-content: flex-start; }
@media (min-width: 900px) {
  .v-c .build-grid { gap: var(--s8); }
  .v-c .build-card { grid-template-columns: 7fr 5fr; column-gap: var(--s7); align-content: center; }
  .v-c .build-photo { grid-column: 1; grid-row: 1 / 8; aspect-ratio: 16 / 10; }
  .v-c .build-card > :not(.build-photo) { grid-column: 2; }
  .v-c .build-card .h3 { align-self: end; margin-top: 0; }
  .v-c .build-card:nth-child(even) { grid-template-columns: 5fr 7fr; }
  .v-c .build-card:nth-child(even) .build-photo { grid-column: 2; }
  .v-c .build-card:nth-child(even) > :not(.build-photo) { grid-column: 1; }
}

/* Switch between the three versions while reviewing. Not part of the site. */
.versions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); padding: var(--s2) var(--margin); background: var(--charcoal); color: var(--on-dark-quiet); font-size: 14px; line-height: 20px; }
.versions a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); }
.versions a[aria-current='page'] { font-weight: 600; text-decoration-thickness: 2px; }

.bg-band { background: var(--surface); }
.bg-band .starter { background: var(--surface); }


/* ---- elevate.css ---- */
/* The two elevated options on top of clean.css: a typeface with more character, film in place of stills where there is footage, studio shots of each hardtop that open their doors, and one settle-in when the page loads. Nothing moves on scroll. */

:root { --sans: 'Switzer', 'IBM Plex Sans', system-ui, sans-serif; --display: var(--sans); --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1); }
.h1, .h2, .h3, .slide-name, .split-title, .said-big { font-family: var(--display); }

/* Hero words show straight away, with no fade, so a page never opens on empty boxes. The settle keyframes stay for the basket. */
@keyframes settle { from { opacity: 0; transform: translateY(12px); } }
.hero-copy > :nth-child(2) { animation-delay: 100ms; }
.hero-copy > :nth-child(3) { animation-delay: 200ms; }

/* Film: a clip that loops silently, with a button to stop it */
.film-frame { position: relative; }
.film-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-toggle { position: absolute; right: var(--s3); bottom: var(--s3); z-index: 1; display: inline-grid; place-items: center; width: 44px; height: 44px; background: rgba(22, 24, 26, 0.72); border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%; color: #fff; cursor: pointer; transition: background var(--hover), transform var(--hover); }
.film-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.film-toggle .i-play, .film-toggle[aria-pressed='true'] .i-pause { display: none; }
.film-toggle[aria-pressed='true'] .i-play { display: block; }
.film-toggle:active { transform: scale(0.96); }
@media (hover: hover) { .film-toggle:hover { background: rgba(22, 24, 26, 0.92); } }
.hero-photo.film-frame { position: absolute; }

/* Three facts under the hero */
.proof-grid.three { grid-template-columns: 1fr; }
.proof-grid.three .proof-item { padding: var(--s3) 0; border-left: 0; border-top: 1px solid var(--line); }
.proof-grid.three .proof-item:first-child { border-top: 0; }
@media (min-width: 620px) {
  .proof-grid.three { grid-template-columns: repeat(3, 1fr); }
  .proof-grid.three .proof-item { padding: var(--s5) var(--s4); border-top: 0; border-left: 1px solid var(--line); }
  .proof-grid.three .proof-item:first-child { padding-left: 0; border-left: 0; }
}

/* Stage: a studio shot of one hardtop, with the doors-open shot laid over it and faded in */
.stage { position: relative; width: 100%; aspect-ratio: 1036 / 659; background: #f6f6f5; overflow: hidden; outline: 1px solid oklch(0 0 0 / 0.1); outline-offset: -1px; }
.stage-open { position: absolute; inset: 0; opacity: 0; transition: opacity 200ms ease-out; }
.stage.is-open .stage-open { opacity: 1; }
.stage-btn { position: absolute; left: var(--s3); bottom: var(--s3); min-height: 44px; padding: 0 var(--s3); background: rgba(255, 255, 255, 0.92); border: 1px solid #767c80; color: #16181a; font: 500 14px/20px var(--sans); letter-spacing: 0.04em; cursor: pointer; transition: background var(--hover), transform var(--hover); }
.stage-btn:active { transform: scale(0.96); }
@media (hover: hover) { .stage-btn:hover { background: #fff; border-color: #16181a; } }

/* Product facts beside or under a stage */
.spec { display: grid; gap: var(--s3); align-content: center; justify-items: start; }
.spec-facts { display: grid; gap: var(--s2); width: 100%; margin: var(--s2) 0; padding: var(--s3) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-fact { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s3); }
.spec-fact dt { color: var(--text-quiet); }
.spec-fact dd { margin: 0; font-weight: 500; }

/* Option 1. The range is one wide card at a time, moved along with the arrows, with a count beside them. */
.v-b1 .h1 { font-size: 44px; line-height: 48px; font-weight: 400; letter-spacing: -0.02em; }
.v-b1 .h2, .v-b1 .split-title { font-size: 32px; line-height: 40px; font-weight: 400; letter-spacing: -0.01em; }
@media (min-width: 900px) {
  .v-b1 .h1 { font-size: 80px; line-height: 84px; }
  .v-b1 .h2, .v-b1 .split-title { font-size: 44px; line-height: 52px; }
}
.v-b1 .show-row { display: flex; gap: var(--s4); margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.v-b1 .show-card { flex: 0 0 min(88%, 960px); min-width: 0; scroll-snap-align: start; display: grid; gap: var(--s4); align-content: start; }
@media (min-width: 900px) { .v-b1 .show-card .spec { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--s6); align-items: start; } .v-b1 .show-card .spec > * { grid-column: 2; } .v-b1 .show-card .spec > .h3 { grid-column: 1; grid-row: 1 / 6; font-size: 40px; line-height: 44px; font-weight: 400; } }
.pager { align-items: center; }
.pager-count { margin-left: var(--s3); color: var(--text-quiet); font-size: 14px; line-height: 20px; }

/* Option 2. Heavier display type, and the range as a model picker: four names, one large stage. */
.v-b2 { --display: 'Cabinet Grotesk', 'Switzer', system-ui, sans-serif; }
.v-b2 .h1 { font-size: 52px; line-height: 52px; font-weight: 800; letter-spacing: -0.02em; }
.v-b2 .h2, .v-b2 .split-title { font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.01em; }
.v-b2 .h3 { font-weight: 700; }
@media (min-width: 900px) {
  .v-b2 .h1 { font-size: 104px; line-height: 100px; max-width: 9em; }
  .v-b2 .h2, .v-b2 .split-title { font-size: 56px; line-height: 60px; }
}
.v-b2 .picker .tabs { padding: 0; gap: var(--s4); }
.v-b2 .picker .tab { padding: 0; font: 700 20px/28px var(--display); letter-spacing: 0; }
.v-b2 .model { display: grid; gap: var(--s5); padding-top: var(--s5); animation: settle 200ms ease-out; }
.v-b2 .model[hidden] { display: none; }
.v-b2 .model .h3 { font-size: 36px; line-height: 40px; }
@media (min-width: 900px) {
  .v-b2 .picker .tabs { gap: var(--s6); }
  .v-b2 .picker .tab { font-size: 24px; line-height: 32px; }
  .v-b2 .model { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s7); padding-top: var(--s6); }
  .v-b2 .model .h3 { font-size: 48px; line-height: 52px; }
}

/* The builder shown working, beside the way into it */
.builder { display: grid; gap: var(--s5); }
.builder-copy { display: grid; gap: var(--s4); align-content: center; justify-items: start; }
.builder-film { aspect-ratio: 1280 / 760; background: #f6f6f5; outline: 1px solid oklch(0 0 0 / 0.1); outline-offset: -1px; }
@media (min-width: 900px) { .builder { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s7); } }

/* Customers' photos: one large and three small, each easing in a little when pointed at */
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin: var(--s6) 0 0; padding: 0; list-style: none; }
.mosaic-item { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.mosaic-item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.mosaic-item img, .detail-photo img { transition: transform 200ms ease-out; }
@media (hover: hover) { .mosaic-item:hover img, .detail:hover .detail-photo img { transform: scale(1.03); } }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(3, 1fr); gap: var(--s3); }
  .mosaic-item, .mosaic-item:first-child { aspect-ratio: auto; }
  .mosaic-item:first-child { grid-column: 1; grid-row: 1 / 4; aspect-ratio: 4 / 3; }
  .mosaic-item:not(:first-child) { position: relative; }
  .mosaic-item:not(:first-child) img { position: absolute; inset: 0; }
}

@media (prefers-reduced-motion: reduce) { .hero-copy > *, .v-b2 .model { animation: none; } }

/* Wylfa's own display face, as on the live site, for the menu and the buttons */
@font-face { font-family: 'microgramma'; src: url('fonts/microgramma.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
.v-b1 .nav a, .v-b1 .btn, .v-b1 .menu-btn, .v-b1 .stage-btn { font-family: 'microgramma', var(--sans); font-size: 13px; line-height: 20px; font-weight: 400; letter-spacing: 0.02em; }

/* Three facts under the hero, set in the heading face at reading size with room round them */
.facts-row { display: grid; margin: 0; padding: var(--s5) 0; list-style: none; }
.facts-item { display: grid; gap: var(--s1); justify-items: center; padding: var(--s3) 0; text-align: center; }
.facts-item strong { font-family: var(--display); font-size: 24px; line-height: 32px; font-weight: 400; letter-spacing: -0.01em; }
.facts-item span { color: var(--text-quiet); font-size: 14px; line-height: 20px; }
@media (min-width: 900px) {
  .facts-row { grid-template-columns: repeat(4, 1fr); padding: var(--s7) 0; }
  .facts-item { padding: 0 var(--s4); border-left: 1px solid var(--line); }
  .facts-item:first-child { border-left: 0; }
  .facts-item strong { font-size: 28px; line-height: 36px; }
}

/* The range title sits level with the arrows that move it */
.range-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s5); }
.range-bar .pager { margin-top: 0; }
.range-bar .pager-count { order: -1; margin: 0 var(--s2) 0 0; }
.v-b1 #range { padding-bottom: var(--s7); }

.pager-btn { width: 44px; height: 44px; }

/* Inner pages open on the page colour with the title in the heading face */
.v-b1 .page-top { padding: var(--s7) 0 var(--s6); }
@media (min-width: 900px) { .v-b1 .page-top { padding: var(--s8) 0 var(--s7); } .v-b1 .page-top .h1 { font-size: 64px; line-height: 68px; max-width: 14em; } }
.v-b1 .page-top .lead { color: var(--text-quiet); }
.v-b1 .wall-ask .btn { font-family: 'microgramma', var(--sans); }

/* Hardtop page: the studio shot beside the name, facts and the way into the builder */
.pdp { padding: var(--s5) 0 var(--s7); }
.pdp-grid { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .pdp { padding: var(--s7) 0 var(--s8); } .pdp-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s7); align-items: center; } .pdp .h1 { font-size: 64px; line-height: 68px; } }
.features { display: grid; gap: var(--s5); margin: 0; padding: 0; list-style: none; }
.feature { display: grid; gap: var(--s2); align-content: start; padding-top: var(--s3); border-top: 1px solid var(--border-control); }
.feature strong { font-family: var(--display); font-size: 24px; line-height: 32px; font-weight: 400; letter-spacing: -0.01em; }
@media (min-width: 900px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); } }
.photo-row { display: grid; gap: var(--s3); margin: 0; padding: 0; list-style: none; }
.photo-item { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
@media (min-width: 620px) { .photo-row { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; } }

/* Shop: the same stage as the range, in a grid, with a price and one button */
.shop-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s4); }
.shop-group { margin-bottom: var(--s5); }
.shop-grid { display: grid; gap: var(--s6) var(--s4); margin: 0; padding: 0; list-style: none; }
@media (min-width: 620px) { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shop-card { display: grid; gap: var(--s2); align-content: start; justify-items: start; }
.shop-card .stage { margin-bottom: var(--s2); }
.shop-card .stage img { object-fit: cover; }
.shop-fit { margin: 0; color: var(--text-quiet); font-size: 14px; line-height: 20px; }
.shop-price { margin: 0; font-weight: 500; }
.shop-card .btn { margin-top: var(--s2); }
.basket-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; margin-left: var(--s2); padding: 0 var(--s1); background: var(--text); color: var(--page); border-radius: 12px; font-family: var(--sans); font-variant-numeric: tabular-nums; }

/* Basket: a panel from the right edge, the page's own dialog */
.basket { width: min(440px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: var(--s4); border: 0; background: var(--page); color: var(--text); overflow-y: auto; }
.basket[open] { display: grid; gap: var(--s4); align-content: start; animation: settle 200ms ease-out; }
.basket::backdrop { background: rgba(0, 0, 0, 0.5); }
.basket-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.basket-lines { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.basket-line { display: grid; grid-template-columns: minmax(0, 1fr) auto 88px; align-items: center; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.basket-sum, .basket-totals dd { text-align: right; font-variant-numeric: tabular-nums; }
.basket-totals { display: grid; gap: var(--s2); margin: 0; }
.basket-totals .spec-fact { grid-template-columns: minmax(0, 1fr) auto; }
.qty { display: inline-flex; align-items: center; gap: var(--s2); }
.qty-n { min-width: 16px; text-align: center; font-variant-numeric: tabular-nums; }
.qty-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 1px solid var(--border-control); color: var(--text); cursor: pointer; transition: border-color var(--hover), transform var(--hover); }
.qty-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; pointer-events: none; }
.qty-btn:active { transform: scale(0.96); }
@media (hover: hover) { .qty-btn:hover { border-color: var(--text); } }
@media (prefers-reduced-motion: reduce) { .basket[open] { animation: none; } }

/* Footer: the live site's three columns in this theme */
.foot-grid { display: grid; gap: var(--s5); padding-bottom: var(--s6); }
.foot-col { display: grid; gap: var(--s1); align-content: start; justify-items: start; }
.foot-logo { width: 132px; height: 44px; object-fit: contain; margin-bottom: var(--s2); }
.foot-title { margin: 0 0 var(--s2); font-family: 'microgramma', var(--sans); font-size: 13px; line-height: 20px; font-weight: 400; letter-spacing: 0.02em; color: var(--on-dark); }
.foot-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark-quiet); text-decoration: none; overflow-wrap: anywhere; }
.foot-col address { font-style: normal; color: var(--on-dark-quiet); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line-on-dark); color: var(--on-dark-quiet); font-size: 14px; line-height: 20px; }
.foot-base p { margin: 0; }
@media (hover: hover) { .foot-link:hover { color: var(--on-dark); text-decoration: underline; } .nav-basket:hover { text-decoration: underline; text-underline-offset: 8px; } .contact-way:hover { text-decoration: underline; } }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; gap: var(--s7); } }

/* Basket in the menu, on the shop */
.nav-basket { display: inline-flex; align-items: center; min-height: 44px; padding: 0; background: none; border: 0; color: var(--text); font-family: 'microgramma', var(--sans); font-size: 13px; line-height: 20px; letter-spacing: 0.02em; cursor: pointer; }

/* About: one column of story with a wide photo between the parts */
.story { padding-bottom: var(--s7); }
.story .wrap { display: grid; gap: var(--s6); }
.story-photo { aspect-ratio: 16 / 9; overflow: hidden; background: var(--line); }
.story-text { display: grid; gap: var(--s3); max-width: 680px; justify-items: start; }
.story-text p { margin: 0; font-size: 18px; line-height: 28px; text-wrap: pretty; }
.story-text .h2:not(:first-child) { margin-top: var(--s5); }
.story-quote { margin: var(--s5) 0 0; padding: var(--s4) 0 0; border-top: 1px solid var(--border-control); display: grid; gap: var(--s3); }
.story-quote blockquote { margin: 0; }
.story-quote blockquote p { font-family: var(--display); font-size: 24px; line-height: 32px; letter-spacing: -0.01em; }
@media (min-width: 900px) { .story { padding-bottom: var(--s8); } .story .wrap { gap: var(--s7); } .story-photo { aspect-ratio: 21 / 9; } .story-text { margin-left: calc(100% / 12 * 2); } }

/* Reviews on the wall: stars drawn as one shape, and some cards on red */
.stars { margin: 0; width: 100px; height: 20px; }
.stars svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.wall-red { background: var(--red); border-color: var(--red); color: var(--on-red); }
.wall-red .body, .wall-red .label { color: var(--on-red); }
.v-b1 .wall-words .label { font-family: var(--sans); }

.contact-way { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.feature .btn { justify-self: start; margin-top: var(--s2); }

@media (min-width: 620px) and (max-width: 899px) { .facts-row { grid-template-columns: 1fr 1fr; } }

/* Red, in small amounts: link underlines, the current menu item, review stars and the footer's top edge */
.link-arrow { text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.nav a[aria-current='page'] { text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.wall-card:not(.wall-red) .stars { color: var(--red); }
.v-b1 .footer { border-top: 2px solid var(--red); }
.story-quote { border-top: 2px solid var(--red); }

/* The slots as the builder draws them (50 by 25 mm on a 60 by 32 mm pitch, each row shifted half a slot), as a cut sheet: each hole is darkest under its top edge, its lower lip catches the light, and a soft sheen crosses the brushed metal. Drawn large down one side and faded out towards the words. */
.slots { position: relative; overflow: hidden; }
.slots > * { position: relative; }
.slots::before { content: ''; position: absolute; inset: 0 0 0 auto; width: min(50%, 680px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='102'%3E%3Cdefs%3E%3ClinearGradient id='h' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23000' stop-opacity='.30'/%3E%3Cstop offset='.45' stop-color='%23000' stop-opacity='.13'/%3E%3Cstop offset='1' stop-color='%23000' stop-opacity='.07'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='8' y='5.5' width='80' height='40' rx='8' fill='url%28%23h%29'/%3E%3Crect x='16' y='46.0' width='64' height='1.5' rx='.75' fill='%23fff' fill-opacity='.95'/%3E%3Crect x='16' y='4.0' width='64' height='1' rx='.5' fill='%23000' fill-opacity='.06'/%3E%3Crect x='-40' y='56.5' width='80' height='40' rx='8' fill='url%28%23h%29'/%3E%3Crect x='-32' y='97.0' width='64' height='1.5' rx='.75' fill='%23fff' fill-opacity='.95'/%3E%3Crect x='-32' y='55.0' width='64' height='1' rx='.5' fill='%23000' fill-opacity='.06'/%3E%3Crect x='56' y='56.5' width='80' height='40' rx='8' fill='url%28%23h%29'/%3E%3Crect x='64' y='97.0' width='64' height='1.5' rx='.75' fill='%23fff' fill-opacity='.95'/%3E%3Crect x='64' y='55.0' width='64' height='1' rx='.5' fill='%23000' fill-opacity='.06'/%3E%3C/svg%3E"), linear-gradient(112deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 72%), repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.018) 0 1px, rgba(0, 0, 0, 0) 1px 3px), linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.02));
  -webkit-mask-image: linear-gradient(to left, #000 8%, transparent 96%), linear-gradient(to bottom, #000 25%, transparent 100%); mask-image: linear-gradient(to left, #000 8%, transparent 96%), linear-gradient(to bottom, #000 25%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
@media all { .slots::before { opacity: 0.35; } }
@media (max-width: 899px) { .slots::before { display: none; } }

/* Hardtops in the menu opens a short list of the four pages */
.nav-drop { position: relative; }
.nav-drop summary { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; list-style: none; cursor: pointer; font-family: 'microgramma', var(--sans); font-size: 13px; line-height: 20px; letter-spacing: 0.02em; color: var(--text); }
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform var(--hover); }
.nav-drop[open] summary svg { transform: rotate(180deg); }
.drop-menu { display: grid; }
.v-b1 .drop-menu a { padding-left: var(--s3); }
@media (min-width: 900px) {
  .drop-menu { position: absolute; top: calc(100% + 14px); left: calc(-1 * var(--s4)); z-index: var(--z-header); min-width: 240px; padding: var(--s2) var(--s4); background: var(--page); border: 1px solid var(--line); border-top: 2px solid var(--red); }
  .v-b1 .drop-menu a { padding-left: 0; }
}
@media (hover: hover) { .nav-drop summary:hover { text-decoration: underline; text-underline-offset: 8px; } }

/* Closing banner: tall, with the words centred in the middle of the photo over an even wash */
.v-b1 .closing { min-height: 560px; align-items: center; }
.v-b1 .closing-photo::after { background: rgba(0, 0, 0, 0.36); }
.v-b1 .closing-copy { justify-items: center; text-align: center; padding-top: var(--s7); padding-bottom: var(--s7); }
.v-b1 .closing-copy .heading-block { justify-items: center; }
.v-b1 .closing-copy .btn-row { justify-content: center; }
@media (min-width: 900px) { .v-b1 .closing { min-height: min(86dvh, 820px); } }

/* Hardtop pages open on a photo a little shorter than the home page's film, so the highlights show below it */
.v-b1 main > .hero:not(:has(video)) { height: min(calc(100dvh - var(--bar)), 760px); }
.v-b1 .pdp-grid .h2 { margin-bottom: var(--s2); }

/* Icons: one thin-line set, drawn to sit beside regular-weight text */
.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.uses { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); margin: 0; padding: 0; list-style: none; }
.use { display: inline-flex; align-items: center; gap: var(--s2); font-size: 14px; line-height: 20px; letter-spacing: 0.02em; }
.use + .use { padding-left: var(--s4); border-left: 1px solid currentColor; }
@media (max-width: 619px) { .use + .use { padding-left: 0; border-left: 0; } }
.spec-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }

.spec-rows { gap: 0; }
.spec-rows .spec-fact { padding: var(--s2) 0; }
.spec-rows .spec-fact + .spec-fact { border-top: 1px solid var(--line); }
/* The banner's words keep to the left edge of the page, however short the name is */
.v-b1 .hero-copy { width: 100%; justify-items: start; text-align: left; }
.spec .uses .use + .use { padding-left: 0; border-left: 0; }
.spec .uses { margin-bottom: var(--s2); }

/* Wylfa's icons: shown alone, with their meaning carried as the accessible name */
.wico { display: block; width: 40px; height: 40px; }
.uses { gap: var(--s3); }
.use + .use { padding-left: 0; border-left: 0; }
.wico-dark { display: none; }
@media all { .wico-light { display: none; } .wico-dark { display: block; } }

/* Every inner page opens on the same block: one height, the title and one line under it, the pattern down the right */
.v-b1 .page-top { display: grid; align-items: center; min-height: 240px; padding: var(--s6) 0; }
.v-b1 .page-top .wrap { width: 100%; }
.v-b1 .page-top .lead { max-width: 34em; }
@media (min-width: 900px) { .v-b1 .page-top { min-height: 360px; padding: var(--s7) 0; } .v-b1 .page-top .h1 { font-size: 64px; line-height: 68px; } }

.v-b1 .page-top { align-items: start; }
@media (min-width: 900px) { .v-b1 .page-top { padding-top: var(--s8); } }

/* Pickup pages */
@media (min-width: 900px) { .features-six { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s6); } .shop-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.answers { display: grid; gap: var(--s6); }
.answer-block { display: grid; gap: var(--s3); align-content: start; }
@media (min-width: 900px) { .answers { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); } }
.compat { width: 100%; border-collapse: collapse; }
.compat th, .compat td { padding: var(--s2) 0; text-align: left; border-bottom: 1px solid var(--line); }
.compat th { font-weight: 500; color: var(--text-quiet); }
.faq { display: grid; margin: 0; }
.faq-item { display: grid; gap: var(--s1); padding: var(--s3) 0; border-top: 1px solid var(--line); }
.faq-item dt { font-weight: 500; }
.faq-item dd { margin: 0; color: var(--text-quiet); }
.also { margin-top: var(--s6); max-width: none; }
.answers a, .also a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 4px; }
.also-fit a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 4px; }

/* A stage holding a photo keeps the stage's shape and fills it */
.stage-photo { background: var(--line); }
.stage-photo img { height: 100%; object-fit: cover; }

/* Mock-ups of the builder, order page and account in this styling */
.mock-note { margin: 0; padding: var(--s2) var(--margin); background: var(--red); color: var(--on-red); font-size: 14px; line-height: 20px; text-align: center; }
.field { display: grid; gap: var(--s2); }
.field-group { display: grid; gap: var(--s2); margin: 0; padding: 0; border: 0; }
.field-label { padding: 0; font-size: 14px; line-height: 20px; font-weight: 500; }
.input { width: 100%; min-height: 48px; padding: 0 var(--s3); background: var(--page); border: 1px solid var(--border-control); border-radius: 0; color: var(--text); font: 400 16px/24px var(--sans); }
.cfg { display: grid; }
.cfg-stage { display: grid; gap: var(--s3); align-content: center; padding: var(--s4) var(--margin); background: #f6f6f5; }
.cfg-stage .stage { outline: 0; background: none; }
.cfg-tools { display: flex; flex-wrap: wrap; gap: 12px; }
.cfg-panel { display: grid; gap: var(--s4); align-content: start; padding: var(--s5) var(--margin) var(--s6); }
@media (min-width: 900px) { .cfg { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: calc(100dvh - var(--bar)); } .cfg-panel { padding: var(--s6); border-left: 1px solid var(--line); } }
.steps { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 20px; color: var(--text-quiet); }
.step { display: inline-flex; align-items: center; gap: var(--s2); }
.step-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--border-control); border-radius: 50%; font-size: 12px; line-height: 16px; }
.step-n svg, .track-mark svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.step.is-now { color: var(--text); font-weight: 500; }
.step.is-now .step-n { background: var(--red); border-color: var(--red); color: var(--on-red); }
.step.is-done .step-n { background: var(--text); border-color: var(--text); color: var(--page); }
.opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s3); min-height: 64px; padding: var(--s2) var(--s3); border: 1px solid var(--border-control); cursor: pointer; transition: border-color var(--hover); }
.opt:has(input:checked) { border-color: var(--text); box-shadow: inset 3px 0 0 var(--red); }
.opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--red); }
.opt-body { display: grid; }
.opt-name { font-weight: 500; }
.opt-line { color: var(--text-quiet); font-size: 14px; line-height: 20px; }
.opt-price { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 14px; line-height: 20px; }
@media (hover: hover) { .opt:hover { border-color: var(--text); } }
@media (max-width: 619px) { .opt { grid-template-columns: auto minmax(0, 1fr); } .opt-price { grid-column: 2; } }
.cfg-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); padding-top: var(--s4); border-top: 1px solid var(--line); }
.cfg-total { display: grid; }
.cfg-total-label { color: var(--text-quiet); font-size: 14px; line-height: 20px; }
.cfg-total-sum { font-family: var(--display); font-size: 24px; line-height: 32px; font-variant-numeric: tabular-nums; }
.order { display: grid; gap: var(--s6); }
.order-main { display: grid; gap: var(--s6); align-content: start; min-width: 0; }
.order-card { display: grid; gap: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--border-control); }
.order-build { display: grid; gap: var(--s4); }
.order-reviews { display: grid; gap: var(--s3); }
.order-reviews .wall-card { margin: 0; }
.order-side { display: grid; gap: var(--s3); align-content: start; padding: var(--s4); background: var(--surface); }
.order-pay { width: 100%; margin-top: var(--s2); }
.order-secure { font-size: 14px; line-height: 20px; }
@media (min-width: 620px) { .order-build { grid-template-columns: 1fr 1fr; align-items: center; } .order-reviews { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .order { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s7); align-items: start; } .order-side { position: sticky; top: calc(var(--bar) + var(--s4)); padding: var(--s5); } }
.track { display: grid; margin: 0; padding: 0; list-style: none; }
.track-step { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--line); color: var(--text-quiet); }
.track-mark { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--border-control); border-radius: 50%; }
.track-state { font-size: 14px; line-height: 20px; }
.track-step.is-done { color: var(--text); }
.track-step.is-done .track-mark { background: var(--text); border-color: var(--text); color: var(--page); }
.track-step.is-now { color: var(--text); font-weight: 500; }
.track-step.is-now .track-mark { border: 2px solid var(--red); background: radial-gradient(circle, var(--red) 0 5px, transparent 6px); }

/* Builder mock-up: progress as a bar of five segments, a quieter title, and room under the group label */
.progress { display: grid; gap: var(--s2); }
.bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s1); }
.bar-seg { height: 4px; background: var(--line); }
.bar-seg.is-on { background: var(--red); }
.bar-label { margin: 0; color: var(--text-quiet); font-size: 13px; line-height: 20px; }
.v-b1 .cfg-title { font-size: 20px; line-height: 28px; font-weight: 500; }
.field-group .field-label { margin-bottom: var(--s3); }

/* Home: the four making steps in a row */
.making { display: grid; gap: var(--s5); margin: var(--s6) 0 0; padding: 0; list-style: none; }
@media (min-width: 620px) { .making { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s4); } }
@media (min-width: 900px) { .making { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.making .detail strong { font-family: var(--display); font-size: 24px; line-height: 32px; font-weight: 400; letter-spacing: -0.01em; }

/* Home: three customers' words on a red band */
.voices { padding: var(--s7) 0; background: var(--red); color: var(--on-red); }
.voices .h2, .voices .link-arrow { color: var(--on-red); }
.voices .link-arrow { text-decoration-color: var(--on-red); }
.voice-row { display: grid; gap: var(--s5); }
.voice { display: grid; gap: var(--s3); align-content: start; margin: 0; padding-top: var(--s3); border-top: 1px solid rgba(255, 255, 255, 0.5); }
.voice blockquote { display: grid; gap: var(--s2); margin: 0; }
.voice-head { margin: 0; font-family: var(--display); font-size: 24px; line-height: 32px; letter-spacing: -0.01em; text-wrap: balance; }
.voice-text { margin: 0; text-wrap: pretty; }
.voice-who { font-size: 14px; line-height: 20px; }
@media (min-width: 900px) { .voices { padding: var(--s8) 0; } .voice-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); } }

/* The testimonial band uses a deeper red than the buttons, so it reads as the brand colour and not as a warning */
.voices { background: #a82117; }
.voices .stars { color: var(--on-red); }

/* Menu icons: log in and the two social accounts, after the build button */
.nav-icons { display: flex; align-items: center; gap: var(--s1); }
.v-b1 .nav .nav-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; min-height: 44px; }
.nav-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .v-b1 .nav .nav-icon:hover { color: var(--red); text-decoration: none; } }
@media (min-width: 900px) { .nav-right { gap: var(--s4); } .nav-left { gap: var(--s4); } }

/* The menu stays on one line: nothing wraps, the bar is wider than the page content, and below 1280 it folds into the menu button */
.v-b1 .nav a, .v-b1 .nav summary, .v-b1 .nav .btn { white-space: nowrap; }
.v-b1 .header .wrap { max-width: 1440px; }
.v-b1 .nav .btn { padding: 0 var(--s3); }
button.nav-icon { position: relative; background: none; border: 0; padding: 0; color: var(--text); cursor: pointer; }
.nav-icon .basket-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; margin: 0; padding: 0 4px; border-radius: 9px; background: var(--red); color: var(--on-red); font-size: 11px; line-height: 18px; text-align: center; }
@media (min-width: 900px) and (max-width: 1279px) {
  .v-b1 .header-row { display: flex; }
  .v-b1 .nav { display: none; }
  .v-b1 .nav.is-open { display: grid; }
  .v-b1 .nav-left, .v-b1 .nav-right { display: grid; justify-content: stretch; gap: 0; }
  .v-b1 .menu-btn { display: inline-flex; }
  .v-b1 .drop-menu { position: static; padding: 0; border: 0; min-width: 0; }
  .v-b1 .drop-menu a { padding-left: var(--s3); }
}

/* Icons sit close together and run out to the bar's right edge. Each keeps its full 44px height to press. */
.nav-icons { gap: 0; margin-right: -6px; }
.v-b1 .nav .nav-icon { width: 34px; }
.nav-icon svg { width: 20px; height: 20px; }
@media (min-width: 1280px) { .v-b1 .header .wrap { padding-right: var(--s4); } .nav-icons { margin-left: calc(-1 * var(--s2)); } }

/* A fainter run of the slot pattern, coming in from the top right corner of a section and gone by the time it reaches the content */
.slots-soft::before { width: min(42%, 560px); height: 320px; inset: 0 0 auto auto; opacity: 0.4;
  -webkit-mask-image: linear-gradient(to left, #000 0%, transparent 92%), linear-gradient(to bottom, #000 0%, transparent 92%); mask-image: linear-gradient(to left, #000 0%, transparent 92%), linear-gradient(to bottom, #000 0%, transparent 92%); }
@media all { .slots-soft::before { opacity: 0.15; } }


/* Headings are in Microgramma, Wylfa's own face. It is much wider than Switzer, so each size is set smaller to hold the same lines. */
.v-b1 .h1, .v-b1 .h2, .v-b1 .split-title, .v-b1 .show-card .spec > .h3 { font-family: 'microgramma', var(--sans); font-weight: 400; letter-spacing: 0; }
.v-b1 .h1 { font-size: 28px; line-height: 36px; }
.v-b1 .h2, .v-b1 .split-title { font-size: 20px; line-height: 28px; }
.v-b1 .show-card .spec > .h3 { font-size: 20px; line-height: 28px; }
@media (min-width: 900px) {
  .v-b1 .h1 { font-size: 52px; line-height: 64px; max-width: 18em; }
  .v-b1 .page-top .h1, .v-b1 .pdp .h1 { font-size: 40px; line-height: 48px; }
  .v-b1 .h2, .v-b1 .split-title { font-size: 28px; line-height: 40px; }
  .v-b1 .show-card .spec > .h3 { font-size: 26px; line-height: 36px; }
}
.v-b1 .cfg-title { font-family: var(--sans); }

/* Range arrows: the logo's orbit with a chevron inside it, the left one mirrored */
.pager .pager-btn { width: 48px; height: 48px; border: 0; border-radius: 50%; }
.pager .pager-btn .orbit-arrow { width: 48px; height: 48px; stroke: none; }
.orbit-arrow .orb * { fill: var(--red); stroke: none; }
.orbit-arrow .chev { fill: none; stroke: currentColor; stroke-width: 2.800; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--hover); }
@media (hover: hover) { .pager .pager-btn:hover .chev { transform: translateX(2px); } .pager .pager-btn[data-step='-1']:hover .chev { transform: translateX(-2px); } }

/* Fact banner: the Welsh flag fading in from the left and the Union flag from the right, both in black and white */
.proof { position: relative; overflow: hidden; }
.proof .wrap { position: relative; }
.flag { position: absolute; top: 0; height: 100%; width: min(30%, 400px); object-fit: cover; filter: grayscale(1) contrast(1.150); opacity: 0.14; pointer-events: none; }
.flag-left { left: 0; object-position: 40% 50%; -webkit-mask-image: linear-gradient(to right, #000 10%, transparent 100%); mask-image: linear-gradient(to right, #000 10%, transparent 100%); }
.flag-right { right: 0; -webkit-mask-image: linear-gradient(to left, #000 10%, transparent 100%); mask-image: linear-gradient(to left, #000 10%, transparent 100%); }
@media (max-width: 899px) { .flag { width: 46%; opacity: 0.09; } }
/* Black version (Cat, 23 Nov 2026): the flags the right way round and stronger, so the Union flag's white crosses and the dragon read clearly. */
@media all { .flag { filter: grayscale(1) contrast(1.2); opacity: 0.24; } }

/* On the Wylfa Range the faint slots sit in the bottom left corner, fading up and to the right */
.slots-soft::before { inset: auto auto 0 0;
  -webkit-mask-image: linear-gradient(to right, #000 0%, transparent 92%), linear-gradient(to top, #000 0%, transparent 92%); mask-image: linear-gradient(to right, #000 0%, transparent 92%), linear-gradient(to top, #000 0%, transparent 92%); }

/* Range arrows as one eclipse: a red crescent on each side, the count between them */
.orbit-arrow path.orb { fill: var(--red); stroke: none; }
.range-bar .pager { gap: 0; }
.range-bar .pager .pager-btn[data-step='1'] { order: 2; }
.range-bar .pager-count { order: 1; margin: 0 var(--s1); }

/* Range arrows inside one full ring: a single red oval round the two chevrons and the count */
.range-bar .pager { border: 2px solid var(--red); border-radius: 999px; padding: 0 var(--s1); }
.orbit-arrow path.orb { display: none; }
.range-bar .pager .pager-btn { width: 44px; height: 44px; }
.range-bar .pager .pager-btn .orbit-arrow { width: 44px; height: 44px; }

/* Review page: range arrow options */
.arrow-opts { display: grid; gap: var(--s6); margin: var(--s6) 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .arrow-opts { grid-template-columns: 1fr 1fr; } }
.arrow-opt { display: grid; gap: var(--s3); align-content: start; justify-items: start; padding-top: var(--s4); border-top: 1px solid var(--line); }
.arrow-big .opt-svg { width: 330px; max-width: 100%; height: auto; }
.arrow-real .opt-svg { width: 132px; height: 48px; }
.opt-svg .ring { fill: none; stroke: var(--red); stroke-width: 2; }
.opt-svg .orbf, .opt-svg .spk { fill: var(--red); }
.opt-svg .chv { fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.opt-svg .rule { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; }
.opt-svg .cnt { fill: var(--text-quiet); font: 400 11px/1 var(--sans); }

/* The Wylfa Range's faint slots: raised a little in the bottom left corner and faded along the diagonal */
.slots-soft::before { width: min(48%, 640px); height: 460px;
  -webkit-mask-image: linear-gradient(to top right, #000 0%, transparent 58%); mask-image: linear-gradient(to top right, #000 0%, transparent 58%);
  -webkit-mask-composite: source-over; mask-composite: add; }
.arrow-real-wide .opt-svg { width: 150px; }
.opt-svg .blk-red { fill: var(--red); }
.opt-svg .blk-ink { fill: var(--text); }
.opt-svg .stk path { fill: none; stroke-width: 9; stroke-linecap: butt; stroke-linejoin: miter; }
.opt-svg .blk-red.stk path { stroke: var(--red); }
.opt-svg .blk-ink.stk path { stroke: var(--text); }
.opt-svg .stk path { stroke-width: 6; }
.opt-svg .blk-ink.stk { transform-box: fill-box; transform-origin: center; transform: scale(0.78); }
.opt-svg .blk-ink.stk path { stroke-width: 7.500; }
.opt-svg .blk-ink.stk path { stroke-width: 6; }

/* Range arrows, as chosen: the logo's orbit and star round each arrow, both facing the same way, with a charcoal arrow inside and the count centred between them */
.range-bar .pager { border: 0; border-radius: 0; padding: 0; gap: 0; align-items: center; }
.range-bar .pager .pager-btn { width: 48px; height: 48px; border: 0; border-radius: 50%; }
.pager-btn .wy-arrow { width: 48px; height: 48px; fill: none; stroke: none; }
.wy-arrow .wy-orbit { fill: var(--red); stroke: none; }
.wy-arrow .wy-stem { transform-box: fill-box; transform-origin: center; transform: scale(0.78); transition: transform var(--hover); }
.wy-arrow .wy-stem path { fill: none; stroke: var(--text); stroke-width: 6; stroke-linecap: butt; stroke-linejoin: miter; }
/* The orbit's ink starts 11px inside its box on the left and runs 4px past it on the right, so the margins are unequal to leave the same clear space each side of the count */
.range-bar .pager-count { order: 1; min-width: 44px; margin: 0 2px 0 16px; text-align: center; }
@media (hover: hover) { .pager-btn:hover .wy-stem { transform: scale(0.78) translateX(3px); } .pager-btn[data-step='-1']:hover .wy-stem { transform: scale(0.78) translateX(-3px); } }

/* Each fact's title stays on one line */
@media (min-width: 900px) { .facts-item { padding: 0 var(--s3); } .facts-item strong { font-size: 24px; line-height: 32px; white-space: nowrap; } }

/* Logo, on page load: the red sweep draws from its tail at the bottom round to the top, then the star lands with a small burst.
   The logo is three stacked layers (lettering, sweep, star) so each can move on its own. It runs once and not at all for reduced motion. */
@property --sweep { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.logo-mark { position: relative; display: block; width: 100%; height: 100%; }
.logo-mark img, .logo-bang { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.v-b1 .logo-mark .logo-light { display: none; }
@media all { .v-b1 .logo-mark .logo-dark { display: none; } .v-b1 .logo-mark .logo-light { display: block; } }
.logo-arc { -webkit-mask-image: conic-gradient(from 0deg at 82.400% 52.500%, transparent 0 var(--sweep), #000 var(--sweep) 250deg, transparent 250deg); mask-image: conic-gradient(from 0deg at 82.400% 52.500%, transparent 0 var(--sweep), #000 var(--sweep) 250deg, transparent 250deg); animation: logo-sweep 750ms cubic-bezier(0.5, 0, 0.9, 0.6) 250ms both; }
@keyframes logo-sweep { from { --sweep: 250deg; } to { --sweep: 0deg; } }
.logo-star { transform-origin: 80.800% 15.300%; animation: logo-star 420ms cubic-bezier(0.2, 1.6, 0.4, 1) 950ms both; }
@keyframes logo-star { from { opacity: 0; transform: scale(0.2) rotate(-40deg); } 60% { opacity: 1; transform: scale(1.5) rotate(8deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
.logo-bang { inset: auto; left: 80.800%; top: 15.300%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 2px solid var(--red); opacity: 0; animation: logo-bang 520ms ease-out 1000ms forwards; }
@keyframes logo-bang { from { opacity: 0.9; transform: scale(0.4); } to { opacity: 0; transform: scale(4.5); } }
@media (prefers-reduced-motion: reduce) { .logo-arc, .logo-star, .logo-bang { animation: none; } .logo-arc { -webkit-mask-image: none; mask-image: none; } }

/* Home hero: the words sit top left over the sky so the pickup stays clear, with the fade at the top behind them. */
@media (min-width: 900px) {
  .v-b1 .hero { align-items: start; }
  .v-b1 .hero-copy { max-width: 1440px; width: 100%; padding-top: var(--s7); padding-bottom: 0; gap: var(--s3); }
  .v-b1 .hero-photo::after { background: linear-gradient(100deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0) 65%), linear-gradient(rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 55%); }
  .v-b1 .hero-copy .h1 { font-size: clamp(2rem, 1.1rem + 1.9vw, 2.5rem); max-width: 18em; }
  .v-b1 .hero-copy .h1, .v-b1 .hero-copy .lead { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45); }
}

/* Shop cards: quantity beside the add button, wrapping under it on a narrow card. */
.shop-buy { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
.shop-buy .add { flex: 1 1 auto; }
.qty-btn:disabled { opacity: 0.4; cursor: default; }

/* Home "Designed and built in the UK" band: four photos cut on one slant with an even gap, on dark charcoal, with the workshop link top right. */
.v-b1 .made-dark { display: block; background: #1c1e1f; }
.made-head { display: grid; gap: var(--s4); align-items: start; }
.made-head .heading-block { max-width: 40em; }
.made-dark .h2 { color: #fff; }
.slant { --cut: 0px; display: grid; gap: var(--s5); margin: var(--s6) 0 0; padding: 0; list-style: none; }
.slant li { display: grid; gap: var(--s2); align-content: start; min-width: 0; }
.slant-photo { aspect-ratio: 4 / 3; overflow: hidden; background: #2a2d2e; }
.slant-photo img { width: 100%; height: 100%; object-fit: cover; }
.slant-light { background: #e4e7e7; }
.slant-light img { mix-blend-mode: multiply; object-fit: contain; padding: 6%; }
.slant-title { margin: var(--s2) 0 0; color: #fff; font-family: 'microgramma', var(--sans); font-weight: 400; font-size: 20px; line-height: 26px; }
.slant .body { max-width: 26em; }
@media (min-width: 900px) {
  .made-head { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s6); }
  .slant { --cut: 56px; display: flex; gap: 0; }
  .slant li { flex: 1 1 0; }
  .slant li + li { margin-left: calc(var(--cut) * -1 + 14px); }
  .slant-photo { aspect-ratio: auto; height: 340px; clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); }
  .slant .body { padding-right: calc(var(--cut) + var(--s3)); }
  /* Titles may wrap to two lines; each keeps two lines of height so the text below them starts level, and stops short of the next column's slant. */
  .slant-title { padding-right: calc(var(--cut) - 14px + var(--s3)); font-size: clamp(15px, 1.3vw, 18px); line-height: 24px; min-height: 48px; text-wrap: balance; }
}

/* Home range: all four hardtops in view at once, two by two on wide screens and one under another on a phone, with no sliding. */
.v-b1 #range .show-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7) var(--s5); overflow: visible; scroll-snap-type: none; }
.v-b1 #range .show-card { flex: none; }
@media (min-width: 900px) {
  .v-b1 #range .show-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-b1 #range .show-card .spec { grid-template-columns: minmax(0, 1fr); }
  .v-b1 #range .show-card .spec > * { grid-column: 1; }
  .v-b1 #range .show-card .spec > .h3 { grid-row: auto; font-size: 28px; line-height: 36px; }
}

/* Shop: the Lazer Lamps logo sits in the bottom right corner of each Lazer flood light photo. */
.shop-card .stage { position: relative; }
.brand-badge { position: absolute; right: var(--s3); bottom: var(--s3); width: 96px; height: auto; pointer-events: none; }
@media (min-width: 900px) { .brand-badge { width: 110px; } }

/* Shop: a short grey strip before the footer that sends people to the hardtop builder. */
.build-strip { background: var(--surface); padding: var(--s6) 0; }
.build-strip-row { display: grid; gap: var(--s4); justify-items: start; }
.build-strip .h2 { margin: 0; font-size: 26px; line-height: 34px; }
.build-strip-copy { display: grid; gap: var(--s2); }
@media (min-width: 900px) { .build-strip-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s6); } .build-strip .h2 { font-size: 32px; line-height: 40px; } }

/* Shop cards: the description row takes up any spare height, so the fit line, price and add button sit level across each row of cards. */
.shop-grid .shop-card { grid-template-rows: auto auto 1fr auto auto auto; align-content: stretch; }

/* Gallery wall: three columns built in the page, one under another on a phone and two across on a tablet. */
.wall-cols { display: grid; gap: 0 var(--s4); align-items: start; margin: var(--s6) 0 0; }
.wall-col { margin: 0; padding: 0; list-style: none; }
@media (min-width: 620px) { .wall-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .wall-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Hardtop pages with Cat's own copy: a headline under the name in the hero, the price above the specification table, and room for five benefits. */
.hero-tag { margin: 0; font-family: 'microgramma', var(--sans); font-size: 20px; line-height: 28px; color: #fff; max-width: 28em; }
.hero-copy .lead { max-width: 40em; }
@media (min-width: 900px) { .hero-tag { font-size: 24px; line-height: 32px; } }
.spec-from { margin: 0; font-family: 'microgramma', var(--sans); font-size: 22px; line-height: 30px; }
/* Four benefits sit two by two rather than three and one. */
@media (min-width: 900px) { .features:has(> .feature:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Hardtop pages: an optional price in the hero, a heading over the benefits, and an add-on with no photo shown by its icon. */
.hero-price { margin: 0; font-family: 'microgramma', var(--sans); font-size: 18px; line-height: 24px; color: #fff; }
.features-title { margin: 0 0 var(--s5); }
.stage-icon { display: grid; place-items: center; aspect-ratio: 1036 / 659; }
.stage-icon .wico { width: 96px; height: 96px; }
/* The Venture opens on the builder drawing, so its headline and price sit in the light panel beside it. */
.pdp-tag { margin: 0; font-family: 'microgramma', var(--sans); font-size: 20px; line-height: 28px; }
.pdp-price { margin: 0; font-family: 'microgramma', var(--sans); font-size: 18px; line-height: 24px; }
/* Hardtop intro headings may run 40px past the text column, enough for "Your pickup. Your equipment. Your setup." to sit on one line. */
@media (min-width: 900px) { .story-text > .h2 { margin-right: -40px; } }
/* Specification tables: the label column is as wide as the longest label, so "Starting price" and the rest sit on one line, and every row's details still start level. */
.spec-rows { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: var(--s4); }
.spec-rows .spec-fact { grid-column: 1 / -1; grid-template-columns: subgrid; }
.spec-rows dt { white-space: nowrap; }
/* A hardtop page with one customer photo shows it as a wide strip rather than a full-width 4:3 block. */
@media (min-width: 620px) { .photo-row:has(> .photo-item:only-child) .photo-item { aspect-ratio: 21 / 9; } }
/* Closing banners now carry busier customer photos, so the shade over them is deeper to keep the white words readable. */
.v-b1 .closing-photo::after { background: rgba(0, 0, 0, 0.5); }

/* Hardtop highlight bar: five icons, each with a short title and one line. */
.hl-bar { background: var(--surface); padding: var(--s6) 0; border-bottom: 1px solid var(--line); }
.hl-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s5) var(--s4); margin: 0; padding: 0; list-style: none; }
.hl-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s3); align-items: start; }
.hl-item .wico { width: 56px; height: 56px; }
.hl-item strong { display: block; font-family: 'microgramma', var(--sans); font-weight: 400; font-size: 17px; line-height: 24px; }
.hl-item .body { margin: var(--s1) 0 0; font-size: 15px; line-height: 22px; }
@media (min-width: 1100px) { .hl-row { grid-template-columns: repeat(5, minmax(0, 1fr)); } .hl-item { grid-template-columns: minmax(0, 1fr); } }

/* Option layers: real photos with the background softly blurred around the part being shown, and labels pinned to the details. */
.layer + .layer { padding-top: 0; }
.layer-head { display: grid; gap: var(--s2); max-width: 44em; margin-bottom: var(--s5); }
.layer-head .h2 { margin: 0; }
.layer-grid { display: grid; gap: var(--s4); }
@media (min-width: 620px) { .layer-2, .layer-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .layer-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Four photos sit two by two, so each is big enough for its labels. */
.anno { margin: 0; display: grid; gap: var(--s2); }
.anno-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.anno-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.anno-plain { background: #f4f5f7; }
.anno-plain img { object-fit: contain; padding: 8%; }
.anno-icon { display: grid; place-items: center; background: var(--surface); }
.anno-icon .wico { width: 30%; height: auto; aspect-ratio: 1; }
.anno-cap { font-family: 'microgramma', var(--sans); font-size: 17px; line-height: 24px; }
.anno-cap span { display: block; margin-top: 2px; font-family: var(--sans); font-size: 15px; color: var(--text-quiet); }
.pin { --sx: 1; position: absolute; left: var(--x); top: var(--y); width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.28), 0 1px 3px rgba(0, 0, 0, 0.4); }
.pin-flip { --sx: -1; }
/* The arm is mirrored as a whole when a label flips, so the leader keeps its angle on the other side. */
.pin-arm { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: scaleX(var(--sx)); }
.pin-line { position: absolute; left: 0; top: 0; height: 1px; background: rgba(255, 255, 255, 0.85); transform-origin: 0 50%; box-shadow: 0 0 2px rgba(0, 0, 0, 0.35); }
.pin-label { position: absolute; left: calc(50% + var(--dx) * var(--sx) + 4px * var(--dir) * var(--sx) + var(--nudge, 0px)); top: calc(50% + var(--dy)); transform: translate(calc((var(--dir) * var(--sx) - 1) * 50%), -50%); width: max-content; max-width: 150px; padding: 4px 8px; background: rgba(18, 18, 18, 0.62); color: #fff; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.01em; border-radius: 2px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@media (max-width: 619px) { .pin-label { max-width: 120px; } }
/* The option layers use the header's wider 1440px column, so the photos come out bigger. */
.v-b1 .layer .wrap { max-width: 1440px; }
.anno-cut { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* The hand-drawn ring: a red marker line with rounded ends, drawn twice slightly offset so it reads as ink rather than a vector. */
.anno-cut .marker { fill: none; stroke: #d32d1f; stroke-width: 3.2px; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: 0.88; }
.anno-cut .marker-2 { stroke-width: 1.4px; opacity: 0.5; transform: translate(0.35px, 0.3px); }

/* Option layers as Cat's sketch: every row runs the full width of the screen, photos edge to edge, rows stacked with no white space.
   The row's name sits on its first photo and each option's name and price sit on its own photo. */
.layers { display: grid; gap: 0; background: #141414; }
.layer-row { position: relative; display: grid; gap: 2px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .layer-2, .layer-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .layer-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .layer-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.layer-row + .layer-row { margin-top: 2px; }
.layers .anno { position: relative; display: block; margin: 0; }
.layers .anno-photo { aspect-ratio: 4 / 3; }
@media (min-width: 620px) { .layers .layer-2 .anno-photo { aspect-ratio: 16 / 9; } }
.layers .anno-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 16px; color: #fff; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.62)); pointer-events: none; }
.layers .anno-cap span { color: #e4e5e3; }
.layers .anno:has(.anno-plain, .anno-icon) .anno-cap { color: #141414; background: none; }
.layers .anno:has(.anno-plain, .anno-icon) .anno-cap span { color: var(--text-quiet); }
.row-tag { position: absolute; z-index: 2; top: 16px; left: 20px; margin: 0; padding: 6px 12px; background: #fff; color: #141414; font-family: 'microgramma', var(--sans); font-size: 14px; line-height: 18px; letter-spacing: 0.02em; pointer-events: none; }
.layers .anno-icon { background: #e9ebec; }
/* Narrow tiles in a four-across row keep their labels short enough to fit beside the dot. */
.layer-4 .pin-label { max-width: 112px; }
@media (max-width: 1099px) { .layer-3 .pin-label { max-width: 112px; } }
/* A slim white gap between the option rows and between the photos in a row. */
.layers { background: #fff; }
.layer-row { gap: 6px; background: #fff; }
.layer-row + .layer-row { margin-top: 6px; }
.layers .anno-photo img { object-position: var(--fx, 50%) var(--fy, 50%); }
@media (max-width: 619px) { .layers .pin-label { max-width: 128px; font-size: 11px; line-height: 14px; } }

/* Labels as handwriting with no box: dark ink with a soft white halo so they read on the faded photo and on the hardtop. */
.layers .pin-label { padding: 0 2px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0;
  font-family: 'Kalam', 'Bradley Hand', cursive; font-weight: 700; font-size: 17px; line-height: 20px; letter-spacing: 0; color: #141414;
  text-shadow: 0 0 3px #fff, 0 0 6px #fff, 0 0 10px rgba(255, 255, 255, 0.9); max-width: 190px; }
.layers .pin-line { background: #141414; height: 1.5px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7); }
.layers .pin { background: #141414; box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgba(255, 255, 255, 0.35); }
@media (max-width: 619px) { .layers .pin-label { font-size: 15px; line-height: 18px; max-width: 140px; } }
.spec-photo img[src*="l200-dogs"] { object-position: 50% 78%; }
/* Extra lines on a label (a dimension, an option) sit underneath as small bullets. */
.pin-sub { display: block; font-size: 0.82em; line-height: 1.15; font-weight: 400; }
.pin-sub::before { content: '• '; }

/* Labels in Patrick Hand, a neat upright handwriting, with each line of words kept whole so the text sits right at the end of its line. */
.layers .pin-label { font-family: 'Patrick Hand', 'Bradley Hand', cursive; font-weight: 400; font-size: 19px; line-height: 21px; white-space: nowrap; max-width: none; }
.layers .pin-sub { font-size: 0.85em; font-weight: 400; }
@media (max-width: 619px) { .layers .pin-label { font-size: 16px; line-height: 18px; } }

/* Labels in Microgramma, the site's heading font, with no box: dark with a soft white halo (Cat's pick, number 17). */
.layers .pin-label { font-family: 'microgramma', var(--sans); font-weight: 400; font-size: 15px; line-height: 20px; letter-spacing: 0.02em; }
.layers .pin-sub { font-size: 0.85em; }
@media (max-width: 619px) { .layers .pin-label { font-size: 11px; line-height: 15px; } }

/* Hardtop first sections: words and buttons bottom left or bottom right, with the shade moved to sit behind them. */
@media (min-width: 900px) {
  .v-b1 .hero.pos-bl, .v-b1 .hero.pos-br { align-items: end; }
  .v-b1 .hero.pos-bl .hero-copy, .v-b1 .hero.pos-br .hero-copy { padding-top: 0; padding-bottom: var(--s7); }
  .v-b1 .hero.pos-bl .hero-photo::after { background: linear-gradient(80deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 38%, rgba(0, 0, 0, 0) 62%), linear-gradient(rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.35) 100%); }
  .v-b1 .hero.pos-br .hero-photo::after { background: linear-gradient(-80deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 38%, rgba(0, 0, 0, 0) 62%), linear-gradient(rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.35) 100%); }
  .v-b1 .hero.pos-br .hero-copy { justify-items: end; text-align: right; }
  .v-b1 .hero.pos-br .hero-copy > * { margin-left: auto; }
  .v-b1 .hero.pos-br .uses, .v-b1 .hero.pos-br .btn-row { justify-content: flex-end; }
}

/* Highlight bar: each title on one line, so the five sit level across the bar. */
@media (min-width: 1100px) { .hl-item strong { white-space: nowrap; font-size: 14px; letter-spacing: 0; } }
/* Home range: the description takes up spare height, so each pair of cards has its buttons level. */
.v-b1 #range .show-card { display: flex; flex-direction: column; }
.v-b1 #range .show-card .spec { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.v-b1 #range .show-card .spec > .btn { margin-top: auto; }
/* Highlight bar: five equal columns, each icon, title and line centred in its column, so the gaps between them read evenly. */
@media (min-width: 1100px) {
  .hl-row { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--s4); }
  .hl-item { justify-items: center; text-align: center; }
  .hl-item .body { max-width: 15em; margin-left: auto; margin-right: auto; }
}
/* The leader stops short of its label, so there is a small gap between the line and the words. The halo is a drop-shadow so it stops with it. */
.layers .pin-line { background: linear-gradient(90deg, #141414 calc(100% - 8px), transparent calc(100% - 8px)); box-shadow: none; filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.95)); }
/* The home band's paragraph is centred under its title: the column takes the title's width and the paragraph adds none of its own. */
.band-copy { grid-template-columns: minmax(0, max-content); }
.band-copy .lead { width: 0; min-width: 100%; max-width: none; text-align: center; }

/* Phone layout, under 620px. Desktop is untouched. Long stacks become swipe rows with the next card showing at the edge, short lists go two by two, and the page's main button stays at the bottom of the screen. */
@media (max-width: 619px) {
  .m-more { display: none; }
  /* The longest headline word ("aluminium") has to fit across a 320px screen. */
  .hero .h1 { font-size: clamp(26px, 7.6vw, 30px); line-height: 1.2; overflow-wrap: anywhere; padding-right: 48px; }
  /* Phone text a size down from desktop: body at 15px, leads at 16px, headings stepped to match. Form fields stay at 16px so iOS does not zoom. */
  .v-b1 .lead, .v-b1 .hero-tag { font-size: 16px; line-height: 24px; }
  .v-b1 .body, .v-b1 p, .v-b1 li, .v-b1 dt, .v-b1 dd, .voice-text { font-size: 15px; line-height: 22px; }
  .v-b1 .h2 { font-size: 19px; line-height: 26px; }
  .v-b1 .show-card .spec > .h3, .v-b1 #range .show-card .spec > .h3, .slant-title, .v-b1 .h3 { font-size: 18px; line-height: 24px; }
  .voice-head, .wall-head, .mini-wall .wall-head { font-size: 18px; line-height: 24px; }
  .hero .hero-tag { font-size: 17px; line-height: 24px; }
  /* A heading and its paragraph always share one alignment. The band's title wraps on a phone, so both sit left. */
  .band-copy .lead { text-align: left; }

  /* Swipe rows: home range, add-ons, reviews and the four making photos; the hardtop option rows and customer photos. */
  .m-swipe, .pdp ~ section .shop-grid-four, .pdp ~ section .photo-row, .mini-wall { display: flex !important; grid-template-columns: none !important; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--margin)); padding-inline: var(--margin); scroll-padding-inline: var(--margin); }
  .pdp ~ section .shop-grid-four::-webkit-scrollbar, .pdp ~ section .photo-row::-webkit-scrollbar, .m-swipe::-webkit-scrollbar, .mini-wall::-webkit-scrollbar { display: none; }
  .m-swipe > *, .pdp ~ section .shop-grid-four > *, .pdp ~ section .photo-row > * { flex: 0 0 82%; min-width: 0; scroll-snap-align: start; margin: 0 !important; }
  .slant.m-swipe > * { transform: none !important; clip-path: none !important; }
  .v-b1 #range .show-row.m-swipe > .show-card { flex: 0 0 82%; width: auto; }
  /* Option photos two across with no scrolling. At half a phone's width the dot-and-line labels cannot be read, so they are hidden and the caption under each photo says what it shows. */
  .layers .layer-row { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 4px; }
  .layers .layer-row > figure { min-width: 0; margin: 0; }
  .layers .anno-photo { aspect-ratio: 1; }
  .layers .pin { display: none; }
  .layers .anno-cap { font-size: 12px; line-height: 16px; }
  .layers .anno-cap span { font-size: 11px; line-height: 15px; }
  .mini-wall .wall-col { display: contents; }
  .mini-wall { align-items: stretch; }
  .mini-wall .wall-card { flex: 0 0 78%; min-height: 340px; margin: 0 !important; scroll-snap-align: start; overflow: hidden; }
  .mini-wall .wall-photo img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
  .mini-wall .wall-words { height: 100%; box-sizing: border-box; }
  .mini-wall .wall-head { font-size: 20px; line-height: 26px; }

  /* Option photo labels at phone size, so they fit a tile half the desktop width. */
  .layers .pin-label { font-size: 11px; line-height: 15px; letter-spacing: 0.01em; }
  .layers .row-tag { top: 10px; left: 10px; padding: 4px 8px; font-size: 11px; line-height: 14px; }

  /* Gallery: photos two across, reviews full width between them. */
  .wall-cols:not(.mini-wall) { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 8px; }
  .wall-cols:not(.mini-wall) .wall-col { display: contents; }
  .wall-cols:not(.mini-wall) .wall-card { margin: 0 !important; }
  .wall-cols:not(.mini-wall) .wall-photo { aspect-ratio: 1; overflow: hidden; }
  .wall-cols:not(.mini-wall) .wall-photo img { width: 100%; height: 100%; object-fit: cover; }
  .wall-cols:not(.mini-wall) .wall-card:not(.wall-photo) { grid-column: 1 / -1; }
  .wall-words { padding: 24px 20px; }

  /* "Made in the UK" strip two by two, and the highlight bar as one short column of icons and titles. */
  .facts-row { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; text-align: left; }
  .facts-item strong { font-size: 16px; line-height: 21px; }
  .facts-item span { font-size: 12px; line-height: 16px; }
  .hl-row { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hl-item { grid-template-columns: 40px minmax(0, 1fr) !important; align-items: center; gap: 12px; min-width: 0; }
  .hl-item .wico { width: 40px; height: 40px; }
  .hl-item .body { display: none; }
  .hl-item strong { font-size: 15px; line-height: 20px; white-space: normal; }

  /* Specification: the list stays, the photo beside it goes. */
  .spec-photo { display: none; }

  /* Footer links tall enough to tap. */
  /* Footer: the Wylfa block across the top, then Vehicles and Customer service side by side, in smaller text. Links stay 36px tall, above the 24px floor. */
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s3); padding-bottom: var(--s4); }
  .foot-grid > .foot-col:first-child { grid-column: 1 / -1; }
  .foot-col { gap: 0; }
  .foot-link { display: flex; align-items: center; min-height: 36px; font-size: 13px; line-height: 18px; }
  .foot-col .body, .foot-col address { font-size: 13px; line-height: 19px; }
  .foot-title { margin-bottom: var(--s1); font-size: 12px; }
  .foot-logo { width: 110px; height: 37px; margin-bottom: var(--s1); }
  .foot-base, .v-b1 .foot-base p { font-size: 12px; line-height: 18px; }
  /* Links inside a sentence keep their place in the line; the padding only makes the tap area taller. */
  .also-fit a, main p.body a { padding-block: 12px; }

}


/* The A starts whole and cracks as the star lands: a filled A sits over the cracked one and drops away at the star's impact. */
.logo-a-fill { animation: logo-crack 70ms linear 1010ms both; }
@keyframes logo-crack { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .logo-a-fill { animation: none; opacity: 0; } }
/* The home page's first section has shorter buttons, with less space either side of the words. */
.v-b1 .hero-home .btn { padding: 0 18px; }
/* Phones: the home page's two first buttons share one line, each taking half the width. */
@media (max-width: 619px) {
  .v-b1 .hero-home .btn-row { flex-wrap: nowrap; gap: 8px; }
  .v-b1 .hero-home .btn { flex: 1 1 0; min-width: 0; padding: 0 8px; font-size: 11px; letter-spacing: 0; white-space: nowrap; }
}
/* Phones: the range row's older desktop rules are more specific than the shared swipe rule, so it is set again here. */
@media (max-width: 619px) {
  .v-b1 #range .show-row.m-swipe { overflow-x: auto !important; overflow-y: hidden; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--margin)) !important; padding-inline: var(--margin) !important; scroll-padding-inline: var(--margin); -webkit-overflow-scrolling: touch; }
}
/* Phones: links such as "See the gallery" beside a section heading stay on one line. */
@media (max-width: 619px) {
  .v-b1 .link-arrow { white-space: nowrap; }
  .v-b1 .range-bar { gap: 4px 12px; flex-wrap: wrap; }
}
@media (max-width: 359px) { .v-b1 .hero-home .btn { font-size: 10px; padding: 0 6px; } .v-b1 .hero-home .btn-row { min-width: 0; } }
/* Phones: each hardtop page's heading stays on one line. All four share one size, set by the longest ("Compact Cargo hardtop", about 14.4 times its font size wide). */
@media (max-width: 619px) {
  .v-b1 .hero:not(.hero-home) .h1 { font-size: calc((100vw - 2 * var(--margin)) / 14.7); line-height: 1.25; white-space: nowrap; padding-right: 0; overflow-wrap: normal; }
}
/* Phones: the pickup pages' "Why choose a Wylfa hardtop?" points go two across with smaller text, so the six fit in about half a screen. */
@media (max-width: 619px) {
  .v-b1 .features-six { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .v-b1 .features-six .feature { gap: 4px; padding-top: 10px; }
  .v-b1 .features-six .feature strong { font-size: 15px; line-height: 20px; }
  .v-b1 .features-six .feature .body { font-size: 13px; line-height: 18px; }
}
/* Phones: the page itself never moves sideways; only the swipe rows do. "clip" rather than "hidden" keeps the sticky header working. */
@media (max-width: 619px) { html, body.v-b1 { overflow-x: clip; } }

/* The black version (23 Nov 2026): the light site's slots are dark shading meant for a white page and vanish on black, so here
   the sheet sits a little lighter than the page, each hole is cut darker, and its lower lip catches a thin highlight. */
.slots::before { opacity: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='102'%3E%3Cdefs%3E%3ClinearGradient id='h' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23000' stop-opacity='.75'/%3E%3Cstop offset='.45' stop-color='%23000' stop-opacity='.5'/%3E%3Cstop offset='1' stop-color='%23000' stop-opacity='.38'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='8' y='5.5' width='80' height='40' rx='8' fill='url%28%23h%29'/%3E%3Crect x='16' y='46.0' width='64' height='1.5' rx='.75' fill='%23fff' fill-opacity='.45'/%3E%3Crect x='16' y='4.0' width='64' height='1' rx='.5' fill='%23000' fill-opacity='.35'/%3E%3Crect x='-40' y='56.5' width='80' height='40' rx='8' fill='url%28%23h%29'/%3E%3Crect x='-32' y='97.0' width='64' height='1.5' rx='.75' fill='%23fff' fill-opacity='.45'/%3E%3Crect x='-32' y='55.0' width='64' height='1' rx='.5' fill='%23000' fill-opacity='.35'/%3E%3Crect x='56' y='56.5' width='80' height='40' rx='8' fill='url%28%23h%29'/%3E%3Crect x='64' y='97.0' width='64' height='1.5' rx='.75' fill='%23fff' fill-opacity='.45'/%3E%3Crect x='64' y='55.0' width='64' height='1' rx='.5' fill='%23000' fill-opacity='.35'/%3E%3C/svg%3E"), linear-gradient(112deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.07) 50%, rgba(255, 255, 255, 0) 72%), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.015) 0 1px, rgba(255, 255, 255, 0) 1px 3px), linear-gradient(rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.045)); }
.slots-soft::before { opacity: 0.6; }

/* Shop, gallery and about, black version (Cat, 23 Nov 2026): the slots stay fixed down the right of the window while the products scroll over
   them, instead of sitting in the top and bottom bands. Desktop only, as the bands are on phones. */
@media (min-width: 900px) {
  body.fixed-slots .slots::before { display: none; }
  body.fixed-slots::before { content: ''; position: fixed; top: var(--bar); right: 0; bottom: 0; width: min(50%, 680px); z-index: 0; pointer-events: none; opacity: 0.7;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='102'%3E%3Cdefs%3E%3ClinearGradient id='h' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23000' stop-opacity='.75'/%3E%3Cstop offset='.45' stop-color='%23000' stop-opacity='.5'/%3E%3Cstop offset='1' stop-color='%23000' stop-opacity='.38'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='8' y='5.5' width='80' height='40' rx='8' fill='url%28%23h%29'/%3E%3Crect x='16' y='46.0' width='64' height='1.5' rx='.75' fill='%23fff' fill-opacity='.45'/%3E%3Crect x='16' y='4.0' width='64' height='1' rx='.5' fill='%23000' fill-opacity='.35'/%3E%3Crect x='-40' y='56.5' width='80' height='40' rx='8' fill='url%28%23h%29'/%3E%3Crect x='-32' y='97.0' width='64' height='1.5' rx='.75' fill='%23fff' fill-opacity='.45'/%3E%3Crect x='-32' y='55.0' width='64' height='1' rx='.5' fill='%23000' fill-opacity='.35'/%3E%3Crect x='56' y='56.5' width='80' height='40' rx='8' fill='url%28%23h%29'/%3E%3Crect x='64' y='97.0' width='64' height='1.5' rx='.75' fill='%23fff' fill-opacity='.45'/%3E%3Crect x='64' y='55.0' width='64' height='1' rx='.5' fill='%23000' fill-opacity='.35'/%3E%3C/svg%3E"), linear-gradient(112deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.07) 50%, rgba(255, 255, 255, 0) 72%), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.015) 0 1px, rgba(255, 255, 255, 0) 1px 3px), linear-gradient(rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.045));
    -webkit-mask-image: linear-gradient(to left, #000 8%, transparent 96%); mask-image: linear-gradient(to left, #000 8%, transparent 96%); }
  body.fixed-slots > main, body.fixed-slots > footer { position: relative; z-index: 1; }
  body.fixed-slots > header { z-index: 2; }
}

/* Black version (Cat, 23 Nov 2026): the Extras tiles on the hardtop pages are white so they stand out from the black page,
   with the lights cut out of their studio backgrounds (img/shop/cut-*.png) so each sits straight on the white. */
.anno-plain, .anno-icon { background: #ffffff; }
.layers .anno:has(.anno-plain, .anno-icon) .anno-cap { color: #141414; }
.layers .anno:has(.anno-plain, .anno-icon) .anno-cap span { color: #515654; }
/* Black version: the gaps between the option tiles are the page's black, so white tiles stand apart, and the row's tag
   turns dark where it sits on a white tile. */
.layers, .layer-row { background: var(--page); }
.layer-row:has(> .anno:first-of-type .anno-plain) .row-tag { background: #141414; color: #f3f3f1; }

/* The range cards side by side share one set of rows (picture, name, description, facts, button, link), so the From,
   Covers and Finish lines start level whatever the descriptions above them wrap to (Cat, 23 Nov 2026). */
@media (min-width: 900px) {
  .v-b1 #range .show-card { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: var(--s3); justify-items: start; }
  .v-b1 #range .show-card > .stage { justify-self: stretch; margin-bottom: var(--s2); }
  .v-b1 #range .show-card .spec { display: contents; }
  .v-b1 #range .show-card .spec > .btn { margin-top: 0; }
}

/* Black version (Cat, 23 Nov 2026): the Wylfa Range's faint slots cover a bigger corner and fade out further. */
.slots-soft::before { width: min(72%, 1040px); height: 900px;
  -webkit-mask-image: linear-gradient(to top right, #000 0%, transparent 70%); mask-image: linear-gradient(to top right, #000 0%, transparent 70%); }

/* The hero subheading breaks before "expert craftsmanship" only where its first half fits on one line. */
.br-wide { display: none; }
@media (min-width: 1100px) { .br-wide { display: inline; } }

/* About page: photo and text side by side, alternating sides each row on desktop; stacked photo-first on phones. */
.zig { padding-bottom: var(--s7); }
.zig .wrap { display: grid; gap: var(--s7); }
.zig-row { display: grid; gap: var(--s4); }
.zig-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); }
.zig-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zig-text { display: grid; gap: var(--s3); align-content: center; max-width: 560px; }
.zig-text p { margin: 0; font-size: 18px; line-height: 28px; text-wrap: pretty; }
@media (min-width: 900px) {
  .zig { padding-bottom: var(--s8); }
  .zig .wrap { gap: var(--s8); }
  .zig-row { grid-template-columns: 5fr 6fr; gap: var(--s7); align-items: center; }
  .zig-row:nth-child(even) { grid-template-columns: 6fr 5fr; }
  .zig-row:nth-child(even) .zig-photo { order: 2; }
  .zig-row:nth-child(even) .zig-text { justify-self: end; }
}

/* About photos: square to keep them shorter than the portrait originals, and on desktop the edge facing the text is cut on the home page's 56px slant. */
.zig-photo { aspect-ratio: 1 / 1; }
@media (min-width: 900px) {
  .zig-row:nth-child(odd) .zig-photo { clip-path: polygon(0 0, 100% 0, calc(100% - 56px) 100%, 0 100%); }
  .zig-row:nth-child(even) .zig-photo { clip-path: polygon(56px 0, 100% 0, 100% 100%, 0 100%); }
}

