/* About & Contact, "Field Guide" look (test version, loaded only by about-test.html, after about.css).
 * Same system as how-it-works-fg.css: aged-paper sheets with a thick-and-thin double border, plain Bevan titles with a
 * thin rule and a tomato diamond, flat photo mats, color-blocked cards (teal, tomato, ink), yellow diamond dividers,
 * and no tape, tilts or hard shadows. Day is the default; a phone set to dark mode gets the night edition.
 * To preview either on any screen, add ?fg=day or ?fg=night. */

body.fg {
  --fg-sheet: #EADBB4; --fg-card: #F3E8C6; --fg-text: #2E2118; --fg-title: #12383A; --fg-edge: #12383A;
  --fg-accent: #9E3224; --fg-diamond: #9E3224; --fg-matedge: #12383A; --fg-inkrow: #12383A;
}
@media (prefers-color-scheme: dark) {
  body.fg:not([data-fg="day"]) {
    --fg-sheet: #143538; --fg-card: #E8D8B0; --fg-text: #E8DDBF; --fg-title: #F3E6C4; --fg-edge: #C9B98F;
    --fg-accent: #FFDE59; --fg-diamond: #D0553C; --fg-matedge: rgba(0, 0, 0, .55); --fg-inkrow: #06171A; background: #0B1F21;
  }
}
body.fg[data-fg="night"] {
  --fg-sheet: #143538; --fg-card: #E8D8B0; --fg-text: #E8DDBF; --fg-title: #F3E6C4; --fg-edge: #C9B98F;
  --fg-accent: #FFDE59; --fg-diamond: #D0553C; --fg-matedge: rgba(0, 0, 0, .55); --fg-inkrow: #06171A; background: #0B1F21;
}
body.fg .ab { --paper: var(--fg-card); }
body.fg .m-page.ab { max-width: 960px; padding: 56px 24px 88px; }

/* ---- Sheets ---- */
body.fg .ab-sheet {
  background: var(--fg-sheet); color: var(--fg-text); border: 2px solid var(--fg-edge); border-radius: 3px;
  box-shadow: 0 0 0 6px var(--fg-sheet), 0 0 0 8px var(--fg-edge); margin: 0 8px;
}
body.fg .ab-sheet p, body.fg .ab-sheet li { color: inherit; }
body.fg .ab-sheet a { color: var(--fg-accent); }
body.fg .ab-sheet a:hover { color: var(--fg-title); }
body.fg .ab-sheet-body { padding: 22px 40px 40px; }

/* Sheet titles: plain Bevan, thin rule, tomato diamond */
body.fg .ab-sheet-head { position: relative; display: block; padding: 44px 32px 6px; text-align: center; }
body.fg .ab-sheet-head::before {
  content: ""; display: block; position: absolute; left: 50%; bottom: 8px; width: 10px; height: 10px;
  transform: translateX(-50%) rotate(45deg); background: var(--fg-diamond);
}
body.fg .ab-sheet-head::after {
  content: ""; display: block; height: 14px; margin: 16px auto 0; width: 180px; background: var(--fg-edge);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 14'%3E%3Cpath d='M0 7H76M104 7H180' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / 180px 14px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 14'%3E%3Cpath d='M0 7H76M104 7H180' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / 180px 14px no-repeat;
}
body.fg .m-page.ab h2.ab-sheet-title {
  display: block; margin: 0; padding: 0; border: 0; background: none; color: var(--fg-title); text-shadow: none;
  text-transform: none; letter-spacing: 0; font-size: clamp(30px, 4.2vw, 40px); line-height: 1.15;
}
body.fg .ab-sheet-title::before, body.fg .ab-sheet-title::after { display: none; }

