@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
:root {
  --orange: #f8991c;
  --orange-hot: #fcbe6b;
  --ink: #0b1f4d;
  --paper: #f7f8fb;
  --white: #fff;
  --line: rgba(17, 16, 14, 0.16);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Plus Jakarta Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--ink); color: var(--orange); }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  background: var(--orange);
  transition: clip-path 1.05s var(--ease), visibility 0s 1.05s;
  clip-path: inset(0 0 0 0);
}
.preloader.is-hidden { clip-path: inset(0 0 100% 0); visibility: hidden; }
.preloader__mark { position: relative; width: 92px; aspect-ratio: 1; }
.preloader__mark img { width: 100%; border-radius: 24%; animation: preloadPulse 1.4s ease-in-out infinite; }
.preloader__mark span {
  position: absolute; inset: -14px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%;
  animation: preloadRing 1.4s ease-in-out infinite;
}
.preloader p { margin: 0; letter-spacing: .5em; font-weight: 800; font-size: 12px; }
@keyframes preloadPulse { 50% { transform: scale(.88) rotate(-5deg); } }
@keyframes preloadRing { 50% { transform: scale(1.22); opacity: 0; } }

.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 10000; border-radius: 50%;
  transform: translate(-50%, -50%); opacity: 0;
}
.cursor { width: 42px; height: 42px; border: 1px solid rgba(17,16,14,.6); transition: width .25s, height .25s, background .25s, border-color .25s; }
.cursor-dot { width: 6px; height: 6px; background: var(--ink); }
.cursor.is-active { width: 72px; height: 72px; background: rgba(247,152,29,.18); border-color: var(--orange); }

.page-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 500; }
.page-progress span { display: block; width: 100%; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }

.site-header {
  position: fixed; z-index: 200; left: 24px; right: 24px; top: 18px;
  max-width: calc(var(--max) - 48px); margin: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 12px 14px 12px 16px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px;
  background: rgba(245,242,235,.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(17,16,14,.08);
  transform: translateY(-120%); animation: headerIn 1s var(--ease) 1.4s forwards;
}
@keyframes headerIn { to { transform: translateY(0); } }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-weight: 800; letter-spacing: -.04em; }
.brand img { width: 34px; height: 34px; object-fit: cover; border-radius: 10px; }
.site-nav { display: flex; gap: 30px; font-size: 13px; font-weight: 600; }
.site-nav a { position: relative; }
.site-nav a::after { content:""; position:absolute; left:0; right:0; bottom:-6px; height:1px; background:var(--ink); transform:scaleX(0); transform-origin:right; transition:transform .35s var(--ease); }
.site-nav a:hover::after { transform:scaleX(1); transform-origin:left; }
.site-header > .button { justify-self: end; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 58px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--white); font-size: 14px; font-weight: 700;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
}
.button i { width: 29px; height: 29px; display:grid; place-items:center; border-radius:50%; background: var(--orange); color: var(--ink); font-style: normal; }
.button:hover { box-shadow: 0 14px 28px rgba(17,16,14,.2); }
.button--small { min-height: 43px; padding: 0 8px 0 18px; gap: 14px; font-size: 12px; }
.button--small i { width: 29px; height: 29px; }
.button--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Some WordPress themes ship global `button { ... }` rules (often a bold
   accent color) that beat these classes on real <button> elements (our
   <a class="button"> links are unaffected). Re-assert our design system
   with higher specificity + !important so plugin buttons never inherit
   the active theme's button styling by accident. */
