@import url("fonts.css");

/* ============================================================
   Салон РОЈАЛ МАСАЖА, Струмица
   Theme: locked dark. The brand mark is gold on black and has
   no light variant, so the page commits to one mode.
   Radius rule: buttons + chips = pill, cards/media = 14px.
   Accent: gold, and only gold.
   ============================================================ */

:root {
  color-scheme: dark;

  --ink:        #0d0d0f;
  --ink-2:      #131316;
  --ink-3:      #1a1a1e;
  --line:       rgba(255, 255, 255, .09);
  --line-2:     rgba(255, 255, 255, .16);
  /* structural hairlines can be faint, interactive controls cannot.
     .16 white reads as invisible on a phone screen in daylight. */
  --ctl-line:   rgba(255, 255, 255, .45);

  --gold:       #d4af5f;
  --gold-soft:  #ecd49b;
  --gold-deep:  #8f6f28;

  --fg:         #f3f1ed;
  --fg-2:       #b9b4ac;
  --fg-3:       #8b867f;

  --font-display: "Onest", system-ui, sans-serif;
  --font-body:    "Golos Text", system-ui, sans-serif;

  --r-card: 14px;
  --r-sm: 10px;

  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --sec: clamp(4.5rem, 9vw, 7.5rem);
  --wrap: 1240px;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* height:auto is required, otherwise the width/height attributes act as
   presentational hints and images render at full intrinsic height. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

/* Phosphor's sprite paths carry no fill attribute of their own, and SVG's
   INITIAL fill is black — not currentColor. Without this rule every icon on
   the site paints black on a near-black ground: the gold tick marks, the tile
   icons, the contact icons, and most visibly the burger, which read as an
   empty gold ring with nothing in it. Every "color:" on an icon elsewhere in
   this file depends on this one line. */
svg { fill: currentColor; }

/* <picture> generates no box of its own. Without this it becomes the flex or
   grid item in place of the <img>, and every ".parent img { width: 100% }"
   rule in this file silently stops applying. */
picture { display: contents; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* the header is sticky, so anchor targets must clear it */
[id] { scroll-margin-top: 92px; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: #17130a; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip:focus { left: 0; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600; font-size: .975rem; letter-spacing: -.01em;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease), transform .15s var(--ease);
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:active { transform: translateY(1px); }

/* gold fill + very dark label: 11.4:1 */
.btn--gold { background: var(--gold); color: #16120a; }
.btn--gold:hover { background: var(--gold-soft); }

.btn--ghost { border-color: var(--ctl-line); color: var(--fg); background: rgba(255,255,255,.06); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); background: rgba(212,175,95,.1); }

/* Facebook is a real conversion path here, so it gets brand colour rather
   than sitting in the same faint grey as everything else. */
.btn--fb { border-color: rgba(212,175,95,.55); color: var(--gold-soft); background: rgba(212,175,95,.1); }
.btn--fb:hover { border-color: var(--gold); background: rgba(212,175,95,.2); color: var(--gold-soft); }

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

.hdr {
  position: sticky; top: 0; z-index: 50;
  height: 72px;
  display: flex; align-items: center;
  background: rgba(13, 13, 15, .78);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
@media (prefers-reduced-transparency: reduce) {
  .hdr { background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.hdr__in { display: flex; align-items: center; gap: 1.5rem; width: 100%; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.brand b {
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
  letter-spacing: .06em; color: var(--gold-soft); text-transform: uppercase;
}
.brand span { display: block; font-size: .68rem; letter-spacing: .22em; color: var(--fg-3); text-transform: uppercase; font-weight: 500; }

/* Build credit in the header. Deliberately quieter than everything around
   it — muted label, 16px mark, hairline separator — so it reads as a
   signature rather than a second brand competing with the salon's own.
   Hidden below 900px, where the bar already carries the call button and
   the burger; the footer credit covers small screens. */
.hdr__credit { display: none; }
@media (min-width: 900px) {
  .brand { margin-right: 0; }
  .hdr__credit {
    display: inline-flex; align-items: center; gap: .5rem;
    margin-right: auto;
    padding-inline-start: 1.25rem;
    border-inline-start: 1px solid var(--line);
    color: var(--fg-3); text-decoration: none;
    font-size: .72rem; letter-spacing: .05em; white-space: nowrap;
    transition: color .2s var(--ease);
  }
  .hdr__credit img { display: block; height: 16px; width: auto; opacity: .8; transition: opacity .2s var(--ease); }
  .hdr__credit:hover { color: var(--fg-2); }
  .hdr__credit:hover img { opacity: 1; }
}

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a {
  font-size: .93rem; font-weight: 500; color: var(--fg-2);
  text-decoration: none; transition: color .2s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-soft); }
/* .nav a out-specifies .btn--gold, which would leave grey text on gold */
.nav a.btn--gold, .nav a.btn--gold:hover { color: #16120a; }

/* A labelled pill, not a bare icon circle. An icon-only burger on a site
   whose audience skews older is easy to miss, so the word carries the meaning
   and the icon just supports it. */
.burger {
  display: none; flex: none; gap: .5rem;
  background: rgba(212,175,95,.12); border: 1px solid var(--gold);
  border-radius: 999px; height: 44px; padding-inline: 1rem;
  color: var(--gold-soft);
  align-items: center; justify-content: center; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.burger[aria-expanded="true"] { background: var(--gold); color: #16120a; }
.burger svg { width: 22px; height: 22px; flex: none; }
@media (max-width: 380px) { .burger__label { display: none; } .burger { padding-inline: .8rem; } }

@media (max-width: 900px) {
  .hdr__in > .btn { display: none; }
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: .5rem var(--pad) 1.5rem;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease);
  }
  .nav[data-open="true"] { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 1.1rem; justify-content: center; }
}
@media (min-width: 901px) { .nav .btn { display: none; } }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 0;
}

/* The crown, as a small solid eyebrow above the headline.
   It used to be a large watermark behind the copy at opacity .16. That
   never worked: logo-mark.png takes its alpha from luminance (mean alpha
   31/255), so .16 of an already near-transparent glow composited to about
   1.3:1 against the ground — invisible as a shape, yet still muddying the
   only place it did register, directly under the h1 and the buttons.
   crown-gold.png is a hard-alpha gold silhouette cut from the logo plate
   and is shown at full opacity, clear of the type. */
.hero__crest {
  display: block;
  /* .hero__copy is a flex column, so without this the crest stretches to the
     full column width and the crown renders as a wide filigree band. */
  align-self: flex-start;
  height: clamp(38px, 4.5vw, 52px);
  width: auto;
  margin-bottom: clamp(1.15rem, 2.4vw, 1.6rem);
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
.hero__grid > * { min-width: 0; }

.hero h1 {
  font-size: clamp(2.25rem, 5.6vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero__sub {
  color: var(--fg-2); font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  max-width: 46ch; margin-bottom: 2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

/* The photo is a plane, not a card: no radius, no border, no shadow, so it
   reads as part of the page's architecture instead of floating on it. */
.hero__shot {
  position: relative; margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--ink-2);
}
/* Absolute, not in flow. In flow the img resolves height:100% against an
   auto-height figure, falls back to its intrinsic 1050x1400 ratio and then
   DRIVES the grid row: at 1920 the bleed made the column ~950px wide, which
   forced a 1264px-tall hero. Out of flow, the row height comes from the copy
   column and min-height instead, and the photo simply fills whatever it is. */
.hero__shot img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* the top third of the frame is bare wall, so bias the crop downward
     onto the practitioner and the patient */
  object-position: 50% 52%;
}
.hero__shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(13, 13, 15, .55), transparent 42%);
}

@media (max-width: 899px) {
  /* On a phone the photo is not a panel below the copy — it IS the hero's
     ground, and the type sits on it. The portrait source finally matches a
     portrait viewport here, so it fills without upscaling. Desktop keeps the
     split-bleed layout untouched. */
  .hero {
    padding: 0;
    min-height: 88vh;
    min-height: min(88svh, 780px);
    display: flex;
    align-items: flex-end;
  }

  /* Static on purpose: .hero__grid is position:relative at every other
     breakpoint, and while it stays positioned the photo's inset:0 resolves
     against the COPY's box instead of the hero — which paints the photo over
     the headline and leaves the top of the section empty. */
  .hero__grid {
    position: static;
    z-index: auto;
    width: 100%;
    gap: 0;
    /* the sticky call bar is 78px tall and floats over this section, so the
       last button needs to clear it rather than sit under it */
    padding-block: 0 calc(78px + clamp(1rem, 4vw, 1.75rem));
  }

  .hero__shot {
    position: absolute; inset: 0; z-index: 0;
    margin: 0; aspect-ratio: auto;
  }
  .hero__shot img { object-position: 50% 42%; }

  /* the copy has to re-enter the stacking order above the photo */
  .hero__copy { position: relative; z-index: 1; }

  /* Legibility scrim shaped to the photo: near-solid where the type lands,
     clearing through the middle so the hands stay visible, darker again at
     the very top so the sticky header keeps its contrast. */
  .hero__shot::after {
    background: linear-gradient(
      to top,
      rgba(13, 13, 15, .97) 0%,
      rgba(13, 13, 15, .93) 26%,
      rgba(13, 13, 15, .68) 44%,
      rgba(13, 13, 15, .32) 66%,
      rgba(13, 13, 15, .30) 82%,
      rgba(13, 13, 15, .55) 100%
    );
  }

  /* The crown is dropped here: the same mark already sits in the sticky
     header just above it, and over a photograph it competed with the hands
     for the same attention. */
  .hero__crest { display: none; }

  /* the ghost button needs a real ground once it sits on skin tones */
  .hero .btn--ghost {
    background: rgba(13, 13, 15, .55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}

@media (min-width: 900px) {
  .hero { padding: 0; }
  .hero__grid {
    grid-template-columns: 1.02fr .98fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: stretch;
    min-height: min(86vh, 780px);
  }
  .hero__copy {
    display: flex; flex-direction: column; justify-content: center;
    padding-block: clamp(3.5rem, 7vw, 6rem);
  }
  /* Run the photo off the right edge of the viewport. The offset is the
     distance from the .wrap content box to that edge: half the leftover
     viewport width plus the gutter. max() holds it at just the gutter once
     the viewport is narrower than --wrap, and .hero's overflow:hidden
     absorbs the scrollbar rounding that makes 100vw slightly overshoot. */
  .hero__shot {
    aspect-ratio: auto;
    margin-inline-end: calc(-1 * (max(0px, (100vw - var(--wrap)) / 2) + var(--pad)));
  }
  /* hairline so the plane does not fuse with the tinted section below */
  .hero__shot::before {
    content: ""; position: absolute; z-index: 1;
    inset-block: 0; inset-inline-start: 0;
    width: 1px; background: var(--line);
  }
}

/* ---------- section shell ---------- */

.sec { padding-block: var(--sec); }
.sec--tint { background: var(--ink-2); border-block: 1px solid var(--line); }

.sec__head { max-width: 60ch; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.sec__head h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); margin-bottom: .85rem; }
.sec__head p { color: var(--fg-2); max-width: 58ch; }

.sec__headrow {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 1.25rem; margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}
.sec__headrow h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: var(--gold); text-decoration: none;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow:hover { border-color: var(--gold); gap: .8rem; }
.link-arrow svg { width: 1.05em; height: 1.05em; }

/* ---------- conditions: horizontal scroll-snap chips ---------- */

.chips {
  display: flex; gap: .7rem; overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: .25rem var(--pad) 1.25rem;
  margin-inline: calc(var(--pad) * -1);
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.chips::-webkit-scrollbar { height: 6px; }
.chips::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }
.chips li {
  scroll-snap-align: start; list-style: none; flex: none;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-family: var(--font-display); font-weight: 500; font-size: .96rem;
  color: var(--fg); background: rgba(255, 255, 255, .025);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
/* padding lives on the anchor, not the li, so the whole pill is the tap
   target rather than just the words inside it */
.chips li a { display: block; padding: .7rem 1.35rem; color: inherit; text-decoration: none; }
.chips li:hover { border-color: var(--gold); color: var(--gold-soft); }

/* ---------- about ---------- */

.about {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 900px) { .about { grid-template-columns: .85fr 1.15fr; } }

.portrait { position: relative; max-width: 420px; margin-inline: auto; width: 100%; }
.portrait img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 50%; border: 1px solid var(--line-2);
}
.portrait::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px solid var(--gold-deep); opacity: .55;
}

.about h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); margin-bottom: .5rem; }
.about__role { color: var(--gold); font-family: var(--font-display); font-weight: 500; margin-bottom: 1.5rem; }
.about p + p { margin-top: 1rem; }
.about p { color: var(--fg-2); max-width: 58ch; }

.ticks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .85rem; }
.ticks li { display: flex; gap: .75rem; align-items: flex-start; color: var(--fg); font-size: .98rem; }
.ticks svg { width: 20px; height: 20px; flex: none; color: var(--gold); margin-top: .18rem; }

/* ---------- services bento (5 cells) ---------- */

.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(200px, auto); }
  .bento > :nth-child(1) { grid-column: span 3; grid-row: span 2; }
  .bento > :nth-child(2) { grid-column: span 3; }
  .bento > :nth-child(3) { grid-column: span 3; }
  .bento > :nth-child(4) { grid-column: span 2; }
  .bento > :nth-child(5) { grid-column: span 4; }
}

.tile {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--ink-3);
  padding: 1.6rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 200px;
  transition: border-color .3s var(--ease);
}
.tile:hover { border-color: var(--line-2); }
.tile h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.tile p { color: var(--fg-2); font-size: .95rem; max-width: 42ch; }
.tile svg.tile__ico { width: 26px; height: 26px; color: var(--gold); margin-bottom: auto; }