/* Yellow diamond dividers, centered in their gap */
body.fg .ab-gap { height: 64px; display: flex; align-items: center; justify-content: center; }
body.fg .ab-gap::before { content: ""; width: 26px; height: 26px; background: #FFDE59; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

/* ---- Photo and text: one flat mat beside the paragraph, alternating sides ---- */
body.fg .ab-split { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; align-items: center; }
body.fg .ab-split-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
body.fg .ab-split-flip .ab-polaroid { order: 2; }
body.fg .ab-polaroid {
  width: 100%; margin: 0; background: var(--fg-card); border: 12px solid var(--fg-card); border-bottom-width: 52px;
  outline: 1.5px solid var(--fg-matedge); box-shadow: none; transform: none;
}
body.fg .ab-polaroid::before { display: none; }
/* Photos 1 and 2 stay tall (pre-cropped in img/*-crop.jpg). Photos 3 and 4 use a short, wide frame (.ab-polaroid-wide). */
body.fg .ab-polaroid-wide img { aspect-ratio: 5 / 4; }
body.fg .ab-polaroid figcaption { bottom: -40px; font-size: 18px; color: #2E2118; }
body.fg .ab-text p { margin: 0; font-size: 24px; line-height: 1.6; font-weight: 500; color: var(--fg-text); }

body.fg .ab-main b { font-variant-numeric: tabular-nums; }

/* ---- By the Numbers: three color-blocked cards with a round icon ---- */
body.fg .ab-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 720px; margin: 0 auto; padding: 0; }
body.fg .ab-stats { align-items: stretch; }
body.fg .ab-stats .ab-stat:nth-child(n) { width: auto; transform: none; filter: none; --c: #287174; display: flex; }
body.fg .ab-stats .ab-stat .ab-ticket { flex: 1 1 auto; width: 100%; }
body.fg .ab-stats .ab-stat:nth-child(2) { --c: #9E3224; }
body.fg .ab-stats .ab-stat:nth-child(3) { --c: var(--fg-inkrow); }
body.fg .ab-ticket {
  -webkit-mask: none; mask: none; min-height: 0; height: 100%; align-items: center; justify-content: flex-start; padding: 24px 16px 26px;
  background: var(--c); border: 2px solid #12383A; border-radius: 6px; box-sizing: border-box;
  box-shadow: inset 0 0 0 4px var(--c), inset 0 0 0 5.5px rgba(248, 236, 208, .55);
}
body.fg .ab-stub {
  flex: none; width: 46px; height: 46px; margin-bottom: 12px; border-radius: 50%; background: #F3E8C6; border: 2px solid #12383A;
}
body.fg .ab-ico { width: 24px; height: 24px; stroke: #12383A; stroke-width: 2; }
body.fg .ab-main { flex: 0 0 auto; padding: 0; background: none; background-image: none; border-radius: 0; }
body.fg .ab-main b { color: #FFF7E3; }
body.fg .ab-lbl { color: #F3E8C6; font-weight: 600; }

/* ---- Get in Touch ---- */
body.fg .ab-touch-intro { max-width: none; margin: 0 auto 28px; text-align: center; font-size: 20px; color: var(--fg-text); }
body.fg .ab .m-contact-cards, body.fg .ab-sheet .m-contact-cards { margin-bottom: 32px; gap: 22px; }
body.fg .ab .m-contact-card {
  --c: #287174; transform: none; background: var(--c); color: #F3E8C6; border: 2px solid #12383A; border-radius: 6px;
  box-shadow: inset 0 0 0 4px var(--c), inset 0 0 0 5.5px rgba(248, 236, 208, .55); padding: 24px 26px;
}
body.fg .ab .m-contact-ig { --c: #9E3224; }
body.fg .ab .m-contact-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 4px var(--c), inset 0 0 0 5.5px rgba(248, 236, 208, .55); }
body.fg .ab .m-contact-mail, body.fg .ab .m-contact-ig { background: var(--c); color: #F3E8C6; }
body.fg .ab .m-contact-label { color: #F3E8C6; opacity: .9; }
body.fg .ab .m-contact-val { color: #FFF7E3; }
body.fg .ab .m-contact-card::after { color: #F3E8C6; }
body.fg .ab .m-contact-ico, body.fg .ab .m-contact-ig .m-contact-ico, body.fg .ab .m-contact-mail .m-contact-ico {
  width: 46px; height: 46px; border-radius: 50%; background: #F3E8C6; border: 2px solid #12383A; color: #12383A;
}
body.fg .ab .m-contact-mail .m-contact-label { color: #F3E8C6; }
body.fg .ab-panel { background: var(--fg-card); border: 2px solid #12383A; border-radius: 6px; max-width: 640px; margin: 0 auto; padding: 8px 0 6px; }
body.fg .ab-panel-title {
  margin: 0; padding: 18px 32px 6px; font-family: var(--font-headline); font-weight: 400; font-size: 28px; line-height: 1.2; color: #9E3224;
  text-align: center; text-shadow: none; text-transform: none; letter-spacing: 0; border: 0; background: none;
}
body.fg .ab-sheet .ab-touch-list a { color: #9E3224; }
body.fg .ab-sheet .ab-touch-list a:hover { color: #12383A; }

/* ---- Follow Along: flat Instagram tiles, cream info card, yellow pill button ---- */
body.fg .ab .m-ig-grid { gap: 22px; margin-bottom: 32px; }
body.fg .ab .m-ig-tile {
  transform: none !important; box-shadow: none; background: var(--fg-card); border: 8px solid var(--fg-card); border-bottom-width: 8px; border-radius: 0;
  outline: 1.5px solid var(--fg-matedge);
}
body.fg .ab .m-ig-tile::before { display: none; }
body.fg .ab .m-ig-tile:hover { transform: translateY(-3px) !important; box-shadow: none; }
body.fg .ab .m-ig-meta { transform: none; box-shadow: none; background: var(--fg-card); border: 2px solid #12383A; border-radius: 6px; }
body.fg .ab .m-ig-follow-btn { box-shadow: none; border: 2px solid #12383A; background: #FFDE59; color: #12383A; }
body.fg .ab .m-ig-follow-btn:hover { background: #FFE680; transform: translateY(-2px); box-shadow: none; }

/* ---- Phones and tablets ---- */
@media (max-width: 860px) {
  body.fg .ab-split, body.fg .ab-split-flip { grid-template-columns: 1fr; gap: 56px; }
  body.fg .ab-split-flip .ab-polaroid { order: 0; }
  body.fg .ab-polaroid { max-width: 320px; margin: 0 auto; }
  body.fg .ab-text p { font-size: 21px; }
  body.fg .ab-sheet-body { padding: 26px 24px 44px; }
}
@media (max-width: 620px) {
  body.fg .m-page.ab { padding: 40px 16px 72px; }
  body.fg .ab-sheet { margin: 0 4px; }
  body.fg .ab-sheet-head { padding: 36px 18px 6px; }
  body.fg .m-page.ab h2.ab-sheet-title { font-size: 28px; }
  body.fg .ab-sheet-body { padding: 22px 16px 36px; }
  body.fg .ab-polaroid { border-width: 9px; border-bottom-width: 44px; }
  body.fg .ab-polaroid figcaption { bottom: -34px; font-size: 16px; }
  body.fg .ab-stats { grid-template-columns: 1fr; gap: 18px; }
  body.fg .ab .m-contact-card { padding: 20px 20px; }
}

/* ---- Header banner: Daytime aerial skyline (replaces the cool blue river banner on this page only).
 * Position is high so the tops of the towers show; brightness is lifted so it isn't murky under the title scrim. ---- */
body.fg .m-about-hero .m-about-hero-photo { background-image: url("img/banner-about-aerial.jpg"); background-position: center 14%; filter: var(--grade) brightness(1.2); }
