/*
Theme Name: Evoke Dialogue
Theme URI: https://ed.net.au/
Author: Evoke Dialogue
Author URI: https://ed.net.au/
Description: Custom modern minimalist theme for Evoke Dialogue.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: evoke-dialogue
*/

:root {
  --ed-bg: #f5f7f8;
  --ed-bg-soft: #f9fbfc;
  --ed-ink: #101820;
  --ed-muted: #5c6672;
  --ed-accent: #0f7b79;
  --ed-accent-2: #1b7ec8;
  --ed-accent-soft: #cdeeed;
  --ed-panel: rgba(255, 255, 255, 0.74);
  --ed-line: rgba(16, 24, 32, 0.1);
  --ed-radius-xl: 24px;
  --ed-radius-lg: 18px;
  --ed-radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ed-ink);
  background:
    radial-gradient(1000px 540px at 90% -8%, rgba(15, 123, 121, 0.18), transparent 60%),
    radial-gradient(900px 520px at -10% 30%, rgba(45, 91, 140, 0.09), transparent 62%),
    linear-gradient(180deg, var(--ed-bg-soft) 0%, var(--ed-bg) 100%);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--ed-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.ed-wrap {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.ed-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.ed-main {
  flex: 1;
  padding-bottom: 40px;
}

.ed-header {
  position: sticky;
  top: 0;
  z-index: 99;
  backdrop-filter: blur(12px);
  background: rgba(245, 247, 248, 0.85);
  border-bottom: 1px solid var(--ed-line);
}

.admin-bar .ed-header {
  top: 32px;
}

.ed-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ed-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}

.ed-brand-mark {
  color: var(--ed-ink);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
}

.ed-brand-tag {
  color: var(--ed-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.66rem;
  font-weight: 700;
}

.ed-nav-toggle {
  display: none;
  border: 1px solid var(--ed-line);
  background: #fff;
  color: var(--ed-ink);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
}

.ed-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.ed-nav a {
  color: #33414f;
  font-size: 0.92rem;
  font-weight: 600;
}

.ed-btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ed-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.ed-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--ed-accent), var(--ed-accent-2));
  box-shadow: 0 8px 22px rgba(15, 123, 121, 0.24);
}

.ed-btn-secondary {
  color: var(--ed-ink);
  border-color: rgba(16, 24, 32, 0.2);
  background: rgba(255, 255, 255, 0.6);
}

.ed-eyebrow {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 99px;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0d6665;
  background: var(--ed-accent-soft);
  font-weight: 800;
}

.ed-section {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius-xl);
  background: var(--ed-panel);
  box-shadow: 0 8px 24px rgba(16, 24, 32, 0.05);
}

.ed-section h2 {
  margin: 2px 0 4px;
  font-size: 1.42rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.ed-sub {
  margin: 0 0 18px;
  color: var(--ed-muted);
  font-size: 0.98rem;
}

.ed-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ed-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ed-card {
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius-lg);
  background: #fff;
  padding: 16px;
}

.ed-card h3 {
  margin: 2px 0 8px;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.ed-card p {
  margin: 0;
  color: #55606d;
  font-size: 0.9rem;
  line-height: 1.55;
}

.ed-card-media {
  margin: -16px -16px 12px;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background: #eef3f7;
}

.ed-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ed-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  border: 1px solid var(--ed-line);
  background: linear-gradient(180deg, #f4fbfb, #edf6f8);
  color: #31546a;
  border-radius: 50%;
  padding: 0;
  font-size: 1rem;
}

.ed-service-icon i {
  line-height: 1;
}

.ed-team-contact {
  margin-top: 10px;
  color: #4b5a68;
  font-size: 0.84rem;
  font-weight: 700;
}

.ed-socials {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ed-socials a {
  display: inline-flex;
  padding: 3px 10px;
  border: 1px solid var(--ed-line);
  border-radius: 999px;
  background: #fff;
  color: #3e4d5c;
  font-size: 0.74rem;
  font-weight: 700;
}

.ed-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ed-client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ed-client-card {
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius-md);
  background: #fff;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.ed-client-media {
  width: 100%;
  min-height: 84px;
  border: 1px solid var(--ed-line);
  border-radius: 10px;
  background: #fbfdfe;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.ed-client-media img {
  width: 100%;
  max-height: 56px;
  object-fit: contain;
}

.ed-chip {
  display: inline-flex;
  border: 1px solid var(--ed-line);
  background: #fff;
  color: #3a4958;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

.ed-hero {
  padding: 72px 0 54px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.ed-hero h1 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 16ch;
  font-family: "Sora", "Manrope", sans-serif;
}

.ed-hero-copy {
  margin: 20px 0 28px;
  color: var(--ed-muted);
  font-size: 1.12rem;
  line-height: 1.58;
  max-width: 54ch;
}

.ed-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ed-diagram {
  position: relative;
  min-height: 390px;
  border-radius: 28px;
  border: 1px solid var(--ed-line);
  background: var(--ed-panel);
  box-shadow: 0 16px 36px rgba(15, 25, 35, 0.08);
  overflow: hidden;
  padding: 30px;
}

.ed-node {
  position: absolute;
  border-radius: var(--ed-radius-lg);
  background: #fff;
  border: 1px solid var(--ed-line);
  padding: 12px 14px;
  font-size: 0.82rem;
  color: #2d3d4b;
  box-shadow: 0 8px 20px rgba(16, 24, 32, 0.06);
}

.ed-node b {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 3px;
}

.ed-n1 { left: 34px; top: 48px; width: 170px; }
.ed-n2 { right: 42px; top: 72px; width: 180px; }
.ed-n3 { left: 70px; bottom: 102px; width: 170px; }
.ed-n4 { right: 52px; bottom: 60px; width: 170px; }
.ed-n5 {
  left: 50%;
  top: 50%;
  width: 186px;
  transform: translate(-50%, -50%);
  border-color: rgba(15, 123, 121, 0.35);
  background: linear-gradient(180deg, #ffffff 0%, #f0fcfb 100%);
}

.ed-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, rgba(15, 123, 121, 0.1), rgba(15, 123, 121, 0.45));
  transform-origin: left center;
}

.ed-l1 { left: 186px; top: 102px; width: 130px; transform: rotate(12deg); }
.ed-l2 { left: 228px; top: 140px; width: 145px; transform: rotate(-10deg); }
.ed-l3 { left: 238px; top: 198px; width: 136px; transform: rotate(16deg); }
.ed-l4 { left: 174px; top: 248px; width: 150px; transform: rotate(-18deg); }

.ed-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.ed-step {
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius-md);
  background: #fff;
  padding: 11px;
  text-align: center;
  color: #3f4b58;
  font-size: 0.82rem;
  font-weight: 600;
}

