/* ══════════════════════════════════════════════════════════════════
   /about — layout pass, Aug 2026.

   Built to the client's supplied comp: polaroid hero, a three-beat
   story timeline, a founder feature, the blue "by the numbers" band,
   restyled pillars and values, and a closing CTA band.

   Scoped under .ab- and loaded only on this page (functions.php),
   matching the per-template pattern used by gift-cards.css and
   breakfast-menu.css.

   Two of the comp's decorative flourishes are NOT reproduced and that
   is deliberate, not an omission: the hand-drawn botanical line art and
   the loose blueberry cluster are illustration assets that do not exist
   in this project. Rather than substitute clip-art that would drift
   from the brand, the space they occupied is given to the photography
   and the type, both of which are real.
   ══════════════════════════════════════════════════════════════════ */

/* ── HERO ─────────────────────────────────────────────────────────── */

.ab-hero {
  background: var(--surface-warm, var(--bf-cream));
  padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 5vw, 72px);
  overflow: hidden;
}

.ab-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

@media (max-width: 900px) { .ab-hero-grid { grid-template-columns: 1fr; } }

.ab-rule {
  width: 64px;
  height: 3px;
  background: var(--bf-raspberry, #D33344);
  border: 0;
  margin: var(--space-5) 0;
}

.ab-hero-copy .lead { color: var(--fg2); }

/* Polaroid: white border, soft drop, tilted a couple of degrees. The
   tilt is on a wrapper rather than the image so the caption below can
   sit level against the page. */
.ab-polaroid {
  position: relative;
  transform: rotate(1.6deg);
  background: #fff;
  padding: 12px 12px 14px;
  border-radius: 4px;
  box-shadow: 0 26px 60px rgba(43, 48, 51, 0.20), 0 3px 10px rgba(43, 48, 51, 0.10);
}

.ab-polaroid-frame {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bf-cream-2, #F3EAD8);
}

.ab-polaroid-frame img,
.ab-polaroid-frame .photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Script caption + arrow, bottom-left of the photo, as in the comp. */
.ab-hero-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--space-4);
  padding-left: clamp(4px, 2vw, 24px);
  font-family: var(--font-script, Caveat, cursive);
  font-size: clamp(19px, 2.2vw, 26px);
  color: var(--bf-raspberry, #D33344);
  transform: rotate(-1.2deg);
}

.ab-hero-caption svg { flex: none; }

@media (prefers-reduced-motion: no-preference) {
  .ab-polaroid { transition: transform 600ms var(--ease-out, cubic-bezier(.22,.61,.36,1)); }
  .ab-polaroid:hover { transform: rotate(0deg) translateY(-4px); }
}

/* ── TIMELINE ─────────────────────────────────────────────────────── */

.ab-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
  margin-top: var(--space-8);
}

@media (max-width: 860px) { .ab-timeline { grid-template-columns: 1fr; gap: var(--space-8); } }

.ab-beat { position: relative; }

/* Connector between beats. Hidden on the last one and whenever the
   grid collapses to a single column, where a horizontal rule between
   stacked cards would point nowhere. */
.ab-beat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px;
  right: calc(-1 * clamp(10px, 1.5vw, 22px));
  width: clamp(20px, 3vw, 44px);
  border-top: 2px dashed var(--border, var(--bf-line));
}

@media (max-width: 860px) { .ab-beat::after { display: none !important; } }

.ab-beat-year {
  font-family: var(--font-display, Anton, "Arial Narrow", Impact, sans-serif);
  text-transform: uppercase;
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1;
  color: var(--bf-leaf-deep, #2C7A45);
  margin-bottom: var(--space-3);
}

.ab-beat-year.is-script {
  font-family: var(--font-script, Caveat, cursive);
  text-transform: none;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--bf-raspberry, #D33344);
}

.ab-beat h3 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display, Anton, "Arial Narrow", Impact, sans-serif);
  text-transform: uppercase;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.12;
  color: var(--fg1, var(--bf-charcoal));
}

