/*
Theme Name: Dora Brand Strategy (Brand Professor)
Theme URI: https://brand-professor.com
Author: Sahil Gandhi · Brand Professor
Author URI: https://brand-professor.com
Description: Password-protected brand strategy microsite for Dora Lui. Prepared by Brand Professor. Not intended for general use. Activate this theme on a WordPress installation dedicated to the strategy site; the front page becomes the strategy behind a password gate.
Version: 1.0.0
License: Proprietary
Text Domain: dora-brand-strategy
*/

:root {
      --accent: #F4A300;
      --accent-dark: #D48800;
      --ink: #1a1a1a;
      --ink-soft: #333333;
      --muted: #666666;
      --border: #e5e5e5;
      --bg: #fafaf7;
      --white: #ffffff;
      --locked-bg: #FFF6E5;
      --her-bg: #F2F4F7;
      --callout-bg: #E4F1DB;
      --callout-ink: #1F3A1F;
      --action-bg: #E4EEF9;
      --action-ink: #0F2A44;
      --serif: 'Cormorant Garamond', 'Georgia', serif;
      --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    }
    * { box-sizing: border-box; }
    html, body { margin: 0; padding: 0; }
    body {
      font-family: var(--sans);
      color: var(--ink);
      background: var(--bg);
      font-size: 17px;
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; text-decoration: none; }
    a:hover { color: var(--accent-dark); }

    /* PASSWORD GATE */
    #gate {
      position: fixed;
      inset: 0;
      background: var(--white);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      flex-direction: column;
    }
    #gate-inner {
      max-width: 460px;
      text-align: center;
      padding: 40px;
    }
    #gate .brand-mark {
      color: var(--accent);
      font-size: 12px;
      letter-spacing: 3px;
      text-transform: uppercase;
      font-weight: 700;
      margin-bottom: 20px;
    }
    #gate h1 {
      font-size: 32px;
      font-weight: 700;
      margin: 0 0 12px;
      letter-spacing: -0.5px;
    }
    #gate p {
      color: var(--muted);
      font-size: 15px;
      margin: 0 0 32px;
      line-height: 1.5;
    }
    #gate input {
      width: 100%;
      padding: 14px 18px;
      font-size: 16px;
      border: 1px solid var(--border);
      border-radius: 4px;
      font-family: inherit;
      outline: none;
      margin-bottom: 12px;
      background: var(--white);
    }
    #gate input:focus { border-color: var(--accent); }
    #gate button {
      width: 100%;
      padding: 14px 18px;
      font-size: 15px;
      font-weight: 600;
      background: var(--ink);
      color: var(--white);
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-family: inherit;
      letter-spacing: 0.3px;
    }
    #gate button:hover { background: var(--accent); color: var(--white); }
    #gate .error { color: #c33; font-size: 13px; margin-top: 8px; min-height: 18px; }
    #gate .footer { position: fixed; bottom: 24px; color: var(--muted); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }

    /* MAIN LAYOUT */
    .layout {
      display: grid;
      grid-template-columns: 320px 1fr;
      min-height: 100vh;
    }
    .sidebar {
      background: var(--white);
      border-right: 1px solid var(--border);
      position: sticky;
      top: 0;
      height: 100vh;
      overflow-y: auto;
      padding: 32px 24px;
    }
    .sidebar-header {
      margin-bottom: 32px;
      padding-bottom: 20px;
      border-bottom: 1px solid var(--border);
    }
    .sidebar-header .brand-mark {
      color: var(--accent);
      font-size: 11px;
      letter-spacing: 2px;
      text-transform: uppercase;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .sidebar-header .doc-title {
      font-size: 20px;
      font-weight: 700;
      line-height: 1.25;
      margin: 0 0 4px;
      color: var(--ink);
    }
    .sidebar-header .doc-subtitle {
      font-size: 13px;
      color: var(--muted);
    }

    .sidebar-nav {
      font-size: 13px;
    }
    .nav-part { margin-bottom: 18px; }
    .nav-part-link {
      display: block;
      padding: 6px 8px;
      border-radius: 3px;
      margin-bottom: 4px;
    }
    .nav-part-link:hover { background: var(--bg); }
    .nav-part-label {
      display: block;
      color: var(--accent);
      font-weight: 700;
      font-size: 10px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
    }
    .nav-part-title {
      display: block;
      color: var(--ink);
      font-weight: 600;
      font-size: 13px;
      margin-top: 2px;
    }
    .nav-chapters {
      list-style: none;
      padding: 0;
      margin: 4px 0 0 0;
    }
    .nav-chapters li {
      margin: 0;
    }
    .nav-chapters a {
      display: block;
      padding: 5px 8px 5px 14px;
      color: var(--muted);
      font-size: 12.5px;
      line-height: 1.4;
      border-radius: 3px;
      border-left: 2px solid transparent;
    }
    .nav-chapters a:hover {
      background: var(--bg);
      border-left-color: var(--accent);
      color: var(--ink);
    }
    .nav-ch-num {
      color: var(--muted);
      font-weight: 700;
      margin-right: 6px;
      font-size: 11px;
    }

    .content {
      padding: 60px 80px 120px;
      max-width: 820px;
      margin: 0 auto;
    }

    /* COVER */
    .cover {
      min-height: 90vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding-bottom: 80px;
      border-bottom: 1px solid var(--border);
      margin-bottom: 60px;
    }
    .cover .brand-mark {
      color: var(--accent);
      font-size: 13px;
      letter-spacing: 3px;
      text-transform: uppercase;
      font-weight: 700;
      margin-bottom: 24px;
    }
    .cover h1.cover-title {
      font-size: 56px;
      font-weight: 700;
      margin: 0 0 20px;
      letter-spacing: -1.5px;
      line-height: 1.05;
    }
    .cover .cover-sub {
      font-size: 18px;
      color: var(--muted);
      font-style: italic;
      max-width: 520px;
      margin-bottom: 40px;
      line-height: 1.5;
    }
    .cover .positioning {
      font-size: 17px;
      color: var(--ink);
      font-style: italic;
      max-width: 620px;
      line-height: 1.6;
      padding: 32px;
      background: var(--white);
      border-left: 3px solid var(--accent);
      margin-bottom: 40px;
      text-align: left;
    }
    .cover .name {
      font-size: 24px;
      font-weight: 600;
      margin-top: 20px;
      margin-bottom: 4px;
    }
    .cover .role {
      font-size: 14px;
      color: var(--muted);
      margin-bottom: 48px;
    }
    .cover .prepared {
      font-size: 11px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--muted);
      font-weight: 700;
      margin-top: 40px;
    }

    /* PART DIVIDER */
    .part-divider {
      min-height: 60vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 80px 20px;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      margin: 80px 0;
    }
    .part-divider .part-label {
      color: var(--accent);
      font-size: 13px;
      letter-spacing: 3px;
      text-transform: uppercase;
      font-weight: 700;
      margin-bottom: 16px;
    }
    .part-divider h1.part-title {
      font-size: 48px;
      font-weight: 700;
      margin: 0 0 24px;
      letter-spacing: -1px;
      line-height: 1.1;
    }
    .part-divider p.part-tagline {
      font-size: 18px;
      color: var(--muted);
      font-style: italic;
      max-width: 560px;
      line-height: 1.55;
      margin: 0;
    }

    /* CHAPTER */
    .chapter {
      padding-top: 40px;
      margin-top: 40px;
    }
    .chapter .chapter-label {
      color: var(--accent);
      font-size: 11px;
      letter-spacing: 2px;
      text-transform: uppercase;
      font-weight: 700;
      margin-bottom: 12px;
    }
    .chapter h1.chapter-title {
      font-size: 40px;
      font-weight: 700;
      margin: 0 0 32px;
      letter-spacing: -1px;
      line-height: 1.15;
    }

    /* CONTENT ELEMENTS */
    h2 {
      font-size: 22px;
      font-weight: 700;
      margin: 40px 0 12px;
      color: var(--ink);
      letter-spacing: -0.3px;
    }
    h3 {
      font-size: 16px;
      font-weight: 700;
      margin: 28px 0 10px;
      color: var(--accent);
      letter-spacing: 0.2px;
      text-transform: uppercase;
      font-size: 13px;
      letter-spacing: 1.5px;
    }
    p {
      margin: 0 0 16px;
      color: var(--ink-soft);
    }
    p.small {
      font-size: 14px;
      color: var(--muted);
      font-style: italic;
    }
    p.centered {
      text-align: center;
    }

    ul.doc-list, ol.doc-list {
      margin: 0 0 20px 0;
      padding-left: 24px;
    }
    ul.doc-list li, ol.doc-list li {
      margin: 0 0 8px;
      color: var(--ink-soft);
      line-height: 1.6;
    }
    ul.doc-list li::marker { color: var(--accent); }

    /* SPECIAL BLOCKS */
    .locked {
      background: var(--locked-bg);
      padding: 20px 24px;
      margin: 20px 0;
      border-left: 3px solid var(--accent);
      font-size: 17px;
      line-height: 1.6;
      color: var(--ink);
    }
    .her-words {
      background: var(--her-bg);
      padding: 16px 20px;
      margin: 16px 0;
      border-left: 3px solid #999;
      font-style: italic;
      color: var(--ink-soft);
      line-height: 1.55;
      font-size: 15px;
    }
    .callout {
      background: var(--callout-bg);
      padding: 16px 20px;
      margin: 20px 0;
      border-left: 3px solid #6b8e5a;
      color: var(--callout-ink);
      line-height: 1.6;
      font-size: 15px;
    }
    .action {
      background: var(--action-bg);
      padding: 16px 20px;
      margin: 20px 0;
      border-left: 3px solid #4a7ca8;
      color: var(--action-ink);
      line-height: 1.6;
      font-size: 15px;
      font-style: italic;
    }

    /* TABLES */
    .doc-table {
      width: 100%;
      border-collapse: collapse;
      margin: 20px 0;
      font-size: 14px;
    }
    .doc-table th {
      background: var(--accent);
      color: var(--white);
      padding: 10px 12px;
      text-align: left;
      font-weight: 700;
      font-size: 12px;
      letter-spacing: 0.3px;
    }
    .doc-table td {
      padding: 10px 12px;
      border-bottom: 1px solid var(--border);
      vertical-align: top;
      color: var(--ink-soft);
      line-height: 1.5;
    }
    .doc-table tr:hover td {
      background: rgba(244, 163, 0, 0.04);
    }

    /* RULE */
    hr.doc-rule {
      border: none;
      border-top: 1px solid var(--border);
      margin: 40px 0;
    }

    /* PROGRESS BAR */
    #progress {
      position: fixed;
      top: 0;
      left: 320px;
      right: 0;
      height: 3px;
      background: transparent;
      z-index: 100;
    }
    #progress-bar {
      height: 100%;
      width: 0%;
      background: var(--accent);
      transition: width 0.2s ease-out;
    }

    /* PRINT */
    @media print {
      .sidebar, #progress { display: none; }
      .layout { display: block; }
      .content { padding: 0; max-width: 100%; }
      .part-divider, .chapter { page-break-before: always; }
      body { background: white; font-size: 12pt; }
    }

    /* RESPONSIVE */
    @media (max-width: 900px) {
      .layout { grid-template-columns: 1fr; }
      .sidebar {
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border);
      }
      .content { padding: 40px 24px 80px; }
      #progress { left: 0; }
      .cover h1.cover-title { font-size: 40px; }
      .part-divider h1.part-title { font-size: 34px; }
      .chapter h1.chapter-title { font-size: 30px; }
    }
