/* สร้างโดย build.py — แก้ที่ src/base.css หรือ EXTRA_CSS ใน build.py */

    :root { --ink:#0a0a0a; --ink2:#262626; --muted:#666; --line:#ececec; --soft:#f6f7f9;
      --blue:#1a8fe8; --pale:#1a8fe8; --green:#35b34a; --orange:#f39a1e; --red:#ef5350; --violet:#6b5ce7;
      --f:"IBM Plex Sans Thai", system-ui, sans-serif; --hand:"Mali", cursive; }
    * { box-sizing:border-box; }
    html { scroll-behavior:smooth; }
    body { margin:0; background:#fff; color:var(--ink); font-family:var(--f); font-size:17px; line-height:1.7; -webkit-font-smoothing:antialiased; padding-bottom:70px; overflow-x:hidden; }
    a { color:inherit; text-decoration:none; }
    .wrap { max-width:1100px; margin:0 auto; padding:0 24px; }
    h1,h2,h3 { font-weight:700; line-height:1.2; margin:0; letter-spacing:-.01em; }
    .hand { font-family:var(--hand); font-style:italic; font-weight:600; color:var(--blue); display:inline-block; transform:rotate(-4deg); padding:0 .08em; }
    .pale { color:var(--pale); }

    /* header */
    header { position:sticky; top:0; z-index:20; background:rgba(255,255,255,.9); backdrop-filter:blur(10px); }
    header .wrap { display:flex; align-items:center; justify-content:space-between; height:68px; }
    .logo { display:flex; align-items:center; gap:10px; font-weight:700; font-size:1.25rem; }
    .logo img { width:36px; height:36px; }
    nav { display:flex; gap:30px; font-size:.95rem; font-weight:500; }
    nav a:hover { color:var(--blue); }
    .btn { display:inline-flex; align-items:center; gap:8px; background:var(--ink); color:#fff; font-weight:600; padding:12px 24px; border-radius:999px; border:1.5px solid var(--ink); transition:transform .15s ease; }
    .btn:hover { transform:translateY(-2px); }
    .btn.line { background:#fff; color:var(--ink); border-color:#d9d9d9; }
    .btn.sm { padding:8px 18px; font-size:.9rem; border-radius:8px; }
    .btn.green { background:var(--green); border-color:var(--green); }

    /* hero */
    .hero { position:relative; min-height:740px; display:flex; align-items:center; justify-content:center; text-align:center; padding:64px 24px 72px; }
    .hero-copy { position:relative; z-index:2; max-width:640px; }
    .hero h1 { font-size:clamp(2.4rem,5.6vw,4.3rem); }
    .hero p { color:var(--muted); font-size:1.15rem; max-width:520px; margin:22px auto 30px; }
    .actions { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
    .doodle { position:absolute; pointer-events:none; }
    .stack { position:absolute; top:0; bottom:0; width:330px; z-index:1; }
    .stack.l { left:max(8px, calc(50% - 640px)); } .stack.r { right:max(8px, calc(50% - 640px)); }
    .tile { position:absolute; width:170px; background:#fff; border-radius:14px; padding:8px 8px 12px; box-shadow:0 14px 34px -14px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.05); text-align:left; transition:transform .25s ease; }
    .tile:hover { transform:rotate(0) scale(1.04) !important; z-index:5; }
    .tile .pic { border-radius:9px; aspect-ratio:1; display:flex; align-items:center; justify-content:center; color:#fff; }
    .tile .pic svg { width:54%; }
    .tile b { display:block; font-size:.9rem; margin-top:9px; line-height:1.3; }
    .tile small { color:var(--muted); font-size:.74rem; }

    /* stats */
    .stats { display:grid; grid-template-columns:repeat(3,1fr); max-width:860px; margin:0 auto; text-align:center; }
    .stats div { padding:8px 20px; }
    .stats div + div { border-left:1px solid var(--line); }
    .stats svg { width:38px; height:38px; }
    .stats small { display:block; color:var(--muted); font-size:.9rem; }
    .stats b { font-size:2.3rem; font-weight:700; line-height:1.25; }

    section { padding:104px 0; }
    .head { text-align:center; margin-bottom:52px; }
    .head h2 { font-size:clamp(1.9rem,4vw,3rem); }
    .head p { color:var(--muted); margin:14px auto 0; max-width:560px; }

    /* why cards */
    .three { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
    .why { background:#fff; border-radius:18px; padding:32px 26px; text-align:center; box-shadow:0 10px 40px -18px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.04); }
    .why svg { width:46px; height:46px; margin-bottom:10px; }
    .why h3 { font-size:1.2rem; margin-bottom:8px; }
    .why p { margin:0; color:var(--muted); font-size:.96rem; }

    /* brand rows */
    .brand { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; padding:44px 0; }
    .brand:nth-child(even) .art { order:2; }
    .art { position:relative; aspect-ratio:5/4; border-radius:24px; background:var(--soft); display:flex; align-items:center; justify-content:center; }
    .art .mark { width:46%; color:var(--c); }
    .art .mark text { font-family:var(--f); font-weight:700; fill:currentColor; }
    .brand .no { font-family:var(--hand); font-style:italic; color:var(--c); font-size:1.2rem; }
    .brand h3 { font-size:clamp(1.6rem,3vw,2.2rem); margin:4px 0 6px; }
    .brand .sub { color:var(--muted); margin:0 0 16px; }
    .checks { list-style:none; margin:0 0 22px; padding:0; }
    .checks li { position:relative; padding:5px 0 5px 34px; font-size:1.05rem; }
    .checks li::before { content:""; position:absolute; left:0; top:9px; width:22px; height:22px; border-radius:50%; background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
    .more { font-weight:600; border-bottom:2px solid var(--c); padding-bottom:2px; }

    /* founder */
    .founder { background:var(--soft); border-radius:32px; padding:56px; display:grid; grid-template-columns:260px 1fr; gap:56px; align-items:center; position:relative; }
    .portrait { aspect-ratio:1; border-radius:50%; background:linear-gradient(140deg,#1a8fe8,#3fd0e4); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:600; }
    .founder h2 { font-size:clamp(1.7rem,3.4vw,2.5rem); margin-bottom:12px; }
    .founder p { color:var(--muted); max-width:540px; }

    .cta { text-align:center; position:relative; }
    .cta h2 { font-size:clamp(2rem,4.6vw,3.4rem); margin-bottom:26px; }

    footer { border-top:1px solid var(--line); padding:44px 0; color:var(--muted); font-size:.92rem; }
    footer .wrap { display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; }
    footer strong { color:var(--ink); }
    footer a:hover { color:var(--ink); }

    .switch { position:fixed; left:50%; bottom:16px; transform:translateX(-50%); background:#111; border-radius:999px; padding:6px; display:flex; gap:4px; font-family:system-ui,sans-serif; font-size:14px; z-index:99; box-shadow:0 10px 30px rgba(0,0,0,.3); white-space:nowrap; }
    .switch a { padding:8px 14px; border-radius:999px; color:#fff; }
    .switch a.on { background:#fff; color:#111; }

    @media (max-width:1180px) { .stack { transform:scale(.8); } .stack.l { transform-origin:left center; } .stack.r { transform-origin:right center; } }
    @media (max-width:900px) {
      nav { display:none; }
      .hero { min-height:0; padding:40px 24px 0; flex-direction:column; }
      .hero-copy { order:1; }
      .stack { position:static; order:2; width:100%; height:auto; transform:none; display:flex; gap:10px; justify-content:center; margin-top:40px; }
      .stack.r { margin-top:14px; }
      .stack .tile { position:static; width:31%; max-width:150px; }
      .stack .tile b { font-size:.78rem; } .stack .tile small { display:none; }
      .hero + .wrap { margin-top:56px; }
      .stats, .three { grid-template-columns:1fr; gap:22px; } .stats div + div { border-left:0; }
      .brand { grid-template-columns:1fr; gap:24px; padding:28px 0; } .brand:nth-child(even) .art { order:0; }
      .founder { grid-template-columns:1fr; padding:36px 26px; gap:26px; } .portrait { max-width:170px; }
      section { padding:72px 0; } .doodle.hide-m { display:none; }
    }
  
/* ---------- ส่วนเสริมสำหรับหน้าใน ---------- */
body { padding-bottom:0; }
nav a[aria-current="page"] { color:var(--blue); }
.head-right { display:flex; align-items:center; gap:8px; flex:none; }
.btn { white-space:nowrap; }
.logo { min-width:0; }
.nav .m-only { display:none; }
@media (max-width:900px) { .nav.open .m-only { display:block; } }
@media (max-width:480px) {
  header .wrap { height:60px; padding:0 16px; gap:10px; }
  .logo { gap:8px; } .logo .lg { width:34px; height:34px; }
  .wm { font-size:1.08rem; }
  .btn.sm { padding:7px 13px; font-size:.82rem; }
  .menu-toggle { padding:6px 4px; }
  nav.nav.open { top:60px; }
}
@media (max-width:370px) { .head-right .btn.sm { display:none; } }
.menu-toggle { display:none; background:none; border:0; padding:8px; cursor:pointer; }
.menu-toggle span { display:block; width:22px; height:2px; background:var(--ink); margin:5px 0; border-radius:2px; }
.page-hero { text-align:center; padding:84px 24px 40px; position:relative; }
.page-hero h1 { font-size:clamp(2.2rem,5vw,3.8rem); }
.page-hero p { color:var(--muted); font-size:1.15rem; max-width:620px; margin:20px auto 0; }
.two { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.two.top { align-items:start; }
.two h2 { font-size:clamp(1.7rem,3.4vw,2.5rem); margin-bottom:16px; }
.two p { color:var(--ink2); }
.facts { width:100%; border-collapse:collapse; border-radius:18px; overflow:hidden; box-shadow:0 10px 40px -18px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.05); }
.facts th, .facts td { text-align:left; padding:16px 24px; border-bottom:1px solid var(--line); vertical-align:top; }
.facts th { width:34%; color:var(--muted); font-weight:500; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom:0; }
.facts a, .prose a, .ci a { color:var(--blue); }
.timeline { list-style:none; margin:0; padding:0; border-left:2px solid var(--line); }
.timeline li { position:relative; padding:0 0 28px 28px; }
.timeline li::before { content:""; position:absolute; left:-8px; top:7px; width:14px; height:14px; border-radius:50%; background:var(--blue); border:3px solid #fff; box-shadow:0 0 0 1px var(--line); }
.timeline b { display:block; font-weight:700; }
.timeline span { color:var(--muted); font-size:.97rem; }
.box { background:#fff; border-radius:18px; padding:28px; box-shadow:0 10px 40px -18px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.04); }
.box + .box { margin-top:20px; }
.box h3 { font-size:1.2rem; margin-bottom:8px; }
.box p { color:var(--muted); margin:0; }
.label { font-family:var(--f); font-weight:600; color:var(--blue); font-size:.85rem; letter-spacing:.02em; display:block; margin-bottom:6px; }
.topics { display:flex; flex-wrap:wrap; gap:10px; }
.topics span { border:1.5px solid #d9d9d9; border-radius:999px; padding:7px 16px; font-size:.95rem; font-weight:500; }
.ci-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.ci { background:#fff; border-radius:18px; padding:26px 28px; box-shadow:0 10px 40px -18px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.04); }
.ci small { display:block; color:var(--muted); font-size:.9rem; }
.ci a, .ci strong { font-weight:700; font-size:1.25rem; color:var(--ink); }
a.why { display:block; transition:transform .2s ease; }
a.why:hover { transform:translateY(-3px); }
.map { border:0; width:100%; height:360px; border-radius:24px; }
.prose { max-width:780px; margin:0 auto; }
.prose h2 { font-size:1.35rem; margin:2em 0 .5em; }
.prose ul { padding-left:1.2em; }
.hero.person { min-height:0; padding:72px 24px 56px; }
.hero.person .wrap { width:100%; display:grid; grid-template-columns:1.2fr .8fr; gap:56px; align-items:center; text-align:left; }
.hero.person h1 { font-size:clamp(1.7rem, 4.4vw, 3.3rem); white-space:nowrap; }
.hero.person p { margin-left:0; max-width:560px; }
.hero.person .actions { justify-content:flex-start; }
.hero.person .portrait { max-width:340px; width:100%; justify-self:center; font-size:1.2rem; }
.founder .actions, .cta .actions { justify-content:flex-start; margin-top:8px; }
.cta .actions { justify-content:center; }
.brand { scroll-margin-top:80px; }
.brand .checks li::before { background-color:var(--c, var(--green)); }   /* เครื่องหมายถูกใช้สีเดียวกับโลโก้ของธุรกิจนั้น */
.brand .links { display:flex; flex-wrap:wrap; gap:10px; }
.mini-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
@media (max-width:1080px) { .mini-grid { grid-template-columns:repeat(3,1fr); } }
.mini { display:flex; flex-direction:column; background:#fff; border-radius:18px; padding:24px 22px; box-shadow:0 10px 40px -18px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.04); transition:transform .2s ease; }
.mini:hover { transform:translateY(-4px); }
.mini .mark { width:66px; color:var(--c); margin-bottom:16px; }
.mini .mark text { font-family:var(--f); font-weight:700; fill:currentColor; }
.mini h3 { font-size:1.15rem; margin-bottom:6px; }
.mini p { color:var(--muted); font-size:.95rem; margin:0 0 14px; }
.mini .more { margin-top:auto; align-self:flex-start; font-size:.92rem; }
.award-strip { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:8px 30px; background:var(--soft); border-radius:18px; padding:20px 28px; margin-top:36px; font-weight:600; }
.award-strip small { color:var(--muted); font-weight:500; font-size:.9rem; }
.award-strip b { font-family:var(--hand); font-style:italic; margin-right:4px; }
@media (max-width:680px) { .mini-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:420px) { .mini-grid { grid-template-columns:1fr; } .award-strip { justify-content:flex-start; } }
.lg { display:block; background:var(--c, var(--ink)); -webkit-mask:var(--src) center / contain no-repeat; mask:var(--src) center / contain no-repeat; }
.logo .lg { width:42px; height:42px; flex:none; }
.wm { font-family:"Space Mono", ui-monospace, Menlo, monospace; font-weight:400; font-size:1.3rem; letter-spacing:-.02em; line-height:1; color:var(--ink); white-space:nowrap; }
.wm b { font-weight:700; }
.wm i { font-style:normal; color:var(--blue); }
.art .lg { width:48%; height:64%; }
.mini .lg { width:88px; height:88px; margin-bottom:14px; }
.tile .pic { background:var(--soft); }
.tile .pic .lg { width:70%; height:70%; }
.pop { position:relative; width:100%; max-width:360px; aspect-ratio:1 / 1.2; justify-self:center; }
.pop, .tile .pic.photo { --tom-grad:linear-gradient(140deg,#1a8fe8,#3fd0e4); }  /* ฟ้าของแบรนด์ (ตัวเลือกโทนน้ำตาล: linear-gradient(150deg,#ecd2ae 0%,#d0a070 55%,#a9683f 100%)) */
.pop-bg { position:absolute; left:3.5%; right:3.5%; bottom:0; aspect-ratio:1; border-radius:50%; background:var(--tom-grad); }
.pop-clip { position:absolute; inset:0 3.5% 0 3.5%; overflow:hidden; border-radius:0 0 50% 50% / 0 0 38.75% 38.75%; }
.pop-clip img { position:absolute; left:50%; bottom:0; height:97%; width:auto; max-width:none; transform:translateX(-50%);
  filter:drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(0 10px 18px rgba(10,40,80,.22)); }  /* ขอบขาวแบบสติกเกอร์ */
.founder .pop { max-width:260px; }
.tile .pic.photo { background:var(--tom-grad); overflow:hidden; align-items:flex-end; }
.tile .pic.photo img { width:100%; height:90%; object-fit:cover; object-position:50% 0; }  /* เว้นที่เหนือหัว 10% ไม่ให้ผมขาด */
@media (max-width:900px) { .hero.person .pop { max-width:240px; order:-1; justify-self:start; } .founder .pop { max-width:190px; } }
.award-label { text-align:center; color:var(--muted); font-size:.9rem; letter-spacing:.08em; margin:44px 0 14px; }
.award-row { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.award-chip { display:flex; align-items:center; gap:12px; background:var(--soft); border-radius:16px; padding:10px 14px 10px 10px; min-width:0; transition:transform .2s ease, background .2s ease; }
.award-chip:hover { transform:translateY(-3px); background:#eef1f5; }
.award-chip img { width:58px; height:58px; border-radius:12px; object-fit:cover; flex:none; }
.award-chip span { min-width:0; }
.award-chip b { display:block; font-family:var(--hand); font-style:italic; font-size:1.08rem; line-height:1.15; }
.award-chip em { display:block; font-style:normal; font-weight:600; font-size:.86rem; line-height:1.3; color:var(--ink); }
@media (max-width:900px) { .award-row { grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px) { .award-row { grid-template-columns:1fr; } }
.award-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.award { background:#fff; border-radius:18px; overflow:hidden; display:flex; flex-direction:column; box-shadow:0 10px 40px -18px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.04); }
.award img { width:100%; aspect-ratio:4 / 3; object-fit:cover; display:block; }
.award > div { padding:16px 18px 20px; }
.award b { font-family:var(--hand); font-style:italic; font-size:1.25rem; }
.award h3 { font-size:1.02rem; margin:2px 0 4px; }
.award p { color:var(--muted); font-size:.88rem; margin:0; }
a.award { transition:transform .2s ease; }
a.award:hover { transform:translateY(-4px); }
.award > div { display:flex; flex-direction:column; flex:1; }
.award-more { margin-top:auto; align-self:flex-start; display:inline-flex; align-items:center; background:var(--ink); color:#fff; font-weight:600; font-size:.88rem; padding:8px 16px; border-radius:999px; }
.award p + .award-more, .award h3 + .award-more { margin-top:auto; }
.award p { margin-bottom:14px; }
.award-box { display:flex; gap:16px; align-items:center; margin:0 0 22px; padding:14px; }
a.art { transition:transform .2s ease; }
a.art:hover { transform:translateY(-4px); }
.award-box a { flex:none; display:block; }
.award-box img { width:104px; height:104px; object-fit:cover; border-radius:12px; flex:none; }
@media (max-width:900px) { .award-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px) { .award-grid { grid-template-columns:1fr; } }
.facts-row { display:grid; grid-template-columns:repeat(3,1fr); max-width:760px; margin:8px auto 0; background:var(--soft); border-radius:20px; padding:18px 8px; }
.facts-row > div { text-align:center; padding:4px 12px; display:flex; flex-direction:column; gap:2px; }
.facts-row > div + div { border-left:1px solid #e3e5ea; }
.facts-row b { font-size:1.6rem; font-weight:700; line-height:1.2; color:var(--ink); }
.facts-row small { color:var(--muted); font-size:.82rem; line-height:1.35; }
.links-sec { padding:56px 0 24px; }
.links-head { text-align:center; margin-bottom:22px; }
.links-head h2 { font-size:clamp(1.4rem,2.6vw,1.9rem); }
@media (max-width:520px) { .facts-row { padding:14px 4px; } .facts-row b { font-size:1.25rem; } .facts-row small { font-size:.74rem; } .facts-row > div { padding:2px 6px; } .links-sec { padding-top:44px; } }
.lk-list { list-style:none; margin:0 auto; padding:6px 0; max-width:760px; background:#fff; border-radius:22px; box-shadow:0 10px 40px -18px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.04); }
.lk-item { display:flex; align-items:center; gap:14px; padding:14px 22px; }
.lk-item + .lk-item { border-top:1px solid var(--line); }
.lk-mark { width:46px; height:46px; border-radius:13px; background:var(--soft); display:grid; place-items:center; flex:none; overflow:hidden; }
.lk-mark .lg { width:78%; height:78%; }
.lk-face { border-radius:50%; background:linear-gradient(140deg,#1a8fe8,#3fd0e4); place-items:start center; }
.lk-face img { width:100%; height:auto; max-width:none; margin-top:5px; }
.lk-name { flex:1; min-width:0; display:flex; flex-direction:column; }
.lk-name b { font-size:1rem; line-height:1.3; }
.lk-name small { color:var(--muted); font-size:.85rem; line-height:1.35; }
.lk-icons { display:flex; gap:8px; flex:none; justify-content:flex-end; margin-left:auto; }
.lk-ic { width:40px; height:40px; border-radius:50%; display:grid; place-items:center; color:var(--c); background:var(--soft); transition:background .15s ease, color .15s ease, transform .15s ease; }
.lk-ic svg { width:18px; height:18px; }
.lk-ic:hover { background:var(--c); color:#fff; transform:translateY(-2px); }
.lk-ic.lk-none { background:transparent; pointer-events:none; }
@media (max-width:520px) {
  .lk-item { padding:12px 14px; gap:11px; }
  .lk-mark { width:40px; height:40px; }
  .lk-ic { width:34px; height:34px; } .lk-ic svg { width:16px; height:16px; }
  .lk-item { flex-wrap:wrap; row-gap:10px; }
  .lk-icons { gap:6px; width:100%; justify-content:flex-end; }
}
footer .flinks { display:flex; flex-direction:column; gap:4px; }
.brand-social { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.brand-social .lk-ic { width:40px; height:40px; }
.bc-list { display:flex; flex-wrap:wrap; justify-content:center; gap:22px; max-width:1120px; margin:0 auto; }
.bc { flex:0 1 calc((100% - 44px) / 3); position:relative; background:#fff; border-radius:24px; padding:24px 22px 20px; box-shadow:0 10px 40px -20px rgba(0,0,0,.2), 0 0 0 1px rgba(0,0,0,.05); display:flex; flex-direction:column; gap:16px; scroll-margin-top:90px; overflow:hidden; }
.bc-deco { position:absolute; right:14px; bottom:14px; width:46px; height:46px; color:var(--c); opacity:.22; transform:rotate(-8deg); pointer-events:none; }
.bc-top { display:flex; gap:14px; align-items:center; min-height:64px; }
.bc-logo { width:64px; height:64px; flex:none; border-radius:16px; background:var(--soft); display:grid; place-items:center; transition:transform .15s ease; }
a.bc-logo:hover { transform:translateY(-2px); }
.bc-logo .lg { width:76%; height:76%; }
.bc h3 { font-size:1.15rem; line-height:1.25; margin:0 0 2px; }
.bc-top p { margin:0; color:var(--muted); font-size:.88rem; line-height:1.4; }
.bc-tags { display:flex; flex-wrap:wrap; gap:8px; }
.bc-tags span { font-size:.84rem; line-height:1.3; padding:6px 12px; border-radius:999px; background:var(--soft); color:var(--ink); }
.bc-foot { margin-top:auto; padding-top:4px; }
.bc-social { display:flex; gap:5px; }
.bc-social .lk-ic { width:36px; height:36px; } .bc-social .lk-ic svg { width:16px; height:16px; }
@media (max-width:1000px) { .bc { flex-basis:calc((100% - 22px) / 2); } }
@media (max-width:640px) {
  .bc { flex-basis:100%; padding:20px 18px 18px; border-radius:22px; gap:14px; }
  .bc-logo { width:58px; height:58px; border-radius:15px; }
  .bc-deco { width:42px; height:42px; }
}
.jr { list-style:none; margin:8px auto 0; padding:0; max-width:860px; }
.jr li { display:grid; grid-template-columns:150px 1fr; gap:24px; padding:22px 24px; border-radius:20px; }
.jr li + li { border-top:1px solid var(--line); border-radius:0; }
.jr li.now { background:var(--soft); border-radius:20px; }
.jr li.now + li { border-top:0; }
.jr-year { font-weight:700; color:var(--blue); font-size:.98rem; line-height:1.5; white-space:nowrap; }
.jr b { display:block; font-size:1.08rem; line-height:1.4; }
.jr em { display:block; font-style:normal; color:var(--ink); opacity:.7; font-size:.95rem; margin-bottom:6px; }
.jr p { margin:0; color:var(--muted); font-size:.95rem; line-height:1.65; }
.jr-cards { display:grid; grid-template-columns:1fr 1fr; gap:20px; max-width:860px; margin:28px auto 0; }
.jr-card { background:#fff; border-radius:20px; padding:24px; box-shadow:0 10px 40px -20px rgba(0,0,0,.2), 0 0 0 1px rgba(0,0,0,.05); }
.jr-card h3 { font-size:1.1rem; margin:0 0 6px; }
.jr-card p { margin:0; color:var(--muted); font-size:.92rem; line-height:1.6; }
@media (max-width:700px) {
  .jr li { grid-template-columns:1fr; gap:4px; padding:18px 16px; }
  .jr-cards { grid-template-columns:1fr; }
}
/* --- polish pass --- */
h1, h2 { text-wrap:balance; }
.nw { white-space:nowrap; }
.btn.sm { border-radius:999px; }
.award-more { background:none; color:var(--c, var(--blue)); padding:0; border-radius:0; font-size:.92rem; text-decoration:underline; text-underline-offset:3px; }
.facts-row { margin-top:28px; }
@media (max-width:520px) {
  .lk-ic { width:40px; height:40px; } .lk-ic svg { width:17px; height:17px; }
  .lk-icons { gap:7px; }
}
@media (max-width:900px) {
  .hero.person .pop { max-width:170px; }
  .stats { grid-template-columns:repeat(3,1fr); gap:0; background:var(--soft); border-radius:20px; padding:14px 4px; }
  .stats div { padding:2px 6px; display:flex; flex-direction:column-reverse; gap:2px; }
  .stats div + div { border-left:1px solid #e3e5ea; }
  .stats svg { display:none; }
  .stats b { font-size:1.25rem; }
  .stats small { font-size:.74rem; line-height:1.35; }
}
footer .copy { width:100%; flex-basis:100%; margin-top:28px; padding-top:18px; border-top:1px solid var(--line); display:block; }
@media (max-width:900px) {
  .menu-toggle { display:block; }
  .hero.person h1 { font-size:clamp(1.6rem, 8vw, 2.6rem); }
  nav.nav.open { display:flex; position:absolute; top:68px; left:0; right:0; flex-direction:column; gap:14px; background:#fff; padding:16px 24px 24px; border-bottom:1px solid var(--line); }
  .two, .hero.person .wrap, .ci-grid { grid-template-columns:1fr; gap:28px; }
  .hero.person .portrait { max-width:220px; order:-1; justify-self:start; }
  .page-hero { padding:56px 24px 24px; }
  .facts th { width:40%; } .facts th, .facts td { padding:12px 14px; }
}
