@import url('./fonts/fonts.css');
/* IBM Plex Sans Thai Looped (SIL Open Font License 1.1 - OFL-1.1)
   Copyright (c) 2017-2024 IBM Corp. Self-hosted .woff2 subsets (0 external runtime requests). */

/* thai */
@font-face {
  font-family: 'IBM Plex Sans Thai Looped';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/IBMPlexSansThaiLooped-400-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans Thai Looped';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/IBMPlexSansThaiLooped-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'IBM Plex Sans Thai Looped';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/IBMPlexSansThaiLooped-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* thai */
@font-face {
  font-family: 'IBM Plex Sans Thai Looped';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./fonts/IBMPlexSansThaiLooped-600-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans Thai Looped';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./fonts/IBMPlexSansThaiLooped-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'IBM Plex Sans Thai Looped';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./fonts/IBMPlexSansThaiLooped-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* thai */
@font-face {
  font-family: 'IBM Plex Sans Thai Looped';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(./fonts/IBMPlexSansThaiLooped-700-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans Thai Looped';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(./fonts/IBMPlexSansThaiLooped-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'IBM Plex Sans Thai Looped';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(./fonts/IBMPlexSansThaiLooped-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ==========================================================================
   direction06-prod.css — Production-Quality Implementation of OpenPencil 06
   ("Clear People / Problem-Led Teaser Homepage" with Real Authentic Photos)
   Stack: Pure HTML + CSS + Vanilla JS (Zero external runtime requests)
   Features:
   - Real authentic photography of Sophon Meesakul (sophon-class16, class2, class18, img-4876)
   - Luminous, energetic cobalt/indigo + coral palette (References 3-4 / Direction 06)
   - True surface-only glassy translucency with depth, specular highlight & blur
   - Thai vowel/tone-mark safe line-heights and strict WCAG AA/AAA contrast
   ========================================================================== */

:root {
  /* Luminous Atmosphere Canvas */
  --d06-canvas: #f0f4f9;
  --d06-surface: #ffffff;
  --d06-glass-bg: rgba(255, 255, 255, 0.94);
  --d06-glass-card: #ffffff;
  --d06-border: rgba(148, 163, 184, 0.35);
  --d06-border-strong: #94a3b8;
  --d06-border-control: #64748b;

  /* Typography Ink (WCAG AA/AAA Verified) */
  --d06-ink: #14232e;            /* 15.2:1 on canvas */
  --d06-body: #374754;           /* 8.4:1 on canvas, >= 7.3:1 on all 3 pastel cards */
  --d06-caption: #475569;        /* 6.8:1 on canvas */

  /* Vibrant Brand Accents */
  --d06-cobalt: #2a45f5;         /* Luminous Royal Cobalt */
  --d06-indigo-link: #1e3a8a;    /* 8.9:1 on pastel cards — ultra crisp readable link! */
  --d06-indigo-hover: #172554;
  --d06-coral: #ff633e;          /* Energetic vivid coral pill (5.21:1 with #14232e ink) */
  --d06-coral-hover: #ff7754;

  /* Saturated Problem-Led Card Fills */
  --d06-card-lav-bg: linear-gradient(150deg, #f4edff 0%, #e6d7ff 100%);
  --d06-card-lav-border: #a78bfa;
  --d06-card-mint-bg: linear-gradient(150deg, #e6fcf5 0%, #c3fae8 100%);
  --d06-card-mint-border: #34d399;
  --d06-card-butter-bg: linear-gradient(150deg, #fff9db 0%, #ffec99 100%);
  --d06-card-butter-border: #fbbf24;

  /* Font Stacks: Kanit 600/700 for headings + Sarabun 400/600 for body/buttons/forms */
  --font-heading: "Kanit", "Sarabun", "Leelawadee UI", system-ui, sans-serif;
  --font-body: "Sarabun", "IBM Plex Sans Thai Looped", "Leelawadee UI", system-ui, sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur-base: 220ms;

  /* Legacy variables */
  --bg: #f8fbff;
  --surface: #ffffff;
  --text: #14232e;
  --primary: #14232e;
  --accent: #2a45f5;
  --accent-text: #1e3a8a;
  --border: #e4e9f2;
}

/* Progressive Enhancement: Surface-only Glassy Blur */
@supports ((backdrop-filter: blur(14px)) or (-webkit-backdrop-filter: blur(14px))) {
  .d06-glass-surface {
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  :root {
    --d06-glass-bg: #ffffff;
    --d06-glass-card: #ffffff;
  }
  .d06-glass-surface {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

body.d06-body {
  font-family: var(--font-body);
  background-color: var(--d06-canvas) !important;
  background-image:
    radial-gradient(860px 640px at 85% 6%, rgba(42, 69, 245, 0.22), transparent 72%),
    radial-gradient(720px 540px at 12% 16%, rgba(255, 99, 62, 0.20), transparent 70%),
    radial-gradient(800px 580px at 88% 46%, rgba(16, 185, 129, 0.22), transparent 72%),
    radial-gradient(740px 540px at 8% 66%, rgba(139, 92, 246, 0.22), transparent 72%),
    radial-gradient(880px 660px at 50% 92%, rgba(42, 69, 245, 0.16), transparent 75%) !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
  color: var(--d06-ink) !important;
  font-size: 1.0625rem;
  line-height: 1.62;
  margin: 0;
  padding: 0;
}

/* Double Focus Ring */
body.d06-body a:focus-visible,
body.d06-body button:focus-visible,
body.d06-body summary:focus-visible {
  outline: 3px solid var(--d06-cobalt) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 6px var(--d06-cobalt) !important;
}

/* Presentation View Governance */
html[data-view="public"] body.d06-body .staging-banner,
html[data-view="public"] body.d06-body .internal-note {
  display: none !important;
}
html[data-view="review"] body.d06-body .staging-banner {
  display: flex !important;
  background: #fff0bc;
  color: var(--d06-ink);
  border-bottom: 1px solid #e6cd78;
  padding: 8px 20px;
  font-size: 0.84375rem;
}
html[data-view="review"] body.d06-body .img-slot.img-slot-avatar {
  width: auto !important;
  max-width: 100%;
  border-radius: 16px !important;
  padding: 12px 18px !important;
  margin: 0 0 24px !important;
  display: flex !important;
  align-items: center;
  gap: 16px;
  background: rgba(255, 248, 220, 0.85) !important;
  border: 1.5px dashed var(--d06-border-control) !important;
  color: var(--d06-ink) !important;
}
.img-slot-avatar-thumb {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}
.staging-banner-inner {
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
}

/* ==========================================================================
   FLOATING GLASSY NAVIGATION CAPSULE (Visibly Glassy & Translucent)
   ========================================================================== */
body.d06-body header.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  padding: 16px 24px 0;
}
.d06-nav-bar {
  max-width: 1360px;
  margin: 0 auto;
  min-height: 72px;
  padding: 10px 28px;
  border-radius: 24px;
  background: var(--d06-glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.90);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.95) inset,
    0 16px 38px -12px rgba(20, 35, 46, 0.12),
    0 0 0 1px rgba(42, 69, 245, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
body.d06-body header.site-header .brand {
  font-family: var(--font-heading);
  font-weight: 600 !important;
  font-size: 1.42rem !important;
  color: var(--d06-ink) !important;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: -0.01em;
}
body.d06-body header.site-header .brand .dot {
  color: var(--d06-coral) !important;
  font-size: 1.7rem;
  line-height: 0;
}
body.d06-body header.site-header .brand .role {
  font-family: var(--font-body);
  font-size: 0.84375rem;
  font-weight: 400 !important;
  color: var(--d06-caption) !important;
  margin-left: 8px;
}

body.d06-body .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
body.d06-body header.site-header .nav-links a:not(.d06-nav-cta) {
  font-family: var(--font-body);
  color: var(--d06-ink) !important;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 14px;
  min-height: 44px;
  border-radius: 999px;
  text-decoration: none;
  background: transparent !important;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
body.d06-body header.site-header .nav-links a:not(.d06-nav-cta):hover {
  background: rgba(42, 69, 245, 0.10) !important;
  color: var(--d06-cobalt) !important;
}

body.d06-body header.site-header .nav-links a.d06-nav-cta {
  font-family: var(--font-heading);
  font-weight: 600 !important;
  font-size: 1rem;
  color: #ffffff !important;
  background: var(--d06-cobalt) !important;
  border: 1px solid var(--d06-cobalt);
  padding: 8px 20px !important;
  min-height: 44px;
  border-radius: 999px !important;
  text-decoration: none;
  margin-left: 6px;
  box-shadow: 0 8px 20px -6px rgba(42, 69, 245, 0.40);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
body.d06-body header.site-header .nav-links a.d06-nav-cta:hover {
  background: #1e38d6 !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -6px rgba(42, 69, 245, 0.50);
}

body.d06-body .nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid var(--d06-border-strong);
  background: rgba(255, 255, 255, 0.85);
  color: var(--d06-ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  body.d06-body header.site-header { padding: 12px 16px 0; }
  .d06-nav-bar { min-height: 60px; padding: 8px 16px; border-radius: 18px; }
  body.d06-body .brand .role { display: none !important; }
  body.d06-body .nav-toggle { display: inline-flex; }
  body.d06-body .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--d06-border);
    border-radius: 18px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: 0 18px 36px -12px rgba(24, 42, 53, 0.16);
  }
  body.d06-body .nav-links.active { display: flex; }
  body.d06-body header.site-header .nav-links a {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0 !important;
    border-radius: 12px !important;
  }
}

/* Main Container */
body.d06-body main#main-content {
  max-width: 1312px;
  margin: 0 auto;
  padding: 44px 32px 64px;
}
@media (max-width: 640px) {
  body.d06-body main#main-content {
    padding: 24px 20px 48px !important;
  }
}

/* ==========================================================================
   BUTTONS (56px Tall Coral Pill + Frosted Secondary Capsule)
   ========================================================================== */
.d06-btn-coral {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--d06-ink) !important;
  background: var(--d06-coral) !important;
  border: 1.5px solid var(--d06-coral) !important;
  border-radius: 999px;
  min-height: 56px;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(255, 99, 62, 0.46) !important;
  transition: background-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.d06-btn-coral:hover {
  background: var(--d06-coral-hover) !important;
  border-color: var(--d06-coral-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(255, 99, 62, 0.58) !important;
}

.d06-btn-text-cta {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--d06-ink) !important;
  background: var(--d06-glass-card) !important;
  border: 1.5px solid rgba(42, 69, 245, 0.22) !important;
  border-radius: 999px;
  min-height: 56px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 10px 24px -10px rgba(20, 35, 46, 0.10) !important;
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.d06-btn-text-cta:hover {
  border-color: var(--d06-cobalt) !important;
  color: var(--d06-cobalt) !important;
  background: #ffffff !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   SECTION 1: PEOPLE-FIRST HERO (Real Photos, No Clutter, Short Value Copy)
   ========================================================================== */
.d06-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}
@media (max-width: 960px) {
  .d06-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin-bottom: 48px;
  }
}

.d06-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--d06-cobalt);
  background: rgba(42, 69, 245, 0.08);
  border: 1px solid rgba(42, 69, 245, 0.20);
  border-radius: 999px;
  padding: 6px 14px;
  margin: 0 0 16px;
}
.d06-eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--d06-coral);
}

.d06-h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2.25rem, 4vw, 3.625rem);
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--d06-ink);
  margin: 0 0 18px;
}
.d06-h1-accent {
  display: block;
  color: var(--d06-cobalt);
}

.d06-lead {
  font-family: var(--font-body);
  font-size: clamp(1.06rem, 1.5vw, 1.32rem);
  color: var(--d06-body);
  line-height: 1.60;
  margin: 0 0 28px;
  max-width: 36ch;
}
@media (max-width: 640px) {
  .d06-lead { margin-bottom: 20px; }
}

.d06-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
@media (max-width: 480px) {
  .d06-hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .d06-hero-ctas > a { width: 100%; }
}

.d06-figure {
  margin: 0;
}
.d06-photo-frame {
  border-radius: 30px;
  overflow: hidden;
  background: #e2e8f0;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 24px 50px -18px rgba(20, 35, 46, 0.20),
    0 0 0 1px rgba(42, 69, 245, 0.08);
}
@media (max-width: 640px) {
  .d06-photo-frame { border-radius: 22px; }
}
.d06-photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 30%;
}
.d06-figcaption {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--d06-caption);
}

