/* ------------------------------------------------------------
   Westbrook Strategies design layer.
   Loads after Bootstrap, main.css and modules.css.
------------------------------------------------------------ */

:root {
  --ws-ink: #12232E;
  --ws-cream: #FCFAF3;
  --ws-sage: #E7EDE3;
  --ws-off: #F7F5EE;
  --ws-sand: #F4F0E6;
  --ws-orange: #EA572E;
  --ws-orange-deep: #B33F1C; /* orange for small text on light backgrounds (passes AA) */
  --ws-line: #E2DFD2;
  --ws-line-soft: #E9E6D9;
  --ws-rule: #C9C6B8;
  --ws-text: #35464F;
  --ws-muted: #46565F;
  --ws-soft: #5A6B76;
  --ws-on-ink: #C9D2D8;
  --ws-on-ink-quiet: #9FADB6;
  --ws-deep: #0D1A22;
  --ws-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --ws-sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ws-wrap: 1240px;
  --ws-gutter: 28px;

  --bt-font-sans: var(--ws-sans);
  --bs-body-bg: var(--ws-cream);
}

html, body { height: auto; }
body {
  font-family: var(--ws-sans);
  color: var(--ws-ink);
  background: var(--ws-cream);
  overflow-x: hidden;
}
::selection { background: var(--ws-orange); color: #fff; }
main a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ws-orange); outline-offset: 3px; box-shadow: none; }

.ws-wrap { max-width: var(--ws-wrap); margin: 0 auto; padding: 0 var(--ws-gutter); }

/* ---------- Header ---------- */
.ws-header { position: sticky; top: 0; z-index: 1100; background: rgba(252,250,243,.94); border-bottom: 1px solid var(--ws-line); }
/* blur lives on a pseudo-element so it doesn't trap the fixed-position mobile offcanvas inside the header */
.ws-header::before { content: ""; position: absolute; inset: 0; z-index: -1; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.admin-bar .ws-header { top: 32px; }
.ws-navbar { padding: 0; }
.ws-navbar > .container { max-width: var(--ws-wrap); padding: 16px var(--ws-gutter); gap: 28px; }
.ws-navbar .navbar-brand { margin: 0; padding: 0; font-family: var(--ws-serif); font-size: 24px; color: var(--ws-ink); }
.ws-navbar .navbar-brand img, .ws-navbar .custom-logo { display: block; height: clamp(40px, 4.5vw, 56px); width: auto; max-width: none; }
.ws-navbar .navbar-nav { gap: 4px; align-items: center; }
.ws-navbar .nav-link {
  font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500;
  padding: 9px 13px; border-radius: 2px; color: var(--ws-soft); border-bottom: 2px solid transparent;
}
.ws-navbar .nav-link:hover { color: var(--ws-ink); background: var(--ws-sage); }
.ws-navbar .nav-link.active,
.ws-navbar .current-menu-item > .nav-link,
.ws-navbar .current_page_item > .nav-link { color: var(--ws-ink); border-bottom-color: var(--ws-orange); }
.ws-navbar .navbar-toggler { border-color: var(--ws-rule); }
.offcanvas { background: var(--ws-cream); }
.offcanvas { z-index: 1200; }
.offcanvas-backdrop { z-index: 1150; }
.offcanvas .offcanvas-header { justify-content: flex-end; }
.offcanvas .navbar-nav { align-items: flex-start; margin: 0 !important; width: 100%; }
.offcanvas .nav-link { font-size: 15px; padding: 12px 0; text-align: left; }

/* ---------- Type ---------- */
.ws-eyebrow { margin: 0 0 20px; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--ws-orange-deep); }
.ws-bg-ink .ws-eyebrow { color: var(--ws-orange); }
.ws-eyebrow--spaced { margin-bottom: clamp(32px, 5vw, 56px); }
.ws-eyebrow--muted { color: var(--ws-soft); }
.ws-label { margin: 0 0 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--ws-soft); }
.ws-num { font-family: var(--ws-serif); font-size: 15px; color: var(--ws-orange-deep); margin: 0 0 14px; }

