/*
 * VALDIER Starter — the Contact page designs (inc/contact-designs.php, docs/CONTACT-DESIGNS.md):
 * 04 Private Assistance (CORE, default), 03 Luxury Split, 05 Cinematic Contact, 07 Signature Experience (PREMIUM).
 *
 * The homepage's language: Inter Tight (--v-font-sans), its buttons (.button, .button.is-outline, the brand colour
 * of .vd-btn-primary), its badge, the section surfaces (--v-section-white / ivory / stone) and the design-system
 * tokens for ink, text, lines and radius, so Light, Dark, Auto and every palette follow.
 *
 * One deliberate exception, declared once below: the "night" surface of the contact panels, the photograph frame
 * and the signature band is dark in every appearance (it reads as a photograph would). Its four values are tokens
 * of this file (--vd-night*), slightly deeper on the Dark appearance so the band stays distinct from the page.
 * Layout: grid and flex only. Loaded on Contact pages only, after css/valdier-inner.css.
 */

.vd-cd {
  --vd-night: #121416;
  --vd-night-text: #f5f5f3;
  --vd-night-muted: #b4b9be;
  --vd-night-line: rgba(255, 255, 255, 0.14);
  --vd-cd-wrap: 75.5rem;
  --vd-cd-gutter: var(--v-page-gutter, clamp(1rem, 4vw, 3rem));
  --vd-cd-radius: var(--v-radius-xl, 1.25rem);
  background-color: var(--v-section-white);
  color: var(--v-text);
}

:root[data-appearance='dark'] .vd-cd,
:root[data-appearance='dark'] .vd-cd-preview {
  --vd-night: #0b0c0e;
  --vd-night-line: rgba(255, 255, 255, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root[data-appearance='auto'] .vd-cd,
  :root[data-appearance='auto'] .vd-cd-preview {
    --vd-night: #0b0c0e;
    --vd-night-line: rgba(255, 255, 255, 0.12);
  }
}

.vd-cd__wrap {
  width: 100%;
  max-width: calc(var(--vd-cd-wrap) + 2 * var(--vd-cd-gutter));
  margin-inline: auto;
  padding-inline: var(--vd-cd-gutter);
}

.vd-cd h1,
.vd-cd h2,
.vd-cd h3 {
  color: var(--v-ink);
  text-wrap: balance;
  letter-spacing: -0.02em;
}

.vd-cd .vd-page__badge {
  margin: 0;
}

.vd-cd__lead {
  margin: 0;
  max-width: 38rem;
  color: var(--v-text);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.6;
}

.vd-cd__prose {
  max-width: 38rem;
  color: var(--v-muted);
}

.vd-cd__muted {
  margin: 0;
  color: var(--v-muted);
}

.vd-cd__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--v-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.vd-cd .vd-cd__label {
  color: var(--v-muted);
}

.vd-cd__night-label {
  display: block;
  margin: 0;
  color: var(--vd-night-muted);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.vd-cd .vd-cd__night-label {
  color: var(--vd-night-muted);
}

.vd-cd__h2 {
  margin: 0 0 2.5rem;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
}

.vd-cd__tnum {
  font-variant-numeric: tabular-nums;
}

.vd-cd__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* The homepage's buttons, at the designs' size; with their icon. */
.vd-cd .button {
  gap: 0.5rem;
  height: 2.75rem;
  padding-inline: 1.15rem;
  font-size: 0.9rem;
  white-space: nowrap;
  text-decoration: none;
}

.vd-cd .button svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.vd-cd .button.vd-cd__btn-sm {
  height: 2.25rem;
  padding-inline: 0.9rem;
  font-size: 0.8125rem;
}

/* On the night surface: light filled, or outlined in light. */
.vd-cd .button.vd-cd__btn-night {
  background-color: var(--vd-night-text);
  color: var(--vd-night);
  box-shadow: none;
}

.vd-cd .button.vd-cd__btn-night:hover {
  background-color: #ffffff;
}

.vd-cd .button.vd-cd__btn-night.is-outline {
  background-color: transparent;
  color: var(--vd-night-text);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.vd-cd .button.vd-cd__btn-night.is-outline:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.vd-cd a:focus-visible,
.vd-cd-preview a:focus-visible {
  outline: var(--v-focus-outline, 2px solid currentColor);
  outline-offset: var(--v-focus-offset, 3px);
}

/* =================================================================================================================
   04 — Private Assistance
   ================================================================================================================= */
.vd-cd4 {
  padding-top: clamp(1rem, 2.5vw, 2rem);
}

.vd-cd4__frame {
  position: relative;
  container-type: inline-size;
  border-radius: var(--vd-cd-radius);
  overflow: hidden;
}

.vd-cd4__img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 7.5;
  object-fit: cover;
  object-position: 50% 45%;
}

.vd-cd4__notch {
  position: absolute;
  left: 0;
  bottom: 0;
  display: grid;
  gap: 1rem;
  justify-items: start;
  width: min(44rem, 64%);
  padding: clamp(1.5rem, 2.5vw, 2.25rem) clamp(1.5rem, 3vw, 2.75rem) 0 0;
  background-color: var(--v-section-white);
  border-top-right-radius: var(--vd-cd-radius);
}

/* The inverted corner that ties the notch to the photograph's lower edge. */
.vd-cd4__notch::after {
  content: '';
  position: absolute;
  right: calc(-1 * var(--vd-cd-radius));
  bottom: 0;
  width: var(--vd-cd-radius);
  height: var(--vd-cd-radius);
  background: radial-gradient(circle at 100% 0, transparent calc(var(--vd-cd-radius) - 0.5px), var(--v-section-white) var(--vd-cd-radius));
}

.vd-cd4__title {
  margin: 0;
  font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.vd-cd4__title span,
.vd-cd3__title span {
  color: var(--v-muted);
  font-weight: 300;
}

.vd-cd4__intro {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1rem 2rem;
  align-items: end;
  padding-block: clamp(1.75rem, 3vw, 2.5rem) clamp(2.5rem, 5vw, 4rem);
}

.vd-cd4__lead {
  display: grid;
  gap: 1rem;
}

.vd-cd4__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: flex-end;
  margin: 0;
  font-size: 0.875rem;
}

.vd-cd4__social a {
  color: var(--v-ink);
}

.vd-cd4__lines {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.25rem;
}

.vd-cd4__lines.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.vd-cd4__line {
  display: grid;
  align-content: space-between;
  gap: 2.25rem;
  min-height: 20rem;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  border-radius: var(--vd-cd-radius);
}

.vd-cd4__line.is-phone {
  background-color: var(--vd-night);
  color: var(--vd-night-text);
}

.vd-cd4__line.is-mail {
  background-color: var(--v-section-stone);
  color: var(--v-ink);
  box-shadow: inset 0 0 0 1px var(--v-line);
}

.vd-cd4__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.vd-cd .vd-cd4__kind {
  margin: 0;
  color: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}

.vd-cd4__ico {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px currentColor;
  opacity: 0.85;
}

.vd-cd4__value {
  margin: 0;
  font-size: clamp(1.75rem, 1rem + 2.6vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.vd-cd4__line.is-mail .vd-cd4__value {
  font-size: clamp(1.4rem, 1rem + 1.3vw, 2.25rem);
}

.vd-cd4__value a {
  color: inherit;
  text-decoration: none;
}

.vd-cd4__value a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.vd-cd4__note {
  max-width: 28rem;
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  opacity: 0.75;
}

.vd-cd4__steps {
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.vd-cd4__ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: vd-cd4;
}

.vd-cd4__ol li {
  position: relative;
  padding-top: 2.75rem;
  border-top: 1px solid var(--v-line-strong);
  counter-increment: vd-cd4;
}

.vd-cd4__ol li::before {
  content: counter(vd-cd4);
  position: absolute;
  top: -0.9rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background-color: var(--v-section-white);
  box-shadow: inset 0 0 0 1px var(--v-ink);
  color: var(--v-ink);
  font-size: 0.8125rem;
  font-weight: 600;
}

.vd-cd4__ol h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
}

.vd-cd4__ol p {
  max-width: 22rem;
  margin: 0;
  color: var(--v-muted);
}

.vd-cd4__office {
  border-top: 1px solid var(--v-line);
}

.vd-cd4__office .vd-cd__wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 3rem;
  padding-block: 1.75rem;
  font-size: 0.9375rem;
}

.vd-cd4__office p {
  margin: 0;
}

.vd-cd4__office b {
  margin-right: 0.5rem;
  color: var(--v-ink);
  font-weight: 500;
}

.vd-cd4__close {
  color: var(--v-ink);
}

.vd-cd4__book {
  margin-left: auto;
}

/* =================================================================================================================
   03 — Luxury Split
   ================================================================================================================= */
.vd-cd3 {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem);
}

.vd-cd3__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 1.5rem;
  align-items: start;
}

.vd-cd3__text {
  grid-column: 1 / span 4;
  display: grid;
  gap: 1.5rem;
  justify-items: start;
  padding-top: clamp(1rem, 4vw, 4rem);
}

.vd-cd3__title {
  margin: 0;
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.vd-cd3__title span {
  display: block;
}

.vd-cd3__brief {
  justify-self: stretch;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--v-line);
}

.vd-cd3__brief ol {
  display: grid;
  gap: 0.15rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: vd-cd3;
}

.vd-cd3__brief li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  padding-block: 0.6rem;
  border-bottom: 1px dashed var(--v-line);
  color: var(--v-ink);
  font-weight: 500;
  counter-increment: vd-cd3;
}

.vd-cd3__brief li::before {
  content: counter(vd-cd3, decimal-leading-zero);
  padding-top: 0.15rem;
  color: var(--v-muted);
  font-size: 0.8125rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.vd-cd3__brief p {
  margin: 0;
}

.vd-cd3__brief li span {
  display: block;
  color: var(--v-muted);
  font-size: 0.875rem;
  font-weight: 400;
}

.vd-cd3__media {
  grid-column: 7 / span 6;
  position: relative;
}

.vd-cd3__photo {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 4.9;
  object-fit: cover;
  object-position: 30% 50%;
  border-radius: var(--vd-cd-radius);
}

.vd-cd3__panel {
  position: absolute;
  left: -38%;
  bottom: 3rem;
  display: grid;
  gap: 1.5rem;
  width: min(26rem, 78%);
  padding: 2rem;
  border-radius: var(--vd-cd-radius);
  background-color: var(--vd-night);
  color: var(--vd-night-text);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--vd-night-line);
}

.vd-cd3__item {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--vd-night-line);
}

.vd-cd3__value {
  color: var(--vd-night-text);
  font-size: clamp(1.3rem, 1rem + 0.9vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.vd-cd3__value:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.vd-cd3__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.vd-cd3__cta .button {
  width: 100%;
}

.vd-cd3__cta .button:only-child {
  grid-column: 1 / -1;
}

.vd-cd3__base {
  background-color: var(--v-section-ivory);
  border-top: 1px solid var(--v-line);
}

.vd-cd3__base-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) minmax(0, 6fr);
  gap: 2rem;
  align-items: start;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.vd-cd3__base-grid h3 {
  margin-bottom: 0.6rem;
}

.vd-cd3__base-grid p {
  margin: 0;
  color: var(--v-ink);
}

.vd-cd3__book {
  grid-column: 3;
  display: grid;
  gap: 1rem;
  justify-items: end;
  text-align: right;
}

.vd-cd3__book > p:first-child {
  max-width: 24rem;
  font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* =================================================================================================================
   05 — Cinematic Contact
   ================================================================================================================= */
.vd-cd5 {
  position: relative;
  overflow: hidden;
  background-color: var(--vd-night);
  color: var(--vd-night-text);
}

.vd-cd5__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  filter: brightness(0.8) saturate(0.92);
}

.vd-cd5::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 9, 10, 0.92) 0%, rgba(8, 9, 10, 0.78) 26%, rgba(8, 9, 10, 0.25) 44%, rgba(8, 9, 10, 0) 50%, rgba(8, 9, 10, 0) 56%, rgba(8, 9, 10, 0.7) 74%, rgba(8, 9, 10, 0.94) 100%);
}

.vd-cd5__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: clamp(40rem, 58vw, 54rem);
  padding-block: clamp(2.5rem, 4vw, 3.5rem) clamp(1.75rem, 3vw, 2.5rem);
}

.vd-cd5__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}

.vd-cd .vd-cd5__badge {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--vd-night-text);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.vd-cd .vd-cd5__title {
  margin: 0.75rem 0 0;
  color: var(--vd-night-text);
  font-size: clamp(2.75rem, 1.4rem + 5vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.vd-cd5__title span {
  font-weight: 200;
}

.vd-cd5__lead {
  max-width: 22rem;
  margin: 0;
  color: #d9dcdf;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.vd-cd5__strip {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.25fr) minmax(0, 1fr) auto;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.vd-cd5__strip > * {
  min-width: 0;
  padding: 1.5rem 1.75rem 0.5rem 0;
}

.vd-cd5__strip > * + * {
  padding-left: 1.75rem;
  border-left: 1px solid var(--vd-night-line);
}

.vd-cd5__strip .vd-cd__night-label {
  margin-bottom: 0.5rem;
}

.vd-cd5__value {
  color: var(--vd-night-text);
  font-size: clamp(1.25rem, 0.9rem + 1vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.vd-cd5__value:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.vd-cd5__small {
  margin: 0;
  color: #d9dcdf;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.vd-cd5__cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
}

.vd-cd5__credits-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.vd-cd5__credits-grid .vd-cd__h2 {
  margin-bottom: 1rem;
}

.vd-cd5__dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin: 0;
}

.vd-cd5__dl dt {
  margin-bottom: 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--v-ink);
  color: var(--v-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vd-cd5__dl dd {
  margin: 0;
  color: var(--v-text);
}

.vd-cd5__final {
  background-color: var(--v-section-stone);
}

.vd-cd5__final-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.vd-cd5__final-title {
  margin: 0;
  color: var(--v-ink);
  font-size: clamp(1.4rem, 1rem + 1.3vw, 2.1rem);
  letter-spacing: -0.03em;
}

/* =================================================================================================================
   07 — Signature Experience
   ================================================================================================================= */
.vd-cd7 {
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(2.5rem, 5vw, 4rem);
}

.vd-cd7__eyebrow::before {
  content: '';
  width: 1.25rem;
  height: 2px;
  margin-right: 0.6rem;
  border-radius: 2px;
  background-color: var(--v-accent);
}

.vd-cd7__title {
  max-width: 15ch;
  margin: 1.75rem 0 0;
  font-size: clamp(3rem, 1.2rem + 7vw, 8.25rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.vd-cd7__title em {
  font-style: italic;
  font-synthesis: style;
  font-weight: 200;
  letter-spacing: -0.05em;
}

.vd-cd7__invite {
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.vd-cd7__invite-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 2rem;
}

.vd-cd7__side {
  padding-top: 0.9rem;
  border-top: 1px solid var(--v-line-strong);
  color: var(--v-muted);
  font-size: 0.875rem;
}

.vd-cd7__side p {
  margin: 0 0 0.75rem;
}

.vd-cd7__sentence {
  margin: 0;
  color: var(--v-ink);
  font-size: clamp(1.5rem, 0.9rem + 2.4vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.45;
  text-wrap: pretty;
}

.vd-cd7__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.12em 0.6em 0.14em 0.25em;
  border-radius: var(--v-radius-pill, 999px);
  background-color: var(--v-section-white);
  color: var(--v-ink);
  font-weight: 400;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: 0.06em;
  box-shadow: 0 0 0 1px var(--v-line-strong), 0 8px 20px -14px rgba(0, 0, 0, 0.35);
  transition: box-shadow var(--v-duration, 0.2s) var(--v-ease, ease);
}

.vd-cd7__pill:hover {
  box-shadow: 0 0 0 1px var(--v-ink), 0 10px 24px -14px rgba(0, 0, 0, 0.45);
}

.vd-cd7__pill.is-tnum {
  font-variant-numeric: tabular-nums;
}

.vd-cd7__pill-ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.45em;
  height: 1.45em;
  border-radius: 50%;
  background-color: var(--v-accent);
  color: var(--v-accent-fg);
}

.vd-cd7__pill-ico svg {
  width: 0.6em;
  height: 0.6em;
  stroke-width: 2;
}

.vd-cd7__pill.is-book {
  background-color: var(--v-accent);
  color: var(--v-accent-fg);
  box-shadow: none;
}

.vd-cd7__pill.is-book .vd-cd7__pill-ico {
  background-color: var(--v-accent-fg);
  color: var(--v-accent);
}

.vd-cd7__band {
  position: relative;
  overflow: hidden;
  background-color: var(--vd-night);
  color: var(--vd-night-text);
}

.vd-cd.vd-cd7__band h2 {
  color: var(--vd-night-text);
}

.vd-cd7__band-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.vd-cd7__sig {
  display: grid;
  gap: 1.75rem;
  justify-items: start;
}

.vd-cd7__sig img {
  width: min(18rem, 70%);
  height: auto;
}

.vd-cd7__sig p {
  max-width: 24rem;
  margin: 0;
  color: var(--vd-night-muted);
}

.vd-cd7__rule {
  width: 4rem;
  height: 2px;
  border-radius: 2px;
  background-color: var(--vd-night-muted);
}

.vd-cd7__details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin: 0;
  border-top: 1px solid var(--vd-night-line);
}

.vd-cd7__details > div {
  min-width: 0;
  padding: 1.5rem 1.5rem 1.5rem 0;
  border-bottom: 1px solid var(--vd-night-line);
}

.vd-cd7__details > div:nth-child(even) {
  padding-left: 1.5rem;
  border-left: 1px solid var(--vd-night-line);
}

.vd-cd7__details dt {
  margin-bottom: 0.5rem;
  color: var(--vd-night-muted);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vd-cd7__details dd {
  margin: 0;
}

.vd-cd7__details a,
.vd-cd7__details p {
  margin: 0;
  color: var(--vd-night-text);
  font-size: 1.1rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.vd-cd7__details a {
  font-size: clamp(1.15rem, 0.9rem + 0.7vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.vd-cd7__after-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  align-items: center;
  justify-content: space-between;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.vd-cd7__after-text {
  max-width: 36rem;
  margin: 0;
  color: var(--v-ink);
  font-size: clamp(1.4rem, 1rem + 1.3vw, 2.2rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.vd-cd7__after-text strong {
  font-weight: 600;
}

/* =================================================================================================================
   The editor's preview notice
   ================================================================================================================= */
.vd-cd-preview {
  --vd-night: #121416;
  position: relative;
  z-index: 5;
  background-color: var(--vd-night);
  color: #f5f5f3;
  font-size: 0.875rem;
}

.vd-cd-preview .vd-cd__wrap {
  max-width: calc(75.5rem + 2 * var(--v-page-gutter, clamp(1rem, 4vw, 3rem)));
  padding-inline: var(--v-page-gutter, clamp(1rem, 4vw, 3rem));
}

.vd-cd-preview__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
}

.vd-cd-preview p {
  margin: 0;
}

.vd-cd-preview__badge {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.vd-cd-preview__links {
  display: flex;
  gap: 1.25rem;
}

.vd-cd-preview a {
  color: #ffffff;
  font-weight: 500;
}

/* =================================================================================================================
   Narrow screens
   ================================================================================================================= */
@media (max-width: 980px) {
  .vd-cd3__text,
  .vd-cd3__media {
    grid-column: 1 / -1;
  }

  .vd-cd3__media {
    margin-top: 2.5rem;
  }

  .vd-cd3__panel {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: -5rem 1rem 0;
  }

  .vd-cd3__base-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .vd-cd3__book {
    grid-column: 1 / -1;
    justify-items: start;
    text-align: left;
  }

  .vd-cd5__strip {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .vd-cd5__strip > *,
  .vd-cd5__strip > * + * {
    padding: 1.25rem 0 0.25rem;
    border-left: 0;
  }

  .vd-cd5__cta {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 1.5rem;
  }

  .vd-cd5__credits-grid,
  .vd-cd5__dl,
  .vd-cd7__invite-grid,
  .vd-cd7__band-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .vd-cd7__side {
    order: 2;
  }
}

@media (max-width: 900px) {
  .vd-cd4__notch {
    position: relative;
    width: auto;
    padding: 1.5rem 0 0;
    border-radius: 0;
  }

  .vd-cd4__notch::after {
    display: none;
  }

  .vd-cd4__frame {
    overflow: visible;
  }

  .vd-cd4__img {
    aspect-ratio: 4 / 3;
    border-radius: var(--vd-cd-radius);
  }

  .vd-cd4__intro,
  .vd-cd4__lines {
    grid-template-columns: minmax(0, 1fr);
  }

  .vd-cd4__social {
    justify-content: flex-start;
  }

  .vd-cd4__ol {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.75rem;
  }

  .vd-cd4__book {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .vd-cd5 {
    display: flex;
    flex-direction: column;
  }

  .vd-cd5::before {
    display: none;
  }

  .vd-cd5__img {
    position: relative;
    order: 2;
    height: 16rem;
  }

  .vd-cd5__inner {
    display: contents;
  }

  .vd-cd5__head {
    order: 1;
    grid-template-columns: minmax(0, 1fr);
    padding: 2.5rem var(--vd-cd-gutter) 1.5rem;
  }

  .vd-cd5__gap {
    display: none;
  }

  .vd-cd5__strip {
    order: 3;
    grid-template-columns: minmax(0, 1fr);
    padding: 0.5rem var(--vd-cd-gutter) 2rem;
    border-top: 0;
  }
}

@media (max-width: 560px) {
  .vd-cd3__panel {
    margin: -3rem 0 0;
    padding: 1.5rem;
  }

  .vd-cd3__cta,
  .vd-cd3__base-grid,
  .vd-cd7__details {
    grid-template-columns: minmax(0, 1fr);
  }

  .vd-cd7__details > div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .vd-cd7__pill {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vd-cd7__pill {
    transition: none;
  }
}
