/* =========================================================
   IGE — Intal Global Engineering Work Sdn. Bhd.
   Layout: corporate editorial — split navy/photo hero, generous white space,
   full-bleed navy bands, image-led service cards, brushed-brass details.
   ========================================================= */
:root {
  color-scheme: light;
  --navy: #0b1d3a;
  --navy-deep: #08152b;
  --navy-2: #13294d;
  --ink: #0e1b2f;
  --text: #46546a;
  --muted: #74819a;
  --paper: #ffffff;
  --mist: #f3f5f9;
  --line: #e1e6ee;
  --line-dark: rgba(255, 255, 255, 0.14);
  --gold: #b39256;
  --gold-light: #d6bf8f;
  --gold-tint: #f6f1e7;
  --brand: #1e8fff;
  --ok: #1e7a50;
  --err: #b3412e;

  --f-serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --f-sans: "Plus Jakarta Sans", "Segoe UI", Helvetica, Arial, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 16.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure, blockquote { margin: 0; }
address { font-style: normal; }
::selection { background: var(--gold); color: var(--navy-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.i { width: 20px; height: 20px; flex: none; }

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy-deep); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow.light { color: var(--gold-light); }

.h2 {
  margin-top: 18px;
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(36px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -0.005em;
  color: var(--ink);
}
.h2.light { color: #fff; }

.head-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 72px); }
.head-note { color: var(--muted); max-width: 46ch; }
.head-note.light { color: rgba(255, 255, 255, 0.68); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px;
  font-family: var(--f-sans); font-weight: 600; font-size: 14.5px; letter-spacing: 0.04em;
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}
.btn .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { border-color: rgba(255, 255, 255, 0.4); color: #fff; min-height: 46px; padding: 0 22px; font-size: 13.5px; }
.btn-line:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-light {
  font-weight: 600; font-size: 14.5px; letter-spacing: 0.04em; color: #fff;
  padding-bottom: 4px;
  background: linear-gradient(var(--gold-light), var(--gold-light)) left bottom / 100% 1px no-repeat;
  transition: background-size .4s var(--ease), color .3s ease;
}
.link-light:hover { color: var(--gold-light); background-size: 40% 1px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .4s ease, box-shadow .4s ease;
}
.header-row { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: height .4s ease; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; background: var(--brand); color: #fff;
  font-family: var(--f-sans); font-weight: 800; font-size: 15px; letter-spacing: 0.04em;
}
.brand-name { font-size: 12px; font-weight: 700; line-height: 1.35; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; transition: color .4s ease; }
.brand-name small { font-size: inherit; font-weight: 500; opacity: .7; }
.nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 42px); }
.nav > a:not(.btn) {
  position: relative; font-size: 14.5px; font-weight: 500; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.86);
  transition: color .3s ease;
}
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav > a:not(.btn):hover::after, .nav > a.is-active::after { transform: scaleX(1); }
.nav > a:not(.btn):hover { color: #fff; }
.menu-btn {
  display: none; place-items: center; width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.35); background: transparent; color: #fff; cursor: pointer;
}
.menu-btn .i { width: 22px; height: 22px; }

.site-header.is-scrolled, .site-header.menu-open {
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -18px rgba(11, 29, 58, 0.25);
}
.site-header.is-scrolled .header-row { height: 74px; }
.site-header.is-scrolled .brand-name, .site-header.menu-open .brand-name { color: var(--ink); }
.site-header.is-scrolled .nav > a:not(.btn) { color: var(--text); }
.site-header.is-scrolled .nav > a:not(.btn):hover, .site-header.is-scrolled .nav > a.is-active { color: var(--ink); }
.site-header.is-scrolled .btn-line { border-color: var(--navy); color: var(--navy); }
.site-header.is-scrolled .btn-line:hover { background: var(--navy); color: #fff; }
.site-header.is-scrolled .menu-btn, .site-header.menu-open .menu-btn { border-color: var(--line); color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  min-height: clamp(680px, 100vh, 980px);
  background: var(--navy);
}
.hero-text {
  position: relative; display: flex; align-items: center;
  padding: calc(var(--header-h) + 56px) clamp(32px, 5vw, 88px) 64px max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  background:
    radial-gradient(700px 500px at 20% 20%, rgba(255, 255, 255, 0.06), transparent 70%),
    linear-gradient(160deg, var(--navy-2), var(--navy) 55%, var(--navy-deep));
}
.hero-text-inner { max-width: 620px; }
.hero-title {
  margin-top: 26px;
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(48px, 5.6vw, 90px); line-height: 0.98; letter-spacing: -0.01em;
  color: #fff;
}
.hero-title em { font-style: italic; font-weight: 500; color: var(--gold-light); }
.hero-lead { margin-top: 28px; max-width: 46ch; font-size: clamp(16.5px, 1.3vw, 18.5px); color: rgba(255, 255, 255, 0.74); }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; }
.hero-creds { margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px 0; }
.hero-creds li { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.hero-creds li + li { margin-left: 22px; padding-left: 22px; border-left: 1px solid var(--line-dark); }
.hero-creds strong { color: var(--gold-light); font-weight: 600; margin-right: 6px; }

.hero-media { position: relative; overflow: hidden; min-height: 420px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; animation: settle 2.6s var(--ease) both; }
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(8, 21, 43, 0.55), transparent 22%),
    linear-gradient(to right, rgba(11, 29, 58, 0.45), transparent 28%);
}

