/* =========================================================================
   Elysis Luxury Resort
   Paros, Cyclades. One stylesheet, no framework, no build step.

   Contents
     1  Tokens
     2  Base and type
     3  Furniture: nav, footer, rail, concierge
     4  Hero and landing chapters
     5  Cards: residences, experiences, dining, gallery
     6  Profiles: a residence or an experience, in full
     7  Forms
     8  Odds and ends: 404, callouts, lightbox
     9  Motion and responsive
   ========================================================================= */

/* -- 1  Tokens ---------------------------------------------------------- */

:root {
  --ivory: #f8f5ef;
  --ivory-warm: #f2ece1;
  --sand: #e8decd;
  --stone: #d8cdb9;
  --bronze: #6b5433;
  --bronze-deep: #4a3a23;
  --bronze-soft: #94795180;
  --aegean: #2c6478;
  --night: #2b251e;
  --night-soft: #3a3229;

  --ink: #2c2720;
  --ink-soft: #6d6459;
  --ink-faint: #9a9084;
  --line: rgba(44, 39, 32, 0.14);
  --line-soft: rgba(44, 39, 32, 0.08);
  --on-dark: #f5efe4;
  --on-dark-soft: rgba(245, 239, 228, 0.72);

  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Jost', 'Futura', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --pad: clamp(72px, 9vw, 136px);
  --radius: 2px;

  --shadow-card: 0 18px 50px -32px rgba(44, 39, 32, 0.55);
  --shadow-lift: 0 30px 70px -34px rgba(44, 39, 32, 0.6);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* -- 2  Base and type --------------------------------------------------- */

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

/* A row this stylesheet lays out with grid or flex still has to obey `hidden`,
   which is how the optional details (a telephone that has not been set) and the
   filtered-out cards take themselves off the page. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, blockquote {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: 0.005em;
  line-height: 1.08;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.2; }
h4 { font-size: 1.05rem; letter-spacing: 0.04em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

.eyebrow {
  display: inline-block;
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1.1rem;
}

.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: var(--ink-soft);
  max-width: 62ch;
  line-height: 1.8;
}

.sub-head {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 2.4rem 0 1rem;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--night);
  color: var(--on-dark);
  padding: 12px 20px;
}
.skip:focus { left: 12px; top: 12px; }

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 2px;
  width: 0;
  background: var(--bronze);
  z-index: 120;
  transition: width 0.12s linear;
}

/* The photograph that sits behind everything, very quietly. */
.underlay { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.underlay-img {
  position: absolute;
  inset: -8% 0;
  background-size: cover;
  background-position: center;
  transform: translateY(var(--underlay-shift, 0));
  opacity: 0.35;
}
.underlay-scrim { position: absolute; inset: 0; background: var(--ivory); opacity: 0.965; }

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1.05em 2.2em;
  border: 1px solid var(--bronze);
  background: var(--bronze);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn:hover { background: var(--bronze-deep); border-color: var(--bronze-deep); }

.btn.ghost { background: transparent; color: var(--bronze); }
.btn.ghost:hover { background: var(--bronze); color: var(--ivory); }
.btn.wide { width: 100%; margin-top: 1.4rem; }
.btn[disabled] { opacity: 0.55; cursor: progress; }

.link-arrow {
  display: inline-block;
  margin-top: 1.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze);
  border-bottom: 1px solid var(--bronze-soft);
  padding-bottom: 0.45em;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.link-arrow::after { content: ' \2192'; }
.link-arrow:hover { border-color: var(--bronze); }

.go {
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze);
}
.go::after { content: ' \2192'; }

/* -- 3  Furniture ------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding: 18px var(--gutter);
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), padding 0.5s var(--ease);
}
.nav.scrolled {
  background: rgba(248, 245, 239, 0.94);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line-soft);
  padding-block: 12px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-word { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.02em; }
.brand-sub {
  font-size: 0.52rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 4px;
}

/* Over a full-bleed image the nav is white; once the page scrolls it inks up. */
.has-hero .nav:not(.scrolled) .brand-word,
.has-hero .nav:not(.scrolled) .nav-links > a,
.has-hero .nav:not(.scrolled) .nav-toggle span { color: var(--on-dark); }
.has-hero .nav:not(.scrolled) .brand-sub { color: var(--on-dark-soft); }
.has-hero .nav:not(.scrolled) .nav-toggle span { background: var(--on-dark); }
.has-hero .nav:not(.scrolled) .nav-cta { color: var(--on-dark); border-color: rgba(245, 239, 228, 0.55); }
.has-hero .nav:not(.scrolled) .nav-cta:hover { background: var(--on-dark); color: var(--night); border-color: var(--on-dark); }
.has-hero .nav:not(.scrolled) .nav-links > a.is-active { border-color: rgba(245, 239, 228, 0.8); }
.has-hero .nav:not(.scrolled) .brand-mark { filter: brightness(0) invert(1); opacity: 0.92; }
/* A hair of shade under the nav so white type holds over a bright photograph. */
.has-hero .nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 16, 12, 0.42), transparent);
  opacity: 1;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
  z-index: -1;
}
.has-hero .nav.scrolled::before { opacity: 0; }

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
}
.nav-links > a {
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease), opacity 0.35s var(--ease);
}
.nav-links > a:hover { border-color: currentColor; }
.nav-links > a.is-active { border-color: var(--bronze); }
.nav-links-cta { display: none; }

