/* ==========================================================================
   Blue House Olib — stylesheet
   Visual design copied from mokrinhouse.com (as requested): Lato + Montserrat
   numbers, teal #009aa3, lime #b6c92f, headings #333, text #888, beige #f2f3ea,
   1140px container, 30px white frame around full-width images and bands.
   ========================================================================== */

/* ---------- 1. Fonts (self-hosted) ---------- */
/* Lato 2.0 (latofonts.com, SIL OFL): Western + Central European letters, including Czech and Croatian */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/lato-300.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lato-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/lato-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lato-700.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/lato-900.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF; }

/* ---------- 2. Tokens (Mokrin House values) ---------- */
:root {
  color-scheme: light;
  --teal: #009aa3;
  --lime: #b6c92f;
  --ink: #333333;        /* headings */
  --text: #666666;       /* body copy (Mokrin uses #888; one step darker so the light font weight stays readable) */
  --nav: #626261;        /* menu */
  --beige: #f2f3ea;      /* light bands */
  --pale: #e4eab9;       /* text on teal */
  --white: #ffffff;
  --line: #e6e6e6;
  --error: #c62828;
  --success: #2e7d32;
  --lime-text: #ffffff;   /* text on lime buttons */
  --lime-ink: var(--lime); /* lime used for text (footer titles, numbers) */

  --font: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-num: "Montserrat", "Lato", Arial, sans-serif;
  /* Type scale: light Lato, wide-set uppercase headings */
  --fs-xs: 13px; --fs-sm: 15px; --fs-base: 17px; --fs-md: 19px;
  --fs-lg: clamp(22px, 18.4px + .9vw, 30px);
  --track-caps: .06em;
  --container: 1140px;
  --frame: 30px;
  --header-h: 103px;
}
@media (max-width: 1024px) { :root { --frame: 20px; --header-h: 80px; } }
@media (max-width: 767px)  { :root { --frame: 10px; --header-h: 70px; } }
/* WCAG AA contrast variant. By default the site copies Mokrin House's colours exactly; its grey text,
   white-on-lime and white-on-teal buttons are below the 4.5:1 AA ratio. Set SITE['wcag_contrast'] = True
   in content.py and rebuild (or add class="aa" to <html>) to use slightly darker shades that pass AA. */
