/* ============================================================
   OTAltist
   Production stylesheet consolidated 2026-10-04.
   ============================================================ */

.otaltist-page{
  --ot-ink:#18212a;
  --ot-muted:#596672;
  --ot-line:#c7d3d8;
  --ot-accent:#c76d2b;
  --ot-tech:#2c6670;
  position:relative;
  box-sizing:border-box;
  overflow:hidden;
  border-radius:18px;
  background:#fff;
  color:var(--ot-ink);
}

/* Hub hero */
.otaltist-hub-hero-card{
  overflow:hidden;
  margin:0 0 38px;
  border:1px solid rgba(54,79,118,.20);
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 30px rgba(39,72,88,.075);
}
.otaltist-hub-hero{
  position:relative;
  overflow:hidden;
  margin:0;
  border:0;
  background:#090d20;
}
.otaltist-hub-hero-figure{
  margin:0;
  aspect-ratio:3/1;
  overflow:hidden;
}
.otaltist-hub-hero-figure img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 52%;
}
.otaltist-hub-hero-copy{
  box-sizing:border-box;
  margin:0;
  padding:22px 30px 26px;
  border-top:1px solid rgba(54,79,118,.12);
  background:#fff;
  color:#29485a;
}
.otaltist-hub-hero-copy h1{
  margin:0 0 9px;
  color:#203f51!important;
  -webkit-text-fill-color:#203f51!important;
  background:none!important;
  opacity:1!important;
  mix-blend-mode:normal!important;
  filter:none!important;
  text-shadow:none!important;
  font:400 30px/1.35 Georgia,"Yu Mincho",serif;
  letter-spacing:.04em;
}
.otaltist-hub-hero-copy>p:last-child{
  margin:0;
  max-width:58em;
  color:#304650;
  font-size:14px;
  line-height:1.9;
}