.nav-cta { padding: 0.85em 1.8em; font-size: 0.64rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px 6px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span { display: block; height: 1px; background: var(--ink); transition: transform 0.4s var(--ease), opacity 0.3s; }
.nav.open-sheet .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav.open-sheet .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open-sheet .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Footer ----------------------------------------------------------------- */

.footer {
  position: relative;
  background: var(--night);
  color: var(--on-dark);
  padding-top: clamp(64px, 8vw, 110px);
  margin-top: 0;
}
.footer .brand-word { color: var(--on-dark); }
.footer .brand-sub { color: var(--on-dark-soft); }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.footer-lede { margin-top: 1.6rem; color: var(--on-dark-soft); max-width: 34ch; font-size: 0.95rem; }
.footer h5 {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.5);
  margin: 0 0 1.4rem;
}
.footer .col { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.92rem; }
.footer .col a { color: var(--on-dark-soft); transition: color 0.35s var(--ease); }
.footer .col a:hover { color: var(--on-dark); }
.footer-line { color: var(--on-dark-soft); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid rgba(245, 239, 228, 0.14);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.45);
}

/* The chapter rail on the landing page ----------------------------------- */

.chapter-rail {
  position: fixed;
  right: clamp(12px, 1.6vw, 26px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}
.chapter-rail a { display: flex; align-items: center; gap: 10px; }
.chapter-rail .label {
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.chapter-rail .tick { width: 18px; height: 1px; background: var(--ink-faint); opacity: 0.5; transition: width 0.35s var(--ease), background 0.35s var(--ease); }
.chapter-rail a:hover .label, .chapter-rail a.is-active .label { opacity: 1; transform: none; }
.chapter-rail a.is-active .tick { width: 34px; background: var(--bronze); opacity: 1; }

/* Concierge -------------------------------------------------------------- */

.chat { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 110; }
.chat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 0;
  border-radius: 100px;
  background: var(--night);
  color: var(--on-dark);
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-lift);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.chat-toggle:hover { background: var(--bronze); transform: translateY(-2px); }
.chat-toggle .i-close { display: none; }
.chat.is-open .chat-toggle .i-close { display: block; }
.chat.is-open .chat-toggle .i-open,
.chat.is-open .chat-toggle-label { display: none; }
.chat.is-open .chat-toggle { padding: 14px; }

.chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: min(380px, calc(100vw - 32px));
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: min(560px, calc(100vh - 120px));
}
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: var(--night);
  color: var(--on-dark);
}
.chat-head-id { display: flex; align-items: center; gap: 10px; }
.chat-head-id strong { display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 400; }
.chat-head-id small { font-size: 0.68rem; color: var(--on-dark-soft); letter-spacing: 0.04em; }
.chat-head .dot { width: 7px; height: 7px; border-radius: 50%; background: #8fbf9a; box-shadow: 0 0 0 4px rgba(143, 191, 154, 0.18); }
.chat-min { background: none; border: 0; color: var(--on-dark-soft); font-size: 1.3rem; cursor: pointer; line-height: 1; }

.chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--ivory-warm); }
.chat-msg {
  max-width: 84%;
  padding: 11px 15px;
  border-radius: 3px;
  font-size: 0.9rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}
