/* ============================================================
   ZEVOX — Custom Design System
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --navy:          #0A192F;
  --beige:         #F5F5DC;
  --charcoal:      #121212;
  --gold:          #C9A84C;
  --gold-dim:      rgba(201, 168, 76, 0.12);
  --gold-border:   rgba(201, 168, 76, 0.25);

  /* Semantic — dark mode default */
  --bg:            var(--charcoal);
  --bg-2:          #1C1C1C;
  --surface:       rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --text-primary:  #E8E4DA;
  --text-dim:      rgba(232, 228, 218, 0.55);
  --border:        rgba(201, 168, 76, 0.18);
  --border-subtle: rgba(255, 255, 255, 0.07);

  --nav-bg:        rgba(18, 18, 18, 0.85);
  --nav-border:    rgba(201, 168, 76, 0.12);

  --shadow-card:   0 20px 60px rgba(0, 0, 0, 0.5),
                   0 0 0 1px var(--gold-border);
  --shadow-hover:  0 30px 80px rgba(0, 0, 0, 0.65),
                   0 0 0 1px rgba(201, 168, 76, 0.45),
                   0 0 40px rgba(201, 168, 76, 0.08);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.76, 0, 0.24, 1);

  font-family: 'Syne', sans-serif;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg:            #F8F7F4;
  --bg-2:          #EDECEA;
  --surface:       rgba(10, 25, 47, 0.05);
  --surface-hover: rgba(10, 25, 47, 0.09);
  --text-primary:  var(--navy);
  --text-dim:      rgba(10, 25, 47, 0.55);
  --border:        rgba(10, 25, 47, 0.15);
  --border-subtle: rgba(10, 25, 47, 0.08);

  --nav-bg:        rgba(248, 247, 244, 0.92);
  --nav-border:    rgba(10, 25, 47, 0.10);

  --shadow-card:   0 20px 60px rgba(10, 25, 47, 0.12),
                   0 0 0 1px rgba(10, 25, 47, 0.10);
  --shadow-hover:  0 30px 80px rgba(10, 25, 47, 0.20),
                   0 0 0 1px rgba(10, 25, 47, 0.20);

  color-scheme: light;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ─────────────────────────────────────────────── */
.font-display { font-family: 'Playfair Display', serif; }

.heading-xl {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.heading-lg {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.heading-md {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
}

.label-tag {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Preloader ──────────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: transform 0.9s var(--ease-in-out), opacity 0.4s ease;
}

.preloader.is-done {
  transform: translateY(-100%);
  pointer-events: none;
}

.preloader__logo-wrap {
  overflow: hidden;
  line-height: 1;
}

.preloader__logo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700;
  color: var(--beige);
  display: block;
  transform: translateY(110%);
  animation: revealSlide 1s var(--ease-out-expo) 0.2s forwards;
}

.preloader__logo span {
  color: var(--gold);
}

.preloader__bar-track {
  width: min(280px, 60vw);
  height: 1px;
  background: rgba(245, 245, 220, 0.12);
  position: relative;
  overflow: hidden;
}

.preloader__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #E8C97E);
  width: 0%;
  animation: loadBar 1.8s var(--ease-out-expo) 0.4s forwards;
}

@keyframes revealSlide {
  to { transform: translateY(0); }
}

@keyframes loadBar {
  to { width: 100%; }
}

/* ── Navigation ─────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, padding 0.4s ease,
              border-bottom-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--nav-border);
  padding: 0.9rem 2.5rem;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.2s;
}

.nav-logo:hover { opacity: 0.75; }

.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  position: relative;
  transition: color 0.25s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease-out-expo);
}

.nav-links a:hover,
.nav-links a.is-active { color: var(--text-primary); }

.nav-links a:hover::after,
.nav-links a.is-active::after { width: 100%; }

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.2rem;
}

.lang-switcher a {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}

.lang-switcher a.is-active,
.lang-switcher a:hover {
  background: var(--gold-dim);
  color: var(--gold);
}

/* Theme toggle */
.theme-toggle {
  width: 2rem;
  height: 2rem;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  color: var(--text-dim);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--gold-dim);
  border-color: var(--gold-border);
  color: var(--gold);
}

