:root {
  --bg: #0a0b12;
  --bg-elevated: #12141f;
  --bg-subtle: #1a1d2b;
  --fg: #f3efe6;
  --fg-muted: #b7b0a3;
  --fg-subtle: #7d776c;
  --border: color-mix(in oklab, var(--fg) 12%, transparent);
  --border-strong: color-mix(in oklab, var(--fg) 22%, transparent);
  --accent: #d4c4a8;
  --accent-soft: #e8dcc8;
  --accent-fg: #12141f;
  --card: #141722;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: color-mix(in oklab, var(--accent) 35%, transparent); }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0.04;
  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");
}

.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(720px, calc(100% - 2rem)); }
.center { text-align: center; }

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled, .header.open {
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  border-bottom-color: var(--border);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: 4.25rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.brand-mark {
  width: 2.25rem; height: 2.25rem; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--accent);
  box-shadow: 0 0 40px rgba(212, 196, 168, 0.12);
}
.brand-mark svg { width: 1rem; height: 1rem; }
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}
.brand-handle {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.nav { display: none; gap: 0.15rem; }
.nav a {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--fg-muted);
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--fg); background: var(--bg-subtle); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.lang-switch {
  display: inline-flex;
  padding: 0.15rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: color-mix(in oklab, var(--bg) 70%, transparent);
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--fg-muted);
  border-radius: 999px;
  padding: 0.4rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-switch button[aria-pressed="true"],
.lang-switch button.active {
  background: var(--accent);
  color: var(--accent-fg);
}
.lang-switch-lg { margin-bottom: 0.75rem; }
.lang-switch-lg button { padding: 0.55rem 0.9rem; font-size: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, background 0.2s, border-color 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { background: var(--accent-soft); }
.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn-secondary:hover { background: var(--bg-subtle); }
.btn-sm { height: 2.25rem; padding: 0 0.9rem; font-size: 0.85rem; }
.btn-lg { height: 3rem; padding: 0 1.4rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-icon { width: 2.75rem; height: 2.75rem; padding: 0; }
.icon { width: 1rem; height: 1rem; }
.desktop-only { display: none; }
.mobile-only { display: inline-flex; }
.icon-close { display: none; }
.header.open .icon-menu { display: none; }
.header.open .icon-close { display: block; width: 1.15rem; height: 1.15rem; }

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 1rem 0 1.25rem;
}
.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  font-size: 1rem;
  color: var(--fg);
  border-radius: var(--radius-md);
}
.mobile-nav .btn { width: 100%; margin-top: 0.75rem; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  padding-top: 4.25rem;
  display: flex;
  align-items: flex-end;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--bg) 55%, transparent) 0%, color-mix(in oklab, var(--bg) 72%, transparent) 45%, var(--bg) 100%),
    radial-gradient(ellipse at center, transparent 0%, color-mix(in oklab, var(--bg) 55%, transparent) 70%);
}
.hero-content { padding: 5rem 0 4rem; max-width: 42rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--bg) 55%, transparent);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.star { font-size: 0.7rem; }
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 5.25rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero h1 span { display: block; font-style: italic; color: var(--accent-soft); }
.lead {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  color: var(--fg-muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
}
.hero-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }
.chips { margin: 1.5rem 0 0; color: var(--fg-subtle); font-size: 0.9rem; }

.section { padding: 5rem 0; }
.section-alt { background: var(--bg-elevated); }
.section-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-lead { margin: 1rem 0 0; color: var(--fg-muted); font-size: 1.05rem; }
.section-head.center { max-width: 40rem; margin-inline: auto; margin-bottom: 2.5rem; }
.section-head.split { margin-bottom: 2.5rem; }

.about-grid {
  display: grid;
  gap: 2.5rem;
}
.about-visual { position: relative; max-width: 26rem; margin-inline: auto; }
.about-image {
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.about-image img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about-badge {
  display: none;
  position: absolute;
  right: -0.75rem; bottom: -0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
}
.about-badge span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.about-badge strong {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent);
}
.prose { margin-top: 1.5rem; color: var(--fg-muted); }
.prose p { margin: 0 0 1rem; font-size: 1.05rem; }
.feature-chips {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.feature-chips li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 0.92rem;
  font-weight: 500;
}
.feature-chips li::before {
  content: "✦";
  color: var(--accent);
  font-size: 0.85rem;
}

