/* ============================================================
   Western Cape Pumps  Prototype CSS (verbatim from handoff)

   Sources concatenated:
     docs/handoff/base.css       (semantic element resets)
     docs/handoff/sections/sections.css  (per-section styles)

   Do NOT translate this into block styles. The class hooks
   (s-header, s-hero, s-services, s-about, s-product, s-wcfp,
   s-team, s-contact, s-footer, btn-*, s-tick-list, etc.)
   are what the patterns reference.

   @font-face declarations from the handoff's fonts.css are
   handled by theme.json fontFamilies.fontFace, not here.
   The JetBrains Mono Google import is intentionally dropped;
   --font-mono falls through to ui-monospace.
   ============================================================ */

/* ===== base.css ===== */

body, .p {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: var(--lh-normal);
  color: var(--fg-1);
  background: var(--bg-page);
  margin: 0;
}

.h1, h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw + 1rem, 4rem);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--fg-1);
  margin: 0;
}

.h2, h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw + 1rem, 3rem);
  font-weight: 700;
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--fg-1);
  margin: 0;
}

.h3, h3 {
  font-family: var(--font-display);
  font-size: var(--fs-24);
  font-weight: 700;
  line-height: var(--lh-snug);
  color: var(--fg-1);
  margin: 0;
}

.h4, h4 {
  font-family: var(--font-display);
  font-size: var(--fs-20);
  font-weight: 600;
  line-height: var(--lh-snug);
  color: var(--fg-1);
  margin: 0;
}

.lead {
  font-family: var(--font-body);
  font-size: var(--fs-20);
  line-height: var(--lh-loose);
  color: var(--fg-2);
}

p {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: var(--lh-loose);
  color: var(--fg-2);
}

small, .small {
  font-size: var(--fs-14);
  line-height: var(--lh-normal);
  color: var(--fg-3);
}

.mono, .spec {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  color: var(--fg-1);
}

.label {
  font-family: var(--font-display);
  font-size: var(--fs-13, 0.8125rem);
  font-weight: 600;
  color: var(--fg-2);
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }

:focus-visible { outline: none; box-shadow: var(--ring-focus); border-radius: var(--radius); }

img { max-width: 100%; display: block; }
* { box-sizing: border-box; }

/* ===== sections.css ===== */

/* ---------- Buttons (shared across all sections) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer; transition: all var(--duration-fast) var(--ease);
  line-height: 1; text-decoration: none; white-space: nowrap;
}
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-primary { background: var(--wcp-blue); color: white; }
.btn-primary:hover { background: var(--wcp-blue-700); }
.btn-primary:active { background: var(--wcp-blue-900); }
.btn-secondary { background: white; color: var(--wcp-blue-900); border-color: var(--wcp-blue-900); }
.btn-secondary:hover { background: var(--wcp-blue-50); }
.btn-secondary-on-dark { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.6); }
.btn-secondary-on-dark:hover { background: rgba(255,255,255,0.10); border-color: white; }
.btn-ghost { background: transparent; color: var(--wcp-blue-700); padding-left: 0; padding-right: 0; }
.btn-ghost:hover { color: var(--wcp-blue-900); }
.btn-wcfp { background: var(--wcfp-red); color: white; padding: 16px 28px; font-size: 15px; }
.btn-wcfp:hover { background: var(--wcfp-red-700); }

/* ---------- Section container shared utilities ---------- */
.s-container { max-width: 1200px; margin: 0 auto; padding: 0 var(--container-x); }
.s-head { max-width: 1200px; margin: 0 auto; padding: var(--section-y) var(--container-x) var(--space-20); }
.s-head h2 { font-size: clamp(2.25rem, 3vw + 1rem, 3.25rem); margin: 0 0 var(--space-6); max-width: 820px; }
.s-head .lead { max-width: 760px; }

/* =========================================================
   01 Header
   ========================================================= */
.s-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-1);
}
.s-header__inner {
  max-width: 1320px; margin: 0 auto; padding: 16px 48px;
  display: flex; align-items: center; gap: 48px; height: 84px;
}
.s-header__logo img { height: 40px; }
.s-header__nav { flex: 1; display: flex; gap: 36px; }
.s-header__nav a { font-family: var(--font-display); font-weight: 500; font-size: 14px; color: var(--fg-1); text-decoration: none; transition: color 150ms; }
.s-header__nav a:hover { color: var(--wcp-blue); }
.s-header__cta { display: flex; align-items: center; gap: 24px; }
.s-header__tel { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 14px; color: var(--fg-1); text-decoration: none; }
.s-header__tel svg { width: 16px; height: 16px; color: var(--wcp-blue-700); }

/* =========================================================
   02 Hero (split, diagonal edge)
   ========================================================= */