/* ==========================================================================
   SECTION 2: PROBLEM-LED TEASER CARDS (Vivid & Lively Tones)
   ========================================================================== */
.d06-problems-sec {
  margin-bottom: 68px;
}
@media (max-width: 640px) {
  .d06-problems-sec { margin-bottom: 44px; }
}

.d06-sec-h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.625rem, 2.5vw, 2.25rem);
  line-height: 1.34;
  color: var(--d06-ink);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

.d06-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 960px) {
  .d06-problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 640px) {
  .d06-problem-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

.d06-problem-card {
  border-radius: 24px;
  padding: 30px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 204px;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
@media (max-width: 640px) {
  .d06-problem-card {
    border-radius: 20px;
    padding: 22px 22px 18px;
    min-height: 0;
    gap: 14px;
  }
}
.d06-problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -14px rgba(20, 35, 46, 0.16) !important;
}
.d06-problem-card.tone-lavender {
  background: var(--d06-card-lav-bg);
  border: 1.5px solid var(--d06-card-lav-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 14px 32px -12px rgba(124, 58, 237, 0.16);
}
.d06-problem-card.tone-mint {
  background: var(--d06-card-mint-bg);
  border: 1.5px solid var(--d06-card-mint-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 14px 32px -12px rgba(16, 185, 129, 0.16);
}
.d06-problem-card.tone-butter {
  background: var(--d06-card-butter-bg);
  border: 1.5px solid var(--d06-card-butter-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 14px 32px -12px rgba(217, 119, 6, 0.15);
}

.d06-card-h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.3125rem, 1.7vw, 1.5625rem);
  line-height: 1.36;
  color: var(--d06-ink);
  margin: 0 0 8px;
}
.d06-card-sub {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--d06-body);
  margin: 0;
}
.d06-card-cta {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--d06-indigo-link);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  transition: gap var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.d06-card-cta:hover {
  color: var(--d06-indigo-hover);
  gap: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   SECTION 3: REAL WORKSHOP PHOTO + ENGAGEMENT FEATURE CARD (Glassy Frame)
   ========================================================================== */
.d06-engagement-sec {
  margin-bottom: 64px;
}
.d06-engagement-card {
  background: var(--d06-glass-card);
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  border-radius: 30px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  align-items: stretch;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 22px 50px -16px rgba(20, 35, 46, 0.15),
    0 0 0 1px rgba(42, 69, 245, 0.08);
}
@media (max-width: 900px) {
  .d06-engagement-card {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 22px;
  }
}

.d06-engagement-photo {
  background: #cbd5e1;
  min-height: 300px;
}
@media (max-width: 900px) {
  .d06-engagement-photo { min-height: 220px; max-height: 260px; }
}
.d06-engagement-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.d06-engagement-content {
  padding: 38px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
@media (max-width: 640px) {
  .d06-engagement-content { padding: 24px 20px; gap: 14px; }
}

.d06-engagement-h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.5625rem, 2.2vw, 2rem);
  line-height: 1.34;
  color: var(--d06-ink);
  margin: 0;
}
.d06-engagement-sub {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--d06-body);
  margin: 0;
  line-height: 1.56;
}
@media (max-width: 640px) {
  .d06-engagement-sub { font-size: 1rem; }
}

