/* Direction 1 — 窗邊: you step into the watercolour room; reading is one calm book column. */
.sec { font-size: 15px; font-family: var(--sans); font-weight: 500; letter-spacing: .2em; color: var(--ink-2); margin-bottom: 34px; display: flex; align-items: center; gap: 18px; }
.sec::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.label { font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: .14em; color: var(--moss); display: block; margin-bottom: 10px; }

/* home hero */
.hero { position: relative; height: min(820px, 92vh); min-height: 640px; overflow: hidden; }
.hero .room { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 140px; background: linear-gradient(to bottom, rgba(247, 242, 232, 0), var(--paper)); }
.hero .site-head { position: absolute; inset: 0 0 auto 0; }
.hero-panel { position: absolute; right: 6vw; top: 50%; transform: translateY(-44%); width: min(580px, 44vw); padding: 46px 50px 48px; z-index: 2; }
.hero-panel h1 { font-size: clamp(26px, 2.3vw, 34px); line-height: 1.6; margin: 0 0 34px; }
.cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

main { padding: 0 56px; }
.drawers, .latest { max-width: 1180px; margin: 0 auto; }
.drawers { margin-top: 40px; }
.drawers .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.drawer { display: grid; grid-template-columns: 190px 1fr; gap: 10px 26px; align-items: center; padding: 26px 30px 26px 14px; border-radius: 18px; transition: background .6s var(--ease), box-shadow .6s var(--ease); }
.drawer:nth-child(2n) { transform: translateY(56px); }
.drawer:hover { background: rgba(255, 255, 255, .45); box-shadow: var(--shadow-soft); }
.drawer img { width: 190px; height: 190px; object-fit: cover; }
.drawer h3 { font-size: 28px; margin: 14px 0 6px; }
.drawer p { font-size: 16px; line-height: 1.8; color: var(--ink-2); margin: 0 0 8px; }

.latest { margin-top: 150px; }
.latest ul, .related ul { list-style: none; padding: 0; margin: 0; }
.latest li a { display: grid; grid-template-columns: 64px 1fr 110px 110px; align-items: baseline; gap: 20px; padding: 20px 6px; border-bottom: 1px solid var(--rule); transition: padding .6s var(--ease), background .6s var(--ease); }
.latest li:first-child a { border-top: 0; }
.latest li a:hover { padding-left: 14px; background: rgba(255, 255, 255, .35); }
.latest .rt { font-size: 21px; font-weight: 700; letter-spacing: .03em; }
.latest .latin { text-align: right; }