.s-hero { position: relative; overflow: hidden; background: var(--black); color: white; min-height: 720px; display: grid; grid-template-columns: 1.05fr 1fr; }
.s-hero__photo { position: relative; background-size: cover; background-position: center; }
.s-hero__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0) 35%), linear-gradient(180deg, rgba(31,78,121,0.20), rgba(10,10,10,0.45)); }
.s-hero__panel { position: relative; background: var(--black); display: flex; align-items: center; z-index: 2; clip-path: polygon(0 0, 100% 0, calc(100% - 60px) 100%, 0 100%); padding-right: 100px; }
.s-hero__panel::before { content: ''; position: absolute; top: 0; right: -2px; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--wcp-cyan), var(--wcp-blue), var(--wcp-blue-900)); transform: skewX(-3.4deg); transform-origin: bottom right; }
.s-hero__inner { width: 100%; max-width: 640px; margin-left: auto; padding: 120px 64px 120px 96px; }
.s-hero__h { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 5.5vw + 1rem, 5.5rem); line-height: 0.95; letter-spacing: -0.025em; margin: 0 0 32px; color: white; }
.s-hero__lead { font-size: 18px; line-height: 1.65; color: rgba(255,255,255,0.82); margin: 0 0 44px; max-width: 520px; }
.s-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.s-hero__partners { margin-top: 80px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.15); display: flex; flex-direction: column; gap: 16px; }
.s-hero__partners .lbl { font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.5); }
.s-hero__partners-row { display: flex; gap: 32px; flex-wrap: wrap; }
.s-hero__partner { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: white; }
@media (max-width: 900px) {
  .s-hero { grid-template-columns: 1fr; min-height: auto; }
  .s-hero__photo { height: 320px; }
  .s-hero__panel { clip-path: none; padding-right: 0; }
  .s-hero__panel::before { display: none; }
  .s-hero__inner { padding: 80px 32px; }
}

/* =========================================================
   03 Services grid
   ========================================================= */
.s-services { background: var(--bg-page); padding-bottom: var(--section-y); }
.s-services__grid { max-width: 1200px; margin: 0 auto; padding: 0 var(--container-x); display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.s-service { background: white; border: 1px solid var(--border-1); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); box-shadow: var(--shadow-1); }
.s-service:hover { transform: translateY(-2px); box-shadow: var(--shadow-3); }
.s-service--sub { border-color: var(--wcfp-red-100); }
.s-service__img { height: 260px; background-size: cover; background-position: center; }
.s-service__body { padding: 36px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.s-service__cat { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; margin-bottom: 4px; }
.s-service__body h3 { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.2; margin: 0; color: var(--fg-1); }
.s-service__body p { font-size: 15px; line-height: 1.65; color: var(--fg-2); margin: 0; flex: 1; }
.s-link-arrow { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; text-decoration: none; margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; }
.s-link-arrow span { transition: transform 150ms var(--ease); }
.s-link-arrow:hover span { transform: translateX(3px); }

/* =========================================================
   04 About band (dark, clean)
   ========================================================= */
.s-about { position: relative; overflow: hidden; background: var(--black); color: white; padding: var(--section-y) 0; }
.s-about::before { content: ''; position: absolute; inset: 0; background: radial-gradient(900px 500px at 0% 0%, rgba(31,78,121,0.45), transparent 60%); pointer-events: none; }
.s-about__inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 var(--container-x); display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
.s-about__copy h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.25rem, 3vw + 1rem, 3.25rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 32px; color: white; }
.s-about__copy p { color: rgba(255,255,255,0.82); font-size: 17px; line-height: 1.75; margin: 0 0 20px; max-width: 620px; }
.s-about__copy strong { color: white; font-weight: 700; }
.s-about__card { background: rgba(31, 78, 121, 0.35); border: 1px solid rgba(127, 184, 232, 0.25); border-top: 4px solid var(--wcp-cyan); border-radius: var(--radius); padding: 40px; backdrop-filter: blur(4px); }
.s-about__card-h { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0 0 28px; color: white; letter-spacing: -0.01em; }
.s-tick-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 22px; }
.s-tick-list li { display: flex; gap: 16px; align-items: flex-start; color: rgba(255,255,255,0.95); font-size: 15px; line-height: 1.6; }
.s-tick { flex-shrink: 0; width: 26px; height: 26px; border-radius: var(--radius); background: var(--wcp-cyan); display: flex; align-items: center; justify-content: center; color: var(--black); margin-top: 1px; }
.s-tick svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .s-about__inner { grid-template-columns: 1fr; gap: 48px; } }

/* =========================================================
   05 Featured product / spec table
   ========================================================= */
.s-product { background: var(--bg-card); padding-bottom: var(--section-y); border-top: 4px solid var(--wcp-cyan); }
.s-product .s-head { padding-top: 120px; }
.s-product__row { max-width: 1200px; margin: 0 auto; padding: 0 var(--container-x); display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.s-product__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-3); background: var(--bg-band); }
.s-product__img img { width: 100%; height: 100%; object-fit: cover; min-height: 460px; }
.s-specs { width: 100%; border-collapse: collapse; background: white; border: 1px solid var(--border-1); border-radius: var(--radius); overflow: hidden; }
.s-specs th, .s-specs td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--border-1); font-size: 14px; }
.s-specs tr:last-child th, .s-specs tr:last-child td { border-bottom: none; }
.s-specs th { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--fg-3); width: 38%; background: var(--bg-band); }
.s-specs td { color: var(--fg-1); }
.s-product__cta { display: flex; gap: 20px; align-items: center; margin-top: 28px; }

