/* ==========================================================================
   NextGen Integrated Services Sdn Bhd
   Palette sampled from the company profile deck (#07503D, #19A15F)
   and the logo (#005A33, #55EC36).
   ========================================================================== */

/* --- Fonts (self-hosted, no third-party requests) ----------------------- */
@font-face { font-family:"Jakarta"; src:url("fonts/jakarta-latin-700.woff2") format("woff2"); font-weight:700; font-display:swap; }
@font-face { font-family:"Jakarta"; src:url("fonts/jakarta-latin-800.woff2") format("woff2"); font-weight:800; font-display:swap; }
@font-face { font-family:"PublicSans"; src:url("fonts/public-latin-400.woff2") format("woff2"); font-weight:400; font-display:swap; }
@font-face { font-family:"PublicSans"; src:url("fonts/public-latin-500.woff2") format("woff2"); font-weight:500; font-display:swap; }
@font-face { font-family:"PublicSans"; src:url("fonts/public-latin-600.woff2") format("woff2"); font-weight:600; font-display:swap; }
@font-face { font-family:"Mono"; src:url("fonts/mono-latin-500.woff2") format("woff2"); font-weight:500; font-display:swap; }

/* --- Tokens -------------------------------------------------------------- */
:root {
  /* Greens, straight from the deck */
  --deep:    #07503D;   /* deck header bars - primary brand surface */
  --deep-dk: #053A2C;   /* pressed / deeper panels */
  --green:   #19A15F;   /* deck accent - links, active states */
  --green-dk:#128049;   /* accent on light, for contrast */
  --forest:  #005A33;   /* logo deep green */
  --volt:    #55EC36;   /* logo electric green - one signal only */

  /* Ground */
  --paper:   #FFFFFF;
  --mist:    #F3F7F4;   /* section tint */
  --mist-dk: #E8EFEA;
  --line:    #DBE4DD;
  --line-sd: #C5D2C9;

  /* Ink */
  --ink:     #0B1F17;
  --ink-2:   #3A4F44;
  --slate:   #5B6E63;   /* 4.9:1 on paper */

  /* Type */
  --display: "Jakarta", "Segoe UI", system-ui, sans-serif;
  --body:    "PublicSans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:    "Mono", ui-monospace, Menlo, monospace;

  /* Space */
  --gut:  clamp(1.25rem, 4.5vw, 4.5rem);
  --maxw: 1240px;      /* reading column */
  --maxw-wide: 1560px; /* the signature only */
  --measure: 62ch;     /* prose */
  --sect: clamp(4rem, 8vw, 7rem);

  --ease: cubic-bezier(.2, .7, .3, 1);
  --r:    4px;
}

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: light;
  scroll-padding-top: 6rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

a, button, [role="button"], input, select, textarea, summary, label {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(25, 161, 95, .18);
}
[id] { scroll-margin-top: 6rem; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
[hidden]:not([hidden="until-found"]) { display: none !important; }  /* a class with display: beats the UA rule */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 {
  margin: 0; font-family: var(--display); font-weight: 800;
  line-height: 1.06; letter-spacing: -.03em; color: var(--ink);
  text-wrap: balance;
}
:focus-visible { outline: 2px solid var(--green-dk); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--volt); color: var(--ink); }

