/* =========================================================================
   EAOY Factory — design system
   ---------------------------------------------------------------------
   Direction: warm, photography-led trade catalogue. The reference site
   (en.laceftory.cn) leads with full-bleed product photography, a warm neutral
   page, and a serif display face; the palette below is sampled from the
   factory's own assets — the product shots sit between #a04040 (warm red) and
   #c6938a (cream pink) at brightness 118–165, and the company logo is #a04d56.
   So: cream paper, deep pine ink, clay accent. No fluorescent green.

   Layout grid: 1360px container, 64px gutters, 88px section rhythm.
   ========================================================================= */

:root {
    /* --- Colour ---------------------------------------------------------- */
    --paper:      #ffffff;
    --cream:      #faf6f1;   /* page tint, sampled warm                          */
    --sand:       #f3ece4;   /* soft section background                          */
    --line:       #e6ddd2;   /* hairline on warm paper                           */

    --ink:        #1d1a17;   /* near-black, warm                                 */
    --muted:      #6f665d;   /* body secondary copy                              */

    --pine:       #1f3a30;   /* primary dark — was #173d31, desaturated toward
                                the greens inside the factory photos              */
    --pine-hover: #2c4d40;

    --clay:       #a04d56;   /* accent — the logo colour                          */
    --clay-hover: #8a3f48;

    /* Back-compat aliases: templates written against the previous token
       names keep working, so no template has to change in lockstep. */
    --soft:       var(--sand);
    --accent:     var(--clay);
    --dark:       var(--pine);
    --dark-hover: var(--pine-hover);

    /* --- Type ------------------------------------------------------------ */
    --font:         Arial, Helvetica, sans-serif;
    --font-display: Arial, Helvetica, sans-serif;

    /* --- Metrics --------------------------------------------------------- */
    --wrap:    1360px;
    --pad:     64px;
    --section: 88px;

    --radius:    2px;
    --radius-lg: 4px;
    --shadow:    0 1px 2px rgba(29, 26, 23, 0.04), 0 10px 30px rgba(29, 26, 23, 0.07);
    --shadow-lg: 0 2px 4px rgba(29, 26, 23, 0.05), 0 24px 60px rgba(29, 26, 23, 0.12);
}

/* -------------------------------------------------------------------------
   Reset
   ---------------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--pine);
    text-decoration: none;
}

a:hover {
    color: var(--clay);
}

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 48px 0;
}

::selection {
    background: var(--clay);
    color: #fff;
}

/* -------------------------------------------------------------------------
   Typography — serif display over sans body
   ---------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.5em;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 500;
    font-variation-settings: 'SOFT' 0, 'WONK' 0;
}

h1 {
    font-size: clamp(38px, 5.4vw, 76px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

h2 {
    font-size: clamp(28px, 3.4vw, 46px);
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.14;
}

h3 {
    font-size: clamp(19px, 1.6vw, 23px);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

h4 {
    font-size: 17px;
    font-weight: 600;
    font-family: var(--font);
    line-height: 1.35;
}

h5, h6 {
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font);
}

p {
    margin: 0 0 1.1em;
}

p:last-child {
    margin-bottom: 0;
}

ul, ol {
    margin: 0 0 1.1em;
    padding-left: 1.2em;
}

li {
    margin-bottom: 0.4em;
}

strong, b {
    font-weight: 600;
}

code {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.92em;
}

blockquote {
    margin: 32px 0;
    padding: 0 0 0 24px;
    border-left: 3px solid var(--clay);
    color: var(--muted);
    font-family: var(--font-display);
    font-size: 19px;
    font-style: italic;
}

/* Utility type */
.eyebrow,
.u-eyebrow {
    display: block;
    margin: 0 0 14px;
    font-family: var(--font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--clay);
}

.lead,
.u-lead {
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.6;
    color: var(--muted);
}

.u-muted {
    color: var(--muted);
}

.u-small {
    font-size: 13px;
    line-height: 1.6;
}

.u-measure {
    max-width: 68ch;
}

.u-measure-tight {
    max-width: 54ch;
}

.u-center {
    text-align: center;
}

/* -------------------------------------------------------------------------
   Layout primitives
   ---------------------------------------------------------------------- */

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--pad);
}

.wrap--narrow {
    max-width: 940px;
}

.wrap--wide {
    max-width: 1560px;
    padding: 0 40px;
}

.section {
    padding: var(--section) 0;
}

.section--tight {
    padding: calc(var(--section) * 0.62) 0;
}

.section--loose {
    padding: calc(var(--section) * 1.25) 0;
}

.section--soft {
    background: var(--sand);
}

.section--cream {
    background: var(--cream);
}

