/* HAC — cinematic shell
   Editorial luxury pushed from the existing charcoal + gold palette. */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@300;400;500&display=swap');

:root {
  /* White gallery palette — the logo's native colours. The fullscreen film
     hero and the generated artwork plates stay dark as contrast anchors. */
  --ink:        #ffffff;            /* white gallery canvas */
  --ink-2:      #ffffff;            /* card surface (lifted by shadow) */
  --ink-3:      #f1ede4;            /* raised / recessed surface */
  --ink-line:   #e7e1d4;            /* hairlines */

  --gold:       #9d7722;            /* brand gold, deepened to bronze for white */
  --gold-warm:  #845f16;            /* highlight on white = deeper still */
  --gold-deep:  #c4a258;            /* softened gold for fills */
  --champagne:  #6e5413;

  --ivory:      #191510;            /* body text — near-black espresso */
  --ivory-dim:  #5d564a;            /* secondary */
  --ivory-faint:#9a9183;            /* tertiary / captions */

  --grain-opacity: 0.025;

  /* Type */
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans:  'Inter', -apple-system, system-ui, sans-serif;
  --mono:  'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Motion */
  --ease-cinema: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Cinematic page transitions.
   First load uses the pageIn keyframe; in-app (client-side) navigation uses a quick
   opacity fade driven by the .page-leaving class being added then removed. */
body { animation: pageIn 700ms cubic-bezier(0.16, 1, 0.3, 1); transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); filter: blur(3px); }
  to   { opacity: 1; transform: none; filter: none; }
}
body.page-leaving { opacity: 0; transition: opacity 0.18s ease; }

:root {
  --ease-silk:   cubic-bezier(0.77, 0, 0.175, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; background: var(--ink); }

body {
  font-family: var(--sans);
  color: var(--ivory);
  background: var(--ink);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Film grain overlay on everything */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9998;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.07 0 0 0 0 0.05 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
  opacity: var(--grain-opacity);
  mix-blend-mode: overlay;
}

/* Featherlight warm atmosphere — no vignette on the white gallery */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9997;
  background:
    radial-gradient(1100px 760px at 78% -8%, rgba(157,119,34,0.04), transparent 62%),
    radial-gradient(900px 700px at -8% 38%, rgba(157,119,34,0.025), transparent 58%),
    radial-gradient(ellipse at center, transparent 70%, rgba(120,96,44,0.04) 100%);
}

::selection { background: var(--gold); color: var(--ink); }

h1,h2,h3,h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--ivory);
}

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.caption {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}

a { color: inherit; text-decoration: none; }

/* ————— Navigation —————
   Dark-on-white everywhere; the homepage's fullscreen film hero gets a
   light-on-dark treatment until scroll (scoped via body:has(.overture)). */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.15rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ivory);
  background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0));
  transition: background 0.4s var(--ease-cinema), color 0.4s var(--ease-cinema);
}
.nav.solid {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(157,119,34,0.16);
}
.nav-mark {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo {
  display: block;
  height: 48px;
  width: auto;
  /* the gold-gradient lockup deepens to bronze so it holds on white */
  filter: brightness(0.52) sepia(0.32) saturate(1.5) hue-rotate(-10deg);
  transition: opacity 0.4s var(--ease-cinema), filter 0.4s var(--ease-cinema);
}
.nav-mark:hover .nav-logo { opacity: 0.85; }
/* Homepage, before scroll: transparent over the film, light text, gold logo */
body:has(.overture) .nav:not(.solid) {
  color: #f0e9da;
  background: linear-gradient(to bottom, rgba(10,8,6,0.5), rgba(10,8,6,0));
}
body:has(.overture) .nav:not(.solid) .nav-logo { filter: none; }
.nav-links {
  display: flex;
  gap: 2.4rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  padding: 0.4em 0;
  opacity: 0.8;
  transition: opacity 0.4s var(--ease-cinema);
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-cinema);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.7em 1.2em;
  border: 1px solid currentColor;
  border-radius: 2px;
  transition: all 0.4s var(--ease-cinema);
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* Compressed nav tier for smaller desktops — full-size logo + links +
   CTA collided between 861 and 1280px. */
@media (min-width: 861px) and (max-width: 1280px) {
  .nav { padding: 0.95rem 1.4rem; }
  .nav-logo { height: 38px; }
  .nav-links { gap: 1.3rem; font-size: 0.62rem; letter-spacing: 0.13em; }
  .nav-cta { font-size: 0.6rem; letter-spacing: 0.13em; padding: 0.65em 0.9em; }
}

/* ————— Mobile menu (hamburger) ————— */
.nav-burger {
  display: none;
  position: relative;
  width: 30px; height: 22px;
  background: none; border: 0; padding: 0; margin: 0;
  cursor: pointer;
  color: inherit;
  z-index: 1001;
}
.nav-burger span {
  position: absolute; left: 0; right: 0; height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease-cinema), opacity 0.3s var(--ease-cinema);
}
.nav-burger span:nth-child(1) { top: 2px; }
.nav-burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-burger span:nth-child(3) { bottom: 2px; }
.nav-burger.is-open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0;
  z-index: 990;
  background: linear-gradient(180deg, #f2ecdf 0%, var(--ink) 100%);
  display: flex; flex-direction: column; justify-content: safe center;
  padding: clamp(4.5rem, 11vh, 7rem) clamp(1.6rem, 6vw, 3.5rem) 2.5rem;
  opacity: 0; visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-cinema), visibility 0.5s var(--ease-cinema);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(157,119,34,0.05), transparent 60%);
}
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu-inner { position: relative; width: 100%; max-width: 520px; margin: 0 auto; }

