/* PETRUS / Charcoal, mineral white, warm orange, soft sage.
   The original monochrome logo is retained. Photo edits are documented in the asset sources. */
:root {
  --paper: #f5f3ed;
  --ink: #1c211f;
  --muted: #515953;
  --line: #c8cdc4;
  --accent: #fa7a4b;
  --accent-ink: #983717;
  --sage: #dce4d8;
  --soft: #e8e9e1;
}
::selection { background: var(--accent); color: var(--ink); }

/* A small amount of colour gives the photographic opening a stronger rhythm. */
.page-home .site-header .header-cta,
.header-cta { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.page-home .site-header .header-cta:hover,
.header-cta:hover { background: var(--paper); color: var(--ink); }
.cinema h1 em { color: #ffa079; }
.cinema-shade {
  background: linear-gradient(90deg, #0c1413bd 0%, #0c14139e 55%, #0c141326 100%),
    linear-gradient(0deg, #0c1413b8, transparent 48%, #0c141333);
}
.cinema-link > span { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.cinema-link:hover > span { background: var(--paper); }
.scene-select[aria-pressed=true],
.scene-select[aria-pressed=true] > span { color: #ffa079; }
.scene-select:after { transition: none; }
.scene-select[aria-pressed=true]:after {
  background: #eebc73;
  height: 3px;
  transform: scaleX(var(--scene-remaining, 1));
}
.cinema-scroll:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* Full-width dark introduction, followed by generous light project pages. */
.material-story,
.cta-band {
  max-width: none;
  padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
}
.material-story { background: var(--ink); color: var(--paper); }
.material-story .eyebrow { color: var(--sage); }
.material-story h2 em { color: var(--accent); }
.manifesto-bottom p { color: #cbd1c9; }
.material-sign { color: var(--sage); }
.manifesto-bottom .text-link { border-color: #8f9a90; }
.manifesto-bottom .text-link:hover { color: var(--accent); border-color: var(--accent); }
.manifesto-arrow {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  background: var(--accent);
  color: var(--ink);
  transform: rotate(-7deg);
}
.project-award { background: var(--paper); color: var(--ink); }
.project-award:hover { background: #fff; }

/* The same accents carry through project categories and small controls. */
.photo-arrow { background: var(--accent); color: var(--ink); }
.project-photo:hover .photo-arrow { background: var(--ink); color: var(--paper); }
.project-card[data-category=architecture] .project-meta > span:first-child { background: var(--ink); color: var(--paper); }
.project-card[data-category=landscape] .project-meta > span:first-child { background: var(--sage); color: var(--ink); }
.project-card[data-category=interiors] .project-meta > span:first-child { background: #f7c5ae; color: var(--ink); }
.project-card h3 a:hover { color: var(--accent-ink); }
.filter-bar button[aria-pressed=true] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-bar button:hover { border-color: var(--ink); }
.filter-bar button[aria-pressed=true]::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 10px;
  background: var(--accent);
  vertical-align: middle;
}

/* A vivid selected tab makes the existing design explorer easier to read. */
.design-lab { background: var(--ink); }
.design-controls button { border-color: #6b756c; padding-inline: 16px; }
.design-controls button[aria-pressed=true] { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.design-controls button:not([aria-pressed=true]):hover { background: #2d3730; color: var(--paper); }
.design-controls > p, .design-caption p { color: #cbd1c9; }
.design-index { color: var(--paper); opacity: 1; text-shadow: 0 2px 20px #0008; }
.design-lab .text-link { border-color: #8f9a90; }

/* A quiet mineral green separates applications from the photo-led sections. */
.services-section { background: var(--sage); }
.service-list, .service-row { border-color: #a1afa2; }
.service-row p { color: #404d43; }
.service-row > span:last-child { background: var(--ink); color: var(--paper); }
.service-row:hover > span:last-child { background: var(--accent); color: var(--ink); }
.method-stamp { background: var(--sage); border-color: var(--sage); }
.steps details[open] .step-no { color: var(--accent-ink); }

/* The strongest colour is reserved for the invitation to start a project. */
.cta-band { background: var(--accent); color: var(--ink); }
.cta-band .button { background: var(--ink); color: var(--paper); }
.cta-band .button:hover { background: #333d35; }
.cta-band .button > span { background: var(--paper); color: var(--ink); }
.social-links a > span { color: var(--accent-ink); }
.social-links a:hover { color: var(--accent-ink); }
.footer-top > div > a.whatsapp-link { display: inline-flex; align-items: center; gap: 8px; }
.whatsapp-link > span { color: var(--accent-ink); font-size: 16px; }
.footer-brandline > span:last-child { border-left: 4px solid var(--accent); padding-left: 20px; }

/* Focus remains visible on both light and dark colour fields. */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
  box-shadow: 0 0 0 5px var(--paper);
}
.material-story a:focus-visible, .design-lab a:focus-visible,
.design-lab button:focus-visible, .cinema a:focus-visible,
.cinema button:focus-visible, .page-home .site-header a:focus-visible,
.page-home .site-header button:focus-visible {
  outline-color: var(--paper);
  box-shadow: 0 0 0 5px var(--ink);
}
.project-form input:focus, .project-form select:focus, .project-form textarea:focus { outline-color: var(--accent-ink); }

/* AutoWallis DSC3597: mirrored edit with readable signage; frame the ARROW cladding on the right. */
.cinema-scene { transition: opacity .85s ease; }
.cinema-scene[data-scene-image="autowallis-3597-mirrored"] img {
  object-position: 78% center;
  transform-origin: 78% 58%;
  scale: 1.65;
}

/* The original issuer's document is available from every page footer. */
.footer-assurance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 36px;
  padding-block: 32px;
  border-top: 1px solid var(--line);
}
.assurance-intro .eyebrow { margin-bottom: 14px; }
.assurance-intro h2 { font-size: 27px; letter-spacing: -.035em; line-height: 1.15; }
.assurance-intro > p:last-child { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.certificate-card { display: flex; align-items: center; gap: 24px; justify-self: end; padding: 4px; }
.certificate-card > img { width: 88px; height: auto; box-shadow: 0 2px 12px #1c211f18; }
.certificate-copy { display: flex; flex-direction: column; min-width: 0; }
.certificate-copy > strong { font-size: 56px; color: #a92129; letter-spacing: -.06em; line-height: 1; margin-bottom: 12px; }
.certificate-copy > strong > span { color: #707675; }
.certificate-link { display: inline-flex; align-items: center; gap: 20px; font-size: 12px; line-height: 1.4; }
.certificate-link > span { font-size: 21px; }
.certificate-copy small { font-size: 9px; color: var(--muted); margin-top: 5px; letter-spacing: .02em; }
.certificate-card:hover .certificate-link { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 560px) {
  .manifesto-arrow { width: 52px; height: 52px; }
  .design-controls { gap: 8px; }
  .design-controls button { padding-inline: 10px; font-size: 20px; }
  .design-controls button > span:last-child { right: 9px; }
  .footer-brandline > span:last-child { padding-left: 10px; border-left-width: 3px; }
  .cinema-scene[data-scene-image="autowallis-3597-mirrored"] img { object-position: 84% center; transform-origin: 70% 55%; scale: 1.07; }
  .footer-assurance { grid-template-columns: 1fr; gap: 22px; padding-block: 28px; }
  .assurance-intro h2 { font-size: 25px; }
  .certificate-card { justify-self: start; gap: 20px; }
  .certificate-card > img { width: 78px; }
  .certificate-copy > strong { font-size: 48px; }
  .certificate-link { gap: 12px; font-size: 11px; }
}