.tile--photo { min-height: 300px; }
.tile--photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  transition: transform .7s var(--ease);
}
.tile--photo:hover img { transform: scale(1.04); }
.tile--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(10,10,12,.94) 12%, rgba(10,10,12,.55) 52%, rgba(10,10,12,.2));
}
.tile--photo > *:not(img) { position: relative; z-index: 2; }

.tile--gold {
  background:
    radial-gradient(120% 130% at 12% 100%, rgba(212,175,95,.28), transparent 62%),
    linear-gradient(150deg, #241d0f, #14120d 70%);
  border-color: rgba(212,175,95,.3);
}
.tile--gold h3 { color: var(--gold-soft); }

@media (prefers-reduced-motion: reduce) {
  .tile--photo:hover img { transform: none; }
}

/* ---------- education: 2-up documents ---------- */

.docs { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: 1fr; }
@media (min-width: 800px) { .docs { grid-template-columns: repeat(2, 1fr); } }

.doc { margin: 0; }
/* The two graphics have different native ratios. A shared frame with
   object-fit: contain keeps the pair aligned instead of ragged. */
.doc img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: contain;
  border-radius: var(--r-card);
  border: 1px solid var(--line-2); background: #fff;
  padding: .5rem;
}
.doc figcaption {
  margin-top: 1rem;
  font-family: var(--font-display); font-weight: 500;
  color: var(--fg); font-size: 1.02rem;
}
.doc figcaption span { display: block; font-family: var(--font-body); font-weight: 400; color: var(--fg-3); font-size: .92rem; margin-top: .25rem; }

