/* CichoSza — shared design tokens, components and responsive layouts. */

/* 1. Foundation */
:root {
  --forest: #132e20;
  --deep: #102d1f;
  --cream: #edf0de;
  --ink: #233b29;
  --muted: #69755e;
  --lime: #d2e8a4;
  --line: #bac5a4;
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --body-size: 20px;
  --small-size: 15px;
  --content-max: 1500px;
  --content-gutter: max(0px, calc((100% - var(--content-max)) / 2));
  --gutter: max(0px, calc((100vw - var(--content-max)) / 2));
  --inset: clamp(42px, 4.6vw, 112px);
  --content-inset: calc(var(--content-gutter) + var(--inset));
  --section-gap: clamp(36px, 4vw, 96px);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--deep);
  font: var(--body-size) / 1.75 var(--sans);
  isolation: isolate;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}
p,
li,
address {
  font-size: var(--body-size);
  line-height: 1.8;
}
p,
li,
blockquote,
figcaption,
address {
  overflow-wrap: break-word;
}
h2 {
  margin: 20px 0 28px;
  font: 58px/1.16 var(--serif);
  letter-spacing: -1.6px;
}
em {
  font-weight: 400;
}
h2 em {
  color: #718953;
}
small {
  font-size: 16px;
  line-height: 1.65;
}
:focus-visible {
  outline: 3px solid #8bab5b;
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}

/* 2. Full-width backgrounds; centered content within 1500px. */
body > header,
main > section,
main > .ticker,
body > footer {
  width: 100%;
  margin-inline: auto;
}
main {
  width: 100%;
}
.panel {
  background: var(--cream);
}
.section,
.cabins,
.gallery-section,
.reviews,
.location,
.faq,
.legends {
  padding: 85px var(--content-inset);
}
.forest-wall {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: -1;
  width: var(--gutter);
  background: url("../assets/podlasie-wild.jpg") left center / auto 100vh;
  opacity: 0.78;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 12%, transparent);
  mask-image: linear-gradient(90deg, #000 12%, transparent);
}
.forest-right {
  left: auto;
  right: 0;
  transform: scaleX(-1);
}
.skip {
  position: fixed;
  top: -90px;
  left: 15px;
  z-index: 100;
  padding: 12px;
  background: var(--lime);
}
.skip:focus {
  top: 10px;
}
.eyebrow {
  font-size: var(--small-size);
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 1.2px;
}
.lead {
  font-size: 26px;
  line-height: 1.6;
}
.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 35px;
}
.section-top h2 {
  margin-bottom: 0;
}
.section-top > p {
  max-width: 34ch;
  margin-bottom: 6px;
  line-height: 1.7;
}
.section-top .eyebrow {
  color: #718658;
}
.intro-copy > p,
.cabin-info > p,
.rhythm-copy > p,
#rhythm-text,
.dog-break-copy > p,
.location-copy > p,
.faq-list details > p,
.legend-card > p {
  max-width: 60ch;
}

/* 3. Header and shared actions */
header {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 110px;
  padding-inline: var(--content-inset);
  color: var(--cream);
  background: #102a1eea;
  border-bottom: 1px solid #d0e3aa26;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  min-width: 0;
  font:
    38px/1.1 Georgia,
    serif;
  letter-spacing: 0.4px;
}
.brand svg {
  width: 38px;
  height: 45px;
  flex-shrink: 0;
  fill: none;
  stroke: #b6ce88;
  stroke-width: 1.3;
}
.brand small {
  display: block;
  margin-top: 8px;
  font: 15px/1.4 var(--sans);
  letter-spacing: 0.5px;
}
nav {
  display: flex;
  gap: 22px;
  font-size: 18px;
  line-height: 1.5;
}
nav a {
  padding-block: 12px;
  white-space: nowrap;
}
nav a:hover {
  color: var(--lime);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 60px;
  padding: 17px 22px;
  border: 1px solid var(--forest);
  color: var(--cream);
  background: var(--forest);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  text-align: left;
  transition: background 0.2s;
}
.button span {
  flex-shrink: 0;
  font-size: 22px;
}
.button:hover {
  background: #365333;
}
.lime {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}
.lime:hover {
  background: #e5f4c4;
}
.header-button {
  gap: 16px;
  min-height: 52px;
  padding: 13px 18px;
  background: transparent;
  border-color: #caddaa75;
  white-space: nowrap;
}
.text-link {
  display: inline-flex;
  gap: 22px;
  padding-block: 11px;
  border-bottom: 1px solid #8b9d74;
  font-size: 18px;
  line-height: 1.55;
}
.text-link:hover {
  color: #658442;
}
.plain {
  padding: 0;
  border: 0;
  background: none;
  font-size: 16px;
  line-height: 1.7;
  text-decoration: underline;
}

/* 4. Hero photograph and opening */
.hero {
  position: relative;
  min-height: 860px;
  height: 860px;
  overflow: hidden;
  color: var(--cream);
  background: var(--deep);
}
.hero-image {
  position: absolute;
  inset: -10px;
  background: url("../assets/fb-night.jpg") 68% center / cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #071d12eb, #071d12bd 25%, #071d123d 53%, #071d1206 82%),
    linear-gradient(0deg, var(--deep), #102d1f40 13%, transparent 34%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, var(--deep), transparent 2.2%, transparent 97.8%, var(--deep));
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, var(--content-max));
  margin-inline: auto;
  padding: 68px var(--inset) 175px;
}
.hero .eyebrow {
  color: #d5e6ba;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #c4e097;
  box-shadow: 0 0 15px #b4d77e;
}
.hero h1 {
  margin: 28px 0;
  font: clamp(76px, 7.8vw, 104px) / 1.03 var(--serif);
  letter-spacing: -3px;
}
.hero h1 em {
  color: #d4e7ae;
}
.hero-description {
  max-width: 520px;
  color: #e0e8d4;
  font-size: 20px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 28px;
}
.hero-gallery {
  display: flex;
  gap: 14px;
  padding-bottom: 5px;
  border-bottom: 1px solid #d6e4c57a;
  font-size: 18px;
  line-height: 1.55;
}
.hero-rating {
  position: absolute;
  right: var(--content-inset);
  bottom: 115px;
  z-index: 2;
  padding: 18px 22px;
  border: 1px solid #e1edce4d;
  background: #14312299;
  backdrop-filter: blur(10px);
}
.hero-rating strong {
  display: block;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
}
.hero-rating strong span {
  margin-left: 8px;
  color: #dae9ab;
  font-size: 17px;
  letter-spacing: 2px;
}
.hero-rating > span {
  display: block;
  margin-top: 4px;
  color: #d4e3c5;
  font-size: 15px;
  line-height: 1.6;
}
.hero-bottom {
  position: absolute;
  left: var(--content-inset);
  right: var(--content-inset);
  bottom: 35px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  color: #d3e4be;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 1.5px;
}
.hero-photo-label {
  position: absolute;
  top: 18px;
  right: calc(var(--content-gutter) + 20px);
  z-index: 2;
  max-width: 290px;
  padding: 5px 9px;
  color: #d7dfcb;
  background: #0d271c8c;
  font-size: 15px;
  line-height: 1.5;
  text-align: right;
}
.hero::after,
.wild-interlude::after,
.contact::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 60px;
  background: url("../assets/grass.svg") bottom / 100% 100%;
  pointer-events: none;
}
.hero::after {
  opacity: 0.65;
}
.ticker {
  display: flex;
  align-items: center;
  min-height: 64px;
  overflow: hidden;
  color: #d0e4ab;
  background: #193e28;
  border-block: 1px solid #a9c28e30;
}
.ticker-window {
  width: min(100%, var(--content-max));
  min-width: 0;
  margin-inline: auto;
  overflow: hidden;
}
.ticker-track {
  white-space: nowrap;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 1.7px;
}
.ticker span {
  margin-inline: 30px;
  color: #b7d486;
  font-size: 22px;
}

