/* ============================================================
   YorkWords — Shared Stylesheet
   ============================================================ */

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--gold);
  color: #0d0b1a;
  padding: 0.5rem 1.2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
}
.skip-link:focus { top: 1rem; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
button { touch-action: manipulation; }

:root {
  --bg:          #0d0b1a;
  --panel:       #141228;
  --panel-alt:   #0f0e1f;
  --panel-hover: #1a1835;
  --gold:        #c8a04a;
  --gold-dim:    rgba(200, 160, 74, 0.12);
  --gold-glow:   rgba(200, 160, 74, 0.28);
  --teal:        #4bbfbf;
  --teal-dim:    rgba(75, 191, 191, 0.1);
  --text:        #f5f1eb;
  --text-muted:  #cdc5bb;
  --rule:        rgba(200, 160, 74, 0.18);
  --rule-soft:   rgba(255, 255, 255, 0.06);
  --max:         1140px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ensure <picture> is invisible to layout — children render as direct descendants */
picture { display: contents; }

/* ── STARFIELD ── */
#starfield {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── GLOBAL LAYOUT ── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2.5rem;
}

section { position: relative; z-index: 1; }

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3.5rem;
  background: rgba(13, 11, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s, box-shadow 0.3s;
}

nav.scrolled {
  background: rgba(13, 11, 26, 0.97);
  box-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.nav-logo {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}

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

.nav-links a {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

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

/* Samples dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown > a::after {
  content: '▾';
  margin-left: 0.35em;
  font-size: 0.65rem;
  opacity: 0.5;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 1.2rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--panel);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--gold);
  min-width: 220px;
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

.dropdown-menu a:hover {
  color: var(--gold);
  background: var(--gold-dim);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: 8rem 0 4rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--rule);
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
  z-index: 1;
}

.page-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: block;
}

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--text);
  text-wrap: balance;
}

.page-title em { font-style: italic; color: var(--gold); }

.page-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.5rem 0 0;
}

/* ── SECTION LABELS ── */
.section-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
  text-wrap: balance;
}

.section-title em { font-style: italic; color: var(--gold); }

/* ── FOOTER ── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--rule);
  padding: 2.5rem 3.5rem;
  background: var(--panel);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-logo {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 28px;
  width: auto;
  display: block;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.footer-credit {
  font-size: 0.68rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  opacity: 0.45;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.footer-credit:hover { opacity: 0.9; }

.footer-credit img {
  width: 14px;
  height: 14px;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ── RULE ── */
.gold-rule {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.8rem 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2.2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

.btn:hover {
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 0 24px var(--gold-glow);
}

.btn-solid {
  background: var(--gold);
  color: var(--bg);
}

.btn-solid:hover {
  background: transparent;
  color: var(--gold);
}

/* ═══════════════════════════════════════════════════════════
   HOME — HERO
   ═══════════════════════════════════════════════════════════ */

#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 7rem 2rem 5rem;
  position: relative;
  z-index: 1;
}

.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(80,60,140,0.18) 0%, transparent 70%);
  top: -120px; left: -180px;
}

.glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,160,74,0.09) 0%, transparent 70%);
  bottom: 60px; right: -120px;
}

.hero-graphic {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 3rem;
  position: relative;
}

.hero-graphic img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--rule);
  box-shadow: 0 0 60px rgba(200,160,74,0.1), 0 12px 48px rgba(0,0,0,0.6);
}

.hero-graphic::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}

.hero-graphic-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--panel);
  border: 1px dashed var(--rule);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-logotype {
  margin: 0 auto 1.5rem;
  max-width: 420px;
}

.hero-logotype img {
  width: 100%;
  height: auto;
  display: block;
  filter: none;
}

.hero-logotype-fallback {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 0.25em;
  color: var(--text);
}

.hero-logotype-fallback span { color: var(--gold); font-weight: 400; }


.hero-nav-words {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.8rem;
}