/* Clickable Engagement Format Badges (Fixed link to services.html#svc-team) */
.d06-format-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 2px 0 6px;
}
.d06-format-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--d06-cobalt);
  background: rgba(42, 69, 245, 0.08);
  border: 1px solid rgba(42, 69, 245, 0.22);
  border-radius: 999px;
  text-decoration: none;
  min-height: 44px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  transition: all var(--dur-fast) var(--ease-out);
}
.d06-format-link:hover {
  background: var(--d06-cobalt);
  border-color: var(--d06-cobalt);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.d06-engagement-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
@media (max-width: 480px) {
  .d06-engagement-actions > a { width: 100%; }
}

/* ==========================================================================
   SECTION 4: COMPACT TOOLS, ARTICLES & HONEST GAME LAB GATEWAY
   ========================================================================== */
.d06-gateway-sec {
  padding-top: 32px;
  border-top: 1px solid rgba(228, 233, 242, 0.9);
}
.d06-gateway-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 20px;
}
.d06-gateway-h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--d06-ink);
  margin: 0;
}
.d06-gateway-note {
  font-size: 0.92rem;
  color: var(--d06-caption);
  margin: 0;
}

.d06-gateway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 900px) {
  .d06-gateway-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

.d06-gateway-tile {
  background: var(--d06-glass-card);
  border: 1px solid rgba(255, 255, 255, 0.90);
  border-radius: 22px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 14px 32px -12px rgba(20, 35, 46, 0.10),
    0 0 0 1px rgba(42, 69, 245, 0.06);
}
.d06-gateway-tile.is-pending {
  border: 1.5px dashed var(--d06-border-control);
  background: rgba(255, 255, 255, 0.70);
}
.d06-gateway-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.d06-mini-doc-thumb {
  width: 48px;
  height: 58px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--d06-border-strong);
  flex-shrink: 0;
  background: #ffffff;
}
.d06-mini-doc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.d06-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  background: #d8f7ef;
  color: var(--d06-ink);
}
.d06-status-pill.pending {
  background: #fff0bc;
  color: var(--d06-ink);
}
.d06-tile-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.38;
  color: var(--d06-ink);
  margin: 8px 0 4px;
}
.d06-tile-desc {
  font-size: 0.9375rem;
  line-height: 1.52;
  color: var(--d06-body);
  margin: 0;
}

