/* SBA Homepage R2. Static stylesheet, no imports. Fonts come from assets/fonts.css. */

:root {
  --black: #000;
  --band: #141414;
  --line: #333;
  --text: #e6e6e6;
  --muted: #b9b9b9;
  --red: #d40000;
  --red-hover: #b30000;
  --red-text: #ff5050;
  --gray-type: #8a8a8a;
  --blue: #4a8ae8;
  --inset: min(1200px, calc(100vw - 32px));
  --photo-h: calc(var(--inset) * 1429 / 2560);
  --head: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--band);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: #fff; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; text-transform: uppercase; margin: 0; line-height: 1.1; }
p { margin: 0; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 7px #000;
}

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: #fff; color: #000; padding: 12px 18px;
  font-family: var(--head); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: var(--inset); margin: 0 auto; }

/* Header */
.site-header { background: var(--black); }
.header-inner {
  width: min(1376px, calc(100vw - 32px));
  margin: 0 auto;
  min-height: 100px;
  display: flex; align-items: center; gap: 12px 20px;
  flex-wrap: wrap;
  padding: 12px 0;
}
.brand { display: inline-flex; align-items: center; min-height: 48px; }
.brand-bulb { height: 76px; width: auto; }
.review-tag {
  font-family: var(--head); font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid #444; border-radius: 3px;
  padding: 3px 8px;
}
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 4px 6px; flex-wrap: wrap; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px;
  font-family: var(--head); font-weight: 700; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: #fff;
}
.site-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.site-nav .nav-cta { background: var(--red); border-radius: 3px; padding: 0 20px; }
.site-nav .nav-cta:hover { background: var(--red-hover); text-decoration: none; }

/* Hero carousel: wide dark inset, photo never covered by text */
.hero-stage {
  position: relative;
  background: linear-gradient(to bottom, var(--black) 0, var(--black) 50%, var(--band) 50%);
  padding-bottom: 8px;
}
.slides {
  width: var(--inset);
  margin: 0 auto;
  display: grid;
}
.slide {
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility 0s linear .4s;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition: opacity .4s ease, visibility 0s linear 0s;
}
.slide-media {
  aspect-ratio: 2560 / 1429;
  background: #000;
  overflow: hidden;
}
.slide-media img { width: 100%; height: 100%; }
.fit-contain { object-fit: contain; }
.fit-cover { object-fit: cover; object-position: center; }

