:root {
  --abr-black: #0a0a0a;
  --abr-white: #ffffff;
  --abr-gray-100: #f5f5f5;
  --abr-gray-300: #d4d4d4;
  --abr-gray-500: #737373;
  --abr-gray-700: #404040;
  --abr-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --abr-article-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --abr-sans: "Inter", system-ui, -apple-system, sans-serif;
  --abr-article-text: #242833;
  --abr-accent: #fca400;
  --abr-accent-hover: #e59400;
  --abr-container: 1180px;
  --abr-radius: 12px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--abr-black);
  background: var(--abr-white);
  font-family: var(--abr-sans);
  font-size: 16px;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.abr-container {
  width: min(100% - 48px, var(--abr-container));
  margin-inline: auto;
}

.abr-container--narrow {
  width: min(100% - 48px, 760px);
}

.abr-main {
  min-height: 60vh;
}

/* Header */
.abr-header {
  border-bottom: 1px solid var(--abr-gray-300);
  background: var(--abr-white);
}

.abr-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.abr-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.abr-logo__mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--abr-black);
  font-family: var(--abr-serif);
  font-size: 14px;
  font-weight: 700;
}

.abr-logo__text {
  font-family: var(--abr-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.abr-nav {
  font-size: 15px;
}

.abr-nav__list {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.abr-nav__item {
  position: relative;
}

.abr-nav__trigger,
.abr-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.abr-nav__trigger:hover,
.abr-nav__trigger:focus-visible,
.abr-nav__link:hover,
.abr-nav__link:focus-visible,
.abr-nav__item--has-menu:hover .abr-nav__trigger,
.abr-nav__item--has-menu:focus-within .abr-nav__trigger {
  opacity: 1;
}

.abr-nav__trigger::after {
  content: "";
  width: 0;
  height: 0;
  margin-top: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}

.abr-nav__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 20;
  min-width: 240px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--abr-white);
  border: 1px solid var(--abr-gray-300);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.abr-nav__dropdown a {
  display: block;
  padding: 10px 18px;
  font-weight: 500;
  opacity: 0.88;
  white-space: nowrap;
}

.abr-nav__dropdown a:hover,
.abr-nav__dropdown a:focus-visible {
  opacity: 1;
  background: var(--abr-gray-100);
}

.abr-nav__item--has-menu:hover .abr-nav__dropdown,
.abr-nav__item--has-menu:focus-within .abr-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.abr-button--cta {
  min-height: 46px;
  padding: 0 22px;
  font-size: 15px;
}

.abr-button--outline-light {
  background: transparent;
  color: var(--abr-white);
  border-color: var(--abr-white);
}

.abr-button--outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.abr-header__cta {
  justify-self: end;
}

.abr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.abr-button--arrow {
  gap: 8px;
}

.abr-button--arrow::after {
  content: "→";
  font-weight: 500;
  line-height: 1;
}

.abr-button--dark {
  background: var(--abr-black);
  color: var(--abr-white);
}

.abr-button--dark:hover {
  background: #222;
}

.abr-button.abr-button--accent {
  background: var(--abr-accent);
  color: var(--abr-black);
  border-color: var(--abr-accent);
}

.abr-button.abr-button--accent:hover {
  background: var(--abr-accent-hover);
  color: var(--abr-black);
}

/* Hero */
.abr-hero {
  position: relative;
  z-index: 2;
  background: var(--abr-black);
  color: var(--abr-white);
  padding: 72px 0 0;
  overflow: visible;
}

.abr-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: end;
}

.abr-hero__content {
  padding-bottom: 88px;
  align-self: center;
}

.abr-hero__eyebrow {
  margin-bottom: 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.abr-hero__title {
  max-width: 15ch;
  font-family: var(--abr-serif);
  font-size: clamp(2.55rem, 4.4vw, 4.1rem);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.abr-hero__dek {
  max-width: 42ch;
  margin-top: 22px;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.abr-hero__form {
  margin-top: 28px;
  max-width: 420px;
}

.abr-hero__quote {
  margin: 24px 0 0;
  padding: 0;
  border: 0;
  max-width: 38ch;
  font-family: var(--abr-serif);
  font-size: 0.98rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.abr-hero__quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-family: var(--abr-sans);
  font-size: 0.92rem;
}

.abr-hero__visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: end;
  line-height: 0;
}

.abr-hero__video {
  display: block;
  width: min(100%, 360px);
  max-height: min(78vh, 720px);
  height: auto;
  object-fit: contain;
  object-position: bottom center;
}

.abr-hero__tear {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 3;
  display: block;
  width: 100%;
  height: 21px;
  transform: translateY(-35%);
  line-height: 0;
  pointer-events: none;
}

.abr-hero__tear img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 21px;
}

/* Spotlight section */
.abr-spotlight {
  position: relative;
  z-index: auto;
  padding: 72px 0 72px;
  background: var(--abr-white);
}

/* Partners page */
.abr-partners {
  padding: 48px 0 72px;
  background: var(--abr-white);
}

.abr-partners__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 40px;
  align-items: start;
}

.abr-partners__posts {
  display: grid;
  gap: 24px;
}

.abr-partners__intro {
  position: sticky;
  top: 96px;
  max-width: 34ch;
}

.abr-partners__title {
  font-family: var(--abr-serif);
  font-size: clamp(1.8rem, 2.8vw, 2.35rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.abr-partners__text {
  margin-top: 18px;
  color: var(--abr-gray-700);
  font-size: 1rem;
  line-height: 1.65;
}

.abr-partners__text a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.abr-card--partner .abr-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  min-height: 280px;
  border-radius: 10px;
}

.abr-card--partner .abr-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.abr-card--partner .abr-card__overlay {
  padding: 32px 28px;
}

.abr-card--partner .abr-card__title {
  color: var(--abr-white);
  font-family: var(--abr-serif);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.08;
  font-weight: 600;
}

.abr-card--partner .abr-card__dek {
  margin-top: 10px;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.45;
}

.abr-card--partner .abr-card__link:hover .abr-card__title {
  opacity: 0.88;
}

.abr-spotlight__featured-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.abr-spotlight__featured-main {
  min-height: 0;
}

.abr-spotlight__featured-main .abr-card,
.abr-spotlight__featured-main .abr-card__link,
.abr-spotlight__featured-main .abr-card__media {
  height: 100%;
}

.abr-spotlight__featured-sidebar {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 22px;
  min-height: 0;
}

.abr-card--sidebar {
  height: 100%;
  min-height: 0;
}

.abr-card--sidebar .abr-card__link--horizontal {
  height: 100%;
  grid-template-columns: minmax(96px, 38%) 1fr;
  gap: 18px;
  align-items: stretch;
}

.abr-card--sidebar .abr-card__thumb {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}

.abr-card--sidebar .abr-card__title {
  display: flex;
  align-items: center;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.22;
}

.abr-spotlight__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
  margin-top: 36px;
}

.abr-card__link {
  display: block;
}

.abr-card__link--horizontal {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: start;
}

.abr-card__media {
  overflow: hidden;
  border-radius: var(--abr-radius);
  background: var(--abr-gray-100);
}

.abr-card--featured .abr-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
}

