/* Readability pass: retain the warm palette, with separate light/dark text tokens. */
body[data-readability] {
  --subtle: #68615b;
  --bronze: #735c3f;
  --taupe: #706356;
  --sage: #536657;
  --warm-grey: #68615b;
  --ash-light: #68615b;
}
body[data-readability="home"] { --mid-grey: #bcb5ab; --subtle: #bcb5ab; }

/* An opaque header makes link contrast independent of the photograph behind it. */
body #mainNav.main__nav { background: #f5f2ec; }
body #mainNav .nav-links a { color: #4a4840; }
body #mainNav .nav-links a.active_nav,
body #mainNav .nav-links a:hover,
body #mainNav .nav-cta { color: #735c3f; }
body #mainNav .nav-cta:hover { color: #1c1c1a; background: #dfc28f; }
body #mainNav .nav-links a.active_nav::after { background: #735c3f; }

/* A consistent scrim protects white and pale gold text even over bright imagery. */
body .listing-hero::before {
  background: linear-gradient(180deg,rgba(13,13,13,.64),rgba(13,13,13,.68) 55%,rgba(13,13,13,.82));
}
body .hero-jou .hero__overlay {
  background: linear-gradient(180deg,rgba(13,13,13,.64),rgba(13,13,13,.68) 55%,rgba(13,13,13,.82));
}
body .hero-jou { max-width: 100%; }
body .hero-te::before { background: linear-gradient(180deg,rgba(13,13,13,.52),rgba(13,13,13,.72)); }
body .hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg,rgba(10,9,6,.55),rgba(10,9,6,.3));
}
body .listing-hero__eyebrow,
body .hero-jou .hero__eyebrow-text,
body .hero-te .hero-eyebrow {
  color: #f1dcba; font-size: 12px; font-weight: 600;
  letter-spacing: .2em; line-height: 1.8;
}
body .listing-hero__eyebrow::before,
body .hero__eyebrow-line { background: #f1dcba; }
body .listing-hero__description,
body .listing-hero__meta,
body .hero-jou .hero__meta-item { color: #fff; font-weight: 400; }
body .listing-hero__meta,
body .hero-jou .hero__meta-item { font-size: 12px; }
body .listing-hero__content,
body .hero-jou .hero__content,
body .hero-te .hero-content { text-shadow: 0 2px 10px rgba(0,0,0,.45); }
body .hero-scroll span { color: #e8e0d6; }
body .work-overlay { background: linear-gradient(to top,rgba(10,9,6,.94),rgba(10,9,6,.68) 55%,rgba(10,9,6,.12)); }
body .work-overlay .port-cont { text-shadow: 0 2px 10px rgba(0,0,0,.7); }
body .hero .secondary-btn { background: #28251f; color: #fff; }

/* Project metadata and captions on ivory surfaces. */
body .breadcrumb, body .breadcrumb a, body .breadcrumb-arrow,
body .project-eyebrow, body .hero-meta-item .label,
body .caption-text, body .image-count, body .sidebar-heading,
body .detail-key, body .award-body, body .related-link, body .related-loc,
body .section-photo-count, body .gallery-eyebrow,
body .b22-gallery-intro span, body .b22-gallery-intro p,
body .section-filter, body .filter-btn,
body .list-header, body .list-head { color: #68615b; }
body[data-readability="project"] .section-label { color: #68615b; }
body .b22-story-link, body .section-all { color: #735c3f; }
body .caption-text, body .image-count, body .section-photo-count,
body .sidebar-heading, body .detail-key, body .project-eyebrow,
body .hero-meta-item .label { font-size: 12px; line-height: 1.7; }
body .status-pill { color: #fff; background: #1c1c1a; }
body .status-pill[style] { color: #735c3f !important; background: #e7ded1 !important; }
body[data-readability] .space-nav a { color: #68615b; font-size: 12px; }
body[data-readability] .space-nav a.active { color: #735c3f; }
body .newsletter-sub, body .footer-links a, body .footer-copy,
body .j-tag, body .j-date { color: #bcb5ab; }
body .featured-number { color: #82766a; }

/* Journal cards and supporting copy. */
body .featured-excerpt, body .article-card p, body .meta-date,
body .section-divider-label, body .pull-quote cite { color: #706356; }
body .tag.spaces { color: #536657; }
body .meta-date, body .tag, body .pull-quote cite { font-size: 11px; }
body .sidebar__label, body .sidebar__heading { color: #68615b; }

/* Team roles and light-page gold accents. */
body[data-readability="team"] .card-role,
body[data-readability="team"] .founder-eyebrow,
body[data-readability="team"] .founder-contact a span { color: #735c3f; }
body .card-role, body .founder-eyebrow, body .founder-contact a span { font-size: 11px; }
body[data-readability="privacy"] .page-hero__eyebrow-text,
body[data-readability="privacy"] .page-hero h1 em,
body[data-readability="privacy"] .page-hero__title em { color: #735c3f; }

/* Light contact form and the separate dark careers/query forms. */
body[data-readability="contact"] .hero-eyebrow,
body .form-section-label, body .sidebar-eyebrow, body .contact-link-type,
body .studio-detail-key, body .studio-tab, body .tab-btn,
body .submit-note { color: #68615b; }
body .contact-link a { color: #735c3f; }
body .form-section-label, body .sidebar-eyebrow, body .contact-link-type,
body .studio-detail-key, body .submit-note { font-size: 12px; line-height: 1.7; }
body[data-readability="contact"] form:not(.query-box) label { font-size: 12px; }
body[data-readability="contact"] input::placeholder,
body[data-readability="contact"] textarea::placeholder { color: #68615b; opacity: 1; }
body .form-card { --subtle: #d7cfc5; --bronze: #dfc28f; }
body .form-card label, body .form-card select,
body .form-card input::placeholder, body .form-card textarea::placeholder,
body .query-box input::placeholder, body .query-box textarea::placeholder {
  color: #d7cfc5 !important; opacity: 1;
}
body .form-card input, body .form-card textarea, body .query-box input, body .query-box textarea { font-weight: 400; }
body .form-card option { background: #1c1c1a; color: #fff; }
body .query-box .form-eyebrow { color: #dfc28f; }

/* Keep a clear focus indicator when using keyboard navigation. */
body a:focus-visible, body button:focus-visible,
body input:focus-visible, body textarea:focus-visible, body select:focus-visible {
  outline: 2px solid #997334; outline-offset: 4px;
}
@media(max-width:700px) {
  body .listing-hero__eyebrow, body .hero-jou .hero__eyebrow-text { font-size: 11px; letter-spacing: .16em; }
  body .listing-hero__eyebrow { align-items: flex-start; }
  body .listing-hero__eyebrow::before { flex-basis: 24px; margin-top: .85em; }
  body .listing-hero__meta { font-size: 11px; }
  body .hero-jou .hero__content, body .listing-hero__content { text-shadow: none; }
}

/* Homepage category cards: lighter images with shading behind the labels. */
body #work .work-item img { filter: brightness(.85) saturate(.95); }
body #work .work-overlay { background: linear-gradient(to top,rgba(10,9,6,.65),rgba(10,9,6,.3) 55%,rgba(10,9,6,.2)); }