/* 5. Stay enquiry */
.booking {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  padding: 36px var(--content-inset) 28px;
  border-bottom: 1px solid var(--line);
}
.booking-heading .eyebrow {
  margin-bottom: 0;
  color: #6b8057;
}
.booking h2 {
  margin: 8px 0 4px;
  font: 42px/1.3 var(--serif);
  letter-spacing: -0.6px;
}
.booking form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 780px;
  gap: 0;
  min-width: 0;
  max-width: 1100px;
}
.booking label {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  padding-inline: 15px;
  border-left: 1px solid #bec9ad;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.7px;
}
.booking input,
.booking select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 2px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0;
}
.booking form .button {
  flex: 0 0 220px;
  gap: 14px;
  padding: 15px 19px;
}
.booking-note {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  text-align: right;
}
.booking-note a {
  text-decoration: underline;
  white-space: nowrap;
}

/* 6. Introduction and stationary squirrel */
.intro {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--section-gap);
  padding-block: 100px;
}
.intro .eyebrow {
  color: #6d8651;
}
.intro-copy {
  padding-top: 22px;
}
.intro-copy p:not(.lead, .handwritten) {
  color: var(--muted);
}
.handwritten {
  margin: 28px 0 18px;
  color: #6f8754;
  font: italic 31px/1.4 var(--serif);
}
.nature-stamp {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  width: 180px;
  height: 180px;
  margin-top: 30px;
  border: 1px solid #8ca071;
  border-radius: 50%;
  outline: 1px solid #a6b68c;
  outline-offset: -6px;
  color: #789058;
  font:
    40px Georgia,
    serif;
  transform: rotate(-12deg);
}
.nature-stamp > span:not(.stationary-animal),
.nature-stamp small {
  max-width: 135px;
  text-align: center;
  font: 15px/1.35 var(--sans);
  letter-spacing: 0.7px;
}
.nature-stamp .stamp-friend {
  position: absolute;
  top: 12px;
  left: calc(100% - 16px);
  width: 150px;
  height: 150px;
  transform: rotate(12deg);
}