.ab-beat p {
  margin: 0;
  color: var(--fg2, var(--bf-warm-gray));
  font-size: 15px;
  line-height: 1.6;
}

/* Tilted snapshot inside a beat — same polaroid language as the hero,
   at a smaller scale. */
.ab-beat-photo {
  position: relative;
  background: #fff;
  padding: 8px 8px 10px;
  border-radius: 4px;
  box-shadow: 0 14px 32px rgba(43, 48, 51, 0.16);
  margin-bottom: var(--space-4);
  transform: rotate(-1.4deg);
}

.ab-beat:nth-child(even) .ab-beat-photo { transform: rotate(1.4deg); }

.ab-beat-photo > span {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  overflow: hidden;
  background: var(--bf-cream-2, #F3EAD8);
}

/* ── FOUNDER ──────────────────────────────────────────────────────── */

.ab-founder {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(20px, 3vw, 36px);
  border-radius: var(--radius-lg, 18px);
  background: var(--bg-elevated, #fff);
  border: 1px solid var(--border, var(--bf-line));
}

@media (max-width: 860px) { .ab-founder { grid-template-columns: 1fr; } }

.ab-founder-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  background: var(--bf-cream-2, #F3EAD8);
}

.ab-founder-photo img,
.ab-founder-photo .photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ab-founder h2 {
  margin: var(--space-2) 0 var(--space-4);
  font-family: var(--font-display, Anton, "Arial Narrow", Impact, sans-serif);
  text-transform: uppercase;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.04;
  color: var(--fg1, var(--bf-charcoal));
  max-width: 20ch;
}

.ab-founder p { color: var(--fg2, var(--bf-warm-gray)); }

/* Tim's four principles, pulled out of the prose as a list. Presented
   as principles, NOT as a spoken quotation — see the template comment. */
.ab-principles {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: var(--space-5) 0 0;
  border-top: 1px solid var(--border, var(--bf-line));
  display: grid;
  gap: 10px;
}

.ab-principles li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-script, Caveat, cursive);
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.25;
  color: var(--accent, var(--bf-sky-deep));
}

.ab-principles svg { flex: none; margin-top: 4px; }

.ab-principles-src {
  margin-top: var(--space-3);
  font-size: 13px;
  color: var(--fg2, var(--bf-warm-gray));
  font-style: italic;
}

/* ── BY THE NUMBERS ───────────────────────────────────────────────── */

.ab-numbers {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  padding: clamp(22px, 3vw, 36px) clamp(20px, 3vw, 40px);
  border-radius: var(--radius-lg, 18px);
  background: linear-gradient(150deg, #1C74B0 0%, #145A8A 100%);
  color: #fff;
}

@media (max-width: 980px) { .ab-numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ab-numbers { grid-template-columns: 1fr; text-align: center; } }

.ab-numbers-label { grid-column: span 1; }
@media (max-width: 980px) { .ab-numbers-label { grid-column: 1 / -1; } }

.ab-numbers-label .script {
  display: block;
  font-family: var(--font-script, Caveat, cursive);
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--bf-yellow, #F0B357);
  line-height: 1.1;
}

.ab-numbers-label b {
  display: block;
  font-family: var(--font-display, Anton, "Arial Narrow", Impact, sans-serif);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.05;
  margin-top: 4px;
}

.ab-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  padding-left: clamp(12px, 1.6vw, 22px);
}

@media (max-width: 980px) { .ab-stat:nth-child(2) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .ab-stat { border-left: 0; padding-left: 0; } }

