/* ==========================================================================
   beccaellison.com — hiring portfolio
   Shared design system + page styles
   Namespace: .be-*
   Body class per page: body.be-home | body.be-case
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Color */
  --ink: #0A0A0A;
  --ink-soft: #1A1A1A;
  --paper: #FFFFFF;
  --paper-2: #F5F4F1;
  --rule: #E6E4DE;
  --muted: #6B6B6B;
  --accent: #81BBC1;
  --accent-ink: #2C6A70; /* darker teal for text-on-white contrast */

  /* Type */
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Scale (fluid) */
  --step--1: clamp(0.83rem, 0.79rem + 0.20vw, 0.94rem);
  --step-0:  clamp(1.00rem, 0.94rem + 0.30vw, 1.13rem);
  --step-1:  clamp(1.20rem, 1.10rem + 0.50vw, 1.42rem);
  --step-2:  clamp(1.44rem, 1.28rem + 0.80vw, 1.78rem);
  --step-3:  clamp(1.73rem, 1.48rem + 1.24vw, 2.22rem);
  --step-4:  clamp(2.07rem, 1.71rem + 1.83vw, 2.78rem);
  --step-5:  clamp(2.49rem, 1.95rem + 2.68vw, 3.47rem);
  --step-6:  clamp(2.99rem, 2.22rem + 3.85vw, 4.34rem);
  --step-7:  clamp(3.58rem, 2.51rem + 5.36vw, 5.42rem);

  /* Layout */
  --wrap-text: 1120px;
  --wrap-wide: 1240px;
  --wrap-narrow: 780px;
  --gutter: clamp(20px, 4vw, 32px);
  --section-y: clamp(80px, 10vw, 140px);
  --section-y-sm: clamp(56px, 7vw, 96px);

  /* Radii + borders */
  --radius-sm: 4px;
  --radius: 8px;
  --border: 1px solid var(--rule);
}

/* ---------- Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent-ink); }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.be-mono-nums { font-variant-numeric: tabular-nums; }

/* ---------- Layout primitives ---------- */
.be-wrap { max-width: var(--wrap-text); margin: 0 auto; padding: 0 var(--gutter); }
.be-wrap--wide { max-width: var(--wrap-wide); margin: 0 auto; padding: 0 var(--gutter); }
.be-wrap--narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 var(--gutter); }

.be-section { padding: var(--section-y) 0; }
.be-section--sm { padding: var(--section-y-sm) 0; }
.be-section--alt { background: var(--paper-2); }

.be-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.be-eyebrow--accent { color: var(--accent-ink); }

.be-rule {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}

.be-muted { color: var(--muted); }
.be-accent-text { color: var(--accent-ink); }

/* ---------- Nav (shared, minimal, sticky) ---------- */
.be-nav {
  padding: 20px 0;
  border-bottom: var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.be-nav__inner {
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.be-nav__mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.be-nav__mark span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.be-nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: var(--step--1);
  font-weight: 500;
}
.be-nav__links a { color: var(--muted); }
.be-nav__links a:hover,
.be-nav__links a.is-active { color: var(--ink); }
@media (max-width: 720px) {
  .be-nav__links { gap: 16px; }
  .be-nav__links a:not(.be-nav__contact) { display: none; }
}

/* ---------- Buttons ---------- */
.be-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}
.be-btn:hover {
  background: var(--accent-ink);
  border-color: var(--accent-ink);
  color: var(--paper);
}
.be-btn--ghost {
  background: transparent;
  color: var(--ink);
}
.be-btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.be-btn--sm { padding: 10px 16px; font-size: var(--step--1); }
.be-btn--disabled {
  background: transparent;
  color: var(--muted);
  border-color: var(--rule);
  cursor: not-allowed;
  pointer-events: none;
}
.be-btn__meta {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 4px;
  font-weight: 500;
}
.be-btn__arrow { display: inline-block; transition: transform 0.15s ease; }
.be-btn:hover .be-btn__arrow { transform: translateX(3px); }