/* article */
.article, .note { padding: 0 56px; }
.a-head { position: relative; max-width: var(--measure); margin: 0 auto; padding: 96px 0 0; }
.a-head .a-vig { position: absolute; left: calc(100% + 48px); top: 40px; width: 300px; }
.a-head h1 { font-size: 46px; line-height: 1.4; margin: 18px 0 40px; }
.a-head .summary { padding: 30px 36px; margin: 0 -36px; background: linear-gradient(115deg, rgba(220, 227, 208, .62), rgba(233, 221, 198, .42)); border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 14px; }
.col { max-width: var(--measure); margin: 0 auto; }
.video-block { margin: 64px 0 0; }
.toc { margin: 56px 0 0; padding: 26px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.toc ol { list-style: none; margin: 0; padding: 0; font-size: 16.5px; line-height: 1.7; }
.toc li { display: flex; gap: 14px; padding: 5px 0; }
.toc li .latin { font-style: italic; color: var(--moss); width: 24px; flex: none; }
.src { margin: -.4em 0 1.8em 26px; padding: 18px 22px; background: rgba(233, 221, 198, .45); border-radius: 10px; }
.faqs, .related { margin-top: 80px; }
.deep-wrap { margin-top: 72px; }
.deep-wrap .anno { margin-bottom: 10px; }
.deep { display: grid; grid-template-columns: 168px 1fr 40px; gap: 22px; align-items: center; padding: 14px 22px 14px 14px; border-radius: 16px; background: rgba(220, 227, 208, .55); box-shadow: var(--shadow-soft); transition: transform .6s var(--ease); }
.deep:hover { transform: translateY(-2px); }
.deep-img { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; }
.deep-img img { width: 100%; height: 100%; object-fit: cover; }
.deep h3 { font-size: 21px; margin: 4px 0; }
.deep-go { font-family: var(--latin); font-size: 26px; color: var(--moss); }
.end { margin-top: 64px; padding-top: 34px; border-top: 1px solid var(--rule); }
.related li a { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.related .rt { font-weight: 700; font-size: 18px; }

/* note: one sheet of watercolour paper lying on the desk */
.note-card { position: relative; max-width: 760px; margin: 64px auto 0; padding: 64px 72px 56px; background: rgba(255, 253, 248, .72); border-radius: 6px; box-shadow: var(--shadow-soft); }
.note-card::before { content: ""; position: absolute; inset: 0; border-radius: 6px; background: url("../img/grain.png"); background-size: 512px; mix-blend-mode: multiply; opacity: .7; pointer-events: none; }
.note-card .n-vig { position: absolute; right: -40px; top: -60px; width: 220px; }
.note-card h1 { font-size: 34px; line-height: 1.5; margin: 16px 0 30px; max-width: 15em; }
.note-card .summary { padding: 0 0 26px; margin-bottom: 30px; border-bottom: 1px solid var(--rule); }
.note-card .prose { max-width: none; }
.srcs { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--rule); }
.srcs .src { margin: 0 0 14px; }
.note .col { max-width: 760px; }

/* OG */
.og-page { width: 1200px; height: 630px; overflow: hidden; }
.og1 { position: relative; width: 1200px; height: 630px; }
.og1 .room { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% 60%; }
.og-panel { position: absolute; right: 60px; top: 70px; bottom: 70px; width: 560px; padding: 44px 46px; display: flex; flex-direction: column; }
.og-panel h1 { font-size: 50px; line-height: 1.4; margin: 18px 0 auto; }
.og-panel h1.long { font-size: 38px; line-height: 1.5; }
.og-panel .wm { font-weight: 700; letter-spacing: .14em; font-size: 20px; }
.og-panel .tag { font-size: 18px; }

@media (max-width: 720px) {
  .hero { height: auto; min-height: 0; }
  .hero .room { position: relative; height: 360px; object-position: 22% 70%; }
  .hero::after { display: none; }
  .hero .site-head { position: absolute; padding-bottom: 28px; background: linear-gradient(rgba(247, 242, 232, .92) 55%, rgba(247, 242, 232, 0)); }
  .hero-panel { position: relative; inset: auto; transform: none; width: auto; margin: -70px 16px 0; padding: 30px 26px 32px; }
  .hero-panel h1 { font-size: 22px; margin: 0 0 24px; }
  main, .article, .note { padding: 0 22px; }
  .drawers { margin-top: 64px; }
  .drawers .grid { grid-template-columns: 1fr; gap: 6px; }
  .drawer { grid-template-columns: 104px 1fr; padding: 12px 4px; gap: 0 16px; }
  .drawer:nth-child(2n) { transform: none; }
  .drawer img { width: 104px; height: 104px; }
  .drawer h3 { font-size: 22px; margin: 10px 0 2px; }
  .drawer p { font-size: 14.5px; }
  .latest { margin-top: 80px; }
  .latest li a { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 2px; }
  .latest .rt { grid-column: 1 / -1; order: -1; font-size: 18px; }
  .latest .latin { display: none; }
  .a-head { padding: 24px 0 0; margin-top: 20px; }
  .a-head .a-vig { width: 140px; top: -6px; left: auto; right: -14px; }
  .a-head h1 { font-size: 31px; margin: 14px 0 26px; max-width: 8.5em; }
  .a-head .summary { padding: 22px 22px; margin: 0 -6px; }
  .src { margin-left: 0; }
  .deep { grid-template-columns: 96px 1fr 20px; gap: 14px; padding: 10px 14px 10px 10px; }
  .deep h3 { font-size: 17px; }
  .note-card { margin: 70px -6px 0; padding: 40px 24px 34px; }
  .note-card .n-vig { width: 130px; right: -12px; top: -66px; }
  .note-card h1 { font-size: 26px; max-width: none; }
}