.hero-nav-words a {
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.6rem 1.6rem;
  border: 1px solid var(--rule);
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.hero-nav-words a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.hero-samples {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 600px;
}

.hero-samples a {
  font-family: 'Jost', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--rule-soft);
  transition: color 0.2s, border-color 0.2s;
}

.hero-samples a:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.4;
}

.scroll-cue span {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* ═══════════════════════════════════════════════════════════
   HOME — INTRO SHOWCASE (Written / Spoken / Imagined)
   ═══════════════════════════════════════════════════════════ */

#intro {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Each chapter is a two-column split row */
.intro-chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
  position: relative;
  border-top: 1px solid var(--rule-soft);
  overflow: hidden;
}

.intro-chapter:last-child {
  border-bottom: 1px solid var(--rule-soft);
}

/* Giant ghost numeral */
.intro-chapter-num {
  position: absolute;
  font-family: 'Cinzel', serif;
  font-size: clamp(9rem, 20vw, 18rem);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  opacity: 0.04;
  color: var(--gold);
  top: 50%;
  letter-spacing: -0.02em;
  transition: opacity 0.6s;
  z-index: 0;
}

.intro-chapter:hover .intro-chapter-num { opacity: 0.10; }

.intro-chapter.left  .intro-chapter-num { left: 2%;  transform: translateY(-50%); }
.intro-chapter.right .intro-chapter-num { right: 2%; transform: translateY(-50%); }
.intro-chapter.center .intro-chapter-num {
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Accent (big word) panel */
.intro-chapter-accent {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.intro-chapter.left .intro-chapter-accent {
  order: 1;
  background: var(--panel);
  border-right: 1px solid var(--rule-soft);
}

.intro-chapter.right .intro-chapter-accent {
  order: 2;
  background: var(--panel-alt);
  border-left: 1px solid var(--rule-soft);
}

.intro-chapter.center .intro-chapter-accent {
  order: 1;
  background: linear-gradient(135deg, var(--panel) 0%, var(--panel-alt) 100%);
  border-right: 1px solid var(--rule-soft);
}

/* Shimmer effect on the accent word */
.intro-chapter-accent-word {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1;
  position: relative;
  transition: transform 0.4s ease;
}

.intro-chapter:hover .intro-chapter-accent-word { transform: scale(1.03); }

.intro-chapter.left  .intro-chapter-accent-word { color: var(--gold); }
.intro-chapter.right .intro-chapter-accent-word { color: var(--teal); }

.intro-chapter.center .intro-chapter-accent-word {
  background: linear-gradient(135deg, var(--gold) 30%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Horizontal shimmer line under accent word */
.intro-chapter-accent::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.4s;
}

.intro-chapter.left  .intro-chapter-accent::after { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.intro-chapter.right .intro-chapter-accent::after { background: linear-gradient(90deg, transparent, var(--teal), transparent); }
.intro-chapter.center .intro-chapter-accent::after { background: linear-gradient(90deg, transparent, var(--gold), var(--teal), transparent); }
.intro-chapter:hover .intro-chapter-accent::after { opacity: 1; }

/* Body (text) panel */
.intro-chapter-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 3.5rem 3.5rem 4rem;
  position: relative;
  z-index: 1;
}

.intro-chapter.left   .intro-chapter-body { order: 2; }
.intro-chapter.right  .intro-chapter-body { order: 1; padding: 3.5rem 4rem 3.5rem 3.5rem; }
.intro-chapter.center .intro-chapter-body { order: 2; }

.intro-chapter-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.intro-chapter.left   .intro-chapter-label { color: var(--gold); }
.intro-chapter.right  .intro-chapter-label { color: var(--teal); }
.intro-chapter.center .intro-chapter-label { color: var(--gold); }

.intro-chapter-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 1.1rem;
  color: var(--text);
  text-wrap: balance;
}

.intro-chapter-body p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 38ch;
}

.intro-chapter.right .intro-chapter-body p { margin-left: auto; }

/* ═══════════════════════════════════════════════════════════
   HOME — SERVICES CAROUSEL
   ═══════════════════════════════════════════════════════════ */

#services {
  position: relative;
  z-index: 1;
  padding: 6rem 0 5rem;
  background: var(--panel);
  border-top: 1px solid var(--rule-soft);
  overflow: hidden;
}