.mm-eyebrow {
  display: block;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.4rem;
}
.mm-pages { display: flex; flex-direction: column; margin-bottom: 2rem; }
.mm-pages a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--ink-line);
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.8rem, 7vw, 2.6rem); line-height: 1.1;
  letter-spacing: -0.01em; color: var(--ivory);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s var(--ease-cinema), transform 0.5s var(--ease-cinema), color 0.3s;
}
.mobile-menu.open .mm-pages a { opacity: 1; transform: none; transition-delay: calc(0.1s + var(--mm-i) * 0.06s); }
.mm-pages a.active, .mm-pages a:hover { color: var(--gold); }
.mm-pages .mm-num { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; color: var(--ivory-faint); }

.mm-sections { margin-bottom: 2rem; }
.mm-sections .mm-sec-head {
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--ivory-faint);
  padding-bottom: 0.8rem; margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--ink-line);
}
.mm-sections .mm-sec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.2rem 1.5rem; }
.mm-sections a {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.55rem 0;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ivory-dim);
  cursor: pointer; transition: color 0.3s;
}
.mm-sections a:hover { color: var(--gold); }
.mm-sections a b { color: var(--gold); font-weight: 400; }

.mm-cta {
  display: inline-flex; align-items: center; gap: 0.9em;
  align-self: flex-start;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1.1em 1.6em; margin-top: 0.5rem;
  border: 1px solid var(--gold); color: var(--gold);
  transition: background 0.4s var(--ease-cinema), color 0.4s var(--ease-cinema);
}
.mm-cta:hover { background: var(--gold); color: var(--ink); }
.mm-contact {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.8rem;
  margin-top: 2.2rem; padding-top: 1.6rem;
  border-top: 1px solid var(--ink-line);
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--ivory-dim);
}
.mm-contact a { color: var(--ivory-dim); }
.mm-contact a:hover { color: var(--gold); }

body.menu-open { overflow: hidden; }
body.search-open { overflow: hidden; }

@media (max-width: 860px) {
  .nav {
    padding: 1.1rem 1.3rem;
    background: linear-gradient(to bottom, rgba(255,255,255,0.92), rgba(255,255,255,0));
  }
  .nav.solid { background: rgba(255,255,255,0.9); }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: block; color: currentColor; }
  .nav-logo { height: 34px; }
  body:has(.overture) .nav:not(.solid) {
    background: linear-gradient(to bottom, rgba(10,8,6,0.55), rgba(10,8,6,0));
  }
}
/* Never let the mobile menu interfere with desktop */
@media (min-width: 861px) {
  .mobile-menu { display: none !important; }
  .nav-burger { display: none !important; }
}

/* ————— Page intro curtain ————— */
.curtain {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  transition: opacity 1.2s var(--ease-cinema) 0.3s;
}
.curtain.gone { opacity: 0; }
.curtain-mark {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  opacity: 0;
  animation: curtain-fade 1.8s var(--ease-cinema) forwards;
}
@keyframes curtain-fade {
  0% { opacity: 0; transform: translateY(8px); letter-spacing: 0.6em; }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-4px); letter-spacing: 0.2em; }
}

/* ————— Ambient sound toggle ————— */
.ambient {
  position: fixed;
  bottom: 1.8rem; left: 1.8rem;
  z-index: 1000;
  display: flex; align-items: center; gap: 0.8rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  cursor: pointer;
  padding: 0.7em 1em;
  border: 1px solid rgba(157,119,34,0.35);
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
  transition: all 0.4s var(--ease-cinema);
}
.ambient:hover { color: var(--gold); border-color: var(--gold); }
/* Icon-only below 1500px — the labelled pill collided with hero content
   on laptop screens. */
@media (max-width: 1500px) {
  .ambient { padding: 0.7em 0.8em; gap: 0; }
  .ambient .ambient-label { display: none; }
}
.ambient-bars { display: inline-flex; gap: 2px; align-items: end; height: 12px; }
.ambient-bars span {
  width: 2px; background: currentColor;
  animation: aud 1.2s ease-in-out infinite;
  animation-play-state: paused;
  height: 3px;
}
.ambient-bars span:nth-child(2){ animation-delay: 0.2s; }
.ambient-bars span:nth-child(3){ animation-delay: 0.4s; }
.ambient-bars span:nth-child(4){ animation-delay: 0.6s; }
.ambient.playing .ambient-bars span { animation-play-state: running; }
@keyframes aud {
  0%,100% { height: 3px; }
  50% { height: 11px; }
}

