:root {
  color-scheme: light;
  --paper: #f6f5f3;
  --ink: #252525;
  --muted: #636363;
  --line: #deddd9;
  --blue: #244c80;
  font-family: "IBM Plex Sans Thai", Tahoma, system-ui, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: #e9e8e5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; line-height: 1.65; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
.page { max-width: 600px; min-height: 100vh; margin: auto; background: var(--paper); }
.cover { width: 100%; height: auto; object-fit: contain; }
.profile { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem .75rem; }
.logo { width: 80px; height: 80px; flex: 0 0 80px; border-radius: 50%; object-fit: cover; }
h1 { font-size: clamp(1.2rem, 4.5vw, 1.5rem); line-height: 1.4; font-weight: 700; overflow-wrap: anywhere; }
.jump-links { display: flex; gap: .5rem; padding: .5rem 1.5rem 0; }
.jump-links a { padding: .4rem .95rem; border: 1px solid var(--line); border-radius: 99px; font-size: .875rem; color: #4a4a4a; }
.jump-links a:hover { background: #eae9e5; }
.content { padding: .25rem 1.5rem 0; }
.section { padding-top: 1.5rem; }
h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: .875rem; color: #505050; line-height: 1.5; }
.link-list { display: grid; gap: .75rem; }
.link-button { position: relative; display: flex; justify-content: center; align-items: center; gap: .75rem; min-height: 58px; padding: .85rem 3.5rem; text-align: center; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 2px 2px #0000000c; font-weight: 600; background: var(--paper); transition: background .15s, box-shadow .15s, transform .15s; }
.link-button:hover { background: #fff; box-shadow: 0 3px 8px #0000000b; transform: translateY(-1px); }
.social-icon, .emoji-icon, .pin { position: absolute; left: 1rem; width: 32px; height: 32px; object-fit: contain; }
.emoji-icon { display: grid; place-items: center; font-size: 1.5rem; }
.branch-button { justify-content: flex-start; text-align: left; padding: 1rem 1rem 1rem 3.5rem; }
.pin { width: 25px; height: 25px; left: 1.1rem; color: var(--blue); }
.branch-label { font-weight: 600; }
.map-label { display: block; color: var(--muted); font-size: .875rem; font-weight: 400; margin-top: .1rem; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .75rem; }
.photo-card { display: block; margin: 0; min-width: 0; overflow: hidden; border-radius: 8px; background: #fff; border: 1px solid var(--line); transition: box-shadow .15s; }
a.photo-card:hover { box-shadow: 0 4px 12px #00000012; }
.photo-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.card-label { display: block; padding: .75rem; font-size: .9375rem; line-height: 1.6; font-weight: 500; }
.awards { display: grid; gap: 1rem; }
.awards .photo-card img { aspect-ratio: auto; object-fit: contain; }
.footer { padding: 2.5rem 1.5rem 2rem; text-align: center; color: var(--muted); font-size: .875rem; }
.footer strong { display: block; color: var(--blue); font-size: 1rem; margin-bottom: .25rem; }
.skip-link { position: absolute; left: 1rem; top: -5rem; padding: .5rem 1rem; background: white; z-index: 10; }
.skip-link:focus { top: 1rem; }
@media (min-width: 640px) {
  body { padding: 2rem 1rem; }
  .page { min-height: calc(100vh - 4rem); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 60px #00000008; }
}
@media (max-width: 359px) {
  .profile { padding-inline: 1rem; gap: .75rem; }
  .logo { width: 64px; height: 64px; flex-basis: 64px; }
  .jump-links { padding-inline: 1rem; }
  .content { padding-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
