/* Alumass: all styling. Design tokens first. */

:root {
  --ink: #10171f;          /* text, dark sections */
  --steel: #1b2733;        /* header, hero */
  --steel-2: #2a3a49;      /* borders on dark */
  --muted: #4a5763;        /* secondary text on light (7:1 on white) */
  --muted-dark: #b9c4ce;   /* secondary text on dark */
  --alu: #e8ecef;          /* light section background */
  --alu-2: #d3dae0;        /* borders on light */
  --paper: #ffffff;
  --amber: #f2b300;        /* accent: only as a background behind --ink, or as text on dark */
  --amber-hover: #ffc629;
  --danger: #a3261b;

  --font-display: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 6px;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 4.25rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 85%;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 6.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.875rem, 4.5vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.375rem; font-weight: 700; }

p { margin: 0 0 1em; }

a { color: inherit; text-underline-offset: 0.18em; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-light :focus-visible,
.section--light :focus-visible,
.section--white :focus-visible { outline-color: var(--ink); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--amber);
  color: var(--ink);
  padding: 0.75rem 1rem;
  font-weight: 700;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn svg { width: 1.25rem; height: 1.25rem; flex: none; }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--amber-hover); }
.btn--ghost { border-color: currentColor; color: var(--paper); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--steel-2); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--steel);
  color: var(--paper);
  border-bottom: 1px solid var(--steel-2);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  margin-right: auto;
}
.logo svg { width: 2.25rem; height: 2.25rem; }
.logo span {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: 1.375rem;
  letter-spacing: 0.08em;
}

.site-nav ul {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: 0.75rem 0.75rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  color: var(--muted-dark);
}
.site-nav a:hover { color: var(--paper); text-decoration: underline; }

.header-call { min-height: 2.75rem; padding: 0.5rem 1rem; white-space: nowrap; }
.header-call .long { display: none; }

@media (max-width: 1099px) {
  .site-nav { display: none; }
}
@media (min-width: 480px) {
  .header-call .long { display: inline; }
  .header-call .short { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--steel);
  color: var(--paper);
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.15fr 0.85fr; }
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead {
  font-size: clamp(1.125rem, 2.4vw, 1.3125rem);
  color: var(--muted-dark);
  max-width: 36em;
}

.price-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0;
  padding: 0;
  list-style: none;
}
.price-chips li {
  border: 1px solid var(--steel-2);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  line-height: 1.25;
}
.price-chips .label { display: block; font-size: 0.9375rem; color: var(--muted-dark); }
.price-chips .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.625rem;
}
.price-chips .unit { font-size: 1rem; color: var(--muted-dark); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-note { margin-top: 1rem; font-size: 0.9375rem; color: var(--muted-dark); }

.hero-art { max-width: 18rem; margin: 0 auto; width: 100%; }
@media (min-width: 900px) { .hero-art { max-width: 28rem; } }

/* ---------- Fact strip ---------- */

.facts {
  background: var(--amber);
  color: var(--ink);
}
.facts ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.facts li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  font-weight: 700;
  font-size: 1.0625rem;
}
.facts li + li { border-top: 1px solid rgba(16, 23, 31, 0.2); }
.facts svg { width: 1.75rem; height: 1.75rem; flex: none; }
@media (min-width: 760px) {
  .facts ul { grid-template-columns: repeat(3, 1fr); }
  .facts li { padding: 1.25rem 1.5rem; justify-content: center; }
  .facts li + li { border-top: 0; border-left: 1px solid rgba(16, 23, 31, 0.2); }
}

/* ---------- Sections ---------- */

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--light { background: var(--alu); }
.section--white { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--paper); }

.section-head { max-width: 42rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.1875rem; }
.section--dark .section-head p { color: var(--muted-dark); }
.section--light .eyebrow,
.section--white .eyebrow { color: var(--muted); }
.section--dark .section-head .eyebrow { color: var(--amber); }

/* ---------- Products ---------- */

.products {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .products { grid-template-columns: 1fr 1fr; }
}

.product {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--alu-2);
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
}
.product-art {
  background: var(--steel);
  padding: 1.5rem;
}
.product-art svg { height: 9rem; margin: 0 auto; }
.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.75rem 1.5rem 1.5rem;
}
.product h3 { font-size: 1.625rem; margin-bottom: 0.25rem; }
.product .tag { color: var(--muted); margin-bottom: 1.25rem; }
.product .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.product .price small {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--muted);
}
.product .tax { color: var(--muted); font-size: 1rem; margin-bottom: 1.25rem; }
.product .btn { margin-top: auto; }

