@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@400;600;700&family=Work+Sans:wght@400;500;600&display=swap");

/* ===== Base Theme (Light default) ===== */
:root{
  --bg: #f6f2e9;
  --bg2:#fbfaf7;
  --card:#fffdf8;
  --text:#1b1a17;
  --muted:#5f5a52;
  --border: rgba(42,37,32,.14);
  --shadow: 0 18px 44px rgba(30, 26, 22, .12);
  --accent:#0f766e;
  --accent2:#b45309;
  --radius: 18px;
  --max: 1120px;
}

/* Optional dark mode */
[data-theme="dark"]{
  --bg: #121213;
  --bg2:#17181b;
  --card:#1c1e22;
  --text:#f2eee8;
  --muted:#b6ada2;
  --border: rgba(255,255,255,.10);
  --shadow: 0 22px 60px rgba(0,0,0,.45);
  --accent:#14b8a6;
  --accent2:#f59e0b;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: "Work Sans", "Noto Sans JP", "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(900px 520px at 8% -10%, rgba(15,118,110,.18), transparent 60%),
    radial-gradient(720px 480px at 92% 10%, rgba(180,83,9,.12), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%),
    repeating-linear-gradient(90deg, rgba(27,26,23,.03), rgba(27,26,23,.03) 1px, transparent 1px, transparent 22px);
  color:var(--text);
  line-height:1.7;
}

a{ color:inherit; }
:focus-visible{ outline: 2px solid rgba(15,118,110,.6); outline-offset: 2px; }

/* Container */
.container{ width:min(var(--max), calc(100% - 40px)); margin:0 auto; }

/* ===== Topbar ===== */
.topbar{
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 20px;
  border-bottom:1px solid var(--border);
  backdrop-filter: blur(14px);
  background: rgba(251,250,247,.84);
}
[data-theme="dark"] .topbar{ background: rgba(18,18,19,.72); }

.topbar__left{ display:flex; align-items:center; gap:50px; }

.brand{ display:flex; gap:12px; align-items:center; text-decoration:none; color:var(--text); }
.brand__dot{
  width:10px; height:10px; border-radius:999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 6px rgba(15,118,110,.12);
}
[data-theme="dark"] .brand__dot{ box-shadow: 0 0 0 6px rgba(20,184,166,.18); }

.brand__text{ font-weight:600; letter-spacing:.4px; text-transform:lowercase; }

.nav{ display:flex; gap:18px; align-items:center; }
.nav a{
  color:var(--muted);
  text-decoration:none;
  font-size:14px;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:8px 10px;
  border-radius:10px;
}
.nav a:hover{ color:var(--text); background: rgba(27,26,23,.05); }
[data-theme="dark"] .nav a:hover{ background: rgba(255,255,255,.08); }

.themeBtn{
  border:1px solid var(--border);
  background: rgba(27,26,23,.03);
  color:var(--text);
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
}
.themeBtn:hover{ background: rgba(27,26,23,.08); }
[data-theme="dark"] .themeBtn{ background: rgba(255,255,255,.06); }
[data-theme="dark"] .themeBtn:hover{ background: rgba(255,255,255,.12); }

@media (max-width: 920px){
  .nav{ display:none; }
}

/* ===== Sections ===== */
.section{ padding:62px 0; }

