html, body { overflow: hidden !important; height: 100%; } /* landing page: the scene stays on the Home shot */
#lp { position: fixed; inset: 0; z-index: 8; display: grid; place-items: center; padding: 100px clamp(16px, 4vw, 48px) 64px; pointer-events: none; background: rgba(5,7,10,.66); transition: background .5s ease; } /* the card in the middle of the screen, the scene dimmed behind it */
#lp .card { position: relative; pointer-events: auto; width: min(760px, 100%); max-height: 100%; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255,176,32,.35); background: linear-gradient(160deg, rgba(20,24,30,.62), rgba(8,10,13,.68)); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 30px 80px rgba(0,0,0,.45); padding: 38px clamp(22px, 5vw, 48px) 30px; font-family: "Inter", "Noto Sans Thai", sans-serif; font-weight: 300; color: rgba(237,242,247,.82);
  font-size: .92rem; line-height: 1.65; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .9s ease .5s, transform .9s cubic-bezier(.2,.7,.2,1) .5s; scrollbar-width: thin; scrollbar-color: rgba(255,176,32,.35) transparent; }
#boot.done ~ #lp .card { opacity: 1; transform: none; }
html.early #lp .card { opacity: 1; transform: none; transition-delay: 0s; } /* shown with the first paint (assets/first.js), before the scene is ready */
#lp.off { background: transparent; }
#lp.off .card { opacity: 0 !important; transform: translateY(14px) scale(.98) !important; pointer-events: none; transition-delay: 0s; }
#lp .kick { display: block; font-size: .74rem; letter-spacing: .03em; color: #ffb020; }
#lp h1 { margin: 8px 0 18px; font: italic 400 clamp(2rem, 4.2vw, 2.9rem)/1.08 "Cormorant Garamond", "Noto Serif Thai", serif; text-transform: none; letter-spacing: .01em; color: #edf2f7; }
#lp h1 span { color: #ffb020; }
#lp h2 { margin: 26px 0 8px; font: 500 1.02rem/1.3 "Inter", "Noto Sans Thai", sans-serif; text-transform: none; letter-spacing: .01em; color: #edf2f7; }
#lp p { margin: 0 0 12px; }
#lp .lead { font-size: inherit; line-height: inherit; color: inherit; margin: 0 0 12px; } /* the opening paragraph is ordinary body text (the home page has its own, larger .lead) */
#lp ul, #lp ol { margin: 0 0 12px; padding-left: 1.2em; }
#lp li { margin: 4px 0; }
#lp li::marker { color: rgba(255,176,32,.7); }
#lp b { font-weight: 500; color: #edf2f7; }
#lp a { color: #ffb020; text-decoration: none; border-bottom: 1px solid rgba(255,176,32,.35); }
#lp a:hover { border-bottom-color: #ffb020; }
#lp .cta { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
#lp .foot { margin-top: 18px; font-size: .72rem; color: rgba(237,242,247,.4); }
#lp .x { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 0; background: none; color: rgba(237,242,247,.7); font: 300 1.6rem/1 "Inter", sans-serif; cursor: pointer; }
#lp .x:hover { color: #ffb020; }
#lp .by { font-size: .78rem; color: rgba(237,242,247,.5); margin: -8px 0 16px; }
#lp .qa b { display: block; margin-bottom: 2px; }
#lp .ph { display: flex; gap: 12px; justify-content: center; margin: 4px 0 6px; } /* product photos */
#lp .ph img { max-height: 240px; max-width: calc(50% - 6px); width: auto; height: auto; object-fit: contain; }
#lp .ph img:only-child { max-width: 100%; }
#lp details.q { border-top: 1px solid rgba(255,255,255,.08); } /* FAQ: a list of questions, each opens its answer when clicked */
#lp details.q + .more { margin-top: 0; }
#lp summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 10px 2px 10px 0; list-style: none; cursor: pointer; font: 400 .88rem/1.4 "Inter", "Noto Sans Thai", sans-serif; color: #edf2f7; -webkit-tap-highlight-color: transparent; }
#lp summary::-webkit-details-marker { display: none; }
#lp summary::marker { content: ""; }
#lp summary::after { content: "+"; flex: none; width: 1em; text-align: center; font: 300 1.1rem/1.1 "Inter", sans-serif; color: #ffb020; transition: transform .2s ease; }
#lp details.q[open] > summary::after { transform: rotate(45deg); } /* the plus turns into a cross */
#lp summary:hover { color: #fff; }
#lp summary:focus { outline: none; }
#lp summary:focus-visible { outline: 2px solid #ffb020; outline-offset: 2px; }
#lp details.q > p { margin: 0; padding: 0 2.2em 13px 0; font-size: .84rem; }
#lp table { width: 100%; border-collapse: collapse; margin: 4px 0 14px; }
#lp th, #lp td { text-align: left; vertical-align: top; padding: 7px 10px 7px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-weight: 300; }
#lp thead th { font-weight: 500; color: #ffb020; border-bottom-color: rgba(255,176,32,.35); }
#lp tbody th { font-weight: 500; color: #edf2f7; width: 30%; }
#lp .more { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
#lp .more b { display: block; margin-bottom: 6px; }
#lp .more ul { list-style: none; padding: 0; margin: 0; }
.side a.ext.on { color: #ffb020; font-weight: 500; }
html[data-page="card"] .side a[data-go].on { color: rgba(255,176,32,.55); font-weight: 300; } /* these pages are not a stop on the home page's journey, so no section is lit */
html[data-page="card"] .side a[data-go].on::after { background: rgba(170,178,188,.28); border-color: rgba(200,206,214,.55); box-shadow: none; }
@media (max-width: 860px) { html[data-page="card"] .contact { display: none; } }
@media (max-width: 860px) { #lp { padding: 58px 10px 28px; } #lp .card { width: 100%; font-size: .88rem; padding: 24px 20px 22px; } #lp h1, #lp h2.h1 { font-size: 1.9rem; margin: 6px 0 12px; } #lp h2 { font-size: .96rem; margin-top: 20px; } } /* phones: below the name and 'Arrange a visit' */
