:root {
    --roasl-event-ink: #1f292c;
    --roasl-event-muted: #5c696d;
    --roasl-event-deep: #053240;
    --roasl-event-green: #035f47;
    --roasl-event-coral: #d8544e;
    --roasl-event-coral-dark: #b94641;
    --roasl-event-surface: #f4f8f7;
    --roasl-event-line: #dce7e4;
    --roasl-event-radius: 15px;
    --roasl-event-container: 1180px;
    --roasl-event-reading: 1040px;
}

.mastiel-opening-hero,
.mastiel-opening-sticky,
.mastiel-opening-page,
.mastiel-event-place,
.mastiel-event-final-cta,
.mastiel-opening-hero *,
.mastiel-opening-sticky *,
.mastiel-opening-page *,
.mastiel-event-place *,
.mastiel-event-final-cta * {
    box-sizing: border-box;
}

.mastiel-opening-hero,
.mastiel-opening-page,
.mastiel-event-place {
    width: 100%;
    overflow-x: hidden;
    font-family: Nunito, sans-serif;
}

.mastiel-opening-hero .container,
.mastiel-opening-page .container,
.mastiel-event-place .container {
    width: min(calc(100% - 40px), var(--roasl-event-container));
    max-width: var(--roasl-event-container);
    margin-inline: auto;
}

.mastiel-opening-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 24px;
    border: 0;
    border-radius: 999px;
    font: 700 15px/1.2 Nunito, sans-serif;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.mastiel-opening-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.mastiel-opening-btn:active {
    transform: translateY(0);
}

.mastiel-opening-btn--primary {
    color: #fff;
    background: var(--roasl-event-coral);
}

.mastiel-opening-btn--primary:hover {
    color: #fff;
    background: var(--roasl-event-coral-dark);
}

.mastiel-opening-btn--secondary {
    color: var(--roasl-event-deep);
    border: 1px solid rgba(5, 50, 64, 0.3);
    background: #fff;
}

.mastiel-opening-btn--secondary:hover {
    color: var(--roasl-event-deep);
    background: var(--roasl-event-surface);
}

.mastiel-opening-hero {
    padding: clamp(42px, 6vw, 76px) 0;
    color: var(--roasl-event-ink);
    background: var(--roasl-event-surface);
    border-block: 1px solid var(--roasl-event-line);
}

.mastiel-opening-hero__body {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
    gap: clamp(26px, 4vw, 54px);
    align-items: center;
}

.mastiel-opening-hero__content,
.mastiel-opening-hero__card {
    min-width: 0;
}

