/* ============================================================
   About — page-only styles
   Three colors only: navy, orange, and white. Light sections,
   cards, and tiles are white; cards are set off by a light
   border and shadow. Calm motion
   only: hover states plus the site's standard reveal. Loaded
   only by about.html, after custom.css.
   ============================================================ */

:root {
  --ab-tan: #ffffff;       /* light section background */
  --ab-tan-deep: #ffffff;  /* cards and tiles */
  --ab-tan-line: #e2e8f0;  /* card borders and section divider */
}

/* ---------- Why we built it: white ---------- */

.ab-why { border-top: 1px solid var(--ab-tan-line); }

.ab-why .btn-outline-dark {
  background-color: var(--ab-tan-deep);
  border-color: var(--ab-tan-line);
}

/* Story card: dark navy with an orange edge */
.ab-story {
  position: relative;
  border-radius: 1.25rem;
  background:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(150deg, #1e293b, #0f172a);
  box-shadow: 0 30px 60px -32px rgba(15, 23, 42, 0.7);
  overflow: hidden;
}

.ab-story::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(#FE8A39, #C24600);
}

.ab-story .placeholder-note {
  border-color: rgba(254, 93, 1, 0.5);
  background-color: rgba(254, 93, 1, 0.08);
  color: #FFD5A9;
}

.ab-story .placeholder-note strong {
  color: #FE8A39;
}

/* ---------- Platform today: angled orange band ---------- */

.ab-stats {
  position: relative;
  z-index: 1;
  margin: -4vw 0;
  padding: calc(4rem + 4vw) 0;
  clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 18px),
    linear-gradient(120deg, #C24600, #8A3200);
}

.ab-stats .eyebrow {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.ab-stat {
  padding: 1.25rem 1rem;
  text-align: center;
}

.ab-stat-num {
  color: #ffffff;
}

.ab-stat-label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #FFE4CC;
}

/* thin dividers between the numbers */
.ab-stat-row > .ab-stat:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.ab-stat-row > .ab-stat:nth-child(-n+2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

@media (min-width: 768px) {
  .ab-stat-row > .ab-stat { border: 0 !important; }
  .ab-stat-row > .ab-stat + .ab-stat { border-left: 1px solid rgba(255, 255, 255, 0.25) !important; }
}

.ab-stat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 0.25em;
  transition: text-decoration-color 0.2s ease;
}

.ab-stat-link:hover { text-decoration-color: #ffffff; }

/* ---------- Team: white ---------- */

.ab-team {
  background:
    linear-gradient(rgba(15, 23, 42, 0.07), transparent 7rem),
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    radial-gradient(ellipse 45% 55% at 0% 100%, rgba(254, 93, 1, 0.08), transparent 70%),
    #ffffff;
}

/* pinned hero (about.js sets the wrapper height) */
.ab-pin.is-pinned > .ab-hero { position: sticky; top: 0; }

.ab-member {
  border-radius: 1.25rem;
  background: var(--ab-tan-deep);
  border: 1px solid var(--ab-tan-line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 16px 40px -24px rgba(15, 23, 42, 0.25);
  transition: translate 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s ease, box-shadow 0.35s ease, opacity 0.6s ease;
}

/* placeholder name and bio, a touch darker than the default */
.ab-member .text-slate-400 {
  color: #64748b;
}

.ab-member:hover {
  translate: 0 -4px;
  box-shadow: 0 24px 40px -26px rgba(122, 44, 0, 0.45);
}

/* orange ring around the photo slot */
.ab-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.75rem;
  height: 5.75rem;
  margin: 0 auto;
  padding: 3px;
  border-radius: 9999px;
  background: conic-gradient(from var(--ab-ring), #FE5D01, #FFB672, #FE5D01);
  transition: --ab-ring 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* the ring turns once when its card is hovered */
@property --ab-ring {
  syntax: "<angle>";
  inherits: false;
  initial-value: 210deg;
}

.ab-member:hover .ab-photo {
  --ab-ring: 570deg;
}

.ab-photo span {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #f8fafc;
  border: 3px solid #ffffff;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
}

/* real photo, or an initial until the photo arrives */
.ab-photo img {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  border: 3px solid #ffffff;
  background: #ffffff;
  object-fit: cover;
}

.ab-photo .ab-initial {
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #0f172a;
}

/* One orange line ties both founders to the platform tile (desktop only).
   It runs above the cards from the first column's center to the last,
   with a drop and a dot into each card, and draws out from the middle
   when the grid scrolls in. Column centers: 3 columns, 1.25rem gaps. */
.ab-team-grid {
  position: relative;
}

.ab-bus {
  display: none;
}

@media (min-width: 1024px) {
  .ab-bus {
    display: block;
    position: absolute;
    top: -2rem;
    left: calc((100% - 2.5rem) / 6);
    right: calc((100% - 2.5rem) / 6);
    height: 2rem;
    border: 2px solid #FE5D01;
    border-bottom: 0;
    border-radius: 0.75rem 0.75rem 0 0;
    pointer-events: none;
  }

  .ab-bus span {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background: #FE5D01;
  }

  .ab-bus::before,
  .ab-bus::after,
  .ab-bus span::after {
    content: "";
    position: absolute;
    bottom: -5px;
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: #FE5D01;
    box-shadow: 0 0 0 4px #ffffff;
  }

  .ab-bus::before { left: -6px; }
  .ab-bus::after { right: -6px; }
  .ab-bus span::after { left: -4px; }

  .js-reveal .ab-bus.reveal {
    opacity: 1;
    transform: none;
    clip-path: inset(-10px 50% -10px 50%);
    transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
  }

  .js-reveal .ab-bus.reveal.is-visible {
    clip-path: inset(-10px -10px -10px -10px);
  }
}

/* The platform both founders build: navy blueprint tile */
.ab-made {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 1.25rem;
  border: 1px solid rgba(254, 93, 1, 0.35);
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(254, 93, 1, 0.2), transparent 70%),
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px) 0 0 / 28px 28px,
    #0f172a;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 16px 40px -24px rgba(15, 23, 42, 0.45);
  transition: translate 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s ease, box-shadow 0.35s ease, opacity 0.6s ease;
}

.ab-made:hover {
  translate: 0 -4px;
  box-shadow: 0 24px 40px -22px rgba(254, 93, 1, 0.45);
}

.ab-made-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.75rem;
  height: 5.75rem;
  border-radius: 9999px;
  border: 1.5px dashed rgba(254, 93, 1, 0.7);
  background: rgba(2, 6, 23, 0.55);
}

.ab-made-mark img {
  width: 3.4rem;
  height: auto;
}

/* ---------- Talk to a human: white, split from Team by a line ---------- */

.ab-contact {
  border-top: 1px solid var(--ab-tan-line);
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(254, 93, 1, 0.08), transparent 70%),
    var(--ab-tan);
}

