/* ==========================================================
   Design tokens
   ========================================================== */
:root {
  --ink-900: #0F1B33;
  --ink-800: #16264A;
  --ink-700: #2B3C63;
  --gold-500: #C79A45;
  --gold-400: #DDB668;
  --gold-100: #F6E9CE;
  --paper-0: #FFFFFF;
  --paper-50: #F5F6FA;
  --paper-100: #ECEEF4;
  --text-body: #3C4457;
  --text-muted: #6B7488;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-card: 0 24px 60px -20px rgba(15, 27, 51, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  margin: 0;
  overflow-x: hidden;
  background-color: var(--paper-50);
  background-image:
    radial-gradient(900px 480px at 88% -8%, rgba(199, 154, 69, 0.18), transparent 60%),
    radial-gradient(700px 500px at -10% 15%, rgba(43, 60, 99, 0.10), transparent 55%),
    radial-gradient(circle, rgba(43, 60, 99, 0.09) 1px, transparent 1px);
  background-size: auto, auto, 26px 26px;
  background-position: 0 0, 0 0, 0 0;
  background-repeat: no-repeat, no-repeat, repeat;
  background-attachment: fixed, fixed, fixed;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink-900);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink-900);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

/* ==========================================================
   Navbar
   ========================================================== */
.navbar {
  background: var(--ink-900);
  padding: 0.85rem 0;
  box-shadow: 0 2px 24px rgba(15, 27, 51, 0.18);
  transition: box-shadow 0.25s var(--ease), padding 0.25s var(--ease);
}

.navbar.is-scrolled {
  padding: 0.6rem 0;
  box-shadow: 0 8px 30px rgba(15, 27, 51, 0.28);
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-400), var(--gold-500));
  color: var(--ink-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.brand-sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
}

.navbar-brand {
  text-decoration: none;
}

.nav-icon-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
  font-size: 0.92rem;
}

.nav-icon-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav-icon-link--accent {
  background: var(--gold-500);
  color: var(--ink-900);
  font-weight: 600;
}

.nav-icon-link--accent:hover {
  background: var(--gold-400);
  color: var(--ink-900);
}

/* ==========================================================
   Hero
   ========================================================== */
.hero-section {
  min-height: calc(100svh - 70px);
  display: flex;
  align-items: stretch;
  position: relative;
}

.hero-row {
  width: 100%;
  min-height: calc(100svh - 70px);
}

.content-area {
  padding: 3.5rem clamp(1.5rem, 6vw, 6rem) 3.5rem clamp(1.5rem, 6vw, 5rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badge-pill {
  display: inline-block;
  align-self: flex-start;
  background: var(--gold-100);
  color: #7A5A1E;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 16px -8px rgba(199, 154, 69, 0.55);
}

.content-area h1 {
  font-weight: 600;
  font-size: clamp(2.1rem, 3.2vw, 3.15rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin-bottom: 1.15rem;
}

.in-jntuk {
  color: var(--gold-500);
  font-style: italic;
}

.content-area .lede {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-body);
}

.content-area p {
  margin-bottom: 1.1rem;
}

.content-area p:last-of-type {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.btn-custom {
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.btn-primary.btn-custom {
  background: var(--ink-900);
  border-color: var(--ink-900);
}

.btn-primary.btn-custom:hover {
  background: var(--ink-800);
  border-color: var(--ink-800);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(15, 27, 51, 0.45);
}

.btn-outline-light.btn-custom {
  border-color: var(--ink-900);
  color: var(--ink-900);
}

.btn-outline-light.btn-custom:hover {
  background: var(--ink-900);
  color: #fff;
  transform: translateY(-2px);
}

.image-area {
  min-height: 100%;
  background: var(--ink-900);
  position: relative;
  overflow: hidden;
}

.image-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--ink-900) 0%, rgba(15, 27, 51, 0.35) 22%, transparent 45%);
  z-index: 1;
}

.image-area::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 27, 51, 0.65), transparent 45%);
  z-index: 1;
}

.image-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.94;
}

.image-caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  background: rgba(15, 27, 51, 0.55);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

/* Orchestrated hero entrance */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: revealIn 0.7s var(--ease) forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes revealIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================
   Footer
   ========================================================== */
.site-footer {
  background: var(--ink-800);
  color: rgba(255, 255, 255, 0.7);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.footer-brand .brand-logo {
  width: 30px;
  height: 30px;
  font-size: 0.9rem;
}

.footer-brand .brand-title {
  color: #fff;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  margin-right: auto;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--gold-400);
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.social-row {
  display: flex;
  gap: 0.5rem;
}

.social-row a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.social-row a:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--ink-900);
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
  }

  .hero-row {
    min-height: auto;
  }

  .content-area {
    padding: 2.5rem 1.5rem;
  }

  .image-area {
    min-height: 320px;
  }

  .image-area::before {
    background: linear-gradient(to top, var(--ink-900) 0%, rgba(15, 27, 51, 0.25) 30%, transparent 55%);
  }

  .image-area img {
    min-height: 260px;
  }
}

@media (max-width: 575.98px) {
  .nav-icon-link {
    padding: 0.45rem 0.65rem;
  }

  .brand-sub {
    display: none;
  }

  .content-area h1 {
    font-size: 1.85rem;
  }

  .content-area .lede {
    font-size: 1rem;
  }

  .image-area img {
    min-height: 220px;
  }

  .footer-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .footer-links {
    margin-right: 0;
  }
}

/* ==========================================================
   Motion preference
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .scroll-cue {
    animation: none;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}