.slide-caption {
  padding: 18px 260px 0 0;
  min-height: 116px;
}
.slide-kicker {
  font-family: var(--head); font-weight: 800; font-size: 15px;
  letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
.slide-text { color: var(--text); font-size: 17px; margin-top: 4px; max-width: 62ch; }
.slide-link {
  display: inline-flex; align-items: center; min-height: 48px;
  font-family: var(--head); font-weight: 700; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; color: #fff;
  text-underline-offset: 6px;
}

.carousel-controls {
  position: absolute;
  right: calc((100% - var(--inset)) / 2);
  top: calc(var(--photo-h) + 18px);
  display: flex; align-items: center; gap: 10px;
  z-index: 2;
}
.ctrl {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px dotted rgba(255, 255, 255, .9);
  background: transparent; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
  flex: 0 0 auto;
}
.ctrl:hover { background: rgba(255, 255, 255, .12); }
.ctrl-counter {
  font-family: var(--head); font-weight: 700; font-size: 14px;
  letter-spacing: .08em; color: #fff; min-width: 52px; text-align: center;
  line-height: 56px;
}
.ctrl-toggle .icon-play { display: none; }
.ctrl-toggle.is-paused .icon-play { display: block; }
.ctrl-toggle.is-paused .icon-pause { display: none; }
.no-js .carousel-controls { display: none; }

/* Where the viewport has room outside the inset, prev/next sit beside the photo as on the current site */
@media (min-width: 1400px) {
  .carousel-controls {
    top: 0; right: 0; bottom: 0; left: 0;
    display: block;
    pointer-events: none;
  }
  .carousel-controls > * { position: absolute; pointer-events: auto; }
  .ctrl-prev { left: 36px; top: calc(var(--photo-h) / 2 - 28px); }
  .ctrl-next { right: 36px; top: calc(var(--photo-h) / 2 - 28px); }
  .ctrl-toggle { right: calc((100% - var(--inset)) / 2 + 62px); top: calc(var(--photo-h) + 18px); }
  .ctrl-counter { right: calc((100% - var(--inset)) / 2); top: calc(var(--photo-h) + 18px); }
  .slide-caption { padding-right: 140px; }
}

/* Intro under the photograph */
.hero-intro {
  width: var(--inset);
  margin: 0 auto;
  padding: 28px 0 40px;
  text-align: center;
}
.eyebrow {
  font-family: var(--head); font-weight: 700; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; color: #fff;
  display: inline-flex; align-items: center; gap: 16px;
}
.eyebrow::after { content: ""; width: 30px; height: 1px; background: #fff; }

.wordmark {
  margin-top: 14px;
  font-size: clamp(2rem, 4.2vw, 3.9rem);
  letter-spacing: -.01em;
  line-height: 1.12;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
.wm-group { white-space: nowrap; display: inline-block; }
.wm-the { color: #fff; }
.wm-small { color: #e3191c; }
.wm-agency { color: var(--blue); }
.wm-cap { font-size: 1.12em; }
.wm-business { font-size: 1.12em; }
.wm-business span {
  color: #fff;
  -webkit-text-stroke: 3px var(--c);
  paint-order: stroke fill;
}
.b1 { --c: #f08a24; } .b2 { --c: #f2c230; } .b3 { --c: #e8642c; } .b4 { --c: #21b3a5; }
.b5 { --c: #3daa4a; } .b6 { --c: #e4473b; } .b7 { --c: #d0246f; } .b8 { --c: #8e44ad; }

.hero-lede {
  margin: 18px auto 0;
  max-width: 46ch;
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--text);
}
.hero-actions, .contact-actions {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 28px;
  font-family: var(--head); font-weight: 700; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  border-radius: 3px; border: 2px solid transparent;
  text-align: center;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: #000; }
.btn-large { font-size: 15px; min-height: 58px; }

/* LOVE SMALL BUSINESS: static, oversized, no marquee movement */
.love-banner {
  overflow: hidden;
  background: var(--band);
  padding: 0 0 12px;
}
.love-banner p {
  font-family: var(--head); font-weight: 800; text-transform: uppercase;
  font-size: 7.4vw; line-height: .95; letter-spacing: -.02em;
  white-space: nowrap; text-align: center; color: var(--gray-type);
}
.love-banner .love { color: var(--red); }

/* Sections */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-help { background: var(--black); }
.section-work { background: var(--band); }
.section-leadership { background: var(--black); border-top: 1px solid #222; }
.section-about { background: var(--band); }
.section-contact { background: var(--black); text-align: center; }

.section-eyebrow {
  font-family: var(--head); font-weight: 700; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--red-text);
  margin-bottom: 10px;
}
.section h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); color: #fff; }
.section-intro { margin-top: 16px; max-width: 62ch; color: var(--muted); }
.section-path { margin-top: 36px; }
.section-path a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
  font-family: var(--head); font-weight: 700; font-size: 15px;
  letter-spacing: .06em; text-transform: uppercase; text-underline-offset: 6px;
}

.help-grid {
  margin-top: 40px;
  display: grid; gap: 2px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #2a2a2a; border: 2px solid #2a2a2a;
}
.help-item { background: var(--black); padding: 32px 26px; }
.help-item h3 { font-size: 18px; color: #fff; letter-spacing: .02em; }
.help-item p { margin-top: 12px; color: var(--text); font-size: 17px; }

.work-grid {
  margin-top: 40px;
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.work-grid > li, .lead-grid > li { min-width: 0; }
.tile, .lead-tile {
  display: flex; flex-direction: column; height: 100%;
  text-decoration: none; color: var(--text);
  background: #0c0c0c; border: 1px solid #262626;
}
.tile:hover, .lead-tile:hover { border-color: #777; }
.tile:hover .tile-more, .lead-tile:hover .tile-more { text-decoration: underline; text-underline-offset: 5px; }
.tile-media, .lead-media {
  display: block; aspect-ratio: 3 / 2; background: #050505; overflow: hidden;
}
.tile-media-light { background: #f4f4f4; }
.tile-media img, .lead-media img { width: 100%; height: 100%; }
.tile-media .fit-contain { padding: 10px; }
.tile-body, .lead-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; flex: 1; }
.tile-cat {
  font-family: var(--head); font-weight: 600; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.tile-name {
  font-family: var(--head); font-weight: 800; font-size: 20px;
  text-transform: uppercase; line-height: 1.15; color: #fff;
}
.tile-text { font-size: 16px; line-height: 1.55; }
.tile-more {
  margin-top: auto; padding-top: 8px;
  font-family: var(--head); font-weight: 700; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; color: #fff;
}

.lead-grid {
  margin-top: 36px;
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.lead-tile { background: var(--band); border-color: var(--line); }
.lead-media { aspect-ratio: 16 / 9; }
.lead-media img { filter: grayscale(.35); }
.lead-tile-text .lead-body { padding-top: 32px; border-top: 4px solid var(--red); }
.lead-role { font-size: 16px; color: var(--text); }
.lead-dates { font-family: var(--head); font-weight: 600; font-size: 13px; letter-spacing: .04em; color: var(--muted); }

.about-wrap {
  display: grid; gap: 24px 64px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: start;
}
.about-copy p { font-size: 19px; max-width: 62ch; }
.about-copy p + p { margin-top: 18px; }

.section .contact-title { font-size: clamp(2.1rem, 6vw, 5.2rem); }
.contact-lede { margin: 20px auto 0; max-width: 46ch; font-size: clamp(18px, 1.7vw, 22px); }
.contact-actions { margin-top: 34px; }

/* Footer: permanent, visible review label and filename */
.site-footer { background: var(--band); border-top: 1px solid #262626; padding: 40px 0 48px; }
.footer-inner { display: grid; gap: 14px; }
.footer-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--head); font-weight: 800; text-transform: uppercase; color: #fff; font-size: 15px;
}
.footer-bulb { height: 44px; width: auto; }
.footer-review { font-size: 15px; color: var(--muted); max-width: 90ch; }
.footer-review strong { color: #fff; }
.footer-file { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.footer-file code { font-family: Consolas, 'Courier New', monospace; color: #fff; font-size: 14px; }

/* Responsive */
@media (max-width: 1099px) {
  .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  body { font-size: 17px; }
  .header-inner { min-height: 0; justify-content: space-between; }
  .brand-bulb { height: 58px; }
  .site-nav { margin-left: 0; width: 100%; }
  .site-nav ul { justify-content: space-between; gap: 4px; }
  .site-nav a { padding: 0 8px; font-size: 12px; letter-spacing: .04em; }
  .site-nav .nav-cta { padding: 0 12px; }

  /* Full photograph, contained, with copy and controls below it */
  .hero-stage { background: linear-gradient(to bottom, var(--black) 0, var(--black) 40%, var(--band) 40%); }
  .slide-caption { padding: 14px 0 0; min-height: 0; }
  .carousel-controls {
    position: static;
    width: var(--inset); margin: 4px auto 0;
    justify-content: space-between;
  }
  .hero-intro { padding-top: 24px; }
  .eyebrow { font-size: 11px; gap: 10px; flex-wrap: wrap; justify-content: center; }
  .eyebrow::after { display: none; }
  .wordmark { font-size: clamp(1.55rem, 7.4vw, 2.4rem); }
  .wm-business span { -webkit-text-stroke-width: 2px; }

  .love-banner p { font-size: 17vw; white-space: normal; line-height: .92; }
  .love-banner span { display: block; }

  .help-grid, .work-grid, .lead-grid { grid-template-columns: minmax(0, 1fr); }
  .about-wrap { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 479px) {
  .hero-actions .btn, .contact-actions .btn { width: 100%; }
  .btn-large { font-size: 14px; padding: 14px 16px; }
}