/* ————— Floating actions (WhatsApp + back-to-top) ————— */
.fab-stack {
  position: fixed;
  right: 1.8rem; bottom: 1.8rem;
  z-index: 1000;
  display: flex; flex-direction: column-reverse; align-items: center; gap: 0.8rem;
  transition: opacity 0.4s var(--ease-cinema);
}
.fab {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border: 1px solid;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease-cinema), background 0.4s var(--ease-cinema),
              color 0.4s var(--ease-cinema), border-color 0.4s var(--ease-cinema), opacity 0.4s var(--ease-cinema);
}
.fab svg { width: 24px; height: 24px; display: block; }
.fab:hover { transform: translateY(-3px); }

/* WhatsApp — always visible */
.fab-wa {
  background: rgba(255,255,255,0.85);
  border-color: rgba(157,119,34,0.4);
  color: var(--gold);
}
.fab-wa:hover { background: var(--gold); color: #ffffff; border-color: var(--gold); }

/* Back-to-top — hidden until scrolled */
.fab-top {
  background: rgba(255,255,255,0.85);
  border-color: var(--ink-line);
  color: var(--ivory);
  opacity: 0; visibility: hidden;
  transform: translateY(8px) scale(0.9);
  pointer-events: none;
}
.fab-top.show { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.fab-top:hover { border-color: var(--gold); color: var(--gold); }

/* Keep clear of the open mobile menu */
body.menu-open .fab-stack { opacity: 0; pointer-events: none; }

@media (max-width: 600px) {
  .fab { width: 48px; height: 48px; }
  .fab svg { width: 22px; height: 22px; }
  .fab-stack { right: 1.2rem; bottom: 1.2rem; }
  .ambient { bottom: 1.2rem; left: 1.2rem; }
}

/* ————— Buttons ————— */
.btn {
  display: inline-flex; align-items: center; gap: 0.9em;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1.1em 1.6em;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all 0.5s var(--ease-cinema);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-cinema);
}
.btn:hover::before { transform: translateX(0); }
.btn span { position: relative; z-index: 1; transition: color 0.5s var(--ease-cinema); }
.btn:hover span { color: var(--ink); }
.btn-arrow {
  width: 18px; height: 1px; background: currentColor;
  position: relative;
  transition: width 0.4s var(--ease-cinema);
}
.btn-arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 8px; height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .btn-arrow { width: 28px; }

.btn-ghost {
  border-color: rgba(25,21,16,0.3);
  color: var(--ivory);
}
.btn-ghost:hover { color: var(--ink); }
.btn-ghost::before { background: var(--ivory); }

/* ————— Layout primitives ————— */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 3.5rem);
}

section { position: relative; }

.rule {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--ink-line), transparent);
}

/* Placeholder for imagery that needs real photography */
.placeholder {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      #1a1714 0 6px,
      #15120f 6px 12px
    );
  overflow: hidden;
  color: var(--ivory-faint);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 40% 30%, rgba(212,175,55,0.08), transparent 60%);
}
.placeholder .ph-label {
  position: relative;
  padding: 0.4em 0.9em;
  background: rgba(11,10,8,0.78);
  border: 1px solid rgba(212,175,55,0.15);
  z-index: 1;
}

/* Reveal primitives — opt-in with .reveal class */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.4s var(--ease-cinema), transform 1.4s var(--ease-cinema);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal[data-delay="4"] { transition-delay: 0.48s; }

/* Auto-reveal — applied by JS to every major content block on every page */
.auto-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.auto-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .auto-reveal, .reveal { transition-duration: 0.2s !important; transform: none !important; }
}

/* Text that reveals word by word */
.word-reveal { display: inline-block; overflow: hidden; vertical-align: bottom; }
.word-reveal > span {
  display: inline-block;
  transform: translateY(102%);
  transition: transform 1.1s var(--ease-cinema);
}
.word-reveal.in > span { transform: none; }

/* ————— Footer ————— */
.foot {
  background: #f6f3ec;
  padding: 6rem 0 2rem;
  border-top: 1px solid var(--ink-line);
  position: relative;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
}
.foot h5 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.foot ul a { color: var(--ivory-dim); font-size: 0.92rem; transition: color 0.3s; }
.foot ul a:hover { color: var(--gold); }
.foot-mark {
  margin-bottom: 1rem;
}
.foot-logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: 100%;
  filter: brightness(0.52) sepia(0.32) saturate(1.5) hue-rotate(-10deg);
}
.foot-mark .tag { font-size: 0.7rem; font-family: var(--mono); letter-spacing: 0.3em; color: var(--ivory-faint); display: block; margin-top: 0.7rem; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--ink-line);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}
/* Footer socials */
.foot-social { display: flex; gap: 0.7rem; margin-top: 1.6rem; }
.foot-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--ink-line); color: var(--ivory-dim);
  transition: color 0.4s var(--ease-cinema), border-color 0.4s var(--ease-cinema), transform 0.4s var(--ease-cinema);
}
.foot-social a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.foot-social svg { width: 16px; height: 16px; display: block; }