.theme-toggle svg { width: 1rem; height: 1rem; }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.25rem;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.35s var(--ease-out-expo), opacity 0.3s;
}

.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 100vw);
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  z-index: 99;
  padding: 6rem 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-in-out);
}

.nav-drawer.is-open { transform: translateX(0); }

.nav-drawer a {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-drawer a:hover { color: var(--gold); }

/* ── Scroll-Triggered Typography ────────────────────────────── */
.scroll-typography-wrap {
  position: relative;
  overflow: hidden;
  height: 0;
  pointer-events: none;
  z-index: 0;
}

.scroll-typography {
  position: absolute;
  white-space: nowrap;
  font-family: 'Playfair Display', serif;
  font-size: clamp(5rem, 15vw, 14rem);
  font-weight: 900;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  text-stroke: 1px var(--border);
  opacity: 0.6;
  user-select: none;
  will-change: transform;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

/* ── Hero Section ───────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  align-items: center;
  padding: 8rem 2.5rem 4rem;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}

.hero__number {
  position: absolute;
  top: 50%;
  right: -0.1em;
  transform: translateY(-50%);
  font-family: 'Playfair Display', serif;
  font-size: clamp(12rem, 30vw, 28rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-subtle);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero__left {
  position: relative;
  z-index: 1;
  grid-column: 1;
}

.hero__right {
  position: relative;
  z-index: 1;
  grid-column: 2;
  padding-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.hero__scroll-indicator {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0.45;
}

.hero__scroll-line {
  width: 40px;
  height: 1px;
  background: var(--text-primary);
}

.hero__scroll-text {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Hero gradient blob */
.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse at center,
    rgba(201, 168, 76, 0.06) 0%,
    transparent 70%);
  pointer-events: none;
}

/* ── CTA Button ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--gold);
  color: var(--charcoal);
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.25s, transform 0.25s var(--ease-out-expo),
              box-shadow 0.25s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #E8C97E;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 168, 76, 0.35);
}

.btn-primary svg { width: 1rem; height: 1rem; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--text-primary);
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease-out-expo);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ── Service Cards ──────────────────────────────────────────── */
.card-3d-wrap { }

.card-3d {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo),
              box-shadow 0.4s var(--ease-out-expo),
              border-color 0.3s ease;
  cursor: default;
}

.card-3d::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(201, 168, 76, 0.06) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.card-3d:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-border);
}

.card-3d:hover::before { opacity: 1; }

.card-3d__icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  transition: transform 0.4s var(--ease-out-expo);
}

.card-3d:hover .card-3d__icon { transform: translateY(-3px) scale(1.1); }

.card-3d__number {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-subtle);
  line-height: 1;
  user-select: none;
}

.card-3d__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.card-3d__desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ── Portfolio Cards ────────────────────────────────────────── */
.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo), filter 0.7s ease;
  filter: saturate(0.8);
}

.portfolio-card:hover img {
  transform: scale(1.06);
  filter: saturate(1);
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 25, 47, 0.92) 0%,
    rgba(10, 25, 47, 0.4) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

[data-theme="light"] .portfolio-card__overlay {
  background: linear-gradient(
    to top,
    rgba(10, 25, 47, 0.88) 0%,
    rgba(10, 25, 47, 0.3) 50%,
    transparent 100%
  );
}

.portfolio-card:hover .portfolio-card__overlay { opacity: 1; }

.portfolio-card__cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.portfolio-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #E8E4DA;
  margin-bottom: 0.75rem;
}

.portfolio-card__link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

/* ── Stats ──────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  overflow: hidden;
}

.stat-item {
  padding: 2.5rem;
  border-right: 1px solid var(--border-subtle);
  transition: background 0.3s;
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--surface-hover); }

.stat-item__value {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ── Section Divider ────────────────────────────────────────── */
.section-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 1.25rem 0;
}

/* ── Contact Form ───────────────────────────────────────────── */
.form-group {
  position: relative;
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}

