/* Scena Studio — base: type, colour, links, focus */
html, body { margin: 0; }
body { background: #FFFFFF; font-family: 'Archivo', 'Segoe UI', Inter, -apple-system, system-ui, Arial, sans-serif; color: #17181C; -webkit-font-smoothing: antialiased; }
.mono { font-family: 'JetBrains Mono', Consolas, 'SF Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
select { font-family: inherit; }
h1, h2, h3, p { margin: 0; }
.sec { padding: 0 60px; }
.wrap { max-width: 1140px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', Consolas, 'SF Mono', ui-monospace, monospace; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #D8411C; font-weight: 700; }
.eyebrow::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 1.5px; background: #D8411C; box-shadow: 0 0 0 2px rgba(216, 65, 28, 0.18); }
.lead { font-size: 17px; line-height: 1.62; color: #4E5258; }
.card { background: #FFFFFF; border: 1px solid #DFDDD6; border-radius: 6px; box-shadow: 0 1px 2px rgba(17, 19, 24, 0.03); }
span, label, h1, h2, h3, p, li { overflow-wrap: break-word; }
.faqlist > .faqrow:first-child { border-top: 0; }
.fchip { transition: background .16s ease, color .16s ease, border-color .16s ease; }
.fchip:hover { border-color: #17181C; }
.rail { overflow: hidden; position: relative; }
.rail-track { display: flex; width: max-content; align-items: center; animation: rail 44s linear infinite; }
.rail:hover .rail-track { animation-play-state: paused; }
@keyframes rail { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .rail-track { animation: none; } }
/* pointer states */
a[href], button, select { transition: background-color .14s ease, border-color .14s ease, color .14s ease, box-shadow .16s ease, transform .14s ease, opacity .14s ease; }
a[href]:not([style*="background:"]):not([style*="border-radius"]):not([style*="display: flex"]):hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a[style*="display: flex"]:not([style*="background:"]):hover { opacity: 0.68; }
a[style*="border-radius"][style*="border: 1px"]:not([style*="background:"]):hover { border-color: #17181C !important; background: rgba(23,24,28,0.05); }
a[style*="background:"]:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(23,24,28,0.22); }
a[style*="background:"]:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(23,24,28,0.18); }
a[style*="background: #D8411C"]:hover { background: #C23A18 !important; box-shadow: 0 7px 18px rgba(216,65,28,0.36); }
a[style*="background: #17181C"]:hover { background: #2E3036 !important; }
a[style*="background: #FFFFFF"]:hover { background: #FFFFFF !important; border-color: #17181C !important; }
a[style*="background: rgba(216,65,28,0.12)"]:hover { background: rgba(216,65,28,0.2) !important; }
a[style*="background: rgba(255,255,255,0.05)"]:hover { background: rgba(255,255,255,0.1) !important; box-shadow: none; transform: none; }
button[style*="background: none"]:hover { background: rgba(23,24,28,0.05) !important; }
select:hover { border-color: #17181C; }
.qcard { position: relative; transform: none !important; transition: border-color .22s cubic-bezier(0.22,1,0.36,1), box-shadow .22s ease; }
.qfan:hover .qcard { transform: none !important; opacity: 1; }
.qfan:hover .qcard:hover { transform: none !important; opacity: 1; z-index: 2; border-color: rgba(23,24,28,0.28) !important; box-shadow: 0 16px 36px -12px rgba(23,24,28,0.16) !important; }
a[href] > svg:last-child { transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1); }
a[href]:hover > svg:last-child { transform: translateX(2.5px); }
@media (prefers-reduced-motion: reduce) {
  a[href], button, select, .qcard, a[href] > svg:last-child { transition: none; }
  a[style*="background:"]:hover, a[href]:hover > svg:last-child { transform: none; }
  .qfan:hover .qcard, .qfan:hover .qcard:hover { transform: none !important; }
}

/* ---- keyboard focus: a ring you can see, only when you got there by keyboard ---- */
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid #D8411C; outline-offset: 3px; border-radius: 3px; }
select:focus, select:focus-visible {
  outline: none !important;
  border-color: #D8411C !important;
  box-shadow: 0 0 0 2px rgba(216, 65, 28, 0.28);
}
select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  color: #17181C;
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%2317181C' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.75 4.5L6 7.75L9.25 4.5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 12px 12px !important;
  padding: 0 28px 0 11px !important;
  line-height: 1.2 !important;
  vertical-align: middle;
  cursor: pointer;
}
html[lang="en"] select[data-lang-select],
html[lang="vi"] select[data-lang-select],
select[data-lang-select] {
  width: 66px !important;
  height: 26px !important;
  min-height: 26px !important;
  padding: 0 18px 0 7px !important;
  background-position: right 5px center !important;
  background-size: 10px 10px !important;
  font-size: 11.5px !important;
  border-radius: 4px !important;
}
select.fld {
  padding: 9px 34px 9px 11px !important;
  background-position: right 12px center !important;
}
select option {
  background-color: #FFFFFF;
  color: #17181C;
  font-weight: 500;
}
select[style*="color: rgb(255, 255, 255)"],
select[style*="color:#FFFFFF"],
select[style*="color: #FFFFFF"] {
  color-scheme: dark;
  background-color: #1F2229 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23FFFFFF' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.75 4.5L6 7.75L9.25 4.5'/%3E%3C/svg%3E") !important;
  color: #FFFFFF !important;
}
select[style*="color: rgb(255, 255, 255)"] option,
select[style*="color:#FFFFFF"] option,
select[style*="color: #FFFFFF"] option {
  background-color: #1F2229;
  color: #FFFFFF;
}
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }
/* ---- pressed: a lifted button drops back flat while the mouse is down ---- */
a[style*="background:"]:active { transform: translateY(0) !important; box-shadow: none !important; }
button:active { transform: translateY(0); }
/* ---- a block link reacts in its title, not with an underline across the whole block ---- */
a.post, a.post:hover { text-decoration: none !important; }
a.post .post-t { transition: color 0.15s ease; }
a.post:hover .post-t { color: #D8411C; }
@media (prefers-reduced-motion: reduce) { a.post .post-t { transition: none; } }

/* rgb-twins */
a[style*="background: rgb(216, 65, 28)"]:hover {background: #C23A18 !important; box-shadow: 0 7px 18px rgba(216,65,28,0.36); }
a[style*="background: rgb(23, 24, 28)"]:hover {background: #2E3036 !important; }
a[style*="background: rgb(255, 255, 255)"]:hover {background: #FFFFFF !important; border-color: #17181C !important; }
/* /rgb-twins */
h1, h2 { font-stretch: 100%; letter-spacing: -0.028em; }
/* ---- social & circular icon buttons: enforce strict 1:1 aspect ratio ---- */
a[style*="border-radius: 50%"], span[style*="border-radius: 50%"]:has(> svg) {
  aspect-ratio: 1 / 1;
  min-height: 0 !important;
  flex-shrink: 0 !important;
  box-sizing: border-box;
}
a[style*="border-radius: 50%"] > svg, span[style*="border-radius: 50%"] > svg {
  display: block;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
}
[data-block="chpic"] .dig {
  max-width: 100%;
  box-sizing: border-box;
}
img {
  max-width: 100%;
  height: auto;
}
footer .sec {
  content-visibility: auto;
  contain-intrinsic-size: auto 280px;
}
