/* NG HOME — minimal stylesheet */

/* Manrope (variable 300–700), self-hosted — SIL Open Font License */
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/manrope-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f6f4f0;
  --surface: #ffffff;
  --ink: #1c1c1a;
  --muted: #6b675f;
  --line: #e2ddd4;
  --stone: #b9b1a4;
  --accent: #2c7a80;
  --gold: #a98a60; /* mid-tone of the logo's "Modern Design" bar (#e8cfa6 → #a0825e) */
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 92px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: block;
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); }
.site-header .wrap {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

/* Logo placeholder: replace .logo__text with <img> / inline SVG when the logo is ready */
.logo { display: inline-flex; align-items: center; }
/* JPG-derived logo has an off-white background: multiply blends it into the header */
.logo img { height: calc(var(--header-h) - 20px); width: auto; mix-blend-mode: multiply; }

.header-end { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.header-cta {
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid currentColor;
}

.lang-switch ul { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.lang-switch a {
  display: block; padding: .35rem .5rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em;
  text-decoration: none; color: var(--muted);
  transition: color .2s;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }

@media (max-width: 560px) { :root { --header-h: 76px; } .header-cta { display: none; } }

/* Slider */
.slider { position: relative; background: #ddd8cf; }
.slider__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.slider__slide img {
  width: 100%; height: clamp(320px, 78vh, 820px);
  object-fit: cover;
}
@media (max-width: 700px) { .slider__slide img { height: auto; aspect-ratio: 4 / 3; } }

.slider__ui {
  position: absolute; left: 0; right: 0; bottom: clamp(1rem, 3vw, 2rem);
  pointer-events: none;
}
.slider__ui .wrap { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; }
.slider__count {
  font-size: .8125rem; font-weight: 600; letter-spacing: .12em; color: #fff;
  text-shadow: 0 1px 8px rgb(0 0 0 / .35); font-variant-numeric: tabular-nums;
}
.slider__btn {
  pointer-events: auto;
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgb(255 255 255 / .9); color: var(--ink);
  transition: background .2s, transform .2s var(--ease);
}
.slider__btn:hover { background: #fff; transform: scale(1.06); }
.slider__btn:disabled { opacity: .45; cursor: default; transform: none; }
.slider__btn svg { width: 18px; height: 18px; }
.no-js .slider__btn { display: none; }

/* Sections */
.section { padding-block: clamp(4.5rem, 11vw, 9rem); }
.section + .section { border-top: 1px solid var(--line); }

.intro { text-align: center; }
.intro .wrap { max-width: 900px; }
.tagline {
  font-size: clamp(2.25rem, 6vw, 4.5rem); font-weight: 300; line-height: 1.08; letter-spacing: -0.03em;
  text-wrap: balance;
}
.tagline strong { font-weight: 700; }
.intro h1 { margin-top: 1.75rem; font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 500; color: var(--muted); }
.intro .lead { margin: 2rem auto 0; max-width: 620px; font-size: clamp(1.0625rem, 1.6vw, 1.2rem); }

.split { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.split h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: 1.5rem; }
.split p + p { margin-top: 1.25rem; }
.split p { color: #3b3935; }
.split figure { margin: 0; }
.split figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Features */
.features h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); max-width: 18ch; }
/* Four equal, centred cells with hairline dividers, so a wide value (110–130) doesn't unbalance the row */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; list-style: none;
  background: var(--line); border-block: 1px solid var(--line);
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(1.75rem, 4vw, 2.75rem) 1rem; background: var(--bg); text-align: center;
}
.stats__value {
  font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 300; line-height: 1;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.stats__label {
  margin-top: .9rem; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}

.amenities {
  display: grid; gap: 1rem;
  margin: 1rem 0 0; padding: 0; list-style: none;
}
@media (min-width: 700px) { .amenities { grid-template-columns: repeat(3, 1fr); } }
.amenities li {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.5rem; background: var(--surface);
  font-weight: 500;
}
.amenities svg { flex: none; width: 32px; height: 32px; color: var(--gold); }

/* Gallery (PhotoSwipe) */
.gallery h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.gallery__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.5rem, 1.5vw, 1rem);
  margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; list-style: none;
}
@media (min-width: 900px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); } }
.gallery__grid a { display: block; overflow: hidden; background: #ddd8cf; cursor: zoom-in; }
.gallery__grid img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .8s var(--ease), opacity .3s;
}
@media (hover: hover) {
  .gallery__grid a:hover img { transform: scale(1.04); }
}
.gallery__note { margin-top: 1.25rem; font-size: .8125rem; color: var(--muted); }

/* Statement */
.statement { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.statement__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.statement::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(20 22 22 / .55); }
.statement .wrap { padding-block: clamp(6rem, 16vw, 12rem); text-align: center; max-width: 860px; }
.statement h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); font-weight: 300; letter-spacing: -0.02em; }
.statement p { margin-top: 1.5rem; font-size: clamp(1.0625rem, 1.6vw, 1.2rem); opacity: .9; }

/* Contact */
.contact h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); font-weight: 300; letter-spacing: -0.02em; }
.contact .lead { margin-top: 1.25rem; color: var(--muted); max-width: 46ch; }
.contact__list { display: grid; gap: 0; margin: 0; }
.contact__list > div { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.contact__list > div:first-child { border-top: 1px solid var(--line); }
.contact__list dt { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact__list dd { margin: .35rem 0 0; font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 500; }
.contact__list a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.contact__list a:hover { background-size: 100% 1px; }
.contact__list address { font-style: normal; }

.btn {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 2rem;
  padding: 1rem 1.75rem; background: var(--ink); color: #fff;
  font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  transition: background .25s;
}
.btn:hover { background: var(--accent); }

/* Footer */
.site-footer { padding-block: 2.5rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

.link-btn {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--ink); }

/* Cookie banner */
.cookie {
  position: fixed; z-index: 90; left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 440px; padding: 1.25rem 1.5rem;
  background: var(--surface); color: var(--ink);
  box-shadow: 0 10px 40px rgb(0 0 0 / .14);
  font-size: .9375rem; line-height: 1.55;
}
.cookie[hidden] { display: none; }
.cookie__actions { display: flex; gap: .75rem; margin-top: 1rem; }
.cookie__btn {
  flex: 1; padding: .75rem 1rem; cursor: pointer;
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font: inherit; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transition: background .2s, border-color .2s;
}
.cookie__btn:hover { background: var(--accent); border-color: var(--accent); }

/* Reveal on scroll (only when JS is running) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* Legal page */
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 300; letter-spacing: -0.02em; }
.legal__updated { margin-top: .75rem; font-size: .875rem; color: var(--muted); }
.legal h2 { margin: 3rem 0 1rem; font-size: 1.25rem; }
.legal p { color: #3b3935; }
.legal p + p { margin-top: 1rem; }
.legal a { text-underline-offset: 3px; }
.legal .link-btn { color: var(--ink); }
.legal__back { margin-top: 3.5rem; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .875rem; }
.legal th, .legal td { padding: .75rem .75rem .75rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.legal td:first-child { font-weight: 600; white-space: nowrap; }

.cookie p a { color: inherit; text-underline-offset: 3px; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(3rem, 10vw, 6rem); font-weight: 300; }
.notfound p { margin-top: 1rem; color: var(--muted); }
.notfound nav { margin-top: 2rem; display: flex; gap: 1.5rem; justify-content: center; }
