/* biztatildeyiz — gece Akdenizi, kireçtaşı ve toprak turuncusu */
:root {
  --night: #07141f;
  --deep: #0b1d2e;
  --ink: #13212b;
  --sea: #4d8da8;
  --sea-pale: #cad8dc;
  --limestone: #ede1d2;
  --paper: #fff9f1;
  --sand: #c8b4a0;
  --cream: #f4ebdd;
  --apricot: #d09a72;
  --earth-orange: #d09a72;
  --clay: #a94f2d;
  --brand-blue: #0070c0;
  --brand-orange: #ff7010;
  --white: #fffaf2;
  --line: rgba(19, 33, 43, 0.18);
  --display: "Newsreader", "Baskerville", "Times New Roman", serif;
  --body: "Manrope", "Aptos", "Segoe UI", sans-serif;
  --utility: "IBM Plex Mono", "Cascadia Mono", monospace;
  --page-pad: clamp(1.25rem, 4vw, 4.75rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  scrollbar-color: var(--earth-orange) var(--night);
}

::-webkit-scrollbar {
  width: 0.75rem;
}

::-webkit-scrollbar-track {
  background: var(--night);
}

::-webkit-scrollbar-thumb {
  background: var(--earth-orange);
  border: 3px solid var(--night);
  border-radius: 999px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
  caret-color: var(--brand-orange);
}

button,
a,
select,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
  text-underline-offset: 0.2em;
}

button {
  border: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.ui-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

::selection {
  color: var(--white);
  background: var(--clay);
}

:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 4px;
  box-shadow: 0 0 0 3px rgba(255, 112, 16, 0.2);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--night);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-progress {
  position: fixed;
  z-index: 300;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--brand-orange);
  transform: scaleX(0);
  transform-origin: left;
}

.section-shell {
  width: min(100%, 1600px);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: rgba(244, 235, 221, 0.72);
  font-family: var(--utility);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: rgba(19, 33, 43, 0.68);
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 5.25rem;
  padding: 0.9rem var(--page-pad);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: color 350ms ease, background 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
}

.site-header.scrolled {
  color: var(--ink);
  border-color: rgba(19, 33, 43, 0.12);
  background: rgba(255, 249, 241, 0.9);
  box-shadow: 0 10px 40px rgba(7, 20, 31, 0.08);
  backdrop-filter: blur(18px);
}

.menu-open .site-header {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.75rem;
  width: max-content;
  background: transparent;
}

.brand-mark {
  width: 2.65rem;
  flex: 0 0 auto;
  fill: none;
  background: transparent;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.brand-arch {
  stroke: var(--brand-blue);
}

.brand-water {
  stroke: var(--brand-blue);
}

.brand-sun {
  fill: var(--brand-orange);
  stroke: var(--brand-orange);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  background: transparent;
  line-height: 1;
}

.brand-wordmark {
  display: flex;
  align-items: baseline;
  background: transparent;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.brand-wordmark b {
  font-weight: 700;
}

.logo-biz {
  color: var(--brand-blue);
}

.logo-i {
  position: relative;
  display: inline-block;
  color: inherit;
}

.logo-i::after {
  position: absolute;
  top: -0.02em;
  left: 50%;
  width: 0.29em;
  height: 0.29em;
  border-radius: 50%;
  background: var(--brand-orange);
  content: "";
  transform: translate(-50%, -4%);
}

.logo-tatil {
  color: var(--brand-orange);
}

.brand-copy small {
  margin-top: 0.5rem;
  font-family: var(--utility);
  font-size: 0.43rem;
  letter-spacing: 0.09em;
  opacity: 0.7;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.3rem, 2.8vw, 3rem);
}

.desktop-nav a {
  position: relative;
  font-size: 0.76rem;
  font-weight: 500;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 1rem;
  min-height: 2.75rem;
  padding: 0 0 0 1.2rem;
  font-size: 0.76rem;
  font-weight: 600;
}

.header-cta span {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  color: var(--night);
  background: var(--brand-orange);
  border-radius: 50%;
  transition: transform 280ms var(--ease), background 280ms ease;
}

.scrolled .header-cta span {
  color: var(--white);
  background: var(--brand-blue);
}

.header-cta:hover span {
  transform: rotate(-45deg);
}

.menu-toggle,
.mobile-menu {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: max(47.5rem, 100svh);
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: var(--image-hero);
  background-position: center center;
  background-size: cover;
  transform: scale(1.045);
  transition: transform 2.4s var(--ease);
}

body.ready .hero-image {
  transform: scale(1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 20, 31, 0.8) 0%, rgba(7, 20, 31, 0.42) 43%, rgba(7, 20, 31, 0.06) 72%),
    linear-gradient(0deg, rgba(7, 20, 31, 0.64) 0%, transparent 44%, rgba(7, 20, 31, 0.18) 100%);
}

