@import url("https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --yellow: #fed400;
  --red: #d4553a;
  --ink: #13120d;
  --muted: #656153;
  --paper: #f8f5ea;
  --paper-soft: #efeadc;
  --line: rgb(19 18 13 / .12);
  --dark: #101512;
  --dark-2: #17231d;
  --dark-line: rgb(255 255 255 / .15);
  --glass: rgb(255 255 255 / .58);
  --glass-dark: rgb(255 255 255 / .11);
  --radius: 22px;
  --container: min(1160px, calc(100% - 32px));
  --shadow: 0 24px 70px rgb(42 36 18 / .18);
  --ease: cubic-bezier(.2, .8, .2, 1);
--mx: 0;
--my: 0;
--scroll: 0;
--page-scroll: 0;
--scroll-y: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  color: var(--ink);
  background: #fbf7ea;
  font-family: "Kanit", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
position: fixed;
inset: -18%;
z-index: -2;
pointer-events: none;
content: "";
will-change: transform, opacity;
display: none;
}

body::before {
background:
radial-gradient(circle at 12% 18%, rgb(254 212 0 / .20), transparent 22rem),
radial-gradient(circle at 82% 30%, rgb(212 85 58 / .12), transparent 24rem),
linear-gradient(180deg, rgb(255 250 238 / .22), rgb(255 250 238 / .38));
transform: translate3d(calc(var(--mx) * -10px), calc(var(--page-scroll) * -36px), 0);
}

body::after {
z-index: -3;
opacity: .36;
background:
radial-gradient(circle at 78% 78%, rgb(80 184 214 / .16), transparent 24rem),
radial-gradient(circle at 24% 72%, rgb(255 255 255 / .28), transparent 20rem);
transform: translate3d(calc(var(--mx) * 8px), calc(var(--my) * 6px), 0);
}

.background-stage {
position: fixed;
inset: 0;
z-index: -4;
overflow: hidden;
pointer-events: none;
background: #fff;
}

.coded-background {
display: block;
width: 100%;
height: 100%;
min-width: 100vw;
min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 999;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: none;
}

.site-nav {
position: fixed;
--nav-y: 0px;
--nav-border: rgb(255 255 255 / .60);
--nav-shadow: 0 14px 44px rgb(31 28 17 / .12), inset 1px 1px 0 rgb(255 255 255 / .70);
--nav-tint: rgb(255 255 255 / .10);
--nav-blur: 3px;
--nav-shine-a: rgb(255 255 255 / .50);
--nav-shine-b: rgb(255 255 255 / .50);
left: 50%;
top: 14px;
z-index: 90;
width: var(--container);
transform: translateX(-50%) translateY(var(--nav-y));
display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px;
border: 1px solid var(--nav-border);
border-radius: 999px;
background: transparent;
box-shadow: var(--nav-shadow);
}

.site-nav.is-scrolled {
--nav-y: -4px;
--nav-border: rgb(255 255 255 / .74);
--nav-shadow: 0 22px 64px rgb(31 28 17 / .22), inset 1px 1px 0 rgb(255 255 255 / .86);
--nav-tint: rgb(255 255 255 / .22);
--nav-blur: 4.5px;
--nav-shine-a: rgb(255 255 255 / .64);
--nav-shine-b: rgb(255 255 255 / .44);
}

.site-nav.is-over-dark {
--nav-border: rgb(255 255 255 / .36);
--nav-shadow: 0 18px 54px rgb(0 0 0 / .34), inset 1px 1px 0 rgb(255 255 255 / .42);
--nav-tint: rgb(255 255 255 / .12);
--nav-shine-a: rgb(255 255 255 / .44);
--nav-shine-b: rgb(255 255 255 / .34);
}

.brand {
display: inline-flex;
align-items: center;
padding-inline: 10px;
transition: filter .36s var(--ease), opacity .36s var(--ease);
}

.brand img {
  width: 164px;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
color: rgb(19 18 13 / .74);
font-size: 14px;
font-weight: 700;
transition: color .36s var(--ease);
}

.site-nav.is-over-dark .nav-menu {
color: rgb(255 255 255 / .78);
}

.site-nav.is-over-dark .brand,
.site-nav.is-over-dark .nav-toggle {
filter: invert(1) grayscale(1) contrast(1.25);
}

.nav-menu > a,
.nav-service > button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
color: inherit;
padding: 0 12px;
transition: background-color .24s var(--ease), color .36s var(--ease), box-shadow .24s var(--ease);
}

.nav-menu > a:hover,
.nav-service > button:hover {
  background: rgb(254 212 0 / .25);
  color: var(--ink);
}

.nav-service {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: -18px;
}

.nav-service::after {
  position: absolute;
  left: -24px;
  right: -24px;
  top: 100%;
  height: 24px;
  z-index: 119;
  content: "";
}

