/* ========================================================================
   Samuel Frederick — EPK / Media Kit
   Dark, sleek, fluid single-page site
   ======================================================================== */

:root {
  --bg: #0a0a0b;
  --bg-raised: #131315;
  --bg-alt: #101012;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f1ec;
  --text-muted: #a7a49d;
  --text-dim: #78756f;
  --accent: #cda45f;
  --accent-soft: rgba(205, 164, 95, 0.14);
  --accent-text: #171410;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: min(1120px, 100% - 3rem);
  --section-pad: clamp(4.5rem, 4rem + 4vw, 8rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
}

img { max-width: 100%; display: block; }

/* subtle film-grain texture over the whole page */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.section-lede {
  color: var(--text-muted);
  max-width: 46ch;
  font-size: 1.05rem;
  margin-top: 0.9rem;
}

/* ========================= reveal-on-scroll ========================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================= header ================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.6rem 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  padding: 0.4rem 0;
}

.header-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand-mark {
  height: 156px;
  width: auto;
  object-fit: contain;
  transition: height 0.4s var(--ease);
}
.site-header.scrolled .brand-mark {
  height: 108px;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.25s var(--ease);
}
.site-nav a:hover { color: var(--text); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--accent);
  transition: right 0.3s var(--ease);
}
.site-nav a:hover::after { right: 0; }

.nav-cta {
  color: var(--text) !important;
  border: 1px solid var(--line-strong);
  padding: 0.55rem 1.1rem !important;
  border-radius: 999px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.nav-cta:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--text);
  width: 22px;
  margin: 0 auto;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================== hero ================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: #050505;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-photo[data-placeholder="true"] {
  display: none;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(205, 164, 95, 0.10), transparent 55%),
    linear-gradient(160deg, #151417 0%, #0a0a0b 55%, #050505 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,0.35) 0%, rgba(10,10,11,0.55) 55%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-mark {
  height: clamp(50px, 5vw, 72px);
  width: auto;
  margin-bottom: 1.75rem;
  opacity: 0.9;
}

.hero-name {
  font-size: clamp(2.75rem, 6vw + 1rem, 6rem);
  color: var(--text);
}

.hero-tagline {
  margin-top: 1.1rem;
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.25rem);
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 400;
}

.hero-actions {
  margin-top: 2.75rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #dbb471;
}
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 22px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.scroll-cue span {
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ============================ sections =============================== */
.section {
  padding: var(--section-pad) 0;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-inner {
  width: var(--container);
  margin: 0 auto;
}
.section h2 {
  font-size: clamp(2rem, 1.2vw + 1.6rem, 2.85rem);
  margin-bottom: 0.4rem;
}

/* ================================ bio ================================= */
.bio-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.image-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-raised);
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.image-frame img[data-placeholder="true"] { display: none; }
.image-frame.is-empty::after {
  content: "Photo";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  color: var(--text-dim);
  font-size: 1rem;
  background: linear-gradient(135deg, rgba(205,164,95,0.05), transparent 60%);
}

.bio-text h2 { margin-bottom: 1.5rem; }
.bio-paragraph {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
  max-width: 58ch;
}

.bio-facts {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}
.fact { display: flex; flex-direction: column; gap: 0.3rem; }
.fact-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.fact-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
}

/* =============================== videos =============================== */
.video-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-raised);
  border: 1px solid var(--line);
}
.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  position: relative;
  z-index: 1;
}
.video-frame iframe[data-placeholder="true"] { display: none; }

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(205,164,95,0.06), transparent 60%),
    var(--bg-raised);
}
.video-placeholder span {
  font-family: var(--font-display);
  color: var(--text-muted);
  font-size: 1rem;
}
.video-placeholder small {
  color: var(--text-dim);
  font-size: 0.75rem;
}
.video-caption {
  margin-top: 0.9rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =============================== photos ================================ */
.photo-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
  gap: 1rem;
}
.photo-item {
  grid-column: span 2;
  grid-row: span 2;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  position: relative;
}
.photo-item.tall { grid-row: span 3; }
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.photo-item:hover img { transform: scale(1.05); }
.photo-item img[data-placeholder="true"] { display: none; }
.photo-item.is-empty::after {
  content: "Photo";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  color: var(--text-dim);
  font-size: 0.95rem;
  background: linear-gradient(135deg, rgba(205,164,95,0.05), transparent 60%);
}

/* ================================ music ================================ */
.music-embed {
  margin-top: 3rem;
}
.embed-placeholder {
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  padding: 3rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--bg-raised);
}
.embed-placeholder span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-muted);
}
.embed-placeholder small { color: var(--text-dim); font-size: 0.8rem; }

.stream-links {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.stream-link {
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--text);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.stream-link:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

/* ================================ press ================================= */
.quote-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.quote-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2rem;
  background: var(--bg-raised);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}
.quote-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.5;
}
.quote-card cite {
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* =============================== contact ================================ */
.section-contact { background: var(--bg-alt); border-top: 1px solid var(--line); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.section-contact .section-lede { margin-bottom: 2.25rem; }

.contact-details {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.75rem, 2vw, 2.5rem);
  background: var(--bg-raised);
}
.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-of-type { border-bottom: none; }
.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.contact-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  transition: color 0.25s var(--ease);
}
a.contact-value:hover { color: var(--accent); }

.social-row {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.social-link {
  font-size: 0.82rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-muted);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.social-link:hover { color: var(--text); border-color: var(--accent); }

/* ================================ footer ================================ */
.site-footer {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  border-top: 1px solid var(--line);
}
.footer-mark {
  height: 138px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 1.25rem;
  opacity: 0.9;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.footer-copy {
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* ================================ responsive ============================= */
@media (max-width: 900px) {
  .bio-grid, .contact-grid { grid-template-columns: 1fr; }
  .image-frame { aspect-ratio: 16 / 10; max-width: 420px; }
  .video-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 110px; }
}

@media (max-width: 720px) {
  .site-nav {
    position: fixed;
    inset: 0 0 0 30%;
    top: 0;
    background: rgba(10, 10, 11, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.75rem;
    padding: 2rem 2.25rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    border-left: 1px solid var(--line);
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { font-size: 1.15rem; }
  .nav-toggle { display: flex; }

  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-item.tall { grid-row: span 2; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .btn { width: 100%; }
  .bio-facts { grid-template-columns: 1fr; }
}