.form-control {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.9rem 1.1rem;
  color: var(--text-primary);
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  outline: none;
}

.form-control::placeholder { color: var(--text-dim); }

.form-control:focus {
  border-color: var(--gold);
  background: var(--surface-hover);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.form-group:focus-within .form-label { color: var(--gold); }

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-error {
  font-size: 0.78rem;
  color: #E05A5A;
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-error svg { width: 0.85rem; height: 0.85rem; flex-shrink: 0; }

.form-success {
  padding: 1.25rem 1.5rem;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  color: var(--gold);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 2.5rem 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
}

.footer-logo span { color: var(--gold); }

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-dim);
  max-width: 240px;
  line-height: 1.7;
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-primary); }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 2rem;
  height: 2rem;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}

.footer-social a:hover {
  background: var(--gold-dim);
  border-color: var(--gold-border);
  color: var(--gold);
  transform: translateY(-3px);
}

.footer-social a svg { width: 1rem; height: 1rem; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ── Section Padding ────────────────────────────────────────── */
.section {
  padding: 8rem 2.5rem;
  position: relative;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

/* ── Reveal Animations ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.8s var(--ease-out-expo);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left {
  transform: translateX(-40px);
}

.reveal--left.is-visible { transform: translateX(0); }

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ── Services Grid ──────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

/* ── Portfolio Grid ─────────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-grid .featured {
  grid-column: span 2;
}

/* ── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(
    135deg,
    rgba(201, 168, 76, 0.08) 0%,
    transparent 50%
  );
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: 'HW';
  position: absolute;
  right: -0.05em;
  bottom: -0.2em;
  font-family: 'Playfair Display', serif;
  font-size: 20rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-subtle);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ── Horizontal Rule ────────────────────────────────────────── */
.hr-gold {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item:nth-child(2) { border-right: none; }
  .stats-grid .stat-item:nth-child(3),
  .stats-grid .stat-item:nth-child(4) { border-top: 1px solid var(--border-subtle); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid .featured { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 6rem 1.5rem 3rem;
    gap: 2rem;
  }

  .hero__right { grid-column: 1; padding-top: 0; }
  .hero__number { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-grid .featured { grid-column: span 1; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .section { padding: 5rem 1.5rem; }

  .site-nav { padding: 1rem 1.5rem; }
  .site-nav.scrolled { padding: 0.75rem 1.5rem; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  .cta-banner { padding: 3rem 2rem; }

  .label-tag { font-size: 0.78rem; letter-spacing: 0.14em; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid .stat-item { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .stats-grid .stat-item:last-child { border-bottom: none; }

  .hero { padding: 5rem 1.25rem 2.5rem; }
  .section { padding: 3.5rem 1.25rem; }

  .scroll-typography-wrap { display: none; }

  .pricing-grid { gap: 1rem; }
  .pricing-card { padding: 1.75rem 1.5rem; }

  .process-step__desc { font-size: 0.78rem; }

  .faq-panel-wrap { padding: 1.5rem; }

  .heading-xl { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .heading-lg { font-size: clamp(1.8rem, 7vw, 2.5rem); }

  .label-tag { font-size: 0.82rem; letter-spacing: 0.1em; }
}

/* ── Cookie Consent ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 1.1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.55s var(--ease-out-expo);
}

.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner__text {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
  flex: 1;
  min-width: 200px;
}

.cookie-banner__accept {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  background: var(--gold);
  color: var(--charcoal);
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s var(--ease-out-expo);
}

.cookie-banner__accept:hover {
  background: #E8C97E;
  transform: translateY(-2px);
}

.cookie-banner__accept svg,
.cookie-banner__accept i { width: 0.85rem; height: 0.85rem; }

.cookie-banner__decline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: transparent;
  color: var(--text-dim);
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out-expo);
}

.cookie-banner__decline:hover {
  color: var(--text-primary);
  border-color: var(--text-dim);
  transform: translateY(-2px);
}

.cookie-banner__decline svg,
.cookie-banner__decline i { width: 0.85rem; height: 0.85rem; }

.cookie-banner__btns {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    box-sizing: border-box;
    width: 100%;
  }

  .cookie-banner__text {
    min-width: 0;
    font-size: 0.8rem;
  }

  .cookie-banner__btns {
    width: 100%;
    display: flex;
    gap: 0.5rem;
  }

  .cookie-banner__accept,
  .cookie-banner__decline {
    flex: 1;
    justify-content: center;
    white-space: normal;
    text-align: center;
    padding: 0.65rem 0.5rem;
  }
}

/* ── Form error state (replaces Tailwind border-red-500) ────── */
.form-control.is-error {
  border-color: #E05A5A;
  background: rgba(224, 90, 90, 0.04);
}

.form-control.is-error:focus {
  box-shadow: 0 0 0 3px rgba(224, 90, 90, 0.15);
}

/* ── GDPR / Custom Checkbox ─────────────────────────────────── */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

/* Hide native input visually but keep it accessible */
.form-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.form-checkbox__box {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  background: var(--surface);
  position: relative;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

/* Checkmark via pseudo-element */
.form-checkbox__box::after {
  content: '';
  position: absolute;
  top: 45%;
  left: 50%;
  width: 0.45rem;
  height: 0.25rem;
  border-left: 2px solid var(--charcoal);
  border-bottom: 2px solid var(--charcoal);
  transform: translate(-50%, -60%) rotate(-45deg);
  opacity: 0;
  transition: opacity 0.15s;
}

.form-checkbox input:checked ~ .form-checkbox__box {
  background: var(--gold);
  border-color: var(--gold);
}

.form-checkbox input:checked ~ .form-checkbox__box::after {
  opacity: 1;
}

.form-checkbox input:focus-visible ~ .form-checkbox__box {
  box-shadow: 0 0 0 3px var(--gold-dim);
  border-color: var(--gold);
}

.form-checkbox.is-error .form-checkbox__box {
  border-color: #E05A5A;
}

.form-checkbox__label {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.65;
}

.form-checkbox__label a {
  transition: opacity 0.2s;
}

.form-checkbox__label a:hover { opacity: 0.75; }

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: relative;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pricing-card--featured {
  background: var(--bg-2);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-card);
  transform: translateY(-10px);
}

.pricing-card--featured:hover { transform: translateY(-14px); }

.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.28rem 0.9rem;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-card__name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-card__price {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-top: 0.5rem;
}

.pricing-card__desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-top: 0.4rem;
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.pricing-card__features li {
  font-size: 0.84rem;
  color: var(--text-dim);
  padding-left: 0;
  position: static;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.pricing-card__features li::before { display: none; }

.pricing-card__features li i {
  width: 1rem;
  height: 1rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.18rem;
}

.pricing-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.pricing-card__icon i {
  width: 1.2rem;
  height: 1.2rem;
}

.pricing-card__divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 1.25rem 0;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }
}

/* ── Legal pages ─────────────────────────────────────────────── */
.legal-body {
  max-width: 740px;
  line-height: 1.85;
  color: var(--text-dim);
}

.legal-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 3rem 0 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.legal-body h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }

.legal-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.5rem 0 0.5rem;
}

.legal-body p { margin-bottom: 0.75rem; }

.legal-body ul {
  list-style: none;
  margin: 0.5rem 0 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.legal-body ul li::before {
  content: '—';
  color: var(--gold);
  margin-right: 0.6rem;
}

.legal-body a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-todo {
  color: var(--gold);
  font-style: italic;
  opacity: 0.7;
}

/* ── Testimonials ─────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem;
  right: 1.25rem;
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: var(--gold-dim);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card__stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.testimonial-card__text {
  font-size: 0.87rem;
  color: var(--text-dim);
  line-height: 1.8;
  flex: 1;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-subtle);
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-card__role {
  font-size: 0.74rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
}

@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ── Process ─────────────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}


.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 3.4rem;
  left: calc(50% + 26px);
  width: calc(100% - 52px + 2rem);
  height: 1px;
  background: var(--gold-border);
}

.process-step__num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.process-step__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--gold);
  transition: background 0.2s, box-shadow 0.2s;
}

.process-step:hover .process-step__icon {
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(198,160,96,0.1);
}

.process-step__icon i { width: 20px; height: 20px; }

.process-step__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.process-step__desc {
  font-size: 0.81rem;
  color: var(--text-dim);
  line-height: 1.8;
}

@media (max-width: 900px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step:not(:last-child)::after { display: none; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.faq-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-tab {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: border-color 0.2s, color 0.2s;
}

.faq-tab:hover {
  border-color: var(--gold-border);
  color: var(--text-primary);
}

.faq-tab.is-active {
  border-color: var(--gold-border);
  color: var(--gold);
  font-weight: 600;
}

.faq-tab__num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.5;
  flex-shrink: 0;
  min-width: 1.4rem;
}

.faq-tab.is-active .faq-tab__num { opacity: 1; }

.faq-tab__q { flex: 1; }

.faq-tab__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform 0.2s, color 0.2s;
}

.faq-tab.is-active .faq-tab__icon {
  color: var(--gold);
  transform: translateX(3px);
}

.faq-panel-wrap {
  position: sticky;
  top: 6rem;
  background: var(--surface);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 2rem;
  min-height: 160px;
}

.faq-panel { display: none; }

.faq-panel.is-active {
  display: block;
  animation: faqFadeIn 0.28s ease;
}

@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.faq-panel__q {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.faq-panel__a {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.85;
}

@media (max-width: 768px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-panel-wrap { position: static; }
}

/* ── AI Chat Widget ──────────────────────────────────────────── */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
}

.chat-bubble {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  box-shadow: 0 4px 24px rgba(201, 168, 76, 0.45),
              0 0 0 0 rgba(201, 168, 76, 0.3);
  transition: transform 0.22s var(--ease-out-expo),
              box-shadow 0.22s;
}

.chat-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(201, 168, 76, 0.6),
              0 0 0 0 rgba(201, 168, 76, 0.2);
}

.chat-bubble.is-open { background: #D9B85C; }

.chat-bubble i,
.chat-bubble svg { width: 22px; height: 22px; }

/* Online badge */
.chat-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #4ade80;
  border-radius: 50%;
  border: 2px solid var(--bg);
  animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.35); opacity: 0.7; }
}

/* Chat window — floats above the bubble */
.chat-window {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: 370px;
  height: 500px;
  max-height: calc(100vh - 8rem);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;

  /* Hidden state */
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.28s var(--ease-out-expo),
              transform 0.28s var(--ease-out-expo);
  transform-origin: bottom right;
}

.chat-window.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Header */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface);
  flex-shrink: 0;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.chat-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 0.1rem;
}

.chat-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
}