.abr-card--featured .abr-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.abr-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.78) 100%);
}

.abr-card--featured .abr-card__title {
  color: var(--abr-white);
  font-family: var(--abr-serif);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.08;
  font-weight: 600;
}

.abr-card__thumb,
.abr-card--grid .abr-card__media,
.abr-card__media--history {
  overflow: hidden;
  border-radius: 10px;
}

.abr-card__thumb {
  width: 92px;
  height: 92px;
  background: var(--abr-gray-100);
}

.abr-card__thumb img,
.abr-card--grid .abr-card__media img,
.abr-card__media--history img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.abr-card--grid .abr-card__media {
  aspect-ratio: 4 / 3;
}

.abr-card__media--history {
  width: 180px;
  height: 120px;
}

.abr-card--grid .abr-card__title {
  margin-top: 14px;
  font-family: var(--abr-serif);
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 600;
}

.abr-card--sidebar .abr-card__title {
  margin-top: 0;
  font-family: var(--abr-serif);
  font-weight: 600;
}

.abr-card__excerpt {
  margin-top: 8px;
  color: var(--abr-gray-500);
  font-size: 0.92rem;
  line-height: 1.45;
}

.abr-card--grid .abr-card__link:hover .abr-card__title,
.abr-card--sidebar .abr-card__link:hover .abr-card__title,
.abr-card--featured .abr-card__link:hover .abr-card__title,
.abr-card--history .abr-card__link:hover .abr-card__title {
  opacity: 0.78;
}

