/* ==========================================================================
   10000 WAYS — Global Design System (v3)
   Applied to all pages including About, Services, Ventures, Blog, Contact
   ========================================================================== */

:root {
  --black: #08090c;
  --ink: #0e1117;
  --ink-soft: #161a24;
  --ink-light: #1a2236;
  --graphite: #1e2330;
  --ink-mid: #2d3650;
  --steel: #64748b;
  --mist: #b0b8c9;
  --bone: #e0dbd3;
  --cream: #f6f3ee;
  --white: #fdfcfa;

  --teal: #2dd4bf;
  --teal-text: #0d7d72;
  --teal-icon-bg: rgba(13, 125, 114, 0.08);
  --teal-icon: #0d7d72;
  --teal-dim: rgba(45, 212, 191, 0.15);
  --teal-glow: rgba(45, 212, 191, 0.04);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --font-mono: 'Space Mono', monospace;

  --section-pad: clamp(80px, 10vw, 140px);
  --max-w: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body) !important;
  background: var(--white);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
h1, h2, h3, p { overflow-wrap: break-word; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 56px);
}

/* ═══ TYPOGRAPHY ═══ */
h1, h2, h3 {
  font-family: var(--font-display) !important;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(36px, 5vw, 52px); }
h2 { font-size: clamp(28px, 3.5vw, 42px); }
h3 { font-size: clamp(20px, 2vw, 26px); }

p, li {
  font-family: var(--font-body);
  color: var(--steel);
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: var(--teal-text);
  text-decoration: none;
  transition: color 0.25s;
}
a:hover { color: var(--ink); }


/* ═══ GENERATEPRESS NAV OVERRIDE (inner pages) ═══ */
.tenwk:not(.tenwk-home) .site-header {
  background: rgba(253, 252, 250, 0.95) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: none !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04) !important;
  position: sticky;
  top: 0;
  z-index: 100;
}

.tenwk:not(.tenwk-home) .site-title,
.tenwk:not(.tenwk-home) .site-title a {
  font-family: var(--font-mono) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  color: var(--ink) !important;
  text-decoration: none !important;
}

.tenwk:not(.tenwk-home) .main-navigation a {
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
  color: var(--steel) !important;
  transition: color 0.3s !important;
}
.tenwk:not(.tenwk-home) .main-navigation a:hover,
.tenwk:not(.tenwk-home) .main-navigation .current-menu-item > a {
  color: var(--ink) !important;
}

/* Hide GP's default header image / custom logo for text-based logo */
.tenwk .custom-logo-link { display: none; }


/* ═══ GENERATEPRESS FOOTER OVERRIDE ═══ */
.tenwk .site-footer {
  background: var(--white) !important;
  border-top: 1px solid rgba(14, 17, 23, 0.06) !important;
  padding: 40px 0 !important;
  color: var(--steel) !important;
  font-size: 13px !important;
}

.tenwk .site-footer a {
  color: var(--steel) !important;
}
.tenwk .site-footer a:hover {
  color: var(--ink) !important;
}

.tenwk .site-footer .footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}


/* ═══ PAGE CONTENT STYLING ═══ */
.tenwk-page .inside-article {
  padding: 0;
  max-width: 100%;
}

.tenwk-page .entry-content {
  max-width: 100%;
  margin: 0;
}

/* Full-width sections on pages */
.tenwk-page .entry-content > .wp-block-group {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
  width: 100vw;
}

/* Override rust accent color to teal in existing page content */
.tenwk-page .has-text-color[style*="#C75216"] {
  color: var(--teal-text) !important;
}

/* Headings in page content */
.tenwk-page .wp-block-heading {
  font-family: var(--font-display) !important;
  font-weight: 400;
}

/* Cards/columns hover effect */
.tenwk-page .wp-block-column.has-background {
  transition: all 0.4s var(--ease);
  border-radius: 16px !important;
}
.tenwk-page .wp-block-column.has-background:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(14, 17, 23, 0.06);
}

/* Buttons */
.tenwk .wp-block-button__link {
  font-family: var(--font-body) !important;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  border-radius: 8px !important;
  transition: all 0.35s var(--ease);
}
.tenwk .wp-block-button__link:hover {
  transform: translateY(-2px);
}

/* Override rust buttons to teal */
.tenwk .wp-block-button__link[style*="#C75216"] {
  background-color: var(--teal-text) !important;
}
.tenwk .wp-block-button__link[style*="#1a1a1a"] {
  background-color: var(--ink) !important;
}


/* ═══ BLOG POST STYLING ═══ */
.single .inside-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.single .entry-title {
  font-family: var(--font-display) !important;
  font-size: clamp(32px, 4vw, 44px) !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
  color: var(--ink) !important;
  letter-spacing: -0.02em;
}

.single .entry-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--steel);
}

.single .entry-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
}

.single .entry-content h2 {
  font-size: 28px;
  margin-top: 48px;
  margin-bottom: 20px;
}

/* Blog listing */
.blog .inside-article,
.archive .inside-article {
  max-width: 800px;
  margin: 0 auto 32px;
  padding: 32px;
  border: 1px solid rgba(14, 17, 23, 0.06);
  border-radius: 16px;
  transition: all 0.4s var(--ease);
}
.blog .inside-article:hover,
.archive .inside-article:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(14, 17, 23, 0.06);
  border-color: transparent;
}

.blog .entry-title a,
.archive .entry-title a {
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
  color: var(--ink) !important;
}
.blog .entry-title a:hover,
.archive .entry-title a:hover {
  color: var(--teal-text) !important;
}

.blog .entry-meta,
.archive .entry-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel);
}


/* ═══ LANGUAGE SWITCHER ═══ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 16px;
}
.lang-switcher a {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--steel);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.3s, background 0.3s;
}
.lang-switcher a:hover {
  color: var(--ink);
}
.lang-switcher a.lang-active {
  color: var(--ink);
  background: rgba(14, 17, 23, 0.06);
}
.lang-sep {
  font-size: 11px;
  color: var(--mist);
  user-select: none;
}


/* ═══ MOBILE ═══ */
@media (max-width: 960px) {
  .tenwk-page .entry-content > .wp-block-group {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    width: 100%;
  }
}

/* ═══ MOBILE NAV MENU ═══ */
@media (max-width: 960px) {
  .nav-open .nav-links {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(253, 252, 250, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    gap: 8px;
  }

  /* Force dark text in mobile menu regardless of nav--dark state */
  .nav-open .nav-links a {
    color: var(--steel) !important;
    font-size: 15px !important;
    padding: 8px 0 !important;
  }
  .nav-open .nav-links a:hover,
  .nav-open .nav-links a.current {
    color: var(--ink) !important;
  }

  /* CTA button in mobile menu */
  .nav-open .nav-links .nav-cta {
    background: var(--ink) !important;
    color: var(--white) !important;
    padding: 12px 22px !important;
    margin-top: 8px;
    text-align: center;
    display: block;
  }
  .nav-open .nav-links .nav-cta:hover {
    background: var(--graphite) !important;
  }
}