@font-face {
  font-family: Anuphan;
  src: url(/_home/home-20261021-r1/visual/assets/anuphan.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "BEHAP Header";
  src: url(/_home/home-20261021-r1/visual/assets/anuphan.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url(8048ac209bec.woff2) format("woff2");
  font-weight: 600;
  font-display: swap;
}
:root {
  --green: #07382b;
  --ink: #213831;
  --paper: #f8f6ef;
  --line: #cbd8cd;
  --mist: #e5eee7;
  --edge: clamp(18px, 5vw, 94px);
}
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Anuphan, Arial, sans-serif; }
#bs-header { position: relative; }
.skip { position: fixed; z-index: 200; top: 12px; left: 12px; padding: 10px 14px; color: white; background: var(--green); clip-path: inset(50%); }
.skip:focus { clip-path: none; }
.v3 *, .v3 *::before, .v3 *::after { box-sizing: border-box; }
.v3 :is(p,h1,h2,h3,figure) { margin: 0; }
.v3 a { color: var(--green); text-underline-offset: .2em; }
.v3 :focus-visible { outline: 2px solid #157861; outline-offset: 4px; }
.hero { max-width: 1720px; margin: 0 auto; padding: clamp(20px,4vw,59px) var(--edge) 0; }
.hero h1 { color: var(--green); margin-bottom: clamp(24px, 3vw, 42px); }
.display {
  display: block; white-space: nowrap;
  font: 600 clamp(55px, 9.2vw, 142px)/.91 Cormorant, Georgia, serif;
  letter-spacing: -.059em;
}
.thai {
  display: block; max-width: 20em; margin-top: 18px;
  font-size: clamp(25px, 3.2vw, 50px); font-weight: 620; line-height: 1.32;
}
.montage { display: grid; grid-template-columns: minmax(0,2.22fr) minmax(0,1fr); gap: 8px; min-height: clamp(330px, 36vw, 590px); }
.montage figure { position: relative; min-width: 0; background: #073228; }
.montage img { position: absolute; display: block; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.montage .tissue-img { object-position: 50% 41%; }
.montage .xerf img { object-position: 62% 60%; }
.montage figcaption { position: absolute; left: 15px; bottom: 15px; max-width: calc(100% - 30px); padding: 6px 11px; background: var(--paper); color: var(--green); font-size: 14px; line-height: 1.35; }
.v3 .credit { margin-top: 11px; color: #38574b; font-size: 13px; line-height: 1.5; }
.reading {
  display: grid; grid-template-columns: minmax(150px, 207px) minmax(0, 800px); gap: clamp(30px, 6.5vw, 105px);
  align-items: start; max-width: 1320px; margin: clamp(40px, 6vw, 85px) auto 0; padding: 0 var(--edge) 90px;
}
.contents { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; border-block: 1px solid var(--line); }
.contents summary { padding: 12px 0; color: var(--green); font-weight: 700; cursor: pointer; }
.contents nav { display: grid; padding-bottom: 9px; }
.contents nav a { padding-block: 6px; text-decoration: none; line-height: 1.45; font-size: 15px; }
.contents nav a:hover { text-decoration: underline; }
.v3 article { min-width: 0; font-size: 19px; line-height: 1.83; }
.v3 article > p:first-child { color: var(--green); font-size: clamp(22px,2.12vw,31px); font-weight: 610; line-height: 1.51; }
.v3 article p + p { margin-top: .88em; }
.chapter { margin-top: clamp(37px,6vw,72px); padding-top: 17px; border-top: 1px solid var(--line); }
.chapter h2 { margin: 0 0 .62em; color: var(--green); font-size: clamp(27px,3.25vw,46px); font-weight: 650; line-height: 1.35; }
.chapter h3 { margin: 1.45em 0 .42em; color: var(--green); font-size: clamp(23px,2.1vw,30px); font-weight: 630; line-height: 1.4; }
.v3 [id] { scroll-margin-top: 20px; }
.chapter[data-section="reset"] { background: var(--mist); padding: 22px clamp(17px,3vw,38px) 29px; }
.cite { font-size: .74em; font-weight: 670; display: inline-block; line-height: 1.28; }
.cite + .cite { margin-inline-start: 3px; }
.chapter table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 16px; line-height: 1.62; }
.chapter :is(td,th) { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.chapter th { background: var(--green); color: #fffef8; }
.chapter th:nth-child(2) { width: 42%; }
.chapter td:first-child { color: var(--green); font-weight: 640; }
.chapter details { padding: 11px 0 13px; border-bottom: 1px solid var(--line); }
.chapter details summary { color: var(--green); font-weight: 650; cursor: pointer; padding-block: 7px; }
.chapter details p { padding: 4px 0 1px 17px; }
.chapter ul, .chapter ol { margin: 0; padding-inline-start: 25px; }
.chapter li { margin-block: 6px; }
.chapter[data-section="references"] li { padding-block: 5px; font-size: 16px; overflow-wrap: anywhere; }
.chapter li:target { background: var(--mist); }

@media (max-width: 760px) {
  .reading { display: block; padding-bottom: 63px; }
  .contents { position: static; margin-bottom: 25px; max-height: none; }
  .contents nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 10px; }
  .contents nav a { display: flex; align-items: center; min-height: 44px; }
  .v3 article { font-size: 18px; }
  .montage { display: block; min-height: 0; }
  .montage .tissue { aspect-ratio: 1.12; margin-right: 13px; }
  .montage .xerf { width: 43%; aspect-ratio: 1.06; margin: max(-89px,-20vw) 0 0 auto; outline: 5px solid var(--paper); }
  .montage figcaption { bottom: 8px; left: 8px; max-width: calc(100% - 16px); padding: 4px 7px; font-size: 11px; }
  .montage .tissue figcaption { bottom: auto; top: 8px; }
  .hero h1 { margin-bottom: 21px; }
  .thai { margin-top: 11px; }
  .chapter table { font-size: 14px; }
  .chapter :is(td,th) { padding: 7px 5px; }
}

.hero .title-phrase { display: inline-block; }

.v3 .article-figure {
  margin: 24px 0 25px;
  border: 1px solid #c5d2c8;
  background: #fbf8ef;
}
.article-figure > img,
.article-figure .device-photo img,
.article-figure .micrograph img {
  display: block;
  width: 100%;
  height: auto;
}
.article-figure figcaption {
  display: grid;
  gap: 4px;
  border-top: 1px solid #d1ddd1;
  padding: 12px 16px 14px;
  font: 430 15px/1.56 Anuphan, sans-serif;
}
.article-figure figcaption strong { font-size: 19px; color: var(--green); font-weight: 680; }
.article-figure figcaption small { margin-top: 3px; color: #355b4a; font-size: 13px; }
.chapter .cycle-art,
.chapter .reset-art {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding: 0 11px 13px;
  gap: 8px;
  counter-reset: figure-step;
}
.chapter :is(.cycle-art,.reset-art) li {
  min-width: 0;
  margin: 0;
  counter-increment: figure-step;
}
.chapter :is(.cycle-art,.reset-art) li > span {
  display: block;
  padding: 5px 4px 0;
  line-height: 1.5;
  font-size: 15px;
  font-weight: 620;
}
.chapter :is(.cycle-art,.reset-art) li > span::before {
  content: "0" counter(figure-step);
  display: block;
  font: 600 28px/1 Cormorant, Georgia, serif;
  color: #37604e;
  margin: 5px 0 3px;
}
.threads {
  isolation: isolate;
  position: relative;
  aspect-ratio: 1.55;
  margin-top: 11px;
  overflow: hidden;
  background: radial-gradient(ellipse at 67% 32%,#4c7769,#102f28 74%);
}
.threads i {
  position: absolute;
  z-index: -1;
  left: -9%;
  top: 29%;
  width: 118%;
  height: 30%;
  border-top: 4px solid #e8debd;
  border-radius: 50%;
  filter: drop-shadow(0 3px 1px #142b21a0);
  transform: rotate(22deg);
}
.threads i:nth-child(2) { top: 43%; transform: rotate(-22deg); border-color: #93b5a7; }
.threads i:nth-child(3) { top: 50%; transform: rotate(10deg); border-width: 6px; }
.threads i:nth-child(4) { top: 65%; transform: rotate(-27deg); border-width: 3px; border-color: #c1b994; }
.threads i:nth-child(5) { top: 78%; transform: rotate(6deg); border-width: 5px; border-color: #889d85; }
.threads.fragmented i { mask-image: linear-gradient(90deg,#000 0 36%,transparent 36% 49%,#000 49% 78%,transparent 78% 83%,#000 83%); }
.threads.fragmented i:nth-child(even) { mask-image: linear-gradient(90deg,#000 0 25%,transparent 25% 35%,#000 35% 57%,transparent 57% 68%,#000 68%); }
.threads b {
  position: absolute;
  left: 25%;
  top: 39%;
  width: 56%;
  height: 27%;
  transform: rotate(-17deg);
  border-radius: 90% 24% 88% 22%;
  background: radial-gradient(ellipse at 50% 50%,#67484b 0 15%,#e5bfb0 20%,#ad7f75 70%);
  box-shadow: inset 0 1px 3px #eef3d999;
}
.threads.signal b { border-radius: 50%; background: #c9b18d; box-shadow: 0 0 16px 3px #d7bf91; width: 14%; height: 23%; left: 50%; }
.threads.renewed i:nth-child(3) { border-color: #f6ebca; }
.article-figure.figure-device {
  background: #e9e2d0;
  display: grid;
  grid-template-columns: minmax(0,1.65fr) minmax(0,1fr);
}
.article-figure .device-photo { background: #e3dfd2; overflow: hidden; }
.article-figure .device-photo img { height: clamp(340px,37vw,470px); object-fit: contain; object-position: center; }
.article-figure.figure-device figcaption { align-content: center; border-top: 0; padding: 21px; }
.thermal-grid, .measurement-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 11px; }
.thermal-panel, .measurement-grid > section { background: #e8efe7; min-width: 0; padding: 11px; border: 1px solid #d4dfd3; }
.thermal-panel strong { color: #163d31; font: 600 clamp(22px,4vw,38px)/1.12 Cormorant, Georgia, serif; }
.thermal-panel p { margin-top: 6px; font-size: 14px; line-height: 1.4; }
.skin {
  position: relative;
  height: clamp(80px,16vw,167px);
  overflow: hidden;
  margin-top: 5px;
  border-top: 6px solid #d3ab86;
  background: linear-gradient(180deg,#ae7369 0 7%,#e4bea4 7% 44%,#dccb99 44% 100%);
}
.skin::after { position: absolute; inset: 0; content: ""; background: repeating-linear-gradient(0deg,transparent 0 9px,#855d3b24 10px,transparent 11px); }
.skin i { position: absolute; inset: 0; background: radial-gradient(ellipse 28% 55% at 50% 6%,#fceda9 0%,#e85d43 34%,#95294b8a 63%,transparent 100%); }
.skin.deeper i { background: radial-gradient(ellipse 45% 88% at 50% 7%,#fceda9 0%,#e85d43 27%,#95294b8a 66%,transparent 100%); }
.measurement-grid > section { display: flex; flex-direction: column; }
.measure-key { color: #3d6553; font-size: 13px; font-weight: 620; }
.measurement-grid h4 { font: 650 clamp(15px,2vw,21px)/1.4 Anuphan,sans-serif; margin: 4px 0; color: var(--green); }
.measurement-grid p { font-size: 14px; line-height: 1.45; margin-bottom: 8px; }
.chapter .measurement-grid ol {
  display: flex;
  gap: 5px;
  justify-content: space-between;
  list-style: none;
  margin-top: auto;
  padding: 0;
  border-top: 3px solid #638c78;
}
.chapter .measurement-grid li { flex: 1; margin: 0; padding-top: 5px; font-size: 13px; line-height: 1.45; }
.chapter .measurement-grid li::before {
  display: block; content: ""; margin-top: -10px; margin-bottom: 5px;
  width: 7px; height: 7px; border-radius: 50%; background: #2b5b4a;
}
.thermal-key { padding: 0 14px 9px; color: #355b4a; font-size: 13px; }
.thermal-key span {
  display: inline-block; width: 16px; height: 10px; margin-right: 6px;
  background: linear-gradient(90deg, #95294b, #e85d43, #fceda9);
}
.pn-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.25fr;
  gap: 6px;
  align-items: center;
  padding: 12px;
}
.pn-flow span:nth-child(odd) { padding: 10px 8px; background: #e5eee8; font-size: 15px; line-height: 1.45; font-weight: 590; }
.pn-flow span:nth-child(even) { font-size: 16px; font-weight: 700; color: #477c69; }
.article-figure .micrograph { margin: 0 12px 10px; padding: 0 0 7px; }
.article-figure .micrograph img { width: min(100%, 560px); }
.article-figure .micrograph p { margin-top: 7px; font-size: 14px; padding-left: 0; }
@media(max-width: 560px) {
  .v3 .article-figure { margin-block: 18px 21px; }
  .article-figure figcaption { padding: 10px; font-size: 14px; }
  .article-figure figcaption strong { font-size: 17px; }
  .chapter .cycle-art, .chapter .reset-art { gap: 4px; padding-inline: 5px; }
  .chapter :is(.cycle-art,.reset-art) li > span { font-size: 13px; padding-inline: 3px; }
  .chapter :is(.cycle-art,.reset-art) li > span::before { font-size: 23px; }
  .threads { margin-top: 6px; aspect-ratio: 1.12; }
  .threads i { border-top-width: 3px; }
  .threads i:nth-child(3), .threads i:nth-child(5) { border-top-width: 4px; }
  .article-figure.figure-device { display: block; }
  .article-figure .device-photo img { height: 300px; object-position: center; }
  .article-figure.figure-device figcaption { border-top: 1px solid #d1ddd1; padding: 10px; }
  .thermal-grid, .measurement-grid { gap: 6px; padding: 6px; }
  .thermal-panel, .measurement-grid > section { padding: 7px; }
  .thermal-panel p, .measurement-grid p { font-size: 13px; }
  .pn-flow { grid-template-columns: 1fr; gap: 4px; }
  .pn-flow span:nth-child(even) { justify-self: center; transform: rotate(90deg); line-height: 1; }
}