/* Footer newsletter sign-up */
.foot-news { margin-top: 2.2rem; max-width: 340px; }
.foot-news-eyebrow {
  display: block; font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold);
}
.foot-news-note { color: var(--ivory-dim); font-size: 0.82rem; line-height: 1.5; margin: 0.6rem 0 0.9rem; }
.foot-news-row {
  display: flex; align-items: center; gap: 0.5rem;
  border-bottom: 1px solid var(--ink-line);
  transition: border-color 0.4s var(--ease-cinema);
}
.foot-news-row:focus-within { border-color: var(--gold); }
.foot-news-row input {
  flex: 1; min-width: 0; background: none; border: 0; outline: none;
  font-family: var(--sans); font-size: 0.92rem; color: var(--ivory);
  padding: 0.55rem 0.1rem;
}
.foot-news-row input::placeholder { color: var(--ivory-faint); }
.foot-news-row button {
  flex: none; background: none; border: 0; cursor: pointer; color: var(--gold);
  padding: 0.3rem 0.2rem; display: flex; align-items: center;
  transition: color 0.3s var(--ease-cinema), transform 0.3s var(--ease-cinema);
}
.foot-news-row button:hover { color: var(--gold-warm); transform: translateX(2px); }
.foot-news-row button:disabled { opacity: 0.5; cursor: default; transform: none; }
.foot-news-row button svg { width: 18px; height: 12px; display: block; }
.foot-news-msg { font-size: 0.78rem; line-height: 1.4; margin: 0.6rem 0 0; min-height: 1.1em; color: var(--ivory-dim); }
.foot-news-msg.ok { color: var(--gold); }
.foot-news-msg.err { color: #b4453a; }

/* Footer contact meta */
.foot ul .muted { color: var(--ivory-faint); }
.foot-legal a { color: var(--ivory-faint); transition: color 0.3s; }
.foot-legal a:hover { color: var(--gold); }
@media (max-width: 860px) { .foot-legal { order: 3; } }

/* Footer studio hours */
.foot-hours { margin-top: 2rem; }
.foot-hours ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.foot-hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.45rem 0; border-bottom: 1px solid var(--ink-line);
  font-size: 0.84rem; color: var(--ivory-dim);
}
.foot-hours li .d { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--gold); white-space: nowrap; }
.foot-hours li .d.closed { color: var(--ivory-faint); }

@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .foot-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* ————— Custom Cursor ————— */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9996;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 5px; height: 5px;
  background: var(--gold-warm);
  transition: width 0.3s var(--ease-cinema), height 0.3s var(--ease-cinema), opacity 0.3s;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(240,215,140,0.7);
  transition: width 0.4s var(--ease-cinema), height 0.4s var(--ease-cinema),
              border-color 0.4s, background 0.4s, opacity 0.3s;
}
.cursor-ring.hover { width: 64px; height: 64px; border-color: var(--gold); background: rgba(212,175,55,0.04); }
.cursor-ring.drag { width: 80px; height: 80px; border-color: var(--gold-warm); }
.cursor-ring.text { width: 18px; height: 18px; border-radius: 1px; }
.cursor-label {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9996;
  transform: translate(20px, 20px);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-warm);
  background: rgba(11,10,8,0.9);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 0.45em 0.7em;
  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
}
.cursor-label.show { opacity: 1; }
@media (hover: none) { .cursor-dot, .cursor-ring, .cursor-label { display: none; } }
body.cursor-active * { cursor: none !important; }

/* ————— Page-transition curtain v3 (cinematic atelier opener) —————
   Sequence (≈ 2.4s on initial load, ≈ 1.0s on internal nav):
   0.00 → vertical hairline draws down the centre
   0.40 → "HAC" letters drop in, monospace meta + horizontal rule extend outward
   1.10 → gold flare across seam
   1.30 → top half lifts up, bottom half drops down (opens the page)
*/
.page-curtain {
  position: fixed; inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
}
.page-curtain.in { pointer-events: auto; }
/* Internal navigation skips the wordmark intro entirely */
.page-curtain.skip { display: none !important; }