.hero-content {
  position: absolute;
  z-index: 2;
  top: clamp(9rem, 20vh, 13rem);
  left: var(--page-pad);
  max-width: min(52rem, 63vw);
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 7.2vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.83;
  text-wrap: balance;
  transition-delay: 320ms;
}

.hero h1 em,
.mood-copy h2 em,
.villas-heading h2 em,
.standard-copy h2 em,
.daylight-intro h2 em,
.concierge-card h2 em,
.inquiry-dialog h2 em {
  color: var(--apricot);
  font-weight: 300;
}

.hero h1 em {
  display: block;
  padding-left: 0.55em;
  font-size: 0.67em;
  line-height: 1.02;
}

.hero-lead {
  max-width: 36rem;
  margin: 2rem 0 0;
  color: rgba(244, 235, 221, 0.78);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.75;
  transition-delay: 460ms;
}

.route-line {
  margin: 1.35rem 0 0;
  color: rgba(244, 235, 221, 0.68);
  font-family: var(--utility);
  font-size: 0.58rem;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
  transition-delay: 560ms;
}

.blue-hour {
  position: absolute;
  z-index: 2;
  top: 47%;
  right: var(--page-pad);
  display: grid;
  grid-template-columns: auto clamp(4rem, 8vw, 8rem) auto;
  align-items: center;
  gap: 1rem;
}

.blue-hour-time {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.blue-hour-time span {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 300;
}

.blue-hour-time small,
.blue-hour p {
  margin: 0.42rem 0 0;
  font-family: var(--utility);
  font-size: 0.55rem;
  letter-spacing: 0.13em;
  line-height: 1.45;
  text-transform: uppercase;
}

.sun-line {
  position: relative;
  height: 1px;
  background: rgba(255, 255, 255, 0.52);
}

.sun-line i {
  position: absolute;
  top: 50%;
  left: 18%;
  width: 0.62rem;
  height: 0.62rem;
  background: var(--brand-orange);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(255, 112, 16, 0.55);
  transform: translate(-50%, -50%);
  animation: sun-path 7s ease-in-out infinite alternate;
}

@keyframes sun-path {
  to { left: 82%; }
}

.search-panel {
  position: absolute;
  z-index: 6;
  right: var(--page-pad);
  bottom: 2.2rem;
  left: var(--page-pad);
  display: grid;
  grid-template-columns: 1.15fr 1.18fr 0.85fr 0.85fr 1fr 1.2fr;
  width: min(calc(100% - (2 * var(--page-pad))), 1500px);
  min-height: 7.25rem;
  margin: auto;
  color: var(--ink);
  background: rgba(255, 249, 241, 0.96);
  box-shadow: 0 1.5rem 5rem rgba(7, 20, 31, 0.28);
  backdrop-filter: blur(20px);
}

.search-intro,
.search-field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 1rem clamp(0.85rem, 1.4vw, 1.5rem);
  border-right: 1px solid var(--line);
}

.search-intro {
  color: var(--paper);
  background: var(--deep);
}

.search-intro span {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
}

.search-intro small {
  margin-top: 0.45rem;
  color: rgba(244, 235, 221, 0.62);
  font-family: var(--utility);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-field > span {
  margin-bottom: 0.52rem;
  color: rgba(19, 33, 43, 0.68);
  font-family: var(--utility);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.search-field select,
.search-field input {
  width: 100%;
  min-width: 0;
  height: 2rem;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: 0;
  font-size: 0.83rem;
  font-weight: 600;
}

.search-field select {
  cursor: pointer;
}

.search-field input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.58;
}

.guest-field {
  position: relative;
}

.guest-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 2rem;
  padding: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 0.83rem;
  text-align: left;
}

