/*
Theme Name: FAS Adelaide (Antunes Style)
Theme URI: https://fasadelaide.com.au
Description: Custom child theme for FAS Adelaide — a calm, editorial commercial/industrial airconditioning brand styled after antunesgroup.com.au. Warm greige canvas, near-black ink, single confident accent, Chivo headings.
Author: Commuserv
Template: twentytwentyfive
Version: 2.7.0
*/

/* ============================================================
   FAS ADELAIDE — Antunes-inspired design system  (v2.0)
   Premium, editorial, image-led. Single-token accent.
   ============================================================ */

:root {
  --fas-bg:        #F2EEEB;   /* warm greige canvas */
  --fas-ink:       #272727;   /* headings / dark ink */
  --fas-body:      #333333;   /* body text */
  --fas-accent:    #1E6FB0;   /* HVAC blue (Antunes uses coral #F0523D) */
  --fas-accent-hi: #17568A;   /* accent hover */
  --fas-line:      #DAD4CF;   /* soft hairlines on greige */
  --fas-surface:   #FFFFFF;
  --fas-maxw:      1280px;    /* wider, premium container */
  --fas-narrow:    780px;     /* prose measure */
  --fas-gutter:    40px;      /* grid gap */
  --fas-section:   88px;      /* vertical rhythm — tightened for denser layout */
  --fas-section-sm:64px;
  --font-heading:  "Chivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:     "Helvetica Neue", Arial, sans-serif;
}

/* ---- Reset any inherited block-theme / plugin layout artefacts ---- */
html, body.fas { min-height: 0 !important; }
html { overflow-x: hidden; }
body.fas { padding: 0 !important; margin: 0 !important; overflow-x: hidden; max-width: 100%; }
body.fas .wp-site-blocks, body.fas .is-layout-constrained,
body.fas .wp-block-group, body.fas main { padding: 0 !important; margin: 0 !important; min-height: 0 !important; }
body.fas::before, body.fas::after { content: none !important; }
/* keep any surviving Yellow Pencil plugin CSS from recolouring our footer */
body.fas .fas-footer { background: var(--fas-bg) !important; }

/* ---- Base ---- */
body.fas {
  background: var(--fas-bg);
  color: var(--fas-body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.fas *, .fas *::before, .fas *::after { box-sizing: border-box; }
.fas img, .fas p, .fas h1, .fas h2, .fas h3 { max-width: 100%; }
.fas .fas-wrap { max-width: 100%; }
.fas img { max-width: 100%; height: auto; display: block; }
.fas a { color: var(--fas-ink); text-decoration: none; transition: color .2s; }
.fas a:hover { color: var(--fas-accent); }

.fas h1, .fas h2, .fas h3, .fas h4 {
  font-family: var(--font-heading);
  color: var(--fas-ink);
  font-weight: 700;
  margin: 0 0 .5em;
}
/* Larger, more confident heading hierarchy */
.fas h1 { font-size: clamp(40px, 5.2vw, 76px); font-weight: 900; letter-spacing: -0.025em; line-height: 1.04; }
.fas h2 { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.02em; line-height: 1.12; }
.fas h3 { font-size: clamp(19px, 1.4vw, 23px); letter-spacing: -0.01em; line-height: 1.3; }
.fas h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; }
.fas p { margin: 0 0 1.2em; }

.fas-wrap { max-width: var(--fas-maxw); margin: 0 auto; padding: 0 40px; width: 100%; }
.fas-hero-copy { min-width: 0; }
.fas-section { padding: var(--fas-section) 0; }
.fas-section--sm { padding: var(--fas-section-sm) 0; }
.fas-section--flush-top { padding-top: 0; }
.fas-eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-family: var(--font-heading);
  font-size: 13px; color: var(--fas-accent); font-weight: 700; margin: 0 0 18px; overflow-wrap: anywhere; }
