/* ========================================================================
   Beyond The Brief — approved cream/espresso homepage theme
   This stylesheet sits after the core theme and restyles the shared shell
   without changing the content or administration layer.
   ======================================================================== */

:root {
  --btb-cream: #faf6f0;
  --btb-paper: #fffdfa;
  --btb-espresso: #2c1a0e;
  --btb-espresso-deep: #211208;
  --btb-parchment: #e8d5b7;
  --btb-sienna: #a0522d;
  --btb-gold: #c49a3c;
  --btb-charcoal: #1c1c1c;
  --btb-muted: #665f58;
  --btb-line: rgba(44, 26, 14, .12);
  --btb-line-strong: rgba(44, 26, 14, .2);
  --btb-soft-shadow: 0 18px 55px rgba(44, 26, 14, .08);
  --btb-card-shadow: 0 9px 32px rgba(44, 26, 14, .055);
  --btb-radius: 9px;
}

body {
  background: var(--btb-cream);
  color: var(--btb-charcoal);
  font-size: 16px;
}

.shell {
  width: min(100% - (var(--gutter) * 2), 1180px);
}

/* ---------------------------------------------------------------- header */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, .94);
  border-bottom: 1px solid rgba(44, 26, 14, .07);
  backdrop-filter: saturate(130%) blur(14px);
  box-shadow: 0 4px 22px rgba(44, 26, 14, .025);
}

.masthead__inner {
  height: 86px;
  gap: 24px;
}

.brand {
  gap: 10px;
  min-width: 210px;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand__copy {
  display: block;
}

.brand__name {
  display: block;
  color: var(--btb-espresso);
  font-family: var(--display);
  font-size: 1.1rem;
  line-height: 1.02;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand__name span {
  display: block;
  color: var(--btb-espresso);
}

.brand__tag {
  display: block;
  margin-top: .42rem;
  color: var(--btb-sienna);
  font-size: .49rem;
  letter-spacing: .16em;
  line-height: 1;
}

.mainnav {
  gap: 25px;
  margin-left: auto;
  margin-right: 0;
}

.mainnav > a {
  color: #241f1b;
  font-size: .84rem;
  font-weight: 500;
  white-space: nowrap;
}

.mainnav > a::after {
  height: 1px;
  bottom: -10px;
  background: var(--btb-gold);
}

.mainnav > a:hover,
.mainnav > a[aria-current="page"] {
  color: var(--btb-espresso);
}

.mainnav__social {
  display: none;
}

.masthead__tools {
  gap: 12px;
}

.icon-btn.header-search,
.navtoggle {
  width: 40px;
  height: 40px;
  color: var(--btb-charcoal);
  border-color: transparent;
}

.icon-btn.header-search:hover,
.navtoggle:hover {
  color: var(--btb-sienna);
  border-color: var(--btb-line-strong);
}

.header-join {
  min-height: 46px;
  padding: .72rem 1.35rem;
  border-radius: 6px;
  background: var(--btb-espresso-deep);
  color: #f2d494;
  box-shadow: 0 12px 28px rgba(44, 26, 14, .14);
}

.header-join:hover {
  background: #372113;
  color: #f7dda6;
}

/* --------------------------------------------------------------- homepage */
.home-hero {
  position: relative;
  min-height: 515px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.98), transparent 46%),
    linear-gradient(90deg, #fffdfa 0%, #fbf7f1 52%, #efe1cd 100%);
}

.home-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 515px;
  display: flex;
  align-items: center;
}

.home-hero__copy {
  width: 51%;
  padding: 48px 0 40px;
}

