/* ============================================================
   BULKBITE - about.css
   ------------------------------------------------------------
   The About page, and nothing else.

   Colours, the display font, buttons, section bands, the header
   and the footer all come from css/styles.css unchanged. This
   file is only what the page has that no other page does: the
   two-column opening, the pull line in the story, the "no" list
   on orange, the week strip and the numbered promise.

   Everything here is namespaced .ab- so that adding a rule can
   never reach into a shared component by accident.
   ============================================================ */

/* ------------------------------------------------------------
   THE FIRST SCREEN
   Dark, like the homepage hero. One column on a phone; from
   900px the headline takes the left and the who-we-are copy
   sits beside it.
   ------------------------------------------------------------ */
.ab-hero {
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(2.8rem, 9vw, 5.5rem);
}
.ab-hero .eyebrow { color: var(--accent); }

.ab-hero-grid { display: grid; gap: 1.8rem; align-items: end; }
@media (min-width: 900px) {
  .ab-hero-grid { grid-template-columns: 1.2fr .8fr; gap: 3.5rem; }
}

.ab-title {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 12vw, 5.2rem);
  line-height: .95;
  letter-spacing: -.005em;
  margin-bottom: .4em;
}
.ab-title .hl { color: var(--accent); }

.ab-lead {
  font-size: clamp(1.08rem, 2.9vw, 1.3rem);
  color: rgba(255, 255, 255, .82);
  max-width: 40ch;
  margin: 0;
}

.ab-hero-side {
  border-left: 3px solid var(--accent);
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, .78);
  max-width: 46ch;
}
.ab-hero-side strong { color: var(--white); }
.ab-hero-side p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------
   OUR STORY
   ------------------------------------------------------------ */
.ab-prose { font-size: clamp(1.02rem, 2.4vw, 1.12rem); max-width: 62ch; }
.ab-prose p:last-child { margin-bottom: 0; }

/* The line the whole page turns on. Big, orange-ruled, and still
   ink on white: orange text on white fails contrast for body
   copy, so the orange carries the rule rather than the words. */
.ab-pull {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(1.8rem, 6.5vw, 2.8rem);
  line-height: 1.02;
  border-left: 6px solid var(--accent);
  padding: .1em 0 .1em .9rem;
  margin: 2rem 0;
}

.ab-close { font-weight: 800; font-size: 1.15em; }

/* A time range must not break at its hyphen. */
.ab-nowrap { white-space: nowrap; }

/* ------------------------------------------------------------
   MORE FOOD. BETTER NUTRITION. LESS MONEY.
   Text beside a meal photo from 880px, photo under the text on
   a phone. Body copy runs at --ink-2 on orange for contrast,
   the same rule as .system-list in styles.css.
   ------------------------------------------------------------ */
.ab-split { display: grid; gap: 2.2rem; align-items: center; }
@media (min-width: 880px) {
  .ab-split { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; }
}

.ab-accent-lede {
  font-size: clamp(1.05rem, 2.6vw, 1.2rem);
  color: var(--ink-2);
  max-width: 44ch;
}

.ab-nots { display: grid; gap: .6rem; margin: 1.6rem 0; }
.ab-nots li {
  position: relative;
  padding-left: 2.1rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
}
/* A struck-through dash: each line is a thing we removed. */
.ab-nots li::before {
  content: '';
  position: absolute; left: 0; top: .72em;
  width: 1.3rem; height: 4px;
  background: var(--ink);
  border-radius: 2px;
}

.ab-accent-close { color: var(--ink-2); margin: 0; max-width: 46ch; }

.ab-photo {
  display: block;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 14px 14px 0 var(--ink);
  background: var(--ink-2);
}
.ab-photo img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover;
}
/* The offset shadow needs room on the right at phone width, or it
   pushes the page sideways. */
@media (max-width: 879.98px) {
  .ab-photo { margin-right: 14px; }
}

/* ------------------------------------------------------------
   THE WEEK STRIP
   Seven equal cells, the weekend two in ink. Hidden from screen
   readers in the markup because the paragraphs under it say the
   same thing in words.
   ------------------------------------------------------------ */
.ab-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .35rem;
  margin: 0 0 2rem;
}
.ab-week li {
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  padding: .75rem .2rem;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(.95rem, 3.4vw, 1.25rem);
  text-transform: uppercase;
  color: var(--muted);
}
.ab-week li span {
  font-family: var(--body);
  font-size: var(--micro);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ab-week .ab-week-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.ab-week .ab-week-on span { color: var(--accent); }
/* A cell is about 45px wide on a 375px phone: drop the tracking
   rather than the size, which stays at the --micro floor. */
@media (max-width: 479.98px) {
  .ab-week li span { letter-spacing: 0; }
}

/* ------------------------------------------------------------
   OUR PROMISE
   A numbered list whose numbers are part of the design - the
   counter is drawn in Anton, orange, on the ink band.
   ------------------------------------------------------------ */
.ab-promise {
  counter-reset: promise;
  display: grid;
  gap: 0;
  margin: 1.4rem 0 3rem;
  border-top: 1px solid var(--line-dark);
}
.ab-promise li {
  counter-increment: promise;
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: clamp(1.05rem, 2.8vw, 1.25rem);
  font-weight: 700;
}
.ab-promise li::before {
  content: counter(promise, decimal-leading-zero);
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.3em;
  color: var(--accent);
}

.ab-signoff {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.4rem 2rem;
  margin-bottom: 2.2rem;
}
.ab-signoff-line {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(2.2rem, 9vw, 3.6rem);
  line-height: .98;
  margin: 0;
}
.ab-signoff-line .hl { color: var(--accent); }
/* Brand minimum is 120px wide; 180-240px is the recommended size
   for a prominent panel. */
.ab-signoff-mark { width: clamp(160px, 40vw, 220px); height: auto; }

.ab-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.ab-actions .btn { flex: 1 1 auto; min-width: 200px; }
@media (min-width: 620px) { .ab-actions .btn { flex: 0 0 auto; } }

/* ------------------------------------------------------------
   JOIN THE TEAM
   The address itself is the headline of the panel, set large so
   it can be read off a screen and typed into another device.
   Ink on white rather than orange text: the brand rule is no
   orange text on white at reading sizes.
   ------------------------------------------------------------ */
.ab-join {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.2rem 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem;
}
.ab-join-mail {
  font-family: var(--display);
  font-size: clamp(1.5rem, 6.5vw, 2.3rem);
  line-height: 1.1;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.ab-join-mail:hover { text-decoration: underline; text-decoration-color: var(--accent); }
/* The internship line above the panel ends its prose at margin 0,
   so the panel supplies the gap rather than touching the text. */
.ab-prose + .ab-join { margin-top: 1.6rem; }
.ab-join .btn { flex: 1 1 auto; min-width: 200px; }
@media (min-width: 620px) { .ab-join .btn { flex: 0 0 auto; } }
