/* cinetech.uk: the "Classic" design, chosen 2026-12-04 from the five options (see git history).
   VOICE the old cinetech.uk page, kept as it was and made easier to read
   IDEA the old one-page site: a single centred column over a fixed photo of the machine's rollers
   PICTURE the old background photo of steel rollers and red film, softened, behind the whole page
   COLOUR the photo under a dark veil, white text, charcoal contact band #232323, footer #1c1c1c
   TYPE Roboto 700 in capitals for headings and menu, Roboto 500 text, Roboto Slab for the Kodak table
   LAYOUT logo left and menu right over the photo, one 760px column, dark bands at the foot */

:root {
  color-scheme: dark;
  --ink: #ffffff;
  --band: #232323;
  --foot: #1c1c1c;
  --veil: rgb(14 15 18 / 0.5);
  --col: 760px;
}

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

html { background: #3a3b3f; }

body {
  margin: 0;
  color: var(--ink);
  font: 500 17px/1.6 Roboto, "Segoe UI", Arial, sans-serif;
  text-shadow: 0 1px 3px rgb(0 0 0 / 0.55);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* the photo stays put while the page scrolls over it, as on the old site */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}
body::before {
  z-index: -2;
  background: #3a3b3f url("../img/old-background-soft.webp") center / cover no-repeat;
}
body::after {
  z-index: -1;
  background: var(--veil);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.col { width: min(var(--col), 100% - 2 * max(16px, 4vw)); margin-inline: auto; }

.skip {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 10;
  padding: 8px 14px;
  background: #fff;
  color: #111;
  text-shadow: none;
  transform: translateY(-200%);
}
.skip:focus-visible { transform: none; }

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---- header ---- */
.top__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  padding-block: 22px 10px;
}
.brand { flex: none; }
.brand img { width: auto; height: 64px; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: block;
  padding-block: 6px 3px;
  border-bottom: 2px solid transparent;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { border-bottom-color: rgb(255 255 255 / 0.55); }
.nav a[aria-current="page"] { border-bottom-color: #fff; }

/* ---- page column ---- */
/* one line on a laptop, as on the old page */
h1 {
  margin: 34px 0 18px;
  font-size: clamp(25px, 4.6vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}
@media (max-width: 799px) { h1 { text-wrap: balance; } }

.photo { margin: 0 0 34px; background: #fff; }
.photo img { width: 100%; }

.text p { margin: 0 0 1.25em; }

/* the Kodak table, set like the picture of it on the old page */
.kodak {
  margin: 0 0 36px;
  padding: 6px;
  background: #fff;
  color: #151515;
  text-shadow: none;
  font-family: "Roboto Slab", Rockwell, Georgia, serif;
  font-weight: 300;
}
.scroll { overflow-x: auto; }
.kodak table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.3; }
.kodak th,
.kodak td { padding: 4px 6px; border: 1px solid #555; vertical-align: middle; }
.kodak thead th { background: #f0f0f0; font-weight: 400; text-align: center; }
.kodak tbody th { font-weight: 300; text-align: left; }
.kodak td { text-align: center; }
.kodak td.c-bp,
.kodak td.c-cost { white-space: nowrap; }
.kodak td.c-comments { text-align: left; }
.kodak tr.is-excellent { background: #f0f0f0; }
.kodak tr.is-excellent th,
.kodak tr.is-excellent td { font-weight: 500; }
.solvent__name,
.solvent__alt { display: block; }
.kodak .table-note { padding: 6px 4px 2px; font-family: Roboto, Arial, sans-serif; font-size: 13px; text-align: center; }

.bullets { margin: 0 0 40px; padding-left: 1.2em; }
.bullets li { margin-block: 0.2em; }

/* ---- videos: the old page's YouTube players ---- */
.video { margin: 0 0 28px; text-shadow: none; }
.video__link,
.video__player {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}
.video__link img { width: 100%; height: 100%; object-fit: cover; }
.video__link::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 90px;
  background: linear-gradient(rgb(0 0 0 / 0.62), transparent);
}
.video__title {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 18px;
  right: 18px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}
.video__play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  translate: -50% -50%;
}
.video__play svg { display: block; width: 100%; height: 100%; }
.yt-bg { fill: #212121; fill-opacity: 0.8; }
.yt-arrow { fill: #fff; }
.video__link:hover .yt-bg,
.video__link:focus-visible .yt-bg { fill: #f00; fill-opacity: 1; }

.video-heading {
  margin: 10px 0 14px;
  font-size: clamp(20px, 2.6vw, 25px);
  font-weight: 300;
  line-height: 1.25;
  text-align: center;
}

/* ---- testimonials ---- */
.testimonials { padding-top: 22px; }
.band {
  margin: 0 0 26px;
  padding: 12px 16px;
  background: rgb(28 28 30 / 0.6);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}
.quote { margin: 0 0 34px; }
.quote blockquote { margin: 0; }
.quote p { margin: 0 0 1em; }
.quote figcaption { font-weight: 700; text-align: right; }

.downloads-block { padding: 8px 0 64px; text-align: center; }
.downloads__lead { margin: 0 0 6px; }
.downloads { margin: 0; padding: 0; list-style: none; }
.downloads a { font-weight: 700; text-underline-offset: 0.2em; }

/* ---- contact: charcoal band with the old notch at the top ---- */
.contact {
  padding: 66px 0 74px;
  background: var(--band);
  text-align: center;
  text-shadow: none;
  clip-path: polygon(0 0, calc(50% - 16px) 0, 50% 16px, calc(50% + 16px) 0, 100% 0, 100% 100%, 0 100%);
}
.contact h2 { margin: 0 0 18px; font-size: 26px; font-weight: 700; }
.contact__line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: clamp(19px, 2.4vw, 22px);
  font-weight: 400;
}
.contact__icon { flex: none; width: 20px; height: 14px; }
.env { fill: #fff; }
.flap { fill: none; stroke: var(--band); stroke-width: 1.6; }
.contact__email {
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.45);
  text-underline-offset: 0.22em;
  overflow-wrap: anywhere;
}
.contact__email:hover { text-decoration-color: #fff; }

/* ---- footer ---- */
.foot { padding: 40px 0 46px; background: var(--foot); text-align: center; text-shadow: none; }
.foot img { width: auto; height: 92px; margin: 0 auto 26px; }
.foot p { margin: 0; padding-top: 22px; border-top: 1px solid #3a3a3a; font-size: 15px; font-weight: 700; }
.foot__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 28px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 400;
}
.foot__links a,
.foot__links button {
  padding: 0;
  border: 0;
  background: none;
  color: #d6d6d6;
  font: inherit;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.35);
  text-underline-offset: 0.22em;
  cursor: pointer;
}
.foot__links a:hover,
.foot__links button:hover { color: #fff; text-decoration-color: #fff; }

/* ---- cookie banner (markup before </body>, shown by assets/js/analytics.js) ---- */
/* a plain bar at the foot of the screen; Accept and Reject look the same, so saying no
   is as easy as saying yes. The page gets room at the bottom while it shows. */
body { padding-bottom: var(--consent-space, 0px); }
.consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 20;
  padding: 18px 0;
  background: #f4f4f4;
  color: #1c1c1c;
  text-shadow: none;
  border-top: 3px solid #fff;
  box-shadow: 0 -8px 24px rgb(0 0 0 / 0.35);
}
.consent[hidden] { display: none; }
.consent__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  width: min(1100px, 100% - 2 * max(16px, 4vw));
  margin-inline: auto;
}
.consent__text { flex: 1 1 26rem; margin: 0; font-size: 15px; font-weight: 400; line-height: 1.5; }
.consent__text a { font-weight: 700; text-underline-offset: 0.2em; }
.consent__actions { display: flex; gap: 12px; }
.consent__button {
  min-width: 7.5rem;
  min-height: 44px;
  padding: 8px 20px;
  border: 2px solid #232323;
  background: #232323;
  color: #fff;
  font: 700 15px/1 Roboto, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.consent__button:hover { background: #000; border-color: #000; }
.consent :focus-visible { outline-color: #232323; }

/* ---- privacy page and page not found: plain text in the same column ---- */
.prose { padding: 8px 0 64px; font-weight: 400; }
.prose .updated { margin: 0 0 8px; color: #d6d6d6; font-size: 15px; }
.prose h2 { margin: 34px 0 10px; font-size: 21px; font-weight: 700; }
.prose p,
.prose li { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 1.3em; }
.prose code { font: 500 0.92em/1 "Roboto Mono", Consolas, monospace; }
.prose a { text-decoration-color: rgb(255 255 255 / 0.55); text-underline-offset: 0.2em; }

/* ---- phones ---- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand img { height: 54px; }
  .top nav { flex: 1 1 100%; }
  .nav { justify-content: space-between; gap: 2px 12px; }
  .nav a { font-size: 13.5px; }

  /* the table becomes one card per solvent */
  .kodak { padding: 0; background: transparent; }
  .stack thead { display: none; }
  .stack,
  .stack tbody,
  .stack tr,
  .stack th { display: block; }
  .stack tr { margin: 0 0 8px; padding: 10px 12px; background: #fff; }
  .kodak tr.is-excellent { background: #f0f0f0; }
  .stack tbody th { padding: 0 0 6px; border: 0; }
  .stack td {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 4px 0;
    border: 0;
    border-top: 1px solid #ddd;
    text-align: right;
  }
  .kodak td.c-comments { text-align: right; }
  .stack td::before { content: attr(data-l); flex: none; font-weight: 500; text-align: left; }
  .kodak .table-note { padding: 10px 12px; background: #fff; }

  .video__title { font-size: 14px; top: 10px; left: 12px; }
  .video__play { width: 56px; height: 40px; }

  .consent__actions { flex: 1 1 100%; }
  .consent__button { flex: 1; }
}

@media print {
  body::before, body::after { display: none; }
  body { color: #000; text-shadow: none; }
  .skip, .top nav, .consent, .foot__links { display: none; }
}
