@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500;1,9..144,600&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  --navy-950: #050b1f;
  --navy-900: #07112b;
  --navy-800: #0c1a3f;
  --navy-700: #142451;
  --navy-600: #1d3370;
  --navy-500: #34508f;
  --navy-100: #e7ecf6;
  --navy-50: #f3f6fc;

  --red-700: #a61015;
  --red-600: #c8141a;
  --red-500: #e61c25;
  --red-400: #ff434c;

  --gold-dark: #b8953d;
  --gold: #d6b35a;
  --gold-light: #f3df95;
  --ivory: #f7f3ea;

  --ink: #0a1326;
  --ink-soft: #2c3852;
  --ink-mute: #5b6781;

  --line: rgba(20, 36, 81, 0.1);
  --line-strong: rgba(20, 36, 81, 0.18);

  --bg: #fbfaf6;
  --bg-soft: #f3f1ea;
  --white: #ffffff;

  --shadow-sm: 0 6px 18px rgba(8, 16, 38, 0.06);
  --shadow-md: 0 22px 60px rgba(8, 16, 38, 0.1);
  --shadow-lg: 0 36px 100px rgba(8, 16, 38, 0.15);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7rem);
}

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

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

body {
  margin: 0;
  color: var(--ink);
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

p {
  margin: 0;
  color: var(--ink-soft);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 0.8rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

em {
  font-style: italic;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  color: var(--red-600);
}

/* -------- Utility bar -------- */
.utility-bar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--gold);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.6rem var(--gutter);
}

.utility-mark {
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.utility-mark::before {
  content: '★';
  color: var(--gold);
  font-size: 0.85rem;
}

.utility-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.utility-meta a:hover {
  color: var(--gold-light);
}

.utility-meta span {
  color: rgba(255, 255, 255, 0.25);
}

/* -------- Header -------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: var(--navy-900);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text span {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.1;
}

.brand-text small {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-tab {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
}

.nav-tab:hover {
  color: var(--navy-900);
}

.nav-tab.active {
  color: var(--navy-900);
  border-bottom: 2px solid var(--red-600);
  border-radius: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* -------- Buttons -------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--red-600);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(200, 20, 26, 0.2);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid transparent;
}

.button:hover {
  background: var(--red-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 20, 26, 0.3);
}

.button:active {
  transform: translateY(0);
}

.button-gold {
  background: var(--navy-900);
  color: var(--white);
  border: 2px solid var(--gold);
  box-shadow: 0 4px 12px rgba(7, 17, 43, 0.15);
}

.button-gold:hover {
  background: var(--navy-800);
  border-color: var(--gold-light);
  box-shadow: 0 6px 20px rgba(7, 17, 43, 0.25);
}

.button-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.button:hover .button-arrow {
  transform: translateX(4px);
}

/* -------- Tab Layout -------- */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------- Hero Section -------- */
.hero {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  padding: clamp(3rem, 6vw, 6rem) 0;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--gold);
}

/* Subtle patriotic star background */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--red-500);
  border-radius: 50%;
}

.hero h1 {
  color: var(--white);
}

.hero h1 em {
  color: var(--gold);
}

.hero .lede {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--gold);
  box-shadow: var(--shadow-lg);
  background: var(--navy-800);
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 440px;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-frame:hover img {
  transform: scale(1.03);
}

/* Badge on Hero Frame */
.hero-badge-overlay {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(5, 11, 31, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
}

.hero-badge-overlay::before {
  content: '★';
  color: var(--gold);
}

/* -------- Trust Bar -------- */
.trust-bar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}

.trust-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.trust-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-mute);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.trust-item {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item::before {
  content: '★';
  color: var(--red-600);
  font-size: 0.75rem;
}

/* -------- Sections -------- */
.section {
  padding: var(--section-y) 0;
  position: relative;
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red-600);
  margin-bottom: 1rem;
}

.section-num {
  color: var(--gold-dark);
}

.section h2 {
  color: var(--navy-900);
  margin-bottom: 1.5rem;
}

.section-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.section-body blockquote {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  border-left: 4px solid var(--gold);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1.5;
}

/* -------- Ivory Mission Section -------- */
.mission-section {
  background: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

/* Subtle background stars */
.mission-section::after {
  content: '★ ★ ★';
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  font-size: 1.5rem;
  color: rgba(214, 179, 90, 0.15);
  letter-spacing: 0.5rem;
}

/* -------- Flagship Section -------- */
.flagship-section {
  background: var(--white);
}

.flagship-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

.flagship-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.flagship-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, transparent 50%, rgba(214, 179, 90, 0.1) 50%);
  pointer-events: none;
}

.flagship-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.flagship-logo {
  max-height: 65px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.flagship-logo-text {
  display: flex;
  flex-direction: column;
}

.flagship-logo-text h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  color: var(--white);
  line-height: 1.1;
}

.flagship-logo-text span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.flagship-card h4 {
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.flagship-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.flagship-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.flagship-item-icon {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.flagship-item-text {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* -------- About Founder Section -------- */
.founder-section {
  background: var(--white);
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}

.founder-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--ivory);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 120px;
}

.founder-avatar-frame {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 4px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  color: var(--gold);
}

.founder-avatar-frame svg {
  width: 80px;
  height: 80px;
}

.founder-sidebar h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  color: var(--navy-900);
  margin-bottom: 0.25rem;
}

.founder-sidebar .title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red-600);
  margin-bottom: 1.5rem;
}

.founder-sidebar-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  border-top: 1px solid var(--line-strong);
  padding-top: 1.5rem;
}

.founder-meta-badge {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy-800);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

/* -------- Contact Banner -------- */
.contact-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--white);
  text-align: center;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-top: 4px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.contact-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.3;
}

.contact-banner-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.contact-banner h2 {
  color: var(--white);
  margin: 0;
}

.contact-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

/* -------- Footer -------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand .brand-icon {
  background: var(--navy-800);
}

.footer-brand .brand-text span {
  color: var(--white);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* -------- Responsive Adjustments -------- */
@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .two-col,
  .flagship-grid,
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .founder-sidebar {
    position: static;
    padding: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .utility-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .header-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