.chat-msg.user { align-self: flex-end; background: var(--bronze); color: var(--ivory); }
.chat-msg.agent { align-self: flex-start; background: #fff; border: 1px solid var(--line-soft); }
.chat-msg.typing { color: var(--ink-faint); font-style: italic; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line-soft); background: var(--ivory); }
.chat-form input {
  flex: 1;
  border: 1px solid var(--line);
  background: #fff;
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
  border-radius: 2px;
}
.chat-form input:focus { outline: none; border-color: var(--bronze); }
.chat-form button {
  border: 0;
  background: var(--night);
  color: var(--on-dark);
  width: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 2px;
}
.chat-form button:hover { background: var(--bronze); }

/* -- 4  Hero and chapters ----------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--on-dark);
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slides .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 2s var(--ease), transform 9s linear;
}
.hero-slides .slide.is-active { opacity: 1; transform: scale(1); }
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(20, 16, 12, 0.42) 0%, rgba(20, 16, 12, 0.12) 38%, rgba(20, 16, 12, 0.52) 100%);
}
.hero-inner { position: relative; padding: 120px var(--gutter) 90px; display: flex; flex-direction: column; align-items: center; }
.hero-place {
  font-size: 0.66rem;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.88);
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero-place::before, .hero-place::after {
  content: '';
  width: clamp(24px, 6vw, 64px);
  height: 1px;
  background: rgba(245, 239, 228, 0.5);
}
.hero-title {
  font-size: clamp(4rem, 15vw, 11rem);
  line-height: 0.94;
  margin: 0.22em 0 0.1em;
  color: var(--on-dark);
  font-weight: 300;
}
.hero-tagline {
  font-size: clamp(0.66rem, 1.2vw, 0.78rem);
  letter-spacing: 0.62em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.85);
  padding-left: 0.62em;
}
.hero-cue { margin-top: clamp(36px, 6vw, 72px); display: inline-flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-cue-ring {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(245, 239, 228, 0.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
  animation: cue 2.6s var(--ease) infinite;
}
.hero-cue-ring .arrow { width: 8px; height: 8px; border-right: 1px solid var(--on-dark); border-bottom: 1px solid var(--on-dark); transform: rotate(45deg) translate(-2px, -2px); }
.hero-cue-label { font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase; color: rgba(245, 239, 228, 0.82); }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots .dot { width: 26px; height: 2px; border: 0; background: rgba(245, 239, 228, 0.35); cursor: pointer; padding: 0; }
.hero-dots .dot.is-active { background: var(--on-dark); }

/* A chapter: ivory, with its photograph ghosted behind it. */
.chapter { position: relative; padding-block: var(--pad); overflow: hidden; }
.chapter:nth-of-type(even) { background: var(--ivory-warm); }
.chapter-media { position: absolute; inset: 0; }
.chapter-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  transform: translateY(var(--media-shift, 0)) scale(1.04);
  transition: opacity 1.2s var(--ease);
}
.chapter-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--ivory) 0%, rgba(248, 245, 239, 0.72) 45%, var(--ivory) 100%);
}
.chapter-inner { position: relative; }
.chapter.is-narrow .chapter-inner { max-width: 1000px; }

.section-head { max-width: 60ch; margin-bottom: clamp(34px, 4vw, 56px); }
.section-head.with-action {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}
.section-head.with-action > div { max-width: 60ch; }

.section-pad { padding-block: var(--pad); position: relative; }
.section-pad.alt { background: var(--ivory-warm); }