/* Two slabs that open like a horizontal cinema iris */
.page-curtain .pc-half {
  position: absolute; left: 0; right: 0;
  height: 50%;
  background:
    radial-gradient(120% 200% at 50% 100%, #f4f0e7 0%, var(--ink, #ffffff) 60%) ;
  transition: transform 1.05s cubic-bezier(.7,.0,.2,1);
}
.page-curtain .pc-top { top: 0; transform: translateY(0); }
.page-curtain .pc-bot { bottom: 0; transform: translateY(0);
  background: radial-gradient(120% 200% at 50% 0%, #f4f0e7 0%, var(--ink, #ffffff) 60%);
}
.page-curtain.out .pc-top { transform: translateY(-101%); }
.page-curtain.out .pc-bot { transform: translateY(101%); }

/* Vertical gold hairline drawn from top, the spine of the opener */
.page-curtain .pc-thread {
  position: absolute; left: 50%; top: 0;
  width: 1px; height: 100%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(140,104,30,0.0) 5%,
    rgba(140,104,30,0.5) 50%,
    rgba(140,104,30,0.0) 95%,
    transparent 100%);
  transform: translateX(-50%) scaleY(0);
  transform-origin: 50% 0%;
  opacity: 0;
  transition: transform 0.55s cubic-bezier(.7,.0,.2,1), opacity 0.3s ease;
}
.page-curtain.in .pc-thread { transform: translateX(-50%) scaleY(1); opacity: 1; transition-delay: 0.05s; }
.page-curtain.out .pc-thread { opacity: 0; transition-delay: 0s; }

/* Gold flare that flashes along the seam right before opening */
.page-curtain .pc-flare {
  position: absolute; left: 0; right: 0; top: 50%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(140,104,30,0.0) 10%,
    rgba(157,119,34,0.9) 50%,
    rgba(140,104,30,0.0) 90%,
    transparent 100%);
  transform: translateY(-50%) scaleX(0);
  opacity: 0;
  filter: blur(0.4px);
  box-shadow: 0 0 24px rgba(157,119,34,0.35), 0 0 60px rgba(157,119,34,0.15);
  transition: transform 0.5s cubic-bezier(.7,.0,.2,1), opacity 0.4s ease;
}
.page-curtain.in .pc-flare {
  transform: translateY(-50%) scaleX(1);
  opacity: 1;
  transition-delay: 1.0s, 1.0s;
}
.page-curtain.out .pc-flare {
  opacity: 0;
  transition-delay: 0.3s;
}

/* Centre stage — wordmark + meta */
.page-curtain .pc-stage {
  position: absolute; inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.1rem;
  z-index: 2;
  text-align: center;
  color: var(--ivory, #ece6d8);
}
.page-curtain.in .pc-stage { transition: opacity 0.5s ease 0s; }
.page-curtain.out .pc-stage { opacity: 0; transition: opacity 0.35s ease 0s; }

/* Top meta line: "Hair Aesthetics Club ········ est. mmxix" */
.page-curtain .pc-meta-top {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(56,46,30,0.6);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.page-curtain .pc-meta-top .dotline {
  width: 0; height: 1px;
  background: rgba(140,104,30,0.55);
  transition: width 0.6s cubic-bezier(.7,.0,.2,1);
}
.page-curtain.in .pc-meta-top { opacity: 1; transform: translateY(0); transition-delay: 0.55s; }
.page-curtain.in .pc-meta-top .dotline { width: 80px; transition-delay: 0.7s; }

/* Big wordmark — the brand lockup */
.page-curtain .pc-mark {
  display: flex;
  justify-content: center;
}
.page-curtain .pc-logo {
  display: block;
  width: min(640px, 84vw);
  height: auto;
  filter: brightness(0.52) sepia(0.32) saturate(1.5) hue-rotate(-10deg);
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  filter: blur(7px);
  transition: opacity 0.9s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1), filter 0.9s cubic-bezier(.2,.8,.2,1);
}
.page-curtain.in .pc-logo {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
  transition-delay: 0.45s;
}

/* Subtle horizontal rule under wordmark */
.page-curtain .pc-rule {
  width: 220px; height: 1px;
  background: rgba(56,46,30,0.14);
  position: relative;
  overflow: hidden;
}
.page-curtain .pc-rule span {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(140,104,30,0.85), transparent);
  transform: translateX(-100%);
  transition: transform 0.9s cubic-bezier(.7,.0,.2,1);
}
.page-curtain.in .pc-rule span { transform: translateX(100%); transition-delay: 0.85s; }

