@font-face {
    font-family: "WEDX Avenir Next";
    src: url("../fonts/avenir-next/avenir-next-regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "WEDX Avenir Next";
    src: url("../fonts/avenir-next/avenir-next-medium.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: "WEDX Avenir Next";
    src: url("../fonts/avenir-next/avenir-next-demi.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: "WEDX Avenir Next";
    src: url("../fonts/avenir-next/avenir-next-bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: "WEDX Avenir Arabic";
    src: url("../fonts/avenir-arabic/avenir-arabic-medium.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

:root {
    --wedx-font-latin-body: "WEDX Avenir Next", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --wedx-font-latin-display: "WEDX Avenir Next", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --wedx-font-arabic-body: "WEDX Avenir Arabic", Tahoma, Arial, sans-serif;
    --wedx-font-arabic-display: "WEDX Avenir Arabic", Tahoma, Arial, sans-serif;
    --wedx-font-display: var(--wedx-font-latin-display);
    --wedx-font-body: var(--wedx-font-latin-body);
    --wedx-font-ui: var(--wedx-font-latin-body);
    /* Active weights are limited to values the system fallback stacks resolve without synthesis. */
    --wedx-weight-regular: 400;
    --wedx-weight-medium: 500;
    --wedx-weight-strong: 600;
    --wedx-weight-bold: 700;
    /* Tracking roles are neutralized for Arabic and RTL below; never hard-code negative tracking. */
    --wedx-track-hero: -.035em;
    --wedx-track-title: -.025em;
    --wedx-track-subtitle: -.015em;
    --wedx-track-label: .18em;
    --wedx-black: #000000;
    --wedx-ivory: #f7f6e8;
    --wedx-forest: #084b39;
    --wedx-lavender: #b39ddf;
    --wedx-purple: #4a1794;
    --wedx-amber: #f9a62e;
    --wedx-butter: #fcebaa;
    --wedx-orange: #ff622e;
    --wedx-periwinkle: #91abe8;
    --wedx-coral: #f23a4a;
    --wedx-pink: #e8a4c4;
    --wedx-sage: #d7ddc8;
    --wedx-canvas: var(--wedx-ivory);
    --wedx-text: var(--wedx-black);
    --wedx-max: 1312px;
    --wedx-radius-media: 16px;
    --wedx-radius-control: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html[lang^="ar"],
html[dir="rtl"] {
    --wedx-font-display: var(--wedx-font-arabic-display);
    --wedx-font-body: var(--wedx-font-arabic-body);
    --wedx-font-ui: var(--wedx-font-arabic-body);
    --wedx-track-hero: normal;
    --wedx-track-title: normal;
    --wedx-track-subtitle: normal;
    --wedx-track-label: normal;
    /* The supplied Arabic family contains one genuine 500 face. Avoid synthesized weight variants. */
    --wedx-weight-regular: 500;
    --wedx-weight-medium: 500;
    --wedx-weight-strong: 500;
    --wedx-weight-bold: 500;
    font-synthesis: none;
}
body {
    margin: 0;
    color: var(--wedx-text);
    background: var(--wedx-canvas);
    font-family: var(--wedx-font-body);
    font-size: 17px;
    line-height: 1.55;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--wedx-font-display); }
body.menu-open { overflow: hidden; }
a { color: inherit; }
nav, button, input, textarea, select, label, .button { font-family: var(--wedx-font-ui); }
button, input, textarea, select { font-size: inherit; line-height: inherit; }
img { display: block; max-width: 100%; height: auto; }

.skip-link {
    position: fixed;
    inset-block-start: 12px;
    inset-inline-start: 12px;
    z-index: 1000;
    padding: 10px 14px;
    color: var(--wedx-ivory);
    background: var(--wedx-black);
    border: 2px solid var(--wedx-butter);
    border-radius: var(--wedx-radius-control);
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

:where(a, button):focus-visible {
    outline: 3px solid var(--wedx-purple);
    outline-offset: 4px;
}
.site-header :where(a, button):focus-visible,
.home-contact :where(a, button):focus-visible,
.records-contact :where(a, button):focus-visible,
.site-footer :where(a, button):focus-visible {
    outline-color: var(--wedx-butter);
}
/* Black-led surfaces need a periwinkle ring; royal purple does not separate from black. */
.has-core-page :where(a, button, input, select, textarea):focus-visible,
.has-record-hub :where(a, button, input, select, textarea):focus-visible,
.has-record-detail :where(a, button, input, select, textarea):focus-visible,
.has-portfolio :where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid var(--wedx-periwinkle);
    outline-offset: 3px;
}
/* Contained colour fields reassign the ring so it never sits on a same-hue surface. */
.has-record-hub .records-contact :where(a, button):focus-visible,
.has-record-detail .records-contact :where(a, button):focus-visible,
.has-portfolio .records-contact :where(a, button):focus-visible,
.has-core-page .about-contact :where(a, button):focus-visible {
    outline-color: var(--wedx-black);
}
.has-core-page .about-company :where(a, button):focus-visible,
.has-core-page .contact-direct :where(a, button):focus-visible {
    outline-color: var(--wedx-black);
}
.has-core-page .about-process :where(a, button):focus-visible {
    outline-color: var(--wedx-ivory);
}
@media (prefers-color-scheme: dark) {
    .wedx-fallback-list :where(a, button):focus-visible,
    .wedx-fallback-singular :where(a, button):focus-visible,
    .wedx-status-page :where(a, button):focus-visible {
        outline-color: var(--wedx-periwinkle);
    }
}

.site-header {
    position: relative;
    z-index: 100;
    min-height: 72px;
    color: var(--wedx-ivory);
    background: var(--wedx-black);
}
.site-header__inner {
    width: min(calc(100% - 128px), var(--wedx-max));
    min-height: 72px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-branding { flex: 0 0 auto; }
.logo-slot {
    width: 208px;
    min-width: 44px;
    min-height: 44px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: var(--wedx-radius-control);
    color: var(--wedx-ivory);
    font-size: 12px;
    font-weight: var(--wedx-weight-strong);
    text-decoration: none;
}
.logo-slot img {
    display: block;
    width: 208px;
    height: auto;
}
.menu-toggle {
    min-width: 88px;
    min-height: 48px;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    border: 0;
    color: inherit;
    background: transparent;
    font-size: 16px;
    font-weight: var(--wedx-weight-strong);
    cursor: pointer;
}
.menu-toggle__mark {
    width: 28px;
    height: 18px;
    display: grid;
    align-content: center;
    gap: 7px;
}
.menu-toggle__mark > span {
    width: 100%;
    height: 2px;
    display: block;
    background: currentColor;
    transition: transform 180ms cubic-bezier(.2, .8, .2, 1);
}
.menu-toggle:hover .menu-toggle__mark > span:first-child { transform: translateX(4px); }
.menu-toggle:hover .menu-toggle__mark > span:last-child { transform: translateX(-4px); }
html[dir="rtl"] .menu-toggle:hover .menu-toggle__mark > span:first-child { transform: translateX(-4px); }
html[dir="rtl"] .menu-toggle:hover .menu-toggle__mark > span:last-child { transform: translateX(4px); }

.site-nav {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: flex;
    justify-content: flex-end;
    visibility: hidden;
    overflow: hidden;
    color: var(--wedx-ivory);
    background: rgb(0 0 0 / 68%);
    pointer-events: none;
    transition: visibility 0s linear 300ms;
}
.site-nav.is-open {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}
.site-nav__panel {
    width: min(560px, 100%);
    min-height: 100dvh;
    padding: 32px clamp(32px, 4.5vw, 64px) 40px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: var(--wedx-black);
    border-inline-start: 1px solid rgb(247 246 232 / 24%);
    transform: translateX(100%);
    transition: transform 300ms cubic-bezier(.16, 1, .3, 1);
}
html[dir="rtl"] .site-nav__panel { transform: translateX(-100%); }
.site-nav.is-open .site-nav__panel { transform: translateX(0); }
.site-nav__header {
    min-height: 48px;
    margin-block-end: clamp(40px, 7vh, 72px);
    padding-block-end: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-block-end: 1px solid rgb(247 246 232 / 30%);
}
.site-nav__title {
    font-size: 16px;
    font-weight: var(--wedx-weight-strong);
}
.site-nav__close {
    min-width: 88px;
    min-height: 48px;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    border: 0;
    color: inherit;
    background: transparent;
    font-weight: var(--wedx-weight-strong);
    cursor: pointer;
}
.site-nav__close-mark {
    position: relative;
    width: 24px;
    height: 24px;
    display: block;
}
.site-nav__close-mark > span {
    position: absolute;
    inset-block-start: 11px;
    inset-inline-start: 1px;
    width: 22px;
    height: 2px;
    display: block;
    background: currentColor;
}
.site-nav__close-mark > span:first-child { transform: rotate(45deg); }
.site-nav__close-mark > span:last-child { transform: rotate(-45deg); }
.site-nav__list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    list-style: none;
}
.site-nav__item {
    border-block-end: 1px solid rgb(247 246 232 / 18%);
}
.site-nav__item a {
    min-height: 64px;
    padding-block: 10px;
    display: flex;
    align-items: center;
    color: inherit;
    font-size: clamp(25px, 3.15vw, 38px);
    font-weight: var(--wedx-weight-strong);
    letter-spacing: var(--wedx-track-subtitle);
    line-height: 1.12;
    text-decoration: none;
}
.site-nav__item a:hover { color: var(--wedx-periwinkle); }
.site-nav__item a:active { transform: translateY(1px); }
.site-nav__item.is-current a,
.site-nav__item a[aria-current="page"] {
    color: var(--wedx-black);
    background: var(--wedx-periwinkle);
}
.site-nav__footer {
    margin-block-start: auto;
    padding-block-start: 40px;
}
.header-language {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: inherit;
    font-size: 15px;
    text-underline-offset: 5px;
}
.header-language strong { font-weight: var(--wedx-weight-bold); }
.no-js .site-header__inner {
    min-height: 72px;
    padding-block: 12px;
}
.no-js .menu-toggle { display: none; }
.no-js .site-nav {
    position: static;
    visibility: visible;
    overflow: visible;
    background: var(--wedx-black);
    pointer-events: auto;
}
.no-js .site-nav__panel {
    width: min(calc(100% - 128px), var(--wedx-max));
    min-height: 0;
    margin-inline: auto;
    padding: 12px 0 32px;
    overflow: visible;
    border: 0;
    transform: none;
}
.no-js .site-nav__header { display: none; }
.no-js .site-nav__list {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.no-js .site-nav__footer { margin-block-start: 24px; padding-block-start: 0; }

.site-main { width: 100%; }
.home-prototype > section {
    padding-block: clamp(72px, 8.4vw, 120px);
    padding-inline: max(clamp(20px, 4.45vw, 64px), calc((100% - var(--wedx-max)) / 2));
}
.home-prototype h1,
.home-prototype h2,
.home-prototype h3,
.home-prototype p { margin-block-start: 0; }
.home-prototype h1 {
    max-width: 11ch;
    margin-block-end: 24px;
    font-size: clamp(56px, 5.3vw, 76px);
    font-weight: var(--wedx-weight-bold);
    letter-spacing: var(--wedx-track-hero);
    line-height: 1;
    text-wrap: balance;
}
.home-prototype h2 {
    margin-block-end: 16px;
    font-size: clamp(36px, 3.65vw, 52px);
    font-weight: var(--wedx-weight-bold);
    letter-spacing: var(--wedx-track-title);
    line-height: 1.08;
    text-wrap: balance;
}
.home-prototype h3 { line-height: 1.2; }
.home-lead {
    max-width: 62ch;
    font-size: clamp(18px, 1.55vw, 22px);
    line-height: 1.5;
}
.section-intro { max-width: 760px; }

.button {
    min-height: 48px;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--wedx-radius-control);
    font-size: 16px;
    font-weight: var(--wedx-weight-bold);
    letter-spacing: normal;
    line-height: 1.2;
    text-decoration: none;
}
.button--primary { color: var(--wedx-ivory); background: var(--wedx-forest); }
.button--light { color: var(--wedx-forest); background: var(--wedx-ivory); }
.button:hover { text-decoration: underline; text-underline-offset: 4px; }
.button:active { transform: translateY(1px); }
.section-link {
    min-height: 44px;
    margin-block-start: 48px;
    display: inline-flex;
    align-items: center;
    font-weight: var(--wedx-weight-bold);
    text-underline-offset: 5px;
}

.media-slot {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--wedx-sage);
    background: var(--wedx-forest);
    border-radius: var(--wedx-radius-media);
}
.media-slot--hero { aspect-ratio: 6 / 5; color: var(--wedx-butter); background: var(--wedx-black); }
.media-slot__image { width: 100%; height: 100%; object-fit: cover; }
.media-slot__label { padding: 24px; font-size: 13px; font-weight: var(--wedx-weight-strong); text-align: center; }

.home-hero {
    min-height: clamp(640px, calc(100vh - 72px), 820px);
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    gap: 24px;
}
.home-hero__copy { grid-column: 1 / span 5; }
.home-hero__copy .home-lead { max-width: 50ch; margin-block-end: 28px; }
.home-hero > .media-slot { grid-column: 6 / span 7; }

.home-sequence { background: var(--wedx-canvas); }
.sequence-grid {
    position: relative;
    margin-block-start: 72px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.sequence-grid::before {
    content: "";
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    height: 2px;
    background: var(--wedx-forest);
}
.sequence-item { position: relative; padding-block-start: 24px; }
.sequence-item:nth-child(2) { margin-block-start: 36px; }
.sequence-item:nth-child(3) { margin-block-start: 72px; }
.sequence-item h3 { margin-block-end: 8px; font-size: 24px; }
.sequence-item p { max-width: 30ch; }

.home-events { color: var(--wedx-purple); background: var(--wedx-lavender); }
.event-grid {
    margin-block-start: 56px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 32px 24px;
}
.event-tile { display: block; text-decoration: none; }
.event-tile:nth-child(1) { grid-column: 1 / 8; grid-row: 1 / 3; }
.event-tile:nth-child(2) { grid-column: 8 / 13; grid-row: 1; }
.event-tile:nth-child(3) { grid-column: 8 / 13; grid-row: 2; }
.event-tile:nth-child(4) { grid-column: 3 / 11; grid-row: 3; }
.event-tile:nth-child(1) .media-slot { aspect-ratio: 16 / 10; }
.event-tile:nth-child(4) .media-slot { aspect-ratio: 16 / 9; }
.event-tile__title { margin-block-start: 14px; display: block; font-size: 24px; font-weight: var(--wedx-weight-bold); }
.event-tile .text-link { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: var(--wedx-weight-bold); text-decoration: underline; text-underline-offset: 5px; }
.event-tile:hover .media-slot { transform: scale(1.02); }
.event-tile:focus-visible { border-radius: var(--wedx-radius-control); }

.home-selected { color: var(--wedx-black); background: var(--wedx-canvas); }
.selected-intro {
    max-width: 760px;
    padding: 36px;
    color: var(--wedx-black);
    background: var(--wedx-butter);
    border-radius: var(--wedx-radius-media);
}
.selected-grid {
    margin-block-start: 48px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.selected-item { margin: 0; }
.selected-item:nth-child(1) { grid-column: 1 / 8; grid-row: 1 / 3; border-inline-start: 8px solid var(--wedx-orange); }
.selected-item:nth-child(2) { grid-column: 8 / 13; grid-row: 1; }
.selected-item:nth-child(3) { grid-column: 8 / 13; grid-row: 2; }
.selected-item:nth-child(1) .media-slot { aspect-ratio: 1; }
.selected-item:nth-child(n + 2) .media-slot { height: 100%; }

.home-services { color: var(--wedx-forest); background: var(--wedx-sage); }
.service-columns {
    margin-block-start: 56px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 72px;
}
.service-group h3 { margin-block-end: 14px; font-size: 24px; }
.service-group__toggle {
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    font-weight: var(--wedx-weight-bold);
    text-align: start;
    pointer-events: none;
}
.service-group__links a {
    min-height: 56px;
    padding-block: 14px;
    display: flex;
    align-items: center;
    border-block-end: 1px solid rgb(8 75 57 / 35%);
    font-size: clamp(18px, 1.7vw, 24px);
    text-decoration: none;
}
.service-group__links a:hover,
.service-group__links a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }

.home-expect {
    margin-block-start: 72px;
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    color: var(--wedx-forest);
    background: var(--wedx-sage);
}
.expect-statements p {
    margin-block-end: 28px;
    font-size: clamp(30px, 4vw, 58px);
    font-weight: var(--wedx-weight-bold);
    letter-spacing: var(--wedx-track-title);
    line-height: 1.04;
}
.expect-statements p:nth-child(2) { margin-inline-start: 7%; }
.expect-statements p:nth-child(3) { margin-inline-start: 15%; }

.home-contact {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    color: var(--wedx-ivory);
    background: var(--wedx-forest);
}
.home-contact__actions { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; }
.contact-email { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 5px; }

.site-footer { color: var(--wedx-ivory); background: var(--wedx-black); }
.site-footer__inner {
    width: min(calc(100% - 128px), var(--wedx-max));
    min-height: 144px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 264px 1fr 1fr 1fr;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    font-size: 14px;
}
.site-footer__brand {
    min-height: 71px;
}
.site-footer__brand img {
    display: block;
    width: 264px;
    height: auto;
}
.site-footer__inner p { margin: 0; }
.site-footer__inner a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 5px; }

.prototype-notice {
    position: fixed;
    inset-inline-end: 12px;
    inset-block-end: 12px;
    z-index: 90;
    max-width: 260px;
    padding: 9px 12px;
    color: var(--wedx-black);
    background: var(--wedx-butter);
    border: 2px solid var(--wedx-black);
    border-radius: var(--wedx-radius-control);
    font-size: 12px;
    font-weight: 700;
}

.motion-ready [data-reveal] { opacity: 0; transform: translateY(12px); }
.motion-ready [data-reveal="media"] { transform: scale(1.015); }
.motion-ready [data-reveal].is-revealed { opacity: 1; transform: none; transition: opacity 420ms ease, transform 420ms ease; }
.motion-ready [data-reveal="media"].is-revealed { transition-duration: 520ms; }
.event-tile .media-slot { transition: transform 220ms ease; }

/* Arabic and RTL never inherit Latin negative tracking, uppercase, or compressed leading. */
html[dir="rtl"] body { line-height: 1.75; }
html[lang^="ar"] :where(h1, h2, h3, h4, h5, h6),
html[dir="rtl"] :where(h1, h2, h3, h4, h5, h6),
html[dir="rtl"] :where(.button, .home-lead, .section-link, .text-link, .media-slot__label) { letter-spacing: normal; }
html[dir="rtl"] .home-prototype h1,
html[dir="rtl"] .home-prototype h2 { letter-spacing: normal; line-height: 1.2; }
html[dir="rtl"] .home-prototype h1 { max-width: 13ch; }
html[dir="rtl"] .button { letter-spacing: normal; text-transform: none; }

@media (prefers-color-scheme: dark) {
    :root { --wedx-canvas: var(--wedx-black); --wedx-text: var(--wedx-ivory); }
    .home-selected { color: var(--wedx-ivory); }
    .home-services,
    .home-expect { color: var(--wedx-ivory); background: var(--wedx-forest); }
    .service-group__links a { border-color: rgb(247 246 232 / 35%); }
    .button--primary { color: var(--wedx-forest); background: var(--wedx-ivory); }
}

@media (max-width: 1279px) {
    .site-header,
    .site-header__inner { min-height: 72px; }
    .site-header__inner { width: min(calc(100% - 64px), var(--wedx-max)); }
    .logo-slot { width: 176px; }
    .logo-slot img { width: 176px; }
    .home-prototype > section { padding-inline: max(32px, calc((100% - var(--wedx-max)) / 2)); }
    .site-footer__inner { width: min(calc(100% - 64px), var(--wedx-max)); }
    .no-js .site-nav__panel { width: min(calc(100% - 64px), var(--wedx-max)); }
    .no-js .site-nav__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .site-header,
    .site-header__inner { min-height: 64px; }
    .site-header__inner { width: calc(100% - 40px); gap: 12px; }
    .logo-slot { width: 160px; min-height: 42px; }
    .logo-slot img { width: 160px; }
    .menu-toggle { min-width: 84px; min-height: 44px; }
    .site-nav__panel {
        padding: 20px 20px 28px;
        border: 0;
    }
    .site-nav__header { margin-block-end: 28px; }
    .site-nav__item a {
        min-height: 60px;
        font-size: clamp(23px, 7.8vw, 30px);
    }
    .site-nav__footer { padding-block-start: 28px; }
    .no-js .site-nav__panel { width: calc(100% - 40px); padding: 8px 0 28px; }
    .no-js .site-nav__list { display: flex; }
    .home-prototype > section { padding: 72px max(20px, 6.15vw); }
    .home-prototype h1 { max-width: 12ch; font-size: clamp(40px, 12vw, 48px); line-height: 1.02; }
    .home-prototype h2 { font-size: clamp(30px, 9.7vw, 38px); }
    .home-lead { font-size: clamp(17px, 4.8vw, 20px); }
    .home-hero {
        min-height: auto;
        padding-block-start: 36px !important;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 36px;
    }
    .home-hero__copy .button { width: 100%; }
    .media-slot--hero { aspect-ratio: 4 / 3; }
    .sequence-grid { margin-block-start: 40px; display: block; }
    .sequence-grid::before { width: 2px; height: 100%; inset-inline-start: 0; }
    .sequence-item,
    .sequence-item:nth-child(2),
    .sequence-item:nth-child(3) { margin: 0; padding: 0 0 32px 24px; }
    html[dir="rtl"] .sequence-item { padding: 0 24px 32px 0; }
    .event-grid { margin-block-start: 36px; display: block; }
    .event-tile { margin-block-end: 28px; }
    .event-tile .media-slot { aspect-ratio: 4 / 3; }
    .event-tile__title { font-size: 22px; }
    .selected-intro { padding: 28px 24px; }
    .selected-grid { display: block; }
    .selected-item { margin-block-end: 28px; }
    .selected-item:nth-child(1) { border-inline-start-width: 6px; }
    .selected-item:nth-child(1) .media-slot,
    .selected-item:nth-child(n + 2) .media-slot { height: auto; aspect-ratio: 4 / 3; }
    .service-columns { margin-block-start: 36px; display: block; }
    .service-group + .service-group { margin-block-start: 32px; }
    .service-group__toggle {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        pointer-events: auto;
        cursor: pointer;
    }
    .service-group__toggle::after { content: "+"; }
    .service-group__toggle[aria-expanded="true"]::after { content: "−"; }
    .service-group__links[hidden] { display: none; }
    .home-expect { margin-block-start: 0; display: block; }
    .expect-statements { margin-block-start: 36px; }
    .expect-statements p { margin-inline-start: 0 !important; margin-block-end: 24px; font-size: clamp(30px, 9vw, 38px); }
    .home-contact { display: block; }
    .home-contact__actions { margin-block-start: 32px; }
    .home-contact .button { width: 100%; }
    .site-footer__inner { width: calc(100% - 40px); min-height: 0; padding-block: 40px; display: block; }
    .site-footer__brand { min-height: 95px; margin-block-end: 24px; }
    .site-footer__brand img { width: 208px; }
    .site-footer__inner > * { margin-block: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .site-nav,
    .site-nav__panel,
    .menu-toggle__mark > span { transition: none !important; }
    .motion-ready [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none !important;
    }
    .event-tile .media-slot,
    .home-v2 [data-decorative-motion],
    .home-v2 [data-reveal] {
        animation: none !important;
        transition: none !important;
    }
}

/* Home v0.2: black-led, sharp geometry scoped to the Home template. */
.home-v2 {
    --home-black: #000000;
    --home-ivory: #f7f6e8;
    --home-purple: #4a1794;
    --home-orange: #ff622e;
    --home-blue: #91abe8;
    min-height: 100%;
    overflow: clip;
    color: var(--home-ivory);
    background: var(--home-black);
}
.home-v2,
.home-v2 :where(a, button, img) { border-radius: 0; }
.home-v2__frame {
    width: min(calc(100% - 128px), var(--wedx-max));
    margin-inline: auto;
}
.home-v2 section { padding-block: 128px; }
.home-v2 h1,
.home-v2 h2,
.home-v2 h3,
.home-v2 p { margin-block-start: 0; }
.home-v2 h1 {
    max-width: 16ch;
    margin-block-end: 24px;
    font-size: clamp(56px, 5.25vw, 76px);
    font-weight: var(--wedx-weight-bold);
    letter-spacing: var(--wedx-track-hero);
    line-height: 1;
    text-wrap: balance;
}
html:not([dir="rtl"]) .home-v2 h1 {
    max-width: 18ch;
    text-wrap: pretty;
}
.home-v2 h2 {
    max-width: 15ch;
    margin-block-end: 20px;
    font-size: clamp(42px, 4vw, 56px);
    font-weight: var(--wedx-weight-bold);
    letter-spacing: var(--wedx-track-title);
    line-height: 1.06;
    text-wrap: balance;
}
.home-v2 h3 {
    margin-block-end: 12px;
    font-size: clamp(26px, 2.6vw, 40px);
    font-weight: var(--wedx-weight-bold);
    letter-spacing: var(--wedx-track-subtitle);
    line-height: 1.1;
}
.home-v2 p { font-size: 18px; line-height: 1.55; }
.home-v2__lead { max-width: 56ch; font-size: clamp(19px, 1.55vw, 22px) !important; }
.home-v2 :where(a):focus-visible { outline: 3px solid var(--home-blue); outline-offset: 3px; }
.home-v2__quote {
    min-height: 52px;
    margin-block-start: 10px;
    padding: 14px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--home-black);
    background: var(--home-orange);
    font-size: 16px;
    font-weight: var(--wedx-weight-bold);
    letter-spacing: normal;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 180ms ease, background-color 180ms ease;
}
.home-v2__quote:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-v2__quote:active { transform: translateY(1px); }

.home-v2__hero {
    min-height: clamp(720px, calc(100dvh - 80px), 820px);
    padding-block: 64px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    gap: 24px;
}
.home-v2__hero-copy {
    position: relative;
    z-index: 2;
    grid-column: 1 / span 7;
    grid-row: 1;
    padding: 48px;
    background: var(--home-black);
}
.home-v2__hero-copy .home-v2__lead { max-width: 46ch; }
.home-v2__hero-media {
    grid-column: 4 / 13;
    grid-row: 1;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--home-black);
}
.home-v2__hero-media .media-slot__image { object-position: center 48%; }
.home-v2 .media-slot__image { width: 100%; height: 100%; object-fit: cover; }

.home-v2__intro {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    gap: 24px;
}
.home-v2__intro-copy { grid-column: 1 / span 7; }
.home-v2__intro-media {
    grid-column: 9 / 13;
    aspect-ratio: 4 / 5;
    padding: 0 0 24px 24px;
    background: var(--home-blue);
}
html[dir="rtl"] .home-v2__intro-media { padding: 0 24px 24px 0; }

.home-v2__work { background: var(--home-black); }
.home-v2__work-intro {
    max-width: 760px;
    margin-block-end: 72px;
    padding: 48px;
    background: var(--home-purple);
}
.home-v2__work-intro > p:last-child { max-width: 52ch; }
.home-v2__projects {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 64px 24px;
}
.home-v2__project { min-width: 0; align-self: start; }
.home-v2__project:nth-child(1) { grid-column: 1 / 8; }
.home-v2__project:nth-child(2) { grid-column: 8 / 13; margin-block-start: 56px; }
.home-v2__project:nth-child(3) { grid-column: 1 / 6; }
.home-v2__project:nth-child(4) { grid-column: 6 / 13; }
.home-v2__project-media { aspect-ratio: 16 / 10; margin-block-end: 24px; overflow: hidden; background: var(--home-black); }
.home-v2__project:nth-child(2) .home-v2__project-media,
.home-v2__project:nth-child(3) .home-v2__project-media { aspect-ratio: 4 / 3; }
.home-v2__project-copy {
    padding: 28px;
    color: var(--home-ivory);
    background: rgb(0 0 0 / 88%);
    border-inline-start: 8px solid var(--home-purple);
}
.home-v2__project[data-media-state="mapped"] {
    padding-block-end: 24px;
    padding-inline-start: 24px;
    background: var(--home-purple);
}
.home-v2__project[data-media-state="mapped"] .home-v2__project-copy {
    padding: 0 24px 0 0;
    background: transparent;
    border: 0;
}
html[dir="rtl"] .home-v2__project[data-media-state="mapped"] .home-v2__project-copy { padding: 0 0 0 24px; }
.home-v2__project-type { margin-block-end: 10px; color: var(--home-blue); font-weight: var(--wedx-weight-strong); letter-spacing: normal; }

.home-v2__events {
    display: block;
}
.home-v2__section-field {
    width: min(100%, 424px);
    margin-block-end: 72px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    color: var(--home-black);
    background: var(--home-blue);
}
.home-v2__section-field h2 { margin-block-end: 0; }
.home-v2__section-field a,
.home-v2__services > header a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-weight: var(--wedx-weight-bold);
    letter-spacing: normal;
    text-underline-offset: 5px;
}
.home-v2__event-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 64px 24px;
}
.home-v2__event {
    min-width: 0;
    display: block;
    align-self: start;
    color: var(--home-ivory);
    text-decoration: none;
}
.home-v2__event:nth-child(1) { grid-column: 1 / 8; }
.home-v2__event:nth-child(2) { grid-column: 9 / 13; margin-block-start: 80px; }
.home-v2__event:nth-child(3) { grid-column: 1 / 5; }
.home-v2__event:nth-child(4) { grid-column: 5 / 13; }
.home-v2__event:nth-child(5) { grid-column: 1 / 7; }
.home-v2__event:nth-child(6) { grid-column: 8 / 13; margin-block-start: 56px; }
.home-v2__event:nth-child(7) { grid-column: 1 / 5; }
.home-v2__event:nth-child(8) { grid-column: 5 / 13; }
.home-v2__event-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--home-black);
}
.home-v2__event:nth-child(2) .home-v2__event-media,
.home-v2__event:nth-child(3) .home-v2__event-media,
.home-v2__event:nth-child(7) .home-v2__event-media { aspect-ratio: 4 / 5; }
.home-v2__event:nth-child(4) .home-v2__event-media,
.home-v2__event:nth-child(8) .home-v2__event-media { aspect-ratio: 16 / 9; }
.home-v2__event:nth-child(6) .home-v2__event-media { aspect-ratio: 1; }
.home-v2__event:nth-child(4) .media-slot__image { object-position: center 56%; }
.home-v2__event:nth-child(5) .media-slot__image { object-position: center 68%; }
.home-v2__event:nth-child(6) .media-slot__image { object-position: center 45%; }
.home-v2__event:nth-child(8) .media-slot__image { object-position: center 64%; }
.home-v2__event-link {
    min-height: 64px;
    padding-block: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-block-end: 1px solid rgb(247 246 232 / 45%);
    font-size: clamp(17px, 1.35vw, 20px);
    font-weight: var(--wedx-weight-strong);
    transition: color 180ms ease;
}
.home-v2__event-link > span:last-child {
    transition: transform 180ms ease;
}
.home-v2__event .media-slot__image {
    transition: transform 420ms cubic-bezier(.16, 1, .3, 1);
}
.home-v2__event:hover .home-v2__event-link,
.home-v2__event:focus-visible .home-v2__event-link {
    color: var(--home-blue);
}
.home-v2__event:hover .home-v2__event-link > span:last-child,
.home-v2__event:focus-visible .home-v2__event-link > span:last-child {
    transform: translateX(4px);
}
.home-v2__event:hover .media-slot__image,
.home-v2__event:focus-visible .media-slot__image {
    transform: scale(1.025);
}
html[dir="rtl"] .home-v2__event:hover .home-v2__event-link > span:last-child,
html[dir="rtl"] .home-v2__event:focus-visible .home-v2__event-link > span:last-child { transform: translateX(-4px); }

