/* Party Partners – "gala evening": cacao night, champagne gold, the ivory the logo was made for.
   Prata (display) + Ysabeau Infant (text). One theme. Motion only under prefers-reduced-motion: no-preference;
   the scroll-driven reveals sit behind @supports and show their end state without it. */

@font-face {
    font-family: "Prata";
    src: url("../fonts/prata.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Ysabeau Infant";
    src: url("../fonts/ysabeau-infant.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --night: #1d120a;
    --night-2: #2c1b0f;
    --night-3: #3d2716;
    --cocoa: #5f3d17;
    --gold: #e0bd72;
    --gold-hi: #f3d999;
    --gold-ink: #7a5414;
    --ivory: #f7f0e1;
    --paper: #fffaf0;
    --ink: #2a1a0e;
    --ink-soft: #5e4836;
    --berry: #b8364f;
    --line: rgba(122, 84, 20, 0.25);
    --radius: 22px;
    --radius-s: 12px;
    --shadow: 0 18px 40px -18px rgba(29, 18, 10, 0.45);
    --display: "Prata", "Times New Roman", serif;
    --text: "Ysabeau Infant", "Segoe UI", system-ui, sans-serif;
    --wrap: 1180px;
    --lb-bg: rgba(20, 12, 6, 0.96);
    --lb-text: #f7f0e1;
    --lb-accent: #e0bd72;
    --lb-accent-soft: rgba(224, 189, 114, 0.22);
}

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

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--text);
    font-size: 1.125rem;
    font-weight: 450;
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: var(--gold-ink);
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1px;
}

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

:focus-visible {
    outline: 3px solid var(--berry);
    outline-offset: 3px;
    border-radius: 4px;
}

.night :focus-visible,
.hero :focus-visible,
.sub-hero :focus-visible,
.cta :focus-visible,
.foot :focus-visible {
    outline-color: var(--gold-hi);
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 0 0 0.5em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.4rem, 1.4rem + 4.6vw, 5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem);
}

h3,
.h3 {
    font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.6rem);
}

p {
    margin: 0 0 1em;
}

.wrap {
    width: min(100% - 32px, var(--wrap));
    margin-inline: auto;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--night);
    color: var(--gold-hi);
    border-radius: 0 0 10px 10px;
}

.skip:focus {
    top: 0;
}

.eyebrow {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-ink);
    margin-bottom: 0.9em;
}

.eyebrow::before {
    content: "✦ ";
    color: var(--berry);
}

.lead {
    font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
    line-height: 1.5;
    max-width: 44em;
}

/* ---- buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-height: 48px;
    padding: 0.7em 1.5em;
    border-radius: 999px;
    border: 2px solid transparent;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-hi), var(--gold));
    color: var(--night);
    box-shadow: 0 10px 24px -12px rgba(224, 189, 114, 0.9);
}

.btn-gold:hover {
    color: var(--night);
    box-shadow: 0 14px 30px -10px rgba(224, 189, 114, 1);
}

.btn-ghost {
    border-color: rgba(243, 217, 153, 0.6);
    color: var(--ivory);
}

.btn-ghost:hover {
    background: rgba(243, 217, 153, 0.12);
    color: var(--gold-hi);
}

.btn-line {
    border-color: var(--gold-ink);
    color: var(--gold-ink);
}

.btn-line:hover {
    background: var(--gold-ink);
    color: var(--paper);
}

/* ---- header ---- */

.top {
    position: relative;
    z-index: 50;
    background: rgba(247, 240, 225, 0.94);
    border-bottom: 1px solid var(--line);
}

@supports (backdrop-filter: blur(10px)) {
    .top {
        background: rgba(247, 240, 225, 0.84);
        backdrop-filter: blur(12px) saturate(1.2);
    }
}

.top-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    padding-block: 8px;
}

.brand {
    display: block;
    flex: 0 0 auto;
    border-radius: 8px;
}

.brand img {
    height: 50px;
    width: auto;
}