/* Sprite crops share the original markup; source images remain local files. */
.stationary-animal {
  display: block;
  position: relative;
  isolation: isolate;
  pointer-events: none;
}
.stationary-crop {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.stationary-crop img {
  position: absolute;
  display: block;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
}
.stamp-friend .stationary-crop img,
.stationary-squirrel {
  left: 0;
  top: 0;
  width: 200%;
  height: 200%;
}
.ornament-bison .stationary-crop img,
.stationary-bison {
  left: 0;
  top: 0;
  width: 400%;
  height: 300%;
}
.ornament-roe .stationary-crop img,
.stationary-roe {
  left: -200%;
  top: 0;
  width: 400%;
  height: 300%;
}

/* 7. Woodland interlude */
.wild-interlude {
  position: relative;
  display: block;
  padding: 65px var(--content-inset) 70px;
  overflow: hidden;
  color: #e0edc9;
  background:
    linear-gradient(#0c291ecd, #123121df),
    url("../assets/podlasie-wild.jpg") center 65% / cover;
  text-align: center;
}
.interlude-copy {
  position: relative;
  z-index: 1;
  max-width: 60%;
  margin-inline: auto;
}
.wild-interlude h2 {
  margin: 12px 0;
  font-size: 48px;
  line-height: 1.25;
}
.wild-interlude h2 em {
  color: #c9dfa3;
}
.wild-interlude .eyebrow {
  color: #b1c88b;
  letter-spacing: 2px;
}
.wildlife-caption {
  margin: 15px 0 10px;
  color: #c1d1ac;
  font-size: 20px;
}
.wild-interlude::after {
  bottom: -4px;
  height: 50px;
  opacity: 0.8;
}
.woodland-ornament {
  position: absolute;
  bottom: 12px;
  z-index: 2;
  width: clamp(150px, 13vw, 240px);
  height: clamp(150px, 13vw, 240px);
}
.ornament-bison {
  left: calc(var(--content-gutter) + clamp(14px, 3vw, 70px));
}
.ornament-roe {
  right: calc(var(--content-gutter) + clamp(14px, 3vw, 70px));
  width: clamp(135px, 12vw, 225px);
  height: clamp(135px, 12vw, 225px);
}

/* 8. Podlasie legends */
.legends {
  padding-block: 75px 80px;
  border-block: 1px solid #bdc9a5;
  background: #e7ead6;
}
.legends .section-top {
  margin-bottom: 40px;
}
.legends .eyebrow {
  max-width: 510px;
  color: #627e44;
}
.legend-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.legend-card {
  position: relative;
  min-width: 0;
  padding: 25px 24px 30px;
  border: 1px solid #b9c7a2;
  background: #f3f3e5;
}
.legend-card:nth-child(2) {
  background: #d6e1c0;
}
.legend-card:nth-child(3) {
  border-color: #23422c;
  color: #e8efd8;
  background: #23422c;
}
.legend-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 28px;
}
.legend-number {
  color: #8ba46a;
  font: italic 43px/1 var(--serif);
}
.legend-step-top svg {
  width: 55px;
  height: 55px;
  fill: none;
  stroke: #778f55;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.legend-kicker {
  margin-bottom: 15px;
  color: #6c8252;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 1.5px;
}
.legend-card h3 {
  margin: 0 0 20px;
  font: 27px/1.3 var(--serif);
  letter-spacing: -0.6px;
}
.legend-card > p:not(.legend-kicker) {
  margin: 0;
  color: #68755a;
}
.legend-card:nth-child(3) .legend-number,
.legend-card:nth-child(3) .legend-kicker {
  color: #b2ce8e;
}
.legend-card:nth-child(3) > p:not(.legend-kicker) {
  color: #c2d0b2;
}
.legend-card:nth-child(3) svg {
  stroke: #b2ce8e;
}
.legend-reality {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #b9c6a4;
}
.legend-wink {
  flex-shrink: 0;
  color: #8c9d6c;
  font: italic 45px/1 var(--serif);
}
.legend-reality > div {
  flex: 1;
}
.legend-reality h3 {
  margin: 0 0 8px;
  font: 25px/1.4 var(--serif);
}
.legend-reality p {
  margin: 0;
  color: #6b795e;
}
.legend-reality .button {
  flex-shrink: 0;
  max-width: 250px;
}

/* 9. Cabins and interior photographs */
.cabins {
  border-top: 1px solid #c6d0b3;
  background: #e1e7d0;
}
.cabin-layout {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  align-items: stretch;
  gap: 35px;
}
.cabin-photo {
  position: relative;
  min-height: 385px;
  overflow: hidden;
}
.cabin-photo > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.image-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  max-width: calc(100% - 32px);
  padding: 8px 11px;
  color: #e1eacb;
  background: #193a28cc;
  backdrop-filter: blur(8px);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.8px;
}
.photo-link {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #d7e7b9aa;
  border-radius: 50%;
  color: var(--cream);
  background: #17332288;
  font-size: 23px;
}
.cabin-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 23px;
  border-bottom: 1px solid #b6c3a0;
}
.cabin-facts > div {
  flex: 1 1 90px;
}
.cabin-facts strong {
  display: block;
  margin-bottom: 8px;
  font: 50px/1.15 var(--serif);
  letter-spacing: -1px;
}
.cabin-facts span {
  display: block;
  max-width: 140px;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.3px;
}
.amenities {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px 18px;
  margin: 23px 0;
  padding: 0;
  list-style: none;
}
.amenities li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.amenities span {
  min-width: 23px;
  color: #788d58;
  font-size: 23px;
  line-height: 1.2;
}
.cabin-info > p {
  margin-bottom: 22px;
  color: var(--muted);
}
.cabin-info > .button {
  gap: 15px;
}
.interior-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.interior-strip figure {
  margin: 0;
  overflow: hidden;
}
.interior-strip img {
  width: 100%;
  height: clamp(260px, 20vw, 420px);
  object-fit: cover;
}
.interior-strip figcaption {
  padding-top: 15px;
  color: #637a48;
  font: italic 22px/1.4 var(--serif);
}

/* 10. A small break with the dog */
.dog-break {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  min-width: 0;
  padding-inline: var(--content-gutter);
  background: #dce4ca;
}
.dog-break figure {
  position: relative;
  min-height: clamp(570px, 36vw, 760px);
  margin: 0;
  overflow: hidden;
}
.dog-break figure img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
}
.dog-break figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 22px 17px;
  color: #e4eccc;
  background: linear-gradient(transparent, #0e2b1be0);
  font-size: 16px;
  line-height: 1.65;
}
.dog-break-copy {
  padding: 70px 45px;
}
.dog-break-copy h2 {
  font-size: 53px;
}
.dog-break-copy p:not(.eyebrow) {
  color: #65754f;
}
.dog-break-copy .eyebrow {
  color: #72844f;
}

/* 11. Filterable photo gallery */
.gallery-section {
  color: var(--cream);
  background: #173723;
}
.gallery-section .eyebrow {
  color: #b2ca8c;
}
.gallery-section h2 em {
  color: #c4db9f;
}
.gallery-section .section-top > p {
  color: #b6c6a7;
}
.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin: 35px 0 23px;
}
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gallery-filters button {
  min-height: 46px;
  padding: 12px 17px;
  border: 1px solid #75915c66;
  color: #c6d5b5;
  background: transparent;
  font-size: 17px;
  line-height: 1.5;
}
.gallery-filters button:hover {
  background: #ffffff0a;
}
.gallery-filters button[aria-pressed="true"] {
  border-color: var(--lime);
  color: var(--ink);
  background: var(--lime);
}
#gallery-result-count {
  color: #abc396;
  font-size: 16px;
  line-height: 1.5;
  white-space: nowrap;
}
#gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(250px, 17vw, 360px);
  gap: 12px;
}
.gallery-item {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #0a2518;
}
.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 45px 16px 16px;
  color: #edf4df;
  background: linear-gradient(transparent, #0b241bd9);
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}
.photo-caption span {
  flex-shrink: 0;
  font-size: 23px;
}
.source-note {
  max-width: 110ch;
  margin: 25px 0 0;
  color: #9fb68c;
  font-size: 14px;
  line-height: 1.8;
}
.source-note a {
  border-bottom: 1px solid #8fa87b88;
}
.gallery-expand-row {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.gallery-expand {
  min-width: 250px;
  border-color: #d2e4ad;
  color: #183e26;
  background: #d2e4ad;
}
.gallery-expand:hover {
  background: #e7f1d2;
}
.gallery-expand:focus-visible {
  outline-color: #e7f1d2;
}

/* 12. Interactive daily rhythm */
.rhythm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-inline: var(--content-gutter);
  overflow: hidden;
  background: #dfe7d0;
}
.rhythm-photo {
  position: relative;
  min-height: 610px;
}
.rhythm-photo img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rhythm-photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #102a1cb3, transparent 45%);
}
#rhythm-photo-label {
  position: absolute;
  bottom: 32px;
  left: 30px;
  right: 25px;
  color: #e5efd6;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 1.4px;
}
.rhythm-copy {
  padding: 65px 42px;
}
.rhythm-copy h2 {
  font-size: 52px;
  line-height: 1.18;
}
.rhythm-copy .eyebrow {
  color: #6a8051;
}
.rhythm-tabs {
  display: flex;
  gap: 26px;
  margin-block: 28px;
  border-bottom: 1px solid #b3c29d;
}
.rhythm-tabs button {
  padding: 13px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #77896a;
  background: none;
  font-size: 18px;
  line-height: 1.5;
}
.rhythm-tabs button[aria-pressed="true"] {
  color: #203b29;
  border-bottom-color: #456237;
}
.rhythm-copy h3 {
  margin-bottom: 16px;
  font: 31px/1.4 var(--serif);
}
#rhythm-text {
  min-height: 160px;
  color: #68795b;
}