.chat-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dim);
  padding: 5px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background 0.15s;
}

.chat-close:hover {
  color: var(--text-primary);
  background: var(--surface-hover);
}

.chat-close i,
.chat-close svg { width: 16px; height: 16px; }

/* Messages */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar { width: 3px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.chat-msg {
  max-width: 83%;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  font-size: 0.84rem;
  line-height: 1.55;
  word-break: break-word;
  animation: chatMsgIn 0.22s var(--ease-out-expo) both;
}

@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chat-msg--user {
  align-self: flex-end;
  background: var(--gold);
  color: var(--charcoal);
  border-bottom-right-radius: 3px;
  font-weight: 500;
}

.chat-msg--assistant {
  align-self: flex-start;
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-bottom-left-radius: 3px;
}

.chat-msg--error {
  align-self: center;
  max-width: 90%;
  background: rgba(224, 90, 90, 0.1);
  color: #E05A5A;
  border: 1px solid rgba(224, 90, 90, 0.2);
  border-radius: 8px;
  font-size: 0.78rem;
  text-align: center;
}

/* Typing indicator */
.chat-typing {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  border-bottom-left-radius: 3px;
  display: flex;
  gap: 4px;
  align-items: center;
  animation: chatMsgIn 0.22s var(--ease-out-expo) both;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  animation: typingDot 1.2s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.16s; }
.chat-typing span:nth-child(3) { animation-delay: 0.32s; }

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%            { transform: translateY(-5px); opacity: 1; }
}

