/*
  ARQ PRINTERS LIMITED - STYLES
  =============================
  This file is CSS: it controls how the HTML LOOKS.
  A rule reads:   which-elements { property: value; }
  e.g.            h1 { color: red; }   = "make every main heading red"

  A class (written .name here) matches HTML elements with class="name".

  DESIGN IDEA: quiet, confident and mostly white, like good paper.
  One signature move: the hero photo is cut on the same slant as the
  logo's stripes. Red is used sparingly, for actions and key moments.
*/

/* ---------- 1. BRAND COLOURS & SETTINGS ----------
   Defined once here. Change a value here and it changes everywhere.
   These match the brand guide.                                       */
:root {
  --red: #EE2737;        /* Arq Red    - Pantone 1788 C */
  --red-action: #D91F2E; /* red for buttons with white text: passes 4.5:1 contrast */
  --red-dark: #C81E2C;   /* red for text links and hover states */
  --grey: #97999B;       /* Press Grey - Pantone Cool Gray 7 C */
  --ink: #3D3935;        /* Ink        - Pantone Black 7 C */
  --text: #2E2A27;       /* body text, a touch darker than Ink for reading */
  --muted: #66615D;      /* secondary text (passes contrast on white) */
  --line: #E4E2DF;       /* hairlines */
  --stock: #F3F3F2;      /* soft paper-grey background */
  --paper: #FFFFFF;
  --font: "Poppins", Arial, sans-serif;
  --max: 1200px;
  --slant: 0.78;         /* the logo's stripe angle, used for the hero cut */
}

