/* PhiBrows by Iva Chelibashka — Plovdiv — Dark editorial system. No frameworks, no build step. */

/* Fonts (self-hosted, subset by unicode-range) */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-cyrillic.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-cyrillic.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens */

:root {
  /* dark warm neutrals + one muted gold */
  --bg: #0f0e0d;
  --bg-2: #141312;
  --bg-3: #1a1817;
  --bg-4: #201d1b;
  --line: rgba(242, 237, 230, 0.11);
  --line-strong: rgba(242, 237, 230, 0.22);
  --text: #f2ede6;
  --text-soft: rgba(242, 237, 230, 0.64);
  /* 0.55 is the lowest alpha that still clears WCAG AA (4.5:1) on --bg */
  --text-faint: rgba(242, 237, 230, 0.55);
  --gold: #c6a66b;
  --gold-bright: #d8bc86;
  --gold-dim: rgba(198, 166, 107, 0.32);
  --gold-glow: rgba(198, 166, 107, 0.14);

  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;

  --fs-name: clamp(3.2rem, 1.1rem + 8.6vw, 7.5rem);
  --fs-h2: clamp(1.9rem, 1.25rem + 2.6vw, 3.25rem);
  --fs-h3: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  --fs-h4: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.75rem;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-24: 96px;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 9vw, 128px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

/* Reset */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
picture,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0 0 var(--sp-6);
  text-wrap: balance;
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-h4);
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  margin-bottom: var(--sp-3);
}

p {
  margin: 0 0 var(--sp-6);
  max-width: 68ch;
}

ul,
ol {
  margin: 0 0 var(--sp-6);
  padding-left: 1.15em;
}

li {
  margin-bottom: var(--sp-2);
}

a {
  color: inherit;
  text-decoration-color: var(--gold-dim);
  text-underline-offset: 0.28em;
  text-decoration-thickness: 1px;
  transition: color 0.25s var(--ease), text-decoration-color 0.25s var(--ease);
}

a:hover {
  color: var(--gold-bright);
  text-decoration-color: var(--gold);
}

::selection {
  background: var(--gold);
  color: #14110e;
}

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

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  z-index: 200;
  background: var(--gold);
  color: #14110e;
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: var(--sp-4);
  color: #14110e;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Layout */

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

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tight {
  padding-block: clamp(48px, 6vw, 80px);
}

.section--deep {
  background: var(--bg-2);
}

.section--ink {
  background: var(--bg-3);
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-8);
}

@media (min-width: 700px) {
  .grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold);
  flex: none;
  transform-origin: left;
  animation: rule-in 0.6s var(--ease) both;
}

@keyframes rule-in {
  from {
    transform: scaleX(0);
  }
}

.lead {
  font-size: var(--fs-lead);
  color: var(--text-soft);
  line-height: 1.62;
}

.muted {
  color: var(--text-soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--sp-12);
}

/* Buttons */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 15px var(--sp-8);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--gold);
  color: #14110e;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.btn:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: #14110e;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -12px var(--gold);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  background: transparent;
  color: var(--gold-bright);
  border-color: var(--gold);
  box-shadow: 0 10px 30px -18px var(--gold);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

/* Scroll progress */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  z-index: 120;
  pointer-events: none;
}

