:root {
  --bg: #05070d;
  --bg-alt: #0a1220;
  --panel: rgba(10, 18, 32, 0.72);
  --panel-strong: rgba(13, 24, 41, 0.92);
  --line: rgba(160, 180, 210, 0.18);
  --line-strong: rgba(185, 206, 234, 0.28);
  --text: #f4f7fb;
  --muted: #9aa8bf;
  --accent: #c8a97e;
  --accent-soft: rgba(200, 169, 126, 0.18);
  --navy: #11243f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --content-width: 1180px;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(17, 36, 63, 0.42), transparent 34%),
    radial-gradient(circle at top right, rgba(200, 169, 126, 0.12), transparent 22%),
    linear-gradient(180deg, #05070d 0%, #07101b 52%, #05070d 100%);
  min-height: 100vh;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 90%);
  pointer-events: none;
  z-index: -1;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::after {
  content: "";
  position: absolute;
  top: 180px;
  right: -160px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(200, 169, 126, 0.14), transparent 70%);
  filter: blur(18px);
  z-index: -1;
}

.container {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(5, 7, 13, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-mark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.65rem;
  letter-spacing: 0.08em;
}

.brand-note {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 10px 14px;
}

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

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

.nav-tools .lang-switcher {
  margin-left: auto;
}

.site-nav a {
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.lang-switcher {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 188px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(6, 10, 17, 0.98);
  box-shadow: var(--shadow);
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.lang-switcher.open .lang-menu {
  display: grid;
}

.lang-option {
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.lang-option:hover,
.lang-option:focus-visible,
.lang-option.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-strong);
}

main {
  padding: 40px 0 80px;
}

.hero {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 440px);
  gap: 46px;
  align-items: center;
  padding: 48px 0 32px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  color: var(--accent);
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.page-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.2rem, 7vw, 5.7rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin: 18px 0 20px;
  max-width: 10ch;
}

.hero p,
.page-hero p,
.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 60ch;
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.button {
  background: linear-gradient(135deg, #d8b385, #9e7b52);
  color: #10141d;
  box-shadow: 0 14px 35px rgba(200, 169, 126, 0.18);
}

.button:hover,
.button:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible {
  transform: translateY(-2px);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.hero-card,
.panel,
.metric-card,
.article-card,
.quote-card,
.contact-card,
.form-card {
  background: linear-gradient(180deg, rgba(17, 28, 47, 0.92), rgba(8, 13, 23, 0.88));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-visual {
  position: relative;
  padding: 18px;
}

.hero-visual img {
  border-radius: calc(var(--radius-xl) - 4px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 540px;
  object-fit: cover;
  object-position: center 18%;
}

.hero-badge {
  position: absolute;
  right: 40px;
  bottom: 40px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(4, 7, 12, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.hero-badge strong,
.stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
}

.hero-badge span,
.stat span,
.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 50px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-header h2,
.page-hero h1 + h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 10px 0 0;
  line-height: 0.98;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}

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

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

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

.panel,
.metric-card,
.article-card,
.quote-card,
.contact-card,
.form-card {
  padding: 26px;
}

.panel h3,
.metric-card h3,
.article-card h3,
.quote-card h3,
.contact-card h3,
.form-card h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.panel p,
.metric-card p,
.article-card p,
.quote-card p,
.contact-card p,
.form-card p,
li {
  color: var(--muted);
}

.stat-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.stat {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.list-clean {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.list-clean li {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.list-clean li:first-child {
  padding-top: 0;
  border-top: 0;
}

.page-hero {
  padding: 52px 0 18px;
}

.page-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 360px);
  gap: 26px;
  align-items: stretch;
}

.page-aside {
  padding: 28px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.9rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
  position: relative;
  padding-left: 34px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg);
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.article-card .meta {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
}

.article-card a {
  color: var(--accent);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--muted);
  font-size: 0.92rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(200, 169, 126, 0.75);
  background: rgba(255, 255, 255, 0.05);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.footer {
  padding: 26px 0 38px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-transition {
  animation: pageFade 650ms ease both;
}

@keyframes pageFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero,
  .page-hero-content,
  .contact-layout,
  .grid-4,
  .grid-3,
  .grid-2,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-tools {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    gap: 12px;
  }

  .nav-tools .lang-switcher {
    margin-left: 0;
  }

  .nav-tools.open {
    display: flex;
  }

  .site-nav {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(6, 10, 17, 0.96);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    text-align: center;
  }

  .lang-menu {
    position: static;
  }

  .hero-visual img {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .header-inner {
    padding: 14px 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .panel,
  .metric-card,
  .article-card,
  .quote-card,
  .contact-card,
  .form-card,
  .page-aside {
    padding: 22px;
  }

  .hero-badge {
    position: static;
    margin-top: 18px;
  }

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