/* Maje Hotels — four-property collection.
   Retains the supplied wordmark palette, display typography and quiet motion. */
:root {
  --paper: oklch(0.985 0.005 85);
  --ivory: oklch(0.96 0.014 84);
  --ink: oklch(0.17 0.005 75);
  --muted: oklch(0.45 0.01 75);
  --gold: oklch(0.62 0.065 75);
  --gold-deep: oklch(0.48 0.06 72);
  --rule: oklch(0.17 0.005 75 / 0.12);
  --font-display: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.2, 0.7, 0.1, 1);
  --pad: clamp(20px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 50;
  padding: 12px 18px; background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: 14px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Masthead and language */
.masthead {
  position: relative; display: grid; justify-items: center;
  padding: 28px var(--pad) 26px;
}
.masthead__logo img { width: clamp(230px, 20vw, 290px); height: auto; }
.lang {
  position: absolute; top: clamp(14px, 2.4vh, 26px); right: var(--pad);
  display: flex; align-items: center;
}
.lang__btn {
  position: relative; min-width: 44px; min-height: 44px; padding: 0 10px;
  background: none; border: 0; cursor: pointer;
  font: 600 12px/1 var(--font-body); letter-spacing: 0.16em; color: var(--muted);
  transition: color 0.2s;
}
.lang__btn::after {
  content: ""; position: absolute; left: 50%; bottom: 9px;
  width: 18px; height: 2px; margin-left: -10px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.3s var(--ease-out);
}
.lang__btn:hover, .lang__btn[aria-pressed="true"] { color: var(--ink); }
.lang__btn[aria-pressed="true"] { cursor: default; }
.lang__btn[aria-pressed="true"]::after { transform: scaleX(1); }
.lang__sep { width: 1px; height: 14px; background: var(--rule); }
html:not(.js) .lang { display: none; }

/* Every property has a photograph, its own identity, and a visible destination. */
.hotels { display: grid; gap: 22px; min-width: 0; padding: 0 var(--pad); }
.hotels__bar { padding-top: 14px; border-top: 1px solid var(--rule); }
.hotels__title {
  font: 600 11px/1.5 var(--font-body); letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold-deep);
}
.hotels__dot { padding: 0 0.6em; }
.hotels__places { text-wrap: balance; }
.hotels__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 30px; }
.hotel {
  position: relative; min-width: 0; display: flex; flex-direction: column;
  background: transparent; border-radius: 0;
  outline: 2px solid transparent; outline-offset: 4px;

}
.hotel:has(.hotel__cta:focus-visible) { outline-color: var(--ink); }
.hotel__media {
  position: relative; flex: none; overflow: hidden; aspect-ratio: 16 / 10;
  margin: 0; border-radius: 2px; background: var(--ivory);
}
.hotel__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, 50% 50%);
  transform: scale(1); transition: transform 0.6s var(--ease-out);
}
@media (hover: hover) {
  .hotel:hover .hotel__media img { transform: scale(1.035); }
}
.hotel__caption { display: flex; flex-direction: column; flex: 1; gap: 18px; padding: 22px 0 0; }
.hotel__id { min-width: 0; }
.hotel__meta {
  font: 600 11px/1.4 var(--font-body); letter-spacing: 0.08em;
  text-transform: uppercase; text-wrap: balance;
}
.hotel__tag { color: var(--muted); }
.hotel__name {
  margin-top: 10px; font: 500 clamp(32px, 2.6vw, 40px)/1.05 var(--font-display);
  letter-spacing: 0.005em; text-wrap: balance;
}
.hotel__name span {
  display: block; margin-top: 6px;
  font: 500 11px/1.45 var(--font-body); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); text-wrap: balance;
}
.hotel__place { margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.hotel__body { display: flex; flex: 1; min-width: 0; }
.hotel__body-inner {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  flex: 1; gap: 20px; padding-top: 18px; border-top: 1px solid var(--rule);
}
.hotel__body-inner::before {
  content: ""; position: absolute; left: 0; top: -1px;
  width: 34px; height: 1px; background: var(--gold);
}
.hotel__line {
  max-width: 38ch; font: 500 19px/1.5 var(--font-display);
  letter-spacing: 0.005em; font-variant-numeric: lining-nums;
  color: var(--ink); text-wrap: pretty;
}
.hotel__cta {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; align-self: stretch; flex: none;
  min-height: 48px; padding: 12px 0; background: transparent; color: var(--ink);
  border: 0; border-bottom: 1px solid var(--rule); border-radius: 0;
  font: 600 12px/1 var(--font-body); letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; overflow-wrap: anywhere;
  transition: color 180ms, border-color 180ms;
}
.hotel__cta svg {
  width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6;
  transition: transform 0.3s var(--ease-out);
}
.hotel__cta:is(:hover, :focus-visible) { border-color: var(--gold-deep); color: var(--gold-deep); }
@media (hover: hover) and (pointer: fine) {
  .hotel__cta:hover svg { transform: translate(2px, -2px); }
}
.hotel__cta:focus-visible svg { transform: translate(2px, -2px); }
.hotel__cta:active svg { transform: translate(1px, -1px); }

/* Company contact and the complete hotel index */
.footer {
  display: grid; grid-template-columns: minmax(170px, 1fr) minmax(0, 1.75fr) minmax(0, 2fr);
  gap: 0 clamp(40px, 5vw, 88px); align-items: start;
  margin: 40px var(--pad) 0; padding: clamp(36px, 5vh, 56px) 0 clamp(40px, 6vh, 64px);
  border-top: 1px solid var(--rule); font-size: 13px; line-height: 1.5; color: var(--muted);
}
.footer__group { min-width: 0; }
.footer__label, .footer__wordmark { height: 18px; margin: 0 0 14px; }
.footer__label {
  font: 600 10px/18px var(--font-body); letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold-deep);
}
.footer__wordmark { font: 500 19px/18px var(--font-display); letter-spacing: 0.02em; color: var(--ink); }
.footer__legal { line-height: 28px; }
.footer__contact { display: flex; flex-direction: column; align-items: flex-start; font-style: normal; }
.footer__contact a {
  display: inline-flex; align-items: center; min-height: 28px; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.footer__contact a:hover { text-decoration-thickness: 2px; }
.footer__address { margin-top: 6px; line-height: 1.6; }
.footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.footer__links a {
  display: inline-flex; align-items: center; gap: 7px; min-height: 28px;
  color: var(--ink); text-decoration: none; text-underline-offset: 5px; text-decoration-thickness: 1px;
}
.footer__links svg { width: 11px; height: 11px; flex: none; fill: none; stroke: var(--gold-deep); stroke-width: 1.6; }
.footer__links a:hover { text-decoration-line: underline; text-decoration-color: var(--gold); }
@media (pointer: coarse) {
  .footer__contact a, .footer__links a { min-height: 44px; }
}

/* The collection keeps the same reading order at every width. */
@media (max-width: 1199px) {
  .hotels__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
}
@media (max-width: 959px) {
  .footer { grid-template-columns: 1fr; gap: 32px; }
  .footer__contact a, .footer__links a { min-height: 44px; }
}
@media (max-width: 719px) {
  .masthead { padding: 58px var(--pad) 26px; }
  .masthead__logo img { width: min(62vw, 242px); }
  .lang { top: 8px; right: calc(var(--pad) - 10px); }
  .hotels__bar { text-align: center; }
  .hotels__dot { display: none; }
  .hotels__places { display: block; margin-top: 3px; }
  .hotels__list { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .hotel__caption { padding: 20px 0 0; }
  .hotel__cta { min-height: 52px; }
  .footer { margin-top: 32px; padding: 32px 0 40px; }
  .footer__links { grid-template-columns: 1fr; gap: 0; }
}

/* Scripted image arrivals leave no retained animation style. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .hotel:hover, .hotel:focus-within, .hotel__media img, .hotel:hover .hotel__media img, .hotel__cta:hover svg, .hotel__cta:focus-visible svg { transform: none; }
}

/* Temporary preparation screen; collection styles remain ready for restoration. */
.preparation-page { min-height: 100svh; display: grid; }
.notice {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100svh; padding: 56px var(--pad); text-align: center;
}
.notice__logo { width: clamp(230px, 24vw, 340px); height: auto; }
.notice__rule { width: 48px; height: 1px; background: var(--gold); margin: clamp(40px, 7vh, 64px) 0 32px; }
.notice__title {
  font: 400 clamp(52px, 5vw, 76px)/1.1 var(--font-display);
  letter-spacing: -0.025em; text-wrap: balance;
}
.notice__copy {
  margin-top: 22px; max-width: 38ch; color: var(--muted);
  font: 400 14px/1.9 var(--font-body); text-wrap: balance;
}
