/*
Theme Name: DPE Industrial Pro
Theme URI: https://dpegroup.ir/
Author: DPE Industrial
Author URI: https://dpegroup.ir/
Description: A responsive, multi-page Persian corporate theme for DPE Industrial with service and project detail pages, built-in technical SEO and contact form.
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: dpe-industrial-pro
*/

:root {
  --navy: #09294a;
  --navy-deep: #061d36;
  --navy-soft: #123d63;
  --blue-ink: #173b5b;
  --gold: #f3a51b;
  --gold-dark: #d98b08;
  --ink: #162d43;
  --muted: #65778a;
  --line: #dce5ed;
  --pale: #f3f7fb;
  --white: #fff;
  --shadow: 0 18px 50px rgba(5, 31, 57, .10);
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.95;
  text-align: right;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-dark); }
button, input, textarea, select { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(243,165,27,.65); outline-offset: 3px; }
.container { width: min(var(--container), calc(100% - 44px)); margin-inline: auto; }
.section-pad { padding: 92px 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; top: -80px; right: 16px; padding: 10px 16px; border-radius: 8px; color: #fff; background: var(--navy); }
.skip-link:focus { top: 12px; color: #fff; }

/* Header and navigation */
.topbar { color: rgba(255,255,255,.87); background: var(--navy-deep); font-size: 12px; }
.topbar-inner { min-height: 39px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-contact { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.topbar-contact a, .topbar-location { display: inline-flex; align-items: center; gap: 7px; }
.topbar-contact a:hover { color: var(--gold); }
.topbar-contact span[aria-hidden="true"] { color: var(--gold); font-size: 15px; }
.topbar-note { letter-spacing: 1.6px; color: rgba(255,255,255,.55); font-size: 10px; direction: ltr; white-space: nowrap; }
.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(12,43,72,.08); box-shadow: 0 7px 24px rgba(10,40,68,.06); backdrop-filter: blur(12px); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; min-width: 235px; }
.brand-logo, .custom-logo { width: 68px; height: 68px; object-fit: contain; border-radius: 12px; }
.custom-logo-link { display: inline-flex; line-height: 0; }
.brand-copy, .footer-brand span { display: flex; flex-direction: column; line-height: 1.55; }
.brand-copy strong { font-size: 16px; color: var(--navy); font-weight: 800; }
.brand-copy small { direction: ltr; text-align: right; letter-spacing: 2px; color: var(--gold-dark); font-weight: 800; font-size: 10px; }
.primary-navigation { flex: 1 1 auto; min-width: 0; }
.dpe-nav-list { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; justify-content: center; gap: 5px; }
.dpe-nav-list li { margin: 0; padding: 0; position: relative; }
.dpe-nav-list a { display: block; padding: 11px 12px; color: #1b3550; font-size: 13px; font-weight: 700; border-radius: 9px; transition: .2s ease; }
.dpe-nav-list a:hover, .dpe-nav-list .current-menu-item > a, .dpe-nav-list .current-menu-ancestor > a { color: var(--navy); background: #edf3f8; }
.dpe-nav-list .sub-menu { display: none; position: absolute; top: calc(100% + 4px); right: 0; min-width: 230px; padding: 8px; margin: 0; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); }
.dpe-nav-list li:hover > .sub-menu, .dpe-nav-list li:focus-within > .sub-menu { display: block; }
.dpe-nav-list .sub-menu a { padding: 9px 11px; }
.header-cta { flex: 0 0 auto; display: inline-flex; gap: 12px; align-items: center; padding: 11px 17px; color: var(--navy-deep); background: var(--gold); border-radius: 9px; font-size: 12px; font-weight: 800; transition: .2s ease; }
.header-cta:hover { color: #fff; background: var(--navy); }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 10px; padding: 9px 12px; font-weight: 700; cursor: pointer; }
.nav-toggle-lines { display: inline-block; width: 17px; height: 12px; margin-left: 8px; vertical-align: -1px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
.nav-toggle-lines:after { content: ""; position: absolute; top: 4px; right: 0; left: 0; border-top: 2px solid currentColor; }

/* Buttons and section headings */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 48px; padding: 11px 22px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 800; line-height: 1.5; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy-deep); background: var(--gold); box-shadow: 0 10px 23px rgba(243,165,27,.23); }
.button-primary:hover { color: #fff; background: var(--gold-dark); }
.button-dark { color: #fff; background: var(--navy); }
.button-dark:hover { color: #fff; background: var(--navy-soft); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.48); background: rgba(255,255,255,.08); }
.button-ghost:hover { color: var(--navy); background: #fff; }
.section-heading { margin-bottom: 36px; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2, .about-copy h2 { margin: 7px 0 8px; color: var(--navy); font-size: clamp(25px, 3vw, 36px); line-height: 1.5; font-weight: 900; }
.section-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.section-kicker { display: inline-block; direction: ltr; color: var(--gold-dark); font-size: 10px; line-height: 1.5; font-weight: 900; letter-spacing: 2px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: 13px; font-weight: 800; white-space: nowrap; }
.text-link:hover { color: var(--gold-dark); }
.centered { text-align: center; }

/* Hero */
.hero-section { min-height: 620px; position: relative; overflow: hidden; color: #fff; background: var(--navy-deep); }
.hero-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .84; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,26,48,.97) 0%, rgba(7,34,61,.91) 33%, rgba(7,34,61,.45) 68%, rgba(7,34,61,.08) 100%); }
.hero-content { min-height: 560px; position: relative; display: flex; direction: ltr; align-items: center; justify-content: space-between; gap: 40px; padding-top: 54px; padding-bottom: 80px; }
.hero-copy { max-width: 620px; direction: rtl; text-align: right; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-size: 14px; font-weight: 800; }
.eyebrow i { display: inline-block; width: 40px; height: 2px; background: var(--gold); }
.hero-copy h1 { margin: 17px 0 16px; max-width: 610px; color: #fff; font-size: clamp(35px, 4.4vw, 57px); line-height: 1.45; font-weight: 900; }
.hero-copy p { max-width: 570px; margin: 0; color: rgba(255,255,255,.88); font-size: 16px; line-height: 2.1; }
.hero-actions { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; margin-top: 28px; }
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 38px; color: rgba(255,255,255,.72); font-size: 12px; }
.proof-line { width: 38px; height: 2px; background: var(--gold); }
.hero-mark { direction: ltr; align-self: flex-start; margin-top: 88px; padding: 19px 22px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: rgba(4,24,45,.36); transform: skew(-7deg); }
.hero-mark span { display: block; color: #fff; font-family: Arial, sans-serif; font-size: 52px; line-height: 1.1; font-weight: 900; letter-spacing: -5px; }
.hero-mark small { display: block; direction: ltr; color: var(--gold); font-size: 8px; letter-spacing: 2px; text-align: left; }
.hero-bottomline { position: absolute; bottom: 0; right: 0; left: 0; border-top: 1px solid rgba(255,255,255,.2); background: rgba(5,26,48,.42); }
.hero-bottomline .container { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: rgba(255,255,255,.7); font-family: Arial, sans-serif; font-size: 9px; letter-spacing: 1.6px; direction: ltr; }

/* Service cards */
.service-overview { background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-card { overflow: hidden; border: 1px solid #e1e9f0; border-radius: 17px; background: #fff; box-shadow: 0 8px 30px rgba(10,42,72,.055); transition: transform .22s ease, box-shadow .22s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(10,42,72,.12); }
.service-card-image { display: block; position: relative; overflow: hidden; aspect-ratio: 1.62; background: var(--pale); }
.service-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-card-image img { transform: scale(1.04); }
.card-arrow { position: absolute; left: 15px; bottom: 14px; display: grid; place-items: center; width: 36px; height: 36px; color: var(--navy); background: var(--gold); border-radius: 50%; font-family: Arial, sans-serif; font-size: 16px; font-weight: 900; }
.service-card-body { padding: 20px 20px 22px; }
.service-card h2, .service-card h3 { margin: 0 0 9px; color: var(--navy); font-size: 17px; line-height: 1.7; font-weight: 900; }
.service-card-body p { min-height: 56px; margin: 0 0 16px; color: var(--muted); font-size: 12px; line-height: 2; }
.card-more { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: 12px; font-weight: 900; }
.card-more:hover { color: var(--gold-dark); }
.archive-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* About band */
.about-band { overflow: hidden; background: var(--pale); }
.about-band-grid { display: grid; direction: ltr; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 70px; }
.about-visual { position: relative; padding: 0 0 25px 25px; }
.about-visual:before { content: ""; position: absolute; bottom: 0; left: 0; width: 62%; height: 44%; border-left: 5px solid var(--gold); border-bottom: 5px solid var(--gold); border-radius: 0 0 0 25px; }
.about-visual img { position: relative; display: block; width: 100%; aspect-ratio: 1.38; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.about-visual-badge { position: absolute; z-index: 1; bottom: 2px; right: -14px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 112px; height: 112px; border-radius: 50%; color: var(--navy); background: var(--gold); box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.about-visual-badge strong { font-size: 26px; line-height: 1.4; }
.about-visual-badge span { font-size: 10px; font-weight: 800; }
.about-copy { direction: rtl; text-align: right; }
.about-copy h2 { max-width: 500px; margin-top: 12px; }
.about-copy p { color: #52667a; font-size: 14px; line-height: 2.2; }
.about-copy .button { margin-top: 8px; }
.about-points { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 27px; padding-top: 20px; border-top: 1px solid #d9e3ec; }
.about-points span { padding: 6px 12px; border-radius: 99px; color: var(--navy); background: #fff; font-size: 11px; font-weight: 800; }

/* Capabilities */
.capability-section { background: #fff; }
.capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; }
.capability-item { padding: 26px 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: .2s ease; }
.capability-item:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.capability-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 13px 13px 13px 4px; color: var(--navy); background: #fff1d7; font-family: Arial, sans-serif; font-size: 14px; font-weight: 900; }
.capability-item h3 { margin: 0 0 8px; color: var(--navy); font-size: 15px; font-weight: 900; }
.capability-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 2; }

/* Timeline */
.timeline-strip { background: #f7f9fc; }
.timeline-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 11px; position: relative; }
.timeline-grid:before { content: ""; position: absolute; top: 19px; right: 6%; left: 6%; height: 2px; background: #d8e2ec; }
.timeline-item { position: relative; padding-top: 45px; }
.timeline-item:before { content: ""; position: absolute; top: 11px; right: 18px; width: 17px; height: 17px; border: 4px solid #fff; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.timeline-item b { display: inline-block; padding: 4px 13px; border-radius: 7px; color: #fff; background: var(--navy); font-size: 13px; }
.timeline-item p { margin: 10px 0 0; color: #586d80; font-size: 11px; line-height: 2; }

/* Projects */
.projects-section { background: #fff; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.project-image { display: block; position: relative; overflow: hidden; aspect-ratio: 1.55; background: var(--pale); }
.project-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-card:hover .project-image img { transform: scale(1.05); }
.project-image > span { position: absolute; left: 15px; bottom: 14px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--navy); background: var(--gold); font-family: Arial,sans-serif; font-weight: 900; }
.project-body { padding: 19px 20px 21px; }
.project-label { display: inline-block; padding: 3px 9px; border-radius: 5px; color: #a86b00; background: #fff4df; font-size: 10px; font-weight: 900; }
.project-body h2, .project-body h3 { margin: 10px 0 7px; color: var(--navy); font-size: 16px; font-weight: 900; line-height: 1.7; }
.project-body p { min-height: 48px; margin: 0 0 13px; color: var(--muted); font-size: 12px; }
.catalog-note { margin: 26px 0 0; padding: 12px 16px; border-right: 3px solid var(--gold); color: #65788a; background: #f6f8fa; font-size: 11px; line-height: 2; }

/* Articles */
.articles-section { background: #f7f9fc; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.article-card { display: flex; flex-direction: column; min-height: 235px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.article-date { color: var(--gold-dark); font-size: 10px; font-weight: 800; }
.article-card h2, .article-card h3 { margin: 9px 0; color: var(--navy); font-size: 16px; line-height: 1.8; font-weight: 900; }
.article-card p { flex: 1; margin: 0 0 16px; color: var(--muted); font-size: 12px; line-height: 2; }
.article-grid-archive { grid-template-columns: repeat(2, minmax(0,1fr)); }
.article-card-large { min-height: 240px; }

/* CTA and footer */
.home-contact-cta { padding: 52px 0; color: #fff; background: var(--navy); position: relative; overflow: hidden; }
.home-contact-cta:before { content: ""; position: absolute; top: -110px; left: -60px; width: 290px; height: 290px; border: 1px solid rgba(255,255,255,.10); border-radius: 50%; box-shadow: 0 0 0 24px rgba(255,255,255,.025), 0 0 0 48px rgba(255,255,255,.02); }
.home-contact-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.home-contact-inner h2 { margin: 8px 0 4px; color: #fff; font-size: 25px; font-weight: 900; }
.home-contact-inner p { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; }
.site-footer { color: rgba(255,255,255,.78); background: #061b31; }
.footer-main { padding: 62px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr; gap: 65px; }
.footer-brand { display: inline-flex; align-items: center; gap: 13px; color: #fff; }
.footer-brand img { width: 66px; height: 66px; object-fit: contain; border-radius: 10px; }
.footer-brand strong { color: #fff; font-size: 16px; }
.footer-brand small { color: var(--gold); direction: ltr; text-align: right; font-size: 10px; font-weight: 800; letter-spacing: 2px; }
.footer-brand-column p { max-width: 360px; margin: 18px 0 0; color: rgba(255,255,255,.62); font-size: 12px; line-height: 2.2; }
.footer-heading { margin: 3px 0 17px; color: #fff; font-size: 14px; font-weight: 900; }
.footer-links, .footer-contact { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 8px 0; }
.footer-links a { color: rgba(255,255,255,.67); font-size: 12px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; color: rgba(255,255,255,.67); font-size: 12px; }
.footer-contact li > span:first-child { color: var(--gold); font-size: 15px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); }
.footer-bottom-inner { min-height: 55px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; color: rgba(255,255,255,.48); font-size: 10px; }
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: var(--gold); }

/* Inner pages */
.inner-page { min-height: 55vh; }
.page-hero { color: #fff; background: var(--navy); }
.compact-hero { position: relative; overflow: hidden; padding: 60px 0 45px; background: linear-gradient(115deg, #061c34, #0c355a 72%, #123f65); }
.compact-hero:after { content: ""; position: absolute; top: -150px; left: -40px; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; box-shadow: 0 0 0 26px rgba(255,255,255,.025), 0 0 0 52px rgba(255,255,255,.02); }
.compact-hero .container { position: relative; z-index: 1; }
.compact-hero h1 { max-width: 900px; margin: 10px 0 8px; color: #fff; font-size: clamp(27px,3.5vw,42px); line-height: 1.55; font-weight: 900; }
.compact-hero > .container > p { margin: 0; color: rgba(255,255,255,.74); font-size: 14px; }
.breadcrumbs { margin-top: 17px; }
.breadcrumbs ol { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; color: rgba(255,255,255,.58); font-size: 10px; }
.breadcrumbs li + li:before { content: "‹"; margin-left: 8px; color: var(--gold); }
.breadcrumbs a { color: rgba(255,255,255,.76); }
.breadcrumbs a:hover { color: var(--gold); }
.archive-intro { max-width: 850px; margin: 0 0 30px; color: #5c7185; font-size: 14px; }
.archive-intro p { margin: 0; }
.pagination-wrap { margin-top: 38px; text-align: center; }
.pagination-wrap .page-numbers, .nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 38px; margin: 3px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); background: #fff; font-size: 12px; }
.pagination-wrap .current, .nav-links .current { color: var(--navy); border-color: var(--gold); background: #fff1d7; }
.empty-state { padding: 30px; border: 1px dashed #cbd8e3; border-radius: 14px; color: var(--muted); text-align: center; background: #f8fafc; }

/* Detail layouts and long-form content */
.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 48px; }
.long-content { color: #344b60; font-size: 15px; line-height: 2.2; }
.long-content > :first-child { margin-top: 0; }
.long-content h2 { margin: 37px 0 12px; color: var(--navy); font-size: 23px; line-height: 1.65; font-weight: 900; }
.long-content h3 { margin: 27px 0 10px; color: var(--navy); font-size: 18px; font-weight: 900; }
.long-content p { margin: 0 0 17px; }
.long-content ul, .long-content ol { margin: 14px 0 22px; padding-right: 24px; }
.long-content li { margin: 6px 0; padding-right: 4px; }
.long-content li::marker { color: var(--gold-dark); }
.long-content a:not(.button) { color: #0e5d93; text-decoration: underline; text-underline-offset: 3px; }
.long-content a:not(.button):hover { color: var(--gold-dark); }
.single-feature-image { display: block; width: 100%; max-height: 440px; margin: 0 0 28px; object-fit: cover; border-radius: 18px; }
.single-feature-image img { width: 100%; height: auto; display: block; border-radius: 18px; }
.single-sidebar { position: sticky; top: 120px; }
.sidebar-card { margin-bottom: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #f8fafc; }
.sidebar-card h2 { margin: 8px 0 14px; color: var(--navy); font-size: 17px; font-weight: 900; }
.sidebar-service-links { list-style: none; margin: 0 0 20px; padding: 0; }
.sidebar-service-links li { border-bottom: 1px solid #e1e8ef; }
.sidebar-service-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; color: #40596e; font-size: 12px; line-height: 1.8; }
.sidebar-service-links a span { color: var(--gold-dark); }
.full-button { width: 100%; }
.sidebar-contact { color: #fff; background: var(--navy); border-color: var(--navy); }
.sidebar-contact h2 { color: #fff; }
.sidebar-contact p { color: rgba(255,255,255,.7); font-size: 12px; }
.sidebar-contact .text-link { color: var(--gold); }
.single-bottom-cta { margin-top: 45px; padding: 28px; border: 1px solid #d9e4ed; border-right: 4px solid var(--gold); border-radius: 14px; background: #f4f8fb; }
.single-bottom-cta h2 { margin: 0 0 7px; font-size: 19px; }
.single-bottom-cta p { margin-bottom: 16px; font-size: 13px; }
.post-meta { font-size: 11px !important; }
.page-content-wrap { max-width: 880px; }

/* About and contact pages */
.about-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 45px; }
.about-aside img { display: block; width: 100%; aspect-ratio: 1.2; object-fit: cover; border-radius: 18px; }
.aside-card { margin-top: 17px; padding: 23px; border-radius: 16px; background: #f4f8fb; border: 1px solid var(--line); }
.aside-card h3 { margin: 8px 0; color: var(--navy); font-size: 18px; }
.aside-card p { color: var(--muted); font-size: 12px; }
.about-timeline-list { margin: 20px 0 25px; border-right: 2px solid #d8e4ed; }
.about-timeline-list div { position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 7px 18px 7px 0; }
.about-timeline-list div:before { content: ""; position: absolute; top: 18px; right: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.about-timeline-list b { min-width: 48px; color: var(--navy); font-size: 13px; }
.about-timeline-list span { color: #5c7185; font-size: 13px; }
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 28px; align-items: start; }
.contact-info-panel, .contact-form-panel { padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 35px rgba(8,42,72,.05); }
.contact-info-panel { color: #fff; background: var(--navy); border-color: var(--navy); }
.contact-info-panel h2, .contact-form-panel h2 { margin: 8px 0 8px; color: var(--navy); font-size: 25px; font-weight: 900; }
.contact-info-panel h2 { color: #fff; }
.contact-info-panel > p { color: rgba(255,255,255,.72); font-size: 13px; }
.contact-detail { display: flex; align-items: flex-start; gap: 13px; margin: 22px 0; }
.contact-symbol { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px; color: var(--navy); background: var(--gold); font-size: 18px; }
.contact-detail div { display: flex; flex-direction: column; min-width: 0; }
.contact-detail small { color: rgba(255,255,255,.55); font-size: 10px; }
.contact-detail a, .contact-detail span:not(.contact-symbol) { color: #fff; overflow-wrap: anywhere; font-size: 13px; }
.contact-call-button { margin-top: 7px; color: var(--navy); background: #fff; }
.contact-call-button:hover { color: var(--navy); background: var(--gold); }
.contact-small-note { margin-top: 20px; color: rgba(255,255,255,.46) !important; font-size: 10px !important; }
.dpe-contact-form { margin-top: 22px; }
.form-row { display: flex; flex-direction: column; gap: 7px; margin-bottom: 17px; }
.form-row label { color: var(--navy); font-size: 12px; font-weight: 800; }
.form-row label span { color: #d97706; }
.form-row input, .form-row textarea { width: 100%; padding: 12px 14px; border: 1px solid #d7e1e9; border-radius: 9px; outline: 0; color: var(--ink); background: #fbfcfd; font-size: 13px; transition: border-color .2s ease, box-shadow .2s ease; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(243,165,27,.13); }
.form-row textarea { min-height: 135px; resize: vertical; }
.form-two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-trap { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; }
.form-notice { margin: 14px 0; padding: 12px 15px; border-radius: 9px; font-size: 12px; }
.form-notice.success { color: #155e36; background: #eaf8ef; border: 1px solid #bfe7cb; }
.form-notice.error { color: #8a2e21; background: #fff0ed; border: 1px solid #f3c9c0; }
.form-footnote { color: #8796a5; font-size: 10px; }

/* Search, errors */
.dpe-search-form { display: flex; width: 100%; max-width: 420px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.dpe-search-form input { min-width: 0; flex: 1; padding: 11px 13px; border: 0; outline: 0; }
.dpe-search-form button { width: 48px; border: 0; color: var(--navy); background: var(--gold); cursor: pointer; font-size: 20px; }
.error-page { max-width: 680px; padding: 50px 25px; text-align: center; border: 1px solid var(--line); border-radius: 22px; background: #f7f9fc; }
.error-code { color: var(--gold-dark); font-size: 70px; line-height: 1; font-weight: 900; }
.error-page h1 { color: var(--navy); font-size: 28px; }
.error-page p { color: var(--muted); }
.error-page .hero-actions { justify-content: center; }

/* WordPress editor content and pagination defaults */
.alignwide { max-width: min(100%, 1200px); }
.alignfull { max-width: 100vw; margin-right: calc(50% - 50vw); margin-left: calc(50% - 50vw); }
.wp-block-image img { border-radius: 12px; }
.wp-block-quote { margin: 24px 0; padding: 15px 20px; border-right: 4px solid var(--gold); background: var(--pale); }
.nav-links { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

@media (max-width: 1100px) {
  .header-inner { gap: 13px; }
  .brand { min-width: 205px; }
  .brand-logo, .custom-logo { width: 58px; height: 58px; }
  .dpe-nav-list a { padding-inline: 8px; font-size: 12px; }
  .header-cta { padding-inline: 12px; font-size: 11px; }
  .about-band-grid { gap: 42px; }
  .footer-grid { gap: 35px; }
}

@media (max-width: 920px) {
  .topbar-note { display: none; }
  .header-inner { min-height: 76px; flex-wrap: wrap; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
  .brand { min-width: 0; margin-left: auto; }
  .nav-toggle { display: none; }
  .primary-navigation { flex-basis: 100%; order: 3; }
  .dpe-nav-list { justify-content: flex-start; flex-wrap: wrap; }
  .dpe-nav-list a { padding: 8px 10px; }
  .js .nav-toggle { display: inline-flex; align-items: center; order: 2; }
  .js .primary-navigation { display: none; }
  .js .primary-navigation.is-open { display: block; }
  .js .dpe-nav-list { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0 4px; border-top: 1px solid var(--line); }
  .js .dpe-nav-list li { width: 100%; }
  .js .dpe-nav-list a { padding: 11px 10px; }
  .js .dpe-nav-list .sub-menu { display: block; position: static; min-width: 0; padding: 0 18px 8px 0; border: 0; box-shadow: none; }
  .header-cta { order: 1; }
  .hero-section { min-height: 570px; }
  .hero-content { min-height: 520px; }
  .hero-mark { display: none; }
  .service-grid, .project-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .capability-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .timeline-grid { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: 20px; }
  .timeline-grid:before { display: none; }
  .single-layout { grid-template-columns: minmax(0,1fr) 260px; gap: 25px; }
  .about-page-grid { grid-template-columns: minmax(0,1fr) 270px; gap: 25px; }
  .contact-layout { grid-template-columns: 1fr 1.1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-column { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 14px; }
  .container { width: min(100% - 30px, var(--container)); }
  .section-pad { padding: 62px 0; }
  .topbar-inner { justify-content: center; padding: 7px 0; }
  .topbar-contact { justify-content: center; gap: 8px 17px; font-size: 10px; }
  .topbar-location { display: none; }
  .header-inner { min-height: 68px; gap: 9px; }
  .brand-logo, .custom-logo { width: 48px; height: 48px; }
  .brand-copy strong { font-size: 13px; }
  .brand-copy small { font-size: 8px; }
  .header-cta { min-height: 37px; padding: 7px 10px; font-size: 10px; gap: 7px; }
  .nav-toggle { padding: 8px 9px; font-size: 11px; }
  .hero-section { min-height: auto; }
  .hero-image { object-position: 58% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,26,48,.97) 0%, rgba(7,34,61,.90) 49%, rgba(7,34,61,.55) 100%); }
  .hero-content { min-height: 0; padding-top: 70px; padding-bottom: 93px; }
  .hero-copy { max-width: 100%; }
  .eyebrow { font-size: 11px; }
  .hero-copy h1 { margin-top: 14px; font-size: 31px; line-height: 1.55; }
  .hero-copy p { font-size: 13px; line-height: 2; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { flex: 1 1 auto; min-height: 45px; padding-inline: 13px; font-size: 11px; }
  .hero-proof { margin-top: 24px; font-size: 10px; }
  .hero-bottomline .container { min-height: 40px; gap: 13px; overflow: hidden; justify-content: flex-start; font-size: 8px; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 10px; }
  .section-heading h2, .about-copy h2 { font-size: 25px; }
  .section-heading p { font-size: 12px; }
  .service-grid, .project-grid, .article-grid, .article-grid-archive { grid-template-columns: 1fr; }
  .service-card-body p, .project-body p { min-height: 0; }
  .about-band-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-visual { padding: 0 0 20px 15px; }
  .about-visual-badge { width: 82px; height: 82px; right: -3px; bottom: 0; }
  .about-visual-badge strong { font-size: 20px; }
  .about-visual-badge span { font-size: 8px; }
  .about-copy p { font-size: 13px; }
  .capability-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .capability-item { padding: 18px 14px; }
  .capability-item h3 { font-size: 13px; }
  .capability-item p { font-size: 10px; }
  .capability-icon { width: 40px; height: 40px; }
  .timeline-grid { grid-template-columns: 1fr 1fr; gap: 10px 15px; }
  .timeline-item { padding-top: 38px; }
  .timeline-item:before { right: 12px; }
  .timeline-item p { font-size: 10px; }
  .home-contact-inner { align-items: flex-start; flex-direction: column; }
  .home-contact-inner h2 { font-size: 22px; }
  .home-contact-cta { padding: 38px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer-brand-column { grid-column: 1 / -1; }
  .footer-main { padding: 45px 0 35px; }
  .footer-bottom-inner { justify-content: flex-start; padding: 14px 0; }
  .compact-hero { padding: 42px 0 33px; }
  .compact-hero h1 { font-size: 26px; }
  .compact-hero > .container > p { font-size: 12px; }
  .single-layout, .about-page-grid, .contact-layout { grid-template-columns: 1fr; }
  .single-sidebar { position: static; }
  .about-aside { order: -1; }
  .long-content h2 { font-size: 20px; margin-top: 27px; }
  .long-content { font-size: 13px; }
  .contact-info-panel, .contact-form-panel { padding: 24px 19px; }
  .form-two-columns { grid-template-columns: 1fr; gap: 0; }
  .article-card { min-height: 0; }
  .single-bottom-cta { padding: 20px; }
  .single-feature-image { max-height: 280px; }
}

@media (max-width: 390px) {
  .brand-copy strong { font-size: 11px; }
  .brand { gap: 7px; }
  .header-cta { padding-inline: 8px; font-size: 9px; }
  .hero-copy h1 { font-size: 27px; }
  .capability-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