.guest-toggle b {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guest-popover {
  position: absolute;
  z-index: 20;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: min(20rem, 85vw);
  padding: 1.15rem;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 1.3rem 3.5rem rgba(7, 20, 31, 0.22);
  border: 1px solid var(--line);
}

.guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.guest-row > span {
  display: flex;
  flex-direction: column;
}

.guest-row b {
  font-size: 0.82rem;
}

.guest-row small {
  color: rgba(19, 33, 43, 0.68);
  font-size: 0.67rem;
}

.stepper {
  display: grid;
  grid-template-columns: 2.6rem 2rem 2.6rem;
  align-items: center;
}

.stepper button {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.stepper button:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.stepper output {
  font-family: var(--utility);
  font-size: 0.75rem;
  text-align: center;
}

.guest-done {
  width: 100%;
  min-height: 2.75rem;
  margin-top: 1rem;
  color: var(--white);
  background: var(--deep);
  cursor: pointer;
}

.search-submit,
.primary-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3rem;
  padding: 1rem clamp(1rem, 1.8vw, 1.6rem);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  transition: color 300ms ease, background 300ms ease;
}

.search-submit {
  color: var(--night);
  background: var(--brand-orange);
}

.search-submit:hover {
  color: var(--night);
  background: var(--earth-orange);
}

.primary-button {
  color: var(--white);
  background: var(--brand-blue);
}

.primary-button:hover {
  color: var(--white);
  background: #005a9e;
}

.concierge-card .primary-button {
  color: var(--night);
  background: var(--brand-orange);
}

.concierge-card .primary-button:hover {
  color: var(--night);
  background: var(--earth-orange);
}

.search-submit .ui-icon,
.primary-button .ui-icon {
  transition: transform 300ms var(--ease);
}

.search-submit:hover .ui-icon,
.primary-button:hover .ui-icon {
  transform: translateX(0.35rem);
}

.form-message {
  position: absolute;
  bottom: -2rem;
  left: 0;
  min-height: 1.35rem;
  margin: 0;
  color: var(--white);
  font-size: 0.72rem;
}

.form-message.error {
  color: #ffd4ce;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  bottom: 11.5rem;
  left: var(--page-pad);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--utility);
  font-size: 0.56rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 2.7rem;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  background: var(--white);
  content: "";
  animation: cue-line 2.2s ease-in-out infinite;
  transform: translateX(-100%);
}

@keyframes cue-line {
  55%, 100% { transform: translateX(100%); }
}

/* Mood */
.mood-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(3rem, 8vw, 9rem);
  padding-top: clamp(6rem, 11vw, 10rem);
  padding-bottom: clamp(6rem, 11vw, 10rem);
}

.mood-copy h2,
.villas-heading h2,
.standard-copy h2,
.daylight-intro h2,
.concierge-card h2,
.inquiry-dialog h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5.2vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.mood-copy h2 em,
.villas-heading h2 em,
.daylight-intro h2 em,
.inquiry-dialog h2 em {
  color: var(--clay);
}

.mood-copy > p:last-child {
  max-width: 30rem;
  margin: 2rem 0 0;
  color: rgba(19, 33, 43, 0.68);
  line-height: 1.8;
}

.mood-list {
  align-self: end;
  border-top: 1px solid var(--line);
}

.mood-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  min-height: 8.3rem;
  padding: 1.2rem 0;
  color: var(--ink);
  background: transparent;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
}

.mood-row:nth-child(2) { transition-delay: 120ms; }
.mood-row:nth-child(3) { transition-delay: 240ms; }

.mood-icon {
  display: grid;
  width: 4.25rem;
  height: 4.25rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color 350ms ease, background 350ms ease, transform 350ms var(--ease);
}

.mood-icon svg {
  width: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.1;
}

.mood-row > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.mood-row small {
  margin-bottom: 0.35rem;
  color: rgba(19, 33, 43, 0.68);
  font-family: var(--utility);
  font-size: 0.57rem;
  letter-spacing: 0.12em;
}

.mood-row b {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 400;
}

.mood-row > .row-arrow {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  transition: transform 350ms var(--ease);
}

.mood-row:hover .mood-icon {
  color: var(--white);
  background: var(--deep);
  transform: rotate(-6deg);
}

.mood-row:hover > .row-arrow {
  transform: translate(0.3rem, -0.3rem);
}

/* Villas */
.villas-section {
  padding: clamp(5.5rem, 9vw, 9rem) 0 clamp(7rem, 12vw, 12rem);
  background: var(--limestone);
}

