/*
 * Experts in Translation - static rebuild
 * DPStudio, 2026-11. No framework, no jQuery, no third party CSS.
 *
 * Design tokens are measured from the legacy WordPress theme (ProLingua) with
 * getComputedStyle, not guessed: see docs/LEGACY_ANALYSIS.md section 5.
 */

/* ------------------------------------------------------------------ tokens */

:root
{
    /* palette */
    --c-ink:            #0c1220;   /* headings, footer background */
    --c-body:           #44474a;   /* body copy */
    --c-muted:          #989da9;   /* footer copy, captions */
    --c-accent:         #f9ad3d;   /* buttons, eyebrows */
    --c-accent-dark:    #e2912a;   /* button hover */
    --c-accent-text:    #9a5a00;   /* the amber, darkened for TEXT: 5:1 on white and on the pale panel (WCAG AA) */
    --c-muted-text:     #6b7180;   /* muted text on light backgrounds: 4.9:1 on white */
    --c-on-accent:      #0c1220;   /* text and icons on the amber: 9.9:1 (white was 1.9:1) */
    --c-link:           #8c6420;   /* links, active menu item: the gold of the logo nib, darkened for text (5.3:1 on white, WCAG AA) */
    --c-teal:           #04ded0;   /* third accent, used sparingly */
    --c-logo-navy:      #2b4a72;   /* the navy of the logo arrow, softened: icons */
    --c-logo-navy-pale: #e9eef5;   /* pale navy disc behind an icon */
    --c-logo-gold:      #a27a34;   /* the gold of the logo nib, muted: icons */
    --c-logo-gold-pale: #f7efdf;   /* pale gold disc behind an icon */
    --c-panel:          #f3f5f9;   /* pale panels */
    --c-border:         #d5d9e2;
    --c-page:           #ffffff;
    --c-white:          #ffffff;

    /* typography */
    --font-sans:        "Mulish", "Muli", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --fs-body:          18px;
    --lh-body:          1.68;
    --fs-h1:            48px;
    --fs-h2:            42px;
    --fs-h3:            30px;
    --fs-h4:            24px;
    --fs-eyebrow:       18px;
    --fs-small:         15px;
    --fs-button:        11px;

    /* metrics */
    --wrap:             1280px;
    --header-h:         98px;
    --rail-w:           0px;   /* side rails removed at the client's request, 2026-11-20 */
    --gap:              32px;
    --band-pad:         72px;
    --tap:              44px;        /* minimum touch target, directive C12 */
}

/* -------------------------------------------------------------------- base */

*,
*::before,
*::after
{
    box-sizing: border-box;
}

