/* ==========================================================================
   Grahin Exclusive · Magic of Art
   Design tokens follow grahinexclusive.com: crimson #CE1446, logo magenta
   #D9117C, deep black, navy #061340, Montserrat. A serif italic accent adds
   gallery-like refinement.
   ========================================================================== */

:root {
  --ink: #0a0a0a;
  --ink-2: #111111;
  --ink-3: #181818;
  --ink-4: #222222;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f6f2ec;
  --muted: rgba(246, 242, 236, 0.62);
  --faint: rgba(246, 242, 236, 0.4);

  --crimson: #ce1446;
  --magenta: #d9117c;
  --rose: #eb0a8e;
  --navy: #061340;
  --paper: #f3eee7;
  --paper-ink: #151515;
  --paper-muted: #5d5853;

  --grad: linear-gradient(120deg, var(--crimson) 0%, var(--magenta) 55%, var(--rose) 100%);
  --grad-soft: linear-gradient(120deg, rgba(206, 20, 70, 0.22), rgba(217, 17, 124, 0.12));

  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --gutter: 20px;
  --maxw: 1200px;
  --dock-h: 72px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --glow: 0 12px 40px -8px rgba(217, 17, 124, 0.55);

}

@media (min-width: 768px) {
  :root { --gutter: 40px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
/* subtle film grain for a printed, gallery feel */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { display: block; }
::selection { background: var(--magenta); color: #fff; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; border-radius: 6px; }

.app {
  min-height: 100svh;
  padding-bottom: calc(var(--dock-h) + var(--safe-b) + 32px);
  outline: none;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--grad);
}
.eyebrow--plain::before { display: none; }

.display {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(40px, 11vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
}
.h1 { font-weight: 700; font-size: clamp(32px, 8vw, 60px); line-height: 1.02; letter-spacing: -0.03em; margin: 0; }
.h2 { font-weight: 700; font-size: clamp(26px, 6.4vw, 44px); line-height: 1.08; letter-spacing: -0.025em; margin: 0; }
.h3 { font-weight: 600; font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; margin: 0; }
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.lead { font-size: 16px; color: var(--muted); max-width: 52ch; margin: 0; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, border-color 0.3s;
  -webkit-user-select: none;
  user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn--brand { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.btn--brand:hover { box-shadow: 0 16px 50px -6px rgba(217, 17, 124, 0.75); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); }
.btn--glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn--light { background: var(--text); color: var(--ink); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn--block { width: 100%; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.link-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease); }
.link-more:hover svg, a:hover > .link-more svg, a:hover .link-more svg { transform: translateX(5px); }

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.icon-btn:active { transform: scale(0.92); }
.icon-btn:hover { background: rgba(40, 40, 40, 0.7); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn--sm { width: 34px; height: 34px; background: transparent; border-color: transparent; }

/* ---------- Splash ---------- */
/* Intro: the G's ribbon is laid down in one continuous stroke, the way you'd
   write a G (right edge, over the top, round the left and bottom, then folding
   into the crossbar). Fold shadows settle in, a light passes over it, and the
   camera eases into the G as the glow opens up to reveal the app. */
.splash {
  --w: 84px;             /* G width; height is 4/3 of it */
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  transition: opacity 0.45s ease;
}
@media (min-width: 768px) { .splash { --w: 108px; } }
.splash.is-done { opacity: 0; pointer-events: none; }
.splash.is-gone { display: none; }
.splash__glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle 200px at 50% 50%, rgba(217, 17, 124, 0.24), rgba(206, 20, 70, 0.07) 55%, transparent 100%);
  will-change: transform, opacity;
}
.splash__stage { position: relative; width: var(--w); height: calc(var(--w) * 4 / 3); }
.splash__logo {
  position: absolute;
  inset: 0;
  transform-origin: 66.667% 50%;  /* the diamond centre */
  will-change: transform;          /* keep it on its own layer at a fixed raster scale */
}
.splash__svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* nothing of the logo shows until the intro actually starts playing */
.splash__stage { visibility: hidden; }
.splash.is-playing .splash__stage { visibility: visible; }

.g-fold, .g-bar, .g-solid { opacity: 0; }
.g-sheen { transform: skewX(-18deg) translateX(0); }


/* One continuous flow (~2.9s): the sweep (driven from JS, see splash() in app.js)
   reveals the G while the glow builds,
   the light passes over it the moment it completes, then the camera eases in
   and the glow opens up as the app fades in. */
.splash.is-playing .g-fold--top      { animation: appear 0.5s 0.82s ease forwards; }
.splash.is-playing .g-fold--bottom   { animation: appear 0.4s 1.4s ease forwards; }
.splash.is-playing .g-sheen          { animation: sheen 0.8s 1.75s cubic-bezier(0.45, 0, 0.25, 1) forwards; }
.splash.is-playing .splash__glow     { animation: glow 2.25s 0.6s cubic-bezier(0.33, 0, 0.67, 1) forwards; }
.splash.is-playing .splash__logo     { animation: push 2.65s 0.2s cubic-bezier(0.33, 0, 0.67, 1) forwards; }

@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheen  { from { transform: skewX(-18deg) translateX(0); } to { transform: skewX(-18deg) translateX(7px); } }
@keyframes push {
  0%   { transform: scale(0.96); opacity: 1; }
  80%  { transform: scale(1.04); opacity: 1; }
  88%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes glow {
  0%   { transform: scale(1); opacity: 0; }
  45%  { transform: scale(1); opacity: 1; }
  76%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(3.2); opacity: 0.5; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Top bar ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(var(--safe-t) + 10px) var(--gutter) 10px;
  transition: background 0.4s, border-color 0.4s, transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.topbar.is-solid {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--line);
}
.topbar.is-hidden { transform: translateY(-100%); }
.topbar__logo img { width: 92px; height: auto; }
.topbar__title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s, transform 0.4s var(--ease);
  pointer-events: none;
  max-width: 50vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topbar.show-title .topbar__title { opacity: 1; transform: translateX(-50%); }
.topbar.is-detail .topbar__logo,
.topbar.is-detail .topbar__cta { visibility: hidden; }
.topbar.is-detail { min-height: calc(var(--safe-t) + 68px); pointer-events: none; }
.topbar__cta { height: 38px; padding: 0 18px; font-size: 13px; }

/* ---------- Dock (bottom nav) ---------- */
.dock {
  position: fixed;
  left: 50%;
  bottom: calc(14px + var(--safe-b));
  transform: translateX(-50%);
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  width: min(420px, calc(100% - 28px));
  height: var(--dock-h);
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(22, 22, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.5s var(--ease), opacity 0.4s;
}
.dock.is-hidden { transform: translateX(-50%) translateY(140%); opacity: 0; }
.dock__item {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 8px 0;
  color: var(--faint);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: color 0.3s;
}
.dock__item svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease); }
.dock__item.is-active { color: var(--text); }
.dock__item.is-active svg { transform: translateY(-1px); }
.dock__item::after {
  content: '';
  position: absolute;
  bottom: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 10px var(--magenta);
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.dock__item.is-active::after { opacity: 1; transform: none; }
.dock__item--cta::after { display: none; }
.dock__fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  box-shadow: var(--glow);
  transition: transform 0.4s var(--ease);
}
.dock__fab svg { width: 24px; height: 24px; stroke: #fff; }
.dock__item--cta:active .dock__fab { transform: scale(0.92); }
.dock__item--cta.is-active .dock__fab { transform: rotate(-8deg) scale(1.04); }

/* ---------- View transitions ---------- */
.view { animation: viewIn 0.7s var(--ease) both; }
.view.is-leaving { animation: viewOut 0.22s ease both; }
@keyframes viewIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes viewOut { to { opacity: 0; transform: translateY(-6px); } }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  animation: kenburns 18s ease-out forwards;
  will-change: transform;
}
@keyframes kenburns { to { transform: scale(1); } }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 60% at 80% 10%, rgba(217, 17, 124, 0.25), transparent 60%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.15) 30%, rgba(10, 10, 10, 0.75) 68%, var(--ink) 100%);
}
.hero__content { padding-top: 120px; padding-bottom: 42px; width: 100%; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__badge i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
}
.hero__badge i::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { transform: scale(0.5); opacity: 0.5; } }
.hero .display { margin-top: 22px; }
.hero .display .serif { font-size: 1.08em; font-weight: 500; }
.hero__sub { margin-top: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 48px;
  display: none;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
}
.hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 60px;
  margin: 14px auto 0;
  background: linear-gradient(var(--magenta), transparent);
  animation: scrollLine 2.4s var(--ease-io) infinite;
  transform-origin: top;
}
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 900px) { .hero__scroll { display: block; } }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 24px 0 22px; }
.stat:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 16px; }
.stat:nth-child(even) { padding-left: 20px; }
.stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
.stat__num { font-size: 38px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stat__num sup { font-size: 0.5em; vertical-align: top; position: relative; top: 0.2em; margin-left: 2px; }
.stat__label { margin-top: 8px; font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat, .stat:nth-child(odd), .stat:nth-child(even) { border: 0; border-right: 1px solid var(--line); padding: 34px 28px; }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { border-right: 0; }
  .stat__num { font-size: 48px; }
}

/* ---------- Sections ---------- */
.section { padding-block: 64px; }
.section--tight { padding-block: 40px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section__head .h2 { margin-top: 12px; }
.section__head p { margin-top: 12px; }
@media (min-width: 768px) { .section { padding-block: 100px; } }

/* ---------- Feature card (corporate spotlight) ---------- */
.feature {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 520px;
  isolation: isolate;
  box-shadow: var(--shadow);
}
.feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.4s var(--ease);
}
.feature:hover img { transform: scale(1.05); }
.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 19, 64, 0.1) 0%, rgba(10, 10, 10, 0.3) 40%, rgba(10, 10, 10, 0.94) 100%);
}
.feature__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; }
.feature__tag {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--grad);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.feature .h1 { margin-top: 12px; }
.feature p { margin: 12px 0 22px; color: rgba(246, 242, 236, 0.78); max-width: 44ch; }
@media (min-width: 900px) {
  .feature { min-height: 600px; }
  .feature__body { padding: 56px; max-width: 720px; }
}