/* ---------- Footer (shared) ---------- */
.be-footer {
  padding: 56px 0 40px;
  border-top: var(--border);
  background: var(--paper);
  color: var(--muted);
  font-size: var(--step--1);
}
.be-footer__inner {
  max-width: var(--wrap-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: baseline;
}
.be-footer a { color: var(--muted); }
.be-footer a:hover { color: var(--ink); }

/* ---------- Placeholder styling (visible where Becca fills content) ---------- */
.be-placeholder {
  display: block;
  padding: 14px 18px;
  background: repeating-linear-gradient(
    45deg,
    #F0F7F8,
    #F0F7F8 8px,
    #E4EFF1 8px,
    #E4EFF1 16px
  );
  border: 1px dashed var(--accent-ink);
  border-radius: var(--radius-sm);
  color: var(--accent-ink);
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 16px 0;
}

/* ==========================================================================
   CASE STUDY PAGES  (body.be-case)
   Shared layout for brand-building, seo, content, etc.
   ========================================================================== */

body.be-case { background: var(--paper); }

/* ---------- Case hero ---------- */
body.be-case .be-case-hero {
  padding: clamp(72px, 9vw, 128px) 0 clamp(56px, 7vw, 96px);
  border-bottom: var(--border);
}
body.be-case .be-case-hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 24px;
  display: block;
}
body.be-case .be-case-hero__title {
  font-family: var(--font-display);
  font-size: var(--step-6);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  max-width: 22ch;
}
body.be-case .be-case-hero__title em {
  font-style: italic;
  color: var(--accent-ink);
}
body.be-case .be-case-hero__lede {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 40px;
  max-width: 60ch;
  font-weight: 400;
}
body.be-case .be-case-hero__meta {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 8px 40px;
  padding-top: 32px;
  border-top: var(--border);
  font-family: var(--font-body);
  font-size: var(--step--1);
  color: var(--muted);
}
body.be-case .be-case-hero__meta dt {
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  grid-row: 1;
}
body.be-case .be-case-hero__meta dd {
  margin: 0;
  color: var(--ink);
  font-size: var(--step-0);
  grid-row: 2;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 720px) {
  body.be-case .be-case-hero__meta {
    grid-template-columns: repeat(2, auto);
    gap: 20px 40px;
  }
  body.be-case .be-case-hero__meta dt { grid-row: auto; }
  body.be-case .be-case-hero__meta dd { grid-row: auto; margin-bottom: 8px; }
}