.upbase-site button.button,
.upbase-site button.button--dark {
  background: var(--ink) !important;
  color: var(--white) !important;
  border: 1px solid var(--ink) !important;
  font-family: "Plus Jakarta Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
.upbase-site button.button:hover,
.upbase-site button.button--dark:hover {
  background: var(--ink) !important;
  color: var(--white) !important;
}

.text-link { display:inline-flex; gap:10px; align-items:center; font-size:14px; font-weight:700; border-bottom:1px solid var(--ink); padding-bottom:5px; }
.text-link span { transition: transform .3s var(--ease); }
.text-link:hover span { transform: translateX(5px); }

.section-grid { width: min(100%, var(--max)); margin: 0 auto; padding-left: clamp(24px, 5vw, 84px); padding-right: clamp(24px, 5vw, 84px); }
.hero {
  position: relative; min-height: 100svh; display: grid; grid-template-columns: 1.13fr .87fr; align-items:center; gap: 40px;
  padding-top: 130px; padding-bottom: 70px; overflow:hidden;
}
.hero__noise { position:absolute; inset:0; pointer-events:none; opacity:.11; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"); }
.hero__blob { position:absolute; border-radius:50%; filter: blur(2px); pointer-events:none; }
.hero__blob--one { width:420px; height:420px; background:var(--orange); top:-160px; right:20%; opacity:.2; }
.hero__blob--two { width:260px; height:260px; border:70px solid var(--orange); left:calc(clamp(24px,5vw,84px) * -1 - 140px); bottom:-70px; opacity:.12; }
.hero__copy { position:relative; z-index:2; }
.eyebrow { display:flex; align-items:center; gap:12px; margin:0 0 28px; font-size:11px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; }
.eyebrow > span { width:42px; height:1px; background:currentColor; }
.eyebrow--light { color: rgba(255,255,255,.72); }
.hero__title { margin:0; font-size:clamp(64px, 7.4vw, 126px); line-height:.84; letter-spacing:-.075em; font-weight:800; }
.title-line { display:block; overflow:hidden; padding-bottom:.08em; }
.title-line > span { display:block; transform:translateY(110%) rotate(3deg); animation:titleIn 1.2s var(--ease) 1.08s forwards; }
.title-line:nth-child(2) > span { animation-delay:1.2s; }
.title-line--accent { color:var(--orange); font-style:italic; font-weight:800; }
@keyframes titleIn { to { transform:translateY(0) rotate(0); } }
.hero__lead { max-width:640px; margin:32px 0 0; font-size:clamp(17px, 1.55vw, 22px); line-height:1.55; color:rgba(17,16,14,.72); }
.hero__actions { display:flex; align-items:center; gap:28px; margin-top:38px; }
.hero__visual { position:relative; z-index:2; width:min(39vw, 560px); aspect-ratio:1; justify-self:end; display:grid; place-items:center; }
.logo-core { width:45%; aspect-ratio:1; border-radius:30%; overflow:hidden; box-shadow:0 34px 90px rgba(247,152,29,.3); animation:logoFloat 4s ease-in-out infinite; }
.logo-core img { width:100%; height:100%; object-fit:cover; }
@keyframes logoFloat { 50% { transform:translateY(-15px) rotate(2deg); } }
.orbit { position:absolute; border-radius:50%; border:1px solid var(--line); }
.orbit--outer { inset:2%; animation:spin 22s linear infinite; }
.orbit--inner { inset:19%; border-style:dashed; animation:spinReverse 16s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
@keyframes spinReverse { to { transform:rotate(-360deg); } }
.orbit__label { position:absolute; display:grid; place-items:center; width:72px; height:72px; border-radius:50%; background:var(--ink); color:#fff; font-size:9px; font-weight:800; letter-spacing:.12em; box-shadow:0 10px 25px rgba(17,16,14,.15); }
.orbit__label--one { top:-20px; left:50%; }
.orbit__label--two { right:-20px; top:52%; }
.orbit__label--three { left:-20px; bottom:18%; }
.visual-chip { position:absolute; padding:10px 14px; border-radius:999px; background:rgba(255,255,255,.72); border:1px solid rgba(17,16,14,.1); backdrop-filter:blur(10px); font-size:11px; font-weight:800; box-shadow:0 12px 35px rgba(17,16,14,.08); }
.visual-chip--one { top:14%; right:2%; animation:chipFloat 4.5s ease-in-out infinite; }
.visual-chip--two { bottom:8%; left:18%; animation:chipFloat 4.5s ease-in-out .7s infinite; }
.visual-chip--three { top:34%; left:-3%; animation:chipFloat 4.5s ease-in-out 1.4s infinite; }
@keyframes chipFloat { 50% { transform:translateY(-9px); } }
.hero__scroll { position:absolute; bottom:30px; left:clamp(24px,5vw,84px); display:flex; align-items:center; gap:12px; font-size:9px; font-weight:800; letter-spacing:.2em; transform:rotate(-90deg); transform-origin:left center; }
.hero__scroll i { display:block; width:45px; height:1px; background:var(--ink); position:relative; overflow:hidden; }
.hero__scroll i::after { content:""; position:absolute; inset:0; background:var(--orange); animation:scrollLine 1.7s ease-in-out infinite; transform:translateX(-100%); }
@keyframes scrollLine { 60%,100% { transform:translateX(100%); } }

.marquee { overflow:hidden; background:var(--ink); color:var(--white); border-block:1px solid var(--ink); transform:rotate(-1.2deg) scale(1.02); }
.marquee__track { width:max-content; display:flex; align-items:center; gap:30px; padding:18px 0; font-size:clamp(24px,3.3vw,54px); font-weight:800; letter-spacing:-.04em; animation:marquee 26s linear infinite; will-change:transform; }
.marquee__track i { color:var(--orange); font-style:normal; font-size:.55em; }
@keyframes marquee { to { transform:translateX(-50%); } }

.section-kicker { font-size:11px; font-weight:800; letter-spacing:.16em; color:rgba(17,16,14,.5); }
.about { padding-top:170px; padding-bottom:170px; display:grid; grid-template-columns:1fr 4fr; gap:50px; }
.about__statement { display:grid; grid-template-columns:1fr; gap:45px; }
.big-copy { max-width:1050px; margin:0; font-size:clamp(42px,5.8vw,92px); line-height:1.02; letter-spacing:-.055em; font-weight:800; }
.big-copy em { color:var(--orange); font-family:"Plus Jakarta Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight:400; }
.about__detail { width:min(100%,560px); justify-self:end; display:grid; gap:25px; }
.about__detail p { margin:0; font-size:18px; line-height:1.65; color:rgba(17,16,14,.66); }
.about__detail .text-link { justify-self:start; }

.services { padding:140px 0 150px; background:var(--orange); border-radius:48px 48px 0 0; overflow:hidden; }
.services__head { display:grid; grid-template-columns:1fr 4fr; gap:50px; margin-bottom:75px; }
.services .section-kicker { color:rgba(17,16,14,.56); }
.section-title { margin:0; font-size:clamp(48px,6.3vw,98px); line-height:.95; letter-spacing:-.06em; font-weight:800; }
.section-title span { font-family:"Plus Jakarta Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight:400; font-style:italic; }
.service-list { width:min(100%,var(--max)); margin:0 auto; padding:0 clamp(24px,5vw,84px); display:grid; grid-template-columns:repeat(3,1fr); gap:16px; perspective:1200px; }
.service-card { min-height:520px; padding:28px; border-radius:30px; background:rgba(255,255,255,.88); border:1px solid rgba(255,255,255,.45); display:flex; flex-direction:column; position:relative; overflow:hidden; transform-style:preserve-3d; transition:box-shadow .35s var(--ease), background .35s; }
.service-card::before { content:""; position:absolute; inset:auto -25% -45% -25%; height:65%; border-radius:50%; background:var(--orange-hot); opacity:.18; transform:scale(.75); transition:transform .6s var(--ease), opacity .6s; }
.service-card:hover { background:#fff; box-shadow:0 32px 80px rgba(17,16,14,.16); }
.service-card:hover::before { transform:scale(1.2); opacity:.28; }
.service-card__number { font-size:11px; font-weight:800; letter-spacing:.14em; }
.service-card__icon { margin-left:auto; margin-top:-18px; width:54px; height:54px; display:grid; place-items:center; border-radius:50%; background:var(--ink); color:#fff; font-size:22px; }
.service-card h3 { margin:auto 0 16px; font-size:clamp(42px,4vw,62px); line-height:1; letter-spacing:-.055em; }
.service-card p { margin:0; font-size:16px; line-height:1.6; color:rgba(17,16,14,.66); }
.service-card__tags { position:relative; display:flex; flex-wrap:wrap; gap:7px; margin-top:28px; }
.service-card__tags span { border:1px solid var(--line); border-radius:999px; padding:7px 10px; font-size:10px; font-weight:800; }

.process { padding-top:170px; padding-bottom:170px; display:grid; grid-template-columns:1fr 4fr; gap:50px; }
.process__content { display:grid; gap:80px; }
.process__steps { border-top:1px solid var(--line); }
.process-step { display:grid; grid-template-columns:90px 1fr auto; align-items:center; gap:26px; padding:32px 0; border-bottom:1px solid var(--line); transition:padding .4s var(--ease), background .4s; }
.process-step:hover { padding-left:20px; padding-right:20px; background:rgba(247,152,29,.08); }
.process-step__index { font-size:11px; font-weight:800; letter-spacing:.14em; color:rgba(17,16,14,.45); }
.process-step h3 { margin:0 0 8px; font-size:clamp(30px,4vw,58px); letter-spacing:-.05em; }
.process-step p { margin:0; color:rgba(17,16,14,.62); font-size:15px; }
.process-step > span { font-size:34px; transition:transform .4s var(--ease); }
.process-step:hover > span { transform:rotate(45deg); }

.contact { position:relative; min-height:820px; display:grid; place-items:center; overflow:hidden; background:var(--orange); color:var(--ink); border-radius:48px 48px 0 0; }
.contact__content { position:relative; z-index:3; text-align:center; padding:100px 24px; }
.contact h2 { margin:0; font-size:clamp(68px,10vw,156px); line-height:.78; letter-spacing:-.075em; font-weight:800; }
.contact h2 em { font-family:"Plus Jakarta Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight:400; }
.contact__content > p:not(.eyebrow) { max-width:560px; margin:34px auto; font-size:18px; line-height:1.6; }
.contact .eyebrow { justify-content:center; }
.contact__rings { position:absolute; inset:0; display:grid; place-items:center; pointer-events:none; }
.contact__rings i { position:absolute; width:28vw; aspect-ratio:1; border:1px solid rgba(17,16,14,.18); border-radius:50%; animation:ringPulse 5s ease-in-out infinite; }
.contact__rings i:nth-child(2) { animation-delay:1.6s; }
.contact__rings i:nth-child(3) { animation-delay:3.2s; }
@keyframes ringPulse { 0% { transform:scale(.35); opacity:0; } 20% { opacity:1; } 100% { transform:scale(3.4); opacity:0; } }
.contact__word { position:absolute; bottom:-.17em; left:50%; transform:translateX(-50%); font-size:23vw; font-weight:800; line-height:1; letter-spacing:-.09em; color:rgba(17,16,14,.06); white-space:nowrap; }

.site-footer { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:30px; padding:28px clamp(24px,5vw,84px); background:var(--ink); color:#fff; font-size:11px; letter-spacing:.08em; }
.site-footer .brand img { width:30px; height:30px; }
.site-footer p { margin:0; }
.site-footer p:last-child { justify-self:end; }

.reveal { opacity:0; transform:translateY(45px); transition:opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.is-visible { opacity:1; transform:translateY(0); }

@media (max-width: 1000px) {
  .site-nav { display:none; }
  .site-header { grid-template-columns:1fr auto; }
  .hero { grid-template-columns:1fr; padding-top:150px; }
  .hero__visual { width:min(82vw,520px); justify-self:center; margin-top:35px; }
  .about, .services__head, .process { grid-template-columns:1fr; }
  .service-list { grid-template-columns:1fr; }
  .service-card { min-height:420px; }
  .section-kicker { margin-bottom:10px; }
  .site-footer { grid-template-columns:1fr; text-align:center; }
  .site-footer .brand, .site-footer p:last-child { justify-self:center; }
}

@media (max-width: 640px) {
  .site-header { left:12px; right:12px; top:10px; padding:9px 9px 9px 12px; }
  .brand span { font-size:13px; }
  .site-header .button span { display:none; }
  .site-header .button { padding:0; width:42px; }
  .hero { min-height:auto; padding-top:130px; padding-bottom:95px; }
  .hero__title { font-size:clamp(54px,17vw,86px); }
  .hero__lead { font-size:17px; }
  .hero__actions { align-items:flex-start; flex-direction:column; }
  .hero__visual { margin-top:10px; }
  .orbit__label { width:58px; height:58px; font-size:7px; }
  .visual-chip { font-size:9px; }
  .hero__scroll { display:none; }
  .about, .process { padding-top:110px; padding-bottom:110px; }
  .big-copy { font-size:42px; }
  .services { padding-top:100px; border-radius:28px 28px 0 0; }
  .service-card { min-height:390px; border-radius:24px; }
  .process__content { gap:50px; }
  .process-step { grid-template-columns:52px 1fr auto; gap:14px; }
  .process-step p { font-size:14px; }
  .contact { min-height:620px; border-radius:28px 28px 0 0; }
  .contact h2 { font-size:18vw; }
  .contact__rings i { width:56vw; }
}

@media (pointer: coarse), (max-width: 900px) {
  .cursor, .cursor-dot { display:none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .reveal { opacity:1; transform:none; }
  .title-line > span { transform:none; }
  .preloader { display:none; }
}

/* WordPress integration safeguards */
html { margin-top: 0 !important; }
body.upbase-landing-page { margin: 0 !important; padding: 0 !important; min-height: 100%; }
body.upbase-landing-page .upbase-site { width: 100%; min-height: 100vh; overflow: clip; }
body.upbase-landing-page .upbase-site,
body.upbase-landing-page .upbase-site * { box-sizing: border-box; }
body.upbase-landing-page .upbase-site a { text-decoration: none; }
body.upbase-landing-page #wpadminbar { z-index: 10001; }
@media screen and (min-width: 783px) {
  body.admin-bar.upbase-landing-page .site-header { top: 50px; }
}
@media screen and (max-width: 782px) {
  body.admin-bar.upbase-landing-page .site-header { top: 64px; }
}

/* Dynamic WordPress images (v1.1) */
.hero__photo {
  position: absolute;
  inset: 11% 9%;
  z-index: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%;
  box-shadow: 0 36px 90px rgba(17,16,14,.2);
  animation: upbasePhotoMorph 9s ease-in-out infinite alternate;
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent 45%, rgba(247,152,29,.24));
  pointer-events: none;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: upbasePhotoZoom 12s ease-in-out infinite alternate;
}
.hero__visual--has-photo .orbit { z-index: 2; border-color: rgba(17,16,14,.26); }
.hero__visual--has-photo .orbit--inner { border-color: rgba(255,255,255,.72); }
.hero__visual--has-photo .logo-core {
  position: absolute;
  right: 8%;
  bottom: 10%;
  z-index: 4;
  width: 23%;
  border: 6px solid var(--paper);
  box-shadow: 0 24px 70px rgba(17,16,14,.28);
}
.hero__visual--has-photo .visual-chip { z-index: 5; }
.hero__visual--has-photo .orbit__label { z-index: 3; }
@keyframes upbasePhotoMorph {
  0% { border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%; transform: rotate(-2deg) translateY(0); }
  100% { border-radius: 58% 42% 55% 45% / 43% 58% 42% 57%; transform: rotate(2deg) translateY(-10px); }
}
@keyframes upbasePhotoZoom { to { transform: scale(1.16) translate3d(1.5%, -1%, 0); } }

.about__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  margin: 30px 0 0;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 30px 90px rgba(17,16,14,.13);
}
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter .8s var(--ease);
}
.about__media:hover img { transform: scale(1.055); }
.about__media figcaption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(245,242,235,.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.service-card__media {
  position: relative;
  height: 190px;
  margin: 20px -8px 0;
  overflow: hidden;
  border-radius: 22px;
}
.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,16,14,.28), transparent 60%);
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease), filter .7s var(--ease);
}
.service-card.has-image h3 { margin: 28px 0 14px; }
.service-card.has-image:hover .service-card__media img { transform: scale(1.08); }
.service-card.has-image::before { z-index: 0; }
.service-card.has-image > * { position: relative; z-index: 1; }

.editor-showcase {
  padding-top: 160px;
  padding-bottom: 160px;
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 50px;
}
.editor-showcase__content {
  min-width: 0;
}
.editor-showcase__content > :first-child { margin-top: 0; }
.editor-showcase__content > :last-child { margin-bottom: 0; }
.editor-showcase__content img {
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(17,16,14,.12);
}
.editor-showcase__content .wp-block-gallery,
.editor-showcase__content .elementor-widget-image-gallery,
.editor-showcase__content .gallery {
  gap: 16px;
}
.editor-showcase__content .wp-block-image,
.editor-showcase__content figure {
  overflow: hidden;
  border-radius: 26px;
}
.editor-showcase__content .wp-block-image img,
.editor-showcase__content figure img {
  transition: transform .9s var(--ease);
}
.editor-showcase__content .wp-block-image:hover img,
.editor-showcase__content figure:hover img { transform: scale(1.035); }

.contact__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background: linear-gradient(135deg, rgba(17,16,14,.86), rgba(17,16,14,.34) 55%, rgba(247,152,29,.4));
  pointer-events: none;
}
.contact.has-image {
  color: #fff;
  background-color: var(--ink);
  background-image: var(--contact-image);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.contact.has-image .contact__overlay { opacity: 1; }
.contact.has-image .contact__rings { z-index: 2; }
.contact.has-image .contact__rings i { border-color: rgba(255,255,255,.28); }
.contact.has-image .contact__word { z-index: 2; color: rgba(255,255,255,.055); }
.contact.has-image .eyebrow { color: rgba(255,255,255,.76); }
.contact.has-image .contact__content > p:not(.eyebrow) { color: rgba(255,255,255,.82); }

@media (max-width: 1000px) {
  .editor-showcase { grid-template-columns: 1fr; }
  .hero__photo { inset: 10% 11%; }
}

@media (max-width: 640px) {
  .about__media { aspect-ratio: 4 / 3; border-radius: 22px; }
  .service-card__media { height: 180px; }
  .editor-showcase { padding-top: 100px; padding-bottom: 100px; }
  .contact.has-image { background-attachment: scroll; }
  .hero__visual--has-photo .logo-core { width: 25%; border-width: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__photo,
  .hero__photo img { animation: none !important; }
}

/* Upbase v1.2 — Plus Jakarta Sans, scroll reveals and coordinated loading */
body.upbase-landing-page,
body.upbase-landing-page .upbase-site,
body.upbase-landing-page .upbase-site button,
body.upbase-landing-page .upbase-site input,
body.upbase-landing-page .upbase-site textarea,
body.upbase-landing-page .upbase-site select {
  font-family: "Plus Jakarta Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.preloader {
  min-height: 100dvh;
  isolation: isolate;
}
.preloader::before,
.preloader::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.preloader::before {
  width: min(70vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.22);
  animation: preloadOrbit 7s linear infinite;
}
.preloader::after {
  width: min(48vw, 460px);
  aspect-ratio: 1;
  border: 1px dashed rgba(17,16,14,.2);
  animation: preloadOrbit 5s linear infinite reverse;
}
.preloader__mark,
.preloader p,
.preloader__progress { position: relative; z-index: 2; }
.preloader__progress {
  width: min(180px, 42vw);
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17,16,14,.16);
}
.preloader__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ink);
  transform: translateX(-105%);
  animation: preloadProgress 1.25s var(--ease) infinite;
}
.preloader.is-hidden {
  pointer-events: none;
}
.preloader.is-done { display: none; }
@keyframes preloadOrbit { to { transform: rotate(360deg); } }
@keyframes preloadProgress {
  0% { transform: translateX(-105%) scaleX(.35); transform-origin: left; }
  55% { transform: translateX(0) scaleX(.7); transform-origin: left; }
  100% { transform: translateX(105%) scaleX(.35); transform-origin: right; }
}

/* Keep the entrance choreography behind the loading screen, then play it. */
.site-header {
  animation: none;
  transform: translateY(-130%);
}
body.is-ready .site-header {
  animation: headerIn 1s var(--ease) .15s forwards;
}
.title-line > span { animation: none; }
body.is-ready .title-line > span {
  animation: titleIn 1.15s var(--ease) .12s forwards;
}
body.is-ready .title-line:nth-child(2) > span { animation-delay: .24s; }

/* Elements remain hidden until their own viewport intersection. */
.reveal {
  opacity: 0;
  transform: translate3d(0, 64px, 0) scale(.985);
  filter: blur(9px);
  transition-property: opacity, transform, filter, clip-path;
  transition-duration: .95s;
  transition-timing-function: var(--ease);
  will-change: opacity, transform, filter, clip-path;
}
.reveal--up { transform: translate3d(0, 76px, 0); }
.reveal--left { transform: translate3d(-76px, 0, 0); }
.reveal--right { transform: translate3d(76px, 0, 0); }
.reveal--scale { transform: translate3d(0, 38px, 0) scale(.9); }
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}
.reveal--image {
  opacity: 1;
  transform: none;
  filter: none;
  clip-path: inset(0 0 100% 0 round 34px);
  transition-duration: 1.15s;
}
.reveal--image.is-visible { clip-path: inset(0 0 0 0 round 34px); }
.reveal--image img {
  transform: scale(1.12);
  transition: transform 1.45s var(--ease);
}
.reveal--image.is-visible img { transform: scale(1); }
.reveal--clip {
  opacity: 1;
  filter: none;
  transform: rotate(-1.2deg) scale(1.02);
  clip-path: inset(0 100% 0 0);
  transition-duration: 1.1s;
}
.reveal--clip.is-visible {
  transform: rotate(-1.2deg) scale(1.02);
  clip-path: inset(0 0 0 0);
}

/* Animate content inserted from Gutenberg / Elementor one block at a time. */
.editor-showcase__content > .upbase-auto-reveal {
  opacity: 0;
  transform: translate3d(0, 48px, 0);
  filter: blur(7px);
  transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease);
}
.editor-showcase__content > .upbase-auto-reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  body.is-loading { overflow: auto; }
  .preloader { display: none !important; }
  .site-header,
  body.is-ready .site-header,
  .title-line > span,
  body.is-ready .title-line > span {
    animation: none !important;
    transform: none !important;
  }
  .reveal,
  .reveal--image,
  .reveal--clip,
  .editor-showcase__content > .upbase-auto-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }
}

