@font-face {
    font-family: 'Afacad Flux';
    src: url('fonts/AfacadFlux-Medium.ttf?v=20261009-1') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: #a0bda6; }
body { margin: 0; font-family: 'Afacad Flux', Arial, sans-serif; font-weight: 500; color: #ffffff; }
#full-screen-background { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; width: 100%; }
#full-screen-background::before {
    content: ''; position: fixed; inset: 0; z-index: -1;
    background: #a0bda6 url('image/cover.jpg?v=20261009-optimized') center center / cover no-repeat;
    pointer-events: none;
}
.vertical-stack {
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column; align-items: center;
    padding: clamp(20px, 3vh, 40px) 20px 32px;
}
.top-img { display: block; width: clamp(160px, 16vw, 280px); max-width: 70vw; margin-bottom: clamp(24px, 5vh, 56px); }
.middle-img { display: block; width: clamp(210px, 18vw, 320px); max-width: 75vw; }
.middle { display: flex; justify-content: center; gap: 24px; width: min(100%, 480px); padding-top: 12px; }
.bottom-img { width: min(100%, 480px); text-align: center; }
.bottom-img:last-child { display: flex; justify-content: space-between; gap: 24px; margin-top: 8px; }
h2 { color: #ca2026; font: inherit; font-size: clamp(25px, 3vw, 34px); letter-spacing: .04em; margin: 22px 0; }
a { color: #ffffff; text-decoration: none; font-family: inherit; font-weight: 500; font-size: 20px; }
a:hover { text-decoration: underline; }
.button { display: block; padding: 12px 20px; border-radius: 40px; text-align: center; background: transparent; }
.button:hover { background: #ca2026; color: white; }
a:focus-visible { outline: 2px solid #ffffff; outline-offset: 4px; }
@media (max-width: 600px) {
    .vertical-stack { padding-inline: 20px; }
    .middle { gap: 12px; }
    .button { padding: 12px 16px; }
    .bottom-img:last-child { flex-direction: column; gap: 16px; }
}
@media (max-height: 600px) and (orientation: landscape) {
    .top-img { width: 150px; margin-bottom: 20px; }
    .middle-img { width: 200px; }
}

/* Composition inspired by the festive brochure. */
.vertical-stack {
    padding: clamp(100px, 22svh, 240px) 24px 48px;
}
.top-img {
    order: 1;
    width: clamp(150px, 20vw, 240px);
    max-width: 50vw;
    margin-bottom: clamp(54px, 8svh, 100px);
}
.middle-img {
    order: 2;
    width: min(68vw, 620px);
    max-width: 100%;
    margin-bottom: clamp(54px, 10svh, 120px);
}
.bottom-img:not(:last-child) { order: 3; }
.middle { order: 4; margin-top: 16px; }
.bottom-img:last-child { order: 5; margin-top: 28px; }
h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); letter-spacing: .025em; }
@media (max-width: 600px) {
    .vertical-stack { padding: 22svh 20px 40px; }
    .top-img { width: 40vw; max-width: 190px; margin-bottom: 8svh; }
    .middle-img { width: 86vw; margin-bottom: 12svh; }
    .bottom-img:last-child { margin-top: 24px; }
}
@media (max-height: 600px) and (orientation: landscape) {
    .vertical-stack { padding-top: 64px; }
    .top-img { width: 170px; margin-bottom: 40px; }
    .middle-img { width: min(58vw, 460px); margin-bottom: 48px; }
}

/* Keep the full composition and contact details within the visible viewport. */
.vertical-stack {
    min-height: 100svh;
    padding: clamp(12px, 5svh, 48px) 20px max(12px, env(safe-area-inset-bottom));
    gap: clamp(8px, 1.5svh, 16px);
    justify-content: center;
}
.top-img {
    width: min(20vw, 21svh, 220px);
    max-width: 50vw;
    margin-bottom: clamp(4px, 2svh, 20px);
}
.middle-img {
    width: min(68vw, 54svh, 560px);
    margin-bottom: clamp(4px, 2svh, 20px);
}
.middle { margin-top: 0; padding-top: 0; gap: 20px; }
.bottom-img:last-child { margin-top: 0; gap: 16px; }
h2 { font-size: clamp(23px, 3svh, 32px); }
a { font-size: clamp(17px, 2.3svh, 20px); }
.button { padding: 8px 18px; }
@media (max-width: 600px) {
    .vertical-stack { padding-top: max(12px, env(safe-area-inset-top)); padding-inline: 16px; }
    .top-img { width: min(40vw, 20svh, 190px); margin-bottom: 1svh; }
    .middle-img { width: min(86vw, 52svh); margin-bottom: 1svh; }
    .bottom-img:last-child { flex-direction: row; gap: 8px; margin-top: 0; }
    .bottom-img:last-child a { font-size: clamp(14px, 3.8vw, 18px); }
}
@media (max-height: 500px) and (orientation: landscape) {
    .vertical-stack { padding: 8px 16px; gap: 4px; }
    .top-img { width: min(24svh, 140px); margin-bottom: 0; }
    .middle-img { width: min(42svh, 260px); margin-bottom: 0; }
    h2 { font-size: 20px; }
    a { font-size: 16px; }
    .button { padding: 4px 16px; }
    .bottom-img:last-child { flex-direction: row; }
}
