/* The Adanta Blueprint — V2 homepage + page accents */
.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;
}

:root {
  --adanta-bg: #fff7f0;
  --adanta-surface: #ead6d6;
  --adanta-gold: #d4b499;
  --adanta-text: #1a2e35;
  --adanta-accent: #316879;
  --adanta-accent-hover: #255a67;
  --adanta-muted: #5a6b72;
  --adanta-cream: #fbf4ee;
  --adanta-deep: #14323a;
}

body.adanta-home,
body.adanta-page {
  background: var(--adanta-bg);
  color: var(--adanta-text);
  font-family: "DM Sans", system-ui, sans-serif;
}

body.adanta-home .site-header,
body.adanta-page .site-header {
  background: rgba(255, 247, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(49, 104, 121, 0.12);
}

body.adanta-home .logo,
body.adanta-page .logo {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.01em;
}

body.adanta-home .btn-primary,
body.adanta-page .btn-primary,
.adanta-home .btn-primary {
  background: var(--adanta-accent);
  border-color: var(--adanta-accent);
  color: #fff;
}

body.adanta-home .btn-primary:hover,
body.adanta-page .btn-primary:hover {
  background: var(--adanta-accent-hover);
  border-color: var(--adanta-accent-hover);
}

body.adanta-home .btn-ghost,
.adanta-btn-ghost {
  background: transparent;
  border: 1.5px solid var(--adanta-accent);
  color: var(--adanta-accent);
}

body.adanta-home .btn-ghost:hover,
.adanta-btn-ghost:hover {
  background: rgba(49, 104, 121, 0.08);
}

/* Hero */
.adanta-hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.adanta-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(20, 50, 58, 0.82) 0%, rgba(20, 50, 58, 0.45) 48%, rgba(20, 50, 58, 0.25) 100%),
    var(--adanta-hero-image, none) center / cover no-repeat;
  transform: scale(1.02);
}

.adanta-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 4.5rem 1.5rem 4rem;
  margin: 0 auto 0 0;
  width: min(1120px, 100%);
  margin-left: max(1.5rem, calc((100% - 1120px) / 2));
}

.adanta-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 1rem;
  max-width: 16ch;
}

.adanta-hero .lead {
  font-size: 1.05rem;
  line-height: 1.65;
  opacity: 0.95;
  max-width: 42rem;
  margin: 0 0 1.75rem;
}

.adanta-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

/* Must beat body.adanta-home .btn-ghost (teal accent) on dark hero */
body.adanta-home .adanta-hero .btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  color: #fff;
}

body.adanta-home .adanta-hero .btn-ghost:hover,
body.adanta-home .adanta-hero .btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff;
}

/* Sections */
.adanta-section {
  padding: 4.25rem 0;
}

.adanta-section .container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.adanta-section h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--adanta-deep);
}

.adanta-section .section-lead,
.adanta-prose {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--adanta-muted);
  max-width: 44rem;
}

.adanta-prose p + p {
  margin-top: 1rem;
}

.adanta-purpose {
  margin-top: 1.75rem;
  padding: 1.25rem 1.4rem;
  border-left: 3px solid var(--adanta-gold);
  background: rgba(234, 214, 214, 0.35);
  font-style: italic;
  color: var(--adanta-deep);
  max-width: 40rem;
}

.adanta-bullets {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.adanta-bullets li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--adanta-text);
  line-height: 1.5;
}

.adanta-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--adanta-gold);
}

/* Offer cards */
.adanta-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.adanta-card {
  background: #fff;
  border: 1px solid rgba(49, 104, 121, 0.12);
  padding: 1.5rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.adanta-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26, 46, 53, 0.08);
}

.adanta-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  margin: 0;
  color: var(--adanta-deep);
}

.adanta-card p {
  margin: 0;
  flex: 1;
  color: var(--adanta-muted);
  line-height: 1.55;
  font-size: 0.98rem;
}