/* Header / navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 14, 13, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(15, 14, 13, 0.94);
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  min-height: var(--header-h);
  padding-block: var(--sp-3);
  transition: min-height 0.35s var(--ease);
}

.site-header.is-scrolled .site-header__inner {
  min-height: 62px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex: none;
}

.brand img {
  width: 36px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}

.brand:hover img {
  transform: rotate(-6deg) scale(1.06);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.brand__role {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(var(--sp-4), 2vw, var(--sp-8));
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list li {
  margin: 0;
}

.nav__link {
  display: inline-block;
  text-align: center;
  font-size: 0.8125rem;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding-block: var(--sp-2);
  position: relative;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover,
.nav__link.is-active,
.nav__link[aria-current='page'] {
  color: var(--text);
}

.nav__link:hover::after,
.nav__link.is-active::after,
.nav__link[aria-current='page']::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.lang-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  padding: 7px 10px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.lang-toggle button:hover {
  color: var(--text);
}

.lang-toggle button[aria-pressed='true'] {
  background: var(--gold);
  color: #14110e;
}

.header__cta {
  display: none;
  white-space: nowrap;
}

.nav-toggle {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--text);
  grid-column: 1;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-5px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(5px);
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 96px var(--gutter) var(--sp-16);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s;
}

.mobile-nav[data-open='true'] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-nav ul {
  list-style: none;
  margin: 0 0 var(--sp-12);
  padding: 0;
}

.mobile-nav li {
  border-bottom: 1px solid var(--line);
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
}

.mobile-nav[data-open='true'] li {
  animation: nav-in 0.45s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 45ms + 60ms);
}

@keyframes nav-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.mobile-nav a {
  display: block;
  padding: var(--sp-4) 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  text-decoration: none;
}

.mobile-nav__meta {
  font-size: var(--fs-small);
  color: var(--text-soft);
}

.mobile-nav__meta a {
  font-family: var(--font-body);
  font-size: var(--fs-small);
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  padding-block: clamp(40px, 6vw, 64px) clamp(56px, 8vw, 96px);
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-12);
  align-items: center;
  width: 100%;
}

.hero__title {
  font-size: var(--fs-name);
  line-height: 0.88;
  letter-spacing: -0.03em;
  margin: 0 0 var(--sp-8);
  display: flex;
  flex-direction: column;
}

.hero__given,
.hero__family {
  display: block;
  opacity: 0;
  animation: name-in 0.9s var(--ease) forwards;
}

.hero__given {
  animation-delay: 0.05s;
}

.hero__family {
  color: var(--gold);
  font-style: italic;
  animation-delay: 0.18s;
}

@keyframes name-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__kicker {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(0.8125rem, 0.72rem + 0.4vw, 0.9375rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--text-soft);
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
  max-width: 30ch;
}

.hero__quote {
  margin: var(--sp-8) 0 0;
  padding-left: var(--sp-6);
  border-left: 1px solid var(--gold);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--text);
  max-width: 34ch;
}

.hero__brand {
  margin: var(--sp-3) 0 0;
  padding-left: var(--sp-6);
  font-family: var(--font-display);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-8);
  font-size: var(--fs-small);
  color: var(--text-soft);
  text-decoration: none;
}

.hero__rating strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
}

.hero__rating:hover {
  color: var(--text);
}

.hero__media {
  position: relative;
  justify-self: center;
  width: min(100%, 460px);
}

.hero__portrait {
  width: 100%;
  border-radius: var(--radius);
  will-change: transform;
}

/* the photo's own backdrop is graded into the page; this scrim finishes the
   blend at the left and bottom edges at any viewport size */
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(15, 14, 13, 0) 26%),
    linear-gradient(0deg, var(--bg) 0%, rgba(15, 14, 13, 0) 18%);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: var(--sp-6);
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-decoration: none;
  display: none;
  align-items: center;
  gap: var(--sp-2);
}

.hero__scroll::after {
  content: '';
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--gold), transparent);
  animation: scroll-hint 2.2s var(--ease) infinite;
}

@keyframes scroll-hint {
  0%,
  100% {
    transform: scaleY(0.4);
    transform-origin: top;
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
}

/* Credential marquee */

.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: var(--sp-4);
  background: var(--bg-2);
}

.marquee__track {
  display: flex;
  gap: var(--sp-12);
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
}

.marquee__item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Trust strip */

.trust {
  padding-block: var(--sp-16);
  background: var(--bg);
}

.trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--sp-8);
}

.trust__list li {
  margin: 0;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
  transition: border-color 0.35s var(--ease);
}

.trust__list li:hover {
  border-top-color: var(--gold);
}

.trust__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
}

.trust__note {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: var(--sp-2);
}

/* Split section */

.split {
  align-items: center;
  gap: clamp(var(--sp-8), 5vw, var(--sp-24));
}

.split__media,
.split__copy {
  grid-column: 1 / -1;
}

/* columns start at the same line instead of being centred against each other */
.split--top {
  align-items: start;
}

/* the offset gold frame is for photographs, not for the bordered map card */
.split__media:has(.map-card)::after {
  content: none;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius);
}

.split__media::after {
  content: '';
  position: absolute;
  inset: auto -14px -14px auto;
  width: 56%;
  height: 56%;
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  z-index: -1;
}

/* About */

.about__creds {
  margin-top: calc(var(--sp-4) * -1);
  margin-bottom: var(--sp-8);
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.about__closing {
  margin-top: var(--sp-8);
  padding-left: var(--sp-6);
  border-left: 1px solid var(--gold);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--text);
}

/* Service cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-4);
}

/* nine services read best as three even rows, not 4 + 4 + 1 */
@media (min-width: 1000px) {
  .cards--services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-8);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease),
    background 0.35s var(--ease);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 0%),
    var(--gold-glow),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
  background: var(--bg-4);
}

