/* ==========================================================================
   ช่างถึก — อภิสิทธิ์ มากสุวรรณ · Personal portfolio
   Design language: ป้ายจราจรเตือน (เหลือง) + ผิวถนนแอสฟัลต์ + หลักกิโลเมตร
   ไม่มี build step — แก้ไฟล์นี้ได้ตรง ๆ (ออกแบบให้อยู่ได้ข้ามรุ่น)
   ========================================================================== */

:root {
  --sign: #ffc72c;
  --sign-deep: #f2a900;
  --asphalt: #15171a;
  --asphalt-2: #1f2226;
  --asphalt-3: #2b2f34;
  --paper: #f7f4ec;
  --card: #ffffff;
  --ink: #1a1a1a;
  --muted: #5f5b52;
  --line: #e6e0d2;
  --blue: #1d4ed8;
  --green: #0f7a47;
  --red: #c62828;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 20, 20, .06), 0 12px 32px -12px rgba(20, 20, 20, .18);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .35);
  --max: 1180px;
  --head: "Kanit", "Anuphan", system-ui, sans-serif;
  --body: "Anuphan", "Kanit", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #101214;
    --card: #1a1d21;
    --ink: #f1ede4;
    --muted: #a7a196;
    --line: #2c3036;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #101214;
  --card: #1a1d21;
  --ink: #f1ede4;
  --muted: #a7a196;
  --line: #2c3036;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* self-hosted Google Fonts (OFL) — ไม่พึ่ง CDN ภายนอก */
@font-face {
  font-family: 'Anuphan';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/anuphan-400-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Anuphan';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/anuphan-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;
}
@font-face {
  font-family: 'Anuphan';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/anuphan-600-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Anuphan';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/anuphan-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;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/kanit-400-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/kanit-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;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/kanit-600-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/kanit-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;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/kanit-800-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/kanit-800-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;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.2; margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--sign); color: #000; padding: 10px 16px; border-radius: 10px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sign-deep); outline-offset: 3px; border-radius: 6px; }

/* ---------- Scroll progress (เส้นจราจร) ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: transparent; }
.progress span { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--sign) 0 18px, transparent 18px 28px); }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-head.scrolled { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 20px; letter-spacing: .2px; }
.brand-sign { width: 30px; height: 30px; flex: none; }
.brand small { display: block; font-family: var(--body); font-weight: 500; font-size: 11.5px; color: var(--muted); letter-spacing: .3px; line-height: 1; margin-top: 2px; }
.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a { text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 999px; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover, .nav a.active { color: var(--ink); background: color-mix(in srgb, var(--sign) 30%, transparent); }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.icon-btn svg { width: 20px; height: 20px; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; padding: 12px 20px 20px; background: var(--paper); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); gap: 2px; }
  .nav.open { transform: none; }
  .nav a { font-size: 17px; padding: 12px 14px; }
  .menu-btn { display: grid; margin-left: auto; }
  .theme-btn { margin-left: 0; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 500; font-size: 16px; text-decoration: none; padding: 13px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn svg { width: 18px; height: 18px; }
.btn-sign { background: var(--sign); color: #111; box-shadow: 0 10px 24px -10px rgba(242, 169, 0, .8); }
.btn-sign:hover { transform: translateY(-2px); background: #ffd24f; }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost:hover { border-color: var(--sign); color: var(--sign); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-line:hover { border-color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--asphalt); color: #f4f1ea; overflow: hidden; isolation: isolate; }
.hero::before { /* texture ผิวแอสฟัลต์ */
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.2px), radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1.2px);
  background-size: 7px 7px, 11px 11px; background-position: 0 0, 3px 5px;
}
.hero::after { content: ""; position: absolute; inset: auto -10% -40% -10%; height: 70%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 199, 44, .22), transparent); }
.road-line { position: absolute; left: 0; right: 0; bottom: 36px; height: 6px; z-index: -1; background: repeating-linear-gradient(90deg, var(--sign) 0 64px, transparent 64px 112px); opacity: .9; animation: drive 2.2s linear infinite; }
.road-edge { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .85); }
@keyframes drive { to { background-position: -112px 0; } }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-block: 72px 120px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .4px; color: var(--sign); background: rgba(255, 199, 44, .1); border: 1px solid rgba(255, 199, 44, .3); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.hero h1 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 400; color: #cfc9bd; margin-bottom: 6px; }
.hero .big { display: block; font-size: clamp(64px, 11vw, 138px); font-weight: 800; line-height: .95; letter-spacing: -1px; color: #fff; margin: 4px 0 18px; }
.hero .big em { font-style: normal; color: var(--sign); }
.hero .lead { font-size: clamp(18px, 1.8vw, 21px); color: #d9d3c7; max-width: 36em; margin-bottom: 30px; }
.hero .lead b { color: #fff; font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.typing { color: var(--sign); font-weight: 600; white-space: nowrap; }
.typing::after { content: "▍"; margin-left: 2px; animation: blink 1s steps(1) infinite; color: var(--sign); }
@keyframes blink { 50% { opacity: 0; } }

.hero-visual { position: relative; justify-self: center; width: min(420px, 100%); aspect-ratio: 1; max-width: 100%; }
.diamond { position: absolute; inset: 7%; transform: rotate(45deg); border-radius: 28px; background: var(--sign); box-shadow: var(--shadow-lg), inset 0 0 0 10px #111, inset 0 0 0 16px var(--sign); }
.photo-card { position: absolute; inset: 14% 10% 6% 18%; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid #fff; transform: rotate(-4deg); transition: transform .5s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual:hover .photo-card { transform: rotate(0) scale(1.02); }
.badge-float { position: absolute; background: #fff; color: #111; border-radius: 14px; padding: 10px 14px; font-size: 13.5px; line-height: 1.35; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; animation: bob 5s ease-in-out infinite; }
.badge-float b { font-family: var(--head); font-size: 19px; display: block; }
.badge-float .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; }
.badge-1 { left: -4%; bottom: 16%; }
.badge-2 { right: -2%; top: 8%; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 40px 110px; gap: 36px; }
  .hero-visual { width: min(340px, 86vw); order: -1; }
  .badge-1 { left: -2%; }
}

/* ---------- Stats ---------- */
.stats { position: relative; margin-top: -54px; z-index: 5; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 24px 22px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .n { font-family: var(--head); font-weight: 700; font-size: clamp(32px, 4vw, 44px); line-height: 1; letter-spacing: -.5px; }
.stat .n small { font-size: .5em; font-weight: 500; color: var(--muted); margin-left: 4px; }
.stat .l { color: var(--muted); font-size: 14.5px; margin-top: 8px; line-height: 1.45; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
section { position: relative; }
.sec { padding-block: 110px; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--sign-deep); font-weight: 600; margin-bottom: 14px; }
.kicker::before { content: ""; width: 28px; height: 4px; background: repeating-linear-gradient(90deg, var(--sign-deep) 0 8px, transparent 8px 12px); }
.sec-head h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -.5px; margin-bottom: 16px; }
.sec-head p { color: var(--muted); font-size: 18.5px; }
.dark { background: var(--asphalt); color: #eee9df; }
.dark .sec-head p { color: #b9b3a7; }
.dark .kicker { color: var(--sign); }
.dark .kicker::before { background: repeating-linear-gradient(90deg, var(--sign) 0 8px, transparent 8px 12px); }

/* ---------- Greeting letter ---------- */
.letter-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.portrait { position: sticky; top: 96px; }
.portrait figure { margin: 0; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.portrait figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(8px); color: #fff; border-radius: 14px; padding: 10px 14px; font-size: 14px; line-height: 1.45; }
.portrait figcaption b { font-family: var(--head); font-size: 17px; font-weight: 600; display: block; }
.letter { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: clamp(26px, 4vw, 52px); box-shadow: var(--shadow); position: relative; }
.letter::before { content: "“"; position: absolute; top: -34px; left: 26px; font-family: Georgia, serif; font-size: 140px; line-height: 1; color: var(--sign); }
.letter p { font-size: 18.5px; line-height: 1.95; }
.letter .hl { background: linear-gradient(transparent 58%, color-mix(in srgb, var(--sign) 55%, transparent) 58%); padding: 0 2px; }
.sign-off { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); }
.sign-off .sig { font-family: var(--head); font-size: 26px; font-weight: 600; }
.sign-off small { color: var(--muted); display: block; font-size: 14px; }
@media (max-width: 900px) {
  .letter-grid { grid-template-columns: 1fr; gap: 40px; }
  .portrait { position: static; max-width: 420px; }
}

/* ---------- Identity cards ---------- */
.id-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: 56px; }
.id-card { grid-column: span 4; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.id-card .t { font-size: 13.5px; color: var(--muted); letter-spacing: .3px; }
.id-card .v { font-family: var(--head); font-size: 22px; font-weight: 600; margin-top: 4px; line-height: 1.35; }
.id-card.motto { grid-column: span 8; background: var(--sign); color: #111; border-color: transparent; }
.id-card.motto .t { color: #4a3a00; }
.id-card.motto .v { font-size: clamp(24px, 3vw, 34px); }
.id-card.story { grid-column: span 6; background: var(--asphalt); color: #f1ede4; border-color: transparent; }
.id-card.story .t { color: var(--sign); }
.id-card.story p { color: #cfc9bd; margin: 10px 0 0; font-size: 16px; }
.id-card.philo { grid-column: span 6; }
.id-card.philo p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .id-card, .id-card.motto, .id-card.story, .id-card.philo { grid-column: span 12; } }
@media (min-width: 560px) and (max-width: 900px) { .id-card:not(.motto):not(.story):not(.philo) { grid-column: span 6; } }

/* ---------- Timeline (ถนน + หลักกิโล) ---------- */
.road { position: relative; margin-top: 20px; }
.road::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 64px; transform: translateX(-50%); background: var(--asphalt-2); border-left: 3px solid rgba(255, 255, 255, .85); border-right: 3px solid rgba(255, 255, 255, .85); border-radius: 4px; }
.road::after { content: ""; position: absolute; top: 0; left: 50%; width: 5px; transform: translateX(-50%); height: var(--drawn, 0%); background: repeating-linear-gradient(180deg, var(--sign) 0 26px, transparent 26px 46px); transition: height .15s linear; }
.stop { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; gap: 34px; margin-bottom: 38px; align-items: center; }
@media (min-width: 761px) { .stop + .stop { margin-top: -64px; } }
.stop .card { background: var(--asphalt-3); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; padding: 22px 24px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .8); }
.stop:nth-child(odd) .card { grid-column: 1; text-align: right; }
.stop:nth-child(even) .card { grid-column: 3; }
.stop .km { grid-column: 2; grid-row: 1; justify-self: center; position: relative; z-index: 2; width: 58px; background: #fff; color: #111; border-radius: 26px 26px 6px 6px; text-align: center; padding: 8px 0 6px; font-family: var(--head); box-shadow: 0 8px 20px rgba(0, 0, 0, .5); }
.stop .km::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 22px; border-radius: 26px 26px 0 0; background: var(--c, var(--blue)); }
.stop .km span { position: relative; display: block; font-size: 10px; color: #fff; line-height: 1; margin-bottom: 8px; letter-spacing: .5px; }
.stop .km b { display: block; font-size: 15px; line-height: 1.1; font-weight: 700; }
.stop .yr { color: var(--sign); font-family: var(--head); font-size: 14px; letter-spacing: .5px; }
.stop h3 { font-size: 21px; color: #fff; margin: 4px 0 6px; }
.stop p { color: #bdb7ab; margin: 0; font-size: 15.5px; line-height: 1.65; }
.stop .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.stop:nth-child(odd) .tags { justify-content: flex-end; }
.tag { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 199, 44, .12); color: var(--sign); border: 1px solid rgba(255, 199, 44, .25); }
.stop.milestone .card { background: var(--sign); color: #111; }
.stop.milestone h3 { color: #111; }
.stop.milestone p { color: #3d3000; }
.stop.milestone .yr { color: #6b4e00; }
.stop.milestone .tag { background: rgba(0, 0, 0, .08); color: #111; border-color: rgba(0, 0, 0, .15); }
@media (max-width: 760px) {
  .road::before { left: 20px; width: 34px; }
  .road::after { left: 20px; }
  .stop { grid-template-columns: 34px 1fr; gap: 18px; }
  .stop .km { width: 46px; grid-column: 1; margin-left: -6px; }
  .stop .km b { font-size: 12.5px; }
  .stop:nth-child(odd) .card, .stop:nth-child(even) .card { grid-column: 2; text-align: left; }
  .stop:nth-child(odd) .tags { justify-content: flex-start; }
}

/* ---------- Unfinished degrees (มุมขำ) ---------- */
.edu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.edu { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; position: relative; overflow: hidden; }
.edu .lvl { font-family: var(--head); font-weight: 700; font-size: 26px; }
.edu .yrs { color: var(--muted); font-size: 14px; }
.edu .what { margin-top: 8px; font-size: 16px; line-height: 1.55; }
.edu.done::after { content: "จบ ✓"; position: absolute; top: 18px; right: 18px; font-size: 12.5px; font-weight: 600; background: #e4f5ea; color: var(--green); padding: 3px 10px; border-radius: 999px; }
.edu.nope { border-style: dashed; }
.edu.nope::after { content: "ไม่เรียนให้จบ"; position: absolute; top: 18px; right: 18px; font-size: 12.5px; font-weight: 600; background: color-mix(in srgb, var(--sign) 35%, transparent); color: var(--ink); padding: 3px 10px; border-radius: 999px; }
.edu-note { margin-top: 20px; color: var(--muted); font-size: 15.5px; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font: inherit; font-size: 15px; border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.work { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s; overflow: hidden; }
.work:hover { transform: translateY(-4px); border-color: var(--sign-deep); box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .35); }
.work .top { display: flex; align-items: center; gap: 12px; }
.work .emo { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: color-mix(in srgb, var(--sign) 26%, transparent); flex: none; }
.work h3 { font-size: 19px; line-height: 1.3; }
.work .dom { font-size: 13px; color: var(--muted); font-family: ui-monospace, "SF Mono", Menlo, monospace; word-break: break-all; }
.work p { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin: 0; flex: 1; }
.work .go { font-family: var(--head); font-size: 14.5px; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.work .go svg { width: 16px; height: 16px; transition: transform .2s; }
.work:hover .go svg { transform: translateX(4px); }
.work.featured { grid-column: span 2; background: var(--asphalt); color: #f1ede4; border-color: transparent; }
.work.featured p, .work.featured .dom { color: #b9b3a7; }
.work.featured .go { color: var(--sign); }
.work.featured .emo { background: var(--sign); }
.work[hidden] { display: none !important; }
@media (max-width: 640px) { .work.featured { grid-column: span 1; } }

/* ---------- Training ---------- */
.train-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.topics { display: grid; gap: 12px; }
.topic { display: flex; gap: 14px; align-items: flex-start; background: var(--asphalt-3); border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; padding: 18px 20px; }
.topic .num { font-family: var(--head); font-weight: 700; color: #111; background: var(--sign); width: 34px; height: 34px; flex: none; border-radius: 8px; display: grid; place-items: center; transform: rotate(45deg); }
.topic .num span { transform: rotate(-45deg); font-size: 15px; }
.topic h3 { font-size: 18px; color: #fff; font-weight: 500; }
.topic p { margin: 4px 0 0; color: #b0aa9e; font-size: 14.5px; line-height: 1.55; }
.events { background: #fff; color: #111; border-radius: 22px; padding: 10px; box-shadow: var(--shadow-lg); }
.events-head { padding: 16px 18px 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.events-head h3 { font-size: 22px; }
.events-head small { color: #6b665c; font-size: 13.5px; }
.event { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 14px; border-radius: 14px; align-items: center; transition: background .2s; text-decoration: none; color: inherit; }
.event:hover { background: #f6f2e7; }
.event .date { text-align: center; border-radius: 12px; background: #15171a; color: #fff; padding: 8px 4px; font-family: var(--head); line-height: 1.1; }
.event .date b { display: block; font-size: 21px; color: var(--sign); }
.event .date span { font-size: 12.5px; }
.event h4 { font-size: 16.5px; font-weight: 500; line-height: 1.35; }
.event .meta { font-size: 13.5px; color: #6b665c; margin-top: 2px; }
.event.soon .date { background: var(--red); }
.event.soon .date b { color: #fff; }
.event .pill { display: inline-block; font-size: 11.5px; background: var(--red); color: #fff; border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: 2px; }
.events-foot { padding: 12px 14px 8px; }
.events-foot .btn { width: 100%; justify-content: center; }
.no-events { padding: 20px; color: #6b665c; }
@media (max-width: 900px) { .train-grid { grid-template-columns: 1fr; } }

/* ---------- Social good ---------- */
.good-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.good-feature { position: relative; border-radius: 26px; overflow: hidden; min-height: 420px; background: linear-gradient(160deg, #0f7a47, #0b4d2f); color: #fff; padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; justify-content: flex-end; }
.good-feature .big-n { font-family: var(--head); font-size: clamp(90px, 14vw, 170px); font-weight: 800; line-height: .85; color: var(--sign); position: absolute; top: 26px; right: 30px; opacity: .95; }
.good-feature h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.good-feature p { color: #d5eadd; max-width: 30em; }
.good-list { display: grid; gap: 14px; }
.good { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; }
.good .ic { font-size: 26px; line-height: 1; margin-top: 2px; }
.good h3 { font-size: 18px; }
.good .yr { font-size: 13.5px; color: var(--muted); }
.good p { margin: 4px 0 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .good-grid { grid-template-columns: 1fr; } .good-feature { min-height: 340px; } }

/* ---------- Quotes marquee ---------- */
.quotes { background: var(--sign); color: #111; padding-block: 26px; overflow: hidden; border-block: 6px solid #111; }
.marquee { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; }
.quotes:hover .marquee { animation-play-state: paused; }
.marquee span { font-family: var(--head); font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: "◆"; font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Follow ---------- */
.follow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.follow { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); transition: transform .3s, border-color .3s; }
.follow:hover { transform: translateY(-4px); border-color: #1877f2; }
.follow .ava { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.follow .fb-ic { width: 64px; height: 64px; border-radius: 50%; background: #1877f2; display: grid; place-items: center; color: #fff; }
.follow .fb-ic svg { width: 34px; height: 34px; }
.follow h3 { font-size: 20px; }
.follow .cnt { font-family: var(--head); font-size: 34px; font-weight: 700; line-height: 1; }
.follow .cnt small { font-size: 15px; font-weight: 400; color: var(--muted); }
.follow p { color: var(--muted); margin: 0; font-size: 15px; flex: 1; }
.follow .go { color: #1877f2; font-family: var(--head); font-size: 15px; }
.fb-embed { margin-top: 26px; border-radius: 22px; border: 1px dashed var(--line); padding: 20px; text-align: center; background: var(--card); }
.fb-embed iframe { border: 0; width: 100%; max-width: 500px; height: 620px; margin-inline: auto; display: block; border-radius: 12px; }
@media (max-width: 900px) { .follow-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { background: var(--asphalt); color: #f1ede4; border-radius: 30px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; position: relative; overflow: hidden; }
.contact::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 280px; height: 280px; transform: rotate(45deg); border-radius: 36px; background: var(--sign); opacity: .1; }
.contact h2 { font-size: clamp(34px, 5vw, 54px); font-weight: 700; margin-bottom: 14px; }
.contact p { color: #bdb7ab; }
.channels { display: grid; gap: 10px; position: relative; z-index: 1; }
.channel { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 14px 18px; text-decoration: none; color: #fff; transition: background .2s, border-color .2s; }
.channel:hover { background: rgba(255, 199, 44, .12); border-color: rgba(255, 199, 44, .45); }
.channel .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--sign); color: #111; flex: none; }
.channel .ic svg { width: 22px; height: 22px; }
.channel small { display: block; color: #a9a397; font-size: 13px; line-height: 1.3; }
.channel b { font-weight: 500; font-size: 16.5px; word-break: break-all; }
.note { font-size: 14px; color: #a9a397; margin-top: 8px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }


/* ---------- Footer ---------- */
.site-foot { padding-block: 70px 40px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-foot h3 { font-size: 16px; margin-bottom: 12px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-foot a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; }
.site-foot .copy { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 48px; height: 48px; border-radius: 12px; transform: rotate(45deg) scale(.6); opacity: 0; pointer-events: none; background: var(--sign); color: #111; border: 3px solid #111; display: grid; place-items: center; cursor: pointer; transition: all .3s; }
.to-top svg { transform: rotate(-45deg); width: 20px; height: 20px; }
.to-top.show { opacity: 1; pointer-events: auto; transform: rotate(45deg) scale(1); }

/* ---------- Hero entrance (เล่นทันที ไม่รอ scroll เพื่อ LCP ที่ดี) ---------- */
.rise { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
.hero-visual.rise { animation-name: pop; }
@keyframes pop { from { opacity: .001; transform: scale(.94); } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; }
}

@media print {
  .site-head, .progress, .to-top, .fb-embed, .road-line, .quotes { display: none !important; }
  .hero, .dark, .contact { background: #fff !important; color: #000 !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Invited speaker (หนังสือเชิญ) ---------- */
.speaker-top { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: end; margin-bottom: 40px; }
.speaker-top .sec-head { margin-bottom: 0; }
.big-num { display: inline-block; background: var(--sign); color: #111; padding: 0 .3em; border-radius: 14px; transform: rotate(-1.5deg); }
.invite-cta { background: var(--asphalt); color: #fff; border-radius: 22px; padding: 22px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.invite-cta .t { font-family: var(--head); font-size: 19px; color: var(--sign); }
.channel-lite { display: block; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 10px 14px; transition: border-color .2s; }
.channel-lite:hover { border-color: var(--sign); }
.channel-lite b { display: block; font-family: var(--head); font-weight: 600; font-size: 18px; }
.channel-lite small { color: #b1ab9f; font-size: 13.5px; }
.orgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 64px; }
.org-group { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.org-group h3 { font-size: 17px; display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.org-group h3 span { font-size: 22px; }
.org-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.org-group li { font-size: 14px; line-height: 1.4; padding: 5px 11px; border-radius: 999px; background: color-mix(in srgb, var(--sign) 16%, transparent); border: 1px solid color-mix(in srgb, var(--sign) 38%, transparent); }
.letters-head { display: flex; flex-wrap: wrap; align-items: end; gap: 6px 20px; margin-bottom: 18px; }
.letters-head h3 { font-size: clamp(24px, 3vw, 32px); width: 100%; }
.letters-head p { color: var(--muted); margin: 0; flex: 1; min-width: 220px; }
.strip-nav { display: flex; gap: 8px; }
.letters-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 4px 26px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.letter-card { scroll-snap-align: start; border: 0; padding: 0; background: none; cursor: zoom-in; text-align: left; font: inherit; color: inherit; }
.letter-card img { width: 100%; aspect-ratio: 582 / 800; object-fit: cover; background: #fff; border-radius: 6px; box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 14px 26px -12px rgba(0, 0, 0, .35); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.letter-card:nth-child(odd) img { transform: rotate(-1.2deg); }
.letter-card:nth-child(even) img { transform: rotate(1deg); }
.letter-card:hover img, .letter-card:focus-visible img { transform: translateY(-8px) rotate(0); box-shadow: 0 30px 40px -18px rgba(0, 0, 0, .45); }
.letter-card span { display: block; font-size: 13.5px; line-height: 1.45; margin-top: 12px; color: var(--muted); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10, 11, 12, .9); backdrop-filter: blur(4px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 16px; }
.lightbox img { max-width: min(92vw, 760px); max-height: 82vh; width: auto; height: auto; border-radius: 6px; background: #fff; }
.lightbox figcaption { color: #fff; font-family: var(--head); font-size: 17px; text-align: center; }
.lightbox button { position: fixed; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--sign); color: #111; }
.lb-close { top: 16px; right: 16px; font-size: 20px !important; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 900px) { .speaker-top { grid-template-columns: 1fr; } .letters-strip { grid-auto-columns: 62vw; } }

/* ---------- Then (เว็บยุคแรก 2547) ---------- */
.then { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-bottom: 90px; }
.browser { border-radius: 14px; overflow: hidden; background: #d9d6cf; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8); transform: rotate(-1.5deg); border: 1px solid rgba(255, 255, 255, .12); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: linear-gradient(#ecebe8, #cfccc5); }
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: #e0443e; }
.browser-bar span:nth-child(2) { background: #dea123; }
.browser-bar span:nth-child(3) { background: #1aab29; }
.browser-bar em { font-style: normal; font-size: 12.5px; color: #333; margin-left: 10px; background: #fff; border-radius: 6px; padding: 2px 10px; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser img { width: 100%; image-rendering: auto; }
.then-text h3 { font-size: clamp(22px, 2.6vw, 30px); color: #fff; margin: 4px 0 16px; line-height: 1.35; }
.then-text p { color: #c9c3b7; }
.then-text b { color: var(--sign); font-weight: 600; }
@media (max-width: 900px) { .then { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Camp ---------- */
.camp-list { list-style: none; padding: 0; margin: 4px 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.camp-list li { font-size: 14px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); padding: 4px 12px; border-radius: 999px; }
.camp-link { color: var(--sign); font-family: var(--head); text-decoration: none; }
.camp-link:hover { text-decoration: underline; }
.good-feature b { color: #fff; }

/* ---------- YouTube ---------- */
.yt-top { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: end; margin-bottom: 36px; }
.yt-top .sec-head { margin-bottom: 0; }
.yt-stats { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.yt-stats div { padding: 18px 14px; text-align: center; border-right: 1px solid var(--line); }
.yt-stats div:last-child { border-right: 0; }
.yt-stats b { display: block; font-family: var(--head); font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; color: #e62117; line-height: 1.1; }
.yt-stats small { color: var(--muted); font-size: 13.5px; }
.yt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vid { border: 0; padding: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 8px; }
.vid .thumb { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; box-shadow: var(--shadow); }
.vid .thumb img, .vid iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.vid:hover .thumb img { transform: scale(1.05); }
.vid .play { position: absolute; left: 50%; top: 50%; width: 58px; height: 40px; transform: translate(-50%, -50%); background: #e62117; border-radius: 12px; box-shadow: 0 8px 20px rgba(0, 0, 0, .4); transition: transform .2s; }
.vid .play::after { content: ""; position: absolute; left: 23px; top: 12px; border-left: 16px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.vid:hover .play { transform: translate(-50%, -50%) scale(1.12); }
.vid .vt { font-family: var(--head); font-weight: 600; font-size: 16px; line-height: 1.4; }
.vid .vm { color: var(--muted); font-size: 13.5px; margin-top: -6px; }
.vid-feature { grid-column: span 2; grid-row: span 2; }
.vid-feature .vt { font-size: 22px; }
.vid-feature .play { width: 84px; height: 58px; border-radius: 16px; }
.vid-feature .play::after { left: 33px; top: 17px; border-left-width: 22px; border-top-width: 12px; border-bottom-width: 12px; }
.vid.playing { cursor: default; }
@media (max-width: 1000px) { .yt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .yt-top { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .yt-grid { grid-template-columns: 1fr; } .vid-feature { grid-column: span 1; grid-row: span 1; } }

.more-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 22px; }
.more-social span { color: var(--muted); font-size: 15px; }
.more-social a { text-decoration: none; font-size: 14.5px; padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.more-social a:hover { border-color: var(--ink); }

.edu.cert { grid-column: 1 / -1; background: var(--asphalt); color: #f1ede4; border-color: transparent; padding: 26px 28px; }
.edu.cert .lvl { font-size: clamp(22px, 2.6vw, 30px); color: #fff; padding-right: 150px; }
.edu.cert .yrs { color: var(--sign); }
.edu.cert .what { color: #cfc9bd; max-width: 60em; }
.edu.cert blockquote { margin: 14px 0 0; padding: 10px 16px; border-left: 4px solid var(--sign); font-family: var(--head); font-size: clamp(17px, 2vw, 21px); color: #fff; background: rgba(255, 199, 44, .08); border-radius: 0 10px 10px 0; }
.edu.cert::after { content: "อบรมครบ · เลือกไม่สอบ"; position: absolute; top: 20px; right: 20px; font-size: 12.5px; font-weight: 600; background: var(--sign); color: #111; padding: 3px 10px; border-radius: 999px; }
@media (max-width: 560px) { .edu.cert .lvl { padding-right: 0; padding-top: 26px; } }

/* ---------- Engineering Justice ---------- */
.ej { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: center; background: var(--asphalt); color: #f1ede4; border-radius: 26px; padding: clamp(26px, 4vw, 44px); margin-bottom: 40px; position: relative; overflow: hidden; }
.ej::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; transform: rotate(45deg); border-radius: 30px; background: var(--sign); opacity: .09; }
.ej h3 { font-size: clamp(26px, 3.4vw, 40px); color: #fff; line-height: 1.2; margin-bottom: 14px; }
.ej h3 span { color: var(--sign); font-size: .55em; letter-spacing: 1px; }
.ej p { color: #c4beb2; }
.ej-note b { color: #fff; font-weight: 600; }
.ej-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.ej-list li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-left: 4px solid var(--sign); border-radius: 14px; padding: 14px 18px; }
.ej-list b { display: block; font-family: var(--head); font-weight: 600; font-size: 17px; color: #fff; }
.ej-list span { color: #b4aea2; font-size: 14.5px; line-height: 1.5; }
@media (max-width: 900px) { .ej { grid-template-columns: 1fr; } }

.then-src { color: #8d8779; font-size: 13.5px; margin: 6px 0 0; }
