/*
 * WAVYSCALE — Editorial parchment palette
 * Designed to match the logo: warm cream paper + charcoal ink
 */

/* ── Paper grain texture overlay ── */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.32  0 0 0 0 0.29  0 0 0 0 0.22  0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ── Fixed page corner marks ── */
.page-corners {
  position: fixed;
  inset: 12px;
  pointer-events: none;
  z-index: 60;
}
.corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(92, 84, 72, 0.45);
}
.corner-tl { top:    0; left:  0; border-right: 0; border-bottom: 0; }
.corner-tr { top:    0; right: 0; border-left:  0; border-bottom: 0; }
.corner-bl { bottom: 0; left:  0; border-right: 0; border-top:    0; }
.corner-br { bottom: 0; right: 0; border-left:  0; border-top:    0; }
@media (max-width: 768px) { .page-corners { inset: 6px; } .corner { width: 16px; height: 16px; } }

/* ── Edition stamp (vertical side text) ── */
.edition-stamp {
  position: fixed;
  left: 30px;
  bottom: 50%;
  transform: translateY(50%);
  z-index: 55;
  pointer-events: none;
}
@media (max-width: 1100px) { .edition-stamp { display: none; } }

/* ── Headlines: optical sizing ── */
.font-serif {
  font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -0.01em;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Custom scrollbar ── */
::-webkit-scrollbar       { width: 8px; }
::-webkit-scrollbar-track { background: #f1ecdf; }
::-webkit-scrollbar-thumb { background: #b8b09a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #8a8275; }

/* ── Selection ── */
::selection { background: #15130f; color: #f1ecdf; }

/* ── Form select dropdown styling ── */
select option { background: #f7f3e9; color: #15130f; }

/* ══════════════════════════════════════════
   HERO — diffused logo watermark
══════════════════════════════════════════ */
.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1400px;
  height: 1400px;
  max-width: 180vw;
  transform: translate(-50%, -50%);
  filter: blur(60px) saturate(0.6) contrast(1.1);
  opacity: 0.45;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
@media (max-width: 768px) {
  .hero-watermark { width: 900px; height: 900px; filter: blur(40px) saturate(0.6); opacity: 0.4; }
}

/* ══════════════════════════════════════════
   FIGURE FRAMES — editorial image plates
══════════════════════════════════════════ */
.figure-frame {
  position: relative;
  background: #f7f3e9;
  padding: 14px;
  border: 1px solid rgba(92, 84, 72, 0.18);
  box-shadow:
    0 1px 0   rgba(255,255,255,0.6) inset,
    0 24px 60px -20px rgba(34, 31, 26, 0.25),
    0 4px 16px -4px rgba(34, 31, 26, 0.12);
  border-radius: 4px;
  overflow: visible;
}
.figure-frame::before,
.figure-frame::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(92, 84, 72, 0.6);
  background: #f1ecdf;
  border-radius: 50%;
  z-index: 2;
}
.figure-frame::before { top: -6px;    left: -6px;  }
.figure-frame::after  { bottom: -6px; right: -6px; }
.figure-frame img {
  border-radius: 2px;
  display: block;
}
.figure-frame--lg { padding: 18px; }

/* Figure corner stamp */
.figure-stamp {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 3;
  padding: 4px 10px;
  background: rgba(247, 243, 233, 0.92);
  border: 1px solid rgba(92, 84, 72, 0.3);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #5c5448;
  backdrop-filter: blur(4px);
}

/* Figure caption */
.figure-caption {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-left: 6px;
}

/* ══════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════ */
.marquee {
  position: relative;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  animation: marquee-scroll 40s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.marquee-item {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 300;
  font-style: italic;
  color: #221f1a;
  letter-spacing: -0.01em;
}
.marquee-mark {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.85;
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ══════════════════════════════════════════
   DROP CAP
══════════════════════════════════════════ */
.drop-cap::first-letter {
  font-family: 'Fraunces', serif;
  float: left;
  font-size: 5.5em;
  line-height: 0.85;
  padding: 0.1em 0.12em 0 0;
  margin-top: 0.05em;
  font-weight: 400;
  font-style: italic;
  color: #15130f;
}

/* ══════════════════════════════════════════
   PULL QUOTE
══════════════════════════════════════════ */
.pull-quote {
  position: relative;
  padding: 28px 0 28px 60px;
  margin: 40px 0;
  border-top: 1px solid rgba(184, 176, 154, 0.6);
  border-bottom: 1px solid rgba(184, 176, 154, 0.6);
}
.pull-quote p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.35;
  color: #15130f;
}
.quote-mark {
  position: absolute;
  top: 6px;
  left: 0;
  font-family: 'Fraunces', serif;
  font-size: 80px;
  line-height: 1;
  color: #b8b09a;
  font-style: italic;
}
.quote-mark-lg {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-size: 72px;
  line-height: 0.5;
  color: #b8b09a;
  font-style: italic;
}

/* ══════════════════════════════════════════
   ORNAMENT DIVIDER
══════════════════════════════════════════ */
.ornament-divider {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 4px 0;
}
.ornament-divider svg { width: 200px; height: 20px; opacity: 0.7; }

/* ══════════════════════════════════════════
   CARD MARK (tiny logo in card corner)
══════════════════════════════════════════ */
.card-mark {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 28px;
  height: 28px;
  filter: invert(1);
  opacity: 0.18;
  transition: opacity 0.4s ease;
}
.group:hover .card-mark { opacity: 0.45; }

/* ══════════════════════════════════════════
   APPROACH SECTION — background mark
══════════════════════════════════════════ */
.approach-bg-mark {
  position: absolute;
  top: 50%;
  right: -200px;
  width: 700px;
  height: 700px;
  transform: translateY(-50%);
  filter: invert(1) blur(2px);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
@media (max-width: 1024px) { .approach-bg-mark { display: none; } }

/* ══════════════════════════════════════════
   NETWORK SECTION — background mark
══════════════════════════════════════════ */
.network-bg-mark {
  position: absolute;
  top: -100px;
  right: -200px;
  width: 800px;
  height: 800px;
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
  filter: contrast(1.2);
}
@media (max-width: 1024px) { .network-bg-mark { width: 500px; height: 500px; right: -150px; } }

/* ══════════════════════════════════════════
   SEAT BOXES
══════════════════════════════════════════ */
.seat-box {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  border: 1.5px solid rgba(247, 243, 233, 0.18);
  background: rgba(34, 31, 26, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  transition: border-color 0.5s ease, transform 0.5s ease, background 0.5s ease;
  overflow: hidden;
}
.seat-box::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(247, 243, 233, 0.12);
  border-radius: 12px;
  pointer-events: none;
}
.seat-box:hover {
  border-color: rgba(247, 243, 233, 0.4);
  background: rgba(34, 31, 26, 0.6);
  transform: translateY(-3px);
}
.seat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(247, 243, 233, 0.45);
}
.seat-label {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(16px, 2vw, 24px);
  color: rgba(247, 243, 233, 0.85);
}
@media (min-width: 768px) {
  .seat-box { padding: 20px; }
}

/* ══════════════════════════════════════════
   WAX SEAL (floating decoration on apply section)
══════════════════════════════════════════ */
.wax-seal {
  position: absolute;
  top: 60px;
  right: 8%;
  width: 120px;
  height: 120px;
  opacity: 0.55;
  transform: rotate(-8deg);
  pointer-events: none;
  z-index: 1;
  animation: seal-bob 6s ease-in-out infinite;
}
@keyframes seal-bob {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50%      { transform: rotate(-6deg) translateY(-6px); }
}
@media (max-width: 768px) { .wax-seal { top: 30px; right: 16px; width: 80px; height: 80px; } }

/* ══════════════════════════════════════════
   PAGE FADE-IN
══════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  body { animation: pageFadeIn 1.2s ease-out both; }
  @keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }
}

/* ══════════════════════════════════════════
   IMAGES
══════════════════════════════════════════ */
img[src="logo.png"] {
  filter: contrast(1.05);
}
