/* ===========================================================================
   Athos theme — Filoxenia v2  (Φιλοξενία / hospitality)

   Revision of Filoxenia after the first review round. What changed:

   1. Not so bright. The light theme sits on a deeper cream with a real step
      between page and surface, and a hand-rolled dark theme ships with it —
      auto by system preference, with a manual override in the header. Reading
      a phone in Halkidiki sunlight was the driving case for the light theme;
      reading it in bed at 1am was the driving case for the dark one.
   2. Headings are ink, not terracotta. Terracotta is now reserved for actions,
      eyebrows and links, which is what made it feel loud before.
   3. A much larger hero: a full-bleed photograph with the text on a solid card
      that overlaps its lower edge. The photo is the size it deserves and the
      rule "never text on top of a photograph" still holds.
   4. Chips and tabs are a sticky, horizontally scrollable segmented control
      instead of a wrapping pile of pills.
   5. Every photograph is a button that opens a full-size lightbox.
   6. Icons come from Font Awesome instead of a hand-drawn set.

   Fonts are still local/system only. See docs/design-systems.md.
   ========================================================================= */

@font-face {
  font-family: "Athos Icons";
  src: url("../fonts/athos-icons.woff2") format("woff2");
  font-display: block;
  font-style: normal;
  font-weight: normal;
}