/* History section */
.abr-history {
  background: var(--abr-black);
  color: var(--abr-white);
  padding: 72px 0 84px;
}

.abr-history__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.abr-history__title {
  font-family: var(--abr-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.abr-history__posts {
  display: grid;
  gap: 28px;
}

.abr-card--history .abr-card__link--horizontal {
  grid-template-columns: 180px 1fr;
  gap: 24px;
}

.abr-card__kicker {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.abr-card--history .abr-card__title {
  font-family: var(--abr-serif);
  font-size: 1.45rem;
  line-height: 1.15;
  font-weight: 600;
}

.abr-card__meta {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
}

/* Footer */
.abr-footer {
  border-top: 1px solid var(--abr-gray-300);
  background: var(--abr-white);
  padding: 40px 0 48px;
}

.abr-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.abr-logo--footer .abr-logo__text {
  font-size: 16px;
}

.abr-footer__copy {
  margin-top: 12px;
  max-width: 34ch;
  color: var(--abr-gray-500);
  font-size: 0.92rem;
}

.abr-footer__subscribe {
  justify-self: end;
  width: min(100%, 420px);
}

/* Article + empty states */
.abr-page {
  padding: 56px 0 80px;
}

.abr-article__title {
  font-family: var(--abr-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  font-weight: 600;
}

.abr-article__dek {
  margin-top: 16px;
  color: var(--abr-gray-700);
  font-size: 1.1rem;
}

.abr-article__hero {
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: var(--abr-radius);
}

.abr-article__content {
  max-width: 720px;
  margin-top: 34px;
  color: var(--abr-article-text);
  font-family: var(--abr-article-serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

/* Reset Beehiiv wrapper blocks so spacing comes from theme typography. */
.abr-article__content > div {
  padding: 0 !important;
  margin: 0 0 18px !important;
}

.abr-article__content > div:last-child {
  margin-bottom: 0 !important;
}

.abr-article__content p,
.abr-article__content p span,
.abr-article__content li,
.abr-article__content li span {
  margin: 0 !important;
  font-family: inherit !important;
  font-size: 21px !important;
  line-height: 1.4 !important;
  font-weight: inherit !important;
  color: inherit !important;
  text-align: left !important;
}

.abr-article__content p {
  margin: 0 !important;
}

.abr-article__content h3,
.abr-article__content h4 {
  margin: 60px 0 20px !important;
  font-family: var(--abr-serif) !important;
  font-size: 1.375rem !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  color: var(--abr-article-text) !important;
  text-align: left !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.abr-article__content h3 span,
.abr-article__content h4 span {
  font-size: inherit !important;
}

.abr-article__content a,
.abr-article__content a.link,
.abr-article__content p a,
.abr-article__content p a span,
.abr-article__content p b a,
.abr-article__content p b a span {
  color: inherit !important;
  font-weight: inherit !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  word-break: break-word;
}

.abr-article__content a:hover,
.abr-article__content a:focus-visible,
.abr-article__content p a:hover span,
.abr-article__content p a:focus-visible span {
  opacity: 0.72;
}

.abr-article__content img {
  width: 100%;
  margin: 2em 0;
  border-radius: 0;
}

.abr-article__content small,
.abr-article__content small p,
.abr-article__content small p span,
.abr-article__content small a,
.abr-article__content small i {
  display: block;
  font-family: var(--abr-sans) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-style: italic !important;
  font-weight: 400 !important;
  color: var(--abr-gray-700) !important;
  text-align: left !important;
}

.abr-article__content small a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.abr-article__content b,
.abr-article__content strong {
  font-weight: 700;
}

.abr-article__content > div:first-of-type > p:first-of-type::first-letter {
  font-weight: 600;
  initial-letter: 3;
  -webkit-initial-letter: 3;
  padding-right: 3px;
}

@media (min-width: 981px) {
  .abr-article__content > div {
    margin-bottom: 25px !important;
  }

  .abr-article__content h3,
  .abr-article__content h4 {
    font-size: 1.75rem !important;
  }
}

.abr-empty {
  color: var(--abr-gray-500);
  font-size: 1rem;
}

.abr-empty--light {
  color: rgba(255, 255, 255, 0.65);
}

/* Sales pages */
.abr-sales-hero {
  background: var(--abr-black);
  color: var(--abr-white);
  padding: 72px 0 80px;
}

.abr-sales-hero__inner {
  max-width: 760px;
}

.abr-sales-eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.abr-sales-hero__title {
  margin-top: 14px;
  font-family: var(--abr-serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.abr-sales-hero__dek {
  margin-top: 20px;
  max-width: 44ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
}

.abr-sales-hero__price {
  margin-top: 28px;
  font-family: var(--abr-serif);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 600;
}

.abr-sales-hero__term {
  font-family: var(--abr-sans);
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.72;
}

.abr-sales-hero__anchor {
  margin-top: 28px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.abr-sales-hero__anchor + .abr-sales-hero__price {
  margin-top: 8px;
}

.abr-sales-hero__guarantee {
  margin-top: 10px;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.5;
}

.abr-accent-underline {
  position: relative;
  display: inline-block;
  text-decoration: none;
  padding-bottom: 2px;
}

.abr-accent-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--abr-accent);
  transform: scaleX(0);
  transform-origin: left center;
  animation: abr-underline-cycle 10s linear infinite;
}

@keyframes abr-underline-cycle {
  0% {
    transform: scaleX(0);
    opacity: 1;
  }
  9% {
    transform: scaleX(1);
    opacity: 1;
  }
  59% {
    transform: scaleX(1);
    opacity: 1;
  }
  59.1%,
  61.8% {
    transform: scaleX(1);
    opacity: 0;
  }
  61.9%,
  64.6% {
    transform: scaleX(1);
    opacity: 1;
  }
  64.7%,
  67.4% {
    transform: scaleX(1);
    opacity: 0;
  }
  67.5%,
  90.2% {
    transform: scaleX(1);
    opacity: 1;
  }
  90.3%,
  100% {
    transform: scaleX(1);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .abr-accent-underline {
    border-bottom: 1px solid var(--abr-accent);
    padding-bottom: 1px;
  }

  .abr-accent-underline::after {
    animation: none;
    display: none;
  }
}

.abr-sales-hero__cta {
  margin-top: 28px;
}

.abr-sales-hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 28px;
}

.abr-sales-hero__cta-row .abr-sales-hero__cta {
  margin-top: 0;
}

.abr-sales-cohort {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.abr-sales-letter {
  padding: 72px 0;
  background: var(--abr-white);
}

.abr-sales-prose {
  display: grid;
  gap: 18px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--abr-gray-700);
}

.abr-sales-lead {
  font-family: var(--abr-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.45;
  color: var(--abr-black);
}

.abr-sales-inline-cta {
  margin-top: 36px;
}

.abr-sales-includes {
  padding: 64px 0 72px;
  background: var(--abr-gray-100);
  border-top: 1px solid var(--abr-gray-300);
  border-bottom: 1px solid var(--abr-gray-300);
}

.abr-sales-section-title {
  font-family: var(--abr-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.abr-sales-includes__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.abr-sales-include {
  background: var(--abr-white);
  border: 1px solid var(--abr-gray-300);
  padding: 24px 20px;
}

.abr-sales-include__number {
  font-family: var(--abr-serif);
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
}

.abr-sales-includes__grid--numbered .abr-sales-include {
  background: transparent;
  border: 0;
  padding: 0;
}

.abr-sales-includes__grid--numbered .abr-sales-include__number {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--abr-black);
}

.abr-sales-includes__grid--numbered .abr-sales-include__title {
  margin-top: 16px;
  font-family: var(--abr-serif);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
}

.abr-sales-includes__grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.abr-offer-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.abr-offer-split__media {
  margin: 0;
  overflow: hidden;
  background: var(--abr-gray-100);
}

.abr-offer-split__media img,
.abr-sales-include__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.abr-offer-split__media img {
  aspect-ratio: 4 / 3;
}

.abr-sales-include__media {
  margin: 0 0 22px;
  overflow: hidden;
  background: var(--abr-gray-100);
}

.abr-sales-include__media img {
  aspect-ratio: 4 / 3;
}

.abr-sticker {
  position: absolute;
  z-index: 3;
  margin: 0;
  pointer-events: none;
  filter:
    drop-shadow(1px 0 0 #fff)
    drop-shadow(-1px 0 0 #fff)
    drop-shadow(0 1px 0 #fff)
    drop-shadow(0 -1px 0 #fff)
    drop-shadow(3px 5px 0 rgba(10, 10, 10, 0.22));
}

.abr-sticker img {
  display: block;
  width: 100%;
  height: auto;
}

.page-template-page-bakers-dozen .abr-sales-letter {
  position: relative;
  overflow: hidden;
  background-color: #f7f6f3;
  background-image: url("../images/brand-paper-crinkle.jpg");
  background-size: cover;
  background-position: center;
}

.page-template-page-bakers-dozen .abr-sales-letter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.78);
}

.page-template-page-bakers-dozen .abr-sales-letter .abr-container {
  position: relative;
  z-index: 1;
}

.page-template-page-bakers-dozen .abr-offer-split__media {
  position: relative;
  overflow: visible;
  background: transparent;
}

.page-template-page-bakers-dozen .abr-offer-split__media > img {
  display: block;
}

.page-template-page-bakers-dozen .abr-sticker--doughnut {
  width: min(42%, 168px);
  right: -18px;
  bottom: -28px;
  transform: rotate(-14deg);
}

.page-template-page-bakers-dozen .abr-sales-includes {
  overflow: visible;
}

.page-template-page-bakers-dozen .abr-sales-include {
  position: relative;
  overflow: visible;
}

.page-template-page-bakers-dozen .abr-sales-include__media {
  position: relative;
}

.page-template-page-bakers-dozen .abr-sales-include__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 10, 10, 0.55) 0.55px, transparent 0.7px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
  opacity: 0.28;
  pointer-events: none;
}

.page-template-page-bakers-dozen .abr-sales-include__media:hover img {
  filter: grayscale(70%);
}

.page-template-page-bakers-dozen .abr-sticker--megaphone {
  width: min(58%, 176px);
  right: 6%;
  top: 18%;
  transform: rotate(16deg);
}

.page-template-page-bakers-dozen .abr-offer-split__media img,
.page-template-page-bakers-dozen .abr-sales-include__media img {
  filter: grayscale(100%);
}

.page-template-page-founders-table .abr-sales-hero {
  position: relative;
  z-index: 1;
  overflow: visible;
  padding-bottom: 40px;
}

.page-template-page-founders-table .abr-founders-hero__copy {
  padding-left: 85px;
}

.page-template-page-founders-table .abr-sales-hero__inner {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 360px);
  gap: 40px 56px;
  align-items: center;
}

.page-template-page-founders-table .abr-founders-hero__card {
  width: min(100%, 360px);
  margin: 4px 0 -45px;
  justify-self: end;
  transform: rotate(22deg);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.38);
}

.page-template-page-founders-table .abr-founders-hero__card img {
  width: 100%;
  height: auto;
}

.page-template-page-founders-table .abr-sales-letter {
  position: relative;
  z-index: 2;
}

.page-template-page-bakers-dozen .abr-sales-section-title::after,
.page-template-page-founders-table .abr-sales-section-title::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 14px;
  background: var(--abr-accent);
}

.page-template-page-bakers-dozen .abr-sales-includes__grid--numbered .abr-sales-include__number,
.page-template-page-founders-table .abr-sales-includes__grid--numbered .abr-sales-include__number {
  color: var(--abr-accent);
}

.abr-offer-gallery {
  margin-top: 48px;
}

.abr-offer-gallery__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.abr-offer-gallery__grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--abr-gray-100);
}

.abr-offer-gallery__grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.page-template-page-bakers-dozen .abr-sales-final {
  position: relative;
  overflow: visible;
  background-color: var(--abr-black);
  padding-top: 96px;
}

.page-template-page-bakers-dozen .abr-sales-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/brand-austin-skyline.jpg") center bottom / cover no-repeat;
  opacity: 0.42;
  pointer-events: none;
}

.page-template-page-bakers-dozen .abr-sales-final__inner {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.page-template-page-bakers-dozen .abr-sticker--cupcake {
  width: min(34%, 168px);
  right: -8px;
  top: -72px;
  bottom: auto;
  transform: rotate(-10deg);
}

.abr-sales-prose a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.abr-sales-syllabus--plain {
  background: var(--abr-white);
  border-top: 1px solid var(--abr-gray-300);
}

.abr-sales-include__title {
  margin-top: 12px;
  font-size: 1.02rem;
  font-weight: 600;
}

.abr-sales-include__text {
  margin-top: 8px;
  color: var(--abr-gray-500);
  font-size: 0.94rem;
  line-height: 1.5;
}

.abr-sales-syllabus {
  padding: 72px 0;
  background: var(--abr-white);
}

.abr-sales-sessions {
  display: grid;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--abr-gray-300);
}

.abr-sales-session {
  padding: 28px 0;
  border-bottom: 1px solid var(--abr-gray-300);
}

.abr-sales-session__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--abr-gray-500);
}

.abr-sales-session__title {
  margin-top: 10px;
  font-family: var(--abr-serif);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.2;
  font-weight: 600;
}

.abr-sales-session__text {
  margin-top: 12px;
  color: var(--abr-gray-700);
  font-size: 1rem;
  line-height: 1.7;
}

.abr-sales-note {
  background: var(--abr-black);
  color: var(--abr-white);
  padding: 72px 0;
}

.abr-sales-note__inner {
  max-width: 640px;
  text-align: center;
}

.abr-sales-note__title {
  font-family: var(--abr-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.abr-sales-note__text {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
}

.abr-sales-faq {
  background: var(--abr-gray-100);
  padding: 72px 0;
  border-top: 1px solid var(--abr-gray-300);
}

.abr-faq {
  margin-top: 28px;
  border-top: 1px solid var(--abr-gray-300);
}

.abr-faq__item {
  border-bottom: 1px solid var(--abr-gray-300);
}

.abr-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--abr-serif);
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.abr-faq__question:hover {
  color: var(--abr-gray-700);
}

.abr-faq__question:focus-visible {
  outline: 2px solid var(--abr-accent);
  outline-offset: 4px;
}

.abr-faq__question::-webkit-details-marker {
  display: none;
}

.abr-faq__question::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: -4px;
  border-right: 1.5px solid var(--abr-black);
  border-bottom: 1.5px solid var(--abr-black);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.abr-faq__item[open] .abr-faq__question::after {
  margin-top: 4px;
  transform: rotate(-135deg);
}

.abr-faq__answer {
  padding: 0 28px 20px 0;
}

.abr-faq__answer p {
  color: var(--abr-gray-700);
  font-size: 1.02rem;
  line-height: 1.7;
}

.abr-sales-final {
  background: var(--abr-black);
  color: var(--abr-white);
  padding: 72px 0 84px;
}

.abr-sales-final__inner {
  max-width: 760px;
  text-align: left;
}

.abr-sales-final__title {
  font-family: var(--abr-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.06;
  font-weight: 600;
}

.abr-sales-final__dek {
  margin-top: 16px;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.6;
}

.abr-sales-final__cta {
  margin-top: 28px;
}

.abr-instructor {
  padding: 72px 0;
  background: var(--abr-white);
  border-top: 1px solid var(--abr-gray-300);
}

.abr-instructor__inner {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 48px;
  align-items: stretch;
}

.abr-instructor__content {
  display: flex;
  flex-direction: column;
}

.abr-instructor__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(100%);
}

.abr-instructor__title {
  font-family: var(--abr-serif);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.abr-instructor__bio {
  display: grid;
  gap: 16px;
  margin-top: 22px;
  color: var(--abr-gray-700);
  font-size: 1.02rem;
  line-height: 1.75;
}

.abr-instructor__bio a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.abr-instructor__bio a:hover {
  color: var(--abr-black);
}

.abr-instructor__rule {
  width: 72px;
  height: 6px;
  margin-top: 28px;
  background: var(--abr-black);
}

.abr-instructor__contact {
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 24px;
  text-align: center;
  color: var(--abr-gray-700);
  font-size: 1rem;
  line-height: 1.6;
}

.abr-instructor__contact a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Responsive */
@media (max-width: 980px) {
  .abr-header__inner {
    grid-template-columns: 1fr auto;
  }

  .abr-nav {
    display: none;
  }

  .abr-hero__inner,
  .abr-spotlight__featured-row,
  .abr-partners__inner,
  .abr-history__inner,
  .abr-footer__inner {
    grid-template-columns: 1fr;
  }

  .abr-partners__intro {
    position: static;
    max-width: none;
  }

  .abr-hero__content {
    align-self: auto;
    padding-bottom: 28px;
  }

  .abr-hero__visual {
    align-self: end;
    margin-bottom: 0;
  }

  .abr-hero__video {
    max-height: 52vh;
    margin-inline: auto;
  }

  .abr-hero__title {
    max-width: none;
  }

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

  .abr-spotlight__featured-sidebar {
    grid-template-rows: none;
    gap: 18px;
  }

  .abr-card--sidebar {
    height: auto;
  }

  .abr-card--sidebar .abr-card__link--horizontal {
    height: auto;
    grid-template-columns: 92px 1fr;
    align-items: start;
  }

  .abr-card--sidebar .abr-card__thumb {
    width: 92px;
    height: 92px;
  }

  .abr-card--sidebar .abr-card__title {
    display: block;
    font-size: 1.02rem;
  }

  .abr-footer__subscribe {
    justify-self: start;
  }

  .abr-sales-includes__grid,
  .abr-sales-includes__grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .abr-instructor__inner,
  .abr-offer-split,
  .page-template-page-founders-table .abr-sales-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-template-page-founders-table .abr-founders-hero__card {
    width: min(72%, 280px);
    margin: 8px auto -28px;
    justify-self: center;
  }

  .abr-instructor__media {
    max-width: 420px;
  }

  .page-template-page-bakers-dozen .abr-sticker--doughnut {
    width: 132px;
    right: 8px;
    bottom: -20px;
  }

  .page-template-page-bakers-dozen .abr-sticker--megaphone {
    width: 120px;
    right: 8px;
    top: 16%;
  }

  .page-template-page-bakers-dozen .abr-sticker--cupcake {
    width: 110px;
    right: 0;
    top: -40px;
    bottom: auto;
  }
}

@media (max-width: 640px) {
  .abr-container {
    width: min(100% - 32px, var(--abr-container));
  }

  .abr-hero {
    padding: 48px 0 0;
  }

  .abr-spotlight__grid {
    grid-template-columns: 1fr;
  }

  .abr-card--history .abr-card__link--horizontal,
  .abr-card__link--horizontal {
    grid-template-columns: 80px 1fr;
  }

  .abr-card__media--history {
    width: 80px;
    height: 80px;
  }

  .abr-header__cta {
    display: none;
  }

  .abr-sales-includes__grid,
  .abr-offer-gallery__grid {
    grid-template-columns: 1fr;
  }

  .abr-sales-hero,
  .abr-sales-letter,
  .abr-sales-syllabus,
  .abr-sales-note,
  .abr-sales-faq,
  .abr-sales-final {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .page-template-page-bakers-dozen .abr-sales-final {
    padding-top: 72px;
  }

  .page-template-page-bakers-dozen .abr-sales-final__title,
  .page-template-page-bakers-dozen .abr-sales-final__dek {
    padding-right: 92px;
  }

  .page-template-page-bakers-dozen .abr-sticker--cupcake {
    width: 84px;
    right: 0;
    top: 18px;
  }
}