/* Article hero */
.otaltist-hero,
.otaltist-subhero{
  position:relative;
  overflow:hidden;
  margin:0 0 2rem;
  padding:clamp(2rem,6vw,4.6rem);
  border:1px solid #aebfc3;
  background:linear-gradient(135deg,#edf2ef 0%,#f8f1e5 62%,#eee5d5 100%);
  box-shadow:0 16px 40px rgba(22,37,45,.08);
}
.otaltist-subhero{
  border-radius:16px;
}
.otaltist-hero::after,
.otaltist-subhero::after{
  content:"OTAltist";
  position:absolute;
  right:-.04em;
  bottom:-.25em;
  color:rgba(44,102,112,.07);
  font:900 clamp(5rem,17vw,13rem)/1 sans-serif;
  letter-spacing:-.08em;
  pointer-events:none;
}
.otaltist-kicker{
  position:relative;
  margin:0 0 .65rem!important;
  color:#456b7b!important;
  font:700 .78rem/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;
  letter-spacing:.18em;
}
.otaltist-hero h1,
.otaltist-subhero h1{
  position:relative;
  margin:.15rem 0 1rem;
  color:#263f4b!important;
  -webkit-text-fill-color:#263f4b!important;
  background:none!important;
  opacity:1!important;
  mix-blend-mode:normal!important;
  filter:none!important;
  font-size:clamp(2rem,5vw,4rem);
  line-height:1.1;
  letter-spacing:.02em;
  text-shadow:none!important;
}
.otaltist-hero>p:not(.otaltist-kicker),
.otaltist-subhero>p:not(.otaltist-kicker){
  position:relative;
  max-width:48rem;
  color:#304650!important;
  font-size:1.04rem;
  line-height:1.9;
}

/* Sections and cards */
.otaltist-section{
  margin:2rem 0;
  background:#fff;
}
.otaltist-section-head{
  margin-bottom:1rem;
  padding:0 18px;
}
.otaltist-section-head small{
  display:block;
  margin:0;
  color:var(--ot-tech);
  font:700 .72rem/1.4 ui-monospace,monospace;
  letter-spacing:.16em;
}
.otaltist-section-head h2{
  margin:0 0 .25rem!important;
  padding:0!important;
  border:0!important;
  background:none!important;
  color:var(--ot-ink)!important;
}
.otaltist-card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
  padding:0 18px;
}
.otaltist-card{
  display:flex;
  min-height:10rem;
  flex-direction:column;
  overflow:hidden;
  padding:1.25rem 1.35rem;
  border:1px solid rgba(82,108,120,.13);
  border-radius:16px!important;
  background:#eaf4fb;
  color:var(--ot-ink)!important;
  text-decoration:none!important;
  box-shadow:0 7px 18px rgba(39,72,88,.045);
  transition:transform .18s ease,box-shadow .18s ease;
}
.otaltist-card:hover{
  transform:translateY(-2px);
  box-shadow:0 11px 24px rgba(39,72,88,.09);
}
.otaltist-card small{
  color:#56727e!important;
  font:700 .7rem/1.4 ui-monospace,monospace;
  letter-spacing:.13em;
}
.otaltist-card strong{
  margin:.55rem 0 .45rem;
  color:#294754!important;
  font-size:1.08rem;
}
.otaltist-card span{
  color:#4b6068!important;
  font-size:.9rem;
  line-height:1.7;
}
.otaltist-card-grid .otaltist-card:nth-child(1){background:#eaf4fb!important;border-color:#c9dfea!important}
.otaltist-card-grid .otaltist-card:nth-child(2){background:#fff0e8!important;border-color:#ecd3c5!important}
.otaltist-card-grid .otaltist-card:nth-child(3){background:#eaf7ef!important;border-color:#cce4d5!important}
.otaltist-card-grid .otaltist-card:nth-child(4){background:#f3edfb!important;border-color:#d9cbea!important}
.otaltist-card-grid .otaltist-card:nth-child(5){background:#fff7dc!important;border-color:#eadcae!important}
.otaltist-card-grid .otaltist-card:nth-child(6){background:#fbeaf0!important;border-color:#e7cbd5!important}

/* Article body */
.otaltist-article,
.otaltist-legacy-copy{
  max-width:900px;
  background:#fff;
}
.otaltist-meetup-hub>.otaltist-legacy-copy{
  margin:0 auto 2rem;
  padding:1.25rem 1.5rem;
  overflow:hidden;
  border:1px solid var(--ot-line);
  border-radius:16px;
  background:#fff;
  color:#263a44!important;
}
.otaltist-meetup-hub>.otaltist-legacy-copy .scrollable-table{
  max-width:100%;
  overflow-x:auto;
}
.category-otaltist.page-type-article #pagebody .otaltist-legacy-copy p,
.category-otaltist.page-type-article #pagebody .otaltist-legacy-copy li,
.category-otaltist.page-type-article #pagebody .otaltist-legacy-copy dd,
.category-otaltist.page-type-article #pagebody .otaltist-legacy-copy td,
.category-otaltist.page-type-article #pagebody.otaltist-article p,
.category-otaltist.page-type-article #pagebody.otaltist-article li,
.category-otaltist.page-type-article #pagebody.otaltist-article dd,
.category-otaltist.page-type-article #pagebody.otaltist-article td{
  color:#304650!important;
  line-height:1.95;
}
.category-otaltist.page-type-article #pagebody .otaltist-legacy-copy strong,
.category-otaltist.page-type-article #pagebody .otaltist-legacy-copy dt,
.category-otaltist.page-type-article #pagebody .otaltist-legacy-copy th,
.category-otaltist.page-type-article #pagebody.otaltist-article strong,
.category-otaltist.page-type-article #pagebody.otaltist-article dt,
.category-otaltist.page-type-article #pagebody.otaltist-article th{
  color:#203740!important;
}
.category-otaltist.page-type-article #pagebody .otaltist-legacy-copy a,
.category-otaltist.page-type-article #pagebody.otaltist-article a{
  color:#285f77;
}
.category-otaltist.page-type-article #pagebody .otaltist-legacy-copy h2,
.category-otaltist.page-type-article #pagebody.otaltist-article h2{
  box-sizing:border-box!important;
  width:100%!important;
  margin:2.2rem 0 1rem!important;
  padding:.72rem .95rem!important;
  border:1px solid #d8e2e6!important;
  border-left:5px solid #789cac!important;
  border-radius:8px!important;
  background:#eef5f7!important;
  color:#294754!important;
  box-shadow:none!important;
  font-family:"Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","Hiragino Mincho Pro",Georgia,serif!important;
  font-size:21px!important;
  font-weight:500!important;
  line-height:1.5!important;
}

/* TOC */
.category-otaltist .article-toc,
.category-otaltist.page-type-article #pagebody .article-toc{
  border:1px solid #dbe4e8!important;
  background:#fff!important;
  box-shadow:none!important;
}
.category-otaltist .article-toc-label{color:#668494!important}
.category-otaltist .article-toc-title{color:#294754!important}
.category-otaltist .article-toc li{color:#61747d!important}
.category-otaltist .article-toc a{color:#365e70!important}
.category-otaltist .article-toc a:hover{color:#1f4e64!important}

/* Notes */
.otaltist-note{
  margin:2rem 0;
  padding:1.25rem 1.4rem;
  border:1px dashed #9bafb4;
  background:#f7f3e9;
}
.otaltist-note strong{
  display:block;
  margin-bottom:.45rem;
  color:var(--ot-accent);
  font:700 .75rem/1.4 ui-monospace,monospace;
  letter-spacing:.13em;
}
.otaltist-note p{margin:0;line-height:1.8}
.otaltist-meetup-hub>.otaltist-legacy-copy .otaltist-note{margin-top:0}

/* Profile table */
.category-otaltist .otaltist-profile-data{
  width:100%;
  overflow:hidden;
  border:1px solid #d8e2e6;
  border-collapse:separate;
  border-spacing:0;
  border-radius:10px;
  background:#fff;
}
.category-otaltist .otaltist-profile-data th,
.category-otaltist .otaltist-profile-data td{
  padding:.85rem 1rem;
  border:0;
  border-bottom:1px solid #e1e8eb;
  vertical-align:top;
  text-align:left;
}
.category-otaltist .otaltist-profile-data tr:last-child th,
.category-otaltist .otaltist-profile-data tr:last-child td{border-bottom:0}
.category-otaltist .otaltist-profile-data th{
  width:9.5rem;
  background:#eef5f7;
  color:#203740!important;
  font-weight:700;
  white-space:nowrap;
}
.category-otaltist .otaltist-profile-data td{
  background:#fff;
  color:#304650!important;
}

/* Meetup hub */
.otaltist-meetup-hub>.otaltist-section{margin:2rem 0 2.25rem}

@media(max-width:700px){
  .otaltist-page{border-radius:14px}
  .otaltist-hub-hero-card{margin-bottom:28px;border-radius:14px}
  .otaltist-hub-hero-figure{aspect-ratio:16/7}
  .otaltist-hub-hero-figure img{object-position:58% 52%}
  .otaltist-hub-hero-copy{padding:18px 20px 21px}
  .otaltist-hub-hero-copy h1{font-size:25px}
  .otaltist-hub-hero-copy>p:last-child{font-size:13px}
  .otaltist-hero,.otaltist-subhero{padding:1.5rem 1.15rem}
  .otaltist-subhero,.otaltist-meetup-hub>.otaltist-legacy-copy{border-radius:14px}
  .otaltist-section-head,.otaltist-card-grid{padding-left:12px;padding-right:12px}
  .otaltist-card-grid{grid-template-columns:1fr}
  .otaltist-card{min-height:0;border-radius:14px!important}
  .category-otaltist.page-type-article #pagebody .otaltist-legacy-copy h2,
  .category-otaltist.page-type-article #pagebody.otaltist-article h2{
    padding:.65rem .8rem!important;
    border-radius:7px!important;
    font-size:19px!important;
  }
  .category-otaltist .otaltist-profile-data,
  .category-otaltist .otaltist-profile-data tbody,
  .category-otaltist .otaltist-profile-data tr,
  .category-otaltist .otaltist-profile-data th,
  .category-otaltist .otaltist-profile-data td{
    display:block;
    box-sizing:border-box;
    width:100%;
  }
  .category-otaltist .otaltist-profile-data th{
    padding:.65rem .8rem;
    border-bottom:0;
    white-space:normal;
  }
  .category-otaltist .otaltist-profile-data td{padding:.75rem .8rem 1rem}
}