/* Subtle diagonal line decoration */
#services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 80px,
    rgba(200,160,74,0.015) 80px,
    rgba(200,160,74,0.015) 81px
  );
  pointer-events: none;
}

.services-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}

.carousel-wrapper {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
  z-index: 1;
}

.carousel-viewport {
  overflow: hidden;
  padding: 0.5rem 0 0.5rem;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.service-card {
  flex: 0 0 300px;
  min-width: 0;
  background: var(--panel-alt);
  border: 1px solid var(--rule-soft);
  border-top: 2px solid var(--gold);
  padding: 2.5rem 2rem 2rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: border-color 0.3s, box-shadow 0.35s, transform 0.35s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Subtle corner accent */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 40px; height: 40px;
  background: linear-gradient(135deg, transparent 50%, var(--gold-dim) 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  border-top-color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 8px 40px rgba(200,160,74,0.18), 0 2px 8px rgba(0,0,0,0.3);
  transform: translateY(-6px);
}

.service-card:hover::after { opacity: 1; }

.service-card-num {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.65;
  font-variant-numeric: tabular-nums;
}

.service-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
  flex-grow: 1;
}

.service-card-arrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.4;
  transition: opacity 0.25s, transform 0.25s;
  margin-top: auto;
  padding-top: 0.6rem;
}

.service-card:hover .service-card-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.carousel-btn {
  background: none;
  border: 1px solid var(--rule);
  color: var(--text-muted);
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
  outline: none;
}

.carousel-dots {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rule);
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
}

.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.5);
}

/* ── CTA BAND ── */
#cta {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  text-align: center;
  border-top: 1px solid var(--rule-soft);
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,160,74,0.09) 0%, transparent 70%);
  top: -240px; left: -140px;
  pointer-events: none;
  filter: blur(60px);
}

#cta::after {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75,191,191,0.07) 0%, transparent 70%);
  bottom: -180px; right: -100px;
  pointer-events: none;
  filter: blur(60px);
}

.cta-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--text);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
  text-wrap: balance;
}

.cta-quote em { font-style: normal; color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════ */

#about-main {
  position: relative;
  z-index: 1;
  padding: 5rem 0 6rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-photo-frame {
  position: relative;
}

.about-photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--rule);
  box-shadow: 6px 6px 0 var(--panel), 7px 7px 0 var(--rule);
}

.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--panel);
  border: 1px dashed var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.about-creds {
  margin-top: 2rem;
}

.cred-item {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule-soft);
}

.cred-item:first-child { border-top: 1px solid var(--rule-soft); }

.cred-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.cred-value {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.about-bio-col { padding-top: 0.5rem; }

.about-bio-col .section-title { margin-bottom: 1.5rem; }

.about-bio-col p {
  color: var(--text);
  margin-bottom: 1.3rem;
  font-size: 0.97rem;
  line-height: 1.75;
}

.about-bio-col p em { color: var(--text); font-style: italic; }

.rates-box {
  background: var(--panel);
  border: 1px solid var(--rule-soft);
  border-left: 3px solid var(--gold);
  padding: 1.8rem 2rem;
  margin-top: 0.5rem;
}

.rates-box-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.rates-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.rates-cta { margin-top: 1.5rem; }

.testimonial-block {
  border-left: 2px solid rgba(200, 160, 74, 0.4);
  padding: 0.5rem 0 0.5rem 1.8rem;
  margin-bottom: 2.2rem;
}

.testimonial-attr {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.about-bio-col .testimonial-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.72;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.about-bio-col .testimonial-quote p:last-child { margin-bottom: 0; }

.about-bio-col .testimonial-sig {
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 0.5rem;
}

.about-bio-col .testimonial-sig em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   SAMPLES PAGE
   ═══════════════════════════════════════════════════════════ */

.samples-subnav {
  position: sticky;
  top: 64px;
  z-index: 100;
  background: var(--panel);
  border-bottom: 1px solid var(--rule);
}

.samples-subnav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.samples-subnav-inner::-webkit-scrollbar { display: none; }

.subnav-link {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 1rem 1.2rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.subnav-link:hover,
.subnav-link.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.samples-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--rule-soft);
  position: relative;
  z-index: 1;
  scroll-margin-top: 110px;
}

.samples-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.samples-section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.1;
  margin-top: 0.4rem;
}