/* 13. Verified Google reviews, native swipe carousel */
.google-score {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 15px;
  min-width: 250px;
  max-width: 100%;
  padding: 19px 22px;
  border: 1px solid #c3cfb0;
  background: #f3f5e7;
}
.google-mark {
  color: #667d4e;
  font:
    bold 42px Arial,
    sans-serif;
}
.google-score strong {
  display: block;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
}
.google-score strong span {
  margin-left: 7px;
  color: #7d9657;
  font-size: 15px;
  letter-spacing: 1px;
  vertical-align: middle;
}
.google-score small {
  display: block;
  margin-top: 7px;
  color: #768567;
  font-size: 16px;
  line-height: 1.6;
}
.reviews-slider {
  position: relative;
  min-width: 0;
}
.reviews-track {
  position: relative;
  display: flex;
  gap: 20px;
  min-width: 0;
  padding: 4px 0 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-inline: 0;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #8ca370 #dce5c9;
}
.reviews-track::-webkit-scrollbar {
  height: 7px;
}
.reviews-track::-webkit-scrollbar-track {
  background: #dce5c9;
}
.reviews-track::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #8ca370;
}
.review-card {
  display: flex;
  flex: 0 0 calc((100% - 20px) / 2);
  flex-direction: column;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 30px 25px;
  border-top: 2px solid #9db77a;
  background: #e3e9d5;
  scroll-snap-align: start;
}
.stars {
  color: #809b55;
  font-size: 18px;
  letter-spacing: 3px;
}
.review-card blockquote {
  flex: 1;
  margin: 22px 0 30px;
  font: 27px/1.6 var(--serif);
  overflow-wrap: break-word;
}
.review-person {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.avatar {
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #648045;
  background: #d2ddbf;
  font-size: 17px;
}
.review-person strong {
  display: block;
  font-size: 17px;
  line-height: 1.5;
}
.review-person time {
  display: block;
  color: #7d8b6d;
  font-size: 16px;
  line-height: 1.6;
}
.review-person > a {
  margin-left: auto;
  color: #6c8153;
  font-size: 18px;
  white-space: nowrap;
}
.reviews-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}
.reviews-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}
#reviews-prev,
#reviews-next {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid #809764;
  color: #294530;
  background: #d9e5c3;
  font:
    28px/1 Georgia,
    serif;
}
#reviews-prev:hover:not(:disabled),
#reviews-next:hover:not(:disabled) {
  background: #bed39c;
}
#reviews-prev:disabled,
#reviews-next:disabled {
  opacity: 0.35;
  cursor: default;
}
#reviews-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  max-width: 100%;
}
#reviews-pagination button {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}
#reviews-pagination button::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a9b895;
}
#reviews-pagination button[aria-current="true"]::before {
  transform: scale(1.35);
  background: #365b30;
}
#reviews-slide-count {
  color: #667c50;
  font-size: 16px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.reviews-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 25px;
}
.reviews-bottom > small {
  max-width: 320px;
  color: #78876a;
  font-size: 14px;
  line-height: 1.8;
  text-align: right;
}

/* 14. Location and progressively loaded map */
.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--section-gap);
  border-top: 1px solid #c2cdae;
  background: #dfe6cf;
}
.location-copy > p:not(.eyebrow, .lead) {
  color: #6d7d5e;
}
.location-copy address {
  margin: 25px 0;
  color: #60774e;
  font-style: normal;
}
.location-phone {
  display: block;
  margin-top: 18px;
  color: #60734f;
  font-size: 18px;
  line-height: 1.6;
}
.map-shell {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid #b3c69d;
  background: #ccd8bb;
  isolation: isolate;
}
.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(#76945226 1px, transparent 1px),
    linear-gradient(90deg, #76945226 1px, transparent 1px);
  background-size: 34px 34px;
}
.map-shell::before,
.map-shell::after {
  content: "";
  position: absolute;
  top: -100px;
  left: -200px;
  z-index: -1;
  width: 380px;
  height: 330px;
  border: 1px solid #9bb585;
  border-radius: 43% 57% 62% 38%;
  box-shadow:
    0 0 0 20px #bed0a7,
    0 0 0 21px #9bb585,
    0 0 0 40px #bed0a7,
    0 0 0 41px #9bb585,
    0 0 0 60px #bed0a7,
    0 0 0 61px #9bb585;
  transform: rotate(35deg);
}
.map-shell::after {
  top: auto;
  left: auto;
  bottom: -170px;
  right: -210px;
}
.map-preview {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #d9e3c820;
}
.map-label {
  margin-bottom: 45px;
  color: #8ca174;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 3px;
}
.map-pin {
  width: 64px;
  height: 64px;
  margin-bottom: 25px;
  border-radius: 50% 50% 0 50%;
  color: #dbe8b9;
  background: #294b2f;
  box-shadow: 0 6px 30px #1e422539;
  transform: rotate(45deg);
}
.map-pin span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 27px;
  transform: rotate(-45deg);
}
.map-preview > strong {
  margin-bottom: 5px;
  font: 35px/1.4 var(--serif);
}
.map-preview > span:not(.map-label) {
  color: #718861;
  font-size: 18px;
  line-height: 1.5;
}
.map-load {
  min-height: 50px;
  margin-top: 25px;
  padding: 13px 19px;
  border: 1px solid #95ad7d;
  background: #e8efd9;
  font-size: 18px;
  line-height: 1.55;
}
.map-load span {
  margin-left: 20px;
}
.map-preview > small {
  margin-top: 12px;
  padding-inline: 18px;
  color: #7b9167;
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
}
.map-shell iframe {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 15. FAQ, final invitation and footer */
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--section-gap);
}
.faq-list details {
  border-bottom: 1px solid #c1ccb0;
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 24px 0;
  font-size: 20px;
  line-height: 1.65;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary span {
  flex-shrink: 0;
  color: #809760;
  font-size: 24px;
}
.faq-list details[open] summary span {
  transform: rotate(45deg);
}
.faq-list details p {
  padding-right: 15px;
  padding-bottom: 10px;
  color: #6c7b5f;
}
.faq-list a {
  text-decoration: underline;
}
.contact {
  position: relative;
  padding: 100px 30px 140px;
  overflow: hidden;
  color: var(--cream);
  background: var(--forest);
  text-align: center;
}
.contact-forest {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#102a1b91, #092618c9),
    url("../assets/podlasie-wild.jpg") center 62% / cover;
}
.contact-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin-inline: auto;
}
.contact .eyebrow {
  max-width: 650px;
  margin-inline: auto;
  color: #c7dcaa;
}
.contact h2 {
  margin: 25px 0;
  font-size: 70px;
  line-height: 1.15;
}
.contact h2 em {
  color: #d3e4ae;
}
.contact-content > p:not(.eyebrow) {
  max-width: 65ch;
  margin-inline: auto;
  color: #d1dfc2;
}
.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
}
.phone-link {
  padding: 8px 0;
  border-bottom: 1px solid #9aaf7e;
  font-size: 24px;
  line-height: 1.5;
}
.contact-content small {
  color: #b8cba8;
  font-size: 14px;
  line-height: 1.8;
}
.contact::after {
  z-index: 2;
  height: 130px;
}
footer {
  position: relative;
  padding: 35px var(--content-inset) 110px;
  overflow: hidden;
  color: #d4e3bd;
  background: #15391f;
}
.footer-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.footer-top .brand {
  align-self: flex-start;
  font-size: 42px;
}
.footer-top .eyebrow {
  color: #a4bc89;
}
.footer-top p {
  margin: 12px 0 0;
  font-size: 19px;
  line-height: 1.9;
}
.footer-top a:hover {
  color: #f3f8e8;
}
.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid #a3c08730;
  color: #9cb68a;
  font-size: 16px;
  line-height: 1.7;
}
.footer-grass {
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 100px;
  background: url("../assets/grass.svg") bottom / 100% 100%;
  filter: brightness(0.65);
  pointer-events: none;
}
.mobile-book {
  display: none;
}