/* ---------- Horizontal rail ---------- */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 76%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-inline: var(--gutter);
  padding-bottom: 8px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 600px) { .rail { grid-auto-columns: 44%; } }
@media (min-width: 1000px) {
  .rail { grid-auto-columns: calc((min(100vw, var(--maxw)) - 2 * var(--gutter) - 3 * 18px) / 3.4); gap: 18px; padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
}
.rail-progress { height: 2px; background: var(--line); margin-top: 22px; border-radius: 2px; overflow: hidden; }
.rail-progress i { display: block; height: 100%; width: 30%; background: var(--grad); border-radius: 2px; transform-origin: left; transition: transform 0.15s linear; }

/* ---------- Experience card ---------- */
.card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.1;
  border-radius: var(--r);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink-3);
  transform: translateZ(0);
}
.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s var(--ease), filter 0.6s;
}
.card:hover img { transform: scale(1.07); }
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.35) 0%, transparent 28%, transparent 45%, rgba(10, 10, 10, 0.92) 100%);
}
.card__num {
  position: absolute;
  top: 16px;
  left: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.85);
}
.card__kind {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(10, 10, 10, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; }
.card__body .h3 { font-size: 21px; }
.card__body p { margin: 8px 0 14px; font-size: 13px; color: rgba(246, 242, 236, 0.72); line-height: 1.5; }
.card .link-more { color: #fff; }
.card .link-more span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: brightness(1.4); }

/* ---------- Service rows ---------- */
.services { display: grid; gap: 14px; }
.service {
  position: relative;
  display: grid;
  grid-template-columns: 108px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 12px 18px 12px 12px;
  border-radius: var(--r);
  background: var(--ink-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.4s, background 0.4s, transform 0.4s var(--ease);
}
.service::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity 0.5s;
}
.service:hover { border-color: rgba(217, 17, 124, 0.4); }
.service:hover::before { opacity: 1; }
.service:active { transform: scale(0.985); }
.service__img { position: relative; width: 108px; height: 108px; border-radius: 14px; overflow: hidden; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.service:hover .service__img img { transform: scale(1.1); }
.service__body { position: relative; min-width: 0; }
.service__body .eyebrow { font-size: 9.5px; }
.service__body .h3 { margin-top: 6px; }
.service__body p { margin: 6px 0 0; font-size: 13px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.service__go {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  transition: background 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}
.service__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service:hover .service__go { background: var(--grad); border-color: transparent; transform: rotate(-45deg); }
@media (max-width: 420px) {
  .service { grid-template-columns: 84px 1fr; padding-right: 14px; }
  .service__img { width: 84px; height: 84px; }
  .service__go { display: none; }
}
@media (min-width: 900px) {
  .services { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .service { grid-template-columns: 1fr; padding: 12px 12px 24px; align-items: start; }
  .service__img { width: 100%; height: 260px; }
  .service__body { padding: 8px 10px 0; }
  .service__go { position: absolute; top: 24px; right: 24px; background: rgba(10, 10, 10, 0.5); backdrop-filter: blur(10px); }
}

/* ---------- Paper (light editorial) sections ---------- */
.paper {
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  position: relative;
}
.paper + .paper-end { background: var(--paper); height: 0; }
.paper .eyebrow { color: var(--paper-muted); }
.paper .muted, .paper .lead { color: var(--paper-muted); }
.paper--round { border-radius: var(--r-lg); }

.quote { position: relative; padding: 64px 0 56px; }
.quote__mark {
  font-family: var(--serif);
  font-size: 140px;
  line-height: 0.6;
  height: 56px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 7vw, 50px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 24ch;
}
.quote figcaption { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.quote figcaption .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.quote figcaption strong { display: block; font-size: 14px; }
.quote figcaption span { font-size: 12px; color: var(--paper-muted); letter-spacing: 0.02em; }

/* clients marquee */
.clients { padding: 6px 0 64px; }
.clients__label { text-align: center; margin-bottom: 26px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex: none; width: 170px; height: 76px; display: grid; place-items: center; padding: 0 22px; }
.marquee__item img { max-width: 100%; max-height: 52px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: 0.72; transition: opacity 0.3s, filter 0.3s; mix-blend-mode: multiply; }
.marquee__item:hover img { opacity: 1; filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Process ---------- */
.process { display: grid; gap: 0; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { font-family: var(--serif); font-style: italic; font-size: 38px; line-height: 1; }
.step h3 { margin: 4px 0 6px; font-size: 17px; font-weight: 600; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .step, .step:last-child { grid-template-columns: 1fr; border: 0; border-top: 1px solid var(--line-2); padding-top: 28px; }
  .step__n { font-size: 52px; }
}

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: 44px 26px;
  background: var(--navy);
  isolation: isolate;
}
.cta::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: -200px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 17, 124, 0.75), rgba(206, 20, 70, 0.2) 45%, transparent 70%);
  filter: blur(10px);
  animation: blob 12s ease-in-out infinite alternate;
}
.cta::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 380px;
  height: 380px;
  left: -160px;
  bottom: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(206, 20, 70, 0.55), transparent 65%);
  animation: blob 14s ease-in-out infinite alternate-reverse;
}
@keyframes blob { to { transform: translate(-40px, 40px) scale(1.15); } }
.cta .h1 { margin: 14px 0 16px; max-width: 14ch; }
.cta p { color: rgba(246, 242, 236, 0.75); max-width: 42ch; margin: 0 0 26px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta { padding: 80px 72px; } }

/* ---------- Footer ---------- */
.footer { padding: 48px 0 24px; text-align: center; }
.footer img { width: 110px; height: auto; margin: 0 auto 14px; opacity: 0.9; }
.footer p { margin: 0; font-size: 12px; color: var(--faint); }
.socials { display: flex; justify-content: center; gap: 10px; margin: 18px 0; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.socials a:hover { background: var(--grad); border-color: transparent; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Page header (explore / gallery / shop) ---------- */
.page-head { padding-top: calc(var(--safe-t) + 104px); padding-bottom: 8px; }
.page-head .h1 { margin-top: 14px; }
.page-head .lead { margin-top: 14px; }

/* chips */
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 26px calc(var(--gutter) * -1) 0;
  padding: 0 var(--gutter);
  position: sticky;
  top: calc(var(--safe-t) + 64px);
  z-index: 10;
  padding-block: 10px;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.35s var(--ease);
}
.chip.is-active { background: var(--text); color: var(--ink); border-color: var(--text); }
.chip .count { opacity: 0.55; margin-left: 4px; font-weight: 500; }

.grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
.grid .card { aspect-ratio: 3 / 4.3; }
.grid .card__body { padding: 14px; }
.grid .card__body .h3 { font-size: 16px; }
.grid .card__body p { display: none; }
.grid .card__num { font-size: 18px; top: 12px; left: 14px; }
.grid .card__kind { display: none; }
.grid .card.is-wide { grid-column: span 2; aspect-ratio: 16 / 11; }
.grid .card.is-wide .card__body p { display: block; }
.grid .card.is-wide .card__body .h3 { font-size: 22px; }
.grid .card.is-hidden { display: none; }
@media (min-width: 700px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .grid .card__body { padding: 20px; }
  .grid .card__body .h3 { font-size: 19px; }
  .grid .card__body p { display: block; }
  .grid .card.is-wide { aspect-ratio: auto; }
}

/* ---------- Detail ("Know more") ---------- */
.detail-hero {
  position: relative;
  height: 68svh;
  min-height: 420px;
  overflow: hidden;
}
.detail-hero img {
  position: absolute;
  inset: -6% 0 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
  animation: detailIn 1.4s var(--ease) both;
}
@keyframes detailIn { from { transform: scale(1.18); filter: blur(6px); } to { transform: scale(1); filter: none; } }
.detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, transparent 25%, transparent 55%, var(--ink) 100%);
}
.detail-hero__bar {
  position: fixed;
  top: calc(var(--safe-t) + 12px);
  left: var(--gutter);
  right: var(--gutter);
  z-index: 55;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.detail-hero__bar > * { pointer-events: auto; }
.detail-hero__bar .actions { display: flex; gap: 10px; }

.detail { position: relative; margin-top: -120px; z-index: 2; }
.detail .h1 { margin-top: 14px; }
.detail .lead { margin-top: 16px; color: rgba(246, 242, 236, 0.78); font-size: 17px; }
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--ink-2);
  overflow: hidden;
}
.fact { padding: 16px 14px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact dt { font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.fact dd { margin: 8px 0 0; font-size: 13px; font-weight: 600; line-height: 1.35; }
@media (max-width: 380px) {
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
}
.detail-block { margin-top: 44px; }
.detail-block > .eyebrow { margin-bottom: 18px; }
.detail-block p { color: var(--muted); font-size: 16px; line-height: 1.75; margin: 0; max-width: 62ch; }
.detail-block p::first-letter {
  font-family: var(--serif);
  font-size: 3.4em;
  float: left;
  line-height: 0.85;
  margin: 0.06em 0.1em 0 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.02);
}
.formats { display: grid; gap: 0; }
.format {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 500;
}
.format:first-child { border-top: 1px solid var(--line); }
.format i { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--magenta); width: 26px; }
@media (min-width: 700px) { .formats { grid-template-columns: 1fr 1fr; column-gap: 32px; } .format:nth-child(2) { border-top: 1px solid var(--line); } }

