/* p-overseas.css · /overseas-companies/ only (after site.css and pages.css). */

/* hero: kicker + H1, then the board, then the answer. On wide screens the board sits to the right. */
.ov-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); grid-template-areas: "head board" "body board"; column-gap: clamp(32px, 5vw, 84px); align-items: start; }
.ov-hero .ov-head { grid-area: head; align-self: end; }
.ov-hero .board { grid-area: board; align-self: center; }
.ov-hero .ov-body { grid-area: body; }
.ov-hero h1 { margin-bottom: 22px; }
.ov-who { margin: 18px 0 0; font-size: 15px; color: var(--ink-2); max-width: 33em; }
.ov-who b { color: var(--ink); font-weight: 600; }
.lane .to { min-width: 0; }

/* compact icon checklist (section 02) */
.ov-check { list-style: none; margin: 8px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 44rem; }
.ov-check li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 14px 14px 12px; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.ov-check .ico { width: 44px; height: 44px; }
.ov-check b { display: block; color: var(--ink); font-weight: 620; font-stretch: 92%; font-size: 16.5px; margin-bottom: 2px; }
.ov-check .cl { display: block; margin-top: 5px; font-family: var(--mono); font-size: 12px; color: var(--blue-ink); }

/* numbered application steps with who-tags */
.ov-steps { list-style: none; counter-reset: st; margin: 10px 0 14px; padding: 0; max-width: 44rem; border-left: 2px solid var(--line); }
.ov-steps li { counter-increment: st; position: relative; padding: 9px 0 9px 46px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.ov-steps li::before { content: counter(st, decimal-leading-zero); position: absolute; left: -15px; top: 7px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 2px #8C9AA3; font: 600 12px var(--mono); color: #3C4A53; }
.ov-steps li.you::before { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.ov-steps .who { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; margin-right: 8px; vertical-align: 1px; }

/* the two-certificate chain (section 03) */
.chain { list-style: none; margin: 18px 0 16px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr) 34px minmax(0, 1fr); align-items: stretch; max-width: 46rem; }
.chain li.node { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 6px; }
.chain li.node.g { border-color: rgba(125, 187, 58, .55); background: var(--green-soft); }
.chain .ico { width: 48px; height: 48px; }
.chain b { font-size: 16.5px; font-weight: 640; font-stretch: 90%; line-height: 1.25; color: var(--ink); }
.chain span { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.chain .cl { font-family: var(--mono); font-size: 12px; color: var(--blue-ink); margin-top: auto; }
.chain li.arr { display: grid; place-items: center; color: #8C9AA3; }
.chain li.arr svg { width: 22px; height: 22px; }

/* night band: the fork drawn, 96 as a wide numeral */
.ov-fork { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.ov-fork > div { padding: 30px clamp(20px, 3vw, 44px) 6px 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 22px; align-items: start; align-content: start; }
.ov-fork > div + div { border-left: 1px solid rgba(255, 255, 255, .16); padding-left: clamp(20px, 3vw, 44px); }
.ov-fork .ico { width: 96px; height: 96px; grid-row: 1 / span 4; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .35)); }
.ov-fork .fk { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-2); margin: 4px 0 10px; }
.ov-fork h3 { font-size: clamp(24px, 2.3vw, 34px); font-stretch: 84%; color: #fff; margin: 0 0 10px; line-height: 1.05; }
.ov-fork p { color: var(--on-night); font-size: 16px; margin: 0 0 10px; }
.ov-fork .big96 { font-stretch: 125%; font-weight: 780; font-size: clamp(96px, 11vw, 168px); line-height: .8; letter-spacing: -.05em; color: var(--blue); margin: 0 0 12px; }
.ov-fork .big96 small { display: block; font-size: 14px; letter-spacing: .02em; font-weight: 500; font-stretch: 100%; color: var(--on-night-2); margin-top: 14px; font-family: var(--mono); line-height: 1.45; }

/* country ledger (section 04): the count is the point */
.ledger { list-style: none; margin: 18px 0 10px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); max-width: 46rem; }
.ledger li { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); }
.ledger b { font-stretch: 125%; font-weight: 760; font-size: 34px; line-height: 1; color: var(--blue-ink); letter-spacing: -.03em; }
.ledger span { font-size: 14px; color: var(--ink-2); line-height: 1.3; }

/* route cards at the end mirror the board's lanes */
.ov-routes { padding: clamp(56px, 6vw, 88px) 0; background: var(--paper-2); }
.ov-routes h2 { font-size: clamp(30px, 3.2vw, 46px); font-stretch: 80%; margin: 0 0 8px; }
.ov-routes .lede { margin: 0 0 26px; }
.ov-routes ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ov-routes ul a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 20px 20px 18px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .35s; }
.ov-routes ul a:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 24px 50px -32px rgba(15, 27, 36, .5); }
.ov-routes .ico { width: 56px; height: 56px; }
.ov-routes .lab { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.ov-routes b { font-size: 18px; font-weight: 650; font-stretch: 90%; line-height: 1.2; }
.ov-routes span.d { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.ov-routes .to { align-self: flex-start; font-family: var(--mono); font-size: 12px; padding: 5px 10px; border-radius: 8px; margin-top: auto; }
.ov-more { margin: 22px 0 0; font-size: 15px; color: var(--ink-2); }
.ov-more a { color: var(--blue-ink); }

@media (max-width: 1180px) {
  .ov-routes ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* one column from tablet-landscape down: head, board, answer (the board's tag column squeezed the lanes at 981-1180px) */
  .ov-hero { grid-template-columns: 1fr; grid-template-areas: "head" "board" "body"; }
  .ov-hero .board { margin: 4px 0 24px; max-width: 46rem; }
}
@media (max-width: 980px) {
  .chain { grid-template-columns: 1fr; }
  .chain li.arr { height: 30px; }
  .chain li.arr svg { transform: rotate(90deg); }
  .ov-fork { grid-template-columns: 1fr; }
  .ov-fork > div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); padding-left: 0; }
}
@media (max-width: 640px) {
  .lane small { display: none; }
  .board-t .bt2 { display: none; }
  .ov-steps { margin-left: 15px; }
  .ov-check { grid-template-columns: 1fr; }
  .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ov-routes ul { grid-template-columns: 1fr; }
  .ov-fork > div { grid-template-columns: 64px minmax(0, 1fr); }
  .ov-fork .ico { width: 64px; height: 64px; }
}


.ov-more a { color: var(--blue-ink); text-underline-offset: 3px; }

/* overseas-registered vs Malaysian-registered: a three-row comparison (section 02) */
.ov-cmp { margin: 6px 0 0; }
.ov-cmp thead th:first-child { width: 26%; }
.ov-cmp td:last-child { background: var(--blue-soft); color: var(--ink); }
.ov-cmp + .src { margin: 10px 0 18px; }

/* imported meat and raw materials: four rules, each with its clause in the margin (section 04) */
.ov-spec { list-style: none; margin: 10px 0 20px; padding: 0; max-width: 46rem; border-top: 1.5px solid var(--ink); }
.ov-spec li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 22px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ov-spec li > span:not(.cl) { grid-column: 1 / -1; grid-row: 2; max-width: 40rem; }
.ov-spec b { font-weight: 640; font-stretch: 90%; font-size: 16.5px; line-height: 1.3; color: var(--ink); }
.ov-spec span { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.ov-spec .cl { font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--blue-ink); text-align: right; }

/* the quay drawing and its key */
.ov-quay { margin: 18px 0 22px; max-width: 46rem; }
.ov-quay figcaption .sw { display: inline-block; width: 26px; height: 0; border-top: 3px dashed var(--blue); vertical-align: 4px; margin: 0 8px 0 0; }
.ov-quay figcaption .sw.g { border-top-color: var(--green-ink); margin-left: 10px; }

/* Tahniah businesses as chips (section 05) */
.ov-chips-l { margin: 4px 0 8px; font-size: 15px; color: var(--ink-2); }
.ov-chips { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ov-chips li { padding: 7px 13px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14.5px; font-weight: 560; color: var(--ink); }

/* closing band: a document label, not a who-certifies tag */
.ov-routes .doc { align-self: flex-start; margin-top: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--mute); border-top: 1px solid var(--line); padding-top: 8px; }
.ov-routes h2 span { font-weight: 300; }
.ov-routes .kicker { margin-bottom: 10px; }


/* ---- 20 Oct 2026 rebuild in the client's nine-part flow ---- */
/* 01 the two programmes: two cards, each ending in its who-certifies tag */
.ov-prog { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 46rem; }
.ov-prog-c { display: flex; flex-direction: column; gap: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 20px 20px 18px; }
.ov-prog-c .ico { width: 64px; height: 64px; margin: -6px 0 2px -6px; }
.ov-prog-n { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-ink); }
.pg-sec .ov-prog-c h3 { margin: 0 0 4px; font-size: clamp(20px, 1.6vw, 23px); }
.ov-prog-c p { font-size: 15.5px; line-height: 1.5; margin: 0; }
.ov-prog-c .ov-prog-a { margin: 6px 0 10px; font-size: 14.5px; }
.ov-prog-c .to { align-self: flex-start; margin-top: auto; font-family: var(--mono); font-size: 12px; padding: 5px 10px; border-radius: 8px; }