/* ---------- gallery grids ---------- */

.gal {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
/* two up already on a phone: 12 photos in one column is a long scroll */
@media (min-width: 520px) { .gal { grid-template-columns: repeat(2, 1fr); gap: .75rem; } }
@media (min-width: 1000px) { .gal { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }

/* landing preview gets an offset rhythm so it is not a flat 3-up */
@media (min-width: 1000px) {
  .gal--offset > :nth-child(1) { grid-row: span 2; }
  .gal--offset > :nth-child(2) { margin-top: 2.5rem; }
  .gal--offset > :nth-child(3) { align-self: start; }
}

.shot {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-card); border: 1px solid var(--line);
  background: var(--ink-2); padding: 0; cursor: zoom-in;
  aspect-ratio: 3 / 4; width: 100%;
  transition: border-color .3s var(--ease);
}
.gal--offset > :nth-child(1) .shot,
.gal--offset > .shot:nth-child(1) { aspect-ratio: 3 / 5; }
.shot img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease), opacity .4s var(--ease);
}
.shot:hover { border-color: var(--gold-deep); }
.shot:hover img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .shot:hover img { transform: none; } }

/* the full gallery is 2 up even on the narrowest phone: 12 photos in a
   single column is an unreasonable scroll. The landing preview keeps
   one big column, where impact matters more than density. */
