/* Shared accessibility and narrow-screen corrections. Brand tokens stay in base.css. */
button, input, select, textarea { font-family: var(--font-sans); }
button { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
button:disabled { cursor: default; opacity: .45; }
img { height: auto; }
iframe { max-width: 100%; }
[hidden] { display: none !important; }
.qna-item-header[role="button"] { cursor: pointer; }
.date-box { color: inherit; background: transparent; font-family: var(--font-sans); }
.mx-cell[data-hover-pending] .img-hov,
.collection-card[data-hover-pending] .card-img-hover { opacity: 0; }
@media (hover: hover) {
    .mag-article-card:focus-visible .mag-img-wrapper img,
    .mag-card-link:focus-visible .mag-media-box img { transform: scale(1.04); }
}
.booking-modal-wrapper, .editorial-lightbox {
    display: flex; opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s ease, visibility 0s .3s;
}
.booking-modal-wrapper:is(.is-open, .active), .editorial-lightbox.is-active {
    opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s;
}
.booking-modal-dialog {
    transform: translateY(14px) scale(.985);
    transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.booking-modal-wrapper:is(.is-open, .active) .booking-modal-dialog { transform: none; }
.article-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 44px 30px; }
.article-card { min-width: 0; display: block; }
.article-card-media { overflow: hidden; aspect-ratio: 4/3; background: var(--bg-sand); }
.article-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.25,1,.5,1), opacity .5s ease; }
.article-card:is(:hover, :focus-visible) img { transform: scale(1.05); opacity: .92; }
.article-card .mag-category { margin-top: 18px; }
.article-card h3 { font-size: 1.4rem; line-height: 1.45; transition: color .3s ease; }
.article-card:hover h3 { color: var(--primary); }
.article-card p { margin-top: 12px; color: var(--text-muted); font-size: .92rem; }
.article-card .mag-category, .article-header .mag-category { font-family: var(--font-sans); font-size: .75rem; font-weight: 600; letter-spacing: 2px; color: var(--primary); text-transform: uppercase; margin-bottom: 15px; }
.legacy-titles { margin-bottom: 32px; }
.legacy-titles h2 { margin-bottom: 18px; font-size: 1.5rem; }
.legacy-titles p { margin-bottom: 24px; }
[data-article-feed] > * { min-width: 0; }
[data-article-feed] .mag-main .mag-img-wrapper { aspect-ratio: 3/2; }
@media (max-width: 1024px) {
    .article-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .qna-two-columns-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
    .qna-col + .qna-col .qna-item:first-child { border-top: 0; }
}
@media (max-width: 768px) {
    .container { padding-left: 20px; padding-right: 20px; }
    .container > *, .booking-container > *, .form-row > *, .mag-col { min-width: 0; }
    .qna-item-header { min-height: 48px; align-items: flex-start; }
    .qna-item-header h3 { font-size: 1.05rem; line-height: 1.55; }
    .qna-item-body-inner p { font-size: .98rem; line-height: 1.8; }
    .mosaic-title { white-space: normal !important; overflow: visible !important; font-size: 1.25rem !important; line-height: 1.45; }
    .hero { padding: 96px 0 40px; }
    .hero h1 { font-size: clamp(1.75rem,6.5vw,2.15rem); }
    .hero p { padding: 0; font-size: 1rem; }
    .article-cards { grid-template-columns: minmax(0,1fr); gap: 36px; }
    .article-card h3 { font-size: 1.45rem; }
    .section-title { font-size: clamp(1.65rem,6vw,2rem); line-height: 1.35; }
    .mosaic-header-text .section-title, .ed-headline, .ed-epilogue-lead h3,
    .section > .container > h2[style], .bento-header h2, .bento-header h3,
    .split-content h2, .process-header h2, .mag-feed-header h2,
    .invitation-title, .matrix-title {
        font-size: clamp(1.75rem,7vw,2rem) !important;
        line-height: 1.4;
    }
    .service-title, .detail-title, .magazine-hero .page-title, .collections-hero .page-title,
    .editorial-hero-title { font-size: clamp(1.8rem,6.5vw,2rem); line-height: 1.35; }
    .mag-title-lg, .mag-heading-lg { font-size: 1.4rem; line-height: 1.4; }
    .mag-title-md, .mag-heading-md { font-size: 1.2rem; line-height: 1.45; }
    .recent-title, .recent-post-title { font-size: 1.05rem; line-height: 1.5; }
    .bento-grid, .process-steps-grid, .ed-row[style*="grid-template-columns"] { grid-template-columns: minmax(0,1fr) !important; gap: 28px !important; }
    .mag-grid-3, .mag-col-subs { grid-template-columns: minmax(0,1fr); }
    .mag-grid-3 > * { min-width: 0; }
    .social-links { flex-wrap: wrap; gap: 12px; }
    .filter-dropdown-group select { min-height: 44px; font-size: 16px; }
    .btn-reset-filters { min-height: 44px; }
    .mag-feed-header { flex-wrap: wrap; gap: 16px; }
    .magazine-header { flex-wrap: wrap; gap: 18px; }
    .booking-form input, .booking-form textarea, .booking-form select { font-size: 16px; }
    .booking-modal-dialog { width: calc(100% - 24px); max-height: 92dvh; }
    .booking-modal-wrapper .booking-modal-body-layout { max-height: 92dvh; overscroll-behavior: contain; }
    .booking-modal-wrapper .booking-left { padding-top: 52px !important; }
    .booking-modal-body-layout .booking-left p { display: block; }
    .booking-modal-body-layout .booking-right { padding: 20px 12px; }
    .booking-modal-body-layout .date-nav-header { padding-right: 0; flex-wrap: wrap; gap: 10px; }
    .date-nav-btn, .sc-btn, .mobile-menu-btn, .booking-modal-close { min-width: 44px; min-height: 44px; }
    .btn-mobile-nav-cta { min-height: 44px; display: inline-flex; align-items: center; }
    .date-box { min-width: 0; min-height: 48px; }
    .date-box span:first-child { font-size: .68rem !important; }
    .date-box span:last-child { font-size: .9rem !important; }
    .time-pills { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
    .pill { min-height: 44px; }
    .nav-links { max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
    .nav-links:not(.active) { visibility: hidden; pointer-events: none; transition: transform .4s cubic-bezier(.16,1,.3,1), visibility 0s .4s; }
    .nav-links.active { visibility: visible; pointer-events: auto; transition: transform .4s cubic-bezier(.16,1,.3,1), visibility 0s; }
    .footer-grid a { display: inline-block; padding-block: 6px; }
    .card-summary { display: block !important; overflow: visible !important; -webkit-line-clamp: unset !important; }
    .service-gallery-section[style] { padding-top: 60px !important; }
    .policy-tab-item { min-height: 44px; }
}
@media (max-width: 360px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .nav-content { gap: 10px; }
    .logo-img { max-width: 132px; }
    .btn-mobile-nav-cta { padding-inline: 10px !important; letter-spacing: 1px !important; }
}
@media (max-height: 600px) {
    .hero { padding: 104px 0 24px; }
    .hero h1 { font-size: clamp(1.5rem, 5.5vh, 2.2rem); line-height: 1.25; margin-bottom: 12px; }
    .hero p { font-size: 0.9rem; line-height: 1.5; margin-bottom: 18px; }
    .hero .cta-scroll { font-size: 0.72rem; letter-spacing: 2px; }
    .hero .bounce-arrow { margin-top: 8px; }
}
@media (max-height: 600px) and (max-width: 768px) {
    .hero { padding-top: 80px; }
}
@media (prefers-reduced-motion: reduce) {
    /* Reduce spatial movement without turning every fade and interaction into a cut. */
    .bounce-arrow { animation: none; }
    .timeline-bg-item { transform: none !important; }
    .policy-pane { animation-name: reducedFade; }
    .showcase-slide:is(.active, .is-leaving) .sc-img-main { clip-path: none; animation: reducedFade .6s ease both; }
    .article-card img, .mag-img-wrapper img, .mag-media-box img,
    .ed-figure img, .split-media img, .srv-gallery-item img, .matrix-item img,
    .mx-cell img, .card-img-default, .card-img-hover, .benefit-media img { transform: none !important; }
    .booking-modal-dialog { transform: none; }
    .ed-figure img, .split-media img, .srv-gallery-item img, .matrix-item img, .benefit-media img { transition: opacity .45s ease; }
    :is(.ed-figure, .split-media, .srv-gallery-item, .matrix-item, .benefit-card):hover img { opacity: .93; }
}
@keyframes reducedFade { from { opacity: 0; } to { opacity: 1; } }