.section__head{ margin-bottom:22px; }
.section__title{
  margin:0 0 8px;
  font-size:30px;
  font-family: "Fraunces", "Times New Roman", serif;
  letter-spacing:-.01em;
}
.section__desc{ margin:0; color:var(--muted); }
#aboutSummary .aboutIntroSplit{
  display:grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap:58px;
  align-items:center;
}
#aboutSummary .aboutIntroArt{
  position:relative;
  min-height:300px;
  border-radius:22px;
  border:1px solid var(--border);
  background:
    radial-gradient(140% 120% at 18% 20%, rgba(15,118,110,.22), transparent 58%),
    radial-gradient(130% 120% at 82% 75%, rgba(180,83,9,.18), transparent 60%),
    linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,255,255,.35)),
    var(--card);
  box-shadow: var(--shadow);
  overflow:hidden;
}
[data-theme="dark"] #aboutSummary .aboutIntroArt{
  background:
    radial-gradient(140% 120% at 18% 20%, rgba(20,184,166,.22), transparent 58%),
    radial-gradient(130% 120% at 82% 75%, rgba(245,158,11,.18), transparent 60%),
    linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    var(--card);
}
#aboutSummary .aboutIntroArt__orb{
  position:absolute;
  border-radius:50%;
  filter: blur(0.4px);
}
#aboutSummary .aboutIntroArt__orb--1{
  width:130px;
  height:130px;
  top:28px;
  left:30px;
  background: rgba(15,118,110,.45);
}
#aboutSummary .aboutIntroArt__orb--2{
  width:94px;
  height:94px;
  top:118px;
  right:42px;
  background: rgba(180,83,9,.48);
}
#aboutSummary .aboutIntroArt__orb--3{
  width:56px;
  height:56px;
  bottom:36px;
  left:50%;
  transform:translateX(-50%);
  background: rgba(255,255,255,.9);
}
#aboutSummary .aboutIntroArt__ring{
  position:absolute;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.7);
}
#aboutSummary .aboutIntroArt__ring--1{
  inset:18% 12%;
}
#aboutSummary .aboutIntroArt__ring--2{
  inset:30% 22%;
  border-color: rgba(255,255,255,.45);
}
#aboutSummary .aboutIntroArt__bar{
  position:absolute;
  height:10px;
  border-radius:999px;
  background: rgba(255,255,255,.82);
}
#aboutSummary .aboutIntroArt__bar--1{
  width:120px;
  left:34px;
  bottom:42px;
}
#aboutSummary .aboutIntroArt__bar--2{
  width:86px;
  right:34px;
  bottom:74px;
}
#aboutSummary .aboutIntroArt__bar--3{
  width:62px;
  right:56px;
  bottom:48px;
}
#aboutSummary .aboutIntroLead{
  margin:0 0 14px;
  font-size:21px;
  line-height:1.7;
  color:var(--text);
}
#aboutSummary .aboutIntroLead strong{
  font-weight:700;
}
#aboutSummary .aboutSummaryLinks{
  margin-top:44px;
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}
#aboutSummary .aboutSummaryBody__linkChip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: linear-gradient(135deg, rgba(15,118,110,.08), rgba(180,83,9,.10)), var(--card);
  text-decoration:none;
  font-size:14px;
  letter-spacing:.01em;
  color:var(--text);
  box-shadow: 0 8px 20px rgba(14,20,40,.08);
}
[data-theme="dark"] #aboutSummary .aboutSummaryBody__linkChip{
  background: linear-gradient(135deg, rgba(20,184,166,.15), rgba(245,158,11,.12)), var(--card);
  box-shadow: 0 10px 24px rgba(0,0,0,.32);
}
#aboutSummary .aboutSummaryBody__linkChip:hover{
  box-shadow: 0 12px 24px rgba(14,20,40,.14);
  transform: translateY(-1px);
}
#aboutSummary .aboutSummaryBody__linkIcon{
  width:22px;
  height:22px;
  border-radius:6px;
  display:block;
  flex:0 0 auto;
}
@media (max-width: 900px){
  #aboutSummary .aboutIntroSplit{
    grid-template-columns: 1fr;
    gap:18px;
  }
  #aboutSummary .aboutIntroArt{
    min-height:220px;
  }
  #aboutSummary .aboutIntroLead{
    font-size:19px;
  }
}
@media (max-width: 640px){
  #aboutSummary .aboutIntroLead{
    font-size:18px;
  }
}

/* ===== Grid / Cards ===== */
.grid{ display:grid; gap:16px; }
.cards{ grid-template-columns: repeat(2, 1fr); }
.cards--three{ grid-template-columns: repeat(3, 1fr); }
@media (max-width: 920px){ .cards{ grid-template-columns:1fr; } }

#homeBlog .homeBlogList{
  display:grid;
  gap:18px;
}
#homeBlog .homeBlogItem{
  padding:0 0 16px;
  border-bottom:1px solid var(--border);
}
#homeBlog .homeBlogItem:last-child{
  border-bottom:0;
  padding-bottom:0;
}
#homeBlog .homeBlogItem__title{
  margin:0 0 2px;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size:24px;
  line-height:1.25;
}
#homeBlog .homeBlogItem__date{
  margin:0 0 8px;
  color:var(--muted);
  font-size:14px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