.gal--all { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 1000px) { .gal--all { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }

.gal--all .shot { aspect-ratio: 3 / 4; }

/* Posters and diagrams must never be cropped, so they sit inside the
   same frame with contain instead of cover. */
.gal--docs .shot { background: #fff; }
.gal--docs .shot img { object-fit: contain; padding: .5rem; }
.gal--docs .shot:hover img { transform: none; }

.gal-note {
  margin-top: 2.5rem; padding: 1.25rem 1.5rem;
  border: 1px dashed var(--line-2); border-radius: var(--r-card);
  color: var(--fg-3); font-size: .93rem;
}

/* ---------- lightbox ---------- */

/* the dialog UA sheet sets fit-content sizing, a canvas background and a
   border, all of which have to be unset for a full-bleed lightbox */
.lb {
  position: fixed; inset: 0; z-index: 90;
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0; border: 0;
  background: rgba(8, 8, 9, .95);
  color: var(--fg);
  display: none; align-items: center; justify-content: center;
  padding: clamp(3.75rem, 8vw, 5rem) clamp(1rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem);
  overflow: hidden;
}
.lb[open] { display: flex; }
.lb::backdrop { background: rgba(8, 8, 9, .95); }
.lb img {
  max-width: 100%; max-height: 84vh; object-fit: contain;
  border-radius: var(--r-card);
}
.lb__bar {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: clamp(1rem, 3vw, 1.75rem);
}
.lb__btn {
  width: 46px; height: 46px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.05);
  color: var(--fg); display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color .25s var(--ease), color .25s var(--ease);
}
.lb__btn:hover { border-color: var(--gold); color: var(--gold-soft); }
.lb__btn svg { width: 20px; height: 20px; }
.lb__nav { display: flex; gap: .6rem; }
.lb__count { font-family: var(--font-display); color: var(--fg-3); font-size: .9rem; }

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

.contact { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; }
@media (min-width: 920px) { .contact { grid-template-columns: .8fr 1.2fr; } }

.info { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; }
.info li { display: grid; grid-template-columns: 22px 1fr; gap: 1rem; align-items: start; }
.info svg { width: 22px; height: 22px; color: var(--gold); margin-top: .2rem; }
.info dt, .info b {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: .3rem;
}
.info a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line-2); transition: color .2s var(--ease), border-color .2s var(--ease); }
.info a:hover { color: var(--gold-soft); border-color: var(--gold); }
.info__big { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.01em; }
.hours { display: grid; gap: .3rem; color: var(--fg-2); font-size: .97rem; }
.hours span b { display: inline; font-size: inherit; letter-spacing: 0; text-transform: none; color: var(--fg); margin: 0; }