.fas-lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.7; color: var(--fas-body); max-width: 62ch; }
.fas hr, .fas-rule { border: 0; border-top: 1px solid var(--fas-line); margin: 0; }

/* Section intro block — eyebrow + heading with breathing room */
.fas-intro { max-width: 720px; margin: 0 0 56px; }
.fas-intro.center { margin-left: auto; margin-right: auto; text-align: center; }
.fas-intro h2 { margin: 0; }

/* ---- Header / nav ---- */
.fas-header {
  background: rgba(242,238,235,.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--fas-line);
  position: sticky; top: 0; z-index: 100;
}
.fas-header .fas-wrap { display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; padding-bottom: 20px; }
.fas-logo img { max-height: 42px; width: auto; }
.fas-nav { display: flex; align-items: center; gap: 30px; }
.fas-nav ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; align-items: center; }
.fas-nav a { font-family: var(--font-heading); font-weight: 700; font-size: 13px !important;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--fas-ink); }
.fas-nav a:hover { color: var(--fas-accent); }
.fas-nav-cta { padding: 12px 22px; font-size: 12px; }
.fas-nav .sub-menu { display: none; position: absolute; background: var(--fas-surface);
  border: 1px solid var(--fas-line); padding: 10px 0; min-width: 260px; box-shadow: 0 24px 48px -24px rgba(0,0,0,.28); }
.fas-nav li { position: relative; }
.fas-nav li:hover > .sub-menu { display: block; }
.fas-nav .sub-menu li { display: block; }
.fas-nav .sub-menu a { display: block; padding: 12px 24px; letter-spacing: 0.06em; }
.fas-burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; margin-left: auto;
  position: relative; z-index: 210; width: 42px; height: 36px; }
