:root {
  --obsidian: #0a0908;
  --charcoal: #1c1917;
  --ash: #3f3a37;
  --ruby: #8f1d3a;
  --ruby-glow: #c43b58;
  --violet: #5c2d6b;
  --petal: #a56bb0;
  --gold: #c9a227;
  --gold-soft: #e6d3a3;
  --paper: #f3eadb;
  --mute: #c4b8a8;
  --glass: rgba(255, 248, 240, 0.06);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  background-color: var(--obsidian);
  background-image:
    radial-gradient(ellipse at 12% 8%, rgba(92, 45, 107, 0.35), transparent 42%),
    radial-gradient(ellipse at 88% 12%, rgba(143, 29, 58, 0.28), transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(201, 162, 39, 0.08), transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cpath fill='none' stroke='%23c9a227' stroke-opacity='0.07' d='M110 18c8 28 28 48 56 56-28 8-48 28-56 56-8-28-28-48-56-56 28-8 48-28 56-56z'/%3E%3C/svg%3E");
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

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

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

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

h1,
h2,
h3,
.brand__text,
.kicker {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0.2em 0 0.4em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  margin: 1.4em 0 0.4em;
}

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

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

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

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

.site-head__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(--paper);
  text-decoration: none;
}

.brand__mark {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, var(--petal), var(--violet) 42%, transparent 43%),
    radial-gradient(circle at 70% 60%, var(--ruby-glow), var(--ruby) 46%, var(--obsidian) 47%);
  box-shadow: 0 0 0 1px var(--gold);
}

.brand__text {
  font-size: 1.2rem;
  font-weight: 600;
}

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

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

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

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

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

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.hero-split__frame {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.28),
    0 30px 60px rgba(0, 0, 0, 0.45);
}

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

.hero-split__frame figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.35rem 0.7rem;
  background: rgba(10, 9, 8, 0.72);
  color: var(--gold-soft);
  font-style: italic;
  font-size: 0.95rem;
}

.hero-split__copy {
  padding-bottom: 0.4rem;
}

.hero-split__action {
  margin-top: 1.6rem;
}

.text-link {
  font-style: italic;
  font-size: 1.2rem;
}

.band {
  margin: 3rem 0;
}

.band--glass {
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid rgba(165, 107, 176, 0.25);
  box-shadow: inset 0 0 40px rgba(143, 29, 58, 0.12);
}

.feature-offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.2rem;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(28, 25, 23, 0.9), rgba(10, 9, 8, 0.9));
}

.feature-offer img {
  border-radius: 14px;
  height: 280px;
  width: 100%;
  object-fit: cover;
}

.offer-preview {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.offer-preview a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(243, 234, 219, 0.08);
  text-decoration: none;
  color: var(--paper);
}

.offer-preview em {
  color: var(--gold);
  font-style: normal;
}

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

.quotes blockquote {
  margin: 0;
  padding: 0.2rem 0.2rem 0 0;
}

.quotes footer {
  color: var(--gold);
  font-size: 0.95rem;
  margin-top: 0.6rem;
}

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

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

.card {
  background: var(--charcoal);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.16);
}

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

.card__body {
  padding: 1rem 1.1rem 1.3rem;
}

.card__body h2 {
  margin-top: 0.2rem;
  font-size: 1.55rem;
}

.card__body h2 a {
  color: var(--paper);
  text-decoration: none;
}

.card__meta {
  color: var(--gold);
  font-size: 0.95rem;
}

.wide-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1rem 0 1.4rem;
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.service-page,
.prose,
.legal,
.atlas,
.contact-page,
.lost,
.page-hero {
  max-width: 46rem;
}

.service-page,
.prose {
  max-width: 48rem;
}

.price-line {
  font-size: 1.4rem;
  color: var(--gold);
}

.atlas {
  max-width: 52rem;
}

.atlas__hero {
  margin: 1.2rem 0 2rem;
}

.atlas__hero img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
}

.atlas__hero figcaption {
  color: var(--mute);
  font-style: italic;
  margin-top: 0.5rem;
}

.atlas__list {
  padding-left: 1.2rem;
}

.atlas__cta {
  margin-top: 2.5rem;
  padding: 1.3rem;
  border-radius: var(--radius);
  border: 1px solid rgba(165, 107, 176, 0.35);
  background: rgba(92, 45, 107, 0.18);
}

.atlas__cta .btn {
  margin-right: 1rem;
}

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

.team-card {
  background: var(--charcoal);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(143, 29, 58, 0.3);
}

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

.team-card h2,
.team-card p {
  margin-left: 1rem;
  margin-right: 1rem;
}

.team-card h2 {
  margin-top: 0.9rem;
  font-size: 1.45rem;
}

.team-card__role {
  color: var(--gold);
  margin-top: 0;
}

.contact-page {
  max-width: 960px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

address {
  font-style: normal;
  color: var(--mute);
  margin-top: 1.2rem;
}

.desk-form,
.field {
  display: grid;
  gap: 0.35rem;
}

.desk-form {
  gap: 0.9rem;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: rgba(28, 25, 23, 0.85);
  border: 1px solid rgba(201, 162, 39, 0.22);
}

label {
  color: var(--gold-soft);
}

input,
select,
textarea {
  font: inherit;
  color: var(--paper);
  background: var(--obsidian);
  border: 1px solid var(--ash);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--violet);
  border-color: var(--petal);
}

.field-error,
.form-error {
  color: #f3b4c0;
  margin: 0;
  font-size: 0.95rem;
}

.form-success {
  color: var(--gold-soft);
  margin: 0;
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-block;
  border: 0;
  cursor: pointer;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--obsidian);
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn::before,
.btn::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 60% 40% 70% 30%;
  background: var(--petal);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.2);
  z-index: -1;
  pointer-events: none;
}

.btn:hover {
  color: var(--paper);
  background: linear-gradient(180deg, var(--ruby-glow), var(--ruby));
  box-shadow: 0 0 0 6px rgba(165, 107, 176, 0.15), 0 0 24px rgba(201, 162, 39, 0.35);
}

.btn:hover::before,
.btn:hover::after {
  opacity: 0.9;
  animation: bloom 0.7s ease forwards;
}

.btn:hover::after {
  animation-delay: 0.08s;
  background: var(--ruby-glow);
}

@keyframes bloom {
  0% {
    transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
    opacity: 0.9;
  }
  70% {
    opacity: 0.55;
  }
  100% {
    transform: translate(-50%, -50%) scale(18) rotate(25deg);
    opacity: 0;
  }
}

.btn--ghost {
  background: transparent;
  color: var(--gold-soft);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.btn--ghost:hover {
  background: var(--violet);
}

.lost {
  min-height: 50vh;
  padding-top: 3rem;
}

.site-foot {
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  background: #050504;
  padding: 2.5rem 1.25rem 2rem;
}

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

.site-foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-foot li {
  margin: 0.35rem 0;
}

.site-foot__name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
}

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

.site-foot__legal {
  max-width: 1120px;
  margin: 1.8rem auto 0;
  color: var(--mute);
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: 420px;
  margin-left: auto;
  z-index: 40;
  padding: 1rem 1.1rem;
  background: linear-gradient(165deg, #1a1216, #0a0908);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), inset 0 0 30px rgba(92, 45, 107, 0.25);
}

.cookie-banner p {
  margin-top: 0;
}

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

.cookie-banner[hidden],
[hidden] {
  display: none !important;
}

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

  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    padding: 1rem;
    background: var(--charcoal);
    border: 1px solid var(--gold);
    border-radius: 14px;
  }

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

  .hero-split,
  .feature-offer,
  .quotes,
  .two-col,
  .card-grid,
  .team-grid,
  .contact-page,
  .site-foot__grid {
    grid-template-columns: 1fr;
  }

  .hero-split__frame img {
    height: 42vh;
  }
}
