/*
Theme Name: Edwin Davis International
Theme URI: https://edwindavisinternational.com
Author: EDDE CREATIVE
Author URI: https://edwindavisinternational.com
Description: Production-ready WordPress theme for Edwin L. Davis International Inc., derived from the governance-locked v1.0 master. Fully responsive and editable through WordPress.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: edwin-davis-international
License: Proprietary enterprise asset
*/
:root {
  --blue-950: #071b33;
  --blue-900: #0b2545;
  --blue-800: #123d67;
  --blue-700: #14538a;
  --blue-100: #eaf3fb;
  --green-600: #2f9e5b;
  --green-500: #3abf72;
  --green-100: #e9f8ef;
  --ink: #142033;
  --muted: #5d6b7d;
  --line: #dce4ec;
  --surface: #ffffff;
  --surface-alt: #f5f8fb;
  --shadow: 0 20px 60px rgba(7, 27, 51, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 228, 236, 0.8);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: white;
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: .08em;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(20, 83, 138, 0.2);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: "Manrope", sans-serif; font-size: .98rem; }
.brand-text small { color: var(--muted); margin-top: 5px; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: .94rem;
  font-weight: 600;
}

.primary-nav a:not(.button) { color: #314258; }
.primary-nav a:hover { color: var(--blue-700); }

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--blue-900);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
  color: white;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(20, 83, 138, 0.22);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(20, 83, 138, 0.28);
}

.button-small { min-height: 44px; padding-inline: 18px; }
.button-secondary {
  color: var(--blue-900);
  background: white;
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  padding: 88px 0 34px;
  background:
    radial-gradient(circle at 85% 15%, rgba(58,191,114,0.14), transparent 26%),
    radial-gradient(circle at 15% 20%, rgba(20,83,138,0.13), transparent 32%),
    linear-gradient(180deg, #fbfdff 0%, #f3f7fb 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  color: var(--green-600);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2, h3, h4 {
  font-family: "Manrope", sans-serif;
  margin: 0;
  color: var(--blue-950);
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(2.7rem, 5.7vw, 5.3rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  letter-spacing: -0.04em;
}

h3 { font-size: 1.3rem; letter-spacing: -0.02em; }

.hero-lead {
  max-width: 690px;
  margin: 26px 0 0;
  color: #405066;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 28px;
  color: #647287;
  font-size: .9rem;
  font-weight: 600;
}

.hero-proof span::before {
  content: "•";
  margin-right: 8px;
  color: var(--green-500);
}

.architecture-card {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.architecture-card::before {
  content: "";
  position: absolute;
  inset: -18px 40px auto -18px;
  height: 140px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(20,83,138,.15), rgba(58,191,114,.12));
  z-index: -1;
}

.architecture-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: #526176;
  font-size: .85rem;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 6px rgba(58,191,114,.12);
}

.status-badge {
  margin-left: auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green-100);
  color: #237845;
  font-size: .72rem;
}

.stack { display: grid; gap: 12px; margin-top: 22px; }
.stack-row {
  display: flex;
  gap: 16px;
  padding: 17px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f7fafc);
  border: 1px solid #e6edf3;
}

.stack-row > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-weight: 800;
}

.stack-row div { display: flex; flex-direction: column; }
.stack-row small { color: var(--muted); margin-top: 3px; }

.architecture-footer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.architecture-footer div {
  padding: 14px;
  border-radius: 14px;
  background: var(--blue-950);
  color: white;
}

.architecture-footer strong, .architecture-footer span { display: block; }
.architecture-footer span { margin-top: 3px; color: #c8d5e2; font-size: .78rem; }

.trusted {
  margin-top: 70px;
  padding-top: 28px;
  border-top: 1px solid rgba(174,190,205,.55);
}

.trusted > span {
  display: block;
  margin-bottom: 14px;
  color: #76869a;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
}

.trusted-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  color: #3f4d60;
  font-weight: 700;
}

.section { padding: 110px 0; }
.split-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 78px;
  align-items: start;
}

.section-heading p {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--muted);
}

.centered { text-align: center; }
.large-copy { margin-top: 0; font-size: 1.2rem; color: #34465c; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 58px;
}

.stat-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  border: 1px solid #e9eef3;
}

.stat-card > strong {
  color: var(--green-600);
  font-size: .82rem;
  letter-spacing: .1em;
}

.stat-card h3 { margin-top: 28px; }
.stat-card p { margin-bottom: 0; color: var(--muted); }

.services-section { background: var(--blue-950); }
.services-section h2, .services-section h3 { color: white; }
.services-section .section-heading p { color: #b9c6d3; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 54px;
}

.service-card {
  padding: 30px;
  min-height: 290px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #102d4d, #0b2545);
  border: 1px solid rgba(255,255,255,.09);
  color: #c7d3df;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(58,191,114,.15);
  color: #79d99c;
  font-weight: 800;
}

