@font-face {
  font-family: "Kanit";
  src: url("assets/fonts/Kanit-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Kanit";
  src: url("assets/fonts/Kanit-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --sc-canvas: #0d1a23;
  --sc-surface: #172a36;
  --sc-ink: #f7f4ed;
  --sc-ink-soft: #d5d8d7;
  --sc-accent: #f28a1b;
  --sc-accent-ink: #111719;
  --sc-font-display: "Kanit", system-ui, sans-serif;
  --sc-font-text: "Kanit", system-ui, sans-serif;
  --page-gutter: clamp(1.2rem, 5vw, 5rem);
  --section-pad: clamp(5.5rem, 9vw, 8.5rem);
  --card-radius: 1.15rem;
  --hero-line: 0;
  --services-p: 0;
  --services-shift: 0px;
  --node-one: 0;
  --node-two: 0;
  --node-three: 0;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--sc-canvas); scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--sc-canvas);
  color: var(--sc-ink);
  font-family: var(--sc-font-text);
  font-weight: 300;
  text-rendering: optimizeLegibility;
}

button, a { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid #ffbd74; outline-offset: 4px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 1000; inset: 0 auto auto 0; padding: .8rem 1rem; transform: translateY(-120%); background: var(--sc-accent); color: var(--sc-accent-ink); text-decoration: none; }
.skip-link:focus { transform: translateY(0); }

.site-bar {
  position: fixed;
  z-index: 600;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.9rem;
  padding: max(.85rem, env(safe-area-inset-top)) var(--page-gutter) .7rem;
  background: linear-gradient(180deg, rgba(7, 16, 22, .84), rgba(7, 16, 22, .14) 76%, transparent);
  pointer-events: none;
}
.site-bar > * { pointer-events: auto; }
.site-bar.is-over-content { border-bottom: 1px solid rgba(255, 255, 255, .08); background: rgba(7, 20, 27, .94); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: .65rem; min-height: 2.75rem; color: var(--sc-ink); text-decoration: none; white-space: nowrap; }
.brand__logo { position: relative; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: 0 0 auto; overflow: hidden; border: 1px solid rgba(255, 255, 255, .36); background: rgba(7, 20, 27, .7); color: #fff; font-size: .74rem; font-weight: 400; letter-spacing: .04em; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); backdrop-filter: blur(9px); }
.brand__logo::after { content: ""; position: absolute; right: -.36rem; bottom: -.48rem; width: 1.05rem; height: 1.6rem; background: var(--sc-accent); transform: rotate(35deg); }
.brand__name { font-size: clamp(.78rem, 1.15vw, .96rem); font-weight: 400; letter-spacing: .01em; }
.site-nav { position: absolute; left: 50%; display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); transform: translateX(-50%); }
.site-nav a { color: rgba(247, 244, 237, .78); font-size: .78rem; text-decoration: none; transition: color 150ms ease-out; }
.site-nav a:hover { color: #fff; }
.site-bar__actions { display: flex; align-items: center; gap: .65rem; }
.language-switch { display: inline-grid; grid-template-columns: repeat(2, 1fr); padding: 3px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; background: rgba(9, 23, 31, .48); backdrop-filter: blur(10px); }
.language-switch button { min-width: 2.45rem; min-height: 2.35rem; padding: .2rem .62rem; border: 0; border-radius: 999px; background: transparent; color: rgba(245, 244, 239, .7); cursor: pointer; font-size: .75rem; font-weight: 400; transition: color 150ms ease-out, background-color 150ms ease-out, transform 120ms ease-out; }
.language-switch button[aria-pressed="true"] { background: var(--sc-accent); color: var(--sc-accent-ink); }
.language-switch button:active { transform: scale(.96); }
.call-pill, .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border: 0; border-radius: 999px; background: var(--sc-accent); color: var(--sc-accent-ink); box-shadow: 0 14px 32px rgba(2, 9, 13, .28), inset 0 1px rgba(255, 255, 255, .4); cursor: pointer; font-weight: 400; white-space: nowrap; transition: transform 150ms cubic-bezier(.23, 1, .32, 1), background-color 150ms ease-out; }
.call-pill:hover, .primary-button:hover { background: #ffa13f; transform: translateY(-2px); }
.call-pill:active, .primary-button:active { transform: translateY(1px) scale(.98); }
.call-pill { min-height: 2.65rem; padding: .45rem .9rem; border: 2px solid var(--sc-accent); background: rgba(7, 20, 27, .55); color: #fff; box-shadow: none; backdrop-filter: blur(8px); }
.call-pill:hover { background: var(--sc-accent); color: var(--sc-accent-ink); }
.menu-toggle { display: none; width: 2.75rem; height: 2.75rem; padding: .55rem; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: .28rem 0; border-radius: 2px; background: #fff; transition: transform 180ms ease-out, opacity 180ms ease-out; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(.56rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-.56rem) rotate(-45deg); }
.mobile-menu { position: absolute; z-index: 2; top: calc(100% - .35rem); right: var(--page-gutter); width: min(18rem, calc(100vw - (var(--page-gutter) * 2))); padding: .85rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: .9rem; background: rgba(7, 20, 27, .96); box-shadow: 0 20px 50px rgba(0, 0, 0, .32); backdrop-filter: blur(16px); }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { padding: .75rem .6rem; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none; }
.mobile-menu__languages { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .75rem; }
.mobile-menu__languages button { min-height: 2.75rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: .65rem; background: transparent; cursor: pointer; }
.mobile-menu__languages button[aria-pressed="true"] { border-color: var(--sc-accent); background: var(--sc-accent); color: var(--sc-accent-ink); }
.call-pill svg, .primary-button svg { width: 1.15rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.primary-button { min-height: 3.25rem; padding: .76rem 1.35rem; }
.primary-button--large { min-height: 3.75rem; padding-inline: 1.7rem; font-size: 1.06rem; }

/* Hero: one photographic plate, separate atmosphere and blueprint depth planes. */
.hero { position: relative; background: #0b151c; }
.hero-stage { min-height: 100svh; overflow: clip; isolation: isolate; background: #0b151c; }
.hero-film {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #102430;
  pointer-events: none;
}
.hero-film__frame { position: absolute; inset: 0; }
.hero-stage .hero-film__frame :is(.sc-stage__poster, video[data-sc-scrub]) { object-position: 54% 50%; }
.hero-stage .hero-film__frame .sc-stage__poster { opacity: 1; }
.hero-stage .hero-film__frame video[data-sc-scrub]:not(.hero-video-ready) { opacity: 0; }
.hero-local-scrim { position: absolute; z-index: 5; inset: 0; pointer-events: none; background: radial-gradient(ellipse 68% 62% at 13% 76%, rgba(5, 14, 19, .48), rgba(5, 14, 19, .12) 62%, transparent 82%), linear-gradient(180deg, rgba(6, 15, 21, .08), transparent 44%, rgba(6, 15, 21, .2)); opacity: calc(1 - (var(--hero-line) * .08)); }
.hero-site-light {
  position: absolute;
  z-index: 3;
  inset: -6% -16% 20%;
  pointer-events: none;
  background: radial-gradient(ellipse 46% 28% at 48% 47%, rgb(255 175 100 / .37), rgb(255 142 63 / .12) 56%, transparent 100%);
  mix-blend-mode: screen;
  opacity: calc(var(--hero-line) * .9);
  transform: translate3d(calc(-11% + var(--hero-line) * 22%), calc(3% - var(--hero-line) * 6%), 0);
  will-change: opacity, transform;
}
.hero-atmosphere { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(52px); }
.hero-atmosphere--rear { z-index: 4; width: 58vw; height: 24vh; right: -8vw; top: 20vh; background: rgba(49, 121, 167, .14); }
.hero-atmosphere--front { z-index: 12; width: 66vw; height: 22vh; left: -18vw; bottom: -7vh; background: rgba(233, 137, 46, .11); }
.hero-copy { z-index: 30; width: min(38rem, calc(100vw - 8rem)); padding: .9rem 0 1rem; border: 0; background: transparent; text-shadow: 0 3px 18px rgba(0, 0, 0, .5); }
.hero-copy--intro, .hero-copy--machine, .hero-copy--resolve { bottom: clamp(4.4rem, 10vh, 7.2rem); }
.hero-copy h1, .hero-copy h2 { max-width: 15ch; margin: 0; font-family: var(--sc-font-display); font-weight: 400; letter-spacing: -.015em; line-height: 1.2; text-wrap: balance; }
.hero-copy h1 { font-size: clamp(2.65rem, 4.25vw, 4.5rem); }
.hero-copy h2 { font-size: clamp(2.15rem, 3.55vw, 3.65rem); }
.hero-copy p { max-width: 46ch; margin: 1rem 0 0; color: var(--sc-ink-soft); font-size: clamp(.98rem, 1.18vw, 1.12rem); line-height: 1.72; text-wrap: pretty; }
.hero-kicker { width: fit-content; margin: 0 0 .75rem !important; padding: .18rem .42rem; border-left: 2px solid var(--sc-accent); border-radius: .16rem; background: rgba(4, 15, 20, .84); color: #fff5eb !important; font-size: clamp(.76rem, .92vw, .88rem) !important; font-weight: 400; letter-spacing: .04em; }
.hero-copy .primary-button { margin-top: 1.35rem; pointer-events: auto; }
.hero-copy--intro h1::after { content: ""; display: block; width: 4.25rem; height: .28rem; margin-top: 1rem; border-radius: 999px; background: var(--sc-accent); transform: skew(-14deg); }
.hero-handoff { position: absolute; z-index: 22; inset: auto 0 0; width: 100%; height: clamp(4.5rem, 11vh, 7rem); overflow: visible; pointer-events: none; }
.hero-handoff path { fill: none; stroke: var(--sc-accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--hero-line)); filter: drop-shadow(0 4px 8px rgba(3, 9, 12, .32)); }

/* Shared sections */
.section { position: relative; overflow: clip; padding: var(--section-pad) 0; scroll-margin-top: 5rem; }
.section-inner { position: relative; z-index: 3; width: min(1180px, calc(100% - (var(--page-gutter) * 2))); margin-inline: auto; }
.section-scene { position: absolute; z-index: 0; inset: 0; pointer-events: none; }
.section-scene img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.section-heading { display: flex; align-items: flex-start; gap: clamp(.8rem, 2vw, 1.2rem); max-width: 48rem; margin-bottom: clamp(2rem, 5vw, 3.4rem); }
.section-slash { width: .34rem; height: clamp(2.35rem, 4vw, 3.8rem); flex: 0 0 auto; margin-top: .3rem; border-radius: 999px; background: var(--sc-accent); transform: skew(-12deg); }
.section-heading h2 { margin: 0; font-family: var(--sc-font-display); font-size: clamp(2.15rem, 3.8vw, 4.15rem); font-weight: 400; letter-spacing: -.018em; line-height: 1.18; text-wrap: balance; }
.section-heading p { max-width: 57ch; margin: .75rem 0 0; color: var(--sc-ink-soft); font-size: clamp(.96rem, 1.18vw, 1.08rem); line-height: 1.72; }
.section-kicker { margin: 0 0 .55rem !important; color: #ffc487 !important; font-size: clamp(.76rem, .9vw, .86rem) !important; font-weight: 400; letter-spacing: .055em; text-transform: uppercase; }

/* Services */
.services { --services-p: 0; --services-shift: 0px; --node-one: 0; --node-two: 0; --node-three: 0; background: #11222d; }
.services::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(10, 26, 35, .28), rgba(9, 23, 31, .54)); pointer-events: none; }
.services__scene { opacity: .78; }
.services__scene img { object-position: 52% 50%; filter: saturate(.9) contrast(1.02) brightness(.88); }
.service-ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.service-card, .service-card--wide { --service-card-p: 1; --service-icon-y: 0px; --service-accent-offset: 0; --service-image-cut: 18%; --service-image-opacity: 1; --service-image-scale: 1.045; position: relative; display: grid; grid-column: auto; grid-template-columns: 5rem minmax(0, 1fr) minmax(10rem, 34%); min-height: 10.6rem; overflow: clip; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--card-radius); background: linear-gradient(145deg, rgba(12, 30, 39, .94), rgba(8, 23, 31, .9)); box-shadow: 0 20px 46px rgba(3, 11, 15, .2), inset 0 1px rgba(255, 255, 255, .09); transition: transform 420ms cubic-bezier(.23, 1, .32, 1), border-color 180ms cubic-bezier(.23, 1, .32, 1); }
.service-card::after { content: ""; position: absolute; z-index: 4; inset: 4px; border: 1px solid rgba(255, 255, 255, .055); border-radius: calc(var(--card-radius) - 4px); pointer-events: none; }
.service-card:nth-child(3) { border-color: rgba(242, 138, 27, .42); background: linear-gradient(145deg, rgba(22, 40, 46, .96), rgba(11, 29, 37, .92)); }
.service-card__icon { display: grid; place-items: center; align-self: stretch; border-right: 1px solid rgba(255, 255, 255, .14); color: #f5f4ef; }
.service-card__icon svg { width: 3rem; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; opacity: calc(.5 + (var(--service-card-p) * .5)); transform: translate3d(0, var(--service-icon-y), 0); }
.service-card__icon .icon-accent { stroke: var(--sc-accent); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: var(--service-accent-offset); }
.service-card__copy { position: relative; z-index: 2; align-self: center; padding: 1.05rem 1.25rem; }
.service-card h3 { margin: 0; font-size: clamp(1.14rem, 1.55vw, 1.42rem); font-weight: 400; line-height: 1.38; }
.service-card p { margin: .45rem 0 0; color: var(--sc-ink-soft); font-size: .9rem; line-height: 1.65; }
.service-card picture { min-width: 0; overflow: clip; clip-path: polygon(var(--service-image-cut) 0, 100% 0, 100% 100%, 0 100%); opacity: var(--service-image-opacity); }
.service-card picture img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.02); transform: translate3d(0, var(--services-shift), 0) scale(var(--service-image-scale)); transition: filter 180ms cubic-bezier(.23, 1, .32, 1); will-change: transform; }
.site-trace { position: relative; height: clamp(6rem, 10vw, 8.5rem); margin-top: clamp(1.2rem, 3vw, 2rem); opacity: .94; }
.site-trace::before { content: ""; position: absolute; inset: 8% 0 0; background-image: linear-gradient(rgba(141, 207, 227, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(141, 207, 227, .06) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.site-trace svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.site-trace__contour { fill: none; stroke: rgba(139, 204, 224, .22); stroke-width: 1.15; stroke-dasharray: 5 8; vector-effect: non-scaling-stroke; }
.site-trace__contour--back { stroke: rgba(139, 204, 224, .11); transform: translateY(-10px); }
.site-trace__route { fill: none; stroke: var(--sc-accent); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; vector-effect: non-scaling-stroke; filter: drop-shadow(0 5px 8px rgba(2, 9, 13, .35)); }
.site-trace__node { color: #ffd19d; opacity: 0; transform-box: fill-box; transform-origin: center; }
.site-trace__node circle:first-child { fill: rgba(242, 138, 27, .12); stroke: var(--sc-accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.site-trace__node circle:last-child { fill: currentColor; }
.site-trace__node--one { opacity: var(--node-one); transform: scale(calc(.68 + (var(--node-one) * .32))); }
.site-trace__node--two { opacity: var(--node-two); transform: scale(calc(.68 + (var(--node-two) * .32))); }
.site-trace__node--three { opacity: var(--node-three); transform: scale(calc(.68 + (var(--node-three) * .32))); }
.site-trace__measure { fill: none; stroke: rgba(139, 204, 224, .32); stroke-width: 1; stroke-dasharray: 3 5; opacity: calc(.18 + (var(--services-p) * .82)); vector-effect: non-scaling-stroke; }

/* Civil scope: a planning surface that connects site, sequence and resources. */
.about { background: #102531; }
.about::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(147, 208, 227, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(147, 208, 227, .08) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(135deg, transparent 30%, #000 100%); }
.about__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.6rem, 5vw, 5rem); align-items: center; }
.about__copy.section-heading { margin: 0; min-width: 0; }
.about__copy p + p { margin-top: .8rem; }
.about__visual { min-width: 0; margin: 0; }
.about__visual img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid rgba(157, 215, 233, .2); border-radius: .75rem; }
.about__visual figcaption { margin-top: .55rem; color: var(--sc-ink-soft); font-size: .8rem; }

/* Gallery */
.gallery { background: linear-gradient(180deg, #19374b, #112631 80%); }
.gallery__heading { max-width: 54rem; }
.gallery-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: repeat(2, minmax(15rem, 22rem)); gap: 1rem; }
.gallery-item { --gallery-item-p: 1; --gallery-clip: 0%; --gallery-scale: 1; --gallery-label-y: 0px; --gallery-label-opacity: 1; position: relative; min-width: 0; min-height: 0; overflow: clip; padding: 0; border: 1px solid rgba(255, 255, 255, .17); border-radius: var(--card-radius); background: #132630; clip-path: inset(var(--gallery-clip) 0 0 0 round var(--card-radius)); cursor: zoom-in; box-shadow: 0 20px 48px rgba(1, 8, 12, .2), inset 0 1px rgba(255, 255, 255, .1), inset 0 0 0 4px rgba(7, 20, 27, .12); transition: transform 460ms cubic-bezier(.23, 1, .32, 1), border-color 180ms cubic-bezier(.23, 1, .32, 1); }
.gallery-item--feature { grid-row: 1 / -1; }
.gallery-item img { width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(var(--gallery-scale)); transition: filter 180ms ease-out; will-change: transform; }
.gallery-item--feature img { object-position: 56% 50%; }
.gallery-item--machine img { object-position: 54% 50%; }
.gallery-item--structure img { object-position: 55% 50%; }
.gallery-item::after { content: ""; position: absolute; z-index: 1; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(5, 14, 19, .78)); pointer-events: none; }
.gallery-item span { position: absolute; z-index: 2; left: .9rem; bottom: .8rem; display: inline-flex; align-items: center; gap: .45rem; padding: 0; background: transparent; opacity: var(--gallery-label-opacity); transform: translate3d(0, var(--gallery-label-y), 0); font-size: .8rem; font-weight: 400; text-shadow: 0 2px 10px rgba(0, 0, 0, .65); }
.gallery-item span::before { content: ""; width: .22rem; height: 1.25rem; flex: 0 0 auto; border-radius: 999px; background: var(--sc-accent); transform: skew(-12deg); }
.generated-note { margin: 1.15rem 0 0; color: rgba(245, 244, 239, .72); font-size: .78rem; line-height: 1.6; }

/* Process */
.section.process { min-height: 0; padding: 0; background: #10212b; }
.process__phase { --process-p: 1; --process-scene-shift: 0px; position: relative; min-height: 100vh; overflow: clip; padding: var(--section-pad) 0; }
.process__scene { opacity: .9; }
.process__scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 18, 25, .5) 0, rgba(7, 18, 25, .28) 50%, rgba(7, 18, 25, .04) 90%), linear-gradient(180deg, rgba(7, 18, 25, .1), rgba(7, 18, 25, .38)); }
.process__scene img { object-position: 67% 50%; filter: saturate(.92) contrast(1.02) brightness(.94); transform: translate3d(0, var(--process-scene-shift), 0) scale(1.025); will-change: transform; }
.process__inner { display: block; }
.process__heading { margin-bottom: clamp(2rem, 4vw, 3rem); }
.process-owner { display: none; margin: 0; }
.process-list { --timeline-offset: 2.5rem; --timeline-axis: .72rem; position: relative; display: grid; gap: .7rem; width: min(48rem, 82%); margin: 0 0 0 auto; padding: 0 0 0 var(--timeline-offset); list-style: none; }
.process-list::before { content: ""; position: absolute; top: 1.8rem; bottom: 1.8rem; left: var(--timeline-axis); width: 2px; background: var(--sc-accent); transform: translateX(-50%) scaleY(var(--process-p)); transform-origin: top; }
.process-list li { position: relative; display: grid; grid-template-columns: 4.1rem minmax(0, 1fr); align-items: center; min-height: 5.35rem; padding: .7rem 1rem .7rem .35rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: .85rem; background: linear-gradient(115deg, rgba(13, 31, 40, .95), rgba(13, 31, 40, .82)); box-shadow: 0 16px 34px rgba(3, 11, 15, .15), inset 0 1px rgba(255, 255, 255, .09); transition: transform 420ms cubic-bezier(.23, 1, .32, 1), border-color 180ms cubic-bezier(.23, 1, .32, 1); }
.process-dot { position: absolute; top: 50%; left: calc((var(--timeline-axis) - var(--timeline-offset)) - .4rem - 1px); width: .8rem; height: .8rem; border: 2px solid #ffd09f; border-radius: 50%; background: var(--sc-accent); box-shadow: 0 0 0 5px rgba(239, 138, 33, .14); opacity: var(--step-opacity, 1); transform: translateY(-50%) scale(var(--step-scale, 1)); }
.process-icon { display: grid; place-items: center; align-self: stretch; border-right: 1px solid rgba(255, 255, 255, .18); color: #fff; }
.process-icon svg { width: 2.45rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; opacity: var(--step-opacity, 1); transform: translate3d(0, var(--step-icon-y, 0px), 0); }
.process-list li > div { padding-left: 1rem; }
.process-list h3 { margin: 0; font-size: 1.05rem; font-weight: 400; line-height: 1.4; }
.process-list p { margin: .24rem 0 0; color: var(--sc-ink-soft); font-size: .86rem; line-height: 1.6; }
.process-cta { width: min(48rem, 82%); margin: 1.35rem 0 0 auto; }
.process-cta .primary-button { width: 100%; min-height: 4rem; font-size: 1.22rem; }
.process-cta .primary-button svg { width: 2.1rem; height: 2.1rem; padding: .45rem; border-radius: 50%; background: rgba(8, 20, 26, .12); transform: scale(var(--cta-icon-scale, 1)) rotate(var(--cta-icon-turn, 0deg)); }

/* Contact: a definite close that holds instead of trailing off. */
.contact { position: relative; overflow: clip; scroll-margin-top: 5rem; padding-block: clamp(2.6rem, 6vw, 5rem); background: #101d25; border-top: 1px solid rgba(255, 255, 255, .14); }
.contact__blueprint { position: absolute; inset: 0; overflow: hidden; opacity: .25; pointer-events: none; }
.contact__blueprint span { position: absolute; border: 1px solid #79a9ba; transform: rotate(-8deg); }
.contact__blueprint span:nth-child(1) { width: 22rem; height: 22rem; right: -3rem; top: -9rem; border-radius: 50%; }
.contact__blueprint span:nth-child(2) { width: 13rem; height: 13rem; right: 4rem; top: -4rem; border-radius: 50%; }
.contact__blueprint span:nth-child(3) { width: 28rem; height: 9rem; right: 11%; bottom: -3rem; }
.contact__blueprint span:nth-child(4) { width: 18rem; height: 7rem; left: -5rem; top: 30%; }
.contact__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(14rem, .7fr); gap: clamp(1.4rem, 4vw, 4rem); align-items: center; }
.contact__copy { max-width: 45rem; }
.contact h3 { max-width: 24ch; margin: 0; font-size: clamp(1.85rem, 3.6vw, 3.45rem); font-weight: 400; line-height: 1.24; text-wrap: balance; }
.contact__copy > p:last-child { max-width: 54ch; margin: .9rem 0 0; color: var(--sc-ink-soft); font-size: clamp(.95rem, 1.25vw, 1.08rem); line-height: 1.65; }
.contact-cta .primary-button { width: 100%; min-height: 4rem; font-size: 1.1rem; }
.contact-cta p { margin: .7rem 0 0; color: var(--sc-ink-soft); font-size: .8rem; line-height: 1.5; }

.site-footer { display: flex; justify-content: space-between; gap: 2rem; padding: 1.7rem var(--page-gutter) calc(1.7rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .1); background: #091218; color: rgba(245, 244, 239, .68); font-size: .75rem; }
.site-footer p { margin: 0; }
.demo-toast { position: fixed; z-index: 800; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); max-width: calc(100vw - 2rem); padding: .85rem 1rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: .75rem; background: rgba(10, 23, 29, .96); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); opacity: 0; transform: translate(-50%, 130%); transition: transform 220ms cubic-bezier(.23, 1, .32, 1), opacity 180ms ease-out; font-size: .84rem; }
.demo-toast.is-open { opacity: 1; transform: translate(-50%, 0); }
.lightbox { width: min(92vw, 72rem); max-width: none; max-height: 92vh; padding: .65rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: 1rem; background: #0b171d; color: var(--sc-ink); box-shadow: 0 28px 80px rgba(0, 0, 0, .55); }
.lightbox::backdrop { background: rgba(2, 8, 11, .82); backdrop-filter: blur(6px); }
.lightbox img { display: block; width: 100%; height: auto; max-height: calc(92vh - 1.3rem); object-fit: contain; border-radius: .65rem; }
.lightbox__close { position: absolute; z-index: 2; top: 1rem; right: 1rem; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; background: rgba(7, 17, 22, .82); cursor: pointer; font-size: 1.5rem; line-height: 1; }

@media (hover: hover) and (pointer: fine) {
  .service-card:hover { border-color: rgba(242, 138, 27, .5); transform: translateY(-3px); }
  .service-card:hover picture img { transform: translate3d(0, var(--services-shift), 0) scale(1.075); filter: saturate(1.02) contrast(1.03); }
  .gallery-item:hover { border-color: rgba(242, 138, 27, .42); transform: translateY(-3px); }
  .gallery-item:hover img { transform: scale(1.035); }
  .gallery-item:hover img { filter: saturate(1.05) contrast(1.02); }
  .process-list li:hover { border-color: rgba(242, 138, 27, .42); transform: translateY(-2px); }
}

@media (min-width: 861px) {
  .mobile-menu { display: none !important; }
  .hero-copy--intro, .hero-copy--machine, .hero-copy--resolve { bottom: clamp(1.5rem, 3.5vh, 2.5rem); }
  .hero-film__frame {
    inset: -10px -15px;
    transform: translate3d(var(--hero-pointer-x, 0px), var(--hero-pointer-y, 0px), 0);
    transition: transform 320ms cubic-bezier(.2, .65, .3, 1);
  }
  .hero-stage .hero-film__frame :is(.sc-stage__poster, video[data-sc-scrub]) { object-position: 24% 18%; }
  .hero-copy--machine { right: clamp(4rem, 8vw, 9rem) !important; }
  .hero-copy--resolve { left: clamp(4rem, 7vw, 7rem) !important; }
  .process__inner { display: grid; grid-template-columns: minmax(17rem, .72fr) minmax(36rem, 1.38fr); grid-template-areas: "heading heading" "owner list"; column-gap: clamp(2rem, 4vw, 4rem); align-items: stretch; }
  .process__heading { grid-area: heading; }
  .process-owner { position: relative; grid-area: owner; display: flex; min-height: 34rem; margin: 0; align-items: flex-end; justify-content: center; overflow: visible; isolation: isolate; clip-path: inset(var(--owner-clip, 0%) -12% 0 -12%); opacity: var(--owner-opacity, 1); }
  .process-owner::before { content: ""; position: absolute; z-index: -2; inset: 7% -7% 5%; border: 1px solid rgba(112, 166, 193, .2); background: radial-gradient(circle at 54% 37%, rgba(42, 99, 126, .36), transparent 52%), linear-gradient(145deg, rgba(13, 40, 54, .52), rgba(7, 19, 26, .04) 70%); clip-path: polygon(13% 0, 100% 0, 83% 100%, 0 100%); }
  .process-owner::after { content: ""; position: absolute; z-index: -1; left: 5%; right: 5%; bottom: 1.7rem; height: 28%; background: radial-gradient(ellipse at center, rgba(239, 138, 33, .24), rgba(9, 24, 32, .44) 46%, transparent 73%); filter: blur(12px); pointer-events: none; }
  .process-owner img { position: relative; z-index: 1; width: min(100%, 30rem); height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 25px 24px rgba(0, 0, 0, .34)); transform: scale(var(--owner-scale, 1)); transform-origin: 50% 100%; }
  .process-owner figcaption { position: absolute; z-index: 2; left: 11%; right: 11%; bottom: .4rem; padding: .65rem .9rem .55rem; border-top: 2px solid var(--sc-accent); background: linear-gradient(90deg, rgba(7, 21, 29, .92), rgba(7, 21, 29, .54)); color: #fff; font-size: .72rem; font-weight: 400; letter-spacing: .05em; }
  .process-list { grid-area: list; width: 100%; margin: 0; }
}

@media (min-width: 861px) and (max-aspect-ratio: 4/3) {
  .hero-film { background: #0b151c; }
  .hero-stage .hero-film__frame :is(.sc-stage__poster, video[data-sc-scrub]) {
    object-fit: contain;
    object-position: 50% 10%;
    mask-image: linear-gradient(#000 55%, transparent 76%);
  }
}

@media (max-width: 860px) {
  :root { --page-gutter: 1.15rem; --section-pad: 5rem; --card-radius: .9rem; }
  .site-bar { min-height: 4.6rem; padding: max(.75rem, env(safe-area-inset-top)) .95rem .55rem; gap: .45rem; }
  .brand { min-width: 0; gap: .5rem; }
  .brand__name { overflow: hidden; font-size: clamp(.69rem, 3.15vw, .8rem); letter-spacing: 0; text-overflow: ellipsis; }
  .site-nav { display: none; }
  .site-bar__actions { gap: .18rem; }
  .language-switch { padding: 2px; }
  .language-switch button { min-width: 2.75rem; min-height: 2.75rem; padding: 0; font-size: .68rem; }
  .call-pill { width: 2.75rem; min-height: 2.75rem; padding: 0; }
  .call-pill span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .call-pill svg { width: 1rem; }
  .menu-toggle { display: block; }
  .mobile-menu { right: .95rem; }
  .mobile-menu__languages { display: none; }
  .hero-local-scrim { background: linear-gradient(180deg, rgba(5, 14, 19, .06) 0, rgba(5, 14, 19, .02) 43%, rgba(5, 14, 19, .25) 68%, rgba(5, 14, 19, .56) 100%), radial-gradient(ellipse 82% 38% at 10% 81%, rgba(5, 14, 19, .28), transparent 78%); }
  .hero-site-light {
    inset: -5% -22% 37%;
    background: radial-gradient(ellipse 42% 34% at 46% 46%, rgb(255 175 100 / .3), rgb(255 142 63 / .1) 58%, transparent 100%);
    transform: translate3d(calc(-7% + var(--hero-line) * 15%), 0, 0);
  }
  .hero-atmosphere--rear { width: 96vw; right: -35vw; top: 16vh; }
  .hero-atmosphere--front { width: 110vw; left: -44vw; bottom: -5vh; }
  .hero-copy { width: calc(100vw - 2.3rem); max-width: 34rem; left: 1.15rem !important; right: auto !important; bottom: calc(max(1.05rem, env(safe-area-inset-bottom)) + .8rem) !important; padding: .75rem 0; background: transparent; backdrop-filter: none; text-align: left !important; }
  .hero-copy h1 { max-width: 12ch; font-size: clamp(2rem, 8vw, 2.9rem); line-height: 1.24; }
  .hero-copy h2 { max-width: 13ch; font-size: clamp(1.78rem, 7.2vw, 2.55rem); line-height: 1.26; }
  .hero-copy p { max-width: 34ch; font-size: .86rem; line-height: 1.58; }
  .hero-kicker { font-size: .72rem !important; }
  .hero-copy--intro .hero-kicker { display: none; }
  .hero-copy--intro h1::after { width: 3.5rem; height: .24rem; margin-top: .75rem; }
  .hero-copy .primary-button { min-height: 3.1rem; margin-top: 1rem; }
  .hero-handoff { height: 4.6rem; }
  .section { min-height: 100svh; padding: 5rem 0 2.35rem; }
  .section-heading { gap: .65rem; margin-bottom: 1.35rem; }
  .section-heading h2 { font-size: clamp(1.78rem, 7.4vw, 2.35rem); line-height: 1.2; }
  .section-heading p { margin-top: .45rem; font-size: .82rem; line-height: 1.52; }
  .section-slash { width: .28rem; height: 2.15rem; margin-top: .1rem; }
  .services__scene { opacity: .82; }
  .services__scene img { object-position: 74% 50%; }
  .services::after { background: linear-gradient(180deg, rgba(10, 26, 35, .28), rgba(9, 23, 31, .58)); }
  .services .section-heading p { display: none; }
  .service-ledger { grid-template-columns: 1fr; gap: .62rem; }
  .service-card, .service-card--wide { grid-template-columns: 4.5rem minmax(0, 1fr) minmax(6.5rem, 32%); min-height: 6.6rem; }
  .service-card__icon svg { width: 2.65rem; }
  .service-card__copy { padding: .6rem .7rem; }
  .service-card h3 { font-size: .92rem; line-height: 1.22; }
  .service-card p { margin-top: .25rem; font-size: .66rem; line-height: 1.35; }
  .service-card picture { clip-path: polygon(var(--service-image-cut, 24%) 0, 100% 0, 100% 100%, 0 100%); }
  .site-trace { height: 9.8rem; margin-top: .85rem; }
  .site-trace::before { background-size: 28px 28px; }
  .section.about { min-height: 0; padding-block: 3.4rem; }
  .about__inner { grid-template-columns: 1fr; }
  .about__visual img { aspect-ratio: 16 / 10; }
  .process__phase { min-height: 100svh; padding: 5rem 0 2.35rem; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: .7rem; }
  .gallery-item { min-height: 8.5rem; aspect-ratio: 1.16 / 1; }
  .gallery-item--feature { grid-column: 1 / -1; grid-row: auto; min-height: 14.5rem; aspect-ratio: 1.5 / 1; }
  .gallery-item span { left: .65rem; bottom: .55rem; font-size: .68rem; }
  .gallery-item span::before { width: .18rem; height: 1rem; }
  .generated-note { margin-top: .7rem; font-size: .62rem; }
  .process__scene::after { background: linear-gradient(180deg, rgba(7, 18, 25, .28) 0, rgba(7, 18, 25, .14) 28%, rgba(7, 18, 25, .48) 75%), linear-gradient(90deg, rgba(7, 18, 25, .28), transparent 80%); }
  .process__scene img { object-position: 67% 50%; }
  .process__heading { max-width: 22rem; margin-bottom: 1.4rem; }
  .process__heading p { display: none; }
  .process-list { --timeline-offset: 2.05rem; --timeline-axis: .55rem; width: 100%; gap: .45rem; margin: 0; }
  .process-list::before { top: 1.6rem; bottom: 1.6rem; }
  .process-list li { grid-template-columns: 3.65rem minmax(0, 1fr); min-height: 4.25rem; padding: .45rem .65rem .45rem .2rem; border-radius: .7rem; }
  .process-icon svg { width: 2.15rem; }
  .process-list li > div { padding-left: .75rem; }
  .process-list h3 { font-size: .88rem; line-height: 1.2; }
  .process-list p { margin-top: .16rem; font-size: .65rem; line-height: 1.35; }
  .contact__inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .contact-cta .primary-button { min-height: 3.8rem; }
  .site-footer { display: grid; gap: .55rem; }
}

@media (max-width: 540px) {
  .brand__name { display: none; }
}

@media (max-width: 380px), (max-height: 690px) and (max-width: 860px) {
  :root { --page-gutter: 1rem; --section-pad: 4.6rem; }
  .site-bar { min-height: 4.35rem; padding-top: max(.65rem, env(safe-area-inset-top)); padding-inline: .72rem; }
  .menu-toggle { width: 2.75rem; height: 2.75rem; }
  .hero-copy { width: calc(100vw - 2rem); left: 1rem !important; }
  .hero-copy h1 { font-size: clamp(1.8rem, 7.7vw, 2.3rem); line-height: 1.26; }
  .hero-copy h2 { font-size: clamp(1.58rem, 6.9vw, 2.05rem); line-height: 1.28; }
  .hero-copy p { margin-top: .68rem; font-size: .8rem; line-height: 1.55; }
  .hero-kicker { margin-bottom: .48rem !important; font-size: .68rem !important; }
  .primary-button { min-height: 2.85rem; padding: .62rem 1rem; font-size: .86rem; }
  .service-card, .service-card--wide { grid-template-columns: 4rem minmax(0, 1fr) 5.9rem; min-height: 5.85rem; }
  .service-card__icon svg { width: 2.35rem; }
  .service-card__copy { padding: .48rem .58rem; }
  .service-card h3 { font-size: .8rem; }
  .service-card p { font-size: .59rem; }
  .gallery-item { min-height: 7.3rem; }
  .gallery-item--feature { min-height: 12rem; }
  .process-list li { min-height: 3.75rem; }
}

.service-card[data-sc-in],
.gallery-item[data-sc-in],
.process-list li[data-sc-in],
.about__visual[data-sc-in] {
  transition: opacity 820ms ease-out, transform 820ms cubic-bezier(.2, .65, .3, 1), border-color 180ms ease-out;
}

.service-card[data-sc-in]:focus-within,
.gallery-item[data-sc-in]:focus-visible {
  opacity: 1;
  transform: none;
}

.process-list::before { transition: transform 110ms ease-out; }

@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion-preview) { scroll-behavior: auto; }
  html:not(.force-motion-preview) .hero.sc-act--pinned { height: auto !important; }
  html:not(.force-motion-preview) .hero-stage { position: relative; top: auto; }
  html:not(.force-motion-preview) .hero-copy--intro { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
  html:not(.force-motion-preview) .hero-copy--machine, html:not(.force-motion-preview) .hero-copy--resolve { display: none; }
  html:not(.force-motion-preview) *, html:not(.force-motion-preview) *::before, html:not(.force-motion-preview) *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  html:not(.force-motion-preview) .hero-film__frame,
  html:not(.force-motion-preview) .hero-atmosphere, html:not(.force-motion-preview) .service-card picture img, html:not(.force-motion-preview) .gallery-item img, html:not(.force-motion-preview) .process__scene img, html:not(.force-motion-preview) .process-owner img { transform: none !important; }
  html:not(.force-motion-preview) .hero-film video { display: none; }
  html:not(.force-motion-preview) .hero-site-light { display: none; }
  html:not(.force-motion-preview) .hero-handoff { opacity: .58; }
  html:not(.force-motion-preview) .hero-handoff path { stroke-dashoffset: 0; }
  html:not(.force-motion-preview) [data-sc-in], html:not(.force-motion-preview) [data-sc-stagger] > * { opacity: 1; transform: none; transition-duration: 0ms; }
  html:not(.force-motion-preview) .process-list::before { transform: translateX(-50%) scaleY(1); transition: none; }
  html:not(.force-motion-preview) .site-trace__route { stroke-dashoffset: 0 !important; }
  html:not(.force-motion-preview) .site-trace__node { opacity: 1; transform: none; }
  html:not(.force-motion-preview) .service-card__icon svg, html:not(.force-motion-preview) .process-icon svg { opacity: 1 !important; transform: none !important; }
  html:not(.force-motion-preview) .service-card__icon .icon-accent { stroke-dashoffset: 0 !important; }
  html:not(.force-motion-preview) .gallery-item, html:not(.force-motion-preview) .process-owner { clip-path: none !important; opacity: 1 !important; }
  html:not(.force-motion-preview) .gallery-item span { opacity: 1 !important; transform: none !important; }
  html:not(.force-motion-preview) .process-dot { opacity: 1 !important; transform: translateY(-50%) scale(1) !important; }
  html:not(.force-motion-preview) .process-cta .primary-button svg { transform: none !important; }
}