/* Italic subtitle */
.page-curtain .pc-sub {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  letter-spacing: 0.02em;
  color: rgba(56,46,30,0.78);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.page-curtain.in .pc-sub { opacity: 1; transform: translateY(0); transition-delay: 0.95s; }

/* Bottom meta — three columns of mono detail */
.page-curtain .pc-meta-bot {
  display: flex; align-items: center; gap: 2.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(56,46,30,0.55);
  margin-top: 1.2rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.page-curtain .pc-meta-bot .pc-time { color: rgba(140,104,30,0.95); }
.page-curtain.in .pc-meta-bot { opacity: 1; transform: translateY(0); transition-delay: 1.05s; }

@media (max-width: 640px) {
  .page-curtain .pc-meta-bot { gap: 1.2rem; font-size: 0.52rem; letter-spacing: 0.2em; }
  .page-curtain .pc-meta-top { font-size: 0.55rem; letter-spacing: 0.24em; }
}

@media (prefers-reduced-motion: reduce) {
  .page-curtain .pc-half,
  .page-curtain .pc-thread,
  .page-curtain .pc-flare,
  .page-curtain .pc-stage,
  .page-curtain .pc-logo,
  .page-curtain .pc-meta-top,
  .page-curtain .pc-meta-top .dotline,
  .page-curtain .pc-rule span,
  .page-curtain .pc-sub,
  .page-curtain .pc-meta-bot { transition-duration: 0.2s !important; transition-delay: 0s !important; }
}

/* legacy classes kept for any direct uses */
.page-curtain .panel { display: none; }
.page-curtain .seal {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0.96);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  letter-spacing: 0.45em;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.6s var(--ease-cinema), transform 0.9s var(--ease-cinema);
  z-index: 1;
}
.page-curtain.in .seal { opacity: 1; transform: translate(-50%,-50%) scale(1); transition-delay: 0.4s; }
.page-curtain.out .seal { opacity: 0; transition-delay: 0s; }

/* ————— Chapter rail (left gutter scroll-progress) ————— */
.chapter-rail {
  position: fixed;
  left: 1.6rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex; flex-direction: column; gap: 0.9rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  pointer-events: none;
  color: #8a8070;                /* bronze-grey dashes — visible on white and on the film */
}
.chapter-rail .ch {
  display: flex; align-items: center; gap: 0.7rem;
  opacity: 0.55;
  transition: opacity 0.5s var(--ease-cinema);
  pointer-events: auto;
  cursor: pointer;
}
.chapter-rail .ch:hover { opacity: 1; }
.chapter-rail .ch.on { opacity: 1; color: var(--gold); }
.chapter-rail .ch::before {
  content: "";
  width: 14px; height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease-cinema);
}
.chapter-rail .ch.on::before { width: 30px; }
/* Labels are hover-only — permanent text overlapped page content on
   smaller desktops; the dashes alone act as the progress indicator.
   The label is a solid chip so it reads clearly over ANY background
   (white canvas, ivory bands, or the dark film hero). */
.chapter-rail .label {
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.3s var(--ease-cinema), transform 0.3s var(--ease-cinema);
  white-space: nowrap;
  background: rgba(255,255,255,0.96);
  color: var(--ivory);
  border: 1px solid var(--ink-line);
  border-radius: 2px;
  padding: 0.5em 0.85em;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  box-shadow: 0 2px 4px rgba(70,52,20,0.06), 0 10px 26px -10px rgba(70,52,20,0.22);
}
.chapter-rail .ch:hover .label { opacity: 1; transform: none; }
.chapter-rail .ch.on .label { color: var(--gold); }
@media (max-width: 1280px) { .chapter-rail { display: none; } }

