/* =========================================================
   Ottoman Airport Hotel
   Palette: the rooms themselves. Slate-blue painted walls with
   white panel mouldings, raspberry velvet chesterfields, the
   black marble of the lobby for ink.
   Type: Fraunces with its SOFT axis turned up (plush, like the
   velvet) for display; Rethink Sans for reading and the form.
   ========================================================= */

@property --sofa {
  syntax: "<color>";
  inherits: true;
  initial-value: #8C1D47;
}

:root {
  --wall: #8496A2;          /* room wall slate */
  --wall-shade: #758894;
  --moulding: #FFFFFF;
  --velvet: #8C1D47;        /* raspberry velvet */
  --velvet-2: #741639;
  --ink: #1C2329;           /* lobby marble */
  --ink-2: #2A343B;
  --muted: #58646C;
  --line: #D5DCE0;
  --light: #EDF1F3;
  --surface: #FFFFFF;
  --oak: #C9A47C;
  --oak-2: #B98F63;
  --gold: #C9A75A;          /* only the bed cushion in the sofa drawing */

  --on-dark: #E9EEF1;
  --on-dark-muted: #A9B5BD;
  --line-dark: rgba(233, 238, 241, .16);

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f: "Rethink Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --wall-gap: clamp(10px, 1.8vw, 28px);   /* wall visible around the hero frame */
  --section: clamp(80px, 9vw, 136px);
  --header-h: 76px;
  --rail-h: 112px;
  --frame-ratio: 1.75;      /* widest the hero picture gets; the wall shows either side */
  --frame-h: clamp(500px, calc(100svh - var(--header-h) - var(--rail-h) / 2 - 8px), 880px);
  --frame-w: min(100% - 2 * var(--wall-gap), var(--frame-h) * var(--frame-ratio));
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--f);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
dl, dd { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--velvet); outline-offset: 3px; }
.site-header :focus-visible,
.wall :focus-visible,
.closing :focus-visible { outline-color: var(--ink); }
.hero__frame :focus-visible,
.site-footer :focus-visible,
.mobile-menu :focus-visible,
.lightbox :focus-visible { outline-color: #fff; }
.rail :focus-visible, .popover :focus-visible { outline-color: var(--velvet); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }

/* ---------- Type ---------- */
.h2, .hero__title, .closing__title, .wall__name, .facts__big, .booking__value, .month__caption {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 100;
  font-optical-sizing: auto;
}
.h2 {
  font-weight: 380;
  font-size: clamp(2.1rem, 1.35rem + 2.3vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -.018em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.1rem, 1.04rem + .3vw, 1.28rem);
  line-height: 1.55;
}

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f);
  font-size: .9688rem;
  font-weight: 560;
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn--ink:hover { --btn-bg: var(--ink-2); }
.btn--velvet { --btn-bg: var(--velvet); }
.btn--velvet:hover { --btn-bg: var(--velvet-2); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1rem; }
.btn__wa { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.btn__wa path + path { fill: currentColor; stroke: none; }

.text-link {
  color: var(--ink);
  font-weight: 560;
  text-decoration: underline;
  text-decoration-color: var(--velvet);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
}
.text-link:hover { text-decoration-color: currentColor; }

.link-btn {
  background: none; border: 0; padding: 8px 4px; cursor: pointer;
  color: var(--muted); font-size: .9375rem;
  text-decoration: underline; text-underline-offset: 4px;
}
.link-btn:hover { color: var(--ink); }
.link-btn--ink { color: var(--ink); font-weight: 520; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius);
  color: var(--ink); cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), opacity .2s;
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { background: var(--light); }
.icon-btn:disabled { opacity: .3; cursor: default; background: transparent; }
.icon-btn--round { border-radius: 50%; border-color: var(--line); }

/* =========================================================
   Header: on the slate wall
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: var(--wall);
  color: var(--ink);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(28, 35, 41, .14); }
.site-header__inner {
  height: 100%;
  /* aligned with the outer edge of the hero picture */
  padding-inline: max(calc(var(--wall-gap) + 6px), calc((100% - var(--frame-w)) / 2));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark, .site-footer__mark { width: 30px; height: 30px; flex: none; }