.section--dark {
    background: var(--pine);
    color: #fff;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: #fff;
}

.section--dark .eyebrow {
    color: rgba(255, 255, 255, 0.6);
}

.section--dark .u-muted,
.section--dark .lead {
    color: rgba(255, 255, 255, 0.72);
}

.section--line {
    border-top: 1px solid var(--line);
}

.section--flush {
    padding: 0;
}

.section__head {
    max-width: 780px;
    margin-bottom: 52px;
}

.section__head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section__head h2 {
    margin-bottom: 16px;
}

.section__head p:last-child {
    margin-bottom: 0;
}

/* Section header with a right-aligned action on the same baseline. */
.section__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 44px;
}

.section__bar .section__head {
    margin-bottom: 0;
}

.grid {
    display: grid;
    gap: 32px;
}

.grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid--sidebar {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 64px;
}

/* Photographic grid — gaps stay tight so a mosaic reads as one plane. */
.grid--mosaic {
    gap: 14px;
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
    align-items: center;
}

.split--wide {
    gap: 96px;
}

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

.button,
.button:visited,
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 13px 28px;
    border: 1px solid var(--pine);
    border-radius: var(--radius);
    background: var(--pine);
    color: #fff;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.button:hover,
.button:focus-visible,
.wp-block-button__link:hover {
    background: var(--pine-hover);
    border-color: var(--pine-hover);
    color: #fff;
}

.button--accent {
    background: var(--clay);
    border-color: var(--clay);
    color: #fff;
}

.button--accent:hover {
    background: var(--clay-hover);
    border-color: var(--clay-hover);
    color: #fff;
}

.button--ghost {
    background: transparent;
    border-color: rgba(29, 26, 23, 0.22);
    color: var(--ink);
}

.button--ghost:hover {
    background: var(--pine);
    border-color: var(--pine);
    color: #fff;
}

.button--light {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
}

.button--light:hover {
    background: #fff;
    border-color: #fff;
    color: var(--clay);
}

.button--lg {
    min-height: 56px;
    padding: 16px 34px;
}

.button--sm {
    min-height: 42px;
    padding: 10px 20px;
    font-size: 12px;
}

/* A text link that reads as an action, with an arrow that nudges on hover. */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--pine);
}

.link-arrow::after {
    content: '';
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: width 0.18s ease;
}

.link-arrow:hover::after {
    width: 30px;
}

.section--dark .button--ghost,
.section--dark .button--ghost:visited {
    border-color: rgba(255, 255, 255, 0.34);
    color: #fff;
}

.section--dark .button--ghost:hover {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
}

.section--dark .link-arrow {
    color: #fff;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* -------------------------------------------------------------------------
   Hero — full-bleed photography with an overlaid message
   ---------------------------------------------------------------------- */

.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(560px, 82vh, 860px);
    background: var(--pine);
    color: #fff;
    overflow: hidden;
}

.hero--tall {
    min-height: clamp(620px, 92vh, 960px);
}

.hero--short {
    min-height: clamp(420px, 58vh, 620px);
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 34%;
}

.hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(20, 33, 27, 0.86) 0%, rgba(20, 33, 27, 0.42) 42%, rgba(20, 33, 27, 0.12) 72%),
        linear-gradient(to right, rgba(20, 33, 27, 0.5), rgba(20, 33, 27, 0) 62%);
}

.hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-bottom: calc(var(--section) * 0.85);
    padding-top: calc(var(--section) * 1.6);
}

.hero h1,
.hero h2 {
    color: #fff;
    max-width: 18ch;
}

.hero__lead {
    max-width: 54ch;
    margin: 20px 0 32px;
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.86);
}

.hero .eyebrow {
    color: rgba(255, 255, 255, 0.72);
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 36px;
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.hero__meta strong {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: #fff;
}

/* The hero that carries a scrolling strip of category links along its foot. */
.hero__strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.hero__strip a {
    padding: 9px 18px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 100px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.hero__strip a:hover {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
}

/* -------------------------------------------------------------------------
   Page header (archives, single posts, taxonomy)
   ---------------------------------------------------------------------- */

.page-header {
    padding: calc(var(--section) * 0.85) 0 calc(var(--section) * 0.55);
    background: var(--cream);
    border-bottom: 1px solid var(--line);
}

.page-header h1 {
    margin-bottom: 18px;
    max-width: 20ch;
}

.page-header .lead {
    max-width: 62ch;
}

.page-header__crumbs {
    margin-bottom: 22px;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.page-header__crumbs a {
    color: var(--muted);
}

.page-header__crumbs a:hover {
    color: var(--clay);
}

.page-header__crumbs span + span::before {
    content: '/';
    margin: 0 10px;
    color: var(--line);
}

.page-header--image {
    position: relative;
    padding: calc(var(--section) * 1.35) 0 calc(var(--section) * 0.95);
    border-bottom: 0;
    background: var(--pine);
    color: #fff;
    overflow: hidden;
}

.page-header--image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(23, 44, 36, 0.9), rgba(23, 44, 36, 0.5));
}

.page-header--image .wrap {
    position: relative;
    z-index: 1;
}

.page-header--image h1 {
    color: #fff;
}

.page-header--image .lead {
    color: rgba(255, 255, 255, 0.8);
}

.page-header--image .page-header__crumbs,
.page-header--image .page-header__crumbs a {
    color: rgba(255, 255, 255, 0.7);
}

/* -------------------------------------------------------------------------
   Cards — text
   ---------------------------------------------------------------------- */

.card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.card h3 {
    margin: 0;
}

.card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
}