.home-hero h1 {
  max-width: 650px;
  margin: 0;
  color: #171310;
  font-size: clamp(3rem, 5.1vw, 4.65rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.home-hero h1 em {
  color: #9b6933;
  font-weight: 500;
}

.home-hero__copy > p {
  max-width: 560px;
  margin: 18px 0 0;
  color: #46403b;
  font-size: 1rem;
  line-height: 1.62;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.home-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: .77rem 1.26rem;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: .9rem;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.home-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(44, 26, 14, .12);
}

.home-btn--dark {
  background: var(--btb-espresso-deep);
  color: #f1d292;
}

.home-btn--dark:hover {
  background: #3a2415;
}

.home-btn--outline {
  border-color: #b4894d;
  background: rgba(255,255,255,.45);
  color: var(--btb-espresso);
}

.home-btn--outline:hover {
  background: rgba(255,255,255,.86);
}

.home-btn--small {
  min-height: 42px;
  padding-inline: 1.1rem;
  font-size: .82rem;
}

.platform-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 35px;
  color: #39332e;
  font-size: .82rem;
}

.platform-row > span:first-child {
  color: #4f4943;
}

.platform {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  white-space: nowrap;
}

.platform svg {
  width: 20px !important;
  height: 20px !important;
  stroke-width: 1.7;
}

.platform--spotify svg {
  color: #1db954;
}

.platform--apple svg {
  color: #9d5bd2;
}

.platform--youtube svg {
  color: #e22525;
}

.home-hero__visual {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 54%;
  overflow: hidden;
}

.home-hero__visual::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, #fbf7f1 0%, rgba(250,246,240,.96) 5%, rgba(250,246,240,.42) 19%, transparent 38%),
    linear-gradient(0deg, rgba(250,246,240,.15), transparent 35%);
  pointer-events: none;
}

.home-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Pillars ------------------------------------------------------------- */
.home-pillars {
  position: relative;
  z-index: 4;
  background: var(--btb-paper);
  border-top: 1px solid rgba(44, 26, 14, .08);
  border-bottom: 1px solid rgba(44, 26, 14, .08);
}

.home-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.home-pillar {
  min-height: 155px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 17px;
  align-items: start;
  padding: 32px 27px;
  border-right: 1px solid var(--btb-line);
  transition: background .2s ease;
}

.home-pillar:first-child {
  border-left: 1px solid var(--btb-line);
}

.home-pillar:hover {
  background: #fffaf3;
}

.home-pillar__icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: #b67b2e;
}

.home-pillar__icon svg {
  width: 39px !important;
  height: 39px !important;
  stroke-width: 1.3;
}

.home-pillar strong {
  display: block;
  margin: 0 0 5px;
  color: var(--btb-espresso);
  font-family: var(--display);
  font-size: 1.42rem;
  font-weight: 600;
}

.home-pillar span span {
  display: block;
  max-width: 30ch;
  color: #504941;
  font-size: .8rem;
  line-height: 1.5;
}

.home-pillar em {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #a56d23;
  font-size: .76rem;
  font-style: normal;
  font-weight: 600;
}

.home-pillar em svg {
  width: 14px !important;
  height: 14px !important;
}

/* Home sections ------------------------------------------------------- */
.home-section {
  padding: 28px 0 0;
  background: var(--btb-cream);
}

.home-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.home-section__head h2 {
  color: #171310;
  font-size: 1.7rem;
  font-weight: 600;
}

.home-section__head > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #221d19;
  font-size: .79rem;
  font-weight: 500;
}

.home-section__head > a svg {
  width: 15px !important;
  height: 15px !important;
}

.home-content-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-content-card {
  overflow: hidden;
  background: rgba(255, 253, 250, .95);
  border: 1px solid var(--btb-line);
  border-radius: 8px;
  box-shadow: var(--btb-card-shadow);
  transition: transform .23s ease, box-shadow .23s ease;
}

.home-content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(44, 26, 14, .1);
}

.home-content-card__image {
  position: relative;
  display: block;
  aspect-ratio: 1.5;
  overflow: hidden;
  background: var(--btb-espresso-deep);
}

.home-content-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.home-content-card:hover .home-content-card__image img {
  transform: scale(1.025);
}

.home-content-card__type,
.home-content-card__duration {
  position: absolute;
  z-index: 2;
  color: #fff;
  font-size: .57rem;
  line-height: 1;
}

.home-content-card__type {
  top: 12px;
  left: 12px;
  padding: 6px 8px;
  border: 1px solid #c99c4b;
  border-radius: 3px;
  background: rgba(26, 18, 12, .78);
  color: #e7c77c;
  letter-spacing: .08em;
}

.home-content-card__duration {
  right: 9px;
  bottom: 8px;
  padding: 4px 6px;
  border-radius: 2px;
  background: rgba(0, 0, 0, .62);
}

.home-content-card__body {
  min-height: 164px;
  display: flex;
  flex-direction: column;
  padding: 13px 13px 11px;
}

.home-content-card__date {
  color: #93897e;
  font-size: .65rem;
}

.home-content-card h3 {
  margin: 5px 0 4px;
  color: #211a15;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.25;
}

.home-content-card h3 a:hover {
  color: var(--btb-sienna);
}

.home-content-card__body > p {
  margin: 0;
  color: #5f5750;
  font-size: .69rem;
  line-height: 1.35;
}