.fas-burger span { display: block; width: 27px; height: 3px; background: #272727; margin: 5px auto; border-radius: 1px; }

/* ---- Buttons ---- */
.fas-btn { display: inline-block; font-family: var(--font-heading); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; font-size: 13px;
  color: #fff; background: var(--fas-ink); padding: 17px 34px; border: 1px solid var(--fas-ink);
  border-radius: 0; cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease; }
.fas-btn:hover { background: #000; color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(20,22,25,.5); }
.fas-btn--accent { background: var(--fas-accent); border-color: var(--fas-accent); color: #fff; }
.fas-btn--accent:hover { background: var(--fas-accent-hi); border-color: var(--fas-accent-hi); color: #fff; }
.fas a.fas-btn, .fas a.fas-btn:hover { color: #fff; }
.fas a.fas-btn--accent, .fas a.fas-btn--accent:hover { color: #fff; }
.fas a.fas-btn--outline { color: var(--fas-ink); }
.fas a.fas-btn--outline:hover { color: #fff; }
.fas-btn--outline { background: transparent; color: var(--fas-ink); }
.fas-btn--outline:hover { background: var(--fas-ink); color: #fff; }
/* light outline button — for use on dark imagery */
.fas-btn--ghost { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.fas a.fas-btn--ghost { color:#fff; }
.fas-btn--ghost:hover { background: #fff; border-color:#fff; color: var(--fas-ink); }
.fas a.fas-btn--ghost:hover { color: var(--fas-ink); }

/* ============================================================
   HERO — large full-screen image, dark overlay, minimal text
   ============================================================ */
.fas-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.fas-hero__bg { position: absolute; inset: 0; z-index: 0; }
.fas-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.fas-hero__scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,22,25,.28) 0%, rgba(20,22,25,.20) 42%, rgba(20,22,25,.78) 100%); }
.fas-hero .fas-wrap { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 64px; width: 100%; }
.fas-hero .fas-eyebrow { color: #fff; opacity: .92; }
.fas-hero h1 { color: #fff; margin: 0 0 22px; max-width: 18ch; text-shadow: 0 2px 30px rgba(0,0,0,.28); }
.fas-hero p.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; color: rgba(255,255,255,.92);
  max-width: 56ch; margin: 0; }
.fas-hero .fas-cta { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero stat rail sits at very bottom of hero */
.fas-hero__stats { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.22);
  margin-top: 32px; padding-top: 26px; display: flex; gap: 56px; flex-wrap: wrap; }
.fas-hero__stats .num { font-family: var(--font-heading); font-weight: 900; font-size: clamp(30px,3vw,42px);
  color: #fff; line-height: 1; }
.fas-hero__stats .lbl { text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px;
  margin-top: 10px; color: rgba(255,255,255,.82); }

/* ---- Service / card grid — taller, equal-height, editorial ---- */
.fas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--fas-gutter); }
.fas-card { background: var(--fas-surface); display: flex; flex-direction: column;
  border: 1px solid var(--fas-line); transition: transform .35s, box-shadow .35s; height: 100%; }
.fas-card:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -40px rgba(0,0,0,.35); }
.fas-card .fas-card-img { position: relative; overflow: hidden; }
.fas-card .fas-card-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s ease; }
.fas-card:hover .fas-card-img img { transform: scale(1.06); }
.fas-card .fas-card-body { padding: 32px 30px 34px; display: flex; flex-direction: column; flex: 1 1 auto; }
.fas-card h3 { margin-bottom: 12px; }
.fas-card p { font-size: 16px; color: var(--fas-body); margin: 0 0 22px; }
.fas-card .fas-more { margin-top: auto; font-family: var(--font-heading); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; color: var(--fas-accent); }

/* 4-up row so four services fill one complete, even row (no orphaned card / gap) */
.fas-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 28px; }
/* tighter cards — shorter image, denser body */
.fas-grid--tight .fas-card .fas-card-img img { aspect-ratio: 3/2; }
.fas-grid--tight .fas-card .fas-card-body { padding: 22px 22px 24px; }
.fas-grid--tight .fas-card h3 { margin-bottom: 8px; font-size: clamp(17px,1.2vw,20px); }
.fas-grid--tight .fas-card p { font-size: 14.5px; line-height: 1.5; margin: 0 0 16px; }

/* ---- Stats strip (interior sections) ---- */
.fas-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center;
  border-top: 1px solid var(--fas-line); border-bottom: 1px solid var(--fas-line); padding: 56px 0; }
.fas-stats .num { font-family: var(--font-heading); font-weight: 900; font-size: clamp(38px,4vw,54px);
  color: var(--fas-ink); line-height: 1; }
.fas-stats .lbl { text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; margin-top: 14px; }

/* ============================================================
   ABOUT / SPLIT — alternating large image + content
   ============================================================ */
.fas-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.fas-split + .fas-split { margin-top: var(--fas-section); }
.fas-split.rev .fas-split-media { order: 2; }
.fas-split-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.fas-split-media.wide img { aspect-ratio: 4/3; }
.fas-split-copy { min-width: 0; }
.fas-split-copy .fas-lede { margin-bottom: 1em; }

/* Fill-to-image: copy column matches the image's vertical bounds.
   Content is vertically centred with ~38px (1cm) breathing room top and bottom;
   type scales DOWN as needed to fit comfortably without overflow. JS refines the fit. */
.fas-split--fill { align-items: stretch; }
.fas-split--fill .fas-split-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 38px 0;                 /* ~1cm breathing room above first line / below button */
}
.fas-prose--fill { font-size: var(--fas-fill, 18px); line-height: 1.45; max-width: none; }
.fas-prose--fill p { margin: 0 0 0.7em; }
.fas-prose--fill p:last-child { margin-bottom: 0; }
.fas-prose--fill .fas-btn { align-self: flex-start; font-size: 13px; line-height: normal; }

/* ---- About "Our Story": concise, restrained, not image-dominated ---- */
.fas-about { padding-top: 56px; padding-bottom: 72px; }
.fas-about__h { margin: 0 0 18px; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.12; }
.fas-about .fas-eyebrow { margin-bottom: 12px; }
/* Shorter landscape media, capped so it never dominates the viewport */
.fas-split--compact { align-items: center; }
.fas-media--compact img { aspect-ratio: 3/2; max-height: 460px; object-position: center 60%; }
/* Slightly narrower, more deliberate text measure + tighter rhythm */
.fas-split--compact .fas-split-copy { padding: 0; }
.fas-prose--tight { max-width: 46ch; font-size: 16px !important; line-height: 1.45; }
.fas-prose--tight p { margin: 0 0 0.65em; }
.fas-prose--tight p:last-child { margin-bottom: 0; }
/* concise intro block (services overview) */
.fas-intro--tight { max-width: 620px; margin-bottom: 40px; }
.fas-intro--tight .fas-lede { font-size: 17px; line-height: 1.55; margin: 0; }

/* ============================================================
   FEATURE BAND — full-width image with overlaid heading
   ============================================================ */
.fas-feature { position: relative; min-height: 44vh; display: flex; align-items: center;
  color: #fff; overflow: hidden; padding: 56px 0; }
.fas-feature__bg { position: absolute; inset: 0; z-index: 0; }
.fas-feature__bg img { width: 100%; height: 100%; object-fit: cover; }
.fas-feature__scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(18,20,23,.78) 0%, rgba(18,20,23,.42) 55%, rgba(18,20,23,.18) 100%); }
.fas-feature .fas-wrap { position: relative; z-index: 2; }
.fas-feature h2 { color: #fff; max-width: 16ch; }
.fas-feature p { color: rgba(255,255,255,.9); max-width: 52ch; font-size: 19px; }
.fas-feature .fas-eyebrow { color: #fff; opacity: .9; }

/* ---- Clients grid ---- */
.fas-clients { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--fas-line);
  border: 1px solid var(--fas-line); }
.fas-clients .cell { background: var(--fas-surface); display: flex; align-items: center; justify-content: center;
  aspect-ratio: 3/2; padding: 30px; }
.fas-clients img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain;
  filter: grayscale(100%); opacity: .55; transition: .3s; }
.fas-clients .cell:hover img { filter: grayscale(0); opacity: 1; }
/* tighter, more prominent logo grid — shorter cells, less whitespace, larger marks */
.fas-clients--tight { grid-template-columns: repeat(7, 1fr); }
.fas-clients--tight .cell { aspect-ratio: 16/10; padding: 16px; }
.fas-clients--tight img { max-height: 82%; opacity: .72; }

/* ---- Page header (interior) — feature image variant ---- */
.fas-pagehead { padding: 84px 0 64px; border-bottom: 1px solid var(--fas-line); }
.fas-pagehead .crumb { text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px;
  color: var(--fas-accent); font-family: var(--font-heading); font-weight: 700; margin-bottom: 18px; }
.fas-pagehead h1 { margin: 0; }
/* Image-backed page header */
.fas-pagehead--img { position: relative; border-bottom: 0; min-height: 52vh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; padding: 0; }
.fas-pagehead--img .fas-ph-bg { position: absolute; inset: 0; z-index: 0; }
.fas-pagehead--img .fas-ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.fas-pagehead--img .fas-ph-scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(18,20,23,.28) 0%, rgba(18,20,23,.72) 100%); }
.fas-pagehead--img .fas-wrap { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 60px; width: 100%; }
.fas-pagehead--img .crumb { color: #fff; opacity: .9; }
.fas-pagehead--img h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.3); }