.home-v2__services {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 48px 24px;
}
.home-v2__services > header { grid-column: 1 / 5; }
.home-v2__services > header h2 { margin-block-end: 16px; }
.home-v2__service-groups { grid-column: 5 / 13; display: grid; grid-template-columns: 5fr 7fr; gap: 40px; }
.home-v2__service-group h3 { margin-block-end: 8px; font-size: 23px; letter-spacing: var(--wedx-track-subtitle); }
.home-v2__service-group { border-block-start: 1px solid rgb(247 246 232 / 45%); padding-block-start: 20px; }
.home-v2__service-group a {
    min-height: 56px;
    padding-block: 14px;
    display: flex;
    align-items: center;
    border-block-end: 1px solid rgb(247 246 232 / 45%);
    font-size: clamp(17px, 1.4vw, 21px);
    text-decoration: none;
}
.home-v2__service-group a:hover { color: var(--home-blue); text-decoration: underline; text-underline-offset: 5px; }

.home-v2__contact { padding-block: 0 !important; background: var(--home-black); }
.home-v2__contact > .home-v2__frame {
    min-height: 320px;
    padding: 56px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    color: var(--home-black);
    background: var(--home-orange);
}
.home-v2__contact h2 { margin: 0; }
.home-v2__contact .home-v2__quote { border: 2px solid var(--home-black); }