.map {
  border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--line); background: var(--ink-2);
  min-height: 380px; height: 100%;
}
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.85); }

.contact__cta { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- page header (gallery) ---------- */

.phead { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); }
.phead h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.phead p { color: var(--fg-2); max-width: 56ch; }
/* .phead's bottom padding and .sec's top padding were stacking into ~168px of
   dead space between the page intro and the first real content. */
.phead + .sec { padding-top: 0; }

/* ---------- conditions page ---------- */

/* Jump links. Same pill language as .chips, but these are real anchors, so
   they wrap instead of scrolling sideways — a hidden horizontal scroller is
   fine for decorative labels, not for the page's own navigation. */
.jump {
  display: flex; flex-wrap: wrap; gap: .6rem;
  list-style: none; margin: 0 0 clamp(2.5rem, 5vw, 3.5rem); padding: 0;
}
.jump a {
  display: inline-block; text-decoration: none;
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: .6rem 1.15rem;
  font-family: var(--font-display); font-weight: 500; font-size: .93rem;
  color: var(--fg); background: rgba(255, 255, 255, .025);
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.jump a:hover { border-color: var(--gold); color: var(--gold-soft); background: rgba(212, 175, 95, .08); }

/* On a phone the nine full-length labels stacked into six rows and pushed the
   first condition card below the fold. Tighten horizontally, not vertically —
   min-height keeps each one a real thumb target. */
@media (max-width: 719px) {
  .jump { gap: .45rem; margin-bottom: clamp(1.75rem, 5vw, 2.5rem); }
  .jump a {
    display: inline-flex; align-items: center; min-height: 44px;
    padding: .3rem .8rem; font-size: .86rem;
  }
}

.conds { display: grid; gap: clamp(1rem, 2vw, 1.35rem); grid-template-columns: 1fr; }
@media (min-width: 800px) { .conds { grid-template-columns: repeat(2, 1fr); } }

.cond {
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: clamp(1.5rem, 3vw, 2rem);
  display: flex; flex-direction: column; gap: 1rem;
}
.cond__top { display: flex; align-items: center; gap: .75rem; }
.cond__no {
  flex: none; font-family: var(--font-display); font-weight: 600;
  font-size: .74rem; letter-spacing: .08em; color: var(--gold);
  border: 1px solid rgba(212, 175, 95, .35); border-radius: 999px;
  padding: .22rem .6rem;
}
.cond h2 { font-size: clamp(1.18rem, 2.2vw, 1.4rem); margin: 0; }
.cond__lead { color: var(--fg); font-size: 1.02rem; line-height: 1.6; }
.cond dl { margin: 0; display: grid; gap: .95rem; }
.cond dt {
  font-family: var(--font-display); font-weight: 600; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  margin-bottom: .3rem;
}
.cond dd { margin: 0; color: var(--fg-2); font-size: .97rem; line-height: 1.65; }

/* Red-flag panel. Deliberately NOT gold: gold is this site's "good" accent
   everywhere else, so reusing it here would flatten the one message on the
   page that has to read differently from all the others. */
.alert {
  border: 1px solid rgba(226, 138, 128, .38); border-radius: var(--r-card);
  background: rgba(226, 138, 128, .07);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex; gap: 1rem; align-items: flex-start;
}
.alert svg { width: 26px; height: 26px; flex: none; color: #e8a49b; margin-top: .1rem; }
.alert h2 { font-size: 1.18rem; margin-bottom: .6rem; }
.alert p { color: var(--fg-2); font-size: .97rem; line-height: 1.65; }
.alert__end { margin-top: .85rem; }
.alert ul { margin: .85rem 0 0; padding-left: 1.15rem; color: var(--fg-2); font-size: .97rem; line-height: 1.7; }
.alert li::marker { color: #e8a49b; }

.cta-band {
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--ink-2); padding: clamp(2rem, 4vw, 3rem);
  display: grid; gap: 1.1rem; justify-items: center; text-align: center;
}
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-band p { color: var(--fg-2); max-width: 52ch; }
.cta-band .hero__cta { justify-content: center; }

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

.ftr { border-top: 1px solid var(--line); background: var(--ink-2); padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.ftr__grid {
  display: grid; gap: 2.5rem; grid-template-columns: 1fr;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.ftr h3 {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 1.1rem; font-weight: 600;
}
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.ftr a { color: var(--fg-2); text-decoration: none; transition: color .2s var(--ease); }
.ftr a:hover { color: var(--gold-soft); }
/* .ftr a would otherwise win over the button variant and grey the label */
.ftr a.btn--fb, .ftr a.btn--fb:hover { color: var(--gold-soft); }
.ftr__brand img { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 1rem; }
.ftr__brand p { color: var(--fg-3); font-size: .93rem; max-width: 34ch; }
.ftr__base {
  padding-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; color: var(--fg-3); font-size: .87rem;
}
/* a labelled pill, not an icon-only circle. Phosphor's facebook mark is
   itself a circle, so nesting it in a ring read as an empty ring. */
.socials { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.socials .btn { padding: .6rem 1.15rem; font-size: .92rem; }
.socials svg { width: 20px; height: 20px; }

/* Footer build credit: mark plus wordmark, so the name is readable rather
   than an unexplained symbol. Needs .ftr in the selector to out-specify
   ".ftr a:hover", which would otherwise repaint it gold on hover. */
.ftr .credit {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--fg-3); text-decoration: none;
  transition: color .2s var(--ease);
}
.ftr .credit img { display: block; width: auto; opacity: .82; transition: opacity .2s var(--ease); }
.ftr .credit__mark { height: 22px; }
.ftr .credit__word { height: 13px; }
.ftr .credit:hover { color: var(--fg-2); }
.ftr .credit:hover img { opacity: 1; }

/* ---------- mobile tap targets ----------

   Measured at 390px: footer list links were 20px tall, the contact links
   21-29px, the build credit 23px. Padding is what fixes that, not font-size —
   scaling the type up would break the typographic scale to solve a touch
   problem. Applied only on touch-sized viewports so the desktop footer keeps
   its tighter rhythm. */

@media (max-width: 900px) {
  .ftr ul { gap: 0; }
  .ftr ul a,
  .info a,
  .link-arrow,
  .ftr .credit {
    display: inline-flex; align-items: center;
    min-height: 44px;
  }
  /* the address wraps to two lines, so it needs the box to grow, not centre */
  .info a { align-items: flex-start; padding-block: .6rem; }
  .info__big { padding-block: .2rem; }
}

/* ---------- sticky mobile call bar ---------- */

.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; padding: .7rem var(--pad) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(13,13,15,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.callbar .btn { width: 100%; justify-content: center; }
@media (max-width: 900px) {
  .callbar { display: block; }
  body { padding-bottom: 78px; }
}

/* ---------- scroll reveal ---------- */

/* The hidden state is scoped to .js so the page stays fully readable
   if the script never runs. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); }
  .js .reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--d, 0ms);
  }
}
