/* ============================================================
   billredenius.com — Core Stylesheet
   Aesthetic: Editorial Military. Dark structure, brass accents.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Barlow:wght@300;400;500;600&family=Barlow+Condensed:wght@500;600;700&display=swap');

/* ── Variables ──────────────────────────────────────────── */
:root {
  --ink:        #0e0e0e;
  --charcoal:   #1c1c1c;
  --mid:        #2e2e2e;
  --smoke:      #555555;
  --stone:      #8a8a8a;
  --rule:       #2a2a2a;
  --gold:       #b8924a;
  --gold-light: #d4a96a;
  --parchment:  #f4f0e8;
  --cream:      #faf8f4;
  --white:      #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Barlow', sans-serif;
  --font-label:   'Barlow Condensed', sans-serif;

  --max-w:    1140px;
  --nav-h:    72px;
  --section:  100px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utility ────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.gold      { color: var(--gold); }
.label {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}
.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0 28px;
}
.divider.center { margin: 20px auto 28px; }
.btn {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: var(--transition);
  cursor: pointer;
}
.btn:hover { background: var(--gold); color: var(--ink); }
.btn.solid  { background: var(--gold); color: var(--ink); }
.btn.solid:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(14,14,14,0.97);
  border-bottom-color: var(--rule);
  backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--parchment); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 22px;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: var(--transition);
}
.nav-cta:hover { background: var(--gold); color: var(--ink); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  width: 24px; height: 2px;
  background: var(--parchment);
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--ink);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--parchment);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(184,146,74,0.07) 0%, transparent 70%),
    linear-gradient(160deg, #0e0e0e 0%, #141410 50%, #0e0e0e 100%);
}
.hero-rule {
  position: absolute;
  top: 0; bottom: 0;
  left: 58%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--rule) 20%, var(--rule) 80%, transparent);
  opacity: 0.6;
}
.hero-content {
  position: relative;
  max-width: 620px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.hero-eyebrow-line {
  width: 40px; height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 12px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: italic;
  color: var(--stone);
  margin-bottom: 32px;
  line-height: 1.4;
}
.hero-body {
  font-size: 16px;
  color: var(--stone);
  max-width: 500px;
  margin-bottom: 44px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll span {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--smoke);
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--smoke), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.3); }
}

/* ── Credentials Bar ────────────────────────────────────── */
.credentials {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
}
.credentials-inner {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.cred-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cred-icon {
  width: 2px;
  height: 32px;
  background: var(--gold);
}
.cred-text {}
.cred-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.cred-label {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 2px;
}

/* ── Section Base ───────────────────────────────────────── */
section { padding: var(--section) 0; }
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--white);
}
.section-body {
  font-size: 16px;
  color: var(--stone);
  max-width: 560px;
  line-height: 1.85;
  margin-top: 20px;
}
.section-body.wide { max-width: 720px; }