.villas-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.collection-note {
  max-width: 54ch;
  margin: 1.35rem 0 0;
  color: rgba(19, 33, 43, 0.68);
  font-size: 0.72rem;
  line-height: 1.7;
}

.villa-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  max-width: 35rem;
}

.filter-button {
  min-height: 2.7rem;
  padding: 0.65rem 1rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.7rem;
  transition: color 250ms ease, background 250ms ease;
}

.filter-button.active,
.filter-button:hover {
  color: var(--night);
  background: var(--earth-orange);
  border-color: var(--earth-orange);
}

.villa-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 3vw, 3.5rem);
}

.villa-card {
  grid-column: span 4;
  min-width: 0;
}

.villa-card:nth-child(2) {
  margin-top: 6rem;
  transition-delay: 130ms;
}

.villa-card:nth-child(3) {
  margin-top: 1.5rem;
  transition-delay: 260ms;
}

.villa-card[hidden] {
  display: none;
}

.villa-visual,
.dialog-image,
.standard-image,
.concierge-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.image-faralya { background-image: var(--image-nerea); }
.image-kas { background-image: var(--image-lodos); }
.image-sogut { background-image: var(--image-meltem); }

.villa-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--sand);
  transition: background-size 800ms var(--ease);
}

.villa-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 24, 29, 0.35), transparent 32%, rgba(4, 24, 29, 0.26));
  content: "";
  pointer-events: none;
}

.villa-card:hover .villa-visual {
  background-size: 106%;
}

.card-topline {
  position: absolute;
  z-index: 2;
  top: 1.15rem;
  right: 1.15rem;
  left: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}

.card-topline > span,
.villa-index {
  font-family: var(--utility);
  font-size: 0.57rem;
  letter-spacing: 0.12em;
}

.favorite {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  color: var(--white);
  background: rgba(7, 20, 31, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.favorite svg {
  width: 1.05rem;
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: fill 200ms ease, transform 300ms var(--ease);
}

.favorite[aria-pressed="true"] svg {
  fill: var(--white);
  transform: scale(1.1);
}

.villa-index {
  position: absolute;
  z-index: 2;
  bottom: 1rem;
  left: 1.15rem;
  color: var(--white);
}

.villa-info {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

.villa-info h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.villa-info p,
.villa-note {
  margin: 0.62rem 0 0;
  color: rgba(19, 33, 43, 0.68);
  font-size: 0.72rem;
}

.villa-price {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: end;
  line-height: 1.25;
}

.villa-price span,
.dialog-price span {
  color: rgba(19, 33, 43, 0.68);
  font-family: var(--utility);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.villa-price b {
  margin-top: 0.25rem;
  font-size: 0.72rem;
}

.villa-note {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.text-link,
.light-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3rem;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 600;
}

.text-link .ui-icon,
.light-link .ui-icon {
  transition: transform 300ms var(--ease);
}

.text-link:hover .ui-icon,
.light-link:hover .ui-icon {
  transform: translate(0.3rem, -0.3rem);
}

.results-message {
  min-height: 1.5rem;
  margin-top: 2.5rem;
  color: rgba(19, 33, 43, 0.68);
  font-size: 0.75rem;
}

/* Standard */
.standard-section {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(30rem, 0.88fr);
  min-height: 52rem;
  color: var(--white);
  background: var(--deep);
}

.standard-image {
  position: relative;
  min-height: 40rem;
  background-position: center;
}

.standard-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 65%, rgba(11, 29, 46, 0.25));
  content: "";
}

.standard-stamp {
  position: absolute;
  z-index: 2;
  bottom: 2.5rem;
  left: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 9rem;
  height: 9rem;
  color: var(--white);
  background: rgba(7, 20, 31, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

.standard-stamp span {
  font-family: var(--utility);
  font-size: 0.45rem;
  letter-spacing: 0.13em;
}

.standard-stamp svg {
  width: 4.8rem;
  margin: 0.3rem 0;
  fill: none;
  stroke: var(--brand-orange);
  stroke-width: 1;
}

.standard-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 7vw, 7.5rem);
}

.standard-copy h2 {
  font-size: clamp(3.2rem, 4.8vw, 5.6rem);
}

.standard-lead {
  max-width: 35rem;
  margin: 2rem 0 2.5rem;
  color: rgba(244, 235, 221, 0.68);
}

.standard-list {
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.standard-list > div {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.2rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.standard-list > div > span {
  color: var(--brand-orange);
  font-family: var(--utility);
  font-size: 0.62rem;
}

.standard-list p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.standard-list b {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 400;
}

.standard-list small {
  margin-top: 0.25rem;
  color: rgba(244, 235, 221, 0.58);
  font-size: 0.7rem;
}

.light-link {
  align-self: flex-start;
  margin-top: 2rem;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

/* Daylight */
.daylight-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(4rem, 10vw, 10rem);
  padding-top: clamp(7rem, 12vw, 12rem);
  padding-bottom: clamp(7rem, 12vw, 12rem);
}

.daylight-intro {
  position: sticky;
  top: 8rem;
  align-self: start;
}

.daylight-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.daylight-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 2rem;
  min-height: 9rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
}

.daylight-timeline li:last-child {
  border-bottom: 1px solid var(--line);
}

.daylight-timeline li::before {
  position: absolute;
  top: -0.3rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--paper);
  border: 1px solid var(--deep);
  border-radius: 50%;
  content: "";
}

.daylight-timeline li.active::before {
  background: var(--apricot);
  border-color: var(--apricot);
  box-shadow: 0 0 0 0.4rem rgba(255, 112, 16, 0.17);
}

.daylight-timeline time {
  color: var(--clay);
  font-family: var(--utility);
  font-size: 0.72rem;
}

.daylight-timeline div {
  display: flex;
  flex-direction: column;
}

.daylight-timeline b {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 400;
}

.daylight-timeline p {
  max-width: 28rem;
  margin: 0.5rem 0 0;
  color: rgba(19, 33, 43, 0.68);
  font-size: 0.82rem;
}

/* Concierge */
.concierge-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 50rem;
  padding: clamp(2rem, 5vw, 5rem) var(--page-pad);
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}

.concierge-image {
  position: absolute;
  inset: 0;
  background-position: center;
}

.concierge-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 20, 31, 0.2), rgba(7, 20, 31, 0.62));
  content: "";
}