/* ==========================================================================
   CLEAN FOOTER
   ========================================================================== */
body.d06-body footer.site-footer {
  background: #f1f5fa !important;
  color: var(--d06-ink) !important;
  border-top: 1px solid var(--d06-border) !important;
  padding: 44px 32px 30px;
  margin-top: 0;
}
body.d06-body .footer-container,
body.d06-body .footer-bottom {
  max-width: 1312px;
}
body.d06-body .footer-brand {
  font-family: var(--font-heading);
  font-weight: 600 !important;
  color: var(--d06-ink) !important;
}
body.d06-body .footer-title {
  font-family: var(--font-heading);
  font-weight: 600 !important;
  color: var(--d06-ink) !important;
}
body.d06-body .footer-desc,
body.d06-body .footer-bottom {
  color: var(--d06-caption) !important;
  border-top-color: var(--d06-border) !important;
}
body.d06-body .footer-links a {
  color: var(--d06-body) !important;
  min-height: 44px;
}
body.d06-body .footer-links a:hover {
  color: var(--d06-cobalt) !important;
}

/* Strict Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transform: none !important;
  }
}


/* ==========================================================================
   DIRECTION 06 - SUBPAGES COMPONENT SYSTEM & PRODUCTION POLISH
   Subpages: services.html, articles.html, tools.html, about.html, contact.html
   ========================================================================== */

/* Subpage Main Container Layout */
body.d06-body main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px 72px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  body.d06-body main {
    padding: 24px 16px 56px !important;
  }
}

/* Subpage Hero & Eyebrows */
body.d06-body .hero-services,
body.d06-body .hub-hero,
body.d06-body .hero-tools,
body.d06-body .about-header,
body.d06-body .hero-contact {
  margin-bottom: 36px;
}

body.d06-body .hero-eyebrow,
body.d06-body .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: #eef2ff;
  color: var(--d06-indigo);
  border: 1px solid rgba(42, 69, 245, 0.12);
  margin-bottom: 14px;
  width: fit-content;
}

body.d06-body h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 600;
  color: var(--d06-ink);
  line-height: 1.28;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}

body.d06-body h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 600;
  color: var(--d06-ink);
  line-height: 1.34;
  margin: 0 0 14px;
}

body.d06-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--d06-ink);
  line-height: 1.4;
  margin: 0 0 8px;
}

body.d06-body p {
  color: var(--d06-body);
  line-height: 1.68;
  font-size: 1rem;
}

/* ==========================================================================
   FILTER CHIPS & CONTROLS (SERVICES & ARTICLES)
   ========================================================================== */
body.d06-body .filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 20px 0 16px;
}

body.d06-body .chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--d06-border-control);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  color: var(--d06-ink);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
  box-shadow: 0 2px 6px rgba(20, 35, 46, 0.04);
  text-decoration: none;
}