/* Deliberate crop: bias the hero framing toward machinery / plant, not sky */
.fas-pagehead--img .fas-ph-bg img { object-position: center 60%; }

/* Premium hero animation — image loads at ~105% and settles to 100% over ~2s (once, no loop) */
.fas-pagehead--anim .fas-ph-bg img { animation: fas-hero-settle 2s cubic-bezier(.22,.61,.36,1) both; }
@keyframes fas-hero-settle { from { transform: scale(1.05); } to { transform: scale(1); } }
/* Copy rises in just after the image settles */
.fas-pagehead--anim .fas-wrap { animation: fas-rise-in 1.1s cubic-bezier(.22,.61,.36,1) .35s both; }
@keyframes fas-rise-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Tight hero->content: pull first section up under the hero for visual continuity */
.fas-pagehead--tight { margin-bottom: 0; }
.fas-section--tight-top { padding-top: 64px; }

/* Premium content panel — sits naturally on a lifted white surface (depth via spacing, not heavy shadow) */
.fas-panel { position: relative; z-index: 2; background: var(--fas-surface); margin-top: -40px;
  box-shadow: 0 40px 80px -60px rgba(20,22,25,.28); }
.fas-panel > .fas-wrap { position: relative; z-index: 1; }

/* Image treatment — consistent, deliberate crop toward HVAC/plant, gentle hover lift */
.fas-media { overflow: hidden; }
.fas-media img { transition: transform .7s cubic-bezier(.22,.61,.36,1), filter .7s ease;
  object-position: center 55%; will-change: transform; }