.ab-tile {
  display: block;
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: var(--ab-tan-deep);
  border: 1px solid var(--ab-tan-line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 16px 40px -24px rgba(15, 23, 42, 0.25);
  transition: translate 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s ease, box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s ease;
}

a.ab-tile:hover {
  translate: 0 -4px;
  border-color: #FE8A39;
  box-shadow: 0 24px 40px -26px rgba(194, 70, 0, 0.55);
}

a.ab-tile:focus-visible {
  outline: 2px solid #FE5D01;
  outline-offset: 3px;
}

.ab-tile-icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  color: #ffffff;
}

.ab-tile-icon svg { width: 1.3rem; height: 1.3rem; }

.ab-tile-icon-email { background: linear-gradient(140deg, #FE5D01, #C24600); }
.ab-tile-icon-phone { background: linear-gradient(140deg, #1e293b, #0f172a); }
.ab-tile-icon-office { background: linear-gradient(140deg, #993800, #7A2C00); }

/* ---------- Hero: job site (about.js) ----------
   Phones and tablets: the drawing sits under the text and meets the
   section's bottom edge. 1280px+: it spans the hero's bottom edge,
   one site on each side of the headline. */

.ab-hero { position: relative; overflow: hidden; }
.ab-hero > .mx-auto { position: relative; z-index: 1; }

.ab-hero { --ab-earth: 18px; }

/* phones and tablets: headline, then the job site standing on the earth
   band. 1280px+: the hero fills the screen (see the media query below). */
.ab-hero.ab-has-site { padding-bottom: 0; }

.ab-site {
  position: relative;
  width: 100%;
  max-width: 62rem;
  margin: 1.5rem auto calc(var(--ab-earth) - 4px);
  padding: 0 1rem;
}

.ab-earth {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--ab-earth);
  border-top: 1px solid rgba(148, 163, 184, 0.5);
  background:
    repeating-linear-gradient(-45deg, rgba(148, 163, 184, 0.3) 0 1px, transparent 1px 6px),
    #0b1120;
}

.ab-site[data-mode="single"] { max-width: 30rem; }


.ab-site svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  pointer-events: none;
}

@media (min-width: 1280px) {
  .ab-hero.ab-has-site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 7rem;
    padding-bottom: calc(var(--ab-site-h, 250px) * 0.62 + var(--ab-earth));
  }
  .ab-hero.ab-has-site > .mx-auto { width: 100%; margin-top: auto; }
  /* headline rides just above the rooftops; the open sky sits over it */
  .ab-hero.ab-has-site > .mx-auto { margin-bottom: max(2rem, 8vh); }
  .ab-site {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(var(--ab-earth) - 5px);
    z-index: 0;
    max-width: none;
    height: var(--ab-site-h, 250px);
    margin: 0;
    padding: 0;
  }
  .ab-site svg { height: 100%; }
}

.ab-ground { stroke: rgba(148, 163, 184, 0.4); stroke-width: 1; }
.ab-found { fill: #334155; stroke: rgba(148, 163, 184, 0.5); stroke-width: 0.6; }

/* fresh lumber goes in orange and cools to slate once nailed off */
.ab-fr { fill: none; stroke: #FE8A39; stroke-width: 1.3; stroke-linecap: square; transition: stroke 1.4s ease; }
.ab-fr path { fill: none; }
.ab-fr.is-set { stroke: rgba(148, 163, 184, 0.75); }
.ab-band { fill: #FE8A39; transition: fill 1.4s ease; }
.ab-band.is-set { fill: rgba(148, 163, 184, 0.65); }
.ab-lumber { fill: #FE8A39; fill-opacity: 0.8; }
.ab-dunnage { fill: rgba(148, 163, 184, 0.55); }
.ab-ladder { fill: none; stroke: rgba(203, 213, 225, 0.7); stroke-width: 1; }

/* finishes: siding, roofing, windows that light up at the end */
.ab-siding-fill { fill: #1e293b; }
.ab-siding-line { stroke: rgba(148, 163, 184, 0.3); stroke-width: 0.6; }
.ab-gable, .ab-vent { transition: opacity 0.4s ease; }
.ab-vent { fill: #0b1120; stroke: rgba(148, 163, 184, 0.6); stroke-width: 0.6; }
.ab-roofing { fill: #475569; stroke: #64748b; stroke-width: 0.5; }
.ab-cap { fill: #64748b; transition: opacity 0.3s ease; }
.ab-door { fill: #FE5D01; }
.ab-knob { fill: #ffffff; }
.ab-glass { fill: #0b1120; transition: fill 0.9s ease; }
.ab-glass.is-lit { fill: rgba(254, 138, 57, 0.75); }
.ab-mullion { fill: none; stroke: #e2e8f0; stroke-width: 0.7; }
.ab-trim { fill: none; stroke: #e2e8f0; stroke-width: 1; }

/* telehandler */
.ab-th-body { fill: #1e293b; stroke: rgba(203, 213, 225, 0.65); stroke-width: 0.8; }
.ab-cab-glass { fill: rgba(254, 138, 57, 0.35); }
.ab-wheel { fill: #0b1120; stroke: rgba(203, 213, 225, 0.75); stroke-width: 1.4; }
.ab-spoke { stroke: rgba(203, 213, 225, 0.5); stroke-width: 0.8; }
.ab-boom-a { stroke: #FE5D01; stroke-width: 5.5; stroke-linecap: round; }
.ab-boom-b { stroke: #FE8A39; stroke-width: 3.6; stroke-linecap: round; }
.ab-fork { fill: none; stroke: #cbd5e1; stroke-width: 1.6; }
.ab-bundle { fill: #FE8A39; stroke: #C24600; stroke-width: 0.6; }

/* the crew: white hard hats, orange vests; the foreman's hat is orange */
.ab-w-limb { fill: none; stroke: #e2e8f0; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ab-w-vest { stroke: #FE5D01; stroke-width: 3.8; stroke-linecap: round; }
.ab-w-head { fill: #e2e8f0; }
.ab-w-hat { fill: #ffffff; stroke: #ffffff; stroke-width: 0.9; stroke-linecap: round; }
.ab-w-hat.is-lead { fill: #FE8A39; stroke: #FE8A39; }
.ab-w-hit { fill: transparent; pointer-events: all; }

.ab-pole { stroke: #cbd5e1; stroke-width: 1.2; }
.ab-pennant { fill: #FE5D01; }

/* job sign: level count and a progress bar that fills as floors go up */
.ab-sign { fill: #0b1120; stroke: rgba(254, 93, 1, 0.75); stroke-width: 1; }
.ab-sign-post { stroke: rgba(148, 163, 184, 0.6); stroke-width: 1.4; }
.ab-sign-k { font: 500 5.5px "IBM Plex Mono", ui-monospace, monospace; letter-spacing: 0.14em; fill: #FE8A39; }
.ab-sign-v { font: 600 6px "IBM Plex Mono", ui-monospace, monospace; letter-spacing: 0.06em; fill: #f1f5f9; }
.ab-sign-track { fill: rgba(148, 163, 184, 0.25); }
.ab-sign-bar { fill: #FE5D01; }

/* replay */
.ab-rebuild {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.75rem);
  translate: -50% 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.6);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cbd5e1;
  opacity: 0;
  transition: opacity 0.6s ease, border-color 0.2s ease, color 0.2s ease;
}

.ab-rebuild.is-in { opacity: 1; }
.ab-rebuild svg { width: 0.85rem; height: 0.85rem; }
.ab-rebuild:hover { border-color: #FE5D01; color: #ffffff; }
.ab-rebuild:focus-visible { outline: 2px solid #FE5D01; outline-offset: 3px; }

/* ---------- Our Story: a plan sheet that unrolls (about.js) ----------
   The sheet hangs from a rod; a roll at its lower edge travels down
   as the section scrolls in (--ab-unroll 0..1). Without JS, or with
   reduced motion, the sheet is simply open. */

.ab-why {
  background:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(254, 93, 1, 0.08), transparent 70%),
    #ffffff;
}

.ab-plan {
  --ab-unroll: 1;
  position: relative;
  padding: 0 0.75rem;
}

.ab-plan-rod {
  position: relative;
  z-index: 2;
  height: 14px;
  margin: 0 -0.75rem;
  border-radius: 9999px;
  background: linear-gradient(#475569, #1e293b 60%, #0f172a);
  box-shadow: 0 6px 14px -8px rgba(15, 23, 42, 0.6);
}

/* two orange clamps hold the sheet */
.ab-plan-rod span {
  position: absolute;
  top: -4px;
  width: 26px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(#FE8A39, #C24600);
  box-shadow: 0 2px 4px rgba(122, 44, 0, 0.35);
}
.ab-plan-rod span:first-child { left: 12%; }
.ab-plan-rod span:last-child { right: 12%; }

.ab-plan-sheet {
  position: relative;
  margin-top: -4px;
  padding: 2.25rem 1.5rem 1.5rem;
  color: #e2e8f0;
  background:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px) 0 0 / 24px 24px,
    radial-gradient(ellipse 60% 50% at 85% 0%, rgba(254, 93, 1, 0.16), transparent 70%),
    #0f172a;
  box-shadow: 0 40px 70px -40px rgba(15, 23, 42, 0.75);
  clip-path: inset(0 -40px calc((1 - var(--ab-unroll)) * 100%) -40px);
}

/* the drawing border, inset like a printed sheet */
.ab-plan-sheet::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(203, 213, 225, 0.28);
  pointer-events: none;
}

@media (min-width: 768px) {
  .ab-plan-sheet { padding: 3rem 3rem 2rem; }
}

/* the roll rides the sheet's lower edge */
.ab-plan-roll {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(10px + (100% - 10px) * var(--ab-unroll));
  height: 24px;
  margin-top: -12px;
  border-radius: 9999px;
  background: linear-gradient(#334155, #64748b 30%, #1e293b 70%, #0f172a);
  box-shadow: 0 12px 18px -10px rgba(15, 23, 42, 0.7);
  opacity: calc((1 - var(--ab-unroll)) * 6);
  pointer-events: none;
}

.ab-plan-roll::before,
.ab-plan-roll::after {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  width: 10px;
  border-radius: 3px;
  background: #FE5D01;
}
.ab-plan-roll::before { left: -4px; }
.ab-plan-roll::after { right: -4px; }

.ab-plan-body {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .ab-plan-body { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 3.5rem; }
}

.ab-plan-tag {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FE8A39;
}

.ab-plan .placeholder-note {
  border-color: rgba(254, 93, 1, 0.5);
  background-color: rgba(254, 93, 1, 0.08);
  color: #FFD5A9;
}
.ab-plan .placeholder-note strong { color: #FE8A39; }

/* detail callouts, numbered like the bubbles on a drawing */
.ab-plan-details {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.ab-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed rgba(203, 213, 225, 0.2);
}
.ab-detail:last-child { border-bottom: 0; padding-bottom: 0; }

.ab-bubble {
  position: relative;
  flex-shrink: 0;
  display: grid;
  grid-template-rows: 1fr 1fr;
  width: 3rem;
  height: 3rem;
  border: 1.5px solid #FE8A39;
  border-radius: 9999px;
  text-align: center;
  transition: background-color 0.3s ease;
}
.ab-bubble::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1.5px solid #FE8A39;
}
.ab-bubble b {
  align-self: end;
  padding-bottom: 1px;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 1.15rem;
  line-height: 1;
  color: #ffffff;
}
.ab-bubble i {
  align-self: start;
  padding-top: 3px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 7.5px;
  font-style: normal;
  letter-spacing: 0.08em;
  color: #FE8A39;
}
.ab-detail:hover .ab-bubble { background-color: rgba(254, 93, 1, 0.18); }

.ab-detail-k {
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.05;
  color: #ffffff;
}
.ab-detail-ph {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  font-style: italic;
  color: #FFB672;
}

/* until the founding text is in: one column, the three callouts in a row */
@media (min-width: 1024px) {
  .ab-plan-body.is-pending { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}
@media (min-width: 768px) {
  .ab-plan-body.is-pending .ab-plan-details { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .ab-plan-body.is-pending .ab-detail { align-items: center; padding: 0.25rem 1.5rem; border-bottom: 0; border-left: 1px dashed rgba(203, 213, 225, 0.2); }
  .ab-plan-body.is-pending .ab-detail:first-child { padding-left: 0; border-left: 0; }
}

/* title block along the bottom of the sheet */
.ab-titleblock {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2.5rem;
  border: 1px solid rgba(203, 213, 225, 0.3);
}
@media (min-width: 768px) {
  .ab-titleblock { grid-template-columns: 1.1fr 1.3fr 2fr 0.7fr; }
}
.ab-titleblock > div {
  padding: 0.6rem 0.8rem;
  border-right: 1px solid rgba(203, 213, 225, 0.3);
  border-bottom: 1px solid rgba(203, 213, 225, 0.3);
}
.ab-titleblock dt {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #94a3b8;
}
.ab-titleblock dd {
  margin-top: 0.2rem;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
}
.ab-titleblock > div:last-child dd { color: #FE8A39; }

/* ---------- Small tools ---------- */

/* spirit level under the hero headline */
.ab-level {
  width: min(15rem, 62vw);
  margin: 1.75rem auto 0;
}
.ab-level svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  transition: transform 0.6s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.ab-lv-body { fill: #cbd5e1; }
.ab-lv-edge { stroke: #f8fafc; stroke-width: 1.2; }
.ab-lv-cap { fill: #FE5D01; }
.ab-lv-hole { fill: #0f172a; }
.ab-lv-vial { fill: #0b1120; stroke: #64748b; stroke-width: 1; }
.ab-lv-liquid { fill: rgba(254, 138, 57, 0.7); }
.ab-lv-mark { stroke: #0b1120; stroke-width: 1; }
.ab-lv-bubble {
  fill: #ffffff;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.8s cubic-bezier(0.34, 1.4, 0.64, 1);
}
/* the bubble wanders in and settles dead center */
.js-reveal .ab-level .ab-lv-bubble { transform: translateX(-17px); }
.js-reveal .ab-level.is-visible .ab-lv-bubble {
  transform: none;
  animation: ab-bubble-settle 1.7s ease-out 0.5s backwards;
}
@keyframes ab-bubble-settle {
  0% { transform: translateX(-17px); }
  35% { transform: translateX(7px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(1.2px); }
  100% { transform: translateX(0); }
}
/* pointing at it tips it: the right end comes up, the bubble runs right */
.ab-level:hover svg { transform: rotate(-2.5deg); }
.ab-level:hover .ab-lv-bubble { transform: translateX(10px); }

/* speed square beside "Where it started." */
.ab-square {
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  margin-left: 0.3em;
  vertical-align: -0.08em;
  transform: rotate(-12deg);
  transition: transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.ab-square:hover { transform: rotate(4deg); }
.ab-sq-body { fill: rgba(254, 93, 1, 0.1); stroke: #FE5D01; stroke-width: 4; stroke-linejoin: round; }
.ab-sq-cut { fill: #ffffff; stroke: #FE5D01; stroke-width: 3; stroke-linejoin: round; }
.ab-sq-lip { fill: #FE5D01; }
.ab-sq-ticks { stroke: #C24600; stroke-width: 2.4; }
.ab-sq-pivot { fill: #ffffff; stroke: #C24600; stroke-width: 2; }

/* scale bar + north arrow on the plan sheet */
.ab-plan-legend {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 2.25rem;
}
.ab-scalebar { width: 13rem; height: auto; overflow: visible; }
.ab-scalebar rect { fill: none; stroke: #cbd5e1; stroke-width: 1; }
.ab-scalebar rect.is-solid { fill: #cbd5e1; }
.ab-scalebar text { font: 500 7px "IBM Plex Mono", ui-monospace, monospace; fill: #94a3b8; }
.ab-scalebar text.is-k { fill: #FE8A39; letter-spacing: 0.08em; }
.ab-north { width: 3.2rem; height: auto; overflow: visible; }
.ab-north circle { fill: none; stroke: #cbd5e1; stroke-width: 1; }
.ab-north text { font: 600 9px "Barlow Condensed", Inter, sans-serif; fill: #ffffff; }
.ab-north path { fill: none; stroke: #FE8A39; stroke-width: 1; stroke-linejoin: round; }
.ab-north path.is-solid { fill: #FE8A39; }
.ab-needle { transform-box: view-box; transform-origin: 22px 31px; transition: transform 1.2s cubic-bezier(0.34, 1.5, 0.64, 1); }
.ab-plan.is-unrolling .ab-needle { transform: rotate(-70deg); }
.ab-plan.is-unrolling.is-open .ab-needle { transform: none; }

/* carpenter's pencil resting on the sheet's lower-right corner */
.ab-pencil {
  position: absolute;
  z-index: 3;
  right: 0.5rem;
  bottom: 0.4rem;
  width: 11rem;
  height: auto;
  transform: rotate(-11deg);
  filter: drop-shadow(0 6px 6px rgba(15, 23, 42, 0.35));
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}
@media (min-width: 768px) { .ab-pencil { width: 13rem; right: 3rem; bottom: 0.9rem; } }
.ab-plan.is-unrolling .ab-pencil { opacity: 0; transform: translate(60px, 18px) rotate(-30deg); }
.ab-plan.is-unrolling.is-open .ab-pencil { opacity: 1; transform: rotate(-11deg); }
.ab-pc-end { fill: #0f172a; }
.ab-pc-body { fill: #FE5D01; }
.ab-pc-flat { stroke: rgba(255, 255, 255, 0.25); stroke-width: 0.8; }
.ab-pc-text { font: 600 6px "IBM Plex Mono", ui-monospace, monospace; letter-spacing: 0.22em; fill: #ffffff; }
.ab-pc-wood { fill: #f1f5f9; }
.ab-pc-lead { fill: #0f172a; }

/* hard-hat rack above the team cards (one hat per co-founder) */
.ab-rack { width: 17rem; flex-shrink: 0; margin-bottom: 0.25rem; }
.ab-rack svg { display: block; width: 100%; height: auto; overflow: visible; }
.ab-rack-rail { fill: #0f172a; }
.ab-rack-mount { fill: #334155; }
.ab-hat-peg { stroke: #0f172a; stroke-width: 3; stroke-linecap: round; }
.ab-hat-shell { fill: #FE5D01; }
.ab-hat-ridge { fill: none; stroke: #C24600; stroke-width: 1.6; stroke-linecap: round; }
.ab-hat-brim { stroke: #C24600; stroke-width: 4; stroke-linecap: round; }
.ab-hat-cord { stroke: #94a3b8; stroke-width: 1; }
.ab-hat-tag { fill: #0f172a; }
.ab-hat-ini { font: 600 7px "IBM Plex Mono", ui-monospace, monospace; letter-spacing: 0.08em; fill: #ffffff; }
.ab-hat-swing {
  transform-box: view-box;
  transform-origin: 0 14px;
  transition: transform 0.5s cubic-bezier(0.34, 1.5, 0.64, 1);
}
.ab-hat:hover .ab-hat-swing,
.ab-team:has([data-hat="1"]:hover) .ab-hat-1 .ab-hat-swing,
.ab-team:has([data-hat="2"]:hover) .ab-hat-2 .ab-hat-swing,
.ab-team:has([data-hat="3"]:hover) .ab-hat-3 .ab-hat-swing { transform: rotate(-9deg) translateY(-3px); }
.ab-rack svg { pointer-events: none; }
.ab-hat { pointer-events: all; }

/* hats drop onto their pegs one after another */
.js-reveal .ab-rack .ab-hat-swing { opacity: 0; transform: translateY(-16px); }
.js-reveal .ab-rack.is-visible .ab-hat-swing {
  opacity: 1;
  transform: none;
  animation: ab-hat-drop 0.6s cubic-bezier(0.34, 1.5, 0.64, 1) backwards;
}
.js-reveal .ab-rack.is-visible .ab-hat-2 .ab-hat-swing { animation-delay: 0.12s; }
.js-reveal .ab-rack.is-visible .ab-hat-3 .ab-hat-swing { animation-delay: 0.24s; }
@keyframes ab-hat-drop {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: none; }
}
.js-reveal .ab-rack.is-visible .ab-hat:hover .ab-hat-swing,
.js-reveal .ab-team:has([data-hat="1"]:hover) .ab-rack.is-visible .ab-hat-1 .ab-hat-swing,
.js-reveal .ab-team:has([data-hat="2"]:hover) .ab-rack.is-visible .ab-hat-2 .ab-hat-swing,
.js-reveal .ab-team:has([data-hat="3"]:hover) .ab-rack.is-visible .ab-hat-3 .ab-hat-swing { transform: rotate(-9deg) translateY(-3px); }

/* About only: the floating Breakdown tab slides out of the way while the
   hero's job site is on screen, and back in once you scroll past it */
.breakdown-fab {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, translate 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.45s;
}
.ab-tuck .breakdown-fab { translate: 0 160%; visibility: hidden; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .ab-member,
  .ab-made,
  .ab-photo,
  .ab-tile { transition: none; }
  .js-reveal .ab-bus.reveal { transition: none; }
}

.ab-rebuild[hidden] { display: none; }
