:root {
  --obsidian: #070709;
  --obsidian-2: #101014;
  --charcoal: #1c1c22;
  --ash: #8a8490;
  --petal: #c9b4d4;
  --ruby: #b3183a;
  --ruby-hot: #e23a5c;
  --violet: #6a3a86;
  --gold: #d4af37;
  --gold-soft: #f0d789;
  --paper: #f4efe8;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  background-color: var(--obsidian);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(106, 58, 134, 0.35), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(179, 24, 58, 0.22), transparent 45%),
    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='none' stroke='%23d4af37' stroke-opacity='0.07' d='M90 12c4 28 24 50 50 62-26 12-46 34-50 62-4-28-24-50-50-62 26-12 46-34 50-62z'/%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.22em;
}

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

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

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

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

.mast {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(7, 7, 9, 0.96), rgba(7, 7, 9, 0.78));
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  backdrop-filter: blur(12px);
}

.mast__bar {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.wordmark {
  text-decoration: none;
  color: var(--paper);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.7rem;
  align-items: center;
}

.wordmark__petal {
  grid-row: 1 / span 2;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50% 0 50% 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-soft), var(--ruby) 55%, #3a0714);
  box-shadow: 0 0 16px rgba(226, 58, 92, 0.45);
  transform: rotate(-18deg);
}

.wordmark__name {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.wordmark__place {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--paper);
  font-family: var(--sans);
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

.nav-toggle__marks {
  display: inline-block;
  width: 1.1rem;
  height: 2px;
  margin-left: 0.5rem;
  background: var(--gold);
  box-shadow: 0 5px 0 var(--gold), 0 -5px 0 var(--gold);
  vertical-align: middle;
}

@media (min-width: 861px) {
  .nav[hidden] {
    display: block !important;
  }
}

.nav__list {
  display: flex;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--petal);
  text-decoration: none;
  font-size: 0.92rem;
}

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

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

h1, h2, h3 {
  font-family: var(--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);
}

.lede {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--petal);
  max-width: 38rem;
}

.edition {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  min-height: 78vh;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.edition__copy {
  padding: clamp(2rem, 6vw, 5rem) clamp(1.2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(160deg, rgba(16, 16, 20, 0.4), rgba(7, 7, 9, 0.2));
}

.edition__meta {
  display: flex;
  gap: 1.2rem;
  color: var(--ash);
  font-size: 0.85rem;
  margin-bottom: 1.4rem;
}

.edition__visual {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
}

.edition__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 22rem;
  filter: saturate(0.85) contrast(1.05);
}

.edition__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 9, 0.55), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(179, 24, 58, 0.25), transparent 45%);
  pointer-events: none;
}

.caption-float {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 1;
  font-size: 0.8rem;
  color: var(--paper);
  max-width: 16rem;
  text-shadow: 0 1px 8px #000;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  position: relative;
  isolation: isolate;
  color: var(--obsidian);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--ruby);
  border-radius: 2px;
}

.btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 1.4rem;
  height: 1.4rem;
  left: 50%;
  top: 50%;
  translate: -50% -50% scale(0);
  border-radius: 50% 0 50% 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-soft), var(--ruby-hot) 60%, transparent 70%);
  opacity: 0;
  transition: translate 0.45s ease, scale 0.45s ease, opacity 0.45s ease;
}

.btn:hover {
  color: var(--paper);
}

.btn:hover::after {
  translate: -50% -50% scale(6.5);
  opacity: 1;
}

.btn--gold::before {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
}

.btn--ghost {
  color: var(--gold-soft);
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: transparent;
}

.btn--ghost::before {
  background: transparent;
}

.btn--ghost:hover {
  color: var(--obsidian);
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section--inset {
  background: linear-gradient(180deg, rgba(28, 28, 34, 0.65), rgba(7, 7, 9, 0.2));
  border-block: 1px solid rgba(212, 175, 55, 0.12);
}

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

.service-rail {
  display: grid;
  gap: 1.2rem;
}

.service-card {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.1rem;
  text-decoration: none;
  color: inherit;
  padding: 0.7rem;
  border: 1px solid rgba(201, 180, 212, 0.12);
  background: rgba(16, 16, 20, 0.7);
  box-shadow: inset 0 0 40px rgba(106, 58, 134, 0.08);
}

.service-card img {
  width: 7.5rem;
  height: 7.5rem;
  object-fit: cover;
  filter: contrast(1.05);
}

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

.service-card p {
  margin: 0;
  color: var(--ash);
  font-size: 0.92rem;
}

.price {
  color: var(--gold);
  font-size: 0.85rem;
  margin-top: 0.4rem !important;
}

.quote-stack {
  display: grid;
  gap: 1.5rem;
}

blockquote {
  margin: 0;
  padding: 1.3rem 1.4rem 1.3rem 1.6rem;
  border-left: 2px solid var(--ruby);
  background: rgba(7, 7, 9, 0.45);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
}

blockquote footer {
  margin-top: 0.8rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--ash);
}

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

.news-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  background: rgba(16, 16, 20, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.news-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

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

.news-card h3 {
  font-size: 1.25rem;
  margin: 0.3rem 0 0.5rem;
}

.muted {
  color: var(--ash);
  font-size: 0.85rem;
}

.prose {
  max-width: 42rem;
}

.prose p {
  color: #ddd8e2;
}

.hero-page {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  padding: 4rem 0 2.5rem;
  overflow: hidden;
}

.hero-page img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38) saturate(0.8);
}

.hero-page .wrap {
  position: relative;
  z-index: 1;
}

.legal .prose,
.legal h2 {
  max-width: 46rem;
}

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

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  color: var(--paper);
  background: rgba(7, 7, 9, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.28);
  padding: 0.7rem 0.8rem;
}

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

.field-error {
  color: var(--ruby-hot);
  font-size: 0.82rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.form-status[data-kind="ok"] {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.form-status[data-kind="err"] {
  border-color: var(--ruby);
  color: var(--ruby-hot);
}

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

.portrait img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  filter: contrast(1.05);
}

.desk-week {
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  padding: 1.4rem 0;
}

.desk-week h3 {
  margin-top: 0;
}

.includes {
  padding-left: 1.1rem;
}

.includes li {
  margin-bottom: 0.4rem;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  width: min(26rem, calc(100% - 2rem));
  background: linear-gradient(165deg, #16141c, #0a0a0c);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 0 60px rgba(106, 58, 134, 0.15);
  padding: 1.1rem 1.15rem 1.2rem;
}

.cookie-banner__title {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
}

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

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

@media (max-width: 860px) {
  .edition,
  .split,
  .news-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .nav[hidden] {
    display: none;
  }

  .nav:not([hidden]) {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #0c0c10;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.8rem 1.2rem 1.2rem;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.7rem;
  }

  .service-card {
    grid-template-columns: 5.5rem 1fr;
  }

  .service-card img {
    width: 5.5rem;
    height: 5.5rem;
  }

  .colophon__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.colophon {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 2.5rem 0 1.5rem;
  background: #08080b;
}

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

.colophon__brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.colophon__label {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--gold);
}

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

.colophon__links a {
  text-decoration: none;
  color: var(--petal);
}

.colophon__copy {
  margin-top: 2rem;
  color: var(--ash);
  font-size: 0.8rem;
}

@media (max-width: 560px) {
  .colophon__grid {
    grid-template-columns: 1fr;
  }
}