body.d06-body .chip-btn:hover {
  border-color: var(--d06-cobalt);
  color: var(--d06-cobalt);
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(42, 69, 245, 0.12);
}

body.d06-body .chip-btn.active {
  background: var(--d06-cobalt) !important;
  color: #ffffff !important;
  border-color: var(--d06-cobalt) !important;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(42, 69, 245, 0.30);
}

body.d06-body .svc-filter-status,
body.d06-body .hub-filter-status {
  font-size: 0.875rem;
  color: var(--d06-caption);
  margin-top: 8px;
  font-weight: 500;
}

/* ==========================================================================
   SERVICES PAGE STYLING (services.html)
   ========================================================================== */
body.d06-body .services-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 32px 0 48px;
}

@media (max-width: 900px) {
  body.d06-body .services-card-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

body.d06-body .svc-item-card {
  background: var(--d06-glass-card);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 16px 36px -12px rgba(20, 35, 46, 0.08),
    0 0 0 1px rgba(42, 69, 245, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.d06-body .svc-item-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 20px 42px -12px rgba(42, 69, 245, 0.14),
    0 0 0 1.5px rgba(42, 69, 245, 0.18);
}

body.d06-body .svc-scope-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: #eef2ff;
  color: var(--d06-indigo);
  border: 1px solid rgba(42, 69, 245, 0.12);
  margin-bottom: 12px;
}

body.d06-body .svc-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--d06-ink);
  line-height: 1.35;
  margin: 0 0 12px;
}

body.d06-body .svc-deliverables-box,
body.d06-body .svc-boundary {
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid var(--d06-border-subtle);
  border-radius: 14px;
  padding: 16px 18px;
  margin-top: 14px;
  font-size: 0.9375rem;
  line-height: 1.58;
}

body.d06-body .svc-photo-wrap {
  margin: 16px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--d06-border);
  box-shadow: 0 8px 24px -6px rgba(20, 35, 46, 0.08);
}

body.d06-body .svc-real-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

body.d06-body .btn-talk-service {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  background: var(--d06-coral);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  min-height: 44px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(255, 99, 62, 0.25);
}

body.d06-body .btn-talk-service:hover {
  background: var(--d06-coral-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 99, 62, 0.35);
}

body.d06-body .steps-section {
  background: var(--d06-glass-card);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 44px 36px;
  margin: 56px 0 40px;
  box-shadow: 0 14px 34px -10px rgba(20, 35, 46, 0.06);
}

body.d06-body .step-card {
  background: #ffffff;
  border: 1px solid var(--d06-border);
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 4px 12px rgba(20, 35, 46, 0.03);
}

body.d06-body .step-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--d06-cobalt);
  line-height: 1;
  margin-bottom: 8px;
}

/* ==========================================================================
   ARTICLES PAGE STYLING (articles.html)
   ========================================================================== */
body.d06-body .hub-controls {
  margin: 24px 0 28px;
}

body.d06-body .search-box {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

body.d06-body .search-input-wrap {
  position: relative;
  flex: 1 1 340px;
}

body.d06-body .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--d06-caption);
  pointer-events: none;
}

body.d06-body #searchInput {
  width: 100%;
  padding: 13px 18px 13px 44px;
  border-radius: 14px;
  border: 1.5px solid var(--d06-border-control);
  background: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--d06-ink);
  box-shadow: 0 2px 8px rgba(20, 35, 46, 0.04);
  min-height: 48px;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

body.d06-body #searchInput:focus-visible {
  outline: none;
  border-color: var(--d06-cobalt);
  box-shadow: 0 0 0 3px rgba(42, 69, 245, 0.20);
}

body.d06-body .btn-clear-search {
  padding: 11px 20px;
  border-radius: 12px;
  border: 1px solid var(--d06-border-control);
  background: #ffffff;
  color: var(--d06-body);
  font-weight: 500;
  cursor: pointer;
  min-height: 48px;
  transition: all 0.2s ease;
}

body.d06-body .btn-clear-search:hover {
  border-color: var(--d06-cobalt);
  color: var(--d06-cobalt);
}

body.d06-body .spotlight-pro-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  border-radius: 24px;
  padding: 36px 32px;
  margin: 32px 0 48px;
  color: #ffffff;
  box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.25);
}

body.d06-body .spotlight-mini-card {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 22px 20px;
  color: #ffffff;
}

body.d06-body .spotlight-mini-card h3 {
  color: #ffffff;
}

body.d06-body .spotlight-card-link {
  color: #93c5fd !important;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}

body.d06-body .article-card {
  background: var(--d06-glass-card);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 12px 28px -8px rgba(20, 35, 46, 0.06),
    0 0 0 1px rgba(42, 69, 245, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.d06-body .article-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 18px 36px -10px rgba(42, 69, 245, 0.12),
    0 0 0 1px rgba(42, 69, 245, 0.15);
}

body.d06-body .card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--d06-ink);
  line-height: 1.4;
  margin: 6px 0;
}

body.d06-body .btn-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--d06-cobalt) !important;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  min-height: 44px;
}

body.d06-body .btn-read-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   TOOLS PAGE STYLING (tools.html)
   ========================================================================== */
