/* Omotly: shared styles for all pages */
:root {
  /* Quiet editorial palette: warm paper, the logo's navy, one clay accent */
  --paper:#f5f2ec;        /* page background */
  --paper-2:#ebe6dc;      /* soft blocks */
  --ink:#0f1c27;          /* text */
  --navy:#0d3350;         /* logo colour: dark sections */
  --muted:#646a70;
  --clay:#b8643c;         /* accent: labels, links, hover */
  --line:rgba(15,28,39,.14);
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
}
* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { font-family:var(--sans); color:var(--ink); background:var(--paper); line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
a { color:inherit; text-decoration:none; }
button { font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
.wrap { max-width:1240px; margin:0 auto; padding:0 32px; }

/* small uppercase labels: "01 — Approach" */
.label { display:flex; gap:14px; align-items:center; font-size:12px; letter-spacing:2.5px; text-transform:uppercase; color:var(--muted); }
.label b { font-weight:500; color:var(--clay); }
h1, h2, h3 { font-weight:500; letter-spacing:-.025em; line-height:1.05; }
h2 { font-size:clamp(34px, 5vw, 64px); max-width:16ch; }
em { font-family:var(--serif); font-style:italic; font-weight:400; letter-spacing:-.01em; }

/* ---- Header ---- */
header { position:fixed; inset:0 0 auto; z-index:20; transition:background .5s, border-color .5s; border-bottom:1px solid transparent; }
header.scrolled { background:rgba(245,242,236,.86); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-color:var(--line); }
header .wrap { display:flex; align-items:center; justify-content:space-between; height:76px; gap:24px; }
.logo img { height:20px; width:auto; display:block; }
nav { display:flex; align-items:center; gap:34px; font-size:14px; }
nav a { position:relative; color:var(--ink); }
nav a::after { content:""; position:absolute; left:0; right:100%; bottom:-4px; height:1px; background:currentColor; transition:right .4s cubic-bezier(.2,.7,.2,1); }
nav a:hover::after { right:0; }
.lang { display:flex; gap:2px; font-size:12px; letter-spacing:1px; }
.lang button { padding:6px 8px; color:var(--muted); transition:color .3s; }
.lang button.on { color:var(--ink); font-weight:600; }

/* ---- Hero ---- */
.hero { padding:180px 0 60px; }
.hero h1 { font-size:clamp(46px, 9vw, 132px); margin:34px 0 56px; max-width:11ch; }
.hero-foot { display:flex; justify-content:space-between; align-items:flex-end; gap:40px; border-top:1px solid var(--line); padding-top:28px; }
.hero-foot p { font-size:clamp(17px, 1.6vw, 21px); max-width:520px; color:var(--muted); }
.scroll { font-size:13px; letter-spacing:2px; text-transform:uppercase; white-space:nowrap; display:flex; gap:10px; align-items:center; }
.scroll span { display:inline-block; animation:bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform:translateY(5px); } }

/* Hero photo: a real <img> (so search engines see it), cropped to fill the frame.
   "55% 68%" = which part stays in view when the photo is cropped: sofa and table */
.hero-img { margin-top:20px; height:min(68vh, 640px); border-radius:4px; position:relative; overflow:hidden; background:#b9a58e; }
.hero-img img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:55% 68%; display:block; }
.hero-img::after { content:attr(data-caption); position:absolute; left:24px; bottom:20px; color:rgba(255,255,255,.85); font-size:12px; letter-spacing:2px; text-transform:uppercase; text-shadow:0 1px 8px rgba(0,0,0,.45); }

/* ---- Amenity ticker ---- */
.ticker { border-block:1px solid var(--line); overflow:hidden; padding:22px 0; margin-top:90px; }
.ticker-track { display:flex; width:max-content; animation:slide 40s linear infinite; }
.ticker span { font-size:clamp(20px, 2.4vw, 30px); letter-spacing:-.01em; white-space:nowrap; padding-right:48px; }
.ticker span::after { content:"✦"; color:var(--clay); font-size:.55em; margin-left:48px; vertical-align:middle; }
@keyframes slide { to { transform:translateX(-50%); } }

/* ---- Sections ---- */
section.block { padding:150px 0 0; }
.head { display:grid; grid-template-columns:260px 1fr; gap:40px; margin-bottom:80px; }
.head p.sub { color:var(--muted); font-size:18px; max-width:520px; margin-top:28px; }

/* Approach: three numbered pillars */
.pillars { display:grid; grid-template-columns:repeat(3, 1fr); border-top:1px solid var(--line); }
.pillar { padding:36px 36px 10px 0; }
.pillar + .pillar { padding-left:36px; border-left:1px solid var(--line); }
.pillar .n { font-size:13px; color:var(--clay); letter-spacing:1px; }
.pillar h3 { font-size:30px; margin:60px 0 14px; }
.pillar p { color:var(--muted); max-width:34ch; }

/* Numbers */
.stats { display:grid; grid-template-columns:repeat(3, 1fr); gap:32px; margin-top:120px; }
.stat strong { display:block; font-size:clamp(64px, 9vw, 128px); font-weight:400; letter-spacing:-.02em; line-height:1; }
.stat > span { display:block; margin-top:12px; color:var(--muted); font-size:15px; border-top:1px solid var(--line); padding-top:14px; }

/* Cities */
.cities { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.city { border-radius:4px; padding:44px; min-height:560px; display:flex; flex-direction:column; justify-content:space-between; color:#f5f2ec; position:relative; overflow:hidden; }
.city.poz { background:var(--navy); }
.city.kat { background:#3d4a3f; }
.city .top { display:flex; justify-content:space-between; font-size:13px; letter-spacing:2px; text-transform:uppercase; opacity:.75; }
.city h3 { font-size:clamp(52px, 7vw, 96px); margin:40px 0 10px; }
.city .tag { opacity:.8; font-size:17px; }
.city ul { list-style:none; margin-top:44px; font-size:15px; }
.city li { display:flex; justify-content:space-between; gap:16px; padding:12px 0; border-top:1px solid rgba(245,242,236,.2); }
.city li span { opacity:.7; text-align:right; }

/* Apartments: 3 featured photo tiles of different sizes (one big on the left, two stacked on the right) */
.tiles { display:grid; grid-template-columns:repeat(12, 1fr); grid-template-rows:repeat(2, clamp(260px, 29vw, 400px)); gap:20px; }
.tile { position:relative; overflow:hidden; border-radius:4px; color:#f5f2ec; display:flex; flex-direction:column; justify-content:space-between; }
.tile.t1 { grid-column:span 7; grid-row:span 2; }
.tile.t2, .tile.t3 { grid-column:span 5; }
.tile .bg { position:absolute; inset:0; display:block; transition:transform 1.6s cubic-bezier(.2,.7,.2,1); }
.tile .bg img { width:100%; height:100%; object-fit:cover; display:block; }
.tile:hover .bg { transform:scale(1.045); }
/* dark fade at the bottom (for the name) and a light one at the top (for the small labels), so white text stays readable */
.tile::after { content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
               background:linear-gradient(to top, rgba(10,20,30,.72) 0%, rgba(10,20,30,.3) 32%, rgba(10,20,30,0) 58%),
                          linear-gradient(to bottom, rgba(10,20,30,.35) 0%, rgba(10,20,30,0) 20%); }
.tile > .no, .tile > .txt { position:relative; z-index:2; text-shadow:0 1px 12px rgba(0,0,0,.25); }
.tile .no { padding:24px 28px; font-size:12px; letter-spacing:2px; text-transform:uppercase; opacity:.85; display:flex; justify-content:space-between; }
.tile .txt { padding:28px; }
.tile h3 { font-size:clamp(28px, 3vw, 44px); }
.tile.t1 h3 { font-size:clamp(40px, 5vw, 76px); }
.tile p { margin-top:8px; font-size:15px; opacity:.88; max-width:36ch; }

/* Your stay: steps */
.steps { display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; }
/* number at the top, then the title a fixed distance below it, so titles line up across all cards */
.step { background:var(--paper-2); border-radius:4px; padding:30px 28px 34px; min-height:280px; display:flex; flex-direction:column; gap:84px; }
.step .n { font-size:46px; font-weight:400; letter-spacing:-.04em; color:var(--clay); line-height:1; }
.step h3 { font-size:22px; letter-spacing:-.01em; margin-bottom:8px; }
.step p { color:var(--muted); font-size:15px; }

/* Contact */
.contact { background:var(--navy); color:var(--paper); margin-top:150px; padding:140px 0 120px; }
.contact .label { color:rgba(245,242,236,.6); }
.contact h2 { font-size:clamp(44px, 8vw, 116px); max-width:12ch; margin:34px 0 60px; }
.mail { display:inline-flex; align-items:center; gap:18px; font-size:clamp(22px, 3vw, 40px); letter-spacing:-.02em; border-bottom:1px solid rgba(245,242,236,.35); padding-bottom:8px; transition:gap .4s, border-color .4s; }
.mail:hover { gap:30px; border-color:var(--paper); }
.contact p { margin-top:28px; color:rgba(245,242,236,.65); max-width:520px; }

/* Footer */
footer { padding:70px 0 40px; font-size:14px; }
.foot { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:32px; }
.foot h4 { font-size:12px; letter-spacing:2px; text-transform:uppercase; color:var(--muted); font-weight:500; margin-bottom:14px; }
.foot a, .foot li { display:block; list-style:none; padding:3px 0; }
.foot a:hover { color:var(--clay); }
.foot img { height:18px; width:auto; }
.legal { display:flex; justify-content:space-between; gap:20px; margin-top:70px; padding-top:24px; border-top:1px solid var(--line); color:var(--muted); font-size:13px; }

/* Reveal on scroll */
.reveal { opacity:0; transform:translateY(28px); transition:opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity:1; transform:none; }
.hero .reveal:nth-child(2) { transition-delay:.12s; } .hero .reveal:nth-child(3) { transition-delay:.24s; }

/* ---- Splash: a huge logo shrinks into the centre, then glides into the header ---- */
html.splashing { overflow:hidden; }
html.splashing header .logo img { visibility:hidden; }
.splash { position:fixed; inset:0; z-index:100; background-color:var(--paper); display:flex; align-items:center; justify-content:center; cursor:pointer;
          transition:background-color .8s ease; }
.splash.out { background-color:transparent; pointer-events:none; }
.splash-logo { display:flex; width:min(72vw, 620px); aspect-ratio:1800/330; transition:transform .8s cubic-bezier(.65,0,.25,1); }
.splash-logo img { display:block; width:100%; height:100%; opacity:0; }
.splash.go .splash-logo img { animation:zoom 1s cubic-bezier(.16,1,.3,1) both; }
@keyframes zoom {
  from { opacity:0; transform:scale(9); filter:blur(14px); }
  35%  { opacity:1; }
  to   { opacity:1; transform:none; filter:none; }
}

@media (max-width:960px) {
  .wrap { padding:0 22px; }
  nav a { display:none; }
  .head { grid-template-columns:1fr; gap:24px; margin-bottom:50px; }
  .pillars, .stats, .cities, .steps { grid-template-columns:1fr; }
  .pillar, .pillar + .pillar { padding:30px 0; border-left:0; border-bottom:1px solid var(--line); }
  .pillar h3 { margin:24px 0 10px; }
  .tiles { grid-template-columns:1fr; grid-template-rows:none; }
  .tile.t1, .tile.t2, .tile.t3 { grid-column:auto; grid-row:auto; aspect-ratio:4/3; }
  .tile.t1 { aspect-ratio:4/5; }
  .city { min-height:0; padding:32px 26px; }
  .step { min-height:0; gap:36px; }
  .foot { grid-template-columns:1fr 1fr; }
  .hero-foot { flex-direction:column; align-items:flex-start; }
  section.block { padding-top:110px; }
}
@media (max-width:560px) { .legal { flex-direction:column; } }
@media (prefers-reduced-motion: reduce) { * { animation:none !important; transition:none !important; } .reveal { opacity:1; transform:none; } }

/* =====================================================================
   ABOUT US page
   ===================================================================== */
.hero-img.about-img img { object-position:center 62%; }

/* "Your phone is the reception": text + phone mock-up */
.phone-wrap { display:grid; grid-template-columns:1.15fr .85fr; gap:70px; align-items:center; }
.rows { border-top:1px solid var(--line); }
.row { display:grid; grid-template-columns:56px 180px 1fr; gap:20px; padding:22px 0; border-bottom:1px solid var(--line); align-items:center; }
.row .n { color:var(--clay); font-size:13px; letter-spacing:1px; }
.row h3 { font-size:22px; letter-spacing:-.01em; }
.row p { color:var(--muted); font-size:15px; }

.phone { width:min(300px, 80vw); margin:0 auto; aspect-ratio:9/18.5; border-radius:46px; background:#0f1c27; padding:11px;
         box-shadow:0 40px 80px -30px rgba(13,51,80,.55); }
.screen { height:100%; border-radius:36px; background:var(--paper); padding:22px 16px 16px; display:flex; flex-direction:column; gap:10px; overflow:hidden; font-size:13px; line-height:1.45; }
.screen .bar { display:flex; justify-content:space-between; align-items:center; padding:0 4px 10px; border-bottom:1px solid var(--line); margin-bottom:6px; }
.screen .bar img { height:11px; width:auto; }
.screen .bar span { font-size:11px; color:var(--muted); }
.msg { background:#fff; border-radius:16px; padding:11px 13px; max-width:88%; box-shadow:0 1px 2px rgba(15,28,39,.06); }
.msg small { display:block; font-size:10px; letter-spacing:1.5px; text-transform:uppercase; color:var(--muted); margin-bottom:3px; }
.msg .code { font-size:26px; letter-spacing:6px; font-weight:500; color:var(--navy); }
.msg.me { align-self:flex-end; background:var(--navy); color:var(--paper); }
.phone .msg { opacity:0; transform:translateY(10px); }
.phone.in .msg { animation:pop .6s cubic-bezier(.2,.7,.2,1) forwards; }
.phone.in .msg:nth-child(2) { animation-delay:.3s; } .phone.in .msg:nth-child(3) { animation-delay:.9s; }
.phone.in .msg:nth-child(4) { animation-delay:1.5s; } .phone.in .msg:nth-child(5) { animation-delay:2.1s; }
.phone.in .msg:nth-child(6) { animation-delay:2.7s; }
@keyframes pop { to { opacity:1; transform:none; } }

/* Where we are */
.places { display:flex; flex-wrap:wrap; gap:0 .28em; align-items:baseline; font-size:clamp(40px, 6.5vw, 96px); letter-spacing:-.04em; line-height:1.05; }
.places .soft { color:var(--muted); }
/* "& next…" always stays together on one line */
.places .tail { display:inline-flex; gap:0 .28em; white-space:nowrap; }
/* optical spacing: "&" and "next" start tighter than "K" after the comma, so they get a small extra nudge
   (all gaps measured equal). The nudge sits on the RIGHT of the word before, so a line break never indents. */
.places .k { margin-right:.0625em; }
.places .tail > span:first-child { margin-right:.078em; }

@media (max-width:960px) {
  .phone-wrap { grid-template-columns:1fr; gap:60px; }
  .row { grid-template-columns:40px 1fr; }
  .row p { grid-column:2; }
}
@media (prefers-reduced-motion: reduce) { .phone .msg { opacity:1; transform:none; } }
.stat .sl { margin:0 .06em; }   /* a little air around the slash in "24/7" */

/* =====================================================================
   MOBILE MENU (hamburger), shown on screens up to 960 px
   ===================================================================== */
.burger { display:none; position:relative; width:44px; height:44px; margin-right:-10px; }
.burger span { position:absolute; left:11px; right:11px; height:1.5px; background:var(--ink); transition:transform .4s cubic-bezier(.2,.7,.2,1), top .4s cubic-bezier(.2,.7,.2,1); }
.burger span:first-child { top:18px; } .burger span:last-child { top:25px; }
.menu-open .burger span:first-child { top:21.5px; transform:rotate(45deg); }
.menu-open .burger span:last-child { top:21.5px; transform:rotate(-45deg); }
.mnav { position:fixed; inset:0; z-index:30; background:var(--paper); padding:110px 22px 36px; display:flex; flex-direction:column;
        opacity:0; visibility:hidden; transition:opacity .4s ease, visibility 0s .4s; }
.menu-open .mnav { opacity:1; visibility:visible; transition:opacity .4s ease; }
.menu-open { overflow:hidden; }
.menu-open header { z-index:40; background:transparent; border-color:transparent; backdrop-filter:none; -webkit-backdrop-filter:none; }
.mnav-links { border-top:1px solid var(--line); }
.mnav-links a { display:flex; justify-content:space-between; align-items:baseline; padding:16px 0; border-bottom:1px solid var(--line);
                font-size:clamp(30px, 8.5vw, 44px); letter-spacing:-.025em; line-height:1.1;
                transform:translateY(12px); opacity:0; transition:transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s; }
.mnav-links a small { font-size:12px; letter-spacing:1px; color:var(--clay); }
.menu-open .mnav-links a { transform:none; opacity:1; }
.menu-open .mnav-links a:nth-child(2) { transition-delay:.05s; } .menu-open .mnav-links a:nth-child(3) { transition-delay:.1s; }
.menu-open .mnav-links a:nth-child(4) { transition-delay:.15s; } .menu-open .mnav-links a:nth-child(5) { transition-delay:.2s; }
.mnav-foot { margin-top:auto; color:var(--muted); font-size:15px; }
.mnav-foot a { color:var(--ink); }
@media (max-width:960px) { .burger { display:block; } }

/* =====================================================================
   CHAPTERS: big clay number + name, with a rule above each section head
   ===================================================================== */
.head { border-top:1px solid rgba(15,28,39,.35); padding-top:26px; }
.head .label, .contact > .wrap > .label { flex-direction:column; align-items:flex-start; gap:12px; font-size:13px; letter-spacing:2.5px; color:var(--ink); }
.head .label b, .contact > .wrap > .label b { font-size:clamp(52px, 6vw, 84px); font-weight:400; letter-spacing:-.04em; line-height:.9; }
.contact > .wrap > .label { color:var(--paper); }

/* City tiles: each label stays whole; if both don't fit on one line, the coordinates move below */
.city .top { flex-wrap:wrap; gap:6px 24px; }
.city .top span { white-space:nowrap; }
@media (max-width:560px) { .city .top { font-size:11px; letter-spacing:1.5px; } }
.lang[hidden] { display:none; }