/* ---------- Case hero split (photo left, text right) — used on photography page ---------- */
body.be-case .be-case-hero--split .be-wrap--wide {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
body.be-case .be-case-hero__photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
}
body.be-case .be-case-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}
@media (max-width: 820px) {
  body.be-case .be-case-hero--split .be-wrap--wide {
    grid-template-columns: 1fr;
  }
  body.be-case .be-case-hero__photo {
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ---------- Photography: Types of work band ---------- */
body.be-case .be-photo-types {
  padding: clamp(56px, 7vw, 88px) 0;
  border-bottom: var(--border);
  text-align: center;
}
body.be-case .be-photo-types__eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 20px;
}
body.be-case .be-photo-types__tag {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
body.be-case .be-photo-types__tag em {
  font-style: italic;
  color: var(--accent-ink);
}
body.be-case .be-photo-types__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-soft);
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 780px;
  text-align: center;
}
body.be-case .be-photo-types__list li {
  padding: 0;
}
@media (max-width: 720px) {
  body.be-case .be-photo-types__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Photography: Client roster wall ---------- */
body.be-case .be-photo-roster {
  padding: clamp(48px, 6vw, 72px) 0;
  border-bottom: var(--border);
  background: var(--paper-2);
}
body.be-case .be-photo-roster__head {
  text-align: center;
  margin-bottom: 32px;
}
body.be-case .be-photo-roster__title {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
body.be-case .be-photo-roster__wall {
  columns: 3;
  column-gap: 40px;
  font-family: var(--font-body);
  font-size: var(--step--1);
  line-height: 1.9;
  color: var(--ink-soft);
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 820px;
}
body.be-case .be-photo-roster__wall li {
  break-inside: avoid;
  padding-right: 8px;
}
body.be-case .be-photo-roster__wall li.is-featured {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.5;
}
@media (max-width: 900px) { body.be-case .be-photo-roster__wall { columns: 2; } }
@media (max-width: 520px) { body.be-case .be-photo-roster__wall { columns: 1; } }

/* ---------- Photography gallery (masonry) ---------- */
body.be-case .be-photo-gallery {
  columns: 3;
  column-gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
body.be-case .be-photo-gallery li {
  break-inside: avoid;
  margin: 0 0 12px;
}
body.be-case .be-photo-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  transition: transform 0.35s ease, filter 0.35s ease;
}
body.be-case .be-photo-gallery li:hover img {
  transform: scale(1.02);
  filter: brightness(1.03);
}
@media (max-width: 900px) { body.be-case .be-photo-gallery { columns: 2; } }
@media (max-width: 520px) { body.be-case .be-photo-gallery { columns: 1; } }

/* ---------- Case section header ---------- */
body.be-case .be-case-sec {
  padding: clamp(72px, 8vw, 112px) 0;
}
body.be-case .be-case-sec--alt { background: var(--paper-2); }
body.be-case .be-case-sec--ink {
  background: var(--ink);
  color: var(--paper);
}
body.be-case .be-case-sec--ink h2,
body.be-case .be-case-sec--ink h3 { color: var(--paper); }
body.be-case .be-case-sec--ink .be-eyebrow { color: var(--accent); }

body.be-case .be-case-sec__head {
  max-width: 900px;
  margin: 0 auto 56px;
  text-align: center;
}
body.be-case .be-case-sec__title {
  font-family: var(--font-display);
  font-size: var(--step-5);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
body.be-case .be-case-sec__title em {
  font-style: italic;
  color: var(--accent-ink);
}
body.be-case .be-case-sec__title .be-line {
  display: block;
}

/* ---------- Brand card with thumbnail (interactive) ---------- */
body.be-case .be-brand-card {
  padding: 0;
  overflow: hidden;
}
body.be-case .be-brand-card__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
  position: relative;
  border-bottom: var(--border);
}
body.be-case .be-brand-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
  display: block;
}
body.be-case .be-brand-card:hover .be-brand-card__thumb img {
  transform: scale(1.03);
}
body.be-case .be-brand-card__thumb-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
  gap: 4px;
  background: repeating-linear-gradient(
    45deg, #F0F7F8, #F0F7F8 10px, #E4EFF1 10px, #E4EFF1 20px
  );
}
body.be-case .be-brand-card__thumb-placeholder span {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.02em;
  text-transform: none;
  opacity: 0.7;
}
body.be-case .be-brand-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
body.be-case .be-case-sec--ink .be-brand-card__thumb {
  border-bottom-color: rgba(255,255,255,0.15);
}
body.be-case .be-case-sec--ink .be-case-sec__title em { color: var(--accent); }
body.be-case .be-case-sec__intro {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 auto;
}
body.be-case .be-case-sec--ink .be-case-sec__intro { color: rgba(255,255,255,0.82); }