.brand__mark-line { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: miter; }
.brand__mark-fill { fill: currentColor; }
.brand__name {
  display: grid;
  font-family: var(--f-display); font-variation-settings: "SOFT" 100;
  font-weight: 500; font-size: 1.32rem; line-height: 1; letter-spacing: -.005em;
}
.brand__sub { font-family: var(--f); font-size: .72rem; font-weight: 560; letter-spacing: .02em; margin-top: 4px; }

.nav__list { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav__list a {
  text-decoration: none; color: var(--ink);
  font-size: .9375rem; font-weight: 500;
  padding-block: 8px;
  background: linear-gradient(var(--ink), var(--ink)) left bottom / 0 1.5px no-repeat;
  transition: background-size .3s var(--ease);
}
.nav__list a:hover { background-size: 100% 1.5px; }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; align-items: center; }
.lang__btn {
  background: none; border: 0; cursor: pointer;
  padding: 6px 7px; font-size: .8125rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(28, 35, 41, .66);
}
.lang__btn + .lang__btn { border-left: 1px solid rgba(28, 35, 41, .28); }
.lang__btn.is-active { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
  background: var(--ink);
  color: var(--on-dark);
  padding-block: 16px 40px;
  overflow-y: auto;
}
.mobile-menu__list li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu__list a {
  display: block; padding: 18px 0;
  font-family: var(--f-display); font-variation-settings: "SOFT" 100;
  font-weight: 360; font-size: 1.7rem; color: #fff; text-decoration: none;
}
.mobile-menu__foot { display: grid; gap: 10px; margin-top: 32px; color: var(--on-dark-muted); }
.mobile-menu__foot a { text-decoration: none; }

/* =========================================================
   Hero: a framed picture on the wall, crossed by the rail.
   All placement lives here.
   ========================================================= */
.hero {
  --hero-pos: 78% 50%;      /* desktop crop of hero.webp (building sits on the right of the composite) */
  --hero-pos-m: 46% 0%;    /* mobile crop of hero-mobile.webp */
  --copy-x: clamp(28px, 4.2vw, 76px);
  --copy-y: clamp(36px, 6.5vh, 84px);
  --copy-w: min(50%, 700px);
  --copy-align: left;
  --hero-veil: .45;         /* soft shade behind the headline */

  position: relative;
  background: var(--wall);
  padding-inline: var(--wall-gap);
}

.hero__frame {
  position: relative;
  width: min(100%, calc(var(--frame-h) * var(--frame-ratio)));
  margin-inline: auto;
  height: var(--frame-h);
  padding: 10px;
  border: 3px solid var(--moulding);
  /* the moulding profile: thick bead, a gap of wall, a thin bead */
  box-shadow:
    inset 0 0 0 5px var(--wall),
    inset 0 0 0 6.5px rgba(255, 255, 255, .92),
    1px 2px 0 rgba(28, 35, 41, .12);
}
.hero__media { display: block; position: relative; width: 100%; height: 100%; overflow: hidden; background: #0C1B3A; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos); }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 18% 22%, rgba(6, 14, 34, var(--hero-veil)), transparent 70%);
}

.hero__copy {
  position: absolute; z-index: 2;
  left: calc(13px + var(--copy-x));
  top: calc(13px + var(--copy-y));
  width: var(--copy-w);
  text-align: var(--copy-align);
  color: #fff;
  display: grid; gap: 18px;
}
.hero__title {
  margin: 0;
  font-weight: 340;
  font-size: clamp(2.7rem, 1.1rem + 4.1vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(4, 10, 26, .35);
}
.hero__lead { max-width: 32ch; font-size: clamp(1rem, .96rem + .2vw, 1.125rem); line-height: 1.55; color: rgba(255, 255, 255, .9); }
.hero[data-copy="center"] { --copy-align: center; }
.hero[data-copy="center"] .hero__lead { margin-inline: auto; }

/* ---------- The rail (booking) ---------- */
.rail {
  position: relative; z-index: 5;
  margin-inline: calc(-1 * var(--wall-gap));
  margin-top: calc(-1 * var(--rail-h) / 2);
  margin-bottom: clamp(28px, 3vw, 44px);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(28, 35, 41, .1), 0 18px 40px -26px rgba(28, 35, 41, .45);
}
/* moulding grooves along the rail */
.rail::before, .rail::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line); pointer-events: none;
}
.rail::before { top: 5px; }
.rail::after { bottom: 5px; }

