@font-face {
  font-family: Kanit;
  src: url("kanit-semibold.67e64baf1a7e.ttf") format("truetype");
  font-display: swap;
  font-weight: 600;
}
@font-face {
  font-family: Noto;
  src: url("noto-sans.bfb7bb691513.ttf") format("truetype");
  font-display: swap;
  font-weight: 100 900;
}
:root {
  --cobalt: #2356a3;
  --coral: #e76f61;
  --pale: #dcebf5;
  --ink: #17243b;
  --white: #fff;
  --muted: #526279;
  --grout: 4px;
  --radius: 10px;
  --max: 1160px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 0;
  background: var(--pale);
  color: var(--ink);
  font: 17px/1.68 Noto, Arial, sans-serif;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
a:focus-visible,
summary:focus-visible {
  outline: 4px solid var(--coral);
  outline-offset: 4px;
}
.shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  left: -500px;
  top: 10px;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
}
.skip:focus {
  left: 10px;
}
.site-header {
  background: var(--white);
  border-bottom: var(--grout) solid var(--cobalt);
}
.header-row {
  min-height: 112px;
  display: flex;
  align-items: stretch;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  max-width: 270px;
  font: 600 17px/1.12 Kanit, Arial, sans-serif;
  color: var(--ink);
}
.brand b {
  display: block;
  color: var(--cobalt);
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.brand-grid {
  width: 50px;
  height: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  flex: 0 0 auto;
}
.brand-grid i {
  border-radius: 6px;
  background: var(--cobalt);
  box-shadow: inset 0 -4px 0 rgb(0 0 0 / 0.12);
}
.brand-grid i:nth-child(2),
.brand-grid i:nth-child(3) {
  background: var(--coral);
}
.icon-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(105px, 1fr));
  margin-left: auto;
}
.icon-rail a {
  display: flex;
  min-width: 0;
  padding: 14px 15px;
  border-left: var(--grout) solid var(--pale);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  text-decoration: none;
  font: 600 13px/1.1 Kanit, Arial, sans-serif;
  text-align: center;
}
.icon-rail a:hover {
  background: #f3f8fb;
}
.icon-rail .nav-call {
  background: var(--coral);
  color: var(--white);
  min-width: 160px;
}
.icon-rail .nav-call img {
  filter: brightness(0) invert(1);
}
.home-hero {
  padding: 74px 0 94px;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.85), rgb(220 235 245 / 0.6)),
    repeating-linear-gradient(0deg, transparent 0 58px, rgb(35 86 163 / 0.055) 58px 60px),
    repeating-linear-gradient(90deg, transparent 0 58px, rgb(35 86 163 / 0.055) 58px 60px);
}
.home-intro {
  text-align: center;
  max-width: 930px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--cobalt);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font: 600 13px/1.4 Kanit, Arial, sans-serif;
}
h1,
h2,
h3,
summary {
  font-family: Kanit, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
h1 {
  font-size: clamp(44px, 7vw, 82px);
  margin: 0 0 24px;
}
.lead {
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.55;
  color: #33455f;
  margin: 0;
}
.room-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "one call two"
    "three call four"
    "five five four";
  gap: var(--grout);
  margin-top: 52px;
  background: var(--white);
  border: var(--grout) solid var(--white);
  border-radius: 16px;
  box-shadow: 0 28px 70px rgb(23 36 59 / 0.16);
  overflow: hidden;
}
.map-tile {
  position: relative;
  min-height: 190px;
  padding: 24px;
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 18px;
  background: var(--white);
  text-decoration: none;
  box-shadow: inset 0 -7px 0 rgb(35 86 163 / 0.06);
  transition: transform 160ms ease, background 160ms ease;
  animation: tile-in 420ms both;
}
.map-tile:hover {
  background: #f7fbfe;
  transform: translateY(-3px);
}
.map-tile img {
  grid-row: 1 / 3;
  align-self: center;
}
.map-tile strong {
  font: 600 24px/1.1 Kanit, Arial, sans-serif;
}
.map-tile small {
  color: var(--muted);
  font-size: 14px;
}
.tile-number {
  position: absolute;
  top: 12px;
  right: 16px;
  color: var(--pale);
  font: 600 31px/1 Kanit, Arial, sans-serif;
}
.tile-1 { grid-area: one; animation-delay: 30ms; }
.tile-2 { grid-area: two; animation-delay: 90ms; }
.tile-3 { grid-area: three; animation-delay: 150ms; }
.tile-4 { grid-area: four; animation-delay: 210ms; }
.tile-5 { grid-area: five; animation-delay: 270ms; }
.call-tile {
  grid-area: call;
  min-height: 384px;
  background: var(--coral);
  color: var(--white);
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  place-items: center;
  text-align: center;
  animation-delay: 330ms;
}
.call-tile:hover {
  background: #d65d51;
}
.call-tile img {
  grid-row: auto;
  filter: brightness(0) invert(1);
}
.call-tile strong {
  font-size: 30px;
  max-width: 230px;
}
.call-tile b {
  font: 600 25px/1 Kanit, Arial, sans-serif;
}
@keyframes tile-in {
  from { opacity: 0; transform: translateY(12px); }
}
.home-reading,
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 72px;
  padding-top: 88px;
  padding-bottom: 100px;
  align-items: start;
}
.article-hero {
  background: var(--white);
  border-bottom: var(--grout) solid var(--pale);
  padding: 68px 0;
}
.article-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 65px;
  align-items: center;
}
.article-head h1 {
  font-size: clamp(41px, 5.8vw, 70px);
  max-width: 820px;
}
.primary-call {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 7px 22px;
  margin-top: 28px;
  background: var(--coral);
  color: var(--white);
  padding: 17px 22px;
  border-radius: var(--radius);
  box-shadow: inset 0 -6px 0 rgb(0 0 0 / 0.12);
  text-decoration: none;
  font-family: Kanit, Arial, sans-serif;
}
.primary-call b {
  font-size: 21px;
}
.hero-symbol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grout);
  background: var(--pale);
  border: var(--grout) solid var(--pale);
  border-radius: 16px;
  transform: rotate(2deg);
  overflow: hidden;
  box-shadow: 18px 20px 0 rgb(35 86 163 / 0.12);
}
.hero-symbol span {
  min-height: 145px;
  background: var(--pale);
}
.hero-symbol .ghost-tile:nth-child(2) {
  background: var(--cobalt);
}
.hero-symbol .ghost-tile:last-child {
  background: var(--coral);
}
.icon-tile {
  display: grid;
  place-items: center;
  background: var(--white) !important;
}
.prose {
  min-width: 0;
}
.prose > p:first-child,
.prose > section:first-child p:first-of-type {
  font-size: 19px;
}
.prose section,
.prose details {
  background: var(--white);
  padding: 32px 38px;
  margin-bottom: var(--grout);
  border-left: 8px solid transparent;
  box-shadow: inset 0 -5px 0 rgb(35 86 163 / 0.045);
}
.prose section:nth-child(3n + 1) {
  border-left-color: var(--cobalt);
}
.prose section:nth-child(3n + 2) {
  border-left-color: var(--coral);
}
.prose section:nth-child(3n) {
  border-left-color: #87b9d5;
}
.prose h2,
.prose summary {
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 17px;
}
.prose p {
  margin: 0 0 17px;
}
.prose p:last-child {
  margin-bottom: 0;
}
.prose li + li {
  margin-top: 9px;
}
.prose details summary {
  cursor: pointer;
  color: var(--cobalt);
}
.prose details[open] summary {
  color: var(--ink);
}
.route-board,
.jump-map {
  position: sticky;
  top: 22px;
  background: var(--cobalt);
  color: var(--white);
  border: var(--grout) solid var(--white);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 15px 16px 0 rgb(23 36 59 / 0.12);
}
.route-board h2,
.jump-map h2,
.jump-title {
  display: block;
  margin: 0 0 20px;
  font-size: 27px;
  font-family: Kanit, Arial, sans-serif;
}
.route-board a,
.jump-map a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgb(255 255 255 / 0.35);
  text-decoration: none;
  font-weight: 700;
}
.jump-map span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: var(--white);
  color: var(--cobalt);
  font-family: Kanit, Arial, sans-serif;
}
.related {
  padding: 76px 0;
  background: var(--white);
  border-top: var(--grout) solid var(--pale);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grout);
  background: var(--pale);
  border: var(--grout) solid var(--pale);
  border-radius: 14px;
  overflow: hidden;
}
.related-card {
  min-height: 150px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  text-decoration: none;
  font: 600 19px/1.25 Kanit, Arial, sans-serif;
}
.related-card:hover {
  background: #f4f9fc;
}
.closing-call {
  padding: 64px 0;
  background: var(--coral);
  color: var(--white);
}
.closing-call .eyebrow {
  color: var(--white);
}
.closing-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.closing-grid h2 {
  margin: 0;
  font-size: clamp(31px, 4.2vw, 55px);
  max-width: 750px;
}
.closing-grid > a {
  min-width: 260px;
  min-height: 110px;
  display: grid;
  place-content: center;
  background: var(--white);
  color: var(--cobalt);
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  box-shadow: inset 0 -7px 0 rgb(35 86 163 / 0.12);
  font-family: Kanit, Arial, sans-serif;
}
.closing-grid > a span {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}
.closing-grid > a b {
  font-size: 25px;
}
footer {
  padding: 62px 0 84px;
  background: var(--ink);
  color: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 55px;
}
.footer-grid h2 {
  margin: 0 0 18px;
  font-size: 22px;
}
.footer-grid p {
  color: #ced7e5;
  max-width: 620px;
}
.footer-grid a {
  display: block;
  color: #dbe8f4;
  margin: 10px 0;
}
.mobile-call {
  display: none;
}
@media (max-width: 900px) {
  .header-row {
    display: block;
    padding-top: 15px;
  }
  .brand {
    padding-bottom: 15px;
  }
  .icon-rail {
    margin: 0 -20px;
    grid-template-columns: repeat(4, 1fr);
    border-top: var(--grout) solid var(--pale);
  }
  .icon-rail .nav-call {
    display: none;
  }
  .room-map {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "one two"
      "call call"
      "three four"
      "five five";
  }
  .call-tile {
    min-height: 230px;
  }
  .article-head,
  .home-reading,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .hero-symbol {
    max-width: 420px;
  }
  .route-board,
  .jump-map {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid section:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 620px) {
  body {
    font-size: 16px;
    padding-bottom: 72px;
  }
  .shell {
    width: min(100% - 26px, var(--max));
  }
  .header-row {
    padding-top: 12px;
  }
  .icon-rail {
    margin: 0 -13px;
    grid-template-columns: 1fr 1fr;
  }
  .icon-rail a {
    border-top: var(--grout) solid var(--pale);
    min-height: 85px;
  }
  .home-hero {
    padding: 52px 0 65px;
  }
  h1 {
    font-size: clamp(40px, 13vw, 60px);
  }
  .room-map {
    grid-template-columns: 1fr;
    grid-template-areas: "one" "two" "three" "call" "four" "five";
  }
  .map-tile,
  .call-tile {
    min-height: 180px;
  }
  .article-hero {
    padding: 46px 0;
  }
  .article-head {
    gap: 42px;
  }
  .article-head h1 {
    font-size: clamp(39px, 12vw, 56px);
  }
  .hero-symbol {
    max-width: 310px;
  }
  .hero-symbol span {
    min-height: 120px;
  }
  .home-reading,
  .article-layout {
    gap: 38px;
    padding-top: 56px;
    padding-bottom: 62px;
  }
  .prose section,
  .prose details {
    padding: 25px 22px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .closing-grid {
    display: block;
  }
  .closing-grid > a {
    margin-top: 28px;
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid section:first-child {
    grid-column: auto;
  }
  .mobile-call {
    position: fixed;
    z-index: 80;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 18px;
    background: var(--coral);
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 -5px 24px rgb(23 36 59 / 0.26);
    font-family: Kanit, Arial, sans-serif;
  }
  .mobile-call span {
    font-size: 13px;
  }
  .mobile-call b {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .map-tile {
    animation: none;
    transition: none;
  }
}
