/* Aegean Blue: one header control set for the whole site (owner's choice, 2026-10-16).
   Menu: three thin bars and the word MENU. Inquire: a clay rectangle with 2px corners.
   The navigation drawer: dark volcanic stone, as on the homepage.
   Loaded on every page by the abh-global-shell mu-plugin. It restyles the controls each page
   already has (homepage and guide .abh-lux-shell, rooms .abh-rooms-shell, contact
   .contact-shell) and styles the shared header + drawer that rooms, the houses and privacy
   carry (markup from scripts/lib/global-shell.cjs, behaviour in abh-global-shell.js).
   Colours of the header itself (light over photographs, dark on paper) stay with each page. */

:root {
  --abh-gs-clay: #986b55;
  --abh-gs-clay-deep: #855a46;
  --abh-gs-ivory: #faf7f1;
  --abh-gs-stone: rgb(24, 20, 16);
  --abh-gs-volcanic: url("../character/textures/volcanic-1024.webp");
  --abh-gs-sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --abh-gs-serif: "Playfair Display", Georgia, serif;
}

/* ---------- Menu ---------- */
html body :is(.abh-lux-shell__menu, .contact-menu-toggle) {
  display: inline-flex !important;
  align-items: center;
  gap: 12px !important;
  min-height: 44px;
  padding: 0 4px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit;
  font: 500 11px/1 var(--abh-gs-sans) !important;
  letter-spacing: .24em !important;
  text-transform: uppercase !important;
  cursor: pointer;
}
html body :is(.abh-lux-shell__bars, .contact-menu-bars) {
  box-sizing: border-box !important;
  display: inline-flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  width: 20px !important;
  height: 12px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  gap: 0 !important;
}
html body :is(.abh-lux-shell__bars span, .contact-menu-bars i) {
  display: block;
  width: 100% !important;
  height: 1.4px !important;
  border-radius: 0;
}
html body .abh-gs-menu .abh-lux-shell__bars span { background: currentColor; }
html body .abh-gs-menu[aria-expanded="true"] .abh-lux-shell__bars span:nth-child(1) { transform: translateY(5.3px) rotate(45deg); }
html body .abh-gs-menu[aria-expanded="true"] .abh-lux-shell__bars span:nth-child(2) { opacity: 0; }
html body .abh-gs-menu[aria-expanded="true"] .abh-lux-shell__bars span:nth-child(3) { transform: translateY(-5.3px) rotate(-45deg); }
html body .abh-gs-menu .abh-lux-shell__bars span { transition: transform .3s ease, opacity .3s ease; }

/* ---------- Inquire ---------- */
html body :is(.abh-lux-shell__cta, .abh-rooms-shell__cta, .contact-shell .header-cta, .abh-gs-cta) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 2px !important;
  background: var(--abh-gs-clay) !important;
  box-shadow: none !important;
  color: var(--abh-gs-ivory) !important;
  font: 500 11px/1 var(--abh-gs-sans) !important;
  letter-spacing: .22em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color .22s ease !important;
}
html body :is(.abh-lux-shell__cta, .abh-rooms-shell__cta, .contact-shell .header-cta, .abh-gs-cta):is(:hover, :focus-visible) {
  background: var(--abh-gs-clay-deep) !important;
  color: var(--abh-gs-ivory) !important;
}

@media (max-width: 720px) {
  html body :is(.abh-lux-shell__menu-label, .contact-menu-toggle > span:last-child, .abh-gs-menu__label) { display: none !important; }
  html body :is(.abh-lux-shell__cta, .abh-rooms-shell__cta, .contact-shell .header-cta, .abh-gs-cta) {
    min-height: 40px;
    padding: 0 14px !important;
    font-size: 10px !important;
    letter-spacing: .18em !important;
  }
}

