/* DiagoMedia Theme — self-contained CSS (no build step) */

:root {
  --charcoal: #373A3C;
  --charcoal-soft: #4A4E51;
  --charcoal-muted: #6B7074;
  --charcoal-light: #F4F5F5;
  --gold: #E5A124;
  --gold-dark: #C7880E;
  --gold-soft: #F7D48A;
  --gold-glow: rgba(229, 161, 36, 0.25);
  --white: #ffffff;
  --shadow-soft: 0 4px 24px rgba(55, 58, 60, 0.06);
  --shadow-card: 0 8px 32px rgba(55, 58, 60, 0.08);
  --shadow-glow: 0 0 60px rgba(229, 161, 36, 0.2);
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 72rem; /* 6xl */
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--white);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button, input, textarea { font-family: inherit; }

.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;
}
.sr-only:focus,
.skip-link:focus {
  position: absolute;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  overflow: visible;
  white-space: normal;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  background: var(--gold);
  color: var(--charcoal);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
}

.focus-ring:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

/* Gradients */
.gradient-hero {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(229, 161, 36, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(229, 161, 36, 0.08), transparent),
    linear-gradient(180deg, #ffffff 0%, #F8F8F7 100%);
}
.gradient-section {
  background:
    radial-gradient(ellipse 50% 60% at 0% 50%, rgba(229, 161, 36, 0.06), transparent),
    #ffffff;
}
.gradient-cta {
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(229, 161, 36, 0.15), transparent),
    linear-gradient(135deg, #373A3C 0%, #2A2C2E 100%);
}

.nav-blur {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.metric { font-variant-numeric: tabular-nums; }

.service-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

#mobile-menu { display: none; }
#mobile-menu.open { display: block; }
.form-success { display: none; }
.form-success.show { display: block; }
.form-fields.hide { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
}
.btn-gold:hover { background: var(--gold-dark); }
.btn-gold-soft:hover { background: var(--gold-soft); }
.btn-outline {
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid rgba(55, 58, 60, 0.1);
}
.btn-outline:hover {
  border-color: rgba(55, 58, 60, 0.2);
  box-shadow: var(--shadow-soft);
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-md { padding: 0.875rem 1.5rem; font-size: 1rem; }
.btn-full { width: 100%; }
.btn-glow { box-shadow: var(--shadow-glow); }
.btn-soft { box-shadow: var(--shadow-soft); }

@media (min-width: 640px) {
  .btn-responsive { width: auto; }
}

/* ========== Header ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(55, 58, 60, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
@media (min-width: 640px) {
  .header-inner { height: 4.25rem; }
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
}
.site-logo img {
  height: 3rem;
  width: auto;
}
@media (min-width: 640px) {
  .site-logo img { height: 3.5rem; }
}
.site-logo-text {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--charcoal);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal-muted);
  border-radius: 0.25rem;
  transition: color 0.15s ease;
}
.nav-desktop a:hover { color: var(--charcoal); }
.header-cta { display: none; align-items: center; gap: 0.75rem; }
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .header-cta { display: flex; }
  .menu-toggle { display: none !important; }
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: transparent;
  border: none;
  color: var(--charcoal);
  cursor: pointer;
}
.menu-toggle:hover { background: var(--charcoal-light); }
.menu-toggle svg { width: 1.5rem; height: 1.5rem; }

.mobile-menu {
  padding-bottom: 1rem;
  border-top: 1px solid rgba(55, 58, 60, 0.05);
  padding-top: 0.75rem;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav a {
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  border-radius: 0.5rem;
}
.mobile-nav a:hover { background: var(--charcoal-light); }
.mobile-nav .btn { margin-top: 0.5rem; margin-left: 0.75rem; margin-right: 0.75rem; }

@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}

/* ========== Hero ========== */
.hero {
  padding-top: 7rem;
  padding-bottom: 4rem;
}
@media (min-width: 640px) {
  .hero { padding-top: 8rem; padding-bottom: 6rem; }
}
.hero-inner { max-width: 48rem; margin: 0 auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.25rem;
}
@media (min-width: 640px) {
  .eyebrow { font-size: 0.875rem; }
}
.eyebrow-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--gold);
}
.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--charcoal);
  margin: 0 0 1.5rem;
}
@media (min-width: 640px) {
  .hero-title { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 3.5rem; }
}
.hero-highlight {
  position: relative;
  display: inline-block;
}
.hero-highlight-text {
  position: relative;
  z-index: 10;
  background: linear-gradient(to right, var(--gold-dark), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-highlight-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.25rem;
  height: 0.75rem;
  background: rgba(229, 161, 36, 0.2);
  border-radius: 0.125rem;
  z-index: 0;
}
.hero-lead {
  font-size: 1.125rem;
  color: var(--charcoal-muted);
  line-height: 1.625;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}
@media (min-width: 640px) {
  .hero-lead { font-size: 1.25rem; }
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    gap: 1rem;
  }
  .hero-actions .btn { width: auto; }
}
.hero-actions .btn { width: 100%; }