.booking {
  position: relative;
  max-width: var(--frame-w);
  padding-inline: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr auto;
  min-height: var(--rail-h);
}
.booking__field {
  display: grid; align-content: center; gap: 1px;
  text-align: left;
  padding: 14px 22px;
  background: none; border: 0;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s var(--ease);
}
.booking__field + .booking__field { border-left: 1px solid var(--line); }
.booking__field:first-child { padding-left: 0; }
.booking__field:hover, .booking__field[aria-expanded="true"] { background: linear-gradient(var(--light), var(--light)) center / 100% calc(100% - 12px) no-repeat; }
.booking__label { font-size: .8125rem; font-weight: 520; color: var(--muted); }
.booking__value {
  font-weight: 420; font-size: 1.45rem; line-height: 1.25; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.booking__value.is-empty { color: var(--muted); }
.booking__sub { font-size: .8125rem; color: var(--muted); min-height: 1.3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking__submit { display: grid; align-content: center; justify-items: center; gap: 7px; padding: 14px 0 14px 22px; border-left: 1px solid var(--line); }
.booking__note { font-size: .75rem; line-height: 1.4; color: var(--muted); text-align: center; max-width: 30ch; }
.booking__note strong { color: var(--ink); font-weight: 600; }

/* Popovers */
.popover {
  position: absolute; z-index: 40;
  top: calc(100% + 6px);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -20px rgba(18, 26, 32, .5), 0 0 0 1px rgba(28, 35, 41, .08);
  animation: pop .22s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.popover.is-up { top: auto; bottom: calc(100% + 6px); }

.datepicker { left: 0; width: min(720px, 100%); padding: 22px 24px 18px; }
.datepicker__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.datepicker__hint { font-size: .9375rem; color: var(--muted); }
.datepicker__nav { display: flex; gap: 4px; }
.datepicker__months { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.datepicker__foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px;
}
.month__caption { font-weight: 450; font-size: 1.15rem; color: var(--ink); margin: 4px 0 12px; text-transform: capitalize; }
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.month__dow { font-size: .75rem; color: var(--muted); text-align: center; padding-bottom: 8px; }
.day {
  position: relative;
  aspect-ratio: 1 / 1; min-height: 40px;
  display: grid; place-items: center;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: .9375rem; font-variant-numeric: tabular-nums; color: var(--ink);
}
.day span {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  transition: background-color .15s, color .15s;
}
.day:hover:not(:disabled) span { background: var(--line); }
.day:disabled { color: #ADB6BC; cursor: default; }
.day:focus-visible { outline: none; }
.day:focus-visible span { box-shadow: 0 0 0 2px var(--velvet); }
.day.is-today span { box-shadow: inset 0 0 0 1px var(--wall); }
.day.in-range::before, .day.in-preview::before,
.day.is-start::before, .day.is-end::before {
  content: ""; position: absolute; inset: 4px 0; background: var(--light);
}
.day.is-start::before { left: 50%; }
.day.is-end::before { right: 50%; }
.day.is-start.is-end::before { display: none; }
.day.is-start:not(.has-range)::before { display: none; }
.day.is-start span, .day.is-end span { background: var(--velvet); color: #fff; }
.day.is-start:hover span, .day.is-end:hover span { background: var(--velvet-2); }
.day--blank { pointer-events: none; }

.guests { left: 0; width: 360px; padding: 8px 24px 20px; }
.counter {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.counter__title { font-weight: 560; color: var(--ink); }
.counter__hint { font-size: .8125rem; color: var(--muted); }
.counter__ctrl { display: flex; align-items: center; gap: 14px; }
.counter__ctrl output { min-width: 1.5ch; text-align: center; font-variant-numeric: tabular-nums; font-size: 1.0625rem; }
.guests__ages { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.guests__ages:not(:empty) { padding-top: 16px; }
.age-field { display: grid; gap: 4px; font-size: .8125rem; color: var(--muted); }
.age-field select {
  appearance: none; -webkit-appearance: none;
  width: 100%; padding: 10px 34px 10px 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C2329' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 10px center / 16px no-repeat;
  font: inherit; font-size: .9375rem; color: var(--ink);
}
.age-field select[aria-invalid="true"] { border-color: #A3392B; }
.guests__note { font-size: .8125rem; line-height: 1.45; color: var(--muted); padding-top: 14px; }
.guests__error { font-size: .8125rem; font-weight: 560; color: #A3392B; padding-top: 10px; }
.guests__foot { display: flex; justify-content: flex-end; padding-top: 18px; }

.scrim {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(18, 24, 29, .55);
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } }

/* The single page-load moment: the headline settles and the rail slides in */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy { animation: rise 1s var(--ease) .15s backwards; }
  .rail { animation: rail .9s var(--ease) .35s backwards; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rail { from { opacity: 0; clip-path: inset(0 50% 0 50%); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

/* =========================================================
   Airport
   ========================================================= */
.airport { padding-top: clamp(56px, 6vw, 96px); }
.airport__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
}
.airport__head { grid-column: 1 / span 5; display: grid; gap: 24px; justify-items: start; position: sticky; top: calc(var(--header-h) + 32px); }
.airport__head .h2 { max-width: 12ch; }
.airport__head .lead { color: var(--ink-2); max-width: 40ch; }

.facts {
  grid-column: 7 / -1;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 3vw, 48px);
}
.facts__row { display: grid; gap: 6px; padding: 20px 0 26px; border-top: 1px solid var(--line); }
.facts__row dt { font-size: .8125rem; font-weight: 560; color: var(--muted); }
.facts__big { display: block; font-weight: 400; font-size: clamp(1.6rem, 1.3rem + .9vw, 2.15rem); line-height: 1.1; color: var(--ink); letter-spacing: -.01em; }
.facts__sub { display: block; margin-top: 6px; font-size: .9375rem; line-height: 1.5; color: var(--muted); max-width: 32ch; }
.airport__note { margin-top: 28px; font-size: .8125rem; color: var(--muted); }

/* =========================================================
   Rooms: the room's wall (signature)
   ========================================================= */
.wall {
  --sofa: var(--velvet);
  position: relative;
  background: var(--wall);
  color: var(--ink);
  padding-top: clamp(64px, 7vw, 108px);
  overflow: hidden;
}
.wall__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: end;
  margin-bottom: clamp(28px, 3.2vw, 44px);
}
.wall__head .h2 { grid-column: 1 / span 5; max-width: 11ch; }
.wall__intro { grid-column: 7 / -1; max-width: 54ch; font-size: 1.0625rem; }

/* Tabs on the wall */
.wall__tabs {
  display: flex; gap: clamp(22px, 3.4vw, 52px);
  border-bottom: 1px solid rgba(28, 35, 41, .24);
  overflow-x: auto; scrollbar-width: none;
}
.wall__tabs::-webkit-scrollbar { display: none; }
.wall-tab {
  position: relative; flex: none;
  display: grid; gap: 0; justify-items: start;
  padding: 0 0 14px; background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink);
}
.wall-tab__name { font-weight: 520; font-size: 1rem; white-space: nowrap; opacity: .76; transition: opacity .2s; }
.wall-tab__meta { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: 1.55rem; line-height: 1.2; opacity: .76; transition: opacity .2s; }
.wall-tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--velvet);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.wall-tab:hover .wall-tab__name, .wall-tab:hover .wall-tab__meta,
.wall-tab.is-active .wall-tab__name, .wall-tab.is-active .wall-tab__meta { opacity: 1; }
.wall-tab.is-active::after { transform: scaleX(1); }

/* Above the rail: the room's details and the panel mouldings */
.wall__room { position: relative; margin-top: clamp(36px, 4vw, 56px); transition: --sofa .7s var(--ease); }
.wall__upper {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: end;
}
.wall__info { grid-column: 1 / span 4; display: grid; gap: 16px; justify-items: start; }
.wall__name { margin: 0; font-weight: 400; font-size: clamp(1.6rem, 1.3rem + .9vw, 2.2rem); line-height: 1.1; letter-spacing: -.012em; }
.wall__specs { width: 100%; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 clamp(18px, 2.2vw, 32px); }
.wall__specs dt { font-size: .8125rem; font-weight: 560; }
.wall__specs dd { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: 1.22rem; line-height: 1.3; white-space: nowrap; }
.wall__desc { max-width: 42ch; }
.wall__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 4px; }

.wall__frames {
  grid-column: 6 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  column-gap: clamp(22px, 3vw, 48px);
  height: clamp(300px, 40vh, 440px);
}
.moulding {
  position: relative;
  display: block; width: 100%; height: 100%;
  padding: 15px;
  background: none;
  border: 3px solid var(--moulding);
  box-shadow:
    inset 0 0 0 6px var(--wall),
    inset 0 0 0 7.5px rgba(255, 255, 255, .95),
    1px 2px 0 rgba(28, 35, 41, .14),
    inset 1px 2px 0 rgba(28, 35, 41, .1);
  cursor: zoom-in;
  transition: box-shadow .25s var(--ease);
}
.moulding img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .45s var(--ease);
}
.moulding img.is-fading { opacity: 0; }
.moulding:hover { box-shadow:
    inset 0 0 0 6px var(--wall),
    inset 0 0 0 9.5px rgba(255, 255, 255, .95),
    1px 2px 0 rgba(28, 35, 41, .14),
    inset 1px 2px 0 rgba(28, 35, 41, .1); }

/* Chair rail */
.wall__rail {
  height: 14px; margin-top: clamp(36px, 4vw, 56px);
  background:
    linear-gradient(rgba(28, 35, 41, .08), rgba(28, 35, 41, .08)) 0 4px / 100% 1px no-repeat,
    var(--moulding);
  box-shadow: 0 2px 0 rgba(28, 35, 41, .12);
}

/* Below the rail: what every room has, and the sofa on the floor */
.wall__lower {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: end;
  padding-top: clamp(24px, 2.6vw, 36px);
}
.wall__common { grid-column: 1 / span 4; display: grid; gap: 12px; align-self: start; padding-top: 6px; }
.wall__common-title { font-weight: 600; font-size: .9375rem; }
.amenities { display: grid; grid-template-columns: repeat(2, max-content); gap: 2px 28px; font-size: .9375rem; }
.amenities li { position: relative; padding-left: 16px; }
.amenities li::before { content: ""; position: absolute; left: 1px; top: .62em; width: 6px; height: 6px; border: 1.5px solid var(--ink); transform: rotate(45deg); }
.wall__more { font-size: .9375rem; max-width: 34ch; margin-top: 6px; }

.sofa {
  grid-column: 6 / -1;
  justify-self: center;
  width: min(100%, 560px);
  height: auto;
  overflow: visible;
  margin-bottom: -4px; /* legs stand on the floor */
}
.v-hi { stop-color: color-mix(in oklab, var(--sofa) 78%, #fff); }
.v-base { stop-color: var(--sofa); }
.v-lo { stop-color: color-mix(in oklab, var(--sofa) 64%, #000); }
.v-puff { stop-color: color-mix(in oklab, var(--sofa) 74%, #fff); }
.v-crease { stop-color: color-mix(in oklab, var(--sofa) 60%, #000); }
.sofa__back { fill: color-mix(in oklab, var(--sofa) 52%, #000); }
.sofa__tufting path { stroke: color-mix(in oklab, var(--sofa) 50%, #000); stroke-width: .8; }
.sofa__tufting circle { fill: color-mix(in oklab, var(--sofa) 42%, #000); }
.sofa__tufting circle.hl { fill: color-mix(in oklab, var(--sofa) 45%, #fff); }
.sofa__roll { fill: color-mix(in oklab, var(--sofa) 86%, #fff); }
.sofa__seam { fill: none; stroke: color-mix(in oklab, var(--sofa) 52%, #000); stroke-width: 1.4; opacity: .75; }
.sofa__ring { fill: none; stroke: var(--gold); stroke-width: 2.6; stroke-linecap: round; }
.sofa__ring path { stroke: color-mix(in oklab, var(--sofa) 50%, #000); stroke-width: 6; }
.sofa__leg { fill: #6B4428; }
.sofa__shadow { fill: rgba(40, 28, 18, .22); }

/* Skirting board and oak floor */
.wall__floor {
  height: clamp(44px, 5vw, 64px);
  background:
    linear-gradient(var(--moulding), var(--moulding)) 0 0 / 100% 9px no-repeat,
    linear-gradient(rgba(28, 35, 41, .16), rgba(28, 35, 41, .16)) 0 9px / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 211px, rgba(110, 76, 44, .22) 211px 212px),
    linear-gradient(var(--oak), var(--oak-2));
}

/* =========================================================
   Lobby and breakfast
   ========================================================= */
.lobby__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  row-gap: clamp(32px, 4vw, 56px);
}
.lobby__main { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.lobby__main img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.lobby__text { grid-column: 9 / -1; grid-row: 1; display: grid; gap: 18px; align-content: start; }
.lobby__text .h2 { margin-bottom: 6px; max-width: 10ch; }
.lobby__text p:not(.h2) { color: var(--ink-2); }
.lobby__breakfast { grid-column: 9 / -1; grid-row: 2; align-self: end; }
.lobby__breakfast img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lobby__terrace { grid-column: 3 / -1; grid-row: 3; }
.lobby__terrace img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 62%; }

.plain-list { margin-top: 8px; }
.plain-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 520; }
.plain-list li:first-child { border-top: 1px solid var(--line); }

/* =========================================================
   Services
   ========================================================= */
.services { background: var(--light); }
.services__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
}
.services__head { grid-column: 1 / span 4; display: grid; gap: 18px; }
.services__intro { color: var(--muted); max-width: 34ch; }
.services__list {
  grid-column: 6 / -1;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 3vw, 48px);
}
.services__list div { padding: 18px 0 20px; border-top: 1px solid var(--line); }
.services__list dt { font-weight: 600; color: var(--ink); }
.services__list dd { margin-top: 2px; color: var(--muted); font-size: .9375rem; }

/* =========================================================
   Location
   ========================================================= */
.location__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
}
.location__info { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; }
.location__info .h2 { max-width: 12ch; margin-bottom: 22px; }
.location__intro { color: var(--ink-2); max-width: 46ch; margin-bottom: 26px; }
.location__address { display: grid; margin-bottom: 30px; font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: 1.2rem; line-height: 1.45; }
.location__map {
  grid-column: 7 / -1;
  position: sticky; top: calc(var(--header-h) + 24px);
  height: min(720px, calc(100vh - var(--header-h) - 48px));
  min-height: 460px;
  padding: 10px; border: 3px solid var(--wall);
  box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7.5px var(--wall);
}
.location__map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.6) contrast(1.02); }
.distances { width: 100%; margin-bottom: 32px; }
.distances__title { font-size: .8125rem; font-weight: 600; color: var(--muted); margin: 0 0 6px; }
.distances ul + .distances__title { margin-top: 26px; }
.distances li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9375rem;
}
.distances li > span:last-child { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dist__v small { font-size: .8125rem; font-weight: 400; color: var(--muted); margin-left: 6px; }

/* =========================================================
   Gallery
   ========================================================= */
.gallery { background: var(--light); }
.gallery__title { margin-bottom: clamp(32px, 4vw, 52px); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 15vw, 230px);
  gap: clamp(8px, 1.1vw, 14px);
}
.gallery__grid li { min-width: 0; }
.g-a { grid-column: 1 / span 5; grid-row: span 3; }
.g-b { grid-column: 6 / span 4; grid-row: span 2; }
.g-c { grid-column: 10 / span 3; grid-row: span 2; }
.g-d { grid-column: 6 / span 3; grid-row: span 2; }
.g-e { grid-column: 9 / span 4; grid-row: span 2; }
.g-f { grid-column: 1 / span 5; grid-row: span 2; }
.g-g { grid-column: 6 / span 4; grid-row: span 2; }
.g-h { grid-column: 10 / span 3; grid-row: span 1; }
.g-i { grid-column: 10 / span 3; grid-row: span 2; }
.g-j { grid-column: 1 / span 9; grid-row: span 1; }
.gallery__item {
  position: relative;
  display: block; width: 100%; height: 100%; padding: 0; border: 0;
  background: var(--line); cursor: zoom-in; overflow: hidden;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
/* a thin moulding line appears inside the picture on hover */
.gallery__item::after {
  content: ""; position: absolute; inset: 10px; border: 1.5px solid rgba(255, 255, 255, .9);
  opacity: 0; transition: opacity .3s var(--ease), inset .3s var(--ease); pointer-events: none;
}
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; inset: 14px; }
.gallery__item:hover img { transform: scale(1.02); }
.gallery__item:focus-visible { outline-offset: 2px; }

/* =========================================================
   Closing: a moulded panel on the wall
   ========================================================= */
.closing { background: var(--wall); padding-block: clamp(56px, 7vw, 104px); }
.closing__frame {
  display: grid; justify-items: center; text-align: center; gap: 20px;
  padding: clamp(44px, 6vw, 88px) clamp(20px, 5vw, 72px);
  border: 3px solid var(--moulding);
  box-shadow:
    inset 0 0 0 7px var(--wall),
    inset 0 0 0 8.5px rgba(255, 255, 255, .95),
    1px 2px 0 rgba(28, 35, 41, .14);
}
.closing__title {
  margin: 0; max-width: 17ch;
  font-weight: 360; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); line-height: 1.04; letter-spacing: -.02em;
  text-wrap: balance;
}
.closing__text { max-width: 44ch; }
.closing__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; margin-top: 10px; }
.text-link--ink { text-decoration-color: var(--ink); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: .9375rem; padding-top: 64px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.site-footer__mark { color: var(--on-dark); margin-bottom: 18px; }
.site-footer__name { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: 1.3rem; color: #fff; margin-bottom: 6px; }
.site-footer__title { font-size: .8125rem; font-weight: 600; color: var(--on-dark); margin: 0 0 10px; }
.site-footer__list { display: grid; gap: 4px; }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-block: 22px calc(22px + env(safe-area-inset-bottom));
  font-size: .8125rem;
  background: linear-gradient(var(--line-dark), var(--line-dark)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-book { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(16, 21, 25, .96);
  color: #fff;
}
.lightbox[open] { display: grid; place-items: center; animation: fade .25s ease; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 80vh; object-fit: contain; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; font-size: .9375rem; color: var(--on-dark-muted); padding-inline: 72px; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); color: #fff; cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .16); }
.lightbox__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
}

@media (max-width: 1099px) {
  .hero { --copy-w: min(56%, 600px); }
  .booking { grid-template-columns: 1fr 1fr 1fr; }
  .booking__submit { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); grid-template-columns: auto 1fr; justify-items: start; align-items: center; gap: 16px; padding: 14px 0 16px; }
  .booking__note { text-align: left; }
  .hero { --rail-h: 120px; }
  .booking { min-height: 0; }
}

/* dikey tablet: çerçeve dar ve uzun, binayı biraz sola çek ki başlık gökte kalsın */
@media (max-width: 1023px) and (min-width: 761px) and (orientation: portrait) {
  .hero { --hero-pos: 60% 50%; --copy-w: min(48%, 420px); }
}

@media (max-width: 1023px) {
  .airport__head, .facts,
  .wall__head .h2, .wall__intro,
  .lobby__main, .lobby__text, .lobby__breakfast, .lobby__terrace,
  .services__head, .services__list,
  .location__info, .location__map { grid-column: 1 / -1; }
  .airport__head { position: static; margin-bottom: 40px; }
  .wall__intro { margin-top: 20px; }
  .wall__info { grid-column: 1 / -1; grid-row: 2; margin-top: 28px; }
  .wall__frames { grid-column: 1 / -1; grid-row: 1; }
  .wall__common { grid-column: 1 / span 5; }
  .amenities { grid-template-columns: 1fr; }
  .sofa { grid-column: 6 / -1; }
  .lobby__main { grid-row: 2; }
  .lobby__text { grid-row: 1; }
  .lobby__breakfast { grid-row: 3; }
  .lobby__terrace { grid-row: 4; }
  .lobby__breakfast img { aspect-ratio: 16 / 9; }
  .services__list { margin-top: 36px; }
  .location__map { position: relative; top: 0; margin-top: 40px; height: 460px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .hero { --rail-h: 0px; padding-inline: 10px; }
  .hero__frame { height: clamp(460px, calc(100svh - var(--header-h) - 150px), 640px); padding: 8px; }
  .hero__media img { object-position: var(--hero-pos-m); }
  .hero__media::after { background: linear-gradient(180deg, rgba(6, 14, 34, calc(var(--hero-veil) * .8)), transparent 46%); }
  .hero__copy { left: 26px; right: 26px; top: 28px; width: auto; gap: 12px; }
  .hero__title { font-size: clamp(2.35rem, 1.2rem + 5.6vw, 3.2rem); }
  .hero__lead { display: none; }

  .rail { margin-top: -44px; margin-inline: -10px; }
  .booking { grid-template-columns: 1fr 1fr; padding-block: 8px; padding-inline: 16px; max-width: none; }
  .booking__field { padding: 12px 14px; min-height: 80px; }
  .booking__field:first-child { padding-left: 0; }
  #guestsField { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .booking__submit { grid-column: 1 / -1; grid-template-columns: 1fr; justify-items: stretch; padding: 12px 0 10px; }
  .booking__submit .btn { width: 100%; }
  .booking__note { text-align: center; max-width: none; }
  .booking__value { font-size: 1.25rem; }

  /* Popovers become bottom sheets */
  .popover {
    position: fixed; z-index: 80;
    left: 0 !important; right: 0 !important; top: auto; bottom: 0;
    width: 100% !important; max-height: 88vh; overflow-y: auto;
    border-radius: 14px 14px 0 0;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
    animation: sheet .3s var(--ease);
  }
  .datepicker { display: flex; flex-direction: column; overflow: hidden; padding-inline: 16px; }
  .datepicker__months { grid-template-columns: 1fr; gap: 20px; overflow-y: auto; min-height: 0; flex: 1 1 auto; overscroll-behavior: contain; }
  .datepicker__foot { flex: none; }
  .day span { width: 44px; height: 44px; }

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

  .wall__frames { grid-template-columns: minmax(0, 1fr) minmax(0, .52fr); column-gap: 14px; height: auto; }
  .moulding { padding: 10px; border-width: 2px; box-shadow: inset 0 0 0 4px var(--wall), inset 0 0 0 5px rgba(255, 255, 255, .95), 1px 1px 0 rgba(28, 35, 41, .14); }
  .moulding--wide { aspect-ratio: 4 / 5; height: auto; }
  .wall__lower { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
  .wall__common { padding-top: 0; }
  .amenities { grid-template-columns: 1fr; }
  .sofa { width: min(100%, 420px); align-self: center; }

  .lobby__terrace img { aspect-ratio: 4 / 3; }
  .services__list { grid-template-columns: 1fr; }

  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(140px, 40vw, 240px); }
  .gallery__grid li { grid-column: auto; grid-row: auto; }
  .gallery__grid .g-a, .gallery__grid .g-j { grid-column: 1 / -1; grid-row: span 2; }

  .closing__actions .btn { width: 100%; }

  .sticky-book {
    display: flex; gap: 10px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%);
    transition: transform .35s var(--ease);
  }
  .sticky-book .btn { flex: 1; }
  .sticky-book__icon { width: 48px; height: 48px; flex: none; }
  .sticky-book.is-visible { transform: none; }
  .site-footer { padding-bottom: 76px; }
}
@keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }

@media (max-width: 640px) {
  .site-header__inner { gap: 10px; padding-inline: 16px 8px; }
  .site-header__actions { gap: 4px; }
  .brand { gap: 10px; }
  .brand__mark { width: 26px; height: 26px; }
  .brand__name { font-size: 1.18rem; }
  .site-header__cta { display: none; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 64px; transform: none; }
  .lightbox__cap { bottom: 132px; padding-inline: 24px; }
  .wall__specs { grid-template-columns: 1fr 1fr 1fr; gap: 0 16px; }
  .wall__specs dd { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