/* ————— Floating ambient particles ————— */
.dust {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 5;
}
.dust span {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: rgba(157,119,34,0.28);
  box-shadow: 0 0 4px rgba(157,119,34,0.15);
  animation: drift linear infinite;
}
@keyframes drift {
  0%   { transform: translate3d(0,0,0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.5; }
  100% { transform: translate3d(40px, -100vh, 0); opacity: 0; }
}

/* ————— Magnetic hover wrapper ————— */
.magnet { display: inline-block; transition: transform 0.6s var(--ease-cinema); }

/* ————— Marquee rhythm ————— */
.marquee {
  overflow: hidden;
  display: flex;
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  padding: 1.6rem 0;
  white-space: nowrap;
  position: relative;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  animation: marquee 60s linear infinite;
  padding-right: 3rem;
}
.marquee-track span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  color: var(--ivory-dim);
  letter-spacing: -0.01em;
}
.marquee-track span em { color: var(--gold); font-style: normal; font-family: var(--mono); font-size: 0.6em; letter-spacing: 0.2em; vertical-align: middle; padding: 0 0.5em; }
.marquee-track .star {
  color: var(--gold);
  font-style: normal;
  font-size: 1em;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Utility */
.mono { font-family: var(--mono); }
.serif { font-family: var(--serif); }
.italic { font-style: italic; }
.gold { color: var(--gold); }
.dim { color: var(--ivory-dim); }
.faint { color: var(--ivory-faint); }

/* ————— Journal article (shared by all blog posts) ————— */
.art-hero { padding: clamp(7rem, 15vh, 10rem) 0 clamp(2rem, 5vw, 3.5rem); }
.art-banner { margin: 0; overflow: hidden; max-height: 480px; border-bottom: 1px solid var(--ink-line); border-top: 1px solid var(--ink-line); }
.art-banner img { width: 100%; display: block; height: 480px; object-fit: cover; object-position: center 30%; }
.art-hero .meta { display: flex; gap: 1.5rem; flex-wrap: wrap; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-dim); margin-bottom: 2rem; }
.art-hero .meta .cat { color: var(--gold); }
.art-hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.025em; max-width: 20ch; }
.art-hero h1 em { font-style: italic; color: var(--gold); }
.art-hero .standfirst { color: var(--ivory-dim); max-width: 54ch; font-size: 1.1rem; line-height: 1.6; margin-top: 1.8rem; }
.art-body { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.art-body .container { max-width: 760px; }
.art-body h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3.5vw, 2.4rem); line-height: 1.1; letter-spacing: -0.015em; margin: 2.8rem 0 1rem; }
.art-body h2 em { font-style: italic; color: var(--gold); }
.art-body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin: 1.8rem 0 0.6rem; color: var(--ivory); }
.art-body p { color: var(--ivory-dim); font-size: 1.02rem; line-height: 1.78; margin-bottom: 1.2rem; }
.art-body p b, .art-body strong { color: var(--ivory); font-weight: 500; }
.art-body em { color: var(--gold); font-style: italic; }
.art-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.art-body ul, .art-body ol { margin: 0 0 1.4rem; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.art-body li { color: var(--ivory-dim); font-size: 1rem; line-height: 1.6; padding-left: 1.6em; position: relative; }
.art-body ul li::before { content: "—"; color: var(--gold); position: absolute; left: 0; }
.art-body ol { counter-reset: ol; }
.art-body ol li { counter-increment: ol; }
.art-body ol li::before { content: counter(ol); font-family: var(--mono); font-size: 0.72rem; color: var(--gold); position: absolute; left: 0; top: 0.25em; }
.art-pull { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.3; color: var(--ivory); border-left: 2px solid var(--gold); padding: 0.4rem 0 0.4rem 1.8rem; margin: 2.4rem 0; }
.art-key { border: 1px solid var(--ink-line); background: var(--ink-2); padding: 2rem; margin: 2.6rem 0; }
.art-key h4 { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.art-key ul { margin: 0; }
.art-cta { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--ink-line); }
.art-cta h3 { font-family: var(--serif); font-weight: 300; font-size: 1.9rem; margin-bottom: 0.8rem; color: var(--ivory); }
.art-cta h3 em { font-style: italic; color: var(--gold); }
.art-cta p { margin-bottom: 1.5rem; }
.art-related { background: #f6f3ec; padding: clamp(4rem, 8vw, 6rem) 0; border-top: 1px solid var(--ink-line); }
.art-related .rel-head { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 2rem; }
.art-related .rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.art-related .rel { display: block; border: 1px solid var(--ink-line); padding: 1.8rem; background: var(--ink-2); transition: transform 0.6s var(--ease-cinema), border-color 0.5s; }
.art-related .rel:hover { transform: translateY(-4px); border-color: rgba(212,175,55,0.4); }
.art-related .rel .rc-cat { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.art-related .rel .rc-t { display: block; font-family: var(--serif); font-weight: 300; font-size: 1.25rem; line-height: 1.15; margin-top: 0.6rem; color: var(--ivory); }
@media (max-width: 760px) { .art-related .rel-grid { grid-template-columns: 1fr; } }

/* ————— Legal / prose pages ————— */
.legal { padding: clamp(7rem, 15vh, 10rem) 0 clamp(5rem, 10vw, 7rem); }
.legal .container { max-width: 800px; }
.legal .eyebrow { display: block; margin-bottom: 1.5rem; }
.legal h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1; letter-spacing: -0.025em; margin-bottom: 1rem; }
.legal h1 em { font-style: italic; color: var(--gold); }
.legal .updated { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-faint); margin-bottom: 3rem; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 2.6rem 0 0.8rem; color: var(--ivory); }
.legal p { color: var(--ivory-dim); line-height: 1.75; margin-bottom: 1rem; font-size: 1rem; }
.legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal ul { list-style: none; margin: 0 0 1.2rem; display: grid; gap: 0.5rem; padding: 0; }
.legal li { color: var(--ivory-dim); padding-left: 1.5em; position: relative; line-height: 1.6; }
.legal li::before { content: "—"; color: var(--gold); position: absolute; left: 0; }
.legal .addr { color: var(--ivory-faint); margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--ink-line); font-size: 0.92rem; line-height: 1.7; }
.legal .addr strong { color: var(--ivory-dim); }

/* ————— Result / status pages (payment, booking) ————— */
.result { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: clamp(7rem, 16vh, 10rem) 0 5rem; text-align: center; }
.result .container { max-width: 640px; }
.result .seal { width: 84px; height: 84px; margin: 0 auto 2rem; border: 1px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 2rem; background: rgba(212,175,55,0.05); }
.result .eyebrow { display: block; margin-bottom: 1.4rem; }
.result h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -0.025em; margin-bottom: 1.4rem; }
.result h1 em { font-style: italic; color: var(--gold); }
.result .lede { color: var(--ivory-dim); max-width: 50ch; margin: 0 auto 2.5rem; font-size: 1.05rem; line-height: 1.65; }
.result-card { border: 1px solid var(--ink-line); background: var(--ink-2); padding: 2rem 2.2rem; text-align: left; max-width: 540px; margin: 0 auto 2.5rem; }
.result-card h3 { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--ink-line); }
.result-card ol, .result-card ul { list-style: none; padding: 0; margin: 0; }
.result-card li { display: grid; grid-template-columns: 28px 1fr; gap: 0.8rem; padding: 0.7rem 0; font-size: 0.94rem; color: var(--ivory-dim); border-bottom: 1px solid var(--ink-line); line-height: 1.5; }
.result-card li:last-child { border-bottom: none; }
.result-card li em { font-family: var(--serif); font-style: italic; color: var(--gold); }
.result-card li strong { color: var(--ivory); font-weight: 500; }
.result-contact { font-size: 0.9rem; color: var(--ivory-dim); margin-bottom: 2rem; }
.result-contact a { color: var(--gold); }
.result-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
@media (max-width: 500px) { .result-actions { flex-direction: column; align-items: stretch; } }

