:root {
  --bone: #f6f1ea;
  --bone-2: #efe7db;
  --paper: #fbf7f1;
  --ink: #1c1b18;
  --ink-soft: #5a554c;
  --line: #d8cfc3;
  --moss: #006830;
  --moss-deep: #004d24;
  --moss-mist: #e6efe8;
  --gold: #c9a15b;
  --cream: #f8f4ee;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --nav-h: 112px;
  --wrap: 1180px;
  --wide: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id], footer[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bone);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
button { cursor: pointer; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.wide { width: min(var(--wide), calc(100% - 48px)); margin-inline: auto; }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--moss);
  color: var(--cream);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.skip:focus { top: 12px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
}
h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
}
h2 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  color: var(--ink);
}

/* ——— NAV ——— */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(246, 241, 234, 0.88);
  backdrop-filter: blur(12px);
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.nav-inner {
  width: min(var(--wide), calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  height: 96px;
  padding: 0;
  background: transparent;
}
.nav-logo img { height: 96px; width: auto; }
.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.88;
  white-space: nowrap;
}
.nav-links a:hover { opacity: 1; color: var(--moss); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.lang {
  display: flex;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #9a9388;
}
.lang .on { color: var(--ink); }
.lang span { cursor: default; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background: var(--moss);
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 0;
  border-radius: 1px;
  transition: background 0.2s ease;
}
.btn:hover { background: var(--moss-deep); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(248, 244, 238, 0.45);
}
.btn-ghost:hover { background: rgba(248,244,238,0.1); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: #000; }

.nav.scrolled,
body.sub .nav {
  background: rgba(246, 241, 234, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.scrolled .nav-links a,
.nav.scrolled .lang,
.nav.scrolled .lang .on,
body.sub .nav-links a,
body.sub .lang,
body.sub .lang .on { color: var(--ink); }
.nav.scrolled .lang,
body.sub .lang { color: #9a9388; }
.nav.scrolled .nav-logo,
body.sub .nav-logo { background: transparent; padding-left: 0; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent;
  cursor: pointer;
  position: relative;
}
.burger span,
.burger span:before,
.burger span:after {
  position: absolute; left: 10px;
  width: 24px; height: 1.5px;
  background: var(--ink);
  content: "";
  transition: transform 0.2s ease, top 0.2s ease, background 0.2s ease;
}
.nav.scrolled .burger span,
.nav.scrolled .burger span:before,
.nav.scrolled .burger span:after,
body.sub .burger span,
body.sub .burger span:before,
body.sub .burger span:after { background: var(--ink); }
.burger span { top: 21px; }
.burger span:before,
.burger span:after { transform-origin: center; }
.burger span:before { top: -7px; }
.burger span:after { top: 7px; }

/* ——— HERO ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
}
.hero picture {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 45% 40%;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(18, 16, 12, 0.74) 0%,
      rgba(18, 16, 12, 0.50) 26%,
      rgba(18, 16, 12, 0.18) 46%,
      rgba(18, 16, 12, 0.00) 68%),
    linear-gradient(180deg,
      rgba(18, 16, 12, 0.38) 0%,
      rgba(18, 16, 12, 0.10) 30%,
      rgba(18, 16, 12, 0.42) 62%,
      rgba(18, 16, 12, 0.82) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--wide), calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 88px;
}
.hero-copy > * { max-width: 42rem; }
.hero-copy .eyebrow { color: #e8d9b0; }
.hero-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(3.4rem, 7.2vw, 7rem);
  font-weight: 600;
  color: #f7f3ec;
  line-height: 0.92;
}
.hero-copy p {
  max-width: 38rem;
  font-size: 1.12rem;
  line-height: 1.55;
  color: rgba(247, 243, 236, 0.92);
  margin-bottom: 28px;
}
.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy p {
  text-shadow: 0 1px 2px rgba(18, 16, 12, 0.55), 0 10px 28px rgba(18, 16, 12, 0.45);
}
.hero-rule {
  width: 48px; height: 1px;
  background: var(--gold);
  margin: 16px 0 20px;
  box-shadow: 0 1px 8px rgba(18, 16, 12, 0.35);
}

.hero-geo {
  position: absolute;
  top: calc(var(--nav-h) + 20px);
  right: 28px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-align: right;
  color: rgba(247, 243, 236, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}
.hero-geo:hover,
.hero-geo:focus-visible {
  color: #c9a15b;
}

/* ——— ABOUT ——— */
.about {
  padding: 108px 0 96px;
  background: var(--paper);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: center;
}
.about-photo { position: relative; }
.about-photo img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 2px;
}
.about-photo figcaption {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.about h2 { margin: 10px 0 22px; }
.about .lead, .about p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.about .lead { font-size: 1.08rem; color: var(--ink); }
.history {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.history h3 {
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 10px;
}
.note {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 600;
}

/* ——— HOUSES ——— */
.houses { background: var(--bone); padding: 40px 0 20px; }
.houses-head {
  text-align: center;
  padding: 48px 0 56px;
}
.houses-head p {
  margin: 14px auto 0;
  max-width: 34rem;
  color: var(--ink-soft);
}
.house {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 560px;
  background: var(--paper);
  margin: 0 0 28px;
}
.house.reverse { grid-template-columns: 0.85fr 1.15fr; }
.house.reverse .house-photo { order: 2; }
.house-photo { min-height: 0; }
.house-photo picture { height: 100%; }
.house-photo img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}
.house-text {
  padding: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.house-text h3 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  margin: 8px 0 18px;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
}
.house-text p { color: var(--ink-soft); }
.house-price {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
}
.house-price span {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  margin-top: 4px;
}

/* ——— PRAMOGOS ——— */
.play {
  padding: 108px 0 96px;
  background: #f3ece3;
}
.play-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}
.play-head p { color: var(--ink-soft); }
.stories { display: grid; gap: 18px; }
.stories.featured {
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
}
.stories.pair {
  margin-top: 18px;
  grid-template-columns: 1fr 1fr;
}
.story {
  position: relative;
  overflow: hidden;
  background: #1c1b18;
  min-height: 280px;
  color: var(--cream);
}
.stories.featured .story:nth-child(1) { grid-row: 1 / 3; min-height: 580px; }
.stories.featured .story:nth-child(4) { grid-column: 2 / 4; min-height: 300px; }
.stories.pair .story { min-height: 340px; }
.story picture {
  position: absolute;
  inset: 0;
}
.story img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.92;
}
.story-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 28px 26px 24px;
  background: linear-gradient(180deg, transparent, rgba(16,14,10,0.82) 55%, rgba(16,14,10,0.92));
}
.story-copy h3 {
  font-size: 1.85rem;
  margin: 4px 0 8px;
  color: #f7f3ec;
}
.story-copy p {
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(247,243,236,0.86);
  max-width: 46ch;
}
.imones {
  margin-top: 18px;
  padding: 28px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}
.imones h3 { font-size: 1.6rem; }
.imones p { color: var(--ink-soft); }

/* ——— KAINOS ——— */
.prices {
  padding: 108px 0;
  background: var(--paper);
}
.prices-head { text-align: center; margin-bottom: 56px; }
.price-cols {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
}
.price-table caption {
  text-align: left;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 14px;
  caption-side: top;
}
.price-table th, .price-table td {
  text-align: left;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.price-table th {
  font-weight: 600;
  font-size: 1.02rem;
}
.price-table td:last-child,
.price-table th:last-child {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.price-table .sub {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 2px;
}
.extras {
  background: var(--bone-2);
  padding: 28px 28px 12px;
}
.extras h3 {
  font-size: 1.7rem;
  margin-bottom: 6px;
}
.extras ul { list-style: none; }
.extras li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(28,27,24,0.1);
  font-size: 0.98rem;
}
.extras li span:last-child { font-weight: 600; white-space: nowrap; }
.extras .tiny { display: block; font-size: 12px; color: var(--ink-soft); font-weight: 400; }

/* ——— REVIEW ——— */
.review {
  padding: 96px 0 108px;
  background: var(--moss-deep);
  color: var(--cream);
  text-align: center;
}
.review .eyebrow { color: #d4b56a; margin-bottom: 8px; }
.rev-wrap { max-width: 46rem; }
.rev-stage {
  position: relative;
  min-height: 11rem;
  margin: 18px auto 0;
}
.rev-card {
  margin: 0;
}
.rev-card[hidden] { display: none; }
.review blockquote {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  max-width: 40rem;
  margin: 0 auto 22px;
  color: #f7f3ec;
}
.review cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e8d9b0;
}
.rev-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}
.rev-nav {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(232, 217, 176, 0.35);
  background: transparent;
  color: #e8d9b0;
  font-size: 26px;
  line-height: 1;
  border-radius: 1px;
}
.rev-nav:hover { background: rgba(248, 244, 238, 0.08); color: #f7f3ec; }
.rev-nav:disabled { opacity: 0.3; cursor: default; }
.rev-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 16rem;
}
.rev-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(232, 217, 176, 0.35);
}
.rev-dot.is-on { background: #e8d9b0; }
.rev-dot:hover { background: rgba(232, 217, 176, 0.7); }

/* ——— CONTACT ——— */
.contact {
  padding: 108px 0 96px;
  background: var(--paper);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.contact h2 { margin: 10px 0 18px; }
.contact-lead {
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 38rem;
}
.form { display: grid; gap: 20px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 4px;
}
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0 12px;
  font-size: 1.05rem;
  color: var(--ink);
  border-radius: 0;
  appearance: none;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--moss);
}
.form-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.form-note a { color: var(--moss); text-decoration: underline; text-underline-offset: 3px; }
.contact-aside {
  background: var(--bone-2);
  padding: 32px 32px 28px;
}
.contact-aside h3 {
  font-size: 1.7rem;
  margin: 6px 0 18px;
}
.contact-aside dl dt {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 16px;
}
.contact-aside dl dd { margin-top: 4px; }
.contact-aside a:hover { color: var(--moss); }
.contact-map {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  margin: 8px 0 0;
  background: var(--bone);
}
.contact-map .sodybos-map {
  display: block;
  width: 100%;
  height: 300px;
  background: var(--bone);
  z-index: 0;
}
.contact-map .leaflet-control-attribution,
.contact-map .leaflet-control-zoom a[href] {
  display: none !important;
}
.contact-map .leaflet-bottom,
.contact-map .leaflet-container a {
  /* no outbound chrome from map */
}
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
}
.social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}
.social svg { width: 16px; height: 16px; fill: currentColor; }

