/*
Theme Name: Ghazaleh Noori Editorial
Theme URI: https://ghazalenouri.ir
Author: Ghazaleh Noori
Author URI: https://ghazalenouri.ir
Description: قالب اختصاصی، فوق‌سریع و سئومحور برای وب‌سایت رسمی غزاله نوری شامل صفحه اصلی معماری لوکس، بلاگ تخصصی و فرم هوشمند مشاوره استراتژیک.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: ghazalenouri
*/

/* =========================================================================
       DESIGN SYSTEM — ARCHITECTURAL EDITORIAL LUXURY
       ========================================================================= */
    :root {
      --bg: #070709;
      --bg-elevated: #0E0E12;
      --bg-card: #121217;
      --bg-card-hover: #17171E;
      --ink: #F3F2EE;
      --ink-secondary: #A6A49D;
      --ink-muted: #6C6B64;
      --border: rgba(243, 242, 238, 0.085);
      --border-strong: rgba(243, 242, 238, 0.18);
      --accent: #C9A96E;
      --accent-bright: #E7CE9C;
      --accent-soft: rgba(201, 169, 110, 0.14);
      --accent-glow: rgba(201, 169, 110, 0.11);
      --accent-ink: #070709;
      --nav-bg: rgba(7, 7, 9, 0.82);
      --shadow-img: 0 36px 96px rgba(0, 0, 0, 0.72);
      --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
      --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
      --ease-curtain: cubic-bezier(0.76, 0, 0.24, 1);
      --container: 1320px;
    }

    [data-theme="light"] {
      --bg: #F4F2EC;
      --bg-elevated: #EBE8DF;
      --bg-card: #FAF9F6;
      --bg-card-hover: #FFFFFF;
      --ink: #111114;
      --ink-secondary: #504F49;
      --ink-muted: #807E76;
      --border: rgba(17, 17, 20, 0.10);
      --border-strong: rgba(17, 17, 20, 0.22);
      --accent: #9A783C;
      --accent-bright: #B89351;
      --accent-soft: rgba(154, 120, 60, 0.11);
      --accent-glow: rgba(154, 120, 60, 0.09);
      --accent-ink: #FAF9F6;
      --nav-bg: rgba(244, 242, 236, 0.88);
      --shadow-img: 0 28px 72px rgba(17, 17, 20, 0.16);
    }

    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
      background-color: var(--bg);
      overflow-x: clip;
    }

    body {
      background-color: var(--bg);
      color: var(--ink);
      font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
      font-feature-settings: "ss01";
      line-height: 1.85;
      overflow-x: clip;
      -webkit-font-smoothing: antialiased;
      -webkit-tap-highlight-color: transparent;
      transition: background-color 0.55s var(--ease-out-expo), color 0.55s var(--ease-out-expo);
    }

    body.drawer-open {
      overflow: hidden;
    }

    ::selection {
      background: var(--accent);
      color: var(--accent-ink);
    }

    .grain-overlay {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 900;
      opacity: 0.03;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    }

    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }
    button, input, textarea, select { font-family: inherit; color: inherit; }

    .container {
      width: 100%;
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 clamp(18px, 4vw, 56px);
    }

    /* =========================================================================
       SCROLL PROGRESS & CUSTOM PRECISION CURSOR
       ========================================================================= */
    .scroll-progress {
      position: fixed;
      top: 0;
      right: 0;
      height: 2px;
      width: 0%;
      background: linear-gradient(270deg, var(--accent), var(--accent-bright));
      box-shadow: 0 0 12px rgba(201, 169, 110, 0.55);
      z-index: 1200;
      pointer-events: none;
    }

    .cursor-dot, .cursor-ring {
      position: fixed;
      top: 0;
      left: 0;
      pointer-events: none;
      z-index: 1500;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .cursor-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--accent);
      transform: translate(-50%, -50%);
    }

    .cursor-ring {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      border: 1px solid rgba(201, 169, 110, 0.55);
      transform: translate(-50%, -50%);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
      font-weight: 600;
      color: var(--ink);
      transition: width 0.35s var(--ease-out-expo), height 0.35s var(--ease-out-expo), background-color 0.35s var(--ease-out-expo), border-color 0.35s var(--ease-out-expo), opacity 0.3s ease;
    }

    .cursor-ring.is-hover {
      width: 54px;
      height: 54px;
      background: rgba(201, 169, 110, 0.13);
      border-color: var(--accent);
    }

    .cursor-ring.is-view {
      width: 80px;
      height: 80px;
      background: rgba(10, 10, 14, 0.84);
      border-color: var(--accent);
      color: var(--accent);
      backdrop-filter: blur(8px);
    }

    @media (hover: none), (pointer: coarse) {
      .cursor-dot, .cursor-ring { display: none !important; }
    }

    /* =========================================================================
       CINEMATIC PRELOADER CURTAIN
       ========================================================================= */
    .preloader {
      position: fixed;
      inset: 0;
      background: #050507;
      z-index: 2000;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 20px;
      transition: transform 0.95s var(--ease-curtain), opacity 0.4s ease;
    }

    .preloader.is-done {
      transform: translateY(-100%);
      pointer-events: none;
    }

    .preloader-mark {
      font-family: 'Cormorant Garamond', Georgia, serif;
      font-size: clamp(24px, 4.2vw, 46px);
      font-weight: 400;
      letter-spacing: 0.28em;
      color: #F3F2EE;
      overflow: hidden;
      padding: 0 16px;
      text-align: center;
    }

    .preloader-mark span {
      display: inline-block;
      transform: translateY(115%);
      animation: preloaderUp 0.72s var(--ease-out-expo) 0.08s forwards;
    }

    .preloader-sub {
      font-size: 11px;
      letter-spacing: 0.14em;
      color: rgba(201, 169, 110, 0.85);
      opacity: 0;
      animation: fadeSimple 0.6s ease 0.25s forwards;
    }

    .preloader-bar {
      width: 150px;
      height: 1px;
      background: rgba(243, 242, 238, 0.14);
      position: relative;
      overflow: hidden;
    }

    .preloader-bar::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, #C9A96E, #F1DDA8);
      transform: scaleX(0);
      transform-origin: right;
      animation: preloaderLine 0.82s var(--ease-out-expo) 0.12s forwards;
    }

    @keyframes preloaderUp { to { transform: translateY(0); } }
    @keyframes preloaderLine { to { transform: scaleX(1); } }
    @keyframes fadeSimple { to { opacity: 1; } }

    /* =========================================================================
       NAVIGATION
       ========================================================================= */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      padding: 18px 0;
      transition: padding 0.45s var(--ease-out-expo), background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
      border-bottom: 1px solid transparent;
    }

    .nav.is-scrolled {
      padding: 11px 0;
      background: var(--nav-bg);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom-color: var(--border);
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .brand-link {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      flex-shrink: 0;
    }

    .brand-monogram {
      width: 38px;
      height: 38px;
      border: 1px solid var(--border-strong);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Cormorant Garamond', Georgia, serif;
      font-size: 17px;
      font-weight: 600;
      color: var(--accent);
      letter-spacing: 0.06em;
      transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.35s var(--ease-out-expo);
    }

    .brand-link:hover .brand-monogram {
      border-color: var(--accent);
      background: var(--accent-soft);
      transform: scale(1.04);
    }

    .brand-text {
      display: flex;
      flex-direction: column;
      line-height: 1.25;
    }

    .brand-name { font-size: 14px; font-weight: 700; color: var(--ink); }

    .brand-domain {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 10.5px;
      color: var(--ink-muted);
      letter-spacing: 0.08em;
      direction: ltr;
      text-align: right;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 30px;
      list-style: none;
    }

    .nav-links a {
      font-size: 13px;
      font-weight: 500;
      color: var(--ink-secondary);
      position: relative;
      padding: 5px 0;
      transition: color 0.3s ease;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 0%;
      height: 1px;
      background: var(--accent);
      transition: width 0.38s var(--ease-out-expo);
    }

    .nav-links a:hover, .nav-links a.active { color: var(--ink); }
    .nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .theme-btn {
      width: 38px;
      height: 38px;
      border: 1px solid var(--border);
      background: transparent;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--ink-secondary);
      transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease, transform 0.25s ease;
    }

    .theme-btn:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: var(--accent-soft);
    }

    .theme-btn:active { transform: scale(0.94); }

    /* Shimmering Luxury Buttons */
    .btn-editorial {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 12px 24px;
      font-size: 13.5px;
      font-weight: 600;
      border: 1px solid var(--accent);
      background: var(--accent);
      color: var(--accent-ink);
      cursor: pointer;
      position: relative;
      overflow: hidden;
      isolation: isolate;
      transition: transform 0.28s var(--ease-out-expo), background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
    }

    .btn-editorial::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.38) 50%, transparent 80%);
      transform: translateX(120%);
      transition: transform 0.75s var(--ease-out-expo);
      z-index: -1;
    }

    .btn-editorial:hover::before {
      transform: translateX(-120%);
    }

    .btn-editorial:hover {
      box-shadow: 0 10px 30px rgba(201, 169, 110, 0.26);
    }

    .btn-editorial:active {
      transform: scale(0.98);
    }

    .btn-editorial svg, .btn-editorial-ghost svg {
      transition: transform 0.35s var(--ease-out-expo);
    }

    .btn-editorial:hover svg { transform: translateX(-4px); }

    .btn-editorial-ghost {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 12px 24px;
      font-size: 13.5px;
      font-weight: 500;
      border: 1px solid var(--border-strong);
      background: transparent;
      color: var(--ink);
      cursor: pointer;
      position: relative;
      overflow: hidden;
      transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease, transform 0.28s var(--ease-out-expo);
    }

    .btn-editorial-ghost:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: var(--accent-soft);
    }

    .btn-editorial-ghost:hover svg { transform: translateY(3px); }
    .btn-editorial-ghost:active { transform: scale(0.98); }

    .mobile-menu-btn {
      display: none;
      width: 40px;
      height: 40px;
      border: 1px solid var(--border-strong);
      background: transparent;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--ink);
      transition: border-color 0.3s ease, color 0.3s ease;
    }

    .mobile-menu-btn:hover { border-color: var(--accent); color: var(--accent); }

    /* Mobile Drawer with Staggered Choreography */
    .mobile-drawer {
      position: fixed;
      inset: 0;
      background: var(--bg);
      z-index: 1400;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 88px 26px 34px;
      opacity: 0;
      pointer-events: none;
      clip-path: inset(0 0 100% 0);
      transition: clip-path 0.65s var(--ease-curtain), opacity 0.35s ease;
    }

    .mobile-drawer.is-open {
      opacity: 1;
      pointer-events: auto;
      clip-path: inset(0 0 0 0);
    }

    .mobile-drawer-nav {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .mobile-drawer-nav a {
      font-size: clamp(22px, 6vw, 28px);
      font-weight: 700;
      color: var(--ink);
      border-bottom: 1px solid var(--border);
      padding: 15px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.55s var(--ease-out-expo), transform 0.55s var(--ease-out-expo), color 0.25s ease;
    }

    .mobile-drawer-nav a span.m-num {
      font-family: 'Cormorant Garamond', Georgia, serif;
      font-size: 18px;
      font-style: italic;
      color: var(--accent);
      font-weight: 400;
    }

    .mobile-drawer.is-open .mobile-drawer-nav a {
      opacity: 1;
      transform: translateY(0);
    }

    .mobile-drawer.is-open .mobile-drawer-nav a:nth-child(1) { transition-delay: 0.14s; }
    .mobile-drawer.is-open .mobile-drawer-nav a:nth-child(2) { transition-delay: 0.20s; }
    .mobile-drawer.is-open .mobile-drawer-nav a:nth-child(3) { transition-delay: 0.26s; }
    .mobile-drawer.is-open .mobile-drawer-nav a:nth-child(4) { transition-delay: 0.32s; }
    .mobile-drawer.is-open .mobile-drawer-nav a:nth-child(5) { transition-delay: 0.38s; }

    .mobile-drawer-footer {
      display: flex;
      flex-direction: column;
      gap: 14px;
      padding-top: 20px;
    }

    .mobile-drawer-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 12px;
      color: var(--ink-muted);
    }

    .mobile-drawer-close {
      position: absolute;
      top: 18px;
      left: 18px;
      width: 42px;
      height: 42px;
      border: 1px solid var(--border-strong);
      background: transparent;
      color: var(--ink);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    @media (max-width: 960px) {
      .nav-links, .nav-cta-desktop { display: none; }
      .mobile-menu-btn { display: inline-flex; }
    }

    /* =========================================================================
       REVEAL CHOREOGRAPHY & ANIMATED HAIRLINES
       ========================================================================= */
    .mask-line { display: block; overflow: hidden; }
    .mask-line > span {
      display: block;
      transform: translateY(118%);
      transition: transform 1.05s var(--ease-out-expo);
    }

    .is-visible .mask-line > span,
    body.is-loaded .hero-mask > span { transform: translateY(0); }

    .reveal {
      opacity: 0;
      transform: translateY(34px);
      transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
    }

    .reveal.is-visible { opacity: 1; transform: translateY(0); }

    .reveal-scale {
      opacity: 0;
      transform: translateY(24px) scale(0.96);
      transition: opacity 0.95s var(--ease-out-expo), transform 0.95s var(--ease-out-expo);
    }

    .reveal-scale.is-visible { opacity: 1; transform: translateY(0) scale(1); }

    .delay-1 { transition-delay: 0.08s !important; }
    .delay-2 { transition-delay: 0.16s !important; }
    .delay-3 { transition-delay: 0.24s !important; }
    .delay-4 { transition-delay: 0.34s !important; }

    /* Animated Scroll-Drawn Section Hairline */
    .draw-rule {
      position: absolute;
      bottom: 0;
      right: 0;
      left: 0;
      height: 1px;
      background: var(--border);
      overflow: hidden;
    }

    .draw-rule::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(270deg, transparent, var(--accent), transparent);
      transform: translateX(100%);
      opacity: 0.55;
      transition: transform 1.6s var(--ease-out-expo);
    }

    .section.in-view .draw-rule::after,
    .hero.in-view .draw-rule::after {
      transform: translateX(-100%);
    }

    /* =========================================================================
       HERO SECTION — INTERACTIVE GOLD CONSTELLATION + SINGLE STUDIO PORTRAIT
       ========================================================================= */
    .hero {
      min-height: 100svh;
      padding: clamp(104px, 13vh, 150px) 0 clamp(54px, 7vh, 92px);
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }

    #heroCanvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
      opacity: 0.72;
    }

    [data-theme="light"] #heroCanvas {
      opacity: 0.42;
    }

    .hero-orb {
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
      z-index: 0;
      filter: blur(70px);
    }

    .hero-orb-1 {
      top: -10%;
      left: -6%;
      width: 46vw;
      height: 46vw;
      max-width: 620px;
      max-height: 620px;
      background: radial-gradient(circle, rgba(201, 169, 110, 0.12) 0%, rgba(201, 169, 110, 0) 70%);
      animation: orbFloatA 12s ease-in-out infinite alternate;
    }

    .hero-orb-2 {
      bottom: -15%;
      right: 12%;
      width: 34vw;
      height: 34vw;
      max-width: 460px;
      max-height: 460px;
      background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, rgba(201, 169, 110, 0) 70%);
      animation: orbFloatB 15s ease-in-out infinite alternate;
    }

    @keyframes orbFloatA {
      0% { transform: translate3d(0, 0, 0) scale(1); }
      100% { transform: translate3d(28px, 34px, 0) scale(1.08); }
    }

    @keyframes orbFloatB {
      0% { transform: translate3d(0, 0, 0) scale(1); }
      100% { transform: translate3d(-24px, -28px, 0) scale(1.1); }
    }

    .hero-grid {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1.18fr 0.86fr;
      gap: clamp(32px, 5vw, 84px);
      align-items: center;
    }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 24px;
      font-size: 12px;
      font-weight: 500;
      color: var(--accent);
      letter-spacing: 0.04em;
    }

    .hero-eyebrow-line {
      width: 36px;
      height: 1px;
      background: var(--accent);
      transform-origin: right;
      transform: scaleX(0);
      transition: transform 0.9s var(--ease-out-expo) 0.15s;
    }

    body.is-loaded .hero-eyebrow-line { transform: scaleX(1); }

    .hero-title {
      font-size: clamp(32px, 5vw, 66px);
      font-weight: 800;
      line-height: 1.24;
      letter-spacing: -0.02em;
      color: var(--ink);
      margin-bottom: 24px;
    }

    .hero-title .accent-word {
      background: linear-gradient(120deg, var(--accent) 0%, var(--accent-bright) 50%, var(--accent) 100%);
      background-size: 200% auto;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      font-weight: 400;
      animation: goldShimmerText 6s linear infinite;
    }

    @keyframes goldShimmerText {
      0% { background-position: 0% center; }
      100% { background-position: 200% center; }
    }

    .hero-lead {
      font-size: clamp(14.5px, 1.32vw, 17px);
      font-weight: 300;
      color: var(--ink-secondary);
      max-width: 580px;
      line-height: 2;
      margin-bottom: 34px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;
      margin-bottom: 40px;
    }

    .hero-credentials {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      padding-top: 26px;
      border-top: 1px solid var(--border);
      max-width: 600px;
    }

    .cred-item-label {
      font-size: 11px;
      color: var(--ink-muted);
      margin-bottom: 4px;
      display: block;
    }

    .cred-item-val {
      font-size: 13.5px;
      font-weight: 600;
      color: var(--ink);
    }

    /* Single Sculpted Studio Portrait with 3D Tilt & Specular Glint */
    .hero-visual-wrap {
      position: relative;
      display: flex;
      justify-content: flex-end;
      perspective: 1100px;
    }

    .hero-portrait-outer {
      position: relative;
      width: 100%;
      max-width: 448px;
      transform-style: preserve-3d;
      transition: transform 0.25s ease-out;
    }

    .portrait-bracket {
      position: absolute;
      width: 54px;
      height: 54px;
      pointer-events: none;
      z-index: 6;
      opacity: 0;
      transition: opacity 0.9s ease 0.35s, transform 1s var(--ease-out-expo) 0.35s;
    }

    .portrait-bracket-tr {
      top: -13px;
      right: -13px;
      border-top: 1.5px solid var(--accent);
      border-right: 1.5px solid var(--accent);
      transform: translate(10px, -10px);
    }

    .portrait-bracket-bl {
      bottom: -13px;
      left: -13px;
      border-bottom: 1.5px solid var(--accent);
      border-left: 1.5px solid var(--accent);
      transform: translate(-10px, 10px);
    }

    body.is-loaded .portrait-bracket {
      opacity: 1;
      transform: translate(0, 0);
    }

    .hero-portrait-aura {
      position: absolute;
      inset: -1px;
      background: linear-gradient(145deg, rgba(201, 169, 110, 0.38), transparent 45%, rgba(201, 169, 110, 0.22));
      z-index: 0;
      pointer-events: none;
      opacity: 0.65;
      transition: opacity 0.5s ease;
    }

    .hero-portrait-outer:hover .hero-portrait-aura {
      opacity: 1;
    }

    .hero-portrait-frame {
      position: relative;
      z-index: 2;
      aspect-ratio: 4 / 5;
      width: 100%;
      overflow: hidden;
      background: var(--bg-elevated);
      border: 1px solid var(--border-strong);
      box-shadow: var(--shadow-img);
      cursor: pointer;
    }

    .hero-portrait-frame img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      transform: scale(1.12);
      clip-path: inset(12% 0 0 0);
      opacity: 0.15;
      transition: transform 1.45s var(--ease-out-expo), clip-path 1.3s var(--ease-out-expo), opacity 1s ease;
    }

    body.is-loaded .hero-portrait-frame img {
      transform: scale(1.01);
      clip-path: inset(0 0 0 0);
      opacity: 1;
    }

    .hero-portrait-outer:hover .hero-portrait-frame img {
      transform: scale(1.045);
    }

    /* Specular Glint Layer */
    .portrait-glint {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 3;
      background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 30%), rgba(231, 206, 156, 0.16), transparent 60%);
      opacity: 0;
      transition: opacity 0.45s ease;
    }

    .hero-portrait-outer:hover .portrait-glint {
      opacity: 1;
    }

    .hero-portrait-frame::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 60%, rgba(7, 7, 9, 0.84) 100%);
      pointer-events: none;
      z-index: 3;
    }

    .hero-portrait-caption {
      position: absolute;
      bottom: 0;
      right: 0;
      left: 0;
      z-index: 5;
      padding: 20px 22px;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 12px;
      color: #F3F2EE;
    }

    .hero-cap-title { font-size: 15px; font-weight: 700; }

    .hero-cap-sub {
      font-size: 11.5px;
      color: rgba(243, 242, 238, 0.78);
      margin-top: 2px;
    }

    .hero-cap-en {
      font-family: 'Cormorant Garamond', Georgia, serif;
      font-style: italic;
      font-size: 16px;
      color: #C9A96E;
      direction: ltr;
      white-space: nowrap;
    }

    @media (max-width: 960px) {
      .hero {
        min-height: auto;
        padding: 96px 0 54px;
      }
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
      }
      .hero-visual-wrap {
        justify-content: center;
      }
      .hero-portrait-outer {
        max-width: 360px;
      }
      .hero-actions {
        margin-bottom: 32px;
      }
      .hero-credentials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 14px;
        max-width: 100%;
      }
      .hero-credentials > div:last-child {
        grid-column: 1 / -1;
        padding-top: 12px;
        border-top: 1px dashed var(--border);
      }
    }

    @media (max-width: 520px) {
      .hero-title { font-size: clamp(29px, 8.2vw, 38px); }
      .hero-lead { font-size: 14px; margin-bottom: 26px; }
      .hero-actions { flex-direction: column; align-items: stretch; }
      .hero-actions .btn-editorial,
      .hero-actions .btn-editorial-ghost { width: 100%; padding: 14px 20px; }
      .hero-portrait-outer { max-width: 100%; }
      .portrait-bracket { width: 38px; height: 38px; }
      .portrait-bracket-tr { top: -8px; right: -8px; }
      .portrait-bracket-bl { bottom: -8px; left: -8px; }
      .hero-portrait-caption { padding: 16px; }
      .hero-cap-en { font-size: 14px; }
    }

    /* =========================================================================
       KINETIC MARQUEE
       ========================================================================= */
    .marquee-band {
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 18px 0;
      overflow: hidden;
      background: var(--bg-elevated);
      direction: ltr;
    }

    .marquee-track {
      display: flex;
      width: max-content;
      animation: marqueeScroll 32s linear infinite;
    }

    .marquee-band:hover .marquee-track { animation-play-state: paused; }

    .marquee-group {
      display: flex;
      align-items: center;
      gap: 38px;
      padding-right: 38px;
    }

    .marquee-item {
      font-family: 'Cormorant Garamond', Georgia, serif;
      font-size: clamp(17px, 2.2vw, 25px);
      font-weight: 500;
      letter-spacing: 0.14em;
      color: var(--ink-secondary);
      white-space: nowrap;
    }

    .marquee-item.is-highlight { color: var(--accent); font-style: italic; }

    .marquee-sep {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--border-strong);
      flex-shrink: 0;
    }

    @keyframes marqueeScroll {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    /* =========================================================================
       EXECUTIVE METRICS RIBBON
       ========================================================================= */
    .metrics-section { border-bottom: 1px solid var(--border); }

    .metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
    }

    .metric-cell {
      padding: clamp(26px, 4vw, 52px) clamp(16px, 2.4vw, 30px);
      border-left: 1px solid var(--border);
      position: relative;
      overflow: hidden;
      transition: background-color 0.4s ease;
    }

    .metric-cell::after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 2px;
      background: linear-gradient(270deg, var(--accent), transparent);
      transform: scaleX(0);
      transform-origin: right;
      transition: transform 0.6s var(--ease-out-expo);
    }

    .metric-cell:hover::after { transform: scaleX(1); }
    .metric-cell:last-child { border-left: none; }
    .metric-cell:hover { background: var(--bg-elevated); }

    .metric-index {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 10.5px;
      color: var(--ink-muted);
      margin-bottom: 14px;
      display: block;
    }

    .metric-value {
      font-size: clamp(26px, 3.3vw, 46px);
      font-weight: 800;
      line-height: 1.15;
      color: var(--ink);
      margin-bottom: 10px;
      letter-spacing: -0.02em;
    }

    .metric-value .unit {
      color: var(--accent);
      font-weight: 500;
      font-size: 0.62em;
      margin-right: 4px;
    }

    .metric-label {
      font-size: 12.8px;
      color: var(--ink-secondary);
      line-height: 1.75;
    }

    @media (max-width: 960px) {
      .metrics-grid { grid-template-columns: repeat(2, 1fr); }
      .metric-cell { border-bottom: 1px solid var(--border); }
      .metric-cell:nth-child(2n) { border-left: none; }
      .metric-cell:nth-last-child(-n+2) { border-bottom: none; }
    }

    @media (max-width: 440px) {
      .metric-cell { padding: 22px 14px; }
      .metric-value { font-size: 26px; }
      .metric-label { font-size: 12px; line-height: 1.65; }
    }

    /* =========================================================================
       SHARED SECTION HEADERS
       ========================================================================= */
    .section {
      padding: clamp(64px, 9.5vw, 128px) 0;
      position: relative;
    }

    .section-header {
      display: grid;
      grid-template-columns: 0.45fr 1fr;
      gap: 28px;
      align-items: end;
      margin-bottom: clamp(36px, 5.5vw, 68px);
    }

    .section-kicker {
      display: flex;
      align-items: center;
      gap: 12px;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: var(--accent);
      direction: ltr;
      justify-content: flex-end;
    }

    .section-kicker-fa {
      font-family: 'Vazirmatn', sans-serif;
      font-size: 12px;
      letter-spacing: 0;
      color: var(--ink-muted);
      margin-top: 6px;
      display: block;
    }

    .section-title {
      font-size: clamp(24px, 3.6vw, 45px);
      font-weight: 800;
      line-height: 1.32;
      color: var(--ink);
      letter-spacing: -0.015em;
    }

    .section-desc {
      font-size: clamp(13.8px, 1.25vw, 15px);
      font-weight: 300;
      color: var(--ink-secondary);
      margin-top: 12px;
      max-width: 660px;
      line-height: 1.92;
    }

    @media (max-width: 900px) {
      .section-header { grid-template-columns: 1fr; gap: 10px; }
    }

    /* =========================================================================
       SECTION: GLOBAL MARKETS SPOTLIGHT
       ========================================================================= */
    .global-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }

    .spotlight-card {
      position: relative;
      background: var(--bg-card);
      border: 1px solid var(--border);
      padding: clamp(22px, 3.4vw, 44px);
      overflow: hidden;
      transition: border-color 0.45s var(--ease-out-expo), transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .spotlight-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), var(--accent-glow), transparent 56%);
      opacity: 0;
      transition: opacity 0.45s ease;
      pointer-events: none;
    }

    .spotlight-card::after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 1.5px;
      background: linear-gradient(270deg, transparent, var(--accent), transparent);
      transform: translateX(100%);
      transition: transform 0.85s var(--ease-out-expo);
    }

    .spotlight-card:hover {
      border-color: rgba(201, 169, 110, 0.42);
      transform: translateY(-5px);
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    }

    .spotlight-card:hover::before { opacity: 1; }
    .spotlight-card:hover::after { transform: translateX(-100%); }

    .global-card-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 14px;
      padding-bottom: 20px;
      margin-bottom: 22px;
      border-bottom: 1px solid var(--border);
    }

    .region-tag {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 10.5px;
      letter-spacing: 0.16em;
      color: var(--accent);
      text-transform: uppercase;
      direction: ltr;
      display: inline-block;
      margin-bottom: 8px;
    }

    .global-card-title {
      font-size: clamp(19px, 2.2vw, 26px);
      font-weight: 800;
      color: var(--ink);
      line-height: 1.35;
    }

    .global-card-role { font-size: 13px; color: var(--ink-muted); margin-top: 5px; }

    .global-period {
      font-size: 11.5px;
      color: var(--ink-secondary);
      border: 1px solid var(--border);
      padding: 4px 10px;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .global-stats {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      margin-bottom: 22px;
    }

    .global-stat-box {
      padding: 15px 16px;
      background: var(--bg-elevated);
      border: 1px solid var(--border);
      transition: border-color 0.35s ease, transform 0.35s var(--ease-out-expo);
    }

    .spotlight-card:hover .global-stat-box {
      border-color: rgba(201, 169, 110, 0.22);
    }

    .global-stat-num {
      font-size: clamp(20px, 2.2vw, 28px);
      font-weight: 800;
      color: var(--accent);
      line-height: 1.2;
    }

    .global-stat-desc { font-size: 11.8px; color: var(--ink-secondary); margin-top: 4px; line-height: 1.6; }

    .editorial-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 11px;
      margin-bottom: 24px;
    }

    .editorial-list li {
      position: relative;
      padding-right: 18px;
      font-size: 13.5px;
      color: var(--ink-secondary);
      line-height: 1.85;
    }

    .editorial-list li::before {
      content: '';
      position: absolute;
      right: 0;
      top: 11px;
      width: 7px;
      height: 1px;
      background: var(--accent);
    }

    .editorial-list strong { color: var(--ink); font-weight: 600; }

    .partner-strip {
      padding-top: 18px;
      border-top: 1px solid var(--border);
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
    }

    .partner-strip-label { font-size: 11.5px; color: var(--ink-muted); margin-left: 4px; }

    .partner-chip {
      font-family: 'Space Grotesk', 'Vazirmatn', sans-serif;
      font-size: 11px;
      font-weight: 500;
      color: var(--ink);
      border: 1px solid var(--border-strong);
      padding: 4px 10px;
      letter-spacing: 0.04em;
      transition: border-color 0.3s ease, color 0.3s ease;
    }

    .partner-chip:hover { border-color: var(--accent); color: var(--accent); }

    @media (max-width: 960px) {
      .global-grid { grid-template-columns: 1fr; gap: 18px; }
    }

    @media (max-width: 480px) {
      .global-card-top { flex-direction: column; gap: 10px; }
      .global-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
      .global-stat-box { padding: 12px; }
    }

    /* =========================================================================
       SECTION: INTERACTIVE IMPACT SHOWCASE (MOBILE-OPTIMIZED TABS + KINETICS)
       ========================================================================= */
    .impact-layout {
      display: grid;
      grid-template-columns: 0.85fr 1.15fr;
      gap: clamp(20px, 4vw, 54px);
      align-items: start;
    }

    .impact-tabs {
      display: flex;
      flex-direction: column;
      border-top: 1px solid var(--border);
    }

    .impact-tab-btn {
      width: 100%;
      text-align: right;
      background: transparent;
      border: none;
      border-bottom: 1px solid var(--border);
      padding: 20px 16px 20px 12px;
      cursor: pointer;
      display: grid;
      grid-template-columns: 42px 1fr 22px;
      align-items: center;
      gap: 12px;
      position: relative;
      transition: background-color 0.35s ease, padding-right 0.38s var(--ease-out-expo);
    }

    .impact-tab-btn::before {
      content: '';
      position: absolute;
      right: 0;
      top: 0;
      bottom: 0;
      width: 2.5px;
      background: var(--accent);
      transform: scaleY(0);
      transform-origin: top;
      transition: transform 0.45s var(--ease-out-expo);
    }

    .impact-tab-btn:hover { background: var(--bg-elevated); }
    .impact-tab-btn.is-active { background: var(--bg-card); padding-right: 22px; }
    .impact-tab-btn.is-active::before { transform: scaleY(1); }

    .impact-tab-num {
      font-family: 'Cormorant Garamond', Georgia, serif;
      font-size: 22px;
      font-style: italic;
      color: var(--ink-muted);
      transition: color 0.3s ease;
    }

    .impact-tab-btn.is-active .impact-tab-num { color: var(--accent); }

    .impact-tab-title {
      font-size: 15px;
      font-weight: 700;
      color: var(--ink-secondary);
      transition: color 0.3s ease;
    }

    .impact-tab-btn.is-active .impact-tab-title { color: var(--ink); }
    .impact-tab-sub { font-size: 11.8px; color: var(--ink-muted); margin-top: 3px; }

    .impact-tab-arrow {
      color: var(--ink-muted);
      transition: transform 0.35s var(--ease-out-expo), color 0.3s ease;
    }

    .impact-tab-btn.is-active .impact-tab-arrow {
      color: var(--accent);
      transform: translateX(-4px);
    }

    .impact-stage {
      background: var(--bg-card);
      border: 1px solid var(--border);
      padding: clamp(22px, 3.6vw, 46px);
      min-height: 470px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      overflow: hidden;
    }

    .impact-panel {
      display: none;
    }

    .impact-panel.is-active {
      display: block;
      animation: panelSlideIn 0.65s var(--ease-out-expo) forwards;
    }

    @keyframes panelSlideIn {
      from { opacity: 0; transform: translateY(16px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .impact-stage-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 16px;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--border);
    }

    .impact-stage-tag {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 10.5px;
      letter-spacing: 0.14em;
      color: var(--accent);
      text-transform: uppercase;
      direction: ltr;
    }

    .impact-stage-title {
      font-size: clamp(18px, 2.2vw, 25px);
      font-weight: 800;
      color: var(--ink);
      margin-bottom: 10px;
      line-height: 1.45;
    }

    .impact-stage-desc {
      font-size: 13.6px;
      color: var(--ink-secondary);
      line-height: 1.9;
      margin-bottom: 24px;
    }

    .impact-kpis {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-bottom: 24px;
    }

    .impact-kpi {
      padding: 15px;
      background: var(--bg-elevated);
      border: 1px solid var(--border);
      opacity: 0;
      transform: translateY(12px);
      animation: kpiRise 0.65s var(--ease-out-expo) forwards;
    }

    .impact-kpi:nth-child(2) { animation-delay: 0.08s; }
    .impact-kpi:nth-child(3) { animation-delay: 0.16s; }

    @keyframes kpiRise {
      to { opacity: 1; transform: translateY(0); }
    }

    .impact-kpi-num {
      font-size: clamp(19px, 2vw, 25px);
      font-weight: 800;
      color: var(--ink);
      line-height: 1.2;
    }

    .impact-kpi-num span { color: var(--accent); }
    .impact-kpi-lbl { font-size: 11.2px; color: var(--ink-muted); margin-top: 5px; line-height: 1.55; }

    .telemetry-box {
      padding: 18px;
      background: var(--bg-elevated);
      border: 1px solid var(--border);
    }

    .telemetry-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      font-size: 12px;
      color: var(--ink-muted);
      margin-bottom: 14px;
    }

    .bar-stack { display: flex; flex-direction: column; gap: 14px; }

    .bar-row-top {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      font-size: 12.2px;
      margin-bottom: 6px;
      color: var(--ink-secondary);
    }

    .bar-row-top strong { color: var(--ink); font-weight: 600; white-space: nowrap; }

    .bar-track {
      height: 6px;
      width: 100%;
      background: var(--border);
      overflow: hidden;
      position: relative;
    }

    .bar-fill {
      height: 100%;
      background: linear-gradient(270deg, var(--accent), var(--accent-bright));
      width: 0;
      position: relative;
      transition: width 1.15s var(--ease-out-expo);
    }

    .bar-fill::after {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 24px;
      background: linear-gradient(90deg, rgba(255,255,255,0.65), transparent);
    }

    .svg-trend { width: 100%; height: 148px; display: block; }

    .svg-draw-line {
      stroke-dasharray: 640;
      stroke-dashoffset: 640;
      transition: stroke-dashoffset 1.5s var(--ease-out-expo);
    }

    .impact-layout.is-visible .impact-panel.is-active .svg-draw-line {
      stroke-dashoffset: 0;
    }

    .pulse-ring {
      transform-origin: 535px 22px;
      animation: radarPulse 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
    }

    @keyframes radarPulse {
      0% { transform: scale(1); opacity: 0.75; }
      100% { transform: scale(2.8); opacity: 0; }
    }

    /* Mobile Horizontal Scrollable Pill Bar for Impact Tabs */
    @media (max-width: 960px) {
      .impact-layout { grid-template-columns: 1fr; gap: 16px; }
      .impact-tabs {
        flex-direction: row;
        overflow-x: auto;
        border-top: none;
        gap: 10px;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
      }
      .impact-tabs::-webkit-scrollbar { display: none; }
      .impact-tab-btn {
        flex: 0 0 auto;
        width: auto;
        min-width: 210px;
        max-width: 260px;
        scroll-snap-align: start;
        border: 1px solid var(--border);
        background: var(--bg-card);
        padding: 13px 15px;
        grid-template-columns: 28px 1fr;
        gap: 10px;
      }
      .impact-tab-btn::before {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: auto;
        height: 2px;
        transform: scaleX(0);
        transform-origin: right;
      }
      .impact-tab-btn.is-active {
        padding-right: 15px;
        border-color: var(--accent);
        background: var(--accent-soft);
      }
      .impact-tab-btn.is-active::before { transform: scaleX(1); }
      .impact-tab-num { font-size: 18px; }
      .impact-tab-title { font-size: 13px; line-height: 1.4; }
      .impact-tab-sub, .impact-tab-arrow { display: none; }
      .impact-stage { min-height: auto; }
    }

    @media (max-width: 600px) {
      .impact-kpis { grid-template-columns: repeat(2, 1fr); }
      .impact-kpis .impact-kpi:last-child { grid-column: 1 / -1; }
      .svg-trend { height: 130px; }
    }

    /* =========================================================================
       SECTION: INTERACTIVE CAREER INDEX (SWISS ACCORDION)
       ========================================================================= */
    .filter-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 30px;
    }

    .filter-btn {
      padding: 9px 16px;
      font-size: 12.5px;
      font-weight: 500;
      background: transparent;
      border: 1px solid var(--border);
      color: var(--ink-secondary);
      cursor: pointer;
      transition: all 0.3s var(--ease-out-expo);
    }

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

    .filter-btn.is-active {
      background: var(--accent);
      border-color: var(--accent);
      color: var(--accent-ink);
      font-weight: 700;
    }

    .career-list { border-top: 1px solid var(--border); }

    .career-row {
      border-bottom: 1px solid var(--border);
      transition: background-color 0.3s ease;
    }

    .career-row.is-hidden { display: none; }
    .career-row:hover { background: var(--bg-elevated); }

    .career-row.filter-enter {
      animation: panelSlideIn 0.55s var(--ease-out-expo) both;
    }

    .career-trigger {
      width: 100%;
      background: transparent;
      border: none;
      padding: 22px 12px;
      cursor: pointer;
      display: grid;
      grid-template-columns: 150px 1.25fr 1fr 110px 32px;
      gap: 16px;
      align-items: center;
      text-align: right;
    }

    .career-period { font-size: 12px; color: var(--ink-muted); }

    .career-org {
      font-size: 15.8px;
      font-weight: 700;
      color: var(--ink);
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .badge-global {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 9.5px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 2px 7px;
      border: 1px solid var(--accent);
      color: var(--accent);
      direction: ltr;
    }

    .badge-current {
      font-size: 10.5px;
      padding: 2px 9px;
      background: var(--accent-soft);
      color: var(--accent);
      font-weight: 600;
    }

    .career-role { font-size: 13.5px; color: var(--ink-secondary); }
    .career-loc { font-size: 12px; color: var(--ink-muted); text-align: left; }

    .career-plus { width: 24px; height: 24px; position: relative; margin-right: auto; flex-shrink: 0; }

    .career-plus::before, .career-plus::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      background: var(--ink-secondary);
      transform: translate(-50%, -50%);
      transition: transform 0.38s var(--ease-out-expo), background-color 0.3s ease;
    }

    .career-plus::before { width: 14px; height: 1px; }
    .career-plus::after { width: 1px; height: 14px; }
    .career-row.is-open .career-plus::after { transform: translate(-50%, -50%) rotate(90deg); background: var(--accent); }
    .career-row.is-open .career-plus::before { background: var(--accent); }

    .career-body-wrap {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 0.48s var(--ease-out-expo);
    }

    .career-row.is-open .career-body-wrap { grid-template-rows: 1fr; }
    .career-body-inner { overflow: hidden; }

    .career-body-content {
      padding: 4px 166px 26px 44px;
      opacity: 0;
      transform: translateY(-6px);
      transition: opacity 0.4s ease 0.08s, transform 0.45s var(--ease-out-expo) 0.08s;
    }

    .career-row.is-open .career-body-content {
      opacity: 1;
      transform: translateY(0);
    }

    @media (max-width: 960px) {
      .filter-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 4px;
      }
      .filter-bar::-webkit-scrollbar { display: none; }
      .filter-btn { white-space: nowrap; flex-shrink: 0; }

      .career-trigger {
        grid-template-columns: 1fr 28px;
        gap: 5px 12px;
        padding: 18px 6px;
      }
      .career-period { grid-column: 1; font-size: 11px; color: var(--accent); }
      .career-org { grid-column: 1; font-size: 15px; }
      .career-role { grid-column: 1; font-size: 13px; }
      .career-loc { grid-column: 1; text-align: right; font-size: 11.5px; }
      .career-plus { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
      .career-body-content { padding: 4px 6px 20px 6px; }
    }

    /* =========================================================================
       SECTION: EDITORIAL BLOG & INSIGHTS
       ========================================================================= */
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
      margin-bottom: 32px;
    }

    .blog-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      padding: clamp(22px, 2.8vw, 30px);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 295px;
      position: relative;
      overflow: hidden;
      transition: border-color 0.4s var(--ease-out-expo), transform 0.45s var(--ease-out-expo), background-color 0.35s ease, box-shadow 0.45s ease;
    }

    .blog-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--accent-glow), transparent 55%);
      opacity: 0;
      transition: opacity 0.45s ease;
      pointer-events: none;
    }

    .blog-card::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 0%;
      height: 2px;
      background: linear-gradient(270deg, var(--accent), var(--accent-bright));
      transition: width 0.55s var(--ease-out-expo);
    }

    .blog-card:hover {
      border-color: rgba(201, 169, 110, 0.42);
      background: var(--bg-card-hover);
      transform: translateY(-5px);
      box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
    }

    .blog-card:hover::before { opacity: 1; }
    .blog-card:hover::after { width: 100%; }

    .blog-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      font-size: 11.5px;
      color: var(--ink-muted);
      margin-bottom: 16px;
    }

    .blog-cat { color: var(--accent); font-weight: 600; font-size: 11.5px; }

    .blog-title {
      font-size: 17.5px;
      font-weight: 700;
      line-height: 1.55;
      color: var(--ink);
      margin-bottom: 12px;
    }

    .blog-excerpt {
      font-size: 13.4px;
      font-weight: 300;
      color: var(--ink-secondary);
      line-height: 1.9;
      margin-bottom: 22px;
    }

    .blog-readmore {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 12.5px;
      font-weight: 600;
      color: var(--accent);
      padding-top: 15px;
      border-top: 1px solid var(--border);
    }

    .blog-readmore svg { transition: transform 0.35s var(--ease-out-expo); }
    .blog-card:hover .blog-readmore svg { transform: translateX(-5px); }

    .blog-footer-cta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
      padding-top: 24px;
      border-top: 1px solid var(--border);
    }

    .blog-footer-note { font-size: 13.2px; color: var(--ink-muted); }

    @media (max-width: 960px) {
      .blog-grid { grid-template-columns: 1fr; gap: 16px; }
      .blog-card { min-height: auto; }
      .blog-footer-cta .btn-editorial-ghost { width: 100%; }
    }

    /* =========================================================================
       SECTION: STRATEGIC CONSULTATION FORM
       ========================================================================= */
    .consult-grid {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: clamp(32px, 5vw, 80px);
      align-items: start;
    }

    .advisory-scope { border-top: 1px solid var(--border); margin-bottom: 30px; }

    .scope-item {
      padding: 17px 0;
      border-bottom: 1px solid var(--border);
      display: flex;
      gap: 15px;
      align-items: flex-start;
      transition: padding-right 0.35s var(--ease-out-expo);
    }

    .scope-item:hover { padding-right: 6px; }

    .scope-num {
      font-family: 'Cormorant Garamond', Georgia, serif;
      font-size: 20px;
      font-style: italic;
      color: var(--accent);
      line-height: 1.2;
      flex-shrink: 0;
    }

    .scope-item h4 { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
    .scope-item p { font-size: 12.8px; color: var(--ink-secondary); line-height: 1.75; }

    .direct-channels { display: flex; flex-direction: column; gap: 10px; }

    .channel-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 14px 16px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      font-size: 13px;
      transition: border-color 0.3s ease, transform 0.3s var(--ease-out-expo);
    }

    .channel-row:hover { border-color: var(--accent); transform: translateX(-4px); }
    .channel-label { color: var(--ink-muted); font-size: 12px; white-space: nowrap; }
    .channel-val {
      font-family: 'Space Grotesk', 'Vazirmatn', sans-serif;
      color: var(--ink);
      font-weight: 500;
      direction: ltr;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .consult-form-wrap {
      background: var(--bg-card);
      border: 1px solid var(--border);
      padding: clamp(22px, 3.8vw, 46px);
      position: relative;
    }

    .form-section-label {
      font-size: 12.2px;
      font-weight: 600;
      color: var(--ink-secondary);
      margin-bottom: 12px;
      display: block;
    }

    .chip-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }

    .chip-option {
      padding: 9px 14px;
      min-height: 38px;
      font-size: 12.2px;
      border: 1px solid var(--border-strong);
      background: transparent;
      color: var(--ink-secondary);
      cursor: pointer;
      transition: all 0.25s var(--ease-out-expo);
    }

    .chip-option:hover { border-color: var(--accent); color: var(--ink); }
    .chip-option:active { transform: scale(0.96); }

    .chip-option.is-selected {
      background: var(--accent);
      border-color: var(--accent);
      color: var(--accent-ink);
      font-weight: 600;
    }

    .form-row-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .field-group { position: relative; margin-bottom: 22px; }
    .field-label { display: block; font-size: 12px; color: var(--ink-muted); margin-bottom: 6px; }

    .field-input, .field-textarea {
      width: 100%;
      background: transparent;
      border: none;
      border-bottom: 1px solid var(--border-strong);
      padding: 10px 2px 11px;
      font-size: 15px;
      color: var(--ink);
      outline: none;
      border-radius: 0;
    }

    .field-textarea { resize: vertical; min-height: 92px; line-height: 1.8; }

    .field-line {
      position: absolute;
      bottom: 0;
      right: 0;
      width: 0%;
      height: 1.5px;
      background: var(--accent);
      transition: width 0.42s var(--ease-out-expo);
    }

    .field-input:focus + .field-line,
    .field-textarea:focus + .field-line { width: 100%; }

    .field-input::placeholder,
    .field-textarea::placeholder { color: var(--ink-muted); opacity: 0.65; }

    .form-error { font-size: 12.5px; color: #e06c6c; margin-bottom: 14px; display: none; }

    .form-success {
      display: none;
      padding: 10px 0;
      animation: panelSlideIn 0.6s var(--ease-out-expo) forwards;
    }

    .success-badge {
      display: inline-block;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 11px;
      letter-spacing: 0.14em;
      color: var(--accent);
      border: 1px solid var(--accent);
      padding: 4px 12px;
      margin-bottom: 16px;
      direction: ltr;
    }

    .success-title { font-size: 21px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
    .success-text { font-size: 13.5px; color: var(--ink-secondary); line-height: 1.9; margin-bottom: 20px; }

    .success-summary {
      background: var(--bg-elevated);
      border: 1px solid var(--border);
      padding: 16px;
      font-size: 12.5px;
      color: var(--ink-secondary);
      line-height: 1.9;
      white-space: pre-line;
      margin-bottom: 20px;
    }

    .success-actions { display: flex; flex-wrap: wrap; gap: 10px; }

    @media (max-width: 900px) {
      .consult-grid, .form-row-2 { grid-template-columns: 1fr; }
      /* Prevent iOS Safari zoom on input focus */
      .field-input, .field-textarea { font-size: 16px; }
      .success-actions .btn-editorial,
      .success-actions .btn-editorial-ghost { width: 100%; }
    }

    /* =========================================================================
       FOOTER & FLOATING BACK-TO-TOP
       ========================================================================= */
    .footer { padding: 56px 0 38px; position: relative; overflow: hidden; }

    .footer-wordmark {
      font-family: 'Cormorant Garamond', Georgia, serif;
      font-size: clamp(38px, 10.5vw, 146px);
      font-weight: 400;
      letter-spacing: 0.08em;
      line-height: 0.95;
      color: var(--ink);
      opacity: 0.055;
      text-align: center;
      user-select: none;
      pointer-events: none;
      direction: ltr;
      margin-bottom: 30px;
    }

    .footer-bar {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding-top: 22px;
      border-top: 1px solid var(--border);
      font-size: 12.2px;
      color: var(--ink-muted);
    }

    .footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
    .footer-links a:hover { color: var(--accent); }

    .floating-top {
      position: fixed;
      bottom: max(20px, env(safe-area-inset-bottom));
      left: 20px;
      z-index: 950;
      width: 44px;
      height: 44px;
      border: 1px solid var(--border-strong);
      background: var(--nav-bg);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      color: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      opacity: 0;
      transform: translateY(18px);
      pointer-events: none;
      transition: opacity 0.4s ease, transform 0.45s var(--ease-out-expo), border-color 0.3s ease, background-color 0.3s ease;
    }

    .floating-top.is-shown {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    .floating-top:hover {
      border-color: var(--accent);
      background: var(--accent);
      color: var(--accent-ink);
    }

    /* =========================================================================
       LIGHTBOX MODAL
       ========================================================================= */
    .lightbox {
      position: fixed;
      inset: 0;
      background: rgba(5, 5, 7, 0.94);
      backdrop-filter: blur(14px);
      z-index: 2500;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 24px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.4s var(--ease-out-expo);
    }

    .lightbox.is-open { opacity: 1; pointer-events: auto; }

    .lightbox-img {
      max-height: 78vh;
      max-width: 92vw;
      object-fit: contain;
      border: 1px solid rgba(255, 255, 255, 0.14);
      transform: scale(0.94);
      transition: transform 0.55s var(--ease-out-expo);
    }

    .lightbox.is-open .lightbox-img { transform: scale(1); }
    .lightbox-cap { margin-top: 16px; font-size: 13px; color: rgba(243, 242, 238, 0.82); text-align: center; }

    .lightbox-close {
      position: absolute;
      top: 20px;
      left: 20px;
      width: 44px;
      height: 44px;
      border: 1px solid rgba(255, 255, 255, 0.22);
      background: transparent;
      color: #F3F2EE;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: border-color 0.3s ease, color 0.3s ease;
    }

    .lightbox-close:hover { border-color: var(--accent); color: var(--accent); }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
      #heroCanvas { display: none; }
    }


/* =========================================================================
   WORDPRESS INTEGRATION, BLOG ARCHIVE & SINGLE ARTICLE EDITORIAL STYLES
   ========================================================================= */
body.admin-bar .nav { top: 32px; }
body.admin-bar .scroll-progress { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .nav { top: 46px; }
  body.admin-bar .scroll-progress { top: 46px; }
}

/* Subpage Editorial Header */
.subpage-hero {
  padding: clamp(128px, 15vh, 172px) 0 clamp(44px, 6vw, 68px);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 22px;
}

.breadcrumb a { transition: color 0.25s ease; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.45; }

/* Blog Card Thumbnail (when Featured Image is set in WordPress) */
.blog-thumb {
  margin: -22px -22px 20px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

@media (min-width: 961px) {
  .blog-thumb { margin: -30px -30px 22px; }
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-out-expo);
}

.blog-card:hover .blog-thumb img { transform: scale(1.05); }

/* Pagination */
.gn-pagination {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}

.gn-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.gn-pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--ink-secondary);
  transition: all 0.25s ease;
}

