/* Brandery site extensions — loaded after the Astro bundle on every page.
   Hero title variants, CTA spacing, centred service preview, map, cookie consent, legal pages. */

/* ── Hero title (360° Digital Marketing and Online Advertising Agency) ── */
.bx-hero-title { display: none; }
html[data-hero="current"] .bx-hero-title--current,
html[data-hero="a"] .bx-hero-title--a,
html[data-hero="b"] .bx-hero-title--b,
html[data-hero="c"] .bx-hero-title--c { display: flex; }

/* A — glass pill with live coral dot */
.bx-hero-title--a {
  align-items: center; gap: .75rem; width: fit-content;
  padding: .55rem 1.1rem .55rem .7rem; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-ink) 12%, transparent);
  background: color-mix(in srgb, var(--color-paper) 72%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgb(255 255 255 / .8) inset, 0 10px 30px -18px rgb(50 46 46 / .35);
  font-size: .8rem; font-weight: 500; letter-spacing: .01em; color: var(--color-ink);
}
.bx-hero-title--a .bx-deg {
  display: grid; place-items: center; height: 1.7rem; padding: 0 .6rem; border-radius: 999px;
  background: var(--color-brand); color: var(--color-paper); font-weight: 600; font-size: .78rem;
}
.bx-hero-title--a .bx-dot { position: relative; width: .45rem; height: .45rem; border-radius: 50%; background: var(--color-brand); }
.bx-hero-title--a .bx-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--color-brand);
  animation: bx-ping 2.2s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes bx-ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

/* B — editorial split: oversized 360° + stacked two-line descriptor */
.bx-hero-title--b { align-items: stretch; gap: 1rem; }
.bx-hero-title--b .bx-big {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.04em; line-height: .8;
  font-size: clamp(2.6rem, 4.6vw, 4.6rem); color: var(--color-brand);
}
.bx-hero-title--b .bx-rule { width: 1px; background: var(--color-line); }
.bx-hero-title--b .bx-words {
  display: flex; flex-direction: column; justify-content: center; gap: .15rem;
  font-size: clamp(.85rem, 1.05vw, 1.05rem); font-weight: 500; line-height: 1.2; color: var(--color-ink);
}
.bx-hero-title--b .bx-words span:last-child { color: var(--color-graphite); }

/* C — engraved hairline frame with corner ticks */
.bx-hero-title--c {
  position: relative; flex-direction: column; gap: .2rem; width: fit-content; padding: .8rem 1.1rem;
  border: 1px solid var(--color-line);
}
.bx-hero-title--c::before, .bx-hero-title--c::after {
  content: ""; position: absolute; width: .6rem; height: .6rem; border-color: var(--color-brand); border-style: solid;
}
.bx-hero-title--c::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.bx-hero-title--c::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.bx-hero-title--c .bx-top { font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--color-brand); }
.bx-hero-title--c .bx-main { font-size: clamp(.95rem, 1.2vw, 1.15rem); font-weight: 600; letter-spacing: -.01em; color: var(--color-ink); }

@media (max-width: 767px) {
  [data-hero-meta]:has(.bx-hero-titles) { flex-direction: column; gap: 1rem; }
  [data-hero-meta]:has(.bx-hero-titles) > p:last-child { text-align: left; }
}

/* Option switcher — only rendered when ?hero= is in the URL */
.bx-switch {
  position: fixed; left: 50%; bottom: 1.25rem; z-index: 95; transform: translateX(-50%);
  display: flex; gap: .25rem; padding: .3rem; border-radius: 999px;
  background: var(--color-ink); box-shadow: 0 18px 40px -16px rgb(0 0 0 / .5); font-size: .8rem;
}
.bx-switch a { padding: .5rem .9rem; border-radius: 999px; color: rgb(255 255 255 / .7); text-decoration: none; }
.bx-switch a[aria-current="true"] { background: var(--color-brand); color: #fff; }

/* ── "Start selling with Brandery." — looser tracking and leading so letters and lines breathe ── */
.bx-cta { padding-bottom: 7rem; }
@media (min-width: 768px) { .bx-cta { padding-bottom: 11rem; } }
.bx-cta .t-mega, footer[data-footer] .t-mega {
  letter-spacing: -.025em; line-height: 1.02; word-spacing: .04em;
}
.bx-cta .t-mega { font-size: clamp(3.4rem, 12.5vw, 15rem); }

/* ── What we do: preview opens in the middle of the hovered row ── */
.bx-svc-preview {
  position: absolute; z-index: 5; left: 50%; top: 0; width: clamp(13rem, 17vw, 17rem); aspect-ratio: 3 / 4;
  border-radius: 1.1rem; overflow: hidden; pointer-events: none; background: var(--color-bone);
  box-shadow: 0 30px 60px -28px rgb(50 46 46 / .55);
  transform: translate(-50%, -50%); clip-path: inset(50% 0 50% 0 round 1.1rem);
  transition: clip-path .6s cubic-bezier(.16, 1, .3, 1), top .55s cubic-bezier(.16, 1, .3, 1);
}
.bx-svc-preview.is-on { clip-path: inset(0 0 0 0 round 1.1rem); }
.bx-svc-preview img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12); transition: opacity .5s ease, transform .9s cubic-bezier(.16, 1, .3, 1);
}
.bx-svc-preview img.is-on { opacity: 1; transform: scale(1); }
@media (hover: none), (pointer: coarse) { .bx-svc-preview { display: none; } }
@media (prefers-reduced-motion: reduce) { .bx-svc-preview, .bx-svc-preview img { transition: none; } }

/* ── Contact map ── */
.bx-map { position: relative; margin-top: 1.5rem; border-radius: 1.25rem; overflow: hidden; background: var(--color-bone); isolation: isolate; }
.bx-map__canvas { aspect-ratio: 16 / 11; width: 100%; }
/* Monochrome streets so only the coral pin carries colour */
.bx-map .bx-map__tiles { filter: grayscale(1) contrast(1.08) brightness(1.04); }
.bx-map .leaflet-container { font: inherit; background: var(--color-bone); }
.bx-map .leaflet-control-zoom { border: 0 !important; box-shadow: 0 8px 24px -12px rgb(50 46 46 / .4) !important; border-radius: 999px; overflow: hidden; }
.bx-map .leaflet-control-zoom a { width: 2.2rem; height: 2.2rem; line-height: 2.2rem; color: var(--color-ink); border: 0 !important; }
.bx-map .leaflet-control-attribution { font-size: .6rem; background: rgb(255 255 255 / .75); border-radius: .5rem 0 0 0; }
.bx-map__vignette { position: absolute; inset: 0; z-index: 401; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgb(50 46 46 / .06), inset 0 -80px 80px -60px rgb(50 46 46 / .25); border-radius: inherit; }
.bx-map__card {
  position: absolute; z-index: 402; left: 1rem; bottom: 1rem; display: flex; align-items: center; gap: .75rem;
  padding: .55rem .6rem .55rem .9rem; border-radius: 999px; background: var(--color-paper);
  box-shadow: 0 14px 30px -16px rgb(50 46 46 / .45); font-size: .8rem; font-weight: 500; color: var(--color-ink); text-decoration: none;
}
.bx-map__card span:last-child {
  display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--color-ink); color: #fff;
  transition: background .3s;
}
.bx-map__card:hover span:last-child { background: var(--color-brand); }
.bx-pin { position: relative; width: 56px; height: 56px; }
.bx-pin__drop {
  position: absolute; left: 50%; top: 0; width: 46px; height: 46px; margin-left: -23px; border-radius: 50% 50% 50% 0;
  background: var(--color-brand); transform: rotate(-45deg); box-shadow: 0 12px 24px -8px rgb(236 91 97 / .65);
  display: grid; place-items: center;
}
.bx-pin__drop svg { width: 20px; height: 20px; color: #fff; transform: rotate(45deg); }
.bx-pin__pulse {
  position: absolute; left: 50%; bottom: -2px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%;
  background: rgb(236 91 97 / .35); animation: bx-ping 2.4s cubic-bezier(0, 0, .2, 1) infinite;
}

/* ── Page transition: Iris (replaces the bundle's five-column overlay) ── */
[data-transition] { display: none !important; }

/* ── Footer legal row ── */
.bx-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.bx-legal a, .bx-legal button { color: inherit; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.bx-legal a:hover, .bx-legal button:hover { color: var(--color-ink); }

/* ── Cookie consent ── */
.bx-cc {
  position: fixed; z-index: 120; right: 1rem; bottom: 1rem; left: 1rem; max-width: 30rem; margin-left: auto;
  padding: 1.5rem; border-radius: 1.25rem; background: var(--color-paper); color: var(--color-ink);
  box-shadow: 0 30px 70px -30px rgb(50 46 46 / .55), 0 0 0 1px rgb(50 46 46 / .06);
  font-size: .9rem; line-height: 1.5;
  opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .6s cubic-bezier(.16, 1, .3, 1);
}
.bx-cc.is-in { opacity: 1; transform: none; }
.bx-cc[hidden] { display: none; }
.bx-cc__head { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; font-weight: 600; font-size: 1.05rem; }
.bx-cc__head svg { width: 1.1rem; height: 1.1rem; color: var(--color-brand); }
.bx-cc p { color: var(--color-graphite); margin: 0; }
.bx-cc p a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
.bx-cc__prefs { display: none; margin-top: 1rem; border-top: 1px solid var(--color-line); }
.bx-cc.is-custom .bx-cc__prefs { display: block; }
.bx-cc__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--color-line); }
.bx-cc__row strong { display: block; font-weight: 600; font-size: .9rem; }
.bx-cc__row small { display: block; color: var(--color-mute); font-size: .78rem; line-height: 1.4; }
.bx-cc__toggle { position: relative; flex-shrink: 0; width: 2.6rem; height: 1.5rem; margin-top: .1rem; }
.bx-cc__toggle input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.bx-cc__toggle span { position: absolute; inset: 0; border-radius: 999px; background: var(--color-line); transition: background .25s; }
.bx-cc__toggle span::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: calc(1.5rem - 6px); height: calc(1.5rem - 6px); border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .2); transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}
.bx-cc__toggle input:checked + span { background: var(--color-brand); }
.bx-cc__toggle input:checked + span::after { transform: translateX(1.1rem); }
.bx-cc__toggle input:disabled + span { opacity: .55; }
.bx-cc__toggle input:focus-visible + span { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.bx-cc__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.bx-cc__btn {
  flex: 1 1 auto; padding: .75rem 1.1rem; border-radius: 999px; border: 1px solid var(--color-line);
  background: var(--color-paper); color: var(--color-ink); font: inherit; font-weight: 500; font-size: .85rem; cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}
.bx-cc__btn:hover { border-color: var(--color-ink); }
.bx-cc__btn--primary { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.bx-cc__btn--primary:hover { background: var(--color-brand); border-color: var(--color-brand); }
.bx-cc__btn:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.bx-cc .bx-cc__save { display: none; }
.bx-cc.is-custom .bx-cc__save { display: inline-block; }
.bx-cc.is-custom .bx-cc__customise { display: none; }
@media (max-width: 480px) { .bx-cc { left: .75rem; right: .75rem; bottom: .75rem; padding: 1.25rem; } .bx-cc__btn { flex-basis: 100%; } }

/* ── Legal pages ── */
.bx-legal-page { padding-top: 9rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .bx-legal-page { padding-top: 12rem; padding-bottom: 9rem; } }
.bx-legal-page h1 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.045em; line-height: .95; font-size: clamp(2.8rem, 7vw, 6.5rem); }
.bx-legal-page h1 i { font-style: normal; color: var(--color-brand); }
.bx-legal-meta { margin-top: 1.5rem; color: var(--color-mute); font-size: .9rem; }
.bx-legal-grid { display: grid; gap: 3rem; margin-top: 4rem; border-top: 1px solid var(--color-line); padding-top: 3rem; }
@media (min-width: 1024px) { .bx-legal-grid { grid-template-columns: 16rem 1fr; gap: 5rem; } }
.bx-legal-toc { position: sticky; top: 7rem; align-self: start; display: none; font-size: .85rem; }
@media (min-width: 1024px) { .bx-legal-toc { display: block; } }
.bx-legal-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.bx-legal-toc li { counter-increment: toc; }
.bx-legal-toc a { display: flex; gap: .7rem; padding: .35rem 0; color: var(--color-mute); text-decoration: none; transition: color .2s; }
.bx-legal-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--color-brand); font-variant-numeric: tabular-nums; }
.bx-legal-toc a:hover { color: var(--color-ink); }
.bx-prose { max-width: 46rem; color: var(--color-graphite); font-size: 1.05rem; line-height: 1.7; }
.bx-prose h2 { scroll-margin-top: 7rem; margin: 3rem 0 1rem; color: var(--color-ink); font-weight: 600; font-size: 1.6rem; letter-spacing: -.02em; line-height: 1.2; }
.bx-prose h2:first-child { margin-top: 0; }
.bx-prose h3 { margin: 1.75rem 0 .5rem; color: var(--color-ink); font-weight: 600; font-size: 1.1rem; }
.bx-prose p, .bx-prose ul { margin: 0 0 1rem; }
.bx-prose ul { padding-left: 1.2rem; list-style: disc; }
.bx-prose li { margin: .3rem 0; }
.bx-prose li::marker { color: var(--color-brand); }
.bx-prose a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
.bx-prose strong { color: var(--color-ink); font-weight: 600; }
.bx-prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .9rem; }
.bx-prose th, .bx-prose td { text-align: left; vertical-align: top; padding: .7rem .8rem .7rem 0; border-bottom: 1px solid var(--color-line); }
.bx-prose th { color: var(--color-ink); font-weight: 600; }
.bx-prose .bx-btn-inline {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: .5rem; padding: .75rem 1.2rem; border-radius: 999px;
  background: var(--color-ink); color: #fff; border: 0; font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer; text-decoration: none;
}
.bx-prose .bx-btn-inline:hover { background: var(--color-brand); }
@media (max-width: 640px) { .bx-prose table, .bx-prose thead, .bx-prose tbody, .bx-prose tr, .bx-prose td, .bx-prose th { display: block; } .bx-prose thead { display: none; } .bx-prose td { border: 0; padding: .15rem 0; } .bx-prose tr { padding: .8rem 0; border-bottom: 1px solid var(--color-line); } }

