/*
 * 2026-11 site upgrade: components that did not exist in custom.min.css / home.min.css.
 * Uses the existing design tokens (:root vars from the main stylesheets).
 */

/* ---------- Booking button (outline twin of "Get a quote") ---------- */
.btn-booking.btnnColorChange {
    background: transparent;
    color: var(--black-color);
    box-shadow: inset 0 0 0 1.5px var(--black-color);
    text-transform: none;
}
.btn-booking.btnnColorChange::after { background: var(--black-color); }
.btn-booking.btnnColorChange:hover,
.btn-booking.btnnColorChange:focus-visible { color: var(--white-color); }
.cta-band .btn-booking.btnnColorChange,
.eng.featured .btn-booking.btnnColorChange,
.home-aimcp .btn-booking.btnnColorChange,
.site-footer .btn-booking.btnnColorChange {
    color: var(--ink-invert, #fff);
    box-shadow: inset 0 0 0 1.5px currentColor;
}
.cta-band .btn-booking.btnnColorChange::after,
.home-aimcp .btn-booking.btnnColorChange::after { background: var(--white-color); }
.cta-band .btn-booking.btnnColorChange:hover { color: var(--black-color); }
.site-footer .btn-booking.btnnColorChange { color: inherit; }
.site-footer .footer-brand__cta { display: flex; flex-wrap: wrap; gap: .75em; }
.btnnColorChange:focus-visible,
.nav-dd__toggle:focus-visible,
.faq-item summary:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; }

/* ---------- Header: dropdown + book button ---------- */
.header-right .searchLanguageWrap { display: flex; align-items: center; gap: .625em; }
.nav-book-mobile { display: none; }
.nav-dd { position: relative; }
.nav-dd__toggle {
    width: 1.5em; height: 1.5em; border: 0; background: transparent; cursor: pointer; padding: 0;
    margin-left: .125em; position: relative; color: inherit; align-self: center;
}
.nav-dd__toggle::before {
    content: ""; position: absolute; left: 50%; top: 45%; width: .4em; height: .4em;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translate(-50%, -50%) rotate(45deg); transition: transform .25s ease;
}
.nav-dd__toggle[aria-expanded="true"]::before { transform: translate(-50%, -20%) rotate(-135deg); }
.nav-dd__list { list-style: none; margin: 0; padding: 0; }
.nav-dd__list a { display: block; color: var(--black-color); text-decoration: none; font-weight: 500; }
.nav-dd__list a:hover { color: var(--primary-color); }
.nav-dd__all a { color: var(--primary-color); }

@media (min-width: 1200px) {
    .nav-dd__list {
        position: absolute; top: 100%; left: -.75em; min-width: 15em; z-index: 30;
        background: var(--white-color); border: 1px solid var(--line-color); border-radius: .875em;
        box-shadow: 0 1.25em 2.5em -1.25em rgba(0, 0, 0, .25); padding: .5em;
        opacity: 0; visibility: hidden; transform: translateY(.375em); transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }
    .nav-dd:hover .nav-dd__list,
    .nav-dd:focus-within .nav-dd__list,
    .nav-dd.is-open .nav-dd__list { opacity: 1; visibility: visible; transform: none; }
    .nav-dd__list a { padding: .625em .75em; border-radius: .5em; font-size: .9375em; white-space: nowrap; }
    .nav-dd__list a:hover { background: var(--paper-color-2); }
    .nav-dd__all { border-top: 1px solid var(--line-color); margin-top: .25em; padding-top: .25em; }
}
@media (max-width: 1199.98px) {
    .header-book { display: none !important; }
    .nav-book-mobile { display: block; }
    .nav-book-mobile .menu__menuitem--menulink { color: var(--primary-color); }
    .nav-dd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
    .nav-dd__toggle { width: 2.5em; height: 2.5em; font-size: 1em; }
    .nav-dd__list { width: 100%; display: none; padding: .5em 0 .25em 1em; }
    .nav-dd.is-open .nav-dd__list { display: block; }
    .nav-dd__list a { padding: .5em 0; font-size: 1.125em; }
}

/* ---------- Generic helpers ---------- */
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.crumb { display: block; margin-bottom: 1.25em; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .875em; margin-top: 2em; }
.page-hero__price { display: flex; flex-wrap: wrap; gap: .5625em; margin-top: 1.5em; }
.page-hero .mainHead { overflow-wrap: anywhere; }
.related-links { list-style: none; padding: 0; margin: 1em 0 0; display: flex; flex-wrap: wrap; gap: .75em 1.75em; }
.related-links a { color: var(--accent-deep); font-weight: 500; text-decoration: none; }
.related-links a:hover { text-decoration: underline; }
.svc-row__more a, .case-study__more, .home-about__more { color: var(--accent-deep); font-weight: 600; text-decoration: none; }
.svc-row__more a:hover, .case-study__more:hover, .home-about__more:hover { text-decoration: underline; }
.case-study__more { display: inline-block; margin-top: 1.25em; }
.case-study__link { color: inherit; text-decoration: none; }
.case-study__link:hover { color: var(--primary-color); }
.who-list { margin: 1.25em 0 0; padding-left: 1.25em; color: var(--muted-color); line-height: 1.6; }
.who-list li { margin-bottom: .5em; }
.svc-row .right .h4 { margin: 0 0 .75em; }

/* ---------- Home: hero tweaks, three ways, stats note ---------- */
.home-hero__kw { font-size: clamp(1.25em, 2.6vw, 1.75em); font-weight: 600; margin-top: .5em; letter-spacing: -.02em; }
/* Hero portrait: square photo replaces the old Upwork card. Fixed aspect ratio, so no layout shift. */
.home-hero .home-hero__portrait-media { height: auto; aspect-ratio: 1 / 1; max-width: 24em; }
.home-hero__photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-ways { padding-top: 0; }
.home-ways .headingWrapper { margin-bottom: 1.25em; }
.way-card { text-decoration: none; color: inherit; }
.way-card .h4 { margin: 0; }
.way-card__foot {
    display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: .75em;
    font-family: var(--monofont); font-size: .8125em; color: var(--primary-color); letter-spacing: .04em;
}
.way-card:hover .h4 { color: var(--primary-color); }
.home-stats__note { text-align: center; font-size: .875em; color: var(--muted-color); margin: 1.125em 0 0; }
.home-stats__note a { color: var(--accent-deep); }
.home-about__photo { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-lg); }
.home-about__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .875em 1.25em; }
.home-services__notes a.pill { text-decoration: none; }

