.yas-lilac.yl-brand-page .site-main {
    width: min(1080px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
    padding: 0;
    min-width: 0;
}

.yl-brand-layout {
    --brand-ink: #392445;
    --brand-copy: #62536a;
    --brand-border: #e2d5eb;
    --brand-lilac: #f1e8f7;
    --brand-peach: #fee7dc;
    --brand-mint: #cfeae1;
    font-family: YasUI, sans-serif;
    color: var(--brand-ink);
    padding-top: 88px;
}

.yl-brand-layout a { color: inherit; text-decoration: none; }
.yl-brand-layout :is(a, summary):focus-visible {
    outline: 2px solid #684080;
    outline-offset: 4px;
}
.yl-brand-layout svg { width: 21px; height: 21px; flex: 0 0 auto; }
.yl-brand-layout :is(h1, h2, h3, p, figure, ul, address) { margin: 0; }
.yl-brand-trail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 10px;
    margin: 0 2px 14px;
    color: var(--brand-copy);
    font-size: 13px;
}
.yl-brand-trail a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.yl-brand-trail a:hover { text-decoration: underline; }
.yl-brand-trail svg { width: 15px; height: 15px; }
.yl-brand-trail > svg { color: #8d6da1; width: 13px; }

.yl-brand-hero {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--brand-border);
    border-radius: 28px;
    background: linear-gradient(145deg, #f6eef9 5%, #fffaf7 95%);
    box-shadow: 0 16px 42px #5438670b;
}
.yl-brand-copy {
    align-self: center;
    min-width: 0;
    padding: clamp(23px, 4.2vw, 54px);
}
.yl-brand-layout .yl-brand-kicker {
    color: #694881;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 9px;
}
.yl-brand-kicker::before { content: ''; width: 25px; height: 2px; border-radius: 2px; background: #a78bc0; }
.yl-brand-layout h1 {
    font-family: inherit;
    color: var(--brand-ink);
    font-size: clamp(34px, 4.4vw, 57px);
    font-weight: 900;
    line-height: 1.32;
    letter-spacing: -.025em;
}
.yl-brand-layout .yl-brand-lead { margin-top: 13px; color: var(--brand-copy); font-size: clamp(14px, 1.6vw, 17px); line-height: 1.95; max-width: 40ch; }
.yl-brand-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.yl-brand-layout .yl-brand-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 13px;
    border: 1px solid #d7c4e3;
    color: #573767;
    background: #fffdfc;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    line-height: 1.55;
}
.yl-brand-button svg { width: 17px; height: 17px; }
.yl-brand-layout .yl-brand-button:hover { background: #f5eaf9; border-color: #b695c8; }
.yl-brand-layout .yl-brand-button.is-primary { color: #fff; background: #65427e; border-color: #65427e; box-shadow: 0 5px 11px #593a6e20; }
.yl-brand-layout .yl-brand-button.is-primary:hover { background: #533167; }

.yl-brand-photo { position: relative; min-height: 320px; overflow: hidden; background: #e9d6c9; }
.yl-brand-photo img { position: absolute; display: block; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 18% 52%; }
.yl-brand-photo figcaption {
    position: absolute;
    inset-inline-start: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border: 1px solid #fff;
    border-radius: 99px;
    background: #fffaf4f5;
    color: #4c3357;
    font-size: 13px;
    font-weight: 700;
}
.yl-brand-photo figcaption svg { width: 16px; height: 16px; }
.yl-brand-layout h2 { color: var(--brand-ink); font: 850 clamp(20px, 2.3vw, 26px)/1.55 YasUI, sans-serif; }
.yl-brand-discover { margin-top: 24px; }
.yl-brand-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin-top: 12px; }
.yl-brand-layout .yl-brand-tile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 15px;
    min-height: 83px;
    border: 1px solid var(--brand-border);
    border-radius: 17px;
    background: #fffdfb;
}
.yl-brand-layout .yl-brand-tile:hover { border-color: #ac8ebf; background: #fbf6fd; }
.yl-brand-tile strong { display: block; font-size: 15px; font-weight: 850; }
.yl-brand-tile small { display: block; color: var(--brand-copy); font-size: 12px; line-height: 1.65; }
.yl-brand-tile > svg { width: 16px; height: 16px; color: #73518a; }
.yl-brand-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 14px; background: var(--brand-lilac); color: #674484; }
.yl-brand-icon.is-peach { background: var(--brand-peach); color: #914b38; }
.yl-brand-icon.is-mint { background: var(--brand-mint); color: #225a4d; }
.yl-brand-editor { margin-top: 20px; padding: 20px; border: 1px solid var(--brand-border); border-radius: 18px; background: #fffdfb; overflow-wrap: anywhere; }

.yl-brand-contact { grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); }
.yl-brand-contact .yl-brand-copy { padding-block: clamp(22px, 3.2vw, 39px); }
.yl-brand-contact .yl-brand-lead { max-width: 52ch; }
.yl-brand-contact .is-primary bdi { font-size: 17px; }
.yl-brand-seal {
    display: grid;
    place-items: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: radial-gradient(ellipse at 7% 4%, #fee7dc, #f2e7f8 64%, #e5d0ef);
    border-inline-start: 1px solid #e6d5ee;
}
.yl-brand-seal::before, .yl-brand-seal::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 280px;
    aspect-ratio: 1;
    border: 1px solid #a78bc060;
    border-radius: 50%;
}
.yl-brand-seal::after { width: 320px; border-color: #fff9; }
.yl-brand-seal img { display: block; width: min(52%, 167px); height: auto; }

.yl-contact-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: start; gap: 14px; margin-top: 17px; }
.yl-contact-grid > section { min-width: 0; padding: clamp(15px, 2.7vw, 25px); border: 1px solid var(--brand-border); border-radius: 23px; background: #fffdfc; }
.yl-contact-method { display: flex; align-items: start; gap: 11px; padding: 13px 0; border-bottom: 1px solid #eee4f1; }
.yl-contact-method:last-child { border-bottom: 0; padding-bottom: 0; }
.yl-brand-layout .yl-contact-method h3 { color: var(--brand-ink); font: 850 15px/1.7 YasUI, sans-serif; }
.yl-contact-method p { color: var(--brand-copy); font-size: 13px; line-height: 1.8; }
.yl-contact-method ul { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 9px; list-style: none; padding: 0; }
.yl-contact-method li a { display: inline-flex; align-items: center; gap: 3px; min-height: 33px; padding-inline: 6px; text-underline-offset: 4px; text-decoration: underline; color: #613a77; font-size: 13px; font-weight: 750; }
.yl-contact-method li a:hover { color: #432652; }
.yl-contact-method li a svg { width: 12px; height: 12px; }
.yl-contact-location { scroll-margin-top: 90px; }
.yl-contact-location-head { display: flex; align-items: center; gap: 11px; }
.yl-contact-location address { font-style: normal; color: var(--brand-copy); }
.yl-location-art {
    display: grid;
    place-items: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 112px;
    border-radius: 15px;
    margin: 13px 0;
    background: linear-gradient(130deg, #ecf7f2, #f8eef9 75%, #fee7dc);
}
.yl-location-art::before, .yl-location-art::after { content: ''; position: absolute; inset: 50% auto auto 50%; width: 270px; height: 96px; border: 1px solid #ad91bf60; border-radius: 50%; transform: translate(-50%, -50%) rotate(-21deg); z-index: -1; }
.yl-location-art::after { width: 310px; height: 129px; border-color: #fff; }
.yl-location-art span { display: grid; place-items: center; border: 1px solid #e6d7ed; width: 57px; height: 57px; border-radius: 50%; background: #fffdfa; color: #674384; }
.yl-location-art svg { width: 29px; height: 29px; }
.yl-contact-map { margin-top: 8px; }
.yl-contact-map summary { display: list-item; width: fit-content; min-height: 38px; padding: 7px 3px; cursor: pointer; color: #613a77; font-size: 13px; }
.yl-contact-map iframe { display: block; width: 100%; height: 260px; margin-top: 8px; border: 0; border-radius: 12px; background: #f4eff7; }

@media (max-width: 759px) {
    .yas-lilac.yl-brand-page .site-main { width: min(640px, calc(100% - 28px)); }
    .yl-brand-layout { padding-top: 77px; }
    .yl-brand-hero { grid-template-columns: 1fr; border-radius: 21px; }
    .yl-brand-photo { min-height: 0; aspect-ratio: 1.9; grid-row: 1; }
    .yl-brand-photo img { object-position: center; }
    .yl-brand-copy, .yl-brand-contact .yl-brand-copy { padding: 21px; }
    .yl-brand-trail { margin-bottom: 9px; }
    .yl-brand-actions { margin-top: 15px; gap: 8px; }
    .yl-brand-discover { margin-top: 18px; }
    .yl-brand-tiles { gap: 8px; }
    .yl-brand-layout .yl-brand-tile { padding: 11px; min-height: 68px; }
    .yl-brand-contact { position: relative; isolation: isolate; }
    .yl-brand-contact .yl-brand-copy { position: relative; z-index: 1; }
    .yl-brand-seal { display: none; }
    .yl-contact-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 11px; }
    .yl-contact-grid > section { border-radius: 18px; }
}

@media (max-width: 480px) {
    .yas-lilac.yl-brand-page .ryn-default-header .brand {
        position: absolute;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        left: 50%;
        transform: translateX(-50%);
        min-width: 58px;
        min-height: 52px;
    }
    .yas-lilac.yl-brand-page .ryn-default-header .brand img { max-height: 48px; }
}
