/* ==========================================================================
   Weeks Bridge Consulting
   Palette and type lifted from the original site:
     crimson #990000 · ink #181818 · panel #E7E4E4 · Lato Light
   ========================================================================== */

:root {
  --crimson: #990000;
  --crimson-dark: #7a0000;
  --ink: #181818;
  --panel: #e7e4e4;
  --white: #ffffff;

  --prose: 780px;   /* mission, what-we-do, leadership copy */
  --wide: 940px;    /* focus areas, deliverables lists */
  --grid: 980px;    /* method + testimonial grids */

  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --strip-y: clamp(3.5rem, 8vw, 6.5rem);

  --fs-display: clamp(2.75rem, 7.2vw, 5.5rem);    /* 44 → 88px */
  --fs-h3: clamp(1.75rem, 3.95vw, 3.125rem);      /* 28 → 50px */
  --fs-lede: clamp(1.375rem, 2.2vw, 1.75rem);     /* 22 → 28px */
  --fs-body: clamp(1.25rem, 1.75vw, 1.375rem);    /* 20 → 22px */
  --fs-title: clamp(1.375rem, 2.2vw, 1.625rem);   /* 22 → 26px */
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.41;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { font-weight: 300; line-height: 1.08; margin: 0; }

a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--white);
  padding: .75rem 1.25rem; font-size: 1rem; text-decoration: none;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ---------- Header ---------------------------------------------------- */

.site-header {
  background: var(--white);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(24, 24, 24, .08);
}

.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem var(--gutter) 0;
  text-align: center;
}

.site-title {
  margin: 0;
  font-weight: 300;
  font-size: var(--fs-title);
  letter-spacing: .01em;
}
.site-title a { text-decoration: none; }