.call {
    order: 3;
    flex: 1 1 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0.45em 1.1em;
    border-radius: 999px;
    background: var(--night);
    color: var(--gold-hi);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.call:hover {
    background: var(--cocoa);
    color: #fff;
}

.menu-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 16px;
    border: 1.5px solid var(--gold-ink);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.menu-btn[hidden] {
    display: none;
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.2s ease;
}

.menu-bars {
    position: relative;
}

.menu-bars::before,
.menu-bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-bars::before {
    top: -6px;
}

.menu-bars::after {
    top: 6px;
}

.open .menu-bars {
    background: transparent;
}

.open .menu-bars::before {
    transform: translateY(6px) rotate(45deg);
}

.open .menu-bars::after {
    transform: translateY(-6px) rotate(-45deg);
}

.nav {
    order: 4;
    flex: 1 1 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
}

.nav > a,
.lang a,
.lang span {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}

.nav > a:hover {
    background: rgba(122, 84, 20, 0.1);
    color: var(--ink);
}

.nav > a[aria-current] {
    background: var(--night);
    color: var(--gold-hi);
}

.lang {
    display: inline-flex;
    gap: 2px;
    margin-left: auto;
    padding-left: 10px;
    border-left: 1px solid var(--line);
}

.lang span[aria-current] {
    color: var(--gold-ink);
    font-weight: 800;
}

.lang a:hover {
    color: var(--berry);
}

.js-menu .nav {
    display: none;
}

.js-menu.open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 14px;
}

.js-menu.open .nav > a {
    font-size: 1.15rem;
}

.js-menu.open .lang {
    margin: 6px 0 0;
    padding: 8px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
}

@media (min-width: 560px) {
    .call {
        order: 0;
        flex: 0 0 auto;
        margin-left: auto;
    }

    .menu-btn {
        margin-left: 0;
    }

    .brand img {
        height: 58px;
    }
}

@media (min-width: 1000px) {
    .top {
        position: sticky;
        top: 0;
    }

    .top-row {
        flex-wrap: nowrap;
        padding-block: 6px;
    }

    .brand img {
        height: 64px;
    }

    .menu-btn {
        display: none !important;
    }

    .nav,
    .js-menu .nav {
        order: 2;
        flex: 1 1 auto;
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-end;
    }

    .call {
        order: 3;
        margin-left: 0;
    }
}

/* ---- bands ---- */

.band {
    padding-block: clamp(56px, 8vw, 104px);
}

.band-tight {
    padding-block: clamp(36px, 5vw, 64px);
}

.paper {
    background: var(--paper);
}

.ivory {
    background: var(--ivory);
}

.night,
.hero,
.sub-hero,
.cta {
    color: var(--ivory);
}

.night {
    background:
        radial-gradient(1000px 420px at 85% -10%, rgba(224, 189, 114, 0.16), transparent 60%),
        radial-gradient(800px 380px at 0% 110%, rgba(184, 54, 79, 0.18), transparent 60%),
        var(--night);
}

.night a,
.hero a:not(.btn),
.sub-hero a,
.cta a:not(.btn) {
    color: var(--gold-hi);
}

.night a:hover,
.hero a:not(.btn):hover,
.sub-hero a:hover,
.cta a:not(.btn):hover {
    color: #fff;
}

.night .eyebrow,
.hero .eyebrow,
.sub-hero .eyebrow {
    color: var(--gold);
}

.night .eyebrow::before,
.hero .eyebrow::before,
.sub-hero .eyebrow::before {
    color: #ff9fb0;
}

.section-head {
    max-width: 46em;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head.row {
    max-width: none;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 24px;
}

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

.link-arrow,
.more-all a {
    font-weight: 700;
}

.more-all {
    margin: 28px 0 0;
}

/* ---- home hero: the festoon of lights ---- */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 500px at 70% 30%, rgba(224, 189, 114, 0.2), transparent 65%),
        radial-gradient(700px 420px at 10% 100%, rgba(184, 54, 79, 0.25), transparent 60%),
        linear-gradient(180deg, #120a05 0%, var(--night) 45%, var(--night-2) 100%);
    padding: clamp(150px, 20vw, 230px) 0 clamp(64px, 8vw, 110px);
}

.garland {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: clamp(150px, 22vw, 260px);
    overflow: visible;
}

.garland .wire {
    fill: none;
    stroke: #8a6a3e;
    stroke-width: 2;
}

.garland .socket {
    fill: #4a3523;
}

