:root {
  --ink: #111211;
  --muted: #666a66;
  --paper: #f3f2ed;
  --white: #fffefa;
  --line: #d6d5cf;
  --acid: #d8ff37;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 0 4.5vw;
  border-bottom: 1px solid rgba(17,18,17,.16);
}
.brand { display: inline-flex; align-items: flex-start; gap: 7px; width: max-content; font-weight: 800; }
.brand img { width: 82px; height: 36px; object-fit: contain; }
.brand small { font-size: 8px; letter-spacing: .08em; margin-top: 3px; }
nav { display: flex; gap: 36px; font-size: 13px; font-weight: 700; }
nav a { position: relative; }
nav a:after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--ink); transition: right .25s; }
nav a:hover:after { right: 0; }
.header-cta { justify-self: end; font-size: 13px; font-weight: 700; padding: 13px 17px; border: 1px solid var(--ink); transition: background .2s, color .2s; }
.header-cta:hover { background: var(--ink); color: white; }

.hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  max-height: 980px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  padding: 135px 8vw 70px;
  background: var(--paper);
}
.hero-grid { position: absolute; inset: -84px; opacity: .3; background-image: linear-gradient(rgba(17,18,17,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(17,18,17,.07) 1px, transparent 1px); background-size: 84px 84px; mask-image: linear-gradient(to right, black, transparent 72%); animation: grid-drift 12s linear infinite; }
.hero:after { content: ""; position: absolute; width: 44vw; height: 44vw; max-width: 670px; max-height: 670px; border-radius: 50%; right: -12vw; bottom: -27vw; background: var(--acid); filter: blur(1px); animation: acid-breathe 6s ease-in-out infinite; }
.hero-copy { position: relative; z-index: 2; max-width: 790px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; text-transform: uppercase; letter-spacing: .17em; font-size: 11px; font-weight: 800; }
.eyebrow span { width: 24px; height: 2px; background: currentColor; }
.hero h1 { margin: 0; font-size: clamp(68px, 9vw, 150px); line-height: .82; letter-spacing: -.082em; font-weight: 800; animation: hero-up .9s cubic-bezier(.16,1,.3,1) both; }
.hero h1 em { display: inline-block; margin-left: .45em; font-family: Georgia, serif; font-weight: 400; letter-spacing: -.06em; animation: word-shift 5s ease-in-out infinite; }
.hero-intro { max-width: 610px; margin: 42px 0 0; padding-left: 3px; font-size: clamp(19px, 1.65vw, 25px); line-height: 1.45; color: #383a38; animation: hero-up .9s .15s cubic-bezier(.16,1,.3,1) both; }
.hero-actions { display: flex; align-items: center; gap: 32px; margin-top: 34px; animation: hero-up .9s .28s cubic-bezier(.16,1,.3,1) both; }
.button { display: inline-flex; gap: 28px; align-items: center; padding: 18px 21px; font-size: 13px; font-weight: 800; transition: transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: white; }
.button-dark span { color: var(--acid); font-size: 18px; }
.text-link { font-size: 13px; font-weight: 800; border-bottom: 1px solid; padding: 8px 0; }
.text-link span { margin-left: 14px; }
.hero-orbit { position: relative; z-index: 2; justify-self: center; width: min(34vw, 470px); aspect-ratio: 1; border-radius: 50%; }
.orbit-ring { position: absolute; border: 1px solid rgba(17,18,17,.4); border-radius: 50%; inset: 0; }
.orbit-ring-one { animation: spin 24s linear infinite reverse; }
.orbit-ring-one:before, .orbit-ring-two:before { content: ""; position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); top: 19%; left: 9%; }
.orbit-ring-two { inset: 16%; border-style: dashed; animation: spin 30s linear infinite; }
.orbit-ring-two:before { top: 83%; left: 75%; background: var(--acid); box-shadow: 0 0 0 5px var(--ink); }
.orbit-core { position: absolute; inset: 30%; border-radius: 50%; background: var(--ink); color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 0 0 14px rgba(255,255,255,.35); animation: core-float 4s ease-in-out infinite; }
.orbit-core strong { font-size: clamp(54px, 6vw, 94px); line-height: .8; letter-spacing: -.09em; }
.orbit-core span { margin-top: 12px; text-transform: uppercase; font-size: 9px; line-height: 1.35; letter-spacing: .15em; color: var(--acid); }
.orbit-label { position: absolute; font-family: var(--font-geist-mono), monospace; font-size: 10px; letter-spacing: .13em; background: var(--paper); padding: 5px 8px; }
.label-one { left: 2%; top: 50%; transform: rotate(-90deg); }
.label-two { right: 4%; top: 46%; transform: rotate(90deg); }
.label-three { left: 45%; bottom: -4px; }
.hero-note { position: absolute; z-index: 2; left: 4.5vw; bottom: 30px; display: flex; align-items: center; gap: 22px; font-size: 11px; }
.hero-note span { font-family: var(--font-geist-mono), monospace; border: 1px solid var(--ink); padding: 7px 9px; }
.hero-note p { margin: 0; line-height: 1.45; font-weight: 700; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes grid-drift { to { transform: translate(84px,84px); } }
@keyframes acid-breathe { 50% { transform: scale(1.08); filter: blur(8px); } }
@keyframes hero-up { from { opacity: 0; transform: translateY(42px); } }
@keyframes word-shift { 50% { transform: translateX(.08em); } }
@keyframes core-float { 50% { transform: translateY(-9px) scale(1.02); } }

.ticker { overflow: hidden; padding: 27px 0; background: var(--ink); color: white; }
.ticker div { display: flex; align-items: center; width: max-content; animation: ticker 22s linear infinite; }
.ticker span { font-size: clamp(24px,3vw,46px); font-weight: 800; letter-spacing: -.045em; white-space: nowrap; }
.ticker i { padding: 0 34px; color: var(--acid); font-style: normal; font-size: 18px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.statement { display: grid; grid-template-columns: .7fr 1.3fr; gap: 10vw; padding: 125px 8vw; background: var(--ink); color: white; }
.statement p { margin: 9px 0; color: var(--acid); font-size: 12px; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; }
.statement h2 { max-width: 950px; margin: 0; font-size: clamp(38px, 5vw, 76px); line-height: 1.05; letter-spacing: -.055em; font-weight: 600; }

.section { padding: 130px 8vw; }
.section-heading { display: grid; grid-template-columns: .55fr 1fr .65fr; gap: 5vw; align-items: start; }
.section-heading h2 { margin: 0; max-width: 700px; font-size: clamp(38px, 4vw, 62px); line-height: 1.05; letter-spacing: -.055em; }
.section-heading > p:last-child { margin: 6px 0 0; color: var(--muted); line-height: 1.7; }
.service-list { margin-top: 90px; border-top: 1px solid var(--line); }
.service-card { position: relative; overflow: hidden; display: grid; grid-template-columns: .45fr 1fr auto; gap: 5vw; align-items: start; padding: 42px 18px 42px 0; border-bottom: 1px solid var(--line); transition: padding-left .35s, background .35s; }
.service-card:before { content: ""; position: absolute; inset: 0; background: var(--acid); transform: translateX(-101%); transition: transform .5s cubic-bezier(.16,1,.3,1); z-index: -1; }
.service-card:hover:before { transform: translateX(0); }
.service-card:hover { padding-left: 22px; background: rgba(255,255,255,.55); }
.service-number { font-family: var(--font-geist-mono), monospace; font-size: 12px; }
.service-card h3 { margin: 0; font-size: clamp(28px, 3vw, 46px); letter-spacing: -.045em; }
.service-card p { max-width: 650px; color: var(--muted); line-height: 1.65; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag-row span { padding: 7px 11px; border: 1px solid #bbbdb8; border-radius: 999px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.service-arrow { font-size: 28px; }

.work { background: var(--white); }
.work-heading { display: grid; grid-template-columns: 1.15fr .65fr; gap: 10vw; align-items: end; }
.work-heading h2 { max-width: 820px; margin: 0; font-size: clamp(42px, 5vw, 74px); line-height: 1.02; letter-spacing: -.06em; }
.work-heading > p { max-width: 480px; margin: 0 0 8px; color: var(--muted); line-height: 1.7; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 75px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.work-card { position: relative; overflow: hidden; min-height: 190px; display: grid; grid-template-columns: 45px 1fr auto; gap: 18px; align-items: end; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: background .35s, color .35s, transform .35s; }
.work-card:before { content: attr(href); position: absolute; left: 28px; top: 48px; font-size: 10px; color: var(--acid); opacity: 0; transform: translateY(8px); transition: .35s; }
.work-card:hover { transform: translateY(-6px); z-index: 2; }
.work-card:hover:before { opacity: .75; transform: translateY(0); }
.work-card:hover { background: var(--ink); color: white; }
.work-number { align-self: start; font-family: var(--font-geist-mono), monospace; font-size: 10px; color: #92958f; }
.work-card h3 { margin: 0 0 7px; font-size: clamp(25px, 2.2vw, 36px); letter-spacing: -.045em; }
.work-card p { margin: 0; color: var(--muted); font-size: 12px; }
.work-card:hover p { color: #b9bcb7; }
.work-arrow { font-size: 27px; transition: transform .2s, color .2s; }
.work-card:hover .work-arrow { color: var(--acid); transform: translate(4px,-4px); }

.approach { padding-top: 0; }
.approach-panel { padding: 95px 6vw 75px; background: #252725; color: white; overflow: hidden; position: relative; }
.approach-panel:after { content: "2D2M"; position: absolute; right: -2vw; top: -6vw; font-weight: 900; font-size: 19vw; color: rgba(255,255,255,.025); letter-spacing: -.1em; }
.section-heading.light { grid-template-columns: .55fr 1.65fr; position: relative; z-index: 1; }
.section-heading.light .eyebrow { color: var(--acid); }
.steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 85px; background: rgba(255,255,255,.18); }
.steps article { min-height: 250px; padding: 29px; background: #252725; transition: background .35s, transform .35s; }
.steps article:hover { background: #303330; transform: translateY(-8px); }
.steps span { color: var(--acid); font-family: var(--font-geist-mono), monospace; font-size: 12px; }
.steps h3 { margin: 80px 0 12px; font-size: 26px; }
.steps p { color: #aeb1ad; line-height: 1.6; max-width: 330px; }

.about { display: grid; grid-template-columns: 1fr .85fr; gap: 10vw; align-items: center; }
.about-copy h2 { margin: 0; font-size: clamp(42px, 5vw, 74px); line-height: 1.02; letter-spacing: -.06em; }
.about-copy > p { max-width: 700px; color: var(--muted); line-height: 1.75; }
.about-copy .about-lead { margin-top: 42px; color: var(--ink); font-size: 20px; line-height: 1.6; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 45px; background: var(--line); border: 1px solid var(--line); }
.facts div { display: flex; flex-direction: column; justify-content: space-between; min-height: 120px; padding: 17px; background: var(--paper); }
.facts strong { font-size: 34px; letter-spacing: -.07em; }
.facts span { color: var(--muted); font-size: 10px; line-height: 1.35; text-transform: uppercase; letter-spacing: .08em; }
.capability-card { padding: 42px; background: var(--white); border: 1px solid var(--line); box-shadow: 16px 16px 0 var(--acid); transform: rotate(1.5deg); }
.capability-card > p { margin: 0 0 25px; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; }
.capability-grid { display: grid; grid-template-columns: 1fr 1fr; }
.capability-grid span { display: flex; gap: 15px; align-items: center; min-height: 66px; border-top: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.capability-grid span:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 15px; }
.capability-grid span:nth-child(even) { padding-left: 15px; }
.capability-grid small { color: #999; font-family: var(--font-geist-mono), monospace; font-size: 9px; }

.project-shelf { padding-top: 30px; }
.shelf-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; margin-bottom: 45px; }
.shelf-heading > p:last-child { max-width: 600px; margin: 0; color: var(--muted); line-height: 1.65; }
.ipoh-card { position: relative; min-height: 430px; padding: 55px; overflow: hidden; display: grid; grid-template-columns: .7fr 1.3fr; gap: 7vw; align-items: end; background: #d8aa74; color: #19231c; }
.ipoh-card:after { content: "怡保"; position: absolute; right: -3vw; top: -10vw; color: rgba(255,255,255,.16); font-size: 27vw; font-family: serif; font-weight: 900; }
.ipoh-mark { position: relative; z-index: 1; font-size: clamp(54px, 7vw, 110px); line-height: .72; font-weight: 900; letter-spacing: -.09em; }
.ipoh-mark span { display: block; margin-left: .68em; color: white; }
.ipoh-card > div:nth-child(2) { position: relative; z-index: 1; }
.ipoh-card p { margin: 0 0 18px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.ipoh-card h2 { max-width: 720px; margin: 0; font-size: clamp(34px, 4vw, 62px); line-height: 1; letter-spacing: -.055em; }
.status { position: absolute; top: 35px; right: 35px; z-index: 1; display: flex; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid rgba(25,35,28,.35); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 3px rgba(25,35,28,.25); }
.status i { animation: status-pulse 1.8s ease-out infinite; }
@keyframes status-pulse { 70% { box-shadow: 0 0 0 10px rgba(216,255,55,0); } 100% { box-shadow: 0 0 0 0 rgba(216,255,55,0); } }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.in-view { opacity: 1; transform: none; }
.service-card.reveal:nth-child(2), .work-card.reveal:nth-child(even), .steps article.reveal:nth-child(2) { transition-delay: .1s; }
.service-card.reveal:nth-child(3), .steps article.reveal:nth-child(3) { transition-delay: .2s; }

.contact { background: var(--acid); display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 8vw; }
.contact h2 { max-width: 970px; margin: 0; font-size: clamp(48px, 7vw, 108px); line-height: .95; letter-spacing: -.075em; }
.contact-button { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; border-top: 2px solid; border-bottom: 2px solid; font-weight: 800; }
.contact-button strong { font-size: 34px; transition: transform .2s; }
.contact-button:hover strong { transform: translate(5px,-5px); }

footer { padding: 45px 4.5vw; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 30px; background: var(--ink); color: white; font-size: 11px; }
.footer-brand img { filter: invert(1); }
footer > p { text-align: center; color: #999; }
footer > div { justify-self: end; display: flex; gap: 28px; color: #aaa; }
footer a:hover { color: var(--acid); }

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; height: 78px; }
  nav { display: none; }
  .hero { height: auto; min-height: 880px; grid-template-columns: 1fr; align-content: center; padding-top: 120px; }
  .hero h1 { font-size: clamp(64px, 13vw, 110px); }
  .hero-orbit { position: absolute; width: 330px; opacity: .22; right: -90px; top: 120px; }
  .hero-copy { z-index: 3; }
  .hero:after { width: 70vw; height: 70vw; bottom: -35vw; }
  .statement, .section-heading, .work-heading, .about, .contact { grid-template-columns: 1fr; }
  .statement { gap: 28px; }
  .section-heading > p:last-child { max-width: 600px; }
  .service-card { grid-template-columns: 80px 1fr auto; }
  .work-heading { gap: 28px; }
  .section-heading.light { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: 220px; }
  .steps h3 { margin-top: 50px; }
  .about { gap: 75px; }
  .shelf-heading, .ipoh-card { grid-template-columns: 1fr; }
  .ipoh-card { align-content: end; }
  .capability-card { transform: none; }
  .contact { align-items: start; }
  .contact-button { margin-top: 30px; }
  footer { grid-template-columns: 1fr auto; }
  footer > p { display: none; }
}

@media (max-width: 620px) {
  .site-header { padding: 0 20px; }
  .header-cta { padding: 11px 13px; font-size: 11px; }
  .hero { padding: 115px 22px 100px; min-height: 760px; }
  .hero h1 { font-size: clamp(58px, 18vw, 86px); line-height: .88; }
  .hero h1 em { margin-left: .08em; }
  .hero-intro { margin-top: 34px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .hero-note { left: 22px; bottom: 22px; }
  .hero-orbit { width: 250px; right: -100px; top: 160px; }
  .statement, .section { padding: 85px 22px; }
  .statement h2 { font-size: 40px; }
  .section-heading { gap: 20px; }
  .service-list { margin-top: 50px; }
  .service-card { grid-template-columns: 42px 1fr; gap: 10px; padding-right: 0; }
  .service-arrow { display: none; }
  .service-card:hover { padding-left: 0; }
  .work-grid { grid-template-columns: 1fr; margin-top: 50px; }
  .work-card { min-height: 150px; padding: 23px 20px; grid-template-columns: 34px 1fr auto; }
  .approach { padding-top: 0; }
  .approach-panel { padding: 70px 24px 35px; }
  .steps { margin-top: 50px; }
  .steps article { min-height: 205px; padding: 23px; }
  .capability-card { padding: 25px; box-shadow: 9px 9px 0 var(--acid); }
  .facts { grid-template-columns: 1fr; }
  .facts div { min-height: 90px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid span:nth-child(odd) { border-right: 0; padding-right: 0; }
  .capability-grid span:nth-child(even) { padding-left: 0; }
  .contact h2 { font-size: 50px; }
  .project-shelf { padding-top: 20px; }
  .ipoh-card { min-height: 480px; padding: 30px 24px; }
  .ipoh-mark { margin-bottom: 50px; }
  .status { top: 22px; right: 22px; }
  footer { grid-template-columns: 1fr; padding: 40px 22px; }
  footer > div { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit-ring-two, .orbit-ring-one, .orbit-core, .hero-grid, .hero:after, .hero h1, .hero h1 em, .hero-intro, .hero-actions, .ticker div, .status i { animation: none; }
  * { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

:focus-visible { outline: 3px solid var(--acid); outline-offset: 4px; }