.split { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-copy p { color: var(--ink-soft); }

.facts { margin: 0; display: grid; gap: 0; }
.fact { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.fact:first-child { border-top: 1px solid var(--line); }
.fact dt, .fact .k {
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
}
.fact dd, .fact .v { margin: 0; text-align: right; font-size: 0.95rem; color: var(--ink); max-width: 34ch; }

/* Your host -------------------------------------------------------------- */

.host { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.host-media { position: relative; }
.host-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; box-shadow: var(--shadow-card); }
.host blockquote {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.34;
  margin: 0 0 1.6rem;
  color: var(--ink);
}
.host-body h3 { margin-bottom: 0.2em; }
.host-role { font-size: 0.64rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bronze); display: block; margin-bottom: 1.4rem; }
.host-body p { color: var(--ink-soft); }

/* -- 5  Cards ----------------------------------------------------------- */

.s-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: clamp(20px, 2.4vw, 34px); }
.s-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-soft); border-radius: 2px; overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.s-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.s-card-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.s-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.s-card:hover .s-card-media img { transform: scale(1.05); }
.s-card-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(248, 245, 239, 0.92);
  color: var(--bronze);
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 6px 11px;
}
.s-card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.s-card-body h3 { margin-bottom: 0.45rem; }
.s-card-body p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.7; }
.s-card-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0.3rem 0 1.3rem; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--ink-faint); }
.s-card-meta span + span { position: relative; padding-left: 16px; }
.s-card-meta span + span::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 1px; background: var(--stone); }
.s-card-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.rate { display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
.rate em { font-style: normal; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.rate small { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.s-card-foot .go { white-space: nowrap; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(26px, 3vw, 44px); }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.85em 1.5em;
  cursor: pointer;
  border-radius: 100px;
  transition: all 0.35s var(--ease);
}
.chip:hover { border-color: var(--bronze); color: var(--bronze); }
.chip.is-on { background: var(--bronze); border-color: var(--bronze); color: var(--ivory); }

.rates-note { margin-top: clamp(32px, 4vw, 56px); color: var(--ink-faint); font-size: 0.88rem; max-width: 80ch; }

.e-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(20px, 2.4vw, 34px); }
.e-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-soft); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.e-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.e-card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); }
.e-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.e-card:hover .e-card-media img { transform: scale(1.05); }
.e-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.e-card-body .eyebrow { margin-bottom: 0.7rem; }
.e-card-body p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 1.3rem; }
.e-card-body .go { margin-top: auto; }

.d-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(16px, 2vw, 28px); }
.d-strip-item { display: block; }
.d-strip-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); margin-bottom: 16px; }
.d-strip-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.d-strip-item:hover .d-strip-media img { transform: scale(1.06); }
.d-strip-item h3 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.d-strip-kind { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); }

.g-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.g-strip-item { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--stone); }
.g-strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.g-strip-item span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 14px 12px;
  background: linear-gradient(to top, rgba(20, 16, 12, 0.6), transparent);
  color: var(--on-dark);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.g-strip-item:hover img { transform: scale(1.06); }
.g-strip-item:hover span { opacity: 1; }

.g-grid { columns: 3 300px; column-gap: 14px; }
.g-item { break-inside: avoid; margin: 0 0 14px; position: relative; cursor: zoom-in; overflow: hidden; background: var(--stone); }
.g-item img { width: 100%; transition: transform 1.1s var(--ease); }
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 34px 16px 14px;
  background: linear-gradient(to top, rgba(20, 16, 12, 0.66), transparent);
  color: var(--on-dark);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.g-item figcaption em { font-style: normal; text-transform: uppercase; color: rgba(245, 239, 228, 0.7); font-size: 0.58rem; letter-spacing: 0.22em; }
.g-item:hover figcaption { opacity: 1; }
.g-item.is-hidden { display: none; }

/* -- 6  Profiles -------------------------------------------------------- */

.page-header {
  position: relative;
  min-height: clamp(430px, 62vh, 640px);
  display: flex;
  align-items: flex-end;
  color: var(--on-dark);
  overflow: hidden;
}
.page-header-media {
  position: absolute;
  inset: 0;
  background-image: var(--ph-image);
  background-size: cover;
  background-position: center;
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 16, 12, 0.5) 0%, rgba(20, 16, 12, 0.34) 42%, rgba(20, 16, 12, 0.72) 100%);
}
.page-header-inner { position: relative; z-index: 1; padding-block: clamp(48px, 7vw, 88px); }
.page-header h1 { color: var(--on-dark); max-width: 20ch; }
.page-header .eyebrow { color: rgba(245, 239, 228, 0.8); }
.page-header .lede { color: rgba(245, 239, 228, 0.86); }
.crumb {
  display: block;
  width: fit-content;
  margin-bottom: 1.6rem;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.75);
}
.crumb::before { content: '\2190  '; }
.crumb:hover { color: var(--on-dark); }