html[dir="rtl"] .home-v2 :where(h1, h2, h3),
html[dir="rtl"] .home-v2 :where(.home-v2__quote, .home-v2__lead, .home-v2__project-type) { letter-spacing: normal; }
html[dir="rtl"] .home-v2 h1,
html[dir="rtl"] .home-v2 h2 { line-height: 1.2; }
html[dir="rtl"] .home-v2 h3 { line-height: 1.24; }
html[dir="rtl"] .home-v2 h1 { max-width: 12ch; }
html[dir="rtl"] .home-v2 :where(h1, h2) { text-wrap: pretty; }

.has-home-v2 :where(.skip-link, .logo-slot, .menu-toggle, .site-nav, .prototype-notice) { border-radius: 0; }
.has-portfolio :where(.skip-link, .logo-slot, .menu-toggle, .site-nav, .button) { border-radius: 0; }
.has-home-v2 .site-header :where(a, button):focus-visible,
.has-home-v2 .skip-link:focus-visible {
    outline-color: var(--wedx-periwinkle);
    outline-offset: 3px;
}
.has-home-v2 .prototype-notice {
    position: static;
    max-width: none;
    margin: 0;
    padding: 12px 20px;
    color: var(--wedx-black);
    background: var(--wedx-periwinkle);
    border: 0;
    text-align: center;
}