/* Social proof */
.social-proof {
  margin-top: 4rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) {
  .social-proof { margin-top: 5rem; }
}
.social-proof-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(107, 112, 116, 0.7);
  margin-bottom: 1.5rem;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}
.metric-card {
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(55, 58, 60, 0.05);
  box-shadow: var(--shadow-soft);
  padding: 1.25rem 1rem;
  text-align: center;
}
.metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--charcoal);
  margin: 0;
}
@media (min-width: 640px) {
  .metric-value { font-size: 1.875rem; }
}
.metric-label {
  font-size: 0.75rem;
  color: var(--charcoal-muted);
  margin: 0.25rem 0 0;
}
@media (min-width: 640px) {
  .metric-label { font-size: 0.875rem; }
}

/* ========== Sections common ========== */
.section {
  padding: 4rem 0;
  border-top: 1px solid rgba(55, 58, 60, 0.05);
}
@media (min-width: 640px) {
  .section { padding: 5rem 0; }
  .section-lg { padding: 6rem 0; }
}
.section-heading {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--charcoal);
  margin: 0 0 0.75rem;
}
@media (min-width: 640px) {
  .section-heading { font-size: 1.875rem; }
}
.section-heading-lg {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--charcoal);
  margin: 0 0 1rem;
}
@media (min-width: 640px) {
  .section-heading-lg { font-size: 2.25rem; }
}
.section-lead {
  color: var(--charcoal-muted);
  font-size: 1rem;
  line-height: 1.625;
  margin: 0;
}
@media (min-width: 640px) {
  .section-lead { font-size: 1.125rem; }
}
.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.75rem;
}
.section-intro {
  max-width: 42rem;
  margin-bottom: 3rem;
}
.section-intro-lg { margin-bottom: 3.5rem; }

/* Value props */
.value-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
.card {
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(55, 58, 60, 0.05);
  background: var(--white);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 640px) {
  .card { padding: 2rem; }
}
.icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(229, 161, 36, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.icon-box svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gold-dark);
}
.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 0.5rem;
}
.card-text {
  color: var(--charcoal-muted);
  font-size: 0.875rem;
  line-height: 1.625;
  margin: 0;
}
@media (min-width: 640px) {
  .card-text { font-size: 1rem; }
}

/* Services */
.services-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  border-radius: var(--radius-2xl);
  background: var(--white);
  border: 1px solid rgba(55, 58, 60, 0.05);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 640px) {
  .service-card { padding: 1.75rem; }
  .service-card-wide { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .service-card-wide { grid-column: span 1; }
}
.service-num {
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

/* Work */
.work-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .work-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3.5rem;
  }
}
.badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--charcoal-light);
  color: var(--charcoal-muted);
  border: 1px solid rgba(55, 58, 60, 0.05);
}
@media (min-width: 640px) {
  .badge { align-self: auto; }
}
.work-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
.work-card {
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(55, 58, 60, 0.05);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.2s ease;
}
.work-card:hover { box-shadow: var(--shadow-card); }
.work-card-bar { height: 0.5rem; }
.work-card-bar-gold { background: linear-gradient(to right, var(--gold), var(--gold-soft)); }
.work-card-bar-charcoal { background: linear-gradient(to right, var(--charcoal), var(--charcoal-soft)); }
.work-card-bar-gold-dark { background: linear-gradient(to right, var(--gold-dark), var(--gold)); }
.work-card-bar-mixed { background: linear-gradient(to right, var(--charcoal-soft), var(--gold)); }
.work-card-body { padding: 1.5rem; }
@media (min-width: 640px) {
  .work-card-body { padding: 2rem; }
}
.work-meta {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--charcoal-muted);
  margin: 0 0 0.5rem;
}
.work-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 0.75rem;
}
.work-desc {
  color: var(--charcoal-muted);
  font-size: 0.875rem;
  line-height: 1.625;
  margin: 0 0 1.5rem;
}
.work-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 0;
}
.work-stats dd {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
}
.work-stats p {
  font-size: 0.75rem;
  color: var(--charcoal-muted);
  margin: 0;
}

