/* Kuthi Group
   The parent brand: a light salt ground and the Kuthi teal from the logo. Each place keeps its own colour:
   sea at dusk for the Sea Resort, tea-garden green for the Tea Resort. One accent: sun gold. */

:root {
  --salt: #F1F2EE;
  --salt-2: #E6EAE5;
  --paper: #FBFBF8;
  --ink: #0B2A2B;
  --ink-soft: #4A6261;
  --teal: #165A5C;             /* Kuthi brand teal, from the logo */
  --teal-deep: #0B3A3C;
  --tea: #1F3A24;              /* tea-garden green */
  --tea-line: #9DB88A;
  --gold: #E3B25A;
  --gold-deep: #85590F;
  --foam: #EEF3F0;
  --line: rgba(11, 42, 43, .14);

  --f: "Goga", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --section: clamp(4rem, 9vw, 8rem);
  --radius: 16px;
  --ease: cubic-bezier(.22, .7, .18, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--salt); color: var(--ink);
  font-family: var(--f); font-size: clamp(1rem, .96rem + .2vw, 1.075rem); line-height: 1.62;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.028em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
address { font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--teal); color: #fff; padding: .5rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 76rem; margin: 0 auto; padding: 0 var(--gutter); }
.lede { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--ink-soft); max-width: 44ch; }
.kicker { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gold-deep); margin-bottom: 1rem; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--salt) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--teal); }
.brand__name { display: inline-flex; align-items: center; gap: .5rem; }
.brand__word { height: .95rem; width: auto; }
.brand__group { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); }
.top__nav { display: flex; align-items: center; gap: clamp(.9rem, 2.4vw, 2rem); font-size: .95rem; }
.top__nav a { text-decoration: none; color: var(--ink-soft); }
.top__nav a:hover { color: var(--ink); }
.top__nav .top__call { color: #fff; background: var(--teal); padding: .55rem 1.1rem; border-radius: 999px; font-weight: 600; }
.top__nav .top__call:hover { color: #fff; background: var(--teal-deep); }
@media (max-width: 720px) { .top__nav a:not(.top__call) { display: none; } }

/* Opening */
.open { padding: clamp(4rem, 11vw, 9rem) 0 clamp(3rem, 6vw, 5rem); }
.motto { display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--teal); margin-bottom: 1.75rem; }
.open h1 { font-size: clamp(2.3rem, 1.4rem + 4.4vw, 5.2rem); line-height: 1.02; max-width: 17ch; color: var(--ink); }
.open .lede { margin-top: 1.5rem; }
.jump { display: inline-flex; gap: .5rem; margin-top: 2.25rem; font-weight: 600; color: var(--teal); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: .15rem; }
.jump:hover { color: var(--teal-deep); }

/* The two resorts: doors to their own websites */
.places { padding-bottom: var(--section); }
.doors { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(.9rem, 2vw, 1.5rem); }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }
.door {
  position: relative; display: flex; align-items: flex-end; min-height: clamp(26rem, 52vw, 38rem);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--foam);
  isolation: isolate; box-shadow: 0 2px 4px rgba(2, 18, 19, .08), 0 18px 40px rgba(2, 18, 19, .14);
}
.door picture, .door__art { position: absolute; inset: 0; z-index: -2; }
.door img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 20, 22, 0) 22%, rgba(4, 20, 22, .55) 52%, rgba(4, 20, 22, .9) 100%); }
.door--sea img { object-position: 46% 50%; }
.door--tea { background: var(--tea); }
.door--tea::after { background: linear-gradient(180deg, rgba(12, 26, 14, 0) 22%, rgba(12, 26, 14, .55) 52%, rgba(12, 26, 14, .9) 100%); }
.door__art { color: var(--tea-line); opacity: .45; }
.door__art svg { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.door__body { display: grid; gap: .5rem; padding: clamp(1.4rem, 3vw, 2.4rem); max-width: 34rem; }
.door__where { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.door__name { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; color: #fff; }
.door__line { color: rgba(238, 243, 240, .86); max-width: 36ch; }
.door__go { margin-top: .75rem; justify-self: start; display: inline-flex; gap: .5rem; align-items: center; font-weight: 600; color: #1C1406; background: var(--gold); padding: .7rem 1.2rem; border-radius: 999px; transition: gap .3s var(--ease); }
.door__soon { margin-top: .75rem; justify-self: start; font-size: .85rem; font-weight: 600; color: var(--tea-line); border: 1px solid currentColor; padding: .45rem .9rem; border-radius: 999px; }
@media (hover: hover) {
  a.door:hover img, a.door:hover .door__art svg { transform: scale(1.035); }
  a.door:hover .door__go { gap: .85rem; }
}
.door[aria-disabled="true"] { cursor: default; }

/* Apartments: Optimus */
.apts { padding: var(--section) 0; background: var(--paper); border-block: 1px solid var(--line); }
.apts__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.apts__head h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1.05; margin-bottom: 1rem; }
.tagor { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 820px) { .tagor { grid-template-columns: 1fr; } }
.tagor__fig { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--salt-2); aspect-ratio: 4 / 5; box-shadow: 0 2px 4px rgba(2, 18, 19, .08), 0 18px 40px rgba(2, 18, 19, .14); }
.tagor__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 820px) { .tagor__fig { aspect-ratio: 4 / 3.6; } }
.tagor__tag { display: inline-block; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--teal); background: rgba(22, 90, 92, .1); padding: .35rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.tagor h3 { font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); line-height: 1; }
.tagor__where { margin-top: .6rem; color: var(--ink-soft); }
.tagor__facts { margin: 1.75rem 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.tagor__facts div { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.tagor__facts div:nth-child(odd) { padding-right: 1rem; }
.tagor__facts dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.tagor__facts dd { margin: .15rem 0 0; font-weight: 600; }
.tagor__note { margin-top: 1rem; font-size: .88rem; color: var(--ink-soft); }
.btn-teal { display: inline-flex; align-items: center; min-height: 48px; margin-top: 1.5rem; padding: .7rem 1.3rem; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 600; text-decoration: none; }
.btn-teal:hover { background: var(--teal-deep); }
.built { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.built__title { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1.25rem; }
.built__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.6rem, 1.4vw, 1rem); }
@media (max-width: 960px) { .built__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .built__grid { grid-template-columns: repeat(2, 1fr); } }
.built__grid li { display: grid; gap: .55rem; }
.built__grid img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; background: var(--salt-2); }
.built__grid span { font-size: .9rem; font-weight: 600; line-height: 1.3; }
.motto-quote { position: relative; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding-top: 2.2rem; max-width: 46rem; }
.motto-quote::before { content: "\201C"; position: absolute; top: -.4rem; left: -.05em; font-size: 4.5rem; line-height: 1; color: var(--gold); font-weight: 600; }
.motto-quote p { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.45; color: var(--ink); }
.motto-quote footer { margin-top: .6rem; font-size: .88rem; color: var(--ink-soft); }