body.d06-body .tools-hero-visual {
  margin: 24px 0 32px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--d06-border);
  box-shadow: 0 12px 32px -8px rgba(20, 35, 46, 0.08);
  background: #ffffff;
}

body.d06-body .tools-real-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

body.d06-body .tool-photo-caption {
  font-size: 0.875rem;
  color: var(--d06-caption);
  padding: 10px 18px;
  margin: 0;
  background: #f8fafc;
  border-top: 1px solid var(--d06-border-subtle);
}

body.d06-body .tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 28px 0 44px;
}

@media (max-width: 900px) {
  body.d06-body .tools-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}

body.d06-body .tool-card {
  background: var(--d06-glass-card);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 12px 28px -8px rgba(20, 35, 46, 0.06);
}

body.d06-body .tool-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--d06-ink);
  line-height: 1.38;
  margin: 4px 0 8px;
}

body.d06-body .interactive-tool-card {
  background: var(--d06-glass-card);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 36px 32px;
  margin: 40px 0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 20px 44px -12px rgba(20, 35, 46, 0.08),
    0 0 0 1px rgba(42, 69, 245, 0.08);
}

body.d06-body .tool-stage-box {
  background: #ffffff;
  border: 1px solid var(--d06-border);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 6px 20px rgba(20, 35, 46, 0.04);
}

body.d06-body .btn-tool-start,
body.d06-body .btn-tool-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  background: var(--d06-coral);
  color: #ffffff !important;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  min-height: 48px;
  box-shadow: 0 4px 14px rgba(255, 99, 62, 0.28);
  transition: all 0.2s ease;
}

body.d06-body .btn-tool-start:hover,
body.d06-body .btn-tool-next:hover {
  background: var(--d06-coral-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 99, 62, 0.38);
}

body.d06-body .btn-tool-reset,
body.d06-body .btn-tool-restart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid var(--d06-border-control);
  background: #ffffff;
  color: var(--d06-body);
  font-weight: 500;
  cursor: pointer;
  min-height: 48px;
}

/* ==========================================================================
   ABOUT PAGE STYLING (about.html)
   ========================================================================== */
body.d06-body .about-header {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

@media (max-width: 860px) {
  body.d06-body .about-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    text-align: center;
  }
  body.d06-body .about-header .hero-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }
}

body.d06-body .about-portrait-wrap {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 16px 36px -10px rgba(20, 35, 46, 0.12),
    0 0 0 1px rgba(42, 69, 245, 0.06);
}

body.d06-body .about-portrait-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

body.d06-body .about-workshop-wrap {
  margin: 40px 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 36px -10px rgba(20, 35, 46, 0.10);
  background: #ffffff;
}

body.d06-body .about-landscape-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

body.d06-body .about-img-caption {
  font-size: 0.875rem;
  color: var(--d06-caption);
  padding: 12px 20px;
  margin: 0;
  background: #f8fafc;
  border-top: 1px solid var(--d06-border-subtle);
}

body.d06-body .framework-box.band-navy {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  border-radius: 24px;
  padding: 40px 36px;
  margin: 44px 0;
  color: #ffffff;
  box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.25);
}

body.d06-body .framework-box.band-navy h2 {
  color: #ffffff !important;
}

body.d06-body .framework-box.band-navy p {
  color: #cbd5e1 !important;
}

body.d06-body .fw-step-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 22px 20px;
  color: #ffffff;
}

body.d06-body .fw-step-card span {
  color: #e2e8f0;
}

/* ==========================================================================
   CONTACT PAGE STYLING (contact.html)
   ========================================================================== */
body.d06-body .brief-guide {
  background: var(--d06-glass-card);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 36px 32px;
  margin: 28px 0 36px;
  box-shadow: 0 14px 34px -10px rgba(20, 35, 46, 0.06);
}

body.d06-body .form-card {
  background: #ffffff;
  border: 1px solid var(--d06-border);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 16px 36px -10px rgba(20, 35, 46, 0.06);
  margin-bottom: 48px;
}

body.d06-body .form-group {
  margin-bottom: 22px;
}

body.d06-body .form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--d06-ink);
  margin-bottom: 6px;
}

body.d06-body input[type="text"],
body.d06-body input[type="email"],
body.d06-body select,
body.d06-body textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--d06-border-control);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--d06-ink);
  background: #ffffff;
  min-height: 48px;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

body.d06-body input:focus-visible,
body.d06-body select:focus-visible,
body.d06-body textarea:focus-visible {
  outline: none;
  border-color: var(--d06-cobalt);
  box-shadow: 0 0 0 3px rgba(42, 69, 245, 0.20);
}

body.d06-body .btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 12px;
  background: var(--d06-coral);
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  min-height: 52px;
  box-shadow: 0 6px 18px rgba(255, 99, 62, 0.30);
  transition: all 0.2s ease;
}

body.d06-body .btn-submit:hover {
  background: var(--d06-coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 99, 62, 0.40);
}

body.d06-body .form-status {
  padding: 14px 18px;
  border-radius: 12px;
  margin-top: 16px;
  font-weight: 500;
  font-size: 0.95rem;
  display: none;
}