.home-content-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
  color: #958b80;
  font-family: var(--mono);
  font-size: .57rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bookmark-button {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #38312c;
}

.bookmark-button:hover,
.bookmark-button.is-saved {
  background: #f1e4d0;
  color: #9b6425;
}

.bookmark-button.is-saved svg {
  fill: currentColor;
}

.bookmark-button svg {
  width: 17px !important;
  height: 17px !important;
}

.home-empty {
  padding: 40px;
  border: 1px dashed var(--btb-line-strong);
  border-radius: 8px;
  text-align: center;
}

.home-empty h3 {
  margin-bottom: 8px;
}

/* Topic strip --------------------------------------------------------- */
.home-section--topics {
  padding-top: 20px;
}

.home-topic-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--btb-line);
  border-radius: 7px;
  background: rgba(255, 253, 250, .78);
}

.home-topic {
  min-height: 98px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px;
  border-right: 1px solid var(--btb-line);
  text-align: center;
  transition: background .2s ease, color .2s ease;
}

.home-topic:last-child {
  border-right: 0;
}

.home-topic:hover {
  background: #fff8ee;
}

.home-topic > span {
  color: #b87c2e;
}

.home-topic > span svg {
  width: 31px !important;
  height: 31px !important;
  stroke-width: 1.35;
}

.home-topic strong {
  color: #2b2520;
  font-size: .72rem;
  font-weight: 600;
}

.home-topic small {
  color: #a1988e;
  font-size: .55rem;
}

/* Founder and community ---------------------------------------------- */
.home-section--closing {
  padding-top: 18px;
  padding-bottom: 18px;
}

.home-closing-grid {
  display: grid;
  grid-template-columns: 1.15fr .95fr;
  gap: 16px;
}

.founder-story,
.community-card {
  position: relative;
  min-height: 174px;
  overflow: hidden;
  border: 1px solid var(--btb-line);
  border-radius: 8px;
  background: rgba(255, 253, 250, .92);
  box-shadow: 0 8px 30px rgba(44, 26, 14, .035);
}

.founder-story {
  display: grid;
  grid-template-columns: 58% 42%;
}

.founder-story__copy {
  position: relative;
  z-index: 2;
  padding: 22px 18px 19px;
}

.founder-story__copy::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -40px;
  right: -58px;
  width: 120px;
  height: 260px;
  background: var(--btb-paper);
  transform: rotate(16deg);
}

.home-kicker {
  color: #ad772d;
  font-family: var(--mono);
  font-size: .55rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.founder-story h2,
.community-card h2 {
  margin: 5px 0 8px;
  color: #211a15;
  font-size: 1.45rem;
  font-weight: 600;
}

.founder-story p {
  max-width: 43ch;
  margin: 0 0 11px;
  color: #514a44;
  font-size: .72rem;
  line-height: 1.55;
}

.founder-story a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9a6425;
  font-size: .71rem;
  font-weight: 600;
}

.founder-story a svg {
  width: 13px !important;
  height: 13px !important;
}

.founder-story > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
}

.community-card {
  display: grid;
  grid-template-columns: 1fr 150px;
  padding: 22px 18px 19px 26px;
}

.community-card ul {
  display: grid;
  gap: 7px;
  margin: 11px 0 14px;
  padding: 0;
  list-style: none;
}

.community-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #514a44;
  font-size: .69rem;
}

.community-card li svg {
  width: 14px !important;
  height: 14px !important;
  color: #2f271f;
}

.community-card__graphic {
  position: relative;
  display: grid;
  place-items: center;
  color: #d9cdbc;
}

.community-card__graphic > svg {
  position: relative;
  z-index: 2;
  width: 70px !important;
  height: 70px !important;
  stroke-width: 1.2;
}

.community-orbit {
  position: absolute;
  border: 1px dashed #d6c4a9;
  border-radius: 50%;
}

.community-orbit::before,
.community-orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e6d8c3;
}

.community-orbit--one {
  width: 118px;
  height: 118px;
}

.community-orbit--one::before {
  top: 5px;
  left: 18px;
}

.community-orbit--one::after {
  right: 2px;
  bottom: 28px;
}

.community-orbit--two {
  width: 88px;
  height: 88px;
  transform: rotate(35deg);
}

.community-orbit--two::before {
  top: -4px;
  right: 20px;
}

.community-orbit--two::after {
  bottom: 3px;
  left: 8px;
}