.gn-pagination .page-numbers:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.gn-pagination .page-numbers.current {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}

/* Single Article Layout */
.article-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

.article-meta-bar .article-cat {
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 2px 11px;
  font-weight: 600;
  font-size: 11.5px;
}

.article-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 24px;
}

.article-featured {
  margin: 0 0 38px;
  border: 1px solid var(--border-strong);
  overflow: hidden;
  background: var(--bg-elevated);
}

.article-featured img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

.article-content {
  font-size: clamp(15.5px, 1.35vw, 17px);
  font-weight: 300;
  line-height: 2.1;
  color: var(--ink-secondary);
}

.article-content > * + * { margin-top: 22px; }

.article-content h2 {
  font-size: clamp(21px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--ink);
  margin-top: 44px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  line-height: 1.45;
}

.article-content h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--ink);
  margin-top: 34px;
  line-height: 1.5;
}

.article-content strong, .article-content b { color: var(--ink); font-weight: 600; }

.article-content a {
  color: var(--accent);
  border-bottom: 1px solid rgba(201, 169, 110, 0.4);
  transition: border-color 0.25s ease;
}

.article-content a:hover { border-bottom-color: var(--accent); }

.article-content ul, .article-content ol {
  padding-right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-content blockquote {
  border-right: 2px solid var(--accent);
  background: var(--bg-card);
  padding: 20px 24px;
  color: var(--ink);
  font-weight: 400;
  margin: 30px 0;
}

.article-content img {
  border: 1px solid var(--border);
  margin: 26px auto;
}

.article-content pre, .article-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  direction: ltr;
  text-align: left;
}

.article-content pre {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 18px;
  overflow-x: auto;
  font-size: 13.5px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.article-tags a {
  font-size: 12px;
  color: var(--ink-secondary);
  border: 1px solid var(--border);
  padding: 5px 12px;
  transition: all 0.25s ease;
}

.article-tags a:hover { border-color: var(--accent); color: var(--accent); }

.author-box {
  margin-top: 48px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  align-items: center;
}

.author-box img {
  width: 88px;
  height: 110px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--accent);
}

.author-box h4 { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.author-box p { font-size: 13.5px; color: var(--ink-secondary); line-height: 1.85; margin-bottom: 14px; }

.author-box-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 600px) {
  .author-box { grid-template-columns: 1fr; text-align: right; }
  .author-box img { width: 76px; height: 95px; }
}

.empty-blog-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: clamp(28px, 5vw, 52px);
  text-align: center;
}

.empty-blog-box h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.empty-blog-box p { font-size: 14px; color: var(--ink-secondary); max-width: 520px; margin: 0 auto 24px; }

.wp-save-note {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 14px;
}