.garland .glass {
    fill: #ffd479;
    stroke: rgba(255, 255, 255, 0.35);
    stroke-width: 1;
}

.garland .rose .glass {
    fill: #ffa194;
}

.garland .amber .glass {
    fill: #ffb44f;
}

.hero-grid {
    position: relative;
    display: grid;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    max-width: 11em;
    background: linear-gradient(180deg, #fff6e0 0%, var(--gold-hi) 55%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero .lead {
    color: #efe4cf;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-photo {
    margin: 0;
    position: relative;
    justify-self: center;
    max-width: 574px;
    padding: 10px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--gold-hi), var(--cocoa) 60%, var(--gold));
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
    transform: rotate(-2deg);
}

.hero-photo img {
    border-radius: 20px;
}

@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: 1.15fr 1fr;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .garland .strand {
        transform-origin: 50% 0;
        animation: sway 7s ease-in-out 2.4s infinite alternate;
    }

    .garland .glass {
        animation: bulb-on 0.45s ease-out backwards;
        animation-delay: calc(var(--i) * 85ms + 250ms);
    }

    .garland .halo {
        animation: halo-on 0.6s ease-out backwards, twinkle 3.2s ease-in-out infinite alternate;
        animation-delay: calc(var(--i) * 85ms + 250ms), calc(var(--i) * 170ms + 2.2s);
    }

    .hero-text > * {
        animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
    }

    .hero-text > :nth-child(2) {
        animation-delay: 0.15s;
    }

    .hero-text > :nth-child(3) {
        animation-delay: 0.3s;
    }

    .hero-text > :nth-child(4) {
        animation-delay: 0.45s;
    }

    .hero-photo {
        animation: photo-in 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s backwards;
    }
}

@keyframes bulb-on {
    from {
        fill: #3a2818;
    }
}

@keyframes halo-on {
    from {
        opacity: 0;
    }
}

@keyframes twinkle {
    to {
        opacity: 0.45;
    }
}

@keyframes sway {
    from {
        transform: rotate(-0.4deg);
    }

    to {
        transform: rotate(0.4deg);
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
}

@keyframes photo-in {
    from {
        opacity: 0;
        transform: rotate(4deg) translateY(30px);
    }
}

/* ---- home: three intros ---- */

.trio {
    display: grid;
    gap: 18px;
}

.trio-card {
    position: relative;
    padding: 30px 28px 26px;
    border-radius: var(--radius);
    background: var(--ivory);
    border: 1px solid var(--line);
}

.trio-card h3 a {
    color: var(--ink);
    text-decoration: none;
}

.trio-card h3 a::after {
    content: " →";
    color: var(--berry);
}

.trio-card h3 a:hover {
    color: var(--berry);
}

.trio-card p:last-child {
    margin: 0;
    color: var(--ink-soft);
}

.trio-num {
    font-family: var(--display);
    font-size: 3rem;
    line-height: 1;
    color: var(--gold-ink);
    margin-bottom: 14px;
}

.trio-card-dark {
    background: linear-gradient(160deg, var(--night-3), var(--night));
    border-color: transparent;
    color: var(--ivory);
}

.trio-card-dark h3 a {
    color: var(--gold-hi);
}

.trio-card-dark h3 a::after {
    color: #ff9fb0;
}

.trio-card-dark h3 a:hover {
    color: #fff;
}

.trio-card-dark p:last-child {
    color: #e8dcc5;
}

.trio-card-dark .trio-num {
    color: var(--gold);
}

@media (min-width: 860px) {
    .trio {
        grid-template-columns: repeat(3, 1fr);
    }

    .trio-card-dark {
        transform: translateY(-22px);
    }
}

/* ---- home: services bento ---- */

.bento {
    display: grid;
    gap: 14px;
}

.bento-cell {
    padding: 26px 24px;
    border-radius: var(--radius);
    background: rgba(247, 240, 225, 0.06);
    border: 1px solid rgba(243, 217, 153, 0.22);
}

.bento-cell h3 {
    color: var(--gold-hi);
}

.bento-cell ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bento-cell a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(247, 240, 225, 0.08);
    color: var(--ivory);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.bento-cell a:hover {
    background: var(--gold);
    color: var(--night);
}

.bento-team {
    background: linear-gradient(150deg, rgba(184, 54, 79, 0.45), rgba(184, 54, 79, 0.08));
}

.bento-decor {
    background: linear-gradient(150deg, rgba(224, 189, 114, 0.3), rgba(224, 189, 114, 0.05));
}

@media (min-width: 760px) {
    .bento {
        grid-template-columns: repeat(6, 1fr);
    }

    .bento-team,
    .bento-parties,
    .bento-corporate {
        grid-column: span 2;
    }

    .bento-extras {
        grid-column: span 4;
    }

    .bento-decor {
        grid-column: span 2;
    }
}

/* ---- home: a strip of photos ---- */

.strip {
    list-style: none;
    margin: 0;
    padding: 4px 0 18px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 32%);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
}