#homeBlog .homeBlogItem__excerpt{
  margin:0;
  color:var(--muted);
  font-size:20px;
  line-height:1.7;
}
@media (max-width: 640px){
  #homeBlog .homeBlogItem__title{
    font-size:24px;
  }
  #homeBlog .homeBlogItem__date{
    font-size:13px;
  }
  #homeBlog .homeBlogItem__excerpt{
    font-size:20px;
  }
}

#homeModels .homeModelsSearch,
.modelsHead .homeModelsSearch{
  margin-bottom:16px;
}
#homeModels .section__desc{
  font-size:20px;
}
#homeModels .homeModelsSearch__input,
.modelsHead .homeModelsSearch__input{
  width:min(680px, 100%);
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px 14px;
  font-size:16px;
  color:var(--text);
  background: rgba(255,255,255,.75);
}
[data-theme="dark"] #homeModels .homeModelsSearch__input,
[data-theme="dark"] .modelsHead .homeModelsSearch__input{
  background: rgba(22,24,28,.9);
  color:var(--text);
  border-color: rgba(255,255,255,.18);
}
[data-theme="dark"] #homeModels .homeModelsSearch__input::placeholder,
[data-theme="dark"] .modelsHead .homeModelsSearch__input::placeholder{
  color:var(--muted);
}
#homeModels .homeModelsSearch__meta,
.modelsHead .homeModelsSearch__meta{
  margin:8px 0 0;
  color:var(--muted);
  font-size:13px;
  letter-spacing:.04em;
}
#homeModels .homeModelsList{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
}
#homeModels .homeModelItem{
  position:relative;
}
@media (max-width: 900px){
  #homeModels .homeModelsList{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px){
  #homeModels .homeModelsList{
    grid-template-columns: 1fr;
  }
}

.modelCard{
  position:relative;
}
.modelCard .card__title{
  padding-right:84px;
}
.modelCard__excerpt{
  overflow-wrap:anywhere;
  word-break:break-word;
}
.assetTypeBadge{
  position:absolute;
  top:14px;
  right:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:74px;
  height:28px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.82);
  color:var(--muted);
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
[data-theme="dark"] .assetTypeBadge{
  background: rgba(28,30,34,.9);
}

.card{
  border:1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.6)),
    var(--card);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(20, 16, 12, .12);
  padding:20px;
  display:flex; flex-direction:column; gap:12px;
}
[data-theme="dark"] .card{
  background:
    linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    var(--card);
  box-shadow: 0 18px 42px rgba(0,0,0,.42);
}
.card__title{
  margin:0;
  font-size:24px;
  font-family: "Fraunces", "Times New Roman", serif;
}
.card__text{ margin:0; color:var(--muted); font-size:18px; }
.card__list{
  margin:0;
  padding-left:18px;
  color:var(--muted);
}
.card__list li{ margin-bottom:6px; }

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
  border-radius:12px;
  padding:10px 16px;
  border:1px solid var(--border);
  color:var(--text);
  background: rgba(27,26,23,.03);
  font-weight:600;
  letter-spacing:.02em;
}
.btn:hover{ background: rgba(27,26,23,.08); }

.btn--primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: rgba(27,26,23,.12);
  color: #fff;
}
.btn--primary:hover{ filter: brightness(1.04); }

.btn--ghost{ background: rgba(27,26,23,.015); }
[data-theme="dark"] .btn{ background: rgba(255,255,255,.06); }
[data-theme="dark"] .btn:hover{ background: rgba(255,255,255,.12); }
[data-theme="dark"] .btn--ghost{ background: rgba(255,255,255,.04); }

/* ===== Footer ===== */
.footer{ padding:22px 0; color:var(--muted); }
.footer__inner{ display:flex; gap:10px; align-items:center; justify-content:center; }
.footer__sep{ opacity:.6; }
.footer__link{ color:var(--muted); text-decoration:none; }
.footer__link:hover{ color:var(--text); }

