/* Adam Balée Designs skin: the adambalee.com design on Baseline.
   Tokens (fonts, colours, gutter, section rhythm) live in theme.json; this sheet holds what they
   cannot express. Baseline loads it after its own CSS, on the front end and in the editor.

   How it is written:
   - Every project class starts with ab-. Sections are .ab-section, the footer is .ab-footer, and
     the header (an HTML block) keeps its own class names.
   - Component rules use two classes (.ab-hero .ab-hero__title). In the editor the global styles
     load after this sheet, so a rule that only tied with them would lose there.
   - WordPress zeroes the top margin of a Group's first child and the bottom margin of its last.
     Where a design margin sits on such a child, the rule uses three classes to keep it.
   - Icons are CSS masks of the SVGs in assets/icons (never inline elements the editor could drop). */

:root {
    --ab-ink: var(--wp--preset--color--ink);
    --ab-red: var(--wp--preset--color--red);
    --ab-coral: var(--wp--preset--color--coral);
    --ab-rust: var(--wp--preset--color--rust);
    --ab-rule-light: #9ca3af;
    --ab-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ab-icons: "/wp-content/themes/adambalee-2026/assets/icons";
    --ab-icon-asterisk: url("/wp-content/themes/adambalee-2026/assets/icons/asterisk.svg");
    --ab-icon-arrow-right: url("/wp-content/themes/adambalee-2026/assets/icons/arrow-right.svg");
    --ab-icon-arrow-left: url("/wp-content/themes/adambalee-2026/assets/icons/arrow-left.svg");
    --ab-icon-arrow-up: url("/wp-content/themes/adambalee-2026/assets/icons/arrow-up.svg");
    --ab-icon-arrow-down: url("/wp-content/themes/adambalee-2026/assets/icons/arrow-down.svg");
    --ab-icon-arrow-up-right: url("/wp-content/themes/adambalee-2026/assets/icons/arrow-up-right.svg");
    --ab-icon-check: url("/wp-content/themes/adambalee-2026/assets/icons/check.svg");
    --ab-icon-chevron-down: url("/wp-content/themes/adambalee-2026/assets/icons/chevron-down.svg");
    --ab-icon-code: url("/wp-content/themes/adambalee-2026/assets/icons/code.svg");
    --ab-icon-github: url("/wp-content/themes/adambalee-2026/assets/icons/github.svg");
    --ab-icon-js: url("/wp-content/themes/adambalee-2026/assets/icons/js.svg");
    --ab-icon-linkedin-in: url("/wp-content/themes/adambalee-2026/assets/icons/linkedin-in.svg");
    --ab-icon-magnifying-glass: url("/wp-content/themes/adambalee-2026/assets/icons/magnifying-glass.svg");
    --ab-icon-paper-plane: url("/wp-content/themes/adambalee-2026/assets/icons/paper-plane.svg");
    --ab-icon-plug: url("/wp-content/themes/adambalee-2026/assets/icons/plug.svg");
    --ab-icon-print: url("/wp-content/themes/adambalee-2026/assets/icons/print.svg");
    --ab-icon-question: url("/wp-content/themes/adambalee-2026/assets/icons/question.svg");
    --ab-icon-robot-astromech: url("/wp-content/themes/adambalee-2026/assets/icons/robot-astromech.svg");
    --ab-icon-wordpress: url("/wp-content/themes/adambalee-2026/assets/icons/wordpress.svg");
    --ab-icon-x-twitter: url("/wp-content/themes/adambalee-2026/assets/icons/x-twitter.svg");
}

/* Metric-matched fallbacks: if text paints before the webfonts land, the swap barely shifts. */
@font-face {
    font-family: "Bricolage Fallback";
    src: local("Arial");
    size-adjust: 112.8%;
    ascent-override: 82.4%;
    descent-override: 23.9%;
    line-gap-override: 0%;
}
@font-face {
    font-family: "Public Sans Fallback";
    src: local("Arial");
    size-adjust: 123.3%;
    ascent-override: 77%;
    descent-override: 18.2%;
    line-gap-override: 0%;
}

/* --- Page ------------------------------------------------------------------ */

html,
body {
    overflow-x: hidden;
    scroll-padding-top: 6rem;
}
/* Text rendering as this design was drawn: Baseline turns on optimizeLegibility, explicit
   kerning features, balanced headings and pretty paragraphs, which move line breaks and widths. */
body {
    -webkit-font-smoothing: subpixel-antialiased;
    text-rendering: auto;
    font-kerning: auto;
    font-feature-settings: normal;
}
p, li, dd, dt, figcaption, blockquote, .wp-block-post-excerpt__excerpt,
h1, h2, h3, h4, h5, h6 {
    text-wrap: wrap;
}
h1, h2, h3, h4, h5, h6 {
    overflow-wrap: normal;
}
strong, b {
    font-weight: bolder;
}
a:where(:not(.wp-element-button):not(.wp-block-navigation-item__content)) {
    text-underline-offset: auto;
    text-decoration-thickness: auto;
}
::selection {
    background: var(--ab-red);
    color: #fff;
}

/* Header, main and footer sit flush; main is the surface Swup swaps and the menu pushes down. */
.wp-site-blocks > .wp-block-template-part,
.wp-site-blocks > main {
    margin-block: 0;
}
.wp-site-blocks > main {
    position: relative;
    top: 0;
    z-index: 2;
    background: var(--wp--preset--color--canvas);
    transition: opacity 0.25s ease, transform 0.25s var(--ab-ease), top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
body.toggled .wp-site-blocks > main {
    top: 600px;
}
html.is-animating .wp-site-blocks > main {
    opacity: 0;
    transform: translateY(1.5rem);
}
@media (prefers-reduced-motion: reduce) {
    .wp-site-blocks > main { transition: none; }
}

/* --- Icons ----------------------------------------------------------------- */

/* A 1em box holding one glyph, like the icon font it replaces. */
.ab-glyph,
.ab-eyebrow::before,
.ab-section-head .ab-section-head__label::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    flex: none;
    background-color: currentColor;
    -webkit-mask: var(--ab-icon, var(--ab-icon-asterisk)) center / contain no-repeat;
    mask: var(--ab-icon, var(--ab-icon-asterisk)) center / contain no-repeat;
}
.ab-glyph--arrow-down { --ab-icon: var(--ab-icon-arrow-down); }
.ab-glyph--arrow-right { --ab-icon: var(--ab-icon-arrow-right); }
.ab-glyph--magnifying-glass { --ab-icon: var(--ab-icon-magnifying-glass); }
.ab-glyph--github { --ab-icon: var(--ab-icon-github); }
.ab-glyph--x-twitter { --ab-icon: var(--ab-icon-x-twitter); }
.ab-glyph--linkedin-in { --ab-icon: var(--ab-icon-linkedin-in); }
.ab-glyph--paper-plane { --ab-icon: var(--ab-icon-paper-plane); }
.has-icon-wordpress { --ab-icon: var(--ab-icon-wordpress); }
.has-icon-code { --ab-icon: var(--ab-icon-code); }
.has-icon-js { --ab-icon: var(--ab-icon-js); }
.has-icon-robot-astromech { --ab-icon: var(--ab-icon-robot-astromech); }
.has-icon-plug { --ab-icon: var(--ab-icon-plug); }
.has-icon-print { --ab-icon: var(--ab-icon-print); }
.has-icon-question { --ab-icon: var(--ab-icon-question); }

/* --- Base inside project sections ------------------------------------------ */

.baseline-section.ab-section {
    margin-block: 0;
    padding-block: var(--wp--preset--spacing--section);
    background-color: var(--wp--preset--color--canvas);
}
:is(.ab-section, .ab-footer),
:is(.ab-section, .ab-footer) *,
:is(.ab-section, .ab-footer) *::before,
:is(.ab-section, .ab-footer) *::after {
    box-sizing: border-box;
}
/* No block gap between a Group's children: spacing is set per component. */
.baseline-section.ab-section > *,
.ab-footer.ab-dark > *,
:is(.ab-section, .ab-footer) .wp-block-group > * {
    margin-block-start: 0;
}
:is(.ab-section, .ab-footer) p {
    margin: 0 0 1.5rem;
}
:is(.ab-section, .ab-footer) :is(ul, ol) {
    margin: 0;
    padding: 0;
    list-style: none;
}
:is(.ab-section, .ab-footer) li {
    margin: 0;
}
:is(.ab-section, .ab-footer) a {
    color: var(--wp--preset--color--ink-soft);
    text-decoration: none;
    transition: color 300ms ease, background-color 300ms ease, opacity 300ms ease, border-color 300ms ease;
}
:is(.ab-section, .ab-footer) a:hover {
    color: var(--ab-red);
}
:is(.ab-section, .ab-footer) img {
    display: block;
    max-width: 100%;
    height: auto;
}
.baseline-section.ab-section :is(h1, h2, h3, h4, h5, h6),
.ab-footer.ab-dark :is(h1, h2, h3, h4, h5, h6) {
    margin: 1.5rem 0 1rem;
    font-family: var(--wp--preset--font-family--display);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
}
.baseline-section.ab-section :is(h1, h2, h3, h4, h5, h6):first-child {
    margin-top: 0;
}
.ab-section mark {
    background: none;
}

.ab-section .ab-container,
.ab-footer .ab-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding-inline: var(--wp--custom--gutter);
}

/* Scroll reveal. Only hidden once the script has marked the page, so the editor (and a page
   without JavaScript) always shows the content. */
.ab-js .ab-reveal {
    opacity: 0;
}
.ab-js .ab-reveal.visible {
    animation: 600ms ease-in forwards ab-fade-in-up;
}
@media (prefers-reduced-motion) {
    .ab-js .ab-reveal.visible { opacity: 1; animation: none; }
}
@keyframes ab-fade-in-up {
    from { opacity: 0.01; transform: translate3d(0, 20%, 0); }
    to { opacity: 1; transform: none; }
}

/* Clock placeholders hold their box before the script fills them. */
.ab-local-time,
[data-local-time] {
    display: inline-block;
    min-width: 7.5em;
    font-variant-numeric: tabular-nums;
}

/* --- Eyebrow --------------------------------------------------------------- */