.strip li {
    scroll-snap-align: start;
}

@media (min-width: 1100px) {
    .strip {
        grid-auto-columns: calc((100% - 64px) / 5);
        overflow-x: visible;
    }
}

.strip figure,
.photo-row figure,
.masonry figure {
    margin: 0;
}

.strip img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-s);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.strip a:hover img,
.photo-row a:hover img,
.masonry a:hover img {
    transform: scale(1.02);
    box-shadow: var(--shadow);
}

figcaption {
    margin-top: 8px;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

/* ---- the guest list: client names as place cards ---- */

.guests {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.guests li {
    position: relative;
    padding: 14px 22px 12px;
    background: var(--paper);
    border: 1px solid rgba(122, 84, 20, 0.35);
    border-radius: 6px;
    font-family: var(--display);
    font-size: 1.08rem;
    color: var(--ink);
    box-shadow: 0 6px 14px -10px rgba(29, 18, 10, 0.5);
}

.guests li::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(122, 84, 20, 0.18);
    border-radius: 3px;
    pointer-events: none;
}

.guests li:nth-child(3n + 1) {
    transform: rotate(-1deg);
}

.guests li:nth-child(4n + 2) {
    transform: rotate(0.8deg);
}

/* ---- call band ---- */

.cta {
    background:
        radial-gradient(600px 300px at 90% 0%, rgba(255, 159, 176, 0.25), transparent 60%),
        linear-gradient(120deg, #6e1f30 0%, #3d1a14 45%, var(--night) 100%);
    padding-block: clamp(52px, 7vw, 88px);
}

.cta-grid {
    display: grid;
    gap: 24px;
    align-items: center;
}

.cta h2 {
    color: var(--gold-hi);
}

.cta p {
    color: #f1e3cd;
    margin: 0;
    max-width: 34em;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.cta-phone {
    font-family: var(--display);
    font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
    text-decoration: none;
    line-height: 1.1;
}

.cta-mail {
    font-weight: 600;
    overflow-wrap: anywhere;
}

@media (min-width: 860px) {
    .cta-grid {
        grid-template-columns: 1.3fr 1fr;
    }
}

/* ---- inner pages ---- */

.sub-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(700px 300px at 90% 0%, rgba(224, 189, 114, 0.22), transparent 60%),
        linear-gradient(180deg, #140b05, var(--night-2));
    padding: clamp(48px, 7vw, 92px) 0 clamp(52px, 7vw, 96px);
}

.sub-hero h1 {
    color: var(--gold-hi);
    max-width: 14em;
}

.sub-hero .lead {
    color: #efe4cf;
    margin-bottom: 0;
}

.sub-garland {
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 100%;
    height: 60px;
    color: rgba(224, 189, 114, 0.35);
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: 26px;
    font-size: 0.98rem;
    color: #d9c9ab;
}

.crumbs a {
    color: var(--gold-hi);
}

.crumbs [aria-current] {
    color: #efe4cf;
}

.chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chips a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 18px;
    border-radius: 999px;
    border: 1px solid rgba(243, 217, 153, 0.45);
    text-decoration: none;
    font-weight: 600;
}

.chips a:hover,
.chips a[aria-current] {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--night);
}

.chips-light {
    margin-top: 28px;
}

.sub-grid {
    display: grid;
    gap: 36px;
}

.sub-aside {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    align-self: start;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--ivory);
    border: 1px solid var(--line);
}

.aside-label {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-ink);
}