/* ————— White-gallery card lift —————
   Cards read as objects on the gallery wall: hairline border via tokens,
   warm soft shadow here (no page style sets box-shadow, so this applies
   everywhere without specificity fights). */
.hsys-card, .price-card, .testimonial, .post, .loc-card, .proc-step,
.faq-item, .trio-card, .art-key, .art-related .rel, .j-card, .studio-card {
  box-shadow: 0 1px 2px rgba(70,52,20,0.05), 0 16px 44px -22px rgba(70,52,20,0.16);
}
.price-card:hover, .hsys-card:hover, .post:hover, .trio-card:hover,
.art-related .rel:hover, .j-card:hover {
  box-shadow: 0 2px 4px rgba(70,52,20,0.06), 0 26px 60px -24px rgba(70,52,20,0.24);
}

/* ────────────────────────────────────────────────────────────
   Search — nav trigger + full-screen overlay
──────────────────────────────────────────────────────────── */
.nav-search {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  padding: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: color 0.3s var(--ease-cinema);
}
.nav-search svg { width: 1.1rem; height: 1.1rem; display: block; }
.nav-search:hover { color: var(--gold); }
/* On mobile, keep the magnifier a small icon and tuck it against the burger.
   Without margin-left:auto the nav's space-between strands it in the middle. */
@media (max-width: 860px) {
  .nav-search { margin-left: auto; margin-right: 0.35rem; padding: 0.4rem; }
  .nav-search svg { width: 1.2rem; height: 1.2rem; }
}

.hac-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;            /* above the nav, FABs and ambient controls */
  background: rgba(237, 233, 224, 0.8);   /* frosted warm-white scrim */
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(4.5rem, 12vh, 9rem) 1.5rem 2rem;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-cinema);
}
.hac-search-overlay.is-open { opacity: 1; pointer-events: all; }
.hac-search-inner {
  width: 100%; max-width: 640px;
  max-height: min(76vh, 600px);
  display: flex; flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--ink-line);
  border-radius: 6px;
  box-shadow: 0 32px 70px -24px rgba(25, 21, 16, 0.38), 0 4px 14px rgba(25, 21, 16, 0.06);
  overflow: hidden;
}

.hac-search-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-bottom: 1px solid var(--ink-line);
  padding: 1.05rem 1.25rem;
}
.hac-si { flex: none; width: 1.1rem; height: 1.1rem; color: var(--gold); }
#hacSearchInput {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--ivory);
  letter-spacing: -0.01em;
}
#hacSearchInput::placeholder { color: var(--ivory-faint); }
#hacSearchInput::-webkit-search-cancel-button,
#hacSearchInput::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
#hacSearchClose {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ivory-faint);
  padding: 0.2rem;
  display: flex;
  transition: color 0.25s;
}
#hacSearchClose svg { width: 1rem; height: 1rem; }
#hacSearchClose:hover { color: var(--ivory); }

/* Context label above the list ("Suggested" / "N results") */
.hac-search-context {
  flex: none;
  font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--ivory-faint);
  padding: 0.85rem 1.25rem 0.4rem;
}
.hac-search-context:empty { display: none; }

.hac-search-results { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; }
.hsr-item {
  display: block; position: relative;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--ink-line);
  text-decoration: none;
  transition: background 0.2s var(--ease-cinema);
}
.hsr-item:last-child { border-bottom: 0; }
.hsr-item:hover { background: rgba(157, 119, 34, 0.06); }
.hsr-item.is-active { background: rgba(157, 119, 34, 0.1); }
.hsr-item.is-active::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--gold);
}
.hsr-meta {
  display: block;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.hsr-title {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--ivory);
  line-height: 1.2;
}
.hsr-item.is-active .hsr-title { color: var(--gold-warm); }
.hsr-desc {
  display: block; margin-top: 0.28rem;
  font-family: var(--sans); font-weight: 300; font-size: 0.82rem;
  line-height: 1.35; color: var(--ivory-dim);
}
.hsr-item mark {
  background: rgba(157, 119, 34, 0.2); color: var(--gold-warm);
  padding: 0 0.06em; border-radius: 2px;
}
.hsr-empty {
  padding: 2rem 1.25rem;
  color: var(--ivory-dim);
  font-style: italic;
  margin: 0;
}

.hac-search-foot {
  flex: none;
  margin: 0;
  padding: 0.7rem 1.25rem;
  border-top: 1px solid var(--ink-line);
  background: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.57rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-faint);
  text-align: center;
}
.hac-search-foot kbd {
  background: #ffffff;
  border: 1px solid var(--ink-line);
  border-radius: 3px;
  padding: 0.1em 0.38em;
  font-family: var(--mono);
  font-size: 0.85em;
  color: var(--ivory-dim);
}
