@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Cormorant+Garamond:wght@400;500;600&display=swap");

:root{
  --bg: #07080a;
  --panel: rgba(255,255,255,.035);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.62);
  --subtle: rgba(255,255,255,.42);
  --hair: rgba(255,255,255,.12);
  --hair2: rgba(255,255,255,.08);

  --max: 1120px;

  --serif: "Cormorant Garamond", ui-serif, Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;

  --radius: 18px;
  --radius2: 24px;
  --shadow: 0 18px 70px rgba(0,0,0,.55);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Background texture without needing a .bg div */
body::before{
  content:"";
  position: fixed;
  inset:0;
  z-index:-2;
  background:
    radial-gradient(1200px 900px at 15% 10%, rgba(255,255,255,.08), transparent 58%),
    radial-gradient(900px 800px at 85% 22%, rgba(255,255,255,.05), transparent 62%),
    radial-gradient(1100px 1000px at 55% 90%, rgba(255,255,255,.045), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 40%),
    var(--bg);
}
body::after{
  content:"";
  position: fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.35;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
}

/* Layout */
.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 28px;
}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--hair2);
  background: rgba(7,8,10,.55);
  backdrop-filter: blur(10px);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 16px;
  text-decoration:none;
  color: var(--text);
  min-width: 320px;
}
.logo{
  width: 132px;
  height: auto;
  display:block;
  filter: contrast(105%);
  opacity: .96;
}

.brand-text{ line-height:1.1; }
.brand-name{
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .01em;
}
.brand-sub{
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Nav */
.nav{
  display:flex;
  align-items:center;
  gap: 22px;
}
.nav a{
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration:none;
  position: relative;
  padding: 8px 0;
  transition: color .18s ease;
}
.nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom: 3px;
  width:100%;
  height:1px;
  background: var(--text);
  opacity:0;
  transform: scaleX(.86);
  transform-origin:left;
  transition: opacity .18s ease, transform .18s ease;
}
.nav a:hover{ color: var(--text); }
.nav a:hover::after{ opacity:.6; transform: scaleX(1); }

/* Global link behavior: kill blue, including visited */
a, a:visited{
  color: inherit;
}
a{ text-decoration:none; }
a.inline-link{
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,.28);
  padding-bottom: 1px;
  transition: border-color .18s ease, color .18s ease;
}
a.inline-link:hover{
  color: rgba(255,255,255,.98);
  border-bottom-color: rgba(255,255,255,.62);
}
.hero{
  position: relative;
  overflow: hidden;
}

.hero-mark{
  position: absolute;
  right: -120px;
  top: -120px;
  width: 560px;
  height: 560px;
  opacity: 0.06;
  filter: blur(0.2px);
  transform: rotate(-8deg);
  pointer-events: none;
  user-select: none;
}

@media (max-width: 980px){
  .hero-mark{
    right: -180px;
    top: -180px;
    width: 520px;
    height: 520px;
    opacity: 0.05;
  }
}

/* Hero */
.hero{
  padding: 88px 0 64px;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 72px;
  align-items: start;
  border-bottom: 1px solid var(--hair2);
}
.hero h1{
  margin:0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 76px;
  line-height: 0.96;
  letter-spacing: -0.01em;
}
.lede{
  margin: 12px 0 0;
  font-size: 16px;
  color: var(--muted);
  max-width: 46ch;
}
.note{
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--subtle);
  letter-spacing: .02em;
}

/* Actions (buttons) */
.actions{
  margin-top: 32px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
  user-select:none;
}
.btn:hover{
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.28);
  transform: translateY(-1px);
}
.btn:active{ transform: translateY(0); }
.btn.ghost{ background: transparent; }
.btn.ghost:hover{ background: rgba(255,255,255,.05); }

/* Sections */
.section{
  padding: 72px 0;
  border-bottom: 1px solid var(--hair2);
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.section h2{
  margin:0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -0.005em;
}
.section-kicker{
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Roster */
.roster{
  list-style:none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.roster-item{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 18px;
  border: 1px solid var(--hair2);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.roster-item:hover{
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.05);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.roster-left{
  min-width: 0;
}
.roster-name{
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .01em;
}
.roster-links{
  margin-top: 10px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Link chips */
.chip{
  display:inline-flex;
  align-items:center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.chip:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.26);
  color: var(--text);
  transform: translateY(-1px);
}
.muted-chip{
  border-style: dashed;
  color: rgba(255,255,255,.45);
}

/* Book / Contact pill on right */
.roster-cta{
  flex: 0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  color: var(--text);
  background: transparent;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.roster-cta:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.28);
  transform: translateY(-1px);
}

/* Contact card */
.contact-card{
  margin-top: 18px;
  border: 1px solid var(--hair2);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding: 20px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}
.contact-label{
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-email{
  display: inline-block;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.28);
  padding-bottom: 2px;
  transition: border-color .18s ease;
}
.contact-email:hover{
  border-bottom-color: rgba(255,255,255,.62);
}
.contact-note{
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,.48);
}
.contact-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Footer */
.footer{
  padding: 30px 0 12px;
  color: var(--subtle);
  font-size: 12px;
  letter-spacing: .06em;
}

/* Toast */
.toast{
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: rgba(15,16,20,.78);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.toast.show{
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

/* Reveal animation (matches script.js) */
.reveal{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{ transition:none; transform:none; opacity:1; }
  .btn, .roster-item, .roster-cta, .chip{ transition:none; }
}

/* Responsive */
@media (max-width: 980px){
  .hero{
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 64px 0 54px;
  }
  .hero h1{
    font-size: 54px;
    line-height: 1.02;
  }
  .brand{ min-width: 0; }
  .logo{ width: 110px; }
}
@media (max-width: 820px){
  .contact-card{ grid-template-columns: 1fr; }
  .contact-actions{ justify-content: flex-start; }
}
@media (max-width: 560px){
  .wrap{ padding: 34px 18px; }
  .header-inner{ padding-top: 14px; padding-bottom: 14px; }
  .nav{ gap: 16px; }
  .section{ padding: 54px 0; }
  .roster-item{ padding: 16px 14px; }
}


.logo-mark{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  padding: 10px;
}