.ws-display, .ws-h2, .ws-h3, .ws-h4 { font-family: var(--ws-serif); font-weight: 400; margin: 0; text-wrap: balance; }
.ws-display { font-size: clamp(44px, 7.6vw, 108px); line-height: .98; letter-spacing: -.012em; }
.ws-display--page { font-size: clamp(40px, 6vw, 84px); line-height: 1; max-width: 18ch; margin-bottom: clamp(28px, 4vw, 48px); }
.ws-display--ink { color: var(--ws-ink); margin-bottom: 0; font-size: clamp(40px, 6vw, 84px); line-height: 1; max-width: 18ch; }
.ws-display--contact { font-size: clamp(36px, 5.2vw, 70px); line-height: 1.02; max-width: 14ch; margin-bottom: 26px; }
.ws-display em, .ws-h2 em, .ws-h3 em { font-style: italic; color: var(--ws-orange); }
.ws-h2 { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.06; letter-spacing: -.012em; max-width: 18ch; }
.ws-h2--wide { max-width: 24ch; margin-bottom: 22px; }
.ws-h2--mid { font-size: clamp(28px, 3.4vw, 44px); max-width: 20ch; margin-bottom: 22px; }
.ws-h2--spaced { margin-bottom: clamp(28px, 4vw, 48px); max-width: none; }
.ws-h2--case { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 12px; max-width: none; }
.ws-h2--narrow { font-size: clamp(32px, 4.6vw, 60px); max-width: 14ch; line-height: 1.04; }
.ws-h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -.01em; max-width: 22ch; margin-bottom: 20px; }
.ws-h4 { font-size: clamp(23px, 2.1vw, 28px); line-height: 1.12; letter-spacing: -.01em; }

.ws-lead { margin: 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ws-on-ink); max-width: 52ch; }
.ws-lead--quiet { color: var(--ws-on-ink-quiet); font-size: 17px; line-height: 1.65; }
.ws-lead--ink { color: var(--ws-ink); font-size: clamp(19px, 1.7vw, 22px); line-height: 1.55; margin-bottom: 18px; max-width: 56ch; }
.ws-body { margin: 0 0 18px; font-size: 18px; line-height: 1.65; color: var(--ws-text); max-width: 56ch; }
.ws-body--soft { color: var(--ws-muted); font-size: 16px; }
.ws-body--lg { margin-bottom: 32px; color: var(--ws-muted); max-width: 46ch; }
.ws-small-body { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ws-muted); }
.ws-measure-wide { max-width: 62ch; }
.ws-measure-full { max-width: 100ch; margin-bottom: 30px; }
.ws-prose-copy > p { margin: 0 0 18px; font-size: 18px; line-height: 1.65; color: var(--ws-text); max-width: 56ch; }
.ws-prose-copy > p:last-child { margin-bottom: 0; }
.ws-panel .ws-prose-copy > p { font-size: 17px; max-width: none; }
.ws-prose { font-size: 18px; line-height: 1.7; color: var(--ws-text); max-width: 72ch; }
.ws-prose h2, .ws-prose h3 { font-family: var(--ws-serif); font-weight: 400; margin: 1.6em 0 .6em; }