.card--soft {
    background: var(--sand);
    border-color: transparent;
}

.card--outline {
    background: transparent;
    border-color: var(--line);
}

/* Numbered capability card with a large clay index. */
.card__index {
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-size: 30px;
    line-height: 1;
    color: var(--clay);
}

/* -------------------------------------------------------------------------
   Media cards — the backbone of the catalogue
   ---------------------------------------------------------------------- */

.tile {
    position: relative;
    display: block;
    background: var(--sand);
    border-radius: var(--radius);
    overflow: hidden;
}

.tile--portrait {
    aspect-ratio: 4 / 5;
}

.tile--tall {
    aspect-ratio: 3 / 5;
}

.tile--square {
    aspect-ratio: 1 / 1;
}

.tile--wide {
    aspect-ratio: 16 / 10;
}

.tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.tile:hover img {
    transform: scale(1.045);
}

.tile__label {
    position: absolute;
    left: 16px;
    bottom: 16px;
    right: 16px;
    z-index: 1;
    color: #fff;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}

.tile__label small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.78;
}

/* Scrim only where a label sits, so the photograph stays clean. */
.tile--labelled::after {
    content: '';
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(to top, rgba(20, 33, 27, 0.78), rgba(20, 33, 27, 0));
    pointer-events: none;
}

/* A tile whose caption sits under the image instead of on it. */
.media-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.media-card .tile {
    border-radius: var(--radius);
}

.media-card__body h3 {
    margin: 0 0 6px;
    font-size: 19px;
}

.media-card__body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

.media-card__meta {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clay);
}

/* -------------------------------------------------------------------------
   Category mosaic — the reference site's signature block
   ---------------------------------------------------------------------- */

/* Cells stretch by default: `.mosaic__cell .tile` is height:100%, so a row
   takes the height of its tallest tile and the cells beside it match. */
.mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

/* Column counts are set per instance from the widget, so one grid serves both
   the four-up journal strip and the even 3+3 range block. */
.mosaic--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mosaic--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mosaic--cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* A row where the first cell spans two columns and two rows. */
.mosaic--feature .mosaic__cell:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.mosaic--feature .mosaic__cell:first-child .tile {
    aspect-ratio: 1 / 1;
    height: 100%;
}

.mosaic--6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mosaic__cell .tile {
    height: 100%;
}

/* Equal-weight range tiles: no enlarged lead cell, so the grid reads as plain
   rows. The caption is the same shape as everywhere else in the catalogue. */
.mosaic--cols-3 .tile__label,
.mosaic--cols-2 .tile__label {
    left: 20px;
    right: 20px;
    bottom: 18px;
    font-size: 16px;
    letter-spacing: 0.02em;
}

/* -------------------------------------------------------------------------
   Department blocks on the catalogue page
   ---------------------------------------------------------------------- */

/* The catalogue is six of these stacked, so the separation has to come from
   space rather than a rule — a hairline between each would stripe the page. */
.range-block + .range-block {
    margin-top: calc(var(--section) * 0.62);
}

.range-block__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.range-block__head h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 500;
}

.range-block__head h3 a {
    color: inherit;
    text-decoration: none;
}

.range-block__head h3 a:hover {
    color: var(--clay);
}

.range-block__count {
    margin-left: 12px;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--muted);
    vertical-align: middle;
}

.range-block .link-arrow {
    flex: none;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .range-block__head {
        align-items: center;
    }
    .range-block .link-arrow {
        font-size: 12px;
    }
}

/* -------------------------------------------------------------------------
   Factory film
   ---------------------------------------------------------------------- */

/* The film sits inside the same photographic vocabulary as the rest of the
   page: a hairline frame, the square theme radius, and a caption set in the
   small uppercase register the section heads use. */
.film-block {
    max-width: 1180px;
}

.film {
    margin: 0;
}

/* A fixed ratio keeps the block from reflowing when the metadata lands and,
   more importantly, reserves the right amount of room before the poster
   paints — otherwise the page jumps as the video element expands. */
.film__frame {
    position: relative;
    overflow: hidden;
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.film--16x9 .film__frame {
    aspect-ratio: 16 / 9;
}

.film--21x9 .film__frame {
    aspect-ratio: 21 / 9;
}

.film--4x5 .film__frame {
    aspect-ratio: 4 / 5;
    max-width: 760px;
}

.film--1x1 .film__frame {
    aspect-ratio: 1 / 1;
    max-width: 900px;
}

.film__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #14110f;
}

/* With a fixed 16:9 frame the poster crop should favour the middle of the
   picture; `cover` alone anchors it to the top edge. */
.film--16x9 .film__video,
.film--21x9 .film__video {
    object-position: center 50%;
}

.film__caption {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.film__caption p {
    margin: 0;
    font-size: 13px;
    letter-spacing: 0.02em;
    color: var(--muted);
}

.film__runtime {
    flex: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.section--dark .film__frame {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
}

.section--dark .film__caption {
    border-color: rgba(255, 255, 255, 0.16);
}

.section--dark .film__caption p,
.section--dark .film__runtime {
    color: rgba(255, 255, 255, 0.66);
}

@media (max-width: 720px) {
    .film__caption {
        flex-direction: column;
        gap: 6px;
    }
    .film__caption p {
        font-size: 12px;
    }
}

/* -------------------------------------------------------------------------
   Statistics band
   ---------------------------------------------------------------------- */

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.stat {
    padding: 36px 28px;
    background: var(--paper);
    text-align: center;
}

.stat__value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--pine);
}

.stat__value em {
    font-style: normal;
    font-size: 0.5em;
    vertical-align: 0.28em;
    margin-left: 2px;
    color: var(--clay);
}

.stat__label {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--muted);
}

.section--dark .stats,
.section--dark .stat {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
}

.section--dark .stat__value {
    color: #fff;
}

.section--dark .stat__value em {
    color: rgba(255, 255, 255, 0.6);
}

.section--dark .stat__label {
    color: rgba(255, 255, 255, 0.66);
}

/* Standalone dark variant — the figure band placed on a light page but
   painted in pine, so it reads as a deliberate slab rather than a card. */
.stats--dark {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.stats--dark .stat {
    background: var(--pine);
}

.stats--dark .stat__value {
    color: #fff;
}

.stats--dark .stat__value em {
    color: var(--sand);
    opacity: 0.9;
}

.stats--dark .stat__label {
    color: rgba(255, 255, 255, 0.68);
}

/* When the whole band sits on pine it needs no chrome of its own. */
.section--dark .stats--dark {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.18);
}

.section--dark .stats--dark .stat {
    background: transparent;
}

/* A bare row of figures with no card chrome — used inside the hero. */
.figure-row {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}

.figure-row .figure__value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1;
    color: var(--pine);
}

.figure-row .figure__label {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

/* -------------------------------------------------------------------------
   Client / partner strip
   ---------------------------------------------------------------------- */

.clients {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px 52px;
}

.clients__item {
    font-family: var(--font-display);
    font-size: clamp(19px, 2.1vw, 27px);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--muted);
    opacity: 0.72;
    transition: opacity 0.18s ease, color 0.18s ease;
}

.clients__item:hover {
    opacity: 1;
    color: var(--ink);
}

.section--dark .clients__item {
    color: rgba(255, 255, 255, 0.72);
}

.section--dark .clients__item:hover {
    color: #fff;
}

/* -------------------------------------------------------------------------
   News card
   ---------------------------------------------------------------------- */

.post-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.post-card:hover {
    border-color: rgba(29, 26, 23, 0.18);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.post-card__media {
    aspect-ratio: 16 / 10;
    background: var(--sand);
    overflow: hidden;
}

.post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.post-card:hover .post-card__media img {
    transform: scale(1.04);
}

.post-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px;
    flex: 1 1 auto;
}

.post-card__meta {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clay);
}

.post-card__body h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
}

.post-card__body h3 a {
    color: var(--ink);
}

.post-card__body h3 a:hover {
    color: var(--clay);
}

.post-card__body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.62;
    color: var(--muted);
}

.post-card__foot {
    margin-top: auto;
    padding-top: 12px;
}

/* A horizontal news row used in a sidebar or an index list. */
.post-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 26px;
    align-items: center;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.post-row:first-child {
    padding-top: 0;
}

.post-row__media {
    aspect-ratio: 4 / 3;
    background: var(--sand);
    border-radius: var(--radius);
    overflow: hidden;
}

.post-row__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* -------------------------------------------------------------------------
   Feature list — a two-column checklist of capabilities
   ---------------------------------------------------------------------- */

.check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    margin: 0;
    padding-left: 28px;
    font-size: 15px;
    line-height: 1.55;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--clay);
    border-bottom: 2px solid var(--clay);
    transform: rotate(-45deg);
}

.section--dark .check-list li::before {
    border-color: rgba(255, 255, 255, 0.72);
}

/* -------------------------------------------------------------------------
   Checklist as full-measure rows — `.check-list--rows`

   The two-column grid above exists so a short list fills the width of a
   half-section beside a photograph. Set across a full measure it stops
   working: five items leave one hanging alone under four, and every item is
   squeezed into a ~640px cell that its sentence has to wrap in.

   Where the copy now owns the whole width, one item per line with a hairline
   between them reads as a specification list. The tick is inherited, so this
   is the same component at a different measure, not a second one.
   ---------------------------------------------------------------------- */

.check-list--rows {
    display: block;
    border-top: 1px solid var(--line);
}

.check-list--rows > li {
    display: block;
    padding: 20px 0 20px 28px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    line-height: 1.6;
}

/* The tick is absolutely positioned, so it is not a grid item and does not
   reserve a column. An earlier version made each `li` a two-column grid
   (28px + 1fr) on the assumption that it did; the anonymous text box then
   landed in the 28px track, and every item wrapped to one or two words per
   line inside a 758px-wide cell. Inheriting `li`'s own padding-left — the way
   the base `.check-list` does it — is what actually reserves the gutter, and
   keeps this the same component rather than a parallel implementation. */
.check-list--rows > li::before {
    top: 26px;
}

.section--dark .check-list--rows {
    border-color: rgba(255, 255, 255, 0.16);
}

.section--dark .check-list--rows > li {
    border-color: rgba(255, 255, 255, 0.16);
}

@media (max-width: 720px) {
    .check-list--rows > li {
        padding: 16px 0 16px 24px;
        font-size: 15px;
    }
    .check-list--rows > li::before {
        top: 22px;
    }
}

/* -------------------------------------------------------------------------
   Fact table — label/value pairs
   ---------------------------------------------------------------------- */

.fact-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.fact-table th,
.fact-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.fact-table th {
    width: 42%;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
}

.fact-table tr:first-child th,
.fact-table tr:first-child td {
    border-top: 1px solid var(--line);
}

/* -------------------------------------------------------------------------
   Facts — grouped label/value blocks
   -------------------------------------------------------------------------
   A 13-row table reads as one undifferentiated column and makes every field
   look equally important. Grouping the same data under three captions and
   dropping the per-row rule gives the eye somewhere to land: the caption
   states the subject, the two-up grid halves the scroll, and the value
   carries the weight instead of the divider.
   ---------------------------------------------------------------------- */

.facts {
    margin: 0;
}

.facts__group + .facts__group {
    margin-top: 30px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.facts__caption {
    margin: 0 0 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--clay);
}

.facts__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 36px;
    row-gap: 20px;
}

.facts__item {
    margin: 0;
    min-width: 0;
}

/* Values that run long (legal name, postal address) take the full width so
   they never break mid-token in a half column. */
.facts__item--wide {
    grid-column: 1 / -1;
}

.facts__item dt {
    margin: 0 0 5px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--muted);
}

.facts__item dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
    overflow-wrap: break-word;
}

.facts__item dd a {
    color: var(--clay);
    text-decoration: none;
    border-bottom: 1px solid rgba(160, 77, 86, 0.28);
    transition: border-color 0.15s ease;
}

.facts__item dd a:hover {
    border-bottom-color: var(--clay);
}

.section--dark .facts__group + .facts__group {
    border-top-color: rgba(255, 255, 255, 0.16);
}

.section--dark .facts__item dt {
    color: rgba(255, 255, 255, 0.6);
}

.section--dark .facts__item dd {
    color: #fff;
}

@media (max-width: 900px) {
    .facts__grid {
        column-gap: 28px;
    }
}

/* Single-up earlier than the 720px page breakpoint: once the facts column is
   under ~520px a half-width cell drops to ~230px, and "38 — 28 production,
   10 quality" starts breaking mid-phrase. Stacking keeps every value on one
   line. */
@media (max-width: 880px) {
    .facts__grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 18px;
    }

    .facts__group + .facts__group {
        margin-top: 26px;
        padding-top: 24px;
    }
}

/* -------------------------------------------------------------------------
   CTA band
   ---------------------------------------------------------------------- */

.cta {
    position: relative;
    padding: calc(var(--section) * 0.95) 0;
    background: var(--pine);
    color: #fff;
    overflow: hidden;
}

.cta__media {
    position: absolute;
    inset: 0;
    opacity: 0.24;
}

.cta__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.cta h2 {
    color: #fff;
    margin-bottom: 14px;
}

.cta p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 52ch;
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

/* The band paints --pine and turns its headings white, but it is a `.cta`
   section rather than `.section--dark`, so the ghost button kept its default
   dark ink on the dark green — measured 1.41:1. Invert it here instead of
   asking every template to remember the extra class. */
.cta .button--ghost,
.cta .button--ghost:visited {
    border-color: rgba(255, 255, 255, 0.38);
    color: #fff;
}

.cta .button--ghost:hover,
.cta .button--ghost:focus-visible {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
}

/* -------------------------------------------------------------------------
   Filter bar (product archive, blog)
   ---------------------------------------------------------------------- */

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.filter-bar a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 18px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: var(--paper);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.filter-bar a:hover {
    border-color: var(--pine);
    color: var(--ink);
}

.filter-bar a.is-active {
    background: var(--pine);
    border-color: var(--pine);
    color: #fff;
}

.filter-bar__count {
    margin-left: 8px;
    opacity: 0.6;
    font-size: 11px;
}

/* -------------------------------------------------------------------------
   Prose (Gutenberg content inside Elementor or a plain page)
   ---------------------------------------------------------------------- */

.prose {
    max-width: 74ch;
}

.prose > * + * {
    margin-top: 1.1em;
}

.prose h2 {
    margin-top: 1.8em;
}

.prose h3 {
    margin-top: 1.5em;
}

.prose img {
    border-radius: var(--radius);
}

/* Editorial figures inside an article. The caption is set small and quiet so
   it reads as a note on the image rather than as body copy. */
.prose figure {
    margin: 2em 0;
}

.prose figure img {
    width: 100%;
    height: auto;
    display: block;
}

.prose figcaption {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
}

/* Two figures side by side — used for portrait looks that would otherwise
   run far past the fold at full column width. */
.prose .figure-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 2em 0;
}

.prose .figure-pair figure {
    margin: 0;
}

/* Wide comparison tables get their own horizontal scroll box rather than
   pushing the whole article column sideways on a phone. The table keeps a
   readable minimum width and the figure below signals it can be swiped. */
.prose .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2em 0;
}

.prose .table-scroll > * + * {
    margin-top: 0;
}

.prose .table-scroll table {
    min-width: 520px;
    margin: 0;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.prose th,
.prose td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.prose th {
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 2px solid var(--pine);
}

/* -------------------------------------------------------------------------
   Screen reader text
   ---------------------------------------------------------------------- */

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    position: static !important;
    width: auto;
    height: auto;
    margin: 0;
    padding: 12px 18px;
    clip: auto;
    background: var(--pine);
    color: #fff;
    font-size: 14px;
    z-index: 999999;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 999999;
    padding: 12px 18px;
    background: var(--pine);
    color: #fff;
    border-radius: var(--radius);
    transition: top 0.15s ease;
}

.skip-link:focus {
    top: 16px;
    color: #fff;
}

/* -------------------------------------------------------------------------
   Inline statements — figures set in running copy rather than a card band.
   Used where a slab of numbers would break the reading flow: the about page,
   the solution page's capability notes.
   ---------------------------------------------------------------------- */

.stmts {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 56px;
    margin-top: 36px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.stmts__item {
    min-width: 132px;
}

.stmts__value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--pine);
}

.stmts__value em {
    font-style: normal;
    font-size: 0.46em;
    vertical-align: 0.34em;
    margin-left: 3px;
    color: var(--clay);
}

.stmts__label {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.section--dark .stmts {
    border-color: rgba(255, 255, 255, 0.2);
}

.section--dark .stmts__value {
    color: #fff;
}

.section--dark .stmts__value em {
    color: var(--sand);
}

.section--dark .stmts__label {
    color: rgba(255, 255, 255, 0.64);
}

/* -------------------------------------------------------------------------
   Editorial split — a photograph beside a run of copy, the workhorse of the
   about and solutions pages.
   ---------------------------------------------------------------------- */

.editorial {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: center;
}

.editorial--media-right > .editorial__media {
    order: 2;
}

.editorial__media img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.editorial__body > h2 {
    margin-bottom: 18px;
}

/* Two photographs, one tall one square — a small asymmetry that stops a
   content page reading as a stack of identical rows. */
.duo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    align-items: end;
}

.duo > :first-child {
    grid-row: span 2;
}

.duo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

/* -------------------------------------------------------------------------
   Enquiry form — the plugin supplies bare <p><label><input> markup, so every
   field style lives here.
   ---------------------------------------------------------------------- */

.quote-form p {
    margin-bottom: 20px;
}

.quote-form label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 13px 15px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: 0;
    border-color: var(--pine);
    box-shadow: 0 0 0 3px rgba(31, 58, 48, 0.1);
}

.quote-form textarea {
    resize: vertical;
    min-height: 168px;
}

.quote-form select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                      linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 40px;
}

.quote-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 8px;
}

.quote-form .checkbox-label input {
    margin-top: 3px;
    flex: 0 0 auto;
    accent-color: var(--pine);
}

.quote-form button[type="submit"] {
    margin-top: 8px;
}

/* The honeypot is real markup, so it has to be taken out of the flow without
   tripping the accessibility tree. */
.form-honeypot {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-notice {
    margin-bottom: 24px;
    padding: 16px 18px;
    border-left: 3px solid var(--pine);
    background: var(--sand);
    font-size: 14px;
}

.form-notice--error {
    border-left-color: var(--clay);
    background: #fbf1f2;
}

.form-notice p:last-child {
    margin-bottom: 0;
}

.eaoy-quote__fallback {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

/* -------------------------------------------------------------------------
   Contact details — an address block beside the form.
   ---------------------------------------------------------------------- */

.contact-card {
    padding: 32px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.contact-card + .contact-card {
    margin-top: 18px;
}

.contact-card h3 {
    margin-bottom: 14px;
    font-size: 19px;
}

.contact-card dl {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
}

.contact-card dt {
    margin-top: 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-card dt:first-child {
    margin-top: 0;
}

.contact-card dd {
    margin: 2px 0 0;
}

.contact-card a {
    color: var(--pine);
    border-bottom: 1px solid var(--line);
}

.contact-card a:hover {
    color: var(--clay);
    border-bottom-color: var(--clay);
}

/* -------------------------------------------------------------------------
   Contact channels — the four-card strip the reference contact page leads
   with: an icon, a short label and the value. Values are authored as a plain
   list in the Elementor HTML widget, so the markup stays readable.
   ---------------------------------------------------------------------- */

.contact-channels {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.contact-channels__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 44px 26px;
    text-align: center;
}

/* Hairlines between the cells, without doubling on the outer edges. */
.contact-channels__item + .contact-channels__item {
    border-left: 1px solid var(--line);
}

.contact-channels__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: var(--clay);
}

.contact-channels__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.contact-channels__label {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-channels__value {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    /* Long addresses must be allowed to break rather than widen the cell. */
    overflow-wrap: anywhere;
}

.contact-channels__value a {
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.contact-channels__value a:hover {
    color: var(--clay);
    border-bottom-color: var(--clay);
}

@media (max-width: 980px) {
    .contact-channels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .contact-channels__item:nth-child(odd) {
        border-left: 0;
    }
    .contact-channels__item:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 560px) {
    .contact-channels {
        grid-template-columns: minmax(0, 1fr);
    }
    .contact-channels__item {
        padding: 34px 20px;
        border-left: 0 !important;
    }
    .contact-channels__item + .contact-channels__item {
        border-top: 1px solid var(--line);
    }
}

/* -------------------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------------- */

@media (max-width: 1200px) {
    :root {
        --pad: 50px;
        --section: 78px;
    }
    .grid--sidebar,
    .split {
        gap: 48px;
    }
    .split--wide {
        gap: 56px;
    }
    .cta__inner {
        gap: 40px;
    }
}

@media (max-width: 1080px) {
    .mosaic--cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mosaic--feature .mosaic__cell:first-child {
        grid-column: span 3;
        grid-row: span 1;
    }
    .mosaic--feature .mosaic__cell:first-child .tile {
        aspect-ratio: 21 / 9;
    }
    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    :root {
        --pad: 36px;
        --section: 66px;
    }
    .grid--3,
    .grid--4,
    .mosaic--6,
    .mosaic--cols-3,
    .mosaic--cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .grid--sidebar,
    .split {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .split--wide {
        gap: 40px;
    }
    .hero {
        min-height: clamp(480px, 70vh, 700px);
    }
    .hero__inner {
        padding-top: calc(var(--section) * 1.1);
        padding-bottom: calc(var(--section) * 0.7);
    }
    .cta__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .cta__actions {
        justify-content: flex-start;
    }
    .check-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .editorial,
    .duo {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .editorial--media-right > .editorial__media {
        order: 0;
    }
    .duo > :first-child {
        grid-row: auto;
    }
    .post-row {
        grid-template-columns: 140px minmax(0, 1fr);
        gap: 20px;
    }
}

@media (max-width: 720px) {
    :root {
        --pad: 22px;
        --section: 54px;
    }
    .grid,
    .grid--2,
    .grid--3,
    .grid--4,
    .mosaic,
    .mosaic--6,
    .mosaic--cols-2,
    .mosaic--cols-3,
    .mosaic--cols-4 {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .mosaic,
    .grid--mosaic {
        gap: 12px;
    }
    .mosaic--feature .mosaic__cell:first-child {
        grid-column: span 1;
    }
    .mosaic--feature .mosaic__cell:first-child .tile {
        aspect-ratio: 4 / 5;
    }
    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .stat {
        padding: 26px 18px;
    }
    .section__head {
        margin-bottom: 32px;
    }
    .section__bar {
        margin-bottom: 30px;
    }
    .buttons .button {
        flex: 1 1 100%;
    }
    .cta__actions .button {
        flex: 1 1 100%;
    }
    .figure-row {
        gap: 28px;
    }
    .clients {
        gap: 14px 28px;
    }
    .post-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .post-row__media {
        aspect-ratio: 16 / 9;
    }
    .hero__media img {
        object-position: center 42%;
    }
}

@media (max-width: 480px) {
    :root {
        --pad: 18px;
    }
    .card {
        padding: 22px;
    }
    .post-card__body {
        padding: 20px;
    }
}

/* -------------------------------------------------------------------------
   Single product — gallery beside a specification table
   ---------------------------------------------------------------------- */

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
}

.product-detail__hero {
    border-radius: var(--radius);
    background: var(--sand);
    overflow: hidden;
}

.product-detail__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.24s ease;
}

.product-detail__thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.product-detail__thumb {
    padding: 0;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: var(--sand);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 5;
    transition: border-color 0.18s ease, opacity 0.18s ease;
    opacity: 0.7;
}

.product-detail__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail__thumb:hover,
.product-detail__thumb.is-active {
    border-color: var(--pine);
    opacity: 1;
}

.product-detail__body h1 {
    margin-bottom: 18px;
    font-size: clamp(32px, 3.6vw, 50px);
}

.product-detail__body .lead {
    margin-bottom: 32px;
}

.product-detail__specs {
    margin: 0 0 32px;
}

.product-detail__prose {
    margin-bottom: 32px;
}

/* Sourcing notes — the buyer-facing half of a product page. Set apart from the
   spec table with a hairline and a tint, because it is prose to read, not
   numbers to scan. */
.sourcing-notes {
    margin: 0 0 34px;
    padding: 26px 28px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--cream);
}

.sourcing-notes__title {
    margin: 0 0 20px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.sourcing-notes__item + .sourcing-notes__item {
    margin-top: 18px;
}

.sourcing-notes__item h3 {
    margin: 0 0 6px;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--clay);
}

.sourcing-notes__item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.62;
    color: var(--muted);
}

.product-detail__actions {
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .product-detail__thumbs {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .product-detail__thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .product-detail__actions .button {
        flex: 1 1 100%;
    }
}

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

.post-feature {
    margin: 0 0 44px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--sand);
}

.post-feature img {
    width: 100%;
    height: auto;
}

.post-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

/* Stack the paired figures once two portrait looks no longer fit legibly. */
@media (max-width: 560px) {
    .prose .figure-pair {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
}

/* -------------------------------------------------------------------------
   Reveal on scroll — opt in with data-reveal. Without JS the rule never
   applies, so content is visible by default.
   ---------------------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
    will-change: auto;
}

/* -------------------------------------------------------------------------
   Motion preferences
   ---------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
    .tile:hover img,
    .post-card:hover .post-card__media img {
        transform: none;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ==== Arial type lock (eaoy) ==== */
/* Arial is the only text face on this site. Kept at the end of the sheet and
   scoped to text elements, so it outranks plugin defaults without touching
   icon fonts (Font Awesome / eicons / dashicons keep their own families). */
:root {
    --font:         Arial, Helvetica, sans-serif;
    --font-display: Arial, Helvetica, sans-serif;
}
html, body,
button, input, select, textarea, optgroup,
h1, h2, h3, h4, h5, h6,
p, li, td, th, dt, dd, blockquote, figcaption, label, legend,
a, strong, b, em, small,
.eaoy-quote, .eaoy-note, .eaoy-reg, .eaoy-facts, .eaoy-bars, .eaoy-table,
.eaoy-flow, .eaoy-shots, .eaoy-review, .eaoy-docs,
.elementor-widget-heading .elementor-heading-title,
.elementor-widget-text-editor,
.elementor-widget-divider .elementor-divider__text,
.elementor-button {
    font-family: Arial, Helvetica, sans-serif;
}
/* ==== end Arial type lock ==== */