/* Contact CTA link (shown when AI suggests contact form) */
.chat-contact-link {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 0.2rem;
  padding: 0.4rem 0.85rem;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  animation: chatMsgIn 0.22s var(--ease-out-expo) both;
}

.chat-contact-link:hover {
  background: rgba(201, 168, 76, 0.2);
  transform: translateY(-1px);
}

/* Input form */
.chat-form {
  display: flex;
  gap: 0.45rem;
  padding: 0.7rem 0.9rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface);
  flex-shrink: 0;
  align-items: flex-end;
}

.chat-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  color: var(--text-primary);
  font-family: 'Syne', sans-serif;
  font-size: 0.84rem;
  line-height: 1.5;
  outline: none;
  resize: none;
  overflow-y: auto;
  max-height: 80px;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.chat-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-dim);
}

.chat-input::placeholder { color: var(--text-dim); }

.chat-send {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  flex-shrink: 0;
  transition: opacity 0.15s, transform 0.15s;
}

.chat-send:hover:not(:disabled) {
  opacity: 0.85;
  transform: scale(1.06);
}

.chat-send:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.chat-send i,
.chat-send svg { width: 15px; height: 15px; }

/* Mobile — full-width sheet */
@media (max-width: 520px) {
  .chat-widget {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .chat-window {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 72vh;
    max-height: 72vh;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    transform-origin: bottom center;
    transform: translateY(20px) scale(0.99);
  }

  .chat-window.is-open {
    transform: translateY(0) scale(1);
  }
}

/* ── Custom Scrollbar ───────────────────────────────────────── */
::-webkit-scrollbar         { width: 4px; }
::-webkit-scrollbar-track   { background: transparent; }
::-webkit-scrollbar-thumb   { background: rgba(232, 228, 218, 0.32); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(232, 228, 218, 0.58); }

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(232, 228, 218, 0.32) transparent;
}