.service-mega {
  position: absolute;
  left: 50%;
  top: calc(100% - 8px);
  z-index: 120;
width: min(520px, calc(100vw - 32px));
  transform: translateX(-50%) translateY(8px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
border: 1px solid rgb(255 255 255 / .56);
border-radius: 22px;
background: rgb(255 255 255 / .46);
box-shadow: var(--shadow);
  padding: 12px;
  opacity: 0;
  pointer-events: none;
backdrop-filter: blur(6px) saturate(1.14);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}

.nav-service:hover .service-mega,
.nav-service.is-open .service-mega {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.service-mega a {
  border-radius: 16px;
  padding: 14px;
}

.service-mega a:hover {
  background: rgb(254 212 0 / .22);
}

.service-mega strong,
.service-mega span {
  display: block;
}

.service-mega span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.nav-cta,
.button,
.floating-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(19 18 13 / .10);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  padding: 12px 18px;
  box-shadow: 0 14px 34px rgb(254 212 0 / .30), inset 1px 1px 0 rgb(255 255 255 / .48);
  font-weight: 800;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.nav-cta:hover,
.button:hover,
.floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgb(254 212 0 / .36), inset 1px 1px 0 rgb(255 255 255 / .55);
}

.button-secondary {
background: rgb(255 255 255 / .28);
box-shadow: inset 1px 1px 0 rgb(255 255 255 / .72);
}

.nav-toggle {
  display: none;
}

.scene {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.hero.scene {
  overflow: visible;
  isolation: auto;
}

.services-section.scene {
  overflow: visible;
}

.hero {
min-height: 100svh;
padding: 150px 0 88px;
overflow: visible;
}

.hero-grid,
.problem-strip,
.case-section,
.services-section,
.portfolio-section,
.process-section,
.final-cta {
  width: var(--container);
  margin-inline: auto;
}

.mobile-title {
  display: none;
}

.hero-grid {
min-height: calc(100svh - 238px);
display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, .72fr);
  gap: clamp(28px, 6vw, 72px);
align-items: center;
}

.page-hero {
padding: 168px 0 80px;
}

.page-hero-grid,
.page-section,
.page-section-tight {
width: var(--container);
margin-inline: auto;
}

.page-hero-grid {
display: grid;
grid-template-columns: minmax(0, .95fr) minmax(0, .9fr);
gap: clamp(24px, 6vw, 76px);
align-items: end;
}

.page-hero h1 {
max-width: 13ch;
font-size: clamp(3rem, 6vw, 6rem);
font-weight: 900;
}

/* ── Oversized Hero (Option B) ── */
.hero-oversized {
  display: flex;
  flex-direction: column;
  width: var(--container);
  margin-inline: auto;
  padding: clamp(108px, 16vw, 180px) 0 clamp(56px, 8vw, 96px);
}

.hero-oversized h1 {
  max-width: 14ch;
  margin: clamp(12px, 2vw, 24px) 0 0;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  font-weight: 950;
  line-height: .92;
  letter-spacing: -.02em;
}

.hero-oversized .hero-lead {
  max-width: 56ch;
  margin: clamp(20px, 3vw, 32px) 0 0;
  padding: clamp(14px, 2vw, 22px) 0 0;
  border-top: 3px solid var(--yellow);
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.page-section {
padding: clamp(54px, 8vw, 104px) 0;
}

.page-section-tight {
padding: clamp(40px, 7vw, 88px) 0;
}

.page-section,
.page-section-tight {
position: relative;
isolation: isolate;
color: white;
}

.page-section::before,
.page-section-tight::before {
position: absolute;
inset: 0 calc(50% - 50vw);
z-index: -1;
pointer-events: none;
content: "";
background: rgb(0 0 0 / .14);
backdrop-filter: invert(1);
-webkit-backdrop-filter: invert(1);
}

.page-section h2,
.page-section h3,
.page-section-tight h2,
.page-section-tight h3 {
color: white;
}

.page-section p,
.page-section-tight p,
.page-section .detail-objective,
.page-section-tight .detail-objective {
color: rgb(255 255 255 / .72);
}

.page-section .eyebrow,
.page-section-tight .eyebrow,
.page-section .detail-card span,
.page-section .faq-item span,
.page-section .blog-card span,
.page-section-tight .detail-card span,
.page-section-tight .faq-item span,
.page-section-tight .blog-card span {
border-color: var(--dark-line);
background: rgb(255 255 255 / .10);
color: rgb(255 255 255 / .72);
}

/* Links inside inverted page sections */
.page-section a,
.page-section-tight a,
.page-section-tight button,
.page-section .text-link,
.page-section-tight .text-link {
  color: white;
}
.page-section a:hover,
.page-section-tight a:hover,
.page-section button:hover,
.page-section-tight button:hover,
.page-section .text-link:hover,
.page-section-tight .text-link:hover {
  color: var(--yellow);
}
/* Yellow buttons keep black text even in dark sections */
.page-section .button,
.page-section-tight .button,
.scene-dark .button {
  color: var(--ink);
}
.page-section .button:hover,
.page-section-tight .button:hover,
.scene-dark .button:hover {
  color: var(--ink);
}
.page-section li,
.page-section-tight li {
  color: rgb(255 255 255 / .72);
}

.service-detail-grid,
.about-grid,
.contact-layout,
.faq-list,
.blog-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
}

.detail-card,
.about-grid .glass-panel,
.contact-card,
.faq-item,
.blog-card {
padding: clamp(22px, 4vw, 34px);
border: 1px solid rgb(255 255 255 / .56);
border-radius: 26px;
transition: transform .2s var(--ease);
}

.blog-card:hover {
  transform: scale(1.03);
}

.detail-card {
min-height: 360px;
display: flex;
flex-direction: column;
justify-content: flex-end;
}

.detail-card span,
.detail-objective,
.faq-item span,
.blog-card span {
color: var(--muted);
font-size: 13px;
font-weight: 800;
}

.detail-card h2,
.about-grid h2,
.contact-card h2,
.contact-info h2,
.faq-item h2,
.blog-card h2 {
margin-top: 10px;
font-size: clamp(1.8rem, 3vw, 3rem);
}

.detail-card h3 {
margin-top: 14px;
font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.detail-card p,
.about-grid p,
.contact-info p,
.faq-item p,
.blog-card p {
margin-top: 14px;
color: var(--muted);
}

/* Override muted colors inside inverted sections */
.page-section .detail-card p,
.page-section .about-grid p,
.page-section .contact-info p,
.page-section .faq-item p,
.page-section .blog-card p,
.page-section-tight .detail-card p,
.page-section-tight .about-grid p,
.page-section-tight .faq-item p,
.page-section-tight .blog-card p,
.page-section .related-service-card p,
.page-section-tight .related-service-card p {
  color: rgb(255 255 255 / .72);
}

.page-section .detail-card span,
.page-section .faq-item span,
.page-section .blog-card span,
.page-section .related-service-card span,
.page-section-tight .detail-card span,
.page-section-tight .faq-item span,
.page-section-tight .blog-card span,
.page-section-tight .related-service-card span {
  color: rgb(255 255 255 / .60);
}

.page-section .detail-objective,
.page-section-tight .detail-objective {
  color: rgb(255 255 255 / .72);
}

.faq-list {
grid-template-columns: 1fr;
}

.faq-item h2 {
font-size: clamp(1.35rem, 2vw, 2.1rem);
}

.blog-card {
min-height: 300px;
display: flex;
flex-direction: column;
justify-content: flex-end;
}

.blog-card .eyebrow {
  width: fit-content;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .14em;
}

.page-section .blog-card .eyebrow,
.page-section-tight .blog-card .eyebrow {
  color: rgb(255 255 255 / .72);
}

.detail-card .text-link {
width: fit-content;
}

.detail-actions {
display: flex;
flex-wrap: wrap;
gap: 14px;
margin-top: 20px;
}

.contact-layout {
align-items: start;
}

.contact-problem-list {
display: grid;
gap: 10px;
margin: 22px 0;
}

.contact-problem-list span {
border: 1px solid var(--line);
border-radius: 999px;
background: rgb(255 255 255 / .28);
padding: 10px 13px;
color: var(--muted);
font-size: 14px;
font-weight: 700;
}

/* Override for dark sections */
.page-section .contact-problem-list span,
.page-section-tight .contact-problem-list span {
  color: rgb(255 255 255 / .72);
}

.contact-info {
padding: clamp(12px, 3vw, 28px);
}

.contact-info dl {
display: grid;
gap: 14px;
margin: 24px 0;
}

.contact-info dt {
  color: rgb(255 255 255 / .60);
font-size: 13px;
font-weight: 800;
}

.contact-info dd {
  color: white;
margin: 4px 0 0;
font-size: clamp(1.3rem, 2.4vw, 2rem);
font-weight: 900;
}

.service-hero-panel {
align-self: stretch;
display: flex;
min-height: 320px;
flex-direction: column;
justify-content: flex-end;
border: 1px solid rgb(255 255 255 / .58);
border-radius: 28px;
padding: clamp(22px, 4vw, 34px);
box-shadow: var(--shadow);
}

.service-hero-panel span,
.service-story-grid h3,
.related-service-card span {
color: var(--muted);
font-size: 13px;
font-weight: 900;
}

/* Override for dark sections */
.page-section .service-story-grid h3,
.page-section-tight .service-story-grid h3 {
  color: rgb(255 255 255 / .60);
}

.service-hero-panel p {
margin: 12px 0 24px;
color: var(--muted);
font-size: clamp(1.1rem, 1vw + 1rem, 1.45rem);
}

.service-story-grid,
.service-proof-grid,
.related-service-grid {
display: grid;
gap: 18px;
}

.service-story-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-story-grid article,
.related-service-card {
border: 1px solid var(--line);
border-radius: 24px;
background: rgb(255 255 255 / .24);
padding: clamp(20px, 3vw, 28px);
transition: background .8s var(--ease), transform .7s var(--ease);
}

.related-service-card:hover {
  background: linear-gradient(135deg, #fed400, #ffffff52);
  transform: scale(1.01);
}

.service-story-grid ul {
display: grid;
gap: 10px;
margin: 16px 0 0;
padding-left: 1.1em;
color: var(--muted);
}

.service-proof-grid {
grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
align-items: stretch;
}

.service-proof-grid .process-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
color: white;
}

.service-proof-grid .process-grid article {
border-color: var(--dark-line);
}

.related-service-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-service-card {
  color: white;
}

.related-service-card h3 {
margin-top: 10px;
font-size: clamp(1.4rem, 2vw, 2rem);
}

.related-service-card p {
margin-top: 10px;
color: var(--muted);
}

.hero-copy {
  max-width: 760px;
  min-width: 0;
}
/* Neural Network Hero - True 3D Layout */
.hero-neural {
  position: relative;
  width: 100%;
  max-width: 650px;
  height: 560px;
  margin-inline: auto;
  perspective: 1200px;
}

.neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.neural-scene {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  will-change: transform;
}

.neural-node {
  position: absolute;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: default;
  backface-visibility: hidden;
}

.node-center:hover {
  box-shadow: 0 30px 80px rgb(254 212 0 / .25);
}

.node-center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateZ(0px);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  padding: 32px;
  border: 3px solid var(--yellow);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 0 0 14px rgb(254 212 0 / .10),
    0 0 60px rgb(254 212 0 / .20),
    0 0 120px rgb(254 180 0 / .08);
  z-index: 10;
  animation: magnetPulse 2s ease-in-out infinite;
}

.node-center:hover {
  transform: translate(-50%, -50%) translateZ(20px) scale(1.08);
  box-shadow:
    0 0 0 18px rgb(254 212 0 / .12),
    0 0 80px rgb(254 212 0 / .25),
    0 0 150px rgb(254 180 0 / .10);
}

@keyframes magnetPulse {
  0%, 100% {
    box-shadow:
      0 0 0 14px rgb(254 212 0 / .10),
      0 0 60px rgb(254 212 0 / .20),
      0 0 120px rgb(254 180 0 / .08);
  }
  50% {
    box-shadow:
      0 0 0 20px rgb(254 212 0 / .14),
      0 0 80px rgb(254 212 0 / .30),
      0 0 150px rgb(254 180 0 / .12);
  }
}

.node-label {
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -.02em;
}

.node-sub {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 10px;
}

.neural-card {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px solid rgba(19, 18, 13, 0.2);
  box-shadow: 0 0 20px rgba(19, 18, 13, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Marketing: top-left, clearly separated */
.node-marketing {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translate3d(-290px, -180px, -100px);
  animation: float-1 6s ease-in-out infinite;
}

/* AI: right side, below center */
.node-ai {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translate3d(210px, -30px, -50px);
  animation: float-2 7s ease-in-out infinite;
}

/* Business: bottom-left */
.node-biz {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translate3d(-180px, 160px, -100px);
  animation: float-3 8s ease-in-out infinite;
}

.card-tag {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
}

.card-desc {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.3;
  text-align: center;
}

@keyframes float-1 {
  0%, 100% { transform: translate(-50%, -50%) translate3d(-290px, -180px, -100px); }
  50% { transform: translate(-50%, -50%) translate3d(-250px, -150px, -70px); }
}

@keyframes float-2 {
  0%, 100% { transform: translate(-50%, -50%) translate3d(210px, -30px, -50px); }
  50% { transform: translate(-50%, -50%) translate3d(175px, -15px, -30px); }
}

@keyframes float-3 {
  0%, 100% { transform: translate(-50%, -50%) translate3d(-180px, 160px, -100px); }
  50% { transform: translate(-50%, -50%) translate3d(-145px, 130px, -65px); }
}

@keyframes metricFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  border: 1px solid rgb(19 18 13 / .10);
  border-radius: 999px;
  background: rgb(255 255 255 / .52);
  color: var(--muted);
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.hero h1 {
  max-width: 15ch;
  font-size: clamp(2.55rem, 4vw, 4rem);
  font-weight: 900;
}

.hero h1 span {
  display: block;
}

.hero h1 .text-highlight {
  display: inline;
  color: var(--yellow);
  font-weight: 900;
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
}

.desktop-title span {
  white-space: nowrap;
}

.mobile-title {
  display: none;
}

.hero-result-metrics {
display: flex;
gap: 16px;
margin: 20px 0;
}

.hero-metric {
text-align: center;
}

.hero-metric strong {
display: block;
font-size: 1.6rem;
font-weight: 900;
color: var(--ink);
}

.hero-metric span {
font-size: 0.82rem;
color: var(--muted);
text-transform: uppercase;
letter-spacing: 0.04em;
}

.hero-lead {
  max-width: 62ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.1rem, .7vw + 1rem, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.glass-panel {
border: 0;
border-radius: var(--radius);
background: transparent;
box-shadow: var(--shadow);
transition: transform .2s var(--ease);
}

.glass-panel:hover {
  transform: scale(1.02);
}

.glass-filter {
position: absolute;
width: 0;
height: 0;
overflow: hidden;
}

.liquid-glass,
.liquidGlass-wrapper {
position: relative;
overflow: hidden;
isolation: isolate;
color: var(--ink);
box-shadow: 0 6px 6px rgb(0 0 0 / .14), 0 0 20px rgb(0 0 0 / .08);
transition: all .4s cubic-bezier(.175, .885, .32, 2.2);
}

.liquid-glass::before,
.liquid-glass::after {
display: none;
}

/* Override liquid-glass on neural nodes to preserve 3D rendering */
.neural-node.liquid-glass,
.neural-node.liquidGlass-wrapper {
  position: absolute !important;
  overflow: visible;
  isolation: auto;
  z-index: 5;
}

/* Restore process-grid arrows (override liquid-glass ::after) */
.process-grid.liquid-glass article::after,
.process-grid article.liquid-glass::after {
display: grid;
}

.liquidGlass-effect,
.liquidGlass-tint,
.liquidGlass-shine {
position: absolute;
inset: 0;
pointer-events: none;
border-radius: inherit;
}

.liquidGlass-effect {
z-index: 0;
overflow: hidden;
isolation: isolate;
backdrop-filter: blur(3px);
filter: url(#glass-distortion);
transition: backdrop-filter .42s var(--ease), filter .42s var(--ease);
}

.liquidGlass-tint {
z-index: 1;
background: rgb(255 255 255 / .14);
transition: background-color .42s var(--ease), opacity .42s var(--ease);
}

.liquidGlass-shine {
z-index: 2;
border-radius: inherit;
overflow: hidden;
box-shadow:
inset 2px 2px 1px 0 rgb(255 255 255 / .50),
inset -1px -1px 1px 1px rgb(255 255 255 / .50);
transition: box-shadow .42s var(--ease), opacity .42s var(--ease);
}

.liquid-glass > :not(.liquidGlass-effect, .liquidGlass-tint, .liquidGlass-shine),
.liquidGlass-text {
position: relative;
z-index: 3;
}

.site-nav.liquid-glass {
position: fixed;
}

.site-nav.liquidGlass-wrapper {
overflow: visible;
border-color: var(--nav-border);
box-shadow: var(--nav-shadow);
transform: translateX(-50%) translateY(var(--nav-y));
transition:
  background-color .36s var(--ease),
  border-color .36s var(--ease),
  box-shadow .58s var(--ease),
  filter .36s var(--ease),
  transform .58s var(--ease);
}

.site-nav .liquidGlass-tint {
background: var(--nav-tint);
}

.site-nav .liquidGlass-effect {
backdrop-filter: blur(var(--nav-blur));
}

.site-nav .liquidGlass-shine {
box-shadow:
inset 2px 2px 1px 0 var(--nav-shine-a),
inset -1px -1px 1px 1px var(--nav-shine-b);
}

.hero-panel {
  padding: clamp(22px, 4vw, 34px);
  min-width: 0;
  transform: translate3d(calc(var(--mx) * 8px), calc(var(--my) * 8px), 0);
}

.panel-kicker {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.hero-panel h2 {
  margin-top: 10px;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

/* ── Hero Profit Cluster ── */
.hero-profit-cluster {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  margin-inline: auto;
}

/* Center card spans the middle */
.profit-center {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  align-self: center;
  justify-self: center;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border: 2px solid var(--yellow);
  box-shadow:
    0 0 0 6px rgb(254 212 0 / .12),
    0 20px 60px rgb(254 212 0 / .18),
    0 4px 16px rgb(0 0 0 / .06);
}

.profit-label {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
}

.profit-sub {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
}

/* Outer cards */
.profit-card {
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.profit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgb(0 0 0 / .10);
}

.profit-tag {
  font-size: 14px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: .02em;
  text-transform: uppercase;
}

.profit-desc {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
}

/* Position outer cards in the grid */
.profit-marketing {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: center;
  width: 160px;
  z-index: 1;
}

.profit-ai {
  grid-column: 1;
  grid-row: 2;
  justify-self: end;
  width: 150px;
  z-index: 1;
}

.profit-biz {
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
  width: 150px;
  z-index: 1;
}

/* Connector SVG */
.profit-connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.problem-preview,
.decision-preview {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.problem-preview span {
  border: 1px solid rgb(19 18 13 / .10);
  border-radius: 999px;
  background: rgb(255 255 255 / .45);
  padding: 9px 12px;
  color: var(--muted);
  font-size: 14px;
}

.decision-preview article {
display: grid;
grid-template-columns: 84px 1fr;
gap: 12px;
align-items: center;
border: 1px solid rgb(19 18 13 / .10);
border-radius: 18px;
background: rgb(255 255 255 / .42);
padding: 12px;
}

.decision-preview span {
display: inline-flex;
min-height: 32px;
align-items: center;
justify-content: center;
border-radius: 999px;
background: rgb(254 212 0 / .34);
color: var(--ink);
font-size: 11px;
font-weight: 900;
letter-spacing: .04em;
text-transform: uppercase;
}

.decision-preview strong {
font-size: clamp(1rem, .55vw + .9rem, 1.22rem);
line-height: 1.32;
}

.text-link {
  margin-top: 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 4px;
  text-underline-offset: 4px;
}

.problem-strip {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 48px);
  align-items: start;
  padding: clamp(56px, 8vw, 88px) 0 clamp(80px, 10vw, 120px);
}

.problem-strip h2,
.section-heading h2,
.final-cta h2 {
  max-width: 13ch;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.problem-strip .problem-strip-head {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Problem Sign Grid (2×2) ── */
.problem-sign-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.problem-sign {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border: 1px solid rgb(19 18 13 / .10);
  border-radius: 22px;
  background: rgb(255 255 255 / .46);
  box-shadow: 0 12px 34px rgb(42 36 18 / .08), inset 1px 1px 0 rgb(255 255 255 / .64);
  backdrop-filter: blur(3px);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.problem-sign:hover {
  transform: translateY(-4px);
  border-color: var(--yellow);
  box-shadow: 0 20px 48px rgb(42 36 18 / .14), inset 1px 1px 0 rgb(255 255 255 / .74);
}

.problem-sign-num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: .02em;
  box-shadow: 0 8px 24px rgb(254 212 0 / .28);
}

.problem-sign-text {
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
}

/* ── Closing Statement ── */
.problem-closing {
  grid-column: 1 / -1;
  margin-top: clamp(28px, 4vw, 44px);
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.problem-closing strong {
  color: var(--ink);
  font-weight: 900;
}

.case-section,
.portfolio-section {
  width: 100%;
  padding: clamp(72px, 9vw, 124px) max(16px, calc((100vw - 1160px) / 2));
  color: white;
}

.scene-dark {
background: transparent;
}

.scene-dark::before {
position: absolute;
inset: 0;
z-index: 0;
pointer-events: none;
content: "";
background: rgb(0 0 0 / .18);
backdrop-filter: invert(1);
-webkit-backdrop-filter: invert(1);
}

.scene-dark > * {
position: relative;
z-index: 1;
}


/* White text on inverted dark backgrounds */
.scene-dark h2,
.scene-dark h3 {
  color: white;
}
.scene-dark p {
  color: rgb(255 255 255 / .72);
}
/* Links inside dark scenes */
.scene-dark a,
.scene-dark button,
.scene-dark .text-link {
  color: white;
}
.scene-dark a:hover,
.scene-dark button:hover,
.scene-dark .text-link:hover {
  color: var(--yellow);
}
.case-section .eyebrow,
.portfolio-section .eyebrow {
  border-color: var(--dark-line);
  background: rgb(255 255 255 / .10);
  color: rgb(255 255 255 / .72);
}

.section-heading {
display: grid;
grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
gap: clamp(24px, 5vw, 64px);
align-items: end;
margin-bottom: clamp(28px, 5vw, 54px);
}

.section-link {
justify-self: end;
align-self: end;
border-bottom: 4px solid var(--yellow);
color: inherit;
font-weight: 900;
}

.case-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: stretch;
}

.case-story {
display: grid;
gap: 14px;
padding: clamp(20px, 3vw, 32px);
background: transparent;
border-color: rgb(255 255 255 / .20);
box-shadow: 0 24px 70px rgb(0 0 0 / .34), inset 1px 1px 0 rgb(255 255 255 / .18);
}

.case-story-title {
  margin: 0 0 6px;
  color: rgb(255 255 255 / .86);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .01em;
}

.story-step {
  border-bottom: 1px solid var(--dark-line);
  padding-bottom: 16px;
}

.story-step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}


.story-step span,
.portfolio-card span,
.process-grid span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  -webkit-text-stroke: 0.5px var(--ink);
  paint-order: stroke fill;
}

.story-step h3 {
  margin-top: 6px;
  font-size: 1.35rem;
}

.story-step p {
  margin-top: 6px;
  color: rgb(255 255 255 / .70);
}

.case-proof {
  position: relative;
  min-height: 470px;
  transform: translate3d(calc(var(--mx) * -6px), calc(var(--my) * -6px), 0);
}

.case-proof img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  border: 1px solid var(--dark-line);
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 30px 80px rgb(0 0 0 / .38);
}

.metric-card {
  position: absolute;
  min-width: 148px;
border: 1px solid rgb(255 255 255 / .24);
border-radius: 20px;
background: rgb(13 21 17 / .28);
box-shadow: 0 18px 50px rgb(0 0 0 / .28), inset 1px 1px 0 rgb(255 255 255 / .16);
padding: 16px;
backdrop-filter: blur(5px) saturate(1.15);
animation: metricFloat 2.8s ease-in-out infinite;
}

.metric-card:nth-of-type(1) {
  left: 22px;
  bottom: 24px;
  animation-delay: 0s;
}

.metric-card:nth-of-type(2) {
  right: 28px;
  top: 26px;
  animation-delay: 0.9s;
}

.metric-card:nth-of-type(3) {
  right: 72px;
  bottom: 42px;
  animation-delay: 1.8s;
}

.metric-card strong {
  display: block;
  color: var(--yellow);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: .9;
}

.metric-card span {
  color: rgb(255 255 255 / .74);
  font-weight: 700;
}

.services-section,
.process-section,
.final-cta {
  padding: clamp(72px, 9vw, 124px) 0;
}

.services-section {
  position: relative;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
border: 1px solid rgb(19 18 13 / .10);
border-radius: 24px;
background: transparent;
box-shadow: 0 18px 52px rgb(42 36 18 / .10), inset 1px 1px 0 rgb(255 255 255 / .65);
padding: clamp(22px, 3vw, 32px);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
background:
linear-gradient(150deg, rgb(255 255 255 / .06), rgb(254 212 0 / .08));
  box-shadow: 0 28px 70px rgb(42 36 18 / .16), inset 1px 1px 0 rgb(255 255 255 / .78);
}

.service-card h3 {
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(1.35rem, 1.6vw, 2rem);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}

.service-card > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.service-card > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.service-card ul {
  margin: 14px 0 0;
  padding: 0 0 0 1.2em;
  list-style: none;
  display: grid;
  gap: 6px;
}

.service-card li {
  position: relative;
  padding-left: 4px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
}

.service-card li::before {
  content: "→";
  position: absolute;
  left: -1.2em;
  color: var(--yellow);
  font-weight: 900;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.portfolio-card {
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .14);
  border-radius: 24px;
  background: rgb(255 255 255 / .06);
  box-shadow: 0 24px 70px rgb(0 0 0 / .26);
  transition: transform .2s var(--ease);
}

.portfolio-card:hover {
  transform: scale(1.02);
}

.portfolio-card.featured {
  grid-column: span 6;
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  transition: transform .4s var(--ease);
}

.portfolio-card:hover img {
  transform: scale(1.035);
}

.portfolio-card div {
  padding: 18px;
}

.portfolio-card h3 {
  margin-top: 6px;
  color: white;
  font-size: 1.35rem;
}

.portfolio-card p {
  margin-top: 6px;
  color: rgb(255 255 255 / .68);
}

.portfolio-more {
display: flex;
justify-content: center;
margin-top: 28px;
}

.portfolio-more .button:hover {
transform: none;
box-shadow: 0 14px 34px rgb(254 212 0 / .30), inset 1px 1px 0 rgb(255 255 255 / .48);
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-grid::before {
display: none;
}

.process-grid article {
  position: relative;
  z-index: 1;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  padding: 18px;
  overflow: visible;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.process-grid article:hover {
transform: translateY(-5px);
}

.process-grid article::after {
position: absolute;
top: 36px;
right: -18px;
width: 34px;
height: 34px;
z-index: 2;
display: grid;
place-items: center;
border: 1.5px solid rgb(19 18 13 / 0.35);
border-radius: 999px;
background: var(--yellow);
box-shadow: 0 10px 30px rgb(254 212 0 / .26);
content: ">";
font-weight: 900;
}

.process-grid article:last-child::after {
display: none;
}

.process-grid .step-number {
width: 68px;
height: 68px;
display: grid;
place-items: center;
border: 1px solid rgb(19 18 13 / .12);
border-radius: 22px;
background: rgb(255 255 255 / .5);
color: var(--ink);
box-shadow: 0 16px 38px rgb(42 36 18 / .10);
font-size: 1.25rem;
}

.process-grid h3 {
  margin-top: auto;
  font-size: 1.4rem;
}

.process-grid p {
  margin-top: 8px;
  color: var(--muted);
}

.page-section .service-card p,
.page-section .blog-card p,
.page-section .faq-item p,
.page-section .detail-card p,
.page-section .contact-card p,
.page-section-tight .process-grid p,
.page-section-tight .service-card p,
.page-section-tight .blog-card p,
.page-section-tight .faq-item p,
.page-section-tight .detail-card p {
color: rgb(255 255 255 / .72);
}

.final-cta .glass-panel {
  padding: clamp(26px, 6vw, 64px);
}

.final-cta h2 {
  margin-bottom: 28px;
}

.floating-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.floating-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgb(255 255 255 / .74);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s var(--ease);
}

body.nav-open .panel-backdrop,
body.panel-open .panel-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.panel-open .panel-backdrop {
  z-index: 100;
}

.lead-panel {
  position: fixed;
  inset: 12px 12px 12px auto;
  z-index: 110;
  width: min(520px, calc(100vw - 24px));
  display: flex;
  flex-direction: column;
  overflow: auto;
border: 1px solid rgb(255 255 255 / .62);
border-radius: 28px;
background: transparent;
box-shadow: 0 30px 90px rgb(0 0 0 / .28), inset 1px 1px 0 rgb(255 255 255 / .82);
  padding: 22px;
  transform: translateX(calc(100% + 28px));
  transition: transform .32s var(--ease);
}

body.panel-open .panel-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.panel-open .lead-panel {
  transform: none;
}

.panel-head {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.panel-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.panel-close {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / .54);
  font-size: 0;
}

.panel-close::before {
  content: "×";
  font-size: 22px;
}

.lead-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

fieldset {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

legend,
label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.chip-grid {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.chip input {
  position: absolute;
  opacity: 0;
}

.chip span {
  display: block;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / .50);
  padding: 9px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.chip input:checked + span {
  border-color: rgb(254 212 0 / .9);
  background: rgb(254 212 0 / .28);
  color: var(--ink);
}

label {
  display: grid;
  gap: 7px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: 2px solid transparent;
  background: rgb(255 255 255 / .62);
  color: var(--ink);
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.field-note,
.form-status {
  color: var(--muted);
  font-size: 13px;
}

.form-status[data-tone="error"] {
  color: #a0281f;
}

.form-status[data-tone="success"] {
  color: #155b39;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

@media (max-width: 1100px) and (min-width: 921px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 28px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-neural {
    max-width: min(100%, 520px);
    height: 440px;
  }
}

@media (max-width: 920px) {
  body.nav-open {
    overflow: hidden;
  }

  .site-nav {
    grid-template-columns: 1fr auto;
    border-radius: 26px;
  }

  .site-nav.is-open {
    max-height: calc(100svh - 28px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .nav-toggle {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
background: rgb(255 255 255 / .52);
padding: 0 13px;
font-weight: 800;
transition: background-color .24s var(--ease), border-color .24s var(--ease), color .36s var(--ease), filter .36s var(--ease);
}

  .nav-menu,
  .nav-cta {
    display: none;
  }

  .site-nav.is-open .nav-menu {
    grid-column: 1 / -1;
    display: grid;
    min-height: 0;
    justify-content: stretch;
    gap: 6px;
    padding: 10px;
    border: 1px solid rgb(255 255 255 / .62);
    border-radius: 22px;
    background: rgb(255 255 255 / .74);
    box-shadow: inset 1px 1px 0 rgb(255 255 255 / .82);
  }

  .site-nav.is-open .nav-cta {
    grid-column: 1 / -1;
    display: inline-flex;
  }

.nav-menu > a,
.nav-service > button {
justify-content: flex-start;
}

.nav-service {
padding-bottom: 0;
margin-bottom: 0;
}

.nav-service::after {
display: none;
}

.service-mega {
position: static;
width: 100%;
    transform: none;
    grid-template-columns: 1fr;
    margin-top: 8px;
    opacity: 1;
    pointer-events: auto;
    display: none;
  }

  .nav-service.is-open .service-mega {
    display: grid;
    transform: none;
  }

  .service-mega a {
    min-width: 0;
    text-align: left;
  }

  .service-mega strong,
  .service-mega span {
    overflow-wrap: anywhere;
  }

  .page-hero.hero-oversized {
    align-items: center;
    text-align: center;
  }

  .page-hero.hero-oversized h1,
  .page-hero.hero-oversized .hero-lead {
    margin-inline: auto;
    text-align: center;
  }

  .hero-grid,
  .page-hero-grid,
  .problem-strip,
  .section-heading,
  .case-grid,
  .service-detail-grid,
  .about-grid,
  .contact-layout,
  .faq-list,
  .blog-grid,
  .service-story-grid,
  .service-proof-grid,
  .related-service-grid {
  grid-template-columns: 1fr;
  }

  .hero-copy,
  .problem-strip,
  .problem-strip-head,
  .section-heading,
  .case-story,
  .service-card,
  .process-grid article,
  .service-hero-panel,
  .about-grid .glass-panel,
  .contact-info,
  .final-cta .glass-panel,
  .portfolio-card div {
    align-items: center;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
  }

  .section-heading,
  .problem-strip,
  .hero-copy {
    justify-items: center;
  }

  .hero h1 span,
  .page-hero h1 span,
  .problem-strip h2 span,
  .section-heading h2 span,
  .final-cta h2 span {
    display: inline;
  }

  .hero h1,
  .hero-lead,
  .section-heading h2,
  .section-heading p,
  .problem-strip h2,
  .problem-strip p,
  .case-story-title,
  .story-step p,
  .service-card > p,
  .process-grid p {
    margin-inline: auto;
  }

  .hero-actions,
  .detail-actions {
    justify-content: center;
  }

  .section-link {
    justify-self: center;
  }

  .hero {
    padding-top: 128px;
  }

.hero h1 {
font-size: clamp(3rem, 10vw, 4rem);
}

.page-hero h1 {
font-size: clamp(3rem, 10vw, 4rem);
}

.service-hero-panel {
min-height: 260px;
}

  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-card,
  .portfolio-card.featured {
    grid-column: span 6;
  }

  .section-link {
    justify-self: start;
  }

  .process-grid::before,
  .process-grid article::after {
    display: none;
  }

  .process-grid article {
    min-height: 220px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

.site-nav {
left: 16px;
right: 16px;
width: calc(100% - 32px);
max-width: calc(100% - 32px);
transform: none;
grid-template-columns: auto auto;
justify-content: space-between;
}

.site-nav.liquidGlass-wrapper {
transform: translateY(var(--nav-y));
}

body.nav-open .site-nav {
  --nav-border: rgb(255 255 255 / .72);
  --nav-shadow: 0 28px 80px rgb(31 28 17 / .20), inset 1px 1px 0 rgb(255 255 255 / .86);
  --nav-tint: rgb(255 255 255 / .38);
  border-radius: 26px;
}

  .brand img {
    width: 142px;
  }

.hero {
padding-bottom: 64px;
}

.page-hero {
padding: 128px 0 52px;
}

.hero-grid,
.page-hero-grid,
.page-section,
.page-section-tight {
width: calc(100% - 32px);
max-width: calc(100% - 32px);
}

  .hero-copy,
  .hero-panel {
    min-width: 0;
    max-width: 100%;
  }

  .desktop-title {
    display: none;
  }

  .mobile-title {
    display: block;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 10vw, 2.8rem);
    line-height: .98;
  }

  .hero-lead {
    max-width: 29ch;
    font-size: 1rem;
  }

  .hero-panel {
    padding: 20px;
  }

  .hero-panel h2 {
    font-size: clamp(1.45rem, 7.5vw, 1.9rem);
    max-width: 9ch;
  }

  /* Profit cluster mobile */
  .hero-profit-cluster {
    max-width: 340px;
    gap: 10px;
  }
  .profit-center {
    width: 140px;
    height: 140px;
  }
  .profit-label {
    font-size: 1.8rem;
  }
  .profit-marketing,
  .profit-ai,
  .profit-biz {
    width: 130px;
    padding: 14px;
  }
  .profit-tag {
    font-size: 12px;
  }
  .profit-desc {
    font-size: 11px;
  }

.problem-strip h2,
.section-heading h2,
.final-cta h2,
.page-hero h1 {
font-size: clamp(2rem, 7vw, 2.5rem);
max-width: 11ch;
}

.page-hero.hero-oversized h1 {
  max-width: 100%;
}

.page-hero.hero-oversized .hero-lead {
  max-width: 34ch;
}

.section-heading h2 {
  max-width: 100%;
}

.service-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.process-grid,
.service-proof-grid .process-grid {
grid-template-columns: 1fr;
gap: 68px;
}

#process {
  padding-bottom: clamp(92px, 20vw, 128px);
}

.problem-sign-grid {
grid-template-columns: 1fr;
}

.hero-copy,
.problem-strip,
.problem-strip-head,
.section-heading,
.case-story,
.service-card,
.process-grid article,
.why-section,
.blog-card,
.blog-card .eyebrow,
.final-cta .glass-panel,
.portfolio-card div {
  align-items: center;
  text-align: center;
}

.why-section .eyebrow,
.why-section h2,
.why-section p,
.blog-card .eyebrow {
  margin-inline: auto;
  text-align: center;
  justify-content: center;
}

.final-cta .glass-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.final-cta h2,
.final-cta .eyebrow {
  margin-inline: auto;
  text-align: center;
}

.hero-actions,
.detail-actions {
  justify-content: center;
}

.service-card ul {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
}

.process-grid article {
min-height: auto;
}

.process-grid article::after {
  top: auto;
  right: 50%;
  bottom: -34px;
  width: 34px;
  height: 34px;
  display: grid;
  transform: translate(50%, 50%);
  content: "↓";
}

.process-grid article:last-child::after {
  display: none;
}

.process-grid .step-number {
width: 58px;
height: 58px;
border-radius: 18px;
}

  .portfolio-card,
  .portfolio-card.featured {
    grid-column: span 12;
  }

  .case-proof {
    min-height: auto;
    transform: none;
  }

  .case-proof img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10.5;
    object-fit: contain;
    background: rgb(13 21 17 / .42);
  }

  .metric-card {
    position: absolute;
    min-width: 96px;
    margin-top: 0;
    padding: 9px 10px;
    border-radius: 15px;
  }

  .metric-card strong {
    font-size: clamp(1.15rem, 6vw, 1.55rem);
  }

  .metric-card span {
    font-size: 0.72rem;
  }

  .metric-card:nth-of-type(1) {
    left: 12px;
    bottom: 12px;
  }

  .metric-card:nth-of-type(2) {
    right: 12px;
    top: 12px;
  }

  .metric-card:nth-of-type(3) {
    right: 18px;
    bottom: 12px;
  }

  .lead-panel {
    inset: auto 8px 8px;
    width: auto;
    max-height: min(86svh, 760px);
    border-radius: 26px;
    transform: translateY(calc(100% + 18px));
  }

  body.panel-open .lead-panel {
    transform: none;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .floating-cta {
    left: 16px;
    right: 16px;
    bottom: 14px;
  }

  /* Neural network mobile */
  .hero {
    overflow: clip;
    contain: paint;
  }
  .hero-neural {
    height: auto;
    max-width: 320px;
    perspective: none;
  }
  .neural-canvas {
    display: none;
  }
  .neural-scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transform: none !important;
  }
  .neural-node {
    position: relative;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    min-width: 200px;
  }
  .node-center {
    min-width: 180px;
  }
  .neural-card {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    min-height: auto;
  }

}

.blog-card .text-link {
  width: fit-content;
  margin-top: 18px;
}

.blog-article-hero {
  padding: clamp(132px, 16vw, 188px) 0 clamp(46px, 7vw, 82px);
}

.blog-article-heading,
.blog-article-shell {
  width: min(920px, calc(100% - 32px));
  margin-inline: auto;
}

.blog-article-heading {
  display: grid;
  gap: 18px;
}

.blog-back-link {
  width: fit-content;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.blog-back-link:hover {
  color: var(--ink);
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.blog-article-meta .eyebrow {
  margin-bottom: 0;
}

.blog-article-meta .eyebrow-yellow {
  border-color: rgb(19 18 13 / .18);
  background: var(--yellow);
  color: var(--ink);
}

.blog-article-heading h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.85rem, 6vw, 6.8rem);
  font-weight: 950;
  line-height: .88;
}

.blog-article-shell {
  padding: 0 0 clamp(54px, 8vw, 104px);
}

.blog-prose {
  position: relative;
  border: 1px solid rgb(19 18 13 / .08);
  border-radius: 28px;
  background: white;
  padding: clamp(26px, 5vw, 58px);
  box-shadow: 0 24px 70px rgb(42 36 18 / .08);
}

.blog-prose h2 {
  margin: 1.8em 0 .45em;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1.16;
}

.blog-prose p {
  margin: 1em 0;
  color: rgb(19 18 13 / .78);
}

.blog-prose p:first-of-type {
  margin-top: 0;
  color: var(--ink);
  font-size: clamp(1.1rem, .7vw + 1rem, 1.28rem);
}

.blog-prose a {
  color: var(--ink);
  font-weight: 800;
  text-decoration-color: rgb(254 212 0 / .75);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

.hero-panel,
.case-proof,
body::before,
body::after {
transform: none !important;
}

.coded-background * {
animation-play-state: paused !important;
}

.liquid-glass::before {
filter: none;
}

}