.aside-phone {
    font-family: var(--display);
    font-size: 1.6rem;
    line-height: 1.2;
    color: var(--ink);
    text-decoration: none;
}

.aside-phone:hover {
    color: var(--berry);
}

.aside-mail {
    margin-bottom: 6px;
    overflow-wrap: anywhere;
}

.eu-title {
    font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
}

@media (max-width: 599px) {
    .programme-list li::after {
        display: none;
    }
}

@media (min-width: 900px) {
    .sub-grid {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 64px;
    }

    .sub-aside {
        position: sticky;
        top: 110px;
    }
}

.prose {
    max-width: 44em;
}

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

.prose h2:first-child {
    margin-top: 0;
}

.prose > p:first-child {
    font-size: 1.2rem;
}

.ticks,
.nums {
    margin: 0 0 1.4em;
    padding: 0;
    list-style: none;
}

.ticks li,
.nums li {
    position: relative;
    padding: 10px 0 10px 38px;
    border-bottom: 1px dashed var(--line);
}

.ticks li::before {
    content: "✦";
    position: absolute;
    left: 6px;
    top: 10px;
    color: var(--berry);
}

.nums {
    counter-reset: n;
}

.nums li {
    counter-increment: n;
    padding-left: 52px;
}

.nums li::before {
    content: counter(n);
    position: absolute;
    left: 0;
    top: 2px;
    font-family: var(--display);
    font-size: 2rem;
    line-height: 1.2;
    color: var(--gold-ink);
}

.photo-row {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: 16px;
}

.photo-row img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-s);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.more-all a {
    text-decoration: none;
}

/* ---- services overview ---- */

.group {
    padding-block: clamp(44px, 6vw, 80px);
}

.group-grid {
    display: grid;
    gap: 24px;
}

.group-num {
    font-family: var(--display);
    font-size: clamp(3rem, 2rem + 4vw, 5.5rem);
    line-height: 1;
    margin: 0 0 6px;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--gold-ink);
}

.cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 14px;
}

.card {
    position: relative;
    padding: 24px 22px 20px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ivory .card {
    background: var(--paper);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--gold);
}

.card h3 {
    font-size: 1.35rem;
}

.card h3 a {
    color: var(--ink);
    text-decoration: none;
}

.card h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
}

.card h3 a:hover {
    color: var(--berry);
}

.card p {
    margin: 0;
    color: var(--ink-soft);
}

@media (min-width: 900px) {
    .group-grid {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 48px;
    }
}

/* ---- gallery ---- */

.album + .album {
    margin-top: clamp(48px, 6vw, 80px);
}

.album-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 18px;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.album-head h2 {
    margin: 0;
}

.album-count {
    margin: 0;
    color: var(--ink-soft);
}

.album-link {
    margin-left: auto;
    font-weight: 700;
    text-decoration: none;
}

.masonry {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2 160px;
    column-gap: 14px;
}

.masonry li {
    break-inside: avoid;
    margin-bottom: 14px;
}