/* stats grid also used on /about/ (inner pages load custom.min.css which lacks it) */
.no-home .home-stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line-color); border-radius: var(--radius-lg); overflow: hidden; background: var(--white-color); }
.no-home .home-stats__item { padding: 1.75em 1.375em; border-right: 1px solid var(--line-color); }
.no-home .home-stats__item:last-child { border-right: 0; }
.no-home .home-stats__num { font-size: clamp(1.5em, 3vw, 2.25em); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.no-home .home-stats__lbl { font-family: var(--monofont); font-size: .71875em; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-color-2); margin-top: .75em; }
@media (max-width: 767.98px) {
    .no-home .home-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .no-home .home-stats__item { border-bottom: 1px solid var(--line-color); }
    .no-home .home-stats__item:nth-child(2n) { border-right: 0; }
}

/* ---------- Case study cards (shared) ---------- */
.cs-list, .no-home .home-work__list { display: flex; flex-direction: column; gap: 1.375em; }
.case-study__placeholder {
    width: 100%; aspect-ratio: 16 / 11; border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--paper-color-2), var(--paper-color-3));
    border: 1px solid var(--line-color); display: grid; place-items: center; padding: 1.5em; text-align: center;
}
.case-study__placeholder span { font-family: var(--monofont); font-size: .8125em; color: var(--muted-color); letter-spacing: .06em; }
.cs-hero-metrics { margin-top: 2em; }
.cs-stack { display: flex; flex-wrap: wrap; gap: .5em; }

/* ---------- Offer grid on /services/ ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-color); border: 1px solid var(--line-color); border-radius: var(--radius-lg); overflow: hidden; }
.offer-card { text-decoration: none; color: inherit; }
.offer-card .h4 { margin: 0; font-size: 1.25em; line-height: 1.25; }
.offer-card .p.sm { color: var(--muted-color); font-size: .9375em; line-height: 1.5; margin: 0; }
.offer-card__price { margin-top: auto; font-family: var(--monofont); font-size: .8125em; color: var(--primary-color); }
.offer-card:hover .h4 { color: var(--primary-color); }
@media (max-width: 991.98px) { .offer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .offer-grid { grid-template-columns: 1fr; } }

/* ---------- Boxes: facts, honest note, price ---------- */
.facts-box, .callout-box {
    border: 1px solid var(--line-color); border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-md); background: var(--paper-color); padding: clamp(1.25em, 3vw, 2em);
}
.facts-box__list { margin: .75em 0 1em; padding-left: 1.25em; line-height: 1.6; color: var(--ink-color-2); }
.facts-box__list li { margin-bottom: .375em; }
.facts-box__source, .eol-source { font-size: .875em; color: var(--muted-color); margin: 0; line-height: 1.6; }
.facts-box__source a, .eol-source a, .callout-box a { color: var(--accent-deep); }
.callout-box .p { margin: .5em 0 0; color: var(--ink-color-2); line-height: 1.6; }
.price-box {
    display: grid; grid-template-columns: 1fr auto; gap: 1.5em 2.5em; align-items: center;
    border: 1px solid var(--line-color); border-radius: var(--radius-lg); padding: clamp(1.5em, 4vw, 2.75em); background: var(--white-color);
}
.price-box__line { font-size: clamp(1.25em, 2.6vw, 1.75em); font-weight: 600; letter-spacing: -.02em; margin: .25em 0; }
.price-box__actions { display: flex; flex-wrap: wrap; gap: .75em; }
@media (max-width: 767.98px) { .price-box { grid-template-columns: 1fr; } }

/* ---------- Care plans pricing ---------- */
.eng__price { font-size: .9375em; margin: .5em 0 0; color: inherit; opacity: .8; }
.eng__price span { font-size: 2em; font-weight: 600; letter-spacing: -.03em; opacity: 1; }
.eng.featured { box-shadow: 0 1.5em 3em -1.5em rgba(0, 0, 0, .45); }
@media (min-width: 992px) { .eng.featured { transform: translateY(-.75em); } }
.plans-note { text-align: center; margin-top: 2.5em; color: var(--muted-color); }

/* ---------- FAQ (native details/summary, text matches FAQPage JSON-LD) ---------- */
.faq-list { display: flex; flex-direction: column; gap: .75em; }
.faq-item { border: 1px solid var(--line-color); border-radius: .75em; background: var(--white-color); }
.faq-item summary {
    cursor: pointer; list-style: none; padding: 1.25em 3em 1.25em 1.5em; font-weight: 600; position: relative; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+"; position: absolute; right: 1.25em; top: 50%; transform: translateY(-50%);
    font-size: 1.375em; color: var(--primary-color); font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 1.5em 1.375em; color: var(--muted-color); line-height: 1.65; }
.prose .faq-list { max-width: 45em; margin: 0 auto 1.5em; }
.prose .faq-item p { font-size: 1em; }

/* ---------- EOL table ---------- */
.eol-updated { font-family: var(--monofont); font-size: .8125em; color: var(--muted-color-2); margin-top: 1.25em; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line-color); border-radius: var(--radius-md); margin-bottom: 1.25em; -webkit-overflow-scrolling: touch; }
.eol-table { width: 100%; border-collapse: collapse; min-width: 44em; font-size: .9375em; background: var(--white-color); }
.eol-table th, .eol-table td { text-align: left; padding: .875em 1em; border-bottom: 1px solid var(--line-color); vertical-align: top; line-height: 1.5; }
.eol-table thead th { background: var(--paper-color-2); font-family: var(--monofont); font-size: .75em; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-color); }
.eol-table tbody th { font-weight: 700; white-space: nowrap; }
.eol-table tbody tr:last-child th, .eol-table tbody tr:last-child td { border-bottom: 0; }
.eol-status { display: inline-block; font-size: .8125em; font-weight: 600; padding: .1875em .625em; border-radius: 1em; white-space: nowrap; }
.is-ok .eol-status { background: #e6f4ea; color: #1e6b34; }
.is-eol .eol-status { background: var(--accent-tint); color: var(--accent-deep); }
.eol-php { display: block; font-family: var(--monofont); font-size: .8125em; color: var(--muted-color-2); margin-top: .25em; }

/* ---------- Email capture ---------- */
.email-capture {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.5em 2.5em; align-items: center;
    border: 1px solid var(--line-color); border-radius: var(--radius-lg); background: var(--paper-color-2);
    padding: clamp(1.5em, 4vw, 2.5em); max-width: 60em; margin: 3em auto 0;
}
.email-capture .h3 { margin: .375em 0 .5em; line-height: 1.2; }
.email-capture .p { margin: 0; color: var(--muted-color); }
.email-capture__form { display: flex; flex-wrap: wrap; gap: .75em; }
.email-capture__form input[type="email"] {
    flex: 1 1 14em; min-width: 0; font: inherit; padding: .75em 1em; border: 1px solid var(--line-color-2);
    border-radius: 1.875em; background: var(--white-color);
}
.email-capture__msg { flex-basis: 100%; margin: 0; font-size: .9375em; }
.email-capture__msg.is-error { color: var(--accent-deep); }
.quote-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 767.98px) { .email-capture { grid-template-columns: 1fr; } }