/* --------------------------------------------------------- newsletter/footer */
.newsletter-bar {
  background: linear-gradient(100deg, #251408, #342014);
  color: #fff;
}

.newsletter-bar__inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 52px;
  align-items: center;
  padding-block: 14px;
}

.newsletter-bar h2 {
  margin: 0 0 2px;
  color: #d5a74f;
  font-size: 1.32rem;
  font-weight: 600;
}

.newsletter-bar p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: .72rem;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr 112px;
}

.newsletter-form input[type="email"] {
  min-width: 0;
  height: 43px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.2);
  border-right: 0;
  border-radius: 5px 0 0 5px;
  outline: 0;
  background: rgba(0,0,0,.14);
  color: #fff;
  font: inherit;
  font-size: .76rem;
}

.newsletter-form input[type="email"]:focus {
  border-color: #d2a75a;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,.55);
}

.newsletter-form button {
  border: 0;
  border-radius: 0 5px 5px 0;
  background: linear-gradient(90deg, #c29241, #ddb565);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.site-footer {
  background: #fffdfa;
  border-top: 1px solid var(--btb-line);
}

.site-footer__grid {
  min-height: 170px;
  display: grid;
  grid-template-columns: 1.25fr 1.25fr 1fr .85fr .75fr;
  gap: 30px;
  align-items: start;
  padding: 28px 0 22px;
}

.site-footer .brand {
  min-width: 0;
}

.site-footer .brand img {
  width: 54px;
  height: 54px;
}

.site-footer .brand__name {
  font-size: .94rem;
}

.site-footer__brand p {
  max-width: 34ch;
  margin: 12px 0 0;
  color: #756c63;
  font-size: .67rem;
  line-height: 1.45;
}

.site-footer__column {
  padding-top: 7px;
}

.site-footer__column h3 {
  margin: 0 0 10px;
  color: #2d2722;
  font-family: var(--body);
  font-size: .72rem;
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 6px;
}

.footer-links--two {
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
}

.footer-links a,
.footer-email {
  color: #514a44;
  font-size: .65rem;
}

.footer-links a:hover,
.footer-email:hover {
  color: var(--btb-sienna);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-social a {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #201b17;
}

.footer-social a:hover {
  color: var(--btb-sienna);
}

.footer-social svg {
  width: 15px !important;
  height: 15px !important;
}

.site-footer__copyright {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 10px;
  border-left: 1px solid var(--btb-line);
  padding-left: 28px;
  color: #625a53;
  font-size: .64rem;
  line-height: 1.35;
}

/* -------------------------------------------------------- shared inner pages */
.page-head {
  background:
    radial-gradient(circle at 88% 20%, rgba(196,154,60,.13), transparent 28%),
    linear-gradient(120deg, #fffdfa, #f2e6d4);
  color: var(--btb-charcoal);
  border-bottom: 1px solid var(--btb-line);
}

.page-head h1 {
  color: var(--btb-espresso);
}

.page-head .lede,
.crumbs {
  color: var(--btb-muted);
}

.crumbs a:hover {
  color: var(--btb-sienna);
}

.searchbar input {
  border-color: var(--btb-line-strong);
  background: rgba(255,255,255,.74);
  color: var(--btb-charcoal);
}

.searchbar input::placeholder {
  color: #8d8379;
}

.band--paper {
  background: #fffdfa;
}

.band--parchment {
  background: #f4ebdf;
}

.card,
.post-card,
.sidebox,
.join-card,
.crest,
.panel {
  border-radius: 7px;
}

.card,
.post-card,
.join-card,
.crest {
  box-shadow: 0 8px 28px rgba(44, 26, 14, .04);
}

/* Keep editor-friendly dark callout panels, but soften their tone. */
.band--ink,
.panel--ink,
.player {
  background-color: #2c1a0e;
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .mainnav {
    gap: 17px;
  }

  .mainnav > a {
    font-size: .79rem;
  }

  .header-join {
    padding-inline: 1rem;
  }
}

@media (max-width: 1040px) {
  .brand {
    min-width: 182px;
  }

  .mainnav {
    gap: 14px;
  }

  .mainnav > a:nth-child(7) {
    display: none;
  }

  .home-content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-topic-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .home-topic:nth-child(4n) {
    border-right: 0;
  }

  .home-topic:nth-child(-n + 4) {
    border-bottom: 1px solid var(--btb-line);
  }

  .site-footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }

  .site-footer__copyright {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid var(--btb-line);
  }
}

@media (max-width: 860px) {
  .masthead__inner {
    height: 78px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand__name {
    font-size: .94rem;
  }

  .mainnav {
    position: fixed;
    inset: 78px 0 auto 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 18px;
    border-bottom: 1px solid var(--btb-line);
    background: rgba(255,253,250,.985);
    box-shadow: 0 18px 36px rgba(44, 26, 14, .1);
    transform: translateY(-125%);
  }

  .mainnav.is-open {
    transform: none;
  }

  .mainnav > a,
  .mainnav > a:nth-child(7) {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid var(--btb-line);
    color: var(--btb-charcoal);
    font-size: .94rem;
  }

  .mainnav > a::after {
    display: none;
  }

  .mainnav__social {
    display: flex;
    gap: 12px;
    padding-top: 15px;
  }

  .mainnav__social a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--btb-line);
    border-radius: 50%;
    color: var(--btb-espresso);
  }

  .masthead__tools .header-join {
    display: none;
  }

  .navtoggle {
    display: grid;
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero__inner {
    min-height: auto;
    display: block;
  }

  .home-hero__copy {
    width: 100%;
    padding: 55px 0 34px;
  }

  .home-hero h1 {
    max-width: 640px;
    font-size: clamp(2.7rem, 9vw, 4.25rem);
  }

  .home-hero__copy > p {
    max-width: 600px;
  }

  .home-hero__visual {
    position: relative;
    width: 100%;
    height: 390px;
  }

  .home-hero__visual::before {
    background: linear-gradient(180deg, #fbf7f1 0%, rgba(250,246,240,.2) 24%, transparent 48%);
  }

  .home-pillars__grid {
    grid-template-columns: 1fr;
  }

  .home-pillar,
  .home-pillar:first-child {
    min-height: auto;
    border-right: 1px solid var(--btb-line);
    border-left: 1px solid var(--btb-line);
    border-bottom: 1px solid var(--btb-line);
  }

  .home-closing-grid,
  .newsletter-bar__inner {
    grid-template-columns: 1fr;
  }

  .newsletter-bar__inner {
    gap: 14px;
    padding-block: 22px;
  }

  .site-footer__grid {
    grid-template-columns: 1.25fr 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 1rem;
  }

  .masthead__inner {
    gap: 8px;
  }

  .brand__tag {
    display: none;
  }

  .header-search {
    display: none !important;
  }

  .home-hero__copy {
    padding-top: 42px;
  }

  .home-hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.5rem);
  }

  .home-hero h1 br:nth-of-type(2) {
    display: none;
  }

  .home-hero__actions {
    flex-direction: column;
  }

  .home-btn {
    width: 100%;
  }

  .platform-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .home-hero__visual {
    height: 300px;
  }

  .home-pillar {
    grid-template-columns: 44px 1fr;
    padding: 24px 19px;
  }

  .home-content-grid {
    grid-template-columns: 1fr;
  }

  .home-content-card__body {
    min-height: 145px;
  }

  .home-section__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .home-section__head h2 {
    font-size: 1.55rem;
  }

  .home-topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-topic,
  .home-topic:nth-child(4n) {
    border-right: 1px solid var(--btb-line);
    border-bottom: 1px solid var(--btb-line);
  }

  .home-topic:nth-child(2n) {
    border-right: 0;
  }

  .home-topic:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .founder-story {
    grid-template-columns: 1fr;
  }

  .founder-story__copy::after {
    display: none;
  }

  .founder-story > img {
    height: 230px;
  }

  .community-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .community-card__graphic {
    display: none;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 5px;
  }

  .newsletter-form button {
    min-height: 43px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand,
  .site-footer__copyright {
    grid-column: 1 / -1;
  }

  .site-footer__copyright {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-content-card,
  .home-content-card__image img,
  .home-btn,
  .home-topic,
  .home-pillar {
    transition: none !important;
  }
}

.optional{font-weight:400;color:var(--muted);font-size:.82em}

/* ------------------------------------------------------ connected media UI */
.media-auto-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  color: #6a625a;
  font-size: .78rem;
}
.media-auto-note > span,
.sync-card__signal,
.sync-strip__signal {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #4d835a;
  box-shadow: 0 0 0 5px rgba(77,131,90,.12);
}

.media-live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr);
  gap: 22px;
  align-items: stretch;
}
.spotify-live,
.sync-card {
  border: 1px solid var(--btb-line);
  border-radius: var(--btb-radius);
  background: var(--btb-paper);
  box-shadow: var(--btb-card-shadow);
}
.spotify-live { padding: clamp(18px, 3vw, 30px); }
.media-live-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.media-live-head .section-title { margin-top: 5px; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.spotify-show-frame {
  display: block;
  width: 100%;
  min-height: 352px;
  border: 0;
  border-radius: 12px;
  background: #121212;
}
.sync-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  color: #f6eee3;
  background:
    radial-gradient(circle at 100% 0%, rgba(196,154,60,.22), transparent 34%),
    linear-gradient(145deg, #29170c 0%, #1d1008 100%);
  border-color: rgba(196,154,60,.22);
}
.sync-card::after {
  content: "BTB";
  position: absolute;
  right: -10px;
  bottom: -42px;
  font-family: var(--display);
  font-size: 7rem;
  line-height: 1;
  color: rgba(196,154,60,.055);
  pointer-events: none;
}
.sync-card__signal { display: block; margin-bottom: 22px; }
.sync-card h3 { margin: 7px 0 12px; color: #fffaf2; font-size: clamp(1.55rem, 3vw, 2rem); }
.sync-card p { position: relative; z-index: 1; color: rgba(250,246,240,.73); font-size: .92rem; }
.sync-card dl { position: relative; z-index: 1; display: grid; gap: 9px; margin: 22px 0 0; }
.sync-card dl div { display: grid; grid-template-columns: 95px 1fr; gap: 12px; padding-top: 9px; border-top: 1px solid rgba(232,213,183,.14); }
.sync-card dt { color: #d0a85b; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.sync-card dd { margin: 0; color: rgba(255,255,255,.86); font-size: .82rem; overflow-wrap: anywhere; }
.sync-warning {
  margin-top: 17px !important;
  padding: 10px 12px;
  color: #f4d8c8 !important;
  background: rgba(160,82,45,.18);
  border-left: 3px solid #c8734c;
}

.sync-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 15px;
  margin-bottom: 34px;
  padding: 17px 19px;
  border: 1px solid var(--btb-line);
  border-left: 3px solid var(--btb-gold);
  border-radius: 7px;
  background: linear-gradient(110deg, #fffdfa 0%, #f7eddf 100%);
  box-shadow: 0 10px 34px rgba(44,26,14,.045);
}
.sync-strip > div { display: grid; gap: 2px; }
.sync-strip strong { color: var(--btb-espresso); font-family: var(--display); font-size: 1.05rem; }
.sync-strip > div span { color: var(--btb-muted); font-size: .83rem; }
.sync-strip__meta { color: #786e65; font-family: var(--mono); font-size: .64rem; letter-spacing: .04em; white-space: nowrap; }
.sync-strip > a { color: var(--btb-sienna); font-size: .78rem; font-weight: 700; white-space: nowrap; }

.native-audio-card {
  display: grid;
  grid-template-columns: minmax(180px, 270px) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--btb-line);
  border-radius: var(--btb-radius);
  background: var(--btb-paper);
  box-shadow: var(--btb-soft-shadow);
}
.native-audio-card__art { min-height: 290px; background: var(--btb-espresso); }
.native-audio-card__art .plate,
.native-audio-card__art img { width: 100%; height: 100%; object-fit: cover; }
.native-audio-card__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4vw, 46px); }
.native-audio-card__body h2 { margin: 8px 0 24px; color: var(--btb-espresso); font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
.native-audio-card audio { width: 100%; accent-color: var(--btb-gold); }
.native-audio-card__body p { margin: 15px 0 0; color: var(--btb-muted); font-size: .83rem; }

/* Remote artwork from YouTube / podcast feeds */
.card__art > img,
.feature__art > img,
.record-card__art > img,
.docket__art > img,
.post-card__art > img,
.home-content-card__image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 940px) {
  .media-live-grid { grid-template-columns: 1fr; }
  .spotify-show-frame { min-height: 330px; }
  .sync-strip { grid-template-columns: auto minmax(0, 1fr) auto; }
  .sync-strip__meta { grid-column: 2 / -1; }
}

@media (max-width: 620px) {
  .media-live-head { align-items: flex-start; flex-direction: column; }
  .spotify-live { padding: 14px; }
  .spotify-show-frame { min-height: 352px; }
  .sync-strip { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .sync-strip__meta,
  .sync-strip > a { grid-column: 2; white-space: normal; }
  .native-audio-card { grid-template-columns: 1fr; }
  .native-audio-card__art { min-height: 230px; max-height: 280px; }
}