.ticks {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.ticks li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.4rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.45em;
  width: 0.55rem;
  height: 0.9rem;
  border: solid var(--ink);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* ---------- More products (no prices) ---------- */

.range {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) { .range { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .range { grid-template-columns: repeat(3, 1fr); } }

.range-group {
  background: var(--paper);
  border: 1px solid var(--alu-2);
  border-radius: calc(var(--radius) * 2);
  padding: 1.5rem;
}
.range-group h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.range-group ul { margin: 0; padding: 0; list-style: none; }
.range-group li { padding: 0.45rem 0; border-top: 1px solid var(--alu-2); }
.range-group li:first-child { border-top: 0; }
.range-group--cta { display: flex; flex-direction: column; background: var(--steel); color: var(--paper); border-color: var(--steel); }
.range-group--cta p { color: var(--muted-dark); }
.range-group--cta .btn { margin-top: auto; }

/* ---------- Colours ---------- */

.swatches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 560px) { .swatches { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .swatches { grid-template-columns: repeat(6, 1fr); } }

.swatch {
  background: var(--paper);
  border: 1px solid var(--alu-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.swatch-chip {
  height: 4.5rem;
  background: var(--c);
  border-bottom: 1px solid var(--alu-2);
  /* a faint sheen so it reads as painted metal */
  background-image: linear-gradient(115deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 45%, rgba(0,0,0,0.06) 100%);
}
.swatch span {
  display: block;
  padding: 0.6rem 0.75rem;
  font-weight: 600;
  font-size: 1rem;
}
.swatch-note { margin-top: 1.5rem; color: var(--muted); font-size: 1rem; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.steps li {
  counter-increment: step;
  border: 1px solid var(--steel-2);
  border-radius: calc(var(--radius) * 2);
  padding: 1.5rem;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
}
.steps h3 { margin-bottom: 0.4rem; }
.steps p { margin: 0; color: var(--muted-dark); }

/* ---------- Why ---------- */

.why {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) { .why { grid-template-columns: repeat(3, 1fr); } }
.why svg { width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; }
.why p { color: var(--muted); margin: 0; }

.trust {
  margin-top: 3rem;
  padding: 1.5rem 1.75rem;
  border-left: 6px solid var(--amber);
  background: var(--alu);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.1875rem;
}
.trust p { margin: 0; }

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

.faq { max-width: 48rem; }
.faq details {
  border-bottom: 1px solid var(--alu-2);
}
.faq details:first-child { border-top: 1px solid var(--alu-2); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  min-height: 3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1875rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 400;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 0.5rem; }

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

.order-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 960px) {
  .order-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
}

.order-side .call-big {
  display: block;
  margin: 1.25rem 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  text-decoration: none;
}
.order-side .call-big--2 { margin-top: 0; }
.order-side .call-big:hover { text-decoration: underline; }
.order-side p { color: var(--muted); }

.order-form {
  background: var(--paper);
  border: 1px solid var(--alu-2);
  border-radius: calc(var(--radius) * 2);
  padding: clamp(1.25rem, 4vw, 2rem);
}

.order-form fieldset {
  border: 0;
  margin: 0 0 1.75rem;
  padding: 0;
}
.order-form legend {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  margin-bottom: 1rem;
  padding: 0;
}

.product-row {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: var(--alu);
  border-radius: var(--radius);
}
.product-row h3 { font-size: 1.1875rem; margin: 0; }
.product-row .price-hint { font-weight: 400; color: var(--muted); font-family: var(--font-body); font-size: 1rem; }
@media (min-width: 560px) {
  .product-row { grid-template-columns: 1fr 1fr; }
  .product-row h3 { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.product-row .field { margin-bottom: 0; }
.field-pair { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-pair { grid-template-columns: 1fr 1fr; } }

.field label { font-weight: 600; }
.field .hint { font-size: 0.9375rem; color: var(--muted); }
.req { color: var(--danger); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.8rem;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid #8a96a1;
  border-radius: var(--radius);
}
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ink); outline: 3px solid var(--amber); outline-offset: 0; }

.estimate {
  margin: 0 0 1.75rem;
  padding: 1rem 1.25rem;
  border: 2px dashed var(--alu-2);
  border-radius: var(--radius);
  font-size: 1.0625rem;
}
.estimate strong { font-family: var(--font-display); font-size: 1.5rem; }
.estimate .est-note { display: block; color: var(--muted); font-size: 0.9375rem; margin-top: 0.25rem; }
.estimate.is-low { border-color: #8a96a1; }
.estimate.is-ok { border-color: #2f7a3e; border-style: solid; }

/* Only shown when the script is running. Without it the form still works. */
.estimate[hidden] { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { color: var(--muted); font-size: 0.9375rem; margin: 0.75rem 0 0; text-align: center; }

/* ---------- Closing CTA ---------- */

.cta-band { text-align: center; }
.cta-band h2 { max-width: 20em; margin-left: auto; margin-right: auto; }
.cta-band p { color: var(--muted-dark); max-width: 36em; margin: 0 auto 2rem; font-size: 1.1875rem; }
.cta-band .hero-actions { justify-content: center; }

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

.site-footer {
  background: var(--steel);
  color: var(--muted-dark);
  padding: 2.5rem 0;
  font-size: 1rem;
}
.site-footer .wrap {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 760px) {
  .site-footer .wrap { grid-template-columns: 1fr auto; align-items: center; }
}
.site-footer .logo { color: var(--paper); margin-bottom: 0.5rem; }
.site-footer p { margin: 0; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 0.35rem; }
.site-footer a { color: var(--paper); }

/* ---------- Simple pages (thanks / error / 404) ---------- */

.simple {
  min-height: 60vh;
  display: grid;
  align-items: center;
  padding: 4rem 0;
}
.simple .wrap { max-width: 40rem; }
.simple p { color: var(--muted); font-size: 1.1875rem; }
.simple .hero-actions { margin-top: 2rem; }

/* ---------- Reveal (armed only when JS + IntersectionObserver exist) ---------- */

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
