/*
© Copyright 1990-2026 Toptronic® Ltd, all rights reserved; no part of this document may be reproduced, modified or stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, without the prior written permission of Toptronic Limited.
For copyright inquiries: jacques@toptronic.com
  HOCWS :: House Of Concepts Website — CSS Styles Part 4 of 6
  Project: House Of Concepts Web Site (HOCWS) — www.houseofconcepts.co.za
  Generated: 2026-08-08T11:55:59+1000
  Audience: Jacques (French, hardware/C bg), Ryan (14), Ava (9), Students (15-23)
  Continuation from styles_003.css
  This file contains: section rhythm, why cards, services grid,
    partner-quote band, CTA band, reveal animation, footer.
  Content continues in styles_005.css (timeline, about, contact, 404).
*/

/* ============================================================
   SECTION 10: SECTION RHYTHM + EYEBROWS
   -- .section is the vertical breathing room of every band.
   -- The "eyebrow" is the small tracked label above a heading —
     on light sections it is taupe-dark (AA-safe text); the bright
     taupe is kept for dark bands only (Plan 002 A.3 law).
   ============================================================ */
.section { padding: var(--sp-3xl) var(--sp-lg); }
.section-dark { background: var(--clr-charcoal); color: var(--clr-light); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--clr-white); }

.section-head { max-width: 800px; margin: 0 auto var(--sp-2xl); text-align: center; }
.eyebrow,
.section-head .eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--clr-taupe-dark);
  font-weight: 600;
  display: block;
  margin-bottom: var(--sp-sm);
}
.section-dark .eyebrow,
.section-dark .section-head .eyebrow { color: var(--clr-taupe); }
.section-head h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: var(--sp-md); text-wrap: balance; }
.section-head p { font-size: 1.05rem; opacity: 0.85; margin-left: auto; margin-right: auto; }

/* ============================================================
   SECTION 11: CARDS — why strip + services grid
   -- Cards sit flat and calm until you touch them; the shadow is
     earned on hover, not shouted all the time. The taupe top bar
     is decoration on a light card, which the taupe law allows.
   -- Hover effects are gated behind (hover: hover) so touch users
     never get stuck states.
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  max-width: var(--max-width);
  margin: 0 auto;
}
.why-strip .card-grid { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--clr-white);
  border: var(--frame-thin) solid var(--clr-hairline);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  box-shadow: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--clr-taupe);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans-normal);
}
@media (hover: hover) {
  .card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .card:hover::before { transform: scaleX(1); }
}
.card-icon { width: 40px; height: 40px; color: var(--clr-charcoal); margin-bottom: var(--sp-md); }
.card-title { font-size: 1.15rem; margin-bottom: var(--sp-xs); text-wrap: balance; }
/* The outcome line is accent TEXT on a light card, so taupe-dark */
.card-outcome { font-weight: 600; color: var(--clr-taupe-dark); font-size: 0.95rem; margin-bottom: var(--sp-sm); }
.card-desc { font-size: 0.95rem; opacity: 0.85; margin-bottom: 0; }

/* ============================================================
   SECTION 12: PARTNER QUOTE (Decision 0035, D4)
   -- The customers-say line on the home page: a centered band,
     one hairline, no card, no gradient. ~720px measure. The two
     partner-brand links are the only playful moment in the band:
     point at one (or Tab to it) and it grows and lights up taupe.
   -- Symmetric with the sibling site: same component, both sites.
   ============================================================ */
.partner-quote {
  padding: var(--sp-md) var(--sp-lg);
  border-bottom: var(--frame-thin) solid var(--clr-hairline);
  text-align: center;
}
.partner-quote p {
  margin: 0 auto;
  max-width: 720px;              /* same comfortable measure as .cta-band p */
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--clr-text);
}
/* The partner link is inline text that must scale — transform needs a
   block-ish box, so inline-block. Underline at rest: colour alone must
   never be the only "I am a link" signal (WCAG 1.4.1). Taupe-dark text
   on the light band = 5.59:1, AA pass. */