.card:hover::before {
  opacity: 1;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.15;
  margin: 0 0 var(--sp-3);
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  font-size: var(--fs-small);
  color: var(--text-faint);
  margin-bottom: var(--sp-4);
}

.card__price {
  color: var(--gold);
  font-weight: 600;
}

.card p {
  font-size: var(--fs-small);
  color: var(--text-soft);
  margin-bottom: var(--sp-6);
}

.card__link {
  position: relative;
  margin-top: auto;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--gold);
  align-self: flex-start;
  padding-bottom: 3px;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.card__link::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.card__link::after {
  content: '→';
  transition: transform 0.35s var(--ease);
}

.card:hover .card__link::before {
  transform: scaleX(1);
}

.card:hover .card__link::after {
  transform: translateX(4px);
}

/* Service detail in a dialog — only once the script has taken over */

.has-service-modal .service-details {
  display: none;
}

.has-service-modal .card {
  cursor: pointer;
}

.service-modal {
  width: min(900px, calc(100vw - 2 * var(--gutter)));
  max-height: min(86vh, 940px);
  margin: auto;
  padding: 0;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-modal::backdrop {
  background: rgba(8, 7, 6, 0.74);
  backdrop-filter: blur(3px);
}

.service-modal__inner {
  max-height: inherit;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(var(--sp-8), 4vw, var(--sp-16));
}

.service-modal__close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--text-soft);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.service-modal__close:hover,
.service-modal__close:focus-visible {
  color: var(--gold);
  border-color: var(--gold-dim);
}

/* the section keeps its own markup, only the page-level chrome is undone */
.service-modal .service {
  padding-block: 0;
  border-top: 0;
  scroll-margin-top: 0;
}

.service-modal .container {
  width: auto;
  max-width: none;
  padding-inline: 0;
}

.service-modal .service__aside {
  position: static;
}

/* Service detail */

.service {
  padding-block: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.service__grid {
  gap: clamp(var(--sp-6), 4vw, var(--sp-16));
}

.service__aside,
.service__body {
  grid-column: 1 / -1;
}

.service__facts {
  list-style: none;
  margin: 0 0 var(--sp-6);
  padding: 0;
  border-top: 1px solid var(--line);
}

.service__facts li {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
  font-size: var(--fs-small);
  transition: color 0.25s var(--ease);
}

.service__facts .label {
  color: var(--text-faint);
}

.service__facts .value {
  font-weight: 600;
  text-align: right;
  color: var(--text);
}

.note {
  background: var(--bg-3);
  border-left: 2px solid var(--gold);
  padding: var(--sp-6);
  font-size: var(--fs-small);
  color: var(--text-soft);
  border-radius: var(--radius);
}

.note p:last-child {
  margin-bottom: 0;
}

/* Process steps */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--sp-8);
  counter-reset: step;
}

.steps li {
  margin: 0;
  counter-increment: step;
  border-top: 1px solid var(--line);
  padding-top: var(--sp-6);
  transition: border-color 0.35s var(--ease);
}

.steps li:hover {
  border-top-color: var(--gold);
}

.steps li::before {
  content: '0' counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}

.steps h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  margin-bottom: var(--sp-2);
}

.steps p {
  font-size: var(--fs-small);
  color: var(--text-soft);
  margin: 0;
}

/* FAQ accordion */

.faq {
  max-width: 860px;
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item:first-child {
  border-top: 1px solid var(--line);
}

.faq__q {
  appearance: none;
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  color: var(--text);
  padding: var(--sp-6) var(--sp-8) var(--sp-6) 0;
  cursor: pointer;
  position: relative;
  line-height: 1.25;
  transition: color 0.25s var(--ease);
}

.faq__q:hover {
  color: var(--gold-bright);
}

.faq__q::after,
.faq__q::before {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  width: 13px;
  height: 1px;
  background: var(--gold);
  transition: transform 0.35s var(--ease);
}

.faq__q::before {
  transform: rotate(90deg);
}

.faq__q[aria-expanded='true']::before {
  transform: rotate(0deg);
}

/* animated open/close without measuring heights */
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.faq__a[data-open='true'] {
  grid-template-rows: 1fr;
}

.faq__a > div {
  overflow: hidden;
}

.faq__a p {
  color: var(--text-soft);
  font-size: var(--fs-small);
  margin: 0 0 var(--sp-4);
}

.faq__a[data-open='true'] > div > p:last-child {
  margin-bottom: var(--sp-6);
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-4);
}