/* ===== Coming soon ===== */
.coming{
  min-height:50vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:12px;
}
.coming__title{
  margin:0;
  font-size:32px;
  font-family: "Fraunces", "Times New Roman", serif;
  letter-spacing:-.01em;
}
.coming__text{
  margin:0;
  max-width:520px;
  color:var(--muted);
}
.projectsList{
  display:flex;
  flex-direction:column;
  gap:80px;
}
.projectItem{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.projectTitleRow{
  display:flex;
  align-items:baseline;
  gap:18px;
}
.projectUpdated{
  font-size:18px;
  color:var(--muted);
}
.projectTitle{
  margin:0;
  font-size:24px;
  font-family: "Fraunces", "Times New Roman", serif;
}
.projectIntro{
  margin:0;
  font-size:20px;
  color:var(--muted);
}
.projectLink{
  margin-left:10px;
  text-decoration:none;
  font-weight:600;
  color:var(--text);
  border-bottom:1px solid rgba(27,26,23,.2);
}
.projectLink:hover{ border-bottom-color: rgba(27,26,23,.6); }
.projectMedia{
  border:1px solid var(--border);
  border-radius:18px;
  overflow:hidden;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.6)), var(--card);
  box-shadow: 0 18px 40px rgba(20, 16, 12, .12);
  aspect-ratio: 16 / 9;
  display:flex;
  align-items:center;
  justify-content:center;
  max-width:720px;
  width:100%;
  margin:6px auto 18px;
  position:relative;
}
[data-theme="dark"] .projectMedia{
  background:
    linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    var(--card);
}
.projectVideo{
  width:100%;
  height:100%;
  display:block;
  background:#0f0f0f;
  object-fit:cover;
}
.projectVideo--placeholder{ pointer-events:none; }
.projectMedia__label{
  position:absolute;
  bottom:16px;
  right:16px;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  background: rgba(255,255,255,.8);
  border:1px solid var(--border);
}

/* ===== Blog page ===== */
.blogSection{
  padding-top: 64px;
}
.blogHead{
  max-width: 1200px;
  margin: 0 auto 26px;
  padding: 0 24px;
}
.blogShell{
  display:grid;
  grid-template-columns: 1fr;
  gap:32px;
  align-items:start;
  justify-content:start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 12px;
}
.blogShell--post{
  grid-template-columns: minmax(0, 1fr) 260px;
}
.blogSidebar{
  position:sticky;
  top:92px;
}
.blogSidebar__body{ display:flex; flex-direction:column; gap:8px; }

.blogGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:18px;
}

.blogIndex__item{
  display:block;
  padding:12px 14px;
  margin-bottom:0;
  border-radius:12px;
  border:1px solid var(--border);
  background: var(--card);
  color:var(--text);
  text-decoration:none;
  box-shadow: 0 8px 20px rgba(10, 14, 18, 0.05);
}
.blogIndex__item:hover{
  box-shadow: 0 12px 26px rgba(10, 14, 18, 0.08);
}
.blogIndex__item.is-active{
  border-color: rgba(15,118,110,.45);
  box-shadow: 0 14px 32px rgba(15,118,110,.18);
}
.blogIndex__title{
  display:block;
  font-weight:600;
  margin-bottom:2px;
}
.blogIndex__meta{
  display:block;
  color:var(--muted);
  font-size:13px;
}

.blogCard .card__title{ margin-top:0; }
.blogCard__meta{
  margin: 4px 0 10px;
  font-size:13px;
  color:var(--muted);
}
.blogHero{
  margin: 18px 0 24px;
}
.blogHero img{
  display:block;
  width:100%;
  height:auto;
  border-radius:16px;
  border:1px solid rgba(15,118,110,.18);
  box-shadow: 0 18px 36px rgba(14,20,40,.16);
}
.blogHero figcaption{
  margin-top:10px;
  font-size:13px;
  color:var(--muted);
}

.blogMain{
  padding-top:22px;
  box-shadow: 0 20px 48px rgba(14,20,40,.16);
  background: linear-gradient(135deg, rgba(15,118,110,.05), rgba(180,83,9,.05)), var(--card);
}