@media (min-width: 1280px) and (max-width: 1350px) {
    html:not([dir="rtl"]) .home-v2 h1 { font-size: 58px; }
}

@media (max-width: 1279px) {
    .home-v2__frame { width: min(calc(100% - 96px), var(--wedx-max)); }
    .home-v2 section { padding-block: 104px; }
    .home-v2 h1 { font-size: clamp(44px, 5.2vw, 64px); }
    .home-v2__hero { min-height: 640px; padding-block: 48px; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 20px; }
    .home-v2__hero-copy { grid-column: 1 / 7; padding: 36px; }
    .home-v2__hero-media { grid-column: 3 / 9; }
    .home-v2__intro { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 20px; }
    .home-v2__intro-copy { grid-column: 1 / 6; }
    .home-v2__intro-media { grid-column: 6 / 9; }
    .home-v2__services { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 40px 20px; }
    .home-v2__services > header { grid-column: 1 / 4; }
    .home-v2__service-groups { grid-column: 4 / 9; }
    .home-v2__event-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 56px 20px; }
    .home-v2__event:nth-child(1) { grid-column: 1 / 6; }
    .home-v2__event:nth-child(2) { grid-column: 6 / 9; margin-block-start: 64px; }
    .home-v2__event:nth-child(3) { grid-column: 1 / 4; }
    .home-v2__event:nth-child(4) { grid-column: 4 / 9; }
    .home-v2__event:nth-child(5) { grid-column: 1 / 6; }
    .home-v2__event:nth-child(6) { grid-column: 6 / 9; margin-block-start: 48px; }
    .home-v2__event:nth-child(7) { grid-column: 1 / 4; }
    .home-v2__event:nth-child(8) { grid-column: 4 / 9; }
}