.fas-media:hover img { transform: scale(1.04); }

/* ---- Scroll reveal — fade upward; images fade + settle 105%->100% (~600ms, smooth, no bounce) ---- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="img"] { overflow: hidden; }
[data-reveal="img"] img { transform: scale(1.05); transition: transform .6s cubic-bezier(.22,.61,.36,1); }
[data-reveal="img"].is-in img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal="img"] img { opacity: 1 !important; transform: none !important; transition: none !important; }
  .fas-pagehead--anim .fas-ph-bg img, .fas-pagehead--anim .fas-wrap { animation: none !important; }
}

/* ---- Content prose ---- */
.fas-prose { max-width: var(--fas-narrow); font-size: 18px; }
.fas-prose img { margin: 36px 0; }
.fas-prose ul { padding-left: 1.2em; }
.fas-prose li { margin-bottom: .6em; }
.fas-prose h2, .fas-prose h3 { margin-top: 1.4em; }

/* ---- Contact ---- */
.fas-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.fas-contact .info p { margin: 0 0 8px; font-size: 18px; }
.fas-contact .info .k { text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px;
  color: var(--fas-accent); font-family: var(--font-heading); font-weight: 700; margin-top: 28px; }

/* ---- Footer — intentional, premium, light ---- */
.fas-footer { background: var(--fas-bg); color: var(--fas-body); padding: 96px 0 40px; text-align: left; }
.fas-footer a { color: var(--fas-ink); }
.fas-footer a:hover { color: var(--fas-accent); }
.fas-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; align-items: start;
  padding-bottom: 56px; border-bottom: 1px solid var(--fas-line); }