.blogSidebar{
  padding-top:22px;
  box-shadow: 0 10px 28px rgba(14,20,40,.12);
  background: var(--card);
  border:1px solid var(--border);
}

@media (max-width: 960px){
  .blogShell,
  .blogShell--post{
    grid-template-columns: 1fr;
  }
  .blogSidebar{
    position:static;
  }
  .blogGrid{
    grid-template-columns: 1fr;
  }
}
.projectsSection{
  padding-top:64px;
}
.projectsHead{
  max-width: 1200px;
  margin: 0 auto 26px;
  padding: 0 24px;
}
.projectsShell{
  display:grid;
  grid-template-columns: 1fr;
  gap:32px;
  align-items:start;
  justify-content:start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 12px;
}
.projectsShell--post{
  grid-template-columns: minmax(0, 1fr) 260px;
}
.projectsMain{
  padding-top:22px;
  box-shadow: 0 20px 48px rgba(14,20,40,.16);
  background: linear-gradient(135deg, rgba(15,118,110,.05), rgba(180,83,9,.05)), var(--card);
}
.projectsSidebar{
  padding-top:22px;
  box-shadow: 0 10px 28px rgba(14,20,40,.12);
  background: var(--card);
  border:1px solid var(--border);
  position:sticky;
  top:92px;
}
.projectsSidebar__body{ display:flex; flex-direction:column; gap:8px; }
.projectsGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:18px;
}
.projectsIndex__item{
  display:block;
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--card);
  color:var(--text);
  text-decoration:none;
  box-shadow: 0 8px 20px rgba(10, 14, 18, 0.05);
}
.projectsIndex__item + .projectsIndex__item{ margin-top:8px; }
.projectsIndex__item.is-active{
  border-color: rgba(15,118,110,.45);
  box-shadow: 0 14px 32px rgba(15,118,110,.18);
}
.projectsIndex__title{
  display:block;
  font-weight:600;
}

/* ===== Reveal animation ===== */
.reveal{ opacity:0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity:1; transform: translateY(0); }
.modelsSection{
  padding-top: 64px;
}
.modelsHead{
  max-width: 1200px;
  margin: 0 auto 26px;
  padding: 0 24px;
}
.modelHeadRow{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.modelHeadLink{
  font-size:13px;
  padding:8px 12px;
}
.modelMeta{
  margin:6px 0 0;
  font-size:15px;
  color:var(--muted);
}
.modelsShell{
  display:grid;
  grid-template-columns: 1fr;
  gap:32px;
  align-items:start;
  justify-content:start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 12px;
}
.modelsShell--post{
  grid-template-columns: minmax(0, 1fr) 260px;
}
.modelsMain.card{
  box-shadow: 0 20px 48px rgba(14,20,40,.16);
  background: linear-gradient(135deg, rgba(15,118,110,.05), rgba(180,83,9,.05)), var(--card);
}
.modelsSidebar{
  padding-top:22px;
  box-shadow: 0 10px 28px rgba(14,20,40,.12);
  background: var(--card);
  border:1px solid var(--border);
  position:sticky;
  top:92px;
}
.modelsSidebar__body{ display:flex; flex-direction:column; gap:8px; }
.modelsGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:18px;
}
.modelDetailIntro{
  padding: 6px 0 12px;
  max-width: 1200px;
  margin: 0 30px;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.modelDetailBody{
  display:flex;
  flex-direction:column;
  gap:18px;
  font-size:18px;
  line-height:1.9;
  color: var(--muted);
}
.modelReadme__body{
  white-space:normal;
  font-size:16px;
  line-height:1.9;
  color:var(--muted);
}
.modelCard__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.modelsIndex__item{
  display:block;
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--card);
  color:var(--text);
  text-decoration:none;
  box-shadow: 0 8px 20px rgba(10, 14, 18, 0.05);
}
.modelsIndex__item + .modelsIndex__item{ margin-top:8px; }
.modelsIndex__item.is-active{
  border-color: rgba(15,118,110,.45);
  box-shadow: 0 14px 32px rgba(15,118,110,.18);
}
.modelsIndex__title{
  display:block;
  font-weight:600;
}
.modelsIndex__meta{
  display:block;
  color:var(--muted);
  font-size:13px;
}

