/* About page: scrapbook layout (Nov 22, 2026).
 * Loaded only by about.html, after marketing.css and marketing-theme.css.
 * Everything is scoped under .ab / .ab-* so no other page changes.
 * Palette is the four brand colors only: tomato #9E3224, deep teal #12383A, cream #F8ECD0 / paper #FFF7E3, yellow #FFDE59.
 * Nothing sits in a neat grid: overlapping taped polaroids, a tilted paper note, sticker badges, tilted ticket cards.
 * Bands alternate teal / tomato / teal like the homepage. */

.ab { --paper: #FFF7E3; }
.m-page.ab { max-width: 1000px; padding: 56px 24px 88px; }
.ab a:focus-visible { outline: 3px solid #FFDE59; outline-offset: 3px; }

/* ---- The spread: photos and paper notes zigzag down the page, photo / note, note / photo, photo / note, note / photo ---- */
.ab-spread { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 72px; align-items: center; }
.ab-polaroid { position: relative; width: min(100%, 330px); margin: 0 auto; background: var(--paper); border: 12px solid var(--paper); border-bottom-width: 58px; box-shadow: 0 16px 30px rgba(11, 35, 37, .45); }
.ab-polaroid::before { content: ""; position: absolute; z-index: 3; top: -26px; left: 50%; width: 110px; height: 30px; margin-left: -55px; background: rgba(255, 222, 89, .85); box-shadow: 0 1px 3px rgba(11, 35, 37, .35); transform: rotate(-2.5deg); }
.ab-polaroid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: var(--grade); }
.ab-polaroid-tall img { aspect-ratio: 3 / 4; }
.ab-polaroid figcaption { position: absolute; left: 0; right: 0; bottom: -44px; text-align: center; font-size: 20px; font-weight: 600; line-height: 1.2; color: #2E2118; }
/* Uneven tilts and nudges so nothing looks stamped out */
.ab-spread > :nth-child(1) { transform: rotate(-2.2deg); }
.ab-spread > :nth-child(4) { transform: rotate(2.6deg) translateX(-10px); }
.ab-spread > :nth-child(5) { transform: rotate(-1.6deg) translateX(12px); }
.ab-spread > :nth-child(8) { transform: rotate(3deg); }
.ab-spread > :nth-child(4)::before { transform: rotate(3deg); }
.ab-spread > :nth-child(5)::before { transform: rotate(-4deg); margin-left: -70px; }
.ab-spread > :nth-child(8)::before { transform: rotate(2deg); }

/* Text blocks: the site's standard cream card (same frame as the How It Works sheets). Flat and square-on, so the tilted photos carry the scrapbook feel. */
.ab-note { background: #F8ECD0; border: 4px solid #12383A; border-radius: 14px; box-shadow: 8px 8px 0 #0B2325; padding: 0; overflow: hidden; color: #2E2118; }
/* Tomato header bar on each card, same as the How It Works sheet headings */
.m-page.ab h2.ab-name, .ab .ab-note h3.ab-note-head { display: flex; align-items: center; gap: 14px; margin: 0; padding: 18px 28px 16px; border: 0; border-bottom: 4px solid #12383A; border-radius: 0; background: #9E3224; font-family: var(--font-headline); font-weight: 400; line-height: 1.15; color: #FFF7E3; text-shadow: none; }
.m-page.ab h2.ab-name { font-size: clamp(30px, 4.2vw, 38px); }
.ab .ab-note h3.ab-note-head { font-size: clamp(24px, 3.4vw, 30px); }
.m-page.ab h2.ab-name, .ab .ab-note h3.ab-note-head { justify-content: center; text-align: center; }
.ab-name::before, .ab-name::after, .ab-note-head::before, .ab-note-head::after { content: ""; flex: none; width: 12px; height: 12px; transform: rotate(45deg); background: #FFDE59; border: 2px solid #12383A; box-sizing: border-box; }
.ab-note-head::before, .ab-name::before { margin-right: 6px; }
.ab-note-head::after, .ab-name::after { margin-left: 6px; }
/* Section headings (By the Numbers, Get in Touch, Follow Along): same flanking diamonds */
.ab .ab-head h2 { display: flex; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.ab .ab-head h2::before, .ab .ab-head h2::after { content: ""; flex: none; width: .38em; height: .38em; transform: rotate(45deg); background: #FFDE59; border: 2px solid #F8ECD0; box-sizing: border-box; }
.ab .ab-note p { margin: 0; padding: 26px 32px 32px; font-size: 19px; line-height: 1.7; font-weight: 500; color: #2E2118; }
.ab .ab-note h2 + p { font-size: clamp(20px, 2.3vw, 22px); line-height: 1.6; }

/* ---- Bands ---- */
.ab-band { background: #9E3224; border-block: 3px double #F8ECD0; padding: 80px 24px 96px; color: #F8ECD0; }
.ab-teal { padding: 88px 24px 96px; color: #F8ECD0; }
.ab-band-in { max-width: 880px; margin: 0 auto; }

/* Section headings */
.ab .ab-head { margin: 0 0 40px; }
.ab .ab-head h2 { margin: 0; padding: 0; border: 0; font-size: clamp(30px, 4.6vw, 42px); line-height: 1.15; color: #FFDE59; text-shadow: .06em .06em 0 #0B2325; }
.ab-red .ab-head h2 { text-shadow: .06em .06em 0 color-mix(in srgb, #9E3224 55%, #000); }
.ab-head::after { background: #F8ECD0; }

/* ---- Stats as die-cut stickers ---- */

/* ---- Contact cards, tilted like tickets ---- */
.ab .m-contact-card { border: 3px solid #12383A; border-radius: 12px; box-shadow: 5px 5px 0 #12383A; transform: rotate(-1.4deg); }
.ab .m-contact-card + .m-contact-card { transform: rotate(1.1deg); }
.ab .m-contact-card:hover { transform: rotate(0deg) translate(-2px, -3px); box-shadow: 7px 7px 0 #12383A; }
.ab .m-contact-label { font-size: 15px; }
.ab .m-contact-val { font-size: clamp(19px, 2.6vw, 22px); }
.ab .m-contact-cards { margin-bottom: 48px; }

/* ---- Instagram: polaroid strip. Card is always visible; tiles fill in when the feed loads ---- */
.ab .m-ig-card { background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; margin: 0 auto; text-align: center; }
.ab .m-ig-grid { grid-template-columns: repeat(3, 1fr); gap: 34px 26px; margin: 0 0 44px; padding-top: 14px; }
.ab .m-ig-grid:empty { display: none; }
.ab .m-ig-tile { position: relative; aspect-ratio: auto; background: var(--paper); border: 9px solid var(--paper); border-bottom-width: 30px; border-radius: 2px; box-shadow: 0 12px 24px rgba(11, 35, 37, .4); transform: rotate(-1.4deg); transition: transform .15s ease, box-shadow .15s ease; overflow: visible; }
.ab .m-ig-tile:nth-child(even) { transform: rotate(1.2deg); }
.ab .m-ig-tile:nth-child(3n) { transform: rotate(-.6deg); }
.ab .m-ig-tile::before { content: ""; position: absolute; z-index: 1; top: -16px; left: 50%; width: 64px; height: 20px; margin-left: -32px; background: rgba(255, 222, 89, .85); box-shadow: 0 1px 2px rgba(11, 35, 37, .35); transform: rotate(2deg); }
.ab .m-ig-tile:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 16px 28px rgba(11, 35, 37, .5); }
.ab .m-ig-tile img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; display: block; filter: var(--grade); }
.ab .m-ig-meta { max-width: 460px; margin: 0 auto 26px; padding: 18px 24px 20px; background: var(--paper); border: 3px solid #12383A; border-radius: 12px; box-shadow: 5px 5px 0 #12383A; transform: rotate(-.6deg); }
.ab .m-ig-glyph { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%; background: #FFDE59; border: 3px solid #12383A; color: #12383A; }
.ab .m-ig-tag { margin: 8px 0 0; font-size: 17px; font-weight: 500; line-height: 1.45; color: #2E2118; }
.ab .m-ig-name { margin: 0 0 6px; font-family: var(--font-headline); font-weight: 400; font-size: 28px; color: #9E3224; }
.ab .m-ig-handle { margin: 0; font-size: 19px; font-weight: 600; color: #2E2118; }
.ab .m-ig-follow-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 34px; background: #FFDE59; color: #2E2118; border: 3px solid #12383A; border-radius: 999px; box-shadow: 4px 4px 0 #12383A; font-size: 19px; font-weight: 800; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease; }
.ab .m-ig-follow-btn:hover { opacity: 1; background: #FFE680; transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #12383A; }

/* ---- Phones and tablets: everything stacks in reading order ---- */
@media (max-width: 860px) {
  .ab-spread { grid-template-columns: 1fr; gap: 72px; }
  .ab-polaroid { width: min(100%, 340px); }
  .ab-note { max-width: 640px; width: 100%; margin: 0 auto; }
  .ab .m-ig-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
}
@media (max-width: 620px) {
  .m-page.ab { padding: 48px 18px 72px; }
  .ab-polaroid { border-width: 9px; border-bottom-width: 50px; }
  .ab-polaroid figcaption { bottom: -38px; font-size: 18px; }
  .ab-spread > :nth-child(4), .ab-spread > :nth-child(5) { transform: rotate(2.4deg); }
  .ab-spread > :nth-child(5) { transform: rotate(-1.8deg); }
  .m-page.ab h2.ab-name, .ab .ab-note h3.ab-note-head { padding: 16px 20px 14px; }
  .ab .ab-note p { padding: 22px 20px 28px; }
  .ab-band { padding: 64px 18px 80px; }
  .ab-teal { padding: 72px 18px 32px; }
  .ab-stats { gap: 40px 24px; }
  .ab .m-contact-cards { margin-bottom: 40px; }
  .ab .m-ig-tile { border-width: 7px; border-bottom-width: 24px; }
}
@media (prefers-reduced-motion: reduce) { .ab .m-ig-tile, .ab .m-ig-follow-btn, .ab .m-contact-card { transition: none; } }

/* By the Numbers: ticket stubs. A yellow stub on top (icon), a dashed tear line with a notch on each side, the number and label below. */
.ab-stats { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 44px 40px; margin: 0; padding: 12px 0 30px; list-style: none; }
.ab-stat { position: relative; width: 244px; filter: drop-shadow(6px 7px 0 #4F140D); }
.ab-ticket { --stub: 76px; display: flex; flex-direction: column; min-height: 236px; color: #2E2118;
  -webkit-mask: radial-gradient(circle 12px at 0 var(--stub), #0000 11.5px, #000 12.5px) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% var(--stub), #0000 11.5px, #000 12.5px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 12px at 0 var(--stub), #0000 11.5px, #000 12.5px) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% var(--stub), #0000 11.5px, #000 12.5px) right / 51% 100% no-repeat; }
.ab-stat:nth-child(1) { transform: rotate(-2.5deg); }
.ab-stat:nth-child(2) { transform: translateY(22px) rotate(2deg); }
.ab-stat:nth-child(3) { transform: rotate(-1.5deg); }
.ab-stub { flex: none; display: flex; align-items: center; justify-content: center; height: var(--stub); background: #FFDE59; border-radius: 12px 12px 0 0; }
.ab-ico { display: block; width: 36px; height: 36px; fill: none; stroke: #9E3224; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ab-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px 20px 24px; text-align: center; background: #FFF7E3; border-radius: 0 0 12px 12px; background-image: repeating-linear-gradient(90deg, #12383A 0 9px, #0000 9px 17px); background-size: calc(100% - 44px) 3px; background-position: center top; background-repeat: no-repeat; }
.ab-main b { display: block; font-family: var(--font-headline); font-weight: 400; font-size: clamp(28px, 3vw, 32px); line-height: 1.1; color: #9E3224; }
.ab-lbl { display: block; margin-top: 8px; font-size: 18px; font-weight: 700; line-height: 1.3; color: #2E2118; }
@media (max-width: 620px) {
  .ab-stats { gap: 36px 20px; }
  .ab-stat:nth-child(2) { transform: rotate(2deg); }
}

/* Get in Touch: intro line + "Write Me About" card */
.ab-touch-intro { max-width: 560px; margin: -8px auto 36px; text-align: center; font-size: 20px; font-weight: 500; line-height: 1.5; color: #F8ECD0; }
.ab-touch-note { max-width: 640px; margin: 0 auto; }
.ab-touch-list { list-style: none; margin: 0; padding: 8px 32px 14px; }
.ab-touch-list li { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 16px 0 16px 26px; border-top: 2px dashed rgba(18, 56, 58, .35); }
.ab-touch-list li:first-child { border-top: 0; }
.ab-touch-list li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 10px; height: 10px; transform: rotate(45deg); background: #9E3224; }
.ab-touch-list b { font-family: var(--font-headline); font-weight: 400; font-size: 21px; line-height: 1.2; color: #9E3224; }
.ab-touch-list span { font-size: 18px; font-weight: 500; line-height: 1.5; color: #2E2118; }
@media (max-width: 620px) { .ab-touch-list { padding: 6px 22px 10px; } .ab-touch-intro { font-size: 18px; } }
.ab-touch-list a { color: #9E3224; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ab-touch-list a:hover { color: #12383A; }
.ab .sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Email card: cream with red accents, so the text is not black on yellow */
.ab .m-contact-mail { background: #FFF7E3; color: #2E2118; }
.ab .m-contact-mail .m-contact-ico, .ab .m-contact-mail .m-contact-label { color: #9E3224; }