.fas-footer__brand .fas-logo img { max-height: 52px; margin: 0 0 24px; }
.fas-footer__brand p { font-size: 15px; line-height: 1.75; color: var(--fas-body); max-width: 34ch; margin: 0; }
.fas-footer__col h4 { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 12px; color: var(--fas-ink); margin: 0 0 22px; }
.fas-footer .fnav { display: flex; flex-direction: column; gap: 14px; }
.fas-footer .fnav a { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 13px; }
.fas-footer .meta { font-size: 15px; line-height: 1.9; color: var(--fas-body); }
.fas-footer .meta .k { display: block; font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 11px; color: var(--fas-accent); margin: 18px 0 4px; }
.fas-footer .meta .k:first-child { margin-top: 0; }
.fas-footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 12px; padding-top: 30px; }
.fas-footer .copy { font-size: 12px; color: #888; margin: 0; }
.fas-footer .tagline { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 11px; color: #888; }
@media (max-width: 860px) {
  .fas-footer { padding: 72px 0 36px; }
  .fas-footer__top { grid-template-columns: 1fr; gap: 40px; }
  .fas-footer__bottom { justify-content: flex-start; }
}

/* ---- CTA band ---- */
.fas-ctaband { background: var(--fas-ink); color: #fff; text-align: center; padding: 104px 0; }
.fas-ctaband h2 { color: #fff; }
.fas-ctaband p { color: rgba(255,255,255,.78); max-width: 56ch; margin: 0 auto 34px; font-size: 19px; }
/* compact CTA — prominent heading + button, far less vertical space */
.fas-ctaband--tight { padding: 56px 0; }
.fas-ctaband--tight p { margin: 0 auto 26px; }

/* ---- CF7 / form styling ---- */
.fas .wpcf7 label { display:block; font-family:var(--font-heading); font-weight:700; text-transform:uppercase;
  letter-spacing:0.1em; font-size:12px; color:var(--fas-ink); margin: 20px 0 8px; }
.fas .wpcf7 input[type=text], .fas .wpcf7 input[type=email], .fas .wpcf7 input[type=tel],
.fas .wpcf7 select, .fas .wpcf7 textarea {
  width:100%; padding:16px; border:1px solid var(--fas-line); background:#fff;
  font-family:var(--font-body); font-size:16px; border-radius:0; }
.fas .wpcf7 textarea { min-height:170px; }
.fas .wpcf7 input[type=submit] {
  font-family:var(--font-heading); font-weight:700; text-transform:uppercase; letter-spacing:0.06em;
  font-size:14px; color:#fff; background:var(--fas-accent); border:1px solid var(--fas-accent);
  padding:18px 40px; border-radius:0; cursor:pointer; margin-top:24px; transition:.2s; }
.fas .wpcf7 input[type=submit]:hover { background:var(--fas-accent-hi); border-color:var(--fas-accent-hi); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  :root { --fas-section: 72px; --fas-section-sm: 56px; }
  .fas-grid { grid-template-columns: repeat(2, 1fr); }
  .fas-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .fas-clients, .fas-clients--tight { grid-template-columns: repeat(4, 1fr); }
  .fas-split, .fas-contact { grid-template-columns: 1fr; gap: 40px; }
  .fas-split.rev .fas-split-media { order: 0; }
  .fas-split-media img, .fas-split-media.wide img { aspect-ratio: 16/10; }
  /* stacked: text no longer sits beside the image, so drop back to a comfortable reading size */
  .fas-split--fill { align-items: stretch; }
  .fas-prose--fill { font-size: 18px; line-height: 1.7; }
  .fas-prose--fill p { margin: 0 0 1.1em; }
  .fas-hero__stats { gap: 40px; }
}
@media (max-width: 860px) {
  .fas-header { position: sticky; }
  .fas-header .fas-wrap { flex-wrap: nowrap; }
  .fas-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; width: 100%; background: var(--fas-bg);
    border-bottom: 1px solid var(--fas-line); flex-direction: column; align-items: stretch; gap: 0; padding: 0; z-index: 200; }
  .fas-nav.open { display: flex; }
  .fas-nav ul { flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 40px 8px; width:100%; }
  .fas-nav .sub-menu { position: static; border: 0; padding-left: 16px; display: block; min-width:0; box-shadow:none; }
  .fas-nav-cta { margin: 8px 40px 22px; text-align:center; }
  .fas-burger { display: block !important; }
  .fas-hero { min-height: 68vh; }
  .fas-hero .fas-wrap { padding-top: 104px; padding-bottom: 52px; }
  .fas-clients--tight { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  :root { --fas-section: 60px; --fas-section-sm: 48px; }
  .fas-grid, .fas-grid--4, .fas-clients, .fas-clients--tight { grid-template-columns: 1fr 1fr; }
  .fas-stats { grid-template-columns: 1fr; gap: 40px; }
  .fas-wrap { padding: 0 22px; }
  .fas-hero__stats { gap: 28px 40px; }
  .fas-intro { margin-bottom: 32px; }
  .fas-feature { min-height: 42vh; }
}