:root.aa { --text: #5e5e5e; --teal: #006d74; --lime-text: #333333; --lime-ink: #6b7a12; }
:root.aa .bh { --bh-muted: #5e5e5e; }
:root.aa a:hover, :root.aa .link-more:hover { color: var(--ink); }
:root.aa .on-teal a:hover { color: var(--white); text-decoration: underline; }

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 300 var(--fs-base)/1.7 var(--font); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--ink); line-height: 1.4; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal); text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--lime); }
strong, b { font-weight: 700; color: #666666; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.on-teal :focus-visible, .hero :focus-visible, .banner :focus-visible { outline-color: var(--white); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 10px 16px; background: var(--teal); color: var(--white); font-weight: 700; transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: none; color: var(--white); }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 4. Section heading pattern: heading / italic sub / short teal line ---------- */
.mk-head { display: grid; justify-items: center; text-align: center; max-width: 620px; margin: 0 auto 50px; }
.mk-head h1, .mk-head h2 { font-size: 24px; text-transform: uppercase; }
.mk-head__sub { font-style: italic; color: var(--text); }
.mk-head > .mk-head__sub { margin-top: 20px; }
.mk-head > .mk-head__line { margin-top: 33px; }
.mk-head > .mk-head__text { margin-top: 35px; }
.mk-head__line { display: block; width: 68px; border-top: 1px solid var(--teal); }
.mk-head__text { font-style: italic; }
.on-teal .mk-head h2, .on-teal h3 { color: var(--white); }
.on-teal .mk-head__sub { color: var(--pale); }
.on-teal .mk-head__line { border-color: var(--white); width: 79px; }
.eyebrow-it { font-style: italic; color: var(--text); }

/* vertical lime line linking sections */
.connector { padding: 20px var(--frame); }
.connector span { display: block; width: 1px; height: 180px; margin: 0 auto; background: var(--lime); }
.connector--into-band { position: relative; z-index: 2; margin-bottom: -81px; }
.connector--into-band span { height: 221px; }

/* ---------- 5. Buttons ---------- */
.btn-lime {
  display: inline-block; padding: 6px 8px; background: var(--lime); color: var(--lime-text);
  font: 700 15px/15px var(--font); text-transform: uppercase; border: 0; border-radius: 0; cursor: pointer;
  transition: background-color .3s ease, color .3s ease;
}
.btn-lime:hover { background: var(--teal); color: var(--white); }
.btn-teal {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 12px 18px;
  background: var(--teal); color: var(--white); border: 0; border-radius: 0; cursor: pointer;
  font: 400 15px/1 var(--font); text-transform: uppercase; letter-spacing: .02em;
  transition: background-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.btn-teal:hover { background: var(--lime); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .45); }
.btn-teal[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.btn-outline-white {
  display: inline-block; padding: 15px 30px; border: 1px solid rgba(255, 255, 255, .6); color: var(--white);
  font: 500 18px/18px var(--font); text-transform: uppercase; transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn-outline-white:hover { background: var(--white); color: var(--teal); border-color: var(--white); }
.link-more { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: 14px; text-transform: uppercase; color: var(--teal); }
.link-more:hover { color: var(--lime); }
.link-more .icon { transition: transform .3s ease; }
.link-more:hover .icon { transform: translateX(4px); }

/* ---------- 6. Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); transition: box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 2px 12px rgba(0, 0, 0, .06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); padding-top: 20px; }
.brand { display: inline-flex; align-items: flex-end; gap: 12px; flex: none; } /* tower base and the OLIB · CROATIA line share a bottom line */
.brand__mark { height: 50px; width: auto; }
.brand__word { height: 41px; width: auto; }
.logo-full { width: min(230px, 100%); height: auto; }
.logo-mark { height: 60px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 10px; }
.site-nav__list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.site-nav__list li { display: flex; align-items: center; }
.site-nav__list li:not(:last-child)::after { content: ""; width: 0; height: 14px; border-left: 2px solid var(--lime); transform: rotate(45deg); } /* slanted lime divider */
.site-nav__list a { display: block; padding: 0 13px; font: 600 16px/20px var(--font); letter-spacing: -.2px; text-transform: uppercase; color: var(--nav); }
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] { color: var(--teal); }
.site-nav__actions { display: flex; align-items: center; gap: 14px; margin-left: 10px; }
.lang-switches { display: inline-flex; align-items: center; gap: 10px; }
.lang-switch { font: 600 14px/20px var(--font); color: var(--nav); text-transform: uppercase; border-bottom: 1px solid transparent; }
.lang-switch:hover { color: var(--teal); border-bottom-color: var(--teal); }

.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: rgba(0, 0, 0, .05); border: 0; border-radius: 3px; color: var(--nav); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .3s ease, background-color .2s ease; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { transform: translateY(-7px); }
.nav-toggle__bars::after { transform: translateY(7px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: rotate(-45deg); }

@media (min-width: 1181px) {
  .site-nav__list a { padding: 0 9px; font-size: 15px; } /* tightened to make room for the wordmark */
}
@media (min-width: 1201px) {
  /* logo sits in the corner, flush with the left edge of the page frame; the menu stays on the content column */
  .brand { position: absolute; left: var(--frame); top: calc(20px + (var(--header-h) - 20px) / 2); transform: translateY(-50%); }
  .site-nav { margin-left: auto; }
}
@media (max-width: 1180px) and (min-width: 1025px) {
  .site-nav__list a { padding: 0 8px; font-size: 14px; }
}
@media (max-width: 1200px) and (min-width: 1025px) {
  .brand__word { display: none; } /* not enough room beside the menu: symbol only */
}
@media (min-width: 1201px) and (max-width: 1279px) {
  .site-nav__list a { padding: 0 7px; } /* three languages in the switcher: keep the menu clear of the wordmark */
}
@media (max-width: 1024px) {
  .site-header__inner { padding-top: 0; }
  .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto;
    background: var(--white); border-top: 1px solid var(--line); padding: 10px 20px 30px;
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
  }
  .js .site-header.is-open .site-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .no-js .site-header__inner { flex-wrap: wrap; height: auto; padding-block: 12px; }
  .no-js .site-nav { width: 100%; flex-direction: column; align-items: stretch; }
  .no-js .nav-toggle { display: none; }
  .site-nav__list { flex-direction: column; align-items: stretch; }
  .site-nav__list li { display: block; border-bottom: 1px solid var(--line); }
  .site-nav__list li:not(:last-child)::after { display: none; }
  .site-nav__list a { padding: 16px 0; font-size: 17px; }
  .site-nav__actions { margin: 24px 0 0; justify-content: space-between; }
  .site-nav__actions .btn-lime { padding: 12px 16px; }
  .brand { gap: 10px; }
  .brand__mark { height: 46px; }
  .brand__word { height: 38px; }
}
body.nav-open { overflow: hidden; }

/* ---------- 7. Home hero slider ---------- */
.hero { position: relative; padding: 0 var(--frame) 50px; }
.slider { position: relative; height: 750px; overflow: hidden; background: #3a3a3a; }
.slider__track { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; transition: transform .5s ease; will-change: transform; }
.slider__slide { position: relative; flex: 0 0 100%; height: 100%; }
.slider__slide picture, .slider__slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.slider__slide img { object-fit: cover; }
.slider__slide::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .2); } /* keeps the white title readable */
.slider__caption { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 22px; padding: 50px; text-align: center; color: var(--white); pointer-events: none; }
.slider__caption h1 { max-width: 920px; color: var(--white); font: 600 44px/44px var(--font); text-transform: uppercase; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.slider__caption p { max-width: 760px; font: italic 400 25px/1.35 var(--font); text-shadow: 0 1px 3px rgba(0, 0, 0, .45), 0 2px 14px rgba(0, 0, 0, .45); }
.slider__arrow {
  position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 44px; height: 60px; margin-top: -30px;
  background: none; border: 0; color: rgba(237, 237, 237, .9); cursor: pointer; transition: color .3s ease;
}
.slider__arrow:hover { color: var(--white); }
.slider__arrow svg { width: 25px; height: 25px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.slider__arrow--prev { left: 0; }
.slider__arrow--next { right: 0; }
.slider__pause { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .15); color: var(--white); cursor: pointer; opacity: .6; transition: opacity .3s ease; }
.slider__pause:hover, .slider__pause:focus-visible { opacity: 1; }
.slider__pause svg { width: 11px; height: 11px; fill: currentColor; }
.slider__pause .i-play { display: none; }
.slider__pause[aria-pressed="true"] .i-pause { display: none; }
.slider__pause[aria-pressed="true"] .i-play { display: block; }
.no-js .slider__arrow, .no-js .slider__pause { display: none; }
/* Small photo slider inside a row (Accommodation > Rooms): dark arrows on the photo, no autoplay */
.slider.slider--inline { height: auto; aspect-ratio: 680 / 490; background: var(--beige); }
.slider--inline .slider__slide::after { content: none; }
.slider--inline .slider__arrow { width: 56px; color: #111111; filter: drop-shadow(0 0 3px rgba(255, 255, 255, .95)); }
.slider--inline .slider__arrow:hover { color: var(--teal); }
.slider--inline .slider__arrow svg { width: 30px; height: 30px; stroke-width: 2.6; }
.no-js .slider--inline .slider__track { overflow-x: auto; }
/* Dots that choose the photo (Our story > Denis): one dot per photo, the current one is solid */
.slider__dots { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 3; display: flex; justify-content: center; gap: 2px; }
.slider__dot { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; background: none; border: 0; border-radius: 50%; cursor: pointer; }
.slider__dot::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .5); box-shadow: 0 0 0 1px rgba(0, 0, 0, .3), 0 1px 5px rgba(0, 0, 0, .45); transition: background .2s ease, transform .2s ease; }
.slider__dot:hover::before { background: rgba(255, 255, 255, .85); }
.slider__dot[aria-current="true"]::before { background: var(--white); transform: scale(1.2); }
.slider__dot:focus-visible { outline: 2px solid var(--white); outline-offset: -3px; }
.no-js .slider__dots { display: none; }
.about__media .main.slider { height: auto; aspect-ratio: 4 / 5; }

.find-more { /* lime button with a white border, overlapping the bottom edge of the slider */
  position: absolute; left: 50%; bottom: 15px; z-index: 4; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px; width: 275px; padding: 20px 20px 12px; line-height: 22.4px;
  background: var(--lime); border: 5px solid var(--white);
  font: 700 16px/22.4px var(--font); color: var(--lime-text); text-transform: uppercase; text-align: center;
  transition: background-color .3s ease;
}
.find-more::after { content: ""; width: 50px; border-top: 1px solid currentColor; }
.find-more:hover { background: var(--teal); color: var(--white); }

/* ---------- 8. Home: welcome + 01/02/03 cards ---------- */
.welcome { padding: 75px 0 28px; }
.welcome .mk-head { max-width: 550px; margin-bottom: 0; }
.welcome .mk-head__text { max-width: 550px; }
.cards { padding: 30px 0 0; }
.cards__grid { display: grid; gap: 43px; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; }
ol.cards__grid { padding: 0 10px; } /* content 1120px wide, as on Mokrin */
.card__media { overflow: hidden; border-radius: 3px; }
.card__media img { width: 100%; aspect-ratio: 345 / 310; object-fit: cover; transition: transform .8s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__num, .card .card__num { position: relative; z-index: 1; margin-top: -26px; font: normal 600 55px/55px var(--font-num); color: var(--lime-ink); }
.card h3 { margin-top: 8px; font-size: 24px; line-height: 1.1; text-transform: uppercase; }
.card h3 a { color: inherit; }
.card h3 a:hover { color: var(--teal); }
.card p { margin-top: 10px; font-style: italic; }
.card .link-more { margin-top: 12px; }
/* Home: "Who it's for" – three use cases with tag, title, text and link, plus the note for solo guests */
.uses { padding: 40px 0 0; }
.uses .mk-head { margin-bottom: 50px; }
.uses__grid { display: grid; gap: 43px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 10px; margin: 0; list-style: none; }
.use { display: flex; flex-direction: column; align-items: flex-start; }
.use__media { align-self: stretch; overflow: hidden; border-radius: 3px; }
.use__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s ease; }
.use:hover .use__media img { transform: scale(1.05); }
.use__tag { margin-top: 24px; font: italic 700 13px/1.4 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.use h3 { margin-top: 10px; text-transform: uppercase; }
.use__text { margin-top: 12px; font-style: italic; }
.use .link-more { margin-top: auto; padding-top: 18px; font-size: 15px; letter-spacing: .08em; }
.use .link-more .icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.solo-note { display: flex; align-items: center; gap: 16px; margin: 50px 10px 0; padding: 22px 26px; background: var(--beige); border-left: 3px solid var(--teal); text-align: left; }
.solo-note .icon { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--teal); stroke-width: 1.6; }
.solo-note strong { color: var(--ink); font-weight: 700; }
.solo-line { margin-top: 50px; text-align: center; font-style: italic; }
.solo-line strong { color: var(--ink); font-weight: 400; font-style: normal; text-transform: uppercase; }

/* ---------- 9. Teal band ---------- */
.band { padding-inline: var(--frame); }
.band__inner { position: relative; padding: 40px 30px 80px; background: var(--teal); color: var(--pale); }
.band__inner::before { content: ""; position: absolute; left: 0; right: 0; top: 60px; border-top: 1px solid rgba(255, 255, 255, .25); } /* thin light line, as on Mokrin */
.band .mk-head { padding-top: 60px; margin-bottom: 56px; max-width: 600px; }
.band .mk-head__sub { line-height: 16px; }
.band .mk-head > .mk-head__line { margin-top: 43px; }
.band .container { width: min(100% - 40px, 1163px); }
.band__grid { display: grid; gap: 33px; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
.band__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.band__item img { width: 100%; aspect-ratio: 266 / 310; object-fit: cover; }
.band__grid--3 .band__item img { aspect-ratio: 360 / 300; }
.band__item h3 { margin-top: 40px; font-size: 18px; line-height: 25.2px; text-transform: uppercase; color: var(--white); }
.band__item p { margin-top: 21px; font-size: 14px; line-height: 19.6px; color: var(--pale); }
.band__item a { color: inherit; }
.band__item a:hover { color: var(--lime); }
.band__more { display: flex; justify-content: center; margin-top: 50px; }

/* About Olib with a video (home): video left, the four island points right */
.band-video { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.video { position: relative; aspect-ratio: 16 / 9; background: #0b4f54; overflow: hidden; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .55); }
.video picture, .video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video img { object-fit: cover; transition: transform .6s ease; }
.video__link { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--white); text-decoration: none; }
.video__link::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 40, 44, .15), rgba(0, 40, 44, .5)); transition: background .3s ease; }
.video__play { position: relative; display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 10px rgba(182, 201, 47, .28); transition: transform .3s ease, box-shadow .3s ease; }
.video__play svg { width: 34px; height: 34px; margin-left: 4px; fill: var(--white); }
.video__label { position: relative; font: 700 15px/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.video__yt { position: absolute; right: 14px; bottom: 10px; font: italic 13px/1.2 var(--font); color: rgba(255, 255, 255, .85); text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.video__link:hover img, .video__link:focus-visible img { transform: scale(1.03); }
.video__link:hover::before { background: linear-gradient(180deg, rgba(0, 40, 44, .05), rgba(0, 40, 44, .4)); }
.video__link:hover .video__play, .video__link:focus-visible .video__play { transform: scale(1.08); box-shadow: 0 0 0 14px rgba(182, 201, 47, .3); }
.video__link:focus-visible { outline: 3px solid var(--white); outline-offset: -6px; }
.band-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.band-points li { padding-left: 18px; border-left: 2px solid var(--lime); }
.band-points h3 { font-size: 16px; line-height: 1.35; letter-spacing: .04em; text-transform: uppercase; color: var(--white); }
.band-points h3 a { color: inherit; }
.band-points h3 a:hover { color: var(--lime); }
.band-points p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--pale); }
@media (max-width: 1024px) {
  .band-video { grid-template-columns: 1fr; gap: 36px; }
  .band-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 30px; }
}
@media (max-width: 640px) {
  .band-points { grid-template-columns: 1fr; }
  .video__play { width: 64px; height: 64px; }
  .video__play svg { width: 28px; height: 28px; }
  .video__yt { display: none; }
}
@media (prefers-reduced-motion: reduce) { .video img, .video__play, .video__link::before { transition: none; } }

