@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap");

.conversation-page,
.conversation-modal {
  --conversation-ink: #0c0b0a;
  --conversation-surface: #131110;
  --conversation-surface-hover: #242019;
  --conversation-border: #2e2820;
  --conversation-border-strong: #3a332a;
  --conversation-copper: #c97e2e;
  --conversation-copper-hover: #dc9236;
  --conversation-copper-press: #a9631f;
  --conversation-text: #f5f0e8;
  --conversation-text-secondary: #b8ae9c;
  --conversation-text-muted: #948a79;
  --conversation-text-faint: #6e655a;
  background: var(--conversation-ink);
  color: var(--conversation-text);
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
}

.conversation-page *,
.conversation-page *::before,
.conversation-page *::after,
.conversation-modal *,
.conversation-modal *::before,
.conversation-modal *::after {
  box-sizing: border-box;
}

.conversation-page {
  min-height: 100vh;
  min-height: 100svh;
}

.conversation-content {
  display: grid;
  width: min(calc(100% - 48px), 1120px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 48px 0;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.84fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.conversation-copy {
  position: relative;
  isolation: isolate;
  max-width: 510px;
}

.conversation-copy::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -16px;
  width: 270px;
  height: 370px;
  background: url("/assets/conversation-mark.png") center / contain no-repeat;
  content: "";
  opacity: 0.05;
  pointer-events: none;
  transform: translateY(-50%);
}

.conversation-title {
  max-width: 16ch;
  margin: 0;
  color: var(--conversation-text);
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.conversation-lead {
  max-width: 440px;
  margin: 26px 0 0;
  color: var(--conversation-text-secondary);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.62;
}

.conversation-note {
  max-width: 440px;
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--conversation-border);
  color: var(--conversation-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.conversation-booking {
  width: 100%;
  max-width: 480px;
  min-width: 0;
  margin: 0;
  justify-self: end;
}

.conversation-booking-card {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid var(--conversation-border);
  border-radius: 6px;
  background: var(--conversation-surface);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.conversation-booking-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--conversation-copper);
  content: "";
}

.conversation-booking-label {
  margin: 0 0 22px;
  color: var(--conversation-copper-hover);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.conversation-booking-title {
  margin: 0;
  color: var(--conversation-text);
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.conversation-booking-meta {
  display: flex;
  margin: 18px 0 0;
  align-items: center;
  gap: 10px;
  color: var(--conversation-text-secondary);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.conversation-booking-button {
  display: flex;
  width: 100%;
  min-height: 54px;
  margin-top: 34px;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--conversation-copper);
  border-radius: 2px;
  background: var(--conversation-copper);
  color: #1a0f04;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 200ms cubic-bezier(0.2, 0, 0, 1), border-color 200ms cubic-bezier(0.2, 0, 0, 1), transform 120ms cubic-bezier(0.2, 0, 0, 1);
}

.conversation-booking-button:hover {
  border-color: var(--conversation-copper-hover);
  background: var(--conversation-copper-hover);
}

.conversation-booking-button:active {
  border-color: var(--conversation-copper-press);
  background: var(--conversation-copper-press);
  transform: translateY(1px);
}

.conversation-booking-arrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 18px;
  font-weight: 500;
}

.conversation-booking-confirmation {
  margin: 16px 0 0;
  color: var(--conversation-text-faint);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.conversation-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  overflow-y: auto;
  background: rgba(12, 11, 10, 0.98);
}

.conversation-modal-panel {
  position: relative;
  width: min(100%, 1240px);
  min-height: 100%;
  margin: 0 auto;
  background: var(--conversation-ink);
  color: var(--conversation-text);
}

.conversation-modal-close {
  position: fixed;
  z-index: 10000;
  top: 18px;
  right: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--conversation-border);
  border-radius: 50%;
  background: var(--conversation-surface);
  color: var(--conversation-text-muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.conversation-modal-close:hover {
  border-color: var(--conversation-copper);
  background: var(--conversation-surface-hover);
  color: var(--conversation-text);
}

.conversation-content :is(a, button):focus-visible,
.conversation-modal-close:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--conversation-copper-hover) 55%, transparent);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .conversation-content {
    display: block;
    width: min(calc(100% - 32px), 620px);
    min-height: 0;
    padding: 56px 0 72px;
  }

  .conversation-copy {
    max-width: 540px;
  }

  .conversation-copy::before {
    right: -8px;
    width: 180px;
    height: 250px;
    opacity: 0.04;
  }

  .conversation-title {
    max-width: 16ch;
    font-size: clamp(30px, 8vw, 38px);
  }

  .conversation-lead {
    margin-top: 20px;
    font-size: 17px;
  }

  .conversation-note {
    margin-top: 22px;
  }

  .conversation-booking {
    max-width: none;
    margin-top: 40px;
  }

  .conversation-booking-card {
    padding: 28px 24px;
  }

  .conversation-booking-title {
    font-size: clamp(25px, 7vw, 30px);
  }

  .conversation-modal-close {
    top: 12px;
    right: 12px;
  }
}

@media (min-width: 821px) and (max-height: 700px) {
  .conversation-content {
    padding-block: 28px;
  }

  .conversation-title {
    font-size: clamp(32px, 3vw, 42px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .conversation-booking-button {
    transition: none;
  }
}