.ed-outcomes {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.ed-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.ed-kpi {
  border: 1px solid var(--ed-line);
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.ed-kpi strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}

.ed-kpi span {
  color: #5e6976;
  font-size: 0.8rem;
}

.ed-quote {
  border: 1px solid var(--ed-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f5fbff);
  padding: 18px;
  font-size: 0.95rem;
  line-height: 1.58;
  color: #324253;
}

.ed-quote small {
  display: block;
  margin-top: 12px;
  color: #617285;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ed-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ed-post-card {
  border: 1px solid var(--ed-line);
  background: #fff;
  border-radius: var(--ed-radius-md);
  padding: 14px;
}

.ed-post-card .ed-card-media {
  margin: -14px -14px 12px;
}

.ed-post-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.35;
}

.ed-post-card p {
  margin: 0;
  color: #4f5d6b;
  font-size: 0.9rem;
}

.ed-post-meta {
  margin-top: 10px;
  color: #6a7480;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.ed-page-hero {
  padding: 66px 0 18px;
}

.ed-page-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-family: "Sora", "Manrope", sans-serif;
}

.ed-page-intro {
  margin-top: 14px;
  color: var(--ed-muted);
  font-size: 1.04rem;
  max-width: 72ch;
}

.ed-content {
  margin-top: 20px;
}

.ed-content .ed-section {
  margin-top: 0;
}

.ed-content h2,
.ed-content h3,
.ed-content h4 {
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.ed-content p,
.ed-content li {
  color: #31404f;
  font-size: 1rem;
}

.ed-content ul,
.ed-content ol {
  padding-left: 1.2rem;
}

.ed-content blockquote {
  border-left: 4px solid var(--ed-accent);
  margin: 1.2rem 0;
  padding: 0.2rem 1rem;
  color: #405061;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 0 8px 8px 0;
}

.ed-pagination {
  margin-top: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ed-pagination .page-numbers {
  border: 1px solid var(--ed-line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: #304152;
  font-size: 0.86rem;
  font-weight: 700;
}

.ed-pagination .current {
  background: linear-gradient(135deg, var(--ed-accent), var(--ed-accent-2));
  color: #fff;
  border-color: transparent;
}

.ed-footer {
  border-top: 1px solid var(--ed-line);
  margin-top: 26px;
  padding: 18px 0 30px;
  color: #66717f;
  font-size: 0.84rem;
}

.ed-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.wp-block-woocommerce-mini-cart,
.wc-block-mini-cart,
.wc-block-components-drawer,
.wc-block-mini-cart__drawer,
.wc-block-components-drawer__screen-overlay {
  display: none !important;
}

@media (max-width: 980px) {
  .ed-hero,
  .ed-grid-3,
  .ed-grid-2,
  .ed-process,
  .ed-outcomes,
  .ed-post-grid,
  .ed-metrics,
  .ed-client-grid {
    grid-template-columns: 1fr;
  }

  .ed-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(245, 247, 248, 0.98);
    border-bottom: 1px solid var(--ed-line);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 4vw 18px;
    gap: 12px;
  }

  .ed-nav.is-open {
    display: flex;
  }

  .ed-nav-toggle {
    display: inline-flex;
  }

  .ed-header-inner {
    min-height: 68px;
  }

  .ed-hero {
    padding: 42px 0 34px;
  }

  .ed-hero-copy {
    font-size: 1rem;
  }

  .ed-section {
    padding: 18px;
  }

  .ed-footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 782px) {
  .admin-bar .ed-header {
    top: 46px;
  }
}
