@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@400;600;700&family=Space+Grotesk:wght@400;500;600&display=swap");

:root {
  --bg: #0f1b1c;
  --bg-soft: #132224;
  --ink: #e7f4f2;
  --muted: #b6c9c6;
  --accent: #c87445;
  --accent-2: #e3a07a;
  --accent-muted: rgba(200, 116, 69, 0.25);
  --card: #172a2c;
  --stroke: rgba(255, 255, 255, 0.08);
}

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

body {
  font-family: "Space Grotesk", sans-serif;
  background: radial-gradient(circle at top, #183234 0%, var(--bg) 50%, #0b1415 100%);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.bg-flow {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
}

.bg-flow svg {
  width: 100%;
  height: 100%;
}

.flow-path,
.flow-node {
  stroke: rgba(200, 116, 69, 0.65);
  fill: none;
  stroke-width: 1.5;
  opacity: 0;
  transition: stroke-dashoffset 0.3s ease-out, opacity 0.3s ease-out;
}

.flow-path {
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.flow-arrow {
  fill: rgba(200, 116, 69, 0.8);
  opacity: 0.9;
}

.flow-node {
  fill: rgba(244, 238, 231, 0.22);
  stroke: rgba(200, 116, 69, 0.95);
  stroke-width: 1.7;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.9);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.25));
}

.flow-path.delay-1,
.flow-node.delay-1 {
  animation-delay: 0s;
}
.flow-path.delay-2,
.flow-node.delay-2 {
  animation-delay: 0.6s;
}
.flow-path.delay-3,
.flow-node.delay-3 {
  animation-delay: 1.2s;
}
.flow-path.delay-4,
.flow-node.delay-4 {
  animation-delay: 1.8s;
}
.flow-path.delay-5,
.flow-node.delay-5 {
  animation-delay: 2.4s;
}
.flow-path.delay-6,
.flow-node.delay-6 {
  animation-delay: 3s;
}
.flow-node.delay-7 {
  animation-delay: 3.6s;
}
.flow-node.delay-8 {
  animation-delay: 4.2s;
}
.flow-node.delay-9 {
  animation-delay: 4.8s;
}
.flow-node.delay-10 {
  animation-delay: 5.4s;
}
.flow-node.delay-11 {
  animation-delay: 6s;
}
.flow-node.delay-12 {
  animation-delay: 6.6s;
}

body::before {
  content: "";
  position: fixed;
  inset: -30%;
  background: conic-gradient(from 120deg, rgba(200, 116, 69, 0.18), rgba(200, 116, 69, 0.28), rgba(200, 116, 69, 0.08));
  filter: blur(120px);
  opacity: 0.6;
  z-index: -2;
  animation: aura 20s linear infinite;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  z-index: 10;
  color: #1b1f1f;
  box-shadow: none;
  transition: transform 0.2s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  gap: 16px;
  background: rgba(244, 238, 231, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: padding 0.2s ease, border-radius 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.brand {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 0;
  border-radius: 16px;
}

.brand-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.logo-mark {
  width: 180px;
  height: 180px;
  border-radius: 20px;
  background: transparent;
  border: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: none;
  padding: 0;
  transition: width 0.2s ease, height 0.2s ease;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: saturate(1.05);
}

.brand-tagline {
  font-size: 0.85rem;
  color: rgba(27, 31, 31, 0.6);
  font-weight: 600;
  letter-spacing: 0.4px;
}

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.site-header a {
  color: #1b1f1f;
}

.site-header .nav a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.7);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-header .nav a:hover {
  background: rgba(200, 116, 69, 0.12);
  border-color: rgba(200, 116, 69, 0.28);
}

.site-header .btn {
  color: #1b1f1f;
  border: none;
  box-shadow: 0 10px 24px rgba(200, 116, 69, 0.25);
}

.site-header.is-compact .header-inner {
  padding: 2px 8px;
  border-radius: 16px;
  background: rgba(244, 238, 231, 0.92);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.site-header.is-compact .logo-mark {
  width: 120px;
  height: 120px;
}

.site-header.is-compact .nav a {
  padding: 6px 12px;
}

.site-header.is-compact .brand-tagline {
  font-size: 0.78rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background: linear-gradient(120deg, var(--accent), #e8b38c);
  color: #1b1f1f;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(200, 116, 69, 0.25);
  filter: saturate(1.1);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--stroke);
  color: var(--ink);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.hero {
  padding: 88px 0 60px;
  position: relative;
}

.hero-orb {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  opacity: 0.35;
  z-index: 0;
  mix-blend-mode: screen;
  animation: drift 18s ease-in-out infinite;
}

.orb-1 {
  background: radial-gradient(circle, rgba(200, 116, 69, 0.75), transparent 60%);
  top: -60px;
  left: 8%;
}

.orb-2 {
  background: radial-gradient(circle, rgba(200, 116, 69, 0.65), transparent 65%);
  right: 12%;
  top: 40px;
  animation-delay: -6s;
}

.orb-3 {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6), transparent 70%);
  left: 45%;
  bottom: -80px;
  animation-delay: -12s;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: var(--accent-2);
  margin-bottom: 18px;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.4rem, 3vw + 1.5rem, 4rem);
  margin-bottom: 20px;
}

.hero-title {
  position: relative;
  display: inline-block;
}

