/* Shared template for the crawlable portfolio guides. */
.brand-guide {
  --guide-accent: #f5bf83;
  color: #f6f1eb;
  width: min(100% - 2.25rem, 68rem);
  margin-inline: auto;
  padding-block: clamp(1.8rem, 4vw, 4.5rem);
}
.brand-guide[data-brand="colorway-cocktails"] { --guide-accent: #ff8bb0; }
.brand-guide[data-brand="mistakes-were-made"] { --guide-accent: #b8de83; }
.brand-guide__hero, .brand-guide__cta {
  border: 1px solid #463b33;
  border-radius: 1.25rem;
  background: #1d1717;
  padding: clamp(1.3rem, 4vw, 3.4rem);
}
.brand-guide__crumb { color: #cec0b4; font-size: .875rem; margin: 0 0 1.1rem; }
.brand-guide a { color: var(--guide-accent); text-underline-offset: .2em; overflow-wrap: anywhere; }
.brand-guide a:focus-visible { outline: 2px solid var(--guide-accent); outline-offset: 4px; }
.brand-guide__eyebrow { color: var(--guide-accent); font: .76rem/1.45 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .8rem; }
.brand-guide h1, .brand-guide h2, .brand-guide h3 { color: #f6f1eb; font-family: 'Fraunces', Georgia, serif; font-weight: 500; }
.brand-guide h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); line-height: 1.04; max-width: 17ch; margin: 0 0 1rem; }
.brand-guide p:not([class]) { color: #d6cac0; font-size: 1.04rem; line-height: 1.65; max-width: 68ch; margin: .65rem 0; }
.brand-guide__hero p:not([class]) { font-size: clamp(1.05rem, 2vw, 1.24rem); }
.brand-guide__content { padding-inline: clamp(0rem, 4vw, 3.4rem); }
.brand-guide__content section, .brand-guide__related, .brand-guide__cta { margin-block-start: 2.15rem; }
.brand-guide h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin: 0 0 .7rem; line-height: 1.15; }
.brand-guide h3 { font-size: 1.2rem; line-height: 1.25; margin: 0 0 .3rem; }
.brand-guide__cards { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.brand-guide__cards li { padding: 1rem; border: 1px solid #463b33; border-radius: .75rem; background: #1d1717; min-width: 0; }
.brand-guide__cards p:not([class]) { font-size: .95rem; margin: 0; }
.brand-guide a.brand-guide__button { color: #171414; background: var(--guide-accent); border-radius: 8rem; text-decoration: none; font-weight: 700; padding: .8rem 1.15rem; display: inline-flex; max-width: 100%; margin-block-start: .85rem; }
.brand-guide__more { margin: 1.1rem 0 0; padding-inline-start: 1.4rem; line-height: 1.65; }
@media (max-width: 36rem) {
  .brand-guide { width: min(100% - 1.5rem, 68rem); }
  .brand-guide__hero, .brand-guide__cta { border-radius: .85rem; }
}