.service-card h3 { margin-top: 28px; }
.service-card p { min-height: 90px; }
.service-card a { color: #84dfa5; font-weight: 700; }

.method-section { background: #f7fafc; }
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.method-step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: white;
  border: 1px solid var(--line);
}

.method-step span {
  display: block;
  color: var(--green-600);
  font-weight: 800;
  margin-bottom: 38px;
}

.method-step p { margin-bottom: 0; color: var(--muted); }

.quote-panel {
  margin-top: 34px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: white;
}

.quote-panel blockquote {
  max-width: 900px;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 2.2rem);
  font-weight: 700;
  line-height: 1.35;
}

.quote-panel div { margin-top: 24px; display: flex; flex-direction: column; }
.quote-panel span { color: #bfd0df; }

.company-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
}

.company-pill {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: #304056;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(7,27,51,.05);
}

.insights-section { background: var(--surface-alt); }
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.insight-card {
  padding: 30px;
  border-radius: var(--radius-md);
  background: white;
  border: 1px solid var(--line);
}

.insight-card > span {
  color: var(--green-600);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.insight-card h3 { margin-top: 18px; }
.insight-card p { color: var(--muted); }
.insight-card a { color: var(--blue-700); font-weight: 800; }

.contact-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(58,191,114,.12), transparent 30%),
    var(--blue-950);
  color: white;
}

.contact-section h2 { color: white; }
.contact-copy p { color: #bdcad6; font-size: 1.08rem; }

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.contact-points { display: grid; gap: 10px; margin-top: 30px; }
.contact-points span::before { content: "✓"; margin-right: 10px; color: #6dd392; }

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: white;
  color: var(--ink);
}

.contact-form label { display: grid; gap: 7px; font-size: .88rem; font-weight: 700; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdff;
  color: var(--ink);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #7ea9cd;
  box-shadow: 0 0 0 4px rgba(20,83,138,.08);
}

.contact-form small { color: var(--muted); }

.site-footer {
  padding: 68px 0 28px;
  background: #061528;
  color: #b9c7d4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}

.footer-brand .brand-text strong { color: white; }
.footer-grid h4 { color: white; margin-bottom: 16px; }
.footer-grid a:not(.brand) { display: block; margin: 9px 0; }
.footer-grid p { max-width: 360px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .service-grid,
  .insight-grid { grid-template-columns: repeat(2, 1fr); }

  .stat-grid,
  .method-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: block; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    padding: 22px;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .primary-nav.open { display: flex; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 78px 0; }
  .hero { padding-top: 56px; }

  .service-grid,
  .insight-grid,
  .stat-grid,
  .method-grid,
  .footer-grid,
  .architecture-footer { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .trusted-list { gap: 12px 18px; }
  .footer-bottom { flex-direction: column; }
  .brand-text small { display: none; }
}
.custom-logo-link{display:inline-flex}.custom-logo{width:auto;max-height:52px}.primary-nav .menu-item{list-style:none}.primary-nav ul{display:contents}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{clip:auto!important;width:auto;height:auto;top:8px;left:8px;padding:10px 14px;background:#fff;z-index:9999}.form-success{color:#237845;font-weight:700}.form-error{color:#a21d1d;font-weight:700}.page-content{padding:80px 0}.entry-content{max-width:850px}.wp-block-image img{height:auto}@media(max-width:980px){.primary-nav ul{display:flex;flex-direction:column;gap:18px}}


/* v1.1 production enhancements */
:focus-visible{outline:3px solid var(--green-500);outline-offset:3px}
.entry-meta{color:var(--muted);font-size:.9rem;margin:12px 0 24px}
.post-list{display:grid;gap:24px}
.post-card{padding:28px;border:1px solid var(--line);border-radius:var(--radius-md);background:#fff}
.post-card h2{font-size:clamp(1.65rem,3vw,2.35rem)}
.post-card .entry-summary{color:var(--muted)}
.navigation.pagination{margin-top:34px}.nav-links{display:flex;flex-wrap:wrap;gap:8px}.page-numbers{padding:9px 13px;border:1px solid var(--line);border-radius:9px}.page-numbers.current{background:var(--blue-900);color:#fff}
.search-form{display:flex;gap:10px;max-width:620px}.search-form label{flex:1}.search-field{width:100%;padding:13px 15px;border:1px solid var(--line);border-radius:12px}.search-submit{border:0;border-radius:999px;padding:0 20px;background:var(--blue-800);color:#fff;font-weight:700}
.comments-area{max-width:850px;margin-top:48px;padding-top:32px;border-top:1px solid var(--line)}
.comment-list{padding-left:22px}.comment-body{margin:18px 0;padding:20px;background:var(--surface-alt);border-radius:14px}
.nav-links.post-navigation{display:flex;justify-content:space-between;gap:24px;margin-top:42px}
.site-footer .menu{padding:0;margin:0;list-style:none}
.no-js .reveal{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}.button{transition:none}}