.hero-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(200, 116, 69, 0.2), rgba(200, 116, 69, 0.75), rgba(200, 116, 69, 0.95));
  transform-origin: left center;
  transform: scaleX(0);
  animation: underline 1.4s ease forwards 0.6s;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-lead {
  position: relative;
  overflow: hidden;
}

.hero-lead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.08) 45%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 2.6s ease-in-out infinite 1.2s;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.cta-row .btn {
  position: relative;
  overflow: hidden;
}

.cta-row .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.25) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.cta-row .btn:hover::after {
  transform: translateX(120%);
}

.stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.stat-value {
  font-weight: 600;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-card .card {
  background: linear-gradient(140deg, rgba(23, 42, 44, 0.95), rgba(23, 42, 44, 0.7));
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  animation: float 8s ease-in-out infinite;
  backdrop-filter: blur(16px);
}

.process-anim {
  margin-top: 36px;
  position: relative;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  z-index: 1;
}

.process-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.process-track {
  fill: none;
  stroke: var(--accent-muted);
  stroke-width: 2;
}

.process-path {
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 830;
  stroke-dashoffset: 830;
  filter: drop-shadow(0 0 6px rgba(200, 116, 69, 0.35));
  animation: draw 3.2s ease-in-out forwards;
}

.process-arrow {
  fill: var(--accent);
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(200, 116, 69, 0.45));
  animation: arrowIn 0.5s ease forwards 2.8s;
}

.process-node {
  position: relative;
  z-index: 1;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(15, 27, 28, 0.92);
  border: 1px solid var(--stroke);
  font-size: 0.85rem;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  opacity: 0.8;
  animation: nodeIn 1.4s ease forwards, nodeGlow 3.8s ease-in-out infinite 1.6s;
}

.process-node:nth-child(2) {
  animation-delay: 0.2s;
}
.process-node:nth-child(3) {
  animation-delay: 1.1s;
}
.process-node:nth-child(4) {
  animation-delay: 2s;
}
.process-node:nth-child(5) {
  animation-delay: 2.8s;
}


.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  color: var(--muted);
}

.pill {
  background: var(--accent-muted);
  color: var(--accent-2);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.node {
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid var(--stroke);
}

.card-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 70px 0;
}

.section.alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.section-head {
  margin-bottom: 36px;
}

.section-head p {
  color: var(--muted);
  margin-top: 10px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature.slim {
  padding: 18px;
}

.feature h3 {
  margin-bottom: 10px;
}

.feature p {
  color: var(--muted);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.process {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 18px;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-muted);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 600;
}

.contact {
  background: linear-gradient(145deg, rgba(200, 116, 69, 0.05), rgba(200, 116, 69, 0.12));
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.contact-points {
  margin-top: 18px;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.form {
  background: var(--card);
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
}

input,
textarea {
  background: rgba(15, 27, 28, 0.6);
  border: 1px solid var(--stroke);
  color: var(--ink);
  border-radius: 10px;
  padding: 12px;
  font-family: inherit;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: center;
}

.form-status {
  min-height: 20px;
  font-size: 0.9rem;
  color: var(--accent-2);
}

.site-footer {
  border-top: 1px solid var(--stroke);
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-note {
  color: var(--muted);
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: transform, opacity;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.grid-4 .reveal:nth-child(1),
.grid-3 .reveal:nth-child(1),
.process .reveal:nth-child(1) {
  transition-delay: 0.05s;
}
.grid-4 .reveal:nth-child(2),
.grid-3 .reveal:nth-child(2),
.process .reveal:nth-child(2) {
  transition-delay: 0.12s;
}
.grid-4 .reveal:nth-child(3),
.grid-3 .reveal:nth-child(3),
.process .reveal:nth-child(3) {
  transition-delay: 0.2s;
}
.grid-4 .reveal:nth-child(4),
.process .reveal:nth-child(4) {
  transition-delay: 0.28s;
}

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

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

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

@keyframes arrowIn {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes underline {
  to {
    transform: scaleX(1);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  60% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes nodeGlow {
  0%,
  100% {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  }
  50% {
    box-shadow: 0 12px 22px rgba(200, 116, 69, 0.25);
  }
}


@keyframes aura {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(20px) translateX(-10px);
  }
}

.legal-main {
  padding: 90px 0 70px;
}

.legal-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 28px;
  display: grid;
  gap: 20px;
}

.legal-title {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 2vw + 1.2rem, 3rem);
}

.legal-section h3 {
  margin-bottom: 8px;
}

.legal-section p {
  color: var(--muted);
}

.legal-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .nav {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .process-anim {
    height: auto;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
  }

  .process-svg {
    display: none;
  }
}

@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
  }

  .logo-mark {
    width: 140px;
    height: 140px;
  }

  .site-header.is-compact .logo-mark {
    width: 110px;
    height: 110px;
  }

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

  .stats {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .hero-orb,
  .hero-card .card,
  .flow-path,
  .flow-node,
  .process-track,
  .process-path,
  .process-arrow,
  .process-node,
  .hero-title::after,
  .hero-lead::after,
  .cta-row .btn::after {
    animation: none !important;
  }

  .process-path {
    stroke-dashoffset: 0;
  }

  .process-track {
    opacity: 1;
  }

  .process-arrow {
    opacity: 1;
    transform: none;
  }

  .flow-path,
  .flow-node {
    opacity: 0.2;
  }

  .flow-path {
    stroke-dashoffset: 0;
  }

  .flow-node {
    transform: scale(1);
  }
}