.ab-section .ab-eyebrow,
.ab-footer .ab-eyebrow {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.ab-dark .ab-eyebrow {
    color: rgba(255, 255, 255, 0.6);
}
.ab-eyebrow::before {
    width: 0.75rem;
    margin-right: 0.5rem;
}

/* --- Buttons --------------------------------------------------------------- */

:is(.ab-section, .ab-footer) .wp-block-buttons {
    gap: 0;
}
:is(.ab-section, .ab-footer) .wp-block-button {
    margin: 0;
}
:is(.ab-section, .ab-footer, .ab-post) .ab-btn .wp-block-button__link {
    display: inline-block;
    min-width: 0;
    min-height: 0;
    padding: 0.75rem 2rem;
    border: 1px solid var(--ab-red);
    border-radius: 9999px;
    background-color: var(--ab-red);
    box-shadow: none;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5rem;
    letter-spacing: normal;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
:is(.ab-section, .ab-footer, .ab-post) .ab-btn--lg .wp-block-button__link { font-size: 1.125rem; line-height: 1.75rem; }
:is(.ab-section, .ab-footer, .ab-post) .ab-btn--xl .wp-block-button__link { font-size: 1.25rem; line-height: 1.75rem; }

:is(.ab-section, .ab-footer, .ab-post) .ab-btn--red .wp-block-button__link:hover { background-color: transparent; color: #fff; }
:is(.ab-section, .ab-footer, .ab-post) .ab-btn--red-invert .wp-block-button__link:hover { background-color: transparent; color: var(--ab-red); }
:is(.ab-section, .ab-footer, .ab-post) .ab-btn--white .wp-block-button__link { border-color: #fff; background-color: #fff; color: #000; }
:is(.ab-section, .ab-footer, .ab-post) .ab-btn--white .wp-block-button__link:hover { background-color: transparent; color: #fff; }
:is(.ab-section, .ab-footer, .ab-post) .ab-btn--black .wp-block-button__link { border-color: #000; background-color: #000; color: #fff; }
:is(.ab-section, .ab-footer, .ab-post) .ab-btn--black .wp-block-button__link:hover { background-color: transparent; color: #000; }
:is(.ab-section, .ab-footer, .ab-post) .ab-btn--outline-red .wp-block-button__link { background-color: transparent; color: var(--ab-red); font-weight: 700; }
:is(.ab-section, .ab-footer, .ab-post) .ab-btn--outline-red .wp-block-button__link:hover { background-color: var(--ab-red); color: #fff; }

/* Trailing arrow: a word space and 4px after the label, as the inline icon had. */
:is(.ab-section, .ab-footer, .ab-post) .ab-btn--arrow .wp-block-button__link::after {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-left: calc(0.25rem + 0.2444em);
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask: var(--ab-icon-arrow-right) center / contain no-repeat;
    mask: var(--ab-icon-arrow-right) center / contain no-repeat;
}

/* Text link with a trailing arrow. */
:is(.ab-section, .ab-footer) .ab-arrow-link {
    margin: 0;
}
:is(.ab-section, .ab-footer) .ab-arrow-link a {
    white-space: nowrap;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.ab-arrow-link a::after,
.ab-footer .ab-footer__top a::after {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-left: calc(0.25rem + 0.2444em);
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask: var(--ab-icon-arrow-right) center / contain no-repeat;
    mask: var(--ab-icon-arrow-right) center / contain no-repeat;
}
.ab-arrow-link--out a::after {
    -webkit-mask-image: var(--ab-icon-arrow-up-right);
    mask-image: var(--ab-icon-arrow-up-right);
}

/* --- Section header (label + lede) ----------------------------------------- */

.ab-section .ab-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 3rem;
    margin-bottom: 6rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ab-rule-light);
}
.ab-section .ab-section-head .ab-section-head__label {
    align-self: start;
    margin: 0 0 1rem;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.75rem;
}
.ab-section-head .ab-section-head__label::before {
    width: 0.75rem;
    margin-right: 0.25rem;
}
.ab-section-head .ab-section-head__label.has-icon-robot-astromech::before {
    width: 1rem;
}
.ab-section .ab-section-head .ab-section-head__lede {
    margin: 0 0 1.5rem;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.025em;
    text-indent: 8rem;
}
@media (min-width: 768px) {
    .ab-section .ab-section-head {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ab-section .ab-section-head .ab-section-head__lede {
        margin-top: 5rem;
        font-size: 1.875rem;
    }
}

/* --- Page header ----------------------------------------------------------- */

.baseline-section.ab-page-header {
    padding-top: 10rem;
    padding-bottom: 2.5rem;
    background-color: var(--ab-ink);
    color: #fff;
}
.ab-page-header .ab-page-header__inner {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.ab-page-header .ab-page-header__inner .ab-page-header__title {
    margin: 0;
    color: #fff;
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.025em;
}
.ab-page-header .ab-page-header__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 2rem;
    row-gap: 0.75rem;
    margin-top: 3rem;
    padding: 1rem 0 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.ab-page-header .ab-page-header__meta p {
    margin: 0;
}
.ab-page-header .ab-page-header__summary {
    max-width: 48rem;
}
.ab-page-header .ab-page-header__meta a {
    color: rgba(255, 255, 255, 0.7);
}
.ab-page-header .ab-page-header__meta a:hover {
    color: var(--ab-coral);
}
.ab-page-header .ab-page-header__contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 1.5rem;
    row-gap: 0.5rem;
}
.ab-page-header .ab-availability {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
}
.ab-page-header .ab-availability::before {
    content: "";
    flex: none;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--wp--preset--color--operational);
}

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

.baseline-section.ab-hero {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100vh - 112px);
    min-height: 42rem;
    padding-block: 0;
    overflow: hidden;
    background-color: var(--ab-ink);
    color: #fff;
}
.ab-hero .ab-container {
    z-index: 10;
}
.ab-hero .ab-hero__top {
    padding-top: 7rem;
}
.ab-hero .ab-hero__top .ab-hero__title {
    margin: 0;
    color: #fff;
    font-size: clamp(2.5rem, 7vw, 6.5rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.025em;
}
.ab-hero .ab-hero__title::before {
    content: "";
    display: inline-block;
    width: 0.62em;
    height: 1em;
    margin-right: 0.28em;
    vertical-align: 0.12em;
    background-color: currentColor;
    font-size: 0.62em;
    -webkit-mask: var(--ab-icon-asterisk) center / contain no-repeat;
    mask: var(--ab-icon-asterisk) center / contain no-repeat;
}
.ab-hero .ab-hero__body {
    display: flex;
    flex: 1 1 0%;
    align-items: flex-end;
    padding-top: 3rem;
    padding-bottom: 2.5rem;
}
.ab-hero .ab-hero__grid {
    display: grid;
    width: 100%;
    row-gap: 2.5rem;
    align-items: end;
}
.ab-hero .ab-hero__services .ab-hero__links {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.5rem;
}
.ab-hero .ab-hero__links li + li {
    margin-top: 0.375rem;
}
.ab-hero .ab-hero__links a {
    color: rgba(255, 255, 255, 0.6);
}
.ab-hero .ab-hero__links a:hover {
    color: var(--ab-coral);
}
.ab-hero .ab-hero__intro .ab-hero__lede {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    line-height: 1.625;
    letter-spacing: -0.025em;
}
.ab-hero .ab-hero__actions {
    margin-top: 1.5rem;
}
.ab-hero .ab-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 2rem;
    row-gap: 0.75rem;
    padding: 1rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.ab-hero .ab-hero__meta p {
    margin: 0;
}
.ab-hero .ab-hero__place {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.ab-hero .ab-hero__tag {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
    color: rgba(255, 255, 255, 0.6);
}
@media (min-width: 768px) {
    .baseline-section.ab-hero { height: 100vh; }
    .ab-hero .ab-hero__top { padding-top: 9rem; }
    .ab-hero .ab-hero__body { padding-bottom: 3.5rem; }
    .ab-hero .ab-hero__grid { grid-template-columns: 21fr 13fr; column-gap: 2.5rem; }
    .ab-hero .ab-hero__intro { padding-left: 2rem; border-left: 1px solid rgba(255, 255, 255, 0.15); }
    .ab-hero .ab-hero__intro .ab-hero__lede { font-size: 1.25rem; line-height: 1.75rem; }
}
/* The hero is viewport-height; the admin bar takes 46px (to 782px) or 32px of it. */
body.admin-bar .baseline-section.ab-hero { height: calc(100vh - 112px - 46px); }
@media (min-width: 768px) { body.admin-bar .baseline-section.ab-hero { height: calc(100vh - 46px); } }
@media (min-width: 783px) { body.admin-bar .baseline-section.ab-hero { height: calc(100vh - 32px); } }

@media (prefers-reduced-motion: no-preference) {
    /* Entrance: 0.01, not 0, so the first paint still counts for LCP. */
    .ab-hero .ab-hero-line {
        opacity: 0.01;
        animation: ab-fade-in-up 0.6s var(--ab-ease) forwards;
    }
    .ab-hero .ab-hero__services { animation-delay: 0.6s; }
    .ab-hero .ab-hero__intro { animation-delay: 0.45s; }
    .ab-hero .ab-hero__meta { animation-delay: 0.3s; }
    /* A slow colour drift on the ink ground. */
    .baseline-section.ab-hero { animation: ab-hero-drift 36s ease-in-out infinite; }
}
@keyframes ab-hero-drift {
    0%, 100% { background-color: #0f0d14; }
    22% { background-color: #2f130d; }
    44% { background-color: #1c1114; }
    66% { background-color: #241009; }
    84% { background-color: #17171c; }
}

.ab-scroll-badge {
    position: relative;
    display: block;
    flex: none;
    width: 5.5rem;
    height: 5.5rem;
}
.ab-scroll-badge__ring {
    width: 100%;
    height: 100%;
}
@media (prefers-reduced-motion: no-preference) {
    .ab-scroll-badge__ring { animation: ab-spin-slow 14s linear infinite; }
}
.ab-scroll-badge__ring text {
    fill: rgba(255, 255, 255, 0.45);
    font-size: 11.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
.ab-scroll-badge .ab-glyph {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.1rem;
    height: 1.1rem;
    color: #fff;
    transform: translate(-50%, -50%);
    transition: transform 0.35s var(--ab-ease);
}
.ab-scroll-badge:hover .ab-glyph {
    transform: translate(-50%, -35%);
}
@keyframes ab-spin-slow {
    to { transform: rotate(360deg); }
}

/* --- Services -------------------------------------------------------------- */

.baseline-section.ab-services {
    background-color: var(--ab-red);
    color: #fff;
}
.ab-services .ab-section-head {
    border-top-color: rgba(255, 255, 255, 0.3);
}
.ab-services .ab-service-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 3rem;
    row-gap: 1rem;
    align-items: center;
    margin-inline: -1.5rem;
    padding: 2.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    color: #fff;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.ab-services .ab-service-row:hover {
    background-color: rgba(0, 0, 0, 0.1);
}
.ab-services .ab-service-row:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.ab-services .ab-service-row .ab-service-row__title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 500;
}
.ab-services .ab-service-row__title::before {
    content: "";
    flex: none;
    width: 1.25rem;
    height: 1.25rem;
    background-color: rgba(255, 255, 255, 0.9);
    -webkit-mask: var(--ab-icon) center / contain no-repeat;
    mask: var(--ab-icon) center / contain no-repeat;
}
/* The whole row is the link. */
.ab-services .ab-service-row__title a {
    color: inherit;
}
.ab-services .ab-service-row__title a::after {
    content: "";
    position: absolute;
    inset: 0;
}
.ab-services .ab-service-row .ab-service-row__text {
    max-width: 65ch;
    margin: 0;
    color: #fff;
    font-size: 1rem;
    line-height: 1.5rem;
}
@media (min-width: 768px) {
    .ab-services .ab-service-row { grid-template-columns: 1.1fr 1.4fr auto; }
    .ab-services .ab-service-row .ab-service-row__title { font-size: 2rem; }
}

/* --- Résumé ---------------------------------------------------------------- */

.baseline-section.ab-resume {
    background-color: var(--ab-ink);
    color: #fff;
}
.ab-resume .ab-section-head {
    border-top-color: rgba(255, 255, 255, 0.2);
}
.ab-resume .ab-resume-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding-block: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.ab-resume .ab-resume-row:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.ab-resume .ab-resume-row .ab-resume-row__when {
    margin: 0;
    color: var(--ab-coral);
    font-size: 1rem;
    line-height: 1.5rem;
    text-transform: uppercase;
}
.ab-resume .ab-resume-row__when::before {
    content: "";
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    margin-right: 0.75rem;
    border-radius: 2px;
    background: var(--ab-coral);
    vertical-align: middle;
}
.ab-resume .ab-resume-row .ab-resume-row__title {
    margin: 0 0 0.25rem;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2rem;
}
.ab-resume .ab-resume-row .ab-resume-row__org {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
}
.ab-resume .ab-resume-row .ab-resume-row__text {
    max-width: 65ch;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5rem;
}
.ab-resume .ab-resume-row__text a {
    color: #fff;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    text-underline-offset: 2px;
}
.ab-resume .ab-resume-row__text a:hover {
    color: var(--ab-coral);
}
.ab-resume .ab-resume__foot {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
}
.ab-resume .ab-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 42rem;
}
.ab-resume .ab-pills li {
    padding: 0.375rem 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    line-height: 1.25rem;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.ab-resume .ab-pills li:hover {
    border-color: var(--ab-coral);
    color: var(--ab-coral);
}
@media (min-width: 768px) {
    .ab-resume .ab-resume-row { grid-template-columns: 10rem 1.2fr 1fr; gap: 3rem; }
    .ab-resume .ab-resume__foot { flex-direction: row; }
}

/* --- Article rows (home and blog index) ------------------------------------ */

.ab-articles .ab-article-rows .wp-block-post-template {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ab-articles .wp-block-post-template > li {
    margin-block: 0;
}
.ab-articles .ab-article-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 3rem;
    row-gap: 0.75rem;
    align-items: center;
    padding-block: 1.75rem;
    border-top: 1px solid var(--ab-rule-light);
}
.ab-articles .wp-block-post-template > li:last-child .ab-article-row {
    border-bottom: 1px solid var(--ab-rule-light);
}
.ab-articles .ab-article-row .ab-article-row__date {
    margin: 0;
    color: var(--ab-rust);
    font-size: 1rem;
    text-transform: uppercase;
}
.ab-articles .ab-article-row__date::before {
    content: "";
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    margin-right: 0.65rem;
    border-radius: 2px;
    background: var(--ab-red);
    vertical-align: middle;
}
.ab-articles .ab-article-row .ab-article-row__title {
    margin: 0;
    font-size: 1.375rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}
.ab-articles .ab-article-row__title a {
    display: inline;
    color: var(--wp--preset--color--ink-soft);
    transition: color 0.25s ease;
}
.ab-articles .ab-article-row:hover .ab-article-row__title a {
    color: var(--ab-red);
}
.ab-articles .ab-article-row .ab-article-row__thumb {
    justify-self: end;
    margin: 0;
    overflow: hidden;
    border-radius: 0.5rem;
    transition: transform 0.35s var(--ab-ease), box-shadow 0.35s var(--ab-ease);
}
.ab-articles .ab-article-row__thumb a {
    display: block;
}
.ab-articles .ab-article-row__thumb img {
    border-radius: 0.5rem;
}
.ab-articles .ab-article-row:hover .ab-article-row__thumb {
    transform: translate(-3px, -3px);
    box-shadow: 0.35rem 0.35rem 0 var(--ab-red);
}
/* Posts without a featured image: an ink tile with the mark (inc/thumb-placeholder.php). */
.ab-articles .ab-article-row__thumb--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    aspect-ratio: 3 / 2;
    background: var(--ab-ink);
}
.ab-articles .ab-article-row__thumb--ph .ab-thumb-mark {
    width: 42px;
    color: #fff;
}
@media (min-width: 768px) {
    .ab-articles .ab-article-row { grid-template-columns: 10rem 1fr auto; }
}
.ab-articles .ab-container > .ab-article-rows {
    margin-bottom: 3.5rem;
}
.ab-articles .ab-articles__actions {
    justify-content: center;
}

/* Blog index and archives: a tighter entry, live search, category chips, load more. */
.baseline-section.ab-articles--index {
    padding-top: 3rem;
}
.ab-articles--index .ab-container > .ab-article-rows {
    margin-bottom: 0;
}
.ab-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 0.4rem 0 0.9rem;
    border-bottom: 1px solid var(--ab-rule-light);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ab-search__icon {
    color: #6b7280;
    font-size: 1rem;
    transition: color 0.2s ease;
}
.ab-search__input {
    flex: 1;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--wp--preset--color--ink-soft);
    font-family: inherit;
    font-size: 1.125rem;
    line-height: inherit;
}
/* Focus belongs to the whole search row: the underline it already has turns red and thickens,
   and the field itself shows no box of its own. */
.ab-search .ab-search__input,
.ab-search .ab-search__input:is(:focus, :focus-visible) {
    outline: none;
    border-radius: 0;
    box-shadow: none;
}
.ab-search:focus-within {
    border-bottom-color: var(--ab-red);
    box-shadow: 0 1px 0 var(--ab-red);
}
.ab-search:focus-within .ab-search__icon {
    color: var(--ab-red);
}
.ab-search__input::placeholder { color: #9ca3af; }
.ab-search__input::-webkit-search-cancel-button { display: none; }
.ab-articles .ab-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 4.5rem;
    cursor: default;
    user-select: none;
}
.ab-articles .ab-filters .ab-filters__all {
    margin: 0;
}
.ab-articles .ab-filters__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ab-articles .ab-filters__cats li {
    margin: 0;
    padding: 0;
    border: 0;
}
.ab-articles .ab-filters__cats a {
    line-height: 1.5;
}
.ab-articles .ab-filters a {
    display: inline-block;
    padding: 0.35rem 0.95rem;
    border: 1px solid var(--ab-rule-light);
    border-radius: 999px;
    color: #374151;
    font-size: 0.875rem;
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.ab-articles .ab-filters a:hover {
    border-color: var(--ab-red);
    color: var(--ab-red);
}
.ab-articles .ab-filters__cats li.current-cat a,
body.blog .ab-articles .ab-filters:not(.is-filtered) .ab-filters__all a,
.ab-articles .ab-filters .ab-filters__all.is-current a {
    border-color: var(--ab-red);
    background: var(--ab-red);
    color: #fff;
}
.ab-articles--index .ab-article-rows {
    transition: opacity 0.2s ease;
}
.ab-articles--index .ab-article-rows.is-loading {
    opacity: 0.45;
}
.ab-articles--index .ab-articles__empty {
    margin: 0;
    color: #6b7280;
}
.ab-load-more {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    padding-bottom: 2rem;
}
.ab-load-more__button {
    padding: 0.75rem 2rem;
    border: 1px solid var(--ab-red);
    border-radius: 9999px;
    background: transparent;
    color: var(--ab-red);
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.ab-load-more__button:hover {
    background: var(--ab-red);
    color: #fff;
}

/* --- Call to action -------------------------------------------------------- */

.baseline-section.ab-cta {
    position: relative;
    z-index: 1;
    overflow: clip;
    padding-block: 6rem;
    background-color: var(--ab-red);
}
.ab-cta .ab-cta__inner {
    position: relative;
    z-index: 10;
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: 1.5rem;
    color: #fff;
    text-align: center;
}
.ab-cta .ab-cta__inner .ab-cta__title {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(1.8rem, 5vw, 3.4rem);
    font-weight: 500;
}
.ab-cta .ab-cta__actions {
    justify-content: center;
    padding-top: 3rem;
}
.ab-cta .ab-btn .wp-block-button__link {
    padding: 1rem 3rem;
}
@media (min-width: 768px) {
    .baseline-section.ab-cta { padding-block: 12rem; }
}

/* --- Image and text -------------------------------------------------------- */

.ab-media .ab-media__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
    max-width: 1440px;
    margin-inline: auto;
}
.ab-media .ab-media__text {
    max-width: 65ch;
}
.ab-media .ab-media__image {
    order: -9999;
}
@media (min-width: 768px) {
    .ab-media .ab-media__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
    .ab-media .ab-media__grid.is-top { align-items: start; }
    .ab-media .ab-media__grid.is-flipped .ab-media__image { order: 9999; }
}
@media (min-width: 1024px) {
    .ab-media .ab-media__grid { gap: 6rem; }
    .ab-media .ab-media__text { padding-block: 2.5rem; }
}
@media (min-width: 1536px) {
    .ab-media .ab-media__grid { gap: 8rem; }
}

/* The photo with a print block offset behind it and a wash that lifts on hover. */
.ab-section .ab-img-fx {
    position: relative;
    width: 100%;
    height: 100%;
}
.ab-section .ab-img-fx::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 1rem;
    background: var(--ab-red);
    transform: translate(0.85rem, 0.85rem);
    transition: transform 0.4s var(--ab-ease);
}
.ab-section .ab-img-fx::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 11;
    border-radius: 1rem;
    background: var(--ab-red);
    mix-blend-mode: soft-light;
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.ab-section .ab-img-fx .ab-img-fx__image {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    margin: 0;
}
.ab-section .ab-img-fx img {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    object-fit: cover;
    filter: saturate(0.82) contrast(1.04) sepia(0.1);
    transition: transform 0.4s var(--ab-ease), filter 0.4s ease;
}
.ab-section .ab-img-fx:hover::after { transform: translate(1.15rem, 1.15rem) rotate(-0.5deg); }
.ab-section .ab-img-fx:hover::before { opacity: 0.15; }
.ab-section .ab-img-fx:hover img { transform: translate(-0.35rem, -0.35rem); filter: saturate(1) contrast(1) sepia(0); }

.ab-media .ab-media__text .ab-media__eyebrow {
    display: flex;
    align-items: center;
    margin: 0 0 1.5rem;
    color: var(--wp--preset--color--ink-soft);
    font-size: 1rem;
    line-height: 1.5rem;
}
.ab-media .ab-media__eyebrow::before {
    content: "";
    flex: none;
    width: 1em;
    height: 1em;
    margin-right: 0.5rem;
    background-color: var(--ab-red);
    -webkit-mask: var(--ab-icon) center / contain no-repeat;
    mask: var(--ab-icon) center / contain no-repeat;
}
.ab-media .ab-media__eyebrow::after {
    content: "";
    width: 3rem;
    height: 1px;
    margin-left: 0.9rem;
    background: var(--ab-red);
    opacity: 0.5;
}
/* Rows without an eyebrow open with a short tick above the heading. */
.ab-media .ab-prose > :is(h2, h3):first-child::before {
    content: "";
    display: block;
    width: 3rem;
    height: 3px;
    margin-bottom: 1.1rem;
    border-radius: 2px;
    background: var(--ab-red);
}
.ab-media .ab-media__actions {
    margin-top: 2.5rem;
}

/* --- Prose in sections (heading, copy, bullets) ----------------------------- */

/* Section headings on the service pages. The original scale ran up to 4rem, which read as too
   large beside the copy on wide screens, so it stops at 3rem. */
.ab-section .ab-prose h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
.ab-section .ab-prose h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
.ab-section .ab-prose .wp-block-list {
    margin: 2rem 0 1rem 1rem;
    padding: 0;
    list-style: disc;
}
.ab-section .ab-prose .wp-block-list li {
    margin: 0 0 1rem;
    padding: 0;
}
.ab-section .ab-prose .wp-block-list li::marker {
    color: var(--ab-red);
}
.ab-section .ab-prose :is(p, li) a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* --- Maintenance plans ----------------------------------------------------- */

.baseline-section.ab-pricing {
    background-color: #fff;
}
.ab-pricing .ab-plans {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    max-width: 80rem;
    margin-inline: auto;
}
.ab-pricing .ab-plan {
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    border-radius: 1rem;
    background: var(--wp--preset--color--card);
}
.ab-pricing .ab-plan.is-featured {
    border: 1px solid var(--ab-red);
}
.ab-pricing .ab-plan__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.ab-pricing .ab-plan .ab-plan__name {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2rem;
}
.ab-pricing .ab-plan .ab-plan__badge {
    margin: 0;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: var(--ab-red);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1rem;
}
.ab-pricing .ab-plan .ab-plan__desc {
    margin: 0.75rem 0 0;
    color: #52525b;
    font-size: 1rem;
    line-height: 1.5rem;
}
.ab-pricing .ab-plan .ab-plan__price {
    display: flex;
    align-items: baseline;
    column-gap: 0.5rem;
    margin: 2rem 0 0;
    color: #71717a;
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.ab-pricing .ab-plan__price strong {
    color: #18181b;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.025em;
}
.ab-pricing .ab-plan .ab-plan__list {
    flex-grow: 1;
    margin: 2rem 0 0;
    color: #52525b;
    font-size: 1rem;
    line-height: 1.5rem;
}
.ab-pricing .ab-plan__list li {
    display: flex;
    column-gap: 0.75rem;
}
.ab-pricing .ab-plan__list li + li {
    margin-top: 0.75rem;
}
.ab-pricing .ab-plan__list li::before {
    content: "";
    /* may give up a little width on a wrapped line, but never less than the glyph itself */
    min-width: 0.875em;
    width: 1em;
    height: 1em;
    margin-top: 0.25rem;
    background-color: #18181b;
    -webkit-mask: var(--ab-icon-check) center / contain no-repeat;
    mask: var(--ab-icon-check) center / contain no-repeat;
}
.ab-pricing .ab-plan .ab-plan__actions {
    margin-top: 2.5rem;
}
.ab-pricing .ab-plan__actions .wp-block-button,
.ab-pricing .ab-plan__actions .wp-block-button__link {
    width: 100%;
}
@media (min-width: 1024px) {
    .ab-pricing .ab-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ab-pricing .ab-plan { padding: 3rem; }
}

/* --- Questions and answers ------------------------------------------------- */

.baseline-section.ab-faq {
    color: #27272a;
}
.ab-faq .ab-section-head {
    margin-bottom: 3rem;
}
.ab-faq .ab-faq__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1rem;
    max-width: 48rem;
    margin-inline: auto;
}
.ab-faq .ab-faq__item {
    padding: 0 0 1rem;
    border: 0;
    border-bottom: 1px solid #e4e4e7;
    border-radius: 0;
}
.ab-faq .ab-faq__item > summary {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 1rem;
    padding: 0;
    /* at least one line of body text tall (the chevron used to sit on a body-size line) */
    min-height: calc(1.6 * clamp(1rem, 2.5vw, 1.125rem));
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.75rem;
    list-style: none;
    cursor: pointer;
}
.ab-faq .ab-faq__item > summary::-webkit-details-marker {
    display: none;
}
.ab-faq .ab-faq__item > summary::after {
    content: "";
    position: static;
    flex: none;
    width: 1.125rem;
    height: 1.125rem;
    background: currentColor;
    transform: none;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-mask: var(--ab-icon-chevron-down) center / contain no-repeat;
    mask: var(--ab-icon-chevron-down) center / contain no-repeat;
}
.ab-faq .ab-faq__item[open] > summary::after {
    transform: rotate(180deg);
}
.ab-faq .ab-faq__item > p {
    margin: 0.75rem 0 1.5rem;
    color: #52525b;
}
@media (min-width: 768px) {
    .ab-faq .ab-section-head { margin-bottom: 6rem; }
    .ab-faq .ab-faq__item > summary { font-size: 1.25rem; }
}

/* --- Contact --------------------------------------------------------------- */

.baseline-section.ab-contact {
    background-image: radial-gradient(rgba(15, 13, 20, 0.06) 1px, transparent 1px);
    background-size: 26px 26px;
}
.ab-contact .ab-contact__container {
    max-width: 100rem;
}
.ab-contact .ab-contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
}
.ab-contact .ab-contact__rail .ab-steps {
    margin: 1.5rem 0 0;
    counter-reset: ab-step;
}
.ab-contact .ab-steps li {
    position: relative;
    padding: 0 0 1.6rem 2.6rem;
    color: #71717a;
    font-size: 0.9375rem;
    counter-increment: ab-step;
}
.ab-contact .ab-steps li:last-child {
    padding-bottom: 0;
}
.ab-contact .ab-steps li::before {
    content: "";
    position: absolute;
    top: 1.9rem;
    bottom: 0.3rem;
    left: calc(0.75rem - 0.5px);
    width: 1px;
    background: #d4d4d8;
}
.ab-contact .ab-steps li:last-child::before {
    display: none;
}
.ab-contact .ab-steps li::after {
    content: counter(ab-step);
    position: absolute;
    top: 0.1rem;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 4px;
    background: var(--ab-red);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
}
.ab-contact .ab-steps strong {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--wp--preset--color--ink-soft);
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    font-weight: 600;
}
.ab-contact .ab-contact__rail .ab-contact__elsewhere {
    margin: 3rem 0 1rem;
}
.ab-contact .ab-link-rows a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-top: 1px solid #d4d4d8;
    color: var(--wp--preset--color--ink-soft);
    font-weight: 500;
    transition: color 0.25s ease;
}
.ab-contact .ab-link-rows li:last-child a {
    border-bottom: 1px solid #d4d4d8;
}
.ab-contact .ab-link-rows a::after {
    content: "";
    width: 0.8125rem;
    height: 0.8125rem;
    background-color: #a1a1aa;
    transition: transform 0.3s ease, background-color 0.3s ease;
    -webkit-mask: var(--ab-icon-arrow-up-right) center / contain no-repeat;
    mask: var(--ab-icon-arrow-up-right) center / contain no-repeat;
}
.ab-contact .ab-link-rows a:hover {
    color: var(--ab-red);
}
.ab-contact .ab-link-rows a:hover::after {
    background-color: var(--ab-red);
    transform: translate(2px, -2px);
}
.ab-contact .ab-contact__card {
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid #c3c6c9;
    border-radius: 1rem;
    background: var(--wp--preset--color--card);
    box-shadow: 0.8rem 0.8rem 0 var(--ab-red);
}
.ab-contact .ab-contact__card .ab-eyebrow {
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .ab-contact .ab-contact__grid { grid-template-columns: 13fr 21fr; }
    .ab-contact .ab-contact__rail { position: sticky; top: 7rem; }
}
@media (min-width: 1024px) {
    .ab-contact .ab-contact__grid { gap: 6rem; }
}

/* Gravity Forms in the contact card. */
/* The honeypot: a decoy field only bots fill in. Gravity Forms hides it in its own stylesheet,
   which Baseline replaces with one that has no rule for it, so it has to be hidden here. Off
   screen, not display:none alone, because some bots skip fields that are plainly not rendered. */
.gform_wrapper .gform_validation_container,
.gform_validation_container {
    display: none !important;
    position: absolute !important;
    left: -9000px;
}
.ab-contact .gform_wrapper .gform_required_legend { display: none; }
.ab-contact .gform_wrapper .gform_fields { display: block; }
.ab-contact .gform_wrapper .gfield { margin: 0 0 1.5rem; }
.ab-contact .gform_wrapper .gfield_label {
    display: block;
    margin: 0 0 0.5rem;
    color: var(--wp--preset--color--ink-soft);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.6;
}
.ab-contact .gform_wrapper .gfield_label .gfield_required { padding-left: 0.15em; color: var(--ab-red); }
.ab-contact .gform_wrapper :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], select, textarea) {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #d4d4d8;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: none;
    color: var(--wp--preset--color--ink-soft);
    font: inherit;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.ab-contact .gform_wrapper :is(input, select, textarea):focus {
    outline: none;
    border-color: var(--ab-red);
    box-shadow: 0 0 0 3px rgba(214, 64, 43, 0.15);
}
.ab-contact .gform_wrapper textarea { min-height: 10rem; resize: vertical; }
.ab-contact .gform_wrapper .gfield_description { margin-top: 0.5rem; color: #71717a; font-size: 0.875rem; }
.ab-contact .gform_wrapper .gform_footer { display: block; margin: 0.5rem 0 0; padding: 0; border: 0; text-align: left; }
.ab-contact .gform_wrapper .gform_button {
    display: inline-block;
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0.8rem 2.5rem;
    border: 1px solid var(--ab-red);
    border-radius: 999px;
    background: var(--ab-red);
    box-shadow: none;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5rem;
    letter-spacing: normal;
    text-transform: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.ab-contact .gform_wrapper .gform_button:hover { background: transparent; color: var(--ab-red); }
.ab-contact .gform_wrapper .gform_button:active { transform: scale(0.97); }
/* While a submission is on its way: a spinner beside "Sending…", and no second press.
   Gravity Forms' own spinner image is dropped in favour of this one. */
.ab-contact .gform_wrapper .gform_button.is-sending {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--ab-red);
    color: #fff;
    opacity: 0.85;
    cursor: progress;
    pointer-events: none;
}
.ab-contact .gform_wrapper .gform_button.is-sending::before {
    content: "";
    width: 1em;
    height: 1em;
    flex: none;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ab-spin 0.7s linear infinite;
}
.gform_wrapper .gform_ajax_spinner,
.gform_wrapper .gform-loader {
    display: none !important;
}
@keyframes ab-spin {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .ab-contact .gform_wrapper .gform_button.is-sending::before { animation-duration: 2s; }
}
.ab-contact .gform_wrapper .gform_validation_errors { margin-bottom: 1.5rem; padding: 1rem 1.25rem; border: 1px solid var(--ab-red); border-radius: 0.5rem; background: rgba(214, 64, 43, 0.06); color: var(--ab-red); }
.ab-contact .gform_wrapper .gfield_validation_message { margin-top: 0.5rem; color: var(--ab-red); font-size: 0.875rem; }
.ab-contact .gform_confirmation_message { padding-left: 1.25rem; border-left: 3px solid var(--wp--preset--color--operational); font-size: 1.25rem; line-height: 1.6; }

/* --- Work (project archive and single) ------------------------------------- */

.ab-work .ab-work__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4rem 3rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ab-work .ab-work__grid > li {
    margin: 0;
}
.ab-work .ab-work-card > * {
    margin-block: 0;
}
/* Project images are device mock-ups cut out on a transparent ground, so they sit straight on
   the page with no card behind them. The few saved as JPEGs have a white ground; multiply
   turns that white into the page colour. The frame carries the page colour itself, because a
   blend only reaches as far as the nearest stacking context, and the scroll reveal on the card
   creates one: without a ground inside it, the white would stay white. */
.ab-work .ab-work-card__image {
    margin: 0 0 1.5rem;
    background: var(--wp--preset--color--canvas);
}
:is(.ab-work .ab-work-card__image, .ab-project .ab-project__image) img:is([src$=".jpg"], [src$=".jpeg"]) {
    mix-blend-mode: multiply;
}
/* Shown whole at their own proportions: the monitor runs to the very edge of the artwork, so
   any cropping to a fixed ratio cuts its side off. The hover zoom moves the link, not the
   image: a transform on a blended image lifts it out of the group it blends with and the white
   ground shows through, so the link carries the page colour and scales as one piece. */
.ab-work .ab-work-card__image a {
    display: block;
    background: var(--wp--preset--color--canvas);
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ab-work .ab-work-card__image img {
    display: block;
    width: 100%;
    height: auto;
}
.ab-work .ab-work-card:hover .ab-work-card__image a {
    transform: scale(1.03);
}
.ab-work .ab-work-card__tech {
    margin-bottom: 0.6rem;
    color: var(--ab-rust);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.ab-work .ab-work-card__tech a {
    color: inherit;
    text-decoration: none;
    pointer-events: none;
}
.ab-work .ab-work-card__title {
    margin-bottom: 0.75rem;
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.ab-work .ab-work-card__title a {
    color: var(--wp--preset--color--ink-soft);
    text-decoration: none;
    transition: color 0.25s ease;
}
.ab-work .ab-work-card__title a:hover {
    color: var(--ab-red);
}
.ab-work .ab-work-card__text {
    color: #52525b;
    font-size: 1rem;
    line-height: 1.6;
}
.ab-work .ab-work-card__text p {
    margin: 0;
}
@media (min-width: 768px) {
    .ab-work .ab-work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.ab-project .ab-project__image {
    background: var(--wp--preset--color--canvas);
}
.ab-post.ab-project .ab-project__image img {
    border-radius: 0;
}
.ab-post.ab-project .ab-project__actions {
    margin-block: clamp(2rem, 5vw, 3rem) 0;
}
.ab-post.ab-project .ab-project__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-block: clamp(2.5rem, 6vw, 4.5rem) 0;
    padding-top: 1.75rem;
    border-top: 1px solid #c3c6c9;
    font-size: 0.9375rem;
}
.ab-project .ab-project__nav > * {
    margin: 0;
}
.ab-project .ab-project__nav a {
    color: var(--wp--preset--color--ink-soft);
    font-weight: 600;
    text-decoration: none;
}
.ab-project .ab-project__nav a:hover {
    color: var(--ab-red);
}
.ab-project .ab-project__nav .post-navigation-link__label {
    display: block;
    color: var(--ab-rust);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.ab-post-header .ab-post-meta .ab-post-meta__terms a {
    color: inherit;
}

/* --- Sitemap page ---------------------------------------------------------- */

.ab-sitemap .ab-sitemap__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3.5rem;
}
.ab-sitemap .ab-sitemap__side {
    display: grid;
    gap: 3rem;
    align-content: start;
}
.ab-sitemap .ab-sitemap__label {
    margin: 0;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--ab-rule-light);
    color: var(--ab-rust);
    font-family: var(--wp--preset--font-family--body);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.ab-sitemap .ab-sitemap__year {
    margin: 2.25rem 0 0;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #c3c6c9;
    color: #52525b;
    font-family: var(--wp--preset--font-family--body);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
}
.ab-sitemap .ab-sitemap__label + .ab-sitemap__year {
    margin-top: 1.25rem;
}
.ab-sitemap .ab-sitemap__list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ab-sitemap .ab-sitemap__list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 0;
    padding-block: 0.8rem;
    border-bottom: 1px solid #c3c6c9;
}
.ab-sitemap .ab-sitemap__list a {
    color: var(--wp--preset--color--ink-soft);
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.25s ease;
}
.ab-sitemap .ab-sitemap__list a:hover {
    color: var(--ab-red);
}
.ab-sitemap .ab-sitemap__list :is(time, span) {
    flex: none;
    color: var(--ab-rust);
    font-size: 0.8125rem;
    font-variant-numeric: tabular-nums;
}
@media (min-width: 900px) {
    .ab-sitemap .ab-sitemap__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 6rem; }
}

/* --- Footer ---------------------------------------------------------------- */

.ab-footer.ab-dark {
    padding: 6rem 0 2.5rem;
    background: #000;
    color: #fff;
    font-size: 1rem;
    line-height: 1.5rem;
}
.ab-footer .ab-footer__cta {
    margin-bottom: 5rem;
}
.ab-footer .ab-footer__cta .ab-footer__title {
    margin: 1.25rem 0 2rem;
    color: #fff;
    font-size: clamp(2.2rem, 6vw, 4.25rem);
    font-weight: 900;
    line-height: 1.02;
}
.ab-footer .ab-footer__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}
.ab-footer .ab-btn .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
}
.ab-footer .ab-btn--arrow .wp-block-button__link::after {
    margin-left: 0;
}
.ab-footer .ab-footer__actions .ab-footer__note {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
}
.ab-footer .ab-footer__cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
    row-gap: 3rem;
    margin-bottom: 5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.ab-footer .ab-footer__col .ab-eyebrow {
    margin-bottom: 1.25rem;
}
.ab-footer .ab-footer__links li + li {
    margin-top: 0.625rem;
}
.ab-footer .ab-footer__links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.ab-footer .ab-footer__links a:hover,
.ab-footer .ab-footer__legal a:hover {
    color: var(--ab-coral);
}
/* Live status dot after the Site Status link. */
.ab-footer .ab-footer__links li.is-live a::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 0.5rem;
    border-radius: 50%;
    background: var(--wp--preset--color--operational);
    vertical-align: middle;
}
.ab-footer .ab-footer__legal {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 2rem;
    row-gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.ab-footer .ab-footer__legal p {
    margin: 0;
}
.ab-footer .ab-footer__legal a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.ab-footer .ab-footer__place {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.ab-footer .ab-footer__top a::after {
    -webkit-mask-image: var(--ab-icon-arrow-up);
    mask-image: var(--ab-icon-arrow-up);
}
@media (min-width: 768px) {
    .ab-footer .ab-footer__cta { margin-bottom: 6rem; }
    .ab-footer .ab-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 3rem; }
    .ab-footer .ab-footer__legal { flex-direction: row; }
    .ab-footer .ab-footer__place { margin-left: auto; }
}

/* --- Single post ----------------------------------------------------------- */

.baseline-section.ab-post-header {
    padding-top: 10rem;
    padding-bottom: 0;
    background: transparent;
}
.ab-post-header .ab-post-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ab-rule-light);
}
.ab-post-header .ab-post-header__inner .ab-back-link {
    margin: 0 0 1.5rem;
    color: #52525b;
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.ab-post-header .ab-back-link a {
    color: inherit;
}
.ab-post-header .ab-back-link a::before {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1em;
    margin-right: 0.5rem;
    vertical-align: -0.125em;
    background-color: currentColor;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-mask: var(--ab-icon-arrow-left) center / contain no-repeat;
    mask: var(--ab-icon-arrow-left) center / contain no-repeat;
}
.ab-post-header .ab-back-link a:hover::before {
    transform: translateX(-0.25rem);
}
.ab-post-header .ab-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-self: start;
    column-gap: 0.75rem;
    row-gap: 0.25rem;
    color: #52525b;
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.ab-post-header .ab-post-meta > * {
    margin-block: 0;
}
.ab-post-header .ab-post-meta .ab-post-meta__date {
    color: var(--ab-rust);
}
/* Only printed when the post changed after it was published */
.ab-post-header .ab-post-meta .ab-post-meta__updated {
    display: flex;
    column-gap: 0.75rem;
}
.ab-post-header .ab-post-meta .ab-post-meta__updated::before {
    content: "\00b7";
}
.ab-post-header .ab-post-meta .ab-post-meta__updated time::before {
    content: "Updated ";
}
@media (min-width: 768px) {
    .ab-post-header .ab-post-header__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-post-header .ab-post-meta { justify-content: flex-end; }
}

main > .ab-post {
    box-sizing: border-box;
    margin-block: 0;
    padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 2.5vw, 2rem) clamp(3.5rem, 8vw, 6rem);
}
main > .ab-post > * {
    box-sizing: border-box;
    max-width: 856px;
    margin-inline: auto;
}
.ab-post .ab-post__title {
    margin-block: 0 clamp(1.75rem, 4vw, 3rem);
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
    text-wrap: balance;
}
.ab-post .ab-post__image {
    margin-block: 0 clamp(1.75rem, 4vw, 3rem);
}
.ab-post .ab-post__image img {
    border-radius: 4px;
}
.ab-post .ab-post__content {
    margin-block: 0;
}
.ab-post .ab-post__foot {
    margin-block: clamp(2.5rem, 6vw, 4.5rem) 0;
    padding-top: 1.75rem;
    border-top: 1px solid #c3c6c9;
}
.ab-post .ab-post__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
}
.ab-post .ab-post__foot > * {
    margin: 0;
}
.ab-post .ab-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #525252;
    font-size: 0.875rem;
}
.ab-post .ab-share__label {
    margin-right: 0.25rem;
}
.ab-post .ab-share__link,
.ab-post .ab-share__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 2.25rem;
    border: 1px solid var(--ab-rule-light);
    border-radius: 999px;
    background: transparent;
    color: #374151;
    font: inherit;
    line-height: 1;
    cursor: pointer;
    transition: color 0.25s ease, border-color 0.25s ease;
}
.ab-post .ab-share__link {
    width: 2.25rem;
    font-size: 0.9375rem;
}
.ab-post .ab-share__copy {
    padding: 0 0.95rem;
}
.ab-post .ab-share__link:hover,
.ab-post .ab-share__copy:hover {
    border-color: var(--ab-red);
    color: var(--ab-red);
}
.ab-post .ab-share__copy.is-copied {
    border-color: var(--wp--preset--color--operational);
    color: #15803d;
}
.ab-post .ab-post__filed {
    margin: 0;
    color: #525252;
    font-size: 0.875rem;
}

/* Related articles under a post */
.ab-post .ab-related {
    margin-block: 1.75rem 0;
    padding-top: clamp(2.5rem, 6vw, 4rem);
    border-top: 1px solid #c3c6c9;
}
.ab-related .ab-related__title {
    margin: 0 0 1rem;
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.ab-related .ab-related__list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ab-related .ab-related__list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 0;
    padding-block: 1rem;
    border-bottom: 1px solid #c3c6c9;
}
.ab-related .ab-related__list a {
    color: var(--wp--preset--color--ink-soft);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.25s ease;
}
.ab-related .ab-related__list a:hover {
    color: var(--ab-red);
}
.ab-related .ab-related__list time {
    flex: none;
    color: var(--ab-rust);
    font-size: 0.875rem;
    font-variant-numeric: tabular-nums;
}
.ab-related .ab-related__service {
    margin: 1.5rem 0 0;
    color: #525252;
    font-size: 1rem;
}
.ab-related .ab-related__service a {
    color: var(--ab-red);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

/* Comments under a post: the thread, then the form. Fields and the button follow the contact
   form. */
.ab-post .ab-comments {
    margin-block: 1.75rem 0;
    padding-top: clamp(2.5rem, 6vw, 4rem);
    border-top: 1px solid #c3c6c9;
}
.ab-post .ab-comments > * {
    margin-block: 0;
}
.ab-comments .ab-comments__title {
    margin-block: 0 1rem;
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.ab-comments .wp-block-comment-template,
.ab-comments .wp-block-comment-template ol {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ab-comments .wp-block-comment-template li {
    margin: 0;
}
/* replies step in behind a rule */
.ab-comments .wp-block-comment-template ol {
    margin-left: clamp(1rem, 4vw, 2.5rem);
    padding-left: clamp(1rem, 3vw, 1.5rem);
    border-left: 2px solid #c3c6c9;
}
.ab-comments .ab-comment {
    padding-block: 1.75rem;
    border-bottom: 1px solid #c3c6c9;
}
.ab-comments .ab-comment > * {
    margin-block: 0;
}
.ab-comments .ab-comment__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0.25rem;
    margin-bottom: 0.9rem;
}
.ab-comments .ab-comment__head > * {
    margin: 0;
}
.ab-comments .ab-comment__head .wp-block-avatar {
    flex: none;
    line-height: 0;
}
.ab-comments .ab-comment__head .wp-block-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.ab-comments .ab-comment__author {
    color: var(--wp--preset--color--ink-soft);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}
.ab-comments .ab-comment__date {
    color: #52525b;
    font-size: 0.875rem;
    line-height: 1.4;
}
.ab-comments .ab-comment__date a {
    color: inherit;
    text-decoration: none;
}
.ab-comments .ab-comment__date a:hover {
    color: var(--ab-red);
}
.ab-comments .ab-comment__body {
    font-size: 1rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
.ab-comments .ab-comment__body > * {
    margin-block: 0 0.9rem;
}
.ab-comments .ab-comment__body > :last-child {
    margin-bottom: 0;
}
.ab-comments .ab-comment__body a {
    color: var(--ab-red);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}
.ab-comments .ab-comment__body :is(code, pre) {
    font-family: var(--wp--preset--font-family--monospace);
    font-size: 0.875em;
}
.ab-comments .ab-comment__body pre {
    padding: 1rem;
    overflow-x: auto;
    border-radius: 4px;
    background: var(--wp--preset--color--card);
    white-space: pre;
}
.ab-comments .ab-comment__reply {
    margin-top: 0.9rem;
    font-size: 0.875rem;
    font-weight: 600;
}
.ab-comments .ab-comment__reply a {
    color: var(--ab-rust);
    text-decoration: none;
}
.ab-comments .ab-comment__reply a:hover {
    color: var(--ab-red);
}
.ab-comments .ab-comments__pages {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    font-size: 0.875rem;
}
.ab-post .ab-comments .ab-comment-form {
    margin-top: clamp(2rem, 5vw, 3rem);
}
/* the form moves under a comment when replying */
.ab-comments .wp-block-comment-template .comment-respond {
    margin-block: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid #c3c6c9;
}
.ab-comments .comment-reply-title {
    margin: 0 0 0.5rem;
    font-family: var(--wp--preset--font-family--display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.ab-comments .comment-reply-title small {
    margin-left: 0.75rem;
    font-family: var(--wp--preset--font-family--body);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0;
}
.ab-comments .comment-form > p {
    margin: 0 0 1.5rem;
}
.ab-comments .comment-form :is(.comment-notes, .logged-in-as) {
    color: #52525b;
    font-size: 0.875rem;
}
.ab-comments .comment-form :is(.comment-notes, .logged-in-as) a {
    color: var(--ab-rust);
}
.ab-comments .comment-form label {
    display: block;
    margin: 0 0 0.5rem;
    color: var(--wp--preset--color--ink-soft);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.6;
}
.ab-comments .comment-form .required {
    color: var(--ab-red);
}
.ab-comments .comment-form :is(input[type="text"], input[type="email"], input[type="url"], textarea) {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #d4d4d8;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: none;
    color: var(--wp--preset--color--ink-soft);
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.ab-comments .comment-form :is(input, textarea):focus {
    outline: none;
    border-color: var(--ab-red);
    box-shadow: 0 0 0 3px rgba(214, 64, 43, 0.15);
}
.ab-comments .comment-form textarea {
    min-height: 9rem;
    resize: vertical;
}
.ab-comments .comment-form .comment-form-cookies-consent {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}
.ab-comments .comment-form .comment-form-cookies-consent label {
    margin: 0;
    font-weight: 400;
}
.ab-comments .comment-form .form-submit {
    margin-bottom: 0;
}
.ab-comments .comment-form .form-submit .submit {
    display: inline-block;
    width: auto;
    margin: 0;
    padding: 0.8rem 2.5rem;
    border: 1px solid var(--ab-red);
    border-radius: 999px;
    background: var(--ab-red);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.ab-comments .comment-form .form-submit .submit:hover {
    background: transparent;
    color: var(--ab-red);
}
.ab-comments .comment-form .form-submit .submit:active {
    transform: scale(0.97);
}
@media (min-width: 640px) {
    .ab-comments .comment-form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1.5rem;
    }
    .ab-comments .comment-form > * { grid-column: 1 / -1; }
    .ab-comments .comment-form > :is(.comment-form-author, .comment-form-email) { grid-column: auto; }
}

/* Reading typography for articles and plain pages: a ~70ch measure sharing its left edge with
   full-column media, a lede opener, a modular heading scale. The same rules reach the content in
   five places: a post, a plain page, each of those in the editor (where the content root has no
   class of its own, so it is found through the editor body's post-type class), and a Classic
   block in the editor, which is how the older posts are stored. */
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) {
    font-size: 1.125rem;
    line-height: 1.7;
}
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) > * {
    margin-block-start: 0;
}
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) > :is(p, ul, ol, h2, h3, h4, blockquote) {
    max-width: 70ch;
    margin-right: auto !important;
    margin-left: 0 !important;
}
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) p {
    margin: 0 0 1.5em;
    text-wrap: pretty;
}
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) > p:first-child {
    margin-bottom: 1.75em;
    font-size: 1.375rem;
    line-height: 1.55;
    letter-spacing: -0.01em;
}
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) :is(h2, h3, h4) {
    font-family: var(--wp--preset--font-family--display);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
    text-wrap: balance;
}
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) h2 { margin: 2em 0 0.65em; font-size: 1.953rem; }
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) h3 { margin: 1.9em 0 0.6em; font-size: 1.563rem; }
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) h4 { margin: 1.8em 0 0.55em; font-size: 1.25rem; }
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) > :is(h2, h3):first-child { margin-top: 0; }
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) :is(h2 + h3, h3 + h4) { margin-top: 1em; }
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) :is(ul, ol) {
    margin: 2rem 0 1rem;
    padding: 0 0 0 1.4em;
    list-style-position: outside;
}
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) ul { list-style-type: disc; }
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) ol { list-style-type: decimal; }
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) li {
    margin: 0 0 0.5rem;
    padding: 0;
    text-wrap: pretty;
}
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) li::marker {
    color: var(--ab-red);
}
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) a {
    color: var(--wp--preset--color--ink-soft);
    text-decoration: underline;
    text-decoration-color: rgba(214, 64, 43, 0.45);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.25s ease, text-decoration-color 0.25s ease;
}
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) a:hover {
    color: var(--ab-red);
    text-decoration-color: var(--ab-red);
}
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) blockquote {
    margin: 2.5rem 0;
    padding: 2.5rem 0;
    border: 0;
    border-top: 1px solid rgba(214, 64, 43, 0.4);
    border-bottom: 1px solid rgba(214, 64, 43, 0.4);
    background: transparent;
    font-size: 1.375rem;
    font-style: italic;
    line-height: 1.5;
    letter-spacing: -0.01em;
}
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) blockquote p:last-child { margin-bottom: 0; }
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) :is(code, kbd, samp, pre) {
    font-family: var(--wp--preset--font-family--monospace);
}
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) :not(pre) > code {
    padding: 0.1em 0.4em;
    border: 1px solid #c9ccd0;
    border-radius: 4px;
    background: var(--wp--preset--color--card);
    color: var(--ab-rust);
    font-size: 0.875em;
}
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) pre {
    position: relative;
    display: flex;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
}
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) pre code {
    display: inline-block;
    width: 100%;
    padding: 0.7142857143rem;
    border: 0;
    border-radius: 0;
    font-size: 0.8095238095em;
}
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) pre code:not(.hljs) {
    background: #2b303b;
    color: #c0c5ce;
}
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) pre code.hljs {
    padding: 1em;
}
@media (min-width: 768px) {
    :is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) pre { margin: 1.5rem 0; }
    :is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) pre code,
    :is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) pre code.hljs { padding: 1.5rem; }
}
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) :is(strong, b) {
    font-weight: 700;
}
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) hr {
    width: 3rem;
    height: 3px;
    margin: 3.5rem 0;
    border: 0;
    border-radius: 2px;
    background: var(--ab-red);
}
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) figure { margin: 0 0 1.5rem; }
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) figcaption { margin-top: 0.75rem; color: #71717a; font-size: 0.875rem; }
:is(.ab-post .ab-prose, .ab-plain-page .ab-page__content, .post-type-post > .is-root-container, .post-type-post .wp-block-freeform > div, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) img { display: block; max-width: 100%; height: auto; }

/* Sentinel call to action inside and after posts (inc/sentinel-cta.php). Its paragraphs keep the
   prose paragraph margin (1.5em of their own size). */
.ab-post .sentinel-cta {
    margin: 2.5rem 0;
    padding: 1.75rem 2rem;
    border-left: 3px solid var(--wp--preset--color--operational);
    border-radius: 8px;
    background: var(--ab-ink);
}
.ab-post .sentinel-cta .sentinel-cta__head {
    display: flex;
    align-items: center;
    gap: 0.6em;
    color: #a3a3a3;
    font-family: var(--wp--preset--font-family--monospace);
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
}
.ab-post .sentinel-cta__dot {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wp--preset--color--operational);
}
.ab-post .sentinel-cta .sentinel-cta__title { color: #fff; font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.ab-post .sentinel-cta .sentinel-cta__body { color: #d4d4d4; font-size: 1rem; }
.ab-post .sentinel-cta .sentinel-cta__action a { color: var(--wp--preset--color--operational); font-weight: 600; text-decoration: none; }
.ab-post .sentinel-cta .sentinel-cta__action a:hover { text-decoration: underline; }
.ab-post .sentinel-outro {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid #c3c6c9;
}
.ab-post .sentinel-outro .sentinel-outro__eyebrow { color: #525252; font-family: var(--wp--preset--font-family--monospace); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; }
.ab-post .sentinel-outro .sentinel-outro__title { color: #171717; font-size: 1.375rem; font-weight: 700; }
.ab-post .sentinel-outro .sentinel-outro__body { color: #525252; }
.ab-post .sentinel-outro .sentinel-outro__button {
    display: inline-block;
    padding: 0.7em 1.6em;
    border-radius: 999px;
    background: var(--ab-ink);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}
.ab-post .sentinel-outro .sentinel-outro__button:hover { background: var(--wp--preset--color--operational); color: #fff; }
.ab-post .sentinel-outro .sentinel-outro__button:active { transform: scale(0.97); }

/* --- Header and full-screen menu (parts/header.html, an HTML block) --------- */

#progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--ab-red), var(--ab-red), var(--ab-coral));
    transform: scaleX(0);
    transform-origin: left;
}
.site-header,
.site-header *,
.site-header *::before,
.site-header *::after {
    box-sizing: border-box;
}
.site-header {
    position: fixed;
    top: 0;
    z-index: 3;
    width: 100%;
    padding-block: 2.2380952381rem;
}
.site-header__bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-inline: var(--wp--custom--gutter);
}
.site-header a {
    text-decoration: none;
}
.site-header svg {
    display: block;
}
.site-header .site-branding {
    position: relative;
    z-index: 3;
    width: 32px;
    height: 32px;
}
.site-header .site-branding a {
    display: block;
    line-height: 1;
}
.site-header .site-branding a svg {
    fill: #fff;
}
.site-header.over-white-bg .site-branding a svg {
    filter: invert(90%);
    transition: filter 0.3s ease;
}
.toggled .site-header .site-branding a svg {
    filter: none;
}
.main-navigation {
    position: relative;
}
.veggie-burger {
    position: relative;
    z-index: 3;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0.5rem 1rem;
    border: 0;
    border-radius: 1rem;
    background: #000;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}
.site-header:not(.over-white-bg) .veggie-burger.menu-toggle,
body.toggled .site-header .veggie-burger.menu-toggle {
    border: 1px solid #fff;
    background: #fff;
    color: var(--ab-ink);
}
.menu-kbd {
    margin-left: 0.5em;
    padding: 0.1em 0.4em;
    border: 1px solid currentColor;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.6875em;
    opacity: 0.55;
    vertical-align: 0.08em;
}
.menu-kbd--first {
    margin-left: 0;
}
@media (max-width: 767px) {
    .menu-kbd { display: none; }
}
@media (min-width: 768px) {
    .menu-close-word { display: none; }
}

.main-navigation .menu-container {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    width: 100vw;
    height: 100%;
    visibility: hidden;
    background-color: var(--ab-ink);
    transform: translateY(-100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.toggled .menu-container {
    right: 0;
    overflow: auto;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    -webkit-overflow-scrolling: touch;
}
body.toggled {
    width: 100%;
    overflow: hidden;
}
.admin-bar .site-header,
.admin-bar .menu-container {
    padding-top: calc(2.23809524rem + 32px);
}
@media screen and (max-width: 782px) {
    .admin-bar .site-header,
    .admin-bar .menu-container { padding-top: calc(2.23809524rem + 46px); }
}

.nav-panel {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 100%;
}
.nav-panel__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    padding: 7rem var(--wp--custom--gutter) 5rem;
}
.nav-panel__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 1024px) {
    .nav-panel__grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 5rem; }
}
.nav-panel__links {
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-panel__links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.nav-panel__links a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.4rem 0;
}
.nav-panel__label {
    margin: 0 0 1.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 400;
}
.nav-panel__label::before {
    content: "";
    display: inline-block;
    width: 0.75rem;
    height: 1em;
    margin-right: 0.5rem;
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask: var(--ab-icon-asterisk) center / contain no-repeat;
    mask: var(--ab-icon-asterisk) center / contain no-repeat;
}
.nav-panel__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}
.nav-panel__social {
    display: flex;
    gap: 1.25rem;
    margin: 0 0 0 auto;
    padding: 0;
    font-size: 1.125rem;
    list-style: none;
}
.nav-panel__social a {
    color: #fff;
    transition: color 300ms ease;
}
.nav-panel__social a:hover {
    color: var(--ab-coral);
}
.nav-link__name {
    display: inline-block;
    color: #fff;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
    transition: transform 0.4s var(--ab-ease), color 0.3s ease;
}
.nav-link__hint {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    white-space: nowrap;
    transition: color 0.3s ease;
}
.nav-panel__links a:hover .nav-link__name { color: var(--ab-coral); transform: translateX(0.5rem); }
.nav-panel__links a:hover .nav-link__hint { color: #fff; }
.nav-row {
    display: block;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.nav-row:first-of-type {
    padding-top: 0.25rem;
}
.nav-row__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.nav-row__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.nav-row__mark-rootstuff { width: auto; height: 1.15rem; color: #fff; }
.nav-row__mark-sentinel { width: 1.5rem; height: 1.5rem; color: #fff; }
.nav-row__name {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}
.nav-row__name--lower {
    font-weight: 500;
}
.nav-row__arrow {
    color: #fff;
    opacity: 0;
    transform: translateX(-0.5rem);
    transition: opacity 0.3s ease, transform 0.4s var(--ab-ease);
}
.nav-row:hover .nav-row__arrow {
    opacity: 1;
    transform: translateX(0);
}
.nav-row__desc {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9375rem;
    line-height: 1.5;
}
.nav-latest {
    display: block;
}
.nav-latest__image {
    position: relative;
    display: block;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 0.5rem;
}
.nav-latest__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-latest:hover .nav-latest__image img {
    transform: scale(1.05);
}
.nav-latest__date {
    display: block;
    margin-bottom: 0.25rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-transform: uppercase;
}
.nav-latest__title {
    display: block;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.25;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-latest:hover .nav-latest__title {
    color: #78909c;
}
/* Staggered entrance once the panel opens. */
.nav-panel [data-stagger] {
    opacity: 0;
    transform: translateY(2.25rem);
    transition: opacity 0.5s ease, transform 0.65s var(--ab-ease);
}
body.toggled .nav-panel [data-stagger] {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .nav-panel [data-stagger] { opacity: 1; transform: none; transition: none; }
}

/* Code highlighting (highlight.js, srcery theme): two tokens brightened to reach 4.5:1. */
.hljs-keyword,
.hljs-deletion { color: #ff5c4d; }
.hljs-template-tag,
.hljs-selector-tag { color: #5b9fe3; }

/* --- Plain pages, 404 and search results ----------------------------------- */

/* White ground and one centred column. A page built from sections is not plain: Baseline marks
   it (baseline-sections-page) and its sections run edge to edge. */
.wp-site-blocks > main.ab-plain,
.ab-plain-page .wp-site-blocks > main.ab-page {
    box-sizing: border-box;
    padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 2.5vw, 2rem);
    background: #fff;
}
.wp-site-blocks > main.ab-plain > *,
.ab-plain-page .wp-site-blocks > main.ab-page > * {
    box-sizing: border-box;
    max-width: 856px;
    margin-inline: auto;
}
.ab-plain-page .ab-page .ab-page__title,
main.ab-plain .ab-plain__title {
    margin-block: 0 clamp(1.75rem, 4vw, 3rem);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
}
.ab-plain-page .ab-page .ab-page__content {
    margin-block: 0;
    padding-inline: clamp(1.25rem, 2.5vw, 2rem);
}
/* Paragraph blocks on plain pages keep WordPress's fluid "large" size. */
.ab-plain-page .ab-page .ab-page__content p:not(:first-child) {
    font-size: clamp(1rem, 1rem + (100vw - 320px) * 0.0015625, 1.125rem);
    line-height: 1.6;
}
main.ab-plain .ab-plain__title {
    margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}
main.ab-plain--centered .ab-plain__title {
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}
main.ab-plain .ab-plain__note {
    margin-block: clamp(1.25rem, 2.5vw, 2rem);
    color: #525252;
    font-size: clamp(1rem, 1rem + (100vw - 320px) * 0.0015625, 1.125rem);
    line-height: 1.6;
}
main.ab-plain--centered .ab-plain__note {
    text-align: center;
}
main.ab-plain .ab-plain__search {
    margin-block: 0 clamp(1.75rem, 4vw, 3rem);
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.6;
}
main.ab-plain .ab-plain__search .wp-block-search__label {
    font-weight: 700;
}
main.ab-plain--centered .ab-plain__search {
    margin-block: clamp(1.75rem, 4vw, 3rem) 0;
}
main.ab-plain .ab-plain__search .wp-block-search__inside-wrapper {
    gap: 0;
    padding: 4px;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}
main.ab-plain .ab-plain__search .wp-block-search__input {
    min-height: 0;
    padding: 0 4px;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    color: var(--wp--preset--color--text);
    font-family: inherit;
    font-size: inherit;
    line-height: 1.6;
}
main.ab-plain .ab-plain__search .wp-block-search__button {
    min-height: 0;
    margin-left: 10px;
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
    border: 0;
    border-radius: 0;
    background: #32373c;
    box-shadow: none;
    color: #fff;
    font-family: inherit;
    font-size: inherit;
    font-weight: 400;
    line-height: 1.6;
}
main.ab-plain .ab-plain__actions {
    justify-content: center;
    margin-top: clamp(1.25rem, 2.5vw, 2rem);
}
main.ab-plain .ab-btn-plain .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 0;
    padding: 9.338px 18.62px;
    border: 2px solid #171717;
    border-radius: 9999px;
    background: transparent;
    box-shadow: none;
    color: #171717;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
}
main.ab-plain .ab-btn-plain .wp-block-button__link::after {
    content: "";
    width: 12.6px;
    height: 1em;
    margin-left: 8px;
    background-color: currentColor;
    -webkit-mask: var(--ab-icon-arrow-right) center / contain no-repeat;
    mask: var(--ab-icon-arrow-right) center / contain no-repeat;
}
main.ab-plain .ab-btn-plain .wp-block-button__link:hover {
    background: #171717;
    color: #fff;
}
main.ab-plain .ab-results .wp-block-post-template {
    margin: 0;
    padding: 0;
    list-style: none;
}
main.ab-plain .ab-results .wp-block-post-template > li {
    margin: 0 0 1.4762rem;
    padding: 3rem;
    background: #fff;
    box-shadow: rgba(1, 2, 2, 0.08) 0 1px 1.96px 0.04px;
}
main.ab-plain .ab-results .wp-block-post-template > li + li {
    margin-top: clamp(1.75rem, 4vw, 3rem);
}
main.ab-plain .ab-result {
    padding-block: clamp(1.25rem, 2.5vw, 2rem);
    border-bottom: 1px solid #e5e5e5;
}
main.ab-plain .ab-result > * {
    margin-block: 0;
}
main.ab-plain .ab-result .ab-result__title {
    font-family: var(--wp--preset--font-family--display);
    font-size: clamp(1.25rem, 1.25rem + (100vw - 320px) * 0.003125, 1.5rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.025em;
}
main.ab-plain .ab-result__title a {
    color: var(--wp--preset--color--ink-soft);
    text-decoration: none;
}
main.ab-plain .ab-result__title a:hover {
    color: var(--ab-red);
}
main.ab-plain .ab-result .ab-result__date {
    color: #737373;
    font-size: 0.875rem;
}
main.ab-plain .ab-result .ab-result__excerpt {
    margin-top: 1rem;
}
main.ab-plain .ab-result__excerpt p {
    margin: clamp(1.25rem, 2.5vw, 2rem) 0;
    font-size: clamp(1rem, 1rem + (100vw - 320px) * 0.0015625, 1.125rem);
    line-height: 1.6;
}
main.ab-plain .ab-result__excerpt a {
    color: var(--wp--preset--color--ink-soft);
    text-decoration: none;
}
/* Plain text pagination (Baseline draws kit squares). */
main.ab-plain .ab-results .ab-results__pages {
    gap: 0;
    margin-top: 0;
    font-size: inherit;
    font-weight: 400;
}
main.ab-plain .ab-results__pages .wp-block-query-pagination-numbers {
    display: block;
}
main.ab-plain .ab-results__pages :is(.page-numbers, .wp-block-query-pagination-previous, .wp-block-query-pagination-next) {
    display: inline;
    min-width: 0;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: inherit;
}
main.ab-plain .ab-results .ab-results__pages a {
    color: var(--wp--preset--color--ink-soft);
}
main.ab-plain .ab-results .ab-results__pages a:hover {
    color: var(--ab-red);
}
main.ab-plain .ab-results__pages .wp-block-query-pagination-previous::before,
main.ab-plain .ab-results__pages .wp-block-query-pagination-next::after {
    content: none;
}

/* A Quote block in prose: the rule on the left as well, and larger italic copy. */
:is(.ab-plain-page .ab-page__content, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) .wp-block-quote {
    margin-block: 2.5rem;
    padding-left: clamp(1.75rem, 4vw, 3rem);
    border-left: 4px solid rgba(214, 64, 43, 0.4);
}
:is(.ab-plain-page .ab-page__content, .post-type-page > .is-root-container:where(:not(:has(> .baseline-section)))) .wp-block-quote p {
    font-size: clamp(1.25rem, 1.25rem + (100vw - 320px) * 0.003125, 1.5rem);
    font-style: italic;
    line-height: 1.6;
}

/* --- Editor only ----------------------------------------------------------- */

/* A page built from sections carries its own headline, so the editor's title field is hidden
   for it, as Baseline hides the title on the front end. (Rename the page from the sidebar.) */
:is(.editor-visual-editor__post-title-wrapper, .edit-post-visual-editor__post-title-wrapper):has(+ .is-root-container > .baseline-section:first-child) {
    display: none;
}
/* Article rows: the empty Featured Image placeholder takes the ink tile's size and colour. */
.ab-articles .ab-article-row__thumb .components-placeholder {
    width: 140px;
    min-height: 0;
    aspect-ratio: 3 / 2;
    padding: 0;
    border-radius: 0.5rem;
    background: var(--ab-ink);
    box-shadow: none;
}
.ab-articles .ab-article-row__thumb .components-placeholder > * {
    display: none;
}
/* Posts and plain pages: one centred reading column, as the single and page templates give. */
.post-type-post > .is-root-container,
.post-type-page > .is-root-container:not(:has(> .baseline-section)) {
    box-sizing: content-box;
    max-width: 856px;
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 2.5vw, 2rem);
}
/* The editor's title field, sized as the post and plain-page templates print the title. */
:is(.post-type-post, .post-type-page) :is(.editor-visual-editor__post-title-wrapper, .edit-post-visual-editor__post-title-wrapper) .wp-block-post-title {
    margin-bottom: clamp(1.75rem, 4vw, 3rem);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
}