/* 16. Enquiry and privacy dialogs; full-screen gallery */
dialog {
  width: min(580px, calc(100% - 24px));
  max-width: calc(100vw - 24px);
  max-height: 92vh;
  padding: 42px;
  overflow: auto;
  border: 0;
  color: var(--ink);
  background: var(--cream);
}
dialog::backdrop {
  background: #061b14e8;
  backdrop-filter: blur(8px);
}
dialog h2 {
  font-size: 48px;
  line-height: 1.2;
}
dialog p {
  font-size: 20px;
  line-height: 1.8;
}
dialog .close {
  position: absolute;
  top: 5px;
  right: 8px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  color: #58714a;
  background: none;
  font-size: 36px;
  line-height: 1;
}
dialog textarea {
  width: 100%;
  min-height: 180px;
  height: 180px;
  margin: 8px 0 20px;
  padding: 16px;
  resize: vertical;
  border: 1px solid #bac9a5;
  color: var(--ink);
  background: #f8faef;
  font-size: 18px;
  line-height: 1.7;
}
.inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.inquiry-actions .button {
  flex: 1 1 200px;
  justify-content: center;
  min-height: 54px;
}
.dialog-small {
  margin: 20px 0 0;
  color: #7b896c;
  font-size: 14px;
  line-height: 1.8;
}
.dialog-small a {
  text-decoration: underline;
}
#photo-viewer {
  width: min(1200px, calc(100% - 30px));
  max-width: 1200px;
  padding: 45px 20px 15px;
  overflow: hidden;
  color: #e5eed7;
  background: #0c2119;
}
#viewer-close {
  position: absolute;
  top: 8px;
  right: 15px;
  z-index: 3;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  color: #cbdcb5;
  background: none;
  font-size: 36px;
  line-height: 1;
}
.viewer-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  height: min(75vh, 800px);
}
#viewer-image {
  width: auto;
  height: auto;
  max-width: calc(100% - 110px);
  max-height: 100%;
  margin: auto;
  object-fit: contain;
}
#viewer-prev,
#viewer-next {
  flex: 0 0 44px;
  min-width: 44px;
  min-height: 46px;
  padding: 0;
  border: 1px solid #66875566;
  color: #dceac4;
  background: #2f4b2b;
  font-size: 28px;
  line-height: 1.3;
}
.viewer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 15px 10px 0;
}
.viewer-bottom p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}
.viewer-bottom span {
  color: #b8ca9f;
  font-size: 16px;
  line-height: 1.6;
  white-space: nowrap;
}

