/*
Theme Name: Wakacje Kenia
Description: Dwujęzyczny motyw podróżniczy WakacjeKenia.pl dla Ogutu Safari.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: wakacje-kenia
*/

:root {
    --paper: #faf7f0;
    --white: #fffcf7;
    --linen: #f0e8d9;
    --line: #ded4c3;
    --ink: #272c23;
    --muted: #57584e;
    --olive: #2e392d;
    --forest: #202a21;
    --rust: #8d412e;
    --rust-hover: #70301e;
    --sand: #f2c688;
    --sans: 'Manrope', system-ui, sans-serif;
    --display: 'Fraunces', Georgia, serif;
    --section: clamp(3.75rem, 7vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.7 var(--sans); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .23em; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
p, ul, ol, figure { margin: 0 0 1.15em; }
h1, h2, h3, h4 { margin: 0 0 .42em; font-family: var(--display); font-weight: 560; line-height: 1.08; letter-spacing: -.035em; text-wrap: pretty; }
h1 { font-size: clamp(2.8rem, 6.2vw, 5.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
#tresc:focus { outline: none; }
[id] { scroll-margin-top: 1.5rem; }
[hidden] { display: none !important; }

.skip-link { position: absolute; z-index: 10; transform: translateY(-120%); top: .5rem; left: .5rem; padding: .65rem 1rem; color: var(--white); background: var(--forest); }
.skip-link:focus { transform: none; }
.shell { width: min(calc(100% - 4rem), 76rem); margin-inline: auto; }
.narrow { max-width: 50rem; }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(2.75rem, 5.4vw, 5rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(1.5rem, 4vw, 2.75rem); }
.section-head h2 { margin-bottom: .25em; }
.section-head p { max-width: 41rem; margin-bottom: 0; color: var(--muted); }
.section-head > a { flex-shrink: 0; margin-bottom: .2rem; }
.catalog-intro { margin-bottom: 2.25rem; }
.text-link { display: inline-block; width: fit-content; color: var(--rust); font-weight: 800; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .28em; }
.text-link:hover { color: var(--rust-hover); text-decoration-thickness: 2px; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; }
.button {
    display: inline-flex; width: fit-content; min-height: 3.25rem; max-width: 100%; align-items: center; justify-content: center;
    padding: .8rem 1.35rem; border: 1px solid transparent; border-radius: .3rem;
    color: var(--ink); font-size: .94rem; font-weight: 800; line-height: 1.25; text-align: center; text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.button-rust { color: var(--white); background-color: var(--rust); }
.button-rust:hover { background-color: var(--rust-hover); }
.button-sand { color: #332515; background-color: var(--sand); }
.button-sand:hover { background-color: #ffdb9f; }
.button-glass { color: var(--white); background: #211c1461; border-color: #fff7e49c; }
.button-glass:hover { background: #fff4df2e; border-color: var(--white); }
.button-outline { color: var(--ink); border-color: #736958; background-color: transparent; }
.button-outline:hover { background: #42332210; border-color: var(--ink); }

.site-header { position: relative; z-index: 3; background: var(--white); }
.site-top { background: var(--forest); color: #f8efde; font-size: .82rem; font-weight: 630; }
.site-top-inner, .site-top-inner > div { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-top-inner { min-height: 2.25rem; }
.site-top a { text-decoration: none; white-space: nowrap; }
.site-top a:hover { text-decoration: underline; }
.site-nav-row { display: flex; min-height: 5.2rem; align-items: center; justify-content: space-between; gap: clamp(.7rem, 2vw, 2rem); }
.wordmark { display: inline-flex; align-items: center; flex: none; gap: .62rem; color: var(--ink); text-decoration: none; }
.wordmark b, .wordmark small { display: block; }
.wordmark b { font: 620 clamp(1.25rem, 2vw, 1.58rem)/1.05 var(--display); letter-spacing: -.045em; }
.wordmark b span { color: var(--rust); }
.wordmark small { margin-top: .26rem; font-size: .65rem; font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: .14em; }
.wordmark-symbol {
    position: relative; width: 2.65rem; height: 2.65rem; flex: none;
    border-radius: 50%; overflow: hidden; background: var(--rust); color: var(--sand);
}
.wordmark-symbol::before { content: ''; position: absolute; top: .62rem; left: .77rem; width: 1.1rem; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; }
.wordmark-symbol::after { content: ''; position: absolute; bottom: .54rem; width: 100%; height: .63rem; transform: rotate(-12deg) scaleX(1.2); border-block: 1px solid currentColor; background: var(--rust); }
.wordmark-symbol i { position: absolute; inset: auto 0 .32rem; transform: rotate(12deg) scaleX(1.2); height: .9rem; border-top: 1px solid currentColor; }
.primary-nav ul, .footer-grid ul, .trust-grid, .category-pills, .breadcrumbs ol { list-style: none; padding: 0; margin: 0; }
.primary-nav ul { display: flex; gap: clamp(.75rem, 2vw, 1.9rem); }
.primary-nav a { display: block; padding: .55rem 0; font-weight: 760; font-size: .93rem; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--rust); text-decoration: underline; }
.nav-actions { display: flex; align-items: center; gap: .65rem; }
.language-link { min-width: 2.6rem; min-height: 2.6rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: .3rem; font-size: .81rem; font-weight: 800; text-decoration: none; }
.language-link:hover { color: var(--rust); border-color: currentColor; }
.nav-cta { white-space: nowrap; min-height: 2.7rem; padding: .61rem .92rem; font-size: .85rem; }
.nav-toggle { display: none; border: 1px solid var(--line); color: var(--ink); background: transparent; min-height: 2.6rem; padding: .46rem .66rem; border-radius: .3rem; gap: .5rem; align-items: center; font-size: .85rem; font-weight: 800; }
.nav-toggle-icon { width: 1rem; height: .65rem; border-block: 2px solid currentColor; }

.home-hero { position: relative; display: grid; align-items: center; min-height: clamp(30rem, 40vw, 37rem); color: var(--white); background: #513624; isolation: isolate; overflow: hidden; }
.home-hero::after, .home-hero-picture, .home-hero-picture img { position: absolute; width: 100%; height: 100%; inset: 0; }
.home-hero-picture { z-index: -2; width: 112%; }
.home-hero-picture img { object-fit: cover; object-position: 8% 52%; }
.home-hero::after { content: ''; z-index: -1; background: linear-gradient(90deg, #23160ff5 0%, #23160fcb 25%, #23160f73 52%, #23160f18 81%), linear-gradient(0deg, #20150d52, transparent 45%); }
.home-hero-inner { padding-block: 4rem; }
.home-hero-copy { max-width: 43rem; }
.home-hero h1 { margin-bottom: .31em; font-size: clamp(3.6rem, 7.3vw, 7.1rem); line-height: .98; }
.home-hero h1 em { display: inline-block; color: #f7d8a9; font-size: .59em; font-weight: 430; line-height: 1.02; }
.home-hero p { max-width: 32rem; margin-bottom: 1.65rem; color: #f8ecdc; font-size: clamp(1.02rem, 1.55vw, 1.22rem); line-height: 1.55; }

.trust-band { background: var(--linen); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-inline: auto; padding-block: 1.25rem; }
.trust-grid li { padding: .2rem 1.65rem; border-left: 1px solid var(--line); }
.trust-grid li:first-child { border: 0; padding-left: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { margin: 0 0 .12rem; font-weight: 800; font-size: 1rem; }
.trust-grid span { color: var(--muted); font-size: .89rem; line-height: 1.4; }
.trust-grid a:hover { color: var(--rust); }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.content-card { min-width: 0; border: 1px solid var(--line); background: var(--white); border-radius: .45rem; transition: border-color 160ms ease, box-shadow 160ms ease; }
.content-card:hover { border-color: #ab8b71; box-shadow: 0 .44rem 1.3rem #39232112; }
.content-card > a { min-height: 100%; display: flex; flex-direction: column; text-decoration: none; }
.card-image { width: 100%; height: auto; aspect-ratio: 5/3; object-fit: cover; border-radius: .4rem .4rem 0 0; background: var(--linen); }
.card-copy { display: flex; flex-direction: column; align-items: start; flex: 1; padding: clamp(1.05rem, 2vw, 1.6rem); }
.card-copy h3 { margin-bottom: .45rem; }
.card-copy p { margin-bottom: 1rem; color: var(--muted); font-size: .95rem; }
.card-copy .text-link { margin-top: auto; font-size: .89rem; }
.category-pills { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1.8rem; }
.category-pills a { display: inline-block; padding: .45rem .95rem; border: 1px solid var(--line); border-radius: 5rem; font-weight: 750; font-size: .9rem; text-decoration: none; background: var(--white); }
.category-pills a:hover { color: var(--rust); border-color: currentColor; }

.team-section { padding-block: clamp(2.75rem, 6vw, 5.2rem); background: var(--linen); }
.team-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.team-photo img { width: 100%; max-height: 29rem; object-fit: cover; aspect-ratio: 1.42; border-radius: .45rem; }
.team-copy p { max-width: 37rem; color: var(--muted); }
.section-blog { background: var(--white); }
.section-gallery { background: var(--paper); border-top: 1px solid var(--line); }
.gallery-teaser { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: .7rem; border-radius: .4rem; }
.gallery-teaser img { width: 100%; height: clamp(9rem, 23vw, 21.5rem); object-fit: cover; border-radius: .35rem; }
.review-section { border-top: 1px solid var(--line); background: var(--white); }
.review-grid { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.review-grid p { margin-bottom: 0; color: var(--muted); }
.site-cta { padding-block: clamp(2.7rem, 5vw, 4.6rem); background: var(--olive); color: var(--white); }
.site-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.site-cta h2 { margin-bottom: .25em; }
.site-cta p { color: #ece3d5; margin: 0; }
.site-cta .button-row { flex-shrink: 0; }

.site-footer { background: var(--forest); color: #f3ebdf; padding-top: clamp(2.75rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .9fr 1.15fr 1fr; gap: 1.65rem clamp(.9rem, 3vw, 3rem); padding-bottom: 2.9rem; }
.footer-grid .wordmark { color: var(--white); margin-bottom: 1.15rem; }
.footer-grid .wordmark b span { color: var(--sand); }
.footer-grid h2 { font: 800 1rem/1.3 var(--sans); letter-spacing: 0; }
.footer-grid li { margin: .24rem 0; }
.footer-grid p, .footer-grid li, .footer-grid a:not(.wordmark) { font-size: .91rem; }
.footer-grid p { color: #dbd4c7; margin-bottom: .6rem; }
.footer-grid a:not(.wordmark) { color: #efe1cb; overflow-wrap: anywhere; }
.footer-grid a:hover { color: var(--sand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; color: #d9cdbd; border-top: 1px solid #565e50; font-size: .81rem; }

.breadcrumbs { padding-block: 1rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .6rem; align-items: baseline; font-size: .83rem; }
.breadcrumbs li { display: flex; align-items: baseline; gap: .6rem; color: var(--muted); }
.breadcrumbs li + li::before { content: '/'; color: #8a7965; }
.breadcrumbs [aria-current='page'] { font-weight: 750; color: var(--ink); }
.breadcrumbs a { text-decoration-thickness: 1px; }
.page-lead { background: var(--linen); border-bottom: 1px solid var(--line); }
.page-lead-inner { padding: clamp(1.8rem, 5vw, 5.2rem) 0 clamp(2.3rem, 6vw, 5.2rem); }
.page-lead h1 { max-width: 19ch; margin-bottom: 0; }
.page-lead p { max-width: 47rem; margin: .9rem 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.22rem); }
.page-lead-compact .page-lead-inner { padding-block: clamp(.6rem, 1.65vw, 1.65rem) clamp(1.65rem, 3vw, 2.85rem); }
.page-lead-compact h1 { font-size: clamp(2.8rem, 5.15vw, 4.75rem); }
.catalog-section { padding-top: clamp(1.75rem, 3vw, 2.75rem); }
.catalog-section .catalog-intro, .catalog-section .section-head { margin-bottom: clamp(1.2rem, 2vw, 1.8rem); }
.page-lead-photo { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); align-items: center; gap: 2rem clamp(2rem, 6vw, 5rem); }
.page-lead-photo img { width: 100%; aspect-ratio: 1.45; object-fit: cover; border-radius: .42rem; }
.page-lead-photo h1 { font-size: clamp(2.65rem, 5.2vw, 4.9rem); }
.page-lead-actions { margin-top: 1.35rem; }

.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.article-copy { max-width: 52rem; font-size: 1.04rem; overflow-wrap: anywhere; }
.article-copy > :first-child { margin-top: 0; }
.article-copy > :last-child { margin-bottom: 0; }
.article-copy h2 { margin-top: 1.45em; font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
.article-copy h3 { margin-top: 1.12em; }
.article-copy h4 { margin-top: 1.15em; font-size: 1.25rem; }
.article-copy a:not(.button) { color: var(--rust); }
.article-copy li { margin: .28rem 0; }
.article-copy li + li { padding-top: .07rem; }
.article-copy img { border-radius: .35rem; }
.article-copy iframe { max-width: 100%; }
.article-copy table { border-collapse: collapse; width: 100%; }
.article-copy th, .article-copy td { padding: .55rem .7rem; border: 1px solid var(--line); text-align: left; }
.article-copy blockquote { margin-inline: 0; border-inline-start: .18rem solid var(--rust); padding: .5rem 0 .5rem 1.3rem; }
.article-copy blockquote :last-child { margin-bottom: 0; }
.article-copy details { padding: .7rem .95rem; background: var(--white); border: 1px solid var(--line); border-radius: .3rem; margin-bottom: .75rem; }
.article-copy summary { cursor: pointer; font-weight: 800; }
.article-copy details[open] summary { margin-bottom: .65rem; }
.article-copy details > :last-child { margin-bottom: .2rem; }
.article-aside { background: var(--linen); border: 1px solid var(--line); border-radius: .42rem; padding: clamp(1.1rem, 3vw, 1.7rem); }
.article-aside h2, .article-aside h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.article-aside p { color: var(--muted); }
.article-aside .button { margin-bottom: .5rem; }
.article-aside ul { list-style: none; padding: 0; margin: 0; }
.article-aside ul li { border-top: 1px solid var(--line); }
.article-aside ul a { display: block; padding-block: .6rem; font-weight: 730; }
.related { background: var(--linen); border-top: 1px solid var(--line); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); grid-template-areas: 'details inquiry'; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.contact-meta { grid-area: details; }
.inquiry-panel { grid-area: inquiry; }
.contact-grid h2 { font-size: clamp(1.85rem, 3.5vw, 2.8rem); }
.contact-meta > ul:first-of-type { list-style: none; padding: 0; margin-bottom: 2rem; }
.contact-meta > ul:first-of-type li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .15rem .75rem; margin: 0; padding: .68rem 0; border-bottom: 1px solid var(--line); }
.contact-meta > ul:first-of-type a { font-weight: 800; }
.inquiry-panel { background: var(--white); border: 1px solid var(--line); border-radius: .45rem; padding: clamp(1.25rem, 4vw, 2.5rem); }
.inquiry-panel > p { color: var(--muted); }
.inquiry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1rem; margin-bottom: 1.2rem; }
.inquiry-grid label { display: grid; gap: .34rem; align-content: start; min-width: 0; color: var(--ink); font-size: .91rem; font-weight: 800; }
.inquiry-grid input, .inquiry-grid textarea { width: 100%; min-width: 0; padding: .63rem .75rem; background: var(--paper); color: var(--ink); border: 1px solid #a69885; border-radius: .25rem; font-weight: 500; }
.inquiry-grid textarea { resize: vertical; min-height: 7rem; }
.inquiry-wide { grid-column: 1/-1; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gallery-grid a { display: block; border-radius: .4rem; }
.gallery-grid img { width: 100%; aspect-ratio: 1.4; object-fit: cover; border-radius: .4rem; transition: filter 150ms ease; }
.gallery-grid a:hover img { filter: brightness(.87); }
.gallery-dialog { max-width: min(95vw, 68rem); max-height: 94vh; border: 1px solid #6d6253; border-radius: .45rem; background: var(--forest); color: var(--white); padding: 2.8rem .7rem .55rem; }
.gallery-dialog::backdrop { background: #0d110de5; }
.gallery-dialog figure { margin: 0; }
.gallery-dialog img { max-height: 75vh; min-width: min(50vw, 32rem); object-fit: contain; margin-inline: auto; }
.gallery-dialog figcaption { padding: .35rem .4rem 0; font-size: .86rem; }
.gallery-dialog form { position: absolute; top: .37rem; right: .68rem; }
.gallery-dialog button { border: 1px solid #827668; border-radius: .25rem; padding: .22rem .6rem; background: transparent; color: var(--white); font-size: .83rem; }

@media (max-width: 66rem) {
    .primary-nav ul { gap: .85rem; }
    .primary-nav a { font-size: .87rem; }
    .site-nav-row { gap: .8rem; }
    .nav-cta { padding-inline: .7rem; }
}

@media (max-width: 56rem) {
    .shell { width: min(calc(100% - 2.6rem), 76rem); }
    .site-nav-row { position: relative; min-height: 4.65rem; flex-wrap: wrap; gap: .6rem; }
    .nav-actions { order: 2; }
    .nav-toggle { order: 1; margin-left: auto; }
    .has-menu-toggle .nav-toggle { display: inline-flex; }
    .primary-nav { width: 100%; order: 3; }
    .has-menu-toggle .primary-nav:not(.is-open) { display: none; }
    .primary-nav ul { flex-wrap: wrap; gap: .12rem 1rem; padding: .55rem 0 .75rem; border-top: 1px solid var(--line); }
    .primary-nav a { min-height: 2.75rem; }
    .home-hero h1 { font-size: clamp(3.45rem, 9.7vw, 5.35rem); }
    .home-hero::after { background: linear-gradient(90deg, #23160fe5 1%, #23160fb3 36%, #23160f4d 72%, #23160f24 100%); }
    .page-lead-photo h1 { font-size: clamp(2.4rem, 5.9vw, 4.25rem); }
    .article-grid, .contact-grid { gap: 2rem; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 42rem) {
    .section-head, .site-cta-inner, .review-grid { align-items: start; flex-direction: column; }
    .section-head { gap: .65rem; }
    .section-head > a { margin: 0; }
    .primary-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .2rem 1rem; }
    .primary-nav a { display: flex; align-items: center; }
    .home-hero { min-height: 34.5rem; align-items: end; }
    .home-hero-inner { padding: 8rem 0 2.75rem; }
    .home-hero h1 { font-size: clamp(3.2rem, 11vw, 4.6rem); }
    .home-hero h1 em { font-size: .67em; }
    .home-hero-picture { width: 100%; }
    .home-hero-picture img { object-position: 49% 40%; }
    .home-hero::after { background: linear-gradient(0deg, #23160ffd, #23160fd8 31%, #23160f69 69%, #23160f22); }
    .trust-grid li { padding-inline: .65rem; }
    .trust-grid strong { font-size: .9rem; }
    .trust-grid span { font-size: .78rem; }
    .team-grid, .article-grid, .contact-grid, .page-lead-photo { grid-template-columns: minmax(0, 1fr); }
    .contact-grid { grid-template-areas: 'details' 'inquiry'; }
    .contact-grid-inquiry-first { grid-template-areas: 'inquiry' 'details'; }
    .article-copy .offer-programme { table-layout: fixed; }
    .article-copy .offer-programme th, .article-copy .offer-programme td { padding-inline: .55rem; vertical-align: top; }
    .article-copy .offer-programme th { width: clamp(6.25rem, 29vw, 7.5rem); overflow-wrap: break-word; font-variant-numeric: tabular-nums; }
    .page-lead-actions .button { flex: 1 1 12rem; }
    .team-grid { gap: 1.65rem; }
    .team-photo { order: 1; }
    .team-photo img { aspect-ratio: 1.52; }
    .site-cta .button-row { flex-shrink: 1; }
    .card-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .card-copy h3 { font-size: clamp(1.3rem, 3.65vw, 1.72rem); }
    .gallery-teaser { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
    .gallery-teaser img { height: clamp(5.9rem, 29vw, 12rem); }
    .page-lead-photo { gap: 1.55rem; }
    .page-lead-photo img { aspect-ratio: 1.85; max-height: 20rem; }
}

@media (max-width: 31rem) {
    .shell { width: min(calc(100% - 2rem), 76rem); }
    .site-top-inner > span { display: none; }
    .site-top-inner { justify-content: center; }
    .site-top-inner > div { gap: .75rem; }
    .site-top { font-size: .75rem; }
    .site-nav-row { min-height: 4.2rem; }
    .wordmark-symbol { width: 2.45rem; height: 2.45rem; }
    .wordmark-symbol::before { left: .67rem; }
    .nav-cta { display: none; }
    .nav-toggle { padding-inline: .5rem; }
    .home-hero .button { padding-inline: .9rem; font-size: .88rem; }
    .home-hero p { max-width: 29ch; }
    .home-hero h1 em { line-height: 1.05; }
    .trust-grid { display: flex; flex-wrap: wrap; padding-block: .65rem; }
    .trust-grid li, .trust-grid li:first-child { padding: .46rem .1rem; flex: 1 1 100%; border: 0; display: flex; gap: .15rem .6rem; align-items: baseline; justify-content: space-between; }
    .trust-grid li + li { border-top: 1px solid var(--line); }
    .trust-grid span { text-align: end; }
    .card-grid { grid-template-columns: minmax(0, 1fr); }
    .card-copy h3 { font-size: 1.62rem; }
    .card-image { aspect-ratio: 1.75; }
    .inquiry-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { gap: 1.6rem .8rem; }
    .footer-brand { grid-column: 1/-1; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