.profile-key { background: var(--night); color: var(--on-dark); }
.profile-key-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(20px, 4vw, 54px);
  padding-block: 26px;
}
.pk { display: flex; flex-direction: column; gap: 4px; }
.pk .k { font-size: 0.58rem; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(245, 239, 228, 0.5); }
.pk .v { font-family: var(--serif); font-size: 1.3rem; }
.pk-rate .v em { font-family: var(--sans); font-style: normal; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(245, 239, 228, 0.6); }
.profile-key .btn { margin-left: auto; background: transparent; border-color: rgba(245, 239, 228, 0.5); color: var(--on-dark); }
.profile-key .btn:hover { background: var(--on-dark); color: var(--night); border-color: var(--on-dark); }

.profile-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 92px); align-items: start; }
.profile-body p { color: var(--ink-soft); font-size: 1.02rem; }
.profile-body p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 3.1rem;
  float: left;
  line-height: 0.86;
  padding: 0.08em 0.12em 0 0;
  color: var(--bronze);
}

.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0.55rem 24px; }
.ticks li { position: relative; padding-left: 22px; font-size: 0.92rem; color: var(--ink-soft); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 10px; height: 1px; background: var(--bronze); }

.profile-side { position: sticky; top: 110px; }
.profile-highlights { margin-top: 28px; display: grid; gap: 1px; background: var(--line-soft); }
.hl { background: var(--ivory); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.hl span { font-size: 0.58rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-faint); }
.hl strong { font-family: var(--serif); font-size: 1.16rem; font-weight: 400; }

.profile-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(14px, 2vw, 26px); }
.profile-gallery.two { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.profile-gallery figure { margin: 0; overflow: hidden; background: var(--stone); }
.profile-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.profile-gallery figure:hover img { transform: scale(1.04); }

.profile-plan { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.profile-plan figure { margin: 0; }
.profile-plan img { width: 100%; background: #fff; border: 1px solid var(--line-soft); }
.profile-plan figcaption { margin-top: 10px; font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); }
.profile-plan p { color: var(--ink-soft); }

.next-link { border-top: 1px solid var(--line); background: var(--ivory); }
.next-link a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: clamp(28px, 4vw, 46px); }
.next-link .lbl { display: block; font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.next-link .nm { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); }
.next-link .arw { font-size: 1.6rem; color: var(--bronze); transition: transform 0.4s var(--ease); }
.next-link a:hover .arw { transform: translateX(8px); }

/* Dining venues ---------------------------------------------------------- */

.venues { display: grid; gap: clamp(56px, 8vw, 128px); }
.venue { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; scroll-margin-top: 100px; }
.venue.is-flipped .venue-media { order: 2; }
.venue-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow-card); }
.venue-body p { color: var(--ink-soft); }
.venue-body .lede { margin-bottom: 1.2rem; }
.venue-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 44px); margin-top: 2rem; }
.venue-cols h4 { font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--bronze); margin-bottom: 1rem; }
.venue-cols .ticks { grid-template-columns: 1fr; }

/* -- 7  Forms ----------------------------------------------------------- */

.reserve-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.reserve-copy .lede { margin-bottom: 2rem; }
.reserve-detail { display: grid; gap: 0; margin-bottom: 2rem; }
.reserve-detail .row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
.reserve-detail .row:first-child { border-top: 1px solid var(--line); }
.reserve-detail .k { font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-faint); }
.reserve-detail .v { font-size: 0.95rem; }
.reserve-detail a:hover { color: var(--bronze); }
.note { border-left: 1px solid var(--bronze-soft); padding-left: 20px; margin-bottom: 1.6rem; color: var(--ink-soft); font-size: 0.9rem; }

.form { background: #fff; border: 1px solid var(--line-soft); padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow-card); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 22px; }
.field { display: flex; flex-direction: column; margin-bottom: 1.35rem; }
.field label { font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.7rem; }
.field .opt { letter-spacing: 0.1em; text-transform: none; }
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 300;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
  border-radius: 0;
  transition: border-color 0.35s var(--ease);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--bronze) 50%), linear-gradient(135deg, var(--bronze) 50%, transparent 50%); background-position: calc(100% - 12px) 1.35em, calc(100% - 7px) 1.35em; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #b4553f; }