.site-nav {
  border-top: 1px solid var(--ink);
  margin-top: 1.1rem;
}
.site-nav ul {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0 1.45rem;
  margin: 0; padding: 1rem 0;
}
.site-nav a {
  font-size: clamp(.9375rem, 1.4vw, 1.125rem);   /* 15 → 18px */
  text-decoration: none;
  color: var(--ink);
  padding: .2rem 0;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.site-nav a:hover { color: var(--crimson); border-bottom-color: var(--crimson); }

.nav-toggle { display: none; }

/* ---------- Strips ---------------------------------------------------- */

:where(section, h2[id]) { scroll-margin-top: 9.5rem; }

.strip { position: relative; padding: var(--strip-y) var(--gutter); overflow: hidden; }
.strip__inner { position: relative; max-width: var(--grid); margin: 0 auto; }
.strip__inner.prose { max-width: var(--prose); }
.strip__inner.wide  { max-width: var(--wide); }

.strip--light   { background: var(--white); color: var(--ink); }
.strip--crimson { background: var(--crimson); color: var(--white); }

.strip--light h2, .strip--light h3 { color: var(--crimson); }
.strip h2, .strip h1 { font-size: var(--fs-display); margin-bottom: .35em; }
.strip h3 { font-size: var(--fs-h3); margin: 1.6em 0 .5em; }
.strip h3:first-child { margin-top: 0; }

.strip p { margin: 0 0 1.4rem; }
.strip p:last-child { margin-bottom: 0; }

/* Title-only strips (Deliverables / Method) */
.strip--title { padding-block: clamp(2.75rem, 6vw, 5rem); text-align: center; }
.strip--title h2 { margin: 0; color: var(--white); }

/* ---------- Hero ------------------------------------------------------ */

.strip--hero {
  color: var(--white);
  background: var(--ink);
  padding-block: clamp(5rem, 11vw, 9rem);
}
.strip--hero h1 { color: var(--white); }

.strip__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.strip--hero .strip__bg {
  background-image:
    linear-gradient(90deg, rgba(24, 24, 24, .82) 0%, rgba(24, 24, 24, .66) 45%, rgba(24, 24, 24, .44) 100%),
    linear-gradient(rgba(24, 24, 24, .28), rgba(24, 24, 24, .28)),
    url("img/weeks-bridge.jpg");
}
.strip--method-title {
  background: var(--ink);
  color: var(--white);
}
.strip--method-title .strip__bg {
  background-image:
    linear-gradient(rgba(24, 24, 24, .58), rgba(24, 24, 24, .58)),
    url("img/method-bg.jpg");
}

/* ---------- Buttons --------------------------------------------------- */

.strip .cta-row { margin-top: 2.75rem; margin-bottom: 0; }

.btn {
  display: inline-block;
  min-height: 60px;
  padding: 1rem 2.1rem;
  font-size: var(--fs-body);
  line-height: 1.6;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--light   { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover   { background: transparent; color: var(--white); }
.btn--crimson { background: var(--crimson); color: var(--white); border-color: var(--crimson); }
.btn--crimson:hover { background: var(--crimson-dark); border-color: var(--crimson-dark); }

/* ---------- Lists ----------------------------------------------------- */

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .55rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: .35rem; top: .62em;
  width: 7px; height: 7px;
  background: currentColor;
  opacity: .55;
  border-radius: 50%;
}

/* ---------- Testimonials ---------------------------------------------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
}
.quote { margin: 0; display: flex; flex-direction: column; height: 100%; }
.quote blockquote { margin: 0; flex: 1; }
.quote blockquote p { margin: 0 0 1.4rem; }
.q { opacity: .8; }
.quote figcaption {
  font-size: clamp(1.125rem, 1.4vw, 1.1875rem);
  line-height: 1.4;
  margin-top: 1.3rem;
  opacity: .88;
}

/* ---------- Method steps ---------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4.5vw, 3.75rem);
}
.steps h3 { color: var(--white); margin: 0 0 .5rem; }
.steps p { margin: 0; }

/* ---------- Leadership ------------------------------------------------ */

.strip--leadership .panel {
  background: var(--panel);
  padding: clamp(2rem, 5vw, 4rem);
}
.panel > *:last-child { margin-bottom: 0; }
.strip .lede { font-size: var(--fs-lede); margin-bottom: 1.1rem; }

.strip .standfirst {
  font-size: clamp(1.375rem, 2vw, 1.5rem);
  line-height: 1.38;
  max-width: 36em;
  margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
}

/* ---------- Contact --------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.contact__intro h2 { color: var(--white); }
.contact__intro a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.contact__intro a:hover { border-bottom-color: var(--white); }

.contact__form { display: grid; gap: .8rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.contact__form label { display: block; }

.contact__form input,
.contact__form textarea {
  width: 100%;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .55);
  padding: .7rem .85rem;
  border-radius: 0;
}
.contact__form textarea { resize: vertical; min-height: 7rem; }
.contact__form ::placeholder { color: rgba(255, 255, 255, .75); opacity: 1; }
.contact__form input:focus,
.contact__form textarea:focus { outline: none; border-color: var(--white); background: rgba(255, 255, 255, .08); }
.contact__form input:user-invalid { border-color: #ffd0d0; }

.contact__form button {
  justify-self: start;
  font: inherit;
  font-size: 1.0625rem;
  letter-spacing: .04em;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--white);
  padding: .8rem 2.4rem;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.contact__form button:hover { background: transparent; color: var(--white); }
.contact__form button:disabled { opacity: .55; cursor: default; }
.contact__form button:disabled:hover { background: var(--white); color: var(--ink); }

.strip .form-status { font-size: .95rem; margin: 0; min-height: 1.4em; }

/* ---------- Footer ---------------------------------------------------- */

.site-footer {
  background: var(--white);
  text-align: center;
  padding: 3rem var(--gutter);
}
.site-footer p { margin: 0; font-size: .875rem; }

/* ---------- Responsive ------------------------------------------------ */

/* Narrow screens: copy runs full width, so the scrim must be even. */
@media (max-width: 900px) {
  .strip--hero .strip__bg {
    background-image:
      linear-gradient(rgba(24, 24, 24, .68), rgba(24, 24, 24, .68)),
      url("img/weeks-bridge.jpg");
    background-position: 62% center;
  }
}

@media (max-width: 700px) {
  .strip--hero .strip__bg {
    background-image:
      linear-gradient(rgba(24, 24, 24, .66), rgba(24, 24, 24, .66)),
      url("img/weeks-bridge-portrait.jpg");
    background-position: center;
  }
}

@media (max-width: 820px) {
  .quotes, .steps, .contact { grid-template-columns: minmax(0, 1fr); }
  .quote figcaption { margin-top: 1.05rem; }
}

@media (max-width: 980px) {
  /* Title left, menu button right, both on one centred row. The nav drops
     onto a second row when opened. */
  .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: .9rem var(--gutter);
    text-align: left;
  }
  .site-title { flex: 1 1 auto; min-width: 0; }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
    position: relative;
    width: 44px;
    height: 44px;
    margin-right: -10px;   /* optical: aligns the bars, not the box, to the gutter */
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    position: absolute;
    width: 24px;
    height: 2px;
    border-radius: 1px;
    background: var(--ink);
    transition: transform .2s ease, opacity .2s ease;
  }
  /* The middle bar is placed against the button; the outer two are placed
     against the middle bar, so their offset is 0, not 10px. */
  .nav-toggle__bars { left: 10px; top: 21px; }
  .nav-toggle__bars::before,
  .nav-toggle__bars::after { content: ""; left: 0; }
  .nav-toggle__bars::before { top: -8px; }
  .nav-toggle__bars::after  { top: 8px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-8px) rotate(-45deg); }

  .site-nav { display: none; flex-basis: 100%; margin-top: .9rem; }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .35rem 0 .5rem;
  }
  .site-nav a { padding: .65rem 0; font-size: 1.25rem; }

}

@media (max-width: 640px) {
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
}