/* ---------- Featured brand callout ---------- */
body.be-case .be-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
  padding: clamp(32px, 4vw, 56px);
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  margin-bottom: clamp(56px, 6vw, 80px);
}
body.be-case .be-case-sec--ink .be-featured {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.15);
}
body.be-case .be-featured__eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 16px;
  display: block;
}
body.be-case .be-case-sec--ink .be-featured__eyebrow { color: var(--accent); }
body.be-case .be-featured__title {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
body.be-case .be-featured__body p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1em;
}
body.be-case .be-case-sec--ink .be-featured__body p { color: rgba(255,255,255,0.78); }
body.be-case .be-featured__list {
  list-style: none;
  padding: 16px 0 0;
  margin: 16px 0 0;
  border-top: 1px dashed var(--rule);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 20px;
  font-size: var(--step--1);
  color: var(--muted);
}
body.be-case .be-case-sec--ink .be-featured__list { border-top-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.65); }
body.be-case .be-featured__list li::before {
  content: "→ ";
  color: var(--accent-ink);
  font-weight: 500;
  margin-right: 4px;
}
body.be-case .be-case-sec--ink .be-featured__list li::before { color: var(--accent); }
body.be-case .be-featured__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-weight: 500;
  color: var(--ink);
}
body.be-case .be-case-sec--ink .be-featured__link { color: var(--paper); }
body.be-case .be-featured__visual {
  position: relative;
  min-height: 380px;
  background: var(--paper-2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: var(--border);
}
body.be-case .be-featured__visual img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: top center;
}
body.be-case .be-featured__visual--top img {
  object-fit: contain;
  object-position: top center;
  background: var(--paper-2);
}
body.be-case .be-featured__visual-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--accent-ink);
  font-size: var(--step--1);
  font-weight: 500;
  text-align: center; padding: 24px;
  background: repeating-linear-gradient(
    45deg, #F0F7F8, #F0F7F8 12px, #E4EFF1 12px, #E4EFF1 24px
  );
  gap: 4px;
}
body.be-case .be-featured__visual-placeholder span { opacity: 0.7; font-weight: 400; font-size: 0.85em; }
@media (max-width: 820px) {
  body.be-case .be-featured { grid-template-columns: 1fr; }
  body.be-case .be-featured__list { grid-template-columns: 1fr; }
}

/* ---------- Brand grid (smaller cards) ---------- */
body.be-case .be-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
body.be-case .be-brand-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}
body.be-case .be-brand-grid--5col {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1080px) {
  body.be-case .be-brand-grid--5col { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 780px) {
  body.be-case .be-brand-grid--3col,
  body.be-case .be-brand-grid--5col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  body.be-case .be-brand-grid--3col,
  body.be-case .be-brand-grid--5col { grid-template-columns: 1fr; }
}

/* ---------- Subsection head (smaller than section head) ---------- */
body.be-case .be-subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: clamp(48px, 5vw, 72px) 0 24px;
  padding-bottom: 16px;
  border-bottom: var(--border);
}
body.be-case .be-case-sec--ink .be-subhead { border-bottom-color: rgba(255,255,255,0.15); }
body.be-case .be-subhead:first-child { margin-top: 0; }
body.be-case .be-subhead__title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
}
body.be-case .be-subhead__note {
  font-family: var(--font-body);
  font-size: var(--step--1);
  color: var(--muted);
  margin: 0;
}
body.be-case .be-case-sec--ink .be-subhead__note { color: rgba(255,255,255,0.6); }
body.be-case .be-brand-card {
  padding: 24px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
body.be-case .be-brand-card:hover {
  border-color: var(--accent-ink);
  transform: translateY(-2px);
}
body.be-case .be-brand-card--nolink {
  cursor: default;
  pointer-events: auto;
}
body.be-case .be-brand-card--nolink:hover {
  border-color: var(--rule);
  transform: none;
}
body.be-case .be-brand-card--nolink:hover .be-brand-card__thumb img {
  transform: none;
}
body.be-case .be-case-sec--ink .be-brand-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  color: var(--paper);
}
body.be-case .be-case-sec--ink .be-brand-card:hover { border-color: var(--accent); }
body.be-case .be-brand-card__name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
body.be-case .be-brand-card__scope {
  font-family: var(--font-body);
  font-size: var(--step--1);
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 16px;
}
body.be-case .be-case-sec--ink .be-brand-card__scope { color: rgba(255,255,255,0.6); }
body.be-case .be-brand-card__link {
  margin-top: auto;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--accent-ink);
  letter-spacing: 0.02em;
}
body.be-case .be-case-sec--ink .be-brand-card__link { color: var(--accent); }

/* ---------- Method / principles list ---------- */
body.be-case .be-method {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px 32px;
  counter-reset: method;
}
body.be-case .be-method__item { grid-column: span 2; }
body.be-case .be-method__item:nth-child(n+4) { grid-column: span 3; }
body.be-case .be-method--2col .be-method__item,
body.be-case .be-method--2col .be-method__item:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 900px) {
  body.be-case .be-method { grid-template-columns: 1fr 1fr; }
  body.be-case .be-method__item,
  body.be-case .be-method__item:nth-child(n+4) { grid-column: auto; }
}
@media (max-width: 560px) {
  body.be-case .be-method { grid-template-columns: 1fr; }
}
body.be-case .be-method__item {
  counter-increment: method;
  position: relative;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}