/* ---------- 2. BASICS ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;   /* 17px, but grows if a visitor sets bigger text in their browser */
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -0.025em; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lead { font-size: 19px; line-height: 1.6; color: #4A4541; max-width: 34em; }
.lead.light { color: #D9D5D1; }
.muted-text { color: var(--muted); max-width: 32em; }

/* Keyboard users: always show where focus is */
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { top: 12px; }

/* ---------- 3. BUTTONS & LINKS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 28px;
  font: 600 15px var(--font); text-decoration: none;
  border: 2px solid transparent; border-radius: 3px; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-red { background: var(--red-action); color: #fff; }
.btn-red:hover { background: #B81A27; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.text-link {
  color: var(--red-dark); font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.text-link:hover { color: var(--ink); }

/* ---------- 4. HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { height: 64px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 15px; }
.main-nav a:not(.btn):hover { color: var(--red-dark); }
.main-nav .btn { min-height: 44px; padding: 0 20px; }
.menu-toggle { display: none; }

/* ---------- 5. HERO ---------- */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-text h1 { max-width: 11em; margin-bottom: 28px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-visual { position: relative; margin: 0; height: 540px; }
/* Two big stripes at the logo's angle, behind the photo */
.hero-stripe { position: absolute; top: 0; bottom: 44px; width: 7%; transform: skewX(-15deg); transform-origin: bottom left; }
.hero-stripe-grey { left: -3%; background: linear-gradient(180deg, #C4C6C8, var(--grey)); }
.hero-stripe-red { left: 7%; background: linear-gradient(180deg, #FF5A66, var(--red) 55%, #B5141F); }
/* The photo frame with the slanted cut */
.hero-frame {
  position: absolute; inset: 0 0 44px 16%; overflow: hidden; background: var(--ink);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5);
}
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease; filter: saturate(1.08) contrast(1.04);
}
.hero-slide.is-active { opacity: 1; }
.hero-frame::after { /* soft shade at the bottom so the frame feels finished */
  content: ""; position: absolute; inset: 60% 0 0 0; background: linear-gradient(180deg, transparent, rgba(30,28,26,0.35));
}
/* Printer's crop marks at the corners */
.crop { position: absolute; width: 22px; height: 22px; border-color: var(--ink); border-style: solid; border-width: 0; }
.crop-tl { left: calc(41% - 30px); top: -14px; border-top-width: 1.5px; border-left-width: 1.5px; }
.crop-tr { right: -14px; top: -14px; border-top-width: 1.5px; border-right-width: 1.5px; }
.crop-br { right: -14px; bottom: 30px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
/* CMYK colour bar, like the control strip on a press sheet */
.colour-bar { position: absolute; left: 16%; bottom: 8px; display: flex; gap: 4px; }
.colour-bar i { width: 18px; height: 10px; display: block; transform-origin: left; }
.colour-bar i:nth-child(1) { background: #00A3E0; }
.colour-bar i:nth-child(2) { background: #E5007E; }
.colour-bar i:nth-child(3) { background: #FFE500; }
.colour-bar i:nth-child(4) { background: #1E1C1A; }
.hero-visual figcaption {
  position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted);
}
.hero-pause {
  width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line);
  border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer;
}
.hero-pause:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* One page-load moment, then a slow drift on the photo */
@media (prefers-reduced-motion: no-preference) {
  .hero-frame { animation: wipe 1.1s cubic-bezier(.2,.7,.2,1) both 0.1s; }
  .hero-stripe-grey { animation: stripe-in 0.9s cubic-bezier(.2,.7,.2,1) both 0.55s; }
  .hero-stripe-red { animation: stripe-in 0.9s cubic-bezier(.2,.7,.2,1) both 0.7s; }
  .crop { animation: fade-in 0.6s ease both 1.1s; }
  .colour-bar i { animation: bar-in 0.4s ease both; }
  .colour-bar i:nth-child(1) { animation-delay: 1.2s; }
  .colour-bar i:nth-child(2) { animation-delay: 1.3s; }
  .colour-bar i:nth-child(3) { animation-delay: 1.4s; }
  .colour-bar i:nth-child(4) { animation-delay: 1.5s; }
  .hero-slide.is-active { animation: drift 9s ease-out both; }
}
@keyframes wipe {
  from { clip-path: polygon(100% 0, 100% 0, 70% 100%, 70% 100%); }
  to   { clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); }
}
@keyframes stripe-in { from { transform: skewX(-15deg) translateY(60px); opacity: 0; } to { transform: skewX(-15deg); opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes bar-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drift { from { transform: scale(1.0); } to { transform: scale(1.07); } }
@keyframes rise { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- 6. CLIENTS ---------- */
.clients { padding: 40px 0 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients-title { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-bottom: 28px; }
.client-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px;
}
.client-list li { display: flex; align-items: center; gap: 12px; }
.client-list img {
  max-height: 60px; max-width: 170px; width: auto;
  filter: grayscale(1); opacity: 0.7; mix-blend-mode: multiply;
  transition: filter 0.25s, opacity 0.25s;
}
.client-list li:hover img { filter: none; opacity: 1; }
.client-list span, .client-list .name-only {
  font-weight: 600; font-size: 15px; line-height: 1.3; color: #7A7470; max-width: 13em;
}

/* ---------- 7. SECTIONS ---------- */
.section { padding: 112px 0; scroll-margin-top: 80px; }
.section-stock { background: var(--stock); }
.section-schools { border-top: 1px solid var(--line); }
.school-work { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); }
.school-work h3 { margin-bottom: 24px; }
.school-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.school-strip figure { margin: 0; }
.school-strip img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; background: var(--stock); }
.carton-pair { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.carton-pair figure { margin: 0; }
.carton-pair img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--stock); }
.carton-pair figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); }
.carton-note { margin-top: 16px; font-size: 15px; color: var(--muted); max-width: 46em; }
@media (max-width: 700px) { .carton-pair { grid-template-columns: 1fr; } }
.school-strip figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); }
@media (max-width: 700px) {
  .school-strip { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .school-strip figure { scroll-snap-align: start; }
}
.section-ink { background: var(--ink); }
.section-title { margin-bottom: 56px; }
#clients, #careers, #offices, #quote { scroll-margin-top: 80px; }

/* Split layout: heading on the left, content on the right */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.split-head { position: sticky; top: 120px; display: grid; gap: 20px; justify-items: start; }

/* Services: an open two-column list, not boxes */
.services { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.service { padding: 28px 0; border-top: 1px solid var(--line); }

/* Premium 3D icon tiles: a raised red tile with a soft highlight and shadow */
.icon3d {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: 14px; color: #fff;
  background: linear-gradient(150deg, #FF5A66 0%, #EE2737 45%, #B5141F 100%);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.45), inset 0 -4px 8px rgba(0,0,0,0.22),
              0 10px 20px -8px rgba(200,30,44,0.65), 0 2px 4px rgba(61,57,53,0.12);
}
.icon3d svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 1.5px 1px rgba(90,8,14,0.45)); }
.icon3d svg.fill { fill: currentColor; stroke: none; }
.icon3d-sm { width: 34px; height: 34px; margin: 0; border-radius: 10px; }
.icon3d-sm svg { width: 18px; height: 18px; }
.icon3d-ink { background: linear-gradient(150deg, #6A635E 0%, #4A4440 50%, #2A2623 100%);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.22), inset 0 -4px 8px rgba(0,0,0,0.3), 0 8px 16px -8px rgba(0,0,0,0.6); }
.footer-links a.social { display: inline-flex; align-items: center; gap: 10px; }
.footer-links a.social:hover .icon3d-ink { background: linear-gradient(150deg, #FF5A66 0%, #EE2737 45%, #B5141F 100%); }
.service h3 { margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 16px; }
.service .service-items { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--ink); }
.sectors { margin-top: 64px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.18); display: grid; grid-template-columns: 5fr 7fr; gap: 72px; }
.sectors h3 { color: #fff; }
@media (max-width: 900px) { .sectors { grid-template-columns: 1fr; gap: 16px; } }

/* Work */
.project {
  display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start;
  padding: 56px 0; border-top: 1px solid #DAD8D5;
}
.project:last-child { padding-bottom: 0; }
.project-tag { font-size: 14px; font-weight: 600; color: var(--red-dark); margin-bottom: 12px; }
.project-text h3 { font-size: 26px; letter-spacing: -0.02em; margin-bottom: 20px; }
.project-text p { color: #4A4541; }
.project-client { font-size: 14px; color: var(--muted) !important; margin-top: 24px; }
.project-media img { width: 100%; height: 100%; object-fit: cover; }

.media-kericho { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.media-kericho .logo-panel {
  grid-column: 1 / -1; background: #fff; display: grid; place-items: center; padding: 48px;
}
.media-kericho .logo-panel img { width: 100%; height: auto; max-width: 440px; object-fit: contain; }
.media-kericho { min-width: 0; }
.media-kericho .logo-panel { min-width: 0; }
.media-kericho > img { aspect-ratio: 4 / 3; }

.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.media-grid img { aspect-ratio: 4 / 3; }
.media-grid img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

/* About */
.section-ink h2, .section-ink h3 { color: #fff; }
.statement { font-size: clamp(34px, 4.6vw, 60px); max-width: 15em; margin-bottom: 64px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.values { display: grid; gap: 28px; }
.values > div { border-top: 2px solid var(--red); padding-top: 16px; }
.values h3 { margin-bottom: 4px; }
.values p { color: #C9C5C1; }

/* News: a simple dated list */
.news { border-bottom: 1px solid var(--line); }
.news-item {
  display: grid; grid-template-columns: 220px 1fr; gap: 32px;
  padding: 32px 0; border-top: 1px solid var(--line);
}
.news-item time { font-size: 15px; font-weight: 500; color: var(--muted); padding-top: 2px; }
.news-item h3 { margin-bottom: 8px; }
.news-item p { color: var(--muted); max-width: 44em; }

/* Careers band */
.careers { background: var(--stock); padding: 72px 0; scroll-margin-top: 80px; }
.careers-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.careers h2 { font-size: 32px; margin-bottom: 10px; }
.careers p { color: var(--muted); max-width: 40em; }
.careers .btn { flex-shrink: 0; }

/* Contact + quote */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-info h2 { margin-bottom: 32px; }
.office { padding: 22px 0; border-top: 1px solid var(--line); }
.office h3 { font-size: 17px; margin-bottom: 6px; }
.office p { color: var(--muted); margin-bottom: 8px; }
.office a:not(.text-link) { color: var(--ink); font-weight: 600; text-decoration: none; }

.quote-box { background: var(--stock); padding: 48px; }
.quote-box h2 { font-size: 32px; margin-bottom: 10px; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.quote-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.quote-form .full { grid-column: 1 / -1; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; font: 400 16px var(--font); color: var(--text);
  padding: 13px 14px; border: 1px solid #CBC8C4; border-radius: 3px; background: #fff;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red);
}
.form-error { grid-column: 1 / -1; color: var(--red-dark); font-size: 14px; margin: 0; min-height: 1em; }

/* ---------- 8. FOOTER ---------- */
.site-footer { background: var(--ink); color: #CFCAC6; padding: 56px 0 48px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-logo { height: 76px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.footer-links a { text-decoration: none; font-weight: 500; font-size: 15px; }
.footer-links a:hover { color: #fff; }
.footer-links .staff-mail { border: 1px solid #6E6863; padding: 4px 14px; border-radius: 3px; }
.copyright { width: 100%; margin: 16px 0 0; padding-top: 24px; border-top: 1px solid #55504B; font-size: 14px; }

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(120% 90% at 30% 20%, #3EE07F 0%, #1DB954 45%, #0F7F63 100%);
  box-shadow: inset 0 2px 1px rgba(255,255,255,0.45), inset 0 -5px 10px rgba(0,0,0,0.25),
              0 12px 24px -8px rgba(15,127,99,0.7), 0 3px 6px rgba(0,0,0,0.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float svg { filter: drop-shadow(0 1.5px 1px rgba(0,0,0,0.3)); }
.whatsapp-float:hover { transform: translateY(-2px); }

/* ---------- 9. SMALLER SCREENS ----------
   "@media" rules only apply when the screen is narrower than the number. */
@media (max-width: 1080px) {
  /* The 7 menu links don't fit, so use the menu button */
  .menu-toggle { display: grid; gap: 5px; padding: 10px; background: none; border: 0; cursor: pointer; }
  .menu-toggle .bar { width: 24px; height: 2px; background: var(--ink); }
  .main-nav {
    display: none; position: absolute; top: 80px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 32px 24px;
  }
  .main-nav a { padding: 12px 0; }
  .main-nav .btn { margin-top: 8px; }
  .main-nav.open { display: flex; }   /* js/main.js adds the "open" class */
}

@media (max-width: 960px) {
  .hero-grid, .split, .project, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 400px; }
  .split-head { position: static; }
  .careers-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 56px; }
  .hero-visual { height: 320px; }
  .hero-visual figcaption { font-size: 12px; }
  .crop { display: none; }
  .logo { height: 50px; }
  .services, .quote-form { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }
  .media-kericho .logo-panel { padding: 28px; }
  .quote-box { padding: 28px 20px; }
  .client-list { justify-content: flex-start; }
  .client-list img { max-height: 48px; max-width: 140px; }
}

/* ---------- 10. ACCESSIBILITY EXTRAS ---------- */
/* Required-field marker and form errors */
.req { color: var(--red-dark); font-weight: 600; }
.form-error.ok { color: var(--ink); font-weight: 500; }
.quote-form [aria-invalid="true"] { border-color: var(--red-dark); border-width: 2px; }
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); margin: 0; }
/* Visitors who ask for more contrast in their system settings */
@media (prefers-contrast: more) {
  :root { --muted: #3F3B38; --line: #8A8580; }
  .client-list img { filter: none; opacity: 1; }
}
/* Accessibility page */
.page { padding: 72px 0 112px; }
.page .container { max-width: 820px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 24px; }
.page h2 { font-size: 26px; margin: 48px 0 14px; }
.page ul { padding-left: 1.2em; margin: 0 0 16px; }
.page li { margin-bottom: 8px; }

/* ---------- 11. ACCESSIBILITY MENU (round button, top right) ---------- */
.a11y { position: fixed; right: 16px; top: 96px; z-index: 70; }
.a11y-toggle {
  width: 52px; height: 52px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(120% 90% at 30% 20%, #4F8DF5 0%, #1F5FD1 50%, #123E91 100%);
  box-shadow: inset 0 2px 1px rgba(255,255,255,0.4), inset 0 -5px 10px rgba(0,0,0,0.25),
              0 12px 22px -8px rgba(18,62,145,0.7), 0 3px 6px rgba(0,0,0,0.18);
  transition: transform .2s ease;
}
.a11y-toggle:hover { transform: translateY(-2px); }
.a11y-toggle svg { width: 28px; height: 28px; filter: drop-shadow(0 1.5px 1px rgba(0,0,0,0.3)); }
.a11y-toggle:focus-visible, .a11y-panel button:focus-visible, .a11y-panel a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.a11y-panel {
  position: absolute; right: 0; top: 64px; width: 300px; max-height: calc(100vh - 180px); overflow: auto;
  background: #fff; color: var(--ink); border-radius: 14px; padding: 18px;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.1);
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.a11y-head h2 { font-size: 20px; margin: 0; }
.a11y-close { width: 44px; height: 44px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink); border-radius: 8px; }
.a11y-size { display: flex; align-items: center; justify-content: space-between; padding: 10px 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; font-weight: 500; }
.a11y-size-ctrl { display: flex; align-items: center; gap: 8px; }
.a11y-size-ctrl button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: 600 16px Poppins, Arial, sans-serif; cursor: pointer; color: var(--ink); }
.a11y-size-ctrl output { min-width: 48px; text-align: center; font-weight: 600; }
.a11y-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-options button {
  display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 76px; padding: 10px 6px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  font: 500 13px/1.25 Poppins, Arial, sans-serif; cursor: pointer; text-align: center;
}
.a11y-options button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.a11y-ico { font-size: 20px; line-height: 1; font-weight: 700; }
.a11y-reset { width: 100%; margin-top: 12px; min-height: 44px; border: 0; border-radius: 10px; background: var(--red-action); color: #fff; font: 600 15px Poppins, Arial, sans-serif; cursor: pointer; }
.a11y-help { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 700px) { .a11y { top: 84px; right: 12px; } .a11y-toggle { width: 46px; height: 46px; } .a11y-panel { width: min(300px, calc(100vw - 24px)); } }

/* What each choice does */
html.a11y-zoomed body { zoom: var(--a11y-zoom); }
html.a11y-contrast { --muted: #000; --line: #000; --ink: #000; }
html.a11y-contrast body, html.a11y-contrast p, html.a11y-contrast li { color: #000; }
html.a11y-contrast .section-ink, html.a11y-contrast .site-footer { background: #000; }
html.a11y-contrast .section-ink p, html.a11y-contrast .site-footer, html.a11y-contrast .site-footer a { color: #fff; }
html.a11y-contrast img { filter: contrast(1.15); }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 2px; font-weight: 600; }
html.a11y-font body, html.a11y-font body * { font-family: Verdana, Arial, sans-serif !important; }
html.a11y-spacing body { letter-spacing: 0.05em; word-spacing: 0.16em; }
html.a11y-spacing p, html.a11y-spacing li { line-height: 1.9 !important; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 11-7 1 4 7-3 1.5-4-7-5 4.5z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 4 2, auto !important; }

/* Quote form: two send buttons and the file hint */
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-actions .btn { flex: 1 1 220px; justify-content: center; }
.btn-wa { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #0B6B4F; border: 2px solid #128C7E; }
.btn-wa:hover { background: #EAF7F2; }
.field-hint { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; color: var(--muted); }
.quote-form input[type="file"] { padding: 10px; background: #fff; }

.copyright a { color: inherit; text-decoration: none; }
.copyright a:hover { text-decoration: underline; }

/* ---------- 12. MULTI-PAGE: page headings, service cards, call to action ---------- */
.main-nav a[aria-current="page"]:not(.btn) { color: var(--red-dark, #B81A27); box-shadow: inset 0 -2px 0 currentColor; }
.page-head { padding: 72px 0 32px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); margin: 0 0 12px; }
.page-head .lead { max-width: 40em; margin: 0; color: var(--muted); }
.section-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section-head-row h2 { margin: 0; }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.svc-card {
  display: block; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  color: var(--ink); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.svc-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 18px 36px -18px rgba(61,57,53,0.45); }
.svc-card .icon3d { margin-bottom: 16px; }
.svc-card h3 { font-size: 18px; margin: 0 0 6px; }
.svc-card p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }
.cta-band { background: var(--ink); color: #fff; padding: 72px 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.cta-inner h2 { color: #fff; margin: 0; flex: 1 1 100%; }
.cta-inner p { margin: 0; color: #E4E0DC; flex: 1 1 auto; }
.quote-cta .btn { margin-top: 20px; }

/* Quote popup */
.quote-dialog { width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 16px; overflow: auto; box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5); }
.quote-dialog::backdrop { background: rgba(30,28,26,0.55); backdrop-filter: blur(3px); }
.quote-dialog .quote-box { position: relative; margin: 0; }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; font-size: 30px; line-height: 1; color: var(--ink); cursor: pointer; }
.dialog-close:hover { background: rgba(0,0,0,0.06); }
.dialog-close:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .quote-dialog[open] { animation: dialog-in .28s cubic-bezier(.2,.7,.2,1); }
}
html.a11y-still .quote-dialog[open] { animation: none; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .quote-dialog .quote-box { padding: 28px 18px; } .quote-dialog .quote-form { grid-template-columns: 1fr; } }
/* Keep the red * on the same line as its label */
.quote-form label { display: block; }
.quote-form label input, .quote-form label select, .quote-form label textarea { display: block; width: 100%; margin-top: 6px; }

/* ---------- 13. ABOUT PAGE ---------- */
.eyebrow-line { font-size: 15px; font-weight: 600; color: var(--red-dark, #B81A27); margin: 0 0 12px; }
.story-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.story-grid h2 { margin: 0; }
.story-text p { font-size: 18px; line-height: 1.7; margin: 0 0 18px; color: var(--ink); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: linear-gradient(90deg, var(--grey), var(--red)); }
.timeline li { position: relative; padding-top: 40px; }
.timeline li::before { content: ""; position: absolute; top: 6px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--red); }
.tl-year { display: block; font-weight: 700; font-size: 22px; color: var(--red-dark, #B81A27); margin-bottom: 6px; }
.timeline h3 { font-size: 17px; margin: 0 0 6px; }
.timeline p { font-size: 15px; color: var(--muted); margin: 0; }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.process li { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: #fff; }
.process .step { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 14px; }
.process h3 { font-size: 17px; margin: 0 0 6px; }
.process p { font-size: 15px; color: var(--muted); margin: 0; }
.process-note { margin: 28px 0 0; max-width: 52em; color: var(--muted); }
.values-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.trust-grid > div { border-top: 2px solid var(--red); padding-top: 16px; }
.trust-grid h3 { margin: 0 0 6px; }
.trust-grid p { margin: 0; color: var(--muted); }
@media (max-width: 1080px) {
  .timeline, .process { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .timeline li::before { display: none; }
  .timeline li { padding-top: 0; border-top: 2px solid var(--red); padding-top: 14px; }
}
@media (max-width: 900px) { .story-grid, .values-3, .trust-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 560px) { .timeline, .process { grid-template-columns: 1fr; } }

.section-tight { padding-top: 0; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.mv { background: var(--stock); border-radius: 16px; padding: 32px; border-left: 4px solid var(--red); }
.mv-text { font-size: 22px; line-height: 1.45; font-weight: 500; color: var(--ink); margin: 0; }
@media (max-width: 900px) { .mv-grid { grid-template-columns: 1fr; } .mv-text { font-size: 19px; } }

.sector-cards { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sector-cards li { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); border-top: 3px solid var(--red); border-radius: 12px; padding: 22px; }
.sector-cards h4 { color: #fff; font-size: 17px; margin: 0 0 8px; }
.sector-cards p { color: #D6D1CC; font-size: 15px; margin: 0; }
@media (max-width: 1080px) { .sector-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sector-cards { grid-template-columns: 1fr; } }

/* Why Arq Printers + FAQ */
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.why-grid li { background: #fff; border-radius: 14px; padding: 24px; border-top: 3px solid var(--red); }
.why-grid h3 { font-size: 18px; margin: 0 0 8px; }
.why-grid p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 1080px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.faq-wrap { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; align-items: start; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; color: var(--red); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.faq-item p { margin: 0 0 20px; color: var(--muted); max-width: 46em; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 16px; } }

/* Workshop video band (homepage) */
.workshop { position: relative; overflow: hidden; color: #fff; background: var(--ink); min-height: 520px; display: flex; align-items: center; isolation: isolate; }
.workshop-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3;
  filter: grayscale(.85) contrast(1.08) brightness(.9); transform: scale(1.04); }
.workshop-tint { position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(100deg, rgba(38,34,31,.94) 0%, rgba(38,34,31,.82) 42%, rgba(61,57,53,.35) 100%),
              linear-gradient(0deg, rgba(238,39,55,.22), rgba(238,39,55,.22)); }
.workshop-tint::after { content: ""; position: absolute; inset: 0; opacity: .18;
  background-image: radial-gradient(rgba(255,255,255,.5) 1px, transparent 1.2px); background-size: 4px 4px; }
.workshop-stripe { position: absolute; z-index: -1; top: -10%; bottom: -10%; right: 18%; width: 64px; background: var(--red); opacity: .9; transform: skewX(-38.7deg); }
.workshop-inner { padding-top: 96px; padding-bottom: 96px; }
.workshop h2 { color: #fff; max-width: 12em; margin: 0 0 20px; }
.workshop p { max-width: 34em; color: rgba(255,255,255,.86); font-size: 18px; margin: 0; }
.btn-onink { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-onink:hover { background: #fff; color: var(--ink); }
.workshop-pause { position: absolute; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
  background: rgba(0,0,0,.35); color: #fff; display: grid; place-items: center; cursor: pointer; }
.workshop-pause:hover { background: rgba(0,0,0,.6); }
.workshop-pause:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 900px) {
  .workshop { min-height: 460px; }
  .workshop-stripe { right: -22%; width: 40px; }
  .workshop-tint { background: linear-gradient(180deg, rgba(38,34,31,.88), rgba(38,34,31,.78)), linear-gradient(0deg, rgba(238,39,55,.2), rgba(238,39,55,.2)); }
  .workshop-inner { padding-top: 72px; padding-bottom: 88px; }
}

/* Footer contact line */
.footer-contact { width: 100%; font-style: normal; display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 15px; margin-top: 8px; }
.footer-contact strong { color: #fff; font-weight: 600; }
.footer-contact a { color: inherit; text-decoration: none; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
html.a11y-contrast .footer-contact, html.a11y-contrast .footer-contact a { color: #fff; }