/* ---------- 9b. Closing call-to-action band (end of the Olib page) ---------- */
.cta-band { padding-inline: var(--frame); }
.cta-band__inner { position: relative; display: grid; justify-items: center; padding: 100px 30px 110px; overflow: hidden; background: var(--teal); color: var(--pale); text-align: center; isolation: isolate; }
.cta-band__inner::before, .cta-band__inner::after { content: ""; position: absolute; z-index: -1; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; pointer-events: none; }
.cta-band__inner::before { width: 520px; height: 520px; right: -180px; top: -280px; }
.cta-band__inner::after { width: 340px; height: 340px; left: -100px; bottom: -190px; }
.cta-band__eyebrow { font-style: italic; color: var(--pale); }
.cta-band h2 { margin-top: 20px; font-size: 24px; line-height: 33.6px; text-transform: uppercase; color: var(--white); text-wrap: balance; }
.cta-band .mk-head__line { margin-top: 33px; }
.cta-band__text { margin-top: 35px; max-width: 550px; color: var(--pale); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 20px; margin-top: 36px; }
.cta-band .btn-lime, .cta-band .btn-outline-white { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 12px 24px; font-size: 16px; line-height: 1; }
.cta-band .btn-lime:hover { background: var(--white); color: var(--teal); }

/* ---------- 9c. "His work on the island": beige band with three white cards (Our mission) ---------- */
.works { padding-inline: var(--frame); }
.works__inner { padding: 100px 0 110px; background: var(--beige); }
.works .mk-head { margin-bottom: 50px; }
.works__eyebrow { margin-bottom: 18px; font: 700 13px/1.4 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.works__grid { display: grid; gap: 34px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; }
.work { display: flex; flex-direction: column; background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .07); }
.work picture { overflow: hidden; }
.work img { width: 100%; aspect-ratio: 520 / 356; object-fit: cover; transition: transform .8s ease; }
.work:hover img { transform: scale(1.04); }
.work__body { display: grid; gap: 12px; align-content: start; padding: 26px 22px 30px; text-align: left; }
.work__tag { font: 700 13px/1.4 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.work h3 { font: 700 18px/1.3 var(--font); color: var(--ink); }
.work__text { font-size: 15px; line-height: 1.5; }
/* a card that has its own page: the photo and the title are links; the label of the product sits under the text */
.work__media { display: block; overflow: hidden; }
.work h3 a { color: inherit; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.work h3 a:hover { color: var(--teal); }
.work__body { position: relative; }
.work__badge { position: absolute; top: 22px; right: 22px; display: grid; justify-items: center; gap: 7px; width: 132px; margin: 0; padding: 10px 9px 8px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.work__badge span { font: 700 9.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); white-space: nowrap; }
.work .work__badge img { width: 112px; height: auto; aspect-ratio: auto; transform: none; transition: none; }
.work--badged .work__tag, .work--badged h3 { padding-right: 144px; }  /* room for the label */
@media (min-width: 768px) and (max-width: 1100px) {   /* three narrow cards: a smaller label */
  .work__badge { width: 106px; gap: 5px; padding: 8px 6px 6px; }
  .work__badge span { font-size: 8px; letter-spacing: .1em; }
  .work .work__badge img { width: 92px; }
  .work--badged .work__tag, .work--badged h3 { padding-right: 114px; }
}
/* Kušini page: plain product photo (no faded second image) and the label with its explanation */
.about__media.about__media--plain { padding-left: 0; }
.about__media.about__media--plain .main img { aspect-ratio: 4 / 3; }
/* Future plans: map link under the map, and the large aerial photo of Draga under the text */
.about__media figcaption a { color: var(--teal); }
.about__media a.main { display: block; }
.about__media.about__media--island .main { box-shadow: none; }   /* the map is just the island on a transparent background */
.about__media--island figcaption { text-align: center; }
/* Lightbox for the full map (Summer camp page) */
.lightbox { padding: 0; border: 0; max-width: 96vw; max-height: 94vh; overflow: auto; background: #fff; box-shadow: 0 12px 40px rgba(0, 0, 0, .45); }
.lightbox::backdrop { background: rgba(16, 28, 34, .78); }
.lightbox img { display: block; width: auto; height: auto; max-width: 96vw; max-height: 94vh; cursor: zoom-in; }
.lightbox.is-zoomed img { max-width: none; max-height: none; width: 2460px; cursor: zoom-out; }
.lightbox__close { position: fixed; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font: 400 30px/1 var(--font); box-shadow: 0 2px 10px rgba(0, 0, 0, .35); cursor: pointer; }
.lightbox__close:hover { background: var(--teal); color: #fff; }
.lightbox__close:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
/* Future plans: the island stays centred in its frame, the text moves in closer (gap 40 px and the text column
   pulled 14 % to the left over the empty side of the map), the title is level with the top of the map, and a thin
   teal line, like the one under the headings, runs from the summer-camp label (54.1 % across, 4.8 % down) to the title */
.about.about--camp { gap: 40px; align-items: start; }
.about--camp .about__body { margin-left: -14%; }
.about--camp .about__media--island .main::after { content: ""; position: absolute; left: 54.1%; right: calc(14% - 28px); top: 4.8%; border-top: 1px solid var(--teal); pointer-events: none; }
@media (max-width: 767px) {
  .about--camp .about__body { margin-left: 0; }
  .about--camp .about__media--island .main::after { display: none; }
  .about.about--camp .about__media--island .main img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 0; }   /* phones: crop the empty sides, the island fills the width */
  .about__media--island figcaption { text-align: left; }
}
.about__sub { font-size: 19px; line-height: 1.4; }
.camp-photo { margin: 70px 0 0; box-shadow: 0 0 20px rgba(0, 0, 0, .3); }
.camp-photo img { display: block; width: 100%; height: auto; }
.camp-more { margin-top: 18px; text-align: right; font-style: italic; }
.camp-more a { color: var(--teal); }
.camp-more a::after { content: " →"; font-style: normal; }
.block.block--voices { padding-top: 0; }
@media (max-width: 767px) { .camp-photo { margin-top: 40px; } .camp-more { text-align: left; } }
.label-note { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line, #e6e6e6); font-size: 14px; line-height: 1.5; }
.label-note img { width: 150px; height: auto; }
/* Cards with a check list (Accommodation > house rules): white card, teal line on top, icon + title, ticks */
.checkcards { display: grid; gap: 34px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin: 0 auto; padding: 0; list-style: none; text-align: left; }
.checkcard { padding: 34px 34px 38px; background: var(--white); border-top: 3px solid var(--teal); box-shadow: 0 1px 3px rgba(0, 0, 0, .07); }
.checkcard h3 { display: flex; align-items: center; gap: 14px; font: 700 18px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.checkcard h3 .icon { width: 30px; height: 30px; color: var(--teal); }
.checkcard ul { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.checkcard li { display: flex; align-items: flex-start; gap: 14px; font-weight: 400; }
.checkcard li .icon { margin-top: .28em; color: var(--teal); stroke-width: 2.2; }
/* Kušini page: three figures about the plant, and three reasons from tradition and research */
.stats { display: grid; gap: 34px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; }
.stat { padding: 34px 26px 36px; background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .07); text-align: center; }
.stat__num { font: normal 600 52px/1 var(--font-num); color: var(--teal); }
.stat__unit { margin-top: 10px; font: 700 13px/1.4 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.stat__text { margin-top: 16px; font-size: 15px; line-height: 1.5; font-weight: 400; }
.reasons { display: grid; gap: 40px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; text-align: left; }
.reason { padding-top: 22px; border-top: 2px solid var(--lime); }
.reason h3 { font: 700 18px/1.3 var(--font); color: var(--ink); }
.reason p { margin-top: 12px; }
.sources { margin-top: 40px; font-size: 13px; font-weight: 400; font-style: italic; text-align: center; }
.sources a { text-decoration: underline; text-underline-offset: 2px; }
.cta-band__more { margin-top: 26px; font-size: 15px; }
.cta-band__more a { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.cta-band__more a:hover { color: var(--lime); }

/* ---------- 9d. "The Blue House project": photo of the house under a dark teal veil, white text (Our mission) ---------- */
.project { padding-inline: var(--frame); }
.project__inner { position: relative; padding: 110px 0 110px; overflow: hidden; isolation: isolate; background: #00363a; color: rgba(255, 255, 255, .9); }
.project__inner > picture, .project__inner > picture img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.project__inner > picture img { object-fit: cover; object-position: 50% 40%; }
.project__inner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 50, 55, .74), rgba(0, 42, 46, .84)); }
.project :focus-visible { outline-color: var(--white); }
.project .mk-head { max-width: 800px; margin-bottom: 60px; }
.project__eyebrow { margin-bottom: 18px; font: 700 var(--fs-xs)/1.4 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.project .mk-head h2 { color: var(--white); }
.project .mk-head__sub { color: var(--white); }
.project .mk-head__line { border-color: var(--lime); }
.project .mk-head__text { font-size: var(--fs-md); color: rgba(255, 255, 255, .92); }
.pillars { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; }
.pillar { display: grid; gap: 14px; align-content: start; justify-items: start; padding: 34px 30px 36px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(0, 34, 38, .45); text-align: left; }
.pillar .icon { width: 34px; height: 34px; stroke: var(--lime); stroke-width: 1.5; }
.pillar h3 { font: 700 var(--fs-md)/1.3 var(--font); color: var(--white); text-wrap: balance; }
.pillar p { font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .88); }
.project__cta { display: flex; justify-content: center; margin-top: 50px; }
.project__cta .btn-lime { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 12px 24px; font-size: 16px; line-height: 1; }
.project__cta .btn-lime:hover { background: var(--white); color: var(--teal); }

/* ---------- 10. How to get to us (home page only) ----------
   The approved section (build/map/how-to-get-to-us-original.html): muted map, white card with a photo strip,
   teal pin and dashed routes, in its own palette. Everything is drawn on the 1392 x 611 map canvas and scales with
   the width (1u = map width / 1392), exactly as in the original. Only below 760px (phones) the card stacks above the map. */
.bh { container: bh / inline-size; padding-inline: var(--frame); --bh-teal: #4498a0; --bh-green: #bac84e; --bh-ink: #333333; --bh-muted: #878787; }
.bh-stage { --u: calc(100cqw / 1392); position: relative; }
.bh-mapwrap { position: relative; aspect-ratio: 1392 / 611; overflow: hidden; background: #ebede2; }
.bh-map { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.bh-card { position: absolute; left: calc(64 * var(--u)); top: calc(48.5 * var(--u)); width: calc(495.5 * var(--u)); height: calc(498 * var(--u)); display: flex; background: #fff; color: var(--bh-ink); }
.bh-photo, .bh-banner { margin: 0; }
.bh-photo { flex: 0 0 calc(149 * var(--u)); height: 100%; }
.bh-photo picture, .bh-photo img { display: block; width: 100%; height: 100%; }
.bh-photo img { object-fit: cover; }
.bh-banner { display: none; }
.bh-body { position: relative; flex: 1 1 auto; min-width: 0; }
.bh h2 { position: absolute; left: calc(32 * var(--u)); top: calc(67.25 * var(--u)); margin: 0; font-size: calc(19 * var(--u)); line-height: 1; font-weight: 400; text-transform: uppercase; letter-spacing: calc(.1 * var(--u)); color: var(--bh-ink); }
.bh-rule { position: absolute; left: calc(32 * var(--u)); top: calc(110 * var(--u)); width: calc(34 * var(--u)); height: max(.5px, calc(.5 * var(--u))); background: var(--bh-teal); }
.bh p { position: absolute; left: calc(32 * var(--u)); top: calc(126 * var(--u)); width: calc(286 * var(--u)); margin: 0; font-size: calc(13 * var(--u)); line-height: calc(18 * var(--u)); font-weight: 400; letter-spacing: calc(-.05 * var(--u)); color: var(--bh-muted); }
.bh-airports { position: absolute; left: calc(32 * var(--u)); top: calc(362.5 * var(--u)); margin: 0; padding: 0; list-style: none; display: flex; }
.bh-airports li { width: calc(85 * var(--u)); display: flex; flex-direction: column; align-items: center; text-align: center; }
.bh-airports svg { display: block; width: calc(40 * var(--u)); height: calc(40 * var(--u)); }
.bh-green { fill: var(--bh-green); }
.bh-airports b { margin-top: calc(9 * var(--u)); font-weight: 400; font-size: calc(13 * var(--u)); line-height: calc(14 * var(--u)); color: var(--bh-ink); white-space: nowrap; }
.bh-airports i { margin-top: calc(14.5 * var(--u)); font-style: italic; font-weight: 400; font-size: calc(11.5 * var(--u)); line-height: calc(14 * var(--u)); color: var(--bh-muted); white-space: nowrap; }
.bh p.bh-note { top: calc(464 * var(--u)); width: calc(300 * var(--u)); white-space: nowrap; font-size: calc(11 * var(--u)); line-height: calc(14 * var(--u)); font-style: italic; letter-spacing: 0; }
@container bh (max-width: 760px) {
  .bh-stage { display: flex; flex-direction: column-reverse; margin-top: var(--frame); }
  .bh-mapwrap { aspect-ratio: 860 / 611; }
  .bh-card { position: relative; left: auto; top: auto; width: 100%; height: auto; flex-direction: column; }
  .bh-photo { display: none; }
  .bh-banner { display: block; }
  .bh-banner img { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 440px; object-fit: cover; }
  .bh-body { display: flex; flex-direction: column; padding: 28px 20px 32px; }
  .bh h2, .bh-rule, .bh p, .bh-airports { position: static; }
  .bh h2 { font-size: 22px; letter-spacing: .02em; text-wrap: balance; }
  .bh-rule { margin-top: 20px; width: 34px; height: 1px; }
  .bh p { width: auto; max-width: 62ch; margin-top: 18px; font-size: 15px; line-height: 1.6; letter-spacing: 0; }
  .bh-airports { margin-top: 26px; justify-content: space-between; max-width: 320px; }
  .bh-airports li { width: auto; flex: 1 1 0; }
  .bh-airports svg { width: 44px; height: 44px; }
  .bh-airports b { margin-top: 10px; font-size: 15px; line-height: 1.2; }
  .bh-airports i { margin-top: 8px; font-size: 13px; line-height: 1.2; }
  .bh p.bh-note { width: auto; white-space: normal; margin-top: 18px; font-size: 13px; line-height: 1.5; }
}

/* ---------- 11. Reviews: photo background with white fade ---------- */
.reviews { padding-inline: var(--frame); }
.reviews__inner { position: relative; display: grid; align-content: start; justify-items: center; min-height: 600px; padding: 100px 30px; text-align: center; overflow: hidden; isolation: isolate; }
.reviews__inner > picture, .reviews__inner > picture img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.reviews__inner > picture img { object-fit: cover; object-position: 50% 70%; }
.reviews__inner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .92) 35%, rgba(255, 255, 255, 0) 70%); }
.reviews blockquote { max-width: 700px; margin-top: 30px; font: italic 400 18px/27px var(--font); color: var(--text); }
.reviews figcaption { margin-top: 18px; font-size: 14px; color: var(--ink); }

/* photo-background feature (mission page "Blue House project") reuses the reviews look */
.photo-feature .reviews__inner { min-height: 760px; padding-bottom: 260px; }
.photo-feature .reviews__inner::before { background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .95) 64%, rgba(255, 255, 255, 0) 90%); }
.photo-feature .points { max-width: 980px; margin-top: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; text-align: center; }

/* ---------- 12. Beige band with inquiry form (Mokrin newsletter style) ---------- */
.inquiry { padding-inline: var(--frame); }
.inquiry__inner { padding: 70px 30px; background: var(--beige); }
.inquiry .mk-head { margin-bottom: 0; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 22px auto 0; list-style: none; padding: 0; font-size: 14px; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .icon { color: var(--teal); stroke-width: 2.2; }
.form-box { max-width: 760px; margin: 30px auto 0; padding: 30px; background: var(--white); }
.form-grid { display: grid; gap: 16px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--ink); }
.field .req { color: var(--error); }
.field .opt { color: var(--text); font-style: italic; }
.input { width: 100%; min-height: 42px; padding: 9px 14px; background: var(--white); border: 1px solid #d6d6d6; border-radius: 0; color: #000; font-size: 16px; transition: border-color .2s ease, box-shadow .2s ease; }
textarea.input { min-height: 120px; resize: vertical; }
select.input { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23009aa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; }
.input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field__error { font-size: 13px; font-weight: 700; color: var(--error); }
.field__error:empty { display: none; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; color: var(--ink); cursor: pointer; }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--teal); cursor: pointer; }
.form-foot { display: grid; gap: 12px; justify-items: center; text-align: center; }
.form-note { font-size: 13px; font-style: italic; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; gap: 10px; align-items: flex-start; width: 100%; padding: 14px 16px; font-weight: 700; text-align: left; }
.form-status.is-success { display: flex; background: #e8f5e9; color: var(--success); }
.form-status.is-error { display: flex; background: #fdecea; color: var(--error); }
.form-status .icon { width: 20px; height: 20px; stroke-width: 2.2; }
.direct { margin-top: 22px; text-align: center; font-size: 14px; }
.direct a { font-weight: 700; }

/* ---------- 13. Subpage banner ---------- */
.banner { padding-inline: var(--frame); }
.banner__inner { position: relative; display: grid; place-content: center; justify-items: center; gap: 22px; height: 280px; padding: 0 20px; overflow: hidden; text-align: center; color: var(--white); isolation: isolate; background: #3a3a3a; }
.banner__inner > picture, .banner__inner > picture img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.banner__inner > picture img { left: auto; width: calc(100% * var(--zoom, 1)); max-width: none; object-fit: cover; } /* --zoom > 1: wider photo anchored right, the subject moves left */
.banner__inner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, var(--shade, .3)); } /* --shade: how dark the veil over the photo is */
.banner h1 { color: var(--white); font: 600 44px/44px var(--font); text-transform: uppercase; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.banner p { font: italic 400 17px/1.4 var(--font); text-shadow: 0 1px 3px rgba(0, 0, 0, .5), 0 1px 12px rgba(0, 0, 0, .4); }

/* ---------- 14. Subpage content blocks ---------- */
.block { padding: 80px 0; }
.intro { padding: 80px 0 30px; }
.intro .mk-head { max-width: 560px; margin-bottom: 0; }
.intro .mk-head__text { font-style: normal; }

/* two columns: image composition | text (Mokrin "About us" block) */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.about__media { position: relative; padding-left: 90px; }
.about__media .fade { position: absolute; left: 0; top: 40px; bottom: 40px; width: 55%; opacity: .45; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 100%); }
.about__media .fade img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); }
.about__media .main { position: relative; box-shadow: 0 0 20px rgba(0, 0, 0, .3); }
.about__media .main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__media figcaption { position: relative; margin-top: 14px; font-size: 13px; font-style: italic; }
.about__body { display: grid; gap: 16px; justify-items: start; }
.about__body h2 { font-size: 24px; text-transform: uppercase; }
.about__body .mk-head__line { width: 42px; margin: 4px 0; }
.facts-inline { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; font-size: 14px; }
.facts-inline li::before { content: "/"; margin-right: 8px; color: var(--lime); font-weight: 700; }

/* beige framed block: text | overlapping images (Mokrin "Workspace" block) */
.beige { padding-inline: var(--frame); }
.beige__inner { background: var(--beige); padding: 80px 0; }
.beige__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.beige__text { display: grid; gap: 16px; justify-items: start; padding-left: 52px; }
.beige__text h2 { font-size: 24px; text-transform: uppercase; }
.beige__text .mk-head__line { width: 42px; margin: 4px 0; }
.collage { position: relative; padding: 0 0 70px; }
.collage > picture:first-child img { width: 78%; margin-left: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.collage > picture:nth-child(2) { position: absolute; left: 0; bottom: 0; width: 60%; box-shadow: 0 0 20px rgba(0, 0, 0, .3); }
.collage > picture:nth-child(2) img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.points { display: grid; gap: 18px; list-style: none; padding: 0; }
.points h3 { font-size: 18px; color: var(--ink); text-transform: uppercase; }
.points p { margin-top: 6px; }

/* alternating rows: image | centred text (Mokrin "Stay here") */
.rows { display: grid; gap: 80px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.row__media { position: relative; }
.row__media > picture img { width: 100%; aspect-ratio: 680 / 490; object-fit: cover; }
.row__media--duo { padding-bottom: 60px; }
.row__media--duo > picture:nth-child(2) { position: absolute; right: -20px; bottom: 0; width: 42%; border: 6px solid var(--white); box-shadow: 0 0 20px rgba(0, 0, 0, .25); }
.row__media--duo > picture:nth-child(2) img { aspect-ratio: 1; }
.row__text { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 0 30px; }
.row__text h2 { font-size: 24px; text-transform: uppercase; }
.row__text .mk-head__line { margin: 6px 0 10px; }
.row--reverse .row__media { order: 2; }
.row__list { list-style: none; padding: 0; display: grid; gap: 6px; }
.factnote { margin-top: 6px; font-size: 14px; font-style: italic; color: var(--ink); }
.factnote strong { font: 600 22px/1 var(--font-num); color: var(--lime-ink); margin-right: 6px; }
.factnote--tip strong { font: 700 13px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-right: 10px; }
.fishes { font-size: 14px; }
.fishes i { color: var(--ink); }

/* gallery row (Mokrin home "Gallery": teal layer with a white bordered label on hover) */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
.gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery figure { position: relative; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 285 / 312; object-fit: cover; transition: transform .8s ease; }
.gallery--3 img { aspect-ratio: 380 / 300; }
.gallery figcaption { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px; text-align: center; color: var(--white); background: rgba(0, 154, 163, .86); opacity: 0; transition: opacity .4s ease; }
.gallery figcaption strong { display: inline-block; padding: 12px 22px; border: 1px solid rgba(255, 255, 255, .6); color: var(--white); font: 500 16px/1.2 var(--font); text-transform: uppercase; }
.gallery figcaption span { font-size: 14px; font-style: italic; }
.gallery figure:hover figcaption, .gallery figure:focus-within figcaption { opacity: 1; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery-caps { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; list-style: none; padding: 0; }
.gallery-caps li { text-align: center; font-size: 14px; }
.gallery-caps strong { display: block; color: var(--ink); font-weight: 400; text-transform: uppercase; font-size: 16px; }

/* sunshine figure (location) */
/* Location: the map in the centre, the comparison with other cities below it */
.sun-map { max-width: 640px; margin-inline: auto; text-align: center; }
.sun-map img { width: 100%; height: auto; }
.sun-map .legend { justify-items: center; }
.sun-map .legend ul { width: 100%; max-width: 520px; text-align: left; }
.sun-compare { display: grid; justify-items: center; max-width: 640px; margin: 70px auto 0; text-align: center; }
.sun-compare .mk-head { margin-bottom: 30px; }
.sun-compare .sunchart { max-width: 640px; margin: 0 0 24px; }
.sun-compare .sunchart-note { margin-top: 10px; }
.legend { display: grid; gap: 10px; margin-top: 18px; }
.legend__title { font-size: 14px; color: var(--ink); text-transform: uppercase; }
.legend ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 14px; list-style: none; padding: 0; font-size: 14px; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend li span { width: 26px; height: 14px; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.sun-map figcaption { margin-top: 10px; font-size: 13px; font-style: italic; }
.sun-text { max-width: 640px; margin: 36px auto 0; text-align: center; } /* the sunshine paragraph under the map */
.intro + .block.sun { padding-top: 40px; }
.sunchart { display: grid; gap: 12px; width: 100%; max-width: 460px; margin-top: 10px; list-style: none; padding: 0; text-align: left; }
.sunchart li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 12px; align-items: center; font-size: 14px; color: var(--ink); }
.sunchart__track { height: 24px; background: var(--beige); }
.sunchart__bar { display: flex; align-items: center; justify-content: flex-end; height: 100%; width: var(--w); padding-right: 8px; background: #b2dfe2; font-size: 12px; font-weight: 700; color: var(--ink); }
.sunchart li:first-child .sunchart__bar { background: var(--lime); color: var(--lime-text); }
.sunchart-note { font-size: 13px; font-style: italic; }

/* numbered steps without images (re-uses the 01/02/03 card look) */
/* How to travel: photo on the left, steps 01-02-03 stacked on the right */
.travel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.travel__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.travel__steps { display: grid; gap: 34px; padding: 0; margin: 0; list-style: none; text-align: left; }
.travel__step { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.travel__num { font: normal 600 44px/1 var(--font-num); color: var(--lime-ink); }
.travel__step h3 { font-size: var(--fs-md); font-weight: 300; line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; }
.travel__step p { margin-top: 8px; }
.travel__step ul { display: grid; gap: 2px; padding: 0; margin-top: 10px; list-style: none; font-size: 15px; font-weight: 400; }
.steps .card__num { margin-top: 0; }
.steps .card h3 { font-size: 20px; }
.steps .card p { font-style: normal; }
.steps .card ul { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 4px; font-size: 14px; }

/* contact page */
.contact-top { padding-inline: var(--frame); }
.contact-top__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); min-height: 600px; }
.map-embed { position: relative; display: grid; min-height: 420px; overflow: hidden; background: #ebede2; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed__placeholder { position: relative; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 30px; text-align: center; isolation: isolate; }
.map-embed__placeholder > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 63% 50%; z-index: -2; }
.map-embed__placeholder::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .55); }
.map-embed__placeholder p { max-width: 380px; font-size: 14px; color: var(--ink); }
.company { display: grid; align-content: center; justify-items: center; gap: 14px; padding: 50px 30px; background: var(--beige); text-align: center; }
.company h1 { font-size: 24px; text-transform: uppercase; }
.company h2 { font-size: 18px; text-transform: uppercase; }
.company h3 { font-size: 18px; text-transform: uppercase; }
.company dl { display: grid; gap: 10px; margin-top: 12px; font-size: 14px; }
.company dt { display: inline; font-weight: 700; color: #666666; }
.company dd { display: inline; overflow-wrap: anywhere; }
.company .ferries { margin-top: 10px; display: grid; gap: 6px; font-size: 14px; list-style: none; padding: 0; }
.words { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; padding: 80px 0; }
.words__text { display: grid; gap: 14px; }
.words__text h2 { font-size: 24px; text-transform: uppercase; text-align: center; }
.words__text > .mk-head__sub { text-align: center; }
.words__text .words__p { font-style: italic; margin-top: 16px; }
.signature { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.signature b { display: block; color: var(--ink); font-weight: 400; }
.signature i { font-size: 13px; }
.words__aside { display: grid; align-content: center; gap: 14px; }

/* privacy / plain text */
.prose { max-width: 760px; margin-inline: auto; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2em; font-size: 20px; text-transform: uppercase; }

/* ---------- 15. Footer ---------- */
.site-footer { background: var(--white); padding: 50px 0 0; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 208px); gap: 30px 20px; padding: 0 10px 50px; }
.site-footer__brand p { margin-top: 18px; font-size: 14px; font-style: italic; max-width: 240px; }
.footer-title { margin-bottom: 40px; font-size: 18px; line-height: 25.2px; color: var(--lime-ink); text-transform: uppercase; }
.footer-list { display: grid; gap: 15px; list-style: none; padding: 0; font-size: 14px; line-height: 22.4px; }
.footer-list a, .site-footer address a { color: var(--text); }
.footer-list a:hover, .site-footer address a:hover { color: var(--teal); }
.site-footer address { display: grid; gap: 15px; font-size: 14px; line-height: 22.4px; font-style: normal; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; width: min(100% - 60px, 1120px); padding: 18px 0 26px; border-top: 1px solid var(--line); font-size: 13px; }
.site-footer__bottom a { color: var(--text); }
.site-footer__bottom a:hover { color: var(--teal); }

/* ---------- 16. 404 ---------- */
.notfound { display: grid; gap: 18px; justify-items: center; padding: 100px 0; text-align: center; }
.notfound__code { font: 600 120px/1 var(--font-num); color: var(--lime-ink); }

/* ---------- 16b. Typography: light Lato text, wide-set light uppercase headings, larger italic sub-lines ---------- */
.mk-head h1, .mk-head h2, .row__text h2, .about__body h2, .words__text h2, .beige__text h2, .cta-band h2, .company h1, .prose h2 {
  font-size: var(--fs-lg); font-weight: 300; line-height: 1.25; letter-spacing: var(--track-caps); text-wrap: balance;
}
.mk-head__sub, .cta-band__eyebrow { font-size: var(--fs-md); font-weight: 400; line-height: 1.5; }
.mk-head__text, .words__text .words__p { font-style: normal; }
.mk-head { max-width: 760px; }
.welcome .mk-head, .welcome .mk-head__text, .intro .mk-head { max-width: 760px; }
.band .mk-head { max-width: 760px; }
.band .mk-head__sub { line-height: 1.5; }
.use h3, .steps .card h3, .points h3 { font-size: var(--fs-md); font-weight: 300; line-height: 1.3; letter-spacing: .04em; }
.use__text { font-size: var(--fs-base); }
.works__eyebrow, .work__tag, .use__tag { font-size: var(--fs-xs); }
.row__list { gap: 2px; }
/* small print stays regular weight so it remains readable */
.band__item p, .site-footer, .legend, figcaption, .form-note, .field label, .field__error, .input, .check, .trust, .direct,
.company dl, .facts-inline, .factnote, .fishes, .steps .card ul, .signature, .work__text, .label-note, .solo-note, .gallery-caps { font-weight: 400; }
.band__item p { font-size: var(--fs-sm); line-height: 1.55; }
.band__item h3 { letter-spacing: .04em; }
.footer-title { font-weight: 400; letter-spacing: .04em; }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1024px) {
  .slider { height: 560px; }
  .slider__caption h1 { font-size: 36px; line-height: 40px; }
  .slider__caption p { font-size: 22px; }
  .cards__grid { gap: 24px; }
  .works__grid { gap: 20px; }
  .travel { gap: 40px; }
  .pillars { gap: 16px; }
  .pillar { padding: 28px 22px 30px; }
  .uses__grid { gap: 24px; }
  .band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about, .beige__grid, .row, .words { gap: 40px; }
  .about__media { padding-left: 40px; }
  .beige__text { padding-left: 30px; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-top__grid { grid-template-columns: 1fr; }
  .photo-feature .points { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .slider { height: 480px; }
  .slider__caption { padding: 40px 50px; gap: 16px; }
  .slider__caption h1 { font-size: 30px; line-height: 34px; }
  .slider__caption p { font-size: 19px; }
  .find-more { width: 240px; padding: 16px 14px 10px; font-size: 14px; }
  .welcome { padding-top: 50px; }
  .mk-head { margin-bottom: 36px; }
  .cards__grid, .band__grid, .band__grid--3, .gallery--3 { grid-template-columns: 1fr; }
  .stats, .reasons, .checkcards { grid-template-columns: 1fr; gap: 24px; }
  .checkcard { padding: 28px 22px 30px; }
  .label-note { grid-template-columns: 1fr; }
  .works__grid { grid-template-columns: 1fr; gap: 24px; }
  .travel { grid-template-columns: 1fr; gap: 36px; }
  .travel__step { grid-template-columns: 60px minmax(0, 1fr); }
  .travel__num { font-size: 36px; }
  .pillars { grid-template-columns: 1fr; gap: 16px; }
  .project__inner { padding: 70px 0; }
  .pillar { padding: 26px 22px 28px; }
  .uses__grid { grid-template-columns: 1fr; gap: 40px; padding: 0; }
  .solo-note { margin-inline: 0; padding: 18px; align-items: flex-start; }
  .works__inner { padding: 60px 0 70px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-caps { display: none; }
  .gallery figcaption { opacity: 1; align-content: end; background: linear-gradient(0deg, rgba(0, 154, 163, .9), rgba(0, 154, 163, 0) 65%); }
  .gallery figcaption strong { padding: 8px 12px; font-size: 14px; }
  .gallery figcaption span { display: none; }
  .connector span { height: 90px; }
  .connector--into-band span { height: 131px; }
  .band__inner { padding: 30px 16px 50px; }
  .cta-band__inner { padding: 60px 20px 70px; }
  .cta-band__inner::before { width: 320px; height: 320px; right: -150px; top: -190px; }
  .cta-band__inner::after { width: 220px; height: 220px; left: -90px; bottom: -130px; }
  .band__item img, .band__grid--3 .band__item img { aspect-ratio: 4 / 3; }
  .banner__inner { height: 220px; }
  .banner h1 { font-size: 32px; line-height: 36px; }
  .block { padding: 50px 0; }
  .intro { padding: 50px 0 10px; }
  .about, .beige__grid, .row, .words { grid-template-columns: 1fr; }
  .about__media { padding: 0; }
  .about__media .fade { display: none; }
  .row--reverse .row__media { order: 0; }
  .row__media--duo > picture:nth-child(2) { right: 0; }
  .rows { gap: 50px; }
  .row__text { padding: 0; }
  .beige__inner { padding: 50px 0; }
  .beige__text { padding-left: 0; }
  .collage > picture:first-child img { width: 85%; }
  .inquiry__inner { padding: 50px 16px; }
  .form-box { padding: 20px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .reviews__inner { min-height: 460px; padding: 60px 16px; }
  .photo-feature .reviews__inner { padding-bottom: 200px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .legend ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sunchart li { grid-template-columns: 7.5rem minmax(0, 1fr); }
  .company { padding: 40px 20px; }
  .words { padding: 50px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .slider__arrow, .slider__pause, .find-more, .inquiry, .map-embed { display: none !important; }
}
