/* PRO ZORI — dark tarot salon */

:root {
  --bg: #150e09;
  --bg-warm: #1a120c;
  --panel: #231810;
  --panel-2: #1e140d;
  --gold: #c9a35c;
  --gold-bright: #d9b877;
  --gold-text: #e2c284;
  --heading: #e6cf9a;
  --ivory: #f0e4cc;
  --body-text: #d5c5a4;
  --body-dim: #cdbb98;
  --muted: #a8916b;
  --dim: #8d7a58;
  --wine: #5e1f2a;
  --font-display: 'Cormorant', Georgia, serif;
  --font-body: 'Alegreya', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: #e8dcc2;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--gold-bright); }
a:hover { color: #eed9a6; }
::selection { background: var(--wine); color: #f4e9d2; }

main { overflow-x: hidden; }

/* ── ornaments ─────────────────────────────── */

.star-mark {
  color: #b98d52;
  font-size: 16px;
  letter-spacing: 0.55em;
  text-indent: 0.55em;
}

.section-topline {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(560px, 72vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,163,92,0.4), transparent);
}

/* engraved corner ticks on framed elements */
.corners::after {
  content: '';
  position: absolute;
  inset: 4px;
  pointer-events: none;
  opacity: 0.9;
  background-image:
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold));
  background-size: 10px 1px, 1px 10px, 10px 1px, 1px 10px, 10px 1px, 1px 10px, 10px 1px, 1px 10px;
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
  background-repeat: no-repeat;
}

.divider-star {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 44px 0;
}
.divider-star::before,
.divider-star::after {
  content: '';
  height: 1px;
  flex: 0 1 90px;
}
.divider-star::before { background: linear-gradient(90deg, transparent, rgba(201,163,92,0.5)); }
.divider-star::after { background: linear-gradient(90deg, rgba(201,163,92,0.5), transparent); }
.divider-star span { color: #b98d52; font-size: 13px; }

/* ── section headings ──────────────────────── */

.section-head { text-align: center; }
.section-head .h-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 18px;
}
.section-head .h-row::before,
.section-head .h-row::after {
  content: '';
  height: 1px;
  flex: 0 1 110px;
}
.section-head .h-row::before { background: linear-gradient(90deg, transparent, rgba(201,163,92,0.55)); }
.section-head .h-row::after { background: linear-gradient(90deg, rgba(201,163,92,0.55), transparent); }

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 5.6vw, 46px);
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  text-transform: uppercase;
  color: var(--heading);
  line-height: 1.15;
  text-wrap: balance;
}

.section-intro {
  margin: 26px auto 0;
  max-width: 62ch;
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--body-dim);
  text-wrap: pretty;
}

/* ── buttons ───────────────────────────────── */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 40px;
  border: 1px solid rgba(201,163,92,0.6);
  color: var(--gold-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(201,163,92,0.12), rgba(201,163,92,0.02));
  transition: box-shadow 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}
.btn:hover {
  box-shadow: 0 0 28px rgba(201,163,92,0.3), inset 0 0 20px rgba(201,163,92,0.1);
  border-color: var(--gold-bright);
  color: #f2e0ae;
  transform: translateY(-2px);
}
.btn.corners::after { inset: 4px; background-size: 9px 1px, 1px 9px, 9px 1px, 1px 9px, 9px 1px, 1px 9px, 9px 1px, 1px 9px; }

.btn--wine {
  min-height: 56px;
  padding: 14px 46px;
  border-color: rgba(201,163,92,0.65);
  color: var(--heading);
  font-size: 18px;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  background: linear-gradient(180deg, rgba(94,31,42,0.35), rgba(94,31,42,0.1));
}
.btn--wine:hover { box-shadow: 0 0 32px rgba(201,163,92,0.3), inset 0 0 22px rgba(201,163,92,0.08); }

.btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── hero ──────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 22px 80px;
  background: var(--bg-warm);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 95% 58% at 50% 4%, rgba(196,138,63,0.14), transparent 62%),
    radial-gradient(ellipse 85% 52% at 50% 104%, rgba(94,31,42,0.24), transparent 68%);
}

.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.8;
  background-image:
    radial-gradient(1.4px 1.4px at 14% 24%, rgba(226,194,132,0.55) 50%, transparent 52%),
    radial-gradient(1.1px 1.1px at 27% 11%, rgba(226,194,132,0.4) 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 71% 16%, rgba(226,194,132,0.5) 50%, transparent 52%),
    radial-gradient(1px 1px at 84% 29%, rgba(226,194,132,0.42) 50%, transparent 52%),
    radial-gradient(1.3px 1.3px at 58% 7%, rgba(226,194,132,0.35) 50%, transparent 52%),
    radial-gradient(1px 1px at 40% 19%, rgba(226,194,132,0.3) 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 92% 9%, rgba(226,194,132,0.35) 50%, transparent 52%);
}

