/* ============================================================
   PT ORA 品牌层（基于 ptora.id 的 :root 变量）
   注：本目录保留原站全部 JS，hero 滚动序列 / 圆形揭示等动画由
   _astro/hero-scroll-sequence.*.js 驱动，此处只改颜色与字体。
   ============================================================ */

:root {
  --forest-950: #0f0d09;
  --forest-900: #1a1611;
  --forest-700: #9c7620;
  --forest-600: #b98f2c;
  --sun-400: #f0d040;
  --sun-300: #f6e07a;
  --mint-200: #e8e0cc;
  --mint-100: #f7f3e8;
  --paper: #faf8f2;
  --paper-soft-color: #f7f3e8;
  --paper-soft: #ffffffd6;
  --ink: #1a1611;
  --ink-soft: #6b6154;
  --border-soft: #1a16111f;
  --font-sans: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
  --font-serif: Georgia, "Times New Roman", "Noto Serif SC", serif;
}

/* Tailwind 任意值类：保留原类名，只换取值 */
[class~="text-[#6b7280]"] { color: #6b6154 !important; }
[class~="text-[#08080c]"] { color: #1a1611 !important; }
[class~="text-[#0d2b14]"] { color: #1a1611 !important; }
[class~="text-[#0e2316]"] { color: #1a1611 !important; }
[class~="text-[#ffe602]"] { color: #f0d040 !important; }
[class~="text-[#939393]"] { color: #8a7f6d !important; }
[class~="bg-[#d7ddd7]"] { background-color: #e8e0cc !important; }
[class~="bg-[#0d2b14]"] { background-color: #241d14 !important; }
[class~="bg-[#FCF9E0]"] { background-color: #f7f3e8 !important; }
[class~="bg-[#0A5A2F]"] { background-color: #9c7620 !important; }
[class~="bg-[#042918]"] { background-color: #0f0d09 !important; }
[class~="bg-[#0a3d24]"] { background-color: #241d14 !important; }
[class~="from-[#fffeba]"] { background-image: linear-gradient(to bottom, #f6e07a, #f0d040) !important; }

/* ============================================================
   备选方案 A｜米金（浅色编辑风，底更亮、金收一点）
   :root {
     --forest-950:#12100c; --forest-900:#1f1a13;
     --forest-700:#a67c1f; --forest-600:#c2952b;
     --sun-400:#e8c34a;    --sun-300:#f2d97e;
     --paper:#fdfbf6;      --mint-100:#f8f4ea; --mint-200:#ece5d4;
     --ink:#1f1a13;        --ink-soft:#736852;
   }

   备选方案 B｜纯黑白金（去掉棕调，最冷峻）
   :root {
     --forest-950:#0a0a0a; --forest-900:#161616;
     --forest-700:#b8912f; --forest-600:#cfa63c;
     --sun-400:#f2d34a;    --sun-300:#f7e58c;
     --paper:#fbfaf7;      --mint-100:#f5f3ee; --mint-200:#e6e2d8;
     --ink:#141414;        --ink-soft:#6e6a62;
   }
   ============================================================ */


/* ============================================================
   残留 logo 处理
   ------------------------------------------------------------
   1) 装饰水印位（TahukahKamu 区块）原本用 invert + brightness-0
      把单色麦穗 logo 压成黑色剪影；PT ORA logo 是 3D 金色，
      剪影会糊成一团，这里去掉滤镜、改成低透明度原色。
   2) 兜底：任何仍指向旧文件名的图片，一律换成新 logo。
   ============================================================ */
div[class*="invert"][class*="brightness-0"],
span[class*="invert"][class*="brightness-0"] {
  filter: none !important;
  -webkit-filter: none !important;
  opacity: .26 !important;
}
img[src*="garda-logo"] {
  content: url("figma/pt-ora-logo.png");
}


/* ============================================================
   子页面 & 首页的硬编码色值覆盖（自动生成）
   ============================================================ */
[class~="bg-[#0d2b14]"] { background-color: #241d14 !important; }
[class~="text-[#0d2b14]"] { color: #241d14 !important; }
[class~="bg-[#FCF9E0]"] { background-color: #f7f3e8 !important; }
[class~="text-[#6b7280]"] { color: #6b6154 !important; }
[class~="bg-[#0A5A2F]"] { background-color: #9c7620 !important; }
[class~="text-[#ffe602]"] { color: #f0d040 !important; }
[class~="text-[#08080c]"] { color: #1a1611 !important; }
[class~="bg-[#d7ddd7]"] { background-color: #e8e0cc !important; }
[class~="bg-[#042918]"] { background-color: #0f0d09 !important; }
[class~="text-[#939393]"] { color: #8a7f6d !important; }
[class~="bg-[#0a3d24]"] { background-color: #241d14 !important; }
[class~="from-[#fffeba]"] { --tw-gradient-from: #f6e07a !important; }
[class~="to-[#ffe602]"] { --tw-gradient-to: #f0d040 !important; }
[class~="text-[#0e2316]"] { color: #1a1611 !important; }
[class~="bg-[#f8fdf9]"] { background-color: #faf8f2 !important; }
[class~="!bg-[#f4fbf6]"] { background-color: #faf8f2 !important; }
[class~="bg-[#EAF5EF]"] { background-color: #f5efdc !important; }
[class~="bg-[#0D2A16]"] { background-color: #1a1611 !important; }
[class~="text-[#111827]"] { color: #1a1611 !important; }
[class~="text-[#4B5563]"] { color: #6b6154 !important; }
[class~="text-[#FFC107]"] { color: #f0d040 !important; }
[class~="bg-[#0C381E]/75"] { background-color: #241d14 !important; }
[class~="from-[#0C381E]/60"] { --tw-gradient-from: #241d14 !important; }
[class~="bg-[#FFC107]"] { background-color: #f0d040 !important; }
[class~="bg-[#0C381E]/80"] { background-color: #241d14 !important; }

/* ============================================================
   页面底色兜底
   ------------------------------------------------------------
   两个压不住的地方：
   1) 子页面 <main class="garda-main !bg-[#f4fbf6]"> 用的是带 ! 的
      工具类，属性选择器特异性相同、抢不过，这里用 main.garda-main
      （元素+类，特异性更高）直接改。
   2) body 上挂了一层浅绿 radial-gradient（rgba(223,255,240,.88)），
      不走任何变量，只能整体关掉再给纯色底。
   ============================================================ */
main.garda-main {
  background-color: #faf8f2 !important;
}
body {
  background-image: none !important;
  background-color: #faf8f2 !important;
}
/* 子页面 hero 大标题块：深棕黑底，配金色标题 */
section[role="banner"] {
  background-color: #1a1611 !important;
}