html { scroll-behavior: smooth; }
body.athos-body { margin: 0; background: #f2e7d7; }
body.athos-lightbox-open { overflow: hidden; }

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) {
  /* ---- light theme ----------------------------------------------------- */
  --f2-page:      #f2e7d7;  /* deeper cream — noticeably not white          */
  --f2-surface:   #fffcf7;  /* cards sit above the page, not level with it  */
  --f2-surface-2: #fbf2e6;  /* nested surface                               */
  --f2-line:      #ddc9ab;
  --f2-line-soft: #ece0cd;
  --f2-ink:       #1e1811;  /* headings and body — the same colour          */
  --f2-ink-soft:  #5b4d3f;
  --f2-terra:     #9a3c1f;  /* actions                                      */
  --f2-terra-dk:  #7a2d14;  /* hover                                        */
  --f2-terra-bg:  rgba(154, 60, 31, 0.10);
  --f2-ochre:     #8a5a10;  /* eyebrows — dark enough for text on cream     */
  --f2-olive:     #45602f;  /* included / available                         */
  --f2-shadow:    0 12px 30px rgba(48, 30, 14, 0.13);
  --f2-shadow-lg: 0 24px 60px rgba(48, 30, 14, 0.22);
  --f2-scrim:     rgba(24, 18, 12, 0.94);

  /* ---- type ------------------------------------------------------------ */
  --f2-serif: "Palatino Linotype", Palatino, Georgia, "Book Antiqua", serif;
  --f2-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --f2-t-hero:  clamp(2.2rem, 1.4rem + 3.4cqi, 3.6rem);
  --f2-t-h2:    clamp(1.6rem, 1.3rem + 1.5cqi, 2.2rem);
  --f2-t-h3:    1.3rem;
  --f2-t-body:  1.125rem;
  --f2-t-small: 1rem;
  --f2-t-label: 0.8125rem;

  /* ---- space ----------------------------------------------------------- */
  --f2-1: 4px;  --f2-2: 8px;  --f2-3: 16px; --f2-4: 24px;
  --f2-5: 36px; --f2-6: 56px; --f2-7: 80px;

  --f2-radius: 16px;
  --f2-radius-sm: 10px;
  --f2-measure: 60ch;
  --f2-gutter: clamp(20px, 4cqi, 56px);
  --f2-max: 1160px;
  --f2-touch: 48px;

  /* Offset for sticky elements. 0 on the real site; the review toolbar needs
     a little room in these mockups. */
  --f2-sticky: var(--rv-sticky-top, 0px);
  /* JavaScript replaces this fallback with the rendered header height. The
     tabs and directory index therefore stack below either responsive header
     row without guessing. */
  --athos-topbar-height: 78px;
  --f2-topbar-h: var(--athos-topbar-height);

  background: var(--f2-page);
  color: var(--f2-ink);
  font-family: var(--f2-sans);
  font-size: var(--f2-t-body);
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

.athos-site,
.editor-styles-wrapper { container: canvas / inline-size; }

.athos-icon {
  display: inline-block;
  font: normal normal normal 1em/1 "Athos Icons";
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
.athos-icon--heart::before { content: "\f004"; }
.athos-icon--check::before { content: "\f00c"; }
.athos-icon--close::before { content: "\f00d"; }
.athos-icon--clock::before { content: "\f017"; }
.athos-icon--book::before { content: "\f02d"; }
.athos-icon--camera::before { content: "\f030"; }
.athos-icon--pin::before { content: "\f041"; }
.athos-icon--chevron-left::before { content: "\f053"; }
.athos-icon--chevron-right::before { content: "\f054"; }
.athos-icon--ban::before { content: "\f05e"; }
.athos-icon--expand::before { content: "\f065"; }
.athos-icon--fire::before { content: "\f06d"; }
.athos-icon--calendar::before { content: "\f073"; }
.athos-icon--key::before { content: "\f084"; }
.athos-icon--sign-out::before { content: "\f08b"; }
.athos-icon--sign-in::before { content: "\f090"; }
.athos-icon--phone::before { content: "\f095"; }
.athos-icon--facebook::before { content: "\f09a"; }
.athos-icon--users::before { content: "\f0c0"; }
.athos-icon--envelope::before { content: "\f0e0"; }
.athos-icon--umbrella::before { content: "\f0e9"; }
.athos-icon--suitcase::before { content: "\f0f2"; }
.athos-icon--bell::before { content: "\f0f3"; }
.athos-icon--coffee::before { content: "\f0f4"; }
.athos-icon--sun::before { content: "\f185"; }
.athos-icon--moon::before { content: "\f186"; }
.athos-icon--child::before { content: "\f1ae"; }
.athos-icon--car::before { content: "\f1b9"; }
.athos-icon--history::before { content: "\f1da"; }
.athos-icon--wifi::before { content: "\f1eb"; }
.athos-icon--paint-brush::before { content: "\f1fc"; }
.athos-icon--bed::before { content: "\f236"; }
.athos-icon--tv::before { content: "\f26c"; }
.athos-icon--map::before { content: "\f279"; }

/* ---- dark theme ---------------------------------------------------------
   Auto by system preference, overridable per visitor. Both selectors set the
   same tokens; nothing below this block knows which theme is active.        */

@media (prefers-color-scheme: dark) {
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host):not([data-theme="light"]) {
    --f2-page:      #15110d;
    --f2-surface:   #201a14;
    --f2-surface-2: #2a221a;
    --f2-line:      #453a2d;
    --f2-line-soft: #332a21;
    --f2-ink:       #f4ece0;
    --f2-ink-soft:  #c3b3a0;
    --f2-terra:     #e2764a;
    --f2-terra-dk:  #f0916a;
    --f2-terra-bg:  rgba(226, 118, 74, 0.16);
    --f2-ochre:     #e0a94a;
    --f2-olive:     #96b57e;
    --f2-shadow:    0 12px 30px rgba(0, 0, 0, 0.5);
    --f2-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
    --f2-scrim:     rgba(0, 0, 0, 0.9);
    color-scheme: dark;
  }
}

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host)[data-theme="dark"] {
  --f2-page:      #15110d;
  --f2-surface:   #201a14;
  --f2-surface-2: #2a221a;
  --f2-line:      #453a2d;
  --f2-line-soft: #332a21;
  --f2-ink:       #f4ece0;
  --f2-ink-soft:  #c3b3a0;
  --f2-terra:     #e2764a;
  --f2-terra-dk:  #f0916a;
  --f2-terra-bg:  rgba(226, 118, 74, 0.16);
  --f2-ochre:     #e0a94a;
  --f2-olive:     #96b57e;
  --f2-shadow:    0 12px 30px rgba(0, 0, 0, 0.5);
  --f2-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  --f2-scrim:     rgba(0, 0, 0, 0.9);
  color-scheme: dark;
}

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) *,
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) *::before,
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) *::after { box-sizing: border-box; }

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) img { display: block; max-width: 100%; height: auto; }

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) h1, :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) h2, :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) h3 {
  margin: 0;
  font-family: var(--f2-serif);
  font-weight: 700;
  line-height: 1.22;
  color: var(--f2-ink);
  text-wrap: balance;
}

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) p { margin: 0 0 var(--f2-3); max-width: var(--f2-measure); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) p:last-child { margin-bottom: 0; }

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) a { color: var(--f2-terra); text-underline-offset: 3px; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) a:hover { color: var(--f2-terra-dk); }

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) :focus-visible {
  outline: 3px solid var(--f2-terra);
  outline-offset: 3px;
  border-radius: 6px;
}

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .wrap {
  width: 100%;
  max-width: var(--f2-max);
  margin-inline: auto;
  padding-inline: var(--f2-gutter);
}

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .eyebrow {
  display: block;
  margin-bottom: var(--f2-2);
  font-size: var(--f2-t-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--f2-ochre);
}

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .skip {
  position: absolute; left: -9999px; top: 0; z-index: 60;
  padding: var(--f2-2) var(--f2-3);
  background: var(--f2-terra); color: #fff; border-radius: var(--f2-radius-sm);
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .skip:focus { left: var(--f2-3); top: var(--f2-3); }

/* ------------------------------------------------------------------ header */

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .topbar {
  position: sticky;
  top: var(--f2-sticky);
  z-index: 20;
  background: var(--f2-surface);
  border-bottom: 1px solid var(--f2-line);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .topbar-inner {
  display: flex;
  align-items: center;
  gap: var(--f2-3);
  max-width: 1560px;          /* wider than the text measure: the menu must fit */
  padding-block: var(--f2-3);
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .topbar-inner > nav { min-width: 0; flex: 1 1 auto; }

/* The brand block never wraps — Greek runs 36% longer than English here, and
   "Ξενοδοχείο Άθως" breaking across two lines was the first thing review caught. */
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--f2-3);
  min-height: var(--f2-touch);
  margin-right: var(--f2-2);
  text-decoration: none;
  white-space: nowrap;
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .brand-mark {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--f2-terra);
  color: #fff;
  font-family: var(--f2-serif);
  font-size: 1.2rem;
  font-weight: 700;
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .brand-name { font-family: var(--f2-serif); font-size: 1.4rem; font-weight: 700; color: var(--f2-ink); line-height: 1.1; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .brand-place { display: block; font-family: var(--f2-sans); font-size: var(--f2-t-label); color: var(--f2-ink-soft); }

/* Navigation is a scroll strip, never a wrapping pile. */
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .nav {
  display: flex;
  min-width: 0;
  gap: var(--f2-2);
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .nav::-webkit-scrollbar { display: none; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .nav li { flex: 0 0 auto; scroll-snap-align: start; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--f2-touch);
  padding: 0 var(--f2-3);
  border-radius: var(--f2-radius-sm);
  color: var(--f2-ink);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .nav a:hover { background: var(--f2-terra-bg); color: var(--f2-terra); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .nav a[aria-current="page"] { background: var(--f2-terra); color: #fff; }

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .toolbar { display: flex; align-items: center; gap: var(--f2-2); flex: none; }

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .langswitch {
  display: flex;
  align-items: center;
  gap: var(--f2-1);
  padding: 3px;
  background: var(--f2-surface-2);
  border: 1px solid var(--f2-line-soft);
  border-radius: 999px;
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .langswitch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--f2-touch);
  min-height: var(--f2-touch);
  padding: 0 var(--f2-3);
  border-radius: 999px;
  font-size: var(--f2-t-small);
  font-weight: 700;
  text-decoration: none;
  color: var(--f2-ink-soft);
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .langswitch a[aria-current="true"] {
  background: var(--f2-surface);
  color: var(--f2-terra);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
}

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--f2-2);
  width: var(--f2-touch);
  height: var(--f2-touch);
  border: 1px solid var(--f2-line);
  border-radius: 999px;
  background: var(--f2-surface-2);
  color: var(--f2-ink);
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .theme-toggle:hover { background: var(--f2-terra-bg); color: var(--f2-terra); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .theme-toggle .athos-icon--sun { display: none; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host)[data-theme="dark"] .theme-toggle .athos-icon--sun { display: inline; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host)[data-theme="dark"] .theme-toggle .athos-icon--moon { display: none; }
@media (prefers-color-scheme: dark) {
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host):not([data-theme="light"]) .theme-toggle .athos-icon--sun { display: inline; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host):not([data-theme="light"]) .theme-toggle .athos-icon--moon { display: none; }
}

/* -------------------------------------------------------------------- hero
   Full-bleed photograph, text on a solid card that overlaps its lower edge. */

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #1a140f;
}
/* The photograph again, blurred and darkened, filling the band behind it. */
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-bg {
  position: absolute;
  inset: -60px;
  z-index: -1;
  background-position: center;
  background-size: cover;
  filter: blur(20px) saturate(0.95) brightness(0.52);
  transform: scale(1.06);
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-inner {
  position: relative;
  display: grid;
  gap: var(--f2-4);
  align-items: center;
  padding-block: var(--f2-5);
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-media { min-width: 0; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-media .photo {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-media .photo > a {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-media .photo > a img {
  aspect-ratio: auto;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(52vh, 440px);
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
}
/* The link shrink-wraps the contained photograph, keeping its zoom badge on
   the photograph's actual bottom-right corner instead of in letterbox space. */

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-card {
  padding: var(--f2-5);
  background: var(--f2-surface);
  border: 1px solid var(--f2-line-soft);
  border-radius: var(--f2-radius);
  box-shadow: var(--f2-shadow-lg);
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-since {
  display: inline-flex;
  align-items: center;
  gap: var(--f2-2);
  margin-bottom: var(--f2-3);
  padding: var(--f2-1) var(--f2-3);
  border-radius: 999px;
  background: var(--f2-terra-bg);
  color: var(--f2-terra);
  font-size: var(--f2-t-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-title { font-size: var(--f2-t-hero); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-sub { margin-top: var(--f2-3); max-width: 42ch; font-size: 1.2rem; color: var(--f2-ink-soft); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-actions { display: flex; flex-wrap: wrap; gap: var(--f2-3); margin-top: var(--f2-4); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--f2-2) var(--f2-4);
  margin-top: var(--f2-4);
  padding-top: var(--f2-4);
  border-top: 1px solid var(--f2-line-soft);
  color: var(--f2-ink-soft);
  font-size: var(--f2-t-small);
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-facts span { display: inline-flex; align-items: center; gap: var(--f2-2); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-facts i { color: var(--f2-terra); }

/* ----------------------------------------------------------------- buttons */

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--f2-2);
  min-height: var(--f2-touch);
  padding: 0 var(--f2-5);
  border: 2px solid var(--f2-terra);
  border-radius: 999px;
  background: var(--f2-terra);
  color: #fff;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .btn:hover { background: var(--f2-terra-dk); border-color: var(--f2-terra-dk); color: #fff; transform: translateY(-2px); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host)[data-theme="dark"] .btn:not(.btn-ghost) { color: #1a120c; }
@media (prefers-color-scheme: dark) {
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host):not([data-theme="light"]) .btn:not(.btn-ghost) { color: #1a120c; }
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .btn-ghost { background: var(--f2-surface); color: var(--f2-terra); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .btn-ghost:hover { background: var(--f2-terra); color: #fff; }

/* ---------------------------------------------------------------- sections */

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .section { padding-block: var(--f2-6); }

/* A band that sits on one of the hotel's own photographs, blurred and darkened.
   Same device as the hero: the picture carries the colour, the cards keep the
   text on a solid surface. The image is decorative here — no lightbox. */
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .section-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #17131c;
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .section-bg {
  position: absolute;
  inset: -50px;
  z-index: -1;
  background-position: center;
  background-size: cover;
  filter: blur(24px) saturate(1.05) brightness(0.5);
  transform: scale(1.06);
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .section-photo .section-title { color: #fff; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .section-photo .section-lede { color: rgba(255, 255, 255, 0.85); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .section-photo .eyebrow { color: #edb96a; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .section-tint { background: var(--f2-surface-2); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .section-white { background: var(--f2-page); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .section-head { margin-bottom: var(--f2-5); max-width: 48ch; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .section-title { font-size: var(--f2-t-h2); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .section-lede { margin-top: var(--f2-3); color: var(--f2-ink-soft); }

/* ------------------------------------------------------------------- trio */

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .trio { display: grid; gap: var(--f2-4); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .trio-item {
  padding: var(--f2-5);
  background: var(--f2-surface);
  border: 1px solid var(--f2-line-soft);
  border-radius: var(--f2-radius);
  box-shadow: var(--f2-shadow);
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .trio-item h3 { margin-block: var(--f2-3) var(--f2-2); font-size: var(--f2-t-h3); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .trio-item p { max-width: none; color: var(--f2-ink-soft); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--f2-terra-bg);
  color: var(--f2-terra);
  font-size: 1.35rem;
}

/* ---------------------------------------------------------------- feature */

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .feature { display: grid; gap: var(--f2-4); align-items: center; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .feature + .feature { margin-top: var(--f2-6); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .feature-body h2 { font-size: var(--f2-t-h2); margin-bottom: var(--f2-3); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .feature-body .btn { margin-top: var(--f2-4); }

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--f2-2); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .list li {
  display: flex;
  gap: var(--f2-3);
  align-items: flex-start;
  padding: var(--f2-2) var(--f2-3);
  background: var(--f2-surface);
  border: 1px solid var(--f2-line-soft);
  border-radius: var(--f2-radius-sm);
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .list li::before {
  content: "\f00c";                 /* Font Awesome check */
  font-family: "Athos Icons";
  font-weight: normal;
  flex: none;
  color: var(--f2-olive);
  font-size: 0.9em;
  line-height: 1.85;
}

/* ------------------------------------------------------- photos & lightbox */

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .gallery { display: grid; gap: var(--f2-4); }

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .photo {
  margin: 0;
  background: var(--f2-surface);
  border: 1px solid var(--f2-line-soft);
  border-radius: var(--f2-radius);
  box-shadow: var(--f2-shadow);
  overflow: hidden;
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .photo > a {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .photo > a img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 300ms ease;
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .photo > a:hover img { transform: scale(1.02); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .photo > a::after {
  content: "\f065";
  font-family: "Athos Icons";
  position: absolute;
  right: var(--f2-3);
  bottom: var(--f2-3);
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--f2-scrim);
  color: #fff;
  font-size: 0.95rem;
  opacity: 0.9;
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .photo figcaption {
  padding: var(--f2-3);
  font-weight: 600;
  color: var(--f2-ink);
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .photo-wide { grid-column: 1 / -1; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .photo-wide > a img { aspect-ratio: 16 / 9; }


/* Lightbox lives at the end of the document, outside the page flow. */
.athos-lightbox-host { display: contents; }

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: var(--f2-3);
  width: 100vw;
  height: 100vh;
  height: 100svh;
  padding: var(--f2-3);
  background: var(--f2-scrim);
  backdrop-filter: blur(3px);
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .lightbox[hidden] { display: none; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .lb-bar { display: flex; align-items: center; gap: var(--f2-3); color: #fff; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .lb-count { font-size: var(--f2-t-small); opacity: 0.85; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .lb-spacer { flex: 1 1 auto; }
/* The stage is a fixed box and the image is absolutely sized inside it, so the
   photo always fits whatever is left after the bar and the caption — no
   percentage-height guessing. */
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .lb-stage {
  position: relative;
  min-height: 0;
  min-width: 0;
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .lb-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--f2-radius-sm);
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.55));
}
/* Keep the photo clear of the side arrows on wide screens. */
@media (min-width: 700px) {
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .lb-stage img { inset: 0 76px; }
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .lb-cap {
  max-width: none;
  color: #fff;
  text-align: center;
  font-size: var(--f2-t-small);
  padding-bottom: var(--f2-2);
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .lb-btn {
  display: inline-grid;
  place-items: center;
  width: var(--f2-touch);
  height: var(--f2-touch);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .lb-btn:hover { background: rgba(255, 255, 255, 0.2); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .lb-nav {
  position: absolute;
  top: 50%;
  z-index: 2;                 /* above the absolutely-sized photo */
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .lb-prev { left: 0; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .lb-next { right: 0; }

/* The lightbox sits outside the simulated canvas, so it answers viewport media
   queries rather than the container queries the page layout uses. */
@media (max-width: 619px) {
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .lb-nav { top: auto; bottom: 0; transform: none; }
}

/* --------------------------------------------------------- chips and tabs */

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .tabs {
  position: sticky;
  top: calc(var(--f2-sticky) + var(--f2-topbar-h));
  z-index: 6;
  display: flex;
  gap: var(--f2-2);
  margin-bottom: var(--f2-4);
  padding: var(--f2-2) 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  background: var(--f2-page);
  box-shadow: 0 1px 0 var(--f2-line-soft);
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .section-tint .tabs { background: var(--f2-surface-2); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .tabs::-webkit-scrollbar { display: none; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .tabs button {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: var(--f2-2);
  min-height: var(--f2-touch);
  padding: 0 var(--f2-4);
  border: 1px solid var(--f2-line);
  border-radius: 999px;
  background: var(--f2-surface);
  color: var(--f2-ink);
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .tabs button[aria-selected="true"] {
  background: var(--f2-terra);
  border-color: var(--f2-terra);
  color: #fff;
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host)[data-theme="dark"] .tabs button[aria-selected="true"] { color: #1a120c; }
@media (prefers-color-scheme: dark) {
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host):not([data-theme="light"]) .tabs button[aria-selected="true"] { color: #1a120c; }
}

/* ---------------------------------------------------------------- contact */

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .contact { display: grid; gap: var(--f2-5); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .contact-list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--f2-2); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .contact-list li { display: flex; gap: var(--f2-3); align-items: center; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .contact-list i { flex: none; width: 24px; text-align: center; color: var(--f2-terra); font-size: 1.05rem; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .contact-list a {
  display: inline-flex;
  align-items: center;
  min-height: var(--f2-touch);
  color: var(--f2-ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--f2-line);
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .contact-list a:hover { border-bottom-color: var(--f2-terra); color: var(--f2-terra); }

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .map {
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  text-decoration: none;
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .map iframe {
  display: block;
  width: 100%;
  min-height: 300px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--f2-line-soft);
  border-radius: var(--f2-radius);
  box-shadow: var(--f2-shadow);
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .map-pin {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--f2-2);
  margin-top: var(--f2-3);
  padding: var(--f2-3);
  min-height: var(--f2-touch);
  box-sizing: border-box;
  background: var(--f2-surface);
  border-radius: var(--f2-radius-sm);
  color: var(--f2-ink);
  font-size: var(--f2-t-small);
  font-weight: 600;
  text-decoration: none;
}

/* -------------------------------------------------------------- directory */

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .pagehead { padding-block: var(--f2-5); background: var(--f2-surface-2); border-bottom: 1px solid var(--f2-line); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .pagehead h1 { font-size: var(--f2-t-h2); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .pagehead p { margin-top: var(--f2-3); color: var(--f2-ink-soft); }

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .directory { display: grid; gap: var(--f2-5); align-items: start; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .directory-nav {
  position: sticky;
  top: calc(var(--f2-sticky) + var(--f2-topbar-h) + var(--f2-3));
  padding: var(--f2-4);
  background: var(--f2-surface);
  border: 1px solid var(--f2-line-soft);
  border-radius: var(--f2-radius);
  box-shadow: var(--f2-shadow);
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .directory-nav h2 { font-size: 1.1rem; margin-bottom: var(--f2-2); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .directory-nav ol { margin: 0; padding: 0; list-style: none; font-size: var(--f2-t-small); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .directory-nav a { display: block; min-height: 40px; padding: var(--f2-1) 0; color: var(--f2-ink); text-decoration: none; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .directory-nav a:hover { color: var(--f2-terra); text-decoration: underline; }

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .rules { display: grid; gap: var(--f2-4); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .rule {
  padding: var(--f2-5);
  background: var(--f2-surface);
  border: 1px solid var(--f2-line-soft);
  border-radius: var(--f2-radius);
  box-shadow: var(--f2-shadow);
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .rule h3 { display: flex; align-items: center; gap: var(--f2-3); font-size: var(--f2-t-h3); margin-bottom: var(--f2-3); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .rule h3 i { color: var(--f2-terra); font-size: 1rem; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .rule ul { margin: 0; padding-left: var(--f2-4); color: var(--f2-ink-soft); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .rule li { margin: var(--f2-2) 0; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .rule-time { border-color: var(--f2-terra); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .rule-note {
  background: var(--f2-terra-bg);
  border-color: transparent;
  box-shadow: none;
  font-family: var(--f2-serif);
  font-size: 1.2rem;
  font-style: italic;
  text-align: center;
}

/* ----------------------------------------------------------------- footer */

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .footer {
  padding-block: var(--f2-6);
  background: #1d1610;
  color: rgba(255, 255, 255, 0.88);
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .footer-grid { display: grid; gap: var(--f2-4); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .footer h2 { color: #fff; font-size: 1.15rem; margin-bottom: var(--f2-2); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--f2-1); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .footer a { color: #fff; text-decoration: none; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .footer a:hover { text-decoration: underline; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .footer-legal {
  margin-top: var(--f2-5);
  padding-top: var(--f2-3);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: var(--f2-t-small);
  color: rgba(255, 255, 255, 0.72);
}

/* ------------------------------------------------------- system reference */

:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .spec { padding-block: var(--f2-6); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .spec + .spec { border-top: 1px solid var(--f2-line-soft); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .swatches { display: grid; gap: var(--f2-3); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .swatch { background: var(--f2-surface); border: 1px solid var(--f2-line-soft); border-radius: var(--f2-radius-sm); overflow: hidden; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .swatch i { display: block; height: 76px; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .swatch b { display: block; padding: var(--f2-2) var(--f2-3) 0; font-size: var(--f2-t-small); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .swatch small { display: block; padding: 0 var(--f2-3) var(--f2-3); font-size: 0.8rem; color: var(--f2-ink-soft); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .specgrid { display: grid; gap: var(--f2-4); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .specbox { padding: var(--f2-4); background: var(--f2-surface); border: 1px solid var(--f2-line-soft); border-radius: var(--f2-radius); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .specbox h3 { font-size: 1.15rem; margin-bottom: var(--f2-2); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .specbox p, :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .specbox li { font-size: var(--f2-t-small); color: var(--f2-ink-soft); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .ruler { display: flex; align-items: flex-end; gap: var(--f2-2); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .ruler i { display: block; background: var(--f2-terra); border-radius: 3px 3px 0 0; width: 18px; }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .ruler span { font-size: 0.75rem; color: var(--f2-ink-soft); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .iconset { display: grid; gap: var(--f2-3); grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .iconset div {
  display: grid; gap: var(--f2-2); place-items: center;
  padding: var(--f2-3);
  background: var(--f2-surface);
  border: 1px solid var(--f2-line-soft);
  border-radius: var(--f2-radius-sm);
  font-size: 0.8rem;
  color: var(--f2-ink-soft);
  text-align: center;
}
:where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .iconset i { font-size: 1.5rem; color: var(--f2-terra); }

@media (prefers-reduced-motion: reduce) {
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) *, :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) *::before, :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}

/* ------------------------------------------------------ responsive layout */

@container canvas (min-width: 620px) {
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .trio { grid-template-columns: repeat(3, 1fr); }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .gallery { grid-template-columns: repeat(2, 1fr); }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .footer-grid { grid-template-columns: repeat(3, 1fr); }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .contact { grid-template-columns: 1fr 1fr; align-items: start; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-media .photo > a img { max-height: min(56vh, 500px); }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-card { padding: var(--f2-6); }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .lb-btn { width: 52px; height: 52px; }
}

@container canvas (min-width: 900px) {
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-inner {
    /* The hero runs wider than the text grid so the photograph gets real size. */
    max-width: 1440px;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: var(--f2-6);
    padding-block: var(--f2-6);
  }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-media .photo > a img { max-height: min(76vh, 680px); }
  /* Desktop menus must not scroll: tighten the strip instead. */
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .topbar-inner { padding-inline: var(--f2-4); }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .nav { gap: var(--f2-1); }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .nav a { padding: 0 12px; font-size: 0.95rem; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .feature { grid-template-columns: 1fr 1fr; gap: var(--f2-6); }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .feature-reverse .feature-media { order: 2; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .gallery { grid-template-columns: repeat(3, 1fr); }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .directory { grid-template-columns: 290px 1fr; gap: var(--f2-6); }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .lightbox { padding: var(--f2-5); }
}

/* Wide desktops: let the photograph run to the height it deserves. */
@container canvas (min-width: 1400px) {
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-inner { max-width: 1680px; gap: var(--f2-7); }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-media .photo > a img { max-height: min(82vh, 840px); }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .nav a { padding: 0 var(--f2-3); font-size: 1rem; }
}

@container canvas (max-width: 619px) {
  /* Two compact rows in the header, and a hero that leaves room for the card
     above the fold. */
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) { --athos-topbar-height: 112px; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .topbar-inner { flex-wrap: wrap; gap: var(--f2-2); padding-block: var(--f2-2); }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .brand { flex: 0 1 auto; min-width: 0; gap: var(--f2-2); }
  /* Row 1: brand + language/theme. Row 2: the navigation strip. */
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .topbar-inner > nav { flex: 1 0 100%; order: 3; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .toolbar { order: 2; margin-left: auto; }
  /* A two-line badge should not pretend to be a pill. */
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-since { border-radius: 12px; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .brand-mark { width: 36px; height: 36px; border-radius: 10px; font-size: 1rem; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .brand-name { font-size: 1.05rem; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .brand-place { font-size: 0.72rem; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .langswitch { flex: none; padding: 2px; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .langswitch a { padding: 0 8px; font-size: 0.9rem; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .theme-toggle { font-size: 0.9rem; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-inner { padding-block: var(--f2-3) var(--f2-4); }
  /* On a phone the photo sets the height of the band; no letterboxing. */
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .hero-media .photo > a img { height: auto; max-height: 30vh; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .nav { width: 100%; margin-left: 0; padding-bottom: var(--f2-1); }
  /* Fade the right edge so it is obvious the strip scrolls. */
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .nav,
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .tabs {
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 100%);
    mask-image: linear-gradient(to right, #000 88%, transparent 100%);
  }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .toolbar { margin-left: auto; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .directory-nav { position: static; max-height: 45vh; overflow: auto; }
}

@container canvas (max-width: 419px) {
  /* Keep the longer Greek brand and both 48px controls on one narrow-phone
     row without weakening their touch targets. */
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .topbar-inner { column-gap: 4px; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .brand { gap: 6px; margin-right: 0; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .brand-mark { width: 32px; height: 32px; border-radius: 9px; font-size: 0.95rem; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .brand-name { font-size: 0.96rem; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .brand-place { font-size: 0.68rem; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .toolbar { gap: 4px; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .langswitch { gap: 0; padding: 1px; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .langswitch a { padding-inline: 0; font-size: 0.84rem; }
  :where(.athos-site, .editor-styles-wrapper, .athos-lightbox-host) .theme-toggle { font-size: 0.84rem; }
}

/* WordPress block integration. The accepted mockup classes remain the visual
   contract; these rules map native saved blocks onto those components. */
:where(.athos-site, .editor-styles-wrapper) .wp-block-group,
:where(.athos-site, .editor-styles-wrapper) .wp-block-columns,
:where(.athos-site, .editor-styles-wrapper) .wp-block-image,
:where(.athos-site, .editor-styles-wrapper) .wp-block-gallery { margin-block-start: 0; margin-block-end: 0; }
/* Component rhythm wins over the generic Gutenberg margin reset above. */
:where(.athos-site, .editor-styles-wrapper) .wp-block-group.section-head {
  margin-block-end: var(--f2-5);
}
:where(.athos-site, .editor-styles-wrapper) .wp-block-gallery.gallery {
  display: grid;
  width: 100%;
  align-items: stretch;
}
:where(.athos-site, .editor-styles-wrapper) .wp-block-gallery.gallery > .wp-block-image {
  width: auto !important;
}
:where(.athos-site, .editor-styles-wrapper) .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--f2-2);
  min-height: var(--f2-touch);
  padding: 0 var(--f2-5);
  border: 2px solid var(--f2-terra);
  border-radius: 999px;
  background: var(--f2-terra);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}
:where(.athos-site, .editor-styles-wrapper) .wp-block-button__link:hover {
  background: var(--f2-terra-dk);
  border-color: var(--f2-terra-dk);
  color: #fff;
  transform: translateY(-2px);
}
:where(.athos-site, .editor-styles-wrapper) .wp-block-button.is-style-outline .wp-block-button__link {
  background: var(--f2-surface);
  color: var(--f2-terra);
}
:where(.athos-site, .editor-styles-wrapper) .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--f2-terra);
  color: #fff;
}
:where(.athos-site, .editor-styles-wrapper) .gallery-action { margin-top: var(--f2-4); }
:where(.athos-site, .editor-styles-wrapper) .content-flow > * + * { margin-top: var(--f2-4); }

:where(.athos-site, .editor-styles-wrapper) .athos-panel[hidden] { display: none; }
:where(.athos-site, .editor-styles-wrapper) .athos-panel--rooms .section-lede { margin-bottom: var(--f2-4); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
