:root {
  --bg-navy: #16293f;
  --bg-navy-deep: #0f1f30;
  --nav-bar: linear-gradient(180deg, #1e3f63 0%, #16293f 100%);
  --text-white: #f2f5f8;
  --text-orange: #e08a4f;
  --accent-red: #ff2d2d;
  --line: rgba(255, 255, 255, 0.15);
  --focus: #7fb8ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-navy);
  color: var(--text-white);
  font-family: "Georgia", "Iowan Old Style", "Times New Roman", serif;
  display: flex;
  flex-direction: column;
}

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

/* NAV */
.site-nav {
  background: var(--nav-bar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #cfe0f0;
  border: 2px solid rgba(255, 255, 255, 0.4);
  overflow: hidden;
  flex-shrink: 0;
}

.nav-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  padding: 0.3rem 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
}

.nav-links a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--accent-red);
}

/* MAIN */
main {
  flex: 1;
  width: 100%;
}

/* HOME HERO */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.hero-dots {
  position: absolute;
  top: 2.5rem;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 10px);
  gap: 10px;
  opacity: 0.5;
}

.hero-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.hero-copy h1 {
  font-family: "Georgia", serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.3;
  margin: 0 0 1.25rem;
  color: var(--text-white);
}

.hero-copy p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-orange);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 46ch;
  margin: 0 0 2.25rem;
}

.watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #1c3a5c;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.85rem 0.85rem 0.85rem 1.6rem;
  border-radius: 999px;
  box-shadow: 0 0 30px rgba(120, 170, 230, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.watch-btn:hover,
.watch-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 40px rgba(120, 170, 230, 0.4);
}

.watch-btn .play-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.watch-btn .play-icon svg {
  width: 14px;
  height: 14px;
  fill: #fff;
  margin-left: 2px;
}

.hero-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-portrait .photo-frame {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 4 / 4.6;
  border-radius: 8px;
  background: linear-gradient(145deg, #3a4f66, #1a2e44);
  box-shadow: 0 0 40px rgba(120, 170, 230, 0.15);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-portrait .photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-portrait .photo-frame.placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

.social-row {
  display: flex;
  gap: 1rem;
}

.social-row a {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(120, 170, 230, 0.2));
  transition: transform 0.15s ease;
}

.social-row a:hover,
.social-row a:focus-visible {
  transform: translateY(-2px);
}

.social-row svg {
  width: 44px;
  height: 44px;
}

/* GENERIC PAGE (About) */
.page-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 2rem;
  min-height: 50vh;
}

.page-section h1 {
  font-family: "Georgia", serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.page-section p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-orange);
  line-height: 1.7;
}

.empty-note {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
  font-size: 0.95rem;
}

/* CONTACT */
.contact-section {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 2rem;
  text-align: center;
}

.contact-section svg {
  width: 56px;
  height: 56px;
}

.contact-section .email-link {
  font-size: 1.4rem;
  font-family: "Georgia", serif;
  color: var(--text-white);
  border-bottom: 1px solid transparent;
}

.contact-section .email-link:hover,
.contact-section .email-link:focus-visible {
  border-bottom-color: var(--text-white);
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.contact-pill svg {
  width: 18px;
  height: 18px;
}

.footer-email {
  color: rgba(255, 255, 255, 0.85);
}

/* FOCUS STATES */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* RESPONSIVE */
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 3rem;
    text-align: left;
  }

  .hero-portrait {
    align-items: flex-start;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .site-footer {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