.hero-text-inner > * { animation: rise 1s var(--ease) both; }
.hero-text-inner > :nth-child(2) { animation-delay: .1s; }
.hero-text-inner > :nth-child(3) { animation-delay: .2s; }
.hero-text-inner > :nth-child(4) { animation-delay: .3s; }
.hero-text-inner > :nth-child(5) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(88px, 10vw, 140px); }
.reveal { transition: transform 1.1s var(--ease); }
.js .reveal:not(.in) { transform: translateY(36px); }
.reveal img { transition: transform 1.6s var(--ease); }
.js .reveal:not(.in) img { transform: scale(1.06); }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.about-media { position: relative; padding: 0 0 56px 44px; }
.about-media::before { content: ""; position: absolute; left: 0; top: 44px; width: 72%; bottom: 0; border: 1px solid var(--gold); }
.about-photo { position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; z-index: 2; left: 0; bottom: 0;
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px 30px; background: var(--navy); color: #fff; max-width: 230px;
}
.about-badge-num { font-family: var(--f-serif); font-weight: 600; font-size: 54px; line-height: 1; color: var(--gold-light); }
.about-badge-text { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.5; color: rgba(255, 255, 255, 0.78); order: -1; }
.about-copy .lead { margin-top: 28px; font-size: clamp(17.5px, 1.4vw, 19.5px); line-height: 1.7; color: var(--ink); }
.about-copy .lead + p { margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 44px; border-top: 1px solid var(--line); }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 24px 16px 0 0; }
.stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.stats dt { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.stats dd { font-family: var(--f-serif); font-weight: 600; font-size: clamp(40px, 4vw, 54px); line-height: 1; color: var(--navy); font-variant-numeric: lining-nums; }

/* Bands */
.band { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding-block: clamp(96px, 11vw, 150px); }
.band-bg { position: absolute; inset: 0; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .24; filter: saturate(.7); }
.band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 21, 43, 0.96) 30%, rgba(11, 29, 58, 0.78)); }
.band .container { position: relative; }
.vision-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
.vision-quote {
  margin-top: 26px;
  font-family: var(--f-serif); font-style: italic; font-weight: 500;
  font-size: clamp(28px, 3vw, 44px); line-height: 1.22; color: #fff;
}
.mission-list { margin-top: 22px; }
.mission-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); color: rgba(255, 255, 255, 0.82); font-size: 15.5px; line-height: 1.65; }
.mission-list li:first-child { border-top: 1px solid var(--line-dark); }
.mission-list .i { color: var(--gold-light); margin-top: 3px; }

/* Values */
.values { background: var(--mist); }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.value {
  position: relative; padding: 40px 36px 42px; background: #fff; border: 1px solid var(--line);
  transition: transform 1.1s var(--ease), box-shadow .5s ease, border-color .5s ease;
}
.value::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.value:hover { box-shadow: 0 28px 60px -30px rgba(11, 29, 58, 0.35); border-color: transparent; }
.value:hover::before { transform: scaleX(1); }
.value-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--gold-tint); color: var(--gold); }
.value-icon .i { width: 26px; height: 26px; }
.value h3 { margin-top: 28px; font-family: var(--f-serif); font-weight: 600; font-size: 28px; line-height: 1.15; color: var(--ink); }
.value p { margin-top: 10px; font-size: 15.5px; }