.masonry img {
    width: 100%;
    border-radius: var(--radius-s);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

@media (min-width: 760px) {
    .masonry {
        columns: 3;
    }
}

@media (min-width: 1100px) {
    .masonry {
        columns: 4;
    }
}

/* ---- about ---- */

.duo {
    display: grid;
    gap: 40px;
    align-items: start;
}

@media (min-width: 900px) {
    .duo {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.words {
    padding: 34px 30px;
    border-radius: var(--radius);
    background: linear-gradient(160deg, var(--night-3), var(--night));
    color: var(--ivory);
}

.words h2 {
    color: var(--gold);
}

.word {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
    line-height: 1.15;
    color: var(--gold-hi);
}

.word-small {
    margin-top: 14px;
    font-family: var(--text);
    font-size: 1.2rem;
    line-height: 1.45;
    color: #efe4cf;
}

.programme {
    position: relative;
    max-width: 760px;
    margin-inline: auto;
    padding: clamp(36px, 5vw, 60px) clamp(22px, 5vw, 64px);
    background: var(--ivory);
    color: var(--ink);
    border-radius: 6px;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.programme::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid var(--gold-ink);
    outline: 1px solid rgba(122, 84, 20, 0.4);
    outline-offset: 4px;
    pointer-events: none;
}

.programme-top {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-ink);
}

.programme h2 {
    color: var(--ink);
    margin-bottom: 1em;
}

.programme-list {
    list-style: none;
    counter-reset: p;
    margin: 0 0 1.4em;
    padding: 0;
    text-align: left;
}

.programme-list li {
    counter-increment: p;
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 12px 0;
}

.programme-list li::before {
    content: counter(p, upper-roman);
    flex: 0 0 2.4em;
    font-family: var(--display);
    font-size: 1.3rem;
    color: var(--berry);
}

.programme-list li::after {
    content: "";
    order: 1;
    flex: 1 1 24px;
    min-width: 24px;
    border-bottom: 2px dotted rgba(122, 84, 20, 0.5);
}

.programme-list li span {
    order: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.programme-list li span::after {
    content: "";
}

.programme-end {
    margin: 0;
    font-family: var(--display);
    font-size: 1.2rem;
    color: var(--gold-ink);
}

.projects {
    display: grid;
    gap: 18px;
}

@media (min-width: 860px) {
    .projects {
        grid-template-columns: 1fr 1fr;
    }
}

.project {
    padding: 28px 26px;
    border-radius: var(--radius);
    background: var(--ivory);
    border: 1px solid var(--line);
}

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

.project-photo img {
    border-radius: var(--radius-s);
    margin-top: 8px;
}

.files {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.files a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-s);
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.files a:hover {
    border-color: var(--berry);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.file-type {
    flex: 0 0 auto;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--berry);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.files strong,
.files small {
    display: block;
}

.files small {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.eu-facts {
    margin: 0;
    display: grid;
    gap: 2px;
}

.eu-facts div {
    padding: 10px 0;
    border-bottom: 1px dashed var(--line);
}

.eu-facts dt {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold-ink);
}

.eu-facts dd {
    margin: 2px 0 0;
}

.doc {
    margin: 0;
}

.doc a {
    display: block;
    padding: 10px;
    background: #fff;
    border-radius: var(--radius-s);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

/* ---- contact ---- */

.contact-card,
.form-card {
    padding: clamp(24px, 4vw, 40px);
    border-radius: var(--radius);
    background: var(--ivory);
    border: 1px solid var(--line);
}

.contact-card {
    background: linear-gradient(160deg, var(--night-3), var(--night));
    color: var(--ivory);
    border: 0;
}

.contact-card a {
    color: var(--gold-hi);
}

.contact-card a:hover {
    color: #fff;
}

.big-phone {
    font-family: var(--display);
    font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
    line-height: 1.15;
    text-decoration: none;
}

.contact-list {
    margin: 22px 0 0;
}

.contact-list div {
    padding: 14px 0;
    border-top: 1px solid rgba(243, 217, 153, 0.2);
}

.contact-list dt {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.contact-list dd {
    margin: 4px 0 0;
    overflow-wrap: anywhere;
}

.contact-form > div {
    margin-bottom: 16px;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid rgba(122, 84, 20, 0.45);
    border-radius: var(--radius-s);
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 1.05rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--berry);
    outline: 3px solid rgba(184, 54, 79, 0.25);
    outline-offset: 0;
}

.contact-form ul {
    margin: 6px 0 0;
    padding-left: 18px;
    color: #9c1f38;
}

.form-hint {
    margin: 12px 0 0;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.contact-sent {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: var(--radius-s);
    background: #fff;
    border-left: 4px solid var(--berry);
}

.contact-sent strong {
    display: block;
}

/* ---- footer ---- */

.foot {
    background: #140c06;
    color: #e6d8bf;
    padding-top: clamp(48px, 6vw, 76px);
    font-size: 1.02rem;
}

.foot a {
    color: var(--gold-hi);
}

.foot a:hover {
    color: #fff;
}

.foot h2 {
    font-size: 1.25rem;
    color: var(--gold);
}

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

@media (min-width: 760px) {
    .foot-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
    }
}

.foot-plate {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 16px;
    background: var(--ivory);
}

.foot-plate img {
    height: 70px;
    width: auto;
}

.foot-name {
    margin: 16px 0 6px;
    font-weight: 700;
    color: var(--ivory);
}

.foot-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.foot-list li {
    margin-bottom: 6px;
}

.foot address {
    font-style: normal;
}

.foot-phone {
    font-family: var(--display);
    font-size: 1.3rem;
    text-decoration: none;
}

.foot-eu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid rgba(243, 217, 153, 0.15);
}

.foot-eu a:first-child {
    display: block;
    flex: 0 1 auto;
    max-width: 100%;
    padding: 8px 12px;
    background: #fff;
    border-radius: 10px;
}

.foot-eu img {
    width: 420px;
    max-width: 100%;
    height: auto;
}

.foot-bottom {
    padding-block: 22px 28px;
    font-size: 0.95rem;
    color: #cdbc9e;
}

.foot-bottom p {
    margin: 0;
}

/* ---- 404 ---- */

.not-found {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px 16px;
    background:
        radial-gradient(700px 400px at 50% 0%, rgba(224, 189, 114, 0.25), transparent 60%),
        var(--night);
    color: var(--ivory);
    text-align: center;
}

.not-found > div {
    max-width: 620px;
}

.not-found .nf-plate {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 16px;
    background: var(--ivory);
    margin-bottom: 28px;
}

.not-found h1 {
    color: var(--gold-hi);
    font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem);
}

.not-found h2 {
    color: var(--gold);
    margin-top: 1.4em;
}

.not-found a:not(.btn) {
    color: var(--gold-hi);
}

/* ---- scroll reveals ---- */

@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        .trio-card,
        .card,
        .bento-cell,
        .guests li,
        .project,
        .programme-list li,
        .masonry li {
            animation: reveal linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 60%;
        }
    }
}

@keyframes reveal {
    from {
        opacity: 0;
        translate: 0 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ---- lightbox: /js/lightbox.js opens a linked image enlarged over the page, in a <dialog> ----
   Paste this block into the site's css/site.css. The overlay is dark in every theme and brings its own
   colours and box sizing, so it does not depend on the rest of the stylesheet. To recolour it to the
   site, set these on .lightbox (or on :root): --lb-bg, --lb-text, --lb-accent (focus ring),
   --lb-accent-soft (hover). */

[data-lightbox] {
    cursor: zoom-in;
}

.lightbox,
.lightbox * {
    box-sizing: border-box;
}

html:has(.lightbox[open]) {
    overflow: hidden;
    scrollbar-gutter: stable;
}

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 68px 12px 14px;
    border: 0;
    background: var(--lb-bg, rgba(12, 14, 16, 0.95));
    color: var(--lb-text, #f2f2f2);
    color-scheme: dark;
    overscroll-behavior: contain;
}

.lightbox[open] {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
}

.lightbox::backdrop {
    background: none;
}

.lightbox-stage {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.lightbox-stage img {
    display: block;
    max-width: none;
    border-radius: 4px;
    background: #fff;
}

.lightbox-caption {
    display: grid;
    place-items: center;
    min-height: 44px;
    max-width: none;
    margin: 0;
    padding: 0 56px;
    color: var(--lb-text, #f2f2f2);
    font-size: 0.92rem;
    line-height: 1.35;
    text-align: center;
}

.lightbox-button {
    position: absolute;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lightbox-button:hover {
    border-color: #ffffff;
    background-color: var(--lb-accent-soft, rgba(255, 255, 255, 0.16));
}

.lightbox-button:focus-visible {
    outline: 3px solid var(--lb-accent, #ffffff);
    outline-offset: 3px;
    border-radius: 50%;
}

.lightbox-button[hidden] {
    display: none;
}

.lightbox-close {
    top: 12px;
    right: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}

.lightbox-prev,
.lightbox-next {
    bottom: 14px;
}

.lightbox-prev {
    left: 12px;
    rotate: 180deg;
}

.lightbox-next {
    right: 12px;
}

@media (min-width: 760px) {
    .lightbox {
        padding: 24px 84px 18px;
    }

    .lightbox-caption {
        padding: 0;
    }

    .lightbox-prev,
    .lightbox-next {
        top: calc(50% - 22px);
        bottom: auto;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next,
    .lightbox-close {
        right: 20px;
    }

    .lightbox-close {
        top: 20px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .lightbox[open] {
        animation: lightbox-in 0.2s ease;
    }
}

@keyframes lightbox-in {
    from {
        opacity: 0;
    }
}