/* ── Utilities used by the new pages that the original Tailwind build never emitted ── */
.underline { text-decoration-line: underline; }
.underline-offset-2 { text-underline-offset: 2px; }
.list-none { list-style: none; padding: 0; margin: 0; }
.object-top { object-position: top; }
.object-left-top { object-position: left top; }
.bg-ink\/85 { background-color: color-mix(in srgb, var(--color-ink) 85%, transparent); }
.bg-ink\/55 { background-color: color-mix(in srgb, var(--color-ink) 55%, transparent); }
.leading-\[1\.05\] { line-height: 1.05; }
.group:hover .group-hover\:translate-x-1 { transform: translateX(.25rem); }
.\!text-\[clamp\(2\.6rem\,6vw\,6\.5rem\)\] { font-size: clamp(2.6rem, 6vw, 6.5rem) !important; }
@media (min-width: 48rem) { .md\:hidden { display: none; } .md\:text-right { text-align: right; } }
@media (max-width: 47.99rem) { .max-md\:\!text-\[12vw\] { font-size: 12vw !important; } }

/* Services: frames match the 16:9 photography, with just enough overscan for the parallax,
   so devices at the edges of a shot are not cut off. */
[data-svc] [data-clip-reveal] { aspect-ratio: 16 / 9; }
[data-svc] [data-clip-reveal] > img { height: 110%; }

/* ── Primary nav in a frame, plus the bottom dock it turns into on scroll ── */
.bx-pill { padding: .55rem 1.4rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-ink) 10%, transparent);
  background: color-mix(in srgb, var(--color-paper) 70%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -20px rgb(50 46 46 / .35); }
.bx-dock { position: fixed; z-index: 60; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); transform: translate(-50%, 140%);
  max-width: calc(100vw - 1.5rem); transition: transform .7s cubic-bezier(.16, 1, .3, 1), opacity .4s ease; opacity: 0; pointer-events: none; }