/* 02 who can apply: the icon cards of .ov-check, the fifth one full width */
.ov-who-l li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* 03 conditions: applicant and factory side by side */
.ov-cond { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 14px 0 8px; max-width: 46rem; }
.ov-cond > div { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px 12px; }
.ov-cond > div + div { background: var(--blue-soft); border-color: rgba(10, 108, 160, .22); }
.pg-sec .ov-cond h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 20px; }
.ov-cond h3 .ico { width: 44px; height: 44px; flex: none; }
.ov-cond ul { list-style: none; margin: 0; padding: 0; }
.ov-cond li { padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 15px; line-height: 1.45; }
.ov-cond li b { display: block; color: var(--ink); font-weight: 640; font-stretch: 90%; font-size: 16.5px; }

/* 03 JAKIM's Table 1: a compact numbered list */
.ov-docs { counter-reset: dc; list-style: none; margin: 8px 0 12px; padding: 0; columns: 2; column-gap: 28px; max-width: 46rem; }
.ov-docs li { counter-increment: dc; break-inside: avoid; position: relative; padding: 7px 0 7px 34px; border-top: 1px solid var(--line-2); font-size: 14.5px; line-height: 1.45; }
.ov-docs li::before { content: counter(dc, decimal-leading-zero); position: absolute; left: 0; top: 8px; font: 600 12px var(--mono); color: var(--blue-ink); }