body.be-case .be-method__item::before {
  content: counter(method, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--accent-ink);
  display: block;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
body.be-case .be-method__title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
body.be-case .be-method__body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- SEO proof gallery ---------- */
body.be-case .be-proof-gallery {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
body.be-case .be-proof-gallery__item {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
}
body.be-case .be-proof-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
body.be-case .be-proof-gallery__caption {
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.6);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(4px);
}
@media (max-width: 820px) {
  body.be-case .be-proof-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- NSHM metrics strip (case-page use, sits on ink section) ---------- */
body.be-case .be-nshm-metrics {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid rgba(255,255,255,0.15);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}
body.be-case .be-nshm-metric__num {
  font-family: var(--font-display);
  font-size: var(--step-5);
  font-weight: 400;
  line-height: 1;
  color: var(--paper);
  letter-spacing: -0.02em;
}
body.be-case .be-nshm-metric__num em {
  font-style: italic;
  color: var(--accent);
}
body.be-case .be-nshm-metric__label {
  margin-top: 10px;
  font-size: var(--step--1);
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}
@media (max-width: 820px) {
  body.be-case .be-nshm-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- CTA band ---------- */
body.be-case .be-cta {
  padding: clamp(72px, 9vw, 128px) 0;
  text-align: center;
  border-top: var(--border);
}
body.be-case .be-cta__title {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 26ch;
  margin-left: auto;
  margin-right: auto;
}
body.be-case .be-cta__title em { font-style: italic; color: var(--accent-ink); }
body.be-case .be-cta__actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ==========================================================================
   HOME PAGE  (body.be-home)
   ========================================================================== */

body.be-home .be-hero {
  padding: clamp(64px, 8vw, 112px) 0 clamp(56px, 7vw, 96px);
}
body.be-home .be-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
body.be-home .be-hero__title {
  font-size: var(--step-6);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
body.be-home .be-hero__title em {
  font-style: italic;
  color: var(--accent-ink);
}
body.be-home .be-hero__lede {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 32px;
  font-weight: 400;
}
body.be-home .be-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 32px;
}
body.be-home .be-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: var(--step--1);
  color: var(--muted);
  letter-spacing: -0.005em;
  margin-top: 4px;
}
body.be-home .be-hero__meta > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
body.be-home .be-hero__meta .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
body.be-home .be-hero__meta .sep {
  color: var(--rule);
}
body.be-home .be-hero__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--border);
}
body.be-home .be-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
body.be-home .be-hero__photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-ink);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 24px;
  background: repeating-linear-gradient(
    45deg,
    #F0F7F8,
    #F0F7F8 12px,
    #E4EFF1 12px,
    #E4EFF1 24px
  );
}
@media (max-width: 820px) {
  body.be-home .be-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  body.be-home .be-hero__photo {
    aspect-ratio: 3 / 2;
    max-width: 540px;
    margin: 0 auto;
  }
}

/* ---------- About section ---------- */
body.be-home .be-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: stretch;
}
body.be-home .be-about__photo {
  overflow: hidden;
  border-radius: var(--radius);
  background: #DDDDDA;
  min-height: 380px;
}
body.be-home .be-about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}
body.be-home .be-about__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
body.be-home .be-about__title {
  font-size: var(--step-4);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
body.be-home .be-about__body p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1.1em;
  max-width: 60ch;
}
body.be-home .be-about__body p:last-child { margin-bottom: 0; }