.hero-inner { position: relative; animation: heroIn 1.2s ease both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero h1 {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(54px, 11vw, 96px);
  line-height: 1.02;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  color: var(--gold-text);
  text-shadow: 0 0 52px rgba(226,194,132,0.28);
  text-wrap: balance;
}

.hero-rule {
  width: 190px;
  height: 1px;
  margin: 30px auto;
  background: linear-gradient(90deg, transparent, rgba(201,163,92,0.85), transparent);
}

.hero-tagline {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(23px, 4.6vw, 32px);
  color: var(--ivory);
  text-wrap: balance;
}

.hero-subline {
  margin: 16px 0 0;
  font-size: 14.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-cta { margin-top: 64px; }
.hero-cta p {
  margin: 0 0 22px;
  font-size: 18px;
  font-style: italic;
  color: #d3bf9b;
}

/* ── sections ──────────────────────────────── */

.section {
  position: relative;
  padding: clamp(80px, 12vw, 120px) 22px clamp(90px, 13vw, 130px);
  background: var(--bg);
}
.section--warm { background: var(--bg-warm); padding-bottom: clamp(80px, 12vw, 120px); }

/* ── archetype cards ───────────────────────── */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 1120px;
  margin: 60px auto 0;
}
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 920px) { .cards-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.card {
  display: block;
  position: relative;
  text-decoration: none;
  background: var(--panel);
  border: 1px solid rgba(201,163,92,0.28);
  padding: 9px 9px 4px;
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(217,184,119,0.75);
  box-shadow: 0 16px 44px rgba(0,0,0,0.55), 0 0 32px rgba(201,163,92,0.18);
}

.card img {
  display: block;
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border: 1px solid rgba(201,163,92,0.22);
  background: #1d140d;
}

.card-caption { display: block; text-align: center; padding: 12px 4px 8px; }
.card-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #dcbf85;
}
.card-en {
  display: block;
  margin-top: 3px;
  font-style: italic;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--dim);
}

.cards-cta { text-align: center; margin-top: 64px; }

/* ── about ─────────────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 52px;
  align-items: start;
  max-width: 1060px;
  margin: 58px auto 0;
}
@media (min-width: 880px) { .about-grid { grid-template-columns: 350px minmax(0, 1fr); } }

.portrait {
  margin: 0 auto;
  position: relative;
  padding: 10px;
  border: 1px solid rgba(201,163,92,0.35);
  background: var(--panel);
  width: 100%;
  max-width: 350px;
}
.portrait .frame {
  aspect-ratio: 3/4;
  border: 1px solid rgba(201,163,92,0.2);
  background: repeating-linear-gradient(45deg, #221711 0px, #221711 10px, #261a12 10px, #261a12 20px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portrait .frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait .frame .placeholder {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #7d6a4c;
}
.portrait figcaption {
  text-align: center;
  padding: 12px 4px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #dcbf85;
}

.about-text { max-width: 62ch; }
.about-lead {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 3.6vw, 30px);
  line-height: 1.35;
  color: var(--ivory);
  text-wrap: balance;
}
.about-text > p:not(.about-lead):not(.about-diploma) {
  margin: 18px 0 0;
  font-size: 17.5px;
  line-height: 1.78;
  color: var(--body-text);
  text-wrap: pretty;
}
.about-text > p:nth-of-type(2) { margin-top: 26px; }
.about-diploma {
  margin: 18px 0 0;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  border: 1px solid rgba(201,163,92,0.35);
  padding: 10px 16px;
  font-size: 14px;
  color: #cbb27f;
  background: rgba(201,163,92,0.05);
}

.pull-quote {
  margin: 38px 0 0;
  padding: 8px 0 8px 24px;
  border-left: 1px solid rgba(201,163,92,0.65);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 31px);
  line-height: 1.35;
  color: var(--gold-text);
  text-wrap: balance;
}

/* ── philosophy ────────────────────────────── */

.philosophy {
  position: relative;
  padding: clamp(88px, 13vw, 130px) 22px;
  background: radial-gradient(ellipse 85% 65% at 50% 0%, rgba(94,31,42,0.34), transparent 66%), #1b1013;
  border-top: 1px solid rgba(201,163,92,0.14);
  border-bottom: 1px solid rgba(201,163,92,0.14);
  text-align: center;
}
.philosophy .wrap { max-width: 720px; margin: 0 auto; }
.philosophy h2 { margin-top: 18px; }
.philosophy .lead {
  margin: 34px auto 0;
  max-width: 60ch;
  font-size: 18px;
  line-height: 1.78;
  color: var(--body-text);
  text-wrap: pretty;
}
.philosophy .statement {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 4.4vw, 38px);
  line-height: 1.3;
  color: #ecd6a0;
  text-wrap: balance;
}
.philosophy .close {
  margin: 40px auto 0;
  max-width: 56ch;
  font-size: 18px;
  line-height: 1.78;
  color: var(--body-text);
  text-wrap: pretty;
}