[data-theme="light"] {
  scrollbar-color: rgba(10, 25, 47, 0.28) transparent;
}

/* ── Hero: Grain + Gold Blob ────────────────────────────────── */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.04'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at -20% 30%, rgba(201, 168, 76, 0.07) 0%, transparent 65%);
  background-size: 200px, auto;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201, 168, 76, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ── Pricing Card: Animated Gradient Border ─────────────────── */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotateBorderAngle {
  to { --border-angle: 360deg; }
}

.pricing-card--featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    conic-gradient(
      from var(--border-angle),
      var(--gold)  0%,
      #E8C97E     20%,
      transparent 40%,
      transparent 60%,
      #E8C97E     80%,
      var(--gold) 100%
    ) border-box;
  animation: rotateBorderAngle 3s linear infinite;
}

/* ── Page transition ─────────────────────────────────────────── */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99997;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.38s ease;
}

/* ── About ───────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content__p {
  color: var(--text-dim);
  line-height: 1.85;
  font-size: 0.95rem;
  margin-top: 1.25rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-feat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: border-color 0.2s;
}

.about-feat:hover { border-color: var(--gold-border); }

.about-feat__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold);
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
}


/* ── Text Selection ─────────────────────────────────────────── */
::selection { background: rgba(198, 160, 96, 0.35); color: var(--text-primary); }

/* ── Focus Indicator ────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Gold Caret in Inputs ───────────────────────────────────── */
input, textarea { caret-color: var(--gold); }

.chat-widget { transition: bottom 0.4s ease; }
body.cookie-visible .chat-widget { bottom: 5rem; }

.back-to-top { transition: bottom 0.4s ease, opacity 0.3s, transform 0.3s; }
body.cookie-visible .back-to-top { bottom: 5rem; }

/* ── Scroll Progress Bar ────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), #E8C97E);
  z-index: 9998;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ── Back to Top ────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out-expo),
              background 0.2s, color 0.2s, border-color 0.2s;
  pointer-events: none;
  z-index: 150;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--gold-dim);
  border-color: var(--gold-border);
  color: var(--gold);
}

.back-to-top i,
.back-to-top svg { width: 18px; height: 18px; }

/* ── Button Shimmer ─────────────────────────────────────────── */
.btn-primary,
.btn-outline {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.btn-outline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.14) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.55s var(--ease-out-expo);
}

