:root {
  --navy: #0e1a36;
  --navy-deep: #091126;
  --navy-soft: #14234a;
  --gold: #d4b04a;
  --gold-bright: #e8c968;
  --gold-deep: #9f7f2a;
  --ink: #e8ecf5;
  --ink-dim: #a7b0c4;
  --line: rgba(212, 176, 74, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--navy);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 17, 38, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  height: 52px;
  width: auto;
}

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

.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
}

.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--ink-dim);
  margin-top: 0.2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-bright);
}

/* Hero */
.hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  background:
    radial-gradient(ellipse at top, rgba(212, 176, 74, 0.08), transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
}

h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

h1 .accent {
  color: var(--gold-bright);
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-dim);
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--navy-deep);
  font-weight: 600;
}

.btn-primary:hover {
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.section-title .accent {
  color: var(--gold-bright);
}

.section-sub {
  color: var(--ink-dim);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
  font-size: 1.05rem;
}

.rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 2rem;
  border: none;
}

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 780px;
  margin: 0 auto;
}

.card {
  background: var(--navy-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.card-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 176, 74, 0.1);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--gold-bright);
  margin-bottom: 1.25rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.card p {
  color: var(--ink-dim);
  font-size: 0.95rem;
}

/* Marquee — brand logos */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 80px,
    #000 calc(100% - 80px),
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 80px,
    #000 calc(100% - 80px),
    transparent 100%
  );
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee-scroll 55s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  flex: 0 0 auto;
  width: 160px;
  height: 110px;
  background: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(212, 176, 74, 0.15);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.marquee-item:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.marquee-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* Founders */
.founders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.founder {
  background: var(--navy-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
}

.founder-initials {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  color: var(--navy-deep);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.founder h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.founder .title {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

/* About content */
.prose {
  max-width: 720px;
  margin: 0 auto;
  color: var(--ink-dim);
  font-size: 1.05rem;
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

/* Page hero (smaller) */
.page-hero {
  padding: 6rem 0 3rem;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(212, 176, 74, 0.06), transparent 60%),
    var(--navy-deep);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 0.75rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  background: var(--navy-deep);
  text-align: center;
  color: var(--ink-dim);
  font-size: 0.85rem;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.site-footer a {
  color: var(--gold);
  text-decoration: none;
}

@media (max-width: 640px) {
  .nav {
    padding: 0.85rem 1.25rem;
  }
  .nav-links {
    gap: 1.25rem;
  }
  .brand-sub {
    display: none;
  }
  section {
    padding: 3.5rem 0;
  }
}

/* Typeform modal */
.tf-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(9, 17, 38, 0.82);
  backdrop-filter: blur(6px);
  padding: 2rem 1rem;
}
.tf-modal.open {
  display: flex;
}
.tf-modal-body {
  position: relative;
  width: 100%;
  max-width: 860px;
  height: min(82vh, 760px);
  background: var(--navy-deep);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.tf-modal-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.tf-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(14, 26, 54, 0.9);
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.tf-modal-close:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}
body.tf-modal-open {
  overflow: hidden;
}