/* ---------- Links and buttons ---------- */
.ws-link { display: inline-flex; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ws-orange-deep); }
.ws-link:hover { color: var(--ws-ink); }
.ws-bg-ink .ws-link { color: var(--ws-orange); }
.ws-btn {
  display: inline-flex; gap: 10px; align-items: center; white-space: nowrap; padding: 16px 28px;
  font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border: 1px solid transparent;
}
.ws-btn--primary { background: var(--ws-orange); color: #fff; }
.ws-btn--primary:hover { background: #fff; color: var(--ws-ink); }
.ws-btn--outline { border-color: #45555F; color: var(--ws-cream); }
.ws-btn--outline:hover { border-color: var(--ws-cream); color: var(--ws-cream); }
.ws-btn--ink { background: var(--ws-ink); color: #fff; border: 0; cursor: pointer; }
.ws-btn--ink:hover { background: var(--ws-orange); color: #fff; }
.ws-btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
.ws-section { padding: clamp(56px, 8vw, 110px) 0; }
.ws-section--page-head { padding: clamp(48px, 7vw, 92px) 0 clamp(36px, 5vw, 60px); }
.ws-section--flush-top { padding-top: 0; }
.ws-bg-ink { background: var(--ws-ink); color: var(--ws-cream); }
.ws-bg-sage { background: var(--ws-sage); }
.ws-bg-off { background: var(--ws-off); }
.ws-bg-sand { background: var(--ws-sand); }

.ws-hero { padding: clamp(52px, 8vw, 110px) 0; }
.ws-hero--home { padding: clamp(72px, 11vw, 150px) 0 clamp(64px, 9vw, 120px); }
.ws-hero__stack { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-direction: column; align-items: flex-start; gap: clamp(28px, 4vw, 40px); }
.ws-hero__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(24px, 4vw, 64px); align-items: start; }
.ws-hero__cols--dark { margin-top: clamp(28px, 4vw, 44px); }
.ws-hero__intro { margin: -8px 0 clamp(32px, 5vw, 56px); max-width: 62ch; }
.ws-hero__action { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }

.ws-section__head { margin-bottom: clamp(32px, 4vw, 48px); }

/* Cards: always two across on desktop */
.ws-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 16px; }
.ws-card { background: var(--ws-cream); border-top: 3px solid var(--ws-orange); padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 14px; }
.ws-stack-row { margin-top: 28px; display: grid; gap: 24px; justify-items: start; width: 100%; }
.ws-tagline { margin: 0; font-family: var(--ws-serif); font-size: clamp(20px, 2vw, 25px); line-height: 1.4; color: #22333C; white-space: nowrap; }
@media (max-width: 767px) { .ws-tagline { white-space: normal; } }

.ws-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(36px, 6vw, 96px); }
.ws-pillar { border-top: 1px solid var(--ws-rule); padding-top: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; align-items: flex-start; }
.ws-pillar .ws-h2 { margin-bottom: 22px; max-width: 16ch; }
.ws-pillar .ws-body { margin-bottom: 30px; max-width: 44ch; }
.ws-pillar__link { margin-top: auto; }

.ws-cta { padding: clamp(48px, 6vw, 80px) 0; }
.ws-cta__inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.ws-cta__text { margin: 0; max-width: 760px; font-family: var(--ws-serif); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.012em; text-wrap: balance; }
.ws-cta__text em { font-style: italic; color: var(--ws-orange); }

.ws-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ws-split--ruled { border-top: 1px solid var(--ws-line); padding-top: clamp(28px, 4vw, 44px); }
.ws-split--end { align-items: end; }
.ws-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.ws-bg-ink .ws-lead { max-width: 46ch; }

.ws-panel { background: var(--ws-cream); border: 1px solid var(--ws-line); padding: clamp(26px, 3vw, 40px); }
.ws-panel .ws-prose-copy { margin-bottom: 26px; }

/* About */
.ws-about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; border-top: 1px solid var(--ws-line); padding-top: clamp(32px, 4vw, 52px); }
.ws-about__copy { display: grid; gap: 4px; }
.ws-media { background: var(--ws-sage); overflow: hidden; }
.ws-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ws-media--portrait { max-width: 420px; aspect-ratio: 4 / 5; }
.ws-media--landscape { aspect-ratio: 4 / 3; }
.ws-media--empty { background: var(--ws-sage); }

.ws-namelist { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.ws-namelist li { font-family: var(--ws-serif); font-size: clamp(22px, 2.4vw, 30px); padding: 16px 0; border-bottom: 1px solid #253B48; letter-spacing: -.01em; }

/* Training / lists */
.ws-area { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 4vw, 64px); padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--ws-line); align-items: start; }
.ws-area:last-child { border-bottom: 1px solid var(--ws-line); }
.ws-area .ws-body { font-size: 17px; max-width: 46ch; }
.ws-area .ws-eyebrow { margin-bottom: 16px; }
.ws-ruled-list { list-style: none; margin: 0; padding: 0; }
.ws-ruled-list li { font-size: 16.5px; line-height: 1.45; padding: 10px 0; border-bottom: 1px solid var(--ws-line-soft); color: #22333C; }
.ws-ruled-list--cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0 32px; }
.ws-ruled-list--cols li { font-size: 17px; padding: 12px 0; }
.ws-area .ws-ruled-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 0 32px; }
.ws-numbered li { display: flex; gap: 18px; align-items: baseline; padding: 14px 0; font-size: 17px; line-height: 1.5; }
.ws-numbered .ws-num { margin: 0; flex: 0 0 auto; }

/* Campaigns */
.ws-case { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 72px); padding: clamp(32px, 5vw, 64px) 0; border-top: 1px solid var(--ws-line); align-items: flex-start; }
.ws-case:last-child { border-bottom: 1px solid var(--ws-line); }
.ws-case--flip { flex-direction: row-reverse; }
.ws-case__media { flex: 1 1 340px; min-width: 0; }
.ws-case__copy { flex: 1 1 380px; min-width: 0; }
.ws-case__copy .ws-body { font-size: 17px; margin-bottom: 16px; }
.ws-tags { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ws-tags li { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; color: var(--ws-text); background: var(--ws-sage); padding: 7px 11px; }

/* Logo wall */
.ws-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-top: 1px solid var(--ws-line); border-left: 1px solid var(--ws-line); }
.ws-logos__cell { border-right: 1px solid var(--ws-line); border-bottom: 1px solid var(--ws-line); display: flex; align-items: center; justify-content: center; padding: 30px 20px; min-height: 132px; }
.ws-logos__img { max-height: 76px; width: auto; max-width: 100%; object-fit: contain; }
.ws-logos__name { font-family: var(--ws-serif); font-size: 22px; letter-spacing: -.01em; }