/* --- Layout -------------------------------------------------------------- */
.wrap {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: max(var(--gut), env(safe-area-inset-left)) max(var(--gut), env(safe-area-inset-right));
}
.wrap--wide { max-width: var(--maxw-wide); }
.sect { padding-block: var(--sect); position: relative; }
.sect--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.bg-mist  { background: var(--mist); }
.bg-deep  { background: var(--deep); color: rgba(255,255,255,.82); }
.bg-deep h1, .bg-deep h2, .bg-deep h3, .bg-deep h4,
.cta h1, .cta h2, .cta h3, .cta h4 { color: #fff; }
.cta { color: rgba(255,255,255,.82); }

/* --- Type ---------------------------------------------------------------- */
.eyebrow {
  font-family: var(--mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-dk); font-variant-numeric: tabular-nums;
  display: block; margin-bottom: 1.1rem;
}
.bg-deep .eyebrow, .cta .eyebrow { color: var(--volt); }

/* Four steps with real distance between them. The hero and the signature carry
   the scale; section headings step DOWN so they label content instead of
   competing with it. Before, h-hero and h-xl were almost the same size and
   every headline on the page shouted at the same volume. */
.h-mega { font-size: clamp(4rem, 14vw, 12rem); line-height: .82; letter-spacing: -.055em; font-weight: 800; }
/* Sized so the tagline holds one line on every desktop width. Above 4.2rem
   "Pathway to global interconnectivity" wraps at 1440 but not at 1024, which
   is worse than a slightly smaller hero. */
.h-hero { font-size: clamp(2.2rem, 5.3vw, 4.2rem); line-height: 1.0; letter-spacing: -.04em; }
@media (max-width: 359px) { .h-hero { font-size: 1.85rem; } }
.h-xl   { font-size: clamp(1.45rem, 2.3vw, 2.15rem); line-height: 1.12; letter-spacing: -.026em; }
.h-cta  { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.06; letter-spacing: -.034em; }
/* Inner-page titles sit one step under the home hero, so the home page stays
   the loudest thing on the site. */
.h-page { font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.04; letter-spacing: -.036em; }
.h-lg   { font-size: clamp(1.3rem, 1.8vw, 1.6rem); letter-spacing: -.024em; }
.h-md   { font-size: clamp(1.1rem, 1.4vw, 1.25rem); letter-spacing: -.018em; line-height: 1.25; }

/* One accent per page, on the hero. Repeating it on every heading turned a
   signal into wallpaper. */
.accent { color: var(--green-dk); }
.bg-deep .accent, .cta .accent { color: var(--volt); }

.lede { font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.62; color: var(--slate); max-width: 56ch; }
.bg-deep .lede, .cta .lede { color: rgba(255,255,255,.8); }
.muted { color: var(--slate); }

/* UN/LOCODE and IATA codes set inline with a port or airport name. Every
   seaport code in this country starts MY, so the column quietly repeats it. */
.loc {
  font-family: var(--mono); font-size: .78em; font-weight: 500;
  letter-spacing: .05em; color: var(--green-dk);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* Code chips - K-forms, port codes, service codes. The industry's own shorthand. */
.codes {
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--green-dk);
  font-variant-numeric: tabular-nums; line-height: 1.7;
}
.bg-deep .codes, .cta .codes { color: var(--volt); }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .9rem 1.5rem; border-radius: var(--r);
  font-family: var(--body); font-size: .94rem; font-weight: 600;
  letter-spacing: -.005em;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 1rem; height: 1rem; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--fill  { background: var(--deep); color: #fff; }
.btn--fill:hover { background: var(--green-dk); }
.btn--line  { border: 1px solid var(--line-sd); color: var(--ink); }
.btn--line:hover { border-color: var(--deep); background: var(--deep); color: #fff; }
.bg-deep .btn--fill, .cta .btn--fill { background: var(--volt); color: var(--ink); }
.bg-deep .btn--fill:hover, .cta .btn--fill:hover { background: #fff; }
.bg-deep .btn--line, .cta .btn--line { border-color: rgba(255,255,255,.4); color: #fff; }
.bg-deep .btn--line:hover, .cta .btn--line:hover { background: #fff; color: var(--deep); border-color: #fff; }

.alink {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .94rem; color: var(--green-dk);
  padding-bottom: 2px; border-bottom: 1px solid currentColor;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.alink:hover { gap: .85rem; color: var(--deep); }
.alink svg { width: .9rem; height: .9rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.hdr {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.hdr.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 14px rgba(11,31,23,.05); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: .85rem; }
/* Source is 2052x399, so even at 72px on a 2x screen it is well inside its native
   resolution. The lockup is trimmed to its own bounding box, so the padding above
   is the only breathing room it gets - keep it proportional if this height changes.
   Scales down on phones so it clears the burger. */
.hdr__logo img { height: clamp(46px, 5.2vw, 72px); width: auto; }
@media (max-width: 359px) { .hdr__logo img { height: 38px; } }

.nav { display: flex; align-items: center; gap: 2.1rem; }
.nav a {
  font-size: .94rem; font-weight: 500; color: var(--ink-2);
  position: relative; padding-block: .35rem;
  transition: color .22s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: right;
  transition: transform .32s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: flex-end; }
.burger i { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: background .2s; }
.burger i::before, .burger i::after {
  content: ""; position: absolute; right: 0; width: 22px; height: 2px; background: var(--ink);
  transition: transform .35s var(--ease), top .25s var(--ease);
}
.burger i::before { top: -7px; }
.burger i::after  { top: 7px; }
.burger[aria-expanded="true"] i { background: transparent; }
.burger[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] i::after  { top: 0; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 88;
  background: var(--paper);
  padding: 6.5rem var(--gut) max(2.5rem, env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .5s var(--ease), visibility .5s;
}
.drawer.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.drawer__nav a {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(1.7rem, 7.5vw, 2.3rem); letter-spacing: -.03em; color: var(--ink);
  padding-block: .75rem; border-bottom: 1px solid var(--line);
}
.drawer__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 1rem; justify-items: start; }
.drawer__foot p { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
@media (max-width: 920px) { .nav, .hdr__cta { display: none; } .burger { display: flex; } }

/* ==========================================================================
   Hero
   ========================================================================== */
/* Asymmetric: the argument on the left at a reading measure, the credentials
   stacked on the right. The photograph then runs full width underneath, so
   something on this page finally breaks the 1240px column. */
.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 4vw, 3.5rem); }
.hero--band { padding-bottom: 0; }   /* the photograph supplies the bottom edge */

/* Inner pages keep the two-up hero: argument left, one photograph right. */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__shot { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.hero__shot img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }
.hero__in { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
/* The tagline is two sentences: each gets its own line, the second in the
   brand accent. This is the page's one accent. */
.hero h1 { max-width: min(26ch, 100%); }
.hero h1 em { display: block; font-style: normal; margin-top: .2em; }
/* The brand name and the tagline are one h1. The gap and the colour change do the
   work the dash does in writing, so the line cannot be read as one phrase. */
.hero .lede { margin-top: 1.3rem; max-width: 46ch; }
.hero .lede--lead { margin-top: 1.7rem; font-size: clamp(1.12rem, 1.5vw, 1.35rem); color: var(--ink-2); max-width: 40ch; }
.hero__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .75rem; }

.proof { display: grid; gap: 0; border-top: 1px solid var(--line-sd); }
.proof li { padding-block: 1.05rem; border-bottom: 1px solid var(--line); }
.proof b {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem); letter-spacing: -.03em;
  color: var(--deep); line-height: 1.1; font-variant-numeric: tabular-nums;
}
.proof span { display: block; margin-top: .25rem; font-family: var(--mono); font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; color: var(--slate); }

/* The photograph is inset to --maxw-wide, the widest column in the system, so
   it is never magnified past what the source file can carry. The ground behind
   it bleeds, which is what gives the hero its bottom edge. See the note in
   DESIGN.md: the source images are 1000px comps and cannot go full-bleed. */
.hero__band { width: 100%; background: var(--mist); }
.hero__band picture { display: contents; }
.hero__band img {
  display: block; width: 100%; max-width: var(--maxw-wide); margin-inline: auto;
  height: clamp(220px, 30vw, 430px); object-fit: cover;
}

@media (max-width: 880px) { .hero h1 { max-width: none; } }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__shot { aspect-ratio: 16/10; } }

/* Fact strip - the deck's three green panels, as one rule-separated row */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.fact { padding: 1.6rem 1.5rem 0 0; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: -.03em; color: var(--deep); line-height: 1.1; margin-bottom: .3rem; font-variant-numeric: tabular-nums; }
.fact span { font-size: .88rem; color: var(--slate); }
@media (max-width: 680px) {
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); padding: 1.15rem 0; }
  .fact:last-child { border-bottom: 0; }
}

/* --- Enquiry confirmation ------------------------------------------------ */
.thanks { max-width: min(38rem, 100%); display: grid; gap: 1.4rem; justify-items: start; }
.thanks__tick {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem;
  border-radius: 50%; background: var(--volt); color: var(--deep);
}
.thanks__tick svg { width: 2rem; height: 2rem; }
.thanks__panel {
  width: 100%; border: 1px solid var(--line); border-left: 3px solid var(--green);
  border-radius: var(--r); background: var(--mist); padding: clamp(1.1rem, 2.2vw, 1.5rem);
}
.thanks__panel h2 {
  font-family: var(--mono); font-size: .66rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-dk); margin-bottom: .6rem;
}
.thanks__panel p { color: var(--ink-2); line-height: 1.65; }
.thanks__panel a { color: var(--green-dk); text-decoration: underline; text-underline-offset: 2px; display: inline-block; padding-block: .2rem; }
.thanks__panel a:hover { color: var(--deep); }

/* ==========================================================================
   Legal pages: numbered sections with a sticky contents rail
   ========================================================================== */
.legal__date {
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--slate);
  margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.legal__grid { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }

.legal__toc { position: sticky; top: 6.5rem; }
.legal__toc h2 {
  font-family: var(--mono); font-size: .66rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--green-dk);
  margin-bottom: 1rem;
}
.legal__toc ol { list-style: none; counter-reset: toc; display: grid; gap: .1rem; }
.legal__toc li { counter-increment: toc; }
.legal__toc a {
  display: grid; grid-template-columns: 1.6rem 1fr; gap: .3rem;
  padding-block: .3rem; font-size: .88rem; color: var(--slate); line-height: 1.4;
}
.legal__toc a::before {
  content: counter(toc); font-family: var(--mono); font-size: .72rem;
  color: var(--line-sd); font-variant-numeric: tabular-nums; padding-top: .1rem;
}
.legal__toc a:hover { color: var(--ink); }
.legal__toc a:hover::before { color: var(--green); }

.legal__body { max-width: min(42rem, 100%); }
.legal__body > h2 {
  display: grid; grid-template-columns: 2.4rem 1fr; align-items: baseline;
  font-family: var(--display); font-size: clamp(1.18rem, 1.7vw, 1.4rem);
  font-weight: 700; letter-spacing: -.022em; color: var(--ink);
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.legal__body > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal__body > h2 span {
  font-family: var(--mono); font-size: .8rem; font-weight: 500;
  color: var(--green-dk); font-variant-numeric: tabular-nums;
}
.legal__body p { color: var(--ink-2); line-height: 1.72; margin-top: 1rem; }
.legal__body > h2 + p { margin-top: 1.1rem; }
.legal__body b { color: var(--ink); font-weight: 600; }
.legal__body a { color: var(--green-dk); text-decoration: underline; text-underline-offset: 2px; }
.legal__body a:hover { color: var(--deep); }

.legal__list { display: grid; gap: .7rem; margin-top: 1.1rem; }
.legal__list li {
  position: relative; padding-left: 1.3rem;
  color: var(--ink-2); line-height: 1.65;
}
.legal__list li::before {
  content: "\2014"; position: absolute; left: 0; top: 0; color: var(--line-sd);
}

.legal__contact { margin-top: 1.4rem; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.25rem, 2.5vw, 1.75rem); background: var(--mist); }
.legal__contact-name { font-family: var(--display); font-weight: 700; color: var(--ink) !important; margin-top: 0 !important; letter-spacing: -.02em; }
.legal__contact-mail { margin-top: 1.1rem !important; padding-top: 1.1rem; border-top: 1px solid var(--line-sd); color: var(--ink-2); overflow-wrap: anywhere; }
.legal__contact-mail a { display: inline-block; padding-block: .1rem; }

@media (max-width: 900px) {
  .legal__grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .legal__toc { position: static; border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1.4rem; background: var(--mist); }
  .legal__toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .1rem 1.25rem; }
  .legal__body > h2 { grid-template-columns: 2rem 1fr; }
}
@media (max-width: 520px) {
  .legal__toc ol { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Who we are
   ========================================================================== */
.who { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: clamp(2rem,5vw,4.5rem); align-items: start; }
@media (max-width: 900px) { .who { grid-template-columns: minmax(0, 1fr); } }
.who__body { display: grid; gap: 1.3rem; }
.who__body p { font-size: 1.02rem; line-height: 1.72; max-width: var(--measure); }

/* Company details - the deck's table, kept as a table because it is one */
.details { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line-sd); }
.details caption {
  caption-side: top; text-align: left;
  font-family: var(--mono); font-weight: 500; font-size: .64rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-dk);
  padding: 0 0 .85rem;
}
.details th, .details td { text-align: left; padding: .8rem 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .92rem; }
.details tr:last-child th, .details tr:last-child td { border-bottom: 1px solid var(--line-sd); }
.details th { font-family: var(--mono); font-weight: 500; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); width: 34%; white-space: nowrap; padding-top: 1rem; }
.details td { color: var(--ink-2); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.details a { display: inline-block; padding-block: .22rem; }
.details a:hover { color: var(--green-dk); text-decoration: underline; }
@media (max-width: 420px) { .details th { width: auto; white-space: normal; } }

/* --- Home service index: hairline grid, six tiles, links into services.html - */
.sx-head { max-width: min(46rem, 100%); margin-bottom: clamp(2rem, 4vw, 3rem); display: grid; gap: 1rem; }
.sx-head p { color: var(--slate); font-size: 1.02rem; max-width: min(40rem, 100%); }

.sx-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.sx {
  display: grid; gap: .55rem; align-content: start;
  padding: clamp(1.4rem, 2.2vw, 1.9rem);
  background: var(--paper); text-decoration: none;
  transition: background .3s var(--ease);
}
.sx:hover { background: var(--mist); }
.sx h3 {
  font-family: var(--display); font-size: 1.1rem; font-weight: 700;
  letter-spacing: -.022em; color: var(--ink);
  display: flex; align-items: center; gap: .45rem;
}
.sx h3 svg {
  width: 14px; height: 14px; flex: none; color: var(--green-dk);
  opacity: 0; transform: translateX(-5px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.sx:hover h3 svg, .sx:focus-visible h3 svg { opacity: 1; transform: none; }
.sx p { font-size: .93rem; color: var(--slate); line-height: 1.6; }
.sx .codes { margin-top: .3rem; }
@media (max-width: 900px) { .sx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sx-grid { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   SIGNATURE: the three modes at scale
   One word per mode, set as large as the page will carry, with the facts that
   decide between them alongside. The scale IS the argument: this company moves
   things that are physically large, and nothing else on the page says so.
   ========================================================================== */
.modes { background: var(--mist); }
.modes__head { max-width: min(44rem, 100%); margin-bottom: clamp(2.5rem, 5vw, 4rem); display: grid; gap: .9rem; }
.modes__head p { color: var(--slate); font-size: 1.02rem; max-width: var(--measure); }

.mode { border-top: 1px solid var(--line-sd); }
.mode:last-of-type { border-bottom: 1px solid var(--line-sd); }
.mode__in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 4rem); align-items: start;
  padding-block: clamp(2.25rem, 4.5vw, 3.5rem);
}

/* The word is clipped by its own box and rides up on reveal. */
.mode__word { color: var(--deep); overflow: hidden; padding-bottom: .06em; }
.mode__word > span { display: block; will-change: transform; }
.js .mode[data-fade] .mode__word > span { transform: translateY(105%); transition: transform .95s var(--ease) .1s; }
.js .mode[data-fade].is-in .mode__word > span { transform: none; }

/* The Malay name for each mode, set as a quiet kicker above the English one.
   Not decoration: Laut, Udara and Darat are what these are actually called
   here, and a Malaysian buyer reads them before the English. */
.mode__ms {
  font-family: var(--mono); font-size: .66rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--slate);
  margin-bottom: .75rem;
}

.mode__for {
  margin-top: .9rem; font-family: var(--mono); font-size: .66rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase; color: var(--green-dk);
}

.mode__data { padding-top: .5rem; }
.mode__data dl { display: grid; gap: 0; }
.mode__data dl > div {
  display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1.25rem;
  padding-block: .75rem; border-bottom: 1px solid var(--line);
}
.mode__data dl > div:last-of-type { border-bottom: 0; }
.mode__data dt { font-family: var(--mono); font-size: .64rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--slate); padding-top: .25rem; }
.mode__data dd { margin: 0; color: var(--ink-2); line-height: 1.6; font-size: .96rem; }
.mode__data .codes { margin-top: 1rem; }

.modes__foot { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.modes { padding-bottom: clamp(2.5rem, 4vw, 3.5rem); }

@media (max-width: 860px) {
  .mode__in { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .mode__data dl > div { grid-template-columns: 5rem minmax(0, 1fr); gap: .9rem; }
}
@media (max-width: 420px) {
  .mode__data dl > div { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .mode__data dt { padding-top: 0; }
}

.net-note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; border-top: 1px solid var(--line-sd); padding-top: clamp(2rem, 4vw, 2.75rem); }
.net-note__body { display: grid; gap: 1.1rem; justify-items: start; }
.net-note__body p { color: var(--ink-2); line-height: 1.7; max-width: var(--measure); }
@media (max-width: 860px) { .net-note { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } }

/* --- Contact: the address is the page -------------------------------------
   With the form gone there is one action left, so the email address is set as
   the largest thing on the page rather than tucked into a panel. The card is
   held to a reading width so it does not stretch and look stranded. */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.mailcard {
  display: grid; gap: .75rem; max-width: min(40rem, 100%);
  padding: clamp(1.25rem, 4vw, 2.75rem);
  border: 1px solid var(--line-sd); border-radius: var(--r);
  background: var(--mist);
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.mailcard:hover { border-color: var(--deep); background: var(--mist-dk); }
.mailcard:active { transform: translateY(1px); }
.mailcard__label {
  font-family: var(--mono); font-size: .66rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--green-dk);
}
.mailcard__addr {
  font-family: var(--display); font-weight: 700; color: var(--deep);
  font-size: clamp(.86rem, 4.1vw, 1.95rem); letter-spacing: -.028em;
  line-height: 1.2; white-space: nowrap;
}
.mailcard__go {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: .4rem;
  font-size: .94rem; font-weight: 600; color: var(--green-dk);
}
.mailcard__go svg { width: 1rem; height: 1rem; transition: transform .3s var(--ease); }
.mailcard:hover .mailcard__go svg { transform: translateX(3px); }

/* A section heading with an intro paragraph under it. */
.sect-head { max-width: min(46rem, 100%); margin-bottom: clamp(2rem, 4vw, 3rem); display: grid; gap: 1rem; }
.sect-head p { color: var(--slate); font-size: 1.02rem; line-height: 1.7; max-width: var(--measure); }

/* --- The service list: eight items, one rhythm ---------------------------- */
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 4vw, 4rem); border-top: 1px solid var(--line-sd); }
.svc-item { padding-block: clamp(1.5rem, 2.5vw, 2rem); border-bottom: 1px solid var(--line); min-width: 0; }
.svc-item h3 { font-size: clamp(1.1rem, 1.4vw, 1.3rem); letter-spacing: -.022em; color: var(--deep); margin-bottom: .55rem; }
.svc-item p { color: var(--ink-2); line-height: 1.68; font-size: .97rem; }
.svc-item .codes { margin-top: .8rem; }
@media (max-width: 760px) { .svc-list { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Network: the one dark moment in the middle of the page
   The statement is a two-beat contrast, so it is set on two lines with the full
   stop as the pivot. The supporting points reuse the hairline-row device from
   the mode blocks, which is what keeps the page feeling like one system.
   ========================================================================== */
.net { background: var(--deep); color: rgba(255,255,255,.82); }
.net__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.net h2 { color: #fff; max-width: 14ch; }
.net h2 em { display: block; font-style: normal; color: rgba(255,255,255,.58); }
.net__lede { margin-top: 1.6rem; font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.65; color: rgba(255,255,255,.8); max-width: 44ch; }

/* Plain prose on the dark ground: five paragraphs, no hairlines. Rules between
   every paragraph would read as a table of five facts rather than an argument. */
.net__prose { display: grid; gap: 1.15rem; }
.net__prose p { line-height: 1.72; color: rgba(255,255,255,.86); }
.net__prose p:first-child { color: #fff; font-size: clamp(1.05rem, 1.3vw, 1.2rem); }

.net__points { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.22); }
.net__points p { padding-block: 1.15rem; border-bottom: 1px solid rgba(255,255,255,.14); line-height: 1.65; color: rgba(255,255,255,.86); }
.net__points p:last-of-type { border-bottom: 1px solid rgba(255,255,255,.22); }
.net__points b { color: #fff; font-weight: 600; }

.net__close {
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
  font-family: var(--display); font-weight: 700; color: #fff;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem); letter-spacing: -.02em;
  line-height: 1.35; max-width: min(46rem, 100%);
}

@media (max-width: 880px) {
  .net__in { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .net h2 { max-width: none; }
}

/* ==========================================================================
   Services
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.2vw, 1.75rem); }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column; min-width: 0;
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: var(--paper);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover { border-color: var(--line-sd); box-shadow: 0 10px 34px rgba(11,31,23,.07); transform: translateY(-3px); }
.card__bar { background: var(--deep); color: #fff; padding: .85rem 1.15rem; font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: -.012em; }
.card__shot { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.card__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__shot img { transform: scale(1.04); }
.card__body { padding: 1.25rem 1.15rem 1.35rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.card__body ul { display: grid; gap: .6rem; }
/* NEVER lay a text list item out as a grid with the marker as a cell: every
   inline child (<b>, <span>, a bare text node) becomes its own grid item and
   the line falls apart. The marker is absolutely positioned instead, so the
   item can hold any number of inline children. */
.card__body li { position: relative; padding-left: 1.4rem; font-size: .93rem; color: var(--ink-2); min-width: 0; }
.card__body li::before {
  content: ""; position: absolute; left: 0; top: .48rem;
  width: 7px; height: 7px; border: 2px solid var(--green); border-radius: 50%;
}
.card__body .codes { margin-top: auto; padding-top: .9rem; }

/* Wide service rows - slide 4's layout */
.row {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.row + .row { margin-top: clamp(1rem, 1.8vw, 1.5rem); }
.row:hover { border-color: var(--line-sd); box-shadow: 0 10px 34px rgba(11,31,23,.07); }
.row__shot { overflow: hidden; background: var(--mist); min-height: 190px; }
.row__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.row:hover .row__shot img { transform: scale(1.04); }
.row__body { padding: clamp(1.25rem, 2.4vw, 1.85rem); display: grid; gap: .7rem; align-content: center; min-width: 0; }
.row__body h3 { color: var(--deep); }
.row__body p { font-size: .97rem; color: var(--ink-2); overflow-wrap: break-word; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; } .row__shot { aspect-ratio: 16/9; min-height: 0; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: clamp(2.5rem,5vw,4.5rem); align-items: start; }
@media (max-width: 940px) { .contact { grid-template-columns: 1fr; } }

.form { display: grid; gap: 1.2rem; }
.f { display: grid; gap: .45rem; }
.f label { font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.f label b { color: var(--green-dk); font-weight: 600; }
.f input, .f select, .f textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  padding: .8rem .9rem; width: 100%;
  background: var(--paper); border: 1px solid var(--line-sd); border-radius: var(--r);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.f select { background-color: var(--paper); color: var(--ink); appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--green-dk) 50%), linear-gradient(135deg, var(--green-dk) 50%, transparent 50%);
  background-position: calc(100% - 17px) 1.2rem, calc(100% - 12px) 1.2rem; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem; }
.f textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.f input:focus-visible, .f select:focus-visible, .f textarea:focus-visible {
  outline: none; border-color: var(--green-dk); box-shadow: 0 0 0 3px rgba(25,161,95,.18);
}
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--green-dk); }
.f input::placeholder, .f textarea::placeholder { color: #93A49A; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 560px) { .frow { grid-template-columns: 1fr; } }
.fnote { font-size: .82rem; color: var(--slate); line-height: 1.55; }
.fnote a { display: inline-block; padding-block: .3rem; color: var(--green-dk); text-decoration: underline; text-underline-offset: 2px; }
.fnote a:hover { color: var(--deep); }
.form button { justify-self: start; margin-top: .3rem; }
.fstatus { display: none; font-size: .92rem; padding: .85rem 1rem; border-radius: var(--r); border: 1px solid rgba(25,161,95,.4); background: rgba(25,161,95,.07); color: var(--deep); }
.fstatus.is-on { display: block; }
.fstatus--err { border-color: rgba(176,42,42,.4); background: rgba(176,42,42,.06); color: #8C1D1D; }

/* Spam trap: off-screen for people, present in the DOM for bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.panel { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.panel__head { background: var(--deep); color: #fff; font-family: var(--display); font-weight: 700; font-size: .98rem; padding: .9rem 1.15rem; }
.panel__body { padding: 1.15rem; display: grid; gap: 1rem; }
.pitem { display: grid; grid-template-columns: 1.5rem 1fr; gap: .8rem; align-items: start; }
.pitem svg { width: 18px; height: 18px; color: var(--green-dk); margin-top: .2rem; }
.pitem span { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); display: block; margin-bottom: .15rem; }
.pitem p, .pitem address { font-size: .95rem; font-style: normal; color: var(--ink); line-height: 1.55; }
.pitem a:hover { color: var(--green-dk); text-decoration: underline; }


/* ==========================================================================
   CTA + footer
   ========================================================================== */
.cta { position: relative; overflow: hidden; background: var(--deep); isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--deep) 30%, rgba(7,80,61,.78) 100%); }
.cta__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.cta__text { display: grid; gap: 1.3rem; max-width: min(34rem, 100%); }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 900px) {
  .cta__in { grid-template-columns: minmax(0, 1fr); align-items: start; justify-items: start; gap: 1.6rem; }
}

.ftr { background: var(--paper); border-top: 1px solid var(--line); padding-block: clamp(3rem,5vw,4rem) 1.75rem; }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.ftr__brand img { height: 42px; width: auto; margin-bottom: 1.1rem; }
.ftr__brand p { font-size: .88rem; color: var(--slate); max-width: 30ch; }
.ftr h3 { font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--green-dk); margin-bottom: 1.1rem; }
.ftr ul { display: grid; gap: .1rem; }
.ftr li a, .ftr li { font-size: .9rem; color: var(--slate); }
.ftr li a { display: inline-block; padding-block: .32rem; }
.ftr li:not(:has(a)) { padding-block: .32rem; }
.ftr li a:hover { color: var(--ink); }
.ftr__btm { display: flex; flex-wrap: wrap; gap: .7rem 2rem; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr__grid { grid-template-columns: 1fr; } }

.crumb { font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); display: flex; gap: .6rem; align-items: center; margin-bottom: 1.1rem; }
.crumb a { display: inline-block; padding-block: .34rem; }
.crumb a:hover { color: var(--green-dk); }
/* Contact panel: tel/mailto links padded to a 24px minimum target */
.pitem p a { display: inline-block; padding-block: .3rem; overflow-wrap: anywhere; }
.crumb i { font-style: normal; color: var(--line-sd); }

.skip { position: absolute; left: 50%; top: 0; transform: translate(-50%,-130%); background: var(--deep); color: #fff; padding: .75rem 1.2rem; z-index: 200; font-size: .85rem; font-weight: 600; transition: transform .25s var(--ease); }
.skip:focus { transform: translate(-50%, 0); }

/* --- Reveal -------------------------------------------------------------- */
/* Scroll reveals are an enhancement, not a requirement: the hidden state is
   scoped to .js, which an inline script in <head> sets. With JavaScript off
   nothing is hidden and the page reads normally. */
.js [data-fade] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * .07s); }
.js [data-fade].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js [data-fade] { opacity: 1; transform: none; }
}