/* ── About Section ──────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-frame {
  position: relative;
}
.about-img-frame::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  right: 16px; bottom: 16px;
  border: 1px solid var(--gold);
  opacity: 0.4;
  pointer-events: none;
}
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(184,146,74,0.05) 0%, transparent 60%);
}
.about-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img-caption {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  background: linear-gradient(to top, rgba(14,14,14,0.9), transparent);
  padding: 32px 24px 20px;
}
.about-content {}
.about-pull {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 26px);
  font-style: italic;
  color: var(--parchment);
  line-height: 1.5;
  margin-bottom: 28px;
  border-left: 2px solid var(--gold);
  padding-left: 24px;
}
.about-body {
  font-size: 16px;
  color: var(--stone);
  line-height: 1.85;
  margin-bottom: 16px;
}
.about-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.tag {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--rule);
  color: var(--stone);
}

/* ── Book Section ───────────────────────────────────────── */
.book-section {
  background: var(--charcoal);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.book-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: center;
}
.book-cover-wrap {
  position: relative;
  width: 280px;
}
.book-cover-shadow {
  position: absolute;
  bottom: -20px; left: 10px; right: 10px;
  height: 40px;
  background: rgba(0,0,0,0.5);
  filter: blur(20px);
}
.book-cover {
  width: 280px;
  aspect-ratio: 2/3;
  background: var(--mid);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-left: 6px solid var(--gold);
}
.book-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(184,146,74,0.12) 0%, transparent 70%);
}
.book-cover-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
  position: relative;
  line-height: 1.2;
  z-index: 1;
}
.book-cover-title em {
  display: block;
  font-style: italic;
  color: var(--gold);
  font-size: 28px;
}
.book-cover-author {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 20px;
  position: relative;
  z-index: 1;
}
.book-cover-rule {
  width: 40px; height: 1px;
  background: var(--gold);
  margin: 12px auto;
  position: relative;
  z-index: 1;
}
.book-content {}
.book-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.book-body {
  font-size: 16px;
  color: var(--stone);
  line-height: 1.85;
  margin-bottom: 16px;
}
.book-pillars {
  margin: 36px 0;
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.pillar {
  background: var(--charcoal);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.pillar-num {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  min-width: 28px;
}
.pillar-text {
  font-size: 15px;
  color: var(--parchment);
  font-weight: 400;
}

/* ── Philosophy Section ─────────────────────────────────── */
.philosophy-section {
  position: relative;
  overflow: hidden;
}
.philosophy-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(184,146,74,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 64px;
}
.philosophy-card {
  background: var(--ink);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.philosophy-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.philosophy-card:hover::after { transform: scaleX(1); }
.philosophy-card:hover { background: var(--charcoal); }
.pc-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: var(--rule);
  line-height: 1;
  margin-bottom: 24px;
  transition: var(--transition);
}
.philosophy-card:hover .pc-num { color: rgba(184,146,74,0.15); }
.pc-title {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.pc-body {
  font-size: 15px;
  color: var(--stone);
  line-height: 1.8;
}

/* ── Quote Block ────────────────────────────────────────── */
.quote-block {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 80px 0;
  text-align: center;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.3;
  display: block;
  margin-bottom: 24px;
}
.quote-text {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 38px);
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.4;
}
.quote-attr {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ── Writing/X Feed Section ─────────────────────────────── */
.writing-section {}
.writing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.writing-card {
  background: var(--ink);
  padding: 36px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.writing-card:hover { background: var(--charcoal); }
.wc-tag {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.wc-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 12px;
  flex: 1;
}
.wc-body {
  font-size: 14px;
  color: var(--stone);
  line-height: 1.75;
  margin-bottom: 24px;
}
.wc-link {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  transition: var(--transition);
}
.wc-link:hover { color: var(--gold-light); }

/* ── Contact / CTA ──────────────────────────────────────── */
.cta-section {
  background: var(--charcoal);
  border-top: 1px solid var(--rule);
  text-align: center;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.cta-body {
  font-size: 16px;
  color: var(--stone);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.8;
}
.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--rule);
  padding: 48px 0 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
}
.footer-logo span { color: var(--gold); }
.footer-links {
  display: flex;
  gap: 32px;
}
.footer-links a {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--parchment); }
.footer-copy {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--smoke);
}
.footer-social {
  display: flex;
  gap: 16px;
}
.social-link {
  width: 36px; height: 36px;
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: var(--transition);
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }

/* ── Inner Page Hero ────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  border-bottom: 1px solid var(--rule);
}
.page-hero-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.page-hero-line { width: 40px; height: 1px; background: var(--gold); }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--white);
}
.page-subtitle {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-style: italic;
  color: var(--stone);
  margin-top: 16px;
  max-width: 600px;
}

/* ── Contact Form ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.form-group { margin-bottom: 24px; }
.form-label {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--charcoal);
  border: 1px solid var(--rule);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-select {
  cursor: pointer;
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--gold); }
.form-input::placeholder,
.form-textarea::placeholder { color: var(--smoke); }

/* ── Animations ─────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-d1 { transition-delay: 0.1s; }
.fade-up-d2 { transition-delay: 0.2s; }
.fade-up-d3 { transition-delay: 0.3s; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --section: 72px; }
  .about-grid,
  .book-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .philosophy-grid,
  .writing-grid { grid-template-columns: 1fr; }
  .book-cover-wrap { width: 220px; margin: 0 auto; }
  .book-cover { width: 220px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .credentials-inner { gap: 32px; }
  .hero-rule { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
}
