/* ============================================================
   about.css – Baby Hawk About Page
   Rainbow Vintage Dark Theme
   ============================================================ */

:root {
  --bg-dark: #0d0a08;
  --bg-panel: #120e0a;
  --text-primary: #f5ede0;
  --text-secondary: #d4c8b8;
  --text-body: #d0c8b8;
  --text-dim: #9a8a7a;
  --text-muted: #7a6a5a;
  --red: #e87050;
  --orange: #e8a050;
  --yellow: #e8c850;
  --green: #80b87a;
  --blue: #6090c8;
  --indigo: #7a70b8;
  --violet: #b870b8;
  --accent: #e8a050;
  --accent-light: #f0c870;
  --accent-border: rgba(232, 160, 80, 0.4);
  --gold: #e8c850;
  --crimson: #e87050;
  --header-height: 3.8rem;
  --footer-height: 4.4rem;
  --white-soft: rgba(245, 237, 224, 0.85);
  --white-dim: rgba(245, 237, 224, 0.45);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  overflow: hidden;
}

body {
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg-dark);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(13, 10, 8, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 160, 80, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo img {
  height: 34px;
  width: auto;
  display: block;
  filter: brightness(1.1);
}

/* Desktop Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-secondary);
  white-space: nowrap;
  user-select: none;
  border: none;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0.7rem;
  right: 0.7rem;
  height: 1.5px;
  background: var(--accent-light);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-link:hover::after {
  opacity: 1;
}

.nav-link.active {
  color: var(--accent-light);
}

.nav-link.active::after {
  opacity: 1;
}

/* Burger Button */
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 51;
}

.burger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-secondary);
  transition: 0.25s ease;
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(13, 10, 8, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 160, 80, 0.06);
  padding: 0.5rem 1.5rem 1rem;
}

.nav-mobile .nav-link {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.65rem;
}

.nav-mobile .nav-link::after {
  display: none;
}

.nav-mobile .nav-link.active {
  color: var(--accent-light);
}

.nav-mobile.open {
  display: flex;
}

/* ============================================================
   CENTER STAGE
   ============================================================ */
.center-stage {
  display: flex;
  flex-direction: row;
  height: calc(100vh - var(--header-height) - var(--footer-height));
  width: 100%;
  overflow: hidden;
  margin-top: var(--header-height);
}

/* ============================================================
   PERIPHERY IMAGES
   ============================================================ */
.periphery {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}

.floating-image {
  width: 100%;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-image img {
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(232, 160, 80, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   MANUSCRIPT
   ============================================================ */
.manifesto {
  flex: 1 1 0;
  min-width: 0;
  max-width: 620px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2rem 2rem 1rem;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.06) transparent;
}

.manifesto::-webkit-scrollbar {
  width: 3px;
}

.manifesto::-webkit-scrollbar-track {
  background: transparent;
}

.manifesto::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.06);
}

.manuscript-header {
  text-align: center;
  margin-bottom: 2rem;
}

.cat-icon {
  color: var(--white-soft);
  opacity: 0.7;
  margin-bottom: 1rem;
  animation: breathe 6s ease-in-out infinite;
}

.cat-svg {
  width: 48px;
  height: auto;
}

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

.curved-line {
  color: var(--white-dim);
  margin: 0.6rem auto;
  width: 80px;
}

.curved-line svg {
  width: 100%;
  height: auto;
}

.manuscript-footer {
  text-align: center;
  margin-top: 1.8rem;
  padding-bottom: 0.5rem;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.name {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 4px;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.name span {
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow), var(--green), var(--blue), var(--indigo), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.manuscript-body {
  font-size: 0.72rem;
  line-height: 1.75;
  color: var(--text-body);
  text-align: justify;
}

.manuscript-body p {
  margin-bottom: 0.85rem;
}

.drop-cap {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 2.8rem;
  font-weight: 400;
  float: left;
  line-height: 0.75;
  padding-right: 0.3rem;
  padding-top: 0.1rem;
  color: var(--red);
}

.heat {
  color: var(--crimson);
  font-style: italic;
}

.closing {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--white-dim);
  letter-spacing: 1px;
}

/* ============================================================
   PULL QUOTES
   ============================================================ */
.pull-quote {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--gold);
  text-align: center;
  margin: 1.5rem 0;
  padding: 0.3rem 1rem;
  border: none;
  opacity: 0.78;
}

/* ============================================================
   FOOTER
   ============================================================ */
.social-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--footer-height);
  background: rgba(13, 10, 8, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(232, 160, 80, 0.06);
  padding: 0.5rem 1rem 0.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  z-index: 20;
  color: var(--text-muted);
}