body.d06-body .form-status.form-status-ok {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

body.d06-body .form-status.form-status-warn {
  display: block;
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

/* ==========================================================================
   PRESENTATION VIEW / REVIEW MODE TOGGLE BEHAVIOR
   ========================================================================== */
html[data-view="public"] .internal-note,
html[data-view="public"] .hold-note,
html[data-view="public"] .staging-banner {
  display: none !important;
}

html[data-view="review"] .internal-note,
html[data-view="review"] .hold-note {
  display: block !important;
  background: #fffbeb;
  color: #92400e;
  border: 1px dashed #f59e0b;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin: 12px 0;
}

html[data-view="review"] .staging-banner {
  display: block !important;
}

/* ==========================================================================
   PHASE 6B: VIBRANT CONTRAST, DISTINCT CARD POP & CORAL CTA REINFORCEMENT
   Per P'Tong: "สีให้เข้มแบบสว่างขึ้นได้หมดครับ ระหว่างกล่องกับสีข้างหลังแทบจะกลืนกันเลย"
   ========================================================================== */

/* 1. Distinct Card Pop Elevation & Perimeter Definition */
body.d06-body .d06-engagement-card,
body.d06-body .d06-pillar-card,
body.d06-body .d06-quote-card,
body.d06-body .d06-cta-card,
body.d06-body .svc-item-card,
body.d06-body .steps-section,
body.d06-body .step-card,
body.d06-body .article-card,
body.d06-body .tool-card,
body.d06-body .interactive-tool-card,
body.d06-body .tool-stage-box,
body.d06-body .brief-guide,
body.d06-body .form-card,
body.d06-body .faq-section {
  background: #ffffff !important;
  border: 1.5px solid rgba(148, 163, 184, 0.38) !important;
  box-shadow:
    0 1px 0 #ffffff inset,
    0 16px 36px -8px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(42, 69, 245, 0.06) !important;
}

/* Hover elevation for interactive cards */
body.d06-body .svc-item-card:hover,
body.d06-body .article-card:hover,
body.d06-body .tool-card:hover {
  border-color: rgba(42, 69, 245, 0.35) !important;
  box-shadow:
    0 1px 0 #ffffff inset,
    0 22px 46px -10px rgba(42, 69, 245, 0.18),
    0 0 0 1.5px rgba(42, 69, 245, 0.20) !important;
}

/* Problem-led teaser cards: vibrant saturated pop */
body.d06-body .d06-problem-card.tone-lavender {
  background: linear-gradient(150deg, #f4edff 0%, #e6d7ff 100%) !important;
  border: 1.5px solid #a78bfa !important;
  box-shadow: 0 1px 0 #ffffff inset, 0 16px 36px -10px rgba(124, 58, 237, 0.22), 0 0 0 1px rgba(124, 58, 237, 0.14) !important;
}
body.d06-body .d06-problem-card.tone-mint {
  background: linear-gradient(150deg, #e6fcf5 0%, #c3fae8 100%) !important;
  border: 1.5px solid #34d399 !important;
  box-shadow: 0 1px 0 #ffffff inset, 0 16px 36px -10px rgba(16, 185, 129, 0.22), 0 0 0 1px rgba(16, 185, 129, 0.14) !important;
}
body.d06-body .d06-problem-card.tone-butter {
  background: linear-gradient(150deg, #fff9db 0%, #ffec99 100%) !important;
  border: 1.5px solid #fbbf24 !important;
  box-shadow: 0 1px 0 #ffffff inset, 0 16px 36px -10px rgba(217, 119, 6, 0.22), 0 0 0 1px rgba(217, 119, 6, 0.14) !important;
}

/* 2. Photo frames & media wraps border/shadow definition */
body.d06-body .d06-photo-frame,
body.d06-body .svc-photo-wrap,
body.d06-body .tools-hero-visual,
body.d06-body .about-portrait-wrap,
body.d06-body .about-workshop-wrap {
  border: 1.5px solid rgba(148, 163, 184, 0.40) !important;
  box-shadow:
    0 1px 0 #ffffff inset,
    0 20px 44px -12px rgba(15, 23, 42, 0.16),
    0 0 0 1px rgba(42, 69, 245, 0.08) !important;
}

/* 3. Strict Contact Page Submit Button Override (#ff633e vibrant coral, not brownish) */
body.d06-body .btn-submit,
body.d06-body button.btn-submit,
button.btn-submit,
.btn-submit {
  background: #ff633e !important;
  background-color: #ff633e !important;
  color: #ffffff !important;
  border: 1.5px solid #ff633e !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  box-shadow: 0 8px 24px rgba(255, 99, 62, 0.42) !important;
  transition: all 0.2s ease !important;
}

body.d06-body .btn-submit:hover,
body.d06-body button.btn-submit:hover,
button.btn-submit:hover,
.btn-submit:hover {
  background: #e54e2b !important;
  background-color: #e54e2b !important;
  border-color: #e54e2b !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 30px rgba(255, 99, 62, 0.54) !important;
}

body.d06-body .btn-submit:focus-visible,
body.d06-body button.btn-submit:focus-visible {
  outline: 3px solid var(--d06-cobalt) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 6px var(--d06-cobalt) !important;
}

/* Defect Fix 1: .brief-guide Deep Navy Rhythm Band (prevent white text on white bg) */
body.d06-body .brief-guide,
body.d06-body .brief-guide.band-navy {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 24px !important;
  padding: 36px 32px !important;
  margin: 28px 0 36px !important;
  box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.25) !important;
}
body.d06-body .brief-guide h2,
body.d06-body .brief-guide h3 {
  color: #ffffff !important;
}
body.d06-body .brief-guide ul,
body.d06-body .brief-guide li,
body.d06-body .brief-guide div {
  color: #e2e8f0 !important;
}
body.d06-body .brief-guide strong {
  color: #ffffff !important;
}
body.d06-body .brief-guide a {
  color: #93c5fd !important;
  text-decoration: underline !important;
}
body.d06-body .brief-guide .section-eyebrow {
  color: #fbbf24 !important;
}

/* Defect Fix 2: .btn-read-link Cobalt Pill with Pure White Text (prevent cobalt text on cobalt fill) */
body.d06-body .btn-read-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: var(--d06-cobalt) !important;
  background-color: #2a45f5 !important;
  color: #ffffff !important;
  padding: 8px 18px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  min-height: 44px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(42, 69, 245, 0.25) !important;
  border: 1px solid #2a45f5 !important;
}
body.d06-body .btn-read-link:hover {
  background: var(--d06-indigo-hover) !important;
  background-color: #172554 !important;
  color: #ffffff !important;
  border-color: #172554 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(42, 69, 245, 0.35) !important;
  text-decoration: none !important;
}

/* ==========================================================================
   PHASE 7: STRICT CONTRAST RESOLUTION FOR .btn-submit
   Per Zeus Audit: White text on #ff633e fails normal text (2.955:1).
   Dark ink #14232e on #ff633e yields 5.43:1 (PASSES WCAG AA >= 4.5:1).
   ========================================================================== */
body.d06-body .btn-submit,
body.d06-body button.btn-submit,
button.btn-submit,
.btn-submit {
  background: #ff633e !important;
  background-color: #ff633e !important;
  color: #14232e !important;
  border: 1.5px solid #ff633e !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  box-shadow: 0 8px 24px rgba(255, 99, 62, 0.42) !important;
  transition: all 0.2s ease !important;
}

body.d06-body .btn-submit:hover,
body.d06-body button.btn-submit:hover,
button.btn-submit:hover,
.btn-submit:hover {
  background: #ff7754 !important;
  background-color: #ff7754 !important;
  border-color: #ff7754 !important;
  color: #14232e !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 30px rgba(255, 99, 62, 0.54) !important;
}

/* Ensure nav link to games is styled consistently */
.nav-links a.nav-link-games {
  font-weight: 600;
}

/* ==========================================================================
   PHASE 8: CONTRAST, TYPOGRAPHY & READABILITY HARMONIZATION
   ========================================================================== */

/* Fix A1: .brief-guide .section-eyebrow contrast (replaces 1.49:1 #fbbf24 on #eef2ff)
   Dark Amber Ink #78350f on Warm Amber Surface #fef3c7 yields 8.39:1 (PASS WCAG AA Normal Text >= 4.5:1) */
body.d06-body .brief-guide .section-eyebrow,
.brief-guide .section-eyebrow {
  background: #fef3c7 !important;
  color: #78350f !important;
  border: 1px solid #fde68a !important;
  font-weight: 700 !important;
  font-size: 0.8125rem !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  letter-spacing: 0.04em !important;
}

/* Ensure all cards have crisp contrast borders and subtle dual shadows */
.d06-gateway-tile,
.card,
.tool-card,
.service-card,
.article-card,
.game-card-hub {
  border: 1.5px solid rgba(148, 163, 184, 0.38) !important;
  box-shadow: 
    0 1px 0 #ffffff inset,
    0 18px 42px -10px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(42, 69, 245, 0.06) !important;
}

/* Reusable Two-Font System (Kanit 600/700 Headings + Sarabun 400/600 Body/Buttons/Forms) */
h1, h2, h3, .d06-h1, .game-title, .service-title, .tool-title, .d06-section-title {
  font-family: var(--font-heading) !important;
  line-height: 1.38;
}
body, p, li, button, input, select, textarea, .d06-lead, .btn-submit, .d06-btn-coral, .d06-btn-text-cta, .btn-talk-service {
  font-family: var(--font-body) !important;
}
button, .btn-submit, .d06-btn-coral, .btn-talk-service {
  font-weight: 600;
}


/* Phase 33: Compact single-row desktop navbar (fixes 1280px mid-word wrap & excessive height) */
@media (min-width: 901px) {
  body.d06-body header.site-header {
    padding: 8px 16px 0 !important;
  }
  body.d06-body .d06-nav-bar {
    min-height: 56px !important;
    padding: 6px 16px !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
  }
  body.d06-body header.site-header .brand {
    white-space: nowrap !important;
    word-break: keep-all !important;
    flex-shrink: 0 !important;
    font-size: 1.05rem !important;
  }
  body.d06-body header.site-header .brand .role {
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }
  body.d06-body .nav-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    align-items: center !important;
  }
  body.d06-body header.site-header .nav-links a {
    white-space: nowrap !important;
    word-break: keep-all !important;
    padding: 8px 11px !important;
    font-size: 0.9rem !important;
    min-height: 40px !important;
  }
  body.d06-body header.site-header .nav-links a.d06-nav-cta {
    padding: 8px 14px !important;
  }
}