/* ---------- Author box ---------- */
.author-box {
    display: flex; gap: 1.25em; align-items: center; max-width: 45em; margin: 3em auto 0;
    padding: 1.5em; border: 1px solid var(--line-color); border-radius: var(--radius-lg); background: var(--white-color);
}
.author-box__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box__name { font-weight: 700; margin: 0 0 .25em; }
.author-box__bio { margin: 0 0 .375em; color: var(--muted-color); line-height: 1.5; font-size: .9375em; }
.author-box__links { margin: 0; font-size: .9375em; }
.author-box__links a { color: var(--accent-deep); }
@media (max-width: 575.98px) { .author-box { flex-direction: column; align-items: flex-start; } }

/* ---------- Blog groups, share ---------- */
.topic-bar a.tag { text-decoration: none; }
.topic-bar a.tag:hover { border-color: var(--primary-color); color: var(--accent-deep); }
.blog-group { scroll-margin-top: 6em; }
.blog-group__title { margin: 0 0 1em; }
.share__copy {
    font-family: var(--monofont); font-size: .75em; color: var(--ink-color-2); background: transparent;
    border: 1px solid var(--line-color-2); border-radius: .4375em; padding: .375em .75em; cursor: pointer;
}
.share__copy:hover { border-color: var(--primary-color); color: var(--accent-deep); }