.social-icons {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.7rem;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.social-link:nth-child(1):hover {
  color: var(--red);
  background: rgba(232, 112, 80, 0.1);
}
.social-link:nth-child(2):hover {
  color: var(--orange);
  background: rgba(232, 160, 80, 0.1);
}
.social-link:nth-child(3):hover {
  color: var(--yellow);
  background: rgba(232, 200, 80, 0.1);
}

.social-link:hover {
  transform: translateY(-2px);
}

.social-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.copyright {
  color: var(--text-primary);
  font-size: 0.6rem;
  letter-spacing: 0.3px;
  opacity: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 1024px) {
  .nav-link {
    padding: 0.35rem 0.5rem;
    font-size: 0.52rem;
    letter-spacing: 0.8px;
  }

  .nav-link::after {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 5px;
  }

  .periphery {
    padding: 1rem 0.7rem;
  }

  .manifesto {
    padding: 1.8rem 1.5rem 1rem;
  }

  .floating-image {
    max-height: 60vh;
  }

  .floating-image img {
    max-height: 60vh;
  }

  .manuscript-body {
    text-align: justify;
  }
}

/* ============================================================
   RESPONSIVE — Tablet Portrait / Burger
   ============================================================ */
@media (max-width: 820px) {
  :root {
    --header-height: 3.6rem;
  }

  .nav-desktop {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .center-stage {
    flex-direction: row;
  }

  .periphery {
    flex: 0 0 25%;
    padding: 1rem 0.5rem;
  }

  .manifesto {
    flex: 1 1 auto;
    max-width: 100%;
    padding: 1.5rem 1.2rem 1rem;
  }

  .name {
    font-size: 1.25rem;
  }

  .manuscript-body {
    font-size: 0.68rem;
    text-align: justify;
  }

  .floating-image {
    max-height: 50vh;
  }

  .floating-image img {
    max-height: 50vh;
  }

  .pull-quote {
    font-size: 0.9rem;
  }
}

/* ============================================================
   RESPONSIVE — Mobile: images as horizontal strip
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --header-height: 3.4rem;
    --footer-height: 5.2rem;
    --image-strip-height: 28vh;
  }

  .header-inner {
    padding: 0 1rem;
  }

  .logo img {
    height: 28px;
  }

  .nav-mobile .nav-link {
    font-size: 0.6rem;
    padding: 0.5rem 0;
  }

  .center-stage {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.06) transparent;
  }

  .center-stage::-webkit-scrollbar {
    width: 3px;
  }

  .center-stage::-webkit-scrollbar-track {
    background: transparent;
  }

  .center-stage::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.06);
  }

  .periphery--left,
  .periphery--right {
    display: flex;
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    height: var(--image-strip-height);
    max-height: var(--image-strip-height);
    padding: 0.75rem 0.4rem;
    align-items: center;
    justify-content: center;
  }

  .periphery--left {
    order: 1;
  }

  .periphery--right {
    order: 2;
  }

  .floating-image {
    max-height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .floating-image img {
    max-height: calc(var(--image-strip-height) - 1.5rem);
    max-width: 100%;
    object-fit: contain;
  }

  .manifesto {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    padding: 0.5rem 1.2rem 1.5rem;
    overflow-y: visible;
    order: 3;
  }

  .name {
    font-size: 1.15rem;
    letter-spacing: 3px;
  }

  .manuscript-body {
    font-size: 0.68rem;
    line-height: 1.7;
    text-align: justify;
  }

  .drop-cap {
    font-size: 2.2rem;
  }

  .pull-quote {
    font-size: 0.85rem;
    margin: 1.2rem 0;
  }

  .cat-svg {
    width: 40px;
  }

  .manuscript-header {
    margin-bottom: 1.2rem;
  }

  .social-footer {
    padding: 0.45rem 0.6rem 0.35rem;
    gap: 0.3rem;
  }

  .social-icons {
    gap: 0.45rem;
  }

  .social-link {
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
  }

  .copyright {
    font-size: 0.45rem;
  }
}

/* ============================================================
   RESPONSIVE — Small Mobile
   ============================================================ */
@media (max-width: 400px) {
  :root {
    --image-strip-height: 24vh;
  }

  .periphery--left,
  .periphery--right {
    padding: 0.5rem 0.3rem;
  }

  .manifesto {
    padding: 0.3rem 1rem 1.2rem;
  }

  .name {
    font-size: 1.05rem;
  }

  .manuscript-body {
    font-size: 0.64rem;
    text-align: justify;
  }

  .cat-svg {
    width: 34px;
  }
}

/* ============================================================
   RESPONSIVE — Large Desktop
   ============================================================ */
@media (min-width: 1400px) {
  :root {
    --header-height: 4.2rem;
    --footer-height: 4.6rem;
  }

  .logo img {
    height: 40px;
  }

  .nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.65rem;
  }

  .name {
    font-size: 1.8rem;
  }

  .manuscript-body {
    font-size: 0.78rem;
    text-align: justify;
  }

  .pull-quote {
    font-size: 1.2rem;
  }

  .floating-image {
    max-height: 80vh;
  }

  .floating-image img {
    max-height: 80vh;
  }

  .social-link {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .copyright {
    font-size: 0.65rem;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .cat-icon {
    animation: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}