html
{
    /* the sticky header must not cover an anchor target */
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body
{
    margin: 0;
    background: var(--c-page);
    color: var(--c-body);
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    /* the legacy theme sets body copy at 200; 300 keeps the same light look
       and reads noticeably better on ordinary screens */
    font-weight: 300;
    line-height: var(--lh-body);
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6
{
    margin: 0 0 0.6em;
    color: var(--c-ink);
    font-weight: 200;
    line-height: 1.3;
    letter-spacing: 0.8px;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p
{
    margin: 0 0 1.2em;
}

a
{
    color: var(--c-link);
    text-decoration: none;
    transition: color 0.18s ease;
}

a:hover,
a:focus-visible
{
    color: var(--c-ink);
}

strong, b
{
    color: var(--c-ink);
    font-weight: 700;
}

img
{
    max-width: 100%;
    height: auto;
}

:focus-visible
{
    outline: 2px solid var(--c-link);
    outline-offset: 3px;
}

/* Everything clickable shows the hand, directive C1. */
a,
button,
summary,
[role="button"],
.menu-toggle,
.lang a,
.to-top
{
    cursor: pointer;
}

button[disabled],
.btn[aria-disabled="true"]
{
    cursor: not-allowed;
}

.wrap
{
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

.visually-hidden
{
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* ----------------------------------------------------------------- buttons */

.btn
{
    display: inline-block;
    padding: 24px 44px;
    min-height: var(--tap);
    background: var(--c-accent);
    color: var(--c-on-accent);
    font-size: var(--fs-button);
    font-weight: 400;
    letter-spacing: 2.2px;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    border: 0;
    border-radius: 0;
    transition: background 0.18s ease, color 0.18s ease;
}

.btn:hover,
.btn:focus-visible
{
    background: var(--c-accent-dark);
    color: var(--c-on-accent);
}

.btn--ghost
{
    background: transparent;
    color: var(--c-white);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.8);
}

.btn--ghost:hover,
.btn--ghost:focus-visible
{
    background: var(--c-white);
    color: var(--c-ink);
}

/* -------------------------------------------------------------------- icons */

/* Font Awesome 7 Free glyphs, inlined as an SVG sprite (directive C2: icons are
   Font Awesome, never emoji). No icon webfont, no request to a CDN. */
.icon
{
    display: inline-block;
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    fill: currentColor;
    vertical-align: -0.125em;
}

.menu-toggle .icon
{
    width: 22px;
    height: 22px;
}

.menu-toggle__close
{
    display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__open
{
    display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close
{
    display: inline-block;
}

.caret
{
    width: 10px;
    height: 10px;
}

.to-top .icon
{
    width: 16px;
    height: 16px;
}

.rail--right .rail__link .icon
{
    width: 17px;
    height: 17px;
}

/* ------------------------------------------------------------------ header */

.site-header
{
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--c-white);
    box-shadow: 0 1px 0 rgba(12, 18, 32, 0.07);
}

.site-header__inner
{
    max-width: none;
    padding: 0 calc(var(--rail-w) + 8px) 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
    min-height: var(--header-h);
}

.site-logo
{
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.site-logo img
{
    display: block;
    width: auto;
    max-height: 80px;
}

/* ---- navigation ---- */

.nav
{
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav__list
{
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav__item
{
    position: relative;
}

.nav__link
{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: var(--tap);
    color: var(--c-body);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    white-space: nowrap;
    background: none;
    border: 0;
    padding: 0;
    font-family: inherit;
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__item--current > .nav__link
{
    color: var(--c-link);
}

.nav__link .caret
{
    font-size: 11px;
    transition: transform 0.18s ease;
}

/* Submenus: hover on pointer devices, click everywhere (the button carries
   aria-expanded, so touch and keyboard work without hover). */
.nav__sub
{
    position: absolute;
    top: 100%;
    left: -20px;
    min-width: 260px;
    margin: 0;
    padding: 12px 0;
    list-style: none;
    background: var(--c-white);
    box-shadow: 0 12px 32px rgba(12, 18, 32, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav__item:hover > .nav__sub,
.nav__item:focus-within > .nav__sub,
.nav__link[aria-expanded="true"] + .nav__sub
{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__link[aria-expanded="true"] .caret
{
    transform: rotate(180deg);
}

.nav__sub a
{
    display: block;
    padding: 10px 24px;
    min-height: var(--tap);
    color: var(--c-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
}

.nav__sub a:hover,
.nav__sub a:focus-visible
{
    color: var(--c-link);
    background: var(--c-panel);
}

/* ---- language switcher ---- */

.lang
{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lang a
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--tap);
    height: var(--tap);
    border-radius: 2px;
}

.lang img
{
    display: block;
    width: 22px;
    height: 15px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(12, 18, 32, 0.15);
}

.lang a[aria-current="true"] img
{
    box-shadow: 0 0 0 2px var(--c-link);
}

/* ---- mobile menu button ---- */

.menu-toggle
{
    display: none;
    align-items: center;
    justify-content: center;
    width: var(--tap);
    height: var(--tap);
    background: none;
    border: 0;
    color: var(--c-ink);
    font-size: 22px;
}

/* -------------------------------------------------------------- side rails */

.rail
{
    position: fixed;
    top: 50%;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    transform: translateY(-50%);
}

.rail--left
{
    left: 0;
    width: var(--rail-w);
}

.rail--right
{
    right: 0;
    width: var(--rail-w);
}

.rail__link
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--tap);
    min-height: var(--tap);
    color: var(--c-muted-text);
    font-size: 11px;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.rail--right .rail__link
{
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 16px;
}

.rail__link:hover,
.rail__link:focus-visible
{
    color: var(--c-accent-text);
}

.rail__rule
{
    width: 1px;
    height: 48px;
    background: var(--c-border);
}

/* -------------------------------------------------------------------- hero */

.hero
{
    position: relative;
    display: flex;
    align-items: center;
    min-height: 620px;
    padding: 96px 0;
    background-color: var(--c-ink);
    background-position: center;
    background-size: cover;
    color: var(--c-white);
    overflow: hidden;
}

.hero::after
{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 18, 32, 0.78) 0%, rgba(12, 18, 32, 0.55) 50%, rgba(12, 18, 32, 0.18) 100%);
}

.hero__inner
{
    position: relative;
    text-shadow: 0 1px 12px rgba(12, 18, 32, 0.55);
    z-index: 1;
    max-width: 780px;
}

.hero__eyebrow
{
    margin: 0 0 14px;
    color: var(--c-white);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 3.4px;
    text-transform: uppercase;
    opacity: 0.92;
}

.hero__title
{
    margin: 0 0 10px;
    color: var(--c-white);
    font-size: clamp(27px, 3.7vw, 46px);   /* slightly smaller at the client's request, 2026-11-21 */
    font-weight: 300;
    line-height: 1.18;
    letter-spacing: 0.5px;
}

.hero__subtitle
{
    margin: 0 0 32px;
    color: var(--c-white);
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 200;
    line-height: 1.45;
    opacity: 0.95;
}

.hero .btn
{
    margin-top: 8px;
}

/* ------------------------------------------------------------------- bands */

/* A full-bleed photograph on one side, a pale panel of copy on the other.
   Three of these make up most of the home page. */
.band
{
    /* as on the legacy page: a centred block with air around it, not a
       full-bleed stripe, so consecutive bands read as separate cards */
    max-width: 1200px;
    margin: 72px auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    background: var(--c-panel);
}

.band__media
{
    position: relative;
    min-height: 460px;
    background-position: center 30%;
    background-size: cover;
}

.band__body
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--band-pad) clamp(24px, 5vw, 88px);
}

.band__body-inner
{
    width: 100%;
    max-width: 560px;
}

.band--media-right .band__media
{
    order: 2;
}

.eyebrow
{
    margin: 0 0 10px;
    color: var(--c-accent-text);
    font-size: var(--fs-eyebrow);
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: normal;
}

.band__title
{
    margin: 0 0 22px;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 200;
    line-height: 1.3;
}

.band__text p:last-child
{
    margin-bottom: 0;
}

.band .btn
{
    margin-top: 32px;
    align-self: flex-start;
}

/* ----------------------------------------------------------------- section */

.section
{
    padding: 84px 0;
}

.section--panel
{
    background: var(--c-panel);
}

.section__title
{
    margin: 0 0 48px;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 200;
    letter-spacing: 1.6px;
    text-align: center;
    text-transform: uppercase;
}

/* ---------------------------------------------------------------- reviews */

.reviews
{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px var(--gap);
}

.review
{
    padding-left: 20px;
    border-left: 2px solid var(--c-border);
}

.review__text
{
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.6;
}

.review__who
{
    display: flex;
    align-items: center;
    gap: 12px;
}

.review__avatar
{
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--c-border);
}

.review__name
{
    display: block;
    color: var(--c-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.review__role,
.review__date
{
    display: block;
    color: var(--c-muted-text);
    font-size: 13px;
    line-height: 1.4;
}

/* ------------------------------------------------------------- two columns */

.duo
{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.duo__aside
{
    padding: 48px;
    background: var(--c-panel);
}

.topic-list
{
    margin: 0;
    padding: 0;
    list-style: none;
}

.topic
{
    margin-bottom: 28px;
}

.topic__name
{
    margin: 0 0 8px;
    padding-left: 18px;
    position: relative;
    color: var(--c-ink);
    font-size: 20px;
    font-weight: 400;
}

.topic__name::before
{
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c-accent);
}

.topic p
{
    margin: 0;
    font-size: 16px;
}

/* ------------------------------------------------------------------ footer */

.site-footer
{
    padding: 56px 0 44px;
    background: var(--c-ink);
    color: var(--c-muted);
    text-align: center;
}

.site-footer a
{
    color: var(--c-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer a:hover,
.site-footer a:focus-visible
{
    color: var(--c-teal);
}

.site-footer__title
{
    margin: 0 0 12px;
    color: var(--c-white);
    font-size: 18px;
    font-weight: 700;
}

.site-footer p
{
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.7;
}

.site-footer__legal
{
    margin-top: 22px;
    font-size: 14px;
}

/* -------------------------------------------------------------- to the top */

.to-top
{
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--tap);
    height: var(--tap);
    background: var(--c-accent);
    color: var(--c-on-accent);
    border: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s, background 0.18s ease;
}

.to-top.is-visible
{
    opacity: 1;
    visibility: visible;
}

.to-top:hover,
.to-top:focus-visible
{
    background: var(--c-accent-dark);
    color: var(--c-on-accent);
}

/* --------------------------------------------------------------- prose */

.prose
{
    max-width: 820px;
}

.prose h2
{
    margin-top: 1.6em;
    font-size: var(--fs-h3);
}

.prose h3
{
    margin-top: 1.4em;
    font-size: var(--fs-h4);
}

.prose ul,
.prose ol
{
    margin: 0 0 1.2em;
    padding-left: 1.4em;
}

.prose li
{
    margin-bottom: 0.5em;
}

.page-head
{
    padding: 72px 0 8px;
}

.page-head__title
{
    margin: 0;
    font-size: clamp(30px, 3.6vw, 48px);
    font-weight: 200;
}

/* ------------------------------------------------------- prose extras */

.accent
{
    color: var(--c-link);
    font-weight: 300;
}

.prose h5,
.prose h6
{
    margin: 1.6em 0 0.6em;
    font-size: 22px;
    font-weight: 300;
}

.prose img
{
    display: block;
    margin: 1.2em 0;
}

.prose img.alignleft
{
    float: left;
    max-width: 45%;
    margin: 0.4em 28px 16px 0;
}

.prose img.alignright
{
    float: right;
    max-width: 45%;
    margin: 0.4em 0 16px 28px;
}

.prose img.aligncenter
{
    margin-left: auto;
    margin-right: auto;
}

.prose::after
{
    content: "";
    display: block;
    clear: both;
}

.prose table
{
    width: 100%;
    margin: 0 0 1.2em;
    border-collapse: collapse;
    font-size: 16px;
}

.prose th,
.prose td
{
    padding: 10px 12px;
    border-bottom: 1px solid var(--c-border);
    text-align: left;
    vertical-align: top;
}

.prose blockquote
{
    margin: 1.4em 0;
    padding: 4px 0 4px 22px;
    border-left: 3px solid var(--c-accent);
}

.muted
{
    color: var(--c-muted-text);
}

.section--tight
{
    padding-top: 32px;
}

.page-head .eyebrow a
{
    color: var(--c-accent-text);
}

/* ------------------------------------------------------------- cards */

.cards
{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px var(--gap);
}

.card
{
    display: flex;
    flex-direction: column;
    background: var(--c-white);
    box-shadow: 0 1px 0 var(--c-border), 0 0 0 1px var(--c-border);
}

.card:not(:has(.card__media))
{
    border-top: 3px solid var(--c-accent);
}

.card__media
{
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--c-panel);
}

.card__media img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .card__media img
{
    transform: scale(1.03);
}

.card__body
{
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px 26px 28px;
}

.card__date
{
    margin: 0 0 8px;
    color: var(--c-accent-text);
    font-size: 14px;
    font-weight: 400;
}

.card__title
{
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.35;
}

.card__title a
{
    color: var(--c-ink);
}

.card__title a:hover,
.card__title a:focus-visible
{
    color: var(--c-link);
}

.card__text
{
    flex: 1;
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.6;
}

.card__meta
{
    margin: 0 0 14px;
    color: var(--c-ink);
    font-size: 15px;
    font-weight: 400;
}

.card__more
{
    display: inline-flex;
    align-items: center;
    min-height: var(--tap);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ---------------------------------------------------------- calendar */

.calendar
{
    margin-bottom: 56px;
}

.calendar__bar
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.calendar__month
{
    margin: 0;
    font-size: 26px;
    font-weight: 300;
    text-transform: capitalize;
}

.calendar__nav
{
    display: inline-flex;
    gap: 8px;
}

.calendar__nav button
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--tap);
    height: var(--tap);
    background: var(--c-panel);
    border: 1px solid var(--c-border);
    color: var(--c-ink);
    font: inherit;
    font-size: 16px;
}

.calendar__nav button:hover,
.calendar__nav button:focus-visible
{
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: var(--c-white);
}

.calendar__grid
{
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border-top: 1px solid var(--c-border);
    border-left: 1px solid var(--c-border);
}

.calendar__dow,
.calendar__day
{
    border-right: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}

.calendar__dow
{
    padding: 10px 8px;
    background: var(--c-panel);
    color: var(--c-ink);
    font-size: 13px;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calendar__day
{
    min-height: 96px;
    padding: 8px;
    font-size: 14px;
}

.calendar__day--out
{
    background: #fafbfc;
    color: var(--c-border);
}

.calendar__day--today .calendar__num
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--c-accent);
    color: var(--c-on-accent);
}

.calendar__event
{
    display: block;
    margin-top: 6px;
    padding: 4px 6px;
    background: rgba(140, 100, 32, 0.08);
    border-left: 3px solid var(--c-link);
    color: var(--c-ink);
    font-size: 13px;
    line-height: 1.35;
}

.calendar__empty
{
    margin: 14px 0 0;
    color: var(--c-muted-text);
    font-size: 15px;
}

/* On a phone the month becomes the list of the days that have something on. */
.calendar__list
{
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

.calendar__list li
{
    padding: 12px 0;
    border-bottom: 1px solid var(--c-border);
}

/* ------------------------------------------------------------- event */

.event
{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 56px;
    align-items: start;
}

.event__aside
{
    position: sticky;
    top: calc(var(--header-h) + 24px);
    padding: 28px;
    background: var(--c-panel);
}

.facts
{
    margin: 0 0 24px;
}

.facts dt
{
    color: var(--c-muted-text);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.facts dd
{
    margin: 2px 0 14px;
    color: var(--c-ink);
    font-size: 16px;
    font-weight: 400;
}

.btn--block
{
    display: block;
    width: 100%;
    margin-top: 10px;
}

.btn--outline
{
    background: transparent;
    color: var(--c-ink);
    box-shadow: inset 0 0 0 1px var(--c-ink);
}

.btn--outline:hover,
.btn--outline:focus-visible
{
    background: var(--c-ink);
    color: var(--c-white);
}

/* ----------------------------------------------------------- contact */

.contact-intro
{
    margin-bottom: 40px;
}

.contact-cards
{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gap);
    margin-bottom: 56px;
}

.contact-card
{
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 28px 24px;
    background: var(--c-panel);
}

.contact-card__icon
{
    color: var(--c-accent);
    font-size: 26px;
    line-height: 1;
    margin-bottom: 8px;
}

.contact-card__label
{
    color: var(--c-muted-text);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-card__value
{
    color: var(--c-ink);
    font-size: 15px;
    font-weight: 400;
    overflow-wrap: anywhere;
}

a.contact-card__value
{
    display: inline-flex;
    align-items: center;
    min-height: var(--tap);
}

a.contact-card__value:hover,
a.contact-card__value:focus-visible
{
    color: var(--c-link);
}

.contact-details h2
{
    font-size: 26px;
}

.registry
{
    list-style: none;
    padding-left: 0 !important;
}

.registry li
{
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--c-border);
    margin: 0;
}

.registry span
{
    color: var(--c-ink);
    font-weight: 300;
}

/* ------------------------------------------------- responsive, directive C12 */

@media (max-width: 1180px)
{
    :root
    {
        --fs-body: 17px;
        --band-pad: 56px;
    }

    .nav__list
    {
        gap: 20px;
    }

    .nav__link
    {
        font-size: 16px;
    }

    .rail
    {
        display: none;
    }
}

@media (max-width: 980px)
{
    .reviews
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .duo
    {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .cards
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-cards
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event
    {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .event__aside
    {
        position: static;
    }
}

@media (max-width: 640px)
{
    .cards,
    .contact-cards
    {
        grid-template-columns: minmax(0, 1fr);
    }

    /* the month grid is unreadable at phone width: show the agenda instead */
    .calendar__grid
    {
        display: none;
    }

    .calendar__list
    {
        display: block;
    }

    .prose img.alignleft,
    .prose img.alignright
    {
        float: none;
        max-width: 100%;
        margin: 1em 0;
    }

    .registry li
    {
        flex-direction: column;
        gap: 2px;
    }

    .prose table
    {
        display: block;
        overflow-x: auto;
    }
}

html.nav-open,
html.nav-open body
{
    overflow: hidden;
}

/* Below this width the whole navigation becomes a panel driven by a button:
   no hover-only affordance survives on a touch screen. */
@media (max-width: 860px)
{
    :root
    {
        --header-h: 72px;
    }

    .menu-toggle
    {
        display: inline-flex;
    }

    /* the side rails are hidden here, so the header needs no room for them */
    .site-header__inner
    {
        padding: 0 16px 0 24px;
    }

    .site-logo img
    {
        max-height: 52px;
    }

    .nav
    {
        position: fixed;
        inset: var(--header-h) 0 0 0;
        z-index: 55;
        display: block;
        padding: 16px 24px 48px;
        background: var(--c-white);
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateX(100%);
        transition: transform 0.24s ease;
    }

    .nav.is-open
    {
        transform: translateX(0);
    }

    .nav__list
    {
        display: block;
    }

    .nav__item
    {
        border-bottom: 1px solid var(--c-border);
    }

    .nav__link
    {
        justify-content: space-between;
        width: 100%;
        min-height: 56px;
        font-size: 18px;
    }

    .nav__sub
    {
        position: static;
        min-width: 0;
        margin: 0 0 8px;
        padding: 0 0 8px 16px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .nav__link[aria-expanded="true"] + .nav__sub
    {
        display: block;
    }

    .nav__sub a
    {
        padding: 10px 0;
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .lang
    {
        margin-top: 24px;
        justify-content: flex-start;
    }

    .hero
    {
        min-height: 480px;
        padding: 64px 0;
    }

    .hero::after
    {
        background: linear-gradient(180deg, rgba(12, 18, 32, 0.55) 0%, rgba(12, 18, 32, 0.68) 100%);
    }

    /* The photograph stops being a side-by-side half and becomes a banner
       above the copy, so nothing has to be read at half width on a phone. */
    .band
    {
        grid-template-columns: minmax(0, 1fr);
        margin: 0 0 24px;
    }

    .band__media
    {
        min-height: 240px;
        order: 0;
    }

    .band--media-right .band__media
    {
        order: 0;
    }

    .band__body
    {
        padding: 40px 24px 48px;
    }

    .band .btn,
    .duo__aside .btn
    {
        width: 100%;
    }

    .section
    {
        padding: 56px 0;
    }

    .reviews
    {
        grid-template-columns: minmax(0, 1fr);
    }

    .duo__aside
    {
        padding: 32px 24px;
    }
}

@media (max-width: 420px)
{
    .wrap
    {
        padding: 0 16px;     /* 16 px side gutter, directive C12 */
    }

    .btn
    {
        padding: 20px 24px;
    }
}

@media (prefers-reduced-motion: reduce)
{
    *,
    *::before,
    *::after
    {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media print
{
    .site-header,
    .rail,
    .to-top,
    .menu-toggle
    {
        display: none !important;
    }
}

/* ------------------------------------------- client changes, 2026-11-20 */

/* The portrait on the home page, smaller than the other two photographs:
   a narrower column and a shorter frame, framed on the face. */
.band--media-small
{
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
}

.band--media-small .band__media
{
    min-height: 340px;
    background-position: center 18%;
}

/* LinkedIn call to action that replaces the reviews block */
.cta
{
    max-width: 760px;
    text-align: center;
}

.cta__text
{
    margin: 0 auto 28px;
}

.cta .btn
{
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Professional rolls and certifications: one row of logos, each with its label */
.prose .badges
{
    display: flex;
    flex-wrap: wrap;
    gap: 20px 14px;
    margin: 24px 0 32px;
    padding: 0;
    list-style: none;
}

.prose .badges li
{
    margin: 0;
    padding: 0;
}

.prose .badges li::before
{
    content: none;
}

.badges a
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 104px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.badges img
{
    height: 67px;
    width: auto;
    max-width: 104px;
    object-fit: contain;
}

.contact-legal
{
    color: var(--c-muted-text);
    font-size: 14px;
}

@media (max-width: 860px)
{
    .band--media-small
    {
        grid-template-columns: minmax(0, 1fr);
    }

    .band--media-small .band__media
    {
        min-height: 220px;
    }

    .badges
    {
        justify-content: center;
        gap: 20px;
    }

    .badges a
    {
        width: 120px;
    }
}

.cta .section__title
{
    margin-bottom: 20px;
}

/* A smaller CTA title, for a long line such as a day and time */
.cta__title-small
{
    font-size: clamp(20px, 2.2vw, 28px);
}

/* ------------------------------------------- page title close to its text
   The page title and the first block under it read as one unit: the full
   section padding plus the first heading's top margin left a visible hole. */
.page-head + .section
{
    padding-top: 28px;
}

.prose > :first-child,
.prose > p:empty + *
{
    margin-top: 0;
}

.prose > p:empty
{
    display: none;
}

/* ------------------------------------------- blog post: preview image
   The card image is shown again at the top of the article, on the right,
   with the text running beside it and then underneath. */
.prose .post-figure
{
    float: right;
    width: 44%;
    max-width: 380px;
    height: auto;
    margin: 6px 0 20px 32px;
    border-radius: 4px;
    aspect-ratio: 8 / 5;
    object-fit: cover;
}

@media (max-width: 767px)
{
    .prose .post-figure
    {
        float: none;
        display: block;
        width: 100%;
        max-width: none;
        margin: 0 0 20px;
    }
}

/* ---------------------------------------------------- types of translation
   Three boxes, the whole box is the link to the service page. */
.choices
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.choice
{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 36px 28px 30px;
    border: 1px solid var(--c-border);
    border-radius: 6px;
    color: var(--c-body);
    background: var(--c-white);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.choice:hover,
.choice:focus-visible
{
    border-color: var(--c-accent);
    box-shadow: 0 10px 28px rgba(12, 18, 32, 0.10);
    transform: translateY(-3px);
}

/* client's request 2026-11-23: the three icons in the colours of the logo,
   soft tones on a pale disc, navy and gold in turn */
.choice__icon
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--c-logo-navy-pale);
    box-shadow: inset 0 0 0 2px var(--c-logo-gold-pale);
}

.choice__icon .icon
{
    width: 46px;
    height: 46px;
    color: var(--c-logo-navy);
}

.choices > :nth-child(2) .choice__icon
{
    background: var(--c-logo-gold-pale);
    box-shadow: inset 0 0 0 2px var(--c-logo-navy-pale);
}

.choices > :nth-child(2) .choice__icon .icon
{
    color: var(--c-logo-gold);
}

.choice__title
{
    margin: 20px 0 14px;
    color: var(--c-ink);
    font-size: 22px;
    font-weight: 600;
}

.choice__text
{
    flex: 1;
    font-size: 16px;
    line-height: 1.65;
}

.choice__text p { margin: 0 0 10px; }

.choice__more
{
    margin-top: 14px;
    color: var(--c-accent-text);
    font-weight: 600;
}

.choice:hover .choice__more,
.choice:focus-visible .choice__more
{
    text-decoration: underline;
}

/* ------------------------------------------------- quick guide (PDF) banner */
.guide
{
    position: relative;
    padding: 72px 0;
    background-color: var(--c-ink);
    background-position: center;
    background-size: cover;
    color: var(--c-white);
    overflow: hidden;
}

.guide::after
{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(12, 18, 32, 0.55);
}

.guide__inner
{
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.guide__body
{
    max-width: 620px;
}

.guide__title
{
    margin: 0 0 18px;
    color: var(--c-accent);
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 700;
    line-height: 1.2;
}

.guide__text
{
    margin-bottom: 30px;
    font-size: clamp(18px, 1.8vw, 22px);
    font-style: italic;
    line-height: 1.55;
}

.guide__text p { margin: 0; }

.guide .btn
{
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.guide__cover
{
    flex: 0 0 auto;
    width: 260px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    transform: rotate(3deg);
}

@media (max-width: 980px)
{
    .choices { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .guide__cover { width: 200px; }
}

@media (max-width: 640px)
{
    .guide { padding: 56px 0; text-align: center; }
    .guide__cover { display: none; }
}

@media (prefers-reduced-motion: reduce)
{
    .choice { transition: none; }
    .choice:hover, .choice:focus-visible { transform: none; }
}

/* ------------------------------------------------ bands with a wide photo
   Three layouts for a horizontal photograph, chosen per band with "layout". */

/* flow: the photo at the side, the text beside it and then underneath */
.band--flow
{
    display: block;
    padding: var(--band-pad) clamp(24px, 5vw, 72px);
}

.band--flow::after
{
    content: "";
    display: block;
    clear: both;
}

.band--flow .band__media
{
    float: left;
    width: min(48%, 540px);
    min-height: 0;
    aspect-ratio: 3 / 2;
    margin: 6px 44px 20px 0;
    border-radius: 4px;
}

.band--flow.band--media-right .band__media
{
    float: right;
    margin: 6px 0 20px 44px;
}

.band--flow .band__body
{
    display: block;
    padding: 0;
}

.band--flow .band__body-inner
{
    max-width: none;
}

/* split: photo and text side by side, the photo kept horizontal */
.band--split
{
    align-items: center;
    gap: clamp(28px, 4vw, 56px);
    padding: clamp(28px, 4vw, 48px);
}

.band--split .band__media
{
    min-height: 0;
    aspect-ratio: 3 / 2;
    border-radius: 4px;
}

.band--split .band__body
{
    padding: 0;
}

/* stack: a wide strip of photo across the card, the text underneath */
.band--stack
{
    display: block;
}

.band--stack .band__media
{
    min-height: 0;
    aspect-ratio: 12 / 5;
}

.band--stack .band__body
{
    display: block;
    padding: clamp(32px, 4vw, 56px) clamp(24px, 5vw, 88px);
}

.band--stack .band__body-inner
{
    max-width: 820px;
}

@media (max-width: 860px)
{
    .band--flow .band__media,
    .band--flow.band--media-right .band__media
    {
        float: none;
        width: 100%;
        margin: 0 0 28px;
    }

    .band--split
    {
        grid-template-columns: minmax(0, 1fr);
    }

    .band--split .band__media,
    .band--split.band--media-right .band__media
    {
        order: 0;
    }

    .band--stack .band__media
    {
        aspect-ratio: 3 / 2;
    }
}

@media (max-width: 640px)
{
    .band--flow
    {
        padding: 24px 24px 48px;
    }

    .band--split
    {
        padding: 24px 24px 48px;
    }

    .band--flow .band__media,
    .band--split .band__media,
    .band--stack .band__media
    {
        min-height: 0;
    }
}

/* review pages (layout proposals): a pale strip above the page */
.notice
{
    padding: 20px 0;
    border-bottom: 1px solid var(--c-border);
    background: #fff8ec;
    font-size: 15px;
}

.notice__inner p { margin: 0 0 6px; }
.notice__inner p:last-child { margin: 0; }
.notice__inner a { font-weight: 600; }
.notice__inner a[aria-current="page"] { color: var(--c-ink); text-decoration: none; }

.notice__title
{
    margin: 0 0 6px;
    color: var(--c-ink);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 600;
}

/* home hero: two-line eyebrow and the introduction under the subtitle (client's texts, 2026-11-21) */
.hero__eyebrow
{
    line-height: 1.9;
}

.hero__eyebrow em
{
    font-style: italic;
    letter-spacing: 2px;
}

.hero__text
{
    max-width: 760px;
    margin: -12px 0 30px;
    color: var(--c-white);
    font-size: clamp(16px, 1.4vw, 18px);
    font-weight: 400;
    line-height: 1.65;
}

.hero__text p { margin: 0; }

/* client's notes 2026-11-21: the hero eyebrow a little larger, band titles on one line */
.hero__eyebrow
{
    font-size: 17px;
}

.band--split .band__title
{
    font-size: clamp(24px, 2.5vw, 34px);
}

/* a second picture inside a blog article, on the left of its paragraph */
.prose .post-inline-figure
{
    float: left;
    width: 36%;
    max-width: 300px;
    height: auto;
    margin: 6px 32px 20px 0;
    border-radius: 4px;
}

@media (max-width: 767px)
{
    .prose .post-inline-figure
    {
        float: none;
        display: block;
        width: 100%;
        max-width: 360px;
        margin: 0 auto 20px;
    }
}

/* client's request 2026-11-23: every clickable contact (email, phone, WhatsApp) in bold,
   in the text, in the footer and in the contact cards; not the "share by email" links */
a[href^="mailto:"]:not([href^="mailto:?"]),
a[href^="tel:"],
a[href^="https://wa.me/"],
a[href^="https://api.whatsapp.com/send"]
{
    font-weight: 700;
}

/* client's request 2026-11-23: at the end of the four service pages, "get a quote" (filled)
   then "terms and conditions" (outline), side by side, separated from the text by a thin rule */
.page-actions
{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--c-border);
}

.page-actions .btn
{
    margin: 0;
}

/* client's request 2026-11-24: on "Richiedi un preventivo" the introduction and the
   contact cards under it read as one block, without two full section paddings between */
.section:has(.prose):has(+ .section .contact-cards)
{
    padding-bottom: 0;
}

.section:has(.prose) + .section:has(.contact-cards)
{
    padding-top: 28px;
}

.section:has(.prose):has(+ .section .contact-cards) .prose > :last-child
{
    margin-bottom: 0;
}

/* client's request 2026-11-26: on "English Conversation Cafe" less space between
   the text and the regular-session panel under it */
.section:has(.prose):has(+ .section .cta)
{
    padding-bottom: 28px;
}

.section:has(.prose):has(+ .section .cta) .prose > :last-child
{
    margin-bottom: 0;
}

/* client's request 2026-11-24: "how it works" in four steps on the home page,
   numbers in the colours of the logo like the icons of the three choices */
.prose:has(.steps)
{
    max-width: none;
}

.steps
{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin: 0 0 40px;
    padding: 0 !important;
    list-style: none;
    counter-reset: none;
}

.prose .steps li
{
    margin: 0;
    padding: 32px 24px 28px;
    border: 1px solid var(--c-border);
    border-radius: 6px;
    background: var(--c-white);
    text-align: center;
}

.steps__num
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--c-logo-navy-pale);
    box-shadow: inset 0 0 0 2px var(--c-logo-gold-pale);
    color: var(--c-logo-navy);
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
}

.steps li:nth-child(even) .steps__num
{
    background: var(--c-logo-gold-pale);
    box-shadow: inset 0 0 0 2px var(--c-logo-navy-pale);
    color: var(--c-logo-gold);
}

.prose .steps h3
{
    margin: 18px 0 10px;
    font-size: 21px;
    font-weight: 600;
}

.steps p
{
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.steps__action
{
    margin: 0;
    text-align: center;
}

@media (max-width: 980px)
{
    .steps
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px)
{
    .steps
    {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px)
{
    .page-actions
    {
        flex-direction: column;
    }

    .page-actions .btn
    {
        width: 100%;
    }
}
