/* Hotel Edge & Spa: tokens, typography and page chrome. Shared verbatim by every CMS theme. */
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --he-navy: #13314a;
  --he-navy-deep: #0c2133;
  --he-sand: #f6f1ea;
  --he-sand-deep: #ece3d6;
  --he-gold: #b4875a;
  --he-gold-deep: #94693f;
  --he-ink: #23262b;
  --he-muted: #6b6f76;
  --he-line: #e2d9cc;
  --he-white: #ffffff;
  --he-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --he-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --he-wrap: 1180px;
  --he-radius: 4px;
}

.he-body { margin: 0; background: var(--he-sand); color: var(--he-ink); font: 400 17px/1.7 var(--he-sans); -webkit-font-smoothing: antialiased; }
.he-body *, .he-body *::before, .he-body *::after { box-sizing: border-box; }
.he-body img { max-width: 100%; height: auto; display: block; }
.he-body a { color: var(--he-gold-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.he-body h1, .he-body h2, .he-body h3 { font-family: var(--he-serif); font-weight: 500; line-height: 1.15; color: var(--he-navy); margin: 0 0 .5em; letter-spacing: .005em; }
.he-body h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.he-body h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.he-body h3 { font-size: 1.55rem; }
.he-body p { margin: 0 0 1.1em; }
.he-wrap { max-width: var(--he-wrap); margin: 0 auto; padding: 0 24px; }
.he-skip { position: absolute; left: -9999px; }
.he-skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--he-white); padding: 8px 14px; }

.he-eyebrow { font: 500 .78rem/1.4 var(--he-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--he-gold-deep); margin: 0 0 .9em; }

.he-btn, .he-body .he-btn { display: inline-block; padding: 14px 30px; border: 1px solid var(--he-navy); background: var(--he-navy); color: var(--he-white); font: 500 .8rem/1 var(--he-sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border-radius: var(--he-radius); cursor: pointer; transition: background .2s, color .2s; }
.he-btn:hover { background: var(--he-navy-deep); color: var(--he-white); }
.he-btn--ghost, .he-body .he-btn--ghost { background: transparent; color: var(--he-navy); }
.he-btn--ghost:hover { background: var(--he-navy); color: var(--he-white); }
.he-btn--light, .he-body .he-btn--light { background: var(--he-white); color: var(--he-navy); border-color: var(--he-white); }
.he-btn--light:hover { background: var(--he-sand); color: var(--he-navy); }
.he-btn--gold, .he-body .he-btn--gold { background: var(--he-gold); border-color: var(--he-gold); color: var(--he-white); }
.he-btn--gold:hover { background: var(--he-gold-deep); color: var(--he-white); }

/* Header */
.he-topbar { background: var(--he-navy-deep); color: #c9d3dc; font-size: .8rem; letter-spacing: .04em; }
.he-topbar .he-wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.he-topbar a { color: #c9d3dc; text-decoration: none; }
.he-header { background: var(--he-white); border-bottom: 1px solid var(--he-line); position: sticky; top: 0; z-index: 50; }
.he-header__bar { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.he-logo, .he-body .he-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--he-navy); margin-right: auto; }
.he-logo__mark { width: 40px; height: 40px; flex: none; }
.he-logo__text { display: flex; flex-direction: column; line-height: 1; }
.he-logo__name { font: 500 1.65rem/1 var(--he-serif); letter-spacing: .02em; }
.he-logo__name em { color: var(--he-gold); font-style: italic; }
.he-logo__stars { font-size: .62rem; letter-spacing: .4em; color: var(--he-gold); margin-top: 5px; }
.he-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.he-nav a, .he-body .he-nav a { color: var(--he-ink); text-decoration: none; font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; }
.he-nav a:hover, .he-nav .is-active a, .he-nav a[aria-current="page"] { border-bottom-color: var(--he-gold); color: var(--he-navy); }

/* Hero */
.he-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: var(--he-white); background: var(--he-navy-deep); overflow: hidden; }
.he-hero--front { min-height: 86vh; }
.he-hero__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.he-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,33,51,.15) 0%, rgba(12,33,51,.25) 45%, rgba(12,33,51,.78) 100%); }
.he-hero__inner { position: relative; z-index: 1; padding-bottom: 72px; padding-top: 140px; width: 100%; }
.he-hero .he-eyebrow { color: #f1dcc3; }
.he-body .he-hero h1 { color: var(--he-white); max-width: 14em; margin-bottom: .3em; }
.he-hero__lead { font-size: 1.2rem; max-width: 34em; color: #eef1f4; margin: 0; }

/* Booking bar (front page) */
.he-booking { position: relative; z-index: 2; margin-top: -44px; }
.he-booking form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 0; background: var(--he-white); box-shadow: 0 18px 50px rgba(12,33,51,.14); border-radius: var(--he-radius); overflow: hidden; }
.he-booking label { display: flex; flex-direction: column; padding: 16px 22px; border-right: 1px solid var(--he-line); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--he-muted); }
.he-booking input, .he-booking select { border: 0; padding: 6px 0 0; font: 400 1.05rem var(--he-sans); color: var(--he-ink); background: transparent; }
.he-booking .he-btn { border-radius: 0; padding: 0 34px; }