/* About */
.about { padding: var(--section) 0; }
.about__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
@media (max-width: 760px) { .about__inner { grid-template-columns: 1fr; } }
.about h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); margin-bottom: 1rem; color: var(--teal); }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 420px) { .people { grid-template-columns: 1fr; } }
.person { margin: 0; display: flex; align-items: center; gap: 1rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.person__mono { flex: none; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 600; letter-spacing: .02em; }
.person figcaption { display: grid; line-height: 1.3; }
.person figcaption span { color: var(--ink-soft); font-size: .92rem; }

/* Contact */
.contact { padding: var(--section) 0; background: var(--teal-deep); color: var(--foam); }
.contact__inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact__inner { grid-template-columns: 1fr 1fr; } .contact__inner > div { grid-column: 1 / -1; } }
@media (max-width: 560px) { .contact__inner { grid-template-columns: 1fr; } }
.contact h2 { font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); color: #fff; margin-bottom: 1.25rem; }
.contact__phones { display: grid; gap: .35rem; font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); font-weight: 600; }
.contact__phones a { text-decoration: none; color: var(--gold); }
.contact__phones a:hover { text-decoration: underline; }
.contact__note { margin-top: 1.25rem; color: rgba(238, 243, 240, .78); max-width: 38ch; }
.contact__note a { color: #fff; }
.contact address { color: rgba(238, 243, 240, .82); line-height: 1.7; }
.contact address strong { display: block; color: #fff; margin-bottom: .35rem; }

/* Footer */
.foot { background: #072526; color: rgba(238, 243, 240, .7); font-size: .9rem; padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom)); }
.foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; }
.foot__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
