/*
 * aard.fidgetchartawards.css: brand layer for aardCSS. Load after aard.css.
 *
 * The site is black-led by design: the whole page is dark, and the white content bands are panels
 * (.band-light flips color-scheme to light locally, so every aardCSS light-dark() token follows).
 * One typeface (Asap, self-hosted), one accent (platinum), tracked capitals only for kickers, nav and labels.
 * Hand-written; no theme switch, so no toggle script.
 */

/* ---- Tokens ----------------------------------------------------------------------------- */

:root, ::backdrop {
	color-scheme: dark;

	--aard-background-color: light-dark(#ffffff, #000000);
	--aard-color: light-dark(#0b0b0c, #f2f4f7);
	--aard-muted-color: light-dark(#4a4f57, #b4bac4);
	--aard-muted-border-color: light-dark(#d9dce1, #2a2c31);
	--aard-h1-color: var(--aard-color);
	--aard-h2-color: var(--aard-color);
	--aard-h3-color: var(--aard-color);
	--aard-h4-color: var(--aard-color);
	--aard-h5-color: var(--aard-color);
	--aard-h6-color: var(--aard-color);
	--aard-card-background-color: light-dark(#ffffff, #0d0d0f);
	--aard-card-border-color: var(--aard-muted-border-color);
	--aard-card-sectioning-background-color: light-dark(#f4f5f7, #151518);
	--aard-form-element-background-color: light-dark(#ffffff, #0d0d0f);
	--aard-form-element-border-color: light-dark(#8d939d, #3a3d44);
	--aard-text-selection-color: light-dark(rgba(11, 11, 12, 0.2), rgba(201, 206, 214, 0.35));
	--aard-font-family: "Asap", system-ui, sans-serif;
	--aard-font-heading: "Asap", system-ui, sans-serif;
	--aard-heading-weight: 700;

	/* Platinum: ink on a light band, silver on black */
	--aard-primary: light-dark(#0b0b0c, #d5dae1);
	--aard-primary-background: light-dark(#e9edf2, #1b1d21);
	--aard-primary-hover: light-dark(#32363c, #ffffff);
	--aard-primary-hover-background: light-dark(#0b0b0c, #d5dae1);
	--aard-primary-focus: light-dark(#0b0b0c, #c9ced6);
	--aard-primary-inverse: light-dark(#ffffff, #0b0b0c);
	--aard-primary-underline: light-dark(rgba(11, 11, 12, 0.5), rgba(213, 218, 225, 0.5));

	--fca-black: #000000;
	--fca-ink: #0b0b0c;
	--fca-platinum-1: #c9ced6;
	--fca-platinum-2: #e9edf2;
	--fca-platinum: linear-gradient(135deg, var(--fca-platinum-1), var(--fca-platinum-2));
	--fca-silver: #c9ced6;
	--fca-header-pad: clamp(1rem, 3vw, 2.125rem);
}
/* TODO(Q8): the dark green #023020 of the Joomla site is dropped for platinum. Barry to confirm. */

@font-face { font-family: "Asap"; src: url("../fonts/Asap-Variable.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

/* ---- Base -------------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body { background: var(--aard-background-color); color: var(--aard-color); font-size: 1.0625rem; line-height: 1.6; }
body > header, body > main, body > footer { padding-block: 0; }
section { margin-bottom: 0; }
.region { padding-block: var(--aard-space-m); }
.centre { text-align: center; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: var(--aard-space-s); top: var(--aard-space-s); z-index: 100; padding: .5rem 1rem; background: #fff; color: #000; }

:focus-visible { outline: 2px solid var(--aard-primary-focus); outline-offset: 3px; }

picture { display: contents; }
picture > source { display: none; }
figure { margin: 0; }

.band-black { background: var(--fca-black); }
.band-light { color-scheme: light; background: var(--aard-background-color); color: var(--aard-color); }

/* Links: never browser blue. Ink on white, silver on black, with a quiet underline. */
main a:not(.btn) { text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: var(--aard-primary-underline); }
main a:not(.btn):hover { text-decoration-color: currentColor; }

.kicker { font-size: .8125rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--aard-muted-color); margin: 0; }
.lede { font-size: var(--aard-step-1); color: var(--aard-muted-color); }
.actions { display: flex; flex-wrap: wrap; gap: var(--aard-space-xs); }

/* Buttons: pill, as on the live site. Platinum on black, ink on white. */
.btn { border-radius: 2rem; font-weight: 700; letter-spacing: .04em; }
.btn-primary { background: var(--fca-platinum); border-color: var(--fca-platinum-1); color: var(--fca-ink); }
.btn-primary:hover, .btn-primary:focus-visible { background: #fff; border-color: #fff; color: var(--fca-ink); }
.band-light .btn-primary, .band-light button[type=submit] { background: var(--fca-ink); border-color: var(--fca-ink); color: #fff; }
.band-light .btn-primary:hover, .band-light .btn-primary:focus-visible { background: #32363c; border-color: #32363c; color: #fff; }
.btn-outline { background: transparent; border: 2px solid currentColor; color: var(--aard-color); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--aard-color); border-color: var(--aard-color); color: var(--aard-background-color); }

/* ---- Header and nav ---------------------------------------------------------------------- */

.site-header { position: relative; z-index: 20; background: #000; color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .75rem var(--fca-header-pad); }
.nav-brand { display: block; line-height: 0; flex-shrink: 0; }
.logo { display: inline-block; line-height: 0; }
.logo img { display: block; height: clamp(3.5rem, 7vw, 5.5rem); width: auto; max-width: none; }

.site-header nav { display: block; margin: 0; padding: 0; }
.site-header nav ul { display: flex; margin: 0; padding: 0; list-style: none; }
.site-header nav li { display: block; margin: 0; padding: 0; list-style: none; }
.site-header nav a, .site-header nav summary {
	display: block; margin: 0; padding: .7rem .8rem; color: #fff !important; text-decoration: none; cursor: pointer;
	font-size: .8125rem; font-weight: 400; line-height: 1.2; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
	background: linear-gradient(#fff, #fff) no-repeat 0 calc(100% - .35rem) / 0 2px;
	transition: background-size .3s ease;
}
.site-header nav > ul > li > a:hover, .site-header nav summary:hover,
.site-header nav a[aria-current=page], .site-header .is-current > summary, .site-header .nav-sub[open] > summary { background-size: calc(100% - 1.6rem) 2px; background-position: .8rem calc(100% - .35rem); }
.site-header nav .nav-sub { margin: 0; padding: 0; position: relative; }
.site-header nav summary::after {
	content: ""; float: none; display: inline-block; width: .4em; height: .4em; margin: 0 0 .2em .7em;
	background: none; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); transition: transform .2s;
}
.site-header nav .nav-sub[open] > summary::after { transform: rotate(225deg); margin-bottom: -.1em; }
.site-header nav summary::-webkit-details-marker { display: none; }

.nav-toggle, .nav-burger { display: none; }
.header-inner { position: relative; }

/* Wide: the nav sits in one row; the dropdown is the white panel of the old site */
@media (min-width: 62rem) {
	.site-header nav > ul { align-items: center; gap: .1rem; }
	.site-header nav .nav-sub > ul {
		position: absolute; top: 100%; left: 0; z-index: 30; min-width: 14rem; flex-direction: column; padding: .5rem 0;
		background: #fff; border-radius: 10px; box-shadow: 0 0 30px rgba(0, 0, 0, .35);
	}
	.site-header nav .nav-sub > ul a { color: #0b0b0c !important; padding: .65rem 1.25rem; font-size: .75rem; letter-spacing: .2em; background: none; }
	.site-header nav .nav-sub > ul a:hover, .site-header nav .nav-sub > ul a[aria-current=page] { background: #eef0f3; }
}
@media (min-width: 62rem) and (max-width: 75rem) {
	.site-header nav a, .site-header nav summary { letter-spacing: .14em; padding-inline: .6rem; font-size: .75rem; }
}

/* Narrow: a burger opens a full-width black panel; the plaque types fold inside it */
@media (max-width: 61.99rem) {
	.nav-burger { display: grid; place-items: center; width: 3rem; height: 3rem; cursor: pointer; }
	/* The checkbox stays focusable: it sits invisibly over the burger, so Tab and Space reach it */
	.site-header .nav-toggle {
		display: block; position: absolute; z-index: 41; top: 50%; right: var(--fca-header-pad); width: 3rem; height: 3rem;
		margin: -1.5rem 0 0; padding: 0; opacity: 0; cursor: pointer; clip: auto; clip-path: none; overflow: visible;
	}
	.nav-burger span, .nav-burger span::before, .nav-burger span::after { display: block; width: 1.5rem; height: 2px; background: #fff; content: ""; position: relative; transition: transform .2s, top .2s; }
	.nav-burger span::before { position: absolute; top: -.45rem; }
	.nav-burger span::after { position: absolute; top: .45rem; }
	.nav-toggle:checked ~ .nav-burger span { background: transparent; }
	.nav-toggle:checked ~ .nav-burger span::before { top: 0; transform: rotate(45deg); }
	.nav-toggle:checked ~ .nav-burger span::after { top: 0; transform: rotate(-45deg); }
	.nav-toggle:focus-visible ~ .nav-burger { outline: 2px solid var(--fca-silver); outline-offset: 2px; }
	.site-header nav .nav-menu {
		display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 40; flex-direction: column;
		padding: .5rem var(--fca-header-pad) 1.25rem; background: #000; border-top: 1px solid #222; max-height: calc(100vh - 5rem); overflow-y: auto;
	}
	.nav-toggle:checked ~ .nav-menu { display: flex; }
	.site-header nav .nav-menu a, .site-header nav .nav-menu summary { padding: .95rem 0; font-size: .875rem; letter-spacing: .22em; border-bottom: 1px solid #1d1d20; background-image: none; }
	.site-header nav .nav-sub > ul { flex-direction: column; padding: 0 0 0 1rem; }
	.site-header nav .nav-sub > ul a { color: #c9ced6 !important; }
	.site-header nav a[aria-current=page], .site-header .is-current > summary { color: #fff !important; font-weight: 700; }
}

/* Home: the header floats over the hero */
.is-home .site-header { position: absolute; inset: 0 0 auto 0; background: linear-gradient(#000000cc, transparent); }
@media (max-width: 61.99rem) { .is-home .site-header nav .nav-menu { background: #000; } }

/* ---- Page head (the black intro band on every inner page) -------------------------------- */

.page-head { background: #000; color: #f2f4f7; border-bottom: 1px solid #1d1d20; }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); margin: 0; color: #fff; }
.page-head .kicker { color: var(--fca-silver); }
.page-head .lede { margin: 0; color: var(--fca-silver); font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); font-weight: 400; max-width: 46rem; }

/* ---- Home hero --------------------------------------------------------------------------- */

.home-hero { position: relative; display: grid; grid-template-rows: 1fr auto; min-height: clamp(34rem, 82vh, 50rem); overflow: hidden; background: #000; color: #fff; }
.hero-slides { position: absolute; inset: 0; background: #000; }
.slide { position: absolute; inset: 0; opacity: 0; }
.slide:first-child { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,.12) 50%, transparent 70%); }
.hero-text h1, .hero-line .lede { text-shadow: 0 1px 14px rgba(0,0,0,.55); }
.hero-text { position: relative; z-index: 2; align-self: center; padding-top: 7rem; padding-bottom: 2rem; }
.hero-text > * { max-width: 38rem; }
.hero-text h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.05; margin: 0; color: #fff; font-weight: 500; }
.home-hero .btn-outline { color: #fff; border-color: #fff; }
.home-hero .btn-outline:hover, .home-hero .btn-outline:focus-visible { background: #fff; border-color: #fff; color: var(--fca-ink); }
.hero-line { display: grid; }
.hero-line .lede { grid-area: 1 / 1; margin: 0; color: #e0e4ea; }
.hero-line .line-b { opacity: 0; }
.trust-row { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2rem; list-style: none; margin: 0 0 -2px; padding: 1rem var(--fca-header-pad) calc(1rem + 2px);
	width: 100%; max-width: none; background: linear-gradient(180deg, transparent, #000); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fca-silver); }
.trust-row li { margin: 0; list-style: none; }

@media (prefers-reduced-motion: no-preference) {
	.slide { animation: hero-slide 24s linear infinite; }
	.slide:nth-child(1) { animation-delay: -1.2s; }
	.slide:nth-child(2) { animation-delay: 6.8s; }
	.slide:nth-child(3) { animation-delay: 14.8s; }
	.hero-line .line-a { animation: hero-a 24s linear infinite; }
	.hero-line .line-b { animation: hero-b 24s linear infinite; }
}
@keyframes hero-slide {
	0% { opacity: 0; transform: scale(1.07); }
	5% { opacity: 1; }
	33% { opacity: 1; }
	38% { opacity: 0; transform: scale(1); }
	100% { opacity: 0; transform: scale(1); }
}
@keyframes hero-a { 0%, 29% { opacity: 1; } 33%, 62% { opacity: 0; } 66%, 100% { opacity: 1; } }
@keyframes hero-b { 0%, 29% { opacity: 0; } 33%, 62% { opacity: 1; } 66%, 100% { opacity: 0; } }

/* ---- Home: feature band, steps, photo grid ------------------------------------------------ */

.section-head-centre { text-align: center; max-width: 52rem; margin-inline: auto; }
.section-head-centre h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.2; margin-bottom: .75rem; }
.section-head-centre p { color: var(--aard-muted-color); margin-bottom: 0; }

.feature-grid { display: grid; gap: 2rem; margin-block: var(--aard-space-m); grid-template-columns: 1fr;
	grid-template-areas: "f1" "f2" "photo" "f3" "f4"; }
.feature-1 { grid-area: f1; } .feature-2 { grid-area: f2; } .feature-3 { grid-area: f3; } .feature-4 { grid-area: f4; }
.feature-photo { grid-area: photo; max-width: 18rem; width: 100%; margin-inline: auto; }
.feature-photo img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 1rem 3rem rgba(0,0,0,.6); }
.feature h3 { font-size: .9375rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin-bottom: .5rem; }
.feature p { color: var(--fca-silver); margin: 0; }
@media (min-width: 44rem) {
	.feature-grid { grid-template-columns: 1fr minmax(12rem, 18rem) 1fr; grid-template-areas: "f1 photo f3" "f2 photo f4"; gap: 2rem; align-items: center; }
	.feature-1, .feature-2 { text-align: right; }
}
@media (min-width: 64rem) { .feature-grid { gap: 3rem 3.5rem; } }

.order-steps { list-style: none; padding: 0; margin: var(--aard-space-s) 0 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.order-steps li { margin: 0; padding-top: .75rem; border-top: 1px solid var(--aard-color); font-weight: 600; }
.step-n { display: block; font-size: .8125rem; letter-spacing: .25em; color: var(--aard-muted-color); margin-bottom: .25rem; }

.tiles-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.tile { margin: 0; list-style: none; }
.tile a { display: block; position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 2 / 3; background: #000; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile a::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .3s; }
.tile a:hover img, .tile a:focus-visible img { transform: scale(1.05); }
.tile a:hover::after, .tile a:focus-visible::after { background: rgba(0,0,0,.3); }
@media (min-width: 40rem) { .tiles-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 60rem) { .tiles-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---- Plaque-type cards --------------------------------------------------------------------- */

.card-row { list-style: none; padding: 0; margin: var(--aard-space-s) 0 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 44rem) { .card-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 66rem) { .card-row { grid-template-columns: repeat(5, 1fr); } }
.plaque-card { margin: 0; list-style: none; text-align: center; }
.plaque-card-img { display: block; position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 2 / 3; background: #000; margin-bottom: .75rem; }
.plaque-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.plaque-card:hover .plaque-card-img img { transform: scale(1.05); }
.plaque-card.is-current .plaque-card-img { outline: 2px solid var(--aard-color); outline-offset: 3px; }
.plaque-card h3 { font-size: 1.25rem; margin: 0 0 .35rem; }
.plaque-card h3 a { text-decoration: none; color: inherit; }
.plaque-card h3 a:hover { text-decoration: underline; }
.plaque-card p { font-size: .9375rem; margin: 0; color: var(--aard-muted-color); }
.badge-soon { display: inline-block; font-size: .6875rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 2rem; background: var(--fca-platinum); color: var(--fca-ink); }
.plaque-card-img .badge-soon { position: absolute; top: .6rem; left: .6rem; }

/* ---- Product page ---------------------------------------------------------------------------- */

.product-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
.product-media, .product-copy { min-width: 0; }
.pg-main figure { display: none; background: #0b0b0c; border-radius: 8px; overflow: hidden; }
.pg-main img { display: block; width: 100%; height: auto; max-height: 60vh; object-fit: contain; }
.pg-thumbs { display: flex; gap: .5rem; margin-top: .75rem; padding: 4px; overflow-x: auto; }
.pg-thumbs label { margin: 0; flex: 0 0 4.5rem; width: 4.5rem; aspect-ratio: 1; overflow: hidden; border-radius: 6px; cursor: pointer; opacity: .7; outline-offset: 2px; background: #0b0b0c; }
.pg-thumbs label:hover { opacity: 1; }
.pg-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.order-panel { margin-top: 1.25rem; padding: 1.25rem 1.5rem; border: 1px solid var(--aard-muted-border-color); border-radius: 8px; }
.order-panel .price, .price-card .price { font-size: 2.75rem; font-weight: 700; line-height: 1; margin: .25rem 0 1rem; }
.currency { font-size: .55em; vertical-align: .45em; margin-right: .05em; }
.micro { font-size: .8125rem; color: var(--aard-muted-color); margin: .5rem 0 0; }
.order-panel .badge-soon { margin: .5rem 0 1rem; }

.prose h2 { font-size: var(--aard-step-3); line-height: 1.2; }
.prose h3 { font-size: var(--aard-step-2); }
.spec { margin-top: var(--aard-space-m); }
.spec dl { margin: 0; }
.spec dl > div { display: grid; gap: .5rem 1.5rem; padding: 1rem 0; border-top: 1px solid var(--aard-muted-border-color); }
.spec dt { font-size: .8125rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--aard-muted-color); }
.spec dd { margin: 0; }
.spec ul { list-style: none; padding: 0; margin: 0; }
.spec li { margin: 0 0 .4rem; }
@media (min-width: 40rem) { .spec dl > div { grid-template-columns: 9rem 1fr; } }

@media (min-width: 60rem) {
	.product-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem; align-items: start; }
	.product-media { position: sticky; top: 1.5rem; }
}

/* ---- Gallery wall + lightbox ----------------------------------------------------------------- */

.gallery-wall { background: #000; }
.wall { list-style: none; margin: 0; padding: 0; column-count: 2; column-gap: 1rem; }
.wall li { margin: 0 0 1rem; break-inside: avoid; list-style: none; }
.wall a { display: block; overflow: hidden; border-radius: 8px; background: #0b0b0c; }
.wall img { display: block; width: 100%; height: auto; transition: transform .6s ease; }
.wall a:hover img, .wall a:focus-visible img { transform: scale(1.04); }
@media (min-width: 40rem) { .wall { column-count: 3; } }
@media (min-width: 64rem) { .wall { column-count: 4; } }
@media (min-width: 90rem) { .wall { column-count: 5; } }

dialog#lightbox { padding: 0; border: 0; background: rgba(0, 0, 0, .94); color: #fff; width: 100%; max-width: 100vw; height: 100%; max-height: 100vh; }
dialog#lightbox[open] { display: grid; grid-template-columns: 4rem 1fr 4rem; align-items: center; }
dialog#lightbox::backdrop { background: rgba(0, 0, 0, .94); }
dialog#lightbox figure { grid-column: 2; display: grid; gap: .75rem; justify-items: center; margin: 0; }
dialog#lightbox img { max-width: 100%; max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
dialog#lightbox figcaption { font-size: .9375rem; color: var(--fca-silver); text-align: center; }
dialog#lightbox button { width: 2.75rem; height: 2.75rem; padding: 0; margin: 0; border-radius: 50%; border: 1px solid #555; background: #111; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; justify-self: center; }
dialog#lightbox button:hover { background: #fff; color: #000; }
.lb-prev { grid-column: 1; grid-row: 1; } .lb-next { grid-column: 3; grid-row: 1; }
.lb-close { position: absolute; top: 1rem; right: 1rem; }
@media (max-width: 40rem) { dialog#lightbox[open] { grid-template-columns: 2.75rem 1fr 2.75rem; } dialog#lightbox button { width: 2.25rem; height: 2.25rem; } }

/* ---- Pricing ----------------------------------------------------------------------------------- */

.price-grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .price-grid { grid-template-columns: 1fr 1fr; } }
.price-card { margin: 0; padding: 1.5rem; border: 1px solid var(--aard-muted-border-color); border-radius: 12px; box-shadow: none; background: transparent; display: flex; flex-direction: column; }
.price-card-media { margin-bottom: 1.25rem; }
.price-card-media img { display: block; width: 100%; height: auto; border-radius: 8px; }
.price-card-media.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.price-card h2 { font-size: var(--aard-step-2); margin-bottom: .25rem; }
.price-card h2 a { color: inherit; text-decoration: none; }
.price-card h2 a:hover { text-decoration: underline; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.25rem; flex: 1; }
.ticks li { margin: 0 0 .45rem; color: var(--aard-color); }
.ticks li::before { content: "✓"; margin-right: .6em; font-weight: 700; }

/* ---- Order form ---------------------------------------------------------------------------------- */

.order-form { max-width: none; }
.order-details { border: 1px solid var(--aard-muted-border-color); border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: 1rem; }
.order-details legend { font-weight: 600; padding-inline: .5rem; }
.order-details legend small { font-weight: 400; color: var(--aard-muted-color); }
.form-next { border-left: 3px solid var(--aard-color); padding-left: 1rem; }
#cf-success { color: #1a6b3a; font-weight: 600; }
#cf-error { color: #b42318; font-weight: 600; }

/* ---- FAQ ------------------------------------------------------------------------------------------ */

.faq h2 { font-size: .9375rem; letter-spacing: .22em; text-transform: uppercase; color: var(--aard-muted-color); margin: var(--aard-space-m) 0 .5rem; }
.faq h2:first-child { margin-top: 0; }
.faq details { border: 1px solid var(--aard-muted-border-color); border-radius: 8px; padding: .9rem 1.25rem; margin: 0 0 .6rem; }
.faq summary { font-weight: 600; }
.faq details p { margin-top: .5rem; }

/* ---- Newsletter band (slim) ------------------------------------------------------------------------ */

.newsletter { background: #000; border-top: 1px solid #1d1d20; }
.newsletter-inner { display: grid; gap: 1.25rem; align-items: center; padding-block: 1.75rem; }
.newsletter h2 { font-size: clamp(1.25rem, 2.5vw, 1.625rem); font-weight: 600; margin: 0 0 .4rem; }
.newsletter p { font-size: .9375rem; color: var(--fca-silver); margin: 0; }
.newsletter form { margin: 0; }
.newsletter label { font-size: .8125rem; letter-spacing: .15em; text-transform: uppercase; color: var(--fca-silver); margin-bottom: .35rem; display: block; }
.newsletter [role=group] { margin: 0; }
.newsletter button { white-space: nowrap; background: var(--fca-platinum); border-color: var(--fca-platinum-1); color: var(--fca-ink); font-weight: 700; }
.newsletter button:disabled { opacity: .5; cursor: not-allowed; }
@media (min-width: 52rem) { .newsletter-inner { grid-template-columns: 1.3fr 1fr; gap: 3rem; } }

/* ---- Footer ------------------------------------------------------------------------------------------ */

.site-footer { background: #000; border-top: 1px solid #1d1d20; padding-block: var(--aard-space-m); color: #f2f4f7; }
.site-footer .logo img { height: 4rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 52rem) {
	.footer-grid { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 1.5rem 3rem; }
	.footer-grid > :first-child { grid-row: 1 / 3; }
}
.site-footer .footer-nav ul { display: flex; flex-wrap: wrap; align-content: flex-start; gap: .5rem 1.75rem; list-style: none; padding: 0; margin: 0; }
.site-footer .footer-nav li { margin: 0; padding: 0; list-style: none; }
.footer-nav a { white-space: nowrap; font-size: .8125rem; letter-spacing: .2em; text-transform: uppercase; color: #f2f4f7; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.trust-line { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fca-silver); max-width: 24rem; }
.socials { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--aard-space-xs); margin: 0; }
.socials li { list-style: none; margin: 0; }
.socials a { display: inline-block; min-height: var(--aard-tap-min, 44px); padding: .6rem 1rem; border: 1px solid #555; border-radius: 2rem; color: #f2f4f7; text-decoration: none; font-size: .875rem; }
.socials a:hover { border-color: #fff; }
.footer-meta { margin-top: var(--aard-space-m); color: #aeb4be; }
.footer-meta a { color: #f2f4f7; }

/* ---- Restrained motion: sections rise as they enter, where the browser supports it ---------------------- */

@keyframes rise { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.plaque-card, .price-card, .feature, .order-steps li, .tile { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
	}
}

/* ---- Product photo chooser: radio buttons drive the large photo, no script ---------------------------------
   Generated for up to 12 photos; the music-week page has 11. */
.pg input:nth-of-type(1):checked ~ .pg-main figure:nth-child(1),
.pg input:nth-of-type(2):checked ~ .pg-main figure:nth-child(2),
.pg input:nth-of-type(3):checked ~ .pg-main figure:nth-child(3),
.pg input:nth-of-type(4):checked ~ .pg-main figure:nth-child(4),
.pg input:nth-of-type(5):checked ~ .pg-main figure:nth-child(5),
.pg input:nth-of-type(6):checked ~ .pg-main figure:nth-child(6),
.pg input:nth-of-type(7):checked ~ .pg-main figure:nth-child(7),
.pg input:nth-of-type(8):checked ~ .pg-main figure:nth-child(8),
.pg input:nth-of-type(9):checked ~ .pg-main figure:nth-child(9),
.pg input:nth-of-type(10):checked ~ .pg-main figure:nth-child(10),
.pg input:nth-of-type(11):checked ~ .pg-main figure:nth-child(11),
.pg input:nth-of-type(12):checked ~ .pg-main figure:nth-child(12) { display: block; }

.pg input:nth-of-type(1):checked ~ .pg-thumbs label:nth-child(1),
.pg input:nth-of-type(2):checked ~ .pg-thumbs label:nth-child(2),
.pg input:nth-of-type(3):checked ~ .pg-thumbs label:nth-child(3),
.pg input:nth-of-type(4):checked ~ .pg-thumbs label:nth-child(4),
.pg input:nth-of-type(5):checked ~ .pg-thumbs label:nth-child(5),
.pg input:nth-of-type(6):checked ~ .pg-thumbs label:nth-child(6),
.pg input:nth-of-type(7):checked ~ .pg-thumbs label:nth-child(7),
.pg input:nth-of-type(8):checked ~ .pg-thumbs label:nth-child(8),
.pg input:nth-of-type(9):checked ~ .pg-thumbs label:nth-child(9),
.pg input:nth-of-type(10):checked ~ .pg-thumbs label:nth-child(10),
.pg input:nth-of-type(11):checked ~ .pg-thumbs label:nth-child(11),
.pg input:nth-of-type(12):checked ~ .pg-thumbs label:nth-child(12) { opacity: 1; outline: 2px solid var(--aard-color); }

.pg input:nth-of-type(1):focus-visible ~ .pg-thumbs label:nth-child(1),
.pg input:nth-of-type(2):focus-visible ~ .pg-thumbs label:nth-child(2),
.pg input:nth-of-type(3):focus-visible ~ .pg-thumbs label:nth-child(3),
.pg input:nth-of-type(4):focus-visible ~ .pg-thumbs label:nth-child(4),
.pg input:nth-of-type(5):focus-visible ~ .pg-thumbs label:nth-child(5),
.pg input:nth-of-type(6):focus-visible ~ .pg-thumbs label:nth-child(6),
.pg input:nth-of-type(7):focus-visible ~ .pg-thumbs label:nth-child(7),
.pg input:nth-of-type(8):focus-visible ~ .pg-thumbs label:nth-child(8),
.pg input:nth-of-type(9):focus-visible ~ .pg-thumbs label:nth-child(9),
.pg input:nth-of-type(10):focus-visible ~ .pg-thumbs label:nth-child(10),
.pg input:nth-of-type(11):focus-visible ~ .pg-thumbs label:nth-child(11),
.pg input:nth-of-type(12):focus-visible ~ .pg-thumbs label:nth-child(12) { outline: 3px solid var(--aard-primary-focus); outline-offset: 3px; }

/* ---- Fixes on top of aardCSS rhythm ---------------------------------------------------------------------- */

/* Bands butt together; aardCSS puts a gap between stacked sections. */
.fluid main > section + section { margin-block-start: 0; }
.ticks li, .order-steps li, .card-row li, .tiles-grid li, .wall li { list-style: none; }

/* ---- Theme preview: html[data-theme] = light | dark. No attribute = the black-led design above. ----------- */

html[data-theme=dark] .band-light { color-scheme: dark; }
html[data-theme=dark] .band-light .btn-primary, html[data-theme=dark] .band-light button[type=submit] { background: var(--fca-platinum); border-color: var(--fca-platinum-1); color: var(--fca-ink); }
html[data-theme=dark] .band-light .btn-primary:hover { background: #fff; color: var(--fca-ink); }
html[data-theme=dark] .band-light { border-top: 1px solid #1d1d20; }

html[data-theme=light] { color-scheme: light; }
html[data-theme=light] :is(.page-head, .band-black, .newsletter, .site-footer, .gallery-wall) { color-scheme: light; background: #f3f4f6; color: var(--fca-ink); border-color: #dfe2e7; }
html[data-theme=light] .band-light { background: #fff; }
html[data-theme=light] :is(.page-head h1, .newsletter h2, .feature h3) { color: var(--fca-ink); }
html[data-theme=light] :is(.page-head .kicker, .page-head .lede, .feature p, .newsletter p, .newsletter label, .trust-line, .footer-meta) { color: #4a4f57; }
html[data-theme=light] .footer-nav a, html[data-theme=light] .footer-meta a, html[data-theme=light] .socials a { color: var(--fca-ink); }
html[data-theme=light] .socials a { border-color: #b9bec6; }
html[data-theme=light] .newsletter button { background: var(--fca-ink); border-color: var(--fca-ink); color: #fff; }
html[data-theme=light] body:not(.is-home) .site-header { background: #f3f4f6; }
html[data-theme=light] body:not(.is-home) .site-header nav a, html[data-theme=light] body:not(.is-home) .site-header nav summary { color: var(--fca-ink) !important; background-image: linear-gradient(var(--fca-ink), var(--fca-ink)); }
html[data-theme=light] body:not(.is-home) .site-header nav .nav-sub > ul a { background-image: none; }
html[data-theme=light] body:not(.is-home) .logo img { filter: invert(1); }
html[data-theme=light] .site-footer .logo img { filter: invert(1); }
html[data-theme=light] body:not(.is-home) .nav-burger span, html[data-theme=light] body:not(.is-home) .nav-burger span::before, html[data-theme=light] body:not(.is-home) .nav-burger span::after { background: var(--fca-ink); }
html[data-theme=light] body:not(.is-home) .nav-toggle:checked ~ .nav-burger span { background: transparent; }
@media (max-width: 61.99rem) { html[data-theme=light] body:not(.is-home) .site-header nav .nav-menu { background: #f3f4f6; } }

.theme-switch { margin-left: 1rem; padding: .35rem .9rem; border: 1px solid currentColor; border-radius: 2rem; background: transparent; color: inherit; font: inherit; font-size: .8125rem; cursor: pointer; }

/* Theme switch: no colour transitions while the theme changes, so nothing flashes mid-fade. */
html.theme-changing *, html.theme-changing *::before, html.theme-changing *::after { transition: none !important; }
