/* Flagship dialogue talk pages — matches luxury palette */

.sw-dialogue-talk-page {
  margin: 0;
  background: #1c1c1c;
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

.sw-dlg-page {
  min-height: 100vh;
}

.sw-dlg-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Full-width hero (Featured image) — homepage-style treatment */
.sw-dlg-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 48px;
}

.sw-dlg-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #1c1c1c;
}

.sw-dlg-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 22%;
  transform: scale(1.12);
  transform-origin: 80% 22%;
  filter: grayscale(1) brightness(1.02) opacity(0.4);
}

.sw-dlg-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 42% at 80% 26%, transparent 0%, rgba(28, 28, 28, 0.25) 55%, rgba(28, 28, 28, 0.88) 100%),
    linear-gradient(180deg, rgba(28, 28, 28, 0.45) 0%, transparent 38%, transparent 62%, rgba(28, 28, 28, 0.75) 100%);
}

.sw-dlg-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
}

.sw-dlg-hero-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.85rem, 5vw, 3.25rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
  line-height: 1.15;
}

.sw-dlg-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.sw-dlg-header {
  text-align: center;
  margin-bottom: 2rem;
}

.sw-dlg-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 0.75rem;
}

.sw-dlg-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
}

.sw-dlg-container {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.sw-dlg-desc {
  margin-bottom: 2.5rem;
}

/* Match homepage About (.phil-text p) */
.sw-dlg-prose,
.sw-dlg-desc {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.55;
  color: #fff;
}

.sw-dlg-prose p,
.sw-dlg-desc p {
  margin: 0 0 1em;
}

.sw-dlg-prose a,
.sw-dlg-desc a {
  color: #e8c547;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.sw-dlg-download-intro {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.sw-dlg-download-intro p {
  margin: 0 0 0.75em;
}

.sw-dlg-video {
  margin-bottom: 3rem;
}

.sw-dlg-video-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000;
}

.sw-dlg-video-frame iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

.sw-dlg-oembed .wp-block-embed__wrapper,
.sw-dlg-oembed > div {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.sw-dlg-oembed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.sw-dlg-video-fallback {
  text-align: center;
}

.sw-dlg-video-fallback a {
  color: #e8c547;
}

.sw-dlg-download {
  padding: 2rem 0;
  margin-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.sw-dlg-section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: #fff;
}

.sw-dlg-download-intro {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.25rem;
}

.sw-dlg-download-intro p {
  margin: 0;
}

.sw-dlg-download-btn {
  display: inline-block;
  padding: 14px 28px;
  background: transparent;
  color: #e8c547;
  border: 1px solid #e8c547;
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.sw-dlg-download-btn:hover {
  background: #e8c547;
  color: #1c1c1c;
}

button.sw-dlg-download-btn {
  cursor: pointer;
  appearance: none;
  font-family: inherit;
}

.sw-dlg-booking {
  margin-bottom: 3rem;
}

/* Match homepage .booking-title — Playfair italic, large, centered */
.sw-dlg-book-title {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(2.25rem, 7vw, 5rem);
  font-weight: 400;
  text-transform: none;
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 15px;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

.sw-dlg-booking-lead {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  margin: 0 auto 1.75rem;
  max-width: 36em;
}

.sw-dlg-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

@media (max-width: 640px) {
  .sw-dlg-form-grid {
    grid-template-columns: 1fr;
  }
}

.sw-dlg-field-full {
  grid-column: 1 / -1;
}

.sw-dlg-field label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.35rem;
}

.sw-dlg-field input,
.sw-dlg-field select,
.sw-dlg-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}

.sw-dlg-field textarea {
  resize: vertical;
  min-height: 120px;
}

.sw-dlg-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.sw-dlg-submit {
  display: block;
  margin: 1.5rem auto 0;
  padding: 14px 32px;
  background: #e8c547;
  color: #1c1c1c;
  border: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 600;
}

.sw-dlg-submit:hover {
  filter: brightness(1.05);
}

.sw-dlg-back {
  text-align: center;
  font-size: 0.85rem;
}

.sw-dlg-back a {
  color: rgba(255, 255, 255, 0.55);
}

.sw-dlg-back a:hover {
  color: #e8c547;
}

/* —— Quick download CTA right under the title —— */
.sw-dlg-hero-cta-row {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.sw-dlg-hero-cta {
  display: inline-block;
  padding: 14px 28px;
  background: #e8c547;
  color: #1c1c1c;
  border: 1px solid #e8c547;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  transition: filter 0.2s ease, transform 0.2s ease;
}

button.sw-dlg-hero-cta {
  cursor: pointer;
  appearance: none;
  font-family: "Inter", sans-serif;
}

.sw-dlg-hero-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  color: #1c1c1c;
}

/* —— Discover CTA above the embedded video —— */
.sw-dlg-discover {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 2rem 0 0.5rem;
}

.sw-dlg-discover-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #e8c547;
  margin: 0 0 0.5rem;
}

.sw-dlg-discover-heading {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  letter-spacing: -0.01em;
  text-transform: none;
  margin: 0 0 1rem;
  color: #fff;
  line-height: 1.18;
}

.sw-dlg-discover-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  text-decoration: none;
  border: 1px solid rgba(232, 197, 71, 0.7);
  color: #e8c547;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.sw-dlg-discover-btn:hover {
  background: #e8c547;
  color: #1c1c1c;
  transform: translateY(-2px);
}

.sw-dlg-discover-arrow {
  display: inline-block;
  font-size: 0.95rem;
  animation: sw-dlg-arrow-bob 1.8s ease-in-out infinite;
}

.sw-dlg-discover-arrow--solo {
  display: block;
  font-size: 1.5rem;
  color: rgba(232, 197, 71, 0.85);
  margin-top: 6px;
}

@keyframes sw-dlg-arrow-bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

#sw-dlg-video {
  scroll-margin-top: 90px;
}

/* "Read more" description below the fold */
.sw-dlg-desc {
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sw-dlg-desc .sw-dlg-section-title {
  text-align: center;
  margin: 0 auto 1.25rem;
}

/* —— Testimonials —— */
.sw-dlg-testimonials {
  margin: 3rem auto 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 1080px;
}

.sw-dlg-test-heading {
  text-align: center;
  margin: 0 auto 2rem;
}

.sw-dlg-test-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .sw-dlg-test-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sw-dlg-test-item {
  position: relative;
  margin: 0;
  padding: 2.25rem 1.75rem 1.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 2px solid #e8c547;
  border-radius: 6px;
}

.sw-dlg-test-mark {
  position: absolute;
  top: 16px;
  left: 18px;
  width: 22px;
  height: 22px;
  fill: rgba(232, 197, 71, 0.45);
}

.sw-dlg-test-quote {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.55;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1rem;
}

.sw-dlg-test-quote p {
  margin: 0 0 0.75em;
}

.sw-dlg-test-quote p:last-child {
  margin-bottom: 0;
}

.sw-dlg-test-attribution {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8c547;
  font-weight: 500;
}

/* Adjust top spacing because shared site nav is fixed (~64px tall) */
.sw-dialogue-talk-page .sw-dlg-hero {
  padding-top: 130px;
}

@media (max-width: 900px) {
  .sw-dialogue-talk-page .sw-dlg-hero {
    padding-top: 120px;
    min-height: auto;
  }
}

/* —— Email gate modal (talk resource) —— */
.sw-dlg-resource-modal {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.sw-dlg-resource-modal[hidden] {
  display: none !important;
}

.sw-dlg-resource-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.sw-dlg-resource-modal-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: #1c1c1c;
  border: 1px solid rgba(232, 197, 71, 0.35);
  border-radius: 8px;
  padding: 28px 26px 26px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.sw-dlg-resource-x {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
}

.sw-dlg-resource-x:hover {
  color: #e8c547;
}

.sw-dlg-resource-title {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.45rem;
  margin: 0 0 10px;
  color: #fff;
  text-transform: none;
  letter-spacing: -0.01em;
}

.sw-dlg-resource-lead {
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 18px;
}

.sw-dlg-resource-form {
  position: relative;
}

.sw-dlg-resource-label {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
}

.sw-dlg-resource-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  margin-bottom: 14px;
}

.sw-dlg-resource-input:focus {
  outline: 2px solid rgba(232, 197, 71, 0.55);
  outline-offset: 1px;
}

.sw-dlg-resource-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.sw-dlg-resource-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.sw-dlg-resource-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: #e8c547;
  cursor: pointer;
}

.sw-dlg-resource-consent span {
  flex: 1 1 auto;
}

.sw-dlg-resource-status {
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #ffb4b4;
  margin: 0 0 12px;
  min-height: 1.2em;
}

.sw-dlg-resource-status.is-success {
  color: #9fd89f;
}

.sw-dlg-resource-submit {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #e8c547;
  background: #e8c547;
  color: #1c1c1c;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.sw-dlg-resource-submit:hover:not(:disabled) {
  filter: brightness(1.06);
}

.sw-dlg-resource-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