.adanta-card .adanta-card-link {
  color: var(--adanta-accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.adanta-card .adanta-card-link:hover {
  text-decoration: underline;
}

/* Featured Return */
.adanta-featured {
  background: linear-gradient(135deg, #14323a 0%, #316879 100%);
  color: #fff;
}

.adanta-featured h2,
.adanta-featured .eyebrow {
  color: #fff;
}

.adanta-featured .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.85;
  margin: 0 0 0.75rem;
}

.adanta-featured .section-lead {
  color: rgba(255, 255, 255, 0.9);
}

.adanta-featured .btn-primary {
  background: #fff;
  color: var(--adanta-deep);
  border-color: #fff;
}

.adanta-featured .btn-primary:hover {
  background: var(--adanta-cream);
}

/* Pathway */
.adanta-pathway {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin: 2rem 0 1.5rem;
  counter-reset: path;
}

.adanta-pathway-step {
  background: #fff;
  border-top: 3px solid var(--adanta-gold);
  padding: 1.1rem 1rem;
}

.adanta-pathway-step strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--adanta-deep);
}

.adanta-pathway-step span {
  font-size: 0.9rem;
  color: var(--adanta-muted);
  line-height: 1.45;
}

/* Meet */
.adanta-meet {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: 2.5rem;
  align-items: center;
}

.adanta-meet img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.adanta-meet .adanta-prose {
  max-width: none;
}

/* Guiding truth */
.adanta-truth {
  background: var(--adanta-surface);
  text-align: center;
  padding: 5rem 1.5rem;
}

.adanta-truth blockquote {
  margin: 0 auto;
  max-width: 38rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.35;
  color: var(--adanta-deep);
}

.adanta-truth p {
  margin: 1.25rem auto 0;
  max-width: 34rem;
  color: var(--adanta-muted);
  line-height: 1.6;
}

/* Final CTA + community */
.adanta-final-cta {
  text-align: center;
  background: var(--adanta-cream);
}

.adanta-final-cta .adanta-hero-cta,
.adanta-final-cta .section-lead {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.adanta-community {
  background: #fff;
  border-top: 1px solid rgba(49, 104, 121, 0.1);
}

.adanta-community .publisher-newsletter-fields,
.adanta-community-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
  gap: 0.65rem;
  max-width: 40rem;
  align-items: stretch;
}

.adanta-community .publisher-newsletter-fields input,
.adanta-community-fields input {
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(49, 104, 121, 0.25);
  border-radius: 6px;
  font: inherit;
  min-width: 0;
}

.adanta-footer-blurb {
  max-width: 36rem;
  margin: 1rem 0 0;
  color: var(--adanta-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.adanta-footer-email {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
}

.adanta-footer-email a {
  color: var(--adanta-accent);
}

@media (max-width: 720px) {
  .adanta-pathway {
    grid-template-columns: 1fr;
  }
  .adanta-meet {
    grid-template-columns: 1fr;
  }
  .adanta-meet img {
    max-width: 280px;
  }
  .adanta-community .publisher-newsletter-fields,
  .adanta-community-fields {
    grid-template-columns: 1fr;
  }
  .adanta-hero-inner {
    margin-left: 0;
    padding: 3.5rem 1.25rem 3rem;
  }
}

/* Page body polish */
body.adanta-page .article-main {
  max-width: 760px;
}

body.adanta-page .article-body h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--adanta-deep);
  margin-top: 2rem;
}

body.adanta-page .article-body .adanta-page-cta {
  margin-top: 2rem;
}

body.adanta-page .adanta-form-wrap {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--adanta-cream);
  border: 1px solid rgba(49, 104, 121, 0.12);
}

body.adanta-page .adanta-form-wrap .publisher-newsletter-fields {
  display: grid;
  gap: 0.65rem;
  max-width: 28rem;
}

body.adanta-page .adanta-form-wrap input[type="text"],
body.adanta-page .adanta-form-wrap input[type="email"] {
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(49, 104, 121, 0.25);
  border-radius: 6px;
  font: inherit;
  width: 100%;
}

body.adanta-page .adanta-optin {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--adanta-muted);
  margin: 0.75rem 0 1rem;
}

body.adanta-page .adanta-disclaimer {
  font-size: 0.88rem;
  color: var(--adanta-muted);
  margin-top: 1.5rem;
  line-height: 1.5;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .adanta-hero::before {
    animation: adanta-ken 18s ease-in-out infinite alternate;
  }
  .adanta-card {
    animation: adanta-fade 0.6s ease both;
  }
  .adanta-card:nth-child(2) { animation-delay: 0.06s; }
  .adanta-card:nth-child(3) { animation-delay: 0.12s; }
  .adanta-card:nth-child(4) { animation-delay: 0.18s; }
}

@keyframes adanta-ken {
  from { transform: scale(1.02); }
  to { transform: scale(1.06); }
}

@keyframes adanta-fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