.concierge-card {
  position: relative;
  z-index: 1;
  width: min(42rem, 52vw);
  padding: clamp(3rem, 6vw, 6rem);
  background: rgba(7, 20, 31, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(18px);
}

.concierge-card h2 {
  font-size: clamp(3.2rem, 5vw, 5.4rem);
}

.concierge-card > p:not(.eyebrow) {
  max-width: 31rem;
  margin: 2rem 0;
  color: rgba(244, 235, 221, 0.68);
}

.concierge-card .primary-button {
  width: min(100%, 17rem);
}

.concierge-card > small {
  display: block;
  max-width: 26rem;
  margin-top: 1rem;
  color: rgba(244, 235, 221, 0.55);
  font-size: 0.63rem;
}

/* Footer */
.site-footer {
  color: var(--white);
  background: var(--night);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 3rem;
  align-items: start;
  padding: clamp(5rem, 9vw, 8rem) var(--page-pad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-main > p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.footer-main nav {
  display: grid;
  gap: 0.8rem;
}

.footer-main nav a {
  font-size: 0.76rem;
}

.footer-main nav a:hover {
  color: var(--brand-orange);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem var(--page-pad);
  color: rgba(244, 235, 221, 0.5);
  font-family: var(--utility);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Dialogs */
dialog {
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(2, 18, 22, 0.74);
  backdrop-filter: blur(8px);
}

.villa-dialog,
.inquiry-dialog {
  position: fixed;
  width: min(68rem, calc(100% - 2rem));
  max-width: none;
  max-height: min(48rem, calc(100svh - 2rem));
  margin: auto;
  padding: 0;
  overflow: auto;
  background: var(--paper);
  border: 0;
  box-shadow: 0 2rem 7rem rgba(2, 18, 22, 0.42);
}

.villa-dialog[open] {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
}

.dialog-close {
  position: absolute;
  z-index: 5;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 249, 241, 0.9);
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
}

.dialog-close .ui-icon {
  width: 1.05rem;
  height: 1.05rem;
}

.location-line {
  margin: 0 0 1.2rem;
  color: rgba(19, 33, 43, 0.65);
  font-family: var(--utility);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dialog-image {
  min-height: 38rem;
}

.dialog-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 5rem);
}

.dialog-content h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 4.5vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.dialog-content > p:not(.eyebrow) {
  margin: 1.5rem 0;
  color: rgba(19, 33, 43, 0.65);
}

.dialog-content ul {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
}

.dialog-content li::before {
  margin-right: 0.6rem;
  color: var(--clay);
  content: "â€”";
}

.dialog-price {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.dialog-price b {
  margin-top: 0.25rem;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 400;
}

.dialog-content .primary-button {
  width: 100%;
}

.dialog-content > small {
  margin-top: 0.8rem;
  color: rgba(19, 33, 43, 0.68);
  font-size: 0.62rem;
}

.inquiry-dialog {
  width: min(39rem, calc(100% - 2rem));
  padding: clamp(2rem, 5vw, 4.5rem);
}

.inquiry-dialog form > p:not(.eyebrow) {
  margin: 1.4rem 0 2rem;
  color: rgba(19, 33, 43, 0.68);
}

.inquiry-dialog label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.inquiry-dialog label > span {
  font-family: var(--utility);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.inquiry-dialog input,
.inquiry-dialog textarea {
  width: 100%;
  padding: 0.9rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  font-size: 1rem;
}

.inquiry-dialog input:focus,
.inquiry-dialog textarea:focus {
  border-color: var(--clay);
}

.inquiry-dialog input::placeholder,
.inquiry-dialog textarea::placeholder {
  color: rgba(19, 33, 43, 0.68);
  opacity: 1;
}

.inquiry-dialog .primary-button {
  width: 100%;
  margin-top: 1.4rem;
}

.inquiry-message {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  color: var(--clay);
  font-size: 0.74rem;
}

.toast {
  position: fixed;
  z-index: 500;
  right: 1.25rem;
  bottom: 1.25rem;
  max-width: min(24rem, calc(100% - 2.5rem));
  padding: 1rem 1.2rem;
  color: var(--white);
  background: var(--deep);
  box-shadow: 0 1rem 3rem rgba(7, 20, 31, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity 300ms ease, transform 300ms var(--ease);
  font-size: 0.75rem;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: end;
    gap: 0.38rem;
    width: 2.75rem;
    height: 2.75rem;
    color: currentColor;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 1.4rem;
    height: 1px;
    background: currentColor;
    transition: transform 300ms var(--ease);
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(0.22rem) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-0.22rem) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    z-index: 150;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 7rem var(--page-pad) 3rem;
    color: var(--white);
    background: var(--deep);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
    transition: opacity 350ms ease, transform 450ms var(--ease);
  }

  .mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu nav {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .mobile-menu nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    font-family: var(--display);
    font-size: clamp(1.6rem, 5vw, 2.5rem);
  }

  .mobile-menu nav span,
  .mobile-menu > p {
    font-family: var(--utility);
    font-size: 0.55rem;
    letter-spacing: 0.12em;
  }

  .mobile-menu > p {
    margin: 2rem 0 0;
    color: rgba(255, 255, 255, 0.6);
  }

  .search-panel {
    grid-template-columns: 1fr 1.1fr 0.82fr 0.82fr 1fr;
  }

  .search-intro {
    display: none;
  }

  .standard-section {
    grid-template-columns: 1fr 1fr;
  }

  .standard-copy {
    padding: clamp(3.5rem, 5vw, 5rem);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: max(48rem, 100svh);
  }

  .hero-content {
    top: 8.5rem;
    max-width: calc(100% - (2 * var(--page-pad)));
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(4rem, 11vw, 6rem);
  }

  .hero-image {
    background-position: 58% center;
  }

  .blue-hour {
    display: none;
  }

  .search-panel {
    grid-template-columns: 1.15fr 1fr 1fr;
    bottom: 1.5rem;
    min-height: auto;
  }

  .destination-field,
  .guest-field {
    grid-row: 1;
  }

  .search-field {
    min-height: 5.4rem;
  }

  .search-submit {
    grid-column: span 2;
  }

  .form-message {
    position: static;
    grid-column: 1 / -1;
    min-height: 0;
    padding: 0 1rem 0.7rem;
    color: var(--ink);
  }

  .form-message.error {
    color: #9b2e32;
  }

  .scroll-cue {
    display: none;
  }

  .mood-section,
  .daylight-section {
    grid-template-columns: 1fr;
  }

  .daylight-intro {
    position: static;
  }

  .villa-grid {
    grid-template-columns: 1fr 1fr;
  }

  .villa-card,
  .villa-card:nth-child(3) {
    grid-column: auto;
  }

  .villa-card:nth-child(2) {
    margin-top: 4rem;
  }

  .villa-card:nth-child(3) {
    grid-column: 1 / -1;
    width: calc(50% - 1rem);
    margin-top: 0;
    margin-left: auto;
  }

  .standard-section {
    grid-template-columns: 1fr;
  }

  .standard-image {
    min-height: 34rem;
  }

  .concierge-section {
    justify-content: center;
    min-height: 47rem;
  }

  .concierge-card {
    width: min(100%, 39rem);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main nav {
    grid-column: 2;
  }

  .villa-dialog[open] {
    grid-template-columns: 1fr;
  }

  .dialog-image {
    min-height: 18rem;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  :root {
    --page-pad: 1.1rem;
  }

  html {
    scroll-padding-top: 4.5rem;
  }

  .site-header,
  .site-header.scrolled {
    min-height: 4.6rem;
  }

  .brand-mark {
    width: 2rem;
  }

  .brand-wordmark {
    font-size: 0.86rem;
  }

  .brand-copy small {
    font-size: 0.39rem;
  }

  .hero {
    min-height: max(42rem, 100svh);
  }

  .hero-image {
    background-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 20, 31, 0.76), rgba(7, 20, 31, 0.08)),
      linear-gradient(0deg, rgba(7, 20, 31, 0.82), transparent 60%, rgba(7, 20, 31, 0.2));
  }

  .hero-content {
    top: 6.6rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 3.7rem);
    line-height: 0.86;
  }

  .hero h1 em {
    padding-left: 0.2em;
    font-size: 0.67em;
  }

  .hero-lead {
    max-width: 23rem;
    margin-top: 1.1rem;
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .search-panel {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    grid-template-columns: 1fr 1fr;
    width: calc(100% - 1.5rem);
  }

  .destination-field {
    grid-column: 1;
    grid-row: 1;
  }

  .guest-field {
    grid-column: 2;
    grid-row: 1;
  }

  .search-submit {
    grid-column: 1 / -1;
  }

  .search-field {
    min-height: 4.8rem;
    padding: 0.75rem 0.9rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .search-field select,
  .search-field input,
  .guest-toggle {
    font-size: 1rem;
  }

  .search-submit {
    min-height: 3.8rem;
  }

  .guest-popover {
    right: -0.1rem;
    bottom: calc(100% + 0.5rem);
    width: calc(100vw - 2.6rem);
  }

  .mood-section {
    gap: 3.5rem;
  }

  .mood-copy h2,
  .villas-heading h2,
  .daylight-intro h2,
  .inquiry-dialog h2 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .mood-row {
    grid-template-columns: 3.5rem 1fr auto;
    gap: 1rem;
    min-height: 7rem;
  }

  .mood-icon {
    width: 3.4rem;
    height: 3.4rem;
  }

  .mood-icon svg {
    width: 1.6rem;
  }

  .villas-heading {
    align-items: start;
    flex-direction: column;
  }

  .villa-controls {
    justify-content: flex-start;
  }

  .filter-button {
    min-height: 2.85rem;
  }

  .villa-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .villa-card,
  .villa-card:nth-child(2),
  .villa-card:nth-child(3) {
    grid-column: auto;
    width: 100%;
    margin: 0;
  }

  .villa-visual {
    aspect-ratio: 4 / 4.6;
  }

  .standard-image {
    min-height: 26rem;
  }

  .standard-stamp {
    bottom: 1rem;
    left: 1rem;
    width: 7rem;
    height: 7rem;
  }

  .standard-copy {
    padding: 4.5rem var(--page-pad);
  }

  .standard-copy h2,
  .concierge-card h2 {
    font-size: clamp(3rem, 14vw, 4.3rem);
  }

  .daylight-section {
    gap: 4rem;
  }

  .daylight-timeline li {
    grid-template-columns: 4.3rem 1fr;
    gap: 1rem;
  }

  .concierge-section {
    min-height: 44rem;
    padding: 1rem;
  }

  .concierge-card {
    padding: 2.2rem 1.5rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-main nav {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .villa-dialog,
  .inquiry-dialog {
    width: calc(100% - 1rem);
    max-height: calc(100svh - 1rem);
  }

  .dialog-content {
    padding: 2rem 1.3rem;
  }

  .dialog-content h2 {
    font-size: 3.6rem;
  }

  .inquiry-dialog {
    padding: 3.5rem 1.2rem 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-image {
    transform: none;
  }
}