/* Contact */
.ws-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ws-contact__email { border-top: 1px solid var(--ws-line); padding-top: 24px; }
.ws-contact__email a { font-size: 20px; font-weight: 500; color: var(--ws-orange-deep); }
.ws-form-panel { display: grid; gap: 18px; background: var(--ws-sage); padding: clamp(26px, 3vw, 40px); }
.ws-field { display: grid; gap: 8px; }
.ws-field span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ws-muted); font-weight: 500; }
.ws-field input, .ws-field textarea, .ws-form-panel input[type=text], .ws-form-panel input[type=email], .ws-form-panel textarea {
  width: 100%; border: 1px solid #D5D2C2; background: var(--ws-cream); padding: 13px 14px; font-size: 16px; color: var(--ws-ink); border-radius: 0;
}
.ws-form-panel .gform_button, .ws-form-panel input[type=submit] { background: var(--ws-ink); color: #fff; border: 0; padding: 16px 30px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; justify-self: start; }
.ws-form-panel .gform_button:hover, .ws-form-panel input[type=submit]:hover { background: var(--ws-orange); }
.ws-form .ws-btn { justify-self: start; }
.ws-form__hp { position: absolute; left: -9999px; }
.ws-form__note { margin: 0; font-size: 15px; color: var(--ws-orange-deep); }
.ws-form__note--error { color: #9B1C1C; }

/* ---------- Footer ---------- */
.ws-footer { background: var(--ws-deep); color: #8FA0AA; padding: clamp(40px, 5vw, 64px) 0; }
.ws-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px; align-items: start; }
.ws-footer__logo { display: block; margin-bottom: 22px; }
.ws-footer__logo img { display: block; height: clamp(52px, 5vw, 72px); width: auto; }
.ws-footer__logo--text { font-family: var(--ws-serif); font-size: 26px; color: var(--ws-cream); }
.ws-footer__text { margin: 0; font-size: 14.5px; line-height: 1.6; max-width: 34ch; }
.ws-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; justify-items: start; }
.ws-footer a { color: var(--ws-on-ink); font-size: 14.5px; }
.ws-footer a:hover { color: var(--ws-orange); }
.ws-footer__contact { display: grid; gap: 10px; justify-items: start; }
.ws-footer__copy { margin: 14px 0 0; font-size: 13px; color: #7F909A; }

@media (max-width: 782px) { .admin-bar .ws-header { top: 46px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }