/* THE COMPANY HOME ("/") — Views/Home. The look of the consulting deck: white and blues, watercolours behind a wavy edge, Quicksand.
   Every measure here was approved by the owner on the prototype (2026-11-26), so the page keeps its own sizes instead of the
   site's 10 / 25 / 50 px scale. Everything is scoped to .eh-page: the shared site styles loaded by _Head stay untouched. */

.eh-page {
    --eh-navy: #0a1f3a;
    --eh-blue: #0f5fa8;
    --eh-line: #1c91e4;
    --eh-sky: #4fbefe;
    --eh-soft: #dbe9f7;
    --eh-ink: #0b1f3a;
    --eh-muted: #4d5f77;
    --eh-warm: #ff6f3c;
    --eh-footer: #0f172a;
    --eh-pad: clamp(20px, 6vw, 96px);
    --eh-indent: 58px;
    --eh-picture: 42%;
    background: #ffffff;
    color: var(--eh-ink);
    font-family: 'Quicksand', 'Segoe UI', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

/* The shared site styles pad every section, and every section that is a direct child of main even more. These pages space their
   own: their sections sit inside .eh-sections (so the second rule does not reach them) and start from no padding. */

.eh-page section {
    padding: 0;
}

.eh-page .eh-gutter {
    padding-left: max(var(--eh-pad), env(safe-area-inset-left, 0px));
    padding-right: max(var(--eh-pad), env(safe-area-inset-right, 0px));
}

.eh-page h1,
.eh-page h2 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.12;
    text-wrap: balance;
}

.eh-page a:focus-visible {
    outline: 3px solid var(--eh-warm);
    outline-offset: 3px;
}

.eh-page .eh-logo {
    width: auto;
    height: 25px;
}

.eh-page .eh-icon {
    display: inline-flex;
    flex: none;
}

/* The shared icons come 12 px wide; here each one takes the size of the text it stands beside. */

.eh-page .eh-icon svg {
    width: 1em;
    height: 1em;
}

.eh-page .eh-nowrap {
    white-space: nowrap;
}

.eh-page .eh-dim {
    opacity: 0.7;
}

.eh-page .eh-arrow {
    flex: none;
    width: 34px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s;
}

/* CONTACT DIALOG — a page that offers the site's contact dialog also loads the shared site.css, which builds the dialog's form. That
   file gives bare elements the product's look (lowercase text, justified paragraphs, trimmed type); these pages keep their own,
   and the dialog keeps the product's. */

.eh-page {
    text-transform: none;
}

.eh-page :is(h1, h2, h3, h4, h5, h6, p, strong):not(#human-contact-dialog *) {
    text-box-trim: none;
    text-box-edge: auto;
}

.eh-page p:not(#human-contact-dialog *) {
    text-align: start;
    text-align-last: auto;
    text-justify: auto;
    hyphens: manual;
    overflow-wrap: normal;
}

/* BREADCRUMB — the way back, above the title: every page above this one as a link, this page last. Not scoped to .eh-page, because
   the prospecting agent's page (the site's own look) shows it too, in a bar under the site header. */

.eh-crumbs .eh-crumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Quicksand', 'Segoe UI', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #4d5f77;
    text-transform: none;
}

.eh-crumbs .eh-crumbs__list .eh-crumbs__item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.eh-crumbs .eh-crumbs__list .eh-crumbs__item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.eh-crumbs .eh-crumbs__list .eh-crumbs__item a:hover {
    color: #0f5fa8;
}

.eh-crumbs .eh-crumbs__list .eh-crumbs__item[aria-current="page"] {
    font-weight: 600;
    color: #0b1f3a;
}

.eh-crumbs .eh-crumbs__list .eh-crumbs__item .eh-crumbs__next {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #9fb2c9;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* On every page the breadcrumb starts 31 px under the logo of the header: the cover draws it right after its header, and on the
   page of the prospecting agent this bar leaves the same distance under the header of the site. */

.eh-crumbs-bar {
    position: relative;
    z-index: 2;
    padding-top: 7px;
}

/* A heading that only screen readers and search engines read, for a section whose pictures say it all. */

.eh-page .eh-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* ACTIONS — the buttons of a cover or of an invitation; the primary one is filled. */

.eh-page .eh-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.eh-page .eh-actions .eh-action {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 22px;
    border: 2px solid var(--eh-blue);
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    color: var(--eh-blue);
    transition: background 0.2s, color 0.2s;
}

.eh-page .eh-actions .eh-action .eh-arrow {
    width: 28px;
    height: 14px;
}

.eh-page .eh-actions .eh-action--primary {
    background: var(--eh-blue);
    color: #ffffff;
}

.eh-page .eh-actions .eh-action:hover {
    background: var(--eh-navy);
    border-color: var(--eh-navy);
    color: #ffffff;
}

.eh-page .eh-actions .eh-action:hover .eh-arrow {
    transform: translateX(4px);
}

/* WAVES — the horizontal one sits on top of a section and paints the 46 px above it; the vertical one is the left edge of a
   picture and runs slowly downwards, one period (360 px) every 18 s, in step on every picture so it continues from one to the next. */

.eh-page .eh-wave {
    position: absolute;
    left: 0;
    width: 100%;
    max-width: none;
    height: 46px;
}

.eh-page .eh-wave--below {
    bottom: calc(100% - 1px);
}

.eh-page .eh-wave--above {
    top: -1px;
}

.eh-page .eh-wave--narrow {
    display: none;
}

.eh-page .eh-wave--over {
    z-index: 2;
}

.eh-page .eh-wave .eh-wave__line {
    fill: none;
    stroke: var(--eh-line);
    stroke-width: 2.5;
    vector-effect: non-scaling-stroke;
}

.eh-page .eh-side-wave {
    position: absolute;
    left: -2px;
    width: 80px;
    max-width: none;
    height: 1440px;
    will-change: transform;
}

.eh-page .eh-side-wave--top {
    top: 0;
    animation: eh-wave-run-top 18s linear infinite;
}

.eh-page .eh-side-wave--bottom {
    bottom: 0;
    animation: eh-wave-run-bottom 18s linear infinite;
}

.eh-page .eh-side-wave .eh-side-wave__line {
    fill: none;
    stroke: var(--eh-line);
    stroke-width: 2;
}

@keyframes eh-wave-run-top {
    from { transform: translateY(-360px); }
    to { transform: translateY(0); }
}

@keyframes eh-wave-run-bottom {
    from { transform: translateY(0); }
    to { transform: translateY(360px); }
}

/* COVER — the statement and the two doors on white, the watercolour behind the wave. */

.eh-page .eh-cover {
    display: flex;
    min-height: 720px;
}

.eh-page .eh-cover .eh-cover__text {
    display: flex;
    flex: 1 1 58%;
    flex-direction: column;
    min-width: 0;
    padding-right: clamp(20px, 4vw, 64px);
}

.eh-page .eh-cover .eh-cover__header {
    display: flex;
    align-items: center;
    padding-block: 26px;
}

.eh-page .eh-cover .eh-cover__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 64px;
    padding-bottom: 70px;
}

.eh-page .eh-cover .eh-cover__title {
    max-width: 13em;
    font-size: clamp(27px, 3.05vw, 44px);
    color: var(--eh-ink);
}

.eh-page .eh-cover .eh-cover__title .eh-cover__accent {
    display: block;
    color: var(--eh-line);
}

/* The title wears the brand's colours: the logo's blue on the accent line, its light blue in the wash and its orange in the
   underline. The wash is two layers of watercolour behind the marked words, painted from the left when the page opens; the
   underline is the consulting deck's brushstroke (thick at the start, thinning as it rises), drawn right after it. */

.eh-page .eh-cover .eh-cover__title .eh-mark {
    position: relative;
    display: inline-block;
    isolation: isolate;
    font-weight: 700;
    white-space: nowrap;
}

.eh-page .eh-cover .eh-cover__title .eh-mark .eh-mark__wash {
    position: absolute;
    top: 30%;
    left: -0.16em;
    z-index: -1;
    width: calc(100% + 0.32em);
    max-width: none;
    height: 74%;
    animation: eh-mark-paint 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both;
}

.eh-page .eh-cover .eh-cover__title .eh-mark .eh-mark__wash path {
    fill: var(--eh-sky);
    opacity: 0.24;
}

.eh-page .eh-cover .eh-cover__title .eh-mark .eh-mark__stroke {
    position: absolute;
    bottom: -0.34em;
    left: -0.09em;
    width: calc(100% + 0.18em);
    max-width: none;
    height: 0.44em;
    overflow: visible;
    animation: eh-mark-paint 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.75s both;
}

.eh-page .eh-cover .eh-cover__title .eh-mark .eh-mark__stroke path {
    fill: var(--eh-warm);
}

@keyframes eh-mark-paint {
    from { clip-path: inset(-20% 100% -20% -2%); }
    to { clip-path: inset(-20% -2% -20% -2%); }
}

.eh-page .eh-cover .eh-cover__head {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.eh-page .eh-cover .eh-cover__lead {
    max-width: 30em;
    font-size: clamp(16px, 1.35vw, 19px);
    color: var(--eh-muted);
}

/* The doors are the cover's buttons: rows between hairlines, each naming an area and saying what it is in one line, with its arrow
   in a ring that fills with the brand's blue when the row is pointed at. */

.eh-page .eh-cover .eh-doors {
    display: flex;
    flex-direction: column;
    max-width: 520px;
}

.eh-page .eh-cover .eh-doors .eh-door {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 13px 2px;
    border-top: 1px solid #cfe2f5;
    color: var(--eh-line);
    transition: padding 0.25s;
}

.eh-page .eh-cover .eh-doors .eh-door:last-child {
    border-bottom: 1px solid #cfe2f5;
}

/* The contact door comes last: the same row as the others, only in colour (a wash of the logo's blue behind it, its title in that blue). */

.eh-page .eh-cover .eh-doors button.eh-door {
    width: 100%;
    margin: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    background: none;
    font: inherit;
    text-align: left;
    text-transform: none;
    cursor: pointer;
}

.eh-page .eh-cover .eh-doors .eh-door.eh-door--contact {
    width: calc(100% + 34px);
    margin: 10px -14px 0 -20px;
    padding-inline: 20px 14px;
    border: 0;
    border-radius: 14px;
    background: rgba(28, 145, 228, 0.1);
}

.eh-page .eh-cover .eh-doors .eh-door:has(+ .eh-door--contact) {
    border-bottom: 1px solid #cfe2f5;
}

.eh-page .eh-cover .eh-doors .eh-door.eh-door--contact:hover {
    padding-left: 28px;
}

.eh-page .eh-cover .eh-doors .eh-door.eh-door--contact .eh-door__title {
    color: var(--eh-line);
}

.eh-page .eh-cover .eh-doors .eh-door.eh-door--contact:focus-visible {
    outline: 3px solid var(--eh-warm);
    outline-offset: 3px;
}

.eh-page .eh-cover .eh-doors .eh-door .eh-door__label {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.eh-page .eh-cover .eh-doors .eh-door .eh-door__title {
    font-size: clamp(15px, 1.12vw, 17px);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--eh-ink);
    transition: color 0.2s;
}

.eh-page .eh-cover .eh-doors .eh-door .eh-door__text {
    font-size: 13px;
    color: var(--eh-muted);
}

.eh-page .eh-cover .eh-doors .eh-door .eh-door__go {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--eh-line);
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.eh-page .eh-cover .eh-doors .eh-door .eh-arrow {
    width: 15px;
    height: 8px;
    stroke-width: 3;
}

.eh-page .eh-cover .eh-doors .eh-door:hover {
    padding-left: 10px;
}

.eh-page .eh-cover .eh-doors .eh-door:hover .eh-door__title {
    color: var(--eh-line);
}

.eh-page .eh-cover .eh-doors .eh-door:hover .eh-door__go {
    background: var(--eh-line);
    color: #ffffff;
}

.eh-page .eh-cover .eh-cover__picture {
    position: relative;
    flex: 0 0 var(--eh-picture);
    overflow: hidden;
}

.eh-page .eh-cover .eh-cover__picture img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 40% 50%;
}

/* HISTORY — the title, a short lead and a picture on the lightest blue; then one band per brand, each a tone darker. The svg of
   institucional-history-line.js lies over the whole section. */

.eh-page .eh-history {
    position: relative;
}

.eh-page .eh-history .eh-history__intro {
    position: relative;
    display: flex;
    min-height: 440px;
}

.eh-page .eh-history .eh-history__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 0;
    padding-block: 46px 100px;
    padding-right: clamp(20px, 4vw, 64px);
}

.eh-page .eh-history .eh-history__title {
    display: inline-block;
    font-size: clamp(23px, 2.8vw, 40px);
    color: var(--eh-ink);
}

.eh-page .eh-history .eh-history__title span {
    color: var(--eh-blue);
}

/* The lead shares its left margin with the content of the bands; the line runs to its left. */

.eh-page .eh-history .eh-history__lead {
    max-width: 30em;
    margin: 48px 0 0 var(--eh-indent);
    font-size: 16px;
    line-height: 1.6;
    color: var(--eh-muted);
    text-wrap: pretty;
}

.eh-page .eh-history .eh-history__lead b {
    font-weight: 600;
    color: var(--eh-ink);
}

/* A picture under a section's wave starts with the wave and is cut along it (--eh-seam, from InstitucionalWaves), so it meets what is above
   it with no gap. Its image starts 16 px in, under the side wave: the cut edge must not let the first column of the image show. */

.eh-page .eh-history .eh-history__picture,
.eh-page .eh-contact .eh-contact__picture {
    position: relative;
    flex: 0 0 var(--eh-picture);
    margin-top: -46px;
    overflow: hidden;
    clip-path: var(--eh-seam);
}

.eh-page .eh-history .eh-history__picture img,
.eh-page .eh-contact .eh-contact__picture img {
    position: absolute;
    inset: 0 0 0 16px;
    width: calc(100% - 16px);
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.eh-page .eh-history .eh-history__line {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    max-width: none;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.eh-page .eh-history .eh-history__line .eh-history__soft {
    transition: stroke-opacity 0.35s, fill-opacity 0.35s;
}

.eh-page .eh-history .eh-era {
    position: relative;
}

.eh-page .eh-history .eh-era .eh-era__inner {
    display: flex;
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
    padding-block: 60px 78px;
    padding-left: calc(max(var(--eh-pad), env(safe-area-inset-left, 0px)) + var(--eh-indent));
}

.eh-page .eh-history .eh-era .eh-era__who {
    display: flex;
    flex: 0 0 min(380px, 34%);
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

/* The period is a faded grey until the line reaches it; then it takes the colour of the line. */

.eh-page .eh-history .eh-era .eh-era__period {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: lining-nums tabular-nums;
    color: #8a97a9;
    transition: color 0.45s;
}

.eh-page .eh-history .eh-era .eh-era__period.is-reached {
    color: var(--eh-line);
}

.eh-page .eh-history .eh-era .eh-era__period .eh-icon {
    font-size: 16px;
}

/* The older brands are drawn a little faded (--eh-fade), everything but the period. */

.eh-page .eh-history .eh-era .eh-era__brand {
    width: auto;
    height: calc(var(--eh-height) * 0.7px);
    margin-block: 4px;
    opacity: var(--eh-fade);
}

.eh-page .eh-history .eh-era .eh-era__text {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--eh-muted);
    text-wrap: pretty;
    opacity: var(--eh-fade);
}

.eh-page .eh-history .eh-era .eh-era__clients {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 34px;
    min-width: 0;
    opacity: var(--eh-fade);
}

.eh-page .eh-history .eh-era .eh-era__clients .eh-era__client {
    display: flex;
    flex: 0 0 25%;
    align-items: center;
    justify-content: center;
    height: 76px;
}

.eh-page .eh-history .eh-era .eh-era__clients .eh-era__client img {
    width: calc(var(--eh-width) * var(--eh-scale, 0.74) * 1px);
    max-width: 84%;
    height: auto;
    opacity: 0.86;
}

/* WALL — the customers of 2026, in white on navy. */

.eh-page .eh-wall {
    position: relative;
    background: var(--eh-navy);
}

.eh-page .eh-wall .eh-wall__inner {
    position: relative;
    padding-bottom: 96px;
    overflow-x: clip;
}

.eh-page .eh-wall .eh-wall__head {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-block: 72px 60px;
}

.eh-page .eh-wall .eh-wall__ghost {
    position: absolute;
    top: 0.02em;
    right: -0.04em;
    font-size: clamp(130px, 22vw, 340px);
    font-weight: 700;
    font-variant-numeric: lining-nums;
    line-height: 1;
    letter-spacing: -0.045em;
    color: #ffffff;
    opacity: 0.08;
    pointer-events: none;
}

.eh-page .eh-wall .eh-wall__title {
    position: relative;
    font-size: clamp(23px, 2.8vw, 40px);
    color: #ffffff;
}

.eh-page .eh-wall .eh-wall__title .eh-brush {
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.eh-page .eh-wall .eh-wall__title .eh-brush svg {
    position: absolute;
    bottom: -0.16em;
    left: -1%;
    width: 102%;
    max-width: none;
    height: 0.3em;
    overflow: visible;
    fill: var(--eh-warm);
}

.eh-page .eh-wall .eh-wall__text {
    position: relative;
    font-size: clamp(15px, 1.25vw, 18px);
    font-weight: 500;
    color: var(--eh-soft);
    opacity: 0.75;
}

.eh-page .eh-wall .eh-wall__grid {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 26px;
}

.eh-page .eh-wall .eh-wall__grid .eh-wall__logo {
    display: flex;
    flex: 0 0 calc(100% / 14);
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 52px;
}

.eh-page .eh-wall .eh-wall__grid .eh-wall__logo img {
    width: calc(var(--eh-width) * var(--eh-scale, 0.76) * 1px);
    max-width: 84%;
    height: auto;
    opacity: 0.9;
}

/* CONTACT — the owner's e-mail and WhatsApp on the lightest blue, a picture on the right, the blue line above and below. */

.eh-page .eh-contact {
    position: relative;
    isolation: isolate;
}

.eh-page .eh-contact .eh-contact__row {
    display: flex;
    min-height: 470px;
}

.eh-page .eh-contact .eh-contact__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    min-width: 0;
    padding-block: 70px 120px;
    padding-right: clamp(20px, 4vw, 64px);
}

.eh-page .eh-contact .eh-contact__title {
    font-size: clamp(23px, 2.8vw, 40px);
    color: var(--eh-ink);
}

.eh-page .eh-contact .eh-contact__title span {
    color: var(--eh-blue);
}

.eh-page .eh-contact .eh-contact__ways {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 56px;
}

.eh-page .eh-contact .eh-contact__ways .eh-contact__way {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    font-size: clamp(18px, 1.7vw, 24px);
    font-weight: 600;
    color: var(--eh-ink);
}

.eh-page .eh-contact .eh-contact__ways .eh-contact__way .eh-icon {
    font-size: 27px;
    color: var(--eh-line);
}

.eh-page .eh-contact .eh-contact__ways .eh-contact__way:hover {
    color: var(--eh-blue);
}

.eh-page .eh-contact .eh-contact__picture {
    z-index: 1;
}

.eh-page .eh-contact .eh-contact__picture img {
    object-position: 30% 50%;
}

/* FOOTER — the dark blue of the site's footer, with the company's legal details. */

.eh-page .eh-footer {
    position: relative;
    background: var(--eh-footer);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.eh-page .eh-footer .eh-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-block: 40px 52px;
}

.eh-page .eh-footer .eh-footer__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 32px;
}

.eh-page .eh-footer .eh-footer__top .eh-logo {
    height: 24px;
}

.eh-page .eh-footer .eh-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    font-weight: 500;
}

/* The social network buttons are the site footer's own (_FooterSocial); style.css scopes their look to .site-footer, so the same
   measures are repeated here for this page's footer. */

.eh-page .eh-footer .footer-social .footer-social-links {
    display: flex;
    gap: 10px;
}

.eh-page .eh-footer .footer-social .footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, transform 0.2s ease;
}

.eh-page .eh-footer .footer-social .footer-social-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.eh-page .eh-footer .footer-social .footer-social-links a svg {
    width: 18px;
    height: 18px;
    fill: rgba(255, 255, 255, 0.6);
    transition: fill 0.2s ease;
}

.eh-page .eh-footer .footer-social .footer-social-links a:hover svg {
    fill: #ffffff;
}

.eh-page .eh-footer a {
    color: inherit;
    transition: color 0.2s;
}

.eh-page .eh-footer a:hover {
    color: #ffffff;
}

.eh-page .eh-footer .eh-footer__legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.eh-page .eh-footer .eh-footer__legal .eh-footer__line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}

.eh-page .eh-footer .eh-footer__legal .eh-footer__line .eh-icon {
    margin-top: 2px;
    font-size: 17px;
}

@media (max-width: 1100px) {

    .eh-page .eh-wall .eh-wall__grid .eh-wall__logo {
        flex-basis: calc(100% / 7);
    }

}

/* NARROW — one column: the text first, the picture under it with a wave on its top edge. */

@media (max-width: 900px) {

    .eh-page {
        --eh-indent: 44px;
    }

    .eh-page .eh-logo {
        height: 23px;
    }

    .eh-page .eh-wave--narrow {
        display: block;
    }

    .eh-page .eh-cover {
        flex-direction: column;
        min-height: 0;
    }

    .eh-page .eh-cover .eh-cover__header {
        padding-block: 22px;
    }

    .eh-page .eh-cover .eh-cover__body {
        gap: 44px;
        padding-block: 36px 56px;
    }

    .eh-page .eh-cover .eh-cover__picture {
        flex: none;
        height: 340px;
    }

    .eh-page .eh-cover .eh-cover__picture .eh-side-wave,
    .eh-page .eh-contact .eh-contact__picture .eh-side-wave {
        display: none;
    }

    .eh-page .eh-history .eh-history__intro {
        flex-direction: column;
        min-height: 0;
    }

    .eh-page .eh-history .eh-history__text {
        padding-block: 26px 36px;
    }

    .eh-page .eh-history .eh-history__lead {
        margin-top: 40px;
        font-size: 15px;
    }

    .eh-page .eh-history .eh-history__picture {
        flex: none;
        height: 260px;
        margin: 0 0 0 calc(max(var(--eh-pad), env(safe-area-inset-left, 0px)) + var(--eh-indent));
        clip-path: none;
    }

    .eh-page .eh-history .eh-era .eh-era__inner {
        flex-direction: column;
        align-items: stretch;
        padding-block: 48px 72px;
    }

    .eh-page .eh-history .eh-era .eh-era__who {
        flex: none;
    }

    .eh-page .eh-history .eh-era .eh-era__clients .eh-era__client {
        flex-basis: 33.33%;
        height: 72px;
    }

    .eh-page .eh-history .eh-era .eh-era__clients .eh-era__client img {
        --eh-scale: 0.6;
    }

    .eh-page .eh-wall .eh-wall__inner {
        padding-bottom: 72px;
    }

    .eh-page .eh-wall .eh-wall__head {
        padding-block: 52px 48px;
    }

    .eh-page .eh-wall .eh-wall__grid .eh-wall__logo {
        flex-basis: 25%;
    }

    .eh-page .eh-wall .eh-wall__grid .eh-wall__logo img {
        --eh-scale: 0.66;
    }

    .eh-page .eh-contact .eh-contact__row {
        flex-direction: column;
        min-height: 0;
    }

    .eh-page .eh-contact .eh-contact__text {
        padding-block: 60px 44px;
    }

    .eh-page .eh-contact .eh-contact__picture {
        flex: none;
        height: 270px;
        margin-top: 0;
        clip-path: none;
    }

    .eh-page .eh-contact .eh-contact__picture img {
        inset: 0;
        width: 100%;
    }

    .eh-page .eh-footer {
        font-size: 13px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .eh-page .eh-side-wave--top {
        animation: none;
        transform: translateY(-360px);
    }

    .eh-page .eh-side-wave--bottom {
        animation: none;
    }

    .eh-page .eh-arrow,
    .eh-page .eh-cover .eh-doors .eh-door,
    .eh-page .eh-cover .eh-doors .eh-door .eh-door__title,
    .eh-page .eh-cover .eh-doors .eh-door .eh-door__go,
    .eh-page .eh-history .eh-era .eh-era__period {
        transition: none;
    }

    .eh-page .eh-cover .eh-cover__title .eh-mark .eh-mark__wash,
    .eh-page .eh-cover .eh-cover__title .eh-mark .eh-mark__stroke {
        animation: none;
    }

    .eh-page .eh-cover .eh-doors .eh-door:hover {
        padding-left: 2px;
    }

}