.err { color: #b4553f; font-size: 0.78rem; min-height: 1.1em; margin-top: 0.35rem; }
.honeypot { position: absolute; left: -9999px; }
.form-status { font-size: 0.9rem; min-height: 1.4em; margin-bottom: 1rem; }
.form-status.ok { color: #4a7a54; }
.form-status.bad { color: #b4553f; }
.form-note { margin-top: 1.2rem; font-size: 0.78rem; color: var(--ink-faint); }

/* Careers ---------------------------------------------------------------- */

.careers-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.careers-intro p { color: var(--ink-soft); }
.roles { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.role { background: var(--ivory-warm); display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 20px; align-items: center; padding: clamp(20px, 2.6vw, 34px) 0; }
.role h3 { margin-bottom: 0.3rem; }
.role .role-meta { font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.role p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }
.roles-cta { margin-top: clamp(28px, 3vw, 44px); }

/* -- 8  Odds and ends --------------------------------------------------- */

.cta-band { background: var(--night); color: var(--on-dark); padding-block: clamp(56px, 7vw, 104px); text-align: center; }
.cta-inner h2 { color: var(--on-dark); }
.cta-inner p { color: var(--on-dark-soft); max-width: 54ch; margin-inline: auto; margin-bottom: 2rem; }
.cta-band .btn { background: transparent; border-color: rgba(245, 239, 228, 0.55); color: var(--on-dark); }
.cta-band .btn:hover { background: var(--on-dark); color: var(--night); border-color: var(--on-dark); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }

.arrival-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(20px, 3vw, 44px); }
.arrival h4 { font-family: var(--sans); font-size: 0.64rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--bronze); margin-bottom: 0.9rem; }
.arrival p { color: var(--ink-soft); font-size: 0.94rem; }

.notfound { min-height: 76vh; display: grid; place-items: center; text-align: center; padding-block: var(--pad); }
.notfound .lede { margin-inline: auto; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 16, 12, 0.94);
  display: grid;
  place-items: center;
  padding: clamp(20px, 5vw, 72px);
}
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; max-width: min(1100px, 92vw); }
.lightbox-figure img { max-height: 78vh; width: auto; margin-inline: auto; }
.lightbox-figure figcaption { margin-top: 16px; text-align: center; color: var(--on-dark-soft); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; }
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: none;
  border: 0;
  color: var(--on-dark);
  cursor: pointer;
  font-size: 2.4rem;
  line-height: 1;
  padding: 12px 20px;
  opacity: 0.7;
  transition: opacity 0.3s var(--ease);
}
.lightbox-close { top: 10px; right: 14px; font-size: 2rem; }
.lightbox-nav.prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 4px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-nav:hover { opacity: 1; }

/* -- 9  Motion and responsive ------------------------------------------- */

[data-reveal] { opacity: 0; transform: translateY(22px); }
[data-reveal].in {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease) var(--reveal-delay, 0ms), transform 0.9s var(--ease) var(--reveal-delay, 0ms);
}

@media (max-width: 1080px) {
  .split, .host, .profile-cols, .reserve-grid, .careers-intro, .venue, .profile-plan { grid-template-columns: 1fr; }
  .venue.is-flipped .venue-media { order: 0; }
  .profile-side { position: static; }
  .host-media { max-width: 420px; }
  .chapter-rail { display: none; }
  .role { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--night);
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    transform: translateY(-100%);
    transition: transform 0.6s var(--ease);
    margin: 0;
  }
  .nav-links.open { transform: none; }
  .nav-links > a { color: var(--on-dark) !important; font-size: 0.92rem; letter-spacing: 0.3em; }
  .nav-links-cta { display: inline-block; margin-top: 10px; border: 1px solid rgba(245, 239, 228, 0.5); padding: 1em 2.4em; }
  .page-home .nav:not(.scrolled) .nav-toggle span { background: var(--on-dark); }
  .nav.open-sheet .nav-toggle span { background: var(--on-dark) !important; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .section-head.with-action { flex-direction: column; align-items: flex-start; }
  .venue-cols { grid-template-columns: 1fr; }
  .g-grid { columns: 2 180px; }
  .profile-key-inner { gap: 18px 26px; }
  .profile-key .btn { margin-left: 0; width: 100%; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .footer-top { grid-template-columns: 1fr; }
  .s-grid, .e-grid { grid-template-columns: 1fr; }
  .g-grid { columns: 1; }
  .chat-toggle-label { display: none; }
  .chat-toggle { padding: 15px; }
  .hero-place { font-size: 0.56rem; letter-spacing: 0.3em; }
  .profile-body p:first-child::first-letter { font-size: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .nav, .footer, .chat, .chapter-rail, .scroll-progress, .underlay { display: none !important; }
  body { background: #fff; }
}