.detail-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 64%;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
}
.detail-gallery::-webkit-scrollbar { display: none; }
.detail-gallery button { scroll-snap-align: start; aspect-ratio: 4 / 5; border-radius: var(--r-sm); overflow: hidden; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.detail-gallery button:hover img { transform: scale(1.06); }
@media (min-width: 700px) { .detail-gallery { grid-auto-columns: 30%; } }

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 58;
  padding: 14px var(--gutter) calc(14px + var(--safe-b));
  display: flex;
  gap: 10px;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.92) 30%);
  animation: slideUp 0.7s 0.3s var(--ease) both;
}
.sticky-cta .btn { flex: 1; }
.sticky-cta .btn--ghost { flex: 0 0 52px; padding: 0; background: rgba(20, 20, 20, 0.8); backdrop-filter: blur(10px); }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }
@media (min-width: 700px) {
  .sticky-cta { left: 50%; right: auto; transform: translateX(-50%); width: 520px; background: none; animation: none; }
}

.related { margin-top: 56px; }

/* ---------- Gallery ---------- */
.masonry { columns: 2; column-gap: 10px; margin-top: 26px; }
.masonry button {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 10px;
  break-inside: avoid;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--ink-3);
}
.masonry img { width: 100%; height: auto; transition: transform 0.9s var(--ease); }
.masonry button:hover img { transform: scale(1.05); }
.masonry figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 12px 10px;
  font-size: 11px;
  font-weight: 600;
  text-align: left;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s var(--ease);
}
.masonry button:hover figcaption { opacity: 1; transform: none; }
@media (hover: none) { .masonry figcaption { opacity: 1; transform: none; } }
@media (min-width: 700px) { .masonry { columns: 3; column-gap: 16px; } .masonry button { margin-bottom: 16px; } }
@media (min-width: 1100px) { .masonry { columns: 4; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.35s;
  touch-action: pan-y;
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: min(92vw, 1100px); display: grid; gap: 14px; justify-items: center; }
.lightbox__figure img {
  max-height: 76svh;
  width: auto;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease), opacity 0.3s;
}
.lightbox__figure figcaption { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--muted); }
.lightbox__close { position: absolute; top: calc(var(--safe-t) + 16px); right: 16px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
@media (max-width: 600px) { .lightbox__nav { top: auto; bottom: calc(var(--safe-b) + 26px); transform: none; } .lightbox__nav--prev { left: calc(50% - 56px); } .lightbox__nav--next { right: calc(50% - 56px); } }

.coverage { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.coverage span { display: inline-flex; align-items: center; gap: 8px; }
.coverage span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--magenta); }