/* 17. Five decorative leaves; CSS animation without a JavaScript controller. */
#leaves-layer {
  position: fixed;
  inset: 0;
  z-index: 6;
  overflow: hidden;
  pointer-events: none;
}
.leaf-drift {
  position: absolute;
  display: block;
  opacity: 0.8;
  pointer-events: none;
  filter: drop-shadow(0 2px 2px #16302026);
}
.leaf-drift svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.leaf-drift {
  animation: green-leaf-float 25s ease-in-out infinite alternate;
}
.leaf-drift:nth-child(even) {
  animation-name: green-leaf-float-back;
}
.leaf-drift:nth-child(1) {
  left: 7%;
  top: 6%;
  width: 34px;
  height: 34px;
  color: #46712f;
  animation-duration: 21s;
}
.leaf-drift:nth-child(2) {
  left: 30%;
  top: 25%;
  width: 39px;
  height: 39px;
  color: #5c8b39;
  animation-duration: 25s;
}
.leaf-drift:nth-child(3) {
  left: 53%;
  top: 44%;
  width: 44px;
  height: 44px;
  color: #779c43;
  opacity: 0.57;
  animation-duration: 29s;
}
.leaf-drift:nth-child(4) {
  left: 76%;
  top: 63%;
  width: 49px;
  height: 49px;
  color: #375f29;
  animation-duration: 33s;
}
.leaf-drift:nth-child(5) {
  left: 21%;
  top: 82%;
  width: 54px;
  height: 54px;
  color: #69943b;
  animation-duration: 37s;
}
@keyframes green-leaf-float {
  0% {
    transform: translate(0, 0) rotate(-12deg);
  }
  35% {
    transform: translate(9vw, 35px) rotate(45deg);
  }
  70% {
    transform: translate(15vw, -25px) rotate(100deg);
  }
  100% {
    transform: translate(5vw, 62px) rotate(165deg);
  }
}
@keyframes green-leaf-float-back {
  0% {
    transform: translate(0, 0) rotate(18deg);
  }
  35% {
    transform: translate(-8vw, -25px) rotate(-45deg);
  }
  70% {
    transform: translate(-14vw, 32px) rotate(-110deg);
  }
  100% {
    transform: translate(-4vw, -45px) rotate(-160deg);
  }
}

/* 18. Large screens retain readable line lengths, with larger photographs. */
@media (min-width: 1600px) {
  .intro {
    grid-template-columns: 1fr 1fr;
  }
  .intro-copy {
    justify-self: start;
  }
  .cabin-layout {
    gap: var(--section-gap);
  }
  .rhythm-copy,
  .dog-break-copy {
    padding-inline: clamp(55px, 4vw, 96px);
  }
  .gallery-section .section-top > p {
    max-width: 42ch;
  }
}

/* 19. Tablet and compact desktop */
@media (max-width: 1100px) {
  :root {
    --inset: clamp(30px, 4.4vw, 48px);
    --section-gap: 35px;
  }
  header nav {
    display: none;
  }
  .hero {
    min-height: 930px;
    height: 930px;
  }
  .hero-actions {
    gap: 24px;
  }
  .section-top {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .section-top > p {
    max-width: 100%;
    margin-top: 6px;
  }
  .section-top .google-score {
    margin-top: 8px;
  }
  .intro h2,
  .section-top h2,
  .location-copy h2,
  .faq h2 {
    font-size: 52px;
  }
  .booking {
    justify-content: center;
  }
  .booking-heading {
    width: 100%;
  }
  .booking form {
    flex-basis: 100%;
  }
  .booking-note {
    text-align: left;
  }
  .wild-interlude {
    padding-bottom: 190px;
  }
  .interlude-copy {
    max-width: 100%;
  }
  .woodland-ornament {
    width: 180px;
    height: 180px;
  }
  .ornament-roe {
    width: 170px;
    height: 170px;
  }
  .legend-steps {
    grid-template-columns: 1fr;
  }
  .legend-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 0 20px;
    padding: 28px 30px;
  }
  .legend-step-top {
    grid-row: 1 / 4;
    align-self: start;
    flex-direction: column;
    margin: 0;
  }
  .legend-card .legend-kicker,
  .legend-card h3,
  .legend-card > p {
    grid-column: 2;
  }
  .legend-card h3 {
    font-size: 30px;
  }
  .legend-card h3 br {
    display: none;
  }
  .legend-reality {
    flex-wrap: wrap;
  }
  .legend-reality > div {
    flex: 1 1 75%;
  }
  .legend-reality .button {
    max-width: none;
    margin-left: 65px;
  }
  .cabin-layout {
    grid-template-columns: 1fr;
  }
  .cabin-photo {
    min-height: 390px;
  }
  .cabin-facts {
    justify-content: flex-start;
    gap: 35px;
  }
  .cabin-facts span {
    max-width: 160px;
  }
  .amenities {
    grid-template-columns: 1fr 1fr;
  }
  .rhythm {
    grid-template-columns: 1fr;
  }
  .rhythm-photo {
    min-height: 440px;
  }
  .rhythm-copy {
    padding: 55px 40px;
  }
  .rhythm-copy h2 {
    font-size: 56px;
  }
  #rhythm-text {
    min-height: 0;
  }
  .reviews-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .reviews-bottom > small {
    max-width: 100%;
    text-align: left;
  }
  .location,
  .faq {
    grid-template-columns: 1fr;
  }
  .faq {
    gap: 15px;
  }
  .footer-top {
    flex-wrap: wrap;
  }
  .footer-top > .brand {
    width: 100%;
  }
}
@media (max-width: 900px) {
  .dog-break {
    grid-template-columns: 1fr;
  }
  .dog-break figure {
    min-height: 460px;
  }
  .dog-break-copy {
    padding: 55px 38px;
  }
  .dog-break-copy h2 {
    font-size: 49px;
  }
}
@media (min-width: 701px) and (max-width: 850px) {
  .hero h1 {
    font-size: 85px;
  }
  .hero-copy {
    padding-top: 75px;
  }
  .intro {
    grid-template-columns: 1fr;
  }
  .intro-copy {
    padding-top: 0;
  }
  .intro h2 {
    font-size: 56px;
  }
  .nature-stamp {
    width: 180px;
    height: 180px;
  }
  .contact h2 {
    font-size: 58px;
  }
}