.btn-primary:hover::after,
.btn-outline:hover::after { transform: translateX(100%); }

/* ── prefers-reduced-motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration:        0.01ms !important;
    animation-iteration-count: 1      !important;
    transition-duration:       0.01ms !important;
  }
  .reveal             { opacity: 1; transform: none; }
  .scroll-typography  { transform: translateY(-50%) !important; }
  .pricing-card--featured { animation: none; }
}

/* ── Portfolio: overlay mindig látható, link hover-re jelenik meg */
.portfolio-card__overlay {
  opacity: 1;
  background: linear-gradient(
    to top,
    rgba(5, 15, 30, 0.95) 0%,
    rgba(5, 15, 30, 0.22) 45%,
    transparent 100%
  );
}

[data-theme="light"] .portfolio-card__overlay {
  background: linear-gradient(
    to top,
    rgba(10, 25, 47, 0.95) 0%,
    rgba(10, 25, 47, 0.22) 45%,
    transparent 100%
  );
}

.portfolio-card__link {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out-expo), color 0.2s;
}

.portfolio-card:hover .portfolio-card__link {
  opacity: 1;
  transform: translateY(0);
}

/* ── Portfólió szűrő aktív állapot ─────────────────────────── */
.filter-active {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

/* ── Project List Layout (portfolio.php) ────────────────────── */
.proj-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.proj-filter {
  padding: 0.4rem 1.2rem;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  color: var(--text-dim);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.proj-filter:hover,
.proj-filter.filter-active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.proj-list {
  border-top: 1px solid var(--border-subtle);
}

.proj-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto 2rem;
  align-items: center;
  gap: 2.5rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, padding-left 0.45s var(--ease-out-expo);
}

a.proj-row:hover {
  background: var(--gold-dim);
  padding-left: 1.5rem;
}

.proj-row__num {
  font-family: 'Playfair Display', serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.65;
  line-height: 1;
}

.proj-row__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  transition: transform 0.45s var(--ease-out-expo);
}

a.proj-row:hover .proj-row__title {
  transform: translateX(8px);
}

.proj-row__cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.3s;
}

a.proj-row:hover .proj-row__cat { color: var(--gold); }

.proj-row__arrow {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--text-dim);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-out-expo), color 0.3s;
}

a.proj-row:hover .proj-row__arrow {
  transform: translate(3px, -3px);
  color: var(--gold);
}

.proj-row--soon {
  opacity: 0.45;
  cursor: default;
}

@media (max-width: 900px) {
  .proj-row { grid-template-columns: 2.5rem 1fr auto; gap: 1.5rem; }
  .proj-row__arrow { display: none; }
}

@media (max-width: 600px) {
  .proj-row { grid-template-columns: 2.5rem 1fr; padding: 1.75rem 0; }
  .proj-row__cat { display: none; }
}

/* ── Contact Hero Section ───────────────────────────────────── */
.contact-hero-section { padding: 10rem 2.5rem 5rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact-hero__bg {
  position: absolute;
  bottom: -0.15em;
  right: -0.05em;
  font-family: 'Playfair Display', serif;
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

[data-theme="light"] .contact-hero__bg {
  -webkit-text-stroke: 1px rgba(10, 25, 47, 0.12);
}

@media (max-width: 768px) {
  .contact-hero-section { padding: 8rem 1.5rem 4rem; }
}

@media (max-width: 480px) {
  .contact-hero-section { padding: 6rem 1.25rem 3rem; }
}

/* ── Availability Badge ─────────────────────────────────────── */
.contact-available {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem 0.45rem 0.75rem;
  background: rgba(74, 200, 120, 0.10);
  border: 1px solid rgba(74, 200, 120, 0.25);
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4AC878;
  margin-bottom: 2rem;
}

.contact-available__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4AC878;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(0.75); }
}