/* ---------- Enquire form ---------- */
.form { display: grid; gap: 14px; margin-top: 28px; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%;
  height: 60px;
  padding: 24px 18px 8px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: var(--ink-2);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { height: 120px; resize: none; padding-top: 28px; line-height: 1.5; }
.field select { padding-right: 44px; }
.field select option { background: var(--ink-2); }
.field label {
  position: absolute;
  left: 18px;
  top: 20px;
  font-size: 15px;
  color: var(--faint);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.3s var(--ease), color 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--magenta); background: var(--ink-3); box-shadow: 0 0 0 4px rgba(217, 17, 124, 0.14); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-11px) scale(0.72); color: var(--muted); letter-spacing: 0.04em; }
.field--select::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 26px;
  width: 8px;
  height: 8px;
  border-right: 1.8px solid var(--muted);
  border-bottom: 1.8px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 12px; color: var(--faint); text-align: center; margin: 4px 0 0; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick label { padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.3s var(--ease); }
.pick input:checked + label { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 24px -8px rgba(217, 17, 124, 0.6); }
.pick input:focus-visible + label { outline: 2px solid var(--magenta); outline-offset: 2px; }
.form-label { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin: 10px 0 2px; }
@media (min-width: 900px) {
  .enquire-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
  .enquire-grid .page-head { position: sticky; top: 0; }
}