/* 04 schemes: five tiles */
.ov-schemes { list-style: none; margin: 12px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; max-width: 46rem; }
.ov-schemes li { display: flex; flex-direction: column; gap: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 12px 12px 14px; }
.ov-schemes .ico { width: 56px; height: 56px; }
.ov-schemes b { color: var(--ink); font-weight: 650; font-stretch: 90%; font-size: 16px; line-height: 1.2; }
.ov-schemes span { font-size: 13px; line-height: 1.4; color: var(--mute); }

/* 05 steps: the factory gets its own tag */
.ov-steps .who.plant { background: var(--white); color: var(--blue-ink); box-shadow: inset 0 0 0 1.5px var(--blue); }
.ov-steps li.plant::before { box-shadow: inset 0 0 0 2px var(--blue); color: var(--blue-ink); }

/* 06 fees: three figures */
.ov-fees { list-style: none; margin: 12px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); max-width: 46rem; }
.ov-fees li { display: flex; flex-direction: column; gap: 6px; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); }
.ov-fees b { font-stretch: 112%; font-weight: 760; font-size: clamp(28px, 2.6vw, 38px); white-space: nowrap; line-height: 1; color: var(--blue-ink); letter-spacing: -.03em; }
.ov-fees li:last-child b { color: var(--ink); }
.ov-fees span { font-size: 15px; color: var(--ink-2); line-height: 1.35; }
.ov-fees + .src { margin-bottom: 18px; }