.topic-grid, .service-grid {
  display: grid;
  gap: 1rem;
}
.topic-card, .service-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.topic-card:hover { border-color: var(--border-strong); }
.topic-num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.95rem;
}
.topic-card h3, .service-card h3 {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}
.topic-card p, .service-card p {
  margin: 0.6rem 0 0;
  color: var(--fg-muted);
  font-size: 0.95rem;
}
.service-card { display: flex; flex-direction: column; box-shadow: var(--shadow); border-radius: var(--radius-2xl); }
.service-card .points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--border);
}
.service-card .points li {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.5rem;
  font-size: 0.92rem;
}
.service-card .points li::before {
  content: "";
  width: 0.35rem; height: 0.35rem;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
}
.service-card .btn { width: 100%; margin-top: 1.5rem; height: 2.75rem; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.steps li {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.35rem;
}
.steps .n {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent);
}
.steps h3 { margin: 0.65rem 0 0; font-size: 1rem; }
.steps p { margin: 0.5rem 0 0; color: var(--fg-muted); font-size: 0.92rem; }

.path-card {
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.path-head { display: flex; gap: 0.85rem; align-items: flex-start; }
.path-icon {
  width: 2.5rem; height: 2.5rem; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--accent);
}
.path-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 500;
}
.path-head p { margin: 0.5rem 0 0; color: var(--fg-muted); font-size: 0.95rem; }
.path-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.path-form label { display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.path-form label span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.path-form input {
  height: 3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--fg);
  padding: 0 1rem;
  outline: none;
}
.path-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 30%, transparent);
}
.path-result {
  margin-top: 1.5rem;
  padding: 1.35rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg);
}
.path-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
}
.path-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-left: 0.65rem;
}
.path-result p { margin: 0.85rem 0 0; color: var(--fg-muted); }
.path-result a { color: var(--accent); font-weight: 500; }
.path-result a:hover { text-decoration: underline; }
.path-error { margin-top: 1rem; color: var(--fg-muted); font-size: 0.95rem; }

.faq-list {
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.35rem;
  font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span {
  width: 2rem; height: 2rem; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--fg-muted);
  transition: transform 0.2s;
}
.faq-item[open] summary span { transform: rotate(45deg); }
.faq-item p {
  margin: 0;
  padding: 0 1.35rem 1.25rem 1.35rem;
  color: var(--fg-muted);
  font-size: 0.95rem;
}

.cta {
  position: relative;
  isolation: isolate;
  padding: 5rem 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; opacity: 0.4; }
.cta-overlay { position: absolute; inset: 0; background: color-mix(in oklab, var(--bg) 78%, transparent); }
.center-actions { justify-content: center; }

.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.footer-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.footer-meta { margin: 0.35rem 0 0; color: var(--fg-subtle); font-size: 0.9rem; }
.footer-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: var(--fg-muted);
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--accent); }

.fade-up { animation: fade-up 0.7s var(--ease) both; }
.delay-1 { animation-delay: 80ms; }
.delay-2 { animation-delay: 160ms; }
.delay-3 { animation-delay: 240ms; }
.delay-4 { animation-delay: 320ms; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; align-items: center; }
  .path-form { flex-direction: row; align-items: flex-end; }
  .path-form .btn { width: auto; }
  .about-badge { display: block; }
  .topic-grid, .feature-chips { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .desktop-only { display: inline-flex; }
}

@media (min-width: 960px) {
  .nav { display: flex; }
  .mobile-only { display: none; }
  .about-grid { grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: center; }
  .about-visual { margin: 0; max-width: none; }
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .section-head.split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
  }
  .section-head.split .section-lead { max-width: 20rem; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up, .delay-1, .delay-2, .delay-3, .delay-4 { animation: none; }
}