.samples-section-header h2 em { font-style: italic; color: var(--gold); }

.samples-section-desc {
  max-width: 360px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.samples-section-desc em { color: var(--text); font-style: italic; }

.sample-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.sample-card {
  background: var(--panel);
  border: 1px solid var(--rule-soft);
  padding: 1.8rem 1.6rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.2s, background 0.2s, transform 0.25s;
}
button.sample-card {
  font: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
}

.sample-card:hover {
  border-color: var(--gold);
  background: var(--panel-alt);
  transform: translateY(-2px);
}

.sample-card-type {
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sample-card-type-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.sample-card-type-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sample-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
}

.sample-card-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.sample-card-arrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: auto;
  padding-top: 0.8rem;
  opacity: 0.45;
  transition: opacity 0.2s;
}

.sample-card:hover .sample-card-arrow { opacity: 1; }

/* ── YouTube Facade Player ── */
.yt-player {
  position: relative;
  width: calc(100% + 2rem);
  margin: 0.75rem -1rem -1rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0 0 10px 10px;
  cursor: pointer;
  background: #000;
}

.yt-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.yt-player:hover img { transform: scale(1.03); opacity: 0.85; }

.yt-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}

.yt-play-btn::after {
  content: '';
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  border: 2px solid rgba(255, 255, 255, 0.75);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 55% 50%;
  background-size: 52%;
  transition: background-color 0.2s, transform 0.2s;
}

.yt-player:hover .yt-play-btn::after {
  background-color: rgba(200, 160, 74, 0.85);
  transform: scale(1.08);
}

.yt-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Coming Soon panel (empty sections) ── */
.samples-coming-soon {
  grid-column: 1 / -1;
  border: 1px dashed var(--rule);
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.samples-coming-soon-icon {
  font-size: 1.4rem;
  color: var(--gold);
  opacity: 0.5;
}

.samples-coming-soon p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.samples-coming-soon p em {
  color: var(--gold);
  font-style: normal;
}

.sample-card-placeholder {
  border-style: dashed;
  color: var(--text-muted);
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  cursor: default;
  min-height: 120px;
}

.sample-card-placeholder:hover { border-color: var(--rule-soft); transform: none; }

.sample-card-placeholder span {
  font-size: 1.5rem;
  color: var(--rule);
  display: block;
}

.sample-card-audio { border-top: 2px solid var(--teal); }
.sample-card-audio:hover { border-color: var(--teal); border-top-color: var(--teal); }

.sample-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 30px;
  margin: 0.5rem 0;
}

.sample-waveform span {
  flex: 1;
  height: var(--h, 50%);
  background: var(--teal);
  opacity: 0.35;
  border-radius: 1px;
  animation: wave 1.2s ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
}

.sample-card-audio:hover .sample-waveform span { opacity: 0.85; }

@keyframes wave {
  from { transform: scaleY(0.35); }
  to   { transform: scaleY(1); }
}

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════ */

#contact-main {
  position: relative;
  z-index: 1;
  padding: 5rem 0 6rem;
}

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

.contact-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 1.3rem;
}

.contact-info h3 em { font-style: italic; color: var(--gold); }

.contact-info > p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-block {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule-soft);
}

.contact-block:first-of-type { border-top: 1px solid var(--rule-soft); }

