:root {
  --obsidian: #070708;
  --obsidian-2: #121214;
  --charcoal: #2a272c;
  --ruby: #8b1e3f;
  --ruby-glow: #c43b5d;
  --violet: #6b3a7a;
  --petal: #b57ad4;
  --gold: #c9a227;
  --gold-soft: #e6d5a3;
  --ink: #f4efe8;
  --muted: #b7b0bc;
  --glass: rgba(255, 255, 255, 0.04);
  --line: rgba(201, 162, 39, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(107, 58, 122, 0.22), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(139, 30, 63, 0.18), transparent 50%),
    var(--obsidian);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.65;
  min-height: 100vh;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cpath fill='%23c9a227' fill-opacity='0.35' d='M90 12c4 18 18 32 36 36-18 4-32 18-36 36-4-18-18-32-36-36 18-4 32-18 36-36z'/%3E%3Cpath fill='%236b3a7a' fill-opacity='0.25' d='M30 90c2 10 10 18 20 20-10 2-18 10-20 20-2-10-10-18-20-20 10-2 18-10 20-20z'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(7, 7, 8, 0.96), rgba(7, 7, 8, 0.78));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 35%, var(--gold), transparent 42%),
    radial-gradient(circle at 60% 70%, var(--ruby-glow), var(--violet));
  box-shadow: 0 0 16px rgba(196, 59, 93, 0.45);
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--gold-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-family: inherit;
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
}

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

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--gold);
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.kicker {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
  margin: 0 0 0.6rem;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

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

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 2.5rem 0 0.8rem;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
}

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

.hero-studio {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.hero-caption {
  border-left: 1px solid var(--gold);
  padding-left: 1.2rem;
  font-style: italic;
  color: var(--gold-soft);
  max-width: 34rem;
}

.hero-photo {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(181, 122, 212, 0.12);
}

.hero-photo img {
  width: 100%;
  height: min(58vh, 520px);
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.hero-photo figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(7, 7, 8, 0.72);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--gold-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  padding: 0.7rem 1.35rem;
  text-decoration: none;
  position: relative;
}

.btn-petal {
  color: var(--obsidian);
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  border-radius: 999px 1.4rem 999px 1.4rem;
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.4), 0 8px 24px rgba(139, 30, 63, 0.35);
  transition: border-radius 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.btn-petal:hover {
  color: var(--obsidian);
  border-radius: 1.6rem 0.4rem 1.8rem 0.6rem;
  box-shadow: 0 0 28px rgba(196, 59, 93, 0.55), 0 0 40px rgba(181, 122, 212, 0.25);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--gold-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.panel {
  background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(107, 58, 122, 0.08));
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.4rem 1.5rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.service-preview {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  margin: 2rem 0 3rem;
}

.service-preview img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 1.1rem;
}

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

.offer-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
}

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

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

.offer-card p {
  color: var(--muted);
  margin: 0.3rem 0 0.8rem;
  font-size: 0.98rem;
}

.quotes {
  display: grid;
  gap: 1rem;
}

.quotes blockquote {
  margin: 0;
  padding: 1.1rem 1.2rem;
  border-radius: 1rem;
  background: rgba(18, 18, 20, 0.8);
  border: 1px solid rgba(107, 58, 122, 0.35);
}

.quotes cite {
  display: block;
  margin-top: 0.6rem;
  color: var(--gold);
  font-style: normal;
  font-size: 0.92rem;
}

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

.person img,
.lab-steps img,
.card-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid var(--line);
}

.legal {
  max-width: 42rem;
}

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

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--gold-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: #0e0e11;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.field textarea {
  min-height: 8rem;
}

.field-error {
  color: var(--ruby-glow);
  font-size: 0.9rem;
  min-height: 1.1em;
  margin-top: 0.25rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 0.8rem;
}

.form-status.is-ok {
  background: rgba(107, 58, 122, 0.25);
  border: 1px solid var(--petal);
}

.form-status.is-error,
.island-error {
  background: rgba(139, 30, 63, 0.25);
  border: 1px solid var(--ruby-glow);
  color: var(--ink);
  padding: 0.6rem 0.8rem;
  border-radius: 0.7rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 1.25rem 2rem;
  background: var(--obsidian-2);
}

.footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.7fr;
  gap: 1.5rem;
}

.footer-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  margin: 0 0 0.4rem;
}

.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-copy {
  max-width: 1120px;
  margin: 2rem auto 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(180deg, #161318, #0c0b0e);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
}

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

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

.not-found {
  text-align: left;
  padding: 3rem 0 5rem;
}

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

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #0c0b0e;
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.25rem 1.2rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.7rem;
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    position: relative;
  }

  .service-preview,
  .offer-list,
  .team-grid,
  .lab-steps,
  .card-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
