/* FluxQA static clone — palette and type taken from the original site theme */
:root {
  --blue: #7ea4b7;        /* primary brand slate blue (text + "black" sections) */
  --blue-deep: #64778c;   /* "dark" sections + footer */
  --copper: #bd6b31;      /* accent / buttons */
  --copper-dark: #9e5626;
  --teal: #4de2e8;        /* logo highlight */
  --ink: #3f5563;         /* readable body text on white */
  --white: #fff;
  --banner-bg: #fff4e5;
  --banner-ink: #6b3a12;
  --head: "Bebas Neue", "Oswald", Impact, sans-serif;
  --body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 58px);
  --header-h: 104px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 300 clamp(16px, 1.05vw + 6px, 19px)/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1.1;
  color: var(--blue);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
p { margin: 0 0 1em; }
.container { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.visually-hidden, .skip:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* ---------- archive notice ---------- */
.archive-banner {
  background: var(--banner-bg);
  color: var(--banner-ink);
  border-bottom: 2px solid var(--copper);
  font-size: .85rem;
  line-height: 1.5;
  padding: 10px 0;
  text-align: center;
}
.archive-banner strong { font-weight: 500; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(100, 119, 140, .15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.logo img { width: clamp(120px, 12vw, 166px); height: auto; }
.site-nav ul { list-style: none; display: flex; gap: clamp(16px, 2.4vw, 40px); margin: 0; padding: 0; }
.site-nav a {
  color: var(--blue); text-decoration: none; text-transform: uppercase;
  font-weight: 400; font-size: .92rem; letter-spacing: .06em;
  padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--copper); border-color: currentColor; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--blue); margin: 6px 0; transition: transform .25s, opacity .25s; }

@media (max-width: 860px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); box-shadow: 0 12px 24px rgba(0,0,0,.08);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .site-nav.open { max-height: 420px; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav a { display: block; padding: 12px 0; font-size: 1.05rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- sections ---------- */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.theme-blue { background: var(--blue); color: var(--white); }
.theme-dark { background: var(--blue-deep); color: var(--white); }
.theme-blue h1, .theme-blue h2, .theme-blue h3,
.theme-dark h1, .theme-dark h2, .theme-dark h3 { color: var(--white); }
.theme-blue a:not(.btn), .theme-dark a:not(.btn) { color: #d8fbfd; }
.page-intro { padding-bottom: clamp(32px, 5vw, 64px); }
.page-intro p, .page-intro h1 { color: var(--blue); }
.page-intro p { max-width: 70ch; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: center; padding: 72px 0; border-bottom: 2px solid var(--blue-deep); }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: right center;
}
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.75) 55%, rgba(255,255,255,0) 80%); }
.hero-content { position: relative; z-index: 1; width: 100%; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.2rem); max-width: 17ch; }
.hero p { max-width: 62ch; color: #5c7180; }
@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero-bg { background-position: 70% center; }
  .hero-bg::after { background: rgba(255,255,255,.86); }
}

/* ---------- accordion ---------- */
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 5vw, 72px); margin-top: 32px; }
@media (max-width: 760px) { .acc-grid { grid-template-columns: 1fr; } }
.accordion { border-top: 1px solid rgba(255,255,255,.35); }
.page-intro .accordion { border-color: rgba(126,164,183,.4); }
.acc-item { border-bottom: 1px solid rgba(255,255,255,.35); }
.page-intro .acc-item { border-color: rgba(126,164,183,.4); }
.acc-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; list-style: none; padding: 14px 2px; font-weight: 400;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary:hover span { text-decoration: underline; }
.page-intro .acc-item summary { color: var(--blue); }
.plus { position: relative; width: 14px; height: 14px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; transition: transform .25s; }
.plus::before { left: 0; right: 0; top: 6px; height: 2px; }
.plus::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.acc-item[open] .plus::after { transform: scaleY(0); }
.acc-body { padding: 0 2px 18px; font-size: .9em; }
.page-intro .acc-body { color: var(--ink); }
.more { font-weight: 500; }
.page-intro .more { color: var(--copper); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; background: var(--copper); color: var(--white); text-decoration: none;
  font: 500 1rem/1 var(--body); padding: 16px 34px; border: 0; border-radius: 6px; cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--copper-dark); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.btn-row { margin-top: 28px; }

/* ---------- split layout (services, who, contact) ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split-text p, .split-text li { color: var(--blue); }
.split-media img { border-radius: 4px; width: 100%; }
.media { margin: 0 0 20px; }
.crumb a { color: var(--copper); font-size: .9rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.who.alt { background: #f3f7f9; }
.who .split { grid-template-columns: .8fr 1.2fr; align-items: center; }
.who.alt .split-media { order: 2; }
@media (max-width: 860px) { .who .split { grid-template-columns: 1fr; } .who.alt .split-media { order: 0; } }
.role { font-weight: 500; color: var(--copper); }
.badge img { width: 120px; }

/* ---------- cards (Where we are) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 18px; }
.card h2 { font-size: 2rem; }
.card p { font-size: .9em; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- CTA ---------- */
.cta p { max-width: 70ch; }

/* ---------- clients ---------- */
.clients { padding: 48px 0; }
.logo-row { display: flex; gap: 64px; align-items: center; justify-content: center; flex-wrap: wrap; }
.logo-row img { height: 72px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logo-row img:hover { filter: none; opacity: 1; }

/* ---------- contact ---------- */
address { font-style: normal; color: var(--blue); margin-top: 24px; line-height: 1.8; }
address a { color: var(--copper); }
.contact-form { display: grid; gap: 18px; background: #f3f7f9; padding: clamp(20px, 3vw, 36px); border-radius: 6px; }
.field label { display: block; font-size: .85rem; font-weight: 400; color: var(--blue-deep); margin-bottom: 6px; }
.field label span { opacity: .7; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid #c4d4dd; border-radius: 4px; background: var(--white);
}
.field .invalid { border-color: #b3261e; }
.form-status { margin: 0; font-size: .9rem; color: var(--blue-deep); }

/* ---------- legal ---------- */
.legal-page h1 { margin-bottom: .2em; }
.legal-page h2 { font-family: var(--body); font-size: 1.05rem; font-weight: 500; letter-spacing: .02em; color: var(--blue-deep); margin-top: 1.8em; }
.legal-page p, .legal-page li { font-size: .95rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--blue-deep); color: var(--white); text-align: center; padding: 40px 0 32px; }
.footer-nav { font-size: 1.05rem; line-height: 2; }
.footer-nav span { margin: 0 8px; }
.site-footer a { color: var(--white); }
.legal { font-size: .8rem; margin: 12px 0; }
.social a { display: inline-block; opacity: .85; }
.social a:hover { opacity: 1; }
.copy { font-size: .75rem; opacity: .8; margin: 16px 0 0; }
.copy img { width: 110px; margin: 0 auto 8px; }
@media (max-width: 860px) { .site-nav a, .site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom: 0; } }
.form-retired { background: #f3f7f9; padding: clamp(20px, 3vw, 36px); border-radius: 6px; border-left: 4px solid var(--copper); }
.form-retired h2 { font-size: 1.8rem; }
.form-retired p { color: var(--blue-deep); margin: 0; }
