/* JoinerLoft Landing — yacht loft / brass on navy */

:root {
  --bg-deep: #0b1f3a;
  --bg-mid: #102a4d;
  --bg-elevated: #15325c;
  --surface: #102a4d;
  --surface-border: rgba(212, 175, 55, 0.4);
  --gold: #d4af37;
  --gold-dark: #b8942e;
  --blue: #1a4a8c;
  --blue-light: #2e6bb5;
  --blue-soft: #4a85c4;
  --fog: #b8cce8;
  --off-white: #f0f4fa;
  --text-primary: #ffffff;
  --text-secondary: #b8cce8;
  --text-muted: rgba(184, 204, 232, 0.65);
  --text-on-gold: #0b1f3a;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 16px;
  --radius-sm: 12px;
  --header-h: 72px;
  --container: 1100px;
  --glow-gold: rgba(212, 175, 55, 0.22);
  --glow-blue: rgba(46, 107, 181, 0.2);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0d2545 45%, var(--bg-mid) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: #e8c96a; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.narrow { width: min(100% - 2.5rem, 760px); }

/* Atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.glow-gold {
  width: 55vw;
  height: 55vw;
  max-width: 520px;
  max-height: 520px;
  background: radial-gradient(circle, var(--glow-gold) 0%, transparent 70%);
  top: -10%;
  right: -8%;
  animation: drift 24s ease-in-out infinite;
}

.glow-blue {
  width: 50vw;
  height: 50vw;
  max-width: 480px;
  max-height: 480px;
  background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
  top: 40%;
  left: -12%;
  animation: drift 28s ease-in-out infinite reverse;
}

.glow-soft {
  width: 40vw;
  height: 40vw;
  max-width: 360px;
  max-height: 360px;
  background: radial-gradient(circle, rgba(74, 133, 196, 0.12) 0%, transparent 70%);
  bottom: 8%;
  right: 20%;
  animation: drift 22s ease-in-out infinite 2s;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -16px); }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 31, 58, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo:hover { color: var(--off-white); }

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.08);
}

.logo-mark svg { width: 22px; height: 22px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.site-nav a:hover { color: var(--text-primary); }

.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--gold) !important;
  background: rgba(212, 175, 55, 0.08);
}

.nav-cta:hover {
  background: rgba(212, 175, 55, 0.16);
  color: #e8c96a !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  background: rgba(16, 42, 77, 0.8);
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

main { position: relative; z-index: 1; }

/* Hero */
.hero {
  padding: calc(var(--header-h) + 4.5rem) 0 5rem;
  min-height: min(100vh, 900px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow,
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.1rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.gold-text {
  background: linear-gradient(120deg, var(--gold) 0%, #f0d78c 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-icon { width: 18px; height: 18px; }

.btn-primary {
  background: var(--gold);
  color: var(--text-on-gold);
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: #e0c04a;
  color: var(--text-on-gold);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(184, 204, 232, 0.35);
}

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

.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero-stats li {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 360px;
}

.loft-panel {
  position: relative;
  margin-left: auto;
  width: min(100%, 380px);
  padding: 1.35rem 1.35rem 1.35rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(16, 42, 77, 0.95) 0%, rgba(21, 50, 92, 0.88) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(212, 175, 55, 0.08);
  overflow: hidden;
  animation: panelIn 0.9s ease-out both;
}

.loft-spine {
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 2px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

.loft-grid { display: grid; gap: 0.85rem; }

.loft-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(184, 204, 232, 0.12);
}

.loft-row:last-of-type { border-bottom: none; padding-bottom: 0; }

.loft-row.accent .val { color: var(--gold); }

.meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--fog);
  opacity: 0.75;
}

.val {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

.loft-progress { margin-top: 1.25rem; }

.progress-track {
  margin-top: 0.55rem;
  height: 6px;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.9);
  overflow: hidden;
}

.progress-fill {
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
  animation: fillPulse 3.5s ease-in-out infinite;
}

.float-chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  background: rgba(16, 42, 77, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: floatY 5s ease-in-out infinite;
}

.chip-a { top: 8%; left: 0; animation-delay: 0.4s; }
.chip-b { bottom: 12%; right: 0; animation-delay: 1.2s; }

.chip-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.chip-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes fillPulse {
  0%, 100% { width: 62%; }
  50% { width: 74%; }
}

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

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

.features h2,
.about h2,
.privacy h2,
.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--text-secondary);
  max-width: 40rem;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.feature-card {
  position: relative;
  padding: 1.5rem 1.35rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(16, 42, 77, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: inset 3px 0 0 var(--gold);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  border-color: rgba(212, 175, 55, 0.55);
  transform: translateY(-3px);
  box-shadow:
    inset 3px 0 0 var(--gold),
    0 16px 40px rgba(0, 0, 0, 0.22),
    0 0 24px rgba(212, 175, 55, 0.08);
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

/* About */
.about {
  background: linear-gradient(180deg, transparent, rgba(21, 50, 92, 0.35), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 2.5rem;
  align-items: start;
}

.about-copy p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.about-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(16, 42, 77, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 0 32px rgba(212, 175, 55, 0.06);
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.about-card ul {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.about-card li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.about-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.55);
}

/* Privacy */
.privacy .effective {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.policy-block {
  padding: 1.35rem 0;
  border-top: 1px solid rgba(184, 204, 232, 0.12);
}

.policy-block:last-child { border-bottom: 1px solid rgba(184, 204, 232, 0.12); }

.policy-block h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.policy-block p,
.policy-block li {
  color: var(--text-secondary);
  font-size: 0.96rem;
  margin-bottom: 0.65rem;
}

.policy-block ul {
  margin: 0.5rem 0 0.85rem 1.15rem;
  color: var(--text-secondary);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.35rem;
  border-radius: var(--radius);
  background: rgba(16, 42, 77, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.contact-card:hover {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
  color: inherit;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-value {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-primary);
  word-break: break-word;
}

.contact-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.site-footer p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

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

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .hero-visual { min-height: 320px; }
  .loft-panel { margin-inline: auto; }
  .chip-a { left: 4%; }
  .chip-b { right: 4%; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(11, 31, 58, 0.96);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.9rem 0.4rem;
    border-bottom: 1px solid rgba(184, 204, 232, 0.1);
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
    border-radius: 12px;
  }

  .feature-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .hero { padding-top: calc(var(--header-h) + 3rem); min-height: auto; }

  .hero-stats { gap: 1.1rem; }

  .float-chip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glow, .loft-panel, .progress-fill, .float-chip { animation: none; }
  .btn:hover, .feature-card:hover, .contact-card:hover { transform: none; }
}
