/* Shared palette and fonts live in public/design/tokens.css and the style tile. */
* {
  box-sizing: border-box;
}
html {
  background: var(--ink);
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
::-moz-selection {
  background: var(--signal);
  color: white;
}
::selection {
  background: var(--signal);
  color: white;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 6px;
}
img {
  display: block;
  max-width: 100%;
}
button[hidden],
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 450;
}
h2 {
  font-size: clamp(34px, 4vw, 61px);
  line-height: 1.12;
  letter-spacing: -0.052em;
}
h2 > span {
  color: var(--muted);
}
p {
  line-height: 1.7;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 112px var(--page-gutter);
}
.micro,
.eyebrow {
  font: 13px/1.7 var(--font-detail);
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.micro {
  color: var(--muted);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.signal {
  color: var(--signal);
}
.signal-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 12px #f04d2d66;
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transition:
    color 0.2s,
    border-color 0.2s;
}
.text-link:hover {
  color: var(--signal);
  border-color: var(--signal);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 51px;
  padding: 16px 22px;
  font-size: 16px;
  font-weight: 550;
  border-radius: 3px;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-light {
  background: var(--paper);
  color: var(--ink);
}
.button-light:hover {
  background: var(--signal);
  color: white;
}
.button > span {
  font-size: 19px;
  line-height: 1;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 20px;
  background: var(--paper);
  color: var(--ink);
  padding: 15px;
  z-index: 100;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-bottom: 56px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 55px;
}
.section-heading > p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
  flex-shrink: 0;
  max-width: 330px;
}
/* Navigation */
.site-header {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 92px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 0 var(--page-gutter);
  z-index: 30;
  border-bottom: 1px solid #ffffff10;
  background: #090a0c70;
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 23px;
  letter-spacing: -0.9px;
  font-weight: 650;
  white-space: nowrap;
}
.brand img {
  width: 40px;
  height: 40px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 16px;
  color: #c3c3c7;
}
.desktop-nav > a,
.product-menu summary {
  padding: 15px 0;
}
.desktop-nav a:hover,
.product-menu summary:hover {
  color: var(--paper);
}
.product-menu {
  position: relative;
}
.product-menu summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-menu summary::-webkit-details-marker {
  display: none;
}
.product-dropdown {
  position: absolute;
  top: 44px;
  left: -25px;
  width: 220px;
  background: #17181c;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px;
  box-shadow: 0 20px 40px #0008;
}
.product-dropdown a {
  display: flex;
  justify-content: space-between;
  padding: 16px 14px;
  border-radius: 2px;
}
.product-dropdown a:hover {
  background: #ffffff0b;
}
.header-cta {
  display: flex;
  gap: 29px;
  align-items: center;
  background: #ffffff08;
  border: 1px solid #ffffff29;
  padding: 12px 18px;
  border-radius: 3px;
  font-size: 16px;
  transition: background 0.2s;
}
.header-cta:hover {
  background: var(--paper);
  color: var(--ink);
}
.menu-toggle {
  display: none;
}
.mobile-nav {
  display: none;
}
/* Native sticky scroll story: 400vh of active travel + the visible stage. */
.story {
  position: relative;
}
.story.is-enhanced {
  height: 500svh;
}
.story-stage {
  position: relative;
  min-height: 850px;
  height: 100svh;
  max-height: 1200px;
  overflow: hidden;
  background: var(--ink);
}
.is-enhanced .story-stage {
  position: sticky;
  top: 0;
  min-height: 650px;
  max-height: none;
}
.stage-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#ffffff04 1px, transparent 1px),
    linear-gradient(90deg, #ffffff04 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
}
.stage-halo {
  position: absolute;
  width: 65%;
  height: 90%;
  right: -8%;
  top: 0;
  background: radial-gradient(ellipse, #65212d23, transparent 63%);
  pointer-events: none;
}
#architecture-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}
.canvas-ready #architecture-canvas {
  opacity: 1;
}
.canvas-ready .static-sculpture {
  display: none;
}
.story-brand {
  position: absolute;
  z-index: 5;
  top: 110px;
  left: var(--page-gutter);
  display: block;
  width: clamp(150px, 15vw, 220px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}
.story-brand.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.story-brand:hover {
  opacity: 0.82;
}
.story-brand img {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.footer-brand .brand img {
  display: block;
  width: clamp(108px, 10vw, 150px);
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.stage-copy {
  position: relative;
  z-index: 2;
  max-width: none;
  height: 100%;
  margin: auto;
  padding: 150px var(--page-gutter) 125px;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.story-chapter {
  width: 56%;
  pointer-events: auto;
}
.story-chapter:not(:first-child) {
  display: none;
}
.is-enhanced .story-chapter {
  position: absolute;
  top: 50%;
  transform: translateY(-49%);
  width: calc(56% - var(--page-gutter));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.is-enhanced .story-chapter.is-current {
  display: block;
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}
.story-chapter > .eyebrow {
  font-size: 12px;
  color: #c5b9b7;
  margin-bottom: 30px;
  letter-spacing: 1.25px;
}
.story-chapter h1,
.story-chapter h2 {
  font-size: clamp(62px, 7.5vw, 114px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin-bottom: 29px;
}
.story-chapter h1 > span,
.story-chapter h2 > span {
  display: block;
  color: var(--paper);
}
.story-chapter .muted-heading {
  color: #85858e;
}
.hero-description {
  font-size: 18px;
  line-height: 1.9;
  color: #b2b2bb;
  max-width: 370px;
  margin-bottom: 31px;
}
.story-bottom {
  position: absolute;
  bottom: 32px;
  left: var(--page-gutter);
  right: var(--page-gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 4;
  font: 12px var(--font-detail);
  color: #aaaab3;
  letter-spacing: 0.4px;
}
.scroll-prompt {
  display: flex;
  align-items: center;
  gap: 16px;
}
.scroll-prompt > span {
  font-size: 22px;
  color: var(--paper);
}
.chapter-track {
  display: flex;
  align-items: center;
  gap: 14px;
}
.chapter-track > div {
  width: 135px;
  height: 1px;
  background: #34343b;
}
.chapter-track i {
  display: block;
  background: var(--signal);
  height: 1px;
  width: 0;
}
.skip-story {
  padding: 12px 0;
}
.skip-story:hover {
  color: var(--paper);
}
.sculpture-caption {
  position: absolute;
  right: 6%;
  top: 79%;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #87838a;
  font: 11px var(--font-detail);
  letter-spacing: 1.3px;
  pointer-events: none;
}
.crosshair {
  font-size: 23px;
  color: var(--signal);
}
.caption-line {
  width: 75px;
  height: 1px;
  background: #ffffff23;
}
.static-sculpture {
  position: absolute;
  left: 72%;
  top: 47%;
  width: 250px;
  height: 250px;
  transform: translate(-50%, -50%) rotate(-30deg) skew(16deg, 16deg);
}
.static-sculpture i {
  position: absolute;
  inset: 0;
  border: 1px solid #a18088;
  background: linear-gradient(135deg, #4c4851, #151519 60%);
  box-shadow: 25px 25px 55px #000a;
}
.static-sculpture i:nth-child(1) {
  transform: translate(-45px, -45px);
}
.static-sculpture i:nth-child(2) {
  transform: translate(-15px, -15px);
  border-color: var(--signal);
}
.static-sculpture i:nth-child(3) {
  transform: translate(15px, 15px);
  border-color: var(--rose);
}
.static-sculpture i:nth-child(4) {
  transform: translate(45px, 45px);
}
.static-sculpture i:nth-child(5) {
  transform: translate(75px, 75px);
}
.static-story .story-stage {
  min-height: 820px;
}
.static-story .story-bottom .scroll-prompt,
.static-story .chapter-track {
  display: none;
}
/* Expertise */
.intro-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 45px;
  padding-bottom: 45px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.intro-strip > p {
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.7px;
  color: var(--muted);
}
.intro-strip strong {
  font-weight: 450;
  color: var(--paper);
}
.intro-disciplines {
  display: flex;
  gap: 30px;
  font: 13px var(--font-detail);
  color: #c3c3ca;
}
.intro-disciplines span::before {
  content: "+";
  color: var(--signal);
  margin-right: 13px;
}
.intro-symbol {
  font-size: 47px;
  line-height: 1;
  color: #777783;
}
.expertise-section {
  padding-bottom: 55px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
.service-card {
  padding: 30px;
  border-right: 1px solid var(--line);
  background: linear-gradient(150deg, #ffffff03, transparent);
  transition: background 0.3s;
}
.service-card:last-child {
  border-right: 0;
}
.service-card:hover {
  background: #ffffff05;
}
.service-card-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.service-card-top .micro {
  font-size: 11px;
  letter-spacing: 0.7px;
}
.service-card-top > span:last-child {
  color: #888;
}
.service-card h3 {
  font-size: 27px;
  letter-spacing: -1px;
  line-height: 1.2;
  max-width: 255px;
  margin-bottom: 18px;
}
.service-card > p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  min-height: 92px;
}
.service-card ul {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: #bdbdc4;
}
.service-card li::before {
  content: "↗";
  margin-right: 10px;
  color: #6f6f77;
}
.service-diagram {
  height: 170px;
  position: relative;
  max-width: 230px;
  margin: 0 auto;
}
.service-diagram i {
  display: block;
  position: absolute;
  left: 50%;
  top: 45%;
  width: 78px;
  height: 78px;
  border: 1px solid #74747c;
  transform: translate(-50%, -50%) rotate(-30deg) skew(15deg, 15deg);
  background: linear-gradient(120deg, #ffffff0a, #ffffff02);
}
.architecture i:nth-child(1) {
  margin-top: -22px;
}
.architecture i:nth-child(3) {
  margin-top: 22px;
  border-color: var(--signal);
}
.development i {
  transform: translate(-50%, -50%);
  width: 105px;
  height: 65px;
  border-radius: 4px;
}
.development i:nth-child(1) {
  margin-left: -16px;
  margin-top: -12px;
  border-color: #46464e;
}
.development i:nth-child(3) {
  margin-left: 16px;
  margin-top: 12px;
}
.development b {
  position: absolute;
  left: calc(50% - 2px);
  top: calc(45% - 3px);
  width: 24px;
  height: 19px;
  border-top: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
  transform: skew(-15deg);
}
.integration i {
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%) rotate(45deg);
}
.integration i:nth-child(1) {
  margin-left: -65px;
  border-color: var(--signal);
}
.integration i:nth-child(3) {
  margin-left: 65px;
}
.integration b {
  position: absolute;
  width: 134px;
  height: 1px;
  background: var(--signal);
  top: 45%;
  left: calc(50% - 67px);
  box-shadow: 0 0 14px #f04d2d77;
}
/* Portfolio */
.portfolio-section {
  padding-top: 55px;
  padding-bottom: 80px;
}
.portfolio-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 40px;
}
.project-list {
  display: flex;
  flex-direction: column;
}
.project-button {
  background: none;
  display: flex;
  align-items: center;
  text-align: left;
  padding: 26px 16px 26px 0;
  border-bottom: 1px solid var(--line);
  gap: 17px;
  transition: background 0.2s;
}
.project-button:first-child {
  border-top: 1px solid var(--line);
}
.project-number {
  font: 12px var(--font-detail);
  color: #71717b;
}
.project-button strong {
  display: block;
  font-size: 18px;
  font-weight: 450;
  letter-spacing: -0.2px;
}
.project-button small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.project-arrow {
  margin-left: auto;
  color: #666;
  font-size: 18px;
}
.project-button:hover,
.project-button.is-selected {
  background: #ffffff04;
}
.project-button.is-selected .project-number,
.project-button.is-selected .project-arrow {
  color: var(--signal);
}
.project-button.is-selected {
  box-shadow: inset 2px 0 var(--signal);
  padding-left: 15px;
}
.project-preview {
  min-width: 0;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}
.browser-chrome {
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  background: #1c1c20;
  font: 12px var(--font-detail);
  color: #b2b2ba;
}
.browser-dots {
  display: flex;
  gap: 5px;
}
.browser-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5c5c65;
}
.browser-dots i:first-child {
  background: #b65550;
}
.browser-chrome > a {
  font-size: 19px;
  padding: 8px;
}
.iframe-stage {
  height: 484px;
  position: relative;
  background: #151316;
  overflow: hidden;
}
.preview-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: radial-gradient(ellipse at 70% 35%, #72534044, transparent 60%),
    linear-gradient(130deg, #221e21, #0e0f12);
}
.preview-mark {
  position: absolute;
  right: 25px;
  top: -50px;
  font-size: 390px;
  line-height: 1;
  color: #ffffff04;
}
.preview-cover > .eyebrow {
  color: #b19b89;
  font-size: 11px;
}
.preview-cover h3 {
  font-size: clamp(25px, 3.7vw, 55px);
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 20px 20px 33px;
  text-align: center;
}
.preview-privacy {
  font-size: 13px;
  color: #b3a7a0;
  margin-top: 15px;
}
.preview-cover > * {
  z-index: 1;
}
#portfolio-frame {
  border: 0;
  width: 100%;
  height: 100%;
  background: white;
}
.preview-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  background: #111215;
  font-size: 13px;
}
.preview-bottom > p {
  max-width: 310px;
  color: var(--muted);
  line-height: 1.6;
}
.preview-bottom > a {
  white-space: nowrap;
  display: flex;
  gap: 17px;
}
.preview-bottom > a:hover {
  color: var(--signal);
}
.project-direct-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 25px;
}
/* Trust and products */
.trust-section {
  display: grid;
  grid-template-columns: 1fr 1.9fr;
  gap: 55px;
  border-top: 1px solid var(--line);
  padding-top: 65px;
  padding-bottom: 80px;
}
.trust-intro .eyebrow {
  font-size: 11px;
  margin-bottom: 25px;
}
.trust-intro h2 {
  font-size: 37px;
}
.trust-intro > p:last-child {
  font-size: 16px;
  color: var(--muted);
  margin-top: 25px;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.customer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.35;
  background: #fff;
  border-radius: 2px;
  padding: 14px;
  transition: transform 0.2s;
}
.customer-logo:hover {
  transform: translateY(-3px);
}
.customer-logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.products-section {
  padding-top: 45px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  scroll-margin-top: 40px;
}
.product-art {
  height: 245px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 90%, #8c272b4f, transparent 65%),
    #161315;
}
.product-art > .micro {
  position: absolute;
  bottom: 18px;
  left: 22px;
  font-size: 11px;
  color: #a88e94;
}
.product-monogram {
  font-weight: 500;
  font-size: 100px;
  line-height: 1;
  letter-spacing: -14px;
  position: relative;
  z-index: 2;
  color: #e1b7bd;
  text-shadow: 6px 6px 0 #5a303a;
  transform: rotate(-9deg);
}
.product-orbit {
  position: absolute;
  width: 250px;
  height: 100px;
  border: 1px solid #a8758540;
  border-radius: 50%;
  transform: rotate(-33deg);
}
.product-orbit::before {
  content: "";
  position: absolute;
  inset: -25px;
  border: 1px solid #a8758526;
  border-radius: 50%;
}
.product-orbit::after {
  content: "";
  position: absolute;
  inset: -50px;
  border: 1px solid #a8758515;
  border-radius: 50%;
}
.product-1 .product-art {
  background: radial-gradient(ellipse at 70% 90%, #154d6050, transparent 65%),
    #10171b;
}
.product-1 .product-monogram {
  color: #a5d0d4;
  text-shadow: 6px 6px 0 #23434b;
}
.product-1 .product-art > .micro {
  color: #89a5ad;
}
.product-1 .product-orbit,
.product-1 .product-orbit::before,
.product-1 .product-orbit::after {
  border-color: #639b9c33;
}
.product-2 .product-art {
  background: radial-gradient(ellipse at 70% 90%, #755e2850, transparent 65%),
    #191713;
}
.product-2 .product-monogram {
  color: #ddcba2;
  text-shadow: 6px 6px 0 #594c30;
}
.product-2 .product-art > .micro {
  color: #aa9a77;
}
.product-2 .product-orbit,
.product-2 .product-orbit::before,
.product-2 .product-orbit::after {
  border-color: #ad955b33;
}
.product-info {
  padding: 28px;
}
.product-info > .eyebrow {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 15px;
}
.product-info > h3 {
  font-size: 31px;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
}
.product-info > p:not(.eyebrow) {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  min-height: 86px;
}
.product-info > .text-link {
  width: 100%;
  margin-top: 20px;
  font-size: 14px;
}
.product-card:hover .product-monogram {
  transform: rotate(0deg) translateY(-5px);
}
.product-monogram {
  transition: transform 0.5s;
}
/* Approach and standards */
.approach-section {
  padding-top: 10px;
}
.approach-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 90px;
}
.approach-layout h2 {
  font-size: clamp(33px, 3.2vw, 49px);
  line-height: 1.25;
}
.approach-steps article {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 28px;
  margin-bottom: 28px;
}
.approach-steps article:last-child {
  margin-bottom: 0;
}
.approach-steps article > .micro {
  color: var(--signal);
  padding-top: 5px;
}
.approach-steps h3 {
  font-size: 20px;
  letter-spacing: -0.7px;
  margin-bottom: 12px;
}
.approach-steps p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 380px;
}
.certification-strip {
  margin-top: 70px;
  border: 1px solid var(--line);
  padding: 38px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  background: #ffffff02;
}
.certification-strip .eyebrow {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 20px;
}
.certification-strip h3 {
  font-size: 28px;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.certification-strip p:not(.eyebrow) {
  font-size: 16px;
  color: var(--muted);
}
.certificates {
  display: flex;
  gap: 40px;
}
.certificates figure {
  display: flex;
  align-items: center;
  gap: 20px;
}
.certificate-image {
  width: 105px;
  height: 92px;
  border-radius: 3px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.certificate-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.certificates figcaption {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 110px;
}
.certificates strong {
  font-size: 17px;
  font-weight: 500;
}
.certificates figcaption span {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
/* Academy: a deliberate change in light */
.academy-section {
  background: var(--paper);
  color: var(--ink);
}
.academy-inner {
  --line: #cfccc6;
  --muted: #606067;
  padding-top: 70px;
  padding-bottom: 75px;
}
.academy-inner .section-top {
  margin-bottom: 50px;
}
.academy-inner .section-top > .text-link {
  border: 0;
  padding: 0;
}
.academy-heading {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: center;
  margin-bottom: 65px;
}
.academy-heading h2 {
  font-size: clamp(42px, 5.2vw, 79px);
  line-height: 1.06;
}
.academy-heading h2 > span {
  color: #88857f;
}
.academy-heading p {
  font-size: 18px;
  line-height: 1.9;
  margin-top: 25px;
  color: #63615d;
}
.academy-emblem {
  width: 250px;
  height: 250px;
  border: 1px solid #bfbab2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  margin-right: 40px;
  transform: rotate(-7deg);
}
.academy-emblem > span {
  font-size: 88px;
  font-weight: 500;
  letter-spacing: -10px;
  line-height: 1.2;
}
.academy-emblem small {
  font: 13px var(--font-detail);
  letter-spacing: 7px;
  margin-left: 10px;
}
.academy-emblem i {
  position: absolute;
  inset: 15px;
  border: 1px solid #d9d4cc;
  pointer-events: none;
}
.course-row {
  display: grid;
  grid-template-columns: 65px 1fr 150px;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding: 28px 0;
  align-items: center;
  transition:
    padding 0.25s,
    background 0.25s;
}
.course-row:last-child {
  border-bottom: 1px solid var(--line);
}
.course-row:hover {
  background: #e8e4dc;
  padding-left: 18px;
  padding-right: 18px;
}
.course-row > .micro {
  align-self: start;
  padding-top: 5px;
  color: #8c8780;
}
.course-row .eyebrow {
  font-size: 11px;
  color: #73716d;
  margin-bottom: 9px;
}
.course-row h3 {
  font-size: 24px;
  letter-spacing: -0.8px;
}
.course-summary {
  font-size: 16px;
  color: #6c6863;
  max-width: 650px;
  margin-top: 9px;
}
.course-action {
  font-size: 14px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
}
.course-action > span {
  font-size: 25px;
}
/* Contact and footer */
.contact-section {
  padding-top: 120px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}
.contact-section > .eyebrow {
  font-size: 12px;
  margin-bottom: 37px;
}
.contact-section h2 {
  font-size: clamp(52px, 6.2vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.062em;
  position: relative;
  max-width: 1250px;
}
.contact-section h2 > span:not(.contact-star) {
  color: #898992;
}
.contact-star {
  position: absolute;
  right: 0;
  top: -18px;
  font-size: 132px;
  line-height: 1;
  color: var(--signal) !important;
  font-weight: 300;
}
.contact-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 42px;
}
.contact-bottom > p {
  font-size: 17px;
  color: var(--muted);
}
.contact-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}
.phone-link {
  font: 13px var(--font-detail);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.phone-link:hover {
  color: var(--signal);
}
.site-footer {
  padding-top: 45px;
  padding-bottom: 25px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 0.9fr;
  gap: 45px;
  padding-bottom: 65px;
}
.footer-brand > p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 15px;
}
.footer-top h2 {
  font: 12px var(--font-detail);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #85858f;
  margin: 12px 0 24px;
}
.footer-top > div:not(:first-child) > a {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #c4c4cb;
  line-height: 1.5;
  margin-bottom: 14px;
}
.footer-top > div:not(:first-child) > a:hover {
  color: var(--signal);
}
.footer-top > div:last-child > a {
  justify-content: space-between;
  max-width: 155px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 12px;
  color: #92929c;
}
@media (max-width: 1100px) {
  .desktop-nav {
    gap: 22px;
  }
  .section-heading {
    align-items: flex-start;
  }
  .section-heading > p {
    max-width: 240px;
    font-size: 16px;
  }
  .service-card {
    padding: 24px;
  }
  .service-card h3 {
    font-size: 23px;
  }
  .intro-disciplines {
    gap: 16px;
    font-size: 11px;
  }
  .portfolio-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 25px;
  }
  .project-button strong {
    font-size: 17px;
  }
  .trust-section {
    grid-template-columns: 1fr;
  }
  .logo-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .trust-intro {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }
  .trust-intro .eyebrow {
    flex-basis: 100%;
    margin: 0;
  }
  .trust-intro > p:last-child {
    margin: 0;
  }
  .certificates {
    gap: 22px;
  }
  .certificates figure {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .certificates figcaption {
    max-width: none;
  }
  .approach-layout {
    gap: 50px;
  }
  .academy-emblem {
    margin-right: 15px;
    width: 210px;
    height: 210px;
    flex-shrink: 0;
  }
  .contact-star {
    font-size: 100px;
  }
  .footer-top {
    gap: 25px;
  }
}
@media (max-width: 800px) {
  .site-header {
    height: 78px;
    gap: 15px;
  }
  .brand {
    font-size: 21px;
  }
  .brand img {
    width: 35px;
    height: 35px;
  }
  .desktop-nav {
    display: none;
  }
  .header-cta {
    margin-left: auto;
    font-size: 14px;
    padding: 10px 13px;
    gap: 18px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 40px;
    height: 44px;
    background: none;
    padding: 8px;
  }
  .menu-toggle span {
    width: 22px;
    height: 1px;
    background: var(--paper);
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .mobile-nav:not([hidden]) {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 77px;
    padding: 20px var(--page-gutter);
    background: #101114;
    border-bottom: 1px solid var(--line);
    max-height: calc(100svh - 78px);
    overflow: auto;
  }
  .mobile-nav > a {
    padding: 14px 0;
    border-bottom: 1px solid #ffffff0c;
    font-size: 18px;
  }
  .section {
    padding: 75px var(--page-gutter);
  }
  .section-top {
    margin-bottom: 36px;
  }
  .section-top > .micro {
    display: none;
  }
  .section-heading {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
  }
  .section-heading > p {
    max-width: 100%;
    font-size: 17px;
  }
  .section-heading > p br {
    display: none;
  }
  .story-stage,
  .is-enhanced .story-stage {
    min-height: 730px;
  }
  .stage-copy {
    padding-top: 125px;
    align-items: flex-start;
  }
  .story-chapter {
    width: 70%;
  }
  .is-enhanced .story-chapter {
    top: 145px;
    transform: none;
    width: 66%;
  }
  .story-chapter h1,
  .story-chapter h2 {
    font-size: clamp(60px, 9vw, 78px);
  }
  .hero-description {
    max-width: 305px;
    font-size: 16px;
  }
  .story-chapter > .eyebrow {
    font-size: 11px;
    max-width: 300px;
  }
  .sculpture-caption {
    right: 5%;
    top: 81%;
    font-size: 10px;
  }
  .intro-strip {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .intro-strip > p {
    font-size: 20px;
  }
  .intro-disciplines {
    flex-direction: column;
    gap: 12px;
  }
  .intro-symbol {
    display: none;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 28px;
    position: relative;
    overflow: hidden;
  }
  .service-card:last-child {
    border-bottom: 0;
  }
  .service-diagram {
    position: absolute;
    right: 20px;
    top: 60px;
    width: 180px;
    opacity: 0.6;
  }
  .service-card h3 {
    margin-top: 35px;
    max-width: 60%;
    font-size: 27px;
  }
  .service-card > p {
    max-width: 63%;
    min-height: 0;
  }
  .service-card ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  .service-card-top {
    position: relative;
    z-index: 1;
  }
  .portfolio-layout {
    grid-template-columns: 1fr;
  }
  .project-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
  }
  .project-button {
    padding: 18px 10px 18px 0;
  }
  .project-button:nth-child(2) {
    border-top: 1px solid var(--line);
  }
  .iframe-stage {
    height: 460px;
  }
  .trust-section {
    gap: 30px;
  }
  .logo-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .customer-logo {
    padding: 9px;
  }
  .product-grid {
    gap: 14px;
  }
  .product-art {
    height: 190px;
  }
  .product-monogram {
    font-size: 74px;
  }
  .product-info {
    padding: 20px;
  }
  .product-info h3 {
    font-size: 24px;
  }
  .product-info > p:not(.eyebrow) {
    min-height: 132px;
  }
  .product-info > .text-link {
    font-size: 13px;
    gap: 12px;
  }
  .approach-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .approach-steps p {
    max-width: 100%;
  }
  .certification-strip {
    padding: 30px;
    gap: 24px;
  }
  .academy-heading {
    gap: 30px;
  }
  .academy-heading h2 {
    font-size: 48px;
  }
  .academy-emblem {
    width: 160px;
    height: 160px;
    margin-right: 0;
  }
  .academy-emblem > span {
    font-size: 65px;
    letter-spacing: -8px;
  }
  .academy-emblem small {
    font-size: 11px;
    letter-spacing: 5px;
  }
  .course-row {
    grid-template-columns: 25px 1fr 30px;
    gap: 18px;
  }
  .course-action {
    font-size: 0;
  }
  .course-action > span {
    font-size: 27px;
  }
  .contact-section h2 {
    font-size: 59px;
  }
  .contact-star {
    display: none;
  }
  .contact-bottom {
    align-items: flex-start;
  }
  .contact-actions {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .footer-top {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-wrap: wrap;
    line-height: 1.8;
  }
}
@media (max-width: 540px) {
  :root {
    --page-gutter: 24px;
  }
  .brand {
    font-size: 20px;
  }
  .header-cta {
    display: none;
  }
  .menu-toggle {
    margin-left: auto;
  }
  .story-stage,
  .is-enhanced .story-stage {
    min-height: 780px;
    height: 100svh;
  }
  .story-chapter,
  .is-enhanced .story-chapter {
    width: calc(100% - 48px);
    top: 130px;
    transform: none;
  }
  .stage-copy {
    padding: 130px 24px 0;
  }
  .story-chapter h1,
  .story-chapter h2 {
    font-size: 61px;
    letter-spacing: -0.065em;
    margin-bottom: 23px;
  }
  .story-chapter > .eyebrow {
    font-size: 10px;
    letter-spacing: 0.8px;
    margin-bottom: 24px;
  }
  .hero-description {
    font-size: 16px;
    max-width: 295px;
    margin-bottom: 24px;
    line-height: 1.8;
  }
  .story-chapter .button {
    min-height: 46px;
    padding: 13px 17px;
    font-size: 14px;
  }
  .sculpture-caption {
    top: auto;
    bottom: 93px;
    right: 24px;
    font-size: 10px;
    gap: 10px;
  }
  .caption-line {
    width: 25px;
  }
  .story-bottom {
    bottom: 20px;
    font-size: 10px;
    gap: 12px;
  }
  .chapter-track {
    display: none;
  }
  .scroll-prompt {
    gap: 9px;
  }
  .scroll-prompt > span {
    font-size: 18px;
  }
  .static-sculpture {
    left: 50%;
    top: 72%;
    width: 115px;
    height: 115px;
  }
  .static-sculpture i:nth-child(1) {
    transform: translate(-25px, -25px);
  }
  .static-sculpture i:nth-child(2) {
    transform: translate(-8px, -8px);
  }
  .static-sculpture i:nth-child(3) {
    transform: translate(8px, 8px);
  }
  .static-sculpture i:nth-child(4) {
    transform: translate(25px, 25px);
  }
  .static-sculpture i:nth-child(5) {
    transform: translate(42px, 42px);
  }
  .intro-strip {
    gap: 22px;
  }
  .intro-strip > p {
    font-size: 16px;
  }
  .intro-disciplines {
    font-size: 10px;
    gap: 9px;
  }
  .intro-disciplines span::before {
    margin-right: 6px;
  }
  .section {
    padding-top: 65px;
    padding-bottom: 65px;
  }
  .intro-strip {
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .section-top .eyebrow {
    font-size: 11px;
  }
  .section-heading h2 {
    font-size: 35px;
  }
  .section-heading > p {
    font-size: 16px;
  }
  .service-card {
    padding: 24px;
  }
  .service-card h3 {
    font-size: 25px;
    max-width: 68%;
  }
  .service-diagram {
    width: 125px;
    right: -13px;
    top: 67px;
    transform: scale(0.75);
  }
  .service-card > p {
    max-width: 80%;
    font-size: 16px;
  }
  .service-card ul {
    gap: 10px 17px;
    font-size: 12px;
  }
  .portfolio-section {
    padding-top: 0;
  }
  .project-button {
    gap: 9px;
  }
  .project-button strong {
    font-size: 14px;
  }
  .project-button small {
    font-size: 12px;
  }
  .project-number {
    font-size: 11px;
  }
  .project-arrow {
    font-size: 18px;
  }
  .project-button.is-selected {
    padding-left: 8px;
  }
  .iframe-stage {
    height: 390px;
  }
  .preview-bottom {
    padding: 14px;
    gap: 15px;
    align-items: flex-start;
  }
  .preview-bottom > p {
    font-size: 11px;
    max-width: 180px;
  }
  .preview-bottom > a {
    font-size: 12px;
    gap: 8px;
  }
  .trust-intro {
    display: block;
  }
  .trust-intro .eyebrow {
    font-size: 10px;
    margin-bottom: 20px;
  }
  .trust-intro h2 {
    font-size: 35px;
  }
  .trust-intro > p:last-child {
    margin-top: 20px;
  }
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .customer-logo {
    padding: 13px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .product-art {
    height: 225px;
  }
  .product-monogram {
    font-size: 97px;
  }
  .product-info {
    padding: 26px;
  }
  .product-info h3 {
    font-size: 32px;
  }
  .product-info > p:not(.eyebrow) {
    min-height: 0;
    font-size: 17px;
  }
  .product-info > .text-link {
    font-size: 14px;
    margin-top: 20px;
  }
  .approach-layout h2 {
    font-size: 33px;
  }
  .approach-steps h3 {
    font-size: 20px;
  }
  .approach-steps article {
    gap: 20px;
  }
  .certification-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    margin-top: 40px;
  }
  .certificates {
    gap: 35px;
    width: 100%;
  }
  .certificates figure {
    flex: 1;
  }
  .certificate-image {
    width: 100%;
    height: 110px;
    max-width: 130px;
  }
  .certificates figcaption span {
    font-size: 12px;
  }
  .academy-inner .section-top {
    align-items: flex-start;
    gap: 20px;
  }
  .academy-inner .section-top > .eyebrow {
    font-size: 10px;
  }
  .academy-inner .section-top > .text-link {
    font-size: 12px;
    gap: 7px;
    white-space: nowrap;
  }
  .academy-heading {
    margin-bottom: 38px;
  }
  .academy-heading h2 {
    font-size: 40px;
  }
  .academy-heading p {
    font-size: 16px;
  }
  .academy-emblem {
    display: none;
  }
  .course-row {
    gap: 12px;
    padding: 23px 0;
    grid-template-columns: 20px 1fr 23px;
  }
  .course-row h3 {
    font-size: 20px;
    line-height: 1.3;
  }
  .course-summary {
    font-size: 14px;
    line-height: 1.7;
  }
  .course-row .eyebrow {
    font-size: 10px;
  }
  .contact-section > .eyebrow {
    font-size: 10px;
    line-height: 1.8;
    letter-spacing: 0.7px;
    max-width: 260px;
  }
  .contact-section h2 {
    font-size: 47px;
    line-height: 1.09;
  }
  .contact-bottom {
    flex-direction: column;
    gap: 26px;
    margin-top: 30px;
  }
  .contact-bottom > p {
    font-size: 16px;
  }
  .contact-actions {
    flex-direction: row;
    gap: 22px;
    align-items: center;
  }
  .contact-actions > .button {
    font-size: 13px;
    padding: 14px 16px;
    gap: 15px;
  }
  .phone-link {
    font-size: 11px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .footer-brand {
    grid-column: 1/-1;
    margin-bottom: 10px;
  }
  .footer-top > div:last-child {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    -moz-column-gap: 25px;
         column-gap: 25px;
  }
  .footer-top > div:last-child > h2 {
    grid-column: 1/-1;
    margin-bottom: 10px;
  }
  .footer-top > div:last-child > a {
    max-width: 140px;
  }
  .footer-top > div:not(:first-child) > a {
    font-size: 13px;
  }
  .footer-bottom {
    font-size: 11px;
    gap: 12px;
    justify-content: flex-start;
  }
  .footer-bottom > span:nth-child(2) {
    display: none;
  }
  .footer-bottom > a {
    margin-left: auto;
  }
  .desktop-break {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .story.is-enhanced {
    height: auto;
  }
  .is-enhanced .story-stage {
    position: relative;
  }
}
.story-controls {
  display: flex;
  align-items: center;
  gap: 28px;
}
.story-controls button {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  background: none;
  padding: 14px 0;
  min-height: 44px;
}
.story-controls button:hover {
  color: var(--paper);
}
.story-controls button::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
  margin-right: 7px;
}
.story-controls button[aria-pressed="false"]::before {
  background: var(--muted);
}
.static-story .story-controls {
  margin-left: auto;
}
.skip-story {
  display: flex;
  align-items: center;
  min-height: 44px;
}
@media (max-width: 540px) {
  .story-controls {
    gap: 15px;
  }
  .story-bottom {
    font-size: 10px;
  }
  .story-controls button::before {
    margin-right: 5px;
  }
  .story-chapter h1,
  .story-chapter h2 {
    font-size: clamp(49px, 15.65vw, 61px);
  }
}
.button-quiet {
  background: none;
  color: var(--muted);
  font-size: 13px;
  padding: 14px 18px;
  margin-top: 10px;
}
.button-quiet:hover {
  color: var(--paper);
}
.browser-chrome button {
  background: none;
  padding: 8px 10px;
  font-size: 20px;
  line-height: 1;
  margin-left: auto;
}
.browser-chrome button:hover {
  color: var(--signal);
}
.preview-cover > .preview-mark {
  z-index: 0;
  pointer-events: none;
}
.preview-privacy {
  max-width: 85%;
  text-align: center;
}
@media (max-width: 540px) {
  .story-stage,
  .is-enhanced .story-stage {
    min-height: min(780px, 100svh);
  }
  .static-story .story-stage {
    min-height: 740px;
  }
}

/* Bilingual type scale and the expanded product / technology collection. */
body {
  font-size: 18px;
}
.language-switch {
  display: flex;
  gap: 10px;
  align-items: center;
  font: 13px var(--font-detail);
  flex-shrink: 0;
  margin-left: auto;
}
.language-switch a {
  display: grid;
  place-items: center;
  min-width: 32px;
  min-height: 44px;
  color: var(--muted);
}
.language-switch a[aria-current] {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-color: var(--signal);
}
.language-switch > span {
  color: #626269;
}
.desktop-nav {
  margin-left: auto;
  gap: 26px;
}
.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.product-3 .product-art {
  background: radial-gradient(ellipse at 50% 100%, #f04d2d24, transparent 70%),
    #121519;
}
.product-3 .product-monogram {
  font-size: 76px;
  letter-spacing: -8px;
}
.product-3 .product-orbit {
  border-radius: 18px;
  transform: rotate(45deg);
}
.academy-emblem > img {
  width: 112px;
  height: 112px;
  margin-bottom: 18px;
}
.technology-section {
  border-top: 1px solid var(--line);
}
.technology-layer {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  align-items: center;
  gap: 48px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.technology-label {
  display: grid;
  grid-template-columns: 34px 1fr;
  -moz-column-gap: 16px;
       column-gap: 16px;
  align-items: center;
}
.technology-label .micro {
  color: var(--signal);
}
.technology-label h3 {
  font-size: 26px;
  letter-spacing: -0.025em;
}
.technology-label p {
  grid-column: 2;
  color: var(--muted);
  font-size: 16px;
  margin-top: 6px;
}
.technology-layer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.technology-layer li {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 4px;
  padding: 12px 20px;
  font-size: 18px;
}
:lang(th) h1,
:lang(th) h2,
:lang(th) h3 {
  letter-spacing: -0.035em;
  line-height: 1.35;
}
:lang(th) .micro,
:lang(th) .eyebrow {
  font-family: var(--font-body);
  letter-spacing: 0.035em;
}
:lang(th) .story-chapter h1,
:lang(th) .story-chapter h2 {
  line-height: 1.2;
  letter-spacing: -0.035em;
}
:lang(th) .hero-description {
  max-width: 440px;
}
:lang(th) .section-heading {
  align-items: start;
}
@media (max-width: 1100px) {
  .site-header {
    gap: 16px;
  }
  .desktop-nav {
    gap: 18px;
    font-size: 14px;
  }
  .header-cta {
    font-size: 14px;
  }
  .language-switch {
    gap: 3px;
  }
  .brand {
    font-size: 21px;
  }
  .technology-layer {
    grid-template-columns: 1fr 1.4fr;
    gap: 30px;
  }
}
@media (max-width: 800px) {
  .language-switch {
    margin-left: auto;
  }
  .menu-toggle {
    margin-left: 0;
  }
  .header-cta {
    display: none;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .technology-layer {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .technology-layer ul {
    padding-left: 50px;
  }
  .academy-emblem > img {
    width: 86px;
    height: 86px;
  }
}
@media (max-width: 540px) {
  .site-header {
    gap: 12px;
  }
  .language-switch {
    font-size: 12px;
    gap: 0;
  }
  .language-switch a {
    min-width: 28px;
  }
  .brand {
    font-size: 18px;
    gap: 4px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .menu-toggle {
    width: 28px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .technology-label h3 {
    font-size: 24px;
  }
  .technology-layer ul {
    padding-left: 0;
    gap: 8px;
  }
  .technology-layer li {
    padding: 10px 14px;
    font-size: 16px;
  }
  .technology-label p {
    font-size: 15px;
  }
  :lang(th) .story-chapter h1,
  :lang(th) .story-chapter h2 {
    line-height: 1.24;
  }
  :lang(th) .story-chapter > .eyebrow {
    letter-spacing: 0;
  }
  :lang(th) .hero-description {
    max-width: 310px;
    line-height: 1.8;
  }
  .story-bottom {
    flex-wrap: wrap;
    row-gap: 12px;
  }
  .scroll-prompt {
    font-size: 11px;
  }
  .story-controls {
    font-size: 11px;
  }
  .sculpture-caption {
    bottom: 114px;
  }
  .preview-bottom {
    align-items: flex-start;
  }
  .preview-bottom p {
    font-size: 12px;
  }
  .preview-bottom a {
    font-size: 13px;
    white-space: nowrap;
  }
  .preview-privacy {
    font-size: 13px;
  }
}
@media (max-width: 360px) {
  .site-header {
    gap: 8px;
  }
  .brand {
    font-size: 16px;
  }
  .brand img {
    width: 26px;
    height: 26px;
  }
  .story-chapter > .eyebrow {
    font-size: 9px;
  }
  .hero-description {
    line-height: 1.7;
  }
  .story-chapter .button {
    margin-top: 0;
  }
}

/* One responsive site; portrait framing and pacing use the same drawing model. */
.story-chapter h1 > .mobile-line,
.story-chapter h2 > .mobile-line {
  display: none;
}
.mobile-dialog {
  display: none;
}
.mobile-dialog[open] {
  display: block;
}
html.menu-open,
.menu-open body {
  overflow: hidden;
}
@media (max-width: 800px) {
  :root {
    --mobile-header-height: calc(68px + env(safe-area-inset-top, 0px));
  }
  html {
    scroll-padding-top: calc(var(--mobile-header-height) + 20px);
  }
  .site-header {
    position: fixed;
    z-index: 100;
    height: var(--mobile-header-height);
    padding: env(safe-area-inset-top, 0px)
      max(20px, env(safe-area-inset-right, 0px)) 0
      max(20px, env(safe-area-inset-left, 0px));
    background: #101114f5;
    border-bottom: 1px solid #ffffff18;
    backdrop-filter: blur(18px);
  }
  .site-header > .brand {
    min-height: 44px;
    font-size: 20px;
    gap: 6px;
  }
  .site-header > .brand img {
    width: 32px;
    height: 32px;
  }
  .site-header > .language-switch {
    display: none;
  }
  .menu-toggle {
    margin-left: auto;
    width: 44px;
    min-width: 44px;
    height: 44px;
  }
  .mobile-dialog {
    position: fixed;
    inset: var(--mobile-header-height) 0 auto;
    margin: 0;
    border: 0;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - var(--mobile-header-height));
    padding: 16px max(24px, env(safe-area-inset-right, 0px))
      max(24px, env(safe-area-inset-bottom, 0px))
      max(24px, env(safe-area-inset-left, 0px));
    color: var(--paper);
    background: #101114;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-bottom: 1px solid var(--line);
  }
  .mobile-dialog::backdrop {
    background: linear-gradient(
      transparent var(--mobile-header-height),
      #0009 var(--mobile-header-height)
    );
  }
  .mobile-menu-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
  }
  .mobile-menu-heading h2 {
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 0;
  }
  .menu-close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: #ffffff08;
    border: 1px solid var(--line);
    border-radius: 3px;
    font-size: 28px;
  }
  .mobile-dialog .mobile-nav:not([hidden]) {
    position: static;
    display: flex;
    padding: 0;
    max-height: none;
    overflow: visible;
    border: 0;
  }
  .mobile-nav > a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 0;
    font-size: 17px;
  }
  .mobile-menu-options {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding-top: 20px;
  }
  .mobile-menu-options .language-switch {
    margin: 0;
    gap: 4px;
    font-size: 14px;
  }
  .mobile-menu-options .language-switch a {
    min-width: 44px;
    min-height: 44px;
  }
  .menu-motion-toggle {
    padding: 10px;
    min-height: 44px;
    background: none;
    color: var(--muted);
    font-size: 13px;
  }
  /* 240svh active travel plus one 100svh stage; no scroll interception. */
  .story.is-enhanced {
    height: 340svh;
  }
  .story-stage,
  .is-enhanced .story-stage,
  .static-story .story-stage {
    height: 100svh;
    min-height: 560px;
    max-height: none;
  }
  .stage-copy {
    position: absolute;
    inset: 0;
    padding: 0;
    display: block;
  }
  .story-brand {
    top: calc(var(--mobile-header-height) + 8px);
    left: max(20px, env(safe-area-inset-left, 0px));
    width: 150px;
  }
  .story-chapter,
  .is-enhanced .story-chapter {
    position: absolute;
    top: auto;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
    left: var(--page-gutter);
    width: calc(100% - 2 * var(--page-gutter));
    transform: none;
  }
  .story-chapter--stack,
  .is-enhanced .story-chapter--stack {
    top: calc(var(--mobile-header-height) + 28px);
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }
  .story-chapter .eyebrow,
  .hero-description,
  .sculpture-caption,
  .chapter-track {
    display: none;
  }
  .story-chapter h1,
  .story-chapter h2 {
    font-size: clamp(32px, 8.7vw, 44px);
    line-height: 1.22;
    letter-spacing: -0.04em;
    margin-bottom: 18px;
    max-width: 100%;
  }
  :lang(th) .story-chapter h1,
  :lang(th) .story-chapter h2 {
    line-height: 1.3;
  }
  .story-chapter h1 > .desktop-line,
  .story-chapter h2 > .desktop-line {
    display: none;
  }
  .story-chapter h1 > .mobile-line,
  .story-chapter h2 > .mobile-line {
    display: block;
  }
  .story-chapter .button {
    font-size: 15px;
    min-height: 44px;
    padding: 12px 18px;
    margin: 0;
  }
  .story-bottom {
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    left: var(--page-gutter);
    right: var(--page-gutter);
    gap: 14px;
    flex-wrap: nowrap;
  }
  .story-controls {
    margin-left: auto;
    gap: 0;
  }
  #motion-toggle {
    display: none;
  }
  .scroll-prompt {
    font-size: 0;
    gap: 0;
  }
  .scroll-prompt > span {
    font-size: 22px;
  }
  .skip-story {
    font-family: var(--font-body);
    font-size: 12px;
    min-height: 44px;
  }
  .static-sculpture {
    width: clamp(120px, 30vw, 200px);
    height: clamp(120px, 30vw, 200px);
    left: 50%;
    top: 36%;
  }
  .stage-grid {
    -webkit-mask-image: linear-gradient(transparent, #000 30%, transparent 75%);
            mask-image: linear-gradient(transparent, #000 30%, transparent 75%);
    background-size: 56px 56px;
  }
  .stage-halo {
    width: 100%;
    height: 65%;
    top: 8%;
    right: 0;
  }
  .section {
    scroll-margin-top: 0;
  }
}
@media (max-width: 800px) and (max-height: 600px) {
  .story-chapter,
  .is-enhanced .story-chapter {
    bottom: calc(66px + env(safe-area-inset-bottom, 0px));
  }
  .story-chapter h1,
  .story-chapter h2 {
    margin-bottom: 12px;
  }
  .story-bottom {
    bottom: calc(6px + env(safe-area-inset-bottom, 0px));
  }
}

/* Full-bleed loop. One accessible set, one visual clone for the seamless join. */
.trust-section.section {
  display: block;
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.trust-intro {
  max-width: 1600px;
  margin: 0 auto 42px;
  padding: 0 var(--page-gutter);
}
.trust-intro h2 {
  font-size: clamp(34px, 4vw, 61px);
}
.trust-intro h2 br {
  display: none;
}
.trust-intro h2 > span::before {
  content: " ";
}
.logo-marquee {
  width: 100%;
  overflow: hidden;
}
.logo-track {
  display: flex;
  width: -moz-max-content;
  width: max-content;
  animation: logo-drift 76s linear infinite;
}
.logo-marquee.is-paused .logo-track {
  animation-play-state: paused;
}
.logo-set {
  display: flex;
  gap: 14px;
  padding-right: 14px;
  flex-shrink: 0;
}
.logo-set .customer-logo {
  flex: 0 0 176px;
  width: 176px;
  height: 112px;
  aspect-ratio: auto;
  padding: 20px;
}
.logo-set .customer-logo:hover {
  transform: none;
}
.logo-controls {
  max-width: 1600px;
  margin: 15px auto 0;
  padding: 0 var(--page-gutter);
  text-align: right;
}
#logo-motion-toggle {
  background: none;
  padding: 10px 0;
  min-height: 44px;
  color: var(--muted);
  font-size: 13px;
}
@keyframes logo-drift {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee {
    overflow-x: auto;
  }
  .logo-track {
    animation: none;
  }
  .logo-set[aria-hidden="true"] {
    display: none;
  }
  #logo-motion-toggle {
    display: none;
  }
}
/* Keep a loading cover above the cross-origin page until its document loads. */
.preview-cover {
  z-index: 2;
}
#preview-brand {
  width: 120px;
  height: 70px;
  padding: 8px 12px;
  -o-object-fit: contain;
     object-fit: contain;
  background: #fff;
  border-radius: 3px;
  margin-bottom: 18px;
}
#portfolio-frame {
  position: absolute;
  inset: 0;
  background: var(--surface);
  transition: opacity 0.2s;
}
.preview-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid #fff2;
  border-top-color: var(--signal);
  border-radius: 50%;
  margin: 20px 0 0;
  animation: preview-spin 0.8s linear infinite;
}
@keyframes preview-spin {
  to {
    transform: rotate(360deg);
  }
}
.preview-privacy {
  padding: 0 18px;
  text-align: center;
}
.technology-layer li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.technology-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  padding: 7px;
  border-radius: 5px;
  background: #fff;
}
.technology-icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.line-icon {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  color: #06c755;
}
.button > .line-button-label {
  flex-shrink: 0;
  font-size: inherit;
  white-space: nowrap;
}
.footer-top a:has(.line-icon) {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 800px) {
  .logo-set .customer-logo {
    flex-basis: 140px;
    width: 140px;
    height: 90px;
    padding: 15px;
  }
  .logo-set {
    gap: 10px;
    padding-right: 10px;
  }
  .logo-track {
    animation-duration: 110s;
  }
}

.preview-cover {
  padding: 22px;
  overflow-y: auto;
  justify-content: safe center;
}
@media (max-width: 800px) {
  #preview-brand {
    width: 90px;
    height: 50px;
    margin-bottom: 10px;
  }
  .preview-cover h3 {
    font-size: 28px;
    margin: 12px 0;
    letter-spacing: -0.035em;
  }
  .preview-spinner {
    width: 20px;
    height: 20px;
    margin-top: 10px;
    flex-shrink: 0;
  }
  .preview-privacy {
    margin-top: 8px;
  }
  .project-preview[aria-busy="true"] .preview-cover > .eyebrow {
    display: none;
  }
}

/* Six chapter story: full stack, then one emphasized slab per chapter. */
.story-layer-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding: 50px var(--page-gutter) 80px;
  max-width: 1400px;
  margin: auto;
}
.story-layer-summary h2 {
  font-size: 28px;
  margin-bottom: 14px;
}
.story-layer-summary article > p:last-child {
  color: var(--muted);
  line-height: 1.8;
}
.is-enhanced .story-layer-summary {
  display: none;
}
.story.is-enhanced {
  height: 740svh;
}
.layer-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 25px;
  color: #ffac8d;
  font: 12px var(--font-detail);
  letter-spacing: 0.08em;
}
.layer-kicker > span {
  border: 1px solid #ffac8d55;
  padding: 8px;
}
.story-chapter:not(.story-chapter--stack) > .eyebrow {
  display: none;
}
.story-chapter:not(.story-chapter--stack) h2 {
  font-size: clamp(44px, 4.8vw, 74px);
  line-height: 1.13;
  letter-spacing: -0.045em;
}
.layer-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  color: #b6abb6;
  font-size: 13px;
}
.layer-details li::before {
  content: "/";
  color: #ff957d;
  margin-right: 8px;
}
.story-chapter--automation .layer-details li + li::before {
  content: "→";
}
.story-chapter--data .layer-details li {
  border-bottom: 1px solid #ffac8d40;
  padding-bottom: 6px;
}
.story-chapter--infrastructure .layer-kicker {
  color: #ffd0b3;
}
@media (max-width: 800px) {
  .story-layer-summary {
    grid-template-columns: 1fr;
  }
  .story.is-enhanced {
    height: 540svh;
  }
  .layer-kicker {
    font-size: 10px;
    gap: 9px;
    margin-bottom: 12px;
  }
  .layer-kicker > span {
    padding: 5px;
  }
  .story-chapter:not(.story-chapter--stack) h2 {
    font-size: clamp(29px, 7.8vw, 40px);
    line-height: 1.25;
    margin-bottom: 14px;
  }
  .layer-details {
    font-size: 11px;
    gap: 6px 12px;
    margin-bottom: 0;
  }
  .story-chapter:not(.story-chapter--stack):not(.story-chapter--infrastructure)
    .button {
    display: none;
  }
  .story-chapter--infrastructure .layer-details {
    display: none;
  }
}

/* Keep the selected slab in the stack; alternate the reading side. */
.story-navigation {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #111114e8;
  border: 1px solid #ffffff18;
  border-radius: 100px;
  padding: 4px 8px;
}
.story-navigation[hidden] {
  display: none;
}
.story-navigation button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 14px;
  color: var(--paper);
  background: none;
  font: 13px var(--font-body);
  border-radius: 50px;
}
.story-navigation button:hover:not(:disabled) {
  background: #ffffff0c;
}
.story-navigation button:disabled {
  opacity: 0.3;
  cursor: default;
}
.story-count {
  color: #97929b;
  white-space: nowrap;
  font: 11px var(--font-detail);
}
#story-current {
  color: #ffac8d;
}
.layer-kicker {
  width: -moz-fit-content;
  width: fit-content;
}
.story .sculpture-caption {
  display: none;
}
@media (min-width: 801px) {
  .story-chapter,
  .is-enhanced .story-chapter {
    width: 26%;
    max-width: 400px;
    left: var(--page-gutter);
  }
  .story-chapter[data-copy-side="right"],
  .is-enhanced .story-chapter[data-copy-side="right"] {
    left: auto;
    right: var(--page-gutter);
  }
  .story-chapter:not(.story-chapter--stack) h2 {
    font-size: clamp(28px, 3vw, 46px);
  }
  .story-chapter:not(.story-chapter--stack) .hero-description {
    font-size: 16px;
    line-height: 1.8;
  }
  .story-chapter:not(.story-chapter--stack) .button {
    padding: 14px 20px;
    font-size: 14px;
  }
  .story-chapter--stack,
  .is-enhanced .story-chapter--stack {
    left: var(--page-gutter);
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-49%);
    text-align: left;
    width: calc(56% - var(--page-gutter));
    max-width: none;
  }
  .story-bottom {
    align-items: center;
  }
  .story-bottom .scroll-prompt {
    max-width: 230px;
    font-size: 11px;
  }
}
@media (max-width: 800px) {
  .story-bottom {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px;
  }
  .story-navigation {
    order: -1;
    width: 100%;
    justify-content: space-between;
    padding: 2px 6px;
    gap: 8px;
  }
  .story-navigation button {
    font-size: 12px;
    padding: 8px 12px;
  }
  .story-chapter,
  .is-enhanced .story-chapter {
    bottom: calc(137px + env(safe-area-inset-bottom, 0px));
  }
  .story-chapter[data-copy-side="right"] {
    text-align: right;
  }
  .story-chapter[data-copy-side="right"] .layer-kicker {
    margin-left: auto;
  }
  .story-chapter[data-copy-side="right"] .layer-details {
    justify-content: flex-end;
  }
  .static-story .story-chapter {
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }
}

/* Compact heading rhythm; retain Thai ascenders and the shared type scale. */
.story-chapter--stack > .eyebrow {
  margin-bottom: 22px;
}
.story-chapter--stack .hero-description {
  line-height: 1.75;
  margin-bottom: 26px;
}
@media (min-width: 801px) {
  .story-chapter--stack h1 {
    font-size: clamp(56px, 6.3vw, 96px);
    line-height: 1.08;
    letter-spacing: -0.05em;
    margin-bottom: 28px;
  }
  :lang(th) .story-chapter--stack h1 {
    line-height: 1.16;
    letter-spacing: -0.035em;
  }
  .story-chapter--stack .hero-description {
    font-size: 17px;
    max-width: 430px;
  }
  .layer-kicker {
    max-width: 100%;
    font-size: clamp(9px, 0.9vw, 12px);
    gap: 10px;
    letter-spacing: 0.045em;
  }
}
@media (max-width: 800px) {
  .story-chapter--stack h1 {
    font-size: clamp(40px, 10.5vw, 56px);
    line-height: 1.12;
    margin-bottom: 20px;
  }
  :lang(th) .story-chapter--stack h1 {
    line-height: 1.2;
  }
}

/* A full-viewport architectural light field, with room for the live stack. */
.story-stage {
  background: radial-gradient(
      ellipse at 76% 42%,
      #432322 0%,
      #21171c 24%,
      transparent 56%
    ),
    radial-gradient(ellipse at 12% 80%, #17242c88, transparent 48%), #090b10;
}
.stage-halo {
  inset: -22% -15% -25% 25%;
  width: auto;
  height: auto;
  border-radius: 50%;
  background: radial-gradient(ellipse, #f27d4926, transparent 58%);
}
.stage-halo::before,
.stage-halo::after {
  content: "";
  position: absolute;
  inset: 23% 12%;
  border: 1px solid #ffbb8c22;
  border-radius: 50%;
  transform: rotate(-28deg);
  box-shadow:
    0 0 65px #ff9b6810,
    inset 0 0 65px #ff9b6808;
}
.stage-halo::after {
  inset: 12% 22%;
  transform: rotate(28deg);
  border-color: #9acbdf16;
}
.stage-grid {
  inset: 48% -30% -65%;
  background-size: 90px 90px;
  background-image: linear-gradient(#ecaa7a14 1px, transparent 1px),
    linear-gradient(90deg, #ecaa7a14 1px, transparent 1px);
  transform: perspective(600px) rotateX(58deg);
  -webkit-mask-image: radial-gradient(ellipse at 55% 0%, #000, transparent 68%);
          mask-image: radial-gradient(ellipse at 55% 0%, #000, transparent 68%);
  pointer-events: none;
}
@media (min-width: 1800px) {
  .story-chapter,
  .is-enhanced .story-chapter {
    left: 7vw;
    max-width: 620px;
    width: 25%;
  }
  .story-chapter[data-copy-side="right"],
  .is-enhanced .story-chapter[data-copy-side="right"] {
    right: 7vw;
  }
  .story-chapter--stack,
  .is-enhanced .story-chapter--stack {
    width: 46%;
    max-width: none;
  }
  .story-chapter--stack h1 {
    font-size: clamp(96px, 5vw, 150px);
  }
  .story-chapter:not(.story-chapter--stack) h2 {
    font-size: clamp(46px, 2.7vw, 76px);
  }
  .story-chapter:not(.story-chapter--stack) .hero-description {
    font-size: 20px;
    max-width: 520px;
  }
}
.browser-chrome {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  gap: 12px;
  height: 58px;
  padding: 0 16px;
  background: linear-gradient(#343438, #28282c);
  border-bottom: 1px solid #0005;
  box-shadow: inset 0 1px #ffffff18;
}
.browser-dots {
  gap: 7px;
}
.browser-dots i {
  width: 11px;
  height: 11px;
  background: #ff5f57;
  box-shadow: inset 0 0 0 1px #0002;
}
.browser-dots i:first-child {
  background: #ff5f57;
}
.browser-dots i:nth-child(2) {
  background: #febc2e;
}
.browser-dots i:nth-child(3) {
  background: #28c840;
}
.browser-address {
  justify-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: min(100%, 460px);
  min-width: 0;
  height: 32px;
  border-radius: 7px;
  background: #161619;
  border: 1px solid #ffffff0c;
  box-shadow: inset 0 1px 3px #0003;
  color: #d6d6da;
}
#preview-domain {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.browser-chrome > a {
  grid-column: 3;
  justify-self: end;
  min-width: 44px;
  text-align: center;
}
.browser-chrome #close-preview {
  position: absolute;
  right: 54px;
  top: 7px;
  min-width: 30px;
  min-height: 44px;
}
.logo-marquee {
  overflow-x: auto;
  scroll-behavior: auto;
  scrollbar-width: none;
  cursor: grab;
  overscroll-behavior-x: contain;
}
.logo-marquee::-webkit-scrollbar {
  display: none;
}
.logo-marquee.is-dragging {
  cursor: grabbing;
}
.logo-track {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.logo-set .customer-logo {
  padding: 7px;
}
.logo-set img {
  pointer-events: none;
}
@media (max-width: 800px) {
  .stage-halo {
    inset: -5% -45% 30%;
    opacity: 0.75;
  }
  .browser-chrome {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 7px;
    padding: 0 10px;
  }
  .browser-dots {
    gap: 4px;
  }
  .browser-dots i {
    width: 8px;
    height: 8px;
  }
  .browser-address {
    font-size: 10px;
  }
  .browser-chrome #close-preview {
    right: 44px;
  }
  .logo-set .customer-logo {
    padding: 5px;
  }
}
/* Decorative perspective must not create a scrollable area inside the pinned stage. */
.story-stage {
  overflow: clip;
}

@media (min-width: 801px) and (max-height: 650px) {
  .stage-copy {
    padding-top: calc(116px + env(safe-area-inset-top, 0px));
    align-items: flex-start;
  }
  .story-chapter h1,
  .story-chapter h2 {
    font-size: clamp(42px, 5.6vw, 64px);
    line-height: 1.08;
    margin-bottom: 18px;
  }
  .hero-description {
    max-width: 340px;
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 18px;
  }
}

@media (max-width: 800px) and (max-height: 520px) {
  .story-stage,
  .is-enhanced .story-stage,
  .static-story .story-stage {
    height: 100svh;
    min-height: 100svh;
  }
  .story-chapter,
  .is-enhanced .story-chapter {
    top: auto;
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
  .story-chapter h1,
  .story-chapter h2 {
    font-size: clamp(28px, 5vw, 34px);
    line-height: 1.12;
    margin-bottom: 8px;
  }
  :lang(th) .story-chapter h1,
  :lang(th) .story-chapter h2 {
    line-height: 1.16;
  }
  .story-chapter .button {
    min-height: 44px;
    padding: 10px 16px;
  }
}

@media (max-width: 540px) {
  .contact-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .contact-actions > .button {
    box-sizing: border-box;
    width: 100%;
    justify-content: center;
  }
  .contact-actions > .phone-link {
    align-self: flex-start;
  }
}