/* 20. Phones — no tiny typography, clipped dates or narrow photo captions. */
@media (max-width: 700px) {
  :root {
    --body-size: 19px;
    --inset: 26px;
    --section-gap: 24px;
  }
  html {
    scroll-padding-top: 24px;
  }
  body {
    line-height: 1.8;
  }
  p,
  li,
  address {
    line-height: 1.85;
  }
  h2,
  .intro h2,
  .section-top h2,
  .location-copy h2,
  .faq h2 {
    font-size: 44px;
    line-height: 1.18;
    letter-spacing: -1.2px;
  }
  .section,
  .cabins,
  .gallery-section,
  .reviews,
  .location,
  .faq,
  .legends {
    padding-block: 58px;
  }
  .forest-wall {
    display: none;
  }
  .eyebrow {
    line-height: 1.7;
    letter-spacing: 0.8px;
  }
  .lead {
    font-size: 25px;
    line-height: 1.65;
  }
  .section-top {
    display: block;
    margin-bottom: 32px;
  }
  .section-top > p {
    max-width: 100%;
    margin: 22px 0 0;
    font-size: 19px;
    line-height: 1.8;
  }
  header {
    height: 104px;
    padding-inline: 20px;
    gap: 14px;
  }
  .brand {
    gap: 8px;
    font-size: 30px;
  }
  .brand small {
    margin-top: 7px;
  }
  .brand svg {
    width: 28px;
  }
  .header-button {
    min-height: 48px;
    padding: 12px 14px;
    gap: 9px;
  }
  .header-button span {
    font-size: 19px;
  }
  .hero {
    min-height: 1030px;
    height: 1030px;
  }
  .hero-image {
    background-position: 58% center;
  }
  .hero::before {
    background: linear-gradient(
      90deg,
      var(--deep),
      transparent 1.5%,
      transparent 98.5%,
      var(--deep)
    );
  }
  .hero-copy {
    padding: 100px 8% 230px;
  }
  .hero .eyebrow {
    letter-spacing: 0.6px;
  }
  .live-dot {
    margin-right: 5px;
  }
  .hero h1 {
    margin: 28px 0;
    font-size: clamp(39px, 12.3vw, 77px);
    line-height: 1.08;
    letter-spacing: -1.5px;
  }
  .hero-description {
    max-width: 100%;
    font-size: 19px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-top: 28px;
  }
  .hero .button {
    padding: 17px 22px;
  }
  .hero-rating {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    right: 8%;
    left: 8%;
    bottom: 130px;
    padding: 15px;
  }
  .hero-rating strong {
    font-size: 28px;
  }
  .hero-rating strong span {
    margin-left: 6px;
    font-size: 15px;
    letter-spacing: 1px;
  }
  .hero-rating > span {
    margin: 0;
  }
  .hero-bottom {
    left: 8%;
    right: 8%;
    bottom: 38px;
    gap: 15px;
    letter-spacing: 0.8px;
  }
  .hero-bottom > span {
    max-width: 150px;
  }
  .hero-bottom > a {
    max-width: 130px;
    text-align: right;
  }
  .hero-photo-label {
    max-width: 210px;
    top: 12px;
    right: 12px;
    padding: 6px 9px;
  }
  .hero::after {
    height: 45px;
  }
  .ticker-track {
    font-size: 15px;
    letter-spacing: 1.1px;
  }
  .ticker span {
    margin-inline: 20px;
    font-size: 19px;
  }
  .booking {
    padding-block: 30px;
    gap: 25px;
  }
  .booking form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 23px 12px;
  }
  .booking label {
    padding-inline: 8px;
    line-height: 1.65;
    letter-spacing: 0.5px;
  }
  .booking input,
  .booking select {
    min-height: 48px;
  }
  .booking form .button {
    min-height: 90px;
    padding: 15px 13px;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .intro-copy {
    padding-top: 0;
  }
  .handwritten {
    font-size: 28px;
  }
  .nature-stamp {
    margin-top: 22px;
  }
  .nature-stamp .stamp-friend {
    left: 108px;
    top: 30px;
    width: 125px;
    height: 125px;
  }
  .wild-interlude {
    padding-block: 50px 150px;
  }
  .wild-interlude h2 {
    font-size: 40px;
  }
  .wildlife-caption {
    font-size: 19px;
  }
  .woodland-ornament {
    left: 15px;
    bottom: 5px;
    width: 128px;
    height: 128px;
  }
  .ornament-roe {
    left: auto;
    right: 15px;
    bottom: 8px;
    width: 122px;
    height: 122px;
  }
  .legend-steps {
    gap: 15px;
  }
  .legend-card {
    display: block;
    padding: 26px 23px 30px;
  }
  .legend-step-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
  }
  .legend-number {
    font-size: 45px;
  }
  .legend-step-top svg {
    width: 52px;
    height: 52px;
  }
  .legend-card h3 {
    margin-bottom: 18px;
    font-size: 28px;
  }
  .legend-card h3 br {
    display: block;
  }
  .legend-reality {
    align-items: flex-start;
    gap: 18px;
    margin-top: 32px;
    padding-top: 25px;
  }
  .legend-reality > div {
    flex-basis: 100%;
  }
  .legend-reality h3 {
    font-size: 27px;
  }
  .legend-wink {
    font-size: 40px;
  }
  .legend-reality .button {
    width: 100%;
    margin: 5px 0 0;
  }
  .cabin-layout {
    gap: 28px;
  }
  .cabin-photo {
    min-height: 300px;
  }
  .image-badge {
    left: 12px;
    top: 12px;
    max-width: calc(100% - 24px);
    padding: 7px 9px;
  }
  .cabin-facts {
    gap: 16px;
    justify-content: space-between;
  }
  .cabin-facts > div {
    flex-basis: 100px;
  }
  .cabin-facts strong {
    font-size: 44px;
    line-height: 1.1;
  }
  .cabin-facts span {
    max-width: 110px;
  }
  .amenities {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cabin-info > .button {
    width: 100%;
    padding: 16px 18px;
  }
  .interior-strip {
    grid-template-columns: 1fr 1fr;
    gap: 18px 14px;
  }
  .interior-strip figure:last-child {
    grid-column: 1 / -1;
  }
  .interior-strip img {
    height: 230px;
  }
  .interior-strip figure:last-child img {
    height: 250px;
  }
  .interior-strip figcaption {
    font-size: 23px;
    line-height: 1.45;
  }
  .dog-break figure {
    min-height: 420px;
  }
  .dog-break-copy {
    padding: 48px 26px;
  }
  .dog-break-copy h2 {
    font-size: 44px;
  }
  .gallery-toolbar {
    gap: 15px;
  }
  .gallery-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }
  .gallery-filters button {
    padding: 12px;
  }
  #gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
    gap: 8px;
  }
  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gallery-item:last-child {
    grid-column: span 2;
  }
  .photo-caption {
    gap: 7px;
    padding: 35px 12px 13px;
    font-size: 15px;
    line-height: 1.6;
  }
  .photo-caption span {
    font-size: 21px;
  }
  .gallery-expand {
    width: 100%;
    min-width: 0;
    max-width: 350px;
  }
  .rhythm-photo {
    min-height: 360px;
  }
  .rhythm-copy {
    padding: 48px 26px;
  }
  .rhythm-copy h2 {
    font-size: 44px;
  }
  #rhythm-photo-label {
    left: 22px;
    bottom: 28px;
    right: 20px;
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: 0.8px;
  }
  .rhythm-tabs {
    gap: 22px;
    margin-block: 25px;
  }
  .rhythm-copy h3 {
    font-size: 29px;
  }
  .google-score {
    display: inline-flex;
    min-width: 0;
    width: auto;
    margin-top: 26px;
    padding: 17px 20px;
  }
  .google-mark {
    font-size: 38px;
  }
  .google-score strong {
    font-size: 32px;
  }
  .google-score strong span {
    font-size: 14px;
  }
  .reviews-track {
    gap: 16px;
    padding-bottom: 16px;
  }
  .review-card {
    flex-basis: 100%;
    padding: 28px 22px;
  }
  .review-card blockquote {
    font-size: 26px;
  }
  .review-person time {
    font-size: 15px;
  }
  .avatar {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }
  .reviews-slider-controls {
    gap: 12px;
    margin-top: 16px;
  }
  .reviews-arrows {
    gap: 8px;
  }
  #reviews-prev,
  #reviews-next {
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
  }
  #reviews-pagination {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }
  #reviews-slide-count {
    margin-left: auto;
  }
  .location-phone {
    line-height: 1.7;
  }
  .location-copy .button {
    width: 100%;
    gap: 16px;
    padding: 17px 18px;
  }
  .map-label {
    font-size: 15px;
    letter-spacing: 2px;
  }
  .map-preview > strong {
    font-size: 31px;
    line-height: 1.5;
  }
  .map-load {
    padding: 12px 14px;
  }
  .map-load span {
    margin-left: 10px;
  }
  .map-preview > small {
    max-width: 245px;
    font-size: 14px;
    line-height: 1.8;
  }
  .faq-list summary {
    padding-block: 23px;
    font-size: 19px;
    line-height: 1.7;
  }
  .faq-list details p {
    padding-right: 0;
  }
  .contact {
    padding: 85px 26px 130px;
  }
  .contact .eyebrow {
    max-width: 100%;
  }
  .contact h2 {
    font-size: 46px;
    line-height: 1.18;
  }
  .contact-actions {
    flex-direction: column;
    gap: 17px;
  }
  .contact-content small {
    display: block;
    max-width: 100%;
  }
  .contact::after {
    height: 100px;
  }
  footer {
    padding: 32px 28px 145px;
  }
  .footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-top > .brand {
    font-size: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    line-height: 1.8;
  }
  .mobile-book {
    position: fixed;
    bottom: 12px;
    left: 50%;
    z-index: 26;
    display: flex;
    gap: 25px;
    max-width: calc(100% - 32px);
    padding: 14px 22px;
    border: 1px solid #e3f0bb;
    border-radius: 3px;
    color: #203b28;
    background: #cee6a5;
    box-shadow: 0 5px 35px #051c164d;
    font-size: 18px;
    line-height: 1.5;
    white-space: nowrap;
    transform: translateX(-50%);
  }
  .mobile-book span {
    font-size: 20px;
  }
  dialog {
    width: calc(100% - 24px);
    padding: 36px 23px;
  }
  dialog h2 {
    font-size: 41px;
  }
  dialog p {
    font-size: 19px;
  }
  dialog textarea {
    min-height: 220px;
    padding: 13px;
    line-height: 1.75;
  }
  .inquiry-actions {
    flex-direction: column;
    gap: 10px;
  }
  .inquiry-actions .button {
    flex-basis: auto;
    min-height: 56px;
    padding: 15px 12px;
  }
  .dialog-small {
    font-size: 15px;
  }
  #photo-viewer {
    width: calc(100% - 14px);
    padding: 40px 8px 15px;
  }
  .viewer-stage {
    position: relative;
    height: 70vh;
    gap: 5px;
  }
  #viewer-image {
    max-width: 100%;
  }
  #viewer-prev,
  #viewer-next {
    position: absolute;
    bottom: 0;
    z-index: 2;
    background: #28452be6;
  }
  #viewer-prev {
    left: 10px;
  }
  #viewer-next {
    right: 10px;
  }
  .viewer-bottom {
    align-items: flex-start;
    margin: 15px 6px 0;
  }
  .viewer-bottom p {
    max-width: 80%;
    font-size: 16px;
    line-height: 1.7;
  }
  .viewer-bottom span {
    font-size: 15px;
  }
}
@media (max-width: 650px) {
  .leaf-drift {
    opacity: 0.67;
    filter: none;
  }
  .leaf-drift:nth-child(1),
  .leaf-drift:nth-child(5) {
    width: 27px;
    height: 27px;
  }
  .leaf-drift:nth-child(2) {
    width: 31px;
    height: 31px;
  }
  .leaf-drift:nth-child(3) {
    width: 35px;
    height: 35px;
    opacity: 0.57;
  }
  .leaf-drift:nth-child(4) {
    width: 39px;
    height: 39px;
  }
}
@media (max-width: 450px) {
  header {
    height: 98px;
    gap: 9px;
    padding-inline: 14px;
  }
  header .brand {
    gap: 7px;
    font-size: 28px;
  }
  header .brand svg {
    width: 24px;
  }
  header .brand small {
    display: none;
  }
  .header-button {
    min-height: 50px;
    gap: 7px;
    padding: 12px 11px;
    line-height: 1.4;
  }
  .header-button span {
    font-size: 20px;
  }
  .hero {
    min-height: 1070px;
    height: 1070px;
  }
  .hero h1 {
    font-size: clamp(39px, 12.3vw, 55px);
    letter-spacing: -1.2px;
  }
  .hero-copy {
    padding-top: 108px;
  }
  .booking form {
    grid-template-columns: minmax(0, 1fr);
  }
  .booking label {
    padding-inline: 12px;
  }
  .booking input,
  .booking select {
    min-height: 50px;
  }
  .booking form .button {
    min-height: 62px;
    gap: 18px;
  }
  .cabin-facts {
    gap: 20px;
  }
  .cabin-facts > div {
    flex-basis: 100px;
  }
  #gallery-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 270px;
  }
  .gallery-item:first-child,
  .gallery-item:last-child {
    grid-column: auto;
    grid-row: auto;
  }
  .photo-caption {
    font-size: 16px;
    line-height: 1.55;
  }
  .review-person {
    gap: 11px;
  }
  .review-person > div {
    flex: 1 1 120px;
  }
  .map-load {
    max-width: calc(100% - 24px);
    padding-inline: 13px;
    font-size: 17px;
  }
  .map-load span {
    margin-left: 6px;
  }
  .rhythm-tabs {
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (max-width: 400px) {
  :root {
    --inset: 23px;
  }
  .interior-strip {
    grid-template-columns: 1fr;
  }
  .interior-strip figure:last-child {
    grid-column: auto;
  }
  .interior-strip img,
  .interior-strip figure:last-child img {
    height: 260px;
  }
  .review-card {
    padding-inline: 19px;
  }
  .google-score {
    gap: 12px;
    padding-inline: 16px;
  }
  .google-score strong {
    font-size: 30px;
  }
  .google-score strong span {
    font-size: 13px;
  }
  .google-mark {
    font-size: 33px;
  }
  .map-preview > strong {
    font-size: 28px;
  }
  .contact h2 {
    font-size: 42px;
  }
  .rhythm-copy {
    padding-inline: 23px;
  }
}

/* 21. Respect the system preference for reduced motion. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reviews-track {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
  .leaf-drift {
    animation: none;
  }
}

/* UI transitions retain the original presentation; animal ornaments stay still. */
.ticker-track {
  animation: ticker-drift 55s linear infinite;
}
@keyframes ticker-drift {
  to {
    transform: translateX(-35%);
  }
}
.leaf-body {
  fill: currentColor;
}
.leaf-veins {
  fill: none;
  stroke: #b4cf85;
  stroke-width: 1.7;
  stroke-linecap: round;
  opacity: 0.65;
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}
