:root {
  --bg: #060504;
  --panel: #0f0c08;
  --panel-2: #16110a;
  --text: #f5eee2;
  --muted: #b7aa98;
  --gold: #d4972e;
  --gold-2: #f2bd5a;
  --line: rgba(212,151,46,.28);
  --shadow: 0 25px 80px rgba(0,0,0,.55);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 78% 8%, rgba(212,151,46,.20), transparent 33%),
              radial-gradient(circle at 8% 18%, rgba(140,76,21,.24), transparent 30%),
              var(--bg);
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 280 280' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,151,46,.18), transparent 66%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  z-index: 100;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 4vw, 58px);
  background: rgba(6,5,4,.66);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  z-index: 80;
}

.brand, .signature {
  color: var(--gold-2);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
}

.brand { font-size: 1.05rem; }
.signature {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .82rem;
  background: rgba(212,151,46,.08);
}

.main-nav {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav a {
  position: relative;
  transition: color .25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--gold-2);
  transition: width .25s ease;
}

.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  color: var(--text);
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 130px) clamp(18px, 4vw, 32px);
  z-index: 2;
}

.hero {
  max-width: none;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 580px);
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
  padding-top: 120px;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,5,4,.92) 0%, rgba(6,5,4,.70) 44%, rgba(6,5,4,.28) 100%),
              url('assets/cinematic-texture.jpg') center/cover no-repeat;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% 0 -10%;
  height: 220px;
  background: linear-gradient(0deg, var(--bg), transparent);
  z-index: -1;
}

.eyebrow {
  color: var(--gold-2);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: .72rem;
  margin: 0 0 18px;
}

h1, h2, h3 { margin: 0; line-height: .92; }
h1 {
  font-size: clamp(4.8rem, 13vw, 12rem);
  text-transform: uppercase;
  letter-spacing: -.08em;
  max-width: 680px;
}
h1 span {
  display: block;
  color: var(--gold);
  text-shadow: 0 0 42px rgba(212,151,46,.18);
}

h2 {
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  letter-spacing: -.06em;
  text-transform: uppercase;
}
h3 { font-size: clamp(1.55rem, 3vw, 2.5rem); }

.hero-line {
  margin: 24px 0 12px;
  color: var(--text);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.hero-copy {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .72rem;
  font-weight: 900;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #140d04; box-shadow: 0 18px 45px rgba(212,151,46,.23); }
.btn-secondary { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.03); }

.hero-visual { position: relative; perspective: 1200px; }
.portrait-shell {
  position: relative;
  overflow: hidden;
  border-radius: 46% 54% 38% 62% / 58% 42% 58% 42%;
  background: linear-gradient(135deg, rgba(212,151,46,.55), rgba(255,255,255,.06));
  padding: 8px;
  box-shadow: var(--shadow), 0 0 80px rgba(212,151,46,.16);
}
.portrait-shell img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border-radius: inherit;
  filter: saturate(1.05) contrast(1.08);
}
.portrait-border {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(242,189,90,.24);
  border-radius: inherit;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  min-width: 190px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8,7,5,.68);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  animation: float 4.4s ease-in-out infinite;
}
.floating-card span { color: var(--gold-2); font-weight: 900; margin-right: 10px; }
.floating-card strong { font-size: .75rem; letter-spacing: .13em; text-transform: uppercase; }
.card-one { right: 4%; top: 12%; }
.card-two { left: -6%; bottom: 24%; animation-delay: .8s; }
.card-three { right: 2%; bottom: 8%; animation-delay: 1.4s; }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(15,12,8,.86);
  position: relative;
  z-index: 3;
}
.ticker-track {
  width: max-content;
  display: flex;
  gap: 34px;
  align-items: center;
  padding: 16px 0;
  animation: marquee 30s linear infinite;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
}
.ticker-track span { color: var(--gold-2); margin-left: 34px; }
.ticker-track b::before { content: "✦"; color: var(--gold); margin-right: 34px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.about {
  display: grid;
  grid-template-columns: 1fr 340px 1fr;
  gap: 28px;
  align-items: center;
}
.section-copy p:not(.eyebrow), .section-heading p:not(.eyebrow), .book-info p, .cta p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}
.section-copy h2, .section-heading h2 { margin-bottom: 24px; }
.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--gold-2);
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .72rem;
}
.text-link::after { content: " →"; }

.stats-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  padding: 26px;
}
.stat + .stat { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 22px; }
.stat-number { display: block; font-size: 3rem; color: var(--gold-2); font-weight: 900; line-height: 1; }
.stat small { text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 800; }
.about-image {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.about-image img { height: 440px; width: 100%; object-fit: cover; filter: grayscale(.38) contrast(1.1); }

.section-heading { max-width: 760px; margin-bottom: 44px; }
.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.role-card {
  min-height: 260px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 22%, rgba(212,151,46,.30), transparent 28%),
    linear-gradient(180deg, rgba(30,22,12,.45), rgba(6,5,4,.95)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 20px);
  box-shadow: 0 18px 40px rgba(0,0,0,.32);
}
.role-card::before {
  content: "";
  position: absolute;
  inset: 18px 18px 80px;
  border: 1px solid rgba(242,189,90,.18);
  border-radius: 18px;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 60%);
}
.role-card::after {
  content: "RW";
  position: absolute;
  top: 28px;
  left: 28px;
  color: rgba(242,189,90,.10);
  font-weight: 1000;
  font-size: 3rem;
}
.role-card span { color: var(--gold-2); font-weight: 900; letter-spacing: .1em; }
.role-card h3 { margin-top: 10px; text-transform: uppercase; font-size: 1.45rem; line-height: 1; }
.role-card p { color: var(--muted); margin: 10px 0 0; }
.role-card.featured { grid-row: span 2; min-height: 540px; background: radial-gradient(circle at 60% 18%, rgba(242,189,90,.42), transparent 32%), linear-gradient(180deg, rgba(56,35,10,.58), rgba(6,5,4,.98)); }
.role-card.featured h3 { font-size: 2.3rem; }