/* Upbase v1.4 — Vietnamese 10-section landing page */
:root {
  --navy: #0b1f4d;
  --deep-blue: #123c69;
  --light-blue: #dcebff;
  --light-yellow: #fee2b8;
}

body.upbase-landing-page {
  color: var(--navy);
  background: var(--paper);
}

body.upbase-landing-page section[id] { scroll-margin-top: 110px; }
body.upbase-landing-page .section-title,
body.upbase-landing-page .big-copy,
body.upbase-landing-page .hero__title { text-wrap: balance; }
body.upbase-landing-page .hero__title {
  max-width: 880px;
  font-size: clamp(58px, 6.1vw, 105px);
  line-height: .91;
}
body.upbase-landing-page .hero__lead { max-width: 700px; }
body.upbase-landing-page .orbit__label {
  width: 88px;
  height: 88px;
  padding: 9px;
  text-align: center;
  line-height: 1.2;
  font-size: 7px;
}
body.upbase-landing-page .hero__scroll { color: var(--navy); }

/* Section 02 — Brand promise */
.trust {
  padding-top: 160px;
  padding-bottom: 160px;
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 50px;
}
.trust__content { min-width: 0; }
.trust__lead {
  width: min(100%, 720px);
  margin: 34px 0 64px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(11,31,77,.68);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.trust-card {
  min-height: 300px;
  padding: 30px;
  border: 1px solid rgba(11,31,77,.14);
  border-radius: 28px;
  background: rgba(255,255,255,.72);
  display: flex;
  flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.trust-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(11,31,77,.12);
  border-color: rgba(248,153,28,.55);
}
.trust-card > span {
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}
.trust-card h3 {
  margin: auto 0 14px;
  font-size: clamp(27px, 2.2vw, 38px);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.trust-card p { margin: 0; line-height: 1.65; color: rgba(11,31,77,.65); }

/* Section 04 — Challenges */
.challenge {
  padding: 150px 0;
  color: #fff;
  background: var(--navy);
  border-radius: 48px;
  overflow: hidden;
}
.challenge__inner {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 50px;
}
.challenge .section-kicker { color: rgba(255,255,255,.52); }
.challenge .section-title span { color: var(--orange); }
.challenge__lead {
  max-width: 720px;
  margin: 32px 0 62px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,.7);
}
.challenge__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 30px;
  background: rgba(255,255,255,.15);
}
.challenge-card {
  min-height: 260px;
  padding: 30px;
  background: var(--navy);
  transition: background .4s var(--ease);
}
.challenge-card:hover { background: var(--deep-blue); }
.challenge-card > span {
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}
.challenge-card h3 {
  margin: 58px 0 14px;
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.challenge-card p { margin: 0; line-height: 1.65; color: rgba(255,255,255,.68); }

/* Section 05 — Solutions */
.services { background: var(--orange); }
.service-list { grid-template-columns: repeat(4, minmax(0,1fr)); }
.service-card { min-height: 560px; padding: 24px; }
.service-card h3 { font-size: clamp(31px, 2.7vw, 45px); line-height: 1.02; }
.service-card p { font-size: 14px; }
.service-card__media { height: 160px; }

/* Section 06 — Journey */
.packages {
  padding-top: 165px;
  padding-bottom: 165px;
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 50px;
}
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-top: 70px;
}
.package-card {
  min-height: 560px;
  padding: 32px;
  border-radius: 30px;
  color: #fff;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(11,31,77,.13);
  transition: transform .45s var(--ease), background .45s var(--ease);
}
.package-card:hover { transform: translateY(-8px); background: var(--deep-blue); }
.package-card__top { display: flex; justify-content: space-between; align-items: center; }
.package-card__top span { color: rgba(255,255,255,.45); font-size: 11px; font-weight: 800; }
.package-card__top strong { color: var(--orange); font-size: 11px; letter-spacing: .16em; }
.package-card h3 {
  margin: 80px 0 18px;
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1;
  letter-spacing: -.05em;
}
.package-card p { margin: 0; line-height: 1.65; color: rgba(255,255,255,.7); }
.package-card ul { margin: 30px 0 34px; padding: 0; list-style: none; display: grid; gap: 11px; }
.package-card li { position: relative; padding-left: 22px; font-size: 14px; color: rgba(255,255,255,.86); }
.package-card li::before { content: "✦"; position: absolute; left: 0; color: var(--orange); font-size: 10px; top: .25em; }
.package-card .text-link { margin-top: auto; align-self: flex-start; border-color: rgba(255,255,255,.55); }