.modelReadme{
  padding:18px 20px;
  border-radius:16px;
  border:1px solid rgba(27,26,23,.10);
  background: var(--card);
  box-shadow: 0 12px 28px rgba(14,20,40,.08);
}
.modelReadme__body h1,
.modelReadme__body h2,
.modelReadme__body h3,
.modelReadme__body h4{
  margin:16px 0 8px;
  color:var(--text);
  line-height:1.3;
  font-family: "Fraunces", "Times New Roman", serif;
}
.modelReadme__body h1,
.modelReadme__body h2{
  font-size:22px;
  font-weight:600;
  letter-spacing:-.01em;
}
.modelReadme__body p{
  margin:0 0 12px;
}
.modelReadme__body ul,
.modelReadme__body ol{
  margin:0 0 12px;
  padding-left:20px;
}
.modelReadme__body li{
  margin:4px 0;
}
.modelReadme__body a{
  color:var(--text);
  text-decoration:underline;
  text-underline-offset:2px;
}
.modelReadme__body code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size:0.92em;
  background: rgba(15,118,110,.12);
  color:#1c1f1a;
  padding:2px 6px;
  border-radius:6px;
}
.modelReadme__body pre{
  margin:12px 0;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(27,26,23,.10);
  background:#f3f1ea;
  overflow:auto;
}
.modelReadme__body pre.codeBlock{
  padding:22px 24px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(20,20,22,.98), rgba(14,14,16,.98));
  color:#f2eee8;
  box-shadow: 0 18px 38px rgba(7,9,18,.28);
}
.modelReadme__body pre code{
  background: transparent;
  padding:0;
  color:#0f1422;
}
.modelReadme__body pre.codeBlock code{
  color:#f2eee8;
  line-height:1.8;
  font-size:15px;
}
.modelReadme__body pre.codeBlock .code-kw{
  color:#7dd3fc;
  font-weight:600;
}
.modelReadme__body pre.codeBlock .code-str{
  color:#f6ad55;
}
.modelReadme__body hr{
  border:0;
  border-top:1px solid var(--border);
  margin:16px 0;
}

[data-theme="dark"] .modelReadme{
  background:#1a1c20;
  border-color: rgba(255,255,255,.10);
  box-shadow: 0 16px 36px rgba(0,0,0,.35);
}
[data-theme="dark"] .modelReadme__body code{
  background: rgba(20,184,166,.20);
  color:#f2eee8;
}
[data-theme="dark"] .modelReadme__body pre{
  background:#0e1014;
  border-color: rgba(255,255,255,.12);
}
[data-theme="dark"] .modelReadme__body pre code{
  color:#f2eee8;
}
 

@media (max-width: 960px){
  .modelsShell,
  .modelsShell--post{
    grid-template-columns: 1fr;
  }
  .modelsSidebar{
    position:static;
  }
  .modelsGrid{
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px){
  .modelDetailIntro{
    margin: 0 12px;
  }
  .modelDetailBody{
    font-size:16px;
  }
}
@media (max-width: 960px){
  .projectsShell,
  .projectsShell--post{
    grid-template-columns: 1fr;
  }
  .projectsSidebar{
    position:static;
  }
  .projectsGrid{
    grid-template-columns: 1fr;
  }
}
.aboutSection{
  padding-top:64px;
}
.aboutHead{
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 0 24px;
}
.aboutShell{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 12px;
}
.aboutIntro{
  padding: 6px 0 12px;
  max-width: 1200px;
  margin: 0 30px;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.aboutIntro .section__desc{
  font-size:20px;
  line-height:1.7;
  color:var(--text);
}
.aboutBody{
  display:flex;
  flex-direction:column;
  gap:18px;
  font-size:18px;
  line-height:1.9;
  color: var(--muted);
}
.aboutBody p{ margin:0; }
.aboutBody p + p{
  text-indent: 0.7em;
}
.aboutBody a{ color:var(--text); }
@media (max-width: 720px){
  .aboutIntro .section__desc{
    font-size:18px;
  }
  .aboutBody{
    font-size:16px;
  }
}