.books {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.book-controls { display: flex; gap: 12px; margin-top: 28px; }
.book-controls button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.book-controls button:hover { background: rgba(212,151,46,.14); transform: translateY(-2px); }
.book-stage {
  min-height: 560px;
  display: grid;
  place-items: center;
  position: relative;
  perspective: 1200px;
}
.main-book {
  width: min(430px, 76vw);
  position: relative;
  border-radius: 22px;
  filter: drop-shadow(0 38px 48px rgba(0,0,0,.56));
  z-index: 2;
  transition: transform .4s ease, opacity .3s ease;
}
.main-book img { border-radius: 18px; }
.book-badge {
  position: absolute;
  right: -20px;
  top: 22px;
  padding: 12px 14px;
  border-radius: 999px;
  color: #130d04;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .65rem;
}
.small-book {
  position: absolute;
  width: 210px;
  height: 320px;
  opacity: .72;
  z-index: 1;
  filter: drop-shadow(0 24px 38px rgba(0,0,0,.50));
}
.left-book { left: 3%; transform: rotateY(28deg) rotateZ(-4deg); }
.right-book { right: 3%; transform: rotateY(-28deg) rotateZ(4deg); }
.book-cover {
  height: 100%;
  border-radius: 16px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 20%, rgba(242,189,90,.22), transparent 36%), linear-gradient(180deg, #242018, #0a0806);
}
.book-cover h3 { color: var(--gold-2); text-transform: uppercase; font-size: 2.25rem; letter-spacing: -.04em; }
.book-cover span, .book-cover small { color: var(--muted); text-transform: uppercase; letter-spacing: .13em; font-weight: 800; }
.book-cover.reflex { background: radial-gradient(circle at 50% 20%, rgba(255,255,255,.10), transparent 36%), linear-gradient(180deg, #1d2223, #0a0806); }
.book-info {
  grid-column: 2;
  margin-top: -70px;
  border: 1px solid var(--line);
  background: rgba(10,8,5,.60);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 660px;
}
.book-info h3 { margin-bottom: 12px; text-transform: uppercase; color: var(--gold-2); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 16px;
}
.gallery-tile {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(212,151,46,.18), rgba(255,255,255,.04));
  display: grid;
  place-items: center;
  min-height: 160px;
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery-tile span {
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
}
.gallery-tile.tall { grid-row: span 2; }
.gallery-tile.wide { grid-column: span 2; }

.cta-card {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 10px);
  background:
    radial-gradient(circle at 78% 18%, rgba(212,151,46,.23), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  padding: clamp(34px, 6vw, 74px);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.cta-card::after {
  content: "RW";
  position: absolute;
  right: 36px;
  bottom: -20px;
  font-size: clamp(7rem, 18vw, 14rem);
  font-weight: 1000;
  letter-spacing: -.12em;
  color: rgba(242,189,90,.08);
}
.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.contact-list a, .contact-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(0,0,0,.22);
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px clamp(18px, 4vw, 58px);
  color: var(--muted);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  font-size: .85rem;
}
.site-footer p { margin: 0; max-width: 720px; line-height: 1.6; }
.site-footer a { color: var(--gold-2); }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.tilt-card { transform-style: preserve-3d; transition: transform .18s ease; }

@media (max-width: 980px) {
  .signature { display: none; }
  .menu-toggle { display: block; z-index: 91; }
  .main-nav {
    position: fixed;
    inset: 76px 14px auto 14px;
    display: grid;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(8,7,5,.95);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
  }
  body.nav-open .main-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 120px; }
  .hero-visual { max-width: 540px; margin: 0 auto; }
  .about { grid-template-columns: 1fr; }
  .stats-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .stat + .stat { margin-top: 0; padding-top: 0; border-top: none; border-left: 1px solid var(--line); padding-left: 18px; }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .books { grid-template-columns: 1fr; }
  .book-info { grid-column: auto; margin-top: -30px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer { flex-direction: column; }
}

@media (max-width: 640px) {
  .site-header { height: 68px; }
  .main-nav { top: 68px; }
  h1 { font-size: 4.8rem; }
  .hero-actions { width: 100%; }
  .btn { width: 100%; }
  .floating-card { display: none; }
  .stats-panel { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 22px; }
  .role-grid { grid-template-columns: 1fr; }
  .role-card.featured { min-height: 300px; grid-row: auto; }
  .small-book { display: none; }
  .book-stage { min-height: 420px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-tile.wide, .gallery-tile.tall { grid-column: auto; grid-row: auto; }
  .cursor-glow { display: none; }
}
