@font-face {
  font-family: Anuphan;
  src: url("anuphan.ttf") format("truetype");
  font-weight: 100 700;
  font-display: swap;
}
#hero {
  container-type: inline-size;
  position: relative;
  isolation: isolate;
  display: block;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(115deg,#faf7ef,#fffdf8 50%,#f5eee3);
}
#hero::before, #hero::after { content: none; }
#hero .header { z-index: 3; position: relative; }
#hero .handoff-copy {
  position: absolute;
  z-index: 2;
  left: 4%;
  top: 23%;
  width: 34%;
  text-align: left;
}
#hero h1 { display: block; margin: 0; font-family: Anuphan,Sarabun,sans-serif; letter-spacing: 0; }
#hero h1 > span { display: block; font-size: clamp(42px,5.1cqw,78px); font-weight: 700; line-height: 1.28; color: #18352b; }
#hero h1 > span + span { margin-top: 12px; font-size: clamp(25px,2.5cqw,39px); line-height: 1.55; font-weight: 600; color: #214c3d; }
#hero h1 strong { color: #8a654b; }
.handoff-copy > p { margin: 24px 0 26px; font-size: clamp(16px,1.36cqw,23px); line-height: 1.7; color: #54685e; }
.handoff-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
#hero .handoff-actions .button { width: auto; min-height: 58px; padding: 15px 23px; gap: 24px; border-radius: 14px; font-size: 16px; }
.handoff-card { display: block; width: 306px; max-width: 90%; height: auto; margin: 8px 0 0 -10px; }
.handoff-scene { display: block; position: absolute; inset: auto -2% 0 auto; width: 72%; mask-image: linear-gradient(to right,transparent,black 27%),linear-gradient(to bottom,transparent,black 13%); mask-composite: intersect; }
.handoff-scene img { width: 100%; display: block; height: auto; }
.handoff-devices { position: absolute; top: 24%; left: 39%; width: 33%; display: flex; align-items: flex-start; gap: 3.8%; }
.handoff-devices figure { margin: 0; flex: 1; min-width: 0; }
.handoff-devices figure + figure { margin-top: 7%; }
.handoff-devices figcaption { margin: 0 auto .65em; width: fit-content; padding: .28em .85em; border: 1px solid #cdd7ca; border-radius: 2em; color: #214c3d; background: #f9faf2; font: 600 clamp(12px,1.1cqw,18px)/1.4 Anuphan,sans-serif; }
.handoff-devices img { width: 100%; height: auto; display: block; border: clamp(3px,.34cqw,6px) solid #333b37; border-radius: clamp(14px,1.8cqw,30px); box-shadow: 2px 3px 0 #818079,7px 15px 21px #41291735; }
@media (min-width:1100px) {
  #hero .header { padding: 30px 5.2%; height: auto; }
  #hero .header .status { width: auto; border: 1px solid #d3e2d8; padding: 12px 16px; }
}
@media (max-width:1099px) {
  #hero { aspect-ratio: auto; }
  #hero .handoff-copy { position: relative; inset: auto; width: auto; padding: 24px 6% 0; }
  #hero .handoff-actions .button { font-size: 14px; min-height: 48px; padding: 11px 16px; gap: 12px; }
  .handoff-card { width: 289px; }
  .handoff-copy > p { margin: 16px 0 20px; }
  .handoff-scene { position: relative; inset: auto; width: 100%; height: clamp(180px,49vw,350px); overflow: hidden; mask-image: linear-gradient(transparent,black 12%,black 89%,transparent); }
  .handoff-scene img { position: absolute; width: 147%; max-width: none; right: 0; top: 50%; transform: translateY(-50%); }
  .handoff-devices { position: relative; inset: auto; width: auto; justify-content: center; gap: 4%; padding: 2px 5% 28px; }
  .handoff-devices figure { max-width: 220px; }
  .handoff-devices figure + figure { margin: 0; }
}
