:root {
  --obsidian: #070609;
  --charcoal: #161218;
  --glass: rgba(18, 14, 20, 0.82);
  --ruby: #9b1d3a;
  --ruby-deep: #5c1024;
  --petal: #8d4e9c;
  --violet: #4a2458;
  --gold: #c9a24a;
  --gold-soft: #e8d5a3;
  --paper: #f3ebe3;
  --muted: #b7a8a2;
  --line: rgba(201, 162, 74, 0.28);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --body: "Source Serif 4", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.65;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(155, 29, 58, 0.22), transparent 55%),
    radial-gradient(900px 500px at 0% 30%, rgba(74, 36, 88, 0.35), transparent 50%),
    var(--obsidian);
  background-attachment: fixed;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201, 162, 74, 0.09) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(141, 78, 156, 0.16) 0 18px, transparent 19px),
    radial-gradient(circle at 40% 80%, rgba(155, 29, 58, 0.12) 0 32px, transparent 33px);
  background-size: 48px 48px, 280px 280px, 420px 420px;
  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(--paper);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ruby);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(7, 6, 9, 0.92), rgba(7, 6, 9, 0.72));
  border-bottom: 1px solid var(--line);
}

.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.75rem;
  text-decoration: none;
  color: var(--paper);
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50% 40% 55% 45%;
  background:
    radial-gradient(circle at 35% 30%, var(--gold-soft), transparent 40%),
    radial-gradient(circle at 70% 70%, var(--petal), transparent 45%),
    linear-gradient(160deg, var(--ruby), var(--obsidian));
  box-shadow: 0 0 18px rgba(155, 29, 58, 0.55);
}

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

.brand-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.brand-place {
  font-size: 0.78rem;
  color: var(--muted);
}

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

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

.site-nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.05rem;
  height: 1px;
  background: var(--gold-soft);
  position: relative;
  margin: 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

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

.hero-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 2.4rem;
  align-items: stretch;
  margin-bottom: 3.5rem;
}

.hero-copy {
  border-left: 2px solid var(--gold);
  padding: 0.2rem 0 0 1.4rem;
}

.kicker {
  font-family: var(--serif);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
  margin: 0 0 0.8rem;
}

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

h1 {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  margin: 0 0 1rem;
  font-style: italic;
}

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

.hero-meta {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-cta {
  margin-top: 1.8rem;
}

.hero-frame {
  position: relative;
  min-height: 28rem;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem 6rem 1.5rem 4rem;
  box-shadow:
    inset 0 0 0 1px rgba(201, 162, 74, 0.25),
    0 30px 60px rgba(0, 0, 0, 0.45);
  filter: saturate(0.85) contrast(1.05);
}

.hero-caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: 14rem;
  padding: 0.7rem 0.9rem;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 0.4rem 1.4rem 0.4rem 0.8rem;
  font-size: 0.85rem;
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.05rem;
  padding: 0.7rem 1.35rem;
  color: var(--paper);
  text-decoration: none;
  background: linear-gradient(180deg, #b52648, var(--ruby-deep));
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(201, 162, 74, 0.25);
  transition: border-radius 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.btn:hover,
.btn:focus-visible {
  color: var(--paper);
  border-radius: 40% 60% 50% 50%;
  box-shadow:
    0 0 0 8px rgba(141, 78, 156, 0.16),
    0 0 28px rgba(201, 162, 74, 0.4);
  transform: translateY(-1px);
}

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

.btn-bloom {
  background: linear-gradient(180deg, #c43355, #6b1430);
}

.section {
  margin: 3.2rem 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.section-intro {
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 1.6rem;
}

.primary-offer {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.8rem;
  padding: 1.4rem;
  background:
    linear-gradient(160deg, rgba(155, 29, 58, 0.16), rgba(18, 14, 20, 0.9)),
    var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
}

.primary-offer img {
  border-radius: 1rem 2.4rem 1rem 1.6rem;
  height: 100%;
  object-fit: cover;
  min-height: 16rem;
}

.offer-list {
  margin: 1rem 0 1.4rem;
  padding-left: 1.1rem;
}

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

.card {
  background: rgba(22, 18, 24, 0.72);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card img {
  height: 11rem;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}

.card-body {
  padding: 1.1rem 1.15rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

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

.card p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.price {
  color: var(--gold);
  font-family: var(--serif);
}

.notes-list {
  display: grid;
  gap: 1.2rem;
}

.note-row {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1.2rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.2rem;
}

.note-row img {
  height: 7rem;
  width: 100%;
  object-fit: cover;
  border-radius: 0.8rem 1.6rem 0.8rem 0.4rem;
}

.evidence {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.quote {
  margin: 0;
  padding: 1.3rem 1.4rem;
  border-radius: 1.2rem;
  background: rgba(74, 36, 88, 0.28);
  border: 1px solid var(--line);
}

.quote p {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  margin: 0 0 0.7rem;
}

.quote cite {
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
}

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

.person {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  align-items: center;
}

.person img {
  width: 8rem;
  height: 8rem;
  object-fit: cover;
  border-radius: 50% 40% 50% 45%;
  border: 1px solid var(--gold);
}

.prose-page {
  max-width: 46rem;
}

.prose-head h1 {
  font-style: italic;
}

.prose-body h2 {
  font-size: 1.55rem;
  margin-top: 2rem;
}

.prose-body p,
.prose-body li {
  color: #e6dcd4;
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 38rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--serif);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(7, 6, 9, 0.7);
  border: 1px solid var(--line);
  color: var(--paper);
  padding: 0.7rem 0.8rem;
  font: inherit;
  border-radius: 0.55rem;
}

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

.field-error,
.form-status,
.island-error {
  color: #f0b7c2;
  font-size: 0.92rem;
}

.form-status.is-success {
  color: #d9e8c8;
}

.lab-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.lab-slot {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  background: rgba(22, 18, 24, 0.65);
  border-radius: 1rem;
}

.lab-slot h3 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
}

.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 2.4rem 1.25rem 1.4rem;
  overflow: hidden;
}

.footer-bloom {
  position: absolute;
  right: -4rem;
  bottom: -6rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(155, 29, 58, 0.4), transparent 65%);
  pointer-events: none;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 1.6rem;
}

.footer-name {
  font-family: var(--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-links li {
  margin: 0.2rem 0;
}

.footer-copy {
  max-width: 1120px;
  margin: 2rem auto 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
}

.cookie-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.1rem;
  background: rgba(12, 9, 14, 0.94);
  border: 1px solid var(--line);
  border-radius: 1.2rem 1.8rem 1.2rem 1.2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

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

.not-found {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.6rem;
  margin-bottom: 1.6rem;
}

.service-hero img {
  border-radius: 1.2rem 3rem 1.2rem 2rem;
  max-height: 22rem;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(7, 6, 9, 0.96);
    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; }
  .hero-editorial,
  .primary-offer,
  .card-grid,
  .note-row,
  .evidence,
  .team-grid,
  .lab-board,
  .footer-inner,
  .service-hero {
    grid-template-columns: 1fr;
  }
  .hero-frame { min-height: 18rem; }
  .person { grid-template-columns: 6rem 1fr; }
  .person img { width: 6rem; height: 6rem; }
}