body.be-home .be-stats {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
body.be-home .be-stats--3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
body.be-home .be-stat__num {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
body.be-home .be-stat__num em {
  font-style: italic;
  color: var(--accent-ink);
}
body.be-home .be-stat__label {
  margin-top: 8px;
  font-size: var(--step--1);
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.4;
}
@media (max-width: 820px) {
  body.be-home .be-about__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  body.be-home .be-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
}

/* ---------- Case Studies grid ---------- */
body.be-home .be-cases__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
body.be-home .be-cases__title {
  font-size: var(--step-4);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 22ch;
}
body.be-home .be-cases__note {
  font-size: var(--step--1);
  color: var(--muted);
  max-width: 30ch;
  margin: 0;
}
body.be-home .be-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
body.be-home .be-case-card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.2vw, 44px);
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  min-height: 100%;
}
body.be-home .be-case-card:hover {
  border-color: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(10, 10, 10, 0.05);
}
body.be-home .be-case-card--hero {
  grid-column: 1 / -1;
  background: var(--accent-ink);
  color: var(--paper);
  border-color: var(--accent-ink);
  text-align: center;
  align-items: center;
}
body.be-home .be-case-card--hero:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(44, 106, 112, 0.25);
}
body.be-home .be-case-card--hero .be-case-card__eyebrow { color: var(--paper); }
body.be-home .be-case-card--hero .be-case-card__lede { color: var(--paper); max-width: 66ch; margin-left: auto; margin-right: auto; }
body.be-home .be-case-card--hero .be-case-card__meta { color: rgba(255,255,255,0.82); justify-content: center; }
body.be-home .be-case-card--hero .be-case-card__meta strong { color: var(--paper); }
body.be-home .be-case-card--hero .be-case-card__link { color: var(--paper); margin-left: auto; margin-right: auto; }
body.be-home .be-case-card--closer {
  grid-column: 1 / -1;
  background: var(--paper-2);
}
body.be-home .be-case-card__eyebrow {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-transform: none;
  color: var(--accent-ink);
  margin-bottom: 20px;
  display: block;
}
body.be-home .be-case-card--hero .be-case-card__eyebrow {
  color: var(--accent);
  font-size: var(--step-5);
}
body.be-home .be-case-card__title {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: inherit;
}
body.be-home .be-case-card--hero .be-case-card__title {
  font-size: var(--step-5);
  max-width: 26ch;
}
body.be-home .be-case-card__lede {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 20px;
  max-width: 60ch;
}
body.be-home .be-case-card--hero .be-case-card__lede {
  font-size: 1rem;
  max-width: 60ch;
}
body.be-home .be-case-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: var(--step--1);
  color: var(--muted);
  margin-bottom: 24px;
  font-variant-numeric: tabular-nums;
}
body.be-home .be-case-card--hero .be-case-card__meta { color: rgba(255, 255, 255, 0.6); }
body.be-home .be-case-card__meta strong {
  color: var(--ink);
  font-weight: 500;
}
body.be-home .be-case-card--hero .be-case-card__meta strong { color: var(--paper); }
body.be-home .be-case-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 500;
  color: var(--ink);
  padding-top: 4px;
}
body.be-home .be-case-card--hero .be-case-card__link { color: var(--paper); }
body.be-home .be-case-card__link .arrow {
  transition: transform 0.18s ease;
  display: inline-block;
}
body.be-home .be-case-card:hover .be-case-card__link .arrow {
  transform: translateX(3px);
}
body.be-home .be-case-card__link--soon {
  color: var(--muted);
}
body.be-home .be-case-card--hero .be-case-card__link--soon { color: rgba(255,255,255,0.55); }
body.be-home .be-case-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 10px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
}
body.be-home .be-case-card--hero .be-case-card__badge {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.15);
}
@media (max-width: 820px) {
  body.be-home .be-cases__grid { grid-template-columns: 1fr; }
  body.be-home .be-case-card--hero .be-case-card__title { font-size: var(--step-4); }
  body.be-home .be-case-card--hero .be-case-card__lede { font-size: var(--step-0); }
}

