/*
Theme Name: DMC HQ
Theme URI: https://dmchq.com
Author: DMC HQ
Author URI: https://dmchq.com
Description: Official DMC HQ — Global Venture Holdings theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dmchq
Tags: business, venture, one-page, custom-menu, custom-logo
*/

/* =============================================
   RESET & ROOT
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0a0a08;
  --paper: #f5f3ef;
  --accent: #1a472a;
  --accent2: #c8a96e;
  --muted: #6b6b60;
  --border: rgba(10,10,8,0.12);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}

/* =============================================
   NAV
   ============================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 4rem;
  background: rgba(245,243,239,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-branding .site-title a {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.site-branding .site-title a span { color: var(--accent); }

.main-navigation ul {
  display: flex; gap: 2.5rem; list-style: none; margin: 0; padding: 0;
}

.main-navigation ul a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.main-navigation ul a:hover { color: var(--ink); }

.nav-cta {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper) !important;
  padding: 0.6rem 1.5rem;
  border: none;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--accent) !important; }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 3rem 6rem 4rem;
  position: relative;
  z-index: 2;
}

.hero-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 5.5vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 38ch;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; align-items: center; }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  padding: 0.85rem 2rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}

.btn-primary:hover { background: var(--accent); color: var(--paper); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 0.85rem 2rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
  display: inline-block;
}

.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.hero-right {
  position: relative;
  background: var(--accent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  overflow: hidden;
}

.hero-right::before {
  content: 'DMC';
  position: absolute;
  top: -0.1em;
  right: -0.05em;
  font-family: var(--serif);
  font-size: 22vw;
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  pointer-events: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  position: relative;
  z-index: 2;
}

.stat-cell {
  background: rgba(255,255,255,0.07);
  padding: 1.5rem 1.75rem;
  backdrop-filter: blur(4px);
}

.stat-cell:hover { background: rgba(255,255,255,0.12); }

.stat-num {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.hero-meta {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
}

.meta-item {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.meta-item strong { color: rgba(255,255,255,0.85); display: block; }

/* =============================================
   TICKER
   ============================================= */
.ticker {
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-block;
  animation: ticker 28s linear infinite;
}

.ticker-item {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 3rem;
  opacity: 0.6;
}

.ticker-item.accent { color: var(--accent2); opacity: 1; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =============================================
   SECTIONS (SHARED)
   ============================================= */
.site-main section { padding: 7rem 4rem; }

.section-num {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.section-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-line::before {
  content: '';
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-h {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.7;
}

/* =============================================
   ABOUT
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 5rem;
  align-items: start;
  margin-top: 4rem;
}

.about-body p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-body p strong { color: var(--ink); font-weight: 500; }

.about-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.meta-cell {
  background: var(--paper);
  padding: 1.5rem;
}

.meta-cell-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.meta-cell-val {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
}

/* =============================================
   SECTORS
   ============================================= */
#sectors { background: var(--ink); color: var(--paper); }
#sectors .section-num { color: rgba(255,255,255,0.35); }
#sectors .section-h { color: #fff; }
#sectors .section-sub { color: rgba(255,255,255,0.45); }
#sectors .section-line::before { background: var(--accent2); }

.sectors-table {
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.sector-row {
  display: grid;
  grid-template-columns: 3rem 1fr 2fr 8rem 6rem;
  align-items: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  gap: 2rem;
  cursor: pointer;
  transition: background 0.2s, padding-left 0.2s;
}

.sector-row:hover { background: rgba(255,255,255,0.03); padding-left: 0.5rem; }

.sector-idx {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
}

.sector-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.sector-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.6;
}

.sector-cat {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent2);
}

.sector-status {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sector-status::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
}

/* =============================================
   THESIS
   ============================================= */
.thesis-steps {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.thesis-step {
  background: var(--paper);
  padding: 2.5rem 2.25rem;
  position: relative;
}

.step-num {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.step-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.step-body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

/* =============================================
   PROCESS
   ============================================= */
#process { background: #f0ede8; }

.process-steps {
  margin-top: 4rem;
  position: relative;
}

.process-step {
  display: grid;
  grid-template-columns: 8rem 1fr 3fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.process-week {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.15rem;
}

.process-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.process-body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

/* =============================================
   CONTACT
   ============================================= */
#contact { background: var(--ink); color: var(--paper); }
#contact .section-num { color: rgba(255,255,255,0.35); }
#contact .section-h { color: #fff; }
#contact .section-sub { color: rgba(255,255,255,0.45); }
#contact .section-line::before { background: var(--accent2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  margin-top: 4rem;
}

.contact-info { display: flex; flex-direction: column; gap: 0; }

.contact-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }

.contact-item-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.4rem;
}

.contact-item-val {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.contact-item-val:hover { color: var(--accent2); }

/* =============================================
   CONTACT FORM (CF7 Compatible)
   ============================================= */
.contact-form,
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field-group label,
.wpcf7-form label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  display: block;
  margin-bottom: 0.4rem;
}

.field-group input,
.field-group select,
.field-group textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border-color: var(--accent2);
}

.field-group select option { background: #1a1a16; }
.field-group textarea { resize: vertical; min-height: 120px; }

.btn-submit,
.wpcf7-submit {
  background: var(--accent2);
  color: var(--ink);
  border: none;
  padding: 1rem 2.5rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  align-self: flex-start;
  transition: opacity 0.2s;
}

.btn-submit:hover,
.wpcf7-submit:hover { opacity: 0.85; }

/* CF7 response messages */
.wpcf7-response-output {
  margin-top: 1rem;
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  border: none !important;
  color: var(--accent2);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #060604;
  color: rgba(255,255,255,0.3);
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
}

.footer-logo span { color: var(--accent2); }
.site-footer p { font-size: 0.75rem; letter-spacing: 0.04em; }

.footer-nav { display: flex; gap: 2rem; }

.footer-nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover { color: rgba(255,255,255,0.7); }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-left > * {
  animation: fadeUp 0.7s ease both;
}

.hero-left > *:nth-child(1) { animation-delay: 0.1s; }
.hero-left > *:nth-child(2) { animation-delay: 0.2s; }
.hero-left > *:nth-child(3) { animation-delay: 0.3s; }
.hero-left > *:nth-child(4) { animation-delay: 0.4s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .site-header { padding: 1rem 2rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 50vh; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .sector-row { grid-template-columns: 3rem 1fr 2fr; }
  .sector-cat, .sector-status { display: none; }
  .process-step { grid-template-columns: 6rem 1fr; }
  .process-body { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .thesis-steps { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .site-header { padding: 1rem 1.5rem; }
  .main-navigation { display: none; }
  .site-main section { padding: 5rem 1.5rem; }
  .hero-left { padding: 4rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
}