/* Journey */
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.timeline li { position: relative; padding-right: 28px; }
.timeline li::after { content: ""; position: absolute; left: 0; right: 0; top: 74px; height: 1px; background: var(--line); }
.t-year { display: block; height: 52px; font-family: var(--f-serif); font-weight: 600; font-size: 52px; line-height: 1; color: var(--navy); font-variant-numeric: lining-nums; }
.t-dot { position: relative; z-index: 1; display: block; width: 13px; height: 13px; margin: 15px 0 26px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px #fff; }
.timeline li:last-child .t-dot { background: #fff; border: 2px solid var(--gold); }
.timeline h3 { font-size: 16px; font-weight: 600; color: var(--ink); }
.timeline p { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }

/* HSE */
.hse { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--navy); color: #fff; }
.hse-media { position: relative; min-height: 420px; overflow: hidden; }
.hse-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%; }
.hse-copy { padding: clamp(64px, 8vw, 120px) clamp(28px, 6vw, 96px); max-width: 720px; }
.hse-intro { margin-top: 22px; color: rgba(255, 255, 255, 0.72); max-width: 52ch; }
.hse-list { margin-top: 40px; }
.hse-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-top: 1px solid var(--line-dark); }
.hse-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(214, 191, 143, 0.45); color: var(--gold-light); }
.hse-list h3 { font-size: 16.5px; font-weight: 600; color: #fff; }
.hse-list p { margin-top: 4px; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, 0.7); }

/* Services */
.services { background: var(--mist); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.svc {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform 1.1s var(--ease), box-shadow .5s ease;
}
.svc:hover { box-shadow: 0 34px 70px -30px rgba(11, 29, 58, 0.4); }
.svc-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover .svc-img img { transform: scale(1.06); }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 30px 32px 32px; }
.svc-no { display: flex; align-items: center; gap: 12px; font-family: var(--f-serif); font-weight: 600; font-size: 20px; color: var(--gold); }
.svc-no::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.svc h3 { margin-top: 8px; font-family: var(--f-serif); font-weight: 600; font-size: 30px; line-height: 1.1; color: var(--ink); }
.svc-lead { margin-top: 12px; font-size: 15.5px; line-height: 1.7; }
.svc-items { margin-top: 20px; border-top: 1px solid var(--line); }
.svc-items li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink); }
.svc-items li::before { content: ""; width: 10px; height: 1px; background: var(--gold); flex: none; }
.svc-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 26px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.03em; color: var(--navy); transition: color .3s ease;
}
.svc-link .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.svc-link:hover { color: var(--gold); }
.svc-link:hover .i { transform: translateX(4px); }

/* Clients */
.client-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.client {
  position: relative; display: flex; flex-direction: column;
  flex: 0 1 calc((100% - 96px) / 5); min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s ease, border-color .5s ease;
}
.client::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; border-radius: 0 0 2px 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .5s var(--ease);
}
.client:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 30px 60px -32px rgba(11, 29, 58, 0.4); }
.client:hover::before { transform: scaleX(1); }
.client-logo { display: flex; align-items: center; justify-content: center; height: 124px; padding: 24px 22px; }
.client-logo img { max-width: 84%; max-height: 66px; width: auto; height: auto; object-fit: contain; }
.client-wordmark {
  font-family: var(--f-serif); font-weight: 600; font-size: 26px; line-height: 1.1; text-align: center; text-wrap: balance;
  color: var(--navy); letter-spacing: 0.01em;
}
.client-names {
  flex: 1; display: grid; align-content: center; gap: 4px;
  padding: 16px 20px 18px; background: var(--mist); border-top: 1px solid var(--line); text-align: center;
}
.client-names p { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; line-height: 1.5; text-transform: uppercase; color: var(--text); text-wrap: balance; }