/* 07 FHCB vs Halal International */
.ov-cmp2 thead th:first-child { width: 18%; }
.ov-cmp2 td:last-child { background: var(--blue-soft); color: var(--ink); }

/* 08 why Halal JAKIM: the night band, three columns */
.ov-why .kicker b { font-weight: 700; color: #fff; }
.ov-why-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .16); }
.ov-why-g > div { padding: 28px clamp(18px, 2.6vw, 40px) 4px 0; }
.ov-why-g > div + div { border-left: 1px solid rgba(255, 255, 255, .16); padding-left: clamp(18px, 2.6vw, 40px); }
.ov-why-g .ov-big { font-stretch: 125%; font-weight: 780; font-size: clamp(84px, 9vw, 140px); line-height: .8; letter-spacing: -.05em; color: var(--blue); margin: 0 0 14px; }
.ov-why-g .ov-big small { display: block; font-size: 14px; letter-spacing: .02em; font-weight: 500; font-stretch: 100%; color: var(--on-night-2); margin-top: 14px; font-family: var(--mono); line-height: 1.45; }
.ov-why .fk { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-2); margin: 4px 0 14px; }
.ov-why blockquote { margin: 0 0 12px; padding: 0 0 0 16px; border-left: 2px solid var(--blue); }
.ov-why blockquote p { color: #fff; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.4; margin: 0; }
.ov-why-g p { color: var(--on-night); font-size: 15.5px; }

/* 10 working with MNS: three offers */
.ov-svc { list-style: none; margin: 14px 0 6px; padding: 0; max-width: 46rem; border-top: 1.5px solid var(--ink); }
.ov-svc li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ov-svc .ico { width: 56px; height: 56px; }
.ov-svc b { display: block; color: var(--ink); font-weight: 650; font-stretch: 90%; font-size: 17px; }
.ov-svc span { display: block; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.ov-svc .cl { font-family: var(--mono); font-size: 12px; color: var(--blue-ink); margin-top: 4px; }
.ov-routes > .wrap > .src { margin: 14px 0 0; }

@media (max-width: 980px) {
  .ov-why-g { grid-template-columns: 1fr; }
  .ov-why-g > div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); padding-left: 0; }
  .ov-schemes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-schemes li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ov-prog, .ov-cond { grid-template-columns: 1fr; }
  .ov-docs { columns: 1; }
  .ov-schemes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-schemes li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ov-fees { grid-template-columns: 1fr; }
  .ov-fees li { flex-direction: row; align-items: baseline; gap: 14px; }
  .ov-fees b { min-width: 5.2ch; }
}

/* ---- 22 Oct 2026 (Syafiq's review, tab 21.10.26): hero without the route board; "Choose your pathway" cards;
   the FHCB page reuses this file ---- */
.ov-hero.solo { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "body"; max-width: 52rem; }
.ov-sub { margin: 0 0 6px; font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.5; color: var(--ink-2); max-width: 40em; }
.ov-path .ov-prog-n { letter-spacing: .06em; line-height: 1.45; }
.ov-prog-c .ov-path-l { font-weight: 640; color: var(--ink); }
.ov-prog-c .ov-path-cta { align-self: flex-start; margin-top: auto; }
.ov-prog-c .ov-path-cta + * { margin-top: 0; }
.ov-path .ov-prog-c { gap: 8px; }
.ov-path .ov-prog-c > p:nth-last-of-type(1) { margin-bottom: 10px; }
.ov-fees.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1180px) {
  .ov-hero.solo { grid-template-areas: "head" "body"; }
}
@media (max-width: 640px) {
  .ov-fees.two { grid-template-columns: 1fr; }
  .ov-fees b { white-space: nowrap; }
}