/* About */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}
.about-text p { margin: 0 0 1rem; }
.about-text p:last-of-type { margin-bottom: 2rem; }
.checklist { display: flex; flex-direction: column; gap: 0.75rem; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--charcoal);
  font-size: 0.875rem;
}
@media (min-width: 640px) {
  .checklist li { font-size: 1rem; }
}
.check-dot {
  margin-top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(229, 161, 36, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.check-dot span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
}
.about-card-wrap { position: relative; }
.about-card-glow {
  position: absolute;
  inset: -1rem;
  background: rgba(229, 161, 36, 0.1);
  border-radius: var(--radius-3xl);
  filter: blur(40px);
}
.about-card {
  position: relative;
  border-radius: var(--radius-3xl);
  border: 1px solid rgba(55, 58, 60, 0.05);
  background: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
@media (min-width: 640px) {
  .about-card { padding: 2.5rem; }
}
.about-card img {
  height: 4rem;
  width: auto;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .about-card img { height: 5rem; }
}
.about-quote {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.625;
  margin: 0 0 1.5rem;
}
@media (min-width: 640px) {
  .about-quote { font-size: 1.25rem; }
}
.about-attribution {
  font-size: 0.875rem;
  color: var(--charcoal-muted);
  font-weight: 500;
  margin: 0;
}
.about-address {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(55, 58, 60, 0.05);
}
.about-address p {
  font-size: 0.875rem;
  color: var(--charcoal-muted);
  margin: 0;
}
.about-address strong {
  font-weight: 600;
  color: var(--charcoal);
}

/* CTA */
.cta-band { padding: 4rem 0; }
@media (min-width: 640px) {
  .cta-band { padding: 5rem 0; }
}
.cta-box {
  border-radius: var(--radius-3xl);
  padding: 3rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
@media (min-width: 640px) {
  .cta-box { padding: 4rem 3rem; }
}
.cta-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background: rgba(229, 161, 36, 0.2);
  border-radius: 50%;
  filter: blur(48px);
  transform: translate(25%, -50%);
}
.cta-content { position: relative; }
.cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
}
@media (min-width: 640px) {
  .cta-title { font-size: 1.875rem; }
}
@media (min-width: 1024px) {
  .cta-title { font-size: 2.25rem; }
}
.cta-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  max-width: 36rem;
  margin: 0 auto 2rem;
}
@media (min-width: 640px) {
  .cta-text { font-size: 1.125rem; }
}

/* Contact */
.contact-section {
  background: rgba(244, 245, 245, 0.4);
}
.contact-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}
.contact-info { margin-bottom: 2rem; }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--white);
  border: 1px solid rgba(55, 58, 60, 0.05);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gold-dark);
}
.contact-item-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal-muted);
  margin: 0;
}
.contact-item-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0;
}
.contact-item-value a:hover { color: var(--gold-dark); }

.form-card {
  border-radius: var(--radius-3xl);
  background: var(--white);
  border: 1px solid rgba(55, 58, 60, 0.05);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
}
@media (min-width: 640px) {
  .form-card { padding: 2rem; }
}
.form-success-inner { text-align: center; padding: 2rem 0; }
.success-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(229, 161, 36, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.success-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--gold-dark);
}
.form-success h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 0.5rem;
}
.form-success p {
  color: var(--charcoal-muted);
  font-size: 0.875rem;
  margin: 0 0 1.5rem;
}
@media (min-width: 640px) {
  .form-success p { font-size: 1rem; }
}
#form-reset {
  background: none;
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-dark);
  cursor: pointer;
  padding: 0;
}
#form-reset:hover { color: var(--gold); }