/* =========================================================
   06 WCFP sub-brand banner
   ========================================================= */
.s-wcfp { background: linear-gradient(135deg, #1A0B0C 0%, #2D0F11 100%); color: white; padding: 140px 0; position: relative; overflow: hidden; }
.s-wcfp::before { content: ''; position: absolute; inset: 0; background: radial-gradient(800px 400px at 20% 0%, rgba(200,36,46,0.25), transparent 60%); }
.s-wcfp__inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 var(--container-x); display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.s-wcfp__copy h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.25rem, 3vw + 1rem, 3rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 28px; color: white; }
.s-wcfp__copy p { color: rgba(255,255,255,0.82); font-size: 17px; line-height: 1.75; margin: 0 0 36px; max-width: 560px; }
.s-wcfp__photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(200,36,46,0.25); }
.s-wcfp__photo img { width: 100%; height: 420px; object-fit: cover; }

/* =========================================================
   07 Team
   ========================================================= */
.s-team { background: var(--bg-page); padding-bottom: var(--section-y); }
.s-team__hero { max-width: 1200px; margin: 0 auto 64px; padding: 0 var(--container-x); }
.s-team__hero img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-3); }
.s-team__grid { max-width: 1200px; margin: 0 auto; padding: 0 var(--container-x); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.s-team__card { background: white; border: 1px solid var(--border-1); border-radius: var(--radius); padding: 32px 24px; text-align: center; transition: all 200ms var(--ease); }
.s-team__card:hover { box-shadow: var(--shadow-2); }
.s-team__card--lead { border-color: var(--wcp-blue-300); background: var(--wcp-blue-50); }
.s-team__avatar, .s-team__photo { width: 96px; height: 96px; border-radius: var(--radius); background: var(--wcp-gradient); margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; }
.s-team__avatar span { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: white; }
.s-team__name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--fg-1); margin-bottom: 4px; }
.s-team__role { font-family: var(--font-display); font-size: 13px; font-weight: 500; color: var(--fg-3); }

/* =========================================================
   08 Contact
   ========================================================= */
.s-contact { background: var(--bg-band); padding: 0 0 var(--section-y); }
.s-contact__inner { max-width: 1200px; margin: 0 auto; padding: var(--section-y) var(--container-x) 0; display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.s-contact__left h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 2.6vw + 1rem, 2.75rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 40px; max-width: 460px; }
.s-contact__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 28px; }
.s-contact__list li { display: flex; align-items: flex-start; gap: 18px; }
.s-contact__ic { width: 44px; height: 44px; border-radius: var(--radius); background: white; border: 1px solid var(--border-1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.s-contact__ic svg { width: 20px; height: 20px; color: var(--wcp-blue-700); }
.s-contact__list .label { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--fg-3); margin-bottom: 4px; }
.s-contact__list .val { font-family: var(--font-mono); font-size: 15px; color: var(--fg-1); line-height: 1.6; }
.s-form { background: white; border: 1px solid var(--border-1); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 20px; }
.s-form__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.s-form label { display: flex; flex-direction: column; gap: 8px; }
.s-form label > span { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--fg-2); }
.s-form input, .s-form select, .s-form textarea { font-family: var(--font-body); font-size: 15px; padding: 14px 16px; border: 1px solid var(--border-2); background: white; border-radius: var(--radius); color: var(--fg-1); transition: all 150ms; }
.s-form input:focus, .s-form select:focus, .s-form textarea:focus { outline: none; border-color: var(--wcp-blue); box-shadow: var(--ring-focus); }
.s-form textarea { resize: vertical; min-height: 120px; font-family: var(--font-body); }
.s-form .small { color: var(--fg-3); font-size: 13px; margin: 0; }

/* =========================================================
   09 Footer
   ========================================================= */
.s-footer { background: var(--black); color: white; padding: 96px 0 32px; }
.s-footer__inner { max-width: 1200px; margin: 0 auto; padding: 0 var(--container-x); display: grid; grid-template-columns: 1fr 2fr; gap: 80px; }
.s-footer__brand img { height: 44px; filter: brightness(0) invert(1); opacity: 0.95; margin-bottom: 24px; }
.s-footer__brand p { color: rgba(255,255,255,0.55); font-size: 15px; line-height: 1.7; max-width: 320px; margin: 0; }
.s-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.s-footer__cols > div { display: flex; flex-direction: column; gap: 12px; }
.s-footer__cols .label { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: white; margin-bottom: 8px; }
.s-footer__cols a, .s-footer__cols span { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; transition: color 150ms; }
.s-footer__cols a:hover { color: white; }
.s-footer__legal { max-width: 1200px; margin: 64px auto 0; padding: 28px var(--container-x) 0; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.45); }
.s-footer__legal .mono { font-family: var(--font-mono); letter-spacing: 0.04em; }