.gallery-item {
  appearance: none;
  border: 1px solid var(--line);
  padding: 0;
  margin: 0;
  background: var(--bg-2);
  cursor: zoom-in;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: block;
  transition: border-color 0.35s var(--ease);
}

.gallery-item::after {
  content: '＋';
  position: absolute;
  right: var(--sp-4);
  bottom: var(--sp-3);
  color: var(--gold);
  font-size: 1.25rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.gallery-item:hover {
  border-color: var(--gold-dim);
}

.gallery-item:hover::after {
  opacity: 1;
  transform: none;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease), opacity 0.35s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.04);
  opacity: 0.85;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(8, 7, 6, 0.96);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
}

.lightbox[data-open='true'] {
  display: flex;
  animation: fade-in 0.3s var(--ease);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

.lightbox__figure {
  margin: 0;
  max-width: min(920px, 100%);
  text-align: center;
}

.lightbox__figure img {
  max-height: 78vh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius);
}

.lightbox__caption {
  color: var(--text-soft);
  font-size: var(--fs-small);
  margin-top: var(--sp-4);
}

.lightbox button {
  position: absolute;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.lightbox button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #14110e;
}

.lightbox__close {
  top: clamp(16px, 3vw, 32px);
  right: clamp(16px, 3vw, 32px);
}

.lightbox__prev {
  left: clamp(8px, 2vw, 32px);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: clamp(8px, 2vw, 32px);
  top: 50%;
  transform: translateY(-50%);
}

/* Map */

.map {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.55) brightness(0.95);
}

.map__facade {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: var(--sp-3);
  text-align: center;
  padding: var(--sp-8);
  background: var(--bg-3);
  border: 0;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  width: 100%;
  transition: background 0.3s var(--ease);
}

.map__facade:hover {
  background: var(--bg-4);
}

.map__facade strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--gold);
}

.map__facade span {
  font-size: var(--fs-small);
  color: var(--text-soft);
}

/* Map card — facade on top, address and Google Maps links underneath */

.map-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
}

.map-card .map {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
}

/* faint gold grid, so the unloaded map still reads as a map */
.map-card .map__facade {
  background-color: var(--bg-3);
  background-image: radial-gradient(circle at 50% 42%, var(--gold-glow), transparent 62%),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 100% 100%, 44px 44px, 44px 44px;
  background-position: center, center, center;
}

.map-card .map__facade:hover,
.map-card .map__facade:focus-visible {
  background-color: var(--bg-4);
}

.map__pin {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--sp-2);
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(198, 166, 107, 0.08);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.map__facade:hover .map__pin,
.map__facade:focus-visible .map__pin {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.map-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-6);
}

.map-card__where {
  display: grid;
  gap: var(--sp-1);
  min-width: 12ch;
}

.map-card__where strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text);
}

.map-card__where span {
  font-size: var(--fs-small);
  color: var(--text-soft);
}

.map-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.btn--small {
  padding: 10px var(--sp-4);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
}

/* narrow columns: the two map links become full-width rows */
@media (max-width: 560px) {
  .map-card__links {
    width: 100%;
  }

  .map-card__links .btn {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .map__pin {
    transition: none;
  }
}

/* Contact / forms */

.form {
  display: grid;
  gap: var(--sp-6);
  max-width: 560px;
}

.field {
  display: grid;
  gap: var(--sp-2);
}

.field label {
  font-size: var(--fs-small);
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  font-family: inherit;
  font-size: var(--fs-body);
  color: var(--text);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px var(--sp-4);
  width: 100%;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.field input:hover,
.field textarea:hover,
.field select:hover,
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold-dim);
  background: var(--bg-4);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-faint);
}

.field textarea {
  min-height: 148px;
  resize: vertical;
}

.field small {
  font-size: 0.8125rem;
  color: var(--text-faint);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: grid;
  gap: var(--sp-1);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
  position: relative;
}

.contact-list .label {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.contact-list a,
.contact-list p {
  margin: 0;
  font-size: var(--fs-lead);
  font-family: var(--font-display);
  text-decoration: none;
}

.copy-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-faint);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.copy-btn:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
}

.copy-btn.is-done {
  color: var(--gold);
  border-color: var(--gold);
}

.hours {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--fs-small);
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

/* CTA band */

.cta {
  text-align: center;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: -40% 30% auto;
  height: 340px;
  background: radial-gradient(ellipse at center, var(--gold-glow), transparent 65%);
  pointer-events: none;
}

.cta p {
  margin-inline: auto;
}

.cta .btn-row {
  justify-content: center;
}

.cta .eyebrow {
  justify-content: center;
}

/* Back to top + mobile action bar */