.form-fields { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.375rem;
}
.form-group label .optional {
  color: var(--charcoal-muted);
  font-weight: 400;
}
.form-group input,
.form-group textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(55, 58, 60, 0.1);
  background: rgba(244, 245, 245, 0.5);
  padding: 0.75rem 1rem;
  color: var(--charcoal);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(107, 112, 116, 0.5);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(229, 161, 36, 0.3);
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
}
.form-note {
  font-size: 0.75rem;
  color: var(--charcoal-muted);
  text-align: center;
  margin: 0;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--charcoal);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-inner {
  padding: 3rem 0;
}
@media (min-width: 640px) {
  .footer-inner { padding: 4rem 0; }
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1.15fr 1fr;
    gap: 2rem;
  }
}
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.625;
  max-width: 20rem;
}
.footer-logo img {
  height: 3rem;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
@media (min-width: 640px) {
  .footer-logo img { height: 3.5rem; }
}
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 0.25rem;
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* Page / 404 / index fallbacks */
.content-area {
  padding: 8rem 0 4rem;
  min-height: 50vh;
}
.content-area .entry-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
}
.content-area .entry-content {
  color: var(--charcoal-muted);
  line-height: 1.7;
  max-width: 42rem;
}
.error-404 {
  text-align: center;
  padding: 8rem 1.25rem 4rem;
}
.error-404 h1 {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 1rem;
}
.error-404 p {
  color: var(--charcoal-muted);
  margin: 0 0 2rem;
}

/* WordPress custom logo */
.custom-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: 0.5rem;
}
.custom-logo-link img,
.custom-logo,
.site-logo-img {
  height: 3rem;
  width: auto;
}
@media (min-width: 640px) {
  .custom-logo-link img,
  .custom-logo,
  .site-logo-img {
    height: 3.5rem;
  }
}

/* Align WP-generated content spacing */
.entry-content p { margin: 0 0 1rem; }
.entry-content a { color: var(--gold-dark); text-decoration: underline; }

/* Footer legal links */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.footer-legal a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-legal a:hover,
.footer-legal a:focus-visible { color: var(--gold); }

/* Readable pages (legal etc.) */
.page-article {
  max-width: 46rem;
  margin: 0 auto;
}
.page-article .entry-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 3px solid var(--gold);
}
.page-article .entry-content {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--charcoal-soft);
}
.page-article .entry-content h2 {
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--charcoal);
  margin: 2.5rem 0 0.75rem;
}
.page-article .entry-content ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}
.page-article .entry-content li { margin-bottom: 0.5rem; }
.page-article .entry-content li::marker { color: var(--gold); }
.page-article .entry-content strong { color: var(--charcoal); }
.page-article .entry-content a:hover { color: var(--gold); }
.page-article .legal-effective {
  display: inline-block;
  font-size: 0.875rem;
  background: var(--charcoal-light);
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0.875rem;
  border-radius: 0.375rem;
  margin-bottom: 1.5rem;
}

/* ========== Product pages (ebooks) ========== */
.product-area { padding-top: 6.5rem; }
.product-page { max-width: var(--max); margin: 0 auto; }
.product-page .entry-content {
  max-width: none;
  color: var(--charcoal-soft);
  line-height: 1.65;
}
.product-page .entry-content a:not(.btn) { color: var(--gold-dark); text-decoration: underline; }
.product-page .entry-content a:not(.btn):hover { color: var(--gold); }
.product-page .entry-content .btn { text-decoration: none; color: var(--charcoal); }
.product-page .entry-content p { margin: 0 0 1rem; }