/* ---------- The drawer: dark volcanic stone everywhere ---------- */
html body :is(.abh-lux-drawer__panel, .contact-drawer-panel) {
  background:
    linear-gradient(180deg, rgba(24, 20, 16, .80), rgba(24, 20, 16, .90)),
    var(--abh-gs-volcanic) center / 640px repeat,
    var(--abh-gs-stone) !important;
  border-right: 1px solid rgba(255, 250, 243, .08) !important;
  color: #fffaf3 !important;
}
html body :is(.abh-lux-drawer__close, .contact-drawer-close) {
  color: #fffaf3 !important;
  border: 1px solid rgba(255, 250, 243, .22) !important;
  border-radius: 2px !important;
  background: transparent !important;
  font: 500 10.5px/1 var(--abh-gs-sans) !important;
  letter-spacing: .24em !important;
  text-transform: uppercase;
}
html body :is(.abh-lux-drawer__close, .contact-drawer-close):hover {
  color: var(--abh-gs-stone) !important;
  background: #fffaf3 !important;
}
html body :is(.abh-lux-drawer__group-title, .contact-drawer .contact-nav-label) {
  font: 500 10.5px/1.4 var(--abh-gs-sans) !important;
  letter-spacing: .24em !important;
  text-transform: uppercase;
  color: rgba(255, 250, 243, .52) !important;
}
html body :is(.abh-lux-drawer__list a, .contact-drawer a) { color: rgba(255, 250, 243, .92) !important; }
html body :is(.abh-lux-drawer__list--main li + li, .contact-drawer li + li) { border-top: 1px solid rgba(255, 250, 243, .1) !important; }
html body :is(.abh-lux-drawer__list a, .contact-drawer a):is(:hover, :focus-visible, [aria-current="page"]) { color: #d9a58c !important; }

/* ---------- The shared header + drawer markup (rooms, houses, privacy) ---------- */
.abh-gs-drawer[hidden] { display: none; }
.abh-gs-drawer { position: fixed; inset: 0; z-index: 1000; font-family: var(--abh-gs-sans); }
.abh-gs-drawer .abh-lux-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, .55);
  animation: abhGsFade .28s ease;
}
.abh-gs-drawer .abh-lux-drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  box-sizing: border-box;
  width: min(360px, 86vw);
  padding: 36px 34px 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 18px 0 40px rgba(31, 31, 31, .18);
  animation: abhGsSlide .32s cubic-bezier(.2, .7, .2, 1);
}
.abh-gs-drawer .abh-lux-drawer__close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  cursor: pointer;
}
.abh-gs-drawer .abh-lux-drawer__nav { margin-top: 56px; }
.abh-gs-drawer .abh-lux-drawer__group-title { margin: 0 0 12px; }
.abh-gs-drawer .abh-lux-drawer__list { margin: 0 0 32px; padding: 0; list-style: none; }
.abh-gs-drawer .abh-lux-drawer__list li { margin: 0; padding: 0; }
.abh-gs-drawer .abh-lux-drawer__list a {
  display: block;
  padding: 10px 0;
  font: 400 24px/1.35 var(--abh-gs-serif) !important;
  text-decoration: none;
  transition: color .25s ease;
}
.abh-gs-drawer .abh-lux-drawer__list--sub a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 5px 0;
  font: 400 14.5px/1.4 var(--abh-gs-sans) !important;
  letter-spacing: .02em;
}
.abh-gs-drawer :focus-visible { outline: 2px solid #d9a58c; outline-offset: 4px; }
html.abh-gs-open, html.abh-gs-open body { overflow: hidden !important; }
@keyframes abhGsFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes abhGsSlide { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .abh-gs-drawer .abh-lux-drawer__backdrop, .abh-gs-drawer .abh-lux-drawer__panel { animation: none; }
}

/* the shared header on rooms and the houses: Menu where the back link was */
body.abh-rooms-page .abh-rooms-shell .abh-gs-menu { justify-self: start; color: inherit; }
/* rooms and houses: the controls on the same 1280px line as the other pages */
@media (min-width: 721px) {
  body.abh-rooms-page .abh-rooms-shell { padding-inline: max(24px, calc((100% - 1280px) / 2 + 32px)) !important; }
}
@media (max-width: 720px) {
  /* the brand centres in the room left between Menu and the (longer Greek) Inquire */
  body.abh-rooms-page .abh-rooms-shell { grid-template-columns: auto minmax(0, 1fr) auto !important; column-gap: 12px; }
  body.abh-rooms-page .abh-rooms-shell .abh-rooms-shell__brand { justify-self: center; font-size: 20px !important; }
}

/* ---------- Newsletter (abh-newsletter.php, Codex): in the site's voice ----------
   It is placed just before the footer, so it sits on the same sand as the footer: no band of
   its own. Cormorant title, Inter text, a ruled email line with the clay button beside it.
   Wording, consent and form behaviour are untouched. */
html body #newsletter.abh-newsletter {
  background: transparent !important;
  border: 0 !important;
  color: #1f1f1f !important;
  padding: clamp(72px, 7vw, 104px) 0 clamp(40px, 4vw, 56px) !important;
}
html body #newsletter.abh-newsletter .abh-newsletter-inner {
  width: min(100% - 2 * clamp(24px, 6vw, 88px), 1180px);
  max-width: none !important;
  margin: 0 auto;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) !important;
  gap: clamp(40px, 7vw, 120px) !important;
  align-items: end !important;
  padding-bottom: clamp(48px, 5vw, 64px);
  border-bottom: 1px solid rgba(31, 31, 31, .14);
}
html body #newsletter.abh-newsletter .abh-newsletter-kicker {
  margin: 0 0 20px !important;
  font: 500 10.5px/1.5 var(--abh-gs-sans) !important;
  letter-spacing: .22em !important;
  text-transform: uppercase;
  color: var(--abh-gs-clay) !important;
}
html body #newsletter.abh-newsletter h2 {
  max-width: 11em !important;
  margin: 0 !important;
  font: 300 clamp(40px, 4.2vw, 62px)/1.04 "Cormorant Garamond", "Noto Serif Display", Georgia, serif !important;
  letter-spacing: -.015em !important;
  color: #1f1f1f !important;
}
html body #newsletter.abh-newsletter .mc4wp-form { font: 400 14px/1.7 var(--abh-gs-sans) !important; color: #4a443d !important; }
html body #newsletter.abh-newsletter .abh-newsletter-signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 18px;
  align-items: end;
}
html body #newsletter.abh-newsletter .abh-newsletter-signup > p { grid-column: 1 / -1; margin: 0 0 18px !important; }
html body #newsletter.abh-newsletter .abh-newsletter-signup > p:first-child {
  margin-bottom: 28px !important;
  font: 400 clamp(18px, 1.4vw, 21px)/1.5 "Cormorant Garamond", "Noto Serif Display", Georgia, serif !important;
  color: #3a352f !important;
}
html body #newsletter.abh-newsletter .abh-newsletter-signup > p.input_wrapper { grid-column: 1; grid-row: 2; margin-bottom: 0 !important; }
html body #newsletter.abh-newsletter .abh-newsletter-signup > button[type=submit] { grid-column: 2; grid-row: 2; }
html body #newsletter.abh-newsletter .abh-newsletter-signup > p:nth-of-type(3) { grid-row: 3; margin-top: 22px !important; font-size: 13.5px !important; }
html body #newsletter.abh-newsletter .abh-newsletter-signup > p:nth-of-type(4) { grid-row: 4; margin-bottom: 0 !important; font-size: 12.5px !important; color: #7a736a !important; }
html body #newsletter.abh-newsletter .mc4wp-form p.input_wrapper label {
  margin: 0 !important;
  font: 500 10px/1.4 var(--abh-gs-sans) !important;
  letter-spacing: .2em !important;
  text-transform: uppercase;
  color: #7a736a !important;
}
html body #newsletter.abh-newsletter .mc4wp-form input[type=email] {
  min-height: 46px !important;
  margin: 8px 0 0 !important;
  padding: 10px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(31, 31, 31, .32) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #1f1f1f !important;
  font: 400 16px/1.4 var(--abh-gs-sans) !important;
  box-shadow: none !important;
}
html body #newsletter.abh-newsletter .mc4wp-form input[type=email]:focus { border-bottom-color: var(--abh-gs-clay) !important; outline: none; }
html body #newsletter.abh-newsletter .mc4wp-form input[type=checkbox] { accent-color: var(--abh-gs-clay) !important; margin: 4px 10px 0 0 !important; }
html body #newsletter.abh-newsletter .mc4wp-form p:nth-of-type(3) label { display: flex !important; align-items: flex-start; margin: 0 !important; font: inherit !important; }
html body #newsletter.abh-newsletter .mc4wp-form button[type=submit] {
  min-height: 46px !important;
  padding: 0 26px !important;
  border: 0 !important;
  border-radius: 2px !important;
  background: var(--abh-gs-clay) !important;
  color: var(--abh-gs-ivory) !important;
  font: 500 11px/1 var(--abh-gs-sans) !important;
  letter-spacing: .22em !important;
  text-transform: uppercase;
  transition: background-color .22s ease;
}
html body #newsletter.abh-newsletter .mc4wp-form button[type=submit]:is(:hover, :focus-visible) { background: var(--abh-gs-clay-deep) !important; }
html body #newsletter.abh-newsletter .mc4wp-form a { color: inherit !important; text-decoration-color: rgba(31, 31, 31, .35) !important; }
html body #newsletter.abh-newsletter input:focus-visible, html body #newsletter.abh-newsletter button:focus-visible, html body #newsletter.abh-newsletter a:focus-visible { outline: 2px solid var(--abh-gs-clay) !important; }
/* the copy sits in language spans: they take their paragraph's voice */
html body #newsletter.abh-newsletter .mc4wp-form :is(p, label, button) > span { font: inherit !important; letter-spacing: inherit !important; text-transform: inherit !important; color: inherit !important; }
@media (max-width: 760px) {
  html body #newsletter.abh-newsletter { padding: 56px 0 32px !important; }
  html body #newsletter.abh-newsletter .abh-newsletter-inner { grid-template-columns: 1fr !important; gap: 24px !important; }
  html body #newsletter.abh-newsletter h2 { font-size: 38px !important; }
  html body #newsletter.abh-newsletter .abh-newsletter-signup { grid-template-columns: 1fr; }
  html body #newsletter.abh-newsletter .abh-newsletter-signup > button[type=submit] { grid-column: 1; grid-row: 5; justify-self: start; margin-top: 22px; }
}