.mastiel-opening-hero__eyebrow {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #fff;
    background: var(--roasl-event-green);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.mastiel-opening-hero__title {
    max-width: 18ch;
    margin: 0 0 18px;
    color: var(--roasl-event-deep);
    font-family: "Fira Sans", Nunito, sans-serif;
    font-size: clamp(34px, 4.5vw, 62px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.mastiel-opening-hero__text {
    max-width: 68ch;
    margin: 0 0 22px;
    color: var(--roasl-event-ink);
    font-size: clamp(17px, 1.7vw, 20px);
    line-height: 1.58;
    text-wrap: pretty;
}

.mastiel-opening-hero__meta {
    display: grid;
    gap: 9px;
    margin-bottom: 25px;
}

.mastiel-opening-hero__meta > div {
    position: relative;
    padding-left: 18px;
    color: var(--roasl-event-ink);
    font-size: 16px;
    line-height: 1.5;
}

.mastiel-opening-hero__meta > div::before {
    content: "";
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--roasl-event-coral);
}

.mastiel-opening-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mastiel-opening-hero__note {
    margin-top: 13px;
    color: var(--roasl-event-muted);
    font-size: 14px;
    line-height: 1.5;
}

.mastiel-opening-hero__card {
    padding: clamp(24px, 3vw, 34px);
    border-radius: var(--roasl-event-radius);
    color: #fff;
    background: var(--roasl-event-deep);
}

.mastiel-opening-hero__card-title {
    margin-bottom: 20px;
    font-family: "Fira Sans", Nunito, sans-serif;
    font-size: clamp(23px, 2.6vw, 31px);
    font-weight: 600;
    line-height: 1.18;
    text-wrap: balance;
}

.mastiel-opening-hero__point {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mastiel-opening-hero__point span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--roasl-event-deep);
    background: #fff;
    font-size: 13px;
    font-weight: 800;
}

.mastiel-opening-hero__point p {
    margin: 3px 0 0;
    font-size: 15px;
    line-height: 1.48;
}

.mastiel-opening-hero__gift {
    margin-top: 17px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.mastiel-opening-sticky {
    position: fixed;
    left: 50%;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 1200;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    width: min(980px, calc(100% - 32px));
    padding: 17px 20px;
    border-radius: var(--roasl-event-radius);
    color: #fff;
    background: var(--roasl-event-deep);
    box-shadow: 0 8px 18px rgba(5, 50, 64, 0.24);
    transform: translateX(-50%);
    animation: roaslEventStickyIn 360ms cubic-bezier(0.22, 1, 0.36, 1);
    font-family: Nunito, sans-serif;
}

@keyframes roaslEventStickyIn {
    from { opacity: 0; transform: translateX(-50%) translateY(16px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.mastiel-opening-sticky__close {
    position: absolute;
    top: -10px;
    right: -10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--roasl-event-deep);
    background: #fff;
    box-shadow: 0 4px 8px rgba(5, 50, 64, 0.2);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.mastiel-opening-sticky__content { min-width: 0; }

.mastiel-opening-sticky__title {
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.mastiel-opening-sticky__text {
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.45;
}

.mastiel-opening-sticky__actions {
    display: flex;
    gap: 9px;
    align-items: center;
}

.mastiel-opening-sticky__btn,
.mastiel-opening-sticky__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 180ms ease, background-color 180ms ease;
}

.mastiel-opening-sticky__btn {
    color: #fff;
    background: var(--roasl-event-coral);
}

.mastiel-opening-sticky__more {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
}

.mastiel-opening-sticky__btn:hover,
.mastiel-opening-sticky__more:hover {
    color: #fff;
    transform: translateY(-1px);
    text-decoration: none;
}

.mastiel-opening-sticky__btn:hover { background: var(--roasl-event-coral-dark); }
.mastiel-opening-sticky__more:hover { background: rgba(255, 255, 255, 0.1); }
.mastiel-opening-sticky.is-hidden { display: none; }

.mastiel-opening-page {
    --roasl-report-body: #374448;
    position: relative;
    color: var(--roasl-event-ink);
    background: #fff;
}

.mastiel-opening-page-hero {
    padding: clamp(38px, 6vw, 72px) 0 clamp(28px, 4vw, 48px);
    background: var(--roasl-event-surface);
    border-bottom: 1px solid var(--roasl-event-line);
}

.mastiel-opening-page-hero .container,
.mastiel-opening-page-content__grid,
.mastiel-event-final-cta {
    max-width: var(--roasl-event-reading);
}

.mastiel-opening-page-content__grid,
.mastiel-event-final-cta {
    margin-inline: auto;
}

.mastiel-opening-page__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: clamp(22px, 3vw, 34px);
    color: var(--roasl-event-muted);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.mastiel-opening-page__back:hover {
    color: var(--roasl-event-green);
    text-decoration: none;
}

.mastiel-opening-page__back-arrow { transition: transform 180ms ease; }
.mastiel-opening-page__back:hover .mastiel-opening-page__back-arrow { transform: translateX(-3px); }

.mastiel-opening-page-hero__date {
    display: inline-flex;
    margin: 0 0 15px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #fff;
    background: var(--roasl-event-green);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.mastiel-opening-page-hero__title {
    max-width: 20ch;
    margin: 0 0 21px;
    color: var(--roasl-event-deep);
    font-family: "Fira Sans", Nunito, sans-serif;
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.mastiel-opening-page-hero__rule {
    display: block;
    width: 58px;
    height: 3px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: var(--roasl-event-coral);
}

.mastiel-opening-page-hero__lead {
    max-width: 70ch;
    margin: 0 0 28px;
    color: var(--roasl-event-ink);
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.62;
    text-wrap: pretty;
}

.mastiel-opening-page-hero__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--roasl-event-line);
    border-radius: var(--roasl-event-radius);
    background: var(--roasl-event-line);
}

.mastiel-opening-page-hero__meta-item {
    min-width: 0;
    padding: 20px;
    background: #fff;
}

.mastiel-opening-page-hero__meta-label {
    margin-bottom: 7px;
    color: var(--roasl-event-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

.mastiel-opening-page-hero__meta-value {
    margin: 0;
    color: var(--roasl-event-deep);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.mastiel-opening-page-hero__meta-note {
    margin: 5px 0 0;
    color: var(--roasl-event-muted);
    font-size: 13px;
    line-height: 1.4;
}

.mastiel-opening-page-hero__meta-value p,
.mastiel-opening-page-hero__meta-note p { margin: 0; }

.mastiel-open-day-report__cover {
    margin-top: 0;
    padding: clamp(30px, 4vw, 48px) 0 0;
}

.mastiel-open-day-report__cover figure {
    margin: 0;
    overflow: hidden;
    border-radius: var(--roasl-event-radius);
    background: var(--roasl-event-surface);
}

.mastiel-open-day-report__cover img {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: cover;
}

.mastiel-open-day-report__article {
    padding: clamp(42px, 6vw, 76px) 0;
}

.mastiel-opening-page-section__lead {
    max-width: 65ch;
    margin: 0 0 28px;
    color: var(--roasl-event-deep);
    font-size: clamp(19px, 2vw, 24px);
    font-weight: 600;
    line-height: 1.5;
}

.mastiel-open-day-report__article > h2 {
    max-width: 28ch;
    margin: clamp(36px, 5vw, 54px) 0 17px;
    padding-top: clamp(34px, 4vw, 48px);
    border-top: 1px solid var(--roasl-event-line);
    color: var(--roasl-event-deep);
    font-family: "Fira Sans", Nunito, sans-serif;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.mastiel-open-day-report__article > h3 {
    max-width: 65ch;
    margin: 28px 0 11px;
    color: var(--roasl-event-ink);
    font-size: 21px;
    line-height: 1.35;
}

.mastiel-open-day-report__article > p:not(.mastiel-opening-page-section__lead),
.mastiel-open-day-report__article > ul,
.mastiel-open-day-report__article > ol {
    max-width: 68ch;
    margin: 0 0 17px;
    color: var(--roasl-report-body);
    font-size: 17px;
    line-height: 1.72;
}

.mastiel-open-day-report__article > ul,
.mastiel-open-day-report__article > ol { padding-left: 24px; }

.mastiel-open-day-report__article a {
    color: var(--roasl-event-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mastiel-open-day-report__article img { max-width: 100%; height: auto; }

.mastiel-open-day-report__article > blockquote {
    max-width: 68ch;
    margin: 32px 0;
    padding: 24px 26px;
    border: 1px solid var(--roasl-event-line);
    border-radius: var(--roasl-event-radius);
    color: var(--roasl-event-deep);
    background: var(--roasl-event-surface);
    font-size: clamp(18px, 2vw, 23px);
    font-weight: 600;
    line-height: 1.5;
}

.mastiel-open-day-report__article > blockquote p { margin: 0; }

.mastiel-open-day-report__article > blockquote cite {
    display: block;
    margin-top: 15px;
    color: var(--roasl-event-muted);
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
}

.mastiel-open-day-report__gallery {
    padding: clamp(54px, 7vw, 88px) 0;
    overflow: hidden;
    background: var(--roasl-event-surface);
    border-block: 1px solid var(--roasl-event-line);
}

.mastiel-open-day-report__gallery-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 28px;
}

.mastiel-open-day-report__gallery-head h2 {
    margin: 0;
    color: var(--roasl-event-deep);
    font-family: "Fira Sans", Nunito, sans-serif;
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.mastiel-open-day-report__gallery-head p {
    margin: 0;
    color: var(--roasl-event-muted);
    font-size: 16px;
    line-height: 1.62;
}

.mastiel-open-day-gallery {
    position: relative;
    overflow: visible;
    padding-bottom: 54px;
}

.mastiel-open-day-gallery .swiper-slide { height: auto; }

.mastiel-open-day-gallery__item {
    display: block;
    height: 420px;
    overflow: hidden;
    border-radius: var(--roasl-event-radius);
    background: #fff;
    text-decoration: none;
}

.mastiel-open-day-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.mastiel-open-day-gallery__item:hover img { transform: scale(1.025); }

.mastiel-open-day-gallery .swiper-button-prev,
.mastiel-open-day-gallery .swiper-button-next {
    top: auto;
    bottom: 0;
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--roasl-event-deep);
}

.mastiel-open-day-gallery .swiper-button-prev { left: auto; right: 58px; }
.mastiel-open-day-gallery .swiper-button-next { right: 0; }
.mastiel-open-day-gallery .swiper-button-prev::after,
.mastiel-open-day-gallery .swiper-button-next::after { font-size: 17px; font-weight: 800; }
.mastiel-open-day-gallery .swiper-pagination { bottom: 15px; left: 0; width: auto; }
.mastiel-open-day-gallery .swiper-pagination-bullet { background: var(--roasl-event-green); }

.mastiel-event-place {
    padding: clamp(54px, 7vw, 88px) 0;
    background: #fff;
}

.mastiel-event-final-cta {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    padding: clamp(28px, 4vw, 44px);
    border-radius: var(--roasl-event-radius);
    color: #fff;
    background: var(--roasl-event-deep);
}

.mastiel-event-final-cta__content { max-width: 680px; }

.mastiel-event-final-cta__title {
    margin: 0 0 10px;
    color: #fff;
    font-family: "Fira Sans", Nunito, sans-serif;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 600;
    line-height: 1.15;
    text-wrap: balance;
}

.mastiel-event-final-cta__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 16px;
    line-height: 1.58;
}

.mastiel-event-final-cta .mastiel-opening-btn { flex: 0 0 auto; }

.mastiel-opening-btn:focus-visible,
.mastiel-opening-sticky__btn:focus-visible,
.mastiel-opening-sticky__more:focus-visible,
.mastiel-opening-sticky__close:focus-visible,
.mastiel-opening-page__back:focus-visible,
.mastiel-open-day-gallery__item:focus-visible {
    outline: 3px solid #f9e14f;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .mastiel-opening-hero__body { grid-template-columns: 1fr; }
    .mastiel-opening-hero__title { max-width: 22ch; }
    .mastiel-opening-page-hero__meta { grid-template-columns: 1fr; }
    .mastiel-open-day-report__gallery-head { grid-template-columns: 1fr; gap: 12px; }
    .mastiel-open-day-gallery__item { height: 360px; }
    .mastiel-event-final-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 700px) {
    .mastiel-opening-hero .container,
    .mastiel-opening-page .container,
    .mastiel-event-place .container { width: min(calc(100% - 28px), var(--roasl-event-container)); }

    .mastiel-opening-hero { padding: 36px 0; }
    .mastiel-opening-hero__title { font-size: clamp(31px, 10vw, 43px); }
    .mastiel-opening-hero__text { font-size: 17px; }
    .mastiel-opening-hero__actions { flex-direction: column; }
    .mastiel-opening-hero__actions .mastiel-opening-btn { width: 100%; }
    .mastiel-opening-hero__card { padding: 22px; }

    .mastiel-opening-sticky {
        grid-template-columns: 1fr;
        gap: 13px;
        width: calc(100% - 20px);
        padding: 16px;
    }

    .mastiel-opening-sticky__actions { width: 100%; }
    .mastiel-opening-sticky__btn,
    .mastiel-opening-sticky__more { flex: 1 1 0; white-space: normal; }

    .mastiel-opening-page-hero { padding-top: 34px; }
    .mastiel-opening-page-hero__title { font-size: clamp(32px, 10vw, 44px); }
    .mastiel-opening-page-hero__meta-item { padding: 17px; }
    .mastiel-open-day-report__cover { padding-top: 24px; }
    .mastiel-open-day-report__article { padding: 36px 0 48px; }
    .mastiel-open-day-report__article > p:not(.mastiel-opening-page-section__lead),
    .mastiel-open-day-report__article > ul,
    .mastiel-open-day-report__article > ol { font-size: 15.5px; line-height: 1.65; }
    .mastiel-open-day-report__article > blockquote { padding: 21px; font-size: 17px; }
    .mastiel-open-day-gallery__item { height: 310px; }
    .mastiel-event-final-cta { padding: 24px; }
    .mastiel-event-final-cta .mastiel-opening-btn { width: 100%; }
}

@media (max-width: 430px) {
    .mastiel-opening-sticky__actions { flex-direction: column; }
    .mastiel-opening-sticky__btn,
    .mastiel-opening-sticky__more { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .mastiel-opening-sticky { animation: none; }
    .mastiel-opening-btn,
    .mastiel-opening-sticky__btn,
    .mastiel-opening-sticky__more,
    .mastiel-opening-page__back-arrow,
    .mastiel-open-day-gallery__item img { transition: none; }
}