.partner-quote-link {
  display: inline-block;
  font-weight: 600;
  color: var(--clr-taupe-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  border-radius: var(--radius-sm);
  transition: transform var(--trans-fast),
              color var(--trans-fast),
              background-color var(--trans-fast);
}
/* Hover AND keyboard focus get the IDENTICAL treatment — parity is the
   rule: anything the mouse sees, the Tab key must see too. The grow is
   "it gets bigger" (Jacques' words); the wash is taupe at 28%. The
   small-screen 1.06 variant lives in styles_006.css. */
.partner-quote-link:hover,
.partner-quote-link:focus-visible {
  transform: scale(1.12);
  color: var(--clr-charcoal);
  background-color: rgba(164, 156, 144, 0.28);  /* --clr-taupe at 28% — literal rgba (older-browser house rule) */
}

/* ============================================================
   SECTION 13: CTA BAND — dark, asks for the business
   -- One taupe action on charcoal, the same grammar as the hero.
   ============================================================ */
.cta-band {
  background: var(--clr-charcoal);
  color: var(--clr-light);
  text-align: center;
  padding: var(--sp-3xl) var(--sp-lg);
}
.cta-band h2 {
  color: var(--clr-white);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: var(--sp-md);
  text-wrap: balance;
  line-height: 1.2;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band p {
  max-width: 720px;
  margin: 0 auto var(--sp-xl);
  color: var(--clr-grey);
  font-size: 1.1rem;
}

/* ============================================================
   SECTION 14: REVEAL-ON-SCROLL
   -- .reveal starts hidden+shifted; JS adds .revealed once.
     380ms: snappy, not sleepy. The reduced-motion off-switch for
     this lives in the safety net at the END of styles_006.css.
   ============================================================ */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 380ms, transform 380ms; transition-timing-function: cubic-bezier(.2,.6,.2,1); }
.reveal.revealed { opacity: 1; transform: none; }

/* ============================================================
   SECTION 15: FOOTER (charcoal, 3 columns)
   -- Jacques: like the connector pinout at the bottom of a
     datasheet — brand, explore, contact, in that order.
   -- Taupe is legal text here because the footer is charcoal.
   ============================================================ */
.site-footer {
  background: var(--clr-charcoal);
  color: var(--clr-grey);
  text-align: left;
  padding: var(--sp-2xl) var(--sp-lg) var(--sp-lg);
  font-size: 0.9rem;
  line-height: 1.8;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: var(--sp-xl);
}
.footer-col { min-width: 0; }   /* grid children may shrink for long emails */
.footer-brand p { margin-bottom: var(--sp-xs); font-size: 0.9rem; }
.footer-location { opacity: 1; }
.footer-wordmark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: var(--ls-wide);   /* reads like a nameplate, not a sentence */
  color: var(--clr-taupe);
  display: block;
  margin-bottom: var(--sp-sm);
}
.footer-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--clr-taupe);
  margin-bottom: var(--sp-md);
}
.footer-nav a {
  display: block;
  color: var(--clr-grey);
  padding: var(--sp-xs) 0;
  font-size: 0.9rem;
}
.footer-nav a:hover,
.footer-nav a:focus { color: var(--clr-taupe); text-decoration: none; }
.footer-contact p { font-size: 0.9rem; }
.footer-mail {
  display: inline-block;
  margin-top: var(--sp-xs);
  color: var(--clr-taupe);
  font-weight: 600;
  word-break: break-all;
}
.footer-mail:hover,
.footer-mail:focus { color: var(--clr-white); }
.footer-copyright {
  max-width: var(--max-width);
  margin: var(--sp-xl) auto 0;
  padding-top: var(--sp-md);
  border-top: 1px solid rgba(204, 204, 204, 0.25);   /* quiet grey hairline */
  text-align: center;
  font-size: 0.75rem;
  color: var(--clr-grey);
}

/* On dark bands the focus ring flips from taupe-dark to bright taupe
   so keyboard users can always see where they are. */
.section-dark :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.carousel :focus-visible,
.fullscreen-overlay :focus-visible { outline-color: var(--clr-taupe); }

/* Content continues in styles_005.css (timeline, about, contact, 404) */