/* ---------- Operating stack strip ---------- */
body.be-home .be-stack {
  padding: clamp(56px, 7vw, 88px) 0;
  border-top: var(--border);
  border-bottom: var(--border);
  background: var(--paper-2);
}
body.be-home .be-stack__grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
body.be-home .be-stack__title {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 8px 0 0;
  max-width: 18ch;
}
body.be-home .be-stack__title em {
  font-style: italic;
  color: var(--accent-ink);
}
body.be-home .be-stack__body p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1em;
  max-width: 60ch;
}
body.be-home .be-stack__body p:last-child { margin-bottom: 0; }
body.be-home .be-stack__tools {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--rule);
  font-family: var(--font-body);
  font-size: var(--step--1);
  color: var(--muted);
  letter-spacing: 0.02em;
}
body.be-home .be-stack__tools strong {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8em;
  margin-right: 12px;
}
@media (max-width: 820px) {
  body.be-home .be-stack__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---------- Select clients strip ---------- */
body.be-home .be-clients {
  padding: clamp(48px, 6vw, 72px) 0;
  border-bottom: var(--border);
}
body.be-home .be-clients__inner {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 20px 32px;
  justify-content: space-between;
}
body.be-home .be-clients__label {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  flex: 0 0 auto;
  white-space: nowrap;
}
body.be-home .be-clients__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  align-items: baseline;
  flex: 1 1 auto;
  justify-content: flex-end;
}
body.be-home .be-clients__list li {
  list-style: none;
  display: inline-flex;
  align-items: baseline;
  gap: 20px;
}
body.be-home .be-clients__list li + li::before {
  content: "·";
  color: var(--rule);
  margin-right: 20px;
  font-size: 0.9em;
}

/* Rich variant — brand name + subhead beneath (used for My Brands strip) */
body.be-home .be-clients--rich .be-clients__inner {
  align-items: flex-start;
  gap: 32px 48px;
}
body.be-home .be-clients--rich .be-clients__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 40px;
  justify-content: flex-start;
  flex: 1 1 auto;
}
body.be-home .be-clients--rich .be-clients__list li {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
body.be-home .be-clients--rich .be-clients__list li + li::before {
  content: none;
}
body.be-home .be-clients--rich .be-clients__sub {
  font-family: var(--font-body);
  font-size: var(--step--1);
  color: var(--muted);
  letter-spacing: 0;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 2px;
}
@media (max-width: 820px) {
  body.be-home .be-clients--rich .be-clients__list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Centered variant — used for photography clients strip.
   Uses grid to force 3-per-line layout, no separators. */
body.be-home .be-clients--center .be-clients__inner {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
body.be-home .be-clients--center .be-clients__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 48px;
  justify-content: center;
  max-width: 900px;
  width: 100%;
}
body.be-home .be-clients--center .be-clients__list li {
  justify-content: center;
  text-align: center;
  gap: 0;
}
body.be-home .be-clients--center .be-clients__list li + li::before {
  content: none;
}

@media (max-width: 820px) {
  body.be-home .be-clients__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  body.be-home .be-clients__list {
    justify-content: flex-start;
    font-size: var(--step-1);
  }
  body.be-home .be-clients--center .be-clients__inner {
    align-items: center;
  }
  body.be-home .be-clients--center .be-clients__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 32px;
  }
}
@media (max-width: 520px) {
  body.be-home .be-clients--center .be-clients__list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Roster (brand-build wall) ---------- */
body.be-home .be-roster {
  padding: clamp(56px, 7vw, 88px) 0;
  border-bottom: var(--border);
}
body.be-home .be-roster__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 32px;
}
body.be-home .be-roster__title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 28ch;
}
body.be-home .be-roster__title em {
  font-style: italic;
  color: var(--accent-ink);
}
body.be-home .be-roster__count {
  font-family: var(--font-body);
  font-size: var(--step--1);
  color: var(--muted);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
body.be-home .be-roster__wall {
  columns: 3;
  column-gap: 40px;
  font-family: var(--font-body);
  font-size: var(--step--1);
  line-height: 1.9;
  color: var(--ink-soft);
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 820px;
}
body.be-home .be-roster__wall li {
  break-inside: avoid;
  padding-right: 8px;
}
body.be-home .be-roster__note {
  margin-top: 24px;
  font-size: var(--step--1);
  color: var(--muted);
  font-style: italic;
  max-width: 60ch;
}
@media (max-width: 900px) {
  body.be-home .be-roster__wall { columns: 2; }
}
@media (max-width: 560px) {
  body.be-home .be-roster__wall { columns: 1; }
}