/* ── Contact Info List ──────────────────────────────────────── */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-info-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-info-row__icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

/* ── What to Expect Steps ───────────────────────────────────── */
.contact-steps {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
}

.contact-step {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.contact-step:last-child { margin-bottom: 0; }

.contact-step__num {
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-step__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.contact-step__desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── About — Monogram card ───────────────────────────────── */
.about-monogram-card {
  position: relative;
  width: min(320px, 90vw);
  aspect-ratio: 3/4;
  background: var(--surface);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem 1.5rem;
  overflow: hidden;
}

.about-monogram-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.about-monogram-card__corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--gold);
  border-style: solid;
}
.about-monogram-card__corner--tl { top: 12px; left: 12px; border-width: 1.5px 0 0 1.5px; }
.about-monogram-card__corner--tr { top: 12px; right: 12px; border-width: 1.5px 1.5px 0 0; }
.about-monogram-card__corner--bl { bottom: 12px; left: 12px; border-width: 0 0 1.5px 1.5px; }
.about-monogram-card__corner--br { bottom: 12px; right: 12px; border-width: 0 1.5px 1.5px 0; }

.about-monogram-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.about-monogram-card__initials {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4.5rem, 12vw, 6rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
}

.about-monogram-card__line {
  width: 2.5rem;
  height: 1px;
  background: var(--gold-border);
  margin-bottom: 1rem;
}

.about-monogram-card__name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
}

.about-monogram-card__role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.about-monogram-card__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  margin-top: auto;
}

.about-monogram-card__badges span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--surface-hover);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 0.25rem 0.65rem;
}

/* ── About — Tech stack grid ─────────────────────────────── */
.about-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .about-stack-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .about-stack-grid { grid-template-columns: 1fr; }
}

.about-stack-item {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.1rem 1rem;
  transition: border-color 0.2s;
}

.about-stack-item:hover { border-color: var(--gold-border); }

/* ── About — Principles ──────────────────────────────────── */
.about-principle {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0;
}

.about-principle__icon {
  width: 3rem;
  height: 3rem;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.about-principle__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.about-principle__desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ── Project Brief (multi-step contact form) ─────────────── */
.brief-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
}

.brief-progress__step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s;
  white-space: nowrap;
}

.brief-progress__step.is-active { color: var(--gold); }
.brief-progress__step.is-done   { color: var(--gold); }

.brief-progress__num {
  width: 1.6rem;
  height: 1.6rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.brief-progress__step.is-done .brief-progress__num {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
}

.brief-progress__line {
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
  margin: 0 0.75rem;
}

.brief-panel {
  display: none;
}

.brief-panel.is-active {
  display: block;
  animation: briefIn 0.38s var(--ease-out-expo);
}

.brief-panel.is-active.is-back {
  animation: briefBack 0.38s var(--ease-out-expo);
}

@keyframes briefIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes briefBack {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.brief-question {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  line-height: 1.1;
}

.brief-hint {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1.75rem;
}

.brief-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
  .brief-cards { grid-template-columns: 1fr; }
  .brief-card { padding: 0.9rem 1rem; gap: 0.45rem; }
}

@media (max-width: 400px) {
  .brief-progress__step span:last-child { display: none; }
  .brief-progress__line { margin: 0 0.4rem; }
}

.brief-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1.1rem 1.15rem;
  background: var(--surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.18s;
  text-align: left;
  color: var(--text-primary);
  font-family: inherit;
}

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

.brief-card.is-selected {
  border-color: var(--gold);
  background: var(--gold-dim);
}

.brief-card.is-featured {
  border-color: rgba(201, 168, 76, 0.35);
}

.brief-card__icon {
  width: 2.2rem;
  height: 2.2rem;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.brief-card__title {
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.2;
}

.brief-card__price {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.brief-card__sub {
  font-size: 0.73rem;
  color: var(--text-dim);
  line-height: 1.45;
}

.brief-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.brief-back {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.brief-back:hover {
  border-color: var(--gold-border);
  color: var(--gold);
}

.brief-summary {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.brief-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
}