/* ——— FOOTER ——— */
.footer {
  background: #161411;
  color: #d8d0c4;
  padding: 64px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(216,208,196,0.15);
}
.footer h3 {
  color: #f6f1ea;
  font-size: 1.8rem;
  margin: 8px 0 10px;
}
.footer .eyebrow { color: #c9a15b; }
.footer a:hover { color: #fff; }
.footer dl dt {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9388;
  margin-top: 14px;
}
.footer dl dd { margin-top: 4px; color: #f0ebe3; }
.footer .social a { color: #e8d9b0; }
.footer .social a:hover { color: #fff; }
.legal {
  padding-top: 22px;
  font-size: 13px;
  color: #8a8378;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: #f0ebe3; }

/* Inner pages */
.page-main {
  padding: calc(var(--nav-h) + 56px) 0 96px;
  background: var(--paper);
  min-height: 70vh;
}
.doc { max-width: 42rem; }
.doc h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin: 10px 0 22px;
}
.doc h2 {
  font-size: 1.55rem;
  margin: 32px 0 10px;
}
.doc p, .doc li { color: var(--ink-soft); margin-bottom: 14px; }
.doc ul { padding-left: 1.15em; margin-bottom: 14px; }
.doc a {
  color: var(--moss);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.notfound { text-align: center; padding-top: 8vh; }
.notfound h1 { margin-bottom: 16px; }
.notfound p { color: var(--ink-soft); margin-bottom: 28px; }

#nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

@media (max-width: 980px) {
  .about-grid,
  .play-head,
  .price-cols,
  .footer-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map .sodybos-map { height: 280px; }
  .house,
  .house.reverse { grid-template-columns: 1fr; }
  .house.reverse .house-photo { order: 0; }
  .house-photo img { min-height: 320px; height: 380px; }
  .about-photo img { height: 420px; }
  .stories.featured,
  .stories.pair { grid-template-columns: 1fr 1fr; }
  .stories.featured .story:nth-child(1) { grid-row: auto; min-height: 360px; }
  .stories.featured .story:nth-child(4) { grid-column: auto; }
  .imones { grid-template-columns: 1fr; }
}

@media (max-width: 1180px) {
  :root { --nav-h: 72px; }
  .nav-links { display: none; }
  .lang { display: none; }
  .burger { display: block; }
  .nav-inner { grid-template-columns: auto 1fr auto; gap: 12px; }
  .nav-actions { gap: 8px; }
  .btn { padding: 10px 14px; font-size: 12px; }
  .nav-logo { height: 72px; padding: 0; }
  .nav-logo img { height: 72px; }

  #nav-toggle:checked ~ .nav .nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bone);
    flex-direction: column;
    padding: 18px 24px 28px;
    gap: 4px;
    box-shadow: 0 16px 32px rgba(28,27,24,0.14);
  }
  #nav-toggle:checked ~ .nav .nav-links a {
    color: var(--ink);
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  #nav-toggle:checked ~ .nav { background: var(--bone); }
  #nav-toggle:checked ~ .nav .nav-logo { background: transparent; }
  #nav-toggle:checked ~ .nav .burger span { background: transparent; }
  #nav-toggle:checked ~ .nav .burger span:before,
  #nav-toggle:checked ~ .nav .burger span:after { background: var(--ink); top: 0; }
  #nav-toggle:checked ~ .nav .burger span:before { transform: rotate(45deg); }
  #nav-toggle:checked ~ .nav .burger span:after { transform: rotate(-45deg); }
}

@media (max-width: 760px) {
  .hero-copy { padding-bottom: 56px; width: calc(100% - 32px); }
  .hero-copy h1 { font-size: clamp(2.55rem, 12vw, 3.1rem); }
  .hero-copy p { font-size: 1.05rem; }
  .hero-geo {
    top: calc(var(--nav-h) + 12px);
    right: 16px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }
  .hero::after {
    background:
      linear-gradient(90deg,
        rgba(18, 16, 12, 0.80) 0%,
        rgba(18, 16, 12, 0.55) 38%,
        rgba(18, 16, 12, 0.18) 72%,
        rgba(18, 16, 12, 0.00) 100%),
      linear-gradient(180deg,
        rgba(18, 16, 12, 0.42) 0%,
        rgba(18, 16, 12, 0.16) 28%,
        rgba(18, 16, 12, 0.50) 64%,
        rgba(18, 16, 12, 0.88) 100%);
  }
  .about, .play, .prices, .review, .contact, .page-main { padding: 72px 0; }
  .page-main { padding-top: calc(var(--nav-h) + 36px); }
  .stories.featured,
  .stories.pair { grid-template-columns: 1fr; }
  .stories.featured .story:nth-child(1),
  .stories.pair .story { min-height: 300px; }
  .story-copy h3 { font-size: 1.55rem; }
  .extras li { flex-direction: column; gap: 4px; }
  .extras li span:last-child { white-space: normal; }
  .price-table td:last-child, .price-table th:last-child { white-space: normal; }
  .wrap, .wide { width: calc(100% - 32px); }
  .house-text { padding: 28px 22px 36px; }
  .about-photo img { height: 280px; }
  .contact-aside { padding: 24px 22px; }
  .h2, h2 { font-size: clamp(2.1rem, 8vw, 2.8rem); }
}

@media (max-width: 420px) {
  .nav-inner { width: calc(100% - 20px); }
  .nav-actions .btn { padding: 10px 12px; letter-spacing: 0.1em; }
  .hero-copy h1 { font-size: 2.45rem; }
  .hero-geo { font-size: 10px; right: 12px; }
  body { font-size: 16px; }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.burger:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav, .btn, .burger span, .burger span:before, .burger span:after {
    transition: none;
  }
}


/* ——— GALLERY — one row, five tiles ——— */
#galerija {
  background: var(--bone);
  padding: 28px 0 48px;
  scroll-margin-top: var(--nav-h);
}
.g-bar {
  width: min(var(--wide), calc(100% - 48px));
  margin-inline: auto;
  padding: 0 0 16px;
}
.g-bar .eyebrow { margin: 0; }
.g-bar h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.1;
  margin: 2px 0 0;
}
.g-stage {
  position: relative;
  width: min(var(--wide), calc(100% - 48px));
  margin-inline: auto;
  height: min(62vh, 560px);
}
.g-scroll {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 12px;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: var(--bone);
  touch-action: pan-x;
}
.g-scroll::-webkit-scrollbar { display: none; width: 0; height: 0; }
.g-tile {
  flex: 0 0 calc((100% - 48px) / 5);
  height: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: var(--bone-2);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  scroll-snap-align: start;
  display: block;
}
.g-tile img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}
.g-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 1px;
  background: var(--cream);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 2px 12px rgba(28, 27, 24, 0.14);
}
.g-nav:hover:not(:disabled) {
  background: var(--moss);
  color: var(--cream);
}
.g-nav:disabled {
  opacity: 0.28;
  cursor: default;
}
.g-prev { left: 10px; }
.g-next { right: 10px; }

@media (max-width: 760px) {
  .g-bar { width: calc(100% - 32px); padding-bottom: 12px; }
  .g-stage {
    width: calc(100% - 32px);
    height: 52vh;
  }
  .g-tile {
    flex: 0 0 calc((100% - 12px) / 2);
  }
  .g-nav { width: 38px; height: 38px; font-size: 24px; }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(12,11,9,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  border: 0;
  background: transparent;
  color: #f8f4ee;
  font-size: 42px;
  line-height: 1;
  width: 56px;
  height: 56px;
  cursor: pointer;
}
.lb-close { top: 16px; right: 18px; font-size: 36px; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }

/* ——— BASAKOJU ——— */
.barefoot { padding: 40px 0 96px; }
.barefoot-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.barefoot-photo img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}
.barefoot .lead {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  margin: 8px 0 18px;
}

/* ——— BLOG ——— */
.blog { padding: 24px 0 96px; }
.post-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 36px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.post-photo { display: block; overflow: hidden; }
.post-photo img { width: 100%; height: 340px; object-fit: cover; }
.post-body { padding: 28px 32px 28px 0; }
.post-body h3 { font-size: 2rem; margin: 10px 0 12px; }
.post-body h3 a:hover { color: var(--moss); }
.text-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}

@media (max-width: 980px) {
  .barefoot-grid, .post-card { grid-template-columns: 1fr; }
  .barefoot-photo img, .post-photo img { height: 380px; }
  .post-body { padding: 8px 4px 24px; }
}