/* Section 07 — Reasons */
.reasons {
  padding: 150px 0;
  background: var(--light-blue);
  border-radius: 48px;
}
.reasons__inner {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 50px;
}
.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin-top: 68px;
}
.reason-card {
  min-height: 280px;
  padding: 30px;
  border: 1px solid rgba(11,31,77,.12);
  border-radius: 28px;
  background: rgba(255,255,255,.7);
}
.reason-card > span { color: var(--orange); font-size: 11px; font-weight: 800; }
.reason-card h3 {
  margin: 70px 0 14px;
  font-size: clamp(27px, 2.5vw, 40px);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.reason-card p { margin: 0; line-height: 1.65; color: rgba(11,31,77,.65); }

/* Section 08 — Process */
.process-step h3 { font-size: clamp(27px, 3vw, 48px); }
.process-step p { line-height: 1.6; }

/* Section 09 — Impact and editor content */
.impact {
  padding-top: 165px;
  padding-bottom: 165px;
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 50px;
}
.impact__lead {
  max-width: 760px;
  margin: 34px 0 64px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(11,31,77,.66);
}
.impact__framework {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
.impact-card {
  min-height: 270px;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(11,31,77,.13);
  background: #fff;
}
.impact-card > span { color: var(--orange); font-size: 11px; font-weight: 800; }
.impact-card h3 { margin: 72px 0 14px; font-size: clamp(30px, 3vw, 46px); letter-spacing: -.045em; }
.impact-card p { margin: 0; line-height: 1.65; color: rgba(11,31,77,.64); }
.impact__editor {
  margin-top: 70px;
  padding-top: 70px;
  border-top: 1px solid rgba(11,31,77,.14);
}

/* Section 10 — Contact */
.contact { background: var(--orange); color: var(--navy); }
.contact h2 { font-size: clamp(56px, 7.6vw, 118px); line-height: .88; }
.contact__actions { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.contact__link { border-color: currentColor; }
.contact.has-image .contact__link { color: #fff; border-color: rgba(255,255,255,.65); }
.contact.has-image .contact__content { text-shadow: 0 2px 24px rgba(0,0,0,.14); }

/* Vietnamese typography and responsive refinements */
@media (max-width: 1240px) {
  .service-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .service-card { min-height: 500px; }
  .service-card__media { height: 210px; }
}

@media (max-width: 1000px) {
  .trust,
  .challenge__inner,
  .packages,
  .reasons__inner,
  .impact { grid-template-columns: 1fr; }
  .trust__grid,
  .package-grid,
  .impact__framework { grid-template-columns: 1fr; }
  .reason-grid { grid-template-columns: 1fr 1fr; }
  .trust-card,
  .impact-card { min-height: 250px; }
  .package-card { min-height: 500px; }
}

@media (max-width: 640px) {
  body.upbase-landing-page .hero__title { font-size: clamp(47px, 14.6vw, 70px); line-height: .94; }
  body.upbase-landing-page .hero__lead { font-size: 16px; }
  body.upbase-landing-page .orbit__label { width: 68px; height: 68px; font-size: 5.7px; }
  .trust,
  .packages,
  .impact { padding-top: 105px; padding-bottom: 105px; }
  .challenge,
  .reasons { padding: 105px 0; border-radius: 28px; }
  .challenge__grid,
  .reason-grid { grid-template-columns: 1fr; }
  .challenge-card { min-height: 230px; }
  .service-list { grid-template-columns: 1fr; }
  .service-card { min-height: 470px; }
  .service-card__media { height: 190px; }
  .package-card { min-height: 520px; padding: 26px; }
  .package-card h3 { margin-top: 62px; }
  .reason-card { min-height: 250px; }
  .reason-card h3 { margin-top: 54px; }
  .impact-card h3 { margin-top: 55px; }
  .contact h2 { font-size: clamp(48px, 15vw, 76px); }
  .contact__actions { flex-direction: column; }
}

body.upbase-landing-page .title-line { padding-top: .14em; margin-top: -.14em; padding-bottom: .12em; }


/* Upbase v1.5 — official logo suite and unified Plus Jakarta Sans typography */
body.upbase-landing-page,
body.upbase-landing-page .upbase-site,
body.upbase-landing-page .upbase-site h1,
body.upbase-landing-page .upbase-site h2,
body.upbase-landing-page .upbase-site h3,
body.upbase-landing-page .upbase-site h4,
body.upbase-landing-page .upbase-site h5,
body.upbase-landing-page .upbase-site h6,
body.upbase-landing-page .upbase-site p,
body.upbase-landing-page .upbase-site li,
body.upbase-landing-page .upbase-site a,
body.upbase-landing-page .upbase-site span,
body.upbase-landing-page .upbase-site em,
body.upbase-landing-page .upbase-site strong,
body.upbase-landing-page .upbase-site button,
body.upbase-landing-page .upbase-site input,
body.upbase-landing-page .upbase-site textarea,
body.upbase-landing-page .upbase-site select {
  font-family: "Plus Jakarta Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

/* The preloader uses the orange stacked logo on the Navy brand background. */
.preloader { background: var(--ink); }
.preloader__mark {
  width: min(190px, 46vw);
  aspect-ratio: auto;
}
.preloader__mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}
.preloader__mark span {
  inset: -28px -34px;
  border-color: rgba(248,153,28,.46);
  border-radius: 999px;
}
.preloader p {
  color: rgba(255,255,255,.72);
  letter-spacing: .28em;
  font-size: 10px;
  text-align: center;
}
.preloader__progress { background: rgba(255,255,255,.14); }
.preloader__progress span { background: var(--orange); }
.preloader::after { border-color: rgba(248,153,28,.24); }

/* Use the horizontal wordmark in navigation and footer instead of recreating it as live text. */
.brand { gap: 0; }
.brand img.brand__horizontal-logo {
  width: clamp(112px, 10vw, 148px);
  height: auto;
  max-height: 38px;
  object-fit: contain;
  border-radius: 0;
}
.site-footer .brand img.brand__horizontal-logo {
  width: clamp(122px, 12vw, 170px);
  height: auto;
}

/* Use the icon logo as the protected central mark in the Hero. */
.logo-core {
  display: grid;
  place-items: center;
  padding: 15%;
  background: var(--ink);
  box-shadow: 0 34px 90px rgba(11,31,77,.28);
}
.logo-core img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Additional official logo variants. */
.about__brand-tile {
  width: min(310px, 56vw);
  margin: 6px 0 0 auto;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 26px 76px rgba(11,31,77,.16);
}
.about__brand-tile img { width: 100%; height: auto; }
.contact__brand-mark {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 6vw, 96px);
  top: 50%;
  width: clamp(126px, 18vw, 250px);
  height: auto;
  border-radius: 24px;
  transform: translateY(-50%);
  box-shadow: 0 28px 80px rgba(11,31,77,.25);
  pointer-events: none;
}
.contact__content { z-index: 4; }
.contact__brand-mark.reveal {
  opacity: 0;
  transform: translateY(calc(-50% + 44px)) scale(.96);
}
.contact__brand-mark.reveal.is-visible {
  opacity: .96;
  transform: translateY(-50%) scale(1);
}

@media (max-width: 1000px) {
  .brand img.brand__horizontal-logo { width: 116px; }
  .contact__brand-mark { width: 230px; right: 16px; box-shadow: none; }
  .contact__brand-mark.reveal.is-visible { opacity: .16; }
}
@media (max-width: 640px) {
  .brand img.brand__horizontal-logo { width: 104px; }
  .about__brand-tile { margin-left: 0; border-radius: 24px; }
  .contact__brand-mark { width: 180px; right: -34px; top: 58%; }
  .contact__brand-mark.reveal,
  .contact__brand-mark.reveal.is-visible { transform: translateY(-50%); }
}

/* Upbase v1.6 — contrast and color-context corrections */
:root {
  /* Keep the official orange for fills and dark backgrounds. Use the deeper
     orange only for readable text placed on white or very light surfaces. */
  --orange-text: #b24f00;
  --text-on-light: #0b1f4d;
  --muted-on-light: rgba(11,31,77,.72);
  --text-on-dark: #ffffff;
  --muted-on-dark: rgba(255,255,255,.78);
}

/* A more opaque fixed header prevents the text from blending into sections
   underneath while the page is being scrolled. */
.site-header {
  color: var(--text-on-light);
  background: rgba(255,255,255,.94);
  border-color: rgba(11,31,77,.14);
  box-shadow: 0 12px 40px rgba(11,31,77,.10);
}
.site-nav a::after { background: var(--navy); }

/* Light surfaces: use Navy for content and the deeper orange for text accents. */
.hero__lead,
.about__detail p,
.trust__lead,
.trust-card p,
.service-card p,
.process-step p,
.reason-card p,
.impact__lead,
.impact-card p {
  color: var(--muted-on-light);
}
.section-kicker,
.process-step__index { color: rgba(11,31,77,.62); }
.title-line--accent,
.big-copy em,
.trust-card > span,
.reason-card > span,
.impact-card > span { color: var(--orange-text); }
.text-link { border-color: currentColor; }

/* The orange solutions section needs fully opaque Navy labels. */
.services,
.services .section-title,
.services .section-kicker { color: var(--navy); }
.services .section-kicker { color: rgba(11,31,77,.76); }
.service-card { color: var(--navy); }
.service-card__number { color: rgba(11,31,77,.72); }
.service-card__tags span { border-color: rgba(11,31,77,.22); }

/* Dark sections: explicitly lock readable foreground colors instead of relying
   on inherited values from surrounding light sections. */
.marquee,
.challenge,
.package-card,
.site-footer { color: var(--text-on-dark); }
.challenge__lead,
.challenge-card p,
.package-card p { color: var(--muted-on-dark); }
.challenge .section-kicker { color: rgba(255,255,255,.68); }
.challenge-card h3,
.package-card h3 { color: #fff; }
.challenge-card > span,
.package-card__top strong,
.package-card li::before,
.marquee__track i { color: var(--orange); }
.package-card .text-link { color: #fff; border-color: rgba(255,255,255,.7); }

/* The contact eyebrow previously used a light-text class on the orange
   background. Switch it to Navy unless a photo creates a dark background. */
.contact:not(.has-image) .eyebrow--light {
  color: rgba(11,31,77,.82);
}
.contact:not(.has-image) .contact__content > p:not(.eyebrow) {
  color: rgba(11,31,77,.78);
}
.contact:not(.has-image) .contact__link {
  color: var(--navy);
  border-color: var(--navy);
}
.contact.has-image .contact__overlay {
  background: linear-gradient(135deg, rgba(11,31,77,.92), rgba(11,31,77,.72) 58%, rgba(18,60,105,.72));
}
.contact.has-image .button {
  color: var(--navy);
  background: var(--orange);
  border-color: var(--orange);
}
.contact.has-image .button i {
  color: var(--orange);
  background: var(--navy);
}
.contact.has-image .contact__link {
  color: #fff;
  border-color: rgba(255,255,255,.78);
}

/* Improve visibility of small floating labels and photo captions. */
.visual-chip,
.about__media figcaption {
  color: var(--navy);
  background: rgba(255,255,255,.92);
  border-color: rgba(11,31,77,.14);
}
.orbit__label { color: #fff; background: var(--navy); }

/* Default Gutenberg/Elementor text shown in the impact area. Custom widgets
   with their own explicit colors remain untouched. */
.impact__editor > p,
.impact__editor > ul,
.impact__editor > ol { color: var(--muted-on-light); }
.impact__editor > h2,
.impact__editor > h3,
.impact__editor > h4 { color: var(--navy); }
.impact__editor > p a,
.impact__editor > ul a,
.impact__editor > ol a { color: var(--orange-text); text-decoration: underline; }

@media (max-width: 640px) {
  .site-header { background: rgba(255,255,255,.97); }
}

/* Upbase v1.7 — self-hosted font, bilingual switcher, hero icon and readable orbit labels */
.site-header {
  grid-template-columns: 1fr auto auto;
  gap: 18px;
}
.site-header__actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(11,31,77,.06);
  border: 1px solid rgba(11,31,77,.1);
}
.language-switch__button {
  min-width: 44px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  background: transparent;
  color: rgba(11,31,77,.72);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.language-switch__button:hover { transform: translateY(-1px); }
.language-switch__button.is-active {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 24px rgba(11,31,77,.18);
}

.logo-core {
  width: 58%;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.logo-core img {
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(248,153,28,.18));
}
.hero__visual--has-photo .logo-core {
  right: 7%;
  bottom: 10%;
  width: 26%;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.upbase-landing-page .orbit__label {
  width: 104px;
  height: 104px;
  padding: 16px;
  font-size: 10px;
  line-height: 1.15;
}
.orbit__label {
  display: grid;
  place-items: center;
  overflow: hidden;
}
.orbit__label-text {
  display: block;
  max-width: 100%;
  text-align: center;
  line-height: 1.15;
  letter-spacing: .1em;
  word-break: keep-all;
  animation: spinReverse 22s linear infinite;
}
.orbit__label--one { top: -18px; left: 50%; transform: translateX(-50%); }
.orbit__label--two { right: -22px; bottom: 8%; }
.orbit__label--three { left: -22px; top: 50%; }

body.upbase-landing-page .visual-chip {
  background: rgba(255,255,255,.94);
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .site-header__actions {
    gap: 8px;
  }
  .language-switch__button {
    min-width: 40px;
    height: 34px;
    padding: 0 10px;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .site-header__actions {
    gap: 6px;
  }
  .language-switch {
    padding: 3px;
  }
  .language-switch__button {
    min-width: 38px;
    height: 32px;
    font-size: 11px;
    padding: 0 9px;
  }
  body.upbase-landing-page .orbit__label {
    width: 84px;
    height: 84px;
    padding: 12px;
    font-size: 8px;
  }
  .orbit__label--two { right: -14px; bottom: 5%; }
  .orbit__label--three { left: -14px; top: 48%; }
  .logo-core { width: 62%; }
  .hero__visual--has-photo .logo-core { width: 28%; }
}

@media (prefers-reduced-motion: reduce) {
  .orbit__label-text { animation: none !important; }
}

/* Upbase v1.8 — fixes consolidated from the annotated review document. */

/* Only the decorative rule is a 42px line. Text spans inside translated
   eyebrows must keep their natural width; this prevents the hero/contact
   eyebrow from collapsing over the heading. */
.eyebrow > span { width: auto; height: auto; background: none; }
.eyebrow > span:first-child {
  flex: 0 0 42px;
  width: 42px;
  height: 1px;
  background: currentColor;
}
.hero__copy .eyebrow [data-i18n],
.contact .eyebrow [data-i18n] {
  display: inline-block;
  width: auto;
  height: auto;
  white-space: nowrap;
  background: transparent;
}

/* Keep the desktop navigation legible on the translucent header. */
.site-nav {
  color: var(--navy);
}
.site-nav a {
  color: rgba(11,31,77,.72);
  font-weight: 700;
  text-shadow: none;
  transition: color .25s var(--ease), opacity .25s var(--ease);
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--navy);
}

/* Language selector uses the official Upbase orange family instead of red. */
.language-switch {
  background: var(--light-yellow);
  border-color: rgba(248,153,28,.36);
}
.language-switch__button {
  color: var(--orange-text);
}
.language-switch__button:hover {
  color: var(--navy);
  background: rgba(248,153,28,.18);
}
.language-switch__button.is-active {
  color: var(--navy);
  background: var(--orange);
  box-shadow: 0 10px 24px rgba(248,153,28,.28);
}

/* Hero fixes: the eyebrow stays on one line, the secondary CTA carries the
   brand orange, and orbit labels remain above the enlarged transparent icon. */
.hero__copy .eyebrow {
  flex-wrap: nowrap;
  white-space: nowrap;
  max-width: none;
}
.hero__actions .text-link {
  color: var(--orange);
  border-color: var(--orange);
}
.hero__actions .text-link:hover,
.hero__actions .text-link:focus-visible {
  color: var(--orange-text);
  border-color: var(--orange-text);
}
.hero__visual .orbit--outer { z-index: 6; }
.hero__visual .orbit--inner { z-index: 1; }
.hero__visual .orbit__label { z-index: 8; }
.hero__visual .logo-core { z-index: 3; }
.hero__visual .visual-chip { z-index: 9; }
.logo-core {
  width: 62%;
}

/* Requested official orange accents. */
.trust .section-title span,
.about .big-copy em {
  color: var(--orange);
}

/* Rebuild the desktop About composition so the statement, supporting copy and
   brand tile form one coherent block instead of three detached islands. */
@media (min-width: 1001px) {
  .about__statement {
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, .65fr);
    column-gap: clamp(38px, 5vw, 82px);
    row-gap: 46px;
    align-items: start;
  }
  .about__statement > .big-copy {
    grid-column: 1 / -1;
  }
  .about__detail {
    grid-column: 1;
    width: min(100%, 700px);
    justify-self: start;
    align-self: center;
    padding: clamp(24px, 3vw, 42px);
    border-left: 3px solid var(--orange);
    border-radius: 0 26px 26px 0;
    background: rgba(255,255,255,.68);
    box-shadow: 0 24px 70px rgba(11,31,77,.08);
  }
  .about__brand-tile {
    grid-column: 2;
    align-self: stretch;
    width: 100%;
    max-width: 380px;
    margin: 0;
    justify-self: end;
    display: grid;
    place-items: center;
    background: var(--navy);
  }
  .about__brand-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .about__media {
    grid-column: 1 / -1;
    margin-top: 8px;
  }
}

/* Contact eyebrow gets its own readable row and never falls behind the title
   or the decorative brand mark. */
.contact__content {
  isolation: isolate;
}
.contact .eyebrow {
  position: relative;
  z-index: 6;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin-bottom: clamp(28px, 3vw, 42px);
}
.contact h2 {
  position: relative;
  z-index: 4;
}
.contact__brand-mark {
  z-index: 2;
}

@media (max-width: 1180px) {
  .hero__copy .eyebrow {
    font-size: 10px;
    letter-spacing: .12em;
  }
  .site-nav { gap: 20px; }
}

@media (max-width: 1000px) {
  .about__statement {
    grid-template-columns: 1fr;
  }
  .about__detail,
  .about__brand-tile,
  .about__media {
    grid-column: 1;
  }
  .about__brand-tile {
    width: min(330px, 70vw);
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .hero__copy .eyebrow,
  .contact .eyebrow {
    font-size: 8.5px;
    letter-spacing: .08em;
  }
  .eyebrow > span:first-child {
    flex-basis: 28px;
    width: 28px;
  }
  .logo-core { width: 66%; }
  .contact .eyebrow {
    margin-bottom: 24px;
  }
}

/* Upbase v1.9 — make the moving capability strip permanently visible.
   The former reveal clip could remain closed when caching/minification delayed
   IntersectionObserver. This block removes that dependency entirely. */
body.upbase-landing-page .marquee {
  position: relative;
  z-index: 20;
  display: block;
  width: 100%;
  min-height: clamp(76px, 8vw, 112px);
  overflow: hidden;
  opacity: 1 !important;
  visibility: visible !important;
  clip-path: none !important;
  filter: none !important;
  color: #fff !important;
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  transform: rotate(-1.2deg) scale(1.02) !important;
}
body.upbase-landing-page .marquee__track {
  position: relative;
  z-index: 1;
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap;
  width: max-content;
  min-width: 200%;
  min-height: clamp(76px, 8vw, 112px);
  padding: 16px 0;
  gap: clamp(24px, 3vw, 44px);
  white-space: nowrap;
  opacity: 1 !important;
  visibility: visible !important;
  color: #fff !important;
  animation: upbaseMarqueeVisible 24s linear infinite !important;
  will-change: transform;
}
body.upbase-landing-page .marquee__track span {
  display: inline-block;
  flex: 0 0 auto;
  color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: clamp(24px, 3.3vw, 54px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
body.upbase-landing-page .marquee__track i {
  display: inline-block;
  flex: 0 0 auto;
  color: var(--orange) !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: clamp(14px, 1.8vw, 28px);
  line-height: 1;
}
@keyframes upbaseMarqueeVisible {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  body.upbase-landing-page .marquee__track {
    animation: none !important;
    transform: translate3d(0, 0, 0) !important;
  }
}

/* Upbase v1.10 — improve long English/Vietnamese headline rhythm. */
.about .big-copy {
  max-width: 1120px;
  font-size: clamp(44px, 4.65vw, 74px);
  line-height: 1.105;
  letter-spacing: -.047em;
  text-wrap: balance;
}
.about .big-copy em {
  line-height: inherit;
}

.contact h2 {
  max-width: min(1080px, 94vw);
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(54px, 7.15vw, 112px);
  line-height: .98;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.contact h2 em {
  line-height: inherit;
}

@media (max-width: 1000px) {
  .about .big-copy {
    font-size: clamp(42px, 7vw, 66px);
    line-height: 1.11;
  }
  .contact h2 {
    font-size: clamp(52px, 10.5vw, 88px);
    line-height: 1;
  }
}

@media (max-width: 640px) {
  .about .big-copy {
    font-size: clamp(37px, 10.8vw, 52px);
    line-height: 1.13;
    letter-spacing: -.04em;
  }
  .contact h2 {
    max-width: 94vw;
    font-size: clamp(45px, 13.5vw, 70px);
    line-height: 1.035;
    letter-spacing: -.055em;
  }
}

/* Upbase v1.11 — simplify CTA composition and lock the bilingual title to two clean lines. */
.contact__brand-mark {
  display: none !important;
}
.contact__content {
  width: min(1180px, 100%);
  margin-inline: auto;
}
.contact h2 {
  max-width: min(1220px, 96vw);
  line-height: 1.08;
  letter-spacing: -.058em;
}
.contact-title__line {
  display: block;
  white-space: nowrap;
  line-height: 1.08;
}
.contact-title__line--accent {
  color: #ffd100;
  font-style: italic;
  font-weight: 400;
}
body[data-lang="vi"] .contact h2 {
  font-size: clamp(52px, 6.25vw, 98px);
  line-height: 1.11;
}
body[data-lang="vi"] .contact-title__line {
  line-height: 1.11;
}

@media (max-width: 1000px) {
  .contact h2,
  body[data-lang="vi"] .contact h2 {
    font-size: clamp(48px, 9.2vw, 80px);
    line-height: 1.1;
  }
  .contact-title__line,
  body[data-lang="vi"] .contact-title__line {
    line-height: 1.1;
  }
}

@media (max-width: 700px) {
  .contact h2,
  body[data-lang="vi"] .contact h2 {
    max-width: 94vw;
    font-size: clamp(38px, 10.7vw, 62px);
    line-height: 1.13;
    letter-spacing: -.045em;
  }
  .contact-title__line,
  body[data-lang="vi"] .contact-title__line {
    line-height: 1.13;
    white-space: normal;
  }
}


/* Upbase v1.12 — remove hero scroll cluster and align left decorative motif to viewport edge on desktop */
.hero__scroll { display:none !important; }

@media (min-width: 1001px) {
  .hero__blob--one { right: calc(20% - clamp(24px,5vw,84px)); }
  .hero__blob--two { left: calc(50% - 50vw - 140px); }
}


/* Upbase v1.14 — full service illustrations and compact bilingual headings */
.service-card__media {
  height: auto;
  aspect-ratio: 701 / 561;
  margin: 18px -2px 0;
  border-radius: 20px;
  background: #f7f1e8;
}
.service-card__media::after { display: none; }
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.service-card.has-image:hover .service-card__media img { transform: scale(1.015); }
.service-card.has-image h3 {
  margin: 24px 0 12px;
  min-height: 2.15em;
  font-size: clamp(23px, 1.72vw, 31px);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}
body[data-lang="vi"] .service-card.has-image h3 {
  font-size: clamp(23px, 1.68vw, 30px);
}

@media (max-width: 1200px) {
  .service-card.has-image h3 {
    min-height: 0;
    font-size: clamp(26px, 3.2vw, 36px);
  }
}

@media (max-width: 640px) {
  .service-card__media { margin-top: 16px; }
  .service-card.has-image h3 {
    font-size: clamp(27px, 8.2vw, 36px);
    line-height: 1.08;
  }
}


/* Upbase v1.15 — keep service tags aligned in one row and anchored consistently */
.service-card {
  display: flex;
  flex-direction: column;
}
.service-card p {
  margin: 0;
}
.service-card__tags {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
}
.service-card__tags span {
  white-space: nowrap;
  font-size: 9px;
  padding: 7px 9px;
  flex: 0 0 auto;
}
@media (max-width: 1200px) {
  .service-card__tags {
    flex-wrap: wrap;
  }
}


/* Upbase v1.16 — improve Vietnamese heading rhythm across sections */
body[data-lang="vi"] .hero__title {
  line-height: 1.02;
  letter-spacing: -.052em;
}
body[data-lang="vi"] .section-title {
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
}
body[data-lang="vi"] .big-copy {
  line-height: 1.14;
  letter-spacing: -.038em;
}
body[data-lang="vi"] .trust-card h3,
body[data-lang="vi"] .challenge-card h3,
body[data-lang="vi"] .package-card h3,
body[data-lang="vi"] .reason-card h3,
body[data-lang="vi"] .process-step h3,
body[data-lang="vi"] .impact-card h3 {
  line-height: 1.14;
  letter-spacing: -.035em;
  text-wrap: balance;
}
body[data-lang="vi"] .service-card.has-image h3 {
  line-height: 1.14;
  letter-spacing: -.028em;
}

@media (max-width: 1000px) {
  body[data-lang="vi"] .hero__title {
    line-height: 1.04;
  }
  body[data-lang="vi"] .section-title,
  body[data-lang="vi"] .big-copy {
    line-height: 1.1;
  }
}

@media (max-width: 640px) {
  body[data-lang="vi"] .hero__title {
    line-height: 1.06;
    letter-spacing: -.04em;
  }
  body[data-lang="vi"] .section-title {
    line-height: 1.12;
    letter-spacing: -.035em;
  }
  body[data-lang="vi"] .big-copy,
  body[data-lang="vi"] .trust-card h3,
  body[data-lang="vi"] .challenge-card h3,
  body[data-lang="vi"] .package-card h3,
  body[data-lang="vi"] .reason-card h3,
  body[data-lang="vi"] .process-step h3,
  body[data-lang="vi"] .impact-card h3,
  body[data-lang="vi"] .service-card.has-image h3 {
    line-height: 1.16;
    letter-spacing: -.025em;
  }
}


/* Upbase v1.21 — phone CTA uses the same brand colors as the email CTA */
.contact__phone {
  min-height: 58px;
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 12px 30px rgba(11,31,77,.18);
}
.contact__phone i {
  color: var(--navy);
  background: var(--orange);
  font-size: 14px;
}
.contact__phone:hover {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 16px 36px rgba(11,31,77,.26);
}
.contact.has-image .contact__phone {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}
@media (max-width: 640px) {
  .contact__actions {
    width: 100%;
  }
  .contact__actions .button {
    width: min(100%, 330px);
  }
}


/* Upbase v1.19 — place the About brand tile on the left and copy on the right. */
.about__detail .text-link {
  color: var(--orange);
  border-color: var(--orange);
  font-weight: 800;
}
.about__detail .text-link:hover,
.about__detail .text-link:focus-visible {
  color: var(--orange-text);
  border-color: var(--orange-text);
}

@media (min-width: 1001px) {
  .about__statement {
    grid-template-columns: minmax(240px, .62fr) minmax(0, 1.55fr);
    column-gap: clamp(42px, 5vw, 88px);
    align-items: center;
  }
  .about__statement > .big-copy {
    grid-column: 1 / -1;
  }
  .about__brand-tile {
    grid-column: 1;
    grid-row: 2;
    width: min(100%, 330px);
    max-width: 330px;
    margin: 0;
    justify-self: start;
    align-self: center;
    aspect-ratio: 1;
  }
  .about__brand-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .about__detail {
    grid-column: 2;
    grid-row: 2;
    width: min(100%, 760px);
    justify-self: stretch;
    align-self: center;
  }
  .about__media {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

@media (max-width: 1000px) {
  .about__brand-tile {
    order: 1;
    justify-self: start;
  }
  .about__detail {
    order: 2;
  }
  .about__media {
    order: 3;
  }
}


/* Upbase v1.20 — align the hero left decorative motif flush with the viewport edge on desktop */
@media (min-width: 1001px) {
  .hero__blob--two { left: calc(50% - 50vw - 140px) !important; }
}


/* Upbase v1.22 — brand color treatment for key bilingual section headlines */
:root {
  --brand-yellow: #ffd100;
}

/* Hero: combine the official orange and a bright brand yellow. */
.hero__title .title-line:first-child {
  color: var(--orange);
}
.hero__title .title-line--accent {
  color: var(--brand-yellow);
}

/* Why Upbase: Navy for the opening statement, orange for the shared goal. */
.reasons .section-title {
  color: var(--navy);
}
.reasons .section-title span {
  color: var(--orange);
}

/* Process and impact: emphasize the key outcome words in brand orange. */
.process .section-title span,
.impact .section-title span {
  color: var(--orange);
}


/* Upbase v1.23 — interactive 3D logo in the About section */
.about__brand-tile--interactive {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(248,153,28,.16), transparent 38%),
    linear-gradient(145deg, #151b2d 0%, #08142f 100%);
  cursor: grab;
  touch-action: none;
}
.about__brand-tile--interactive:active { cursor: grabbing; }
.about__brand-fallback,
.about__brand-3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity .45s var(--ease), transform .65s var(--ease);
}
.about__brand-fallback {
  z-index: 1;
  object-fit: cover;
  opacity: 1;
}
.about__brand-3d {
  z-index: 2;
  border: 0;
  background: transparent;
  opacity: 0;
  transform: none;
}
.about__brand-tile--interactive.is-3d-ready .about__brand-fallback {
  opacity: 0;
  pointer-events: none;
}
.about__brand-tile--interactive.is-3d-ready .about__brand-3d {
  opacity: 1;
  transform: none;
}
.about__brand-3d-hint {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%) translateY(6px);
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: rgba(255,255,255,.86);
  background: rgba(11,31,77,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.about__brand-tile--interactive.is-3d-ready:hover .about__brand-3d-hint,
.about__brand-tile--interactive.is-3d-ready:focus-within .about__brand-3d-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (pointer: coarse) {
  .about__brand-tile--interactive.is-3d-ready .about__brand-3d-hint {
    opacity: .9;
    transform: translateX(-50%) translateY(0);
  }
}
@media (max-width: 640px) {
  .about__brand-3d-hint {
    bottom: 10px;
    font-size: 9px;
  }
}


/* Upbase v1.26 — transparent interactive 3D logo panel */
.about__brand-tile--interactive {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0;
}
.about__brand-3d {
  background: transparent !important;
}
.about__brand-tile--interactive.is-3d-ready {
  overflow: visible;
}


/* Upbase v1.28 — fixed-size 3D logo: rotation only, no zoom or wrapper scaling */
.about__brand-3d,
.about__brand-tile--interactive.is-3d-ready .about__brand-3d {
  transform: none !important;
}


/* Upbase v1.29 — ensure the loaded 3D iframe receives drag and touch input */
.about__brand-3d {
  pointer-events: auto;
  touch-action: none;
}


/* Upbase v1.30 — transparent 3D logo surface and safer mobile fallback */
.about__brand-tile--interactive {
  background: transparent !important;
}
.about__brand-fallback {
  object-fit: contain !important;
  background: transparent !important;
}
.about__brand-3d {
  display: block;
  background: transparent !important;
  color-scheme: light;
}
.about__brand-tile--interactive.is-3d-ready {
  background: transparent !important;
}
.about__brand-tile--interactive.is-3d-error .about__brand-3d,
.about__brand-tile--interactive.is-3d-pending .about__brand-3d {
  opacity: 0;
  pointer-events: none;
}
.about__brand-tile--interactive.is-3d-error .about__brand-fallback,
.about__brand-tile--interactive.is-3d-pending .about__brand-fallback {
  opacity: 1;
}
@media (max-width: 1000px) {
  .about__brand-tile {
    width: min(280px, 72vw);
    max-width: 280px;
    min-height: min(280px, 72vw);
  }
}
@media (max-width: 640px) {
  .about__brand-tile {
    width: min(240px, 76vw);
    max-width: 240px;
    min-height: min(240px, 76vw);
  }
}


/* Upbase v1.31 — hide the 3D logo interaction hint */
.about__brand-3d-hint {
  display: none !important;
}


/* Upbase v1.33 — enlarge the About 3D logo and center it on mobile */
@media (min-width: 1001px) {
  .about__statement {
    grid-template-columns: minmax(300px, .82fr) minmax(0, 1.48fr);
    column-gap: clamp(42px, 5vw, 92px);
  }
  .about__brand-tile {
    width: min(100%, 420px);
    max-width: 420px;
    min-height: 420px;
  }
}

@media (max-width: 1000px) {
  .about__brand-tile {
    width: min(340px, 78vw);
    max-width: 340px;
    min-height: min(340px, 78vw);
    justify-self: center;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .about__brand-tile {
    width: min(300px, 82vw);
    max-width: 300px;
    min-height: min(300px, 82vw);
    justify-self: center;
    margin-inline: auto;
  }
}


/* Upbase v1.35 — fixed back-to-top control */
.back-to-top {
  position: fixed;
  z-index: 120;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(248,153,28,.55);
  border-radius: 50%;
  color: var(--orange);
  background: var(--navy);
  box-shadow: 0 14px 34px rgba(11,31,77,.28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(.9);
  transition: opacity .25s ease, visibility .25s ease, transform .25s var(--ease), background .25s ease, color .25s ease, box-shadow .25s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.back-to-top svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.back-to-top:hover,
.back-to-top:focus-visible {
  color: var(--navy);
  background: var(--orange);
  box-shadow: 0 18px 40px rgba(11,31,77,.34);
  transform: translateY(-4px) scale(1);
}
.back-to-top:focus-visible {
  outline: 3px solid rgba(248,153,28,.28);
  outline-offset: 4px;
}
@media (max-width: 640px) {
  .back-to-top {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
  }
  .back-to-top svg {
    width: 22px;
    height: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity .15s ease, visibility .15s ease;
  }
}


/* Upbase v1.37 — brand orange emphasis for the Journey headline */
.packages .section-title span {
  color: var(--orange);
}


/* Upbase v1.39 — preloader logo uses a light sweep around the border, then reveals the logo */
.preloader__mark {
  display: grid;
  place-items: center;
  overflow: visible;
}
.preloader__mark img {
  opacity: 0;
  transform: scale(.94);
  filter: drop-shadow(0 10px 26px rgba(248,153,28,.12));
  animation: preloadLogoReveal 1.15s var(--ease) forwards;
}
.preloader__mark span {
  inset: -18px -24px;
  padding: 2px;
  border: 0;
  border-radius: 32px;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(248,153,28,.98) 81%, rgba(255,214,102,.98) 87%, transparent 94% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  box-shadow: 0 0 36px rgba(248,153,28,.22);
  opacity: 0;
  animation: preloadEdgeSweep 1.15s linear forwards;
}
.preloader__progress span {
  animation-duration: 3.5s;
}
@keyframes preloadEdgeSweep {
  0% { transform: rotate(-70deg); opacity: 0; }
  14% { opacity: 1; }
  78% { opacity: 1; }
  100% { transform: rotate(290deg); opacity: .18; }
}
@keyframes preloadLogoReveal {
  0% { opacity: 0; transform: scale(.94); filter: drop-shadow(0 8px 18px rgba(248,153,28,.06)); }
  32% { opacity: 0; transform: scale(.94); }
  62% { opacity: 1; transform: scale(1); filter: drop-shadow(0 18px 38px rgba(248,153,28,.2)); }
  100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 18px 38px rgba(248,153,28,.18)); }
}
@media (prefers-reduced-motion: reduce) {
  .preloader__mark img {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
  .preloader__mark span {
    opacity: .55;
    animation: none !important;
  }
}


/* Upbase v1.40 — trace the exact supplied Upbase logo outline during intro */
.preloader__mark img {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  filter: drop-shadow(0 14px 34px rgba(248,153,28,.18));
}
.preloader__mark > span {
  display: none !important;
}


/* Upbase v1.41 — hand-drawn line trace follows the logo outline, then reveals the full-color mark */
.preloader__mark {
  width: min(42vw, 180px);
  aspect-ratio: 1097 / 925;
}
.preloader__mark-art {
  width: 100%;
  display: block;
}
.preloader__mark-art svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 18px 36px rgba(248,153,28,.14));
}
.preloader__mark img {
  width: 100%;
  border-radius: 0;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  filter: drop-shadow(0 18px 36px rgba(248,153,28,.14));
}
.preloader__mark > span {
  display: none !important;
}
.preloader__mark-art .logo-trace path {
  stroke-width: 8;
}
.preloader__mark-art .logo-trace {
  animation-delay: 1.02s;
}
.preloader__mark-art .logo-fill {
  animation-delay: .74s;
}
@media (max-width: 640px) {
  .preloader__mark {
    width: min(58vw, 170px);
  }
}


/* Upbase v1.42 — use the provided logo intro animation inside the existing preloader, replacing only the logo */
.preloader__mark {
  width: min(44vw, 220px);
  aspect-ratio: 1097 / 925;
  display: grid;
  place-items: center;
  overflow: visible;
}
.preloader__mark > span,
.preloader__mark-art {
  display: none !important;
}
.preloader__logo-intro {
  width: 100%;
  display: block;
}
.preloader__logo-intro .uli__svg {
  width: 100%;
  height: auto;
  overflow: visible;
  display: block;
}
.preloader__logo-intro .uli__brand {
  fill: var(--orange);
}
.preloader__logo-intro .uli__touch-outline {
  fill: none;
  stroke: var(--orange);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  animation: uli-draw-touch .30s cubic-bezier(.33,1,.68,1) 0s forwards, uli-hide-touch-outline .18s ease-out .44s forwards;
}
.preloader__logo-intro .uli__touch-wave {
  fill: none;
  stroke: var(--orange);
  stroke-width: 7;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: uli-wave .34s ease-out .31s forwards;
}
.preloader__logo-intro .uli__touch-dot {
  fill: var(--orange);
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: uli-dot-enter .16s ease-out .12s forwards, uli-dot-press .34s cubic-bezier(.34,1.56,.64,1) .31s both;
}
.preloader__logo-intro .uli__symbol-outline {
  fill: none;
  stroke: var(--orange);
  stroke-width: 11;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  animation: uli-draw-symbol .68s cubic-bezier(.22,1,.36,1) .53s forwards;
}
.preloader__logo-intro .uli__symbol-fill {
  opacity: 0;
  clip-path: url(#uli-symbol-reveal);
  animation: uli-symbol-fade .44s ease-out .70s forwards;
}
.preloader__logo-intro .uli__reveal-circle {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  animation: uli-reveal .72s cubic-bezier(.16,1,.3,1) .52s forwards;
}
.preloader__logo-intro .uli__wordmark path {
  opacity: 0;
  transform: translateY(24px);
  animation: uli-word-in .38s cubic-bezier(.22,1,.36,1) forwards;
}
.preloader__logo-intro .uli__wordmark path:nth-child(1) { animation-delay: 1.08s; }
.preloader__logo-intro .uli__wordmark path:nth-child(2) { animation-delay: 1.15s; }
.preloader__logo-intro .uli__wordmark path:nth-child(3) { animation-delay: 1.22s; }
.preloader__logo-intro .uli__wordmark path:nth-child(4) { animation-delay: 1.29s; }
.preloader__logo-intro .uli__wordmark path:nth-child(5) { animation-delay: 1.36s; }
.preloader__logo-intro .uli__wordmark path:nth-child(6) { animation-delay: 1.43s; }
.preloader__logo-intro .uli__complete {
  transform-origin: 50% 48%;
  animation: uli-finish .30s cubic-bezier(.34,1.56,.64,1) 1.58s both;
}
@keyframes uli-draw-touch {
  0% { opacity: 0; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 552.27px 289.19px; }
  12% { opacity: 1; }
  100% { opacity: 1; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 552.27px 289.19px; }
}
@keyframes uli-hide-touch-outline {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes uli-dot-enter {
  from { opacity: 0; transform: scale(.55); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes uli-dot-press {
  0% { transform: scale(1); }
  43% { transform: scale(.72); }
  100% { transform: scale(1); }
}
@keyframes uli-wave {
  0% { opacity: .68; transform: scale(.72); }
  100% { opacity: 0; transform: scale(1.42); }
}
@keyframes uli-draw-symbol {
  0% { opacity: 0; stroke-dashoffset: 1; }
  8% { opacity: 1; }
  100% { opacity: .95; stroke-dashoffset: 0; }
}
@keyframes uli-reveal {
  from { transform: scale(0); }
  to { transform: scale(1); }
}
@keyframes uli-symbol-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes uli-word-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes uli-finish {
  0%, 100% { transform: scale(1); }
  48% { transform: scale(1.018); }
}
@media (max-width: 640px) {
  .preloader__mark {
    width: min(58vw, 180px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .preloader__logo-intro * {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
  }
}


/* Upbase v1.46 — remove the perceived pause after the 3.5-second intro */
.preloader {
  transition: clip-path .32s var(--ease), visibility 0s .32s !important;
}
.preloader.is-hidden {
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}


/* Upbase v1.47 — prepare the first viewport behind the intro to avoid a blank pause */
body.is-ready .hero .reveal {
  transition-duration: .78s;
}
body.is-ready .hero__visual.reveal {
  transition-duration: .9s;
}
