@font-face {
  font-family: Montserrat;
  src: url('/assets/montserrat.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --paper: #F2EFEA;
  --ink: #2f261e;
  --brown: #574A3D;
  --accent: #775236;
  --line: #60503e36;
  --wash: #e8e0d5;
  --shell: min(100% - 2 * clamp(20px, 5vw, 90px), 1430px);
  --ease: cubic-bezier(.22, .72, .2, 1);
  background: var(--paper);
  color: var(--ink);
  font-family: Montserrat, sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p { line-height: 1.65; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; inset: 10px auto auto 10px; transform: translateY(-150%); background: var(--paper); padding: 12px; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 3;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgb(242 239 234 / .98);
}
.header-inner, .header-actions, .desktop-links { display: flex; align-items: center; }
.header-inner { min-height: 76px; justify-content: space-between; gap: 22px; padding-block: 8px; }
.header-actions, .desktop-links { gap: clamp(10px, 2vw, 28px); }
.wordmark { display: inline-flex; flex-shrink: 0; }
.wordmark img { width: clamp(86px, 9vw, 116px); height: auto; }
.desktop-links a, .portal-link, .site-footer nav a { font-size: .875rem; font-weight: 550; }
.desktop-links a:hover, .portal-link:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle { display: none !important; }
.pill, .booking-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 46px;
  padding: 9px 17px;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transition: background-color .23s ease, color .23s ease, border-color .23s ease;
}
.pill-solid, .booking-continue { background: var(--brown); color: var(--paper); }
.pill-outline { background: transparent; border-color: currentColor; }
.pill-solid:focus-visible, .booking-continue:focus-visible { outline-color: var(--brown); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mobile-menu { display: none; }

.opening {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(26px, 6vw, 100px);
  padding-block: clamp(46px, 6vw, 96px);
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 650;
  letter-spacing: .085em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; font-weight: 450; }
h1 {
  font-size: clamp(3rem, 4.85vw, 6.1rem);
  line-height: .99;
  letter-spacing: -.075em;
}
h1 span { color: var(--brown); font-weight: 300; }
.lede { max-width: 33ch; margin: 24px 0; font-size: clamp(1rem, 1.35vw, 1.18rem); }
.arrival-film { margin: 0; min-width: 0; }
.film-frame, .mount { padding: 8px; border: 1px solid var(--line); border-radius: 32px; }
.film-media, .space-window, .story-image { position: relative; overflow: hidden; border-radius: 23px; background: #d3c3ae; }
.film-media { aspect-ratio: 6 / 5; isolation: isolate; }
.film-media img, .film-media video, .space-window img, .card-photo img, .story-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-media img, .film-media video { object-position: 52% 50%; }
.film-media video { opacity: 0; transition: opacity .34s ease; }
.film-media video.playing { opacity: 1; }
.film-media.revealing { animation: uncover .72s var(--ease) both; }
@keyframes uncover {
  from { clip-path: inset(7% 11% round 23px); opacity: .85; }
  to { clip-path: inset(0 round 23px); opacity: 1; }
}
.arrival-film figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-inline: 1px;
  min-height: 50px;
  font-size: .875rem;
  font-weight: 550;
}
.film-actions { display: inline-flex; gap: 12px; }
.film-actions button {
  min-height: 44px;
  padding: 0 4px;
  color: var(--brown);
  border: 0;
  background: transparent;
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-section { padding: clamp(46px, 6vw, 94px) 0; background: var(--wash); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
h2 { font-size: clamp(2.1rem, 4.15vw, 4.45rem); letter-spacing: -.06em; line-height: 1.06; }
.brand-mark { width: 41px; height: 47px; background: var(--brown); opacity: .6; mask: url('/assets/ello-o.png') center / contain no-repeat; flex-shrink: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 30px); }
.service-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 23px;
  padding: 7px;
}
.card-photo { aspect-ratio: 1.65; border-radius: 16px; overflow: hidden; isolation: isolate; position: relative; background: #d3c3ae; }
.card-photo img { transition: transform .52s var(--ease); }
.day-photo img { object-position: center 34%; }
.stay-photo img { object-position: center 36%; }
.spa-photo img { object-position: 55% center; }
.card-copy { padding: 16px 14px 10px; display: grid; grid-template-rows: auto 1fr auto; }
h3 { font-size: clamp(1.24rem, 2vw, 1.7rem); letter-spacing: -.035em; }
.card-copy p { margin: 7px 0 14px; font-size: 1rem; }
.card-action { display: flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 650; }
.action-dot { height: 12px; width: 13px; background: var(--accent); mask: url('/assets/ello-o.png') center / contain no-repeat; transition: transform .34s var(--ease); }

.patterned { isolation: isolate; position: relative; background: var(--brown); color: var(--paper); --line: #f2efea70; --accent: #f0d9c5; }
.patterned::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('/assets/ello-repeat.webp') center top / min(1300px, 150vw) auto repeat; opacity: .06; pointer-events: none; }
.patterned .pill-solid { background: var(--paper); color: var(--ink); }
.patterned .pill:focus-visible { outline-color: var(--paper); }
.spaces-section, .about-section { padding-block: clamp(50px, 7vw, 105px); }
.space-layout { display: grid; grid-template-columns: minmax(0, .64fr) minmax(0, 1.36fr); align-items: center; gap: clamp(28px, 7vw, 110px); }
.space-controls, .space-options { display: flex; gap: 9px; }
.space-controls { flex-direction: column; align-items: flex-start; }
.space-options { flex-wrap: wrap; order: -1; }
.space-options .pill[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.space-description { min-height: 113px; padding-top: 14px; }
.space-description p { margin: 8px 0 12px; }
.space-window { aspect-ratio: 1.65; }
.space-window .swap-outgoing { pointer-events: none; }
.about-section .section-heading { margin-bottom: 44px; }
.about-story { display: grid; grid-template-columns: 1.07fr .93fr; align-items: center; gap: clamp(28px, 7vw, 98px); }
.about-story + .about-story { margin-top: 36px; }
.about-story:nth-of-type(even) .mount { order: 2; }
.about-story:nth-of-type(even) > div:last-child { justify-self: end; }
.about-story p:last-child { max-width: 36ch; margin: 12px 0 0; }
.story-image { display: block; aspect-ratio: 1.65; width: 100%; border: 0; padding: 0; }
.story-image img { transition: transform .52s var(--ease); }
.visit-inner { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-block: clamp(40px, 6vw, 84px); }
.visit-inner p:last-child { margin: 14px 0 0; }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-block: 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer .alternate-links { color: var(--brown); }

dialog {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 18px;
  max-height: calc(100dvh - 28px);
}
dialog::backdrop { background: #241a13ac; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 14px; }
.dialog-heading h2 { font-size: clamp(1.25rem, 3vw, 1.7rem); letter-spacing: -.04em; }
.close-dialog { background: transparent; border: 1px solid var(--line); width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; font-size: 1.55rem; line-height: 1; }
.photo-dialog { width: min(92vw, 850px); }
.photo-dialog figure { margin: 0; }
.photo-dialog img { display: block; width: 100%; max-height: 68dvh; object-fit: contain; border-radius: 15px; }
.photo-dialog figcaption { margin-top: 8px; }
.booking-dialog { width: min(92vw, 440px); }
.booking-dialog fieldset { padding: 0; margin: 0; border: 0; }
.booking-dialog legend { font-size: .875rem; margin-bottom: 10px; }
.booking-dialog label { display: flex; gap: 7px; align-items: center; min-height: 46px; border: 1px solid var(--line); border-radius: 13px; padding: 6px 10px; margin-bottom: 5px; cursor: pointer; }
.booking-dialog label:has(:checked) { background: var(--wash); border-color: var(--brown); }
.booking-dialog label:focus-within { outline: 2px solid var(--brown); outline-offset: 2px; }
.booking-dialog input { accent-color: var(--brown); }
.booking-continue { width: 100%; }

@media (hover: hover) {
  .pill-solid:hover, .booking-continue:hover { background: #3e3227; }
  .pill-outline:hover { background: var(--brown); border-color: var(--brown); color: var(--paper); }
  .patterned .pill-outline:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
  .patterned .pill-solid:hover { background: #e1d3c3; }
  .service-card:hover .card-photo img, .story-image:hover img { transform: scale(1.03); }
  .service-card:hover .action-dot { transform: translateX(3px); }
}
@media (max-width: 850px) {
  .desktop-links, .portal-link { display: none; }
  .menu-toggle:not([hidden]) { display: inline-flex !important; }
  .mobile-menu:not([hidden]) { display: block; position: absolute; top: 100%; inset-inline: 0; max-height: calc(100dvh - 76px); overflow: auto; animation: menu-in .3s var(--ease); }
  .mobile-menu .shell { padding-block: 12px 20px; }
  .mobile-menu a { display: flex; align-items: center; min-height: 49px; border-bottom: 1px solid var(--line); font-weight: 550; }
  @keyframes menu-in { from { transform: translateY(-8px); opacity: .5; } to { transform: none; opacity: 1; } }
  .opening { gap: 26px; }
}
@media (max-width: 650px) {
  :root { --shell: calc(100% - 32px); scroll-padding-top: 80px; }
  .header-inner { min-height: 66px; gap: 7px; }
  .header-actions { gap: 5px; }
  .header-actions .pill { padding-inline: 11px; }
  .opening { grid-template-columns: 1fr; gap: 25px; padding-block: 36px 24px; }
  h1 { font-size: clamp(2.55rem, 9.7vw, 3.75rem); }
  .lede { margin: 16px 0; }
  .eyebrow { margin-bottom: 12px; }
  .film-frame, .mount { padding: 5px; border-radius: 23px; }
  .film-media, .space-window, .story-image { border-radius: 17px; }
  .film-media { aspect-ratio: 4 / 3; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 20px; }
  .service-section .section-heading { flex-direction: row; align-items: center; }
  .brand-mark { width: 25px; height: 29px; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .card-copy { padding: 13px 9px 9px; }
  .space-layout, .about-story { grid-template-columns: 1fr; gap: 18px; }
  .space-description { min-height: 105px; }
  .about-section .section-heading { margin-bottom: 26px; }
  .about-story:nth-of-type(even) .mount { order: 0; }
  .about-story:nth-of-type(even) > div:last-child { justify-self: start; }
  .visit-inner { align-items: start; flex-direction: column; }
  .booking-dialog { margin: auto 0 0; width: 100%; max-width: 100%; border-radius: 24px 24px 0 0; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
