:root {
  --obsidian: #0a090b;
  --obsidian-2: #141217;
  --charcoal: #2a262e;
  --ruby: #8b1e3f;
  --ruby-glow: #c43a5a;
  --violet: #6b2d6b;
  --petal: #a56bb0;
  --gold: #c9a227;
  --gold-soft: #e4d09a;
  --ivory: #f4efe6;
  --muted: #b8b0bc;
  --glass: rgba(20, 18, 23, 0.78);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--obsidian);
  color: var(--ivory);
  font-family: var(--sans);
  line-height: 1.65;
  background-image:
    radial-gradient(ellipse at 12% 8%, rgba(139, 30, 63, 0.22), transparent 42%),
    radial-gradient(ellipse at 88% 0%, rgba(107, 45, 107, 0.28), transparent 46%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' viewBox='0 0 280 280'%3E%3Cpath d='M140 20 C120 70 80 90 80 130 C80 170 108 196 140 196 C172 196 200 170 200 130 C200 90 160 70 140 20Z' fill='none' stroke='%236b2d6b' stroke-opacity='0.18'/%3E%3Cpath d='M48 190 C70 150 110 148 140 178 C170 148 210 150 232 190' fill='none' stroke='%238b1e3f' stroke-opacity='0.14'/%3E%3C/svg%3E");
  background-attachment: fixed;
}

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

a {
  color: var(--gold-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--obsidian);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(10, 9, 11, 0.94), rgba(10, 9, 11, 0.78));
  border-bottom: 1px solid rgba(201, 162, 39, 0.18);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

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

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, var(--gold) 0 12%, transparent 13%),
    radial-gradient(circle at 50% 42%, var(--ruby) 0 38%, var(--violet) 39% 70%, transparent 71%),
    var(--charcoal);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.4), 0 8px 24px rgba(139, 30, 63, 0.35);
}

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

.brand-text strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.brand-text em {
  font-style: italic;
  font-size: 0.78rem;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(201, 162, 39, 0.4);
  font-family: var(--serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: var(--obsidian);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.25);
}

.btn-gold:hover {
  color: var(--obsidian);
  transform: translateY(-2px) scale(1.03);
  border-radius: 18px 40px 18px 40px;
  box-shadow:
    0 0 0 6px rgba(165, 107, 176, 0.18),
    0 16px 30px rgba(139, 30, 63, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(201, 162, 39, 0.45);
}

.btn-ghost:hover {
  color: var(--gold-soft);
  border-radius: 22px 12px 28px 10px;
  box-shadow: 0 0 24px rgba(107, 45, 107, 0.45);
}

.kicker {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin: 0 0 0.4rem;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  margin: 0 0 0.8rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.lede {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--muted);
  max-width: 40rem;
}

.home-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 88vh;
  align-items: stretch;
}

.home-hero-copy {
  padding: 4.5rem 6vw 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-right: 1px solid rgba(201, 162, 39, 0.16);
}

.hero-rule {
  width: 4rem;
  height: 2px;
  background: linear-gradient(90deg, var(--ruby), var(--gold));
  margin: 1.4rem 0;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-meta span {
  display: block;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.home-hero-visual {
  position: relative;
  min-height: 420px;
}

.home-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.05);
}

.home-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 9, 11, 0.1), rgba(10, 9, 11, 0.55)),
    radial-gradient(circle at 70% 80%, rgba(139, 30, 63, 0.35), transparent 50%);
  pointer-events: none;
}

.caption-card {
  position: absolute;
  left: 1.4rem;
  bottom: 1.4rem;
  right: 1.4rem;
  background: var(--glass);
  border: 1px solid rgba(201, 162, 39, 0.25);
  padding: 1rem 1.2rem;
  z-index: 1;
  backdrop-filter: blur(8px);
}

.caption-card p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
}

section {
  padding: 4.2rem 0;
}

.section-head {
  margin-bottom: 2rem;
}

.primary-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.glass-panel {
  background: linear-gradient(160deg, rgba(42, 38, 46, 0.75), rgba(10, 9, 11, 0.9));
  border: 1px solid rgba(165, 107, 176, 0.22);
  box-shadow: inset 0 1px 0 rgba(244, 239, 230, 0.08), 0 24px 50px rgba(0, 0, 0, 0.35);
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: -50px;
  background: radial-gradient(circle, rgba(139, 30, 63, 0.35), transparent 70%);
  pointer-events: none;
}

.glass-panel img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  margin-bottom: 1rem;
  filter: contrast(1.05) saturate(0.8);
}

.price-line {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.3rem;
  margin: 0.3rem 0 1rem;
}

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

.card {
  background: rgba(20, 18, 23, 0.72);
  border: 1px solid rgba(201, 162, 39, 0.14);
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 1.1rem 1.2rem 1.4rem;
}

.tag {
  color: var(--petal);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-list {
  display: grid;
  gap: 1rem;
}

blockquote {
  margin: 0;
  padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--ruby);
  background: rgba(139, 30, 63, 0.12);
  font-family: var(--serif);
  font-size: 1.25rem;
}

blockquote cite {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.95rem;
  font-style: normal;
  color: var(--muted);
}

.page-hero {
  padding: 3.5rem 0 1rem;
}

.page-hero.with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
}

.page-hero img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.prose {
  max-width: 46rem;
}

.prose p,
.prose li {
  color: #ddd7e0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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

.team-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: saturate(0.75);
}

.stack-steps {
  counter-reset: step;
  display: grid;
  gap: 1.2rem;
}

.stack-steps article {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding: 1.2rem;
  background: rgba(20, 18, 23, 0.7);
  border: 1px solid rgba(107, 45, 107, 0.28);
}

.stack-steps article::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
}

form {
  display: grid;
  gap: 0.9rem;
  max-width: 36rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
}

input,
select,
textarea {
  background: #100e13;
  border: 1px solid rgba(201, 162, 39, 0.28);
  color: var(--ivory);
  padding: 0.7rem 0.8rem;
  font: inherit;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.field-error,
.island-error {
  color: #f0b4c2;
  font-size: 0.88rem;
  margin: 0;
}

.form-status {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(201, 162, 39, 0.3);
}

.legal h2 {
  margin-top: 2rem;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(201, 162, 39, 0.16);
  background: #070608;
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-top: 0;
}

.footer-label {
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(20, 18, 23, 0.96), #0a090b);
  border-top: 1px solid rgba(201, 162, 39, 0.28);
  padding: 1rem 0;
}

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

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

@media (max-width: 900px) {
  .home-hero,
  .primary-block,
  .page-hero.with-image,
  .split,
  .card-grid,
  .team-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #0a090b;
    padding: 1rem 1.2rem 1.4rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  }

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

  .home-hero-copy {
    padding: 2.4rem 1.2rem 1.5rem;
    border-right: 0;
  }
}
