/*
 * About v18 ("Who We Are"): hand rules for the block markup, after the generated design rules (about-v18-port.css).
 * Source of every value: design/claude/about/ (components/pages/About.jsx, styles/about-v18.css, styles/v18-page.css),
 * measured in the rendered design. Scoped to .dgn-v18-ab, the About wrapper group.
 */

/* ---------------------------------------------------------------- base */

.dgn-v18-ab.wp-block-group {
	color: var(--fg-primary);
	background: var(--bg-canvas);
}

/* the theme's block margins and paragraph sizes: the design's rules set every gap and size */
.dgn-v18-ab :where(figure.wp-block-image) { margin: 0; }
.dgn-v18-ab :where(.wp-block-buttons) { margin: 0; }
.dgn-v18-ab :where(h1, h2, h3, h4) { margin: 0; }
.dgn-v18-ab :where(p.x) { margin: 0; font-size: inherit; line-height: inherit; }
.dgn-v18-ab .ab-head > div { display: block; }


/* ---------------------------------------------------------------- hero */

/* breadcrumb links */
.dgn-v18-ab .crumbs a { text-decoration: none; }

/* hero visual: per-row values the design set inline (--d delay, --bg tile, --p bar width) */
.dgn-v18-ab .abv .li:nth-child(1) { --d: 0s; --bg: #E8EEFF; --p: 92%; --bd: .6s; }
.dgn-v18-ab .abv .li:nth-child(2) { --d: .15s; --bg: #E7F7EE; --p: 74%; --bd: .8s; }
.dgn-v18-ab .abv .li:nth-child(3) { --d: .3s; --bg: #FFF3DE; --p: 58%; --bd: 1s; }
.dgn-v18-ab .abv .li:nth-child(4) { --d: .45s; --bg: #F3E8FF; --p: 36%; --bd: 1.2s; }
.dgn-v18-ab .abv .abv-bar > .i { animation-delay: var(--bd); }
html[data-theme="dark"] .dgn-v18-ab .abv .li .em:not(#_i) { color: #07080A !important; }

/* "Products shipped" mini chart: bar heights and delays the design set inline */
.dgn-v18-ab .abv-ch > .i:nth-child(1) { --h: 38%; animation-delay: .8s; }
.dgn-v18-ab .abv-ch > .i:nth-child(2) { --h: 52%; animation-delay: .9s; }
.dgn-v18-ab .abv-ch > .i:nth-child(3) { --h: 46%; animation-delay: 1s; }
.dgn-v18-ab .abv-ch > .i:nth-child(4) { --h: 68%; animation-delay: 1.1s; }
.dgn-v18-ab .abv-ch > .i:nth-child(5) { --h: 80%; animation-delay: 1.2s; }
.dgn-v18-ab .abv-ch > .i:nth-child(6) { --h: 100%; animation-delay: 1.3s; }

/* the "Live" dot was an <i> inside the label */
.dgn-v18-ab .crv-hd .sp::before { content: ""; display: block; flex: none; }

/* icon boxes: the icon (a CSS mask, .dg-ic::before) centred at the design's size */
.dgn-v18-ab .dg-ic.x { display: grid; place-items: center; }
.dgn-v18-ab :is(.crv-ic, .abv-sw-ic).dg-ic::before { width: 14px; height: 14px; }
.dgn-v18-ab .ab-val .ic.dg-ic::before { width: 22px; height: 22px; }
.dgn-v18-ab :is(.ab-prin, .ab-cult) .ic.dg-ic::before { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- stats + logos */

.dgn-v18-ab .ow-logos-t > figure { flex: none; display: flex; align-items: center; }
.dgn-v18-ab .ow-logos-t img { display: block; }

/* ---------------------------------------------------------------- recognition badges */

.dgn-v18-ab .ab-badge > figure { flex: none; display: flex; }


/* ---------------------------------------------------------------- team */

.dgn-v18-ab :is(.ab-lead-ph, .ab-card-ph) > figure { position: static; height: 100%; }
.dgn-v18-ab .ab-card-ph img { height: 100%; }

/* photo backdrop in the hue the design picks from the person's name (class from src/sections.js) */
.dgn-v18-ab .hue-212 { background: linear-gradient(160deg, oklch(.9 .03 212), oklch(.78 .06 212)); }
.dgn-v18-ab .hue-196 { background: linear-gradient(160deg, oklch(.9 .03 196), oklch(.78 .06 196)); }
.dgn-v18-ab .hue-268 { background: linear-gradient(160deg, oklch(.9 .03 268), oklch(.78 .06 268)); }
.dgn-v18-ab .hue-18 { background: linear-gradient(160deg, oklch(.9 .03 18), oklch(.78 .06 18)); }
.dgn-v18-ab .hue-144 { background: linear-gradient(160deg, oklch(.9 .03 144), oklch(.78 .06 144)); }
.dgn-v18-ab .hue-340 { background: linear-gradient(160deg, oklch(.9 .03 340), oklch(.78 .06 340)); }
.dgn-v18-ab .hue-232 { background: linear-gradient(160deg, oklch(.9 .03 232), oklch(.78 .06 232)); }
.dgn-v18-ab .hue-36 { background: linear-gradient(160deg, oklch(.9 .03 36), oklch(.78 .06 36)); }
.dgn-v18-ab .hue-178 { background: linear-gradient(160deg, oklch(.9 .03 178), oklch(.78 .06 178)); }
.dgn-v18-ab .hue-290 { background: linear-gradient(160deg, oklch(.9 .03 290), oklch(.78 .06 290)); }

/* department filter: list items until the script turns them into tab buttons (.ow-pill, design rules) */
.dgn-v18-ab ul.ab-pills { list-style: none; margin: 0; }
.dgn-v18-ab ul.ab-pills > li { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 999px; font: 500 14px/1 var(--font-body); color: var(--fg-secondary); white-space: nowrap; }
.dgn-v18-ab ul.ab-pills > li.f-all { background: var(--brand-blue); color: #fff; }
.dgn-v18-ab ul.ab-pills.is-ready > li { display: contents; }
.dgn-v18-ab .ab-pills .ow-pill:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 2px; }
.dgn-v18-ab .ab-card[hidden] { display: none; }

/* ---------------------------------------------------------------- hiring banner */

/* "Join the team": the v18 pill as the design renders it (its white variant, about-v18.css in the design, loses to
   the design's own pill rules, so the button shows blue with the light ring); the focus ring is white on the banner */
.dgn-v18-ab .ab-hire-cta { flex: none; }
.dgn-v18.dgn-v18-ab .ab-hire-cta .dgn-v18-btn .wp-block-button__link:focus-visible { outline-color: #fff; }

/* ---------------------------------------------------------------- editor */

/* the hero rows fade in once on load; in the editor they show at once */
.editor-styles-wrapper .dgn-v18-ab .crv .li { opacity: 1; transform: none; animation: none; }

/* About bug sheet (December 2026), as the design */
/* BUG_005: the team tabs' hover (design ".ow-pill:hover:not(:disabled)") */
.dgn-v18-ab .ab-pills .ow-pill { transition: background .3s, color .3s; }
.dgn-v18-ab .ab-pills .ow-pill:hover { color: var(--fg-primary); background: rgba(11, 13, 18, .05); }
/* BUG_006 / BUG_007: "Join the team" sits at the top of the band, and its hover only lifts it (no dark fill) */
@media (min-width: 761px) { .dgn-v18-ab .ab-hire .ab-hire-cta { align-self: flex-start; } }
.dgn-v18-ab .ab-hire .dgn-v18-btn .wp-block-button__link::before { display: none; }
/* letter-spacing of the band heading and the card titles, as the design renders them (-0.025em) */
.dgn-v18-ab .ab-hire h2:not(#_i) { letter-spacing: -0.025em !important; }
.dgn-v18-ab :is(.ab-val, .ab-prin .li) h3:not(#_i) { letter-spacing: -0.025em !important; }
/* BUG_009 / BUG_010 / BUG_012: in the two-column stats (design, max-width 900px) the third cell starts a row: no left
   line or indent. The converted "line between cells" rule outweighed the design's reset, so it is restated heavier. */
@media (max-width: 900px) {
	.dgn-v18-ab .ab-stats > div:not(.x):nth-child(3):not(#_i) { padding-left: 0; border-left: 0; }
}