.product-hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-3xl);
  background:
    radial-gradient(ellipse at 85% 10%, rgba(229, 161, 36, 0.22), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(74, 78, 81, 0.10), transparent 60%),
    linear-gradient(180deg, #fffaf0 0%, #ffffff 100%);
  border: 1px solid rgba(55, 58, 60, 0.06);
  box-shadow: var(--shadow-soft);
}
@media (min-width: 640px) { .product-hero { padding: 3.5rem 3rem; } }
@media (min-width: 900px) {
  .product-hero { grid-template-columns: 1.35fr 1fr; gap: 3.5rem; padding: 4rem 4rem; }
}
.product-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid rgba(55, 58, 60, 0.08);
  border-radius: var(--radius-full);
  padding: 0.375rem 0.875rem;
  box-shadow: var(--shadow-soft);
}
.product-eyebrow .eyebrow-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--gold);
}
.product-en-intro {
  font-size: 0.875rem;
  color: var(--charcoal-muted);
  font-style: italic;
  margin-top: 0.75rem !important;
}
.product-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--charcoal);
  margin: 1.25rem 0 0.5rem;
}
.product-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  color: var(--gold-dark);
  line-height: 1.35;
}
.product-lead { font-size: 1.0625rem; color: var(--charcoal-soft); max-width: 36rem; }
.product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.875rem;
  margin: 1.5rem 0;
}
.product-price-amount {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  font-variant-numeric: tabular-nums;
}
.product-price-note { font-size: 0.875rem; color: var(--charcoal-muted); max-width: 22rem; line-height: 1.45; }
.product-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.product-note { font-size: 0.8125rem; color: var(--charcoal-muted); }
.product-cover { margin: 0; display: flex; justify-content: center; position: relative; }
.product-cover::before {
  content: "";
  position: absolute;
  inset: 12% 8%;
  background: var(--gold-glow);
  filter: blur(48px);
  border-radius: 50%;
}
.product-cover img {
  position: relative;
  width: 100%;
  max-width: 300px;
  border-radius: 0.375rem 0.75rem 0.75rem 0.375rem;
  box-shadow: 0 30px 60px -12px rgba(55, 58, 60, 0.45), 0 18px 36px -18px rgba(0, 0, 0, 0.5);
  transform: perspective(1200px) rotateY(-8deg);
}

.product-section { padding: 4rem 0 0; }
@media (min-width: 640px) { .product-section { padding-top: 5.5rem; } }
.product-h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0.5rem 0 1rem;
}
.product-section-lead { max-width: 42rem; font-size: 1.0625rem; color: var(--charcoal-muted); }
.product-grid { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .product-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .product-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.product-card {
  background: var(--white);
  border: 1px solid rgba(55, 58, 60, 0.08);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0; height: 4px;
  background: linear-gradient(to right, var(--gold), var(--gold-soft));
}
.product-card-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-dark);
  margin-bottom: 0.5rem !important;
}
.product-card h3 { font-size: 1.0625rem; color: var(--charcoal); margin: 0 0 0.5rem; line-height: 1.3; }
.product-card p:last-child { margin: 0; font-size: 0.9375rem; color: var(--charcoal-muted); }

.product-toc { margin-top: 2rem; }
@media (min-width: 768px) { .product-toc { column-count: 2; column-gap: 1rem; } }
.product-toc-part {
  background: var(--charcoal-light);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  margin-bottom: 1rem;
  break-inside: avoid;
  page-break-inside: avoid;
  display: inline-block;
  width: 100%;
}
.product-toc-head { font-weight: 700; color: var(--charcoal); margin-bottom: 0.25rem !important; }
.product-toc-desc { font-size: 0.875rem; color: var(--charcoal-muted); }
.product-toc ul { margin: 0.75rem 0 0; padding: 0; list-style: none; }
.product-toc li {
  display: flex;
  gap: 0.875rem;
  padding: 0.625rem 0;
  border-top: 1px solid rgba(55, 58, 60, 0.08);
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.9375rem;
}
.product-toc li span {
  flex: 0 0 1.75rem;
  color: var(--gold-dark);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.product-split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .product-split { grid-template-columns: 1.3fr 1fr; gap: 4rem; } }
.product-checklist { margin: 1.5rem 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.875rem; }
.product-checklist li {
  position: relative;
  padding-left: 2rem;
  color: var(--charcoal-soft);
}
.product-checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.3rem;
  width: 1.125rem; height: 1.125rem;
  border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23373A3C' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}
.product-fineprint { font-size: 0.8125rem; color: var(--charcoal-muted); }
.product-author {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-3xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.product-author img {
  width: 6rem; height: 6rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  margin-bottom: 1.25rem;
}
.product-author blockquote {
  margin: 0 0 1rem;
  font-size: 1.1875rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--white);
}
.product-author-name {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold) !important;
}
.product-page .product-author a:not(.btn) { color: var(--gold-soft); }
.product-page .product-author a:not(.btn):hover { color: var(--gold); }

.product-cta {
  margin-top: 5rem;
  text-align: center;
  border-radius: var(--radius-3xl);
  padding: 3.5rem 1.5rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(229, 161, 36, 0.35), transparent 60%),
    var(--charcoal);
  color: rgba(255, 255, 255, 0.75);
}
.product-cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 0.75rem;
}
.product-cta p { margin-bottom: 1.75rem !important; }
@media (max-width: 899px) {
  .product-cover img { max-width: 220px; transform: none; }
}