/* ---------- Install prompt & toast ---------- */
.install {
  position: fixed;
  left: 0;
  right: 0;
  margin-inline: auto; /* centred without transform: the fadeUp animation owns transform */
  bottom: calc(var(--dock-h) + var(--safe-b) + 26px);
  z-index: 70;
  width: min(420px, calc(100% - 28px));
  display: grid;
  grid-template-columns: 44px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 10px 12px 12px;
  border-radius: 20px;
  background: rgba(28, 28, 28, 0.92);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  animation: fadeUp 0.6s var(--ease) both;
}
.install[hidden] { display: none; }
.install img { border-radius: 12px; }
.install__text { min-width: 0; }
.install strong { display: block; font-size: 13px; }
.install span { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.4; }

.toast {
  position: fixed;
  left: 50%;
  top: calc(var(--safe-t) + 16px);
  z-index: 180;
  transform: translate(-50%, -150%);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--text);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease);
  white-space: nowrap;
}
.toast.is-show { transform: translate(-50%, 0); }

/* ---------- Gold dust ---------- */
/* behind all content (z-index -1 sits above the page background only), so it shows
   just in the black areas; drawn by js/dust.js */
.dust {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- Additions for the current content model ---------- */
/* top bar: "My events" (server-rendered /me) next to Enquire */
.topbar__actions { display: flex; align-items: center; gap: 8px; }
.topbar__me { width: 38px; height: 38px; color: var(--text); background: rgba(255, 255, 255, 0.08); }
.topbar__me svg { width: 18px; height: 18px; }
.topbar.is-detail .topbar__me { visibility: hidden; }

/* formats are links to their own pages */
a.format { color: var(--text); transition: color 0.3s; }
a.format span { flex: 1; }
a.format > svg { width: 16px; height: 16px; fill: none; stroke: var(--faint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease), stroke 0.3s; }
a.format:hover > svg { transform: translateX(4px); stroke: var(--text); }
.detail .eyebrow a { color: inherit; }
.detail .eyebrow a:hover { color: var(--text); }

/* FAQ on the enquire page */
.faqs { margin-top: 56px; }
.faqs .h2 { margin: 12px 0 20px; }
.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 18px 0; font-size: 16px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { flex: 1; }
.faq summary svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; transition: transform 0.35s var(--ease), stroke 0.3s; }
.faq[open] summary svg { transform: rotate(45deg); stroke: var(--magenta); }
.faq p { margin: 0 30px 18px 0; font-size: 14px; line-height: 22px; color: var(--muted); white-space: pre-line; }

.form .btn[disabled] { opacity: 0.7; pointer-events: none; }
.toast { max-width: calc(100vw - 32px); white-space: normal; text-align: center; }
.shop-page, .notfound-page { min-height: 70svh; }
.shop-page .lead, .notfound-page .lead { margin: 14px 0 28px; }

/* tab pages: the title sits between the logo and the actions (as in the native app);
   detail pages keep it centred between back and share */
.topbar:not(.is-detail) .topbar__title { position: static; flex: 1; min-width: 0; max-width: none; transform: translateY(6px); text-align: left; }
.topbar.show-title:not(.is-detail) .topbar__title { transform: none; }