/* ── services ──────────────────────────────── */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1120px;
  margin: 56px auto 0;
}
@media (min-width: 720px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.plaque {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 26px 26px;
  border: 1px solid rgba(201,163,92,0.32);
  background: linear-gradient(180deg, rgba(201,163,92,0.055), rgba(201,163,92,0) 55%), var(--panel-2);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.plaque:hover {
  border-color: rgba(217,184,119,0.62);
  box-shadow: 0 0 28px rgba(201,163,92,0.12);
}
.plaque.corners::after { inset: 5px; opacity: 0.85; background-size: 11px 1px, 1px 11px, 11px 1px, 1px 11px, 11px 1px, 1px 11px, 11px 1px, 1px 11px; }

.plaque h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: 0.05em;
  color: #e3c88f;
  text-wrap: balance;
}
.plaque .rule {
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,163,92,0.7), transparent);
}
.plaque p {
  margin: 0;
  flex: 1;
  font-size: 16.5px;
  line-height: 1.7;
  color: #cbbb9c;
  text-wrap: pretty;
}
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.badge {
  border: 1px solid rgba(201,163,92,0.3);
  padding: 5px 12px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a98f5e;
}

.plaque--featured {
  grid-column: 1 / -1;
  text-align: center;
  padding: 44px 28px 38px;
  border-color: rgba(217,184,119,0.5);
  background: linear-gradient(180deg, rgba(94,31,42,0.32), rgba(94,31,42,0.08)), #20130f;
}
.plaque--featured:hover {
  border-color: rgba(226,194,132,0.8);
  box-shadow: 0 0 40px rgba(201,163,92,0.16);
}
.plaque--featured.corners::after { inset: 6px; opacity: 0.9; background-size: 14px 1px, 1px 14px, 14px 1px, 1px 14px, 14px 1px, 1px 14px, 14px 1px, 1px 14px; }
.plaque--featured h3 {
  margin: 14px 0 0;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  text-transform: uppercase;
  color: #ecd6a0;
}
.plaque--featured p {
  margin: 16px auto 0;
  max-width: 58ch;
  font-size: 17px;
  color: #d3bf9b;
  flex: initial;
}
.plaque--featured .badges { justify-content: center; margin-top: 20px; }
.plaque--featured .badge { border-color: rgba(201,163,92,0.35); color: #bfa06a; }

/* ── final CTA + footer ────────────────────── */

.contact {
  position: relative;
  padding: clamp(96px, 14vw, 150px) 22px 56px;
  background: radial-gradient(ellipse 80% 58% at 50% 26%, rgba(196,138,63,0.11), transparent 64%), var(--bg-warm);
  text-align: center;
}
.contact h2 {
  margin-top: 20px;
  font-size: clamp(30px, 6vw, 48px);
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  line-height: 1.2;
}
.contact .lead {
  margin: 24px auto 0;
  max-width: 52ch;
  font-size: 18.5px;
  line-height: 1.7;
  color: #d3bf9b;
  text-wrap: pretty;
}
.contact .btn-row { margin-top: 36px; }

footer { margin-top: clamp(80px, 12vw, 120px); }
.footer-rule {
  width: min(560px, 72vw);
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(201,163,92,0.35), transparent);
}
.footer-icons { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
.footer-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--gold);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.footer-icons a:hover { opacity: 1; }
.footer-line {
  margin: 18px 0 0;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ── lightbox ──────────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(12,7,4,0.93);
  backdrop-filter: blur(9px);
  animation: lbIn 0.32s ease both;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
@keyframes lbIn {
  from { opacity: 0; transform: scale(0.965); }
  to { opacity: 1; transform: none; }
}

.lb-close {
  position: fixed;
  top: 14px; right: 14px;
  z-index: 2;
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,18,12,0.6);
  border: 1px solid rgba(201,163,92,0.5);
  color: var(--gold-bright);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  transition: box-shadow 0.3s ease, color 0.3s ease;
}
.lb-close:hover { box-shadow: 0 0 20px rgba(201,163,92,0.35); color: #f2e0ae; }

.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px; height: 76px;
  background: none;
  border: none;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease, text-shadow 0.3s ease;
}
.lb-nav:hover { opacity: 1; text-shadow: 0 0 20px rgba(217,184,119,0.7); }
.lb-prev { left: 2px; }
.lb-next { right: 2px; }

.lightbox figure {
  margin: 0;
  text-align: center;
  max-width: min(92vw, 640px);
  cursor: default;
}
.lightbox img {
  display: block;
  margin: 0 auto;
  max-height: min(66vh, 780px);
  max-width: 100%;
  width: auto;
  border: 1px solid rgba(201,163,92,0.55);
  background: #1d140d;
  box-shadow: 0 30px 90px rgba(0,0,0,0.65), 0 0 60px rgba(201,163,92,0.13);
}
.lb-title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 4.4vw, 31px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.lb-desc {
  margin: 10px auto 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--body-dim);
  text-wrap: pretty;
}
.lb-count {
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: 0.3em;
  color: var(--dim);
}

/* ── scroll reveal ─────────────────────────── */

.reveal { opacity: 1; transform: none; }
.reveal.is-hidden {
  opacity: 0;
  transform: translateY(18px);
}
.reveal.is-shown {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s ease var(--reveal-delay, 0s), transform 0.9s ease var(--reveal-delay, 0s);
}
@media (prefers-reduced-motion: reduce) {
  .reveal.is-hidden { opacity: 1; transform: none; }
  .hero-inner { animation: none; }
  html { scroll-behavior: auto; }
}