/* Credentials */
.creds .head-row { margin-bottom: 56px; }
.creds-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.cred-logo {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 150px; height: 150px; margin: 10px 0 34px 10px; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #ffffff 55%, #f1ece2);
  box-shadow:
    0 0 0 7px var(--navy),
    0 0 0 8px var(--gold-light),
    0 26px 50px -18px rgba(0, 0, 0, 0.65);
  transition: transform .5s var(--ease);
}
.cred-logo::after {
  content: ""; position: absolute; inset: 8px; border-radius: 50%;
  border: 1px solid rgba(179, 146, 86, 0.35); pointer-events: none;
}
.cred:hover .cred-logo { transform: translateY(-4px); }
.cred-logo img { max-width: 74%; max-height: 54%; width: auto; height: auto; object-fit: contain; }
.cred-line { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 14.5px; color: rgba(255, 255, 255, 0.72); }
.cred-line span { margin-right: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); }
.cred { padding: 36px 28px 8px 0; min-width: 0; }
.cred + .cred { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.cred-issuer { font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); }
.cred h3 { margin-top: 10px; font-family: var(--f-serif); font-weight: 600; font-size: 28px; line-height: 1.15; color: #fff; }
.cred dl { margin-top: 22px; display: grid; gap: 14px; }
.cred dt { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.cred dd { margin-top: 3px; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.9); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.contact-card { display: flex; flex-direction: column; padding: clamp(32px, 4vw, 48px) clamp(26px, 3.4vw, 44px); background: var(--navy); color: #fff; }
.cc-item { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.cc-item:first-child { padding-top: 0; }
.cc-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(214, 191, 143, 0.45); color: var(--gold-light); }
.cc-icon .i { width: 19px; height: 19px; }
.cc-label { margin-bottom: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.contact-card address { font-size: 15.5px; line-height: 1.65; color: rgba(255, 255, 255, 0.86); }
.cc-value { display: block; font-family: var(--f-serif); font-weight: 600; font-size: 25px; line-height: 1.25; color: #fff; overflow-wrap: anywhere; transition: color .3s ease; }
a.cc-value:hover { color: var(--gold-light); }
.cc-sub { display: inline-block; margin-top: 2px; font-size: 15.5px; color: rgba(255, 255, 255, 0.82); }
.cc-sub:hover { color: var(--gold-light); }
.cc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13.5px; font-weight: 600; letter-spacing: 0.03em; color: var(--gold-light); }
.cc-link .i { width: 16px; height: 16px; }
.cc-link:hover { color: #fff; }
.contact-card .btn-wa { align-self: center; margin-top: 32px; padding: 0 30px 0 24px; }

.enquiry { padding: clamp(30px, 4vw, 52px); background: var(--mist); }
.enquiry-title { font-family: var(--f-serif); font-weight: 600; font-size: 34px; line-height: 1.1; color: var(--ink); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 28px; }
.field { margin-top: 26px; min-width: 0; }
.field label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 0 10px;
  font: inherit; font-size: 16px; line-height: 1.5; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid #c7d0dc; border-radius: 0;
  transition: border-color .3s ease;
}
.field textarea { resize: vertical; min-height: 104px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 32px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b39256' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa5b6; }
/* Custom dropdown */
.field select.select-native { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; opacity: 0; pointer-events: none; overflow: hidden; clip: rect(0 0 0 0); }
.select { position: relative; }
.select-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 12px 2px 10px 0; background: transparent;
  border: 0; border-bottom: 1px solid #c7d0dc; border-radius: 0;
  font: inherit; font-size: 16px; line-height: 1.5; color: var(--ink); text-align: left; cursor: pointer;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.select-trigger:hover { border-bottom-color: var(--gold); }
.select-trigger:focus-visible, .select.is-open .select-trigger { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.select-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-value.is-placeholder { color: #9aa5b6; }
.select-chevron { width: 18px; height: 18px; flex: none; color: var(--gold); transition: transform .3s var(--ease); }
.select.is-open .select-chevron { transform: rotate(180deg); }
.select-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 12px); z-index: 30;
  max-height: 360px; overflow-y: auto; padding: 8px; outline: none;
  background: #fff; border-radius: 16px;
  box-shadow: 0 0 0 1px var(--line), 0 32px 64px -24px rgba(11, 29, 58, 0.42);
  animation: dropIn .24s var(--ease);
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.select-option {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) 18px; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px; cursor: pointer;
  font-size: 15px; line-height: 1.4; color: var(--ink);
  transition: background-color .2s ease, color .2s ease;
}
.select-option + .select-option { margin-top: 2px; }
.select-option.is-active { background: var(--gold-tint); }
.select-no { font-family: var(--f-serif); font-weight: 600; font-size: 18px; line-height: 1; color: var(--gold); }
.select-check { width: 18px; height: 18px; color: var(--gold); opacity: 0; transition: opacity .2s ease; }
.select-option[aria-selected="true"] { font-weight: 600; color: var(--navy); }
.select-option[aria-selected="true"] .select-check { opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.field [aria-invalid="true"] { border-bottom-color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }
.form-note { flex: 1 1 220px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.form-status { margin-top: 18px; font-size: 15px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.68); padding-block: clamp(72px, 8vw, 104px) calc(32px + env(safe-area-inset-bottom, 0px)); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.footer-tag { margin-top: 26px; max-width: 22ch; font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: 26px; line-height: 1.3; color: #fff; }
.footer-tag em { color: var(--gold-light); }
.footer-h { margin-bottom: 16px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); }
.footer-col > a, .footer-col > p:not(.footer-h) { display: block; line-height: 1.85; overflow-wrap: anywhere; }
.footer-col > a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line-dark); font-size: 13px; color: rgba(255, 255, 255, 0.5); }

.wa-float {
  position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; font-size: 31px; line-height: 1;
  box-shadow: 0 14px 32px -8px rgba(8, 21, 43, 0.45);
  transition: background-color .3s ease, transform .3s ease;
}
.wa-float:hover { background: #1ebe5b; transform: translateY(-3px); }
.wa-ico { font-size: 20px; line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .client { flex-basis: calc((100% - 48px) / 3); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .menu-btn { display: grid; }
  .nav {
    position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 28px; background: #fff; box-shadow: 0 24px 40px -24px rgba(11, 29, 58, 0.35);
  }
  .nav.is-open { display: flex; }
  .nav > a:not(.btn) { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; color: var(--ink); }
  .nav > a:not(.btn)::after { display: none; }
  .nav .nav-cta { margin-top: 22px; min-height: 54px; background: var(--navy); border-color: var(--navy); color: #fff; }
  .site-header.is-scrolled .header-row { height: var(--header-h); }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-text { padding: calc(var(--header-h) + 56px) var(--gutter) 56px; }
  .hero-media { min-height: 0; aspect-ratio: 4 / 5; max-height: 640px; }
  .about-grid, .vision-grid, .head-row { grid-template-columns: minmax(0, 1fr); }
  .head-row { align-items: start; }
  .about-media { max-width: 560px; }
  .hse { grid-template-columns: minmax(0, 1fr); }
  .hse-media { min-height: 0; aspect-ratio: 5 / 4; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .timeline li { padding: 0 0 34px 36px; }
  .timeline li::after { left: 6px; right: auto; top: 10px; bottom: 0; width: 1px; height: auto; }
  .timeline li:last-child::after { display: none; }
  .t-year { height: auto; font-size: 40px; }
  .t-dot { position: absolute; left: 0; top: 6px; margin: 0; }
  .timeline h3 { margin-top: 8px; }
  .values-grid, .svc-grid, .creds-grid { grid-template-columns: minmax(0, 1fr); }
  .cred, .cred + .cred { padding: 28px 0 8px; border-left: 0; }
  .cred + .cred { border-top: 1px solid var(--line-dark); }
  .client-grid { gap: 14px; }
  .client { flex-basis: calc((100% - 14px) / 2); border-radius: 14px; }
  .client-logo { height: 104px; padding: 20px 18px; }
  .client-logo img { max-height: 56px; }
  .client-wordmark { font-size: 23px; }
  .client-names { padding: 12px 12px 14px; }
  .client-names p { font-size: 10px; letter-spacing: 0.06em; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(n+3) { margin-top: 24px; border-top: 1px solid var(--line); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand-name { font-size: 10.5px; letter-spacing: 0.1em; }
  .brand-name small { display: none; }
  .hero-creds { flex-direction: column; gap: 8px; }
  .hero-creds li + li { margin-left: 0; padding-left: 0; border-left: 0; }
  .about-media { padding: 0 0 48px 24px; }
  .about-badge { padding: 20px 22px; }
  .about-badge-num { font-size: 44px; }
  .value { padding: 32px 26px 34px; }
  .svc-body { padding: 26px 24px 28px; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal:not(.in), .js .reveal:not(.in) img { transform: none; }
}