@media (max-width: 767px) {
    .home-v2__frame { width: calc(100% - 48px); }
    .home-v2 section { padding-block: 72px; }
    .home-v2 h1 { max-width: 100%; font-size: clamp(34px, 10.5vw, 44px); line-height: 1.04; }
    html:not([dir="rtl"]) .home-v2 h1 { font-size: clamp(32px, 9vw, 40px); }
    .home-v2 h2 { font-size: clamp(34px, 9.8vw, 42px); }
    .home-v2 p { font-size: 16px; }
    .home-v2__lead { font-size: 18px !important; }
    .home-v2__hero { min-height: auto; padding-block-start: 36px; display: flex; flex-direction: column; align-items: stretch; gap: 36px; }
    .home-v2__hero-copy { padding: 0; }
    .home-v2__hero-copy .home-v2__quote { width: 100%; }
    .home-v2__hero-media { aspect-ratio: 4 / 3; }
    .home-v2__intro { display: flex; flex-direction: column; align-items: stretch; gap: 40px; }
    .home-v2__intro-media { width: 82%; margin-inline-start: auto; aspect-ratio: 4 / 5; padding-block-end: 16px; padding-inline-start: 16px; }
    html[dir="rtl"] .home-v2__intro-media { margin-inline: auto 0; padding: 0 16px 16px 0; }
    .home-v2__work-intro { margin-block-end: 48px; padding: 32px 24px; }
    .home-v2__projects { display: block; }
    .home-v2__project,
    .home-v2__project:nth-child(2) { margin-block: 0 48px; }
    .home-v2__project-media,
    .home-v2__project:nth-child(2) .home-v2__project-media,
    .home-v2__project:nth-child(3) .home-v2__project-media { aspect-ratio: 4 / 3; }
    .home-v2__project-copy { padding: 24px; }
    .home-v2__project[data-media-state="mapped"] { padding-block-end: 20px; padding-inline-start: 16px; }
    .home-v2__project[data-media-state="mapped"] .home-v2__project-copy { padding: 0 16px 0 0; }
    html[dir="rtl"] .home-v2__project[data-media-state="mapped"] .home-v2__project-copy { padding: 0 0 0 16px; }
    .home-v2__events,
    .home-v2__services { display: block; }
    .home-v2__section-field { min-height: 0; margin-block-end: 40px; padding: 28px 24px; }
    .home-v2__event-grid { display: block; }
    .home-v2__event,
    .home-v2__event:nth-child(2),
    .home-v2__event:nth-child(6) { margin-block: 0 48px; }
    .home-v2__event-media,
    .home-v2__event:nth-child(2) .home-v2__event-media,
    .home-v2__event:nth-child(3) .home-v2__event-media,
    .home-v2__event:nth-child(4) .home-v2__event-media,
    .home-v2__event:nth-child(6) .home-v2__event-media,
    .home-v2__event:nth-child(7) .home-v2__event-media,
    .home-v2__event:nth-child(8) .home-v2__event-media { aspect-ratio: 4 / 3; }
    .home-v2__event-link { min-height: 56px; }
    .home-v2__services > header { margin-block-end: 40px; }
    .home-v2__service-groups { display: block; }
    .home-v2__service-group + .home-v2__service-group { margin-block-start: 44px; }
    .home-v2__contact > .home-v2__frame { min-height: 0; padding: 48px 24px; display: block; }
    .home-v2__contact .home-v2__quote { width: 100%; margin-block-start: 28px; }
}

@media (max-width: 359px) {
    .home-v2__frame { width: calc(100% - 40px); }
    .home-v2 section { padding-block: 64px; }
    .home-v2 h1 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    .home-v2 [data-reveal],
    .home-v2 [data-decorative-motion],
    .home-v2 .home-v2__decorative::before,
    .home-v2 .home-v2__decorative::after {
        animation: none !important;
        transition: none !important;
    }
    .home-v2__event:hover .media-slot__image,
    .home-v2__event:focus-visible .media-slot__image,
    .home-v2__event:hover .home-v2__event-link > span:last-child,
    .home-v2__event:focus-visible .home-v2__event-link > span:last-child { transform: none; }
}