.to-top {
  position: fixed;
  right: var(--sp-6);
  bottom: calc(var(--sp-6) + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(15, 14, 13, 0.86);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s, background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #14110e;
}

.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(15, 14, 13, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}

.action-bar.is-visible {
  transform: none;
}

.action-bar a {
  padding: 14px var(--sp-2);
  text-align: center;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-soft);
  border-right: 1px solid var(--line);
}

.action-bar a:last-child {
  border-right: 0;
  background: var(--gold);
  color: #14110e;
  font-weight: 600;
}

@media (min-width: 1000px) {
  .action-bar {
    display: none;
  }
}

/* Footer */

.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  padding-block: var(--sp-16) var(--sp-8);
  font-size: var(--fs-small);
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-bright);
}

.footer__grid {
  gap: var(--sp-12) var(--sp-8);
}

.footer__col {
  grid-column: 1 / -1;
}

.footer__brand img {
  width: 50px;
  height: 56px;
  object-fit: contain;
  margin-bottom: var(--sp-4);
}

.footer__col h2 {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-4);
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__col li {
  margin-bottom: var(--sp-2);
}

.footer__col address {
  font-style: normal;
  line-height: 1.85;
}

.footer__bottom {
  margin-top: var(--sp-16);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-8);
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-faint);
}

/* Prose */

.prose {
  max-width: 72ch;
}

.prose h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
  margin-top: var(--sp-16);
}

.prose h3 {
  font-size: 1.25rem;
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
  color: var(--gold);
}

/* Breadcrumbs */

.breadcrumbs {
  font-size: 0.8125rem;
  color: var(--text-faint);
  padding-top: var(--sp-8);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin: 0;
  padding: 0;
}

.breadcrumbs li {
  margin: 0;
}

.breadcrumbs li + li::before {
  content: '/';
  margin-right: var(--sp-2);
  color: var(--line-strong);
}

.breadcrumbs a {
  text-decoration: none;
}

/* Page heading (subpages) */

.page-title {
  font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

/* 404 */

.error-page {
  min-height: 62vh;
  display: grid;
  place-content: center;
  text-align: center;
}

.error-page .btn-row {
  justify-content: center;
}

.error-page .lead {
  max-width: 56ch;
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Language visibility */

[data-lang-only='en'] {
  display: none;
}

html[lang='en'] [data-lang-only='en'] {
  display: revert;
}

html[lang='en'] [data-lang-only='bg'] {
  display: none;
}

/* Breakpoints */

@media (min-width: 700px) {
  .footer__col {
    grid-column: span 6;
  }
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(var(--sp-8), 4vw, var(--sp-16));
  }

  .hero__media {
    width: 100%;
    justify-self: end;
    margin-right: calc(var(--gutter) * -1);
  }

  .hero__scroll {
    display: flex;
  }

  .split__media {
    grid-column: 1 / span 5;
  }

  .split__copy {
    grid-column: 7 / -1;
  }

  /* the copy comes first in the markup, so both columns are pinned to row 1
     to keep the media on the left of it rather than under it */
  .split--top .split__media,
  .split--top .split__copy {
    grid-row: 1;
  }

  /* the details column is much taller, so the map follows the scroll */
  .split--top .split__media {
    position: sticky;
    top: calc(var(--header-h) + var(--sp-6));
    align-self: start;
  }

  .split--reverse .split__media {
    grid-column: 8 / -1;
    order: 2;
  }

  .split--reverse .split__copy {
    grid-column: 1 / span 6;
    order: 1;
  }

  .service__aside {
    grid-column: 1 / span 4;
    position: sticky;
    top: 104px;
    align-self: start;
  }

  .service__body {
    grid-column: 6 / -1;
  }

  .footer__col {
    grid-column: span 3;
  }
}

@media (min-width: 1000px) {
  .nav {
    display: block;
  }

  .header__cta {
    display: inline-flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none;
  }
}

/* past the container's max width, let the portrait bleed to the viewport edge */
@media (min-width: 1296px) {
  .hero__media {
    margin-right: calc(((100vw - var(--container)) / -2) - var(--gutter));
  }
}

/* Print */

@media print {
  .site-header,
  .mobile-nav,
  .lightbox,
  .btn-row,
  .action-bar,
  .to-top,
  .progress {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* Reduced motion */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__given,
  .hero__family,
  .mobile-nav li {
    opacity: 1;
    transform: none;
  }

  .marquee__track {
    animation: none;
    transform: none;
  }

  .gallery-item:hover img,
  .btn:hover,
  .card:hover {
    transform: none;
  }
}