.ab-stat-fig {
  font-family: var(--font-display, Anton, "Arial Narrow", Impact, sans-serif);
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.ab-stat-fig.is-words { font-size: clamp(17px, 2.1vw, 25px); line-height: 1.06; }

.ab-stat-cap {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
}

/* ── CLOSING CTA BAND ─────────────────────────────────────────────── */

.ab-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.1fr) minmax(0, 0.65fr);
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  border-radius: var(--radius-lg, 18px);
  overflow: hidden;
  background: var(--surface-warm, var(--bf-cream));
  border: 1px solid var(--border, var(--bf-line));
}

@media (max-width: 1000px) { .ab-cta { grid-template-columns: 1fr; } }

.ab-cta-photo {
  position: relative;
  align-self: stretch;
  min-height: 220px;
  background: var(--bf-cream-2, #F3EAD8);
}

.ab-cta-photo img,
.ab-cta-photo .photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1000px) { .ab-cta-photo { min-height: 200px; } }

.ab-cta-copy { padding: clamp(22px, 3vw, 36px) 0; }
@media (max-width: 1000px) { .ab-cta-copy { padding: 0 clamp(20px, 4vw, 32px); } }

.ab-cta-copy h2 {
  margin: var(--space-2) 0 var(--space-4);
  font-family: var(--font-display, Anton, "Arial Narrow", Impact, sans-serif);
  text-transform: uppercase;
  font-size: clamp(23px, 3.1vw, 35px);
  line-height: 1.04;
  color: var(--fg1, var(--bf-charcoal));
  max-width: 18ch;
}

.ab-cta-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.ab-cta-actions .btn { gap: 8px; }

.ab-cta-hiring {
  padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 30px);
  border-left: 1px dashed var(--border, var(--bf-line));
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-3);
}

@media (max-width: 1000px) {
  .ab-cta-hiring { border-left: 0; border-top: 1px dashed var(--border, var(--bf-line)); }
}

.ab-cta-hiring .script {
  font-family: var(--font-script, Caveat, cursive);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2;
  color: var(--accent, var(--bf-sky-deep));
  max-width: 16ch;
}

/* ── POST_CONTENT UPGRADES ────────────────────────────────────────── */
/* The pillars and the ten values still live in post_content so the
   client can edit them. Rather than rewrite that markup (and lose the
   editability), these rules restyle the existing .pillar-row and
   .checklist toward the comp's card treatment. Purely additive — the
   same markup renders fine without this file on any other page. */

.page-body .pillar-row {
  gap: 0;
  border: 1px solid var(--border, var(--bf-line));
  border-radius: var(--radius-lg, 18px);
  background: var(--bg-elevated, #fff);
  overflow: hidden;
}

.page-body .pillar-cell {
  padding: clamp(20px, 2.6vw, 32px);
  border-right: 1px solid var(--border, var(--bf-line));
}

.page-body .pillar-cell:last-child { border-right: 0; }

@media (max-width: 860px) {
  .page-body .pillar-cell { border-right: 0; border-bottom: 1px solid var(--border, var(--bf-line)); }
  .page-body .pillar-cell:last-child { border-bottom: 0; }
}

/* Values: from a single-column tick list to the comp's card grid.
   auto-fit rather than a fixed column count because there are ten of
   them, not the comp's six — the client's real list is longer than the
   design allowed for, and the words win over the grid. */
.page-body .checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
  list-style: none;
  padding: 0;
}

.page-body .checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: clamp(16px, 2vw, 22px);
  border-radius: var(--radius-md, 10px);
  border: 1px solid var(--border, var(--bf-line));
  background: var(--bg-elevated, #fff);
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg2, var(--bf-warm-gray));
  transition: border-color var(--t-base, 200ms) var(--ease-out, ease),
              box-shadow var(--t-base, 200ms) var(--ease-out, ease);
}

.page-body .checklist li:hover {
  border-color: var(--bf-leaf, #3DA35D);
  box-shadow: var(--shadow-sm, 0 2px 10px rgba(43, 48, 51, 0.06));
}

.page-body .checklist li svg {
  flex: none;
  margin-top: 2px;
  color: var(--bf-leaf-deep, #2C7A45);
}