.bx-dock.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.bx-dock.is-on.is-end { transform: translate(-50%, 0) scale(.96); }
.bx-dock__inner { display: flex; align-items: center; gap: .15rem; padding: .35rem; border-radius: 999px; overflow-x: auto; scrollbar-width: none;
  background: color-mix(in srgb, var(--color-ink) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -20px rgb(50 46 46 / .6), inset 0 0 0 1px rgb(255 255 255 / .06); }
.bx-dock__inner::-webkit-scrollbar { display: none; }
.bx-dock a { flex-shrink: 0; padding: .6rem 1rem; border-radius: 999px; color: rgb(255 255 255 / .72); font-size: .88rem; font-weight: 500;
  text-decoration: none; white-space: nowrap; transition: color .3s, background .3s; }
.bx-dock a:hover { color: #fff; background: rgb(255 255 255 / .08); }
.bx-dock a[aria-current="page"] { color: #fff; background: rgb(255 255 255 / .12); }
.bx-dock a.bx-dock__cta { margin-left: .25rem; background: var(--color-brand); color: #fff; }
.bx-dock a.bx-dock__cta:hover { background: var(--color-coral-hover, #b93840); }
.bx-dock .bx-lang { margin-left: .25rem; border-color: rgb(255 255 255 / .18); }
.bx-dock .bx-lang a { padding: .45rem .6rem; font-size: .75rem; }
@media (max-width: 640px) { .bx-dock a { padding: .55rem .75rem; font-size: .8rem; } }
@media (prefers-reduced-motion: reduce) { .bx-dock { transition: opacity .2s; } }

/* ── EN / EL switch ── */
.bx-lang { display: inline-flex; align-items: center; padding: .2rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-ink) 15%, transparent); }
.bx-lang a { padding: .35rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--color-mute); text-decoration: none; line-height: 1; }
.bx-lang a[aria-current="true"] { background: var(--color-ink); color: var(--color-paper); }
.bx-dock .bx-lang a { color: rgb(255 255 255 / .6); }
.bx-dock .bx-lang a[aria-current="true"] { background: #fff; color: var(--color-ink); }

/* Home: the motto is the H1 and fills the hero's width. Sized in cqw of the hero's content box:
   "with Brandery." is ~6.05em wide, so 16.2cqw spans the row. Phones stack one word per row instead. */
section:has(> .bx-motto) { container-type: inline-size; }
.bx-motto.t-mega { font-size: 16.2cqw; line-height: .9; }
@media (max-width: 767px) { .bx-motto.t-mega { font-size: 24cqw; line-height: .92; } }
/* the tight leading would let .line-mask clip the g, y and the cap tops: give the mask room, take it back in margin */
.bx-motto .line-mask { padding: .12em .06em .22em; margin: -.12em -.06em -.22em; }
/* Greek hospitality panels: the brief's service names are longer than the panel's no-wrap line */
@media (min-width: 768px) { [data-panel] h3 { white-space: normal; } } /* the open panel is narrow on tablets: titles wrap rather than run past the card */
/* Greek services H1 is three long lines: a step down so each holds one row on phones and tablets */
h1.bx-h1-long { font-size: clamp(2.6rem, 7.2vw, 9.5rem); }
@media (max-width: 767px) { h1.bx-h1-long { font-size: 9.4vw; } }
/* Greek home, Selected Work: the brief's heading is a sentence, so it steps down to keep the pinned cards on screen */
html[lang="el"] [data-work-pin] h2.t-huge { font-size: clamp(2.2rem, 4.4vw, 5.4rem); }
html[lang="el"] [data-work-pin] .tabular-nums { white-space: nowrap; }
/* /services/ on tablets: the content column is ~456px, too narrow for two columns of Greek deliverables */
@media (min-width: 640px) and (max-width: 1023px) { [data-svc] ul.grid { grid-template-columns: 1fr; } }
[data-svc] li { overflow-wrap: anywhere; }

/* ── Home: client logo wall (three drifting rows) ── */
.bx-logos__marquee { display: grid; gap: clamp(1rem, 2vw, 1.75rem); overflow: hidden; border-block: 1px solid var(--color-line); padding-block: clamp(1.5rem, 3vw, 2.5rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.bx-logos__row { display: flex; width: max-content; will-change: transform; animation: bx-drift-a 62s linear infinite; }
.bx-logos__row[data-dir="-1"] { animation-name: bx-drift-b; animation-duration: 70s; }
.bx-logos__row:nth-child(3) { animation-duration: 66s; }
.bx-logos__marquee:hover .bx-logos__row { animation-play-state: paused; }
.bx-logos__set { display: flex; align-items: center; gap: clamp(2.5rem, 5vw, 5rem); padding-right: clamp(2.5rem, 5vw, 5rem); }
@keyframes bx-drift-a { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bx-drift-b { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.bx-logo { --h: clamp(3.5rem, 6vw, 6rem); flex: none; display: flex; align-items: center; justify-content: center; height: var(--h); }
.bx-logo img { height: calc(var(--h) * var(--s)); width: auto; max-width: 13rem; object-fit: contain; mix-blend-mode: multiply; opacity: .92; filter: contrast(1.12) saturate(1.05); transition: opacity .4s, transform .6s cubic-bezier(.2,.7,.2,1); pointer-events: none; user-select: none; }
.bx-logo:hover img { opacity: 1; transform: scale(1.06); }
@media (max-width: 767px) { .bx-logo { --h: 3.25rem; } .bx-logo img { max-width: 9rem; } }
@media (prefers-reduced-motion: reduce) {
  .bx-logos__row { animation: none; width: 100%; }
  .bx-logos__set { flex-wrap: wrap; justify-content: center; padding-right: 0; row-gap: 1.5rem; }
  .bx-logos__set[aria-hidden="true"] { display: none; }
}
[data-logos] h2.t-huge { font-size: clamp(3rem, 7vw, 8.5rem); }

/* ── Our Work: browser and phone frames around client screenshots ── */
.bx-browser { border-radius: 1rem; overflow: hidden; background: var(--color-paper); border: 1px solid var(--color-line); box-shadow: 0 1px 2px rgb(50 46 46 / .04), 0 18px 48px -24px rgb(50 46 46 / .28); }
.bx-browser__bar { display: flex; align-items: center; gap: .4rem; height: 2.1rem; padding: 0 .85rem; background: var(--color-bone); border-bottom: 1px solid var(--color-line); }
.bx-browser__bar i { width: .55rem; height: .55rem; border-radius: 50%; background: color-mix(in srgb, var(--color-ink) 16%, transparent); flex: none; }
.bx-browser__bar i:first-child { background: var(--color-brand); }
.bx-browser__bar span { margin-inline: auto; padding: .15rem .9rem; border-radius: 999px; background: var(--color-paper); font-size: .72rem; color: var(--color-mute); max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transform: translateX(-1.1rem); }
.bx-browser__screen { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--color-bone); }
.bx-browser__screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.bx-browser--lg { border-radius: 1.5rem; }
.bx-browser--lg .bx-browser__bar { height: 2.6rem; }
/* the whole home page, scrolling top to bottom inside the window once it is in view */
.bx-browser--scroll .bx-browser__screen { aspect-ratio: 16 / 9; }
.bx-browser--scroll.is-playing img { animation: bx-page-scroll var(--dur, 24s) ease-in-out 0.6s infinite alternate; }
.bx-browser--scroll:hover img { animation-play-state: paused; }
@keyframes bx-page-scroll { 0%, 6% { object-position: 50% 0; } 94%, 100% { object-position: 50% 100%; } }
.bx-phone { width: min(42%, 15rem); aspect-ratio: 390 / 844; border-radius: 2.4rem; border: .55rem solid var(--color-ink); background: var(--color-ink); overflow: hidden; box-shadow: 0 24px 60px -28px rgb(50 46 46 / .45); }
.bx-phone:nth-child(2) { transform: translateY(2.5rem); }
.bx-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; border-radius: 1.85rem; }
/* filters (Our Work) */
.bx-filters { display: flex; flex-wrap: wrap; gap: .5rem; padding-bottom: 2.5rem; }
.bx-filter-btn { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid color-mix(in srgb, var(--color-ink) 12%, transparent); border-radius: 999px; padding: .6rem 1.1rem; font-size: .9rem; color: var(--color-ink); background: transparent; cursor: pointer; transition: color .4s, background-color .4s, border-color .4s; }
.bx-filter-btn sup { font-size: .68em; color: var(--color-mute); }
.bx-filter-btn:hover { border-color: var(--color-brand); color: var(--color-brand); }
.bx-filter-btn[aria-pressed="true"] { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.bx-filter-btn[aria-pressed="true"] sup { color: color-mix(in srgb, var(--color-paper) 60%, transparent); }
.bx-filter-btn:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
[data-work-section][hidden], [data-work-item][hidden] { display: none; }
@media (max-width: 767px) {
  .bx-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -1.25rem; padding-inline: 1.25rem; }
  .bx-filters::-webkit-scrollbar { display: none; }
  .bx-filter-btn { flex: none; white-space: nowrap; padding: .5rem .9rem; font-size: .82rem; }
  .bx-browser__bar { height: 1.6rem; } .bx-browser__bar span { font-size: .62rem; }
  .bx-phone { border-width: .4rem; border-radius: 1.8rem; } .bx-phone img { border-radius: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { .bx-browser--scroll.is-playing img { animation: none; } }

/* utilities the Our Work pages use that the original bundle never shipped */
.gap-y-12 { row-gap: 3rem; }
@media (min-width: 1024px) { .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (hover: hover) { .group:hover .group-hover\:scale-\[1\.03\] { scale: 1.03; } }
/* project facts: long domains wrap instead of pushing the page wider */
dl[data-hero-foot] > div { min-width: 0; } dl[data-hero-foot] dd { overflow-wrap: anywhere; }

/* ── Breadcrumbs (every page but home) ── */
.bx-crumbs { margin-bottom: 1.75rem; font-size: .8rem; letter-spacing: .01em; color: var(--color-mute); }
.bx-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; list-style: none; margin: 0; padding: 0; }
.bx-crumbs li { display: inline-flex; align-items: center; gap: .6rem; min-width: 0; }
.bx-crumbs li + li::before { content: ""; width: .32rem; height: .32rem; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .55; }
.bx-crumbs a { color: inherit; text-decoration: none; transition: color .3s; }
.bx-crumbs a:hover { color: var(--color-brand); }
.bx-crumbs [aria-current] { color: var(--color-ink); max-width: 28ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-legal-page .bx-crumbs { padding-top: 0; }

/* ── /clients/: eight logos to a row on desktop ── */
.bx-client-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--color-line); border-left: 1px solid var(--color-line); }
@media (min-width: 640px) { .bx-client-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .bx-client-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.bx-client-cell { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: 1rem; border-right: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); transition: background-color .4s; }
.bx-client-cell:hover { background: var(--color-bone); }
.bx-client-cell .bx-logo { --h: clamp(3rem, 5.5vw, 4.5rem); }
.bx-client-cell .bx-logo img { max-width: 100%; }

/* ── Header on scroll: no white bar; the logo, the middle pill and the buttons float on their own ── */
[data-header][data-scrolled] { background-color: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: none !important; }
[data-header] > div > a:first-child { border-radius: 999px; transition: background-color .5s, box-shadow .5s, padding .5s, margin .5s; }
[data-header][data-scrolled] > div > a:first-child { padding: .7rem 1.05rem; margin: -.7rem -1.05rem; background: rgb(255 255 255 / .72); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%); box-shadow: 0 0 0 1px rgb(50 46 46 / .06), 0 10px 30px -14px rgb(50 46 46 / .28); }

/* ── Apple-style buttons: glass for secondary, deep ink with a soft inner highlight for primary,
      a short press, and a clear focus ring ── */
.bx-glass, [data-header] a.rounded-full.border, .bx-filter-btn:not([aria-pressed="true"]) {
  background: rgb(255 255 255 / .66); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  border-color: rgb(50 46 46 / .1) !important; box-shadow: 0 1px 2px rgb(50 46 46 / .05), 0 8px 24px -16px rgb(50 46 46 / .3);
}
[data-header] a.rounded-full.border:hover { border-color: rgb(50 46 46 / .18) !important; background: rgb(255 255 255 / .85); }
:is(a, button).rounded-full.bg-ink, .bx-filter-btn[aria-pressed="true"] {
  background-image: linear-gradient(180deg, rgb(255 255 255 / .10), rgb(255 255 255 / 0) 55%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), 0 1px 2px rgb(50 46 46 / .2), 0 10px 28px -12px rgb(50 46 46 / .55);
}
:is(a, button).rounded-full:is(.bg-ink, .border, .bg-paper), .bx-filter-btn {
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, background-color .35s, border-color .35s, color .35s;
  -webkit-tap-highlight-color: transparent;
}
:is(a, button).rounded-full:is(.bg-ink, .border, .bg-paper):active, .bx-filter-btn:active { transform: scale(.97); }
:is(a, button).rounded-full:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { :is(a, button).rounded-full:active { transform: none; } }

/* ── Home journey: the 3D mark that guides the visitor, and the depth reveal of each section ── */
.bx-guide { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; /* behind the copy: text reads over the mark */ opacity: 0; transition: opacity 1.2s ease; }
.bx-guide.is-on { opacity: 1; }
.bx-depth { transform: perspective(1400px) rotateX(7deg) translateY(70px) scale(.975); transform-origin: 50% 0; opacity: 0; transition: transform 1.3s cubic-bezier(.16, 1, .3, 1), opacity 1.1s ease; will-change: transform, opacity; }
.bx-depth.is-in { transform: none; opacity: 1; }

/* ── Text that arrives: headings word by word, copy line by line, with a soft blur ── */
.bx-tx { opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity .9s ease, transform 1s cubic-bezier(.16, 1, .3, 1), filter .9s ease; transition-delay: calc(var(--d, 0) * 70ms); }
.bx-tx.is-in { opacity: 1; transform: none; filter: none; }
.bx-w { display: inline-block; opacity: 0; transform: translateY(.45em) rotateX(-35deg); filter: blur(5px); transform-origin: 50% 100%; transition: opacity .7s ease, transform .9s cubic-bezier(.16, 1, .3, 1), filter .7s ease; transition-delay: calc(var(--i, 0) * 45ms); }
.is-in > .bx-w, .is-in .bx-w { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .bx-depth, .bx-tx, .bx-w { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; } }

/* the depth reveal tilts sections in 3D; never let that widen the page */
main { overflow-x: clip; }
.gap-x-10 { column-gap: 2.5rem; } .gap-y-4 { row-gap: 1rem; }
/* in the client grid a logo never leaves its cell: wide marks shrink to the cell width */
.bx-client-cell .bx-logo { width: 100%; }
.bx-client-cell .bx-logo img { width: auto; height: auto; max-width: 82%; max-height: calc(var(--h) * var(--s)); }
/* ── Home motto entrance: letters rise out of a 3D tilt and a blur, the coral full stop lands last,
   then one coral wave runs through "Brandery". Starts when the bundle marks html.ready (after fonts). ── */
.bx-motto .bx-wd { display: inline-block; white-space: nowrap; perspective: 900px; }
.bx-motto .bx-ch, .bx-motto .bx-stop { display: inline-block; opacity: 0; transform-origin: 50% 100%; will-change: transform, opacity, filter; }
.bx-motto .bx-ch, .bx-motto .bx-stop { animation: bx-motto-show .5s 3s forwards; } /* safety: visible even if the bundle never runs */
html.ready .bx-motto .bx-ch { animation: bx-motto-rise 1.25s cubic-bezier(.16,1,.3,1) calc(.15s + var(--i) * 42ms) both; }
html.ready .bx-motto .bx-wave .bx-ch { animation: bx-motto-rise 1.25s cubic-bezier(.16,1,.3,1) calc(.15s + var(--i) * 42ms) both, bx-motto-wave 1.1s ease-in-out calc(1.75s + (var(--i) - 16) * 70ms) 1; }
html.ready .bx-motto .bx-stop { animation: bx-motto-dot 1s cubic-bezier(.34,1.56,.64,1) 1.35s both; }
@keyframes bx-motto-rise {
  0% { opacity: 0; transform: translate3d(0, 55%, 0) rotateX(-75deg) scale(.96); filter: blur(14px); }
  45% { opacity: 1; }
  100% { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes bx-motto-wave { 0%, 100% { color: inherit; } 45% { color: var(--color-brand, #ec5b61); } }
@keyframes bx-motto-dot {
  0% { opacity: 0; transform: translate3d(0, -120%, 0) scale(.4); }
  60% { opacity: 1; transform: translate3d(0, 6%, 0) scale(1.15, .88); }
  100% { opacity: 1; transform: none; }
}
@keyframes bx-motto-show { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .bx-motto .bx-ch, .bx-motto .bx-stop, html.ready .bx-motto .bx-ch, html.ready .bx-motto .bx-wave .bx-ch, html.ready .bx-motto .bx-stop { animation: none; opacity: 1; transform: none; filter: none; }
}
/* poster headings arrive loosely tracked and draw together */
.bx-track { letter-spacing: calc(var(--ls, 0em) + .09em); transition: letter-spacing 1.8s cubic-bezier(.16,1,.3,1); }
.bx-track.is-in { letter-spacing: var(--ls, 0em); }
/* on a phone the loose start would push the widest word ("Hospitality") past the screen edge */
@media (max-width: 767px) { .t-mega.bx-track { letter-spacing: var(--ls, -.055em); transition: none; } }
/* the AI Studio / Academy cards no longer sit on the hospitality photograph */
[data-hosp] + section { padding-top: 7rem; }
@media (min-width: 768px) { [data-hosp] + section { padding-top: 11rem; } }
/* Hospitality Experts: the years figure under the title */
.bx-hosp-years { display: flex; align-items: baseline; gap: 1.1rem; margin-top: 1.4rem; }
.bx-hosp-years b { font-weight: 700; font-size: clamp(3rem, 7vw, 6.5rem); line-height: .9; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.bx-hosp-years span { max-width: 24rem; font-size: clamp(1.125rem, 1.6vw, 1.5rem); line-height: 1.25; color: rgb(255 255 255 / .9); }
/* the bottom dock on white (Nikos, 2026-10-23) */
.bx-dock__inner { background: rgb(255 255 255 / .94); box-shadow: 0 24px 50px -22px rgb(50 46 46 / .35), inset 0 0 0 1px rgb(50 46 46 / .08); }
.bx-dock a { color: var(--color-graphite, #5c5656); }
.bx-dock a:hover { color: var(--color-ink, #322e2e); background: rgb(50 46 46 / .06); }
.bx-dock a[aria-current="page"] { color: var(--color-ink, #322e2e); background: rgb(50 46 46 / .09); }
.bx-dock a.bx-dock__cta, .bx-dock a.bx-dock__cta:hover { color: #fff; }
/* the dock falls from the top of the screen to its place at the bottom, and settles with a small bounce */
.bx-dock.is-on { animation: bx-dock-fall 1.05s cubic-bezier(.5, 0, .2, 1) both; }
@keyframes bx-dock-fall {
  0% { transform: translate(-50%, calc(-100svh + 9rem)) scale(.92); opacity: 0; }
  12% { opacity: 1; }
  62% { transform: translate(-50%, 0) scale(1.04, .94); }
  78% { transform: translate(-50%, -14%) scale(.99, 1.01); }
  100% { transform: translate(-50%, 0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .bx-dock.is-on { animation: none; } }
/* dock, refined: frosted white that stays white over any section, a raised pill for the current page, ink CTA */
.bx-dock__inner { gap: .2rem; padding: .4rem; background: #fff !important;
  backdrop-filter: saturate(1.8) blur(22px); -webkit-backdrop-filter: saturate(1.8) blur(22px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .95), 0 0 0 1px rgb(50 46 46 / .07), 0 10px 30px -12px rgb(50 46 46 / .28), 0 34px 70px -34px rgb(50 46 46 / .35) !important; }
.bx-dock a { font-weight: 400; color: rgb(50 46 46 / .74) !important; padding: .62rem 1.05rem; letter-spacing: -.005em;
  transition: color .3s, background-color .3s, box-shadow .3s, transform .35s cubic-bezier(.16,1,.3,1); }
.bx-dock a:hover { color: var(--color-ink, #322e2e) !important; background: rgb(50 46 46 / .05); transform: translateY(-1px); }
.bx-dock a[aria-current="page"] { color: var(--color-ink, #322e2e) !important; background: #fff; font-weight: 700;
  box-shadow: 0 1px 2px rgb(50 46 46 / .1), 0 4px 12px -4px rgb(50 46 46 / .18), 0 0 0 1px rgb(50 46 46 / .05); }
.bx-dock a.bx-dock__cta { margin-left: .35rem; padding: .62rem 1.2rem; font-weight: 700; color: #fff !important;
  background: linear-gradient(180deg, #4a4545, var(--color-ink, #322e2e)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 6px 16px -6px rgb(50 46 46 / .55); }
.bx-dock a.bx-dock__cta:hover { background: linear-gradient(180deg, #3e3a3a, #262323); }
.bx-dock a:active { transform: scale(.96); }

/* Hospitality Experts photo (mirrored so the guest sits right and the title sits over the sea): frame the guest */
[data-hosp] img[src*="hospitality-experts"] { object-position: 70% 38%; }
@media (max-width: 767px) { [data-hosp] img[src*="hospitality-experts"] { object-position: 76% 40%; } }
/* the photo is bright: deepen the scrim where the copy sits (left on desktop, lower half on phones), keep the guest clear */
[data-hosp] img[src*="hospitality-experts"] + div { background: linear-gradient(90deg, rgba(31,28,28,.72) 0%, rgba(31,28,28,.5) 38%, rgba(31,28,28,.18) 62%, rgba(31,28,28,.1) 100%); }
@media (max-width: 767px) { [data-hosp] img[src*="hospitality-experts"] + div { background: linear-gradient(180deg, rgba(31,28,28,.25) 0%, rgba(31,28,28,.45) 40%, rgba(31,28,28,.78) 100%); } }

/* Index numbers are gone (patch.mjs): the home services list no longer keeps a column for them */
.md\:grid-cols-12 > span.md\:col-span-1:empty { display: none; }
@media (min-width: 768px) { .md\:grid-cols-12 > span.md\:col-span-1:empty + span { grid-column: span 8 / span 8; } }

/* ── Inner-page heroes: title over the dots field, half a screen tall, breadcrumb under the title ── */
.bx-ph { min-height: 50svh !important; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.bx-ph > :not(canvas) { position: relative; }
.bx-ph > [data-hero-meta] { margin-bottom: auto; padding-bottom: 2.5rem; }
.bx-ph canvas[data-field] { pointer-events: auto; }
.bx-ph h1.bx-page-title { font-size: clamp(3.4rem, 12vw, 13.5rem); line-height: .9; letter-spacing: -.055em; font-weight: 700; margin: 0; max-width: none; pointer-events: none; }
.bx-ph h1.bx-page-title.is-long { font-size: clamp(2.6rem, 7.4vw, 8.5rem); letter-spacing: -.05em; }
.bx-ph h1.bx-page-title.is-xlong { font-size: clamp(2.1rem, 4.8vw, 5.6rem); line-height: .98; letter-spacing: -.045em; }
.bx-ph > [data-hero-meta] > :only-child { margin-left: auto; }
/* a title that sits in a column (Hospitality) takes the column, not the page */
.bx-ph div h1.bx-page-title { font-size: clamp(3rem, 7.6vw, 9.5rem); }
.bx-ph h1.bx-page-title + .bx-crumbs { margin: 1.75rem 0 0; }
@media (max-width: 767px) {
  .bx-ph { min-height: 46svh !important; padding-top: 7.5rem; }
  .bx-ph h1.bx-page-title { font-size: clamp(2.9rem, 15vw, 5.5rem); }
  .bx-ph h1.bx-page-title.is-long { font-size: clamp(2.3rem, 10.5vw, 4rem); }
  .bx-ph h1.bx-page-title.is-xlong { font-size: clamp(1.9rem, 8.4vw, 2.8rem); }
  .bx-ph h1.bx-page-title + .bx-crumbs { margin-top: 1.25rem; }
}

/* ── CTA dots: full-bleed band under the closing CTA (drawn by bx.js) ── */
.bx-waves { position: relative; height: 15rem; margin-top: 3.5rem; touch-action: pan-y; cursor: crosshair; }
.bx-waves canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bx-waves + section { margin-top: 2rem !important; }
@media (min-width: 768px) { .bx-waves { height: 19rem; margin-top: 4.5rem; } .bx-waves + section { margin-top: 3rem !important; } }

/* ── Menu: an ink oval on the right that blooms from the Menu button (clip-path circle in the bundle, patch.mjs) ── */
#menu { --mw: min(34rem, calc(100vw - 1.5rem)); }
#menu::before { content: ""; position: fixed; inset: 0; background: rgba(31, 28, 28, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .7s cubic-bezier(.16, 1, .3, 1); }
#menu[aria-hidden="false"]::before { opacity: 1; }
#menu [data-menu-bg] { inset: .75rem .75rem .75rem auto !important; width: var(--mw); border-radius: 50% / 32%;
  background: radial-gradient(circle at 80% 8%, rgba(236, 91, 97, .28), transparent 42%), radial-gradient(rgba(255, 255, 255, .075) 1px, transparent 1.3px) 0 0 / 18px 18px, #1f1c1c !important;
  box-shadow: 0 40px 80px -30px rgba(31, 28, 28, .55), inset 0 0 0 1px rgba(255, 255, 255, .06);
  transform: scale(.92) rotate(-6deg); transform-origin: 86% 5%; transition: transform 1.1s cubic-bezier(.16, 1, .3, 1); }
#menu[aria-hidden="false"] [data-menu-bg] { transform: none; }
#menu > div:last-child { position: absolute; top: .75rem; right: .75rem; bottom: .75rem; left: auto; width: var(--mw); height: auto;
  padding: 6.5rem 3.6rem 2.75rem 4.25rem; justify-content: center; gap: 2.25rem; overflow-y: auto; color: #fff; }
#menu > div:last-child > div:first-child { display: flex; flex-direction: column; gap: 2rem; }
#menu [data-menu-links] a { font-size: clamp(1.9rem, 2.9vw, 2.75rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; color: #fff; padding: .12rem 0; gap: .85rem; align-items: center; }
#menu [data-menu-links] a::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #ec5b61; transform: scale(0); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); flex: none; }
#menu [data-menu-links] a:hover::before, #menu [data-menu-links] a:focus-visible::before, #menu [data-menu-links] a[aria-current="page"]::before { transform: scale(1); }
#menu [data-menu-links] a:hover { color: #ec5b61; }
#menu [data-menu-side] { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .12); }
#menu [data-menu-side] .t-label { color: rgba(255, 255, 255, .55); margin-bottom: .6rem; }
#menu [data-menu-side] :is(ul, a) { font-size: 1rem; color: #fff; }
#menu [data-menu-side] ul { display: grid; gap: .35rem; }
#menu [data-menu-foot] { border-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .55); font-size: .8rem; padding-top: 1.25rem; }
#menu [data-menu-foot] a { color: #fff; }
@media (max-width: 767px) {
  #menu { --mw: calc(100vw - 1rem); }
  #menu [data-menu-bg] { inset: .5rem !important; border-radius: 2.75rem; transform: scale(.96); }
  #menu > div:last-child { top: .5rem; right: .5rem; bottom: .5rem; padding: 6rem 2rem 2rem; justify-content: flex-start; gap: 1.75rem; }
  #menu [data-menu-links] a { font-size: clamp(2rem, 9.5vw, 2.6rem); }
  #menu [data-menu-foot] p { display: none; }
}
@media (prefers-reduced-motion: reduce) { #menu [data-menu-bg] { transition: none; transform: none; } }
#menu > div:last-child { opacity: 0; transition: opacity .3s ease; }
#menu[aria-hidden="false"] > div:last-child { opacity: 1; transition: opacity .5s ease .5s; }
html:has(#menu[aria-hidden="false"]) header :is(nav, a[href="/contact/"]) { opacity: 0; pointer-events: none; transition: opacity .4s; }
@media (max-width: 767px) {
  #menu [data-menu-bg] { inset: 4.75rem .5rem .5rem !important; }
  #menu > div:last-child { top: 4.75rem; padding-top: 2.75rem; justify-content: center; }
}

/* ── Cursor: the Brandery mark (bx.js initMarkCursor) on the bundle's follower ── */
@media (pointer: fine) {
  html.bx-mark-cursor, html.bx-mark-cursor body, html.bx-mark-cursor a, html.bx-mark-cursor button, html.bx-mark-cursor [role="button"], html.bx-mark-cursor label, html.bx-mark-cursor summary, html.bx-mark-cursor [data-cursor] { cursor: none; }
  html.bx-mark-cursor :is(input, textarea, select, [contenteditable="true"]) { cursor: auto; }
  html.bx-mark-cursor [data-cursor-dot] { opacity: 0 !important; }
}
.bx-cursor-mark { position: absolute; left: -9px; top: -10px; width: 18px; height: 20px; display: block; pointer-events: none;
  transform-origin: 50% 55%; transition: transform .55s cubic-bezier(.34, 1.56, .64, 1), opacity .25s ease; filter: drop-shadow(0 2px 4px rgba(31, 28, 28, .18)); }
.bx-cursor-mark svg { width: 100%; height: 100%; display: block; overflow: visible; }
.bx-cursor-mark path { fill: #322e2e; stroke: #fff; stroke-width: 5px; paint-order: stroke; transition: fill .35s ease; }
.bx-cursor-mark.is-link { transform: scale(1.9) rotate(-10deg); }
.bx-cursor-mark.is-link path { fill: #ec5b61; }
.bx-cursor-mark.is-beat svg { animation: bx-mark-beat .7s cubic-bezier(.34, 1.56, .64, 1); }
.bx-cursor-mark.is-down { transform: scale(1.5) rotate(-4deg); transition-duration: .15s; }
.bx-cursor-mark.is-field, .bx-cursor-mark.is-out, .bx-cursor-mark.is-bubble { opacity: 0; } /* the bundle's labelled bubble (View, Talk) speaks for itself */
@keyframes bx-mark-beat { 0% { transform: scale(1); } 30% { transform: scale(1.28) rotate(8deg); } 55% { transform: scale(.92) rotate(-4deg); } 100% { transform: none; } }
#menu .bx-cursor-mark path, [data-hosp] .bx-cursor-mark path { stroke: #fff; }
/* inner-page titles letter in at once (no wait for the bundle's fonts-ready), quicker than the home motto */
html.js .bx-ph .bx-page-title .bx-ch { animation: bx-motto-rise .95s cubic-bezier(.16, 1, .3, 1) calc(.2s + var(--i) * 30ms) both; }
html.js .bx-ph .bx-page-title .bx-stop { animation: bx-motto-dot .9s cubic-bezier(.34, 1.56, .64, 1) both; }
@media (prefers-reduced-motion: reduce) { html.js .bx-ph .bx-page-title :is(.bx-ch, .bx-stop) { animation: none; opacity: 1; transform: none; filter: none; } }

/* Tablets: 6xl headings in narrow grid columns (Journal's featured post) scale with the column instead of overflowing it */
@media (min-width: 768px) and (max-width: 1279px) { main .md\:text-6xl { font-size: clamp(2.1rem, 4.3vw, 3.75rem); overflow-wrap: break-word; } }
@media (max-width: 767px) {
  /* Hotelia360 mock dashboard: three stat tiles share a phone's width */
  .grid.grid-cols-3.gap-3 > .rounded-xl.bg-bone { padding: .7rem; }
  .grid.grid-cols-3.gap-3 > .rounded-xl.bg-bone p.text-2xl { font-size: 1.05rem; letter-spacing: -.01em; }
  /* "Next project" names such as HotelManagement.ai fit a phone */
  a[data-cursor="Next"] .t-huge { font-size: clamp(2.1rem, 8.4vw, 3rem); overflow-wrap: anywhere; }
}
@media (min-width: 768px) and (max-width: 1023px) { [data-stack-card] h2.t-xl { font-size: clamp(2rem, 5vw, 2.6rem); } }

/* ── AI page (/ai/, ai-page.mjs): same skeleton as the service pages, two tech bands of its own ── */
.bx-ai-shot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(rgb(255 255 255 / .22) 1px, transparent 1.2px) 0 0 / 14px 14px; mix-blend-mode: overlay; }
.bx-ai-scan { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 0, transparent 44%, rgb(236 91 97 / .3) 50%, transparent 51%); background-size: 100% 220%; animation: bx-ai-scan 6s cubic-bezier(.6,0,.3,1) infinite; mix-blend-mode: screen; }
@keyframes bx-ai-scan { 0% { background-position: 0 120%; } 60%, 100% { background-position: 0 -120%; } }
.bx-ai-mute { color: var(--color-mute); }

.bx-ai-auds { display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .bx-ai-auds { grid-template-columns: 1fr 1fr; } }
.bx-ai-aud { position: relative; overflow: hidden; border-radius: 1.5rem; padding: 2rem 1.5rem 2.25rem; background: var(--color-bone); display: flex; flex-direction: column; }
@media (min-width: 768px) { .bx-ai-aud { padding: 3rem 3rem 3.25rem; } }
.bx-ai-aud > * { position: relative; }
.bx-ai-aud.is-hotel { background: var(--color-ink); color: var(--color-paper); }
.bx-ai-aud.is-hotel::before { content: ""; position: absolute; right: -20%; top: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgb(236 91 97 / .35), transparent); filter: blur(10px); pointer-events: none; }
.bx-ai-aud.is-hotel .bx-ai-mute { color: rgb(255 255 255 / .6); }
.bx-ai-aud-title { margin-top: 2.5rem; font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 600; max-width: 16ch; }
.bx-ai-aud-text { margin-top: 1.25rem; font-size: 1.1rem; line-height: 1.5; color: var(--color-graphite); max-width: 46ch; }
.bx-ai-aud.is-hotel .bx-ai-aud-text { color: rgb(255 255 255 / .75); }
.bx-ai-list { margin-top: auto; padding-top: 2.5rem; display: grid; }
.bx-ai-list li { display: flex; align-items: center; gap: .75rem; padding: .8rem 0; border-bottom: 1px solid var(--color-line); font-size: .95rem; }
.bx-ai-aud.is-hotel .bx-ai-list li { border-color: rgb(255 255 255 / .14); }

/* Inside an agent: dark band, live dot grid, pipeline + example console */
.bx-ai-band { position: relative; overflow: hidden; background: var(--color-ink); color: var(--color-paper); margin: 0 .75rem; border-radius: 2rem; padding: 6rem 0 5rem; }
@media (min-width: 768px) { .bx-ai-band { margin: 0 1.25rem; border-radius: 2.75rem; padding: 9rem 0 8rem; } }
.bx-ai-grid { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bx-ai-band::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 80% 20%, rgb(236 91 97 / .18), transparent 70%), linear-gradient(180deg, transparent 70%, rgb(0 0 0 / .25)); }
.bx-ai-band-in { position: relative; z-index: 1; }
.bx-ai-band .bx-ai-mute { color: rgb(255 255 255 / .6); }
.bx-ai-band-title { margin-top: 1.5rem; color: var(--color-paper); }
.bx-ai-band-grid { display: grid; gap: 3.5rem; margin-top: 4rem; align-items: start; }
@media (min-width: 1024px) { .bx-ai-band-grid { grid-template-columns: 5fr 6fr; gap: 5rem; margin-top: 6rem; } }

.bx-ai-pipe { position: relative; display: grid; gap: 2.25rem; padding-left: 2.25rem; }
.bx-ai-rail { position: absolute; left: .45rem; top: .5rem; bottom: .5rem; width: 1px; background: rgb(255 255 255 / .16); overflow: hidden; }
.bx-ai-rail span { position: absolute; left: 0; width: 1px; height: 22%; background: linear-gradient(180deg, transparent, var(--color-brand)); animation: bx-ai-flow 3.2s cubic-bezier(.5,0,.5,1) infinite; }
@keyframes bx-ai-flow { from { top: -22%; } to { top: 100%; } }
.bx-ai-node { position: relative; }
.bx-ai-node-dot { position: absolute; left: -2.25rem; top: .45rem; width: .95rem; height: .95rem; border-radius: 50%; border: 1px solid rgb(255 255 255 / .35); background: var(--color-ink); }
.bx-ai-node-dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--color-brand); opacity: .25; animation: bx-ai-node 3.2s ease-in-out infinite; animation-delay: calc(var(--n) * .8s); }
@keyframes bx-ai-node { 0%, 70%, 100% { opacity: .25; transform: scale(1); } 15% { opacity: 1; transform: scale(1.35); box-shadow: 0 0 14px 2px rgb(236 91 97 / .7); } }
.bx-ai-node h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.bx-ai-node p { margin-top: .5rem; color: rgb(255 255 255 / .7); font-size: 1.02rem; line-height: 1.5; max-width: 40ch; }

.bx-ai-console { position: relative; margin: 0; border-radius: 1.5rem; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 40px 80px -30px rgb(0 0 0 / .6), inset 0 1px 0 rgb(255 255 255 / .08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; }
.bx-ai-console-bar { display: flex; align-items: center; gap: .4rem; padding: .9rem 1.1rem; border-bottom: 1px solid rgb(255 255 255 / .1); font-size: .8rem; }
.bx-ai-console-bar > span { width: .55rem; height: .55rem; border-radius: 50%; background: rgb(255 255 255 / .2); }
.bx-ai-console-bar b { margin-left: .6rem; font-weight: 600; color: rgb(255 255 255 / .85); }
.bx-ai-console-bar em { margin-left: auto; font-style: normal; display: inline-flex; align-items: center; gap: .4rem; color: rgb(255 255 255 / .7); letter-spacing: .04em; text-transform: uppercase; font-size: .7rem; }
.bx-ai-console-bar i { width: .45rem; height: .45rem; border-radius: 50%; background: #4ade80; animation: bx-ai-live 2s infinite; }
@keyframes bx-ai-live { 0% { box-shadow: 0 0 0 0 rgb(74 222 128 / .6); } 70%, 100% { box-shadow: 0 0 0 7px rgb(74 222 128 / 0); } }
.bx-ai-chat { display: flex; flex-direction: column; gap: .7rem; padding: 1.4rem 1.1rem 1.6rem; min-height: 27rem; }
@media (min-width: 768px) { .bx-ai-chat { padding: 1.75rem 1.75rem 2rem; } }
.bx-ai-msg { max-width: 86%; padding: .8rem 1rem; border-radius: 1.1rem; font-size: .95rem; line-height: 1.45; }
.bx-ai-msg.is-guest { align-self: flex-end; background: var(--color-paper); color: var(--color-ink); border-bottom-right-radius: .35rem; }
.bx-ai-msg.is-agent { align-self: flex-start; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .12); border-bottom-left-radius: .35rem; }
.bx-ai-msg.is-event { align-self: center; display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .85rem; border-radius: 99px; font-size: .72rem; letter-spacing: .03em; color: rgb(255 255 255 / .75); border: 1px dashed rgb(255 255 255 / .22); }
.bx-ai-pulse { width: .4rem; height: .4rem; border-radius: 50%; background: var(--color-brand); flex: none; }
.bx-ai-console figcaption { padding: .9rem 1.1rem 1.1rem; border-top: 1px solid rgb(255 255 255 / .1); font-size: .78rem; color: rgb(255 255 255 / .6); }
/* typing reveal: bx.js arms the console and adds .is-on to each message in turn; without JS or with reduced motion all show */
.bx-ai-console.is-armed .bx-ai-msg { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.bx-ai-console.is-armed .bx-ai-msg.is-on { opacity: 1; transform: none; }
.bx-ai-console.is-armed .bx-ai-msg:not(.is-on) { position: absolute; visibility: hidden; }
.bx-ai-typing { align-self: flex-start; display: inline-flex; gap: .25rem; padding: .85rem 1rem; border-radius: 1.1rem; background: rgb(255 255 255 / .08); }
.bx-ai-typing.is-guest { align-self: flex-end; }
.bx-ai-typing span { width: .38rem; height: .38rem; border-radius: 50%; background: rgb(255 255 255 / .7); animation: bx-ai-dot 1s infinite; }
.bx-ai-typing span:nth-child(2) { animation-delay: .15s; }
.bx-ai-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bx-ai-dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

.bx-ai-principles li { border-top: 1px solid var(--color-line); padding-top: 2rem; }
.bx-ai-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 3rem; }
.bx-ai-chips li { padding: .6rem 1.1rem; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--color-ink) 14%, transparent); font-size: .95rem; transition: background .4s, color .4s, border-color .4s; }
.bx-ai-chips li:hover { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }
.bx-ai-band + section { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .bx-ai-scan, .bx-ai-rail span, .bx-ai-node-dot::after, .bx-ai-console-bar i, .bx-ai-typing span { animation: none; }
}

/* Very short inner titles (the AI page): poster scale, like the home motto */
.bx-ph h1.bx-page-title.is-short { font-size: clamp(7rem, 22vw, 21rem); line-height: .82; letter-spacing: -.06em; }
@media (max-width: 767px) { .bx-ph h1.bx-page-title.is-short { font-size: 40vw; } }

/* ── AI Visibility tool (/ai-visibility/, ai-visibility-page.mjs + bx-aiv.js): sits on the AI page's dark band ── */
.bx-aiv { padding: 5rem 0 4.5rem; }
@media (min-width: 768px) { .bx-aiv { padding: 7rem 0 6.5rem; } }
.bx-aiv-form { max-width: 56rem; }
.bx-aiv-field { margin-top: 1.25rem; display: flex; align-items: center; gap: .5rem; padding: .5rem .5rem .5rem 1.25rem; border-radius: 99px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .16); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06); transition: border-color .4s, box-shadow .4s; }
.bx-aiv-field:focus-within { border-color: var(--color-brand); box-shadow: 0 0 0 4px rgb(236 91 97 / .18); }
.bx-aiv-prompt { color: rgb(255 255 255 / .45); font-size: clamp(1rem, 1.6vw, 1.35rem); }
.bx-aiv-field input[name="url"] { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--color-paper); font-size: clamp(1.15rem, 2vw, 1.6rem); letter-spacing: -.01em; padding: .55rem 0; cursor: text; }
.bx-aiv-field input::placeholder { color: rgb(255 255 255 / .32); }
.bx-aiv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bx-aiv-go { display: inline-flex; align-items: center; gap: .65rem; flex: none; padding: .95rem 1.5rem; border-radius: 99px; background: var(--color-brand); color: #fff; font-weight: 600; font-size: 1rem; border: 0; transition: background .4s, transform .4s; }
.bx-aiv-go:hover { background: #d9474d; }
.bx-aiv-go:disabled { opacity: .6; }
.bx-aiv-go.is-light { background: var(--color-paper); color: var(--color-ink); }
.bx-aiv-go.is-light:hover { background: var(--color-bone); }
.bx-aiv-form.is-busy .bx-aiv-go span::after { content: "…"; }
.bx-aiv-note { margin-top: 1rem; font-size: .85rem; color: rgb(255 255 255 / .55); }
.bx-aiv-error { margin-top: 1rem; color: #ff9a9e; font-size: .95rem; }
@media (max-width: 639px) {
  .bx-aiv-field { flex-wrap: wrap; border-radius: 1.5rem; padding: .75rem; }
  .bx-aiv-prompt { display: none; }
  .bx-aiv-field input[name="url"] { flex-basis: 100%; padding: .5rem .5rem .75rem; }
  .bx-aiv-field .bx-aiv-go { width: 100%; justify-content: center; }
}

.bx-aiv-run { margin-top: 3rem; max-width: 56rem; }
.bx-aiv-lines { list-style: none; margin: 0; padding: 1.25rem 1.25rem 1.5rem; max-height: 19rem; overflow: auto; font: 500 .9rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: rgb(255 255 255 / .82); display: grid; gap: .45rem; }
.bx-aiv-lines li { display: flex; gap: .7rem; align-items: baseline; animation: bx-aiv-in .45s cubic-bezier(.2,.8,.2,1) both; }
.bx-aiv-lines b { color: var(--color-paper); font-weight: 600; }
.bx-aiv-mark { flex: none; width: .55rem; height: .55rem; border-radius: 50%; transform: translateY(-.05rem); background: rgb(255 255 255 / .3); }
.bx-aiv-lines .is-step .bx-aiv-mark { background: var(--color-brand); animation: bx-aiv-blink 1s infinite; }
.bx-aiv-lines .is-ok .bx-aiv-mark { background: #4ade80; }
.bx-aiv-lines .is-warn .bx-aiv-mark { background: #fbbf24; }
.bx-aiv-lines .is-bad .bx-aiv-mark { background: #f87171; }
.bx-aiv-lines .is-info { color: rgb(255 255 255 / .6); }
@keyframes bx-aiv-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes bx-aiv-blink { 50% { opacity: .25; } }

.bx-aiv-result { margin-top: 4rem; outline: none; }
.bx-aiv-head { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .bx-aiv-head { grid-template-columns: auto 1fr; gap: 3.5rem; } }
.bx-aiv-ring { position: relative; width: 11rem; height: 11rem; display: grid; place-items: center; }
.bx-aiv-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.bx-aiv-ring circle { fill: none; stroke: rgb(255 255 255 / .1); stroke-width: 7; }
.bx-aiv-ring circle.is-val { stroke: var(--color-brand); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: calc(326.7 - 326.7 * var(--p) / 100); filter: drop-shadow(0 0 10px rgb(236 91 97 / .55)); }
.bx-aiv-ring strong { font-size: 3.6rem; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.bx-aiv-ring span { position: absolute; bottom: 2.6rem; font-size: .8rem; color: rgb(255 255 255 / .55); }
.bx-aiv-verdict { margin-top: .75rem; font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1; letter-spacing: -.04em; font-weight: 700; max-width: 18ch; }
.bx-aiv-sub { margin-top: 1.1rem; font-size: 1.1rem; line-height: 1.5; color: rgb(255 255 255 / .72); max-width: 52ch; }

.bx-aiv-engines { margin-top: 3.5rem; display: grid; gap: 1rem; }
@media (min-width: 1024px) { .bx-aiv-engines { grid-template-columns: repeat(3, 1fr); } }
.bx-aiv-engine { border-radius: 1.5rem; padding: 1.6rem; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .12); display: flex; flex-direction: column; }
.bx-aiv-engine header { display: flex; align-items: baseline; justify-content: space-between; }
.bx-aiv-engine h3 { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; }
.bx-aiv-pct { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; }
.bx-aiv-pct small { font-size: .8rem; color: rgb(255 255 255 / .5); font-weight: 500; }
.bx-aiv-bar { margin-top: 1rem; height: 4px; border-radius: 4px; background: rgb(255 255 255 / .1); overflow: hidden; }
.bx-aiv-bar span { display: block; height: 100%; background: var(--color-brand); border-radius: inherit; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.bx-aiv-eline { margin-top: .9rem; font-size: .95rem; color: rgb(255 255 255 / .85); }
.bx-aiv-eline small { color: rgb(255 255 255 / .55); font-size: .8rem; }
.bx-aiv-ask { margin-top: auto; padding-top: 1.4rem; }
.bx-aiv-ask > p:first-child { margin-bottom: .6rem; }
.bx-aiv-known { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 600; padding: .25rem .65rem; border-radius: 99px; margin-bottom: .6rem; }
.bx-aiv-known.is-yes { background: rgb(74 222 128 / .14); color: #86efac; }
.bx-aiv-known.is-no { background: rgb(248 113 113 / .14); color: #fca5a5; }
.bx-aiv-answer { margin: 0; font-size: .92rem; line-height: 1.5; color: rgb(255 255 255 / .8); }
.bx-aiv-answer.is-muted { color: rgb(255 255 255 / .5); }

.bx-aiv-checks { margin-top: 3.5rem; display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .bx-aiv-checks { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.bx-aiv-group h3 { font-size: 1.15rem; font-weight: 600; padding-bottom: .8rem; border-bottom: 1px solid rgb(255 255 255 / .14); }
.bx-aiv-group ul { display: grid; }
.bx-aiv-group li { display: flex; gap: 1rem; align-items: flex-start; padding: .9rem 0; border-bottom: 1px solid rgb(255 255 255 / .08); }
.bx-aiv-group strong { font-weight: 600; font-size: .98rem; }
.bx-aiv-group li p { margin-top: .2rem; font-size: .88rem; line-height: 1.45; color: rgb(255 255 255 / .65); }
.bx-aiv-chip { flex: none; width: 3.4rem; text-align: center; margin-top: .1rem; padding: .2rem 0; border-radius: 99px; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.is-pass > .bx-aiv-chip { background: rgb(74 222 128 / .14); color: #86efac; }
.is-warn > .bx-aiv-chip { background: rgb(251 191 36 / .14); color: #fcd34d; }
.is-fail > .bx-aiv-chip { background: rgb(248 113 113 / .16); color: #fca5a5; }

.bx-aiv-lock { margin-top: 3.5rem; display: grid; gap: 2rem; padding: 2rem; border-radius: 1.75rem; background: linear-gradient(135deg, rgb(236 91 97 / .22), rgb(255 255 255 / .04)); border: 1px solid rgb(236 91 97 / .35); }
@media (min-width: 1024px) { .bx-aiv-lock { grid-template-columns: 1fr 1fr; gap: 3rem; padding: 2.75rem; align-items: center; } }
.bx-aiv-lock h3 { margin-top: .75rem; font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; }
.bx-aiv-lock > div > p:last-child { margin-top: .9rem; color: rgb(255 255 255 / .72); line-height: 1.5; }
.bx-aiv-lock form { display: grid; gap: .7rem; }
.bx-aiv-lock input[type="text"], .bx-aiv-lock input[type="email"] { width: 100%; padding: .95rem 1.2rem; border-radius: 99px; background: rgb(0 0 0 / .2); border: 1px solid rgb(255 255 255 / .18); color: var(--color-paper); font-size: 1rem; outline: 0; cursor: text; }
.bx-aiv-lock input:focus { border-color: var(--color-brand); }
.bx-aiv-lock input::placeholder { color: rgb(255 255 255 / .4); }
.bx-aiv-consent { display: flex; gap: .6rem; align-items: center; font-size: .88rem; color: rgb(255 255 255 / .75); }
.bx-aiv-consent input { accent-color: var(--color-brand); width: 1rem; height: 1rem; }
.bx-aiv-lock .bx-aiv-go { justify-content: center; }

.bx-aiv-fixes { margin-top: 3.5rem; }
.bx-aiv-fixes ol { margin-top: 1.25rem; display: grid; gap: .75rem; counter-reset: fix; }
.bx-aiv-fixes li { counter-increment: fix; position: relative; padding: 1.1rem 1.25rem 1.1rem 3.6rem; border-radius: 1rem; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); }
.bx-aiv-fixes li::before { content: counter(fix); position: absolute; left: 1.15rem; top: 1.05rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; background: rgb(255 255 255 / .1); }
.bx-aiv-fixes li.is-fail::before { background: var(--color-brand); }
.bx-aiv-fixes strong { font-weight: 600; }
.bx-aiv-fixes li p { margin-top: .3rem; color: rgb(255 255 255 / .72); font-size: .95rem; line-height: 1.5; }

.bx-aiv-cta { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid rgb(255 255 255 / .14); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.bx-aiv-cta p { font-size: clamp(1.7rem, 3.4vw, 3rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }

@media (prefers-reduced-motion: reduce) {
  .bx-aiv-lines li, .bx-aiv-lines .is-step .bx-aiv-mark { animation: none; }
  .bx-aiv-bar span { transition: none; }
}

/* AI page: the card that leads to the free AI Visibility tool */
.bx-ai-tool { position: relative; overflow: hidden; display: grid; gap: 1.25rem; padding: 2rem 1.5rem; border-radius: 1.75rem; background: var(--color-bone); border: 1px solid var(--color-line); transition: background .6s, color .6s; }
@media (min-width: 768px) { .bx-ai-tool { grid-template-columns: 1fr auto; align-items: end; padding: 3rem; } .bx-ai-tool .t-label { grid-column: 1 / -1; } }
.bx-ai-tool-title { font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; max-width: 20ch; }
.bx-ai-tool-go { display: inline-flex; align-items: center; gap: .7rem; justify-self: start; padding: .95rem 1.5rem; border-radius: 99px; background: var(--color-ink); color: var(--color-paper); font-weight: 600; transition: background .4s; }
.bx-ai-tool:hover { background: var(--color-ink); color: var(--color-paper); }
.bx-ai-tool:hover .t-label { color: rgb(255 255 255 / .6); }
.bx-ai-tool:hover .bx-ai-tool-go { background: var(--color-brand); }
.bx-aiv-host { font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: rgb(255 255 255 / .6); }
.bx-aiv-host::before { content: "("; } .bx-aiv-host::after { content: ")"; }

/* Showreel: the poster is a background so each screen gets its own crop; on phones the frame is 4:5 to match the 1080×1350 file */
[data-reel-video] { background: #f6f3f1 url(/video/brandery-showreel-poster.jpg?v=3) center / cover no-repeat; }
@media (max-width: 767px) {
  [data-reel-frame] { height: auto; aspect-ratio: 4 / 5; }
  [data-reel-video] { background-image: url(/video/brandery-showreel-mobile-poster.jpg?v=1); }
}

/* Native scrolling (the eased Lenis scroll is off): in-page links glide and land below the header; an open menu holds the page still */
html { scroll-padding-top: 100px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html:has([data-menu-toggle][aria-expanded="true"]) { overflow: hidden; }

/* ── Section labels read as titles (Nikos, 2026-11-04): no parentheses, title size and weight, ink rather than grey ──
   Every "(Label)" above a heading or a list in the page and the footer; the menu keeps its small labels. */
:is(main, footer) p.t-label.label-paren {
  font-size: clamp(1.05rem, 0.96rem + 0.35vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.25;
}
:is(main, footer) p.t-label.label-paren::before,
:is(main, footer) p.t-label.label-paren::after { content: none; }
:is(main, footer) p.t-label.label-paren.text-mute { color: #322e2e; }

/* ── Footer: a hairline grid ── */
footer[data-footer] { --bx-rule: rgb(50 46 46 / 0.14); }
footer[data-footer] > section.grid { border-top: 0; padding-top: 0; gap: 0; }
footer[data-footer] > section.grid > div { border-top: 1px solid var(--bx-rule); padding: 1.5rem 0 2.25rem; }
footer[data-footer] > section.grid > div > p.t-label { margin-bottom: 1.25rem; }
footer[data-footer] > section.grid ul { margin: 0; }
footer[data-footer] > section.grid ul > li { margin: 0 !important; border-bottom: 1px solid var(--bx-rule); }
footer[data-footer] > section.grid ul > li:first-child { border-top: 1px solid var(--bx-rule); }
footer[data-footer] > section.grid ul a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 0; background-image: none; transition: color 0.3s ease, padding 0.4s cubic-bezier(.16,1,.3,1);
}
footer[data-footer] > section.grid ul a::after {
  content: "→"; font-size: 0.95em; opacity: 0; transform: translateX(-0.4rem);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(.16,1,.3,1);
}
footer[data-footer] > section.grid ul a[target="_blank"]::after { content: "↗"; }
footer[data-footer] > section.grid ul a:hover,
footer[data-footer] > section.grid ul a:focus-visible { color: #c8373e; padding-left: 0.35rem; }
footer[data-footer] > section.grid ul a:hover::after,
footer[data-footer] > section.grid ul a:focus-visible::after { opacity: 1; transform: none; }
@media (min-width: 768px) {
  footer[data-footer] > section.grid { border-bottom: 1px solid var(--bx-rule); }
  footer[data-footer] > section.grid > div { padding: 1.75rem 2rem 2.75rem; border-top: 1px solid var(--bx-rule); }
  footer[data-footer] > section.grid > div + div { border-left: 1px solid var(--bx-rule); }
  footer[data-footer] > section.grid > div:first-child { padding-left: 0; }
  footer[data-footer] > section.grid > div:last-child { padding-right: 0; }
}
footer[data-footer] > div.container-x.flex { border-top: 1px solid var(--bx-rule); padding-top: 1.5rem; padding-bottom: 1.75rem; }
@media (max-width: 767px) {
  /* stacked: the link rules already frame each list, so the columns after the first drop their own top rule */
  footer[data-footer] > section.grid > div + div { border-top: 0; padding-top: 0.75rem; }
}

/* "Start selling with Brandery.": a touch more air between letters (r and t no longer touch); the size steps down
   just enough that each line still fits its width */
.bx-motto.t-mega { letter-spacing: 0; font-size: 12cqw; } /* smaller, with real space between letters (Nikos, 2026-11-04) */
@media (max-width: 767px) { .bx-motto.t-mega { font-size: 20.5cqw; } }
.bx-cta .t-mega, footer[data-footer] .t-mega { letter-spacing: 0; }
@media (min-width: 768px) { footer[data-footer] .t-mega { font-size: 12vw; } }

/* the cursor rides above every layer (cookie banner, menu, dialogs); it never takes clicks */
[data-cursor-root] { z-index: 2147483000 !important; }

/* Showreel shown whole as soon as it is reached (Nikos, 2026-11-04): the scroll-scrubbed oval reveal over 220vh
   read as the page sticking. The section is one screen tall; !important outranks the bundle's inline tween styles. */
[data-reel] { height: auto !important; }
[data-reel] > .sticky { position: relative; }
[data-reel-frame] { clip-path: none !important; }
[data-reel-video] { transform: none !important; scale: none !important; }
[data-reel-caption] { opacity: 1 !important; visibility: visible !important; }
@media (max-width: 767px) { [data-reel] > .sticky { height: auto; } }

/* Hospitality Experts shown open: the photo sits at its natural size (the bundle used to zoom it in from 1.25) */
[data-hosp-img] { scale: none !important; transform: none !important; }

/* ── No image effects (Nikos, 2026-11-04): every photo sits still and whole ──
   The bundle's reveal, parallax, cover zoom and card slide are switched off in patch.mjs; this undoes the
   oversizing they relied on and the hover zooms. Browser mock-ups keep their page scroll: that is content. */
[data-parallax], [data-clip-reveal] > img { height: 100% !important; }
[data-work-img] { width: 100% !important; }
:is(main, footer) img { scale: none !important; }
[data-cover-img] { transform: none !important; }
.bx-logo:hover img { transform: none; }

/* ── Website cards on /projects/: the first screen whole; on hover the full-page shot glides down to the footer ── */
.bx-browser--hover .bx-browser__screen { aspect-ratio: 16 / 10; }
.bx-browser__screen .bx-browser__full {
  position: absolute; left: 0; top: 0; width: 100%; height: auto; object-fit: initial;
  opacity: 0; transform: translateY(0); will-change: transform;
  transition: transform .9s cubic-bezier(.65, 0, .35, 1), opacity .3s ease .5s;
}
.bx-browser--hover.is-scrolling .bx-browser__full {
  opacity: 1; transform: translateY(var(--shift, 0));
  transition: transform var(--dur, 12s) cubic-bezier(.45, .05, .55, .95), opacity .2s ease;
}

/* ── Readability and touch (2026-11-06): small labels step up to 13–13.5px for an audience that is often 45+,
   and every small link offers at least a 24px target (WCAG 2.2 AA). Sizes only; the layout is unchanged. ── */
:is(main, footer) .t-label { font-size: .84375rem; }
:is(main, footer) .text-xs { font-size: .8125rem; line-height: 1.35; }
.bx-crumbs { font-size: .84375rem; }
.bx-crumbs a,
[data-hero-meta] a.u-link,
a.t-label.u-link,
:is(a[href*="share-offsite"], a[href*="x.com/intent"], a[href*="facebook.com/sharer"]),
:is(dd, [data-hero-foot]) a.u-link[target="_blank"] {
  display: inline-flex; align-items: center; min-height: 26px; min-width: 26px;
}
/* "Ways to work with us" on tablets: three cards share ~700px, so the card titles drop one step and the padding
   tightens, or "agencies." runs past its card */
@media (min-width: 768px) and (max-width: 1100px) {
  a[data-cursor="Talk"].md\:p-10 { padding: 2rem; }
  a[data-cursor="Talk"] .md\:text-5xl { font-size: 2.25rem; line-height: 1.1; }
}

/* ── Projects: the main filter (type) reads as large words; the sector chips sit under it ── */
.bx-filters-main { display: flex; flex-wrap: wrap; gap: .25rem 2.25rem; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--color-line); }
.bx-main-btn {
  position: relative; display: inline-flex; align-items: flex-start; gap: .3rem; padding: .35rem 0 .6rem;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.6rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.05;
  color: var(--color-mute); background: none; border: 0; cursor: pointer; transition: color .35s ease;
}
.bx-main-btn sup { font-size: .38em; font-weight: 500; letter-spacing: 0; margin-top: .25em; color: var(--color-mute); }
.bx-main-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--color-brand); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.bx-main-btn:hover { color: var(--color-ink); }
.bx-main-btn[aria-pressed="true"] { color: var(--color-ink); }
.bx-main-btn[aria-pressed="true"]::after { transform: scaleX(1); }
.bx-main-btn:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 4px; border-radius: 4px; }
.bx-filter-btn[hidden] { display: none; }
@media (max-width: 767px) {
  .bx-filters-main { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -1.25rem; padding-inline: 1.25rem; gap: 1.5rem; }
  .bx-filters-main::-webkit-scrollbar { display: none; }
  .bx-main-btn { flex: none; white-space: nowrap; }
}

/* ── Footer call to action: words rise one by one, then a coral line draws under the key word ── */
.bx-cta-title .bx-w {
  display: inline-block; opacity: 0; transform: translateY(.42em) rotate(3deg); transform-origin: 0 100%;
  transition: opacity .7s ease calc(var(--i) * 90ms), transform 1.1s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 90ms);
}
.bx-cta-title.is-in .bx-w { opacity: 1; transform: none; }
.bx-cta-title .bx-cta-key {
  background: linear-gradient(var(--color-brand), var(--color-brand)) no-repeat 0 94% / 0% .075em;
  transition: opacity .7s ease calc(var(--i) * 90ms), transform 1.1s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 90ms),
    background-size 1s cubic-bezier(.65, 0, .35, 1) calc(var(--words) * 90ms + 250ms), color .7s ease;
}
.bx-cta-title.is-in .bx-cta-key { background-size: 100% .075em; }
/* each line fits its width whatever the phrase: the longest line sets the size */
@media (min-width: 768px) { footer[data-footer] .bx-cta-title { font-size: min(12vw, calc(86vw / (var(--n) * .52))); } }

/* ── Hospitality, premium edition (Nikos, 2026-11-06). Same sections and order as before; the page opens at night:
   a dark hero with a warm glow behind the Amira arch, a fine frame around it, and a strip of property types.
   Light and dark then alternate like chapters (the stats on paper, "Dream → Return" in ink, results on paper). ── */
.bx-hosp-page { --hosp-night: #1d1a1a; --hosp-sand: #d8c3a1; }
.bx-hosp-page [data-hero] {
  background:
    radial-gradient(55% 65% at 80% 42%, rgb(236 91 97 / .20), transparent 62%),
    radial-gradient(45% 55% at 8% 100%, rgb(216 195 161 / .10), transparent 70%),
    var(--hosp-night);
  color: #fff;
}
.bx-hosp-page [data-hero] [data-field] { filter: invert(1); opacity: .35; }
.bx-hosp-page [data-hero] :is(h1, .bx-ch) { color: #fff; }
.bx-hosp-page [data-hero] [data-hero-meta] .t-label { color: rgb(255 255 255 / .8); }
.bx-hosp-page [data-hero] .text-graphite { color: rgb(255 255 255 / .78); }
.bx-hosp-page [data-hero] .bx-crumbs { color: rgb(255 255 255 / .62); }
.bx-hosp-page [data-hero] .bx-crumbs a:hover { color: #fff; }
.bx-hosp-page [data-hero] a.bg-ink { background: #fff; color: #322e2e; }
.bx-hosp-page [data-hero] a.bg-ink:hover { background: var(--color-brand); color: #fff; }
.bx-hosp-page [data-hero] a.bg-ink :is(span.rounded-full, .bg-paper) { background: #322e2e; color: #fff; }
.bx-hosp-page [data-hero] [data-hero-foot] a:not(.bg-ink) { color: #fff; }
/* the arch: a fine outer frame and a warm glow, like a lit window at dusk */
.bx-hosp-page [data-arch] { position: relative; }
.bx-hosp-page [data-arch-frame] { box-shadow: 0 50px 120px -40px rgb(236 91 97 / .45), 0 0 0 1px rgb(255 255 255 / .14); }
.bx-hosp-page [data-arch-frame]::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12);
}
/* the header stays legible over the night hero: the logo takes the glass pill it normally gets on scroll */
.bx-hosp-page [data-header]:not([data-scrolled]) > div > a:first-child {
  padding: .7rem 1.05rem; margin: -.7rem -1.05rem; background: rgb(255 255 255 / .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.bx-hosp-page [data-header]:not([data-scrolled]) [data-menu-toggle] { box-shadow: 0 0 0 1px rgb(255 255 255 / .28); }
/* the property strip under the hero */
.bx-hosp-strip { background: var(--hosp-night); color: rgb(255 255 255 / .82); border-top: 1px solid rgb(255 255 255 / .1); }
.bx-hosp-strip ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin: 0; padding: 1.6rem 0 1.8rem; list-style: none; }
.bx-hosp-strip li { display: inline-flex; align-items: center; gap: .75rem; font-size: clamp(.95rem, .85rem + .35vw, 1.2rem); font-weight: 500; letter-spacing: .01em; }
.bx-hosp-strip li::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: var(--hosp-sand); }
@media (max-width: 767px) {
  .bx-hosp-strip ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; margin-inline: -1.25rem; padding-inline: 1.25rem; }
  .bx-hosp-strip ul::-webkit-scrollbar { display: none; }
  .bx-hosp-strip li { flex: none; }
}
.bx-hosp-page [data-hero] [data-chip] { color: #322e2e; }
.bx-hosp-page [data-hero] .bx-crumbs li[aria-current] { color: #fff; }
.bx-hosp-page [data-header]:not([data-scrolled]) nav > ul, .bx-hosp-page [data-header]:not([data-scrolled]) a.rounded-full.border { background: rgb(255 255 255 / .9) !important; }

/* ── Service-page brief forms: the same underlined fields as the contact page (its styles are scoped to that page) ── */
[data-svc-brief] .field { position: relative; display: block; padding-top: 1.6rem; }
[data-svc-brief] .field input, [data-svc-brief] .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--color-line); padding: .55rem 0 .8rem; font-size: 1.2rem; color: var(--color-ink); outline: none; resize: vertical; transition: border-color .4s; }
[data-svc-brief] .field > span { position: absolute; left: 0; top: 2.2rem; color: var(--color-mute); font-size: 1.2rem; pointer-events: none; transform-origin: left top; transition: transform .45s cubic-bezier(.16,1,.3,1), color .3s; }
[data-svc-brief] .field input:focus, [data-svc-brief] .field textarea:focus { border-color: var(--color-ink); }
[data-svc-brief] .field :is(input, textarea):is(:focus, :not(:placeholder-shown)) + span { transform: translateY(-1.75rem) scale(.72); color: var(--color-ink); }
[data-svc-brief] .field.is-invalid :is(input, textarea) { border-color: var(--color-brand); }
[data-svc-brief] .field :is(input, textarea):focus-visible { border-bottom-width: 2px; }

/* ── Menu: every service as a link, across the full width of the panel, in two columns ── */
#menu [data-menu-side] .bx-menu-svcs { grid-column: 1 / -1; }
#menu [data-menu-side] .bx-menu-svcs ul { grid-template-columns: 1fr 1fr; column-gap: 1.25rem; row-gap: .15rem; }
#menu [data-menu-side] .bx-menu-svcs a { display: inline-flex; min-height: 28px; align-items: center; font-size: .95rem; color: rgba(255, 255, 255, .88); transition: color .3s ease; }
#menu [data-menu-side] .bx-menu-svcs a:hover, #menu [data-menu-side] .bx-menu-svcs a:focus-visible, #menu [data-menu-side] .bx-menu-svcs a[aria-current="page"] { color: #ec5b61; }
#menu [data-menu-side] .bx-menu-svcs .bx-menu-all { color: #fff; font-weight: 600; }
@media (max-width: 380px) { #menu [data-menu-side] .bx-menu-svcs ul { grid-template-columns: 1fr; } }
/* with the service list the panel can be taller than the screen: centring would push "Home" out of reach above
   the top, so the panel starts at the top (still centred when it fits) and scrolls */
#menu > div:last-child { justify-content: safe center; }
@supports not (justify-content: safe center) { #menu > div:last-child { justify-content: flex-start; } }

/* ── Mega menu (Nikos, 2026-11-16): the menu covers the whole page and reads in columns — the main pages large on the
   left, then Services (two sub-columns), Studio and Say hello. It still opens as a circle from the Menu button. ── */
@media (min-width: 768px) {
  #menu { --mw: 100vw; }
  #menu [data-menu-bg] { inset: 0 !important; width: auto; border-radius: 0; transform: none; box-shadow: none; }
  #menu::before { display: none; }
  #menu > div:last-child {
    top: 0; right: 0; bottom: 0; left: 0; width: auto;
    padding: 7.5rem clamp(1.5rem, 3.2vw, 2.875rem) 2.25rem; justify-content: safe center; gap: 2.5rem;
  }
  #menu > div:last-child > div:first-child { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.75rem; }
  #menu > div:last-child > div:first-child > * { grid-column: auto !important; }
  #menu [data-menu-links] a { font-size: clamp(2rem, 3.4vw, 3.6rem); }
  #menu [data-menu-side] { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem 3rem; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 2rem; }
  #menu [data-menu-side] .bx-menu-svcs { grid-column: auto; }
  #menu [data-menu-side] .bx-menu-svcs ul { column-gap: 2rem; row-gap: .3rem; }
  #menu [data-menu-side] .bx-menu-svcs a { font-size: 1.05rem; }
  #menu [data-menu-side] .t-label { font-size: .85rem; letter-spacing: .02em; }
}
@media (min-width: 1100px) {
  /* columns side by side: main pages | services | studio | say hello */
  #menu > div:last-child > div:first-child { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 5vw; align-items: start; }
  #menu [data-menu-links] { padding-right: 4vw; border-right: 1px solid rgba(255, 255, 255, .12); }
  #menu [data-menu-side] { border-top: 0; padding-top: .6rem; }
  #menu [data-menu-links] a { font-size: clamp(2.2rem, 3vw, 3.6rem); }
}

/* ── Services mega panel from the centre nav: photo + name cards inside the container ── */
.bx-mega {
  position: fixed; z-index: 70; left: 50%; width: min(1333px, calc(100vw - 2 * clamp(1.25rem, 3.2vw, 2.875rem)));
  max-height: calc(100vh - 7rem); overflow-y: auto;
  padding: 1.6rem 1.6rem 1.75rem; border-radius: 1.75rem; background: #fff; color: #322e2e;
  border: 1px solid rgb(50 46 46 / .08);
  box-shadow: 0 2px 6px rgb(50 46 46 / .04), 0 40px 90px -30px rgb(50 46 46 / .35);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, 10px); transition: opacity .3s ease, transform .45s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .45s;
}
.bx-mega[data-from="below"] { transform: translate(-50%, -10px); }
.bx-mega.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition: opacity .3s ease, transform .45s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
.bx-mega__head { display: flex; align-items: baseline; gap: 1.5rem; padding: 0 .25rem 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid rgb(50 46 46 / .1); }
.bx-mega__title { margin: 0; font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; }
.bx-mega__title span { color: #ec5b61; }
.bx-mega__lede { margin: 0; color: #6f6a6b; font-size: .95rem; }
.bx-mega__all { margin-left: auto; font-size: .95rem; font-weight: 600; color: #322e2e; white-space: nowrap; }
.bx-mega__all:hover, .bx-mega__all:focus-visible { color: #c8373e; }
.bx-mega__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem 1rem; margin: 0; padding: 0; list-style: none; }
.bx-mega__grid a { display: flex; flex-direction: column; gap: .7rem; color: #322e2e; border-radius: 1rem; outline-offset: 4px; }
.bx-mega__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: .9rem; background: #f3efec; }
.bx-mega__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bx-mega__name { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; font-size: .95rem; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; padding: 0 .1rem; }
.bx-mega__name i { font-style: normal; color: #c8373e; opacity: 0; transform: translateX(-4px); transition: opacity .25s ease, transform .35s cubic-bezier(.16, 1, .3, 1); }
.bx-mega__grid a:hover .bx-mega__name, .bx-mega__grid a:focus-visible .bx-mega__name { color: #c8373e; }
.bx-mega__grid a:hover .bx-mega__name i, .bx-mega__grid a:focus-visible .bx-mega__name i { opacity: 1; transform: none; }
.bx-mega__more { height: 100%; justify-content: space-between; padding: 1.1rem; background: #322e2e; color: #fff !important; aspect-ratio: auto; }
.bx-mega__more .bx-mega__name { font-size: 1.05rem; }
.bx-mega__more .bx-mega__name i { opacity: 1; transform: none; color: #ec5b61; }
.bx-mega__more:hover { background: #1f1c1c; }
.bx-mega__more:hover .bx-mega__name { color: #fff !important; }
.bx-mega__note { font-size: .85rem; line-height: 1.35; color: rgb(255 255 255 / .7); }
@media (max-width: 1279px) { .bx-mega__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .bx-mega__lede { display: none; } }
@media (max-width: 1023px) { .bx-mega { display: none; } }
@media (prefers-reduced-motion: reduce) { .bx-mega, .bx-mega.is-open { transition: none; } }

/* ── Mega menu column titles (Nikos, 2026-11-16): bold white titles, no parentheses, each over a hairline with a coral tick ── */
#menu [data-menu-side] .t-label {
  display: block; margin: 0 0 1rem; padding-bottom: .7rem;
  font-size: 1rem; font-weight: 700; letter-spacing: -.005em; color: #fff;
  background: linear-gradient(#ec5b61, #ec5b61) no-repeat left bottom / 1.75rem 2px, linear-gradient(rgb(255 255 255 / .14), rgb(255 255 255 / .14)) no-repeat left bottom / 100% 1px;
}
#menu [data-menu-side] .t-label::before, #menu [data-menu-side] .t-label::after { content: none; }

/* Optical kerning for tight display pairs (T–Y, R–T, R–Y) in the big headings */
.bx-kern { letter-spacing: 0; }