/* ---------- About ---------- */
.about-hero { display: flex; gap: 2.5em; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.about-hero__photo { margin: 0; }
.about-hero__photo img { width: 192px; height: 192px; border-radius: 50%; object-fit: cover; display: block; }
.home-about__media { display: flex; justify-content: center; }
.home-about__photo { max-width: 16em; }
.eol-table td:nth-child(2), .eol-table td:nth-child(3) { white-space: nowrap; }

/* Accessible link colour (4.5:1 on paper backgrounds) for the new components */
.related-links a, .svc-row__more a, .case-study__more, .home-about__more, .facts-box__source a, .eol-source a,
.callout-box a, .author-box__links a, .home-stats__note a, .crumb a { color: #a83a0c; }
.home-stats__note a, .facts-box__source a, .eol-source a, .callout-box a, .author-box__links a { text-decoration: underline; }
.way-card__foot, .offer-card__price { color: #a83a0c; }

.callout-box__source { margin: .75em 0 0; font-size: .875em; color: var(--muted-color); line-height: 1.6; }
.callout-box__source a { color: #a83a0c; text-decoration: underline; }

/*
 * Above-the-fold content is visible on first paint (no intro loader).
 * The theme's .animate starts at opacity 0 on desktop and waits for JS; for the first
 * section of each page we keep a short rise-in that only animates transform, so the
 * LCP element paints immediately and nothing shifts layout. !important beats the
 * inline animation the theme JS sets later.
 */
@keyframes heroRise { from { transform: translateY(14px); } to { transform: none; } }
.home-hero .animate,
main > section:first-child .animate,
main > article:first-child .article-head .animate {
    opacity: 1 !important;
    transform: none !important;
    animation: heroRise .6s ease-out both !important;
}
@media (prefers-reduced-motion: reduce) {
    .home-hero .animate,
    main > section:first-child .animate,
    main > article:first-child .article-head .animate { animation: none !important; }
}

/* Accessibility (old theme leftovers) */
/*
 * WCAG AA colour contrast. The theme orange #F26322 is 3.2:1 on white (text and white-on-orange buttons fail).
 * #C2410C keeps the orange hue at 5.2:1 on white and 4.6:1 on the paper background.
 * Muted grey #8a8276 (3.8:1) becomes #6f685d (5.5:1). To go back to the old colours, delete this block.
 * html:root beats the :root in home.min.css, which loads after this file.
 */
html:root {
    --primary-color: #C2410C;
    --accent-deep: #a83a0c;
    --muted-color-2: #6f685d;
}
.home-hero__type-kw { color: var(--primary-color); }
/* Footer column titles are h2 (was h4, which skipped levels); same look as before. */
.site-footer .footer-col h2.footer-col__title {
    font-size: .75em; font-family: var(--monofont); text-transform: uppercase; letter-spacing: .14em;
    color: color-mix(in srgb, var(--ink-invert) 50%, transparent); font-weight: 500; margin: 0 0 1.125em; line-height: normal;
}
.faq-item p.faq-item__link { padding-top: 0; margin-top: -.75em; }
.faq-item__link a { color: #a83a0c; font-weight: 600; text-decoration: underline; }

/* Grouped services dropdown (round 3) */
.nav-dd__group ul { list-style: none; margin: 0; padding: 0; }
.nav-dd__title {
    font-family: var(--monofont); font-size: .6875em; letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted-color-2); margin: 0 0 .25em; padding: .5em .75em 0;
}
.nav-dd__list--groups .nav-dd__all { margin: 0; }
@media (min-width: 1200px) {
    .nav-dd__list--groups {
        display: grid; grid-template-columns: repeat(3, minmax(13em, 1fr)); gap: .25em .5em;
        min-width: 44em; left: -12em; padding: .75em;
    }
    .nav-dd__list--groups .nav-dd__all { grid-column: 1 / -1; }
}
@media (max-width: 1199.98px) {
    .nav-dd__title { padding: .75em 0 0; font-size: .75em; }
    .nav-dd__group + .nav-dd__group { margin-top: .25em; }
}
@media (min-width: 992px) { .site-footer .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr .9fr; } }

/* Homepage "Why work with an independent engineer" (proc-grid is only in custom.min.css) */
.home .home-why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-color); border: 1px solid var(--line-color); border-radius: var(--radius-lg); overflow: hidden; }
.home .home-why__grid .proc { background: var(--white-color); padding: 1.875em 1.625em 2.125em; }
.home .home-why__grid .proc .n { font-family: var(--monofont); font-size: .75em; color: var(--primary-color); }
.home .home-why__grid .proc h3 { font-size: 1.1875em; margin-top: 1em; }
.home .home-why__grid .proc p { font-size: .90625em; color: var(--muted-color); margin: .625em 0 0; line-height: 1.5; }
@media (max-width: 991.98px) { .home .home-why__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .home .home-why__grid { grid-template-columns: 1fr; } }
.home-why { padding-top: 0; }
.home-why__more { color: #a83a0c; font-weight: 600; text-decoration: underline; }

/* Independent vs agency comparison */
.compare-grid { grid-template-columns: 1fr 1fr; }
.compare-grid .eng h2.h3 { font-size: 1.5em; margin-top: .875em; }
@media (max-width: 991.98px) { .compare-grid { grid-template-columns: 1fr; } }
.cta-band__link { color: inherit; text-decoration: underline; }
.facts-box__list a { color: #a83a0c; text-decoration: underline; }

/* ---------- Round 4: key facts, last updated, countries, testimonial source ---------- */
/* Key facts: intro column (bio + CTAs) beside stat tiles and labelled rows. Values come from config. */
.key-facts-section { padding-top: 0; }
.key-facts {
    display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(1.75em, 4vw, 3.5em);
    border: 1px solid var(--line-color); border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--paper-color) 0%, var(--white-color) 100%);
    padding: clamp(1.5em, 4vw, 3em); position: relative; overflow: hidden;
}
.key-facts::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--primary-color);
}
.key-facts__title { font-size: clamp(1.75em, 3vw, 2.5em); line-height: 1.1; margin: .5em 0 .5em; letter-spacing: -.03em; font-weight: 400; }
.key-facts__bio { margin: 0; color: var(--ink-color-2); line-height: 1.6; font-size: 1.0625em; }
.key-facts__actions { display: flex; flex-wrap: wrap; gap: .75em; margin-top: 1.75em; }
.key-facts__stats {
    list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px; background: var(--line-color); border: 1px solid var(--line-color); border-radius: var(--radius-md); overflow: hidden;
}
.key-facts__stats li { margin: 0; background: var(--white-color); padding: 1em .875em; display: flex; flex-direction: column; gap: .375em; }
.key-facts__num { font-size: clamp(1.375em, 2.4vw, 1.875em); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--ink-color); }
.key-facts__stats li:first-child .key-facts__num { color: var(--primary-color); }
.key-facts__lbl { font-family: var(--monofont); font-size: .6875em; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-color-2); }
.key-facts__source { margin: .75em 0 1.25em; font-size: .8125em; color: var(--muted-color); }
.key-facts__source a { color: #a83a0c; text-decoration: underline; }
.key-facts__list { margin: 0; display: grid; gap: 0; }
.key-facts__list > div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 1em; padding: .875em 0; border-top: 1px solid var(--line-color); align-items: baseline; }
.key-facts__list > div:last-child { border-bottom: 1px solid var(--line-color); }
.key-facts__list dt { font-family: var(--monofont); font-size: .75em; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-color-2); }
.key-facts__list dd { margin: 0; line-height: 1.55; color: var(--ink-color-2); font-size: .9375em; }
.key-facts__list dd a { color: #a83a0c; text-decoration: underline; }
.key-facts__pills { display: flex; flex-wrap: wrap; gap: .4375em; align-items: center; }
.key-facts__pills a {
    text-decoration: none !important; color: var(--ink-color-2) !important; font-size: .875em; line-height: 1.2;
    border: 1px solid var(--line-color-2); border-radius: 2em; padding: .375em .8125em; background: var(--white-color);
    transition: border-color .15s ease, color .15s ease;
}
.key-facts__pills a:hover { border-color: var(--primary-color); color: var(--accent-deep) !important; }
.key-facts__pills a.key-facts__more { border-style: dashed; color: #a83a0c !important; }
.key-facts__pills span { font-size: .875em; color: var(--muted-color); }
@media (max-width: 991.98px) {
    .key-facts { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .key-facts__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .key-facts__stats li:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .key-facts__list > div { grid-template-columns: 1fr; gap: .375em; }
}

.last-updated { font-family: var(--monofont); font-size: .8125em; color: var(--muted-color-2); margin: 1.25em 0 0; }
.footer-countries { display: flex; flex-wrap: wrap; gap: .5em 1.25em; padding: 1.5em 0; margin-top: 2em; border-top: 1px solid rgba(255,255,255,.12); font-size: .875em; }
.footer-countries__label { color: color-mix(in srgb, var(--ink-invert) 60%, transparent); }
.footer-countries a { color: inherit; text-decoration: underline; text-underline-offset: 2px; display: inline-block; padding: .4em 0; }
.testimonial-card__source { font-size: .8125em; color: var(--muted-color-2); margin: .75em 0 0; }
.testimonial-card__source a, .home-testimonials .measure-sm a { color: #a83a0c; text-decoration: underline; }
.country-prose .table-wrap { margin: 1em 0 1.5em; }
.country-prose .eol-table, .prose .price-table { min-width: 0; }
.prose .table-wrap table { font-size: .9375em; }
.prose .table-wrap a { color: #a83a0c; }
.checklist li { margin-bottom: .75em; }
.offer-answer { color: var(--ink-color-2); font-weight: 500; }
.price-box__q { font-size: clamp(1.25em, 2.4vw, 1.625em); margin: 0 0 .5em; letter-spacing: -.02em; }
.post-service { max-width: 45em; margin: 2.5em auto 0; padding: 1.25em 1.5em; border: 1px solid var(--line-color); border-left: 4px solid var(--primary-color); border-radius: var(--radius-md); background: var(--paper-color); }
.post-service p { margin: 0; }
.post-service a { color: #a83a0c; font-weight: 600; text-decoration: underline; }
.article-head .last-updated { margin-top: 1em; }
@media (max-width: 575.98px) {
    .hours-table td, .hours-table th { white-space: normal !important; padding: .625em .625em; font-size: .875em; }
}

/*
 * Header fit on narrower desktops (1200 to 1599px). With the 16px minimum base size the
 * logo, six nav items and two buttons do not fit inside the 13.4% side padding of .container-s,
 * so the header gets a wider container and tighter spacing at these widths only.
 */
@media (min-width: 1200px) and (max-width: 1599.98px) {
    .header .container-s { padding: 0 4%; }
    .header .menu { gap: .375em; flex-wrap: nowrap; }
    .header .menu__menuitem { padding-left: .625em; padding-right: .625em; }
    .header .menu__menuitem--menulink { font-size: .9375em; white-space: nowrap; }
    .header-right { margin-left: .75em; }
    .header .searchLanguageWrap { gap: .5em; }
}
@media (min-width: 1200px) {
    .header .btnnColorChange { white-space: nowrap; }
}

/*
 * Homepage hero: keep the photo beside the text from 768px up. The theme uses a wrapping
 * flex row (text ~60%, photo 34%, gap 5em); with the 16px desktop base the em gap pushed the
 * total past 100% and the photo wrapped onto its own line. A two column grid cannot overflow.
 */
@media (min-width: 768px) {
    .home-hero__grid {
        display: grid;
        grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
        column-gap: clamp(2rem, 4vw, 5rem);
        align-items: end;
    }
    .home-hero__main, .home-hero__side { width: auto; min-width: 0; }
    .home-hero__side { justify-self: end; width: 100%; max-width: 24em; }
}

/*
 * Quote popup: the theme centres it with top:50% + translateY(-50%) and no max-height, so
 * once the content is taller than the window the top (with the close button) and the bottom
 * are cut off. Cap it at the window height and scroll inside it instead.
 */
.modal.quote-popup {
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    max-width: min(92em, calc(100vw - 2rem));
    overflow-y: auto;
    overscroll-behavior: contain;
}
@media (max-width: 575.98px) {
    .modal.quote-popup { height: auto; max-height: calc(100dvh - 1rem); max-width: calc(100vw - 1rem); }
}
/* Booking button label never breaks; in the narrow footer column the whole button moves to the next row instead. */
.btn-booking.btnnColorChange { white-space: nowrap; }

/* Ways to work with me (2026-11 growth plan) */
.svc-row > .left, .svc-row > .right { min-width: 0; }
.svc-row .table-wrap { margin: 0 0 1.375em; }
.svc-row .price-table { min-width: 34em; }
.hub-table { min-width: 52em; }
.hub-table tbody th, .hub-table td:nth-child(2), .hub-table td:nth-child(3) { white-space: normal; }
.hub-table tbody th { min-width: 11em; }
.hiring-case-link { margin-top: 1.25em; }
.hiring-case-link a { color: #a83a0c; text-decoration: underline; }
.price-box .deliver { margin: 1em 0; }
.who-list a { color: #a83a0c; text-decoration: underline; }
.section-head p a { color: #a83a0c; text-decoration: underline; }

/* Phase 2: emergency, hacked, takeover, handover checklist */
.footer-urgent { margin-top: -1em; }
.work-status { padding: .875em 1em; border-radius: var(--radius-md); background: var(--paper-color-2); border-left: 4px solid var(--muted-color-2); color: var(--ink-color) !important; }
.work-status.is-open { border-left-color: #1f7a3d; }
.work-status.is-closed { border-left-color: #a83a0c; }
.handover-list { list-style: none; padding-left: 0; }
.handover-list li { padding: .75em 0; border-bottom: 1px solid var(--line-color); }
.handover-list label { display: flex; gap: .75em; align-items: flex-start; cursor: pointer; }
.handover-list input[type="checkbox"] { width: 1.125em; height: 1.125em; margin-top: .25em; flex: 0 0 auto; accent-color: var(--primary-color); }
.handover-list small { color: var(--muted-color); font-size: .875em; }
.callout-box__source a { color: #a83a0c; text-decoration: underline; }
.svc-row__more a { color: #a83a0c; }
@media print {
    .header, .site-footer, .cta-band, .page-hero__actions, .crumb, .no-print, .quote-popup, .modal-backdrop, #portrait-warning, #sa-recaptcha, .grecaptcha-badge { display: none !important; }
    .animate { opacity: 1 !important; transform: none !important; visibility: visible !important; }
    body { background: #fff !important; }
    .handover-list li { break-inside: avoid; }
    .prose h2 { break-after: avoid; }
}
.svc-row .hours-table { min-width: 0; }
.svc-row .hours-table tbody th { white-space: normal; }
.svc-row .hours-table small { font-weight: 400; color: var(--muted-color); }
.handover-signup { margin: 2.5em 0 1.5em; padding: 1.5em; border: 1px solid var(--line-color); border-radius: var(--radius-lg); background: var(--paper-color-2); }
.handover-signup > h2, .handover-signup__intro, .handover-signup__consent { flex-basis: 100%; margin: 0; }
.handover-signup input[type="email"] { flex: 1 1 16em; min-width: 0; }
.handover-signup__consent { display: flex; gap: .625em; align-items: flex-start; font-size: .9375em; color: var(--muted-color); }
.handover-signup__consent input { width: 1.125em; height: 1.125em; margin-top: .2em; flex: 0 0 auto; accent-color: var(--primary-color); }
.svc-row .right p a { color: #a83a0c; text-decoration: underline; }

/* Phase 3: Fix Library */
.fix-symptom { padding: 1em 1.25em; border-left: 4px solid var(--primary-color); background: var(--paper-color-2); border-radius: var(--radius-md); margin-bottom: 1.5em; }
.fix-symptom p { margin: 0; }
.fix-symptom .subHead { margin-bottom: .375em; }
.fix-note { font-size: .9375em; color: var(--muted-color); }
.fix-note--warn { border-left: 4px solid #a83a0c; padding-left: .75em; }
.fix-steps li { margin-bottom: 1em; }
.fix-code { margin: .625em 0 0; padding: .875em 1em; background: #16140f; color: #f4f1eb; border-radius: var(--radius-md); overflow-x: auto; font-family: var(--monofont); font-size: .8125em; line-height: 1.6; white-space: pre; max-width: 100%; }
.fix-code code { font-family: inherit; color: inherit; background: none; padding: 0; }
.fix-help { margin: 2em 0; }
.fix-help a { color: #a83a0c; text-decoration: underline; }
.fix-index__jump { display: flex; flex-wrap: wrap; gap: .5em .75em; margin-bottom: 1.5em; }
.fix-index__jump a { font-size: .875em; padding: .375em .75em; border: 1px solid var(--line-color); border-radius: 999px; text-decoration: none; }
.fix-index__list { list-style: none; padding-left: 0; }
.fix-index__list li { padding: .875em 0; border-bottom: 1px solid var(--line-color); }
.fix-index__list small { color: var(--muted-color); }
.svc-row .deliver a { color: #a83a0c; text-decoration: underline; }
/* Desktop nav with Fix Library: keep dropdown arrows beside their labels on 1200 to 1365px screens. */
@media (min-width: 1200px) {
    .menu .nav-dd { flex-wrap: nowrap; }
    .menu__menuitem--menulink { white-space: nowrap; }
}
@media (min-width: 1200px) and (max-width: 1365px) {
    .menu__menuitem { padding-left: .5em; padding-right: .5em; }
    .menu { gap: .25em; }
}
.fix-step-note { margin: .5em 0 0; font-size: .9375em; color: var(--muted-color); border-left: 3px solid var(--line-color-2); padding-left: .75em; }

/* Phase 4: free tools */
.tool-estimate-note { margin: 1.25em 0 0; padding: .75em 1em; border-left: 4px solid var(--primary-color); background: var(--paper-color-2); border-radius: var(--radius-md); font-size: .9375em; max-width: 46em; }
.tool-form { padding: 1.5em; border: 1px solid var(--line-color); border-radius: var(--radius-lg); background: var(--white-color); }
.tool-form label { display: block; font-weight: 600; font-size: .9375em; margin: .75em 0 .375em; }
.tool-form input[type="text"], .tool-form input[type="number"], .tool-form input[type="email"], .tool-form select, .tool-form textarea { width: 100%; min-width: 0; padding: .75em .875em; border: 1px solid var(--line-color-2); border-radius: var(--radius-md); font: inherit; background: var(--white-color); }
.tool-form textarea { font-family: var(--monofont); font-size: .8125em; }
.tool-form__row { display: flex; flex-wrap: wrap; gap: .75em; align-items: center; margin-top: .75em; }
.tool-form__row input { flex: 1 1 16em; }
.tool-form__hint, .tool-local-note { font-size: .875em; color: var(--muted-color); margin: .5em 0 0; }
.tool-local-note { margin: 0 0 .5em; }
.tool-form__msg { margin: .75em 0 0; font-size: .9375em; }
.tool-form__msg.is-error { color: var(--accent-deep); }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14em, 1fr)); gap: .25em 1.25em; border: 0; padding: 0; margin: 0 0 1em; min-width: 0; }
.tool-grid legend { font-weight: 700; font-size: 1.0625em; padding: 0; margin: .75em 0 0; grid-column: 1 / -1; }
.tool-field { min-width: 0; }
.tool-grid .tool-form__row { grid-column: 1 / -1; }
.tool-results { margin-top: 1.5em; padding: 1.5em; border: 1px solid var(--line-color); border-radius: var(--radius-lg); background: var(--paper-color); scroll-margin-top: 6em; }
.tool-results__group { font-size: 1.0625em; margin: 1.5em 0 .5em; }
.tool-results__note { font-size: .875em; color: var(--muted-color); margin-top: 1.25em; }
.tool-score { display: flex; gap: 1em; align-items: center; flex-wrap: wrap; }
.tool-score__num { font-size: 2.5em; font-weight: 700; margin: 0; letter-spacing: -.03em; }
.tool-score__num--word { font-size: 2em; }
.tool-score__title { font-weight: 600; margin: 0; }
.tool-score__meta { margin: .25em 0 0; font-size: .875em; color: var(--muted-color); overflow-wrap: anywhere; }
.tool-checks { list-style: none; padding: 0; margin: 0; }
.tool-check { display: flex; gap: .75em; align-items: flex-start; padding: .75em 0; border-bottom: 1px solid var(--line-color); }
.tool-check p { margin: .25em 0 0; font-size: .9375em; color: var(--muted-color); overflow-wrap: anywhere; }
.tool-check__badge { flex: 0 0 auto; font-size: .75em; font-weight: 700; padding: .25em .625em; border-radius: 999px; background: var(--paper-color-3); white-space: nowrap; }
.tool-check--good .tool-check__badge { background: #dcefe2; color: #14532d; }
.tool-check--check .tool-check__badge { background: #fbe3d4; color: #7a2a08; }
.tool-summary { padding-left: 1.1em; }
.tool-summary li { margin: .375em 0; overflow-wrap: anywhere; }
.tool-vendors details { padding: .5em 0; border-bottom: 1px solid var(--line-color); }
.tool-vendors summary { cursor: pointer; font-weight: 600; }
.tool-vendors ul { font-family: var(--monofont); font-size: .8125em; overflow-wrap: anywhere; }
.tool-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(17em, 1fr)); gap: 1.25em; }
.tool-compare__col { min-width: 0; }
.tool-compare .eol-table { min-width: 0; }
.tool-compare .eol-table tbody th { white-space: normal; font-weight: 500; }
.tool-compare__total th, .tool-compare__total td { font-weight: 700 !important; }
.tool-cta-links { display: flex; flex-wrap: wrap; gap: .5em 1.5em; }
.tool-cta-links a, .tool-privacy a, .tool-results a { color: #a83a0c; text-decoration: underline; }
.tool-privacy { margin: 1.5em 0; }
.tool-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16em, 1fr)); gap: 1.25em; }
.tool-card { display: flex; flex-direction: column; padding: 1.5em; border: 1px solid var(--line-color); border-radius: var(--radius-lg); background: var(--white-color); color: inherit; text-decoration: none; }
.tool-card:hover { border-color: var(--primary-color); }
.tool-card p { color: var(--muted-color); font-size: .9375em; flex: 1; }
.tool-card__go { color: #a83a0c; font-weight: 600; font-size: .9375em; }
.eol-alert { padding: 1.75em; border: 1px solid var(--line-color); border-radius: var(--radius-lg); background: var(--paper-color-2); scroll-margin-top: 6em; }
.eol-alert .h3 { margin: .375em 0 .5em; line-height: 1.2; }
.eol-alert__form { margin-top: 1em; }
.eol-alert__form select { flex: 1 1 16em; min-width: 0; padding: .75em; border: 1px solid var(--line-color-2); border-radius: var(--radius-md); font: inherit; background: var(--white-color); }
.eol-alert__form input[type="email"] { flex: 1 1 14em; min-width: 0; }
.eol-alert__form .handover-signup__consent { flex-basis: 100%; }
.eol-alert__older { font-size: .9375em; color: var(--muted-color); margin: 1em 0 0; }
.eol-alert__older a, .home-free-tools .measure-sm a { color: #a83a0c; text-decoration: underline; }
.handover-signup__consent a { color: #a83a0c; text-decoration: underline; }
.sources-box { padding: 1.25em 1.5em; border: 1px solid var(--line-color); border-radius: var(--radius-lg); background: var(--paper-color); }
.sources-box ul { margin: .5em 0 .75em; padding-left: 1.1em; }
.sources-box li { margin: .375em 0; overflow-wrap: anywhere; }
.sources-box a { color: #a83a0c; text-decoration: underline; }
.prose .guide-table { min-width: 44em; }
.guide-table tbody th { white-space: normal; width: 11em; }
.guide-table td { white-space: normal !important; min-width: 10em; }

/* Phase 6: security bulletins and Magento Pulse reports */
.bulletin-draft { margin: 0 0 1.25em; padding: .75em 1em; border-left: 4px solid #a83a0c; background: #fbe3d4; border-radius: var(--radius-md); font-size: .9375em; color: #3d1a07; }
.bulletin-facts { min-width: 0 !important; }
.bulletin-facts tbody th { white-space: normal; width: 12em; }
.bulletin-facts a, .prose.bulletin a, .prose.report a, .latest-bulletin a { color: #a83a0c; text-decoration: underline; }
.report-figure { margin: 2em 0; padding: 1.25em; border: 1px solid var(--line-color); border-radius: var(--radius-lg); background: #fff; }
.report-figure figcaption .h4 { margin: 0 0 .75em; }
.report-figure__plot { overflow-x: auto; }
.hbar { display: grid; gap: .25em; }
.hbar__row { display: grid; grid-template-columns: minmax(7em, 28%) 1fr; gap: .75em; align-items: center; padding: .375em .5em; border-radius: var(--radius-md); }
.hbar__row:hover { background: #f4f1eb; }
.hbar__label { font-size: .875em; color: #3d382f; text-align: right; overflow-wrap: anywhere; }
.hbar__track { display: flex; align-items: center; gap: .5em; min-width: 0; border-left: 1px solid #d8d2c5; }
.hbar__bar { display: block; height: 16px; background: #c2511b; border-radius: 0 4px 4px 0; flex: none; }
.hbar__value { font-size: .875em; font-weight: 600; color: #1a1813; white-space: nowrap; }
@media (max-width: 480px) {
    .hbar__row { grid-template-columns: 1fr; gap: .25em; }
    .hbar__label { text-align: left; }
}
.report-figure__note { font-size: .875em; color: var(--muted-color); margin: .5em 0 0; }
.report-figure__table { margin-top: .75em; }
.report-figure__table summary { cursor: pointer; font-size: .9375em; }
.bulletin-alert { margin: 1.25em 0 0; padding: 1em 1.25em; border: 2px solid #a83a0c; background: #fbe3d4; border-radius: var(--radius-md); color: #3d1a07; max-width: 50em; }
.bulletin-alert p { margin: 0; }
.bulletin-alert p + p { margin-top: .5em; }
.bulletin-alert a { color: #7a2a08; font-weight: 600; text-decoration: underline; }
.bulletin-facts td { white-space: normal !important; }

/* Phase 7: homepage What's new */
.whats-new { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1em; }
.whats-new__card { display: flex; flex-direction: column; padding: 1.25em; border: 1px solid var(--line-color); border-radius: var(--radius-lg); background: #fff; min-width: 0; }
.whats-new__card .h4 { margin: .25em 0 .5em; line-height: 1.25; }
.whats-new__card p, .whats-new__card ul { font-size: .9375em; color: var(--muted-color); margin: 0 0 .75em; }
.whats-new__card ul { padding-left: 1.1em; }
.whats-new__card a { color: #a83a0c; text-decoration: underline; }
.whats-new__card .h4 a { color: inherit; text-decoration: none; }
.whats-new__kicker { font-family: var(--monofont); font-size: .75em !important; letter-spacing: .06em; text-transform: uppercase; color: #a83a0c !important; margin: 0 !important; }
.whats-new__alert a { font-weight: 600; }
.whats-new__more { margin-top: auto; font-weight: 600; font-size: .9375em; }
@media (max-width: 1100px) { .whats-new { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .whats-new { grid-template-columns: 1fr; } }
/* Phase 7: the Resources dropdown makes the menu wider; tighten it on 1200 to 1365px screens.
   Uses .header selectors because .header .menu__menuitem (1200 to 1599px) would otherwise win. */
@media (min-width: 1200px) and (max-width: 1365px) {
    .header .menu__menuitem { padding-left: .4375em; padding-right: .4375em; }
    .header .menu .nav-dd__toggle { width: 1.25em; }
    .header .menu { gap: .125em; }
}
.whats-new__card .h4 { font-size: 1.25em; letter-spacing: -.01em; }

/* Diagrams (tools/images/generate.js): wide version on larger screens, tall version on phones. */
.diagram { margin: 2.5em 0 0; }
.diagram__svg { display: block; width: 100%; height: auto; }
.diagram__svg--tall { display: none; max-width: 30em; margin: 0 auto; }
.diagram__caption { margin-top: .875em; font-size: .875em; color: var(--muted-color); text-align: center; }
@media (max-width: 899px) {
    .diagram__svg--wide { display: none; }
    .diagram__svg--tall { display: block; }
}
.article-cover picture, .blog-feat__media picture { display: block; width: 100%; height: 100%; }

/* Magento release schedule and end of life page */
.eol-table--full { min-width: 52em; }
.is-soon .eol-status { background: #fff4d6; color: #7a5200; }
.eol-note { display: block; font-size: .8125em; color: var(--muted-color); margin-top: .375em; line-height: 1.45; }
.eol-php-cell { font-family: var(--monofont); font-size: .875em; white-space: nowrap; }
.eol-table sup { font-size: .75em; }
.eol-footnotes { list-style: none; padding: 0; margin: 1em 0 0; font-size: .875em; color: var(--muted-color); line-height: 1.6; }
.eol-footnotes li + li { margin-top: .375em; }
.eol-guide { display: grid; grid-template-columns: minmax(0, 1fr) 20em; gap: clamp(1.5em, 4vw, 3.5em); align-items: start; }
.eol-guide .prose ul { padding-left: 1.125em; }
.eol-guide .prose li + li { margin-top: .625em; }
.eol-sources ul { list-style: none; padding: 0; margin: .75em 0 1em; font-size: .875em; line-height: 1.55; }
.eol-sources li + li { margin-top: .625em; }
.eol-sources a { color: var(--accent-deep); text-decoration: underline; }
@media (max-width: 991px) { .eol-guide { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
    .table-wrap:has(.eol-table--full) { overflow: visible; border: 0; background: none; }
    .eol-table--full { min-width: 0; background: none; }
    .eol-table--full thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .eol-table--full, .eol-table--full tbody, .eol-table--full tr, .eol-table--full th, .eol-table--full td { display: block; }
    .eol-table--full tr { background: var(--white-color); border: 1px solid var(--line-color); border-radius: var(--radius-md); padding: .875em 1em; margin-bottom: .75em; }
    .eol-table--full tbody th { padding: 0 0 .5em; border: 0; font-size: 1.0625em; }
    .eol-table--full td { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: .75em; padding: .3125em 0; border: 0; white-space: normal !important; }
    .eol-table--full td::before { content: attr(data-label); font-family: var(--monofont); font-size: .75em; letter-spacing: .03em; color: var(--muted-color); padding-top: .2em; }
    .eol-table--full tbody tr:last-child th, .eol-table--full tbody tr:last-child td { border-bottom: 0; }
    .eol-table--full .eol-status { justify-self: start; }
    .eol-table--full .eol-note { grid-column: 2; margin-top: 0; }
    .eol-table--full .eol-php-cell { font-family: inherit; font-size: inherit; }
}

/* Blog post byline: small portrait instead of initials */
.article-meta picture { flex: none; display: block; width: 2.75em; height: 2.75em; }
.article-meta__photo { width: 2.75em; height: 2.75em; border-radius: 50%; object-fit: cover; display: block; }

/* Tables inside service page sections (e.g. NetSuite: what syncs, ways to integrate) */
.offer-table { min-width: 46em; }
.offer-table tbody th { white-space: normal; min-width: 8em; }
.offer-table td { white-space: normal !important; }
.offer-table__note { margin-top: -.5em; }
@media (max-width: 640px) {
    .table-wrap:has(.offer-table) { overflow: visible; border: 0; background: none; }
    .offer-table { min-width: 0; background: none; }
    .offer-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .offer-table, .offer-table tbody, .offer-table tr, .offer-table th, .offer-table td { display: block; }
    .offer-table tr { background: var(--white-color); border: 1px solid var(--line-color); border-radius: var(--radius-md); padding: .875em 1em; margin-bottom: .75em; }
    .offer-table tbody th { padding: 0 0 .5em; border: 0; font-size: 1.0625em; }
    .offer-table td { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: .75em; padding: .3125em 0; border: 0; }
    .offer-table td::before { content: attr(data-label); font-family: var(--monofont); font-size: .75em; letter-spacing: .03em; color: var(--muted-color); padding-top: .2em; }
}

/* Sources lists: enough space between links for touch (WCAG target size) */
.sources-box li + li { margin-top: .5em; }
.sources-box a { display: inline-block; padding: .125em 0; }

/* Homepage "What's on this site" */
.home-scope { padding-top: 0; }
.home-scope__title { margin: 0 0 .25em; }
.home-scope__lead { margin: 0 0 1em; }
.home-scope__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75em; }
.home-scope__list a { display: block; padding: .875em 1em; border: 1px solid var(--line-color); border-radius: var(--radius-md); background: #fff; color: var(--ink-color); text-decoration: none; line-height: 1.35; min-height: 44px; }
.home-scope__list a:hover, .home-scope__list a:focus-visible { border-color: var(--primary-color); }
.home-scope__list b { font-size: 1.25em; color: var(--accent-deep); margin-right: .125em; }
@media (max-width: 767px) { .home-scope__list { grid-template-columns: 1fr; } }
.home-scope__list li { display: flex; }
.home-scope__list li > a { flex: 1; }

/* Case study: link to the other side of the same client project */
.cs-see-also { margin-top: .75em; }
.cs-see-also a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; text-underline-offset: .15em; }

/* Service page hero illustration (assets/images/services/<slug>.svg): beside the text, hidden on phones */
.offer-hero.has-art { display: grid; grid-template-columns: minmax(0, 1fr) clamp(13rem, 26vw, 21rem); gap: clamp(1.5em, 4vw, 3.5em); align-items: center; }
.offer-hero__art img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
    .offer-hero.has-art { display: block; }
    .offer-hero__art { display: none; }
}

/* Topic icons (assets/icons/topics): fix pages, tools and country lists */
.topic-icon { display: block; width: 2.75em; height: 2.75em; flex: none; }
.fix-index__list li.has-icon, .country-list li.has-icon { display: flex; gap: .875em; align-items: flex-start; }
.country-list li.has-icon { align-items: center; list-style: none; }
.country-list { padding-left: 0; }
.country-list .topic-icon { width: 2.25em; height: 2.25em; }
.tool-card .topic-icon { margin-bottom: .75em; }
.topic-icon--hero { margin-bottom: .75em; }

/* /services/ engagement labels, WCAG AA: darker orange on the white cards (6.4:1), brand orange on the dark featured card */
.eng:not(.featured) .et { color: #a83a0c; }
.eng.featured .et { color: #f26322; }
