@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Manrope:wght@400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@3.34.1/dist/tabler-icons.min.css');

:root {
  --paper: #f5f1ec;
  --paper-deep: #eee6de;
  --ink: #1f1b18;
  --hero-ink: #fff;
  --muted: #665d56;
  --line: #d8cec5;
  --accent: #8c705c;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', sans-serif;
  --text-body: 14px;
  --leading-body: 1.7;
  --text-heading: clamp(37px, 4vw, 55px);
  --text-hero: calc(var(--text-heading) * 1.2);
  --leading-heading: 1;
  --text-subheading: 27px;
  --leading-subheading: 1.1;
  --text-label: 10px;
  --text-field: var(--text-body);
  --wrap: min(92vw, 1180px);
  --sticky-header-height: 165.8px;
  --offer-filter-height: 60px;
  --offer-preview-height: 560px;
  --space-small: 8px;
  --space-copy: 16px;
  --space-title: 20px;
  --space-group: 32px;
  --space-compact: 48px;
  --space-section: clamp(64px, 8vw, 112px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 var(--text-body)/var(--leading-body) var(--sans); }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
main [id] { scroll-margin-top: var(--sticky-header-height); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.mobile-nav-cta { display: none; }
.form-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.tabler-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 1em; height: 1em; line-height: 1; }
.tabler-icon > .ti { display: block; font-size: 1em; line-height: 1; }

.site-header { position: absolute; z-index: 30; top: 0; left: 0; width: 100%; padding: 24px 0; transition: .3s ease; }
.site-header.is-stuck { position: fixed; padding: 10px 0; background: var(--paper); box-shadow: 0 4px 24px rgba(31,27,24,.06); backdrop-filter: blur(12px); }
.header-inner { width: var(--wrap); margin: auto; display: grid; grid-template-columns: 220px 1fr 220px; align-items: center; }
.brand { width: 195.696px; height: 162px; display: block; }
.brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.site-header.is-stuck .brand { width: 176.1264px; height: 145.8px; }
.nav-list { display: flex; align-items: center; justify-content: center; gap: clamp(21px, 3.3vw, 54px); list-style: none; padding: 0; margin: 0; }
.nav-list a, .nav-list button { border: 0; background: transparent; position: relative; padding: 12px 0; font: 700 var(--text-label)/1 var(--sans); letter-spacing: .19em; text-transform: uppercase; cursor: pointer; }
.nav-list a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-list a:hover::after, .nav-list a:is([aria-current='page'], [aria-current='location'])::after { transform: scaleX(1); }
.header-cta { justify-self: end; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 43px; padding: 0 20px; border: 1px solid var(--ink); background: transparent; font: 700 var(--text-label)/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.button--light { border-color: var(--paper); }
.site-header .button { border-color: var(--ink); box-shadow: none; transition: background-color .25s ease, color .25s ease; }
.site-header .button:hover { border-color: var(--ink); box-shadow: none; transform: none; }
.arrow { width: 22px; height: 22px; font-size: 22px; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 43px; height: 43px; margin-left: auto; border: 1px solid var(--ink); background: transparent; cursor: pointer; }
.menu-toggle .ti { font-size: 23px; }

/* Match the hero only while the navigation overlays its image. */
body:has(main > .hero) .site-header:not(.is-stuck):not(.is-menu-open) { color: var(--hero-ink); }
body:has(main > .hero) .site-header:not(.is-stuck):not(.is-menu-open) .brand img { filter: brightness(0) invert(1); mix-blend-mode: normal; }
body:has(main > .hero) .site-header:not(.is-stuck):not(.is-menu-open) :is(.button, .menu-toggle) { border-color: currentColor; }
body:has(main > .hero) .site-header:not(.is-stuck):not(.is-menu-open) .menu-toggle { background: transparent; }

.hero { position: relative; min-height: 590px; height: min(71vw, 740px); color: var(--hero-ink); overflow: hidden; background: #28221e; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,13,12,.56) 0%, rgba(14,13,12,.22) 45%, rgba(14,13,12,.03) 80%), linear-gradient(0deg, rgba(14,13,12,.36), transparent 45%); z-index: 1; }
.hero::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.1); z-index: 1; pointer-events: none; }
.hero--home { height: min(100vh, 875px); min-height: 680px; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 53% center; }
.hero-content { position: relative; z-index: 2; width: var(--wrap); margin: auto; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 95px; }
.eyebrow { display: flex; align-items: center; gap: 16px; margin: 0 0 var(--space-title); font: 700 var(--text-label)/1 var(--sans); letter-spacing: .19em; text-transform: uppercase; }
.eyebrow::after { content: ''; width: 37px; height: 1px; background: currentColor; opacity: .55; }
.hero .eyebrow::after { display: none; }
.hero-title { max-width: 500px; margin: 0; font: 400 var(--text-hero)/var(--leading-heading) var(--serif); letter-spacing: -.025em; }
.hero-title em { font-weight: 400; }
.hero--inner { height: min(100vh, 740px); min-height: min(590px, 100vh); }
.hero--inner .hero-title { font-size: var(--text-hero); }
.hero-rule { width: 39px; height: 1px; background: currentColor; margin: var(--space-title) 0; }
.hero-copy { max-width: 380px; margin: 0; font: inherit; }
.hero-links { display: flex; justify-content: space-between; width: 100%; margin-top: 54px; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 25px; display: inline-flex; flex-direction: column; align-items: center; gap: 5px; color: #fff; font: 700 var(--text-label)/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,.32); animation: scrollCuePulse 2.4s ease-in-out infinite; }
.hero--inner .scroll-cue { bottom: 32px; }
.scroll-cue .tabler-icon { width: 18px; height: 18px; font-size: 18px; }
.scroll-cue:hover { animation-play-state: paused; opacity: 1; }
.scroll-cue:focus-visible { outline: 1px solid currentColor; outline-offset: 7px; }
@keyframes scrollCuePulse { 0%, 100% { opacity: .62; transform: translate(-50%, 0); } 50% { opacity: 1; transform: translate(-50%, 4px); } }
.text-link { display: inline-flex; align-items: center; gap: 25px; font: 700 var(--text-label)/1 var(--sans); letter-spacing: .17em; text-transform: uppercase; }
.text-link .arrow { transition: transform .2s ease; }
.text-link:hover .arrow { transform: translateX(5px); }

.section { padding: var(--space-section) 0; background: #faf7f3; }
.wrap { width: var(--wrap); margin: auto; }
.section-heading { text-align: center; margin-bottom: var(--space-title); }
.section-heading .eyebrow { justify-content: center; }
.section-heading h2 { margin-bottom: 0; }
h1, h2, h3, h4, p { margin-top: 0; }
h2 { margin-bottom: var(--space-title); font: 400 var(--text-heading)/var(--leading-heading) var(--serif); letter-spacing: -.025em; }
h3 { margin-bottom: var(--space-title); font: 400 var(--text-subheading)/var(--leading-subheading) var(--serif); }
p { margin-bottom: var(--space-copy); }
.lead { max-width: 650px; margin: 0 auto; text-align: center; color: var(--muted); }

.about { padding: 0; display: grid; grid-template-columns: 1fr 1fr; min-height: 440px; background: #f7f2ed; }
.about-copy { display: flex; align-items: center; padding: clamp(42px, 4.8vw, 64px) max(4vw, calc((100vw - 1180px)/2)); padding-right: clamp(45px, 7vw, 105px); }
.about-copy-inner { max-width: 475px; margin-left: auto; }
.about h2 { margin-bottom: var(--space-title); }
.about p { color: #443e39; }
.about p:not(.eyebrow) { margin-bottom: var(--space-copy); }
.about-copy-inner > p:last-of-type { margin-bottom: 0; }
.about-media { position: relative; min-height: 440px; background: #30261f; overflow: hidden; }
.about-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 30%; }
.about .text-link { display: flex; width: fit-content; margin-top: var(--space-title); }

@media (min-width: 901px) {
  .about-media img { object-position: center; }
}

.experience { padding: var(--space-compact) 0; text-align: center; background: #f1ebe5; }
.experience-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 0; }
.experience-card { text-align: center; min-height: 172px; padding: 0 20px; border-left: 1px solid var(--line); }
.experience-card:first-child { border-left: 0; padding-left: 0; }
.experience-card:last-child { padding-right: 0; }
.experience-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto var(--space-title); color: var(--ink); font-size: 39px; }
.experience-card h3 { margin: 0 0 var(--space-title); font: 700 var(--text-label)/1.35 var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.experience-card .arrow { display: flex; margin-inline: auto; }

.quote-banner { position: relative; display: grid; place-items: center; min-height: 205px; padding: 32px 24px; color: white; text-align: center; overflow: hidden; }
.quote-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(19,18,16,.47), rgba(19,18,16,.47)), url('assets/images/hero.png') center 60% / cover; }
.quote-banner > * { position: relative; }
.quote-banner p { max-width: 900px; margin: 0; font: 400 var(--text-heading)/var(--leading-heading) var(--serif); letter-spacing: -.025em; }
.quote-banner p::after { content: ''; display: block; width: 38px; height: 1px; margin: 25px auto 0; background: currentColor; }

@media (min-width: 901px) {
  .quote-banner::before {
    background: linear-gradient(rgba(19,18,16,.52), rgba(19,18,16,.52)), url('assets/images/gallery/jurajskie-ostance.webp') center 44% / cover;
  }
}

.cta-section { padding: var(--space-compact) 0; text-align: center; background: #faf7f3; }
.cta-section .wrap { display: flex; flex-direction: column; align-items: center; gap: var(--space-title); }
.cta-section h2 { margin: 0; }
.cta-section .eyebrow { justify-content: center; margin: 0; }

.site-footer { padding: var(--space-compact) 0 24px; background: #f6f0ea; }
.footer-grid { width: var(--wrap); margin: auto; padding-top: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-group); }
.socials { display: flex; align-items: center; gap: 11px; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 27px; color: #2c2723; transition: color .2s ease, transform .2s ease; }
.socials .tabler-icon { width: 20px; height: 20px; font-size: 20px; }
.socials a:last-child .tabler-icon { width: 19px; height: 19px; font-size: 19px; }
.socials a:hover { color: var(--accent); transform: translateY(-2px); }
.socials a:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.footer-title { margin: 0 0 var(--space-title); font: 700 var(--text-label)/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.footer-nav a { display: block; width: max-content; margin: 2px 0; font: inherit; }
.footer-nav a:first-child { margin-top: 0; }
.footer-contact p:not(.footer-title) { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; font: inherit; }
.footer-contact .tabler-icon, .contact-mark.tabler-icon { width: 18px; height: 18px; color: var(--ink); font-size: 18px; }
.footer-map { display: block; width: 173px; height: 120px; margin: var(--space-copy) 0 0; overflow: hidden; background: #eee6de; border: 1px solid rgba(216,206,197,.74); transition: border-color .2s ease, opacity .2s ease; }
.footer-map:hover, .footer-map:focus-visible { border-color: var(--ink); opacity: .9; }
.footer-map iframe { width: 269px; height: 194px; margin: -38px 0 0 -48px; border: 0; filter: grayscale(1) sepia(.26) saturate(.48) contrast(.84) brightness(1.08); opacity: .78; pointer-events: none; }
.copyright { width: var(--wrap); margin: var(--space-group) auto 0; font: inherit; font-size: .8em; }

.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.service-card { display: flex; flex-direction: column; min-height: 544px; border: 1px solid var(--line); border-left: 0; text-align: center; background: rgba(255,255,255,.12); }
.service-card:first-child { border-left: 1px solid var(--line); }
.service-image { height: 176px; overflow: hidden; }
.service-image img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-image img { transform: scale(1.05); }
.service-body { display: flex; flex: 1; flex-direction: column; align-items: center; padding: 25px 17px 22px; }
.service-icon { font: 30px/1 var(--serif); min-height: 38px; color: var(--accent); }
.service-card h3 { margin: 12px 0 22px; }
.service-card h3::after { content: ''; display: block; width: 33px; height: 1px; margin: 14px auto 0; background: var(--accent); opacity: .55; }
.service-card p { font: inherit; color: #443e39; }
.service-card .text-link { margin-top: auto; }

.offer-intro { padding-bottom: var(--space-section); }
.offer-intro .section-heading { margin-bottom: var(--space-title); }
.offer-page { display: flex; flex-direction: column; }
.offer-intro, .offer-detail { font: inherit; }
.offer-page > .hero { order: 1; }
.offer-page > .offer-intro { order: 2; }
.offer-page > .offer-jump { order: 3; }
.offer-page > #jazda { order: 4; }
.offer-page > #obozy { order: 5; }
.offer-page > #dla-doroslych { order: 6; }
.offer-page > #majowka { order: 7; }
.offer-page > #wydarzenia { order: 8; }
.offer-page > #weekend { order: 9; }
.offer-page > #noclegi { order: 10; }
.offer-page > #rajdy { order: 11; }
.offer-page > #pensjonat { order: 12; }
.offer-page > #sesje { order: 13; }
.offer-page > .offer-quote { order: 14; }
.offer-jump { position: sticky; top: var(--sticky-header-height); z-index: 24; display: flex; gap: 0; justify-content: flex-start; flex-wrap: wrap; margin: 0; padding: 15px max(4vw, calc((100vw - 1180px) / 2)); background: rgba(250,247,243,.97); box-shadow: 0 9px 18px rgba(31,27,24,.06); backdrop-filter: blur(12px); }
.offer-jump a { padding: 10px 20px; border: 1px solid transparent; border-right-color: var(--line); background: transparent; font: 700 var(--text-label)/1 var(--sans); letter-spacing: .17em; text-transform: uppercase; }
.offer-jump a:last-child { border-right-color: transparent; }
.offer-jump a:hover, .offer-jump a.is-active { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 11px; }
.offer-detail { position: relative; padding: calc(var(--space-section) * .85) 0; scroll-margin-top: calc(var(--sticky-header-height) + var(--offer-filter-height)); background: #faf7f3; }
.offer-detail[id] { scroll-margin-top: calc(var(--sticky-header-height) + var(--offer-filter-height)); }
.offer-page > .offer-detail:nth-child(even of .offer-detail) { background: #f0e9e2; }
.offer-more[hidden] { display: none; }
.offer-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-width: 90px; min-height: 48px; margin: 32px auto 0; padding: 4px 12px; border: 0; background: transparent; color: inherit; font: 700 var(--text-label)/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.offer-toggle .ti { font-size: 18px; }
.offer-toggle:hover { opacity: .7; }
.offer-content { display: flow-root; width: 100%; max-width: 900px; }
.offer-content > :has(+ .offer-more[hidden]) { margin-bottom: 0; }
.offer-source { min-width: 0; overflow-wrap: break-word; }
.offer-source h4 { margin: var(--space-group) 0 var(--space-title); font: 400 var(--text-body)/var(--leading-body) var(--sans); }
.offer-source .offer-source-list { padding-left: 1.25em; list-style: disc; }
.offer-source ol.offer-source-list { list-style: decimal; }
.offer-table-wrap { width: 100%; overflow-x: auto; margin: var(--space-title) 0 var(--space-copy); }
.offer-table-wrap .price-table { width: 100%; min-width: 0; margin: 0; table-layout: fixed; overflow-wrap: anywhere; }
.offer-dates :is(th, td):first-child { width: 20%; }
.offer-dates :is(th, td):nth-child(2) { width: 40%; }
.offer-detail h2 { margin-bottom: var(--space-title); }
.offer-detail h3 { margin: var(--space-group) 0 var(--space-title); }
.offer-detail h2 + h3 { margin-top: 0; }
.offer-detail p { max-width: 705px; color: #443e39; }
.offer-content p { max-width: none; }
.offer-content :is(h2, h3, h4) { margin-bottom: var(--space-title); }
.offer-content :is(h2, h3, h4) + * { margin-top: 0; }
.offer-content .button { margin-top: var(--space-title); }
.offer-detail .eyebrow { margin-bottom: var(--space-title); }
.offer-detail b, .offer-detail strong { font-weight: 400; }
.offer-list { margin: var(--space-title) 0 0; padding: 0; list-style: none; }
.offer-list li { margin: 0 0 var(--space-copy); color: #443e39; font: inherit; }
.offer-list li:last-child { margin-bottom: 0; }
.offer-price { display: flex; align-items: baseline; gap: 8px; margin: 15px 0; font: inherit; }
.offer-price small { font: inherit; color: var(--muted); }
.price-table { width: 100%; margin: var(--space-title) 0 0; border-collapse: collapse; font: inherit; }
.price-table th, .price-table td { padding: 12px 8px; border-bottom: 1px solid rgba(216,206,197,.8); text-align: left; }
.price-table th:first-child, .price-table td:first-child { padding-left: 0; }
.price-table th:last-child, .price-table td:last-child { padding-right: 0; }
.price-table th { font: inherit; }
.price-table td:last-child, .price-table th:last-child { text-align: right; }
.offer-schedule { margin: var(--space-title) 0 0; display: grid; gap: var(--space-small); }
.offer-schedule li { display: grid; grid-template-columns: 76px 1fr; gap: 13px; padding-bottom: 9px; border-bottom: 1px solid rgba(216,206,197,.6); list-style: none; font: inherit; }
.offer-schedule strong { font: inherit; }
.booking-note { margin-top: var(--space-title); font: inherit; }
.offer-detail .booking-note { color: var(--muted); }
.offer-quote { min-height: 205px; }
.offer-complete { background: #eee6de; }
.offer-complete .section-heading { margin-bottom: 30px; }
.offer-complete-copy { max-width: 760px; margin: 0 auto 34px; text-align: center; color: #443e39; }
.offer-document { width: 100%; height: min(74vh, 780px); border: 1px solid rgba(216,206,197,.8); background: #fff; }
.offer-document-fallback { margin: 20px 0 0; text-align: center; font: inherit; }
.offer-document-fallback a { text-decoration: underline; text-underline-offset: 4px; }

.gallery-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; margin: 0 0 var(--space-group); }
.gallery-filter button { padding: 10px 20px; border: 1px solid transparent; border-right-color: var(--line); background: transparent; font: 700 var(--text-label)/1 var(--sans); letter-spacing: .17em; text-transform: uppercase; cursor: pointer; }
.gallery-filter button:last-child { border-right-color: transparent; }
.gallery-filter button.is-active { text-decoration: underline; text-underline-offset: 11px; }
.masonry { columns: 3 250px; column-gap: 8px; }
.gallery-item { position: relative; display: block; break-inside: avoid; width: 100%; margin: 0 0 8px; overflow: hidden; background: #302a25; cursor: zoom-in; }
.gallery-item img { height: auto; min-height: 0; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.045); }
.gallery-item[hidden] { display: none; }
.lightbox { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 35px; background: rgba(12,10,9,.92); opacity: 0; visibility: hidden; transition: opacity .22s ease; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { width: auto; max-width: min(94vw, 1250px); max-height: 85vh; object-fit: contain; }
.lightbox button { position: absolute; top: 18px; right: 25px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid transparent; background: transparent; color: white; cursor: pointer; }
.lightbox button .ti { font-size: 32px; }

.contact-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(45px, 10vw, 150px); align-items: start; }
.contact-layout h2 { margin-bottom: var(--space-title); }
.contact-intro { max-width: 430px; color: var(--muted); }
.contact-list { margin-top: var(--space-title); display: grid; gap: var(--space-copy); }
.contact-list a, .contact-list p { display: flex; gap: 15px; align-items: flex-start; margin: 0; font: inherit; }
.contact-mark { width: 20px; height: 20px; flex: none; font-size: 20px; }
.contact-form { padding-top: 18px; }
.form-field { display: block; min-width: 0; }
.form-field input[name='phone'] { margin-top: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea { display: block; width: 100%; border: 1px solid var(--line); border-radius: 0; padding: 15px 16px; color: var(--ink); background: transparent; font-size: var(--text-field); outline: none; }
.contact-form select { width: 100%; min-height: 46px; margin-top: 16px; border: 1px solid var(--line); border-radius: 0; padding: 0 16px; color: var(--ink); background: transparent; font-size: var(--text-field); outline: none; }
.select-wrap { display: block; position: relative; margin-top: 16px; }
.contact-form .select-wrap select { margin-top: 0; padding-right: 54px; appearance: none; -webkit-appearance: none; }
.select-wrap .tabler-icon { position: absolute; top: 50%; right: 20px; width: 18px; height: 18px; font-size: 18px; transform: translateY(-50%); pointer-events: none; }
.contact-form input { min-height: 46px; }
.contact-form textarea { min-height: 138px; resize: vertical; margin-top: 16px; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(140,112,92,.12); }
.contact-form .button { margin-top: var(--space-copy); }
.form-status { min-height: 21px; margin: var(--space-copy) 0 0; font: inherit; color: var(--accent); }
.map-frame { height: 390px; overflow: hidden; background: #dbe4d0; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: saturate(.72) sepia(.12); }

.regulations { padding-top: var(--space-section); }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; }
.reg-column + .reg-column { padding-left: 58px; border-left: 1px solid var(--line); }
.reg-column .eyebrow { margin-bottom: var(--space-title); }
.reg-item { position: relative; padding-left: 56px; margin-bottom: var(--space-group); }
.reg-num { position: absolute; top: -5px; left: 0; font: 400 22px/1 var(--serif); }
.reg-item h3 { margin: 0 0 var(--space-title); }
.reg-item ul { margin: 0; padding-left: 0; list-style: none; font: inherit; }
.reg-item li { margin-bottom: 4px; }
.reg-item li::before { content: '–'; margin-right: 7px; }

.thanks { min-height: 100vh; display: grid; place-items: center; text-align: center; background: linear-gradient(rgba(17,14,12,.55),rgba(17,14,12,.55)), url('assets/images/hero.png') center / cover; color: white; }
.thanks-card { width: min(90vw, 600px); padding: 60px 30px; }
.thanks h1 { margin: 0 0 var(--space-title); font: 400 var(--text-heading)/var(--leading-heading) var(--serif); letter-spacing: -.025em; }
.thanks p { margin-bottom: var(--space-title); }
.thanks .eyebrow { justify-content: center; }
.thanks-card .button { display: flex; width: fit-content; margin-inline: auto; }

.page-error [data-site-header] { height: 210px; }
.page-error .site-header:not(.is-stuck):not(.is-menu-open) { position: relative; background: var(--paper); }
.error-page { display: grid; place-items: center; min-height: calc(100svh - 210px); padding: var(--space-section) 0; background: #faf7f3; text-align: center; }
.error-content { max-width: 780px; }
.error-content .eyebrow { justify-content: center; }
.error-content h1 { margin: 0 0 var(--space-title); font: 400 var(--text-heading)/var(--leading-heading) var(--serif); letter-spacing: -.025em; }
.error-code { margin: 0 0 var(--space-title); color: var(--accent); font: 400 clamp(80px, 10vw, 140px)/.8 var(--serif); letter-spacing: -.05em; }
.error-copy { max-width: 470px; margin: 0 auto var(--space-group); color: var(--muted); }
.error-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-copy); }

@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .brand { width: 124px; height: 98px; }
  .header-cta, .nav-list { display: none; }
  .menu-toggle { display: block !important; position: absolute; top: 17px; right: 4vw; z-index: 60; width: 48px; height: 48px; background: transparent; box-shadow: 0 4px 16px rgba(20,16,13,.11); }
  .site-header.is-stuck .menu-toggle { background: transparent; }
  .site-header.is-menu-open { position: fixed; background: var(--paper); }
  .site-header.is-menu-open .nav-list { position: absolute; top: 100%; left: 0; width: 100%; min-height: calc(100vh - 90px); display: flex; flex-direction: column; justify-content: center; gap: 18px; background: var(--paper); }
  .site-header.is-menu-open .header-cta { display: inline-flex; position: absolute; top: calc(100% + 70vh); left: 50%; transform: translateX(-50%); }
  .hero, .hero--home, .hero--inner { min-height: 620px; height: 88vh; }
  .hero-content { padding-top: 80px; }
  .hero-title { max-width: 370px; }
  .about { grid-template-columns: 1fr; }
  .about-copy { padding: 52px 8vw; }
  .about-copy-inner { margin: 0; }
  .about-media { min-height: 390px; }
  .experience-list { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .experience-card:nth-child(4) { border-left: 0; padding-left: 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3) { border-left: 1px solid var(--line); }
  .service-card:last-child { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { gap: 55px; }
}

@media (max-width: 600px) {
  :root { --offer-filter-height: 50px; }
  .site-header { padding: 13px 0; }
  .hero, .hero--home, .hero--inner { min-height: 570px; height: 92vh; }
  .hero-media { object-position: 58% center; }
  .hero-content { padding-top: 60px; }
  .hero-title { font-size: var(--text-hero); }
  .hero-links { margin-top: 38px; gap: 25px; flex-direction: column; align-items: flex-start; }
  .scroll-cue, .hero--inner .scroll-cue { bottom: 20px; }
  .section { padding: 75px 0; }
  .experience { padding: 48px 0; }
  .lead { margin-top: 0; }
  .about-media { min-height: 340px; }
  .experience-list { grid-template-columns: 1fr 1fr; gap: 0; margin-top: 35px; }
  .experience-card, .experience-card:nth-child(4) { min-height: 145px; padding: 0 18px 24px; margin-bottom: 25px; }
  .experience-card:nth-child(odd) { border-left: 0; padding-left: 0; }
  .experience-card:last-child { grid-column: auto; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(3), .service-card:last-child { grid-column: auto; min-height: 0; border-left: 1px solid var(--line); }
  .service-image { height: 210px; }
  .service-card p { max-width: 300px; }
  .gallery-filter { gap: 5px 0; }
  .gallery-filter button { padding: 9px 10px; }
  .masonry { columns: 2 145px; column-gap: 5px; }
  .gallery-item { margin-bottom: 5px; }
  .contact-layout, .reg-grid { grid-template-columns: 1fr; }
  .contact-layout { gap: 35px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .contact-form textarea { margin-top: 16px; }
  .offer-jump { top: var(--sticky-header-height); justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: 12px 4vw; }
  .offer-jump a { flex: 0 0 auto; padding: 9px 10px; }
  .map-frame { height: 310px; }
  .reg-column + .reg-column { padding: 42px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .reg-item { padding-left: 45px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-location { display: none; }
  .copyright { margin-top: var(--space-group); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue { animation: none; transform: translateX(-50%); opacity: .82; }
}

/* Mobile: comfortable touch targets and a consistent, content-first rhythm. */
@media (max-width: 900px) {
  :root { --sticky-header-height: 141.4528px; --text-field: 16px; }
  .page-error [data-site-header] { height: 155.392px; }
  .error-page { min-height: calc(100svh - 155.392px); }
  .site-header, .site-header.is-stuck { padding: 8px 0; }
  .site-header.is-menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; transition: none; }
  .site-header .brand { width: 202.752px; height: 139.392px; }
  .site-header.is-stuck .brand { width: 182.4768px; height: 125.4528px; }
  .site-header.is-menu-open:not(.is-stuck) { --sticky-header-height: 155.392px; }
  .header-inner { display: flex; justify-content: space-between; }
  .menu-toggle { display: inline-flex !important; position: static; margin: 0; box-shadow: none; }
  .site-header nav { display: none; }
  .site-header.is-menu-open nav { display: block; position: fixed; inset: var(--sticky-header-height) 0 0; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); padding: 24px max(6vw, 24px) calc(24px + env(safe-area-inset-bottom)); }
  .site-header.is-menu-open .nav-list { position: static; width: 100%; min-height: 0; align-items: stretch; justify-content: flex-start; gap: 8px; }
  .site-header.is-menu-open .nav-list a { display: flex; align-items: center; min-height: 52px; padding: 14px 8px; font-size: var(--text-body); }
  .site-header.is-menu-open .header-cta { display: none; }
  .mobile-nav-cta { display: block; margin-top: 18px; }
  .site-header.is-menu-open .mobile-nav-cta .button { justify-content: center; border: 1px solid var(--ink); padding: 16px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .offer-jump { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; padding: 8px 4vw; }
  .offer-jump a { display: flex; align-items: center; flex: 0 0 auto; min-height: 44px; }
  .contact-form { padding-top: 0; }
  .contact-form input, .contact-form select, .contact-form textarea { font-size: var(--text-field); }
}

@media (min-width: 601px) and (max-width: 900px) {
  .about { grid-template-columns: 1fr 1fr; }
  .about-copy { padding: 40px 24px; }
  .about-media { min-height: 0; }
}

@media (max-width: 600px) {
  :root { --wrap: calc(100% - 48px); --offer-filter-height: 60px; --space-section: 48px; --text-body: 15px; --leading-body: 1.75; --text-heading: clamp(34px, 9vw, 43px); --leading-heading: 1.08; --leading-subheading: 1.2; }
  .eyebrow { line-height: 1.5; letter-spacing: .15em; gap: 12px; }
  .eyebrow::after { flex: 0 0 30px; }
  .button { min-height: 50px; padding: 14px 18px; line-height: 1.5; gap: 18px; }
  .text-link { min-height: 44px; line-height: 1.5; }
  /* Match Home's image proportions on every mobile hero. */
  .hero, .hero--home, .hero--inner { height: 100svh; min-height: 660px; max-height: 850px; }
  .hero::before { background: linear-gradient(90deg, rgba(14,13,12,.68), rgba(14,13,12,.3) 65%, rgba(14,13,12,.12)), linear-gradient(0deg, rgba(14,13,12,.5), transparent 55%); }
  .hero-media { object-position: 65% center; }
  .hero-content { padding: 144px 0 100px; }
  .hero-title, .hero--inner .hero-title { font-size: var(--text-hero); line-height: var(--leading-heading); }
  .hero .eyebrow { max-width: 290px; font-size: var(--text-label); }
  .hero-rule { margin: var(--space-title) 0; }
  .hero-links { flex-direction: row; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; justify-content: flex-start; }
  .hero-links .text-link { gap: 12px; }
  .scroll-cue, .hero--inner .scroll-cue { bottom: max(20px, env(safe-area-inset-bottom)); min-height: 44px; justify-content: center; }
  .section { padding: var(--space-section) 0; }
  .section-heading { margin-bottom: var(--space-title); }
  .section-heading h2 { margin-bottom: 0; }
  .lead { margin-top: 0; }
  .about { min-height: 0; }
  .about-copy { padding: 48px 24px; }
  .about-copy-inner { max-width: none; }
  .about h2 { margin-bottom: var(--space-title); }
  .about-media { min-height: 0; aspect-ratio: 3 / 4; }
  .about-media img { height: 100%; }
  .about .text-link { margin-top: var(--space-title); }
  .experience, .cta-section { padding: var(--space-compact) 0; }
  .experience-list { gap: var(--space-title) 0; margin-top: 0; }
  .experience-card, .experience-card:nth-child(4), .experience-card:first-child, .experience-card:last-child { padding: 16px 8px; margin: 0; min-height: 154px; border: 0; }
  .experience-icon { margin-bottom: var(--space-title); font-size: 38px; }
  .experience-card h3 { margin-bottom: var(--space-title); }
  .quote-banner, .offer-quote { min-height: 180px; padding: 32px 24px; }
  .offer-jump a, .gallery-filter button { letter-spacing: .13em; padding: 12px 16px; min-height: 44px; white-space: nowrap; }
  .offer-jump { scroll-padding-inline: 24px; scrollbar-width: none; }
  .offer-jump::-webkit-scrollbar, .gallery-filter::-webkit-scrollbar { display: none; }
  .offer-jump a:hover, .offer-jump a.is-active, .gallery-filter button.is-active { text-underline-offset: 9px; }
  .price-table th, .price-table td { padding: 13px 4px; }
  .offer-table-wrap .price-table { font-size: 14px; }
  .price-table td:last-child { padding-right: 0; }
  .offer-schedule { padding: 0; }
  .offer-schedule li { grid-template-columns: 68px minmax(0, 1fr); gap: 12px; }
  .gallery-filter { display: flex; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 0 var(--space-group); padding: 0; gap: 0; scrollbar-width: none; }
  .gallery-filter button { flex: 0 0 auto; min-height: 44px; padding: 12px 16px; }
  .masonry { columns: 2; column-gap: 8px; }
  .gallery-item { margin: 0 0 8px; }
  .gallery-item img { height: auto; min-height: 0; }
  .lightbox { padding: 64px 12px 24px; }
  .lightbox img { max-width: 100%; max-height: calc(100svh - 100px); }
  .lightbox button { top: 12px; right: 12px; width: 48px; height: 48px; }
  .contact-intro { margin-bottom: 0; }
  .contact-list { gap: 16px; }
  .contact-list a, .contact-list p { min-height: 44px; align-items: flex-start; }
  .contact-mark.tabler-icon { width: 22px; height: 22px; font-size: 22px; margin-top: 2px; }
  .form-label { position: static; display: block; width: auto; height: auto; padding: 0; margin: 0 0 var(--space-small); overflow: visible; clip: auto; white-space: normal; font: inherit; }
  .form-field { display: block; min-width: 0; margin-bottom: var(--space-copy); }
  .form-row { gap: 0; }
  .contact-form input, .contact-form select, .contact-form textarea { font-size: var(--text-field); padding: 14px; min-height: 52px; }
  .contact-form textarea { min-height: 160px; }
  .contact-form .form-field .select-wrap, .contact-form .form-field textarea, .contact-form .form-field input { margin-top: 0; }
  .contact-form .button { width: 100%; margin-top: 0; }
  .map-frame { height: 280px; }
  .reg-grid { gap: var(--space-group); }
  .reg-column + .reg-column { padding: 0; border: 0; }
  .reg-item { padding-left: 34px; margin-bottom: var(--space-group); }
  .reg-num { top: 0; font-size: 22px; line-height: 1.1; }
  .reg-item li { margin-bottom: 9px; }
  .site-footer { padding: var(--space-compact) 0 24px; }
  .footer-grid { padding: 0; gap: var(--space-group); }
  .footer-title { margin-bottom: var(--space-title); }
  .footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .footer-nav a { display: flex; align-items: flex-start; min-height: 44px; margin: 0; }
  .footer-contact p:not(.footer-title) { margin-bottom: 16px; }
  .footer-contact .tabler-icon { width: 22px; height: 22px; font-size: 22px; margin-top: 3px; }
  .footer-contact a { overflow-wrap: anywhere; }
  .socials { gap: 8px; }
  .socials a { width: 44px; height: 44px; }
  .socials .tabler-icon, .socials a:last-child .tabler-icon { width: 23px; height: 23px; font-size: 23px; }
  .footer-location { display: none; }
  .footer-map { width: 100%; max-width: 327px; height: 180px; }
  .footer-map iframe { width: calc(100% + 96px); height: 254px; }
  .copyright { margin-top: var(--space-group); }
  .thanks { min-height: 100svh; }
  .thanks-card { padding: 40px 8px; }
  .thanks-card .eyebrow { justify-content: center; }
  .thanks .button { letter-spacing: .1em; }
  .error-actions { flex-direction: column; align-items: center; }
  .error-actions .button { width: 100%; max-width: 300px; }
}

@media (max-width: 360px) {
  :root { --wrap: calc(100% - 36px); }
  .about-copy { padding-inline: 18px; }
  .hero-links { gap: 4px 16px; }
}

/* Flat controls; the mobile menu toggle keeps its transparent background in every state. */
.button, .menu-toggle, .gallery-filter button, .offer-jump a, .lightbox button {
  box-shadow: none;
  transform: none;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.button:is(:hover, :focus-visible, :active),
.gallery-filter button:is(:hover, :focus-visible, :active),
.offer-jump a:is(:hover, :focus-visible, :active),
.lightbox button:is(:hover, :focus-visible, :active) {
  background-color: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: none;
  transform: none;
}