/* Main and posts */
.he-main { padding: 24px 0 40px; }
.he-post__meta { color: var(--he-muted); font-size: .9rem; letter-spacing: .06em; }
.he-prose { max-width: 768px; margin: 0 auto; padding: 56px 24px 24px; }
.he-prose h2 { font-size: 2rem; margin-top: 1.4em; }
.he-prose ul { padding-left: 1.2em; }
.he-prose li { margin-bottom: .5em; }
.he-back { display: inline-block; margin-top: 24px; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }

/* Footer */
.he-footer { background: var(--he-navy-deep); color: #b8c4cf; padding: 72px 0 32px; font-size: .95rem; }
.he-footer a { color: #e5ebf0; text-decoration: none; }
.he-footer a:hover { color: var(--he-white); text-decoration: underline; }
.he-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.he-footer h2, .he-body .he-footer h2 { color: var(--he-white); font-size: 1.35rem; margin-bottom: .8em; }
.he-footer ul { list-style: none; margin: 0; padding: 0; }
.he-footer li { margin-bottom: .45em; }
.he-footer .he-logo { color: var(--he-white); margin-bottom: 18px; }
.he-footer__notice { border-top: 1px solid rgba(255,255,255,.12); margin-top: 52px; padding-top: 24px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: .82rem; color: #8fa0af; }
.he-footer__notice p { margin: 0; max-width: 62em; }

@media (max-width: 960px) {
  .he-header { position: static; }
  .he-header__bar { flex-wrap: wrap; gap: 12px; padding-top: 14px; padding-bottom: 6px; min-height: 0; }
  .he-header__bar > .he-btn { padding: 11px 18px; }
  .he-nav { order: 3; width: 100%; }
  .he-nav ul { flex-wrap: wrap; gap: 4px 18px; padding-bottom: 8px; }
  .he-nav a, .he-body .he-nav a { white-space: nowrap; font-size: .78rem; letter-spacing: .1em; }
  .he-booking { margin-top: 0; }
  .he-booking .he-wrap { padding: 0; }
  .he-booking form { grid-template-columns: 1fr 1fr; border-radius: 0; }
  .he-booking label:nth-child(2) { border-right: 0; }
  .he-booking .he-btn { grid-column: 1 / -1; padding: 18px; }
  .he-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .he-body { font-size: 16px; }
  .he-topbar__note { display: none; }
  .he-logo__name { font-size: 1.35rem; }
  .he-hero__inner { padding-bottom: 48px; }
  .he-footer__grid { grid-template-columns: 1fr; }
}