.contact-block-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.contact-block-value {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-block-value a {
  color: var(--teal);
  text-decoration: none;
}

.contact-block-value a:hover { text-decoration: underline; }

.contact-note {
  margin-top: 1.5rem;
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 1rem 1.2rem;
  border: 1px solid var(--rule-soft);
  background: var(--panel);
}

.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.form-title em { color: var(--gold); }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.form-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--panel);
  border: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  padding: 0.7rem 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible {
  border-color: var(--gold);
  border-bottom-color: var(--gold);
}

/* fallback for browsers without :focus-visible */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  border-bottom-color: var(--gold);
}

.form-textarea { min-height: 140px; resize: vertical; line-height: 1.6; }

.form-select option { background: var(--panel); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit {
  display: block;
  width: 100%;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--bg);
  border: none;
  padding: 1rem;
  cursor: pointer;
  transition: background 0.25s, opacity 0.25s, box-shadow 0.25s;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: #d4ae62;
  box-shadow: 0 0 20px var(--gold-glow);
}

.form-submit:disabled { opacity: 0.6; cursor: default; }

.form-status {
  text-align: center;
  font-size: 0.85rem;
  color: var(--teal);
  margin-top: 1rem;
  min-height: 1.4em;
}

.form-status.error { color: #e05c6a; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(13, 11, 26, 0.97);
    backdrop-filter: blur(14px);
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 205;
  }
  .nav-links.open a { font-size: 1rem; letter-spacing: 0.2em; }

  /* Hide dropdown on mobile — Samples links to samples.html which has its own subnav */
  .nav-dropdown > a::after { display: none; }
  .nav-links.open .dropdown-menu { display: none; }
  .nav-toggle { display: flex; z-index: 210; position: relative; }
  nav { padding: 1.2rem 1.8rem; }

  .intro-chapter { grid-template-columns: 1fr; min-height: auto; }

  .intro-chapter.left  .intro-chapter-accent,
  .intro-chapter.right .intro-chapter-accent,
  .intro-chapter.center .intro-chapter-accent {
    order: 1;
    min-height: 180px;
    border-right: none;
    border-left: none;
    border-bottom: 1px solid var(--rule-soft);
  }

  .intro-chapter.left  .intro-chapter-body,
  .intro-chapter.right .intro-chapter-body,
  .intro-chapter.center .intro-chapter-body {
    order: 2;
    padding: 2.5rem 1.8rem;
  }

  .intro-chapter.right .intro-chapter-body p { margin-left: 0; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }

  footer { padding: 2rem 1.8rem; flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .container { padding: 0 1.2rem; }
  .carousel-wrapper { padding: 0 1.2rem; }
  .hero-graphic { max-width: 100%; }
  .samples-section-header { flex-direction: column; }
  .sample-cards { grid-template-columns: 1fr; }
}

/* ── SCROLL BUTTONS ── */
.scroll-btns {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 150;
}

.scroll-btn {
  width: 38px;
  height: 38px;
  background: rgba(13, 11, 26, 0.85);
  border: 1px solid var(--rule);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.2s, color 0.2s, background 0.2s, opacity 0.3s, transform 0.3s;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.scroll-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(13, 11, 26, 0.97);
}

.scroll-btn:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  outline: none;
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  /* Reveal animations: skip to visible state immediately */
  .reveal,
  .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* Kill all CSS keyframe animations */
  .scroll-line,
  .sample-waveform span {
    animation: none;
  }

  /* Carousel slides instantly */
  .carousel-track {
    transition: none;
  }

  /* Suppress hover motion on cards and chapters */
  .service-card,
  .sample-card,
  .intro-chapter-accent-word {
    transition: none;
  }

  .service-card:hover,
  .sample-card:hover {
    transform: none;
  }

  .intro-chapter:hover .intro-chapter-accent-word {
    transform: none;
  }

}


/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(13, 11, 26, 0.93);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  overscroll-behavior: contain;
}

.lightbox.open {
  display: flex;
}

.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 901;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.lightbox-close:hover {
  background: var(--gold);
  color: var(--bg);
}

.lightbox-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 3.5rem 1.5rem 1.5rem;
  box-sizing: border-box;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(200, 160, 74, 0.18);
}

.lightbox-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
